Mercurial > hg > xemacs-beta
comparison configure @ 169:15872534500d r20-3b11
Import from CVS: tag r20-3b11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:46:53 +0200 |
parents | 85ec50267440 |
children | 929b76928fce |
comparison
equal
deleted
inserted
replaced
168:9851d5c6556e | 169:15872534500d |
---|---|
1301 echo " xemacs will be linked with \"sunpro.o\"" | 1301 echo " xemacs will be linked with \"sunpro.o\"" |
1302 fi | 1302 fi |
1303 with_tooltalk=yes | 1303 with_tooltalk=yes |
1304 fi | 1304 fi |
1305 | 1305 |
1306 test -n "$CC" && cc_specified=yes | 1306 test -n "$compiler" && CC="$compiler" |
1307 | 1307 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac |
1308 if test -n "$compiler"; then CC="$compiler"; fi | 1308 fi |
1309 | 1309 |
1310 test "$cflags" != "UNSPECIFIED" && CFLAGS="$cflags" | 1310 test "$cflags" != "UNSPECIFIED" && CFLAGS="$cflags" |
1311 xe_save_CFLAGS="$CFLAGS" | 1311 xe_save_CFLAGS="$CFLAGS" |
1312 | 1312 |
1313 test -n "$NON_GNU_CC" -a "$with_gcc" = "no" -a -z "$CC" && CC="$NON_GNU_CC" | |
1314 # Extract the first word of "gcc", so it can be a program name with args. | 1313 # Extract the first word of "gcc", so it can be a program name with args. |
1315 set dummy gcc; ac_word=$2 | 1314 set dummy gcc; ac_word=$2 |
1316 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1315 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1317 echo "configure:1318: checking for $ac_word" >&5 | 1316 echo "configure:1317: checking for $ac_word" >&5 |
1318 | 1317 |
1319 if test -n "$CC"; then | 1318 if test -n "$CC"; then |
1320 ac_cv_prog_CC="$CC" # Let the user override the test. | 1319 ac_cv_prog_CC="$CC" # Let the user override the test. |
1321 else | 1320 else |
1322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1338 | 1337 |
1339 if test -z "$CC"; then | 1338 if test -z "$CC"; then |
1340 # Extract the first word of "cc", so it can be a program name with args. | 1339 # Extract the first word of "cc", so it can be a program name with args. |
1341 set dummy cc; ac_word=$2 | 1340 set dummy cc; ac_word=$2 |
1342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1343 echo "configure:1344: checking for $ac_word" >&5 | 1342 echo "configure:1343: checking for $ac_word" >&5 |
1344 | 1343 |
1345 if test -n "$CC"; then | 1344 if test -n "$CC"; then |
1346 ac_cv_prog_CC="$CC" # Let the user override the test. | 1345 ac_cv_prog_CC="$CC" # Let the user override the test. |
1347 else | 1346 else |
1348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1383 | 1382 |
1384 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1383 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1385 fi | 1384 fi |
1386 | 1385 |
1387 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1386 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1388 echo "configure:1389: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1387 echo "configure:1388: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1389 | 1388 |
1390 ac_ext=c | 1389 ac_ext=c |
1391 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1390 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1392 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1391 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1393 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1392 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1395 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1394 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1396 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1395 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1397 cross_compiling=no | 1396 cross_compiling=no |
1398 | 1397 |
1399 cat > conftest.$ac_ext <<EOF | 1398 cat > conftest.$ac_ext <<EOF |
1400 #line 1401 "configure" | 1399 #line 1400 "configure" |
1401 #include "confdefs.h" | 1400 #include "confdefs.h" |
1402 main(){return(0);} | 1401 main(){return(0);} |
1403 EOF | 1402 EOF |
1404 if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1403 if { (eval echo configure:1404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1405 ac_cv_prog_cc_works=yes | 1404 ac_cv_prog_cc_works=yes |
1406 # If we can't run a trivial program, we are probably using a cross compiler. | 1405 # If we can't run a trivial program, we are probably using a cross compiler. |
1407 if (./conftest; exit) 2>/dev/null; then | 1406 if (./conftest; exit) 2>/dev/null; then |
1408 ac_cv_prog_cc_cross=no | 1407 ac_cv_prog_cc_cross=no |
1409 else | 1408 else |
1419 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1418 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1420 if test $ac_cv_prog_cc_works = no; then | 1419 if test $ac_cv_prog_cc_works = no; then |
1421 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1420 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1422 fi | 1421 fi |
1423 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1422 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1424 echo "configure:1425: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1423 echo "configure:1424: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1425 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1424 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1426 cross_compiling=$ac_cv_prog_cc_cross | 1425 cross_compiling=$ac_cv_prog_cc_cross |
1427 | 1426 |
1428 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1427 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1429 echo "configure:1430: checking whether we are using GNU C" >&5 | 1428 echo "configure:1429: checking whether we are using GNU C" >&5 |
1430 | 1429 |
1431 cat > conftest.c <<EOF | 1430 cat > conftest.c <<EOF |
1432 #ifdef __GNUC__ | 1431 #ifdef __GNUC__ |
1433 yes; | 1432 yes; |
1434 #endif | 1433 #endif |
1435 EOF | 1434 EOF |
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 | 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 |
1437 ac_cv_prog_gcc=yes | 1436 ac_cv_prog_gcc=yes |
1438 else | 1437 else |
1439 ac_cv_prog_gcc=no | 1438 ac_cv_prog_gcc=no |
1440 fi | 1439 fi |
1441 | 1440 |
1445 GCC=yes | 1444 GCC=yes |
1446 ac_test_CFLAGS="${CFLAGS+set}" | 1445 ac_test_CFLAGS="${CFLAGS+set}" |
1447 ac_save_CFLAGS="$CFLAGS" | 1446 ac_save_CFLAGS="$CFLAGS" |
1448 CFLAGS= | 1447 CFLAGS= |
1449 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1448 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1450 echo "configure:1451: checking whether ${CC-cc} accepts -g" >&5 | 1449 echo "configure:1450: checking whether ${CC-cc} accepts -g" >&5 |
1451 | 1450 |
1452 echo 'void f(){}' > conftest.c | 1451 echo 'void f(){}' > conftest.c |
1453 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1452 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1454 ac_cv_prog_cc_g=yes | 1453 ac_cv_prog_cc_g=yes |
1455 else | 1454 else |
1468 fi | 1467 fi |
1469 else | 1468 else |
1470 GCC= | 1469 GCC= |
1471 test "${CFLAGS+set}" = set || CFLAGS="-g" | 1470 test "${CFLAGS+set}" = set || CFLAGS="-g" |
1472 fi | 1471 fi |
1473 | 1472 |
1474 | 1473 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1475 if test "$with_gcc" = "no" -a "$ac_cv_prog_gcc" = "yes"; then | |
1476 CC=${NON_GNU_CC-cc} | 1474 CC=${NON_GNU_CC-cc} |
1477 # Extract the first word of "gcc", so it can be a program name with args. | 1475 # Extract the first word of "gcc", so it can be a program name with args. |
1478 set dummy gcc; ac_word=$2 | 1476 set dummy gcc; ac_word=$2 |
1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1480 echo "configure:1481: checking for $ac_word" >&5 | 1478 echo "configure:1479: checking for $ac_word" >&5 |
1481 | 1479 |
1482 if test -n "$CC"; then | 1480 if test -n "$CC"; then |
1483 ac_cv_prog_CC="$CC" # Let the user override the test. | 1481 ac_cv_prog_CC="$CC" # Let the user override the test. |
1484 else | 1482 else |
1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1501 | 1499 |
1502 if test -z "$CC"; then | 1500 if test -z "$CC"; then |
1503 # Extract the first word of "cc", so it can be a program name with args. | 1501 # Extract the first word of "cc", so it can be a program name with args. |
1504 set dummy cc; ac_word=$2 | 1502 set dummy cc; ac_word=$2 |
1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1506 echo "configure:1507: checking for $ac_word" >&5 | 1504 echo "configure:1505: checking for $ac_word" >&5 |
1507 | 1505 |
1508 if test -n "$CC"; then | 1506 if test -n "$CC"; then |
1509 ac_cv_prog_CC="$CC" # Let the user override the test. | 1507 ac_cv_prog_CC="$CC" # Let the user override the test. |
1510 else | 1508 else |
1511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1546 | 1544 |
1547 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1545 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1548 fi | 1546 fi |
1549 | 1547 |
1550 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1552 | 1550 |
1553 ac_ext=c | 1551 ac_ext=c |
1554 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1552 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1555 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1553 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1556 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1554 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1558 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1556 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1559 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1557 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1560 cross_compiling=no | 1558 cross_compiling=no |
1561 | 1559 |
1562 cat > conftest.$ac_ext <<EOF | 1560 cat > conftest.$ac_ext <<EOF |
1563 #line 1564 "configure" | 1561 #line 1562 "configure" |
1564 #include "confdefs.h" | 1562 #include "confdefs.h" |
1565 main(){return(0);} | 1563 main(){return(0);} |
1566 EOF | 1564 EOF |
1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1568 ac_cv_prog_cc_works=yes | 1566 ac_cv_prog_cc_works=yes |
1569 # If we can't run a trivial program, we are probably using a cross compiler. | 1567 # If we can't run a trivial program, we are probably using a cross compiler. |
1570 if (./conftest; exit) 2>/dev/null; then | 1568 if (./conftest; exit) 2>/dev/null; then |
1571 ac_cv_prog_cc_cross=no | 1569 ac_cv_prog_cc_cross=no |
1572 else | 1570 else |
1582 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1580 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1583 if test $ac_cv_prog_cc_works = no; then | 1581 if test $ac_cv_prog_cc_works = no; then |
1584 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1582 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1585 fi | 1583 fi |
1586 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1584 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1587 echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1585 echo "configure:1586: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1588 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1586 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1589 cross_compiling=$ac_cv_prog_cc_cross | 1587 cross_compiling=$ac_cv_prog_cc_cross |
1590 | 1588 |
1591 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1589 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1592 echo "configure:1593: checking whether we are using GNU C" >&5 | 1590 echo "configure:1591: checking whether we are using GNU C" >&5 |
1593 | 1591 |
1594 cat > conftest.c <<EOF | 1592 cat > conftest.c <<EOF |
1595 #ifdef __GNUC__ | 1593 #ifdef __GNUC__ |
1596 yes; | 1594 yes; |
1597 #endif | 1595 #endif |
1598 EOF | 1596 EOF |
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 | 1597 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1600 ac_cv_prog_gcc=yes | 1598 ac_cv_prog_gcc=yes |
1601 else | 1599 else |
1602 ac_cv_prog_gcc=no | 1600 ac_cv_prog_gcc=no |
1603 fi | 1601 fi |
1604 | 1602 |
1608 GCC=yes | 1606 GCC=yes |
1609 ac_test_CFLAGS="${CFLAGS+set}" | 1607 ac_test_CFLAGS="${CFLAGS+set}" |
1610 ac_save_CFLAGS="$CFLAGS" | 1608 ac_save_CFLAGS="$CFLAGS" |
1611 CFLAGS= | 1609 CFLAGS= |
1612 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1610 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1613 echo "configure:1614: checking whether ${CC-cc} accepts -g" >&5 | 1611 echo "configure:1612: checking whether ${CC-cc} accepts -g" >&5 |
1614 | 1612 |
1615 echo 'void f(){}' > conftest.c | 1613 echo 'void f(){}' > conftest.c |
1616 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1614 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1617 ac_cv_prog_cc_g=yes | 1615 ac_cv_prog_cc_g=yes |
1618 else | 1616 else |
1632 else | 1630 else |
1633 GCC= | 1631 GCC= |
1634 test "${CFLAGS+set}" = set || CFLAGS="-g" | 1632 test "${CFLAGS+set}" = set || CFLAGS="-g" |
1635 fi | 1633 fi |
1636 | 1634 |
1637 elif test "$with_gcc" = "yes" -a "$ac_cv_prog_gcc" = "no" ; then | 1635 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1638 CC=gcc | 1636 CC=gcc |
1639 # Extract the first word of "gcc", so it can be a program name with args. | 1637 # Extract the first word of "gcc", so it can be a program name with args. |
1640 set dummy gcc; ac_word=$2 | 1638 set dummy gcc; ac_word=$2 |
1641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1642 echo "configure:1643: checking for $ac_word" >&5 | 1640 echo "configure:1641: checking for $ac_word" >&5 |
1643 | 1641 |
1644 if test -n "$CC"; then | 1642 if test -n "$CC"; then |
1645 ac_cv_prog_CC="$CC" # Let the user override the test. | 1643 ac_cv_prog_CC="$CC" # Let the user override the test. |
1646 else | 1644 else |
1647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1663 | 1661 |
1664 if test -z "$CC"; then | 1662 if test -z "$CC"; then |
1665 # Extract the first word of "cc", so it can be a program name with args. | 1663 # Extract the first word of "cc", so it can be a program name with args. |
1666 set dummy cc; ac_word=$2 | 1664 set dummy cc; ac_word=$2 |
1667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1668 echo "configure:1669: checking for $ac_word" >&5 | 1666 echo "configure:1667: checking for $ac_word" >&5 |
1669 | 1667 |
1670 if test -n "$CC"; then | 1668 if test -n "$CC"; then |
1671 ac_cv_prog_CC="$CC" # Let the user override the test. | 1669 ac_cv_prog_CC="$CC" # Let the user override the test. |
1672 else | 1670 else |
1673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1708 | 1706 |
1709 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1707 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1710 fi | 1708 fi |
1711 | 1709 |
1712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1714 | 1712 |
1715 ac_ext=c | 1713 ac_ext=c |
1716 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1714 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1717 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1715 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1718 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1716 xe_libs='$xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1720 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1718 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1721 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1719 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1722 cross_compiling=no | 1720 cross_compiling=no |
1723 | 1721 |
1724 cat > conftest.$ac_ext <<EOF | 1722 cat > conftest.$ac_ext <<EOF |
1725 #line 1726 "configure" | 1723 #line 1724 "configure" |
1726 #include "confdefs.h" | 1724 #include "confdefs.h" |
1727 main(){return(0);} | 1725 main(){return(0);} |
1728 EOF | 1726 EOF |
1729 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1730 ac_cv_prog_cc_works=yes | 1728 ac_cv_prog_cc_works=yes |
1731 # If we can't run a trivial program, we are probably using a cross compiler. | 1729 # If we can't run a trivial program, we are probably using a cross compiler. |
1732 if (./conftest; exit) 2>/dev/null; then | 1730 if (./conftest; exit) 2>/dev/null; then |
1733 ac_cv_prog_cc_cross=no | 1731 ac_cv_prog_cc_cross=no |
1734 else | 1732 else |
1744 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1742 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1745 if test $ac_cv_prog_cc_works = no; then | 1743 if test $ac_cv_prog_cc_works = no; then |
1746 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1744 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1747 fi | 1745 fi |
1748 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1746 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1749 echo "configure:1750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1747 echo "configure:1748: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1750 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1748 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1751 cross_compiling=$ac_cv_prog_cc_cross | 1749 cross_compiling=$ac_cv_prog_cc_cross |
1752 | 1750 |
1753 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1754 echo "configure:1755: checking whether we are using GNU C" >&5 | 1752 echo "configure:1753: checking whether we are using GNU C" >&5 |
1755 | 1753 |
1756 cat > conftest.c <<EOF | 1754 cat > conftest.c <<EOF |
1757 #ifdef __GNUC__ | 1755 #ifdef __GNUC__ |
1758 yes; | 1756 yes; |
1759 #endif | 1757 #endif |
1760 EOF | 1758 EOF |
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 | 1759 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1762 ac_cv_prog_gcc=yes | 1760 ac_cv_prog_gcc=yes |
1763 else | 1761 else |
1764 ac_cv_prog_gcc=no | 1762 ac_cv_prog_gcc=no |
1765 fi | 1763 fi |
1766 | 1764 |
1770 GCC=yes | 1768 GCC=yes |
1771 ac_test_CFLAGS="${CFLAGS+set}" | 1769 ac_test_CFLAGS="${CFLAGS+set}" |
1772 ac_save_CFLAGS="$CFLAGS" | 1770 ac_save_CFLAGS="$CFLAGS" |
1773 CFLAGS= | 1771 CFLAGS= |
1774 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1772 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1775 echo "configure:1776: checking whether ${CC-cc} accepts -g" >&5 | 1773 echo "configure:1774: checking whether ${CC-cc} accepts -g" >&5 |
1776 | 1774 |
1777 echo 'void f(){}' > conftest.c | 1775 echo 'void f(){}' > conftest.c |
1778 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1776 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1779 ac_cv_prog_cc_g=yes | 1777 ac_cv_prog_cc_g=yes |
1780 else | 1778 else |
1797 fi | 1795 fi |
1798 | 1796 |
1799 fi | 1797 fi |
1800 CFLAGS="$xe_save_CFLAGS" | 1798 CFLAGS="$xe_save_CFLAGS" |
1801 | 1799 |
1802 if test "$GCC" = "yes"; then with_gcc=yes; else with_gcc=no; fi | 1800 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1803 test -n "$NON_GNU_CPP" -a "$with_gcc" = "no" -a -z "$CPP" && CPP="$NON_GNU_CPP" | |
1804 | 1801 |
1805 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1802 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1806 echo "configure:1807: checking how to run the C preprocessor" >&5 | 1803 echo "configure:1804: checking how to run the C preprocessor" >&5 |
1807 # On Suns, sometimes $CPP names a directory. | 1804 # On Suns, sometimes $CPP names a directory. |
1808 if test -n "$CPP" && test -d "$CPP"; then | 1805 if test -n "$CPP" && test -d "$CPP"; then |
1809 CPP= | 1806 CPP= |
1810 fi | 1807 fi |
1811 if test -z "$CPP"; then | 1808 if test -z "$CPP"; then |
1814 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1811 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1815 CPP="${CC-cc} -E" | 1812 CPP="${CC-cc} -E" |
1816 # On the NeXT, cc -E runs the code through the compiler's parser, | 1813 # On the NeXT, cc -E runs the code through the compiler's parser, |
1817 # not just through cpp. | 1814 # not just through cpp. |
1818 cat > conftest.$ac_ext <<EOF | 1815 cat > conftest.$ac_ext <<EOF |
1819 #line 1820 "configure" | 1816 #line 1817 "configure" |
1820 #include "confdefs.h" | 1817 #include "confdefs.h" |
1821 #include <assert.h> | 1818 #include <assert.h> |
1822 Syntax Error | 1819 Syntax Error |
1823 EOF | 1820 EOF |
1824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1825 { (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1822 { (eval echo configure:1823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1826 ac_err=`grep -v '^ *+' conftest.out` | 1823 ac_err=`grep -v '^ *+' conftest.out` |
1827 if test -z "$ac_err"; then | 1824 if test -z "$ac_err"; then |
1828 : | 1825 : |
1829 else | 1826 else |
1830 echo "$ac_err" >&5 | 1827 echo "$ac_err" >&5 |
1831 echo "configure: failed program was:" >&5 | 1828 echo "configure: failed program was:" >&5 |
1832 cat conftest.$ac_ext >&5 | 1829 cat conftest.$ac_ext >&5 |
1833 rm -rf conftest* | 1830 rm -rf conftest* |
1834 CPP="${CC-cc} -E -traditional-cpp" | 1831 CPP="${CC-cc} -E -traditional-cpp" |
1835 cat > conftest.$ac_ext <<EOF | 1832 cat > conftest.$ac_ext <<EOF |
1836 #line 1837 "configure" | 1833 #line 1834 "configure" |
1837 #include "confdefs.h" | 1834 #include "confdefs.h" |
1838 #include <assert.h> | 1835 #include <assert.h> |
1839 Syntax Error | 1836 Syntax Error |
1840 EOF | 1837 EOF |
1841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1842 { (eval echo configure:1843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1839 { (eval echo configure:1840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1843 ac_err=`grep -v '^ *+' conftest.out` | 1840 ac_err=`grep -v '^ *+' conftest.out` |
1844 if test -z "$ac_err"; then | 1841 if test -z "$ac_err"; then |
1845 : | 1842 : |
1846 else | 1843 else |
1847 echo "$ac_err" >&5 | 1844 echo "$ac_err" >&5 |
1860 fi | 1857 fi |
1861 echo "$ac_t""$CPP" 1>&6 | 1858 echo "$ac_t""$CPP" 1>&6 |
1862 | 1859 |
1863 | 1860 |
1864 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1861 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1865 echo "configure:1866: checking for AIX" >&5 | 1862 echo "configure:1863: checking for AIX" >&5 |
1866 cat > conftest.$ac_ext <<EOF | 1863 cat > conftest.$ac_ext <<EOF |
1867 #line 1868 "configure" | 1864 #line 1865 "configure" |
1868 #include "confdefs.h" | 1865 #include "confdefs.h" |
1869 #ifdef _AIX | 1866 #ifdef _AIX |
1870 yes | 1867 yes |
1871 #endif | 1868 #endif |
1872 | 1869 |
1889 rm -f conftest* | 1886 rm -f conftest* |
1890 | 1887 |
1891 | 1888 |
1892 | 1889 |
1893 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1890 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1894 echo "configure:1895: checking whether we are using SunPro C" >&5 | 1891 echo "configure:1892: checking whether we are using SunPro C" >&5 |
1895 cat > conftest.$ac_ext <<EOF | 1892 cat > conftest.$ac_ext <<EOF |
1896 #line 1897 "configure" | 1893 #line 1894 "configure" |
1897 #include "confdefs.h" | 1894 #include "confdefs.h" |
1898 | 1895 |
1899 int main() { | 1896 int main() { |
1900 #ifndef __SUNPRO_C | 1897 #ifndef __SUNPRO_C |
1901 #error Not a SunPro compiler :-( | 1898 #error Not a SunPro compiler :-( |
1902 ******* ======= ******** &&&&&&&& | 1899 ******* ======= ******** &&&&&&&& |
1903 #endif | 1900 #endif |
1904 | 1901 |
1905 ; return 0; } | 1902 ; return 0; } |
1906 EOF | 1903 EOF |
1907 if { (eval echo configure:1908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1904 if { (eval echo configure:1905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1908 rm -rf conftest* | 1905 rm -rf conftest* |
1909 __sunpro_c=yes | 1906 __sunpro_c=yes |
1910 else | 1907 else |
1911 echo "configure: failed program was:" >&5 | 1908 echo "configure: failed program was:" >&5 |
1912 cat conftest.$ac_ext >&5 | 1909 cat conftest.$ac_ext >&5 |
2187 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2184 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2188 echo " xemacs will be linked with \"$unexec\"" | 2185 echo " xemacs will be linked with \"$unexec\"" |
2189 fi | 2186 fi |
2190 | 2187 |
2191 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2188 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2192 echo "configure:2193: checking for dynodump" >&5 | 2189 echo "configure:2190: checking for dynodump" >&5 |
2193 if test "$unexec" != "unexsol2.o"; then | 2190 if test "$unexec" != "unexsol2.o"; then |
2194 echo "$ac_t""no" 1>&6 | 2191 echo "$ac_t""no" 1>&6 |
2195 else | 2192 else |
2196 echo "$ac_t""yes" 1>&6 | 2193 echo "$ac_t""yes" 1>&6 |
2197 { test "$extra_verbose" = "yes" && cat << \EOF | 2194 { test "$extra_verbose" = "yes" && cat << \EOF |
2216 | 2213 |
2217 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" | 2214 test -n "$ld_text_start_addr" && start_flags="-T $ld_text_start_addr -e __start" |
2218 | 2215 |
2219 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then | 2216 if test "$ordinary_link" = "no" -a "$GCC" = "yes"; then |
2220 test -z "$linker" && linker='$(CC) -nostdlib' | 2217 test -z "$linker" && linker='$(CC) -nostdlib' |
2221 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-lib-gcc-file-name`' | 2218 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-lib-gccfile-name`' |
2222 fi | 2219 fi |
2223 test "$GCC" != "yes" && lib_gcc= | 2220 test "$GCC" != "yes" && lib_gcc= |
2224 | 2221 |
2225 | 2222 |
2226 | 2223 |
2258 esac | 2255 esac |
2259 fi | 2256 fi |
2260 | 2257 |
2261 if test "$add_runtime_path" = "yes"; then | 2258 if test "$add_runtime_path" = "yes"; then |
2262 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2259 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2263 echo "configure:2264: checking "for runtime libraries flag"" >&5 | 2260 echo "configure:2261: checking "for runtime libraries flag"" >&5 |
2264 dash_r="" | 2261 dash_r="" |
2265 for try_dash_r in "-R" "-R " "-rpath "; do | 2262 for try_dash_r in "-R" "-R " "-rpath "; do |
2266 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2263 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2267 cat > conftest.$ac_ext <<EOF | 2264 cat > conftest.$ac_ext <<EOF |
2268 #line 2269 "configure" | 2265 #line 2266 "configure" |
2269 #include "confdefs.h" | 2266 #include "confdefs.h" |
2270 | 2267 |
2271 int main() { | 2268 int main() { |
2272 | 2269 |
2273 ; return 0; } | 2270 ; return 0; } |
2274 EOF | 2271 EOF |
2275 if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2272 if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2276 rm -rf conftest* | 2273 rm -rf conftest* |
2277 dash_r="$try_dash_r" | 2274 dash_r="$try_dash_r" |
2278 else | 2275 else |
2279 echo "configure: failed program was:" >&5 | 2276 echo "configure: failed program was:" >&5 |
2280 cat conftest.$ac_ext >&5 | 2277 cat conftest.$ac_ext >&5 |
2364 | 2361 |
2365 | 2362 |
2366 # Extract the first word of "ranlib", so it can be a program name with args. | 2363 # Extract the first word of "ranlib", so it can be a program name with args. |
2367 set dummy ranlib; ac_word=$2 | 2364 set dummy ranlib; ac_word=$2 |
2368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2369 echo "configure:2370: checking for $ac_word" >&5 | 2366 echo "configure:2367: checking for $ac_word" >&5 |
2370 | 2367 |
2371 if test -n "$RANLIB"; then | 2368 if test -n "$RANLIB"; then |
2372 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2369 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2373 else | 2370 else |
2374 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2371 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2417 # AIX /bin/install | 2414 # AIX /bin/install |
2418 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2415 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2419 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2420 # ./install, which can be erroneously created by make from ./install.sh. | 2417 # ./install, which can be erroneously created by make from ./install.sh. |
2421 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2418 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2422 echo "configure:2423: checking for a BSD compatible install" >&5 | 2419 echo "configure:2420: checking for a BSD compatible install" >&5 |
2423 if test -z "$INSTALL"; then | 2420 if test -z "$INSTALL"; then |
2424 | 2421 |
2425 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2422 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2426 for ac_dir in $PATH; do | 2423 for ac_dir in $PATH; do |
2427 # Account for people who put trailing slashes in PATH elements. | 2424 # Account for people who put trailing slashes in PATH elements. |
2468 for ac_prog in 'bison -y' byacc | 2465 for ac_prog in 'bison -y' byacc |
2469 do | 2466 do |
2470 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2467 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2471 set dummy $ac_prog; ac_word=$2 | 2468 set dummy $ac_prog; ac_word=$2 |
2472 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2473 echo "configure:2474: checking for $ac_word" >&5 | 2470 echo "configure:2471: checking for $ac_word" >&5 |
2474 | 2471 |
2475 if test -n "$YACC"; then | 2472 if test -n "$YACC"; then |
2476 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2473 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2477 else | 2474 else |
2478 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2475 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2499 | 2496 |
2500 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2497 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2501 do | 2498 do |
2502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2499 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2500 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2504 echo "configure:2505: checking for $ac_hdr" >&5 | 2501 echo "configure:2502: checking for $ac_hdr" >&5 |
2505 | 2502 |
2506 cat > conftest.$ac_ext <<EOF | 2503 cat > conftest.$ac_ext <<EOF |
2507 #line 2508 "configure" | 2504 #line 2505 "configure" |
2508 #include "confdefs.h" | 2505 #include "confdefs.h" |
2509 #include <$ac_hdr> | 2506 #include <$ac_hdr> |
2510 EOF | 2507 EOF |
2511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2512 { (eval echo configure:2513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2509 { (eval echo configure:2510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2513 ac_err=`grep -v '^ *+' conftest.out` | 2510 ac_err=`grep -v '^ *+' conftest.out` |
2514 if test -z "$ac_err"; then | 2511 if test -z "$ac_err"; then |
2515 rm -rf conftest* | 2512 rm -rf conftest* |
2516 eval "ac_cv_header_$ac_safe=yes" | 2513 eval "ac_cv_header_$ac_safe=yes" |
2517 else | 2514 else |
2536 else | 2533 else |
2537 echo "$ac_t""no" 1>&6 | 2534 echo "$ac_t""no" 1>&6 |
2538 fi | 2535 fi |
2539 done | 2536 done |
2540 | 2537 |
2541 for ac_hdr in utime.h locale.h libgen.h fcntl.h | 2538 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2542 do | 2539 do |
2543 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2544 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2545 echo "configure:2546: checking for $ac_hdr" >&5 | 2542 echo "configure:2543: checking for $ac_hdr" >&5 |
2546 | 2543 |
2547 cat > conftest.$ac_ext <<EOF | 2544 cat > conftest.$ac_ext <<EOF |
2548 #line 2549 "configure" | 2545 #line 2546 "configure" |
2549 #include "confdefs.h" | 2546 #include "confdefs.h" |
2550 #include <$ac_hdr> | 2547 #include <$ac_hdr> |
2551 EOF | 2548 EOF |
2552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2553 { (eval echo configure:2554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2550 { (eval echo configure:2551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2554 ac_err=`grep -v '^ *+' conftest.out` | 2551 ac_err=`grep -v '^ *+' conftest.out` |
2555 if test -z "$ac_err"; then | 2552 if test -z "$ac_err"; then |
2556 rm -rf conftest* | 2553 rm -rf conftest* |
2557 eval "ac_cv_header_$ac_safe=yes" | 2554 eval "ac_cv_header_$ac_safe=yes" |
2558 else | 2555 else |
2581 | 2578 |
2582 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2579 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
2583 do | 2580 do |
2584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2581 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2582 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2586 echo "configure:2587: checking for $ac_hdr" >&5 | 2583 echo "configure:2584: checking for $ac_hdr" >&5 |
2587 | 2584 |
2588 cat > conftest.$ac_ext <<EOF | 2585 cat > conftest.$ac_ext <<EOF |
2589 #line 2590 "configure" | 2586 #line 2587 "configure" |
2590 #include "confdefs.h" | 2587 #include "confdefs.h" |
2591 #include <$ac_hdr> | 2588 #include <$ac_hdr> |
2592 EOF | 2589 EOF |
2593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2594 { (eval echo configure:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2591 { (eval echo configure:2592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2595 ac_err=`grep -v '^ *+' conftest.out` | 2592 ac_err=`grep -v '^ *+' conftest.out` |
2596 if test -z "$ac_err"; then | 2593 if test -z "$ac_err"; then |
2597 rm -rf conftest* | 2594 rm -rf conftest* |
2598 eval "ac_cv_header_$ac_safe=yes" | 2595 eval "ac_cv_header_$ac_safe=yes" |
2599 else | 2596 else |
2619 echo "$ac_t""no" 1>&6 | 2616 echo "$ac_t""no" 1>&6 |
2620 fi | 2617 fi |
2621 done | 2618 done |
2622 | 2619 |
2623 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2620 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2624 echo "configure:2625: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2621 echo "configure:2622: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2625 | 2622 |
2626 cat > conftest.$ac_ext <<EOF | 2623 cat > conftest.$ac_ext <<EOF |
2627 #line 2628 "configure" | 2624 #line 2625 "configure" |
2628 #include "confdefs.h" | 2625 #include "confdefs.h" |
2629 #include <sys/types.h> | 2626 #include <sys/types.h> |
2630 #include <sys/wait.h> | 2627 #include <sys/wait.h> |
2631 #ifndef WEXITSTATUS | 2628 #ifndef WEXITSTATUS |
2632 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2629 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2638 int s; | 2635 int s; |
2639 wait (&s); | 2636 wait (&s); |
2640 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2637 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2641 ; return 0; } | 2638 ; return 0; } |
2642 EOF | 2639 EOF |
2643 if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2640 if { (eval echo configure:2641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2644 rm -rf conftest* | 2641 rm -rf conftest* |
2645 ac_cv_header_sys_wait_h=yes | 2642 ac_cv_header_sys_wait_h=yes |
2646 else | 2643 else |
2647 echo "configure: failed program was:" >&5 | 2644 echo "configure: failed program was:" >&5 |
2648 cat conftest.$ac_ext >&5 | 2645 cat conftest.$ac_ext >&5 |
2662 } | 2659 } |
2663 | 2660 |
2664 fi | 2661 fi |
2665 | 2662 |
2666 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2663 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2667 echo "configure:2668: checking for ANSI C header files" >&5 | 2664 echo "configure:2665: checking for ANSI C header files" >&5 |
2668 | 2665 |
2669 cat > conftest.$ac_ext <<EOF | 2666 cat > conftest.$ac_ext <<EOF |
2670 #line 2671 "configure" | 2667 #line 2668 "configure" |
2671 #include "confdefs.h" | 2668 #include "confdefs.h" |
2672 #include <stdlib.h> | 2669 #include <stdlib.h> |
2673 #include <stdarg.h> | 2670 #include <stdarg.h> |
2674 #include <string.h> | 2671 #include <string.h> |
2675 #include <float.h> | 2672 #include <float.h> |
2676 EOF | 2673 EOF |
2677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2678 { (eval echo configure:2679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2675 { (eval echo configure:2676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2679 ac_err=`grep -v '^ *+' conftest.out` | 2676 ac_err=`grep -v '^ *+' conftest.out` |
2680 if test -z "$ac_err"; then | 2677 if test -z "$ac_err"; then |
2681 rm -rf conftest* | 2678 rm -rf conftest* |
2682 ac_cv_header_stdc=yes | 2679 ac_cv_header_stdc=yes |
2683 else | 2680 else |
2690 rm -f conftest* | 2687 rm -f conftest* |
2691 | 2688 |
2692 if test $ac_cv_header_stdc = yes; then | 2689 if test $ac_cv_header_stdc = yes; then |
2693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2690 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2694 cat > conftest.$ac_ext <<EOF | 2691 cat > conftest.$ac_ext <<EOF |
2695 #line 2696 "configure" | 2692 #line 2693 "configure" |
2696 #include "confdefs.h" | 2693 #include "confdefs.h" |
2697 #include <string.h> | 2694 #include <string.h> |
2698 EOF | 2695 EOF |
2699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2700 egrep "memchr" >/dev/null 2>&1; then | 2697 egrep "memchr" >/dev/null 2>&1; then |
2708 fi | 2705 fi |
2709 | 2706 |
2710 if test $ac_cv_header_stdc = yes; then | 2707 if test $ac_cv_header_stdc = yes; then |
2711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2708 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2712 cat > conftest.$ac_ext <<EOF | 2709 cat > conftest.$ac_ext <<EOF |
2713 #line 2714 "configure" | 2710 #line 2711 "configure" |
2714 #include "confdefs.h" | 2711 #include "confdefs.h" |
2715 #include <stdlib.h> | 2712 #include <stdlib.h> |
2716 EOF | 2713 EOF |
2717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2718 egrep "free" >/dev/null 2>&1; then | 2715 egrep "free" >/dev/null 2>&1; then |
2726 fi | 2723 fi |
2727 | 2724 |
2728 if test $ac_cv_header_stdc = yes; then | 2725 if test $ac_cv_header_stdc = yes; then |
2729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2726 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2730 cat > conftest.$ac_ext <<EOF | 2727 cat > conftest.$ac_ext <<EOF |
2731 #line 2732 "configure" | 2728 #line 2729 "configure" |
2732 #include "confdefs.h" | 2729 #include "confdefs.h" |
2733 #include <ctype.h> | 2730 #include <ctype.h> |
2734 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2731 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2735 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2732 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2733 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2737 int main () { int i; for (i = 0; i < 256; i++) | 2734 int main () { int i; for (i = 0; i < 256; i++) |
2738 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2735 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2739 exit (0); } | 2736 exit (0); } |
2740 | 2737 |
2741 EOF | 2738 EOF |
2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2739 if { (eval echo configure:2740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2743 then | 2740 then |
2744 : | 2741 : |
2745 else | 2742 else |
2746 echo "configure: failed program was:" >&5 | 2743 echo "configure: failed program was:" >&5 |
2747 cat conftest.$ac_ext >&5 | 2744 cat conftest.$ac_ext >&5 |
2762 } | 2759 } |
2763 | 2760 |
2764 fi | 2761 fi |
2765 | 2762 |
2766 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2763 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2767 echo "configure:2768: checking whether time.h and sys/time.h may both be included" >&5 | 2764 echo "configure:2765: checking whether time.h and sys/time.h may both be included" >&5 |
2768 | 2765 |
2769 cat > conftest.$ac_ext <<EOF | 2766 cat > conftest.$ac_ext <<EOF |
2770 #line 2771 "configure" | 2767 #line 2768 "configure" |
2771 #include "confdefs.h" | 2768 #include "confdefs.h" |
2772 #include <sys/types.h> | 2769 #include <sys/types.h> |
2773 #include <sys/time.h> | 2770 #include <sys/time.h> |
2774 #include <time.h> | 2771 #include <time.h> |
2775 int main() { | 2772 int main() { |
2776 struct tm *tp; | 2773 struct tm *tp; |
2777 ; return 0; } | 2774 ; return 0; } |
2778 EOF | 2775 EOF |
2779 if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2776 if { (eval echo configure:2777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2780 rm -rf conftest* | 2777 rm -rf conftest* |
2781 ac_cv_header_time=yes | 2778 ac_cv_header_time=yes |
2782 else | 2779 else |
2783 echo "configure: failed program was:" >&5 | 2780 echo "configure: failed program was:" >&5 |
2784 cat conftest.$ac_ext >&5 | 2781 cat conftest.$ac_ext >&5 |
2798 } | 2795 } |
2799 | 2796 |
2800 fi | 2797 fi |
2801 | 2798 |
2802 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2799 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2803 echo "configure:2804: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2800 echo "configure:2801: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2804 | 2801 |
2805 cat > conftest.$ac_ext <<EOF | 2802 cat > conftest.$ac_ext <<EOF |
2806 #line 2807 "configure" | 2803 #line 2804 "configure" |
2807 #include "confdefs.h" | 2804 #include "confdefs.h" |
2808 #include <sys/types.h> | 2805 #include <sys/types.h> |
2809 #include <signal.h> | 2806 #include <signal.h> |
2810 /* NetBSD declares sys_siglist in unistd.h. */ | 2807 /* NetBSD declares sys_siglist in unistd.h. */ |
2811 #ifdef HAVE_UNISTD_H | 2808 #ifdef HAVE_UNISTD_H |
2813 #endif | 2810 #endif |
2814 int main() { | 2811 int main() { |
2815 char *msg = *(sys_siglist + 1); | 2812 char *msg = *(sys_siglist + 1); |
2816 ; return 0; } | 2813 ; return 0; } |
2817 EOF | 2814 EOF |
2818 if { (eval echo configure:2819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2815 if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2819 rm -rf conftest* | 2816 rm -rf conftest* |
2820 ac_cv_decl_sys_siglist=yes | 2817 ac_cv_decl_sys_siglist=yes |
2821 else | 2818 else |
2822 echo "configure: failed program was:" >&5 | 2819 echo "configure: failed program was:" >&5 |
2823 cat conftest.$ac_ext >&5 | 2820 cat conftest.$ac_ext >&5 |
2838 | 2835 |
2839 fi | 2836 fi |
2840 | 2837 |
2841 | 2838 |
2842 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2839 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2843 echo "configure:2844: checking for struct utimbuf" >&5 | 2840 echo "configure:2841: checking for struct utimbuf" >&5 |
2844 cat > conftest.$ac_ext <<EOF | 2841 cat > conftest.$ac_ext <<EOF |
2845 #line 2846 "configure" | 2842 #line 2843 "configure" |
2846 #include "confdefs.h" | 2843 #include "confdefs.h" |
2847 #ifdef TIME_WITH_SYS_TIME | 2844 #ifdef TIME_WITH_SYS_TIME |
2848 #include <sys/time.h> | 2845 #include <sys/time.h> |
2849 #include <time.h> | 2846 #include <time.h> |
2850 #else | 2847 #else |
2859 #endif | 2856 #endif |
2860 int main() { | 2857 int main() { |
2861 static struct utimbuf x; x.actime = x.modtime; | 2858 static struct utimbuf x; x.actime = x.modtime; |
2862 ; return 0; } | 2859 ; return 0; } |
2863 EOF | 2860 EOF |
2864 if { (eval echo configure:2865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2861 if { (eval echo configure:2862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2865 rm -rf conftest* | 2862 rm -rf conftest* |
2866 echo "$ac_t""yes" 1>&6 | 2863 echo "$ac_t""yes" 1>&6 |
2867 { test "$extra_verbose" = "yes" && cat << \EOF | 2864 { test "$extra_verbose" = "yes" && cat << \EOF |
2868 Defining HAVE_STRUCT_UTIMBUF | 2865 Defining HAVE_STRUCT_UTIMBUF |
2869 EOF | 2866 EOF |
2879 echo "$ac_t""no" 1>&6 | 2876 echo "$ac_t""no" 1>&6 |
2880 fi | 2877 fi |
2881 rm -f conftest* | 2878 rm -f conftest* |
2882 | 2879 |
2883 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2880 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2884 echo "configure:2885: checking return type of signal handlers" >&5 | 2881 echo "configure:2882: checking return type of signal handlers" >&5 |
2885 | 2882 |
2886 cat > conftest.$ac_ext <<EOF | 2883 cat > conftest.$ac_ext <<EOF |
2887 #line 2888 "configure" | 2884 #line 2885 "configure" |
2888 #include "confdefs.h" | 2885 #include "confdefs.h" |
2889 #include <sys/types.h> | 2886 #include <sys/types.h> |
2890 #include <signal.h> | 2887 #include <signal.h> |
2891 #ifdef signal | 2888 #ifdef signal |
2892 #undef signal | 2889 #undef signal |
2899 | 2896 |
2900 int main() { | 2897 int main() { |
2901 int i; | 2898 int i; |
2902 ; return 0; } | 2899 ; return 0; } |
2903 EOF | 2900 EOF |
2904 if { (eval echo configure:2905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2901 if { (eval echo configure:2902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2905 rm -rf conftest* | 2902 rm -rf conftest* |
2906 ac_cv_type_signal=void | 2903 ac_cv_type_signal=void |
2907 else | 2904 else |
2908 echo "configure: failed program was:" >&5 | 2905 echo "configure: failed program was:" >&5 |
2909 cat conftest.$ac_ext >&5 | 2906 cat conftest.$ac_ext >&5 |
2921 EOF | 2918 EOF |
2922 } | 2919 } |
2923 | 2920 |
2924 | 2921 |
2925 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2922 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2926 echo "configure:2927: checking for size_t" >&5 | 2923 echo "configure:2924: checking for size_t" >&5 |
2927 | 2924 |
2928 cat > conftest.$ac_ext <<EOF | 2925 cat > conftest.$ac_ext <<EOF |
2929 #line 2930 "configure" | 2926 #line 2927 "configure" |
2930 #include "confdefs.h" | 2927 #include "confdefs.h" |
2931 #include <sys/types.h> | 2928 #include <sys/types.h> |
2932 #if STDC_HEADERS | 2929 #if STDC_HEADERS |
2933 #include <stdlib.h> | 2930 #include <stdlib.h> |
2934 #include <stddef.h> | 2931 #include <stddef.h> |
2955 } | 2952 } |
2956 | 2953 |
2957 fi | 2954 fi |
2958 | 2955 |
2959 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2956 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
2960 echo "configure:2961: checking for pid_t" >&5 | 2957 echo "configure:2958: checking for pid_t" >&5 |
2961 | 2958 |
2962 cat > conftest.$ac_ext <<EOF | 2959 cat > conftest.$ac_ext <<EOF |
2963 #line 2964 "configure" | 2960 #line 2961 "configure" |
2964 #include "confdefs.h" | 2961 #include "confdefs.h" |
2965 #include <sys/types.h> | 2962 #include <sys/types.h> |
2966 #if STDC_HEADERS | 2963 #if STDC_HEADERS |
2967 #include <stdlib.h> | 2964 #include <stdlib.h> |
2968 #include <stddef.h> | 2965 #include <stddef.h> |
2989 } | 2986 } |
2990 | 2987 |
2991 fi | 2988 fi |
2992 | 2989 |
2993 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 2990 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
2994 echo "configure:2995: checking for uid_t in sys/types.h" >&5 | 2991 echo "configure:2992: checking for uid_t in sys/types.h" >&5 |
2995 | 2992 |
2996 cat > conftest.$ac_ext <<EOF | 2993 cat > conftest.$ac_ext <<EOF |
2997 #line 2998 "configure" | 2994 #line 2995 "configure" |
2998 #include "confdefs.h" | 2995 #include "confdefs.h" |
2999 #include <sys/types.h> | 2996 #include <sys/types.h> |
3000 EOF | 2997 EOF |
3001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3002 egrep "uid_t" >/dev/null 2>&1; then | 2999 egrep "uid_t" >/dev/null 2>&1; then |
3028 } | 3025 } |
3029 | 3026 |
3030 fi | 3027 fi |
3031 | 3028 |
3032 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3029 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3033 echo "configure:3034: checking for mode_t" >&5 | 3030 echo "configure:3031: checking for mode_t" >&5 |
3034 | 3031 |
3035 cat > conftest.$ac_ext <<EOF | 3032 cat > conftest.$ac_ext <<EOF |
3036 #line 3037 "configure" | 3033 #line 3034 "configure" |
3037 #include "confdefs.h" | 3034 #include "confdefs.h" |
3038 #include <sys/types.h> | 3035 #include <sys/types.h> |
3039 #if STDC_HEADERS | 3036 #if STDC_HEADERS |
3040 #include <stdlib.h> | 3037 #include <stdlib.h> |
3041 #include <stddef.h> | 3038 #include <stddef.h> |
3062 } | 3059 } |
3063 | 3060 |
3064 fi | 3061 fi |
3065 | 3062 |
3066 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3063 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3067 echo "configure:3068: checking for off_t" >&5 | 3064 echo "configure:3065: checking for off_t" >&5 |
3068 | 3065 |
3069 cat > conftest.$ac_ext <<EOF | 3066 cat > conftest.$ac_ext <<EOF |
3070 #line 3071 "configure" | 3067 #line 3068 "configure" |
3071 #include "confdefs.h" | 3068 #include "confdefs.h" |
3072 #include <sys/types.h> | 3069 #include <sys/types.h> |
3073 #if STDC_HEADERS | 3070 #if STDC_HEADERS |
3074 #include <stdlib.h> | 3071 #include <stdlib.h> |
3075 #include <stddef.h> | 3072 #include <stddef.h> |
3097 | 3094 |
3098 fi | 3095 fi |
3099 | 3096 |
3100 | 3097 |
3101 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3098 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3102 echo "configure:3103: checking for struct timeval" >&5 | 3099 echo "configure:3100: checking for struct timeval" >&5 |
3103 cat > conftest.$ac_ext <<EOF | 3100 cat > conftest.$ac_ext <<EOF |
3104 #line 3105 "configure" | 3101 #line 3102 "configure" |
3105 #include "confdefs.h" | 3102 #include "confdefs.h" |
3106 #ifdef TIME_WITH_SYS_TIME | 3103 #ifdef TIME_WITH_SYS_TIME |
3107 #include <sys/time.h> | 3104 #include <sys/time.h> |
3108 #include <time.h> | 3105 #include <time.h> |
3109 #else | 3106 #else |
3115 #endif | 3112 #endif |
3116 int main() { | 3113 int main() { |
3117 static struct timeval x; x.tv_sec = x.tv_usec; | 3114 static struct timeval x; x.tv_sec = x.tv_usec; |
3118 ; return 0; } | 3115 ; return 0; } |
3119 EOF | 3116 EOF |
3120 if { (eval echo configure:3121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3117 if { (eval echo configure:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3121 rm -rf conftest* | 3118 rm -rf conftest* |
3122 echo "$ac_t""yes" 1>&6 | 3119 echo "$ac_t""yes" 1>&6 |
3123 HAVE_TIMEVAL=yes | 3120 HAVE_TIMEVAL=yes |
3124 { test "$extra_verbose" = "yes" && cat << \EOF | 3121 { test "$extra_verbose" = "yes" && cat << \EOF |
3125 Defining HAVE_TIMEVAL | 3122 Defining HAVE_TIMEVAL |
3137 HAVE_TIMEVAL=no | 3134 HAVE_TIMEVAL=no |
3138 fi | 3135 fi |
3139 rm -f conftest* | 3136 rm -f conftest* |
3140 | 3137 |
3141 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3138 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3142 echo "configure:3143: checking whether struct tm is in sys/time.h or time.h" >&5 | 3139 echo "configure:3140: checking whether struct tm is in sys/time.h or time.h" >&5 |
3143 | 3140 |
3144 cat > conftest.$ac_ext <<EOF | 3141 cat > conftest.$ac_ext <<EOF |
3145 #line 3146 "configure" | 3142 #line 3143 "configure" |
3146 #include "confdefs.h" | 3143 #include "confdefs.h" |
3147 #include <sys/types.h> | 3144 #include <sys/types.h> |
3148 #include <time.h> | 3145 #include <time.h> |
3149 int main() { | 3146 int main() { |
3150 struct tm *tp; tp->tm_sec; | 3147 struct tm *tp; tp->tm_sec; |
3151 ; return 0; } | 3148 ; return 0; } |
3152 EOF | 3149 EOF |
3153 if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3150 if { (eval echo configure:3151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3154 rm -rf conftest* | 3151 rm -rf conftest* |
3155 ac_cv_struct_tm=time.h | 3152 ac_cv_struct_tm=time.h |
3156 else | 3153 else |
3157 echo "configure: failed program was:" >&5 | 3154 echo "configure: failed program was:" >&5 |
3158 cat conftest.$ac_ext >&5 | 3155 cat conftest.$ac_ext >&5 |
3172 } | 3169 } |
3173 | 3170 |
3174 fi | 3171 fi |
3175 | 3172 |
3176 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3173 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3177 echo "configure:3178: checking for tm_zone in struct tm" >&5 | 3174 echo "configure:3175: checking for tm_zone in struct tm" >&5 |
3178 | 3175 |
3179 cat > conftest.$ac_ext <<EOF | 3176 cat > conftest.$ac_ext <<EOF |
3180 #line 3181 "configure" | 3177 #line 3178 "configure" |
3181 #include "confdefs.h" | 3178 #include "confdefs.h" |
3182 #include <sys/types.h> | 3179 #include <sys/types.h> |
3183 #include <$ac_cv_struct_tm> | 3180 #include <$ac_cv_struct_tm> |
3184 int main() { | 3181 int main() { |
3185 struct tm tm; tm.tm_zone; | 3182 struct tm tm; tm.tm_zone; |
3186 ; return 0; } | 3183 ; return 0; } |
3187 EOF | 3184 EOF |
3188 if { (eval echo configure:3189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3185 if { (eval echo configure:3186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3189 rm -rf conftest* | 3186 rm -rf conftest* |
3190 ac_cv_struct_tm_zone=yes | 3187 ac_cv_struct_tm_zone=yes |
3191 else | 3188 else |
3192 echo "configure: failed program was:" >&5 | 3189 echo "configure: failed program was:" >&5 |
3193 cat conftest.$ac_ext >&5 | 3190 cat conftest.$ac_ext >&5 |
3206 EOF | 3203 EOF |
3207 } | 3204 } |
3208 | 3205 |
3209 else | 3206 else |
3210 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3207 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3211 echo "configure:3212: checking for tzname" >&5 | 3208 echo "configure:3209: checking for tzname" >&5 |
3212 | 3209 |
3213 cat > conftest.$ac_ext <<EOF | 3210 cat > conftest.$ac_ext <<EOF |
3214 #line 3215 "configure" | 3211 #line 3212 "configure" |
3215 #include "confdefs.h" | 3212 #include "confdefs.h" |
3216 #include <time.h> | 3213 #include <time.h> |
3217 #ifndef tzname /* For SGI. */ | 3214 #ifndef tzname /* For SGI. */ |
3218 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3215 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3219 #endif | 3216 #endif |
3220 int main() { | 3217 int main() { |
3221 atoi(*tzname); | 3218 atoi(*tzname); |
3222 ; return 0; } | 3219 ; return 0; } |
3223 EOF | 3220 EOF |
3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3221 if { (eval echo configure:3222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3225 rm -rf conftest* | 3222 rm -rf conftest* |
3226 ac_cv_var_tzname=yes | 3223 ac_cv_var_tzname=yes |
3227 else | 3224 else |
3228 echo "configure: failed program was:" >&5 | 3225 echo "configure: failed program was:" >&5 |
3229 cat conftest.$ac_ext >&5 | 3226 cat conftest.$ac_ext >&5 |
3245 fi | 3242 fi |
3246 fi | 3243 fi |
3247 | 3244 |
3248 | 3245 |
3249 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3246 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3250 echo "configure:3251: checking for working const" >&5 | 3247 echo "configure:3248: checking for working const" >&5 |
3251 | 3248 |
3252 cat > conftest.$ac_ext <<EOF | 3249 cat > conftest.$ac_ext <<EOF |
3253 #line 3254 "configure" | 3250 #line 3251 "configure" |
3254 #include "confdefs.h" | 3251 #include "confdefs.h" |
3255 | 3252 |
3256 int main() { | 3253 int main() { |
3257 | 3254 |
3258 /* Ultrix mips cc rejects this. */ | 3255 /* Ultrix mips cc rejects this. */ |
3297 const int foo = 10; | 3294 const int foo = 10; |
3298 } | 3295 } |
3299 | 3296 |
3300 ; return 0; } | 3297 ; return 0; } |
3301 EOF | 3298 EOF |
3302 if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3303 rm -rf conftest* | 3300 rm -rf conftest* |
3304 ac_cv_c_const=yes | 3301 ac_cv_c_const=yes |
3305 else | 3302 else |
3306 echo "configure: failed program was:" >&5 | 3303 echo "configure: failed program was:" >&5 |
3307 cat conftest.$ac_ext >&5 | 3304 cat conftest.$ac_ext >&5 |
3322 | 3319 |
3323 fi | 3320 fi |
3324 | 3321 |
3325 | 3322 |
3326 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3323 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3327 echo "configure:3328: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3324 echo "configure:3325: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3328 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3325 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3329 | 3326 |
3330 cat > conftestmake <<\EOF | 3327 cat > conftestmake <<\EOF |
3331 all: | 3328 all: |
3332 @echo 'ac_maketemp="${MAKE}"' | 3329 @echo 'ac_maketemp="${MAKE}"' |
3347 SET_MAKE="MAKE=${MAKE-make}" | 3344 SET_MAKE="MAKE=${MAKE-make}" |
3348 fi | 3345 fi |
3349 | 3346 |
3350 | 3347 |
3351 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3348 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3352 echo "configure:3353: checking whether byte ordering is bigendian" >&5 | 3349 echo "configure:3350: checking whether byte ordering is bigendian" >&5 |
3353 | 3350 |
3354 ac_cv_c_bigendian=unknown | 3351 ac_cv_c_bigendian=unknown |
3355 # See if sys/param.h defines the BYTE_ORDER macro. | 3352 # See if sys/param.h defines the BYTE_ORDER macro. |
3356 cat > conftest.$ac_ext <<EOF | 3353 cat > conftest.$ac_ext <<EOF |
3357 #line 3358 "configure" | 3354 #line 3355 "configure" |
3358 #include "confdefs.h" | 3355 #include "confdefs.h" |
3359 #include <sys/types.h> | 3356 #include <sys/types.h> |
3360 #include <sys/param.h> | 3357 #include <sys/param.h> |
3361 int main() { | 3358 int main() { |
3362 | 3359 |
3363 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3360 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3364 bogus endian macros | 3361 bogus endian macros |
3365 #endif | 3362 #endif |
3366 ; return 0; } | 3363 ; return 0; } |
3367 EOF | 3364 EOF |
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3365 if { (eval echo configure:3366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3369 rm -rf conftest* | 3366 rm -rf conftest* |
3370 # It does; now see whether it defined to BIG_ENDIAN or not. | 3367 # It does; now see whether it defined to BIG_ENDIAN or not. |
3371 cat > conftest.$ac_ext <<EOF | 3368 cat > conftest.$ac_ext <<EOF |
3372 #line 3373 "configure" | 3369 #line 3370 "configure" |
3373 #include "confdefs.h" | 3370 #include "confdefs.h" |
3374 #include <sys/types.h> | 3371 #include <sys/types.h> |
3375 #include <sys/param.h> | 3372 #include <sys/param.h> |
3376 int main() { | 3373 int main() { |
3377 | 3374 |
3378 #if BYTE_ORDER != BIG_ENDIAN | 3375 #if BYTE_ORDER != BIG_ENDIAN |
3379 not big endian | 3376 not big endian |
3380 #endif | 3377 #endif |
3381 ; return 0; } | 3378 ; return 0; } |
3382 EOF | 3379 EOF |
3383 if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3380 if { (eval echo configure:3381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3384 rm -rf conftest* | 3381 rm -rf conftest* |
3385 ac_cv_c_bigendian=yes | 3382 ac_cv_c_bigendian=yes |
3386 else | 3383 else |
3387 echo "configure: failed program was:" >&5 | 3384 echo "configure: failed program was:" >&5 |
3388 cat conftest.$ac_ext >&5 | 3385 cat conftest.$ac_ext >&5 |
3395 cat conftest.$ac_ext >&5 | 3392 cat conftest.$ac_ext >&5 |
3396 fi | 3393 fi |
3397 rm -f conftest* | 3394 rm -f conftest* |
3398 if test $ac_cv_c_bigendian = unknown; then | 3395 if test $ac_cv_c_bigendian = unknown; then |
3399 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
3400 #line 3401 "configure" | 3397 #line 3398 "configure" |
3401 #include "confdefs.h" | 3398 #include "confdefs.h" |
3402 main () { | 3399 main () { |
3403 /* Are we little or big endian? From Harbison&Steele. */ | 3400 /* Are we little or big endian? From Harbison&Steele. */ |
3404 union | 3401 union |
3405 { | 3402 { |
3408 } u; | 3405 } u; |
3409 u.l = 1; | 3406 u.l = 1; |
3410 exit (u.c[sizeof (long) - 1] == 1); | 3407 exit (u.c[sizeof (long) - 1] == 1); |
3411 } | 3408 } |
3412 EOF | 3409 EOF |
3413 if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3410 if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3414 then | 3411 then |
3415 ac_cv_c_bigendian=no | 3412 ac_cv_c_bigendian=no |
3416 else | 3413 else |
3417 echo "configure: failed program was:" >&5 | 3414 echo "configure: failed program was:" >&5 |
3418 cat conftest.$ac_ext >&5 | 3415 cat conftest.$ac_ext >&5 |
3434 | 3431 |
3435 fi | 3432 fi |
3436 | 3433 |
3437 | 3434 |
3438 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3435 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3439 echo "configure:3440: checking size of short" >&5 | 3436 echo "configure:3437: checking size of short" >&5 |
3440 | 3437 |
3441 cat > conftest.$ac_ext <<EOF | 3438 cat > conftest.$ac_ext <<EOF |
3442 #line 3443 "configure" | 3439 #line 3440 "configure" |
3443 #include "confdefs.h" | 3440 #include "confdefs.h" |
3444 #include <stdio.h> | 3441 #include <stdio.h> |
3445 main() | 3442 main() |
3446 { | 3443 { |
3447 FILE *f=fopen("conftestval", "w"); | 3444 FILE *f=fopen("conftestval", "w"); |
3448 if (!f) exit(1); | 3445 if (!f) exit(1); |
3449 fprintf(f, "%d\n", sizeof(short)); | 3446 fprintf(f, "%d\n", sizeof(short)); |
3450 exit(0); | 3447 exit(0); |
3451 } | 3448 } |
3452 EOF | 3449 EOF |
3453 if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3450 if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3454 then | 3451 then |
3455 ac_cv_sizeof_short=`cat conftestval` | 3452 ac_cv_sizeof_short=`cat conftestval` |
3456 else | 3453 else |
3457 echo "configure: failed program was:" >&5 | 3454 echo "configure: failed program was:" >&5 |
3458 cat conftest.$ac_ext >&5 | 3455 cat conftest.$ac_ext >&5 |
3475 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3472 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3476 echo "*** PANIC *** Please examine config.log for compilation errors." | 3473 echo "*** PANIC *** Please examine config.log for compilation errors." |
3477 exit 1 | 3474 exit 1 |
3478 fi | 3475 fi |
3479 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3476 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3480 echo "configure:3481: checking size of int" >&5 | 3477 echo "configure:3478: checking size of int" >&5 |
3481 | 3478 |
3482 cat > conftest.$ac_ext <<EOF | 3479 cat > conftest.$ac_ext <<EOF |
3483 #line 3484 "configure" | 3480 #line 3481 "configure" |
3484 #include "confdefs.h" | 3481 #include "confdefs.h" |
3485 #include <stdio.h> | 3482 #include <stdio.h> |
3486 main() | 3483 main() |
3487 { | 3484 { |
3488 FILE *f=fopen("conftestval", "w"); | 3485 FILE *f=fopen("conftestval", "w"); |
3489 if (!f) exit(1); | 3486 if (!f) exit(1); |
3490 fprintf(f, "%d\n", sizeof(int)); | 3487 fprintf(f, "%d\n", sizeof(int)); |
3491 exit(0); | 3488 exit(0); |
3492 } | 3489 } |
3493 EOF | 3490 EOF |
3494 if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3491 if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3495 then | 3492 then |
3496 ac_cv_sizeof_int=`cat conftestval` | 3493 ac_cv_sizeof_int=`cat conftestval` |
3497 else | 3494 else |
3498 echo "configure: failed program was:" >&5 | 3495 echo "configure: failed program was:" >&5 |
3499 cat conftest.$ac_ext >&5 | 3496 cat conftest.$ac_ext >&5 |
3510 EOF | 3507 EOF |
3511 } | 3508 } |
3512 | 3509 |
3513 | 3510 |
3514 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3511 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3515 echo "configure:3516: checking size of long" >&5 | 3512 echo "configure:3513: checking size of long" >&5 |
3516 | 3513 |
3517 cat > conftest.$ac_ext <<EOF | 3514 cat > conftest.$ac_ext <<EOF |
3518 #line 3519 "configure" | 3515 #line 3516 "configure" |
3519 #include "confdefs.h" | 3516 #include "confdefs.h" |
3520 #include <stdio.h> | 3517 #include <stdio.h> |
3521 main() | 3518 main() |
3522 { | 3519 { |
3523 FILE *f=fopen("conftestval", "w"); | 3520 FILE *f=fopen("conftestval", "w"); |
3524 if (!f) exit(1); | 3521 if (!f) exit(1); |
3525 fprintf(f, "%d\n", sizeof(long)); | 3522 fprintf(f, "%d\n", sizeof(long)); |
3526 exit(0); | 3523 exit(0); |
3527 } | 3524 } |
3528 EOF | 3525 EOF |
3529 if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3526 if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3530 then | 3527 then |
3531 ac_cv_sizeof_long=`cat conftestval` | 3528 ac_cv_sizeof_long=`cat conftestval` |
3532 else | 3529 else |
3533 echo "configure: failed program was:" >&5 | 3530 echo "configure: failed program was:" >&5 |
3534 cat conftest.$ac_ext >&5 | 3531 cat conftest.$ac_ext >&5 |
3545 EOF | 3542 EOF |
3546 } | 3543 } |
3547 | 3544 |
3548 | 3545 |
3549 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3546 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3550 echo "configure:3551: checking size of long long" >&5 | 3547 echo "configure:3548: checking size of long long" >&5 |
3551 | 3548 |
3552 cat > conftest.$ac_ext <<EOF | 3549 cat > conftest.$ac_ext <<EOF |
3553 #line 3554 "configure" | 3550 #line 3551 "configure" |
3554 #include "confdefs.h" | 3551 #include "confdefs.h" |
3555 #include <stdio.h> | 3552 #include <stdio.h> |
3556 main() | 3553 main() |
3557 { | 3554 { |
3558 FILE *f=fopen("conftestval", "w"); | 3555 FILE *f=fopen("conftestval", "w"); |
3559 if (!f) exit(1); | 3556 if (!f) exit(1); |
3560 fprintf(f, "%d\n", sizeof(long long)); | 3557 fprintf(f, "%d\n", sizeof(long long)); |
3561 exit(0); | 3558 exit(0); |
3562 } | 3559 } |
3563 EOF | 3560 EOF |
3564 if { (eval echo configure:3565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3561 if { (eval echo configure:3562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3565 then | 3562 then |
3566 ac_cv_sizeof_long_long=`cat conftestval` | 3563 ac_cv_sizeof_long_long=`cat conftestval` |
3567 else | 3564 else |
3568 echo "configure: failed program was:" >&5 | 3565 echo "configure: failed program was:" >&5 |
3569 cat conftest.$ac_ext >&5 | 3566 cat conftest.$ac_ext >&5 |
3580 EOF | 3577 EOF |
3581 } | 3578 } |
3582 | 3579 |
3583 | 3580 |
3584 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3581 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3585 echo "configure:3586: checking size of void *" >&5 | 3582 echo "configure:3583: checking size of void *" >&5 |
3586 | 3583 |
3587 cat > conftest.$ac_ext <<EOF | 3584 cat > conftest.$ac_ext <<EOF |
3588 #line 3589 "configure" | 3585 #line 3586 "configure" |
3589 #include "confdefs.h" | 3586 #include "confdefs.h" |
3590 #include <stdio.h> | 3587 #include <stdio.h> |
3591 main() | 3588 main() |
3592 { | 3589 { |
3593 FILE *f=fopen("conftestval", "w"); | 3590 FILE *f=fopen("conftestval", "w"); |
3594 if (!f) exit(1); | 3591 if (!f) exit(1); |
3595 fprintf(f, "%d\n", sizeof(void *)); | 3592 fprintf(f, "%d\n", sizeof(void *)); |
3596 exit(0); | 3593 exit(0); |
3597 } | 3594 } |
3598 EOF | 3595 EOF |
3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3596 if { (eval echo configure:3597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3600 then | 3597 then |
3601 ac_cv_sizeof_void_p=`cat conftestval` | 3598 ac_cv_sizeof_void_p=`cat conftestval` |
3602 else | 3599 else |
3603 echo "configure: failed program was:" >&5 | 3600 echo "configure: failed program was:" >&5 |
3604 cat conftest.$ac_ext >&5 | 3601 cat conftest.$ac_ext >&5 |
3616 } | 3613 } |
3617 | 3614 |
3618 | 3615 |
3619 | 3616 |
3620 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3617 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3621 echo "configure:3622: checking for long file names" >&5 | 3618 echo "configure:3619: checking for long file names" >&5 |
3622 | 3619 |
3623 ac_cv_sys_long_file_names=yes | 3620 ac_cv_sys_long_file_names=yes |
3624 # Test for long file names in all the places we know might matter: | 3621 # Test for long file names in all the places we know might matter: |
3625 # . the current directory, where building will happen | 3622 # . the current directory, where building will happen |
3626 # $prefix/lib where we will be installing things | 3623 # $prefix/lib where we will be installing things |
3663 fi | 3660 fi |
3664 | 3661 |
3665 | 3662 |
3666 | 3663 |
3667 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 3664 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
3668 echo "configure:3669: checking for sqrt in -lm" >&5 | 3665 echo "configure:3666: checking for sqrt in -lm" >&5 |
3669 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 3666 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
3670 | 3667 |
3671 xe_check_libs=" -lm " | 3668 xe_check_libs=" -lm " |
3672 cat > conftest.$ac_ext <<EOF | 3669 cat > conftest.$ac_ext <<EOF |
3673 #line 3674 "configure" | 3670 #line 3671 "configure" |
3674 #include "confdefs.h" | 3671 #include "confdefs.h" |
3675 /* Override any gcc2 internal prototype to avoid an error. */ | 3672 /* Override any gcc2 internal prototype to avoid an error. */ |
3676 /* We use char because int might match the return type of a gcc2 | 3673 /* We use char because int might match the return type of a gcc2 |
3677 builtin and then its argument prototype would still apply. */ | 3674 builtin and then its argument prototype would still apply. */ |
3678 char sqrt(); | 3675 char sqrt(); |
3679 | 3676 |
3680 int main() { | 3677 int main() { |
3681 sqrt() | 3678 sqrt() |
3682 ; return 0; } | 3679 ; return 0; } |
3683 EOF | 3680 EOF |
3684 if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3681 if { (eval echo configure:3682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3685 rm -rf conftest* | 3682 rm -rf conftest* |
3686 eval "ac_cv_lib_$ac_lib_var=yes" | 3683 eval "ac_cv_lib_$ac_lib_var=yes" |
3687 else | 3684 else |
3688 echo "configure: failed program was:" >&5 | 3685 echo "configure: failed program was:" >&5 |
3689 cat conftest.$ac_ext >&5 | 3686 cat conftest.$ac_ext >&5 |
3722 EOF | 3719 EOF |
3723 } | 3720 } |
3724 | 3721 |
3725 | 3722 |
3726 echo "checking type of mail spool file locking" 1>&6 | 3723 echo "checking type of mail spool file locking" 1>&6 |
3727 echo "configure:3728: checking type of mail spool file locking" >&5 | 3724 echo "configure:3725: checking type of mail spool file locking" >&5 |
3728 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3725 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3729 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3726 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3730 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3727 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3731 Defining REAL_MAIL_USE_LOCKF | 3728 Defining REAL_MAIL_USE_LOCKF |
3732 EOF | 3729 EOF |
3746 else mail_locking="dot-locking" | 3743 else mail_locking="dot-locking" |
3747 fi | 3744 fi |
3748 | 3745 |
3749 | 3746 |
3750 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3747 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3751 echo "configure:3752: checking for kstat_open in -lkstat" >&5 | 3748 echo "configure:3749: checking for kstat_open in -lkstat" >&5 |
3752 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3749 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3753 | 3750 |
3754 xe_check_libs=" -lkstat " | 3751 xe_check_libs=" -lkstat " |
3755 cat > conftest.$ac_ext <<EOF | 3752 cat > conftest.$ac_ext <<EOF |
3756 #line 3757 "configure" | 3753 #line 3754 "configure" |
3757 #include "confdefs.h" | 3754 #include "confdefs.h" |
3758 /* Override any gcc2 internal prototype to avoid an error. */ | 3755 /* Override any gcc2 internal prototype to avoid an error. */ |
3759 /* We use char because int might match the return type of a gcc2 | 3756 /* We use char because int might match the return type of a gcc2 |
3760 builtin and then its argument prototype would still apply. */ | 3757 builtin and then its argument prototype would still apply. */ |
3761 char kstat_open(); | 3758 char kstat_open(); |
3762 | 3759 |
3763 int main() { | 3760 int main() { |
3764 kstat_open() | 3761 kstat_open() |
3765 ; return 0; } | 3762 ; return 0; } |
3766 EOF | 3763 EOF |
3767 if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3764 if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3768 rm -rf conftest* | 3765 rm -rf conftest* |
3769 eval "ac_cv_lib_$ac_lib_var=yes" | 3766 eval "ac_cv_lib_$ac_lib_var=yes" |
3770 else | 3767 else |
3771 echo "configure: failed program was:" >&5 | 3768 echo "configure: failed program was:" >&5 |
3772 cat conftest.$ac_ext >&5 | 3769 cat conftest.$ac_ext >&5 |
3796 | 3793 |
3797 | 3794 |
3798 | 3795 |
3799 | 3796 |
3800 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3797 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3801 echo "configure:3802: checking for kvm_read in -lkvm" >&5 | 3798 echo "configure:3799: checking for kvm_read in -lkvm" >&5 |
3802 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3799 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3803 | 3800 |
3804 xe_check_libs=" -lkvm " | 3801 xe_check_libs=" -lkvm " |
3805 cat > conftest.$ac_ext <<EOF | 3802 cat > conftest.$ac_ext <<EOF |
3806 #line 3807 "configure" | 3803 #line 3804 "configure" |
3807 #include "confdefs.h" | 3804 #include "confdefs.h" |
3808 /* Override any gcc2 internal prototype to avoid an error. */ | 3805 /* Override any gcc2 internal prototype to avoid an error. */ |
3809 /* We use char because int might match the return type of a gcc2 | 3806 /* We use char because int might match the return type of a gcc2 |
3810 builtin and then its argument prototype would still apply. */ | 3807 builtin and then its argument prototype would still apply. */ |
3811 char kvm_read(); | 3808 char kvm_read(); |
3812 | 3809 |
3813 int main() { | 3810 int main() { |
3814 kvm_read() | 3811 kvm_read() |
3815 ; return 0; } | 3812 ; return 0; } |
3816 EOF | 3813 EOF |
3817 if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3818 rm -rf conftest* | 3815 rm -rf conftest* |
3819 eval "ac_cv_lib_$ac_lib_var=yes" | 3816 eval "ac_cv_lib_$ac_lib_var=yes" |
3820 else | 3817 else |
3821 echo "configure: failed program was:" >&5 | 3818 echo "configure: failed program was:" >&5 |
3822 cat conftest.$ac_ext >&5 | 3819 cat conftest.$ac_ext >&5 |
3846 | 3843 |
3847 | 3844 |
3848 | 3845 |
3849 | 3846 |
3850 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3847 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3851 echo "configure:3852: checking for cma_open in -lpthreads" >&5 | 3848 echo "configure:3849: checking for cma_open in -lpthreads" >&5 |
3852 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3849 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3853 | 3850 |
3854 xe_check_libs=" -lpthreads " | 3851 xe_check_libs=" -lpthreads " |
3855 cat > conftest.$ac_ext <<EOF | 3852 cat > conftest.$ac_ext <<EOF |
3856 #line 3857 "configure" | 3853 #line 3854 "configure" |
3857 #include "confdefs.h" | 3854 #include "confdefs.h" |
3858 /* Override any gcc2 internal prototype to avoid an error. */ | 3855 /* Override any gcc2 internal prototype to avoid an error. */ |
3859 /* We use char because int might match the return type of a gcc2 | 3856 /* We use char because int might match the return type of a gcc2 |
3860 builtin and then its argument prototype would still apply. */ | 3857 builtin and then its argument prototype would still apply. */ |
3861 char cma_open(); | 3858 char cma_open(); |
3862 | 3859 |
3863 int main() { | 3860 int main() { |
3864 cma_open() | 3861 cma_open() |
3865 ; return 0; } | 3862 ; return 0; } |
3866 EOF | 3863 EOF |
3867 if { (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3864 if { (eval echo configure:3865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3868 rm -rf conftest* | 3865 rm -rf conftest* |
3869 eval "ac_cv_lib_$ac_lib_var=yes" | 3866 eval "ac_cv_lib_$ac_lib_var=yes" |
3870 else | 3867 else |
3871 echo "configure: failed program was:" >&5 | 3868 echo "configure: failed program was:" >&5 |
3872 cat conftest.$ac_ext >&5 | 3869 cat conftest.$ac_ext >&5 |
3898 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3895 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
3899 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3896 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
3900 fi | 3897 fi |
3901 | 3898 |
3902 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3899 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
3903 echo "configure:3904: checking whether the -xildoff compiler flag is required" >&5 | 3900 echo "configure:3901: checking whether the -xildoff compiler flag is required" >&5 |
3904 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3901 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
3905 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3902 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
3906 then echo "$ac_t""no" 1>&6; | 3903 then echo "$ac_t""no" 1>&6; |
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 | 3904 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 |
3908 fi | 3905 fi |
3909 else echo "$ac_t""no" 1>&6 | 3906 else echo "$ac_t""no" 1>&6 |
3910 fi | 3907 fi |
3911 | 3908 |
3912 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3909 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
3913 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3910 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
3914 echo "configure:3915: checking for \"-z ignore\" linker flag" >&5 | 3911 echo "configure:3912: checking for \"-z ignore\" linker flag" >&5 |
3915 case "`ld -h 2>&1`" in | 3912 case "`ld -h 2>&1`" in |
3916 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3913 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
3917 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3914 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
3918 *) echo "$ac_t""no" 1>&6 ;; | 3915 *) echo "$ac_t""no" 1>&6 ;; |
3919 esac | 3916 esac |
3920 fi | 3917 fi |
3921 | 3918 |
3922 | 3919 |
3923 echo "checking "for specified window system"" 1>&6 | 3920 echo "checking "for specified window system"" 1>&6 |
3924 echo "configure:3925: checking "for specified window system"" >&5 | 3921 echo "configure:3922: checking "for specified window system"" >&5 |
3925 | 3922 |
3926 if test "$x_includes $x_libraries" = "NONE NONE"; then | 3923 if test "$x_includes $x_libraries" = "NONE NONE"; then |
3927 if test -n "$OPENWINHOME" \ | 3924 if test -n "$OPENWINHOME" \ |
3928 -a "$OPENWINHOME" != "/usr/openwin" \ | 3925 -a "$OPENWINHOME" != "/usr/openwin" \ |
3929 -a -d "$OPENWINHOME"; then | 3926 -a -d "$OPENWINHOME"; then |
3940 # If we find X, set shell vars x_includes and x_libraries to the | 3937 # If we find X, set shell vars x_includes and x_libraries to the |
3941 # paths, otherwise set no_x=yes. | 3938 # paths, otherwise set no_x=yes. |
3942 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3939 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3943 # --without-x overrides everything else, but does not touch the cache. | 3940 # --without-x overrides everything else, but does not touch the cache. |
3944 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3941 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3945 echo "configure:3946: checking for X" >&5 | 3942 echo "configure:3943: checking for X" >&5 |
3946 | 3943 |
3947 # Check whether --with-x or --without-x was given. | 3944 # Check whether --with-x or --without-x was given. |
3948 if test "${with_x+set}" = set; then | 3945 if test "${with_x+set}" = set; then |
3949 withval="$with_x" | 3946 withval="$with_x" |
3950 : | 3947 : |
4000 # Guess where to find include files, by looking for this one X11 .h file. | 3997 # Guess where to find include files, by looking for this one X11 .h file. |
4001 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3998 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4002 | 3999 |
4003 # First, try using that file with no special directory specified. | 4000 # First, try using that file with no special directory specified. |
4004 cat > conftest.$ac_ext <<EOF | 4001 cat > conftest.$ac_ext <<EOF |
4005 #line 4006 "configure" | 4002 #line 4003 "configure" |
4006 #include "confdefs.h" | 4003 #include "confdefs.h" |
4007 #include <$x_direct_test_include> | 4004 #include <$x_direct_test_include> |
4008 EOF | 4005 EOF |
4009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4010 { (eval echo configure:4011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4007 { (eval echo configure:4008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4011 ac_err=`grep -v '^ *+' conftest.out` | 4008 ac_err=`grep -v '^ *+' conftest.out` |
4012 if test -z "$ac_err"; then | 4009 if test -z "$ac_err"; then |
4013 rm -rf conftest* | 4010 rm -rf conftest* |
4014 # We can compile using X headers with no special include directory. | 4011 # We can compile using X headers with no special include directory. |
4015 ac_x_includes= | 4012 ac_x_includes= |
4074 # See if we find them without any special options. | 4071 # See if we find them without any special options. |
4075 # Don't add to $LIBS permanently. | 4072 # Don't add to $LIBS permanently. |
4076 ac_save_LIBS="$LIBS" | 4073 ac_save_LIBS="$LIBS" |
4077 LIBS="-l$x_direct_test_library $LIBS" | 4074 LIBS="-l$x_direct_test_library $LIBS" |
4078 cat > conftest.$ac_ext <<EOF | 4075 cat > conftest.$ac_ext <<EOF |
4079 #line 4080 "configure" | 4076 #line 4077 "configure" |
4080 #include "confdefs.h" | 4077 #include "confdefs.h" |
4081 | 4078 |
4082 int main() { | 4079 int main() { |
4083 ${x_direct_test_function}() | 4080 ${x_direct_test_function}() |
4084 ; return 0; } | 4081 ; return 0; } |
4085 EOF | 4082 EOF |
4086 if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4083 if { (eval echo configure:4084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4087 rm -rf conftest* | 4084 rm -rf conftest* |
4088 LIBS="$ac_save_LIBS" | 4085 LIBS="$ac_save_LIBS" |
4089 # We can link X programs with no special library path. | 4086 # We can link X programs with no special library path. |
4090 ac_x_libraries= | 4087 ac_x_libraries= |
4091 else | 4088 else |
4190 # For Solaris; some versions of Sun CC require a space after -R and | 4187 # For Solaris; some versions of Sun CC require a space after -R and |
4191 # others require no space. Words are not sufficient . . . . | 4188 # others require no space. Words are not sufficient . . . . |
4192 case "`(uname -sr) 2>/dev/null`" in | 4189 case "`(uname -sr) 2>/dev/null`" in |
4193 "SunOS 5"*) | 4190 "SunOS 5"*) |
4194 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4191 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4195 echo "configure:4196: checking whether -R must be followed by a space" >&5 | 4192 echo "configure:4193: checking whether -R must be followed by a space" >&5 |
4196 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4193 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4197 cat > conftest.$ac_ext <<EOF | 4194 cat > conftest.$ac_ext <<EOF |
4198 #line 4199 "configure" | 4195 #line 4196 "configure" |
4199 #include "confdefs.h" | 4196 #include "confdefs.h" |
4200 | 4197 |
4201 int main() { | 4198 int main() { |
4202 | 4199 |
4203 ; return 0; } | 4200 ; return 0; } |
4204 EOF | 4201 EOF |
4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4202 if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4206 rm -rf conftest* | 4203 rm -rf conftest* |
4207 ac_R_nospace=yes | 4204 ac_R_nospace=yes |
4208 else | 4205 else |
4209 echo "configure: failed program was:" >&5 | 4206 echo "configure: failed program was:" >&5 |
4210 cat conftest.$ac_ext >&5 | 4207 cat conftest.$ac_ext >&5 |
4216 echo "$ac_t""no" 1>&6 | 4213 echo "$ac_t""no" 1>&6 |
4217 X_LIBS="$X_LIBS -R$x_libraries" | 4214 X_LIBS="$X_LIBS -R$x_libraries" |
4218 else | 4215 else |
4219 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4216 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4220 cat > conftest.$ac_ext <<EOF | 4217 cat > conftest.$ac_ext <<EOF |
4221 #line 4222 "configure" | 4218 #line 4219 "configure" |
4222 #include "confdefs.h" | 4219 #include "confdefs.h" |
4223 | 4220 |
4224 int main() { | 4221 int main() { |
4225 | 4222 |
4226 ; return 0; } | 4223 ; return 0; } |
4227 EOF | 4224 EOF |
4228 if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4225 if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4229 rm -rf conftest* | 4226 rm -rf conftest* |
4230 ac_R_space=yes | 4227 ac_R_space=yes |
4231 else | 4228 else |
4232 echo "configure: failed program was:" >&5 | 4229 echo "configure: failed program was:" >&5 |
4233 cat conftest.$ac_ext >&5 | 4230 cat conftest.$ac_ext >&5 |
4259 if test "$with_dnet" = "no" ; then | 4256 if test "$with_dnet" = "no" ; then |
4260 ac_cv_lib_dnet_dnet_ntoa=no | 4257 ac_cv_lib_dnet_dnet_ntoa=no |
4261 else | 4258 else |
4262 | 4259 |
4263 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4260 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4264 echo "configure:4265: checking for dnet_ntoa in -ldnet" >&5 | 4261 echo "configure:4262: checking for dnet_ntoa in -ldnet" >&5 |
4265 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4262 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4266 | 4263 |
4267 xe_check_libs=" -ldnet " | 4264 xe_check_libs=" -ldnet " |
4268 cat > conftest.$ac_ext <<EOF | 4265 cat > conftest.$ac_ext <<EOF |
4269 #line 4270 "configure" | 4266 #line 4267 "configure" |
4270 #include "confdefs.h" | 4267 #include "confdefs.h" |
4271 /* Override any gcc2 internal prototype to avoid an error. */ | 4268 /* Override any gcc2 internal prototype to avoid an error. */ |
4272 /* We use char because int might match the return type of a gcc2 | 4269 /* We use char because int might match the return type of a gcc2 |
4273 builtin and then its argument prototype would still apply. */ | 4270 builtin and then its argument prototype would still apply. */ |
4274 char dnet_ntoa(); | 4271 char dnet_ntoa(); |
4275 | 4272 |
4276 int main() { | 4273 int main() { |
4277 dnet_ntoa() | 4274 dnet_ntoa() |
4278 ; return 0; } | 4275 ; return 0; } |
4279 EOF | 4276 EOF |
4280 if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4277 if { (eval echo configure:4278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4281 rm -rf conftest* | 4278 rm -rf conftest* |
4282 eval "ac_cv_lib_$ac_lib_var=yes" | 4279 eval "ac_cv_lib_$ac_lib_var=yes" |
4283 else | 4280 else |
4284 echo "configure: failed program was:" >&5 | 4281 echo "configure: failed program was:" >&5 |
4285 cat conftest.$ac_ext >&5 | 4282 cat conftest.$ac_ext >&5 |
4299 fi | 4296 fi |
4300 | 4297 |
4301 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4298 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4302 | 4299 |
4303 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4300 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4304 echo "configure:4305: checking for dnet_ntoa in -ldnet_stub" >&5 | 4301 echo "configure:4302: checking for dnet_ntoa in -ldnet_stub" >&5 |
4305 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4302 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4306 | 4303 |
4307 xe_check_libs=" -ldnet_stub " | 4304 xe_check_libs=" -ldnet_stub " |
4308 cat > conftest.$ac_ext <<EOF | 4305 cat > conftest.$ac_ext <<EOF |
4309 #line 4310 "configure" | 4306 #line 4307 "configure" |
4310 #include "confdefs.h" | 4307 #include "confdefs.h" |
4311 /* Override any gcc2 internal prototype to avoid an error. */ | 4308 /* Override any gcc2 internal prototype to avoid an error. */ |
4312 /* We use char because int might match the return type of a gcc2 | 4309 /* We use char because int might match the return type of a gcc2 |
4313 builtin and then its argument prototype would still apply. */ | 4310 builtin and then its argument prototype would still apply. */ |
4314 char dnet_ntoa(); | 4311 char dnet_ntoa(); |
4315 | 4312 |
4316 int main() { | 4313 int main() { |
4317 dnet_ntoa() | 4314 dnet_ntoa() |
4318 ; return 0; } | 4315 ; return 0; } |
4319 EOF | 4316 EOF |
4320 if { (eval echo configure:4321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4317 if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4321 rm -rf conftest* | 4318 rm -rf conftest* |
4322 eval "ac_cv_lib_$ac_lib_var=yes" | 4319 eval "ac_cv_lib_$ac_lib_var=yes" |
4323 else | 4320 else |
4324 echo "configure: failed program was:" >&5 | 4321 echo "configure: failed program was:" >&5 |
4325 cat conftest.$ac_ext >&5 | 4322 cat conftest.$ac_ext >&5 |
4344 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4341 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4345 # needs -lnsl. | 4342 # needs -lnsl. |
4346 # The nsl library prevents programs from opening the X display | 4343 # The nsl library prevents programs from opening the X display |
4347 # on Irix 5.2, according to dickey@clark.net. | 4344 # on Irix 5.2, according to dickey@clark.net. |
4348 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4345 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4349 echo "configure:4350: checking for gethostbyname" >&5 | 4346 echo "configure:4347: checking for gethostbyname" >&5 |
4350 | 4347 |
4351 cat > conftest.$ac_ext <<EOF | 4348 cat > conftest.$ac_ext <<EOF |
4352 #line 4353 "configure" | 4349 #line 4350 "configure" |
4353 #include "confdefs.h" | 4350 #include "confdefs.h" |
4354 /* System header to define __stub macros and hopefully few prototypes, | 4351 /* System header to define __stub macros and hopefully few prototypes, |
4355 which can conflict with char gethostbyname(); below. */ | 4352 which can conflict with char gethostbyname(); below. */ |
4356 #include <assert.h> | 4353 #include <assert.h> |
4357 /* Override any gcc2 internal prototype to avoid an error. */ | 4354 /* Override any gcc2 internal prototype to avoid an error. */ |
4370 gethostbyname(); | 4367 gethostbyname(); |
4371 #endif | 4368 #endif |
4372 | 4369 |
4373 ; return 0; } | 4370 ; return 0; } |
4374 EOF | 4371 EOF |
4375 if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4372 if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4376 rm -rf conftest* | 4373 rm -rf conftest* |
4377 eval "ac_cv_func_gethostbyname=yes" | 4374 eval "ac_cv_func_gethostbyname=yes" |
4378 else | 4375 else |
4379 echo "configure: failed program was:" >&5 | 4376 echo "configure: failed program was:" >&5 |
4380 cat conftest.$ac_ext >&5 | 4377 cat conftest.$ac_ext >&5 |
4391 fi | 4388 fi |
4392 | 4389 |
4393 if test $ac_cv_func_gethostbyname = no; then | 4390 if test $ac_cv_func_gethostbyname = no; then |
4394 | 4391 |
4395 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4392 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4396 echo "configure:4397: checking for gethostbyname in -lnsl" >&5 | 4393 echo "configure:4394: checking for gethostbyname in -lnsl" >&5 |
4397 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4394 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4398 | 4395 |
4399 xe_check_libs=" -lnsl " | 4396 xe_check_libs=" -lnsl " |
4400 cat > conftest.$ac_ext <<EOF | 4397 cat > conftest.$ac_ext <<EOF |
4401 #line 4402 "configure" | 4398 #line 4399 "configure" |
4402 #include "confdefs.h" | 4399 #include "confdefs.h" |
4403 /* Override any gcc2 internal prototype to avoid an error. */ | 4400 /* Override any gcc2 internal prototype to avoid an error. */ |
4404 /* We use char because int might match the return type of a gcc2 | 4401 /* We use char because int might match the return type of a gcc2 |
4405 builtin and then its argument prototype would still apply. */ | 4402 builtin and then its argument prototype would still apply. */ |
4406 char gethostbyname(); | 4403 char gethostbyname(); |
4407 | 4404 |
4408 int main() { | 4405 int main() { |
4409 gethostbyname() | 4406 gethostbyname() |
4410 ; return 0; } | 4407 ; return 0; } |
4411 EOF | 4408 EOF |
4412 if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4413 rm -rf conftest* | 4410 rm -rf conftest* |
4414 eval "ac_cv_lib_$ac_lib_var=yes" | 4411 eval "ac_cv_lib_$ac_lib_var=yes" |
4415 else | 4412 else |
4416 echo "configure: failed program was:" >&5 | 4413 echo "configure: failed program was:" >&5 |
4417 cat conftest.$ac_ext >&5 | 4414 cat conftest.$ac_ext >&5 |
4437 # on later versions), says simon@lia.di.epfl.ch: it contains | 4434 # on later versions), says simon@lia.di.epfl.ch: it contains |
4438 # gethostby* variants that don't use the nameserver (or something). | 4435 # gethostby* variants that don't use the nameserver (or something). |
4439 # -lsocket must be given before -lnsl if both are needed. | 4436 # -lsocket must be given before -lnsl if both are needed. |
4440 # We assume that if connect needs -lnsl, so does gethostbyname. | 4437 # We assume that if connect needs -lnsl, so does gethostbyname. |
4441 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4438 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4442 echo "configure:4443: checking for connect" >&5 | 4439 echo "configure:4440: checking for connect" >&5 |
4443 | 4440 |
4444 cat > conftest.$ac_ext <<EOF | 4441 cat > conftest.$ac_ext <<EOF |
4445 #line 4446 "configure" | 4442 #line 4443 "configure" |
4446 #include "confdefs.h" | 4443 #include "confdefs.h" |
4447 /* System header to define __stub macros and hopefully few prototypes, | 4444 /* System header to define __stub macros and hopefully few prototypes, |
4448 which can conflict with char connect(); below. */ | 4445 which can conflict with char connect(); below. */ |
4449 #include <assert.h> | 4446 #include <assert.h> |
4450 /* Override any gcc2 internal prototype to avoid an error. */ | 4447 /* Override any gcc2 internal prototype to avoid an error. */ |
4463 connect(); | 4460 connect(); |
4464 #endif | 4461 #endif |
4465 | 4462 |
4466 ; return 0; } | 4463 ; return 0; } |
4467 EOF | 4464 EOF |
4468 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4465 if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4469 rm -rf conftest* | 4466 rm -rf conftest* |
4470 eval "ac_cv_func_connect=yes" | 4467 eval "ac_cv_func_connect=yes" |
4471 else | 4468 else |
4472 echo "configure: failed program was:" >&5 | 4469 echo "configure: failed program was:" >&5 |
4473 cat conftest.$ac_ext >&5 | 4470 cat conftest.$ac_ext >&5 |
4486 if test $ac_cv_func_connect = no; then | 4483 if test $ac_cv_func_connect = no; then |
4487 | 4484 |
4488 xe_msg_checking="for connect in -lsocket" | 4485 xe_msg_checking="for connect in -lsocket" |
4489 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4486 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4490 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4487 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4491 echo "configure:4492: checking "$xe_msg_checking"" >&5 | 4488 echo "configure:4489: checking "$xe_msg_checking"" >&5 |
4492 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4489 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4493 | 4490 |
4494 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4491 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4495 cat > conftest.$ac_ext <<EOF | 4492 cat > conftest.$ac_ext <<EOF |
4496 #line 4497 "configure" | 4493 #line 4494 "configure" |
4497 #include "confdefs.h" | 4494 #include "confdefs.h" |
4498 /* Override any gcc2 internal prototype to avoid an error. */ | 4495 /* Override any gcc2 internal prototype to avoid an error. */ |
4499 /* We use char because int might match the return type of a gcc2 | 4496 /* We use char because int might match the return type of a gcc2 |
4500 builtin and then its argument prototype would still apply. */ | 4497 builtin and then its argument prototype would still apply. */ |
4501 char connect(); | 4498 char connect(); |
4502 | 4499 |
4503 int main() { | 4500 int main() { |
4504 connect() | 4501 connect() |
4505 ; return 0; } | 4502 ; return 0; } |
4506 EOF | 4503 EOF |
4507 if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4504 if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4508 rm -rf conftest* | 4505 rm -rf conftest* |
4509 eval "ac_cv_lib_$ac_lib_var=yes" | 4506 eval "ac_cv_lib_$ac_lib_var=yes" |
4510 else | 4507 else |
4511 echo "configure: failed program was:" >&5 | 4508 echo "configure: failed program was:" >&5 |
4512 cat conftest.$ac_ext >&5 | 4509 cat conftest.$ac_ext >&5 |
4526 | 4523 |
4527 fi | 4524 fi |
4528 | 4525 |
4529 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4526 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4530 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4527 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4531 echo "configure:4532: checking for remove" >&5 | 4528 echo "configure:4529: checking for remove" >&5 |
4532 | 4529 |
4533 cat > conftest.$ac_ext <<EOF | 4530 cat > conftest.$ac_ext <<EOF |
4534 #line 4535 "configure" | 4531 #line 4532 "configure" |
4535 #include "confdefs.h" | 4532 #include "confdefs.h" |
4536 /* System header to define __stub macros and hopefully few prototypes, | 4533 /* System header to define __stub macros and hopefully few prototypes, |
4537 which can conflict with char remove(); below. */ | 4534 which can conflict with char remove(); below. */ |
4538 #include <assert.h> | 4535 #include <assert.h> |
4539 /* Override any gcc2 internal prototype to avoid an error. */ | 4536 /* Override any gcc2 internal prototype to avoid an error. */ |
4552 remove(); | 4549 remove(); |
4553 #endif | 4550 #endif |
4554 | 4551 |
4555 ; return 0; } | 4552 ; return 0; } |
4556 EOF | 4553 EOF |
4557 if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4554 if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4558 rm -rf conftest* | 4555 rm -rf conftest* |
4559 eval "ac_cv_func_remove=yes" | 4556 eval "ac_cv_func_remove=yes" |
4560 else | 4557 else |
4561 echo "configure: failed program was:" >&5 | 4558 echo "configure: failed program was:" >&5 |
4562 cat conftest.$ac_ext >&5 | 4559 cat conftest.$ac_ext >&5 |
4573 fi | 4570 fi |
4574 | 4571 |
4575 if test $ac_cv_func_remove = no; then | 4572 if test $ac_cv_func_remove = no; then |
4576 | 4573 |
4577 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4574 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4578 echo "configure:4579: checking for remove in -lposix" >&5 | 4575 echo "configure:4576: checking for remove in -lposix" >&5 |
4579 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4576 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4580 | 4577 |
4581 xe_check_libs=" -lposix " | 4578 xe_check_libs=" -lposix " |
4582 cat > conftest.$ac_ext <<EOF | 4579 cat > conftest.$ac_ext <<EOF |
4583 #line 4584 "configure" | 4580 #line 4581 "configure" |
4584 #include "confdefs.h" | 4581 #include "confdefs.h" |
4585 /* Override any gcc2 internal prototype to avoid an error. */ | 4582 /* Override any gcc2 internal prototype to avoid an error. */ |
4586 /* We use char because int might match the return type of a gcc2 | 4583 /* We use char because int might match the return type of a gcc2 |
4587 builtin and then its argument prototype would still apply. */ | 4584 builtin and then its argument prototype would still apply. */ |
4588 char remove(); | 4585 char remove(); |
4589 | 4586 |
4590 int main() { | 4587 int main() { |
4591 remove() | 4588 remove() |
4592 ; return 0; } | 4589 ; return 0; } |
4593 EOF | 4590 EOF |
4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4591 if { (eval echo configure:4592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4595 rm -rf conftest* | 4592 rm -rf conftest* |
4596 eval "ac_cv_lib_$ac_lib_var=yes" | 4593 eval "ac_cv_lib_$ac_lib_var=yes" |
4597 else | 4594 else |
4598 echo "configure: failed program was:" >&5 | 4595 echo "configure: failed program was:" >&5 |
4599 cat conftest.$ac_ext >&5 | 4596 cat conftest.$ac_ext >&5 |
4613 | 4610 |
4614 fi | 4611 fi |
4615 | 4612 |
4616 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4613 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4617 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4614 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4618 echo "configure:4619: checking for shmat" >&5 | 4615 echo "configure:4616: checking for shmat" >&5 |
4619 | 4616 |
4620 cat > conftest.$ac_ext <<EOF | 4617 cat > conftest.$ac_ext <<EOF |
4621 #line 4622 "configure" | 4618 #line 4619 "configure" |
4622 #include "confdefs.h" | 4619 #include "confdefs.h" |
4623 /* System header to define __stub macros and hopefully few prototypes, | 4620 /* System header to define __stub macros and hopefully few prototypes, |
4624 which can conflict with char shmat(); below. */ | 4621 which can conflict with char shmat(); below. */ |
4625 #include <assert.h> | 4622 #include <assert.h> |
4626 /* Override any gcc2 internal prototype to avoid an error. */ | 4623 /* Override any gcc2 internal prototype to avoid an error. */ |
4639 shmat(); | 4636 shmat(); |
4640 #endif | 4637 #endif |
4641 | 4638 |
4642 ; return 0; } | 4639 ; return 0; } |
4643 EOF | 4640 EOF |
4644 if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4641 if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4645 rm -rf conftest* | 4642 rm -rf conftest* |
4646 eval "ac_cv_func_shmat=yes" | 4643 eval "ac_cv_func_shmat=yes" |
4647 else | 4644 else |
4648 echo "configure: failed program was:" >&5 | 4645 echo "configure: failed program was:" >&5 |
4649 cat conftest.$ac_ext >&5 | 4646 cat conftest.$ac_ext >&5 |
4660 fi | 4657 fi |
4661 | 4658 |
4662 if test $ac_cv_func_shmat = no; then | 4659 if test $ac_cv_func_shmat = no; then |
4663 | 4660 |
4664 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4661 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4665 echo "configure:4666: checking for shmat in -lipc" >&5 | 4662 echo "configure:4663: checking for shmat in -lipc" >&5 |
4666 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4663 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4667 | 4664 |
4668 xe_check_libs=" -lipc " | 4665 xe_check_libs=" -lipc " |
4669 cat > conftest.$ac_ext <<EOF | 4666 cat > conftest.$ac_ext <<EOF |
4670 #line 4671 "configure" | 4667 #line 4668 "configure" |
4671 #include "confdefs.h" | 4668 #include "confdefs.h" |
4672 /* Override any gcc2 internal prototype to avoid an error. */ | 4669 /* Override any gcc2 internal prototype to avoid an error. */ |
4673 /* We use char because int might match the return type of a gcc2 | 4670 /* We use char because int might match the return type of a gcc2 |
4674 builtin and then its argument prototype would still apply. */ | 4671 builtin and then its argument prototype would still apply. */ |
4675 char shmat(); | 4672 char shmat(); |
4676 | 4673 |
4677 int main() { | 4674 int main() { |
4678 shmat() | 4675 shmat() |
4679 ; return 0; } | 4676 ; return 0; } |
4680 EOF | 4677 EOF |
4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4678 if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4682 rm -rf conftest* | 4679 rm -rf conftest* |
4683 eval "ac_cv_lib_$ac_lib_var=yes" | 4680 eval "ac_cv_lib_$ac_lib_var=yes" |
4684 else | 4681 else |
4685 echo "configure: failed program was:" >&5 | 4682 echo "configure: failed program was:" >&5 |
4686 cat conftest.$ac_ext >&5 | 4683 cat conftest.$ac_ext >&5 |
4710 # These have to be linked with before -lX11, unlike the other | 4707 # These have to be linked with before -lX11, unlike the other |
4711 # libraries we check for below, so use a different variable. | 4708 # libraries we check for below, so use a different variable. |
4712 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4709 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4713 | 4710 |
4714 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4711 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4715 echo "configure:4716: checking for IceConnectionNumber in -lICE" >&5 | 4712 echo "configure:4713: checking for IceConnectionNumber in -lICE" >&5 |
4716 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4713 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4717 | 4714 |
4718 xe_check_libs=" -lICE " | 4715 xe_check_libs=" -lICE " |
4719 cat > conftest.$ac_ext <<EOF | 4716 cat > conftest.$ac_ext <<EOF |
4720 #line 4721 "configure" | 4717 #line 4718 "configure" |
4721 #include "confdefs.h" | 4718 #include "confdefs.h" |
4722 /* Override any gcc2 internal prototype to avoid an error. */ | 4719 /* Override any gcc2 internal prototype to avoid an error. */ |
4723 /* We use char because int might match the return type of a gcc2 | 4720 /* We use char because int might match the return type of a gcc2 |
4724 builtin and then its argument prototype would still apply. */ | 4721 builtin and then its argument prototype would still apply. */ |
4725 char IceConnectionNumber(); | 4722 char IceConnectionNumber(); |
4726 | 4723 |
4727 int main() { | 4724 int main() { |
4728 IceConnectionNumber() | 4725 IceConnectionNumber() |
4729 ; return 0; } | 4726 ; return 0; } |
4730 EOF | 4727 EOF |
4731 if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4732 rm -rf conftest* | 4729 rm -rf conftest* |
4733 eval "ac_cv_lib_$ac_lib_var=yes" | 4730 eval "ac_cv_lib_$ac_lib_var=yes" |
4734 else | 4731 else |
4735 echo "configure: failed program was:" >&5 | 4732 echo "configure: failed program was:" >&5 |
4736 cat conftest.$ac_ext >&5 | 4733 cat conftest.$ac_ext >&5 |
4858 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4855 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
4859 echo | 4856 echo |
4860 fi | 4857 fi |
4861 | 4858 |
4862 echo "checking for X defines extracted by xmkmf" 1>&6 | 4859 echo "checking for X defines extracted by xmkmf" 1>&6 |
4863 echo "configure:4864: checking for X defines extracted by xmkmf" >&5 | 4860 echo "configure:4861: checking for X defines extracted by xmkmf" >&5 |
4864 rm -fr conftestdir | 4861 rm -fr conftestdir |
4865 if mkdir conftestdir; then | 4862 if mkdir conftestdir; then |
4866 cd conftestdir | 4863 cd conftestdir |
4867 cat > Imakefile <<'EOF' | 4864 cat > Imakefile <<'EOF' |
4868 xetest: | 4865 xetest: |
4890 done | 4887 done |
4891 fi | 4888 fi |
4892 | 4889 |
4893 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 4890 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
4894 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 4891 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
4895 echo "configure:4896: checking for X11/Intrinsic.h" >&5 | 4892 echo "configure:4893: checking for X11/Intrinsic.h" >&5 |
4896 | 4893 |
4897 cat > conftest.$ac_ext <<EOF | 4894 cat > conftest.$ac_ext <<EOF |
4898 #line 4899 "configure" | 4895 #line 4896 "configure" |
4899 #include "confdefs.h" | 4896 #include "confdefs.h" |
4900 #include <X11/Intrinsic.h> | 4897 #include <X11/Intrinsic.h> |
4901 EOF | 4898 EOF |
4902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4899 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4903 { (eval echo configure:4904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4900 { (eval echo configure:4901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4904 ac_err=`grep -v '^ *+' conftest.out` | 4901 ac_err=`grep -v '^ *+' conftest.out` |
4905 if test -z "$ac_err"; then | 4902 if test -z "$ac_err"; then |
4906 rm -rf conftest* | 4903 rm -rf conftest* |
4907 eval "ac_cv_header_$ac_safe=yes" | 4904 eval "ac_cv_header_$ac_safe=yes" |
4908 else | 4905 else |
4922 fi | 4919 fi |
4923 | 4920 |
4924 | 4921 |
4925 | 4922 |
4926 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 4923 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
4927 echo "configure:4928: checking for XOpenDisplay in -lX11" >&5 | 4924 echo "configure:4925: checking for XOpenDisplay in -lX11" >&5 |
4928 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 4925 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
4929 | 4926 |
4930 xe_check_libs=" -lX11 " | 4927 xe_check_libs=" -lX11 " |
4931 cat > conftest.$ac_ext <<EOF | 4928 cat > conftest.$ac_ext <<EOF |
4932 #line 4933 "configure" | 4929 #line 4930 "configure" |
4933 #include "confdefs.h" | 4930 #include "confdefs.h" |
4934 /* Override any gcc2 internal prototype to avoid an error. */ | 4931 /* Override any gcc2 internal prototype to avoid an error. */ |
4935 /* We use char because int might match the return type of a gcc2 | 4932 /* We use char because int might match the return type of a gcc2 |
4936 builtin and then its argument prototype would still apply. */ | 4933 builtin and then its argument prototype would still apply. */ |
4937 char XOpenDisplay(); | 4934 char XOpenDisplay(); |
4938 | 4935 |
4939 int main() { | 4936 int main() { |
4940 XOpenDisplay() | 4937 XOpenDisplay() |
4941 ; return 0; } | 4938 ; return 0; } |
4942 EOF | 4939 EOF |
4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4944 rm -rf conftest* | 4941 rm -rf conftest* |
4945 eval "ac_cv_lib_$ac_lib_var=yes" | 4942 eval "ac_cv_lib_$ac_lib_var=yes" |
4946 else | 4943 else |
4947 echo "configure: failed program was:" >&5 | 4944 echo "configure: failed program was:" >&5 |
4948 cat conftest.$ac_ext >&5 | 4945 cat conftest.$ac_ext >&5 |
4963 if test "$have_lib_x11" != "yes"; then | 4960 if test "$have_lib_x11" != "yes"; then |
4964 | 4961 |
4965 xe_msg_checking="for XGetFontProperty in -lX11" | 4962 xe_msg_checking="for XGetFontProperty in -lX11" |
4966 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 4963 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
4967 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4964 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4968 echo "configure:4969: checking "$xe_msg_checking"" >&5 | 4965 echo "configure:4966: checking "$xe_msg_checking"" >&5 |
4969 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 4966 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
4970 | 4967 |
4971 xe_check_libs=" -lX11 -b i486-linuxaout" | 4968 xe_check_libs=" -lX11 -b i486-linuxaout" |
4972 cat > conftest.$ac_ext <<EOF | 4969 cat > conftest.$ac_ext <<EOF |
4973 #line 4974 "configure" | 4970 #line 4971 "configure" |
4974 #include "confdefs.h" | 4971 #include "confdefs.h" |
4975 /* Override any gcc2 internal prototype to avoid an error. */ | 4972 /* Override any gcc2 internal prototype to avoid an error. */ |
4976 /* We use char because int might match the return type of a gcc2 | 4973 /* We use char because int might match the return type of a gcc2 |
4977 builtin and then its argument prototype would still apply. */ | 4974 builtin and then its argument prototype would still apply. */ |
4978 char XGetFontProperty(); | 4975 char XGetFontProperty(); |
4979 | 4976 |
4980 int main() { | 4977 int main() { |
4981 XGetFontProperty() | 4978 XGetFontProperty() |
4982 ; return 0; } | 4979 ; return 0; } |
4983 EOF | 4980 EOF |
4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4981 if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4985 rm -rf conftest* | 4982 rm -rf conftest* |
4986 eval "ac_cv_lib_$ac_lib_var=yes" | 4983 eval "ac_cv_lib_$ac_lib_var=yes" |
4987 else | 4984 else |
4988 echo "configure: failed program was:" >&5 | 4985 echo "configure: failed program was:" >&5 |
4989 cat conftest.$ac_ext >&5 | 4986 cat conftest.$ac_ext >&5 |
5006 libs_x="-lX11" | 5003 libs_x="-lX11" |
5007 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5004 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5008 | 5005 |
5009 | 5006 |
5010 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5007 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5011 echo "configure:5012: checking for XShapeSelectInput in -lXext" >&5 | 5008 echo "configure:5009: checking for XShapeSelectInput in -lXext" >&5 |
5012 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5009 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5013 | 5010 |
5014 xe_check_libs=" -lXext " | 5011 xe_check_libs=" -lXext " |
5015 cat > conftest.$ac_ext <<EOF | 5012 cat > conftest.$ac_ext <<EOF |
5016 #line 5017 "configure" | 5013 #line 5014 "configure" |
5017 #include "confdefs.h" | 5014 #include "confdefs.h" |
5018 /* Override any gcc2 internal prototype to avoid an error. */ | 5015 /* Override any gcc2 internal prototype to avoid an error. */ |
5019 /* We use char because int might match the return type of a gcc2 | 5016 /* We use char because int might match the return type of a gcc2 |
5020 builtin and then its argument prototype would still apply. */ | 5017 builtin and then its argument prototype would still apply. */ |
5021 char XShapeSelectInput(); | 5018 char XShapeSelectInput(); |
5022 | 5019 |
5023 int main() { | 5020 int main() { |
5024 XShapeSelectInput() | 5021 XShapeSelectInput() |
5025 ; return 0; } | 5022 ; return 0; } |
5026 EOF | 5023 EOF |
5027 if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5028 rm -rf conftest* | 5025 rm -rf conftest* |
5029 eval "ac_cv_lib_$ac_lib_var=yes" | 5026 eval "ac_cv_lib_$ac_lib_var=yes" |
5030 else | 5027 else |
5031 echo "configure: failed program was:" >&5 | 5028 echo "configure: failed program was:" >&5 |
5032 cat conftest.$ac_ext >&5 | 5029 cat conftest.$ac_ext >&5 |
5043 echo "$ac_t""no" 1>&6 | 5040 echo "$ac_t""no" 1>&6 |
5044 fi | 5041 fi |
5045 | 5042 |
5046 | 5043 |
5047 | 5044 |
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 ;; | 5045 |
5049 * ) | |
5050 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5046 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5051 echo "configure:5052: checking for XtOpenDisplay in -lXt" >&5 | 5047 echo "configure:5048: checking for XtOpenDisplay in -lXt" >&5 |
5052 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5048 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5053 | 5049 |
5054 xe_check_libs=" -lXt " | 5050 xe_check_libs=" -lXt " |
5055 cat > conftest.$ac_ext <<EOF | 5051 cat > conftest.$ac_ext <<EOF |
5056 #line 5057 "configure" | 5052 #line 5053 "configure" |
5057 #include "confdefs.h" | 5053 #include "confdefs.h" |
5058 /* Override any gcc2 internal prototype to avoid an error. */ | 5054 /* Override any gcc2 internal prototype to avoid an error. */ |
5059 /* We use char because int might match the return type of a gcc2 | 5055 /* We use char because int might match the return type of a gcc2 |
5060 builtin and then its argument prototype would still apply. */ | 5056 builtin and then its argument prototype would still apply. */ |
5061 char XtOpenDisplay(); | 5057 char XtOpenDisplay(); |
5062 | 5058 |
5063 int main() { | 5059 int main() { |
5064 XtOpenDisplay() | 5060 XtOpenDisplay() |
5065 ; return 0; } | 5061 ; return 0; } |
5066 EOF | 5062 EOF |
5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5063 if { (eval echo configure:5064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5068 rm -rf conftest* | 5064 rm -rf conftest* |
5069 eval "ac_cv_lib_$ac_lib_var=yes" | 5065 eval "ac_cv_lib_$ac_lib_var=yes" |
5070 else | 5066 else |
5071 echo "configure: failed program was:" >&5 | 5067 echo "configure: failed program was:" >&5 |
5072 cat conftest.$ac_ext >&5 | 5068 cat conftest.$ac_ext >&5 |
5082 else | 5078 else |
5083 echo "$ac_t""no" 1>&6 | 5079 echo "$ac_t""no" 1>&6 |
5084 { echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; } | 5080 { echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; } |
5085 fi | 5081 fi |
5086 | 5082 |
5087 ;; | 5083 |
5088 esac | |
5089 | 5084 |
5090 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5085 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5091 echo "configure:5092: checking the version of X11 being used" >&5 | 5086 echo "configure:5087: checking the version of X11 being used" >&5 |
5092 cat > conftest.$ac_ext <<EOF | 5087 cat > conftest.$ac_ext <<EOF |
5093 #line 5094 "configure" | 5088 #line 5089 "configure" |
5094 #include "confdefs.h" | 5089 #include "confdefs.h" |
5095 #include <X11/Intrinsic.h> | 5090 #include <X11/Intrinsic.h> |
5096 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5091 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5097 EOF | 5092 EOF |
5098 if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5093 if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5099 then | 5094 then |
5100 ./conftest foobar; x11_release=$? | 5095 ./conftest foobar; x11_release=$? |
5101 else | 5096 else |
5102 echo "configure: failed program was:" >&5 | 5097 echo "configure: failed program was:" >&5 |
5103 cat conftest.$ac_ext >&5 | 5098 cat conftest.$ac_ext >&5 |
5117 | 5112 |
5118 for ac_hdr in X11/Xlocale.h | 5113 for ac_hdr in X11/Xlocale.h |
5119 do | 5114 do |
5120 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5121 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5122 echo "configure:5123: checking for $ac_hdr" >&5 | 5117 echo "configure:5118: checking for $ac_hdr" >&5 |
5123 | 5118 |
5124 cat > conftest.$ac_ext <<EOF | 5119 cat > conftest.$ac_ext <<EOF |
5125 #line 5126 "configure" | 5120 #line 5121 "configure" |
5126 #include "confdefs.h" | 5121 #include "confdefs.h" |
5127 #include <$ac_hdr> | 5122 #include <$ac_hdr> |
5128 EOF | 5123 EOF |
5129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5130 { (eval echo configure:5131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5125 { (eval echo configure:5126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5131 ac_err=`grep -v '^ *+' conftest.out` | 5126 ac_err=`grep -v '^ *+' conftest.out` |
5132 if test -z "$ac_err"; then | 5127 if test -z "$ac_err"; then |
5133 rm -rf conftest* | 5128 rm -rf conftest* |
5134 eval "ac_cv_header_$ac_safe=yes" | 5129 eval "ac_cv_header_$ac_safe=yes" |
5135 else | 5130 else |
5156 fi | 5151 fi |
5157 done | 5152 done |
5158 | 5153 |
5159 | 5154 |
5160 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5155 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5161 echo "configure:5162: checking for XFree86" >&5 | 5156 echo "configure:5157: checking for XFree86" >&5 |
5162 if test -d "/usr/X386/include" -o \ | 5157 if test -d "/usr/X386/include" -o \ |
5163 -f "/etc/XF86Config" -o \ | 5158 -f "/etc/XF86Config" -o \ |
5164 -f "/etc/X11/XF86Config" -o \ | 5159 -f "/etc/X11/XF86Config" -o \ |
5165 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5160 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5166 echo "$ac_t""yes" 1>&6 | 5161 echo "$ac_t""yes" 1>&6 |
5167 { test "$extra_verbose" = "yes" && cat << \EOF | 5162 { test "$extra_verbose" = "yes" && cat << \EOF |
5168 Defining HAVE_XFREE386 | 5163 Defining HAVE_XFREE386 |
5174 | 5169 |
5175 else | 5170 else |
5176 echo "$ac_t""no" 1>&6 | 5171 echo "$ac_t""no" 1>&6 |
5177 fi | 5172 fi |
5178 | 5173 |
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 ;; | 5174 test -z "$with_xmu" && { |
5180 * ) if test -z "$with_xmu"; then | 5175 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5181 | 5176 echo "configure:5177: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5182 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 5177 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5183 echo "configure:5184: checking for XmuConvertStandardSelection in -lXmu" >&5 | |
5184 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | |
5185 | 5178 |
5186 xe_check_libs=" -lXmu " | 5179 xe_check_libs=" -lXmu " |
5187 cat > conftest.$ac_ext <<EOF | 5180 cat > conftest.$ac_ext <<EOF |
5188 #line 5189 "configure" | 5181 #line 5182 "configure" |
5189 #include "confdefs.h" | 5182 #include "confdefs.h" |
5190 /* Override any gcc2 internal prototype to avoid an error. */ | 5183 /* Override any gcc2 internal prototype to avoid an error. */ |
5191 /* We use char because int might match the return type of a gcc2 | 5184 /* We use char because int might match the return type of a gcc2 |
5192 builtin and then its argument prototype would still apply. */ | 5185 builtin and then its argument prototype would still apply. */ |
5193 char XmuConvertStandardSelection(); | 5186 char XmuReadBitmapDataFromFile(); |
5194 | 5187 |
5195 int main() { | 5188 int main() { |
5196 XmuConvertStandardSelection() | 5189 XmuReadBitmapDataFromFile() |
5197 ; return 0; } | 5190 ; return 0; } |
5198 EOF | 5191 EOF |
5199 if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5200 rm -rf conftest* | 5193 rm -rf conftest* |
5201 eval "ac_cv_lib_$ac_lib_var=yes" | 5194 eval "ac_cv_lib_$ac_lib_var=yes" |
5202 else | 5195 else |
5203 echo "configure: failed program was:" >&5 | 5196 echo "configure: failed program was:" >&5 |
5204 cat conftest.$ac_ext >&5 | 5197 cat conftest.$ac_ext >&5 |
5214 else | 5207 else |
5215 echo "$ac_t""no" 1>&6 | 5208 echo "$ac_t""no" 1>&6 |
5216 with_xmu=no | 5209 with_xmu=no |
5217 fi | 5210 fi |
5218 | 5211 |
5219 | 5212 } |
5220 fi | 5213 if test "$with_xmu" = "no" |
5221 if test "$with_xmu" = "no"; then | 5214 then extra_objs="$extra_objs xmu.o" && if test "$extra_verbose" = "yes"; then |
5222 extra_objs="$extra_objs xmu.o" && if test "$extra_verbose" = "yes"; then | |
5223 echo " xemacs will be linked with \"xmu.o\"" | 5215 echo " xemacs will be linked with \"xmu.o\"" |
5224 fi | 5216 fi |
5225 else | 5217 else libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi |
5226 libs_x="-lXmu $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi | 5218 fi |
5227 fi ;; | |
5228 esac | |
5229 | 5219 |
5230 | 5220 |
5231 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5221 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5232 echo "configure:5233: checking for main in -lXbsd" >&5 | 5222 echo "configure:5223: checking for main in -lXbsd" >&5 |
5233 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5223 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5234 | 5224 |
5235 xe_check_libs=" -lXbsd " | 5225 xe_check_libs=" -lXbsd " |
5236 cat > conftest.$ac_ext <<EOF | 5226 cat > conftest.$ac_ext <<EOF |
5237 #line 5238 "configure" | 5227 #line 5228 "configure" |
5238 #include "confdefs.h" | 5228 #include "confdefs.h" |
5239 | 5229 |
5240 int main() { | 5230 int main() { |
5241 main() | 5231 main() |
5242 ; return 0; } | 5232 ; return 0; } |
5243 EOF | 5233 EOF |
5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5234 if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5245 rm -rf conftest* | 5235 rm -rf conftest* |
5246 eval "ac_cv_lib_$ac_lib_var=yes" | 5236 eval "ac_cv_lib_$ac_lib_var=yes" |
5247 else | 5237 else |
5248 echo "configure: failed program was:" >&5 | 5238 echo "configure: failed program was:" >&5 |
5249 cat conftest.$ac_ext >&5 | 5239 cat conftest.$ac_ext >&5 |
5262 | 5252 |
5263 | 5253 |
5264 | 5254 |
5265 | 5255 |
5266 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5256 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
5267 echo "configure:5268: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5257 echo "configure:5258: checking for XawScrollbarSetThumb in -lXaw" >&5 |
5268 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5258 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
5269 | 5259 |
5270 xe_check_libs=" -lXaw " | 5260 xe_check_libs=" -lXaw " |
5271 cat > conftest.$ac_ext <<EOF | 5261 cat > conftest.$ac_ext <<EOF |
5272 #line 5273 "configure" | 5262 #line 5263 "configure" |
5273 #include "confdefs.h" | 5263 #include "confdefs.h" |
5274 /* Override any gcc2 internal prototype to avoid an error. */ | 5264 /* Override any gcc2 internal prototype to avoid an error. */ |
5275 /* We use char because int might match the return type of a gcc2 | 5265 /* We use char because int might match the return type of a gcc2 |
5276 builtin and then its argument prototype would still apply. */ | 5266 builtin and then its argument prototype would still apply. */ |
5277 char XawScrollbarSetThumb(); | 5267 char XawScrollbarSetThumb(); |
5278 | 5268 |
5279 int main() { | 5269 int main() { |
5280 XawScrollbarSetThumb() | 5270 XawScrollbarSetThumb() |
5281 ; return 0; } | 5271 ; return 0; } |
5282 EOF | 5272 EOF |
5283 if { (eval echo configure:5284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5273 if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5284 rm -rf conftest* | 5274 rm -rf conftest* |
5285 eval "ac_cv_lib_$ac_lib_var=yes" | 5275 eval "ac_cv_lib_$ac_lib_var=yes" |
5286 else | 5276 else |
5287 echo "configure: failed program was:" >&5 | 5277 echo "configure: failed program was:" >&5 |
5288 cat conftest.$ac_ext >&5 | 5278 cat conftest.$ac_ext >&5 |
5302 | 5292 |
5303 | 5293 |
5304 if test "$have_xaw" = "yes"; then | 5294 if test "$have_xaw" = "yes"; then |
5305 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 5295 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
5306 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 5296 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
5307 echo "configure:5308: checking for X11/Xaw/Reports.h" >&5 | 5297 echo "configure:5298: checking for X11/Xaw/Reports.h" >&5 |
5308 | 5298 |
5309 cat > conftest.$ac_ext <<EOF | 5299 cat > conftest.$ac_ext <<EOF |
5310 #line 5311 "configure" | 5300 #line 5301 "configure" |
5311 #include "confdefs.h" | 5301 #include "confdefs.h" |
5312 #include <X11/Xaw/Reports.h> | 5302 #include <X11/Xaw/Reports.h> |
5313 EOF | 5303 EOF |
5314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5304 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; } | 5305 { (eval echo configure:5306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5316 ac_err=`grep -v '^ *+' conftest.out` | 5306 ac_err=`grep -v '^ *+' conftest.out` |
5317 if test -z "$ac_err"; then | 5307 if test -z "$ac_err"; then |
5318 rm -rf conftest* | 5308 rm -rf conftest* |
5319 eval "ac_cv_header_$ac_safe=yes" | 5309 eval "ac_cv_header_$ac_safe=yes" |
5320 else | 5310 else |
5369 esac | 5359 esac |
5370 | 5360 |
5371 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5361 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5372 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5362 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5373 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5363 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5374 echo "configure:5375: checking for X11/Xauth.h" >&5 | 5364 echo "configure:5365: checking for X11/Xauth.h" >&5 |
5375 | 5365 |
5376 cat > conftest.$ac_ext <<EOF | 5366 cat > conftest.$ac_ext <<EOF |
5377 #line 5378 "configure" | 5367 #line 5368 "configure" |
5378 #include "confdefs.h" | 5368 #include "confdefs.h" |
5379 #include <X11/Xauth.h> | 5369 #include <X11/Xauth.h> |
5380 EOF | 5370 EOF |
5381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5382 { (eval echo configure:5383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5372 { (eval echo configure:5373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5383 ac_err=`grep -v '^ *+' conftest.out` | 5373 ac_err=`grep -v '^ *+' conftest.out` |
5384 if test -z "$ac_err"; then | 5374 if test -z "$ac_err"; then |
5385 rm -rf conftest* | 5375 rm -rf conftest* |
5386 eval "ac_cv_header_$ac_safe=yes" | 5376 eval "ac_cv_header_$ac_safe=yes" |
5387 else | 5377 else |
5400 with_xauth=no | 5390 with_xauth=no |
5401 fi | 5391 fi |
5402 } | 5392 } |
5403 test -z "$with_xauth" && { | 5393 test -z "$with_xauth" && { |
5404 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5394 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5405 echo "configure:5406: checking for XauGetAuthByAddr in -lXau" >&5 | 5395 echo "configure:5396: checking for XauGetAuthByAddr in -lXau" >&5 |
5406 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5396 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5407 | 5397 |
5408 xe_check_libs=" -lXau " | 5398 xe_check_libs=" -lXau " |
5409 cat > conftest.$ac_ext <<EOF | 5399 cat > conftest.$ac_ext <<EOF |
5410 #line 5411 "configure" | 5400 #line 5401 "configure" |
5411 #include "confdefs.h" | 5401 #include "confdefs.h" |
5412 /* Override any gcc2 internal prototype to avoid an error. */ | 5402 /* Override any gcc2 internal prototype to avoid an error. */ |
5413 /* We use char because int might match the return type of a gcc2 | 5403 /* We use char because int might match the return type of a gcc2 |
5414 builtin and then its argument prototype would still apply. */ | 5404 builtin and then its argument prototype would still apply. */ |
5415 char XauGetAuthByAddr(); | 5405 char XauGetAuthByAddr(); |
5416 | 5406 |
5417 int main() { | 5407 int main() { |
5418 XauGetAuthByAddr() | 5408 XauGetAuthByAddr() |
5419 ; return 0; } | 5409 ; return 0; } |
5420 EOF | 5410 EOF |
5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5411 if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5422 rm -rf conftest* | 5412 rm -rf conftest* |
5423 eval "ac_cv_lib_$ac_lib_var=yes" | 5413 eval "ac_cv_lib_$ac_lib_var=yes" |
5424 else | 5414 else |
5425 echo "configure: failed program was:" >&5 | 5415 echo "configure: failed program was:" >&5 |
5426 cat conftest.$ac_ext >&5 | 5416 cat conftest.$ac_ext >&5 |
5457 fi | 5447 fi |
5458 | 5448 |
5459 | 5449 |
5460 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` | 5450 test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` |
5461 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 | 5451 echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 |
5462 echo "configure:5463: checking for OffiX/DragAndDrop.h" >&5 | 5452 echo "configure:5453: checking for OffiX/DragAndDrop.h" >&5 |
5463 | 5453 |
5464 cat > conftest.$ac_ext <<EOF | 5454 cat > conftest.$ac_ext <<EOF |
5465 #line 5466 "configure" | 5455 #line 5456 "configure" |
5466 #include "confdefs.h" | 5456 #include "confdefs.h" |
5467 #include <OffiX/DragAndDrop.h> | 5457 #include <OffiX/DragAndDrop.h> |
5468 EOF | 5458 EOF |
5469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5470 { (eval echo configure:5471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5460 { (eval echo configure:5461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5471 ac_err=`grep -v '^ *+' conftest.out` | 5461 ac_err=`grep -v '^ *+' conftest.out` |
5472 if test -z "$ac_err"; then | 5462 if test -z "$ac_err"; then |
5473 rm -rf conftest* | 5463 rm -rf conftest* |
5474 eval "ac_cv_header_$ac_safe=yes" | 5464 eval "ac_cv_header_$ac_safe=yes" |
5475 else | 5465 else |
5488 with_offix=no | 5478 with_offix=no |
5489 fi | 5479 fi |
5490 } | 5480 } |
5491 test -z "$with_offix" && { | 5481 test -z "$with_offix" && { |
5492 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 | 5482 echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 |
5493 echo "configure:5494: checking for DndInitialize in -lDnd" >&5 | 5483 echo "configure:5484: checking for DndInitialize in -lDnd" >&5 |
5494 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` | 5484 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` |
5495 | 5485 |
5496 xe_check_libs=" -lDnd " | 5486 xe_check_libs=" -lDnd " |
5497 cat > conftest.$ac_ext <<EOF | 5487 cat > conftest.$ac_ext <<EOF |
5498 #line 5499 "configure" | 5488 #line 5489 "configure" |
5499 #include "confdefs.h" | 5489 #include "confdefs.h" |
5500 /* Override any gcc2 internal prototype to avoid an error. */ | 5490 /* Override any gcc2 internal prototype to avoid an error. */ |
5501 /* We use char because int might match the return type of a gcc2 | 5491 /* We use char because int might match the return type of a gcc2 |
5502 builtin and then its argument prototype would still apply. */ | 5492 builtin and then its argument prototype would still apply. */ |
5503 char DndInitialize(); | 5493 char DndInitialize(); |
5504 | 5494 |
5505 int main() { | 5495 int main() { |
5506 DndInitialize() | 5496 DndInitialize() |
5507 ; return 0; } | 5497 ; return 0; } |
5508 EOF | 5498 EOF |
5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5499 if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5510 rm -rf conftest* | 5500 rm -rf conftest* |
5511 eval "ac_cv_lib_$ac_lib_var=yes" | 5501 eval "ac_cv_lib_$ac_lib_var=yes" |
5512 else | 5502 else |
5513 echo "configure: failed program was:" >&5 | 5503 echo "configure: failed program was:" >&5 |
5514 cat conftest.$ac_ext >&5 | 5504 cat conftest.$ac_ext >&5 |
5543 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5533 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5544 if test "$with_tooltalk" != "no" ; then | 5534 if test "$with_tooltalk" != "no" ; then |
5545 for dir in "" "Tt/" "desktop/" ; do | 5535 for dir in "" "Tt/" "desktop/" ; do |
5546 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5536 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5547 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5537 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5548 echo "configure:5549: checking for ${dir}tt_c.h" >&5 | 5538 echo "configure:5539: checking for ${dir}tt_c.h" >&5 |
5549 | 5539 |
5550 cat > conftest.$ac_ext <<EOF | 5540 cat > conftest.$ac_ext <<EOF |
5551 #line 5552 "configure" | 5541 #line 5542 "configure" |
5552 #include "confdefs.h" | 5542 #include "confdefs.h" |
5553 #include <${dir}tt_c.h> | 5543 #include <${dir}tt_c.h> |
5554 EOF | 5544 EOF |
5555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5556 { (eval echo configure:5557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5546 { (eval echo configure:5547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5557 ac_err=`grep -v '^ *+' conftest.out` | 5547 ac_err=`grep -v '^ *+' conftest.out` |
5558 if test -z "$ac_err"; then | 5548 if test -z "$ac_err"; then |
5559 rm -rf conftest* | 5549 rm -rf conftest* |
5560 eval "ac_cv_header_$ac_safe=yes" | 5550 eval "ac_cv_header_$ac_safe=yes" |
5561 else | 5551 else |
5580 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5570 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5581 | 5571 |
5582 xe_msg_checking="for tt_message_create in -ltt" | 5572 xe_msg_checking="for tt_message_create in -ltt" |
5583 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5573 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5584 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5574 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5585 echo "configure:5586: checking "$xe_msg_checking"" >&5 | 5575 echo "configure:5576: checking "$xe_msg_checking"" >&5 |
5586 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5576 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5587 | 5577 |
5588 xe_check_libs=" -ltt $extra_libs" | 5578 xe_check_libs=" -ltt $extra_libs" |
5589 cat > conftest.$ac_ext <<EOF | 5579 cat > conftest.$ac_ext <<EOF |
5590 #line 5591 "configure" | 5580 #line 5581 "configure" |
5591 #include "confdefs.h" | 5581 #include "confdefs.h" |
5592 /* Override any gcc2 internal prototype to avoid an error. */ | 5582 /* Override any gcc2 internal prototype to avoid an error. */ |
5593 /* We use char because int might match the return type of a gcc2 | 5583 /* We use char because int might match the return type of a gcc2 |
5594 builtin and then its argument prototype would still apply. */ | 5584 builtin and then its argument prototype would still apply. */ |
5595 char tt_message_create(); | 5585 char tt_message_create(); |
5596 | 5586 |
5597 int main() { | 5587 int main() { |
5598 tt_message_create() | 5588 tt_message_create() |
5599 ; return 0; } | 5589 ; return 0; } |
5600 EOF | 5590 EOF |
5601 if { (eval echo configure:5602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5602 rm -rf conftest* | 5592 rm -rf conftest* |
5603 eval "ac_cv_lib_$ac_lib_var=yes" | 5593 eval "ac_cv_lib_$ac_lib_var=yes" |
5604 else | 5594 else |
5605 echo "configure: failed program was:" >&5 | 5595 echo "configure: failed program was:" >&5 |
5606 cat conftest.$ac_ext >&5 | 5596 cat conftest.$ac_ext >&5 |
5645 fi | 5635 fi |
5646 fi | 5636 fi |
5647 | 5637 |
5648 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5638 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5649 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5639 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5650 echo "configure:5651: checking for Dt/Dt.h" >&5 | 5640 echo "configure:5641: checking for Dt/Dt.h" >&5 |
5651 | 5641 |
5652 cat > conftest.$ac_ext <<EOF | 5642 cat > conftest.$ac_ext <<EOF |
5653 #line 5654 "configure" | 5643 #line 5644 "configure" |
5654 #include "confdefs.h" | 5644 #include "confdefs.h" |
5655 #include <Dt/Dt.h> | 5645 #include <Dt/Dt.h> |
5656 EOF | 5646 EOF |
5657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5658 { (eval echo configure:5659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5648 { (eval echo configure:5649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5659 ac_err=`grep -v '^ *+' conftest.out` | 5649 ac_err=`grep -v '^ *+' conftest.out` |
5660 if test -z "$ac_err"; then | 5650 if test -z "$ac_err"; then |
5661 rm -rf conftest* | 5651 rm -rf conftest* |
5662 eval "ac_cv_header_$ac_safe=yes" | 5652 eval "ac_cv_header_$ac_safe=yes" |
5663 else | 5653 else |
5676 with_cde=no | 5666 with_cde=no |
5677 fi | 5667 fi |
5678 } | 5668 } |
5679 test -z "$with_cde" && { | 5669 test -z "$with_cde" && { |
5680 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5670 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5681 echo "configure:5682: checking for DtDndDragStart in -lDtSvc" >&5 | 5671 echo "configure:5672: checking for DtDndDragStart in -lDtSvc" >&5 |
5682 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5672 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5683 | 5673 |
5684 xe_check_libs=" -lDtSvc " | 5674 xe_check_libs=" -lDtSvc " |
5685 cat > conftest.$ac_ext <<EOF | 5675 cat > conftest.$ac_ext <<EOF |
5686 #line 5687 "configure" | 5676 #line 5677 "configure" |
5687 #include "confdefs.h" | 5677 #include "confdefs.h" |
5688 /* Override any gcc2 internal prototype to avoid an error. */ | 5678 /* Override any gcc2 internal prototype to avoid an error. */ |
5689 /* We use char because int might match the return type of a gcc2 | 5679 /* We use char because int might match the return type of a gcc2 |
5690 builtin and then its argument prototype would still apply. */ | 5680 builtin and then its argument prototype would still apply. */ |
5691 char DtDndDragStart(); | 5681 char DtDndDragStart(); |
5692 | 5682 |
5693 int main() { | 5683 int main() { |
5694 DtDndDragStart() | 5684 DtDndDragStart() |
5695 ; return 0; } | 5685 ; return 0; } |
5696 EOF | 5686 EOF |
5697 if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5687 if { (eval echo configure:5688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5698 rm -rf conftest* | 5688 rm -rf conftest* |
5699 eval "ac_cv_lib_$ac_lib_var=yes" | 5689 eval "ac_cv_lib_$ac_lib_var=yes" |
5700 else | 5690 else |
5701 echo "configure: failed program was:" >&5 | 5691 echo "configure: failed program was:" >&5 |
5702 cat conftest.$ac_ext >&5 | 5692 cat conftest.$ac_ext >&5 |
5739 EOF | 5729 EOF |
5740 } | 5730 } |
5741 | 5731 |
5742 | 5732 |
5743 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5733 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
5744 echo "configure:5745: checking for main in -lenergize" >&5 | 5734 echo "configure:5735: checking for main in -lenergize" >&5 |
5745 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5735 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
5746 | 5736 |
5747 xe_check_libs=" -lenergize " | 5737 xe_check_libs=" -lenergize " |
5748 cat > conftest.$ac_ext <<EOF | 5738 cat > conftest.$ac_ext <<EOF |
5749 #line 5750 "configure" | 5739 #line 5740 "configure" |
5750 #include "confdefs.h" | 5740 #include "confdefs.h" |
5751 | 5741 |
5752 int main() { | 5742 int main() { |
5753 main() | 5743 main() |
5754 ; return 0; } | 5744 ; return 0; } |
5755 EOF | 5745 EOF |
5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5746 if { (eval echo configure:5747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5757 rm -rf conftest* | 5747 rm -rf conftest* |
5758 eval "ac_cv_lib_$ac_lib_var=yes" | 5748 eval "ac_cv_lib_$ac_lib_var=yes" |
5759 else | 5749 else |
5760 echo "configure: failed program was:" >&5 | 5750 echo "configure: failed program was:" >&5 |
5761 cat conftest.$ac_ext >&5 | 5751 cat conftest.$ac_ext >&5 |
5783 | 5773 |
5784 | 5774 |
5785 if test -z "$energize_version"; then | 5775 if test -z "$energize_version"; then |
5786 | 5776 |
5787 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5777 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
5788 echo "configure:5789: checking for main in -lconn" >&5 | 5778 echo "configure:5779: checking for main in -lconn" >&5 |
5789 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5779 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
5790 | 5780 |
5791 xe_check_libs=" -lconn " | 5781 xe_check_libs=" -lconn " |
5792 cat > conftest.$ac_ext <<EOF | 5782 cat > conftest.$ac_ext <<EOF |
5793 #line 5794 "configure" | 5783 #line 5784 "configure" |
5794 #include "confdefs.h" | 5784 #include "confdefs.h" |
5795 | 5785 |
5796 int main() { | 5786 int main() { |
5797 main() | 5787 main() |
5798 ; return 0; } | 5788 ; return 0; } |
5799 EOF | 5789 EOF |
5800 if { (eval echo configure:5801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5790 if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5801 rm -rf conftest* | 5791 rm -rf conftest* |
5802 eval "ac_cv_lib_$ac_lib_var=yes" | 5792 eval "ac_cv_lib_$ac_lib_var=yes" |
5803 else | 5793 else |
5804 echo "configure: failed program was:" >&5 | 5794 echo "configure: failed program was:" >&5 |
5805 cat conftest.$ac_ext >&5 | 5795 cat conftest.$ac_ext >&5 |
5828 | 5818 |
5829 | 5819 |
5830 fi | 5820 fi |
5831 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5821 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
5832 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5822 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
5833 echo "configure:5834: checking for editorconn.h" >&5 | 5823 echo "configure:5824: checking for editorconn.h" >&5 |
5834 | 5824 |
5835 cat > conftest.$ac_ext <<EOF | 5825 cat > conftest.$ac_ext <<EOF |
5836 #line 5837 "configure" | 5826 #line 5827 "configure" |
5837 #include "confdefs.h" | 5827 #include "confdefs.h" |
5838 #include <editorconn.h> | 5828 #include <editorconn.h> |
5839 EOF | 5829 EOF |
5840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5841 { (eval echo configure:5842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5831 { (eval echo configure:5832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5842 ac_err=`grep -v '^ *+' conftest.out` | 5832 ac_err=`grep -v '^ *+' conftest.out` |
5843 if test -z "$ac_err"; then | 5833 if test -z "$ac_err"; then |
5844 rm -rf conftest* | 5834 rm -rf conftest* |
5845 eval "ac_cv_header_$ac_safe=yes" | 5835 eval "ac_cv_header_$ac_safe=yes" |
5846 else | 5836 else |
5878 | 5868 |
5879 fi | 5869 fi |
5880 | 5870 |
5881 | 5871 |
5882 echo "checking for graphics libraries" 1>&6 | 5872 echo "checking for graphics libraries" 1>&6 |
5883 echo "configure:5884: checking for graphics libraries" >&5 | 5873 echo "configure:5874: checking for graphics libraries" >&5 |
5884 test -z "$with_gif" && with_gif=yes; | 5874 test -z "$with_gif" && with_gif=yes; |
5885 if test "$with_gif" = "yes"; then | 5875 if test "$with_gif" = "yes"; then |
5886 { test "$extra_verbose" = "yes" && cat << \EOF | 5876 { test "$extra_verbose" = "yes" && cat << \EOF |
5887 Defining HAVE_GIF | 5877 Defining HAVE_GIF |
5888 EOF | 5878 EOF |
5895 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | 5885 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" |
5896 fi | 5886 fi |
5897 fi | 5887 fi |
5898 | 5888 |
5899 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5889 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
5900 echo "configure:5901: checking for Xpm - no older than 3.4f" >&5 | 5890 echo "configure:5891: checking for Xpm - no older than 3.4f" >&5 |
5901 xe_check_libs=-lXpm | 5891 xe_check_libs=-lXpm |
5902 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5892 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
5903 #line 5904 "configure" | 5893 #line 5894 "configure" |
5904 #include "confdefs.h" | 5894 #include "confdefs.h" |
5905 #include <X11/xpm.h> | 5895 #include <X11/xpm.h> |
5906 int main(int c, char **v) { | 5896 int main(int c, char **v) { |
5907 return c == 1 ? 0 : | 5897 return c == 1 ? 0 : |
5908 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5898 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
5909 XpmIncludeVersion < 30406 ? 2 : | 5899 XpmIncludeVersion < 30406 ? 2 : |
5910 0 ; | 5900 0 ; |
5911 } | 5901 } |
5912 EOF | 5902 EOF |
5913 if { (eval echo configure:5914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5903 if { (eval echo configure:5904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5914 then | 5904 then |
5915 ./conftest foobar; xpm_status=$?; | 5905 ./conftest foobar; xpm_status=$?; |
5916 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5906 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
5917 else | 5907 else |
5918 echo "configure: failed program was:" >&5 | 5908 echo "configure: failed program was:" >&5 |
5946 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5936 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
5947 fi | 5937 fi |
5948 | 5938 |
5949 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5939 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
5950 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5940 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
5951 echo "configure:5952: checking for compface.h" >&5 | 5941 echo "configure:5942: checking for compface.h" >&5 |
5952 | 5942 |
5953 cat > conftest.$ac_ext <<EOF | 5943 cat > conftest.$ac_ext <<EOF |
5954 #line 5955 "configure" | 5944 #line 5945 "configure" |
5955 #include "confdefs.h" | 5945 #include "confdefs.h" |
5956 #include <compface.h> | 5946 #include <compface.h> |
5957 EOF | 5947 EOF |
5958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5959 { (eval echo configure:5960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5949 { (eval echo configure:5950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5960 ac_err=`grep -v '^ *+' conftest.out` | 5950 ac_err=`grep -v '^ *+' conftest.out` |
5961 if test -z "$ac_err"; then | 5951 if test -z "$ac_err"; then |
5962 rm -rf conftest* | 5952 rm -rf conftest* |
5963 eval "ac_cv_header_$ac_safe=yes" | 5953 eval "ac_cv_header_$ac_safe=yes" |
5964 else | 5954 else |
5977 with_xface=no | 5967 with_xface=no |
5978 fi | 5968 fi |
5979 } | 5969 } |
5980 test -z "$with_xface" && { | 5970 test -z "$with_xface" && { |
5981 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5971 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
5982 echo "configure:5983: checking for UnGenFace in -lcompface" >&5 | 5972 echo "configure:5973: checking for UnGenFace in -lcompface" >&5 |
5983 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5973 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
5984 | 5974 |
5985 xe_check_libs=" -lcompface " | 5975 xe_check_libs=" -lcompface " |
5986 cat > conftest.$ac_ext <<EOF | 5976 cat > conftest.$ac_ext <<EOF |
5987 #line 5988 "configure" | 5977 #line 5978 "configure" |
5988 #include "confdefs.h" | 5978 #include "confdefs.h" |
5989 /* Override any gcc2 internal prototype to avoid an error. */ | 5979 /* Override any gcc2 internal prototype to avoid an error. */ |
5990 /* We use char because int might match the return type of a gcc2 | 5980 /* We use char because int might match the return type of a gcc2 |
5991 builtin and then its argument prototype would still apply. */ | 5981 builtin and then its argument prototype would still apply. */ |
5992 char UnGenFace(); | 5982 char UnGenFace(); |
5993 | 5983 |
5994 int main() { | 5984 int main() { |
5995 UnGenFace() | 5985 UnGenFace() |
5996 ; return 0; } | 5986 ; return 0; } |
5997 EOF | 5987 EOF |
5998 if { (eval echo configure:5999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5999 rm -rf conftest* | 5989 rm -rf conftest* |
6000 eval "ac_cv_lib_$ac_lib_var=yes" | 5990 eval "ac_cv_lib_$ac_lib_var=yes" |
6001 else | 5991 else |
6002 echo "configure: failed program was:" >&5 | 5992 echo "configure: failed program was:" >&5 |
6003 cat conftest.$ac_ext >&5 | 5993 cat conftest.$ac_ext >&5 |
6029 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6019 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
6030 fi | 6020 fi |
6031 | 6021 |
6032 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6022 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6033 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6023 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6034 echo "configure:6035: checking for jpeglib.h" >&5 | 6024 echo "configure:6025: checking for jpeglib.h" >&5 |
6035 | 6025 |
6036 cat > conftest.$ac_ext <<EOF | 6026 cat > conftest.$ac_ext <<EOF |
6037 #line 6038 "configure" | 6027 #line 6028 "configure" |
6038 #include "confdefs.h" | 6028 #include "confdefs.h" |
6039 #include <jpeglib.h> | 6029 #include <jpeglib.h> |
6040 EOF | 6030 EOF |
6041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6042 { (eval echo configure:6043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6032 { (eval echo configure:6033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6043 ac_err=`grep -v '^ *+' conftest.out` | 6033 ac_err=`grep -v '^ *+' conftest.out` |
6044 if test -z "$ac_err"; then | 6034 if test -z "$ac_err"; then |
6045 rm -rf conftest* | 6035 rm -rf conftest* |
6046 eval "ac_cv_header_$ac_safe=yes" | 6036 eval "ac_cv_header_$ac_safe=yes" |
6047 else | 6037 else |
6060 with_jpeg=no | 6050 with_jpeg=no |
6061 fi | 6051 fi |
6062 } | 6052 } |
6063 test -z "$with_jpeg" && { | 6053 test -z "$with_jpeg" && { |
6064 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6054 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6065 echo "configure:6066: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6055 echo "configure:6056: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6066 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6056 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6067 | 6057 |
6068 xe_check_libs=" -ljpeg " | 6058 xe_check_libs=" -ljpeg " |
6069 cat > conftest.$ac_ext <<EOF | 6059 cat > conftest.$ac_ext <<EOF |
6070 #line 6071 "configure" | 6060 #line 6061 "configure" |
6071 #include "confdefs.h" | 6061 #include "confdefs.h" |
6072 /* Override any gcc2 internal prototype to avoid an error. */ | 6062 /* Override any gcc2 internal prototype to avoid an error. */ |
6073 /* We use char because int might match the return type of a gcc2 | 6063 /* We use char because int might match the return type of a gcc2 |
6074 builtin and then its argument prototype would still apply. */ | 6064 builtin and then its argument prototype would still apply. */ |
6075 char jpeg_destroy_decompress(); | 6065 char jpeg_destroy_decompress(); |
6076 | 6066 |
6077 int main() { | 6067 int main() { |
6078 jpeg_destroy_decompress() | 6068 jpeg_destroy_decompress() |
6079 ; return 0; } | 6069 ; return 0; } |
6080 EOF | 6070 EOF |
6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6071 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6082 rm -rf conftest* | 6072 rm -rf conftest* |
6083 eval "ac_cv_lib_$ac_lib_var=yes" | 6073 eval "ac_cv_lib_$ac_lib_var=yes" |
6084 else | 6074 else |
6085 echo "configure: failed program was:" >&5 | 6075 echo "configure: failed program was:" >&5 |
6086 cat conftest.$ac_ext >&5 | 6076 cat conftest.$ac_ext >&5 |
6112 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6102 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6113 fi | 6103 fi |
6114 | 6104 |
6115 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6105 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6116 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6106 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6117 echo "configure:6118: checking for png.h" >&5 | 6107 echo "configure:6108: checking for png.h" >&5 |
6118 | 6108 |
6119 cat > conftest.$ac_ext <<EOF | 6109 cat > conftest.$ac_ext <<EOF |
6120 #line 6121 "configure" | 6110 #line 6111 "configure" |
6121 #include "confdefs.h" | 6111 #include "confdefs.h" |
6122 #include <png.h> | 6112 #include <png.h> |
6123 EOF | 6113 EOF |
6124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6125 { (eval echo configure:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6115 { (eval echo configure:6116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6126 ac_err=`grep -v '^ *+' conftest.out` | 6116 ac_err=`grep -v '^ *+' conftest.out` |
6127 if test -z "$ac_err"; then | 6117 if test -z "$ac_err"; then |
6128 rm -rf conftest* | 6118 rm -rf conftest* |
6129 eval "ac_cv_header_$ac_safe=yes" | 6119 eval "ac_cv_header_$ac_safe=yes" |
6130 else | 6120 else |
6142 echo "$ac_t""no" 1>&6 | 6132 echo "$ac_t""no" 1>&6 |
6143 with_png=no | 6133 with_png=no |
6144 fi | 6134 fi |
6145 } | 6135 } |
6146 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6136 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6147 echo "configure:6148: checking for pow" >&5 | 6137 echo "configure:6138: checking for pow" >&5 |
6148 | 6138 |
6149 cat > conftest.$ac_ext <<EOF | 6139 cat > conftest.$ac_ext <<EOF |
6150 #line 6151 "configure" | 6140 #line 6141 "configure" |
6151 #include "confdefs.h" | 6141 #include "confdefs.h" |
6152 /* System header to define __stub macros and hopefully few prototypes, | 6142 /* System header to define __stub macros and hopefully few prototypes, |
6153 which can conflict with char pow(); below. */ | 6143 which can conflict with char pow(); below. */ |
6154 #include <assert.h> | 6144 #include <assert.h> |
6155 /* Override any gcc2 internal prototype to avoid an error. */ | 6145 /* Override any gcc2 internal prototype to avoid an error. */ |
6168 pow(); | 6158 pow(); |
6169 #endif | 6159 #endif |
6170 | 6160 |
6171 ; return 0; } | 6161 ; return 0; } |
6172 EOF | 6162 EOF |
6173 if { (eval echo configure:6174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6163 if { (eval echo configure:6164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6174 rm -rf conftest* | 6164 rm -rf conftest* |
6175 eval "ac_cv_func_pow=yes" | 6165 eval "ac_cv_func_pow=yes" |
6176 else | 6166 else |
6177 echo "configure: failed program was:" >&5 | 6167 echo "configure: failed program was:" >&5 |
6178 cat conftest.$ac_ext >&5 | 6168 cat conftest.$ac_ext >&5 |
6193 for extra_libs in "" "-lz" "-lgz"; do | 6183 for extra_libs in "" "-lz" "-lgz"; do |
6194 | 6184 |
6195 xe_msg_checking="for png_read_image in -lpng" | 6185 xe_msg_checking="for png_read_image in -lpng" |
6196 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6186 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6197 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6187 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6198 echo "configure:6199: checking "$xe_msg_checking"" >&5 | 6188 echo "configure:6189: checking "$xe_msg_checking"" >&5 |
6199 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6189 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6200 | 6190 |
6201 xe_check_libs=" -lpng $extra_libs" | 6191 xe_check_libs=" -lpng $extra_libs" |
6202 cat > conftest.$ac_ext <<EOF | 6192 cat > conftest.$ac_ext <<EOF |
6203 #line 6204 "configure" | 6193 #line 6194 "configure" |
6204 #include "confdefs.h" | 6194 #include "confdefs.h" |
6205 /* Override any gcc2 internal prototype to avoid an error. */ | 6195 /* Override any gcc2 internal prototype to avoid an error. */ |
6206 /* We use char because int might match the return type of a gcc2 | 6196 /* We use char because int might match the return type of a gcc2 |
6207 builtin and then its argument prototype would still apply. */ | 6197 builtin and then its argument prototype would still apply. */ |
6208 char png_read_image(); | 6198 char png_read_image(); |
6209 | 6199 |
6210 int main() { | 6200 int main() { |
6211 png_read_image() | 6201 png_read_image() |
6212 ; return 0; } | 6202 ; return 0; } |
6213 EOF | 6203 EOF |
6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6215 rm -rf conftest* | 6205 rm -rf conftest* |
6216 eval "ac_cv_lib_$ac_lib_var=yes" | 6206 eval "ac_cv_lib_$ac_lib_var=yes" |
6217 else | 6207 else |
6218 echo "configure: failed program was:" >&5 | 6208 echo "configure: failed program was:" >&5 |
6219 cat conftest.$ac_ext >&5 | 6209 cat conftest.$ac_ext >&5 |
6259 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi | 6249 libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi |
6260 fi | 6250 fi |
6261 | 6251 |
6262 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6252 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6263 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6253 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6264 echo "configure:6265: checking for Xm/Xm.h" >&5 | 6254 echo "configure:6255: checking for Xm/Xm.h" >&5 |
6265 | 6255 |
6266 cat > conftest.$ac_ext <<EOF | 6256 cat > conftest.$ac_ext <<EOF |
6267 #line 6268 "configure" | 6257 #line 6258 "configure" |
6268 #include "confdefs.h" | 6258 #include "confdefs.h" |
6269 #include <Xm/Xm.h> | 6259 #include <Xm/Xm.h> |
6270 EOF | 6260 EOF |
6271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6261 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6272 { (eval echo configure:6273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6262 { (eval echo configure:6263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6273 ac_err=`grep -v '^ *+' conftest.out` | 6263 ac_err=`grep -v '^ *+' conftest.out` |
6274 if test -z "$ac_err"; then | 6264 if test -z "$ac_err"; then |
6275 rm -rf conftest* | 6265 rm -rf conftest* |
6276 eval "ac_cv_header_$ac_safe=yes" | 6266 eval "ac_cv_header_$ac_safe=yes" |
6277 else | 6267 else |
6284 rm -f conftest* | 6274 rm -f conftest* |
6285 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6275 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6286 echo "$ac_t""yes" 1>&6 | 6276 echo "$ac_t""yes" 1>&6 |
6287 | 6277 |
6288 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6289 echo "configure:6290: checking for XmStringFree in -lXm" >&5 | 6279 echo "configure:6280: checking for XmStringFree in -lXm" >&5 |
6290 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6280 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6291 | 6281 |
6292 xe_check_libs=" -lXm " | 6282 xe_check_libs=" -lXm " |
6293 cat > conftest.$ac_ext <<EOF | 6283 cat > conftest.$ac_ext <<EOF |
6294 #line 6295 "configure" | 6284 #line 6285 "configure" |
6295 #include "confdefs.h" | 6285 #include "confdefs.h" |
6296 /* Override any gcc2 internal prototype to avoid an error. */ | 6286 /* Override any gcc2 internal prototype to avoid an error. */ |
6297 /* We use char because int might match the return type of a gcc2 | 6287 /* We use char because int might match the return type of a gcc2 |
6298 builtin and then its argument prototype would still apply. */ | 6288 builtin and then its argument prototype would still apply. */ |
6299 char XmStringFree(); | 6289 char XmStringFree(); |
6300 | 6290 |
6301 int main() { | 6291 int main() { |
6302 XmStringFree() | 6292 XmStringFree() |
6303 ; return 0; } | 6293 ; return 0; } |
6304 EOF | 6294 EOF |
6305 if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6306 rm -rf conftest* | 6296 rm -rf conftest* |
6307 eval "ac_cv_lib_$ac_lib_var=yes" | 6297 eval "ac_cv_lib_$ac_lib_var=yes" |
6308 else | 6298 else |
6309 echo "configure: failed program was:" >&5 | 6299 echo "configure: failed program was:" >&5 |
6310 cat conftest.$ac_ext >&5 | 6300 cat conftest.$ac_ext >&5 |
6548 | 6538 |
6549 test -z "$with_mule" && with_mule=no | 6539 test -z "$with_mule" && with_mule=no |
6550 | 6540 |
6551 if test "$with_mule" = "yes" ; then | 6541 if test "$with_mule" = "yes" ; then |
6552 echo "checking for Mule-related features" 1>&6 | 6542 echo "checking for Mule-related features" 1>&6 |
6553 echo "configure:6554: checking for Mule-related features" >&5 | 6543 echo "configure:6544: checking for Mule-related features" >&5 |
6554 { test "$extra_verbose" = "yes" && cat << \EOF | 6544 { test "$extra_verbose" = "yes" && cat << \EOF |
6555 Defining MULE | 6545 Defining MULE |
6556 EOF | 6546 EOF |
6557 cat >> confdefs.h <<\EOF | 6547 cat >> confdefs.h <<\EOF |
6558 #define MULE 1 | 6548 #define MULE 1 |
6565 | 6555 |
6566 for ac_hdr in libintl.h | 6556 for ac_hdr in libintl.h |
6567 do | 6557 do |
6568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6558 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6559 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6570 echo "configure:6571: checking for $ac_hdr" >&5 | 6560 echo "configure:6561: checking for $ac_hdr" >&5 |
6571 | 6561 |
6572 cat > conftest.$ac_ext <<EOF | 6562 cat > conftest.$ac_ext <<EOF |
6573 #line 6574 "configure" | 6563 #line 6564 "configure" |
6574 #include "confdefs.h" | 6564 #include "confdefs.h" |
6575 #include <$ac_hdr> | 6565 #include <$ac_hdr> |
6576 EOF | 6566 EOF |
6577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6578 { (eval echo configure:6579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6568 { (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6579 ac_err=`grep -v '^ *+' conftest.out` | 6569 ac_err=`grep -v '^ *+' conftest.out` |
6580 if test -z "$ac_err"; then | 6570 if test -z "$ac_err"; then |
6581 rm -rf conftest* | 6571 rm -rf conftest* |
6582 eval "ac_cv_header_$ac_safe=yes" | 6572 eval "ac_cv_header_$ac_safe=yes" |
6583 else | 6573 else |
6604 fi | 6594 fi |
6605 done | 6595 done |
6606 | 6596 |
6607 | 6597 |
6608 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6598 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6609 echo "configure:6610: checking for strerror in -lintl" >&5 | 6599 echo "configure:6600: checking for strerror in -lintl" >&5 |
6610 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6600 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6611 | 6601 |
6612 xe_check_libs=" -lintl " | 6602 xe_check_libs=" -lintl " |
6613 cat > conftest.$ac_ext <<EOF | 6603 cat > conftest.$ac_ext <<EOF |
6614 #line 6615 "configure" | 6604 #line 6605 "configure" |
6615 #include "confdefs.h" | 6605 #include "confdefs.h" |
6616 /* Override any gcc2 internal prototype to avoid an error. */ | 6606 /* Override any gcc2 internal prototype to avoid an error. */ |
6617 /* We use char because int might match the return type of a gcc2 | 6607 /* We use char because int might match the return type of a gcc2 |
6618 builtin and then its argument prototype would still apply. */ | 6608 builtin and then its argument prototype would still apply. */ |
6619 char strerror(); | 6609 char strerror(); |
6620 | 6610 |
6621 int main() { | 6611 int main() { |
6622 strerror() | 6612 strerror() |
6623 ; return 0; } | 6613 ; return 0; } |
6624 EOF | 6614 EOF |
6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6626 rm -rf conftest* | 6616 rm -rf conftest* |
6627 eval "ac_cv_lib_$ac_lib_var=yes" | 6617 eval "ac_cv_lib_$ac_lib_var=yes" |
6628 else | 6618 else |
6629 echo "configure: failed program was:" >&5 | 6619 echo "configure: failed program was:" >&5 |
6630 cat conftest.$ac_ext >&5 | 6620 cat conftest.$ac_ext >&5 |
6653 fi | 6643 fi |
6654 | 6644 |
6655 | 6645 |
6656 | 6646 |
6657 echo "checking for Mule input methods" 1>&6 | 6647 echo "checking for Mule input methods" 1>&6 |
6658 echo "configure:6659: checking for Mule input methods" >&5 | 6648 echo "configure:6649: checking for Mule input methods" >&5 |
6659 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6649 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6660 case "$with_xim" in "" | "yes" ) | 6650 case "$with_xim" in "" | "yes" ) |
6661 echo "checking for XIM" 1>&6 | 6651 echo "checking for XIM" 1>&6 |
6662 echo "configure:6663: checking for XIM" >&5 | 6652 echo "configure:6653: checking for XIM" >&5 |
6663 | 6653 |
6664 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6654 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6665 echo "configure:6666: checking for XmImMbLookupString in -lXm" >&5 | 6655 echo "configure:6656: checking for XmImMbLookupString in -lXm" >&5 |
6666 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6656 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6667 | 6657 |
6668 xe_check_libs=" -lXm " | 6658 xe_check_libs=" -lXm " |
6669 cat > conftest.$ac_ext <<EOF | 6659 cat > conftest.$ac_ext <<EOF |
6670 #line 6671 "configure" | 6660 #line 6661 "configure" |
6671 #include "confdefs.h" | 6661 #include "confdefs.h" |
6672 /* Override any gcc2 internal prototype to avoid an error. */ | 6662 /* Override any gcc2 internal prototype to avoid an error. */ |
6673 /* We use char because int might match the return type of a gcc2 | 6663 /* We use char because int might match the return type of a gcc2 |
6674 builtin and then its argument prototype would still apply. */ | 6664 builtin and then its argument prototype would still apply. */ |
6675 char XmImMbLookupString(); | 6665 char XmImMbLookupString(); |
6676 | 6666 |
6677 int main() { | 6667 int main() { |
6678 XmImMbLookupString() | 6668 XmImMbLookupString() |
6679 ; return 0; } | 6669 ; return 0; } |
6680 EOF | 6670 EOF |
6681 if { (eval echo configure:6682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6671 if { (eval echo configure:6672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6682 rm -rf conftest* | 6672 rm -rf conftest* |
6683 eval "ac_cv_lib_$ac_lib_var=yes" | 6673 eval "ac_cv_lib_$ac_lib_var=yes" |
6684 else | 6674 else |
6685 echo "configure: failed program was:" >&5 | 6675 echo "configure: failed program was:" >&5 |
6686 cat conftest.$ac_ext >&5 | 6676 cat conftest.$ac_ext >&5 |
6738 fi | 6728 fi |
6739 fi | 6729 fi |
6740 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6730 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6741 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6731 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6742 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6732 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6743 echo "configure:6744: checking for wnn/jllib.h" >&5 | 6733 echo "configure:6734: checking for wnn/jllib.h" >&5 |
6744 | 6734 |
6745 cat > conftest.$ac_ext <<EOF | 6735 cat > conftest.$ac_ext <<EOF |
6746 #line 6747 "configure" | 6736 #line 6737 "configure" |
6747 #include "confdefs.h" | 6737 #include "confdefs.h" |
6748 #include <wnn/jllib.h> | 6738 #include <wnn/jllib.h> |
6749 EOF | 6739 EOF |
6750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6751 { (eval echo configure:6752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6741 { (eval echo configure:6742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6752 ac_err=`grep -v '^ *+' conftest.out` | 6742 ac_err=`grep -v '^ *+' conftest.out` |
6753 if test -z "$ac_err"; then | 6743 if test -z "$ac_err"; then |
6754 rm -rf conftest* | 6744 rm -rf conftest* |
6755 eval "ac_cv_header_$ac_safe=yes" | 6745 eval "ac_cv_header_$ac_safe=yes" |
6756 else | 6746 else |
6771 } | 6761 } |
6772 if test "$with_wnn" != "no"; then | 6762 if test "$with_wnn" != "no"; then |
6773 for ac_func in crypt | 6763 for ac_func in crypt |
6774 do | 6764 do |
6775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6776 echo "configure:6777: checking for $ac_func" >&5 | 6766 echo "configure:6767: checking for $ac_func" >&5 |
6777 | 6767 |
6778 cat > conftest.$ac_ext <<EOF | 6768 cat > conftest.$ac_ext <<EOF |
6779 #line 6780 "configure" | 6769 #line 6770 "configure" |
6780 #include "confdefs.h" | 6770 #include "confdefs.h" |
6781 /* System header to define __stub macros and hopefully few prototypes, | 6771 /* System header to define __stub macros and hopefully few prototypes, |
6782 which can conflict with char $ac_func(); below. */ | 6772 which can conflict with char $ac_func(); below. */ |
6783 #include <assert.h> | 6773 #include <assert.h> |
6784 /* Override any gcc2 internal prototype to avoid an error. */ | 6774 /* Override any gcc2 internal prototype to avoid an error. */ |
6797 $ac_func(); | 6787 $ac_func(); |
6798 #endif | 6788 #endif |
6799 | 6789 |
6800 ; return 0; } | 6790 ; return 0; } |
6801 EOF | 6791 EOF |
6802 if { (eval echo configure:6803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6792 if { (eval echo configure:6793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6803 rm -rf conftest* | 6793 rm -rf conftest* |
6804 eval "ac_cv_func_$ac_func=yes" | 6794 eval "ac_cv_func_$ac_func=yes" |
6805 else | 6795 else |
6806 echo "configure: failed program was:" >&5 | 6796 echo "configure: failed program was:" >&5 |
6807 cat conftest.$ac_ext >&5 | 6797 cat conftest.$ac_ext >&5 |
6826 fi | 6816 fi |
6827 done | 6817 done |
6828 | 6818 |
6829 test "$ac_cv_func_crypt" != "yes" && { | 6819 test "$ac_cv_func_crypt" != "yes" && { |
6830 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6820 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
6831 echo "configure:6832: checking for crypt in -lcrypt" >&5 | 6821 echo "configure:6822: checking for crypt in -lcrypt" >&5 |
6832 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6822 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
6833 | 6823 |
6834 xe_check_libs=" -lcrypt " | 6824 xe_check_libs=" -lcrypt " |
6835 cat > conftest.$ac_ext <<EOF | 6825 cat > conftest.$ac_ext <<EOF |
6836 #line 6837 "configure" | 6826 #line 6827 "configure" |
6837 #include "confdefs.h" | 6827 #include "confdefs.h" |
6838 /* Override any gcc2 internal prototype to avoid an error. */ | 6828 /* Override any gcc2 internal prototype to avoid an error. */ |
6839 /* We use char because int might match the return type of a gcc2 | 6829 /* We use char because int might match the return type of a gcc2 |
6840 builtin and then its argument prototype would still apply. */ | 6830 builtin and then its argument prototype would still apply. */ |
6841 char crypt(); | 6831 char crypt(); |
6842 | 6832 |
6843 int main() { | 6833 int main() { |
6844 crypt() | 6834 crypt() |
6845 ; return 0; } | 6835 ; return 0; } |
6846 EOF | 6836 EOF |
6847 if { (eval echo configure:6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6837 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6848 rm -rf conftest* | 6838 rm -rf conftest* |
6849 eval "ac_cv_lib_$ac_lib_var=yes" | 6839 eval "ac_cv_lib_$ac_lib_var=yes" |
6850 else | 6840 else |
6851 echo "configure: failed program was:" >&5 | 6841 echo "configure: failed program was:" >&5 |
6852 cat conftest.$ac_ext >&5 | 6842 cat conftest.$ac_ext >&5 |
6876 | 6866 |
6877 } | 6867 } |
6878 fi | 6868 fi |
6879 test -z "$with_wnn" && { | 6869 test -z "$with_wnn" && { |
6880 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6870 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
6881 echo "configure:6882: checking for jl_dic_list_e in -lwnn" >&5 | 6871 echo "configure:6872: checking for jl_dic_list_e in -lwnn" >&5 |
6882 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6872 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
6883 | 6873 |
6884 xe_check_libs=" -lwnn " | 6874 xe_check_libs=" -lwnn " |
6885 cat > conftest.$ac_ext <<EOF | 6875 cat > conftest.$ac_ext <<EOF |
6886 #line 6887 "configure" | 6876 #line 6877 "configure" |
6887 #include "confdefs.h" | 6877 #include "confdefs.h" |
6888 /* Override any gcc2 internal prototype to avoid an error. */ | 6878 /* Override any gcc2 internal prototype to avoid an error. */ |
6889 /* We use char because int might match the return type of a gcc2 | 6879 /* We use char because int might match the return type of a gcc2 |
6890 builtin and then its argument prototype would still apply. */ | 6880 builtin and then its argument prototype would still apply. */ |
6891 char jl_dic_list_e(); | 6881 char jl_dic_list_e(); |
6892 | 6882 |
6893 int main() { | 6883 int main() { |
6894 jl_dic_list_e() | 6884 jl_dic_list_e() |
6895 ; return 0; } | 6885 ; return 0; } |
6896 EOF | 6886 EOF |
6897 if { (eval echo configure:6898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6898 rm -rf conftest* | 6888 rm -rf conftest* |
6899 eval "ac_cv_lib_$ac_lib_var=yes" | 6889 eval "ac_cv_lib_$ac_lib_var=yes" |
6900 else | 6890 else |
6901 echo "configure: failed program was:" >&5 | 6891 echo "configure: failed program was:" >&5 |
6902 cat conftest.$ac_ext >&5 | 6892 cat conftest.$ac_ext >&5 |
6929 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 6919 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
6930 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 6920 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
6931 fi | 6921 fi |
6932 | 6922 |
6933 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 6923 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
6934 echo "configure:6935: checking for jl_fi_dic_list in -lwnn" >&5 | 6924 echo "configure:6925: checking for jl_fi_dic_list in -lwnn" >&5 |
6935 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 6925 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
6936 | 6926 |
6937 xe_check_libs=" -lwnn " | 6927 xe_check_libs=" -lwnn " |
6938 cat > conftest.$ac_ext <<EOF | 6928 cat > conftest.$ac_ext <<EOF |
6939 #line 6940 "configure" | 6929 #line 6930 "configure" |
6940 #include "confdefs.h" | 6930 #include "confdefs.h" |
6941 /* Override any gcc2 internal prototype to avoid an error. */ | 6931 /* Override any gcc2 internal prototype to avoid an error. */ |
6942 /* We use char because int might match the return type of a gcc2 | 6932 /* We use char because int might match the return type of a gcc2 |
6943 builtin and then its argument prototype would still apply. */ | 6933 builtin and then its argument prototype would still apply. */ |
6944 char jl_fi_dic_list(); | 6934 char jl_fi_dic_list(); |
6945 | 6935 |
6946 int main() { | 6936 int main() { |
6947 jl_fi_dic_list() | 6937 jl_fi_dic_list() |
6948 ; return 0; } | 6938 ; return 0; } |
6949 EOF | 6939 EOF |
6950 if { (eval echo configure:6951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6940 if { (eval echo configure:6941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6951 rm -rf conftest* | 6941 rm -rf conftest* |
6952 eval "ac_cv_lib_$ac_lib_var=yes" | 6942 eval "ac_cv_lib_$ac_lib_var=yes" |
6953 else | 6943 else |
6954 echo "configure: failed program was:" >&5 | 6944 echo "configure: failed program was:" >&5 |
6955 cat conftest.$ac_ext >&5 | 6945 cat conftest.$ac_ext >&5 |
6977 | 6967 |
6978 fi | 6968 fi |
6979 | 6969 |
6980 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 6970 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
6981 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 6971 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
6982 echo "configure:6983: checking for canna/RK.h" >&5 | 6972 echo "configure:6973: checking for canna/RK.h" >&5 |
6983 | 6973 |
6984 cat > conftest.$ac_ext <<EOF | 6974 cat > conftest.$ac_ext <<EOF |
6985 #line 6986 "configure" | 6975 #line 6976 "configure" |
6986 #include "confdefs.h" | 6976 #include "confdefs.h" |
6987 #include <canna/RK.h> | 6977 #include <canna/RK.h> |
6988 EOF | 6978 EOF |
6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6980 { (eval echo configure:6981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6991 ac_err=`grep -v '^ *+' conftest.out` | 6981 ac_err=`grep -v '^ *+' conftest.out` |
6992 if test -z "$ac_err"; then | 6982 if test -z "$ac_err"; then |
6993 rm -rf conftest* | 6983 rm -rf conftest* |
6994 eval "ac_cv_header_$ac_safe=yes" | 6984 eval "ac_cv_header_$ac_safe=yes" |
6995 else | 6985 else |
7008 with_canna=no | 6998 with_canna=no |
7009 fi | 6999 fi |
7010 } | 7000 } |
7011 test -z "$with_canna" && { | 7001 test -z "$with_canna" && { |
7012 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7002 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7013 echo "configure:7014: checking for RkBgnBun in -lRKC" >&5 | 7003 echo "configure:7004: checking for RkBgnBun in -lRKC" >&5 |
7014 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7004 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7015 | 7005 |
7016 xe_check_libs=" -lRKC " | 7006 xe_check_libs=" -lRKC " |
7017 cat > conftest.$ac_ext <<EOF | 7007 cat > conftest.$ac_ext <<EOF |
7018 #line 7019 "configure" | 7008 #line 7009 "configure" |
7019 #include "confdefs.h" | 7009 #include "confdefs.h" |
7020 /* Override any gcc2 internal prototype to avoid an error. */ | 7010 /* Override any gcc2 internal prototype to avoid an error. */ |
7021 /* We use char because int might match the return type of a gcc2 | 7011 /* We use char because int might match the return type of a gcc2 |
7022 builtin and then its argument prototype would still apply. */ | 7012 builtin and then its argument prototype would still apply. */ |
7023 char RkBgnBun(); | 7013 char RkBgnBun(); |
7024 | 7014 |
7025 int main() { | 7015 int main() { |
7026 RkBgnBun() | 7016 RkBgnBun() |
7027 ; return 0; } | 7017 ; return 0; } |
7028 EOF | 7018 EOF |
7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7030 rm -rf conftest* | 7020 rm -rf conftest* |
7031 eval "ac_cv_lib_$ac_lib_var=yes" | 7021 eval "ac_cv_lib_$ac_lib_var=yes" |
7032 else | 7022 else |
7033 echo "configure: failed program was:" >&5 | 7023 echo "configure: failed program was:" >&5 |
7034 cat conftest.$ac_ext >&5 | 7024 cat conftest.$ac_ext >&5 |
7047 fi | 7037 fi |
7048 | 7038 |
7049 } | 7039 } |
7050 test -z "$with_canna" && { | 7040 test -z "$with_canna" && { |
7051 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7041 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7052 echo "configure:7053: checking for jrKanjiControl in -lcanna" >&5 | 7042 echo "configure:7043: checking for jrKanjiControl in -lcanna" >&5 |
7053 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7043 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7054 | 7044 |
7055 xe_check_libs=" -lcanna " | 7045 xe_check_libs=" -lcanna " |
7056 cat > conftest.$ac_ext <<EOF | 7046 cat > conftest.$ac_ext <<EOF |
7057 #line 7058 "configure" | 7047 #line 7048 "configure" |
7058 #include "confdefs.h" | 7048 #include "confdefs.h" |
7059 /* Override any gcc2 internal prototype to avoid an error. */ | 7049 /* Override any gcc2 internal prototype to avoid an error. */ |
7060 /* We use char because int might match the return type of a gcc2 | 7050 /* We use char because int might match the return type of a gcc2 |
7061 builtin and then its argument prototype would still apply. */ | 7051 builtin and then its argument prototype would still apply. */ |
7062 char jrKanjiControl(); | 7052 char jrKanjiControl(); |
7063 | 7053 |
7064 int main() { | 7054 int main() { |
7065 jrKanjiControl() | 7055 jrKanjiControl() |
7066 ; return 0; } | 7056 ; return 0; } |
7067 EOF | 7057 EOF |
7068 if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7069 rm -rf conftest* | 7059 rm -rf conftest* |
7070 eval "ac_cv_lib_$ac_lib_var=yes" | 7060 eval "ac_cv_lib_$ac_lib_var=yes" |
7071 else | 7061 else |
7072 echo "configure: failed program was:" >&5 | 7062 echo "configure: failed program was:" >&5 |
7073 cat conftest.$ac_ext >&5 | 7063 cat conftest.$ac_ext >&5 |
7160 fi | 7150 fi |
7161 fi | 7151 fi |
7162 | 7152 |
7163 fi | 7153 fi |
7164 | 7154 |
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 | 7155 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7166 do | 7156 do |
7167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7168 echo "configure:7169: checking for $ac_func" >&5 | 7158 echo "configure:7159: checking for $ac_func" >&5 |
7169 | 7159 |
7170 cat > conftest.$ac_ext <<EOF | 7160 cat > conftest.$ac_ext <<EOF |
7171 #line 7172 "configure" | 7161 #line 7162 "configure" |
7172 #include "confdefs.h" | 7162 #include "confdefs.h" |
7173 /* System header to define __stub macros and hopefully few prototypes, | 7163 /* System header to define __stub macros and hopefully few prototypes, |
7174 which can conflict with char $ac_func(); below. */ | 7164 which can conflict with char $ac_func(); below. */ |
7175 #include <assert.h> | 7165 #include <assert.h> |
7176 /* Override any gcc2 internal prototype to avoid an error. */ | 7166 /* Override any gcc2 internal prototype to avoid an error. */ |
7189 $ac_func(); | 7179 $ac_func(); |
7190 #endif | 7180 #endif |
7191 | 7181 |
7192 ; return 0; } | 7182 ; return 0; } |
7193 EOF | 7183 EOF |
7194 if { (eval echo configure:7195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7184 if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7195 rm -rf conftest* | 7185 rm -rf conftest* |
7196 eval "ac_cv_func_$ac_func=yes" | 7186 eval "ac_cv_func_$ac_func=yes" |
7197 else | 7187 else |
7198 echo "configure: failed program was:" >&5 | 7188 echo "configure: failed program was:" >&5 |
7199 cat conftest.$ac_ext >&5 | 7189 cat conftest.$ac_ext >&5 |
7226 fi ;; | 7216 fi ;; |
7227 * ) | 7217 * ) |
7228 for ac_func in realpath | 7218 for ac_func in realpath |
7229 do | 7219 do |
7230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7231 echo "configure:7232: checking for $ac_func" >&5 | 7221 echo "configure:7222: checking for $ac_func" >&5 |
7232 | 7222 |
7233 cat > conftest.$ac_ext <<EOF | 7223 cat > conftest.$ac_ext <<EOF |
7234 #line 7235 "configure" | 7224 #line 7225 "configure" |
7235 #include "confdefs.h" | 7225 #include "confdefs.h" |
7236 /* System header to define __stub macros and hopefully few prototypes, | 7226 /* System header to define __stub macros and hopefully few prototypes, |
7237 which can conflict with char $ac_func(); below. */ | 7227 which can conflict with char $ac_func(); below. */ |
7238 #include <assert.h> | 7228 #include <assert.h> |
7239 /* Override any gcc2 internal prototype to avoid an error. */ | 7229 /* Override any gcc2 internal prototype to avoid an error. */ |
7252 $ac_func(); | 7242 $ac_func(); |
7253 #endif | 7243 #endif |
7254 | 7244 |
7255 ; return 0; } | 7245 ; return 0; } |
7256 EOF | 7246 EOF |
7257 if { (eval echo configure:7258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7258 rm -rf conftest* | 7248 rm -rf conftest* |
7259 eval "ac_cv_func_$ac_func=yes" | 7249 eval "ac_cv_func_$ac_func=yes" |
7260 else | 7250 else |
7261 echo "configure: failed program was:" >&5 | 7251 echo "configure: failed program was:" >&5 |
7262 cat conftest.$ac_ext >&5 | 7252 cat conftest.$ac_ext >&5 |
7285 echo " xemacs will be linked with \"realpath.o\"" | 7275 echo " xemacs will be linked with \"realpath.o\"" |
7286 fi ;; | 7276 fi ;; |
7287 esac | 7277 esac |
7288 | 7278 |
7289 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7279 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7290 echo "configure:7291: checking whether netdb declares h_errno" >&5 | 7280 echo "configure:7281: checking whether netdb declares h_errno" >&5 |
7291 cat > conftest.$ac_ext <<EOF | 7281 cat > conftest.$ac_ext <<EOF |
7292 #line 7293 "configure" | 7282 #line 7283 "configure" |
7293 #include "confdefs.h" | 7283 #include "confdefs.h" |
7294 #include <netdb.h> | 7284 #include <netdb.h> |
7295 int main() { | 7285 int main() { |
7296 return h_errno; | 7286 return h_errno; |
7297 ; return 0; } | 7287 ; return 0; } |
7298 EOF | 7288 EOF |
7299 if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7289 if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7300 rm -rf conftest* | 7290 rm -rf conftest* |
7301 echo "$ac_t""yes" 1>&6 | 7291 echo "$ac_t""yes" 1>&6 |
7302 { test "$extra_verbose" = "yes" && cat << \EOF | 7292 { test "$extra_verbose" = "yes" && cat << \EOF |
7303 Defining HAVE_H_ERRNO | 7293 Defining HAVE_H_ERRNO |
7304 EOF | 7294 EOF |
7314 echo "$ac_t""no" 1>&6 | 7304 echo "$ac_t""no" 1>&6 |
7315 fi | 7305 fi |
7316 rm -f conftest* | 7306 rm -f conftest* |
7317 | 7307 |
7318 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7308 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7319 echo "configure:7320: checking for sigsetjmp" >&5 | 7309 echo "configure:7310: checking for sigsetjmp" >&5 |
7320 cat > conftest.$ac_ext <<EOF | 7310 cat > conftest.$ac_ext <<EOF |
7321 #line 7322 "configure" | 7311 #line 7312 "configure" |
7322 #include "confdefs.h" | 7312 #include "confdefs.h" |
7323 #include <setjmp.h> | 7313 #include <setjmp.h> |
7324 int main() { | 7314 int main() { |
7325 sigjmp_buf bar; sigsetjmp (bar, 0); | 7315 sigjmp_buf bar; sigsetjmp (bar, 0); |
7326 ; return 0; } | 7316 ; return 0; } |
7327 EOF | 7317 EOF |
7328 if { (eval echo configure:7329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7318 if { (eval echo configure:7319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7329 rm -rf conftest* | 7319 rm -rf conftest* |
7330 echo "$ac_t""yes" 1>&6 | 7320 echo "$ac_t""yes" 1>&6 |
7331 { test "$extra_verbose" = "yes" && cat << \EOF | 7321 { test "$extra_verbose" = "yes" && cat << \EOF |
7332 Defining HAVE_SIGSETJMP | 7322 Defining HAVE_SIGSETJMP |
7333 EOF | 7323 EOF |
7343 echo "$ac_t""no" 1>&6 | 7333 echo "$ac_t""no" 1>&6 |
7344 fi | 7334 fi |
7345 rm -f conftest* | 7335 rm -f conftest* |
7346 | 7336 |
7347 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7337 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7348 echo "configure:7349: checking whether localtime caches TZ" >&5 | 7338 echo "configure:7339: checking whether localtime caches TZ" >&5 |
7349 | 7339 |
7350 if test "$ac_cv_func_tzset" = "yes"; then | 7340 if test "$ac_cv_func_tzset" = "yes"; then |
7351 cat > conftest.$ac_ext <<EOF | 7341 cat > conftest.$ac_ext <<EOF |
7352 #line 7353 "configure" | 7342 #line 7343 "configure" |
7353 #include "confdefs.h" | 7343 #include "confdefs.h" |
7354 #include <time.h> | 7344 #include <time.h> |
7355 #if STDC_HEADERS | 7345 #if STDC_HEADERS |
7356 # include <stdlib.h> | 7346 # include <stdlib.h> |
7357 #endif | 7347 #endif |
7382 if (localtime (&now)->tm_hour != hour_unset) | 7372 if (localtime (&now)->tm_hour != hour_unset) |
7383 exit (1); | 7373 exit (1); |
7384 exit (0); | 7374 exit (0); |
7385 } | 7375 } |
7386 EOF | 7376 EOF |
7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7377 if { (eval echo configure:7378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7388 then | 7378 then |
7389 emacs_cv_localtime_cache=no | 7379 emacs_cv_localtime_cache=no |
7390 else | 7380 else |
7391 echo "configure: failed program was:" >&5 | 7381 echo "configure: failed program was:" >&5 |
7392 cat conftest.$ac_ext >&5 | 7382 cat conftest.$ac_ext >&5 |
7411 | 7401 |
7412 fi | 7402 fi |
7413 | 7403 |
7414 if test "$HAVE_TIMEVAL" = "yes"; then | 7404 if test "$HAVE_TIMEVAL" = "yes"; then |
7415 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7405 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7416 echo "configure:7417: checking whether gettimeofday cannot accept two arguments" >&5 | 7406 echo "configure:7407: checking whether gettimeofday cannot accept two arguments" >&5 |
7417 cat > conftest.$ac_ext <<EOF | 7407 cat > conftest.$ac_ext <<EOF |
7418 #line 7419 "configure" | 7408 #line 7409 "configure" |
7419 #include "confdefs.h" | 7409 #include "confdefs.h" |
7420 | 7410 |
7421 #ifdef TIME_WITH_SYS_TIME | 7411 #ifdef TIME_WITH_SYS_TIME |
7422 #include <sys/time.h> | 7412 #include <sys/time.h> |
7423 #include <time.h> | 7413 #include <time.h> |
7435 struct timezone dummy; | 7425 struct timezone dummy; |
7436 gettimeofday (&time, &dummy); | 7426 gettimeofday (&time, &dummy); |
7437 | 7427 |
7438 ; return 0; } | 7428 ; return 0; } |
7439 EOF | 7429 EOF |
7440 if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7430 if { (eval echo configure:7431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7441 rm -rf conftest* | 7431 rm -rf conftest* |
7442 echo "$ac_t""no" 1>&6 | 7432 echo "$ac_t""no" 1>&6 |
7443 else | 7433 else |
7444 echo "configure: failed program was:" >&5 | 7434 echo "configure: failed program was:" >&5 |
7445 cat conftest.$ac_ext >&5 | 7435 cat conftest.$ac_ext >&5 |
7457 rm -f conftest* | 7447 rm -f conftest* |
7458 fi | 7448 fi |
7459 | 7449 |
7460 | 7450 |
7461 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7451 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7462 echo "configure:7463: checking for inline" >&5 | 7452 echo "configure:7453: checking for inline" >&5 |
7463 | 7453 |
7464 ac_cv_c_inline=no | 7454 ac_cv_c_inline=no |
7465 for ac_kw in inline __inline__ __inline; do | 7455 for ac_kw in inline __inline__ __inline; do |
7466 cat > conftest.$ac_ext <<EOF | 7456 cat > conftest.$ac_ext <<EOF |
7467 #line 7468 "configure" | 7457 #line 7458 "configure" |
7468 #include "confdefs.h" | 7458 #include "confdefs.h" |
7469 | 7459 |
7470 int main() { | 7460 int main() { |
7471 } $ac_kw foo() { | 7461 } $ac_kw foo() { |
7472 ; return 0; } | 7462 ; return 0; } |
7473 EOF | 7463 EOF |
7474 if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7464 if { (eval echo configure:7465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7475 rm -rf conftest* | 7465 rm -rf conftest* |
7476 ac_cv_c_inline=$ac_kw; break | 7466 ac_cv_c_inline=$ac_kw; break |
7477 else | 7467 else |
7478 echo "configure: failed program was:" >&5 | 7468 echo "configure: failed program was:" >&5 |
7479 cat conftest.$ac_ext >&5 | 7469 cat conftest.$ac_ext >&5 |
7519 | 7509 |
7520 | 7510 |
7521 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7511 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7522 # for constant arguments. Useless! | 7512 # for constant arguments. Useless! |
7523 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7513 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7524 echo "configure:7525: checking for working alloca.h" >&5 | 7514 echo "configure:7515: checking for working alloca.h" >&5 |
7525 | 7515 |
7526 cat > conftest.$ac_ext <<EOF | 7516 cat > conftest.$ac_ext <<EOF |
7527 #line 7528 "configure" | 7517 #line 7518 "configure" |
7528 #include "confdefs.h" | 7518 #include "confdefs.h" |
7529 #include <alloca.h> | 7519 #include <alloca.h> |
7530 int main() { | 7520 int main() { |
7531 char *p = alloca(2 * sizeof(int)); | 7521 char *p = alloca(2 * sizeof(int)); |
7532 ; return 0; } | 7522 ; return 0; } |
7533 EOF | 7523 EOF |
7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7524 if { (eval echo configure:7525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7535 rm -rf conftest* | 7525 rm -rf conftest* |
7536 ac_cv_header_alloca_h=yes | 7526 ac_cv_header_alloca_h=yes |
7537 else | 7527 else |
7538 echo "configure: failed program was:" >&5 | 7528 echo "configure: failed program was:" >&5 |
7539 cat conftest.$ac_ext >&5 | 7529 cat conftest.$ac_ext >&5 |
7553 } | 7543 } |
7554 | 7544 |
7555 fi | 7545 fi |
7556 | 7546 |
7557 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7547 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7558 echo "configure:7559: checking for alloca" >&5 | 7548 echo "configure:7549: checking for alloca" >&5 |
7559 | 7549 |
7560 cat > conftest.$ac_ext <<EOF | 7550 cat > conftest.$ac_ext <<EOF |
7561 #line 7562 "configure" | 7551 #line 7552 "configure" |
7562 #include "confdefs.h" | 7552 #include "confdefs.h" |
7563 | 7553 |
7564 #ifdef __GNUC__ | 7554 #ifdef __GNUC__ |
7565 # define alloca __builtin_alloca | 7555 # define alloca __builtin_alloca |
7566 #else | 7556 #else |
7579 | 7569 |
7580 int main() { | 7570 int main() { |
7581 char *p = (char *) alloca(1); | 7571 char *p = (char *) alloca(1); |
7582 ; return 0; } | 7572 ; return 0; } |
7583 EOF | 7573 EOF |
7584 if { (eval echo configure:7585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7574 if { (eval echo configure:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7585 rm -rf conftest* | 7575 rm -rf conftest* |
7586 ac_cv_func_alloca_works=yes | 7576 ac_cv_func_alloca_works=yes |
7587 else | 7577 else |
7588 echo "configure: failed program was:" >&5 | 7578 echo "configure: failed program was:" >&5 |
7589 cat conftest.$ac_ext >&5 | 7579 cat conftest.$ac_ext >&5 |
7618 EOF | 7608 EOF |
7619 } | 7609 } |
7620 | 7610 |
7621 | 7611 |
7622 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7612 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7623 echo "configure:7624: checking whether alloca needs Cray hooks" >&5 | 7613 echo "configure:7614: checking whether alloca needs Cray hooks" >&5 |
7624 | 7614 |
7625 cat > conftest.$ac_ext <<EOF | 7615 cat > conftest.$ac_ext <<EOF |
7626 #line 7627 "configure" | 7616 #line 7617 "configure" |
7627 #include "confdefs.h" | 7617 #include "confdefs.h" |
7628 #if defined(CRAY) && ! defined(CRAY2) | 7618 #if defined(CRAY) && ! defined(CRAY2) |
7629 webecray | 7619 webecray |
7630 #else | 7620 #else |
7631 wenotbecray | 7621 wenotbecray |
7645 | 7635 |
7646 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7636 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7647 if test $ac_cv_os_cray = yes; then | 7637 if test $ac_cv_os_cray = yes; then |
7648 for ac_func in _getb67 GETB67 getb67; do | 7638 for ac_func in _getb67 GETB67 getb67; do |
7649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7639 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7650 echo "configure:7651: checking for $ac_func" >&5 | 7640 echo "configure:7641: checking for $ac_func" >&5 |
7651 | 7641 |
7652 cat > conftest.$ac_ext <<EOF | 7642 cat > conftest.$ac_ext <<EOF |
7653 #line 7654 "configure" | 7643 #line 7644 "configure" |
7654 #include "confdefs.h" | 7644 #include "confdefs.h" |
7655 /* System header to define __stub macros and hopefully few prototypes, | 7645 /* System header to define __stub macros and hopefully few prototypes, |
7656 which can conflict with char $ac_func(); below. */ | 7646 which can conflict with char $ac_func(); below. */ |
7657 #include <assert.h> | 7647 #include <assert.h> |
7658 /* Override any gcc2 internal prototype to avoid an error. */ | 7648 /* Override any gcc2 internal prototype to avoid an error. */ |
7671 $ac_func(); | 7661 $ac_func(); |
7672 #endif | 7662 #endif |
7673 | 7663 |
7674 ; return 0; } | 7664 ; return 0; } |
7675 EOF | 7665 EOF |
7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7666 if { (eval echo configure:7667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7677 rm -rf conftest* | 7667 rm -rf conftest* |
7678 eval "ac_cv_func_$ac_func=yes" | 7668 eval "ac_cv_func_$ac_func=yes" |
7679 else | 7669 else |
7680 echo "configure: failed program was:" >&5 | 7670 echo "configure: failed program was:" >&5 |
7681 cat conftest.$ac_ext >&5 | 7671 cat conftest.$ac_ext >&5 |
7701 | 7691 |
7702 done | 7692 done |
7703 fi | 7693 fi |
7704 | 7694 |
7705 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7695 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
7706 echo "configure:7707: checking stack direction for C alloca" >&5 | 7696 echo "configure:7697: checking stack direction for C alloca" >&5 |
7707 | 7697 |
7708 cat > conftest.$ac_ext <<EOF | 7698 cat > conftest.$ac_ext <<EOF |
7709 #line 7710 "configure" | 7699 #line 7700 "configure" |
7710 #include "confdefs.h" | 7700 #include "confdefs.h" |
7711 find_stack_direction () | 7701 find_stack_direction () |
7712 { | 7702 { |
7713 static char *addr = 0; | 7703 static char *addr = 0; |
7714 auto char dummy; | 7704 auto char dummy; |
7723 main () | 7713 main () |
7724 { | 7714 { |
7725 exit (find_stack_direction() < 0); | 7715 exit (find_stack_direction() < 0); |
7726 } | 7716 } |
7727 EOF | 7717 EOF |
7728 if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7718 if { (eval echo configure:7719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7729 then | 7719 then |
7730 ac_cv_c_stack_direction=1 | 7720 ac_cv_c_stack_direction=1 |
7731 else | 7721 else |
7732 echo "configure: failed program was:" >&5 | 7722 echo "configure: failed program was:" >&5 |
7733 cat conftest.$ac_ext >&5 | 7723 cat conftest.$ac_ext >&5 |
7751 echo " xemacs will be linked with \"$ALLOCA\"" | 7741 echo " xemacs will be linked with \"$ALLOCA\"" |
7752 fi | 7742 fi |
7753 | 7743 |
7754 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7744 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
7755 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7745 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
7756 echo "configure:7757: checking for vfork.h" >&5 | 7746 echo "configure:7747: checking for vfork.h" >&5 |
7757 | 7747 |
7758 cat > conftest.$ac_ext <<EOF | 7748 cat > conftest.$ac_ext <<EOF |
7759 #line 7760 "configure" | 7749 #line 7750 "configure" |
7760 #include "confdefs.h" | 7750 #include "confdefs.h" |
7761 #include <vfork.h> | 7751 #include <vfork.h> |
7762 EOF | 7752 EOF |
7763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7764 { (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7754 { (eval echo configure:7755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7765 ac_err=`grep -v '^ *+' conftest.out` | 7755 ac_err=`grep -v '^ *+' conftest.out` |
7766 if test -z "$ac_err"; then | 7756 if test -z "$ac_err"; then |
7767 rm -rf conftest* | 7757 rm -rf conftest* |
7768 eval "ac_cv_header_$ac_safe=yes" | 7758 eval "ac_cv_header_$ac_safe=yes" |
7769 else | 7759 else |
7787 else | 7777 else |
7788 echo "$ac_t""no" 1>&6 | 7778 echo "$ac_t""no" 1>&6 |
7789 fi | 7779 fi |
7790 | 7780 |
7791 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7781 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7792 echo "configure:7793: checking for working vfork" >&5 | 7782 echo "configure:7783: checking for working vfork" >&5 |
7793 | 7783 |
7794 cat > conftest.$ac_ext <<EOF | 7784 cat > conftest.$ac_ext <<EOF |
7795 #line 7796 "configure" | 7785 #line 7786 "configure" |
7796 #include "confdefs.h" | 7786 #include "confdefs.h" |
7797 /* Thanks to Paul Eggert for this test. */ | 7787 /* Thanks to Paul Eggert for this test. */ |
7798 #include <stdio.h> | 7788 #include <stdio.h> |
7799 #include <sys/types.h> | 7789 #include <sys/types.h> |
7800 #include <sys/stat.h> | 7790 #include <sys/stat.h> |
7885 || fstat(fileno(stdout), &st) != 0 | 7875 || fstat(fileno(stdout), &st) != 0 |
7886 ); | 7876 ); |
7887 } | 7877 } |
7888 } | 7878 } |
7889 EOF | 7879 EOF |
7890 if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7880 if { (eval echo configure:7881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7891 then | 7881 then |
7892 ac_cv_func_vfork_works=yes | 7882 ac_cv_func_vfork_works=yes |
7893 else | 7883 else |
7894 echo "configure: failed program was:" >&5 | 7884 echo "configure: failed program was:" >&5 |
7895 cat conftest.$ac_ext >&5 | 7885 cat conftest.$ac_ext >&5 |
7910 | 7900 |
7911 fi | 7901 fi |
7912 | 7902 |
7913 | 7903 |
7914 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 7904 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
7915 echo "configure:7916: checking for working strcoll" >&5 | 7905 echo "configure:7906: checking for working strcoll" >&5 |
7916 | 7906 |
7917 cat > conftest.$ac_ext <<EOF | 7907 cat > conftest.$ac_ext <<EOF |
7918 #line 7919 "configure" | 7908 #line 7909 "configure" |
7919 #include "confdefs.h" | 7909 #include "confdefs.h" |
7920 #include <string.h> | 7910 #include <string.h> |
7921 main () | 7911 main () |
7922 { | 7912 { |
7923 exit (strcoll ("abc", "def") >= 0 || | 7913 exit (strcoll ("abc", "def") >= 0 || |
7924 strcoll ("ABC", "DEF") >= 0 || | 7914 strcoll ("ABC", "DEF") >= 0 || |
7925 strcoll ("123", "456") >= 0); | 7915 strcoll ("123", "456") >= 0); |
7926 } | 7916 } |
7927 EOF | 7917 EOF |
7928 if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7918 if { (eval echo configure:7919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7929 then | 7919 then |
7930 ac_cv_func_strcoll_works=yes | 7920 ac_cv_func_strcoll_works=yes |
7931 else | 7921 else |
7932 echo "configure: failed program was:" >&5 | 7922 echo "configure: failed program was:" >&5 |
7933 cat conftest.$ac_ext >&5 | 7923 cat conftest.$ac_ext >&5 |
7950 | 7940 |
7951 | 7941 |
7952 for ac_func in getpgrp | 7942 for ac_func in getpgrp |
7953 do | 7943 do |
7954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7955 echo "configure:7956: checking for $ac_func" >&5 | 7945 echo "configure:7946: checking for $ac_func" >&5 |
7956 | 7946 |
7957 cat > conftest.$ac_ext <<EOF | 7947 cat > conftest.$ac_ext <<EOF |
7958 #line 7959 "configure" | 7948 #line 7949 "configure" |
7959 #include "confdefs.h" | 7949 #include "confdefs.h" |
7960 /* System header to define __stub macros and hopefully few prototypes, | 7950 /* System header to define __stub macros and hopefully few prototypes, |
7961 which can conflict with char $ac_func(); below. */ | 7951 which can conflict with char $ac_func(); below. */ |
7962 #include <assert.h> | 7952 #include <assert.h> |
7963 /* Override any gcc2 internal prototype to avoid an error. */ | 7953 /* Override any gcc2 internal prototype to avoid an error. */ |
7976 $ac_func(); | 7966 $ac_func(); |
7977 #endif | 7967 #endif |
7978 | 7968 |
7979 ; return 0; } | 7969 ; return 0; } |
7980 EOF | 7970 EOF |
7981 if { (eval echo configure:7982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7971 if { (eval echo configure:7972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7982 rm -rf conftest* | 7972 rm -rf conftest* |
7983 eval "ac_cv_func_$ac_func=yes" | 7973 eval "ac_cv_func_$ac_func=yes" |
7984 else | 7974 else |
7985 echo "configure: failed program was:" >&5 | 7975 echo "configure: failed program was:" >&5 |
7986 cat conftest.$ac_ext >&5 | 7976 cat conftest.$ac_ext >&5 |
8004 echo "$ac_t""no" 1>&6 | 7994 echo "$ac_t""no" 1>&6 |
8005 fi | 7995 fi |
8006 done | 7996 done |
8007 | 7997 |
8008 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 7998 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8009 echo "configure:8010: checking whether getpgrp takes no argument" >&5 | 7999 echo "configure:8000: checking whether getpgrp takes no argument" >&5 |
8010 | 8000 |
8011 cat > conftest.$ac_ext <<EOF | 8001 cat > conftest.$ac_ext <<EOF |
8012 #line 8013 "configure" | 8002 #line 8003 "configure" |
8013 #include "confdefs.h" | 8003 #include "confdefs.h" |
8014 | 8004 |
8015 /* | 8005 /* |
8016 * If this system has a BSD-style getpgrp(), | 8006 * If this system has a BSD-style getpgrp(), |
8017 * which takes a pid argument, exit unsuccessfully. | 8007 * which takes a pid argument, exit unsuccessfully. |
8062 exit(s>>8); | 8052 exit(s>>8); |
8063 } | 8053 } |
8064 } | 8054 } |
8065 | 8055 |
8066 EOF | 8056 EOF |
8067 if { (eval echo configure:8068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8068 then | 8058 then |
8069 ac_cv_func_getpgrp_void=yes | 8059 ac_cv_func_getpgrp_void=yes |
8070 else | 8060 else |
8071 echo "configure: failed program was:" >&5 | 8061 echo "configure: failed program was:" >&5 |
8072 cat conftest.$ac_ext >&5 | 8062 cat conftest.$ac_ext >&5 |
8088 | 8078 |
8089 fi | 8079 fi |
8090 | 8080 |
8091 | 8081 |
8092 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8082 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8093 echo "configure:8094: checking for working mmap" >&5 | 8083 echo "configure:8084: checking for working mmap" >&5 |
8094 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8084 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8095 cat > conftest.$ac_ext <<EOF | 8085 cat > conftest.$ac_ext <<EOF |
8096 #line 8097 "configure" | 8086 #line 8087 "configure" |
8097 #include "confdefs.h" | 8087 #include "confdefs.h" |
8098 #include <stdio.h> | 8088 #include <stdio.h> |
8099 #include <unistd.h> | 8089 #include <unistd.h> |
8100 #include <fcntl.h> | 8090 #include <fcntl.h> |
8101 #include <sys/mman.h> | 8091 #include <sys/mman.h> |
8124 return 0; | 8114 return 0; |
8125 perror ("conftest: mmap failed"); | 8115 perror ("conftest: mmap failed"); |
8126 return 1; | 8116 return 1; |
8127 } | 8117 } |
8128 EOF | 8118 EOF |
8129 if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8119 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8130 then | 8120 then |
8131 have_mmap=yes | 8121 have_mmap=yes |
8132 else | 8122 else |
8133 echo "configure: failed program was:" >&5 | 8123 echo "configure: failed program was:" >&5 |
8134 cat conftest.$ac_ext >&5 | 8124 cat conftest.$ac_ext >&5 |
8157 EOF | 8147 EOF |
8158 } | 8148 } |
8159 | 8149 |
8160 | 8150 |
8161 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8151 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8162 echo "configure:8163: checking for socket" >&5 | 8152 echo "configure:8153: checking for socket" >&5 |
8163 | 8153 |
8164 cat > conftest.$ac_ext <<EOF | 8154 cat > conftest.$ac_ext <<EOF |
8165 #line 8166 "configure" | 8155 #line 8156 "configure" |
8166 #include "confdefs.h" | 8156 #include "confdefs.h" |
8167 /* System header to define __stub macros and hopefully few prototypes, | 8157 /* System header to define __stub macros and hopefully few prototypes, |
8168 which can conflict with char socket(); below. */ | 8158 which can conflict with char socket(); below. */ |
8169 #include <assert.h> | 8159 #include <assert.h> |
8170 /* Override any gcc2 internal prototype to avoid an error. */ | 8160 /* Override any gcc2 internal prototype to avoid an error. */ |
8183 socket(); | 8173 socket(); |
8184 #endif | 8174 #endif |
8185 | 8175 |
8186 ; return 0; } | 8176 ; return 0; } |
8187 EOF | 8177 EOF |
8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8178 if { (eval echo configure:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8189 rm -rf conftest* | 8179 rm -rf conftest* |
8190 eval "ac_cv_func_socket=yes" | 8180 eval "ac_cv_func_socket=yes" |
8191 else | 8181 else |
8192 echo "configure: failed program was:" >&5 | 8182 echo "configure: failed program was:" >&5 |
8193 cat conftest.$ac_ext >&5 | 8183 cat conftest.$ac_ext >&5 |
8198 | 8188 |
8199 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8189 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8200 echo "$ac_t""yes" 1>&6 | 8190 echo "$ac_t""yes" 1>&6 |
8201 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8191 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8202 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8192 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8203 echo "configure:8204: checking for netinet/in.h" >&5 | 8193 echo "configure:8194: checking for netinet/in.h" >&5 |
8204 | 8194 |
8205 cat > conftest.$ac_ext <<EOF | 8195 cat > conftest.$ac_ext <<EOF |
8206 #line 8207 "configure" | 8196 #line 8197 "configure" |
8207 #include "confdefs.h" | 8197 #include "confdefs.h" |
8208 #include <netinet/in.h> | 8198 #include <netinet/in.h> |
8209 EOF | 8199 EOF |
8210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8200 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; } | 8201 { (eval echo configure:8202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8212 ac_err=`grep -v '^ *+' conftest.out` | 8202 ac_err=`grep -v '^ *+' conftest.out` |
8213 if test -z "$ac_err"; then | 8203 if test -z "$ac_err"; then |
8214 rm -rf conftest* | 8204 rm -rf conftest* |
8215 eval "ac_cv_header_$ac_safe=yes" | 8205 eval "ac_cv_header_$ac_safe=yes" |
8216 else | 8206 else |
8223 rm -f conftest* | 8213 rm -f conftest* |
8224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8225 echo "$ac_t""yes" 1>&6 | 8215 echo "$ac_t""yes" 1>&6 |
8226 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8216 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8227 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8217 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8228 echo "configure:8229: checking for arpa/inet.h" >&5 | 8218 echo "configure:8219: checking for arpa/inet.h" >&5 |
8229 | 8219 |
8230 cat > conftest.$ac_ext <<EOF | 8220 cat > conftest.$ac_ext <<EOF |
8231 #line 8232 "configure" | 8221 #line 8222 "configure" |
8232 #include "confdefs.h" | 8222 #include "confdefs.h" |
8233 #include <arpa/inet.h> | 8223 #include <arpa/inet.h> |
8234 EOF | 8224 EOF |
8235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8225 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; } | 8226 { (eval echo configure:8227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8237 ac_err=`grep -v '^ *+' conftest.out` | 8227 ac_err=`grep -v '^ *+' conftest.out` |
8238 if test -z "$ac_err"; then | 8228 if test -z "$ac_err"; then |
8239 rm -rf conftest* | 8229 rm -rf conftest* |
8240 eval "ac_cv_header_$ac_safe=yes" | 8230 eval "ac_cv_header_$ac_safe=yes" |
8241 else | 8231 else |
8256 #define HAVE_SOCKETS 1 | 8246 #define HAVE_SOCKETS 1 |
8257 EOF | 8247 EOF |
8258 } | 8248 } |
8259 | 8249 |
8260 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8250 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8261 echo "configure:8262: checking "for sun_len member in struct sockaddr_un"" >&5 | 8251 echo "configure:8252: checking "for sun_len member in struct sockaddr_un"" >&5 |
8262 cat > conftest.$ac_ext <<EOF | 8252 cat > conftest.$ac_ext <<EOF |
8263 #line 8264 "configure" | 8253 #line 8254 "configure" |
8264 #include "confdefs.h" | 8254 #include "confdefs.h" |
8265 | 8255 |
8266 #include <sys/types.h> | 8256 #include <sys/types.h> |
8267 #include <sys/socket.h> | 8257 #include <sys/socket.h> |
8268 #include <sys/un.h> | 8258 #include <sys/un.h> |
8269 | 8259 |
8270 int main() { | 8260 int main() { |
8271 static struct sockaddr_un x; x.sun_len = 1; | 8261 static struct sockaddr_un x; x.sun_len = 1; |
8272 ; return 0; } | 8262 ; return 0; } |
8273 EOF | 8263 EOF |
8274 if { (eval echo configure:8275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8264 if { (eval echo configure:8265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8275 rm -rf conftest* | 8265 rm -rf conftest* |
8276 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8266 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8277 Defining HAVE_SOCKADDR_SUN_LEN | 8267 Defining HAVE_SOCKADDR_SUN_LEN |
8278 EOF | 8268 EOF |
8279 cat >> confdefs.h <<\EOF | 8269 cat >> confdefs.h <<\EOF |
8300 echo "$ac_t""no" 1>&6 | 8290 echo "$ac_t""no" 1>&6 |
8301 fi | 8291 fi |
8302 | 8292 |
8303 | 8293 |
8304 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8294 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8305 echo "configure:8306: checking for msgget" >&5 | 8295 echo "configure:8296: checking for msgget" >&5 |
8306 | 8296 |
8307 cat > conftest.$ac_ext <<EOF | 8297 cat > conftest.$ac_ext <<EOF |
8308 #line 8309 "configure" | 8298 #line 8299 "configure" |
8309 #include "confdefs.h" | 8299 #include "confdefs.h" |
8310 /* System header to define __stub macros and hopefully few prototypes, | 8300 /* System header to define __stub macros and hopefully few prototypes, |
8311 which can conflict with char msgget(); below. */ | 8301 which can conflict with char msgget(); below. */ |
8312 #include <assert.h> | 8302 #include <assert.h> |
8313 /* Override any gcc2 internal prototype to avoid an error. */ | 8303 /* Override any gcc2 internal prototype to avoid an error. */ |
8326 msgget(); | 8316 msgget(); |
8327 #endif | 8317 #endif |
8328 | 8318 |
8329 ; return 0; } | 8319 ; return 0; } |
8330 EOF | 8320 EOF |
8331 if { (eval echo configure:8332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8332 rm -rf conftest* | 8322 rm -rf conftest* |
8333 eval "ac_cv_func_msgget=yes" | 8323 eval "ac_cv_func_msgget=yes" |
8334 else | 8324 else |
8335 echo "configure: failed program was:" >&5 | 8325 echo "configure: failed program was:" >&5 |
8336 cat conftest.$ac_ext >&5 | 8326 cat conftest.$ac_ext >&5 |
8341 | 8331 |
8342 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8332 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8343 echo "$ac_t""yes" 1>&6 | 8333 echo "$ac_t""yes" 1>&6 |
8344 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8334 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8345 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8335 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8346 echo "configure:8347: checking for sys/ipc.h" >&5 | 8336 echo "configure:8337: checking for sys/ipc.h" >&5 |
8347 | 8337 |
8348 cat > conftest.$ac_ext <<EOF | 8338 cat > conftest.$ac_ext <<EOF |
8349 #line 8350 "configure" | 8339 #line 8340 "configure" |
8350 #include "confdefs.h" | 8340 #include "confdefs.h" |
8351 #include <sys/ipc.h> | 8341 #include <sys/ipc.h> |
8352 EOF | 8342 EOF |
8353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8354 { (eval echo configure:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8344 { (eval echo configure:8345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8355 ac_err=`grep -v '^ *+' conftest.out` | 8345 ac_err=`grep -v '^ *+' conftest.out` |
8356 if test -z "$ac_err"; then | 8346 if test -z "$ac_err"; then |
8357 rm -rf conftest* | 8347 rm -rf conftest* |
8358 eval "ac_cv_header_$ac_safe=yes" | 8348 eval "ac_cv_header_$ac_safe=yes" |
8359 else | 8349 else |
8366 rm -f conftest* | 8356 rm -f conftest* |
8367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8368 echo "$ac_t""yes" 1>&6 | 8358 echo "$ac_t""yes" 1>&6 |
8369 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8359 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8370 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8360 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8371 echo "configure:8372: checking for sys/msg.h" >&5 | 8361 echo "configure:8362: checking for sys/msg.h" >&5 |
8372 | 8362 |
8373 cat > conftest.$ac_ext <<EOF | 8363 cat > conftest.$ac_ext <<EOF |
8374 #line 8375 "configure" | 8364 #line 8365 "configure" |
8375 #include "confdefs.h" | 8365 #include "confdefs.h" |
8376 #include <sys/msg.h> | 8366 #include <sys/msg.h> |
8377 EOF | 8367 EOF |
8378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8379 { (eval echo configure:8380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8369 { (eval echo configure:8370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8380 ac_err=`grep -v '^ *+' conftest.out` | 8370 ac_err=`grep -v '^ *+' conftest.out` |
8381 if test -z "$ac_err"; then | 8371 if test -z "$ac_err"; then |
8382 rm -rf conftest* | 8372 rm -rf conftest* |
8383 eval "ac_cv_header_$ac_safe=yes" | 8373 eval "ac_cv_header_$ac_safe=yes" |
8384 else | 8374 else |
8412 fi | 8402 fi |
8413 | 8403 |
8414 | 8404 |
8415 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8405 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8416 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8406 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8417 echo "configure:8418: checking for dirent.h" >&5 | 8407 echo "configure:8408: checking for dirent.h" >&5 |
8418 | 8408 |
8419 cat > conftest.$ac_ext <<EOF | 8409 cat > conftest.$ac_ext <<EOF |
8420 #line 8421 "configure" | 8410 #line 8411 "configure" |
8421 #include "confdefs.h" | 8411 #include "confdefs.h" |
8422 #include <dirent.h> | 8412 #include <dirent.h> |
8423 EOF | 8413 EOF |
8424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8425 { (eval echo configure:8426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8415 { (eval echo configure:8416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8426 ac_err=`grep -v '^ *+' conftest.out` | 8416 ac_err=`grep -v '^ *+' conftest.out` |
8427 if test -z "$ac_err"; then | 8417 if test -z "$ac_err"; then |
8428 rm -rf conftest* | 8418 rm -rf conftest* |
8429 eval "ac_cv_header_$ac_safe=yes" | 8419 eval "ac_cv_header_$ac_safe=yes" |
8430 else | 8420 else |
8447 | 8437 |
8448 else | 8438 else |
8449 echo "$ac_t""no" 1>&6 | 8439 echo "$ac_t""no" 1>&6 |
8450 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8440 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8451 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8441 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8452 echo "configure:8453: checking for sys/dir.h" >&5 | 8442 echo "configure:8443: checking for sys/dir.h" >&5 |
8453 | 8443 |
8454 cat > conftest.$ac_ext <<EOF | 8444 cat > conftest.$ac_ext <<EOF |
8455 #line 8456 "configure" | 8445 #line 8446 "configure" |
8456 #include "confdefs.h" | 8446 #include "confdefs.h" |
8457 #include <sys/dir.h> | 8447 #include <sys/dir.h> |
8458 EOF | 8448 EOF |
8459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8460 { (eval echo configure:8461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8450 { (eval echo configure:8451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8461 ac_err=`grep -v '^ *+' conftest.out` | 8451 ac_err=`grep -v '^ *+' conftest.out` |
8462 if test -z "$ac_err"; then | 8452 if test -z "$ac_err"; then |
8463 rm -rf conftest* | 8453 rm -rf conftest* |
8464 eval "ac_cv_header_$ac_safe=yes" | 8454 eval "ac_cv_header_$ac_safe=yes" |
8465 else | 8455 else |
8488 fi | 8478 fi |
8489 | 8479 |
8490 | 8480 |
8491 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8481 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8492 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8482 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8493 echo "configure:8494: checking for nlist.h" >&5 | 8483 echo "configure:8484: checking for nlist.h" >&5 |
8494 | 8484 |
8495 cat > conftest.$ac_ext <<EOF | 8485 cat > conftest.$ac_ext <<EOF |
8496 #line 8497 "configure" | 8486 #line 8487 "configure" |
8497 #include "confdefs.h" | 8487 #include "confdefs.h" |
8498 #include <nlist.h> | 8488 #include <nlist.h> |
8499 EOF | 8489 EOF |
8500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8501 { (eval echo configure:8502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8491 { (eval echo configure:8492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8502 ac_err=`grep -v '^ *+' conftest.out` | 8492 ac_err=`grep -v '^ *+' conftest.out` |
8503 if test -z "$ac_err"; then | 8493 if test -z "$ac_err"; then |
8504 rm -rf conftest* | 8494 rm -rf conftest* |
8505 eval "ac_cv_header_$ac_safe=yes" | 8495 eval "ac_cv_header_$ac_safe=yes" |
8506 else | 8496 else |
8600 | 8590 |
8601 | 8591 |
8602 | 8592 |
8603 | 8593 |
8604 echo "checking "for sound support"" 1>&6 | 8594 echo "checking "for sound support"" 1>&6 |
8605 echo "configure:8606: checking "for sound support"" >&5 | 8595 echo "configure:8596: checking "for sound support"" >&5 |
8606 case "$with_sound" in | 8596 case "$with_sound" in |
8607 native | both ) with_native_sound=yes;; | 8597 native | both ) with_native_sound=yes;; |
8608 nas | no ) with_native_sound=no;; | 8598 nas | no ) with_native_sound=no;; |
8609 esac | 8599 esac |
8610 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8600 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8611 | 8601 |
8612 if test "$with_native_sound" != "no"; then | 8602 if test "$with_native_sound" != "no"; then |
8613 if test -n "$native_sound_lib"; then | 8603 if test -n "$native_sound_lib"; then |
8614 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8604 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8615 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8605 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8616 echo "configure:8617: checking for multimedia/audio_device.h" >&5 | 8606 echo "configure:8607: checking for multimedia/audio_device.h" >&5 |
8617 | 8607 |
8618 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
8619 #line 8620 "configure" | 8609 #line 8610 "configure" |
8620 #include "confdefs.h" | 8610 #include "confdefs.h" |
8621 #include <multimedia/audio_device.h> | 8611 #include <multimedia/audio_device.h> |
8622 EOF | 8612 EOF |
8623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8624 { (eval echo configure:8625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8625 ac_err=`grep -v '^ *+' conftest.out` | 8615 ac_err=`grep -v '^ *+' conftest.out` |
8626 if test -z "$ac_err"; then | 8616 if test -z "$ac_err"; then |
8627 rm -rf conftest* | 8617 rm -rf conftest* |
8628 eval "ac_cv_header_$ac_safe=yes" | 8618 eval "ac_cv_header_$ac_safe=yes" |
8629 else | 8619 else |
8667 case "$canonical" in | 8657 case "$canonical" in |
8668 *-sgi-* ) | 8658 *-sgi-* ) |
8669 if test -z "$native_sound_lib"; then | 8659 if test -z "$native_sound_lib"; then |
8670 | 8660 |
8671 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8661 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
8672 echo "configure:8673: checking for ALopenport in -laudio" >&5 | 8662 echo "configure:8663: checking for ALopenport in -laudio" >&5 |
8673 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8663 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
8674 | 8664 |
8675 xe_check_libs=" -laudio " | 8665 xe_check_libs=" -laudio " |
8676 cat > conftest.$ac_ext <<EOF | 8666 cat > conftest.$ac_ext <<EOF |
8677 #line 8678 "configure" | 8667 #line 8668 "configure" |
8678 #include "confdefs.h" | 8668 #include "confdefs.h" |
8679 /* Override any gcc2 internal prototype to avoid an error. */ | 8669 /* Override any gcc2 internal prototype to avoid an error. */ |
8680 /* We use char because int might match the return type of a gcc2 | 8670 /* We use char because int might match the return type of a gcc2 |
8681 builtin and then its argument prototype would still apply. */ | 8671 builtin and then its argument prototype would still apply. */ |
8682 char ALopenport(); | 8672 char ALopenport(); |
8683 | 8673 |
8684 int main() { | 8674 int main() { |
8685 ALopenport() | 8675 ALopenport() |
8686 ; return 0; } | 8676 ; return 0; } |
8687 EOF | 8677 EOF |
8688 if { (eval echo configure:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8678 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8689 rm -rf conftest* | 8679 rm -rf conftest* |
8690 eval "ac_cv_lib_$ac_lib_var=yes" | 8680 eval "ac_cv_lib_$ac_lib_var=yes" |
8691 else | 8681 else |
8692 echo "configure: failed program was:" >&5 | 8682 echo "configure: failed program was:" >&5 |
8693 cat conftest.$ac_ext >&5 | 8683 cat conftest.$ac_ext >&5 |
8714 fi ;; | 8704 fi ;; |
8715 hppa*-hp-hpux* ) | 8705 hppa*-hp-hpux* ) |
8716 if test -z "$native_sound_lib"; then | 8706 if test -z "$native_sound_lib"; then |
8717 | 8707 |
8718 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8708 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
8719 echo "configure:8720: checking for AOpenAudio in -lAlib" >&5 | 8709 echo "configure:8710: checking for AOpenAudio in -lAlib" >&5 |
8720 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8710 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
8721 | 8711 |
8722 xe_check_libs=" -lAlib " | 8712 xe_check_libs=" -lAlib " |
8723 cat > conftest.$ac_ext <<EOF | 8713 cat > conftest.$ac_ext <<EOF |
8724 #line 8725 "configure" | 8714 #line 8715 "configure" |
8725 #include "confdefs.h" | 8715 #include "confdefs.h" |
8726 /* Override any gcc2 internal prototype to avoid an error. */ | 8716 /* Override any gcc2 internal prototype to avoid an error. */ |
8727 /* We use char because int might match the return type of a gcc2 | 8717 /* We use char because int might match the return type of a gcc2 |
8728 builtin and then its argument prototype would still apply. */ | 8718 builtin and then its argument prototype would still apply. */ |
8729 char AOpenAudio(); | 8719 char AOpenAudio(); |
8730 | 8720 |
8731 int main() { | 8721 int main() { |
8732 AOpenAudio() | 8722 AOpenAudio() |
8733 ; return 0; } | 8723 ; return 0; } |
8734 EOF | 8724 EOF |
8735 if { (eval echo configure:8736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8725 if { (eval echo configure:8726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8736 rm -rf conftest* | 8726 rm -rf conftest* |
8737 eval "ac_cv_lib_$ac_lib_var=yes" | 8727 eval "ac_cv_lib_$ac_lib_var=yes" |
8738 else | 8728 else |
8739 echo "configure: failed program was:" >&5 | 8729 echo "configure: failed program was:" >&5 |
8740 cat conftest.$ac_ext >&5 | 8730 cat conftest.$ac_ext >&5 |
8756 if test -n "$native_sound_lib"; then | 8746 if test -n "$native_sound_lib"; then |
8757 sound_found=yes | 8747 sound_found=yes |
8758 extra_objs="$extra_objs hpplay.o" && if test "$extra_verbose" = "yes"; then | 8748 extra_objs="$extra_objs hpplay.o" && if test "$extra_verbose" = "yes"; then |
8759 echo " xemacs will be linked with \"hpplay.o\"" | 8749 echo " xemacs will be linked with \"hpplay.o\"" |
8760 fi | 8750 fi |
8761 if test "$with_gcc" = "yes" # Kludge city | 8751 if test "$GCC" = "yes" # Kludge city |
8762 then sound_cflags="-Dconst= -Dvolatile= -I/usr/audio/examples" | 8752 then sound_cflags="-Dconst= -Dvolatile= -I/usr/audio/examples" |
8763 else sound_cflags="+e -I/usr/audio/examples" | 8753 else sound_cflags="+e -I/usr/audio/examples" |
8764 fi | 8754 fi |
8765 fi ;; | 8755 fi ;; |
8766 esac | 8756 esac |
8768 | 8758 |
8769 if test -z "$sound_found"; then | 8759 if test -z "$sound_found"; then |
8770 for dir in "machine" "sys" "linux"; do | 8760 for dir in "machine" "sys" "linux"; do |
8771 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8761 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
8772 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8762 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
8773 echo "configure:8774: checking for ${dir}/soundcard.h" >&5 | 8763 echo "configure:8764: checking for ${dir}/soundcard.h" >&5 |
8774 | 8764 |
8775 cat > conftest.$ac_ext <<EOF | 8765 cat > conftest.$ac_ext <<EOF |
8776 #line 8777 "configure" | 8766 #line 8767 "configure" |
8777 #include "confdefs.h" | 8767 #include "confdefs.h" |
8778 #include <${dir}/soundcard.h> | 8768 #include <${dir}/soundcard.h> |
8779 EOF | 8769 EOF |
8780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8781 { (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8771 { (eval echo configure:8772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8782 ac_err=`grep -v '^ *+' conftest.out` | 8772 ac_err=`grep -v '^ *+' conftest.out` |
8783 if test -z "$ac_err"; then | 8773 if test -z "$ac_err"; then |
8784 rm -rf conftest* | 8774 rm -rf conftest* |
8785 eval "ac_cv_header_$ac_safe=yes" | 8775 eval "ac_cv_header_$ac_safe=yes" |
8786 else | 8776 else |
8846 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8836 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
8847 echo " xemacs will be linked with \"nas.o\"" | 8837 echo " xemacs will be linked with \"nas.o\"" |
8848 fi | 8838 fi |
8849 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi | 8839 LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi |
8850 cat > conftest.$ac_ext <<EOF | 8840 cat > conftest.$ac_ext <<EOF |
8851 #line 8852 "configure" | 8841 #line 8842 "configure" |
8852 #include "confdefs.h" | 8842 #include "confdefs.h" |
8853 #include <audio/Xtutil.h> | 8843 #include <audio/Xtutil.h> |
8854 EOF | 8844 EOF |
8855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8856 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 8846 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
8873 | 8863 |
8874 test -z "$with_tty" && with_tty=yes | 8864 test -z "$with_tty" && with_tty=yes |
8875 | 8865 |
8876 if test "$with_tty" = "yes" ; then | 8866 if test "$with_tty" = "yes" ; then |
8877 echo "checking for TTY-related features" 1>&6 | 8867 echo "checking for TTY-related features" 1>&6 |
8878 echo "configure:8879: checking for TTY-related features" >&5 | 8868 echo "configure:8869: checking for TTY-related features" >&5 |
8879 { test "$extra_verbose" = "yes" && cat << \EOF | 8869 { test "$extra_verbose" = "yes" && cat << \EOF |
8880 Defining HAVE_TTY | 8870 Defining HAVE_TTY |
8881 EOF | 8871 EOF |
8882 cat >> confdefs.h <<\EOF | 8872 cat >> confdefs.h <<\EOF |
8883 #define HAVE_TTY 1 | 8873 #define HAVE_TTY 1 |
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\"" | 8878 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\"" |
8889 fi | 8879 fi |
8890 | 8880 |
8891 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8881 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8892 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8882 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8893 echo "configure:8894: checking for termios.h" >&5 | 8883 echo "configure:8884: checking for termios.h" >&5 |
8894 | 8884 |
8895 cat > conftest.$ac_ext <<EOF | 8885 cat > conftest.$ac_ext <<EOF |
8896 #line 8897 "configure" | 8886 #line 8887 "configure" |
8897 #include "confdefs.h" | 8887 #include "confdefs.h" |
8898 #include <termios.h> | 8888 #include <termios.h> |
8899 EOF | 8889 EOF |
8900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8901 { (eval echo configure:8902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8891 { (eval echo configure:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8902 ac_err=`grep -v '^ *+' conftest.out` | 8892 ac_err=`grep -v '^ *+' conftest.out` |
8903 if test -z "$ac_err"; then | 8893 if test -z "$ac_err"; then |
8904 rm -rf conftest* | 8894 rm -rf conftest* |
8905 eval "ac_cv_header_$ac_safe=yes" | 8895 eval "ac_cv_header_$ac_safe=yes" |
8906 else | 8896 else |
8923 | 8913 |
8924 else | 8914 else |
8925 echo "$ac_t""no" 1>&6 | 8915 echo "$ac_t""no" 1>&6 |
8926 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8916 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8927 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8917 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8928 echo "configure:8929: checking for termio.h" >&5 | 8918 echo "configure:8919: checking for termio.h" >&5 |
8929 | 8919 |
8930 cat > conftest.$ac_ext <<EOF | 8920 cat > conftest.$ac_ext <<EOF |
8931 #line 8932 "configure" | 8921 #line 8922 "configure" |
8932 #include "confdefs.h" | 8922 #include "confdefs.h" |
8933 #include <termio.h> | 8923 #include <termio.h> |
8934 EOF | 8924 EOF |
8935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8936 { (eval echo configure:8937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8926 { (eval echo configure:8927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8937 ac_err=`grep -v '^ *+' conftest.out` | 8927 ac_err=`grep -v '^ *+' conftest.out` |
8938 if test -z "$ac_err"; then | 8928 if test -z "$ac_err"; then |
8939 rm -rf conftest* | 8929 rm -rf conftest* |
8940 eval "ac_cv_header_$ac_safe=yes" | 8930 eval "ac_cv_header_$ac_safe=yes" |
8941 else | 8931 else |
8964 | 8954 |
8965 | 8955 |
8966 if test -z "$with_ncurses"; then | 8956 if test -z "$with_ncurses"; then |
8967 | 8957 |
8968 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 8958 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
8969 echo "configure:8970: checking for tgetent in -lncurses" >&5 | 8959 echo "configure:8960: checking for tgetent in -lncurses" >&5 |
8970 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 8960 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
8971 | 8961 |
8972 xe_check_libs=" -lncurses " | 8962 xe_check_libs=" -lncurses " |
8973 cat > conftest.$ac_ext <<EOF | 8963 cat > conftest.$ac_ext <<EOF |
8974 #line 8975 "configure" | 8964 #line 8965 "configure" |
8975 #include "confdefs.h" | 8965 #include "confdefs.h" |
8976 /* Override any gcc2 internal prototype to avoid an error. */ | 8966 /* Override any gcc2 internal prototype to avoid an error. */ |
8977 /* We use char because int might match the return type of a gcc2 | 8967 /* We use char because int might match the return type of a gcc2 |
8978 builtin and then its argument prototype would still apply. */ | 8968 builtin and then its argument prototype would still apply. */ |
8979 char tgetent(); | 8969 char tgetent(); |
8980 | 8970 |
8981 int main() { | 8971 int main() { |
8982 tgetent() | 8972 tgetent() |
8983 ; return 0; } | 8973 ; return 0; } |
8984 EOF | 8974 EOF |
8985 if { (eval echo configure:8986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8975 if { (eval echo configure:8976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8986 rm -rf conftest* | 8976 rm -rf conftest* |
8987 eval "ac_cv_lib_$ac_lib_var=yes" | 8977 eval "ac_cv_lib_$ac_lib_var=yes" |
8988 else | 8978 else |
8989 echo "configure: failed program was:" >&5 | 8979 echo "configure: failed program was:" >&5 |
8990 cat conftest.$ac_ext >&5 | 8980 cat conftest.$ac_ext >&5 |
9013 EOF | 9003 EOF |
9014 } | 9004 } |
9015 | 9005 |
9016 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9006 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9017 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9007 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9018 echo "configure:9019: checking for ncurses/curses.h" >&5 | 9008 echo "configure:9009: checking for ncurses/curses.h" >&5 |
9019 | 9009 |
9020 cat > conftest.$ac_ext <<EOF | 9010 cat > conftest.$ac_ext <<EOF |
9021 #line 9022 "configure" | 9011 #line 9012 "configure" |
9022 #include "confdefs.h" | 9012 #include "confdefs.h" |
9023 #include <ncurses/curses.h> | 9013 #include <ncurses/curses.h> |
9024 EOF | 9014 EOF |
9025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9026 { (eval echo configure:9027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9016 { (eval echo configure:9017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9027 ac_err=`grep -v '^ *+' conftest.out` | 9017 ac_err=`grep -v '^ *+' conftest.out` |
9028 if test -z "$ac_err"; then | 9018 if test -z "$ac_err"; then |
9029 rm -rf conftest* | 9019 rm -rf conftest* |
9030 eval "ac_cv_header_$ac_safe=yes" | 9020 eval "ac_cv_header_$ac_safe=yes" |
9031 else | 9021 else |
9043 echo "$ac_t""no" 1>&6 | 9033 echo "$ac_t""no" 1>&6 |
9044 fi | 9034 fi |
9045 | 9035 |
9046 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9036 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9047 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9037 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9048 echo "configure:9049: checking for ncurses/term.h" >&5 | 9038 echo "configure:9039: checking for ncurses/term.h" >&5 |
9049 | 9039 |
9050 cat > conftest.$ac_ext <<EOF | 9040 cat > conftest.$ac_ext <<EOF |
9051 #line 9052 "configure" | 9041 #line 9042 "configure" |
9052 #include "confdefs.h" | 9042 #include "confdefs.h" |
9053 #include <ncurses/term.h> | 9043 #include <ncurses/term.h> |
9054 EOF | 9044 EOF |
9055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9056 { (eval echo configure:9057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9046 { (eval echo configure:9047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9057 ac_err=`grep -v '^ *+' conftest.out` | 9047 ac_err=`grep -v '^ *+' conftest.out` |
9058 if test -z "$ac_err"; then | 9048 if test -z "$ac_err"; then |
9059 rm -rf conftest* | 9049 rm -rf conftest* |
9060 eval "ac_cv_header_$ac_safe=yes" | 9050 eval "ac_cv_header_$ac_safe=yes" |
9061 else | 9051 else |
9081 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9071 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9082 save_c_switch_site="$c_switch_site" | 9072 save_c_switch_site="$c_switch_site" |
9083 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9073 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9084 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9074 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9085 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9075 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9086 echo "configure:9087: checking for ncurses/curses.h" >&5 | 9076 echo "configure:9077: checking for ncurses/curses.h" >&5 |
9087 | 9077 |
9088 cat > conftest.$ac_ext <<EOF | 9078 cat > conftest.$ac_ext <<EOF |
9089 #line 9090 "configure" | 9079 #line 9080 "configure" |
9090 #include "confdefs.h" | 9080 #include "confdefs.h" |
9091 #include <ncurses/curses.h> | 9081 #include <ncurses/curses.h> |
9092 EOF | 9082 EOF |
9093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9094 { (eval echo configure:9095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9084 { (eval echo configure:9085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9095 ac_err=`grep -v '^ *+' conftest.out` | 9085 ac_err=`grep -v '^ *+' conftest.out` |
9096 if test -z "$ac_err"; then | 9086 if test -z "$ac_err"; then |
9097 rm -rf conftest* | 9087 rm -rf conftest* |
9098 eval "ac_cv_header_$ac_safe=yes" | 9088 eval "ac_cv_header_$ac_safe=yes" |
9099 else | 9089 else |
9124 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9114 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9125 else | 9115 else |
9126 for lib in curses termlib termcap; do | 9116 for lib in curses termlib termcap; do |
9127 | 9117 |
9128 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9118 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9129 echo "configure:9130: checking for tgetent in -l$lib" >&5 | 9119 echo "configure:9120: checking for tgetent in -l$lib" >&5 |
9130 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9120 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9131 | 9121 |
9132 xe_check_libs=" -l$lib " | 9122 xe_check_libs=" -l$lib " |
9133 cat > conftest.$ac_ext <<EOF | 9123 cat > conftest.$ac_ext <<EOF |
9134 #line 9135 "configure" | 9124 #line 9125 "configure" |
9135 #include "confdefs.h" | 9125 #include "confdefs.h" |
9136 /* Override any gcc2 internal prototype to avoid an error. */ | 9126 /* Override any gcc2 internal prototype to avoid an error. */ |
9137 /* We use char because int might match the return type of a gcc2 | 9127 /* We use char because int might match the return type of a gcc2 |
9138 builtin and then its argument prototype would still apply. */ | 9128 builtin and then its argument prototype would still apply. */ |
9139 char tgetent(); | 9129 char tgetent(); |
9140 | 9130 |
9141 int main() { | 9131 int main() { |
9142 tgetent() | 9132 tgetent() |
9143 ; return 0; } | 9133 ; return 0; } |
9144 EOF | 9134 EOF |
9145 if { (eval echo configure:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9135 if { (eval echo configure:9136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9146 rm -rf conftest* | 9136 rm -rf conftest* |
9147 eval "ac_cv_lib_$ac_lib_var=yes" | 9137 eval "ac_cv_lib_$ac_lib_var=yes" |
9148 else | 9138 else |
9149 echo "configure: failed program was:" >&5 | 9139 echo "configure: failed program was:" >&5 |
9150 cat conftest.$ac_ext >&5 | 9140 cat conftest.$ac_ext >&5 |
9171 if test -n "$libs_termcap"; then | 9161 if test -n "$libs_termcap"; then |
9172 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9162 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9173 else | 9163 else |
9174 | 9164 |
9175 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9165 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9176 echo "configure:9177: checking for tgetent in -lcurses" >&5 | 9166 echo "configure:9167: checking for tgetent in -lcurses" >&5 |
9177 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9167 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9178 | 9168 |
9179 xe_check_libs=" -lcurses " | 9169 xe_check_libs=" -lcurses " |
9180 cat > conftest.$ac_ext <<EOF | 9170 cat > conftest.$ac_ext <<EOF |
9181 #line 9182 "configure" | 9171 #line 9172 "configure" |
9182 #include "confdefs.h" | 9172 #include "confdefs.h" |
9183 /* Override any gcc2 internal prototype to avoid an error. */ | 9173 /* Override any gcc2 internal prototype to avoid an error. */ |
9184 /* We use char because int might match the return type of a gcc2 | 9174 /* We use char because int might match the return type of a gcc2 |
9185 builtin and then its argument prototype would still apply. */ | 9175 builtin and then its argument prototype would still apply. */ |
9186 char tgetent(); | 9176 char tgetent(); |
9187 | 9177 |
9188 int main() { | 9178 int main() { |
9189 tgetent() | 9179 tgetent() |
9190 ; return 0; } | 9180 ; return 0; } |
9191 EOF | 9181 EOF |
9192 if { (eval echo configure:9193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9182 if { (eval echo configure:9183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9193 rm -rf conftest* | 9183 rm -rf conftest* |
9194 eval "ac_cv_lib_$ac_lib_var=yes" | 9184 eval "ac_cv_lib_$ac_lib_var=yes" |
9195 else | 9185 else |
9196 echo "configure: failed program was:" >&5 | 9186 echo "configure: failed program was:" >&5 |
9197 cat conftest.$ac_ext >&5 | 9187 cat conftest.$ac_ext >&5 |
9205 echo "$ac_t""yes" 1>&6 | 9195 echo "$ac_t""yes" 1>&6 |
9206 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9196 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9207 else | 9197 else |
9208 echo "$ac_t""no" 1>&6 | 9198 echo "$ac_t""no" 1>&6 |
9209 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9199 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9210 echo "configure:9211: checking for tgetent in -ltermcap" >&5 | 9200 echo "configure:9201: checking for tgetent in -ltermcap" >&5 |
9211 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9201 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9212 | 9202 |
9213 xe_check_libs=" -ltermcap " | 9203 xe_check_libs=" -ltermcap " |
9214 cat > conftest.$ac_ext <<EOF | 9204 cat > conftest.$ac_ext <<EOF |
9215 #line 9216 "configure" | 9205 #line 9206 "configure" |
9216 #include "confdefs.h" | 9206 #include "confdefs.h" |
9217 /* Override any gcc2 internal prototype to avoid an error. */ | 9207 /* Override any gcc2 internal prototype to avoid an error. */ |
9218 /* We use char because int might match the return type of a gcc2 | 9208 /* We use char because int might match the return type of a gcc2 |
9219 builtin and then its argument prototype would still apply. */ | 9209 builtin and then its argument prototype would still apply. */ |
9220 char tgetent(); | 9210 char tgetent(); |
9221 | 9211 |
9222 int main() { | 9212 int main() { |
9223 tgetent() | 9213 tgetent() |
9224 ; return 0; } | 9214 ; return 0; } |
9225 EOF | 9215 EOF |
9226 if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9227 rm -rf conftest* | 9217 rm -rf conftest* |
9228 eval "ac_cv_lib_$ac_lib_var=yes" | 9218 eval "ac_cv_lib_$ac_lib_var=yes" |
9229 else | 9219 else |
9230 echo "configure: failed program was:" >&5 | 9220 echo "configure: failed program was:" >&5 |
9231 cat conftest.$ac_ext >&5 | 9221 cat conftest.$ac_ext >&5 |
9269 } | 9259 } |
9270 | 9260 |
9271 | 9261 |
9272 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9262 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9273 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9263 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9274 echo "configure:9275: checking for gpm.h" >&5 | 9264 echo "configure:9265: checking for gpm.h" >&5 |
9275 | 9265 |
9276 cat > conftest.$ac_ext <<EOF | 9266 cat > conftest.$ac_ext <<EOF |
9277 #line 9278 "configure" | 9267 #line 9268 "configure" |
9278 #include "confdefs.h" | 9268 #include "confdefs.h" |
9279 #include <gpm.h> | 9269 #include <gpm.h> |
9280 EOF | 9270 EOF |
9281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9282 { (eval echo configure:9283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9272 { (eval echo configure:9273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9283 ac_err=`grep -v '^ *+' conftest.out` | 9273 ac_err=`grep -v '^ *+' conftest.out` |
9284 if test -z "$ac_err"; then | 9274 if test -z "$ac_err"; then |
9285 rm -rf conftest* | 9275 rm -rf conftest* |
9286 eval "ac_cv_header_$ac_safe=yes" | 9276 eval "ac_cv_header_$ac_safe=yes" |
9287 else | 9277 else |
9300 with_gpm=no | 9290 with_gpm=no |
9301 fi | 9291 fi |
9302 } | 9292 } |
9303 test -z "$with_gpm" && { | 9293 test -z "$with_gpm" && { |
9304 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9294 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9305 echo "configure:9306: checking for Gpm_Open in -lgpm" >&5 | 9295 echo "configure:9296: checking for Gpm_Open in -lgpm" >&5 |
9306 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9296 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9307 | 9297 |
9308 xe_check_libs=" -lgpm " | 9298 xe_check_libs=" -lgpm " |
9309 cat > conftest.$ac_ext <<EOF | 9299 cat > conftest.$ac_ext <<EOF |
9310 #line 9311 "configure" | 9300 #line 9301 "configure" |
9311 #include "confdefs.h" | 9301 #include "confdefs.h" |
9312 /* Override any gcc2 internal prototype to avoid an error. */ | 9302 /* Override any gcc2 internal prototype to avoid an error. */ |
9313 /* We use char because int might match the return type of a gcc2 | 9303 /* We use char because int might match the return type of a gcc2 |
9314 builtin and then its argument prototype would still apply. */ | 9304 builtin and then its argument prototype would still apply. */ |
9315 char Gpm_Open(); | 9305 char Gpm_Open(); |
9316 | 9306 |
9317 int main() { | 9307 int main() { |
9318 Gpm_Open() | 9308 Gpm_Open() |
9319 ; return 0; } | 9309 ; return 0; } |
9320 EOF | 9310 EOF |
9321 if { (eval echo configure:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9311 if { (eval echo configure:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9322 rm -rf conftest* | 9312 rm -rf conftest* |
9323 eval "ac_cv_lib_$ac_lib_var=yes" | 9313 eval "ac_cv_lib_$ac_lib_var=yes" |
9324 else | 9314 else |
9325 echo "configure: failed program was:" >&5 | 9315 echo "configure: failed program was:" >&5 |
9326 cat conftest.$ac_ext >&5 | 9316 cat conftest.$ac_ext >&5 |
9365 echo " xemacs will be linked with \"event-unixoid.o\"" | 9355 echo " xemacs will be linked with \"event-unixoid.o\"" |
9366 fi | 9356 fi |
9367 | 9357 |
9368 | 9358 |
9369 echo "checking for database support" 1>&6 | 9359 echo "checking for database support" 1>&6 |
9370 echo "configure:9371: checking for database support" >&5 | 9360 echo "configure:9361: checking for database support" >&5 |
9371 | 9361 |
9372 if test "$with_database_gnudbm" != "no"; then | 9362 if test "$with_database_gnudbm" != "no"; then |
9373 | 9363 |
9374 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9364 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9375 echo "configure:9376: checking for dbm_open in -lgdbm" >&5 | 9365 echo "configure:9366: checking for dbm_open in -lgdbm" >&5 |
9376 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9366 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9377 | 9367 |
9378 xe_check_libs=" -lgdbm " | 9368 xe_check_libs=" -lgdbm " |
9379 cat > conftest.$ac_ext <<EOF | 9369 cat > conftest.$ac_ext <<EOF |
9380 #line 9381 "configure" | 9370 #line 9371 "configure" |
9381 #include "confdefs.h" | 9371 #include "confdefs.h" |
9382 /* Override any gcc2 internal prototype to avoid an error. */ | 9372 /* Override any gcc2 internal prototype to avoid an error. */ |
9383 /* We use char because int might match the return type of a gcc2 | 9373 /* We use char because int might match the return type of a gcc2 |
9384 builtin and then its argument prototype would still apply. */ | 9374 builtin and then its argument prototype would still apply. */ |
9385 char dbm_open(); | 9375 char dbm_open(); |
9386 | 9376 |
9387 int main() { | 9377 int main() { |
9388 dbm_open() | 9378 dbm_open() |
9389 ; return 0; } | 9379 ; return 0; } |
9390 EOF | 9380 EOF |
9391 if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9392 rm -rf conftest* | 9382 rm -rf conftest* |
9393 eval "ac_cv_lib_$ac_lib_var=yes" | 9383 eval "ac_cv_lib_$ac_lib_var=yes" |
9394 else | 9384 else |
9395 echo "configure: failed program was:" >&5 | 9385 echo "configure: failed program was:" >&5 |
9396 cat conftest.$ac_ext >&5 | 9386 cat conftest.$ac_ext >&5 |
9408 fi | 9398 fi |
9409 | 9399 |
9410 | 9400 |
9411 if test "$with_database_gnudbm" != "yes"; then | 9401 if test "$with_database_gnudbm" != "yes"; then |
9412 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9402 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9413 echo "configure:9414: checking for dbm_open" >&5 | 9403 echo "configure:9404: checking for dbm_open" >&5 |
9414 | 9404 |
9415 cat > conftest.$ac_ext <<EOF | 9405 cat > conftest.$ac_ext <<EOF |
9416 #line 9417 "configure" | 9406 #line 9407 "configure" |
9417 #include "confdefs.h" | 9407 #include "confdefs.h" |
9418 /* System header to define __stub macros and hopefully few prototypes, | 9408 /* System header to define __stub macros and hopefully few prototypes, |
9419 which can conflict with char dbm_open(); below. */ | 9409 which can conflict with char dbm_open(); below. */ |
9420 #include <assert.h> | 9410 #include <assert.h> |
9421 /* Override any gcc2 internal prototype to avoid an error. */ | 9411 /* Override any gcc2 internal prototype to avoid an error. */ |
9434 dbm_open(); | 9424 dbm_open(); |
9435 #endif | 9425 #endif |
9436 | 9426 |
9437 ; return 0; } | 9427 ; return 0; } |
9438 EOF | 9428 EOF |
9439 if { (eval echo configure:9440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9429 if { (eval echo configure:9430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9440 rm -rf conftest* | 9430 rm -rf conftest* |
9441 eval "ac_cv_func_dbm_open=yes" | 9431 eval "ac_cv_func_dbm_open=yes" |
9442 else | 9432 else |
9443 echo "configure: failed program was:" >&5 | 9433 echo "configure: failed program was:" >&5 |
9444 cat conftest.$ac_ext >&5 | 9434 cat conftest.$ac_ext >&5 |
9470 fi | 9460 fi |
9471 fi | 9461 fi |
9472 | 9462 |
9473 if test "$with_database_dbm" != "no"; then | 9463 if test "$with_database_dbm" != "no"; then |
9474 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9464 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9475 echo "configure:9476: checking for dbm_open" >&5 | 9465 echo "configure:9466: checking for dbm_open" >&5 |
9476 | 9466 |
9477 cat > conftest.$ac_ext <<EOF | 9467 cat > conftest.$ac_ext <<EOF |
9478 #line 9479 "configure" | 9468 #line 9469 "configure" |
9479 #include "confdefs.h" | 9469 #include "confdefs.h" |
9480 /* System header to define __stub macros and hopefully few prototypes, | 9470 /* System header to define __stub macros and hopefully few prototypes, |
9481 which can conflict with char dbm_open(); below. */ | 9471 which can conflict with char dbm_open(); below. */ |
9482 #include <assert.h> | 9472 #include <assert.h> |
9483 /* Override any gcc2 internal prototype to avoid an error. */ | 9473 /* Override any gcc2 internal prototype to avoid an error. */ |
9496 dbm_open(); | 9486 dbm_open(); |
9497 #endif | 9487 #endif |
9498 | 9488 |
9499 ; return 0; } | 9489 ; return 0; } |
9500 EOF | 9490 EOF |
9501 if { (eval echo configure:9502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9491 if { (eval echo configure:9492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9502 rm -rf conftest* | 9492 rm -rf conftest* |
9503 eval "ac_cv_func_dbm_open=yes" | 9493 eval "ac_cv_func_dbm_open=yes" |
9504 else | 9494 else |
9505 echo "configure: failed program was:" >&5 | 9495 echo "configure: failed program was:" >&5 |
9506 cat conftest.$ac_ext >&5 | 9496 cat conftest.$ac_ext >&5 |
9517 fi | 9507 fi |
9518 | 9508 |
9519 if test "$need_libdbm" != "no"; then | 9509 if test "$need_libdbm" != "no"; then |
9520 | 9510 |
9521 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9511 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9522 echo "configure:9523: checking for dbm_open in -ldbm" >&5 | 9512 echo "configure:9513: checking for dbm_open in -ldbm" >&5 |
9523 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9513 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9524 | 9514 |
9525 xe_check_libs=" -ldbm " | 9515 xe_check_libs=" -ldbm " |
9526 cat > conftest.$ac_ext <<EOF | 9516 cat > conftest.$ac_ext <<EOF |
9527 #line 9528 "configure" | 9517 #line 9518 "configure" |
9528 #include "confdefs.h" | 9518 #include "confdefs.h" |
9529 /* Override any gcc2 internal prototype to avoid an error. */ | 9519 /* Override any gcc2 internal prototype to avoid an error. */ |
9530 /* We use char because int might match the return type of a gcc2 | 9520 /* We use char because int might match the return type of a gcc2 |
9531 builtin and then its argument prototype would still apply. */ | 9521 builtin and then its argument prototype would still apply. */ |
9532 char dbm_open(); | 9522 char dbm_open(); |
9533 | 9523 |
9534 int main() { | 9524 int main() { |
9535 dbm_open() | 9525 dbm_open() |
9536 ; return 0; } | 9526 ; return 0; } |
9537 EOF | 9527 EOF |
9538 if { (eval echo configure:9539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9528 if { (eval echo configure:9529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9539 rm -rf conftest* | 9529 rm -rf conftest* |
9540 eval "ac_cv_lib_$ac_lib_var=yes" | 9530 eval "ac_cv_lib_$ac_lib_var=yes" |
9541 else | 9531 else |
9542 echo "configure: failed program was:" >&5 | 9532 echo "configure: failed program was:" >&5 |
9543 cat conftest.$ac_ext >&5 | 9533 cat conftest.$ac_ext >&5 |
9570 fi | 9560 fi |
9571 fi | 9561 fi |
9572 | 9562 |
9573 if test "$with_database_berkdb" != "no"; then | 9563 if test "$with_database_berkdb" != "no"; then |
9574 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9564 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9575 echo "configure:9576: checking for dbopen" >&5 | 9565 echo "configure:9566: checking for dbopen" >&5 |
9576 | 9566 |
9577 cat > conftest.$ac_ext <<EOF | 9567 cat > conftest.$ac_ext <<EOF |
9578 #line 9579 "configure" | 9568 #line 9569 "configure" |
9579 #include "confdefs.h" | 9569 #include "confdefs.h" |
9580 /* System header to define __stub macros and hopefully few prototypes, | 9570 /* System header to define __stub macros and hopefully few prototypes, |
9581 which can conflict with char dbopen(); below. */ | 9571 which can conflict with char dbopen(); below. */ |
9582 #include <assert.h> | 9572 #include <assert.h> |
9583 /* Override any gcc2 internal prototype to avoid an error. */ | 9573 /* Override any gcc2 internal prototype to avoid an error. */ |
9596 dbopen(); | 9586 dbopen(); |
9597 #endif | 9587 #endif |
9598 | 9588 |
9599 ; return 0; } | 9589 ; return 0; } |
9600 EOF | 9590 EOF |
9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9591 if { (eval echo configure:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9602 rm -rf conftest* | 9592 rm -rf conftest* |
9603 eval "ac_cv_func_dbopen=yes" | 9593 eval "ac_cv_func_dbopen=yes" |
9604 else | 9594 else |
9605 echo "configure: failed program was:" >&5 | 9595 echo "configure: failed program was:" >&5 |
9606 cat conftest.$ac_ext >&5 | 9596 cat conftest.$ac_ext >&5 |
9617 fi | 9607 fi |
9618 | 9608 |
9619 if test "$need_libdb" != "no"; then | 9609 if test "$need_libdb" != "no"; then |
9620 | 9610 |
9621 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9611 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9622 echo "configure:9623: checking for dbopen in -ldb" >&5 | 9612 echo "configure:9613: checking for dbopen in -ldb" >&5 |
9623 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9613 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9624 | 9614 |
9625 xe_check_libs=" -ldb " | 9615 xe_check_libs=" -ldb " |
9626 cat > conftest.$ac_ext <<EOF | 9616 cat > conftest.$ac_ext <<EOF |
9627 #line 9628 "configure" | 9617 #line 9618 "configure" |
9628 #include "confdefs.h" | 9618 #include "confdefs.h" |
9629 /* Override any gcc2 internal prototype to avoid an error. */ | 9619 /* Override any gcc2 internal prototype to avoid an error. */ |
9630 /* We use char because int might match the return type of a gcc2 | 9620 /* We use char because int might match the return type of a gcc2 |
9631 builtin and then its argument prototype would still apply. */ | 9621 builtin and then its argument prototype would still apply. */ |
9632 char dbopen(); | 9622 char dbopen(); |
9633 | 9623 |
9634 int main() { | 9624 int main() { |
9635 dbopen() | 9625 dbopen() |
9636 ; return 0; } | 9626 ; return 0; } |
9637 EOF | 9627 EOF |
9638 if { (eval echo configure:9639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9628 if { (eval echo configure:9629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9639 rm -rf conftest* | 9629 rm -rf conftest* |
9640 eval "ac_cv_lib_$ac_lib_var=yes" | 9630 eval "ac_cv_lib_$ac_lib_var=yes" |
9641 else | 9631 else |
9642 echo "configure: failed program was:" >&5 | 9632 echo "configure: failed program was:" >&5 |
9643 cat conftest.$ac_ext >&5 | 9633 cat conftest.$ac_ext >&5 |
9657 | 9647 |
9658 fi | 9648 fi |
9659 if test "$with_database_berkdb" = "yes"; then | 9649 if test "$with_database_berkdb" = "yes"; then |
9660 for path in "db/db.h" "db.h"; do | 9650 for path in "db/db.h" "db.h"; do |
9661 cat > conftest.$ac_ext <<EOF | 9651 cat > conftest.$ac_ext <<EOF |
9662 #line 9663 "configure" | 9652 #line 9653 "configure" |
9663 #include "confdefs.h" | 9653 #include "confdefs.h" |
9664 #ifdef HAVE_INTTYPES_H | 9654 #ifdef HAVE_INTTYPES_H |
9665 #define __BIT_TYPES_DEFINED__ | 9655 #define __BIT_TYPES_DEFINED__ |
9666 #include <inttypes.h> | 9656 #include <inttypes.h> |
9667 typedef uint8_t u_int8_t; | 9657 typedef uint8_t u_int8_t; |
9675 | 9665 |
9676 int main() { | 9666 int main() { |
9677 | 9667 |
9678 ; return 0; } | 9668 ; return 0; } |
9679 EOF | 9669 EOF |
9680 if { (eval echo configure:9681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9670 if { (eval echo configure:9671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9681 rm -rf conftest* | 9671 rm -rf conftest* |
9682 db_h_path="$path"; break | 9672 db_h_path="$path"; break |
9683 else | 9673 else |
9684 echo "configure: failed program was:" >&5 | 9674 echo "configure: failed program was:" >&5 |
9685 cat conftest.$ac_ext >&5 | 9675 cat conftest.$ac_ext >&5 |
9727 fi | 9717 fi |
9728 | 9718 |
9729 if test "$with_socks" = "yes"; then | 9719 if test "$with_socks" = "yes"; then |
9730 | 9720 |
9731 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9721 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9732 echo "configure:9733: checking for SOCKSinit in -lsocks" >&5 | 9722 echo "configure:9723: checking for SOCKSinit in -lsocks" >&5 |
9733 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9723 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9734 | 9724 |
9735 xe_check_libs=" -lsocks " | 9725 xe_check_libs=" -lsocks " |
9736 cat > conftest.$ac_ext <<EOF | 9726 cat > conftest.$ac_ext <<EOF |
9737 #line 9738 "configure" | 9727 #line 9728 "configure" |
9738 #include "confdefs.h" | 9728 #include "confdefs.h" |
9739 /* Override any gcc2 internal prototype to avoid an error. */ | 9729 /* Override any gcc2 internal prototype to avoid an error. */ |
9740 /* We use char because int might match the return type of a gcc2 | 9730 /* We use char because int might match the return type of a gcc2 |
9741 builtin and then its argument prototype would still apply. */ | 9731 builtin and then its argument prototype would still apply. */ |
9742 char SOCKSinit(); | 9732 char SOCKSinit(); |
9743 | 9733 |
9744 int main() { | 9734 int main() { |
9745 SOCKSinit() | 9735 SOCKSinit() |
9746 ; return 0; } | 9736 ; return 0; } |
9747 EOF | 9737 EOF |
9748 if { (eval echo configure:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9738 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9749 rm -rf conftest* | 9739 rm -rf conftest* |
9750 eval "ac_cv_lib_$ac_lib_var=yes" | 9740 eval "ac_cv_lib_$ac_lib_var=yes" |
9751 else | 9741 else |
9752 echo "configure: failed program was:" >&5 | 9742 echo "configure: failed program was:" >&5 |
9753 cat conftest.$ac_ext >&5 | 9743 cat conftest.$ac_ext >&5 |
10056 cat >> confdefs.h <<\EOF | 10046 cat >> confdefs.h <<\EOF |
10057 #define I18N3 1 | 10047 #define I18N3 1 |
10058 EOF | 10048 EOF |
10059 } | 10049 } |
10060 | 10050 |
10061 test "$with_gcc" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 10051 test "$GCC" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
10062 Defining USE_GCC | 10052 Defining USE_GCC |
10063 EOF | 10053 EOF |
10064 cat >> confdefs.h <<\EOF | 10054 cat >> confdefs.h <<\EOF |
10065 #define USE_GCC 1 | 10055 #define USE_GCC 1 |
10066 EOF | 10056 EOF |