Mercurial > noffle
comparison configure @ 272:f3b44be9e4ab noffle
[svn] * configure.in: Remove '-ansi' and '-Wtraditional'. We use functions
that aren't strict ANSI, and I'm not interested in warnings about
usage differences between ANSI and K&R.
* Makefile.in,aclocal.m4,config.h.in,configure,src/Makefile.in:
Regenerate after configure.in change. With all the above in, we now
compile cleanly on Cygwin with GCC 3.2, except for a warning about
printing a time_t with a %ld format. This will serve as a reminder that
we assume time_t is the same size as a long.
| author | bears |
|---|---|
| date | Sun, 10 Nov 2002 11:44:18 +0000 |
| parents | 1cafe0f3f0ec |
| children | 1fdde6512033 |
comparison
equal
deleted
inserted
replaced
| 271:3477050e8d10 | 272:f3b44be9e4ab |
|---|---|
| 1313 echo "$ac_t""no" 1>&6 | 1313 echo "$ac_t""no" 1>&6 |
| 1314 fi | 1314 fi |
| 1315 rm -f conftest* | 1315 rm -f conftest* |
| 1316 | 1316 |
| 1317 | 1317 |
| 1318 | 1318 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
| 1319 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 | 1319 echo "configure:1320: checking for POSIXized ISC" >&5 |
| 1320 echo "configure:1321: checking for strerror in -lcposix" >&5 | 1320 if test -d /etc/conf/kconfig.d && |
| 1321 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` | 1321 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
| 1322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1322 then |
| 1323 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1324 else | |
| 1325 ac_save_LIBS="$LIBS" | |
| 1326 LIBS="-lcposix $LIBS" | |
| 1327 cat > conftest.$ac_ext <<EOF | |
| 1328 #line 1329 "configure" | |
| 1329 #include "confdefs.h" | |
| 1330 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 1331 /* We use char because int might match the return type of a gcc2 | |
| 1332 builtin and then its argument prototype would still apply. */ | |
| 1333 char strerror(); | |
| 1334 | |
| 1335 int main() { | |
| 1336 strerror() | |
| 1337 ; return 0; } | |
| 1338 EOF | |
| 1339 if { (eval echo configure:1340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 1340 rm -rf conftest* | |
| 1341 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 1342 else | |
| 1343 echo "configure: failed program was:" >&5 | |
| 1344 cat conftest.$ac_ext >&5 | |
| 1345 rm -rf conftest* | |
| 1346 eval "ac_cv_lib_$ac_lib_var=no" | |
| 1347 fi | |
| 1348 rm -f conftest* | |
| 1349 LIBS="$ac_save_LIBS" | |
| 1350 | |
| 1351 fi | |
| 1352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 1353 echo "$ac_t""yes" 1>&6 | 1323 echo "$ac_t""yes" 1>&6 |
| 1354 LIBS="$LIBS -lcposix" | 1324 ISC=yes # If later tests want to check for ISC. |
| 1325 cat >> confdefs.h <<\EOF | |
| 1326 #define _POSIX_SOURCE 1 | |
| 1327 EOF | |
| 1328 | |
| 1329 if test "$GCC" = yes; then | |
| 1330 CC="$CC -posix" | |
| 1331 else | |
| 1332 CC="$CC -Xp" | |
| 1333 fi | |
| 1355 else | 1334 else |
| 1356 echo "$ac_t""no" 1>&6 | 1335 echo "$ac_t""no" 1>&6 |
| 1357 fi | 1336 ISC= |
| 1358 | 1337 fi |
| 1359 | |
| 1360 | 1338 |
| 1361 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` | 1339 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
| 1362 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 | 1340 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
| 1363 echo "configure:1364: checking for minix/config.h" >&5 | 1341 echo "configure:1342: checking for minix/config.h" >&5 |
| 1364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1342 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1365 echo $ac_n "(cached) $ac_c" 1>&6 | 1343 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1366 else | 1344 else |
| 1367 cat > conftest.$ac_ext <<EOF | 1345 cat > conftest.$ac_ext <<EOF |
| 1368 #line 1369 "configure" | 1346 #line 1347 "configure" |
| 1369 #include "confdefs.h" | 1347 #include "confdefs.h" |
| 1370 #include <minix/config.h> | 1348 #include <minix/config.h> |
| 1371 EOF | 1349 EOF |
| 1372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1373 { (eval echo configure:1374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1351 { (eval echo configure:1352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1375 if test -z "$ac_err"; then | 1353 if test -z "$ac_err"; then |
| 1376 rm -rf conftest* | 1354 rm -rf conftest* |
| 1377 eval "ac_cv_header_$ac_safe=yes" | 1355 eval "ac_cv_header_$ac_safe=yes" |
| 1378 else | 1356 else |
| 1417 # candidate. So, let's use it below instead of gethostbyname, and see. | 1395 # candidate. So, let's use it below instead of gethostbyname, and see. |
| 1418 | 1396 |
| 1419 # [ This is ripped from GNU tar. ] | 1397 # [ This is ripped from GNU tar. ] |
| 1420 | 1398 |
| 1421 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 | 1399 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 |
| 1422 echo "configure:1423: checking for gethostent" >&5 | 1400 echo "configure:1401: checking for gethostent" >&5 |
| 1423 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then | 1401 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then |
| 1424 echo $ac_n "(cached) $ac_c" 1>&6 | 1402 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1425 else | 1403 else |
| 1426 cat > conftest.$ac_ext <<EOF | 1404 cat > conftest.$ac_ext <<EOF |
| 1427 #line 1428 "configure" | 1405 #line 1406 "configure" |
| 1428 #include "confdefs.h" | 1406 #include "confdefs.h" |
| 1429 /* System header to define __stub macros and hopefully few prototypes, | 1407 /* System header to define __stub macros and hopefully few prototypes, |
| 1430 which can conflict with char gethostent(); below. */ | 1408 which can conflict with char gethostent(); below. */ |
| 1431 #include <assert.h> | 1409 #include <assert.h> |
| 1432 /* Override any gcc2 internal prototype to avoid an error. */ | 1410 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1445 gethostent(); | 1423 gethostent(); |
| 1446 #endif | 1424 #endif |
| 1447 | 1425 |
| 1448 ; return 0; } | 1426 ; return 0; } |
| 1449 EOF | 1427 EOF |
| 1450 if { (eval echo configure:1451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1428 if { (eval echo configure:1429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1451 rm -rf conftest* | 1429 rm -rf conftest* |
| 1452 eval "ac_cv_func_gethostent=yes" | 1430 eval "ac_cv_func_gethostent=yes" |
| 1453 else | 1431 else |
| 1454 echo "configure: failed program was:" >&5 | 1432 echo "configure: failed program was:" >&5 |
| 1455 cat conftest.$ac_ext >&5 | 1433 cat conftest.$ac_ext >&5 |
| 1466 echo "$ac_t""no" 1>&6 | 1444 echo "$ac_t""no" 1>&6 |
| 1467 fi | 1445 fi |
| 1468 | 1446 |
| 1469 if test $ac_cv_func_gethostent = no; then | 1447 if test $ac_cv_func_gethostent = no; then |
| 1470 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 | 1448 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 |
| 1471 echo "configure:1472: checking for gethostent in -lnsl" >&5 | 1449 echo "configure:1450: checking for gethostent in -lnsl" >&5 |
| 1472 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` | 1450 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` |
| 1473 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1474 echo $ac_n "(cached) $ac_c" 1>&6 | 1452 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1475 else | 1453 else |
| 1476 ac_save_LIBS="$LIBS" | 1454 ac_save_LIBS="$LIBS" |
| 1477 LIBS="-lnsl $LIBS" | 1455 LIBS="-lnsl $LIBS" |
| 1478 cat > conftest.$ac_ext <<EOF | 1456 cat > conftest.$ac_ext <<EOF |
| 1479 #line 1480 "configure" | 1457 #line 1458 "configure" |
| 1480 #include "confdefs.h" | 1458 #include "confdefs.h" |
| 1481 /* Override any gcc2 internal prototype to avoid an error. */ | 1459 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1482 /* We use char because int might match the return type of a gcc2 | 1460 /* We use char because int might match the return type of a gcc2 |
| 1483 builtin and then its argument prototype would still apply. */ | 1461 builtin and then its argument prototype would still apply. */ |
| 1484 char gethostent(); | 1462 char gethostent(); |
| 1485 | 1463 |
| 1486 int main() { | 1464 int main() { |
| 1487 gethostent() | 1465 gethostent() |
| 1488 ; return 0; } | 1466 ; return 0; } |
| 1489 EOF | 1467 EOF |
| 1490 if { (eval echo configure:1491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1491 rm -rf conftest* | 1469 rm -rf conftest* |
| 1492 eval "ac_cv_lib_$ac_lib_var=yes" | 1470 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1493 else | 1471 else |
| 1494 echo "configure: failed program was:" >&5 | 1472 echo "configure: failed program was:" >&5 |
| 1495 cat conftest.$ac_ext >&5 | 1473 cat conftest.$ac_ext >&5 |
| 1514 echo "$ac_t""no" 1>&6 | 1492 echo "$ac_t""no" 1>&6 |
| 1515 fi | 1493 fi |
| 1516 | 1494 |
| 1517 fi | 1495 fi |
| 1518 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 | 1496 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 |
| 1519 echo "configure:1520: checking for setsockopt" >&5 | 1497 echo "configure:1498: checking for setsockopt" >&5 |
| 1520 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then | 1498 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then |
| 1521 echo $ac_n "(cached) $ac_c" 1>&6 | 1499 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1522 else | 1500 else |
| 1523 cat > conftest.$ac_ext <<EOF | 1501 cat > conftest.$ac_ext <<EOF |
| 1524 #line 1525 "configure" | 1502 #line 1503 "configure" |
| 1525 #include "confdefs.h" | 1503 #include "confdefs.h" |
| 1526 /* System header to define __stub macros and hopefully few prototypes, | 1504 /* System header to define __stub macros and hopefully few prototypes, |
| 1527 which can conflict with char setsockopt(); below. */ | 1505 which can conflict with char setsockopt(); below. */ |
| 1528 #include <assert.h> | 1506 #include <assert.h> |
| 1529 /* Override any gcc2 internal prototype to avoid an error. */ | 1507 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1542 setsockopt(); | 1520 setsockopt(); |
| 1543 #endif | 1521 #endif |
| 1544 | 1522 |
| 1545 ; return 0; } | 1523 ; return 0; } |
| 1546 EOF | 1524 EOF |
| 1547 if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1525 if { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1548 rm -rf conftest* | 1526 rm -rf conftest* |
| 1549 eval "ac_cv_func_setsockopt=yes" | 1527 eval "ac_cv_func_setsockopt=yes" |
| 1550 else | 1528 else |
| 1551 echo "configure: failed program was:" >&5 | 1529 echo "configure: failed program was:" >&5 |
| 1552 cat conftest.$ac_ext >&5 | 1530 cat conftest.$ac_ext >&5 |
| 1563 echo "$ac_t""no" 1>&6 | 1541 echo "$ac_t""no" 1>&6 |
| 1564 fi | 1542 fi |
| 1565 | 1543 |
| 1566 if test $ac_cv_func_setsockopt = no; then | 1544 if test $ac_cv_func_setsockopt = no; then |
| 1567 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 | 1545 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 |
| 1568 echo "configure:1569: checking for setsockopt in -lsocket" >&5 | 1546 echo "configure:1547: checking for setsockopt in -lsocket" >&5 |
| 1569 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` | 1547 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` |
| 1570 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1571 echo $ac_n "(cached) $ac_c" 1>&6 | 1549 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1572 else | 1550 else |
| 1573 ac_save_LIBS="$LIBS" | 1551 ac_save_LIBS="$LIBS" |
| 1574 LIBS="-lsocket $LIBS" | 1552 LIBS="-lsocket $LIBS" |
| 1575 cat > conftest.$ac_ext <<EOF | 1553 cat > conftest.$ac_ext <<EOF |
| 1576 #line 1577 "configure" | 1554 #line 1555 "configure" |
| 1577 #include "confdefs.h" | 1555 #include "confdefs.h" |
| 1578 /* Override any gcc2 internal prototype to avoid an error. */ | 1556 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1579 /* We use char because int might match the return type of a gcc2 | 1557 /* We use char because int might match the return type of a gcc2 |
| 1580 builtin and then its argument prototype would still apply. */ | 1558 builtin and then its argument prototype would still apply. */ |
| 1581 char setsockopt(); | 1559 char setsockopt(); |
| 1582 | 1560 |
| 1583 int main() { | 1561 int main() { |
| 1584 setsockopt() | 1562 setsockopt() |
| 1585 ; return 0; } | 1563 ; return 0; } |
| 1586 EOF | 1564 EOF |
| 1587 if { (eval echo configure:1588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1588 rm -rf conftest* | 1566 rm -rf conftest* |
| 1589 eval "ac_cv_lib_$ac_lib_var=yes" | 1567 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1590 else | 1568 else |
| 1591 echo "configure: failed program was:" >&5 | 1569 echo "configure: failed program was:" >&5 |
| 1592 cat conftest.$ac_ext >&5 | 1570 cat conftest.$ac_ext >&5 |
| 1613 | 1591 |
| 1614 fi | 1592 fi |
| 1615 | 1593 |
| 1616 | 1594 |
| 1617 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 | 1595 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 |
| 1618 echo "configure:1619: checking for gdbm_open in -lgdbm" >&5 | 1596 echo "configure:1597: checking for gdbm_open in -lgdbm" >&5 |
| 1619 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` | 1597 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` |
| 1620 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1621 echo $ac_n "(cached) $ac_c" 1>&6 | 1599 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1622 else | 1600 else |
| 1623 ac_save_LIBS="$LIBS" | 1601 ac_save_LIBS="$LIBS" |
| 1624 LIBS="-lgdbm $LIBS" | 1602 LIBS="-lgdbm $LIBS" |
| 1625 cat > conftest.$ac_ext <<EOF | 1603 cat > conftest.$ac_ext <<EOF |
| 1626 #line 1627 "configure" | 1604 #line 1605 "configure" |
| 1627 #include "confdefs.h" | 1605 #include "confdefs.h" |
| 1628 /* Override any gcc2 internal prototype to avoid an error. */ | 1606 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1629 /* We use char because int might match the return type of a gcc2 | 1607 /* We use char because int might match the return type of a gcc2 |
| 1630 builtin and then its argument prototype would still apply. */ | 1608 builtin and then its argument prototype would still apply. */ |
| 1631 char gdbm_open(); | 1609 char gdbm_open(); |
| 1632 | 1610 |
| 1633 int main() { | 1611 int main() { |
| 1634 gdbm_open() | 1612 gdbm_open() |
| 1635 ; return 0; } | 1613 ; return 0; } |
| 1636 EOF | 1614 EOF |
| 1637 if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1615 if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1638 rm -rf conftest* | 1616 rm -rf conftest* |
| 1639 eval "ac_cv_lib_$ac_lib_var=yes" | 1617 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1640 else | 1618 else |
| 1641 echo "configure: failed program was:" >&5 | 1619 echo "configure: failed program was:" >&5 |
| 1642 cat conftest.$ac_ext >&5 | 1620 cat conftest.$ac_ext >&5 |
| 1663 | 1641 |
| 1664 | 1642 |
| 1665 | 1643 |
| 1666 | 1644 |
| 1667 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1645 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 1668 echo "configure:1669: checking for ANSI C header files" >&5 | 1646 echo "configure:1647: checking for ANSI C header files" >&5 |
| 1669 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1647 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 1670 echo $ac_n "(cached) $ac_c" 1>&6 | 1648 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1671 else | 1649 else |
| 1672 cat > conftest.$ac_ext <<EOF | 1650 cat > conftest.$ac_ext <<EOF |
| 1673 #line 1674 "configure" | 1651 #line 1652 "configure" |
| 1674 #include "confdefs.h" | 1652 #include "confdefs.h" |
| 1675 #include <stdlib.h> | 1653 #include <stdlib.h> |
| 1676 #include <stdarg.h> | 1654 #include <stdarg.h> |
| 1677 #include <string.h> | 1655 #include <string.h> |
| 1678 #include <float.h> | 1656 #include <float.h> |
| 1679 EOF | 1657 EOF |
| 1680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1681 { (eval echo configure:1682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1659 { (eval echo configure:1660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1683 if test -z "$ac_err"; then | 1661 if test -z "$ac_err"; then |
| 1684 rm -rf conftest* | 1662 rm -rf conftest* |
| 1685 ac_cv_header_stdc=yes | 1663 ac_cv_header_stdc=yes |
| 1686 else | 1664 else |
| 1693 rm -f conftest* | 1671 rm -f conftest* |
| 1694 | 1672 |
| 1695 if test $ac_cv_header_stdc = yes; then | 1673 if test $ac_cv_header_stdc = yes; then |
| 1696 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1674 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 1697 cat > conftest.$ac_ext <<EOF | 1675 cat > conftest.$ac_ext <<EOF |
| 1698 #line 1699 "configure" | 1676 #line 1677 "configure" |
| 1699 #include "confdefs.h" | 1677 #include "confdefs.h" |
| 1700 #include <string.h> | 1678 #include <string.h> |
| 1701 EOF | 1679 EOF |
| 1702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1703 egrep "memchr" >/dev/null 2>&1; then | 1681 egrep "memchr" >/dev/null 2>&1; then |
| 1711 fi | 1689 fi |
| 1712 | 1690 |
| 1713 if test $ac_cv_header_stdc = yes; then | 1691 if test $ac_cv_header_stdc = yes; then |
| 1714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1692 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 1715 cat > conftest.$ac_ext <<EOF | 1693 cat > conftest.$ac_ext <<EOF |
| 1716 #line 1717 "configure" | 1694 #line 1695 "configure" |
| 1717 #include "confdefs.h" | 1695 #include "confdefs.h" |
| 1718 #include <stdlib.h> | 1696 #include <stdlib.h> |
| 1719 EOF | 1697 EOF |
| 1720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1721 egrep "free" >/dev/null 2>&1; then | 1699 egrep "free" >/dev/null 2>&1; then |
| 1732 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1710 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 1733 if test "$cross_compiling" = yes; then | 1711 if test "$cross_compiling" = yes; then |
| 1734 : | 1712 : |
| 1735 else | 1713 else |
| 1736 cat > conftest.$ac_ext <<EOF | 1714 cat > conftest.$ac_ext <<EOF |
| 1737 #line 1738 "configure" | 1715 #line 1716 "configure" |
| 1738 #include "confdefs.h" | 1716 #include "confdefs.h" |
| 1739 #include <ctype.h> | 1717 #include <ctype.h> |
| 1740 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1718 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 1741 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1719 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 1742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 1743 int main () { int i; for (i = 0; i < 256; i++) | 1721 int main () { int i; for (i = 0; i < 256; i++) |
| 1744 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1722 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 1745 exit (0); } | 1723 exit (0); } |
| 1746 | 1724 |
| 1747 EOF | 1725 EOF |
| 1748 if { (eval echo configure:1749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1726 if { (eval echo configure:1727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1749 then | 1727 then |
| 1750 : | 1728 : |
| 1751 else | 1729 else |
| 1752 echo "configure: failed program was:" >&5 | 1730 echo "configure: failed program was:" >&5 |
| 1753 cat conftest.$ac_ext >&5 | 1731 cat conftest.$ac_ext >&5 |
| 1771 ac_header_dirent=no | 1749 ac_header_dirent=no |
| 1772 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 1750 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
| 1773 do | 1751 do |
| 1774 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1752 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1775 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 1753 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
| 1776 echo "configure:1777: checking for $ac_hdr that defines DIR" >&5 | 1754 echo "configure:1755: checking for $ac_hdr that defines DIR" >&5 |
| 1777 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 1755 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
| 1778 echo $ac_n "(cached) $ac_c" 1>&6 | 1756 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1779 else | 1757 else |
| 1780 cat > conftest.$ac_ext <<EOF | 1758 cat > conftest.$ac_ext <<EOF |
| 1781 #line 1782 "configure" | 1759 #line 1760 "configure" |
| 1782 #include "confdefs.h" | 1760 #include "confdefs.h" |
| 1783 #include <sys/types.h> | 1761 #include <sys/types.h> |
| 1784 #include <$ac_hdr> | 1762 #include <$ac_hdr> |
| 1785 int main() { | 1763 int main() { |
| 1786 DIR *dirp = 0; | 1764 DIR *dirp = 0; |
| 1787 ; return 0; } | 1765 ; return 0; } |
| 1788 EOF | 1766 EOF |
| 1789 if { (eval echo configure:1790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1767 if { (eval echo configure:1768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1790 rm -rf conftest* | 1768 rm -rf conftest* |
| 1791 eval "ac_cv_header_dirent_$ac_safe=yes" | 1769 eval "ac_cv_header_dirent_$ac_safe=yes" |
| 1792 else | 1770 else |
| 1793 echo "configure: failed program was:" >&5 | 1771 echo "configure: failed program was:" >&5 |
| 1794 cat conftest.$ac_ext >&5 | 1772 cat conftest.$ac_ext >&5 |
| 1809 fi | 1787 fi |
| 1810 done | 1788 done |
| 1811 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 1789 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 1812 if test $ac_header_dirent = dirent.h; then | 1790 if test $ac_header_dirent = dirent.h; then |
| 1813 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 1791 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
| 1814 echo "configure:1815: checking for opendir in -ldir" >&5 | 1792 echo "configure:1793: checking for opendir in -ldir" >&5 |
| 1815 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 1793 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
| 1816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1817 echo $ac_n "(cached) $ac_c" 1>&6 | 1795 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1818 else | 1796 else |
| 1819 ac_save_LIBS="$LIBS" | 1797 ac_save_LIBS="$LIBS" |
| 1820 LIBS="-ldir $LIBS" | 1798 LIBS="-ldir $LIBS" |
| 1821 cat > conftest.$ac_ext <<EOF | 1799 cat > conftest.$ac_ext <<EOF |
| 1822 #line 1823 "configure" | 1800 #line 1801 "configure" |
| 1823 #include "confdefs.h" | 1801 #include "confdefs.h" |
| 1824 /* Override any gcc2 internal prototype to avoid an error. */ | 1802 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1825 /* We use char because int might match the return type of a gcc2 | 1803 /* We use char because int might match the return type of a gcc2 |
| 1826 builtin and then its argument prototype would still apply. */ | 1804 builtin and then its argument prototype would still apply. */ |
| 1827 char opendir(); | 1805 char opendir(); |
| 1828 | 1806 |
| 1829 int main() { | 1807 int main() { |
| 1830 opendir() | 1808 opendir() |
| 1831 ; return 0; } | 1809 ; return 0; } |
| 1832 EOF | 1810 EOF |
| 1833 if { (eval echo configure:1834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1811 if { (eval echo configure:1812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1834 rm -rf conftest* | 1812 rm -rf conftest* |
| 1835 eval "ac_cv_lib_$ac_lib_var=yes" | 1813 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1836 else | 1814 else |
| 1837 echo "configure: failed program was:" >&5 | 1815 echo "configure: failed program was:" >&5 |
| 1838 cat conftest.$ac_ext >&5 | 1816 cat conftest.$ac_ext >&5 |
| 1850 echo "$ac_t""no" 1>&6 | 1828 echo "$ac_t""no" 1>&6 |
| 1851 fi | 1829 fi |
| 1852 | 1830 |
| 1853 else | 1831 else |
| 1854 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 1832 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
| 1855 echo "configure:1856: checking for opendir in -lx" >&5 | 1833 echo "configure:1834: checking for opendir in -lx" >&5 |
| 1856 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 1834 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
| 1857 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1858 echo $ac_n "(cached) $ac_c" 1>&6 | 1836 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1859 else | 1837 else |
| 1860 ac_save_LIBS="$LIBS" | 1838 ac_save_LIBS="$LIBS" |
| 1861 LIBS="-lx $LIBS" | 1839 LIBS="-lx $LIBS" |
| 1862 cat > conftest.$ac_ext <<EOF | 1840 cat > conftest.$ac_ext <<EOF |
| 1863 #line 1864 "configure" | 1841 #line 1842 "configure" |
| 1864 #include "confdefs.h" | 1842 #include "confdefs.h" |
| 1865 /* Override any gcc2 internal prototype to avoid an error. */ | 1843 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1866 /* We use char because int might match the return type of a gcc2 | 1844 /* We use char because int might match the return type of a gcc2 |
| 1867 builtin and then its argument prototype would still apply. */ | 1845 builtin and then its argument prototype would still apply. */ |
| 1868 char opendir(); | 1846 char opendir(); |
| 1869 | 1847 |
| 1870 int main() { | 1848 int main() { |
| 1871 opendir() | 1849 opendir() |
| 1872 ; return 0; } | 1850 ; return 0; } |
| 1873 EOF | 1851 EOF |
| 1874 if { (eval echo configure:1875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1852 if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1875 rm -rf conftest* | 1853 rm -rf conftest* |
| 1876 eval "ac_cv_lib_$ac_lib_var=yes" | 1854 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1877 else | 1855 else |
| 1878 echo "configure: failed program was:" >&5 | 1856 echo "configure: failed program was:" >&5 |
| 1879 cat conftest.$ac_ext >&5 | 1857 cat conftest.$ac_ext >&5 |
| 1895 | 1873 |
| 1896 for ac_hdr in gdbm.h syslog.h sys/resource.h sys/utsname.h | 1874 for ac_hdr in gdbm.h syslog.h sys/resource.h sys/utsname.h |
| 1897 do | 1875 do |
| 1898 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1899 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1900 echo "configure:1901: checking for $ac_hdr" >&5 | 1878 echo "configure:1879: checking for $ac_hdr" >&5 |
| 1901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1902 echo $ac_n "(cached) $ac_c" 1>&6 | 1880 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1903 else | 1881 else |
| 1904 cat > conftest.$ac_ext <<EOF | 1882 cat > conftest.$ac_ext <<EOF |
| 1905 #line 1906 "configure" | 1883 #line 1884 "configure" |
| 1906 #include "confdefs.h" | 1884 #include "confdefs.h" |
| 1907 #include <$ac_hdr> | 1885 #include <$ac_hdr> |
| 1908 EOF | 1886 EOF |
| 1909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1910 { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1888 { (eval echo configure:1889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1912 if test -z "$ac_err"; then | 1890 if test -z "$ac_err"; then |
| 1913 rm -rf conftest* | 1891 rm -rf conftest* |
| 1914 eval "ac_cv_header_$ac_safe=yes" | 1892 eval "ac_cv_header_$ac_safe=yes" |
| 1915 else | 1893 else |
| 1935 | 1913 |
| 1936 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h | 1914 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h |
| 1937 do | 1915 do |
| 1938 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1916 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1939 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1917 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1940 echo "configure:1941: checking for $ac_hdr" >&5 | 1918 echo "configure:1919: checking for $ac_hdr" >&5 |
| 1941 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1919 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1942 echo $ac_n "(cached) $ac_c" 1>&6 | 1920 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1943 else | 1921 else |
| 1944 cat > conftest.$ac_ext <<EOF | 1922 cat > conftest.$ac_ext <<EOF |
| 1945 #line 1946 "configure" | 1923 #line 1924 "configure" |
| 1946 #include "confdefs.h" | 1924 #include "confdefs.h" |
| 1947 #include <$ac_hdr> | 1925 #include <$ac_hdr> |
| 1948 EOF | 1926 EOF |
| 1949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1950 { (eval echo configure:1951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1928 { (eval echo configure:1929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1952 if test -z "$ac_err"; then | 1930 if test -z "$ac_err"; then |
| 1953 rm -rf conftest* | 1931 rm -rf conftest* |
| 1954 eval "ac_cv_header_$ac_safe=yes" | 1932 eval "ac_cv_header_$ac_safe=yes" |
| 1955 else | 1933 else |
| 1975 | 1953 |
| 1976 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h | 1954 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h |
| 1977 do | 1955 do |
| 1978 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1956 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1979 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1957 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1980 echo "configure:1981: checking for $ac_hdr" >&5 | 1958 echo "configure:1959: checking for $ac_hdr" >&5 |
| 1981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1982 echo $ac_n "(cached) $ac_c" 1>&6 | 1960 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1983 else | 1961 else |
| 1984 cat > conftest.$ac_ext <<EOF | 1962 cat > conftest.$ac_ext <<EOF |
| 1985 #line 1986 "configure" | 1963 #line 1964 "configure" |
| 1986 #include "confdefs.h" | 1964 #include "confdefs.h" |
| 1987 #include <$ac_hdr> | 1965 #include <$ac_hdr> |
| 1988 EOF | 1966 EOF |
| 1989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1990 { (eval echo configure:1991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1968 { (eval echo configure:1969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1992 if test -z "$ac_err"; then | 1970 if test -z "$ac_err"; then |
| 1993 rm -rf conftest* | 1971 rm -rf conftest* |
| 1994 eval "ac_cv_header_$ac_safe=yes" | 1972 eval "ac_cv_header_$ac_safe=yes" |
| 1995 else | 1973 else |
| 2015 | 1993 |
| 2016 | 1994 |
| 2017 | 1995 |
| 2018 | 1996 |
| 2019 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1997 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 2020 echo "configure:2021: checking for working const" >&5 | 1998 echo "configure:1999: checking for working const" >&5 |
| 2021 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 1999 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| 2022 echo $ac_n "(cached) $ac_c" 1>&6 | 2000 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2023 else | 2001 else |
| 2024 cat > conftest.$ac_ext <<EOF | 2002 cat > conftest.$ac_ext <<EOF |
| 2025 #line 2026 "configure" | 2003 #line 2004 "configure" |
| 2026 #include "confdefs.h" | 2004 #include "confdefs.h" |
| 2027 | 2005 |
| 2028 int main() { | 2006 int main() { |
| 2029 | 2007 |
| 2030 /* Ultrix mips cc rejects this. */ | 2008 /* Ultrix mips cc rejects this. */ |
| 2069 const int foo = 10; | 2047 const int foo = 10; |
| 2070 } | 2048 } |
| 2071 | 2049 |
| 2072 ; return 0; } | 2050 ; return 0; } |
| 2073 EOF | 2051 EOF |
| 2074 if { (eval echo configure:2075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2052 if { (eval echo configure:2053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2075 rm -rf conftest* | 2053 rm -rf conftest* |
| 2076 ac_cv_c_const=yes | 2054 ac_cv_c_const=yes |
| 2077 else | 2055 else |
| 2078 echo "configure: failed program was:" >&5 | 2056 echo "configure: failed program was:" >&5 |
| 2079 cat conftest.$ac_ext >&5 | 2057 cat conftest.$ac_ext >&5 |
| 2090 EOF | 2068 EOF |
| 2091 | 2069 |
| 2092 fi | 2070 fi |
| 2093 | 2071 |
| 2094 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2072 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 2095 echo "configure:2096: checking for size_t" >&5 | 2073 echo "configure:2074: checking for size_t" >&5 |
| 2096 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 2074 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| 2097 echo $ac_n "(cached) $ac_c" 1>&6 | 2075 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2098 else | 2076 else |
| 2099 cat > conftest.$ac_ext <<EOF | 2077 cat > conftest.$ac_ext <<EOF |
| 2100 #line 2101 "configure" | 2078 #line 2079 "configure" |
| 2101 #include "confdefs.h" | 2079 #include "confdefs.h" |
| 2102 #include <sys/types.h> | 2080 #include <sys/types.h> |
| 2103 #if STDC_HEADERS | 2081 #if STDC_HEADERS |
| 2104 #include <stdlib.h> | 2082 #include <stdlib.h> |
| 2105 #include <stddef.h> | 2083 #include <stddef.h> |
| 2123 EOF | 2101 EOF |
| 2124 | 2102 |
| 2125 fi | 2103 fi |
| 2126 | 2104 |
| 2127 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2105 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2128 echo "configure:2129: checking whether time.h and sys/time.h may both be included" >&5 | 2106 echo "configure:2107: checking whether time.h and sys/time.h may both be included" >&5 |
| 2129 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2107 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2130 echo $ac_n "(cached) $ac_c" 1>&6 | 2108 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2131 else | 2109 else |
| 2132 cat > conftest.$ac_ext <<EOF | 2110 cat > conftest.$ac_ext <<EOF |
| 2133 #line 2134 "configure" | 2111 #line 2112 "configure" |
| 2134 #include "confdefs.h" | 2112 #include "confdefs.h" |
| 2135 #include <sys/types.h> | 2113 #include <sys/types.h> |
| 2136 #include <sys/time.h> | 2114 #include <sys/time.h> |
| 2137 #include <time.h> | 2115 #include <time.h> |
| 2138 int main() { | 2116 int main() { |
| 2139 struct tm *tp; | 2117 struct tm *tp; |
| 2140 ; return 0; } | 2118 ; return 0; } |
| 2141 EOF | 2119 EOF |
| 2142 if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2120 if { (eval echo configure:2121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2143 rm -rf conftest* | 2121 rm -rf conftest* |
| 2144 ac_cv_header_time=yes | 2122 ac_cv_header_time=yes |
| 2145 else | 2123 else |
| 2146 echo "configure: failed program was:" >&5 | 2124 echo "configure: failed program was:" >&5 |
| 2147 cat conftest.$ac_ext >&5 | 2125 cat conftest.$ac_ext >&5 |
| 2158 EOF | 2136 EOF |
| 2159 | 2137 |
| 2160 fi | 2138 fi |
| 2161 | 2139 |
| 2162 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2140 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 2163 echo "configure:2164: checking whether struct tm is in sys/time.h or time.h" >&5 | 2141 echo "configure:2142: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2164 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2142 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| 2165 echo $ac_n "(cached) $ac_c" 1>&6 | 2143 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2166 else | 2144 else |
| 2167 cat > conftest.$ac_ext <<EOF | 2145 cat > conftest.$ac_ext <<EOF |
| 2168 #line 2169 "configure" | 2146 #line 2147 "configure" |
| 2169 #include "confdefs.h" | 2147 #include "confdefs.h" |
| 2170 #include <sys/types.h> | 2148 #include <sys/types.h> |
| 2171 #include <time.h> | 2149 #include <time.h> |
| 2172 int main() { | 2150 int main() { |
| 2173 struct tm *tp; tp->tm_sec; | 2151 struct tm *tp; tp->tm_sec; |
| 2174 ; return 0; } | 2152 ; return 0; } |
| 2175 EOF | 2153 EOF |
| 2176 if { (eval echo configure:2177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2154 if { (eval echo configure:2155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2177 rm -rf conftest* | 2155 rm -rf conftest* |
| 2178 ac_cv_struct_tm=time.h | 2156 ac_cv_struct_tm=time.h |
| 2179 else | 2157 else |
| 2180 echo "configure: failed program was:" >&5 | 2158 echo "configure: failed program was:" >&5 |
| 2181 cat conftest.$ac_ext >&5 | 2159 cat conftest.$ac_ext >&5 |
| 2193 | 2171 |
| 2194 fi | 2172 fi |
| 2195 | 2173 |
| 2196 | 2174 |
| 2197 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 | 2175 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 |
| 2198 echo "configure:2199: checking socklen_t" >&5 | 2176 echo "configure:2177: checking socklen_t" >&5 |
| 2199 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then | 2177 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then |
| 2200 echo $ac_n "(cached) $ac_c" 1>&6 | 2178 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2201 else | 2179 else |
| 2202 cat > conftest.$ac_ext <<EOF | 2180 cat > conftest.$ac_ext <<EOF |
| 2203 #line 2204 "configure" | 2181 #line 2182 "configure" |
| 2204 #include "confdefs.h" | 2182 #include "confdefs.h" |
| 2205 | 2183 |
| 2206 #include <sys/types.h> | 2184 #include <sys/types.h> |
| 2207 #include <sys/socket.h> | 2185 #include <sys/socket.h> |
| 2208 | 2186 |
| 2209 int main() { | 2187 int main() { |
| 2210 socklen_t s; | 2188 socklen_t s; |
| 2211 ; return 0; } | 2189 ; return 0; } |
| 2212 EOF | 2190 EOF |
| 2213 if { (eval echo configure:2214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2191 if { (eval echo configure:2192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2214 rm -rf conftest* | 2192 rm -rf conftest* |
| 2215 noffle_cv_type_socklen_t=yes | 2193 noffle_cv_type_socklen_t=yes |
| 2216 else | 2194 else |
| 2217 echo "configure: failed program was:" >&5 | 2195 echo "configure: failed program was:" >&5 |
| 2218 cat conftest.$ac_ext >&5 | 2196 cat conftest.$ac_ext >&5 |
| 2234 fi | 2212 fi |
| 2235 | 2213 |
| 2236 | 2214 |
| 2237 | 2215 |
| 2238 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2216 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2239 echo "configure:2240: checking return type of signal handlers" >&5 | 2217 echo "configure:2218: checking return type of signal handlers" >&5 |
| 2240 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2218 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 2241 echo $ac_n "(cached) $ac_c" 1>&6 | 2219 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2242 else | 2220 else |
| 2243 cat > conftest.$ac_ext <<EOF | 2221 cat > conftest.$ac_ext <<EOF |
| 2244 #line 2245 "configure" | 2222 #line 2223 "configure" |
| 2245 #include "confdefs.h" | 2223 #include "confdefs.h" |
| 2246 #include <sys/types.h> | 2224 #include <sys/types.h> |
| 2247 #include <signal.h> | 2225 #include <signal.h> |
| 2248 #ifdef signal | 2226 #ifdef signal |
| 2249 #undef signal | 2227 #undef signal |
| 2256 | 2234 |
| 2257 int main() { | 2235 int main() { |
| 2258 int i; | 2236 int i; |
| 2259 ; return 0; } | 2237 ; return 0; } |
| 2260 EOF | 2238 EOF |
| 2261 if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2239 if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2262 rm -rf conftest* | 2240 rm -rf conftest* |
| 2263 ac_cv_type_signal=void | 2241 ac_cv_type_signal=void |
| 2264 else | 2242 else |
| 2265 echo "configure: failed program was:" >&5 | 2243 echo "configure: failed program was:" >&5 |
| 2266 cat conftest.$ac_ext >&5 | 2244 cat conftest.$ac_ext >&5 |
| 2275 #define RETSIGTYPE $ac_cv_type_signal | 2253 #define RETSIGTYPE $ac_cv_type_signal |
| 2276 EOF | 2254 EOF |
| 2277 | 2255 |
| 2278 | 2256 |
| 2279 echo $ac_n "checking for strftime""... $ac_c" 1>&6 | 2257 echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
| 2280 echo "configure:2281: checking for strftime" >&5 | 2258 echo "configure:2259: checking for strftime" >&5 |
| 2281 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | 2259 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
| 2282 echo $ac_n "(cached) $ac_c" 1>&6 | 2260 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2283 else | 2261 else |
| 2284 cat > conftest.$ac_ext <<EOF | 2262 cat > conftest.$ac_ext <<EOF |
| 2285 #line 2286 "configure" | 2263 #line 2264 "configure" |
| 2286 #include "confdefs.h" | 2264 #include "confdefs.h" |
| 2287 /* System header to define __stub macros and hopefully few prototypes, | 2265 /* System header to define __stub macros and hopefully few prototypes, |
| 2288 which can conflict with char strftime(); below. */ | 2266 which can conflict with char strftime(); below. */ |
| 2289 #include <assert.h> | 2267 #include <assert.h> |
| 2290 /* Override any gcc2 internal prototype to avoid an error. */ | 2268 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2303 strftime(); | 2281 strftime(); |
| 2304 #endif | 2282 #endif |
| 2305 | 2283 |
| 2306 ; return 0; } | 2284 ; return 0; } |
| 2307 EOF | 2285 EOF |
| 2308 if { (eval echo configure:2309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2286 if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2309 rm -rf conftest* | 2287 rm -rf conftest* |
| 2310 eval "ac_cv_func_strftime=yes" | 2288 eval "ac_cv_func_strftime=yes" |
| 2311 else | 2289 else |
| 2312 echo "configure: failed program was:" >&5 | 2290 echo "configure: failed program was:" >&5 |
| 2313 cat conftest.$ac_ext >&5 | 2291 cat conftest.$ac_ext >&5 |
| 2325 | 2303 |
| 2326 else | 2304 else |
| 2327 echo "$ac_t""no" 1>&6 | 2305 echo "$ac_t""no" 1>&6 |
| 2328 # strftime is in -lintl on SCO UNIX. | 2306 # strftime is in -lintl on SCO UNIX. |
| 2329 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | 2307 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
| 2330 echo "configure:2331: checking for strftime in -lintl" >&5 | 2308 echo "configure:2309: checking for strftime in -lintl" >&5 |
| 2331 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | 2309 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
| 2332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2333 echo $ac_n "(cached) $ac_c" 1>&6 | 2311 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2334 else | 2312 else |
| 2335 ac_save_LIBS="$LIBS" | 2313 ac_save_LIBS="$LIBS" |
| 2336 LIBS="-lintl $LIBS" | 2314 LIBS="-lintl $LIBS" |
| 2337 cat > conftest.$ac_ext <<EOF | 2315 cat > conftest.$ac_ext <<EOF |
| 2338 #line 2339 "configure" | 2316 #line 2317 "configure" |
| 2339 #include "confdefs.h" | 2317 #include "confdefs.h" |
| 2340 /* Override any gcc2 internal prototype to avoid an error. */ | 2318 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2341 /* We use char because int might match the return type of a gcc2 | 2319 /* We use char because int might match the return type of a gcc2 |
| 2342 builtin and then its argument prototype would still apply. */ | 2320 builtin and then its argument prototype would still apply. */ |
| 2343 char strftime(); | 2321 char strftime(); |
| 2344 | 2322 |
| 2345 int main() { | 2323 int main() { |
| 2346 strftime() | 2324 strftime() |
| 2347 ; return 0; } | 2325 ; return 0; } |
| 2348 EOF | 2326 EOF |
| 2349 if { (eval echo configure:2350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2327 if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2350 rm -rf conftest* | 2328 rm -rf conftest* |
| 2351 eval "ac_cv_lib_$ac_lib_var=yes" | 2329 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2352 else | 2330 else |
| 2353 echo "configure: failed program was:" >&5 | 2331 echo "configure: failed program was:" >&5 |
| 2354 cat conftest.$ac_ext >&5 | 2332 cat conftest.$ac_ext >&5 |
| 2371 fi | 2349 fi |
| 2372 | 2350 |
| 2373 fi | 2351 fi |
| 2374 | 2352 |
| 2375 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 | 2353 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 |
| 2376 echo "configure:2377: checking for working fnmatch" >&5 | 2354 echo "configure:2355: checking for working fnmatch" >&5 |
| 2377 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then | 2355 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then |
| 2378 echo $ac_n "(cached) $ac_c" 1>&6 | 2356 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2379 else | 2357 else |
| 2380 # Some versions of Solaris or SCO have a broken fnmatch function. | 2358 # Some versions of Solaris or SCO have a broken fnmatch function. |
| 2381 # So we run a test program. If we are cross-compiling, take no chance. | 2359 # So we run a test program. If we are cross-compiling, take no chance. |
| 2382 # Thanks to John Oleynick and Franc,ois Pinard for this test. | 2360 # Thanks to John Oleynick and Franc,ois Pinard for this test. |
| 2383 if test "$cross_compiling" = yes; then | 2361 if test "$cross_compiling" = yes; then |
| 2384 ac_cv_func_fnmatch_works=no | 2362 ac_cv_func_fnmatch_works=no |
| 2385 else | 2363 else |
| 2386 cat > conftest.$ac_ext <<EOF | 2364 cat > conftest.$ac_ext <<EOF |
| 2387 #line 2388 "configure" | 2365 #line 2366 "configure" |
| 2388 #include "confdefs.h" | 2366 #include "confdefs.h" |
| 2389 main() { exit (fnmatch ("a*", "abc", 0) != 0); } | 2367 main() { exit (fnmatch ("a*", "abc", 0) != 0); } |
| 2390 EOF | 2368 EOF |
| 2391 if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2369 if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2392 then | 2370 then |
| 2393 ac_cv_func_fnmatch_works=yes | 2371 ac_cv_func_fnmatch_works=yes |
| 2394 else | 2372 else |
| 2395 echo "configure: failed program was:" >&5 | 2373 echo "configure: failed program was:" >&5 |
| 2396 cat conftest.$ac_ext >&5 | 2374 cat conftest.$ac_ext >&5 |
| 2411 fi | 2389 fi |
| 2412 | 2390 |
| 2413 for ac_func in fdopen mkdir select socket | 2391 for ac_func in fdopen mkdir select socket |
| 2414 do | 2392 do |
| 2415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2416 echo "configure:2417: checking for $ac_func" >&5 | 2394 echo "configure:2395: checking for $ac_func" >&5 |
| 2417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2418 echo $ac_n "(cached) $ac_c" 1>&6 | 2396 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2419 else | 2397 else |
| 2420 cat > conftest.$ac_ext <<EOF | 2398 cat > conftest.$ac_ext <<EOF |
| 2421 #line 2422 "configure" | 2399 #line 2400 "configure" |
| 2422 #include "confdefs.h" | 2400 #include "confdefs.h" |
| 2423 /* System header to define __stub macros and hopefully few prototypes, | 2401 /* System header to define __stub macros and hopefully few prototypes, |
| 2424 which can conflict with char $ac_func(); below. */ | 2402 which can conflict with char $ac_func(); below. */ |
| 2425 #include <assert.h> | 2403 #include <assert.h> |
| 2426 /* Override any gcc2 internal prototype to avoid an error. */ | 2404 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2439 $ac_func(); | 2417 $ac_func(); |
| 2440 #endif | 2418 #endif |
| 2441 | 2419 |
| 2442 ; return 0; } | 2420 ; return 0; } |
| 2443 EOF | 2421 EOF |
| 2444 if { (eval echo configure:2445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2422 if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2445 rm -rf conftest* | 2423 rm -rf conftest* |
| 2446 eval "ac_cv_func_$ac_func=yes" | 2424 eval "ac_cv_func_$ac_func=yes" |
| 2447 else | 2425 else |
| 2448 echo "configure: failed program was:" >&5 | 2426 echo "configure: failed program was:" >&5 |
| 2449 cat conftest.$ac_ext >&5 | 2427 cat conftest.$ac_ext >&5 |
| 2466 done | 2444 done |
| 2467 | 2445 |
| 2468 for ac_func in gethostname uname | 2446 for ac_func in gethostname uname |
| 2469 do | 2447 do |
| 2470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2471 echo "configure:2472: checking for $ac_func" >&5 | 2449 echo "configure:2450: checking for $ac_func" >&5 |
| 2472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2473 echo $ac_n "(cached) $ac_c" 1>&6 | 2451 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2474 else | 2452 else |
| 2475 cat > conftest.$ac_ext <<EOF | 2453 cat > conftest.$ac_ext <<EOF |
| 2476 #line 2477 "configure" | 2454 #line 2455 "configure" |
| 2477 #include "confdefs.h" | 2455 #include "confdefs.h" |
| 2478 /* System header to define __stub macros and hopefully few prototypes, | 2456 /* System header to define __stub macros and hopefully few prototypes, |
| 2479 which can conflict with char $ac_func(); below. */ | 2457 which can conflict with char $ac_func(); below. */ |
| 2480 #include <assert.h> | 2458 #include <assert.h> |
| 2481 /* Override any gcc2 internal prototype to avoid an error. */ | 2459 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2494 $ac_func(); | 2472 $ac_func(); |
| 2495 #endif | 2473 #endif |
| 2496 | 2474 |
| 2497 ; return 0; } | 2475 ; return 0; } |
| 2498 EOF | 2476 EOF |
| 2499 if { (eval echo configure:2500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2477 if { (eval echo configure:2478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2500 rm -rf conftest* | 2478 rm -rf conftest* |
| 2501 eval "ac_cv_func_$ac_func=yes" | 2479 eval "ac_cv_func_$ac_func=yes" |
| 2502 else | 2480 else |
| 2503 echo "configure: failed program was:" >&5 | 2481 echo "configure: failed program was:" >&5 |
| 2504 cat conftest.$ac_ext >&5 | 2482 cat conftest.$ac_ext >&5 |
| 2521 done | 2499 done |
| 2522 | 2500 |
| 2523 for ac_func in snprintf vsnprintf __vsnprintf __snprintf | 2501 for ac_func in snprintf vsnprintf __vsnprintf __snprintf |
| 2524 do | 2502 do |
| 2525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2526 echo "configure:2527: checking for $ac_func" >&5 | 2504 echo "configure:2505: checking for $ac_func" >&5 |
| 2527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2528 echo $ac_n "(cached) $ac_c" 1>&6 | 2506 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2529 else | 2507 else |
| 2530 cat > conftest.$ac_ext <<EOF | 2508 cat > conftest.$ac_ext <<EOF |
| 2531 #line 2532 "configure" | 2509 #line 2510 "configure" |
| 2532 #include "confdefs.h" | 2510 #include "confdefs.h" |
| 2533 /* System header to define __stub macros and hopefully few prototypes, | 2511 /* System header to define __stub macros and hopefully few prototypes, |
| 2534 which can conflict with char $ac_func(); below. */ | 2512 which can conflict with char $ac_func(); below. */ |
| 2535 #include <assert.h> | 2513 #include <assert.h> |
| 2536 /* Override any gcc2 internal prototype to avoid an error. */ | 2514 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2549 $ac_func(); | 2527 $ac_func(); |
| 2550 #endif | 2528 #endif |
| 2551 | 2529 |
| 2552 ; return 0; } | 2530 ; return 0; } |
| 2553 EOF | 2531 EOF |
| 2554 if { (eval echo configure:2555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2532 if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2555 rm -rf conftest* | 2533 rm -rf conftest* |
| 2556 eval "ac_cv_func_$ac_func=yes" | 2534 eval "ac_cv_func_$ac_func=yes" |
| 2557 else | 2535 else |
| 2558 echo "configure: failed program was:" >&5 | 2536 echo "configure: failed program was:" >&5 |
| 2559 cat conftest.$ac_ext >&5 | 2537 cat conftest.$ac_ext >&5 |
| 2576 done | 2554 done |
| 2577 | 2555 |
| 2578 for ac_func in strerror strstr | 2556 for ac_func in strerror strstr |
| 2579 do | 2557 do |
| 2580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2581 echo "configure:2582: checking for $ac_func" >&5 | 2559 echo "configure:2560: checking for $ac_func" >&5 |
| 2582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2583 echo $ac_n "(cached) $ac_c" 1>&6 | 2561 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2584 else | 2562 else |
| 2585 cat > conftest.$ac_ext <<EOF | 2563 cat > conftest.$ac_ext <<EOF |
| 2586 #line 2587 "configure" | 2564 #line 2565 "configure" |
| 2587 #include "confdefs.h" | 2565 #include "confdefs.h" |
| 2588 /* System header to define __stub macros and hopefully few prototypes, | 2566 /* System header to define __stub macros and hopefully few prototypes, |
| 2589 which can conflict with char $ac_func(); below. */ | 2567 which can conflict with char $ac_func(); below. */ |
| 2590 #include <assert.h> | 2568 #include <assert.h> |
| 2591 /* Override any gcc2 internal prototype to avoid an error. */ | 2569 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2604 $ac_func(); | 2582 $ac_func(); |
| 2605 #endif | 2583 #endif |
| 2606 | 2584 |
| 2607 ; return 0; } | 2585 ; return 0; } |
| 2608 EOF | 2586 EOF |
| 2609 if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2587 if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2610 rm -rf conftest* | 2588 rm -rf conftest* |
| 2611 eval "ac_cv_func_$ac_func=yes" | 2589 eval "ac_cv_func_$ac_func=yes" |
| 2612 else | 2590 else |
| 2613 echo "configure: failed program was:" >&5 | 2591 echo "configure: failed program was:" >&5 |
| 2614 cat conftest.$ac_ext >&5 | 2592 cat conftest.$ac_ext >&5 |
| 2631 done | 2609 done |
| 2632 | 2610 |
| 2633 for ac_func in mktime timegm | 2611 for ac_func in mktime timegm |
| 2634 do | 2612 do |
| 2635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2636 echo "configure:2637: checking for $ac_func" >&5 | 2614 echo "configure:2615: checking for $ac_func" >&5 |
| 2637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2638 echo $ac_n "(cached) $ac_c" 1>&6 | 2616 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2639 else | 2617 else |
| 2640 cat > conftest.$ac_ext <<EOF | 2618 cat > conftest.$ac_ext <<EOF |
| 2641 #line 2642 "configure" | 2619 #line 2620 "configure" |
| 2642 #include "confdefs.h" | 2620 #include "confdefs.h" |
| 2643 /* System header to define __stub macros and hopefully few prototypes, | 2621 /* System header to define __stub macros and hopefully few prototypes, |
| 2644 which can conflict with char $ac_func(); below. */ | 2622 which can conflict with char $ac_func(); below. */ |
| 2645 #include <assert.h> | 2623 #include <assert.h> |
| 2646 /* Override any gcc2 internal prototype to avoid an error. */ | 2624 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2659 $ac_func(); | 2637 $ac_func(); |
| 2660 #endif | 2638 #endif |
| 2661 | 2639 |
| 2662 ; return 0; } | 2640 ; return 0; } |
| 2663 EOF | 2641 EOF |
| 2664 if { (eval echo configure:2665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2642 if { (eval echo configure:2643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2665 rm -rf conftest* | 2643 rm -rf conftest* |
| 2666 eval "ac_cv_func_$ac_func=yes" | 2644 eval "ac_cv_func_$ac_func=yes" |
| 2667 else | 2645 else |
| 2668 echo "configure: failed program was:" >&5 | 2646 echo "configure: failed program was:" >&5 |
| 2669 cat conftest.$ac_ext >&5 | 2647 cat conftest.$ac_ext >&5 |
| 2700 | 2678 |
| 2701 | 2679 |
| 2702 if test "x$enable_debug" = "xyes"; then | 2680 if test "x$enable_debug" = "xyes"; then |
| 2703 if test "x$GCC" = "xyes"; then | 2681 if test "x$GCC" = "xyes"; then |
| 2704 CFLAGS="$CFLAGS \ | 2682 CFLAGS="$CFLAGS \ |
| 2705 -Wall -pedantic -ansi -W -Wtraditional -Wshadow -Wpointer-arith \ | 2683 -Wall -pedantic -W -Wshadow -Wpointer-arith \ |
| 2706 -Wcast-align -Wwrite-strings \ | 2684 -Wcast-align -Wwrite-strings \ |
| 2707 -Wstrict-prototypes -Wmissing-prototypes \ | 2685 -Wstrict-prototypes -Wmissing-prototypes \ |
| 2708 -Wmissing-declarations -Wnested-externs -Winline \ | 2686 -Wmissing-declarations -Wnested-externs -Winline \ |
| 2709 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" | 2687 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" |
| 2710 else | 2688 else |
| 2718 if test "${with_docdir+set}" = set; then | 2696 if test "${with_docdir+set}" = set; then |
| 2719 withval="$with_docdir" | 2697 withval="$with_docdir" |
| 2720 noffle_cv_docdir=$withval | 2698 noffle_cv_docdir=$withval |
| 2721 else | 2699 else |
| 2722 echo $ac_n "checking other documentation directory""... $ac_c" 1>&6 | 2700 echo $ac_n "checking other documentation directory""... $ac_c" 1>&6 |
| 2723 echo "configure:2724: checking other documentation directory" >&5 | 2701 echo "configure:2702: checking other documentation directory" >&5 |
| 2724 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then | 2702 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then |
| 2725 echo $ac_n "(cached) $ac_c" 1>&6 | 2703 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2726 else | 2704 else |
| 2727 if test x$prefix = xNONE; then | 2705 if test x$prefix = xNONE; then |
| 2728 noffle_cv_prefix=$ac_default_prefix | 2706 noffle_cv_prefix=$ac_default_prefix |
| 2737 | 2715 |
| 2738 fi | 2716 fi |
| 2739 | 2717 |
| 2740 | 2718 |
| 2741 echo $ac_n "checking spooldir""... $ac_c" 1>&6 | 2719 echo $ac_n "checking spooldir""... $ac_c" 1>&6 |
| 2742 echo "configure:2743: checking spooldir" >&5 | 2720 echo "configure:2721: checking spooldir" >&5 |
| 2743 # Check whether --with-spooldir or --without-spooldir was given. | 2721 # Check whether --with-spooldir or --without-spooldir was given. |
| 2744 if test "${with_spooldir+set}" = set; then | 2722 if test "${with_spooldir+set}" = set; then |
| 2745 withval="$with_spooldir" | 2723 withval="$with_spooldir" |
| 2746 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2724 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2747 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2725 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
| 2760 EOF | 2738 EOF |
| 2761 | 2739 |
| 2762 | 2740 |
| 2763 | 2741 |
| 2764 echo $ac_n "checking configfile""... $ac_c" 1>&6 | 2742 echo $ac_n "checking configfile""... $ac_c" 1>&6 |
| 2765 echo "configure:2766: checking configfile" >&5 | 2743 echo "configure:2744: checking configfile" >&5 |
| 2766 # Check whether --with-configfile or --without-configfile was given. | 2744 # Check whether --with-configfile or --without-configfile was given. |
| 2767 if test "${with_configfile+set}" = set; then | 2745 if test "${with_configfile+set}" = set; then |
| 2768 withval="$with_configfile" | 2746 withval="$with_configfile" |
| 2769 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2747 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2770 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2748 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
