Mercurial > noffle
comparison configure @ 146:fd821441f016 noffle
[svn] Applied patch by Paul Slootman: using the mail program is
replaced by sendmail (SENDMAILPROG variable).
author | enz |
---|---|
date | Sun, 15 Oct 2000 18:23:27 +0100 |
parents | 8b9366fc1361 |
children | 98bbe33d13b8 |
comparison
equal
deleted
inserted
replaced
145:deb2320befd7 | 146:fd821441f016 |
---|---|
1245 echo "$ac_t""no" 1>&6 | 1245 echo "$ac_t""no" 1>&6 |
1246 SET_MAKE="MAKE=${MAKE-make}" | 1246 SET_MAKE="MAKE=${MAKE-make}" |
1247 fi | 1247 fi |
1248 | 1248 |
1249 | 1249 |
1250 # Extract the first word of "mail", so it can be a program name with args. | 1250 # Extract the first word of "sendmail", so it can be a program name with args. |
1251 set dummy mail; ac_word=$2 | 1251 set dummy sendmail; ac_word=$2 |
1252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1253 echo "configure:1254: checking for $ac_word" >&5 | 1253 echo "configure:1254: checking for $ac_word" >&5 |
1254 if eval "test \"`echo '$''{'ac_cv_prog_MAILPROG'+set}'`\" = set"; then | 1254 if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then |
1255 echo $ac_n "(cached) $ac_c" 1>&6 | 1255 echo $ac_n "(cached) $ac_c" 1>&6 |
1256 else | 1256 else |
1257 if test -n "$MAILPROG"; then | 1257 case "$SENDMAILPROG" in |
1258 ac_cv_prog_MAILPROG="$MAILPROG" # Let the user override the test. | 1258 /*) |
1259 else | 1259 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a path. |
1260 ;; | |
1261 ?:/*) | |
1262 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a dos path. | |
1263 ;; | |
1264 *) | |
1260 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1261 ac_dummy="$PATH" | 1266 ac_dummy="/usr/sbin:/usr/lib:$PATH" |
1262 for ac_dir in $ac_dummy; do | 1267 for ac_dir in $ac_dummy; do |
1263 test -z "$ac_dir" && ac_dir=. | 1268 test -z "$ac_dir" && ac_dir=. |
1264 if test -f $ac_dir/$ac_word; then | 1269 if test -f $ac_dir/$ac_word; then |
1265 ac_cv_prog_MAILPROG="mail" | 1270 ac_cv_path_SENDMAILPROG="$ac_dir/$ac_word" |
1266 break | 1271 break |
1267 fi | 1272 fi |
1268 done | 1273 done |
1269 IFS="$ac_save_ifs" | 1274 IFS="$ac_save_ifs" |
1270 fi | 1275 test -z "$ac_cv_path_SENDMAILPROG" && ac_cv_path_SENDMAILPROG="'notfound'" |
1271 fi | 1276 ;; |
1272 MAILPROG="$ac_cv_prog_MAILPROG" | 1277 esac |
1273 if test -n "$MAILPROG"; then | 1278 fi |
1274 echo "$ac_t""$MAILPROG" 1>&6 | 1279 SENDMAILPROG="$ac_cv_path_SENDMAILPROG" |
1280 if test -n "$SENDMAILPROG"; then | |
1281 echo "$ac_t""$SENDMAILPROG" 1>&6 | |
1275 else | 1282 else |
1276 echo "$ac_t""no" 1>&6 | 1283 echo "$ac_t""no" 1>&6 |
1277 fi | 1284 fi |
1278 | 1285 |
1279 if test "x$MAILPROG" != "xmail"; then | 1286 if test "x$SENDMAILPROG" = "xnotfound"; then |
1280 { echo "configure: error: mail program not found." 1>&2; exit 1; } | 1287 { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; } |
1281 fi | 1288 fi |
1282 | |
1283 # Extract the first word of "sort", so it can be a program name with args. | |
1284 set dummy sort; ac_word=$2 | |
1285 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1286 echo "configure:1287: checking for $ac_word" >&5 | |
1287 if eval "test \"`echo '$''{'ac_cv_prog_SORTPROG'+set}'`\" = set"; then | |
1288 echo $ac_n "(cached) $ac_c" 1>&6 | |
1289 else | |
1290 if test -n "$SORTPROG"; then | |
1291 ac_cv_prog_SORTPROG="$SORTPROG" # Let the user override the test. | |
1292 else | |
1293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1294 ac_dummy="$PATH" | |
1295 for ac_dir in $ac_dummy; do | |
1296 test -z "$ac_dir" && ac_dir=. | |
1297 if test -f $ac_dir/$ac_word; then | |
1298 ac_cv_prog_SORTPROG="sort" | |
1299 break | |
1300 fi | |
1301 done | |
1302 IFS="$ac_save_ifs" | |
1303 fi | |
1304 fi | |
1305 SORTPROG="$ac_cv_prog_SORTPROG" | |
1306 if test -n "$SORTPROG"; then | |
1307 echo "$ac_t""$SORTPROG" 1>&6 | |
1308 else | |
1309 echo "$ac_t""no" 1>&6 | |
1310 fi | |
1311 | |
1312 if test "x$SORTPROG" != "xsort"; then | |
1313 { echo "configure: error: sort program not found." 1>&2; exit 1; } | |
1314 fi | |
1315 | |
1316 | 1289 |
1317 | 1290 |
1318 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1291 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1319 echo "configure:1320: checking for AIX" >&5 | 1292 echo "configure:1293: checking for AIX" >&5 |
1320 cat > conftest.$ac_ext <<EOF | 1293 cat > conftest.$ac_ext <<EOF |
1321 #line 1322 "configure" | 1294 #line 1295 "configure" |
1322 #include "confdefs.h" | 1295 #include "confdefs.h" |
1323 #ifdef _AIX | 1296 #ifdef _AIX |
1324 yes | 1297 yes |
1325 #endif | 1298 #endif |
1326 | 1299 |
1338 fi | 1311 fi |
1339 rm -f conftest* | 1312 rm -f conftest* |
1340 | 1313 |
1341 | 1314 |
1342 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 | 1315 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
1343 echo "configure:1344: checking for POSIXized ISC" >&5 | 1316 echo "configure:1317: checking for POSIXized ISC" >&5 |
1344 if test -d /etc/conf/kconfig.d && | 1317 if test -d /etc/conf/kconfig.d && |
1345 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 | 1318 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
1346 then | 1319 then |
1347 echo "$ac_t""yes" 1>&6 | 1320 echo "$ac_t""yes" 1>&6 |
1348 ISC=yes # If later tests want to check for ISC. | 1321 ISC=yes # If later tests want to check for ISC. |
1360 ISC= | 1333 ISC= |
1361 fi | 1334 fi |
1362 | 1335 |
1363 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` | 1336 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
1364 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 | 1337 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
1365 echo "configure:1366: checking for minix/config.h" >&5 | 1338 echo "configure:1339: checking for minix/config.h" >&5 |
1366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1367 echo $ac_n "(cached) $ac_c" 1>&6 | 1340 echo $ac_n "(cached) $ac_c" 1>&6 |
1368 else | 1341 else |
1369 cat > conftest.$ac_ext <<EOF | 1342 cat > conftest.$ac_ext <<EOF |
1370 #line 1371 "configure" | 1343 #line 1344 "configure" |
1371 #include "confdefs.h" | 1344 #include "confdefs.h" |
1372 #include <minix/config.h> | 1345 #include <minix/config.h> |
1373 EOF | 1346 EOF |
1374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1375 { (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1348 { (eval echo configure:1349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1377 if test -z "$ac_err"; then | 1350 if test -z "$ac_err"; then |
1378 rm -rf conftest* | 1351 rm -rf conftest* |
1379 eval "ac_cv_header_$ac_safe=yes" | 1352 eval "ac_cv_header_$ac_safe=yes" |
1380 else | 1353 else |
1419 # candidate. So, let's use it below instead of gethostbyname, and see. | 1392 # candidate. So, let's use it below instead of gethostbyname, and see. |
1420 | 1393 |
1421 # [ This is ripped from GNU tar. ] | 1394 # [ This is ripped from GNU tar. ] |
1422 | 1395 |
1423 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 | 1396 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 |
1424 echo "configure:1425: checking for gethostent" >&5 | 1397 echo "configure:1398: checking for gethostent" >&5 |
1425 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then | 1398 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then |
1426 echo $ac_n "(cached) $ac_c" 1>&6 | 1399 echo $ac_n "(cached) $ac_c" 1>&6 |
1427 else | 1400 else |
1428 cat > conftest.$ac_ext <<EOF | 1401 cat > conftest.$ac_ext <<EOF |
1429 #line 1430 "configure" | 1402 #line 1403 "configure" |
1430 #include "confdefs.h" | 1403 #include "confdefs.h" |
1431 /* System header to define __stub macros and hopefully few prototypes, | 1404 /* System header to define __stub macros and hopefully few prototypes, |
1432 which can conflict with char gethostent(); below. */ | 1405 which can conflict with char gethostent(); below. */ |
1433 #include <assert.h> | 1406 #include <assert.h> |
1434 /* Override any gcc2 internal prototype to avoid an error. */ | 1407 /* Override any gcc2 internal prototype to avoid an error. */ |
1447 gethostent(); | 1420 gethostent(); |
1448 #endif | 1421 #endif |
1449 | 1422 |
1450 ; return 0; } | 1423 ; return 0; } |
1451 EOF | 1424 EOF |
1452 if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1425 if { (eval echo configure:1426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1453 rm -rf conftest* | 1426 rm -rf conftest* |
1454 eval "ac_cv_func_gethostent=yes" | 1427 eval "ac_cv_func_gethostent=yes" |
1455 else | 1428 else |
1456 echo "configure: failed program was:" >&5 | 1429 echo "configure: failed program was:" >&5 |
1457 cat conftest.$ac_ext >&5 | 1430 cat conftest.$ac_ext >&5 |
1468 echo "$ac_t""no" 1>&6 | 1441 echo "$ac_t""no" 1>&6 |
1469 fi | 1442 fi |
1470 | 1443 |
1471 if test $ac_cv_func_gethostent = no; then | 1444 if test $ac_cv_func_gethostent = no; then |
1472 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 | 1445 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 |
1473 echo "configure:1474: checking for gethostent in -lnsl" >&5 | 1446 echo "configure:1447: checking for gethostent in -lnsl" >&5 |
1474 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` | 1447 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` |
1475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1448 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1476 echo $ac_n "(cached) $ac_c" 1>&6 | 1449 echo $ac_n "(cached) $ac_c" 1>&6 |
1477 else | 1450 else |
1478 ac_save_LIBS="$LIBS" | 1451 ac_save_LIBS="$LIBS" |
1479 LIBS="-lnsl $LIBS" | 1452 LIBS="-lnsl $LIBS" |
1480 cat > conftest.$ac_ext <<EOF | 1453 cat > conftest.$ac_ext <<EOF |
1481 #line 1482 "configure" | 1454 #line 1455 "configure" |
1482 #include "confdefs.h" | 1455 #include "confdefs.h" |
1483 /* Override any gcc2 internal prototype to avoid an error. */ | 1456 /* Override any gcc2 internal prototype to avoid an error. */ |
1484 /* We use char because int might match the return type of a gcc2 | 1457 /* We use char because int might match the return type of a gcc2 |
1485 builtin and then its argument prototype would still apply. */ | 1458 builtin and then its argument prototype would still apply. */ |
1486 char gethostent(); | 1459 char gethostent(); |
1487 | 1460 |
1488 int main() { | 1461 int main() { |
1489 gethostent() | 1462 gethostent() |
1490 ; return 0; } | 1463 ; return 0; } |
1491 EOF | 1464 EOF |
1492 if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1465 if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1493 rm -rf conftest* | 1466 rm -rf conftest* |
1494 eval "ac_cv_lib_$ac_lib_var=yes" | 1467 eval "ac_cv_lib_$ac_lib_var=yes" |
1495 else | 1468 else |
1496 echo "configure: failed program was:" >&5 | 1469 echo "configure: failed program was:" >&5 |
1497 cat conftest.$ac_ext >&5 | 1470 cat conftest.$ac_ext >&5 |
1516 echo "$ac_t""no" 1>&6 | 1489 echo "$ac_t""no" 1>&6 |
1517 fi | 1490 fi |
1518 | 1491 |
1519 fi | 1492 fi |
1520 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 | 1493 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 |
1521 echo "configure:1522: checking for setsockopt" >&5 | 1494 echo "configure:1495: checking for setsockopt" >&5 |
1522 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then | 1495 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then |
1523 echo $ac_n "(cached) $ac_c" 1>&6 | 1496 echo $ac_n "(cached) $ac_c" 1>&6 |
1524 else | 1497 else |
1525 cat > conftest.$ac_ext <<EOF | 1498 cat > conftest.$ac_ext <<EOF |
1526 #line 1527 "configure" | 1499 #line 1500 "configure" |
1527 #include "confdefs.h" | 1500 #include "confdefs.h" |
1528 /* System header to define __stub macros and hopefully few prototypes, | 1501 /* System header to define __stub macros and hopefully few prototypes, |
1529 which can conflict with char setsockopt(); below. */ | 1502 which can conflict with char setsockopt(); below. */ |
1530 #include <assert.h> | 1503 #include <assert.h> |
1531 /* Override any gcc2 internal prototype to avoid an error. */ | 1504 /* Override any gcc2 internal prototype to avoid an error. */ |
1544 setsockopt(); | 1517 setsockopt(); |
1545 #endif | 1518 #endif |
1546 | 1519 |
1547 ; return 0; } | 1520 ; return 0; } |
1548 EOF | 1521 EOF |
1549 if { (eval echo configure:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1522 if { (eval echo configure:1523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1550 rm -rf conftest* | 1523 rm -rf conftest* |
1551 eval "ac_cv_func_setsockopt=yes" | 1524 eval "ac_cv_func_setsockopt=yes" |
1552 else | 1525 else |
1553 echo "configure: failed program was:" >&5 | 1526 echo "configure: failed program was:" >&5 |
1554 cat conftest.$ac_ext >&5 | 1527 cat conftest.$ac_ext >&5 |
1565 echo "$ac_t""no" 1>&6 | 1538 echo "$ac_t""no" 1>&6 |
1566 fi | 1539 fi |
1567 | 1540 |
1568 if test $ac_cv_func_setsockopt = no; then | 1541 if test $ac_cv_func_setsockopt = no; then |
1569 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 | 1542 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 |
1570 echo "configure:1571: checking for setsockopt in -lsocket" >&5 | 1543 echo "configure:1544: checking for setsockopt in -lsocket" >&5 |
1571 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` | 1544 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` |
1572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1573 echo $ac_n "(cached) $ac_c" 1>&6 | 1546 echo $ac_n "(cached) $ac_c" 1>&6 |
1574 else | 1547 else |
1575 ac_save_LIBS="$LIBS" | 1548 ac_save_LIBS="$LIBS" |
1576 LIBS="-lsocket $LIBS" | 1549 LIBS="-lsocket $LIBS" |
1577 cat > conftest.$ac_ext <<EOF | 1550 cat > conftest.$ac_ext <<EOF |
1578 #line 1579 "configure" | 1551 #line 1552 "configure" |
1579 #include "confdefs.h" | 1552 #include "confdefs.h" |
1580 /* Override any gcc2 internal prototype to avoid an error. */ | 1553 /* Override any gcc2 internal prototype to avoid an error. */ |
1581 /* We use char because int might match the return type of a gcc2 | 1554 /* We use char because int might match the return type of a gcc2 |
1582 builtin and then its argument prototype would still apply. */ | 1555 builtin and then its argument prototype would still apply. */ |
1583 char setsockopt(); | 1556 char setsockopt(); |
1584 | 1557 |
1585 int main() { | 1558 int main() { |
1586 setsockopt() | 1559 setsockopt() |
1587 ; return 0; } | 1560 ; return 0; } |
1588 EOF | 1561 EOF |
1589 if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1562 if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1590 rm -rf conftest* | 1563 rm -rf conftest* |
1591 eval "ac_cv_lib_$ac_lib_var=yes" | 1564 eval "ac_cv_lib_$ac_lib_var=yes" |
1592 else | 1565 else |
1593 echo "configure: failed program was:" >&5 | 1566 echo "configure: failed program was:" >&5 |
1594 cat conftest.$ac_ext >&5 | 1567 cat conftest.$ac_ext >&5 |
1615 | 1588 |
1616 fi | 1589 fi |
1617 | 1590 |
1618 | 1591 |
1619 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 | 1592 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 |
1620 echo "configure:1621: checking for gdbm_open in -lgdbm" >&5 | 1593 echo "configure:1594: checking for gdbm_open in -lgdbm" >&5 |
1621 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` | 1594 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` |
1622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1595 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1623 echo $ac_n "(cached) $ac_c" 1>&6 | 1596 echo $ac_n "(cached) $ac_c" 1>&6 |
1624 else | 1597 else |
1625 ac_save_LIBS="$LIBS" | 1598 ac_save_LIBS="$LIBS" |
1626 LIBS="-lgdbm $LIBS" | 1599 LIBS="-lgdbm $LIBS" |
1627 cat > conftest.$ac_ext <<EOF | 1600 cat > conftest.$ac_ext <<EOF |
1628 #line 1629 "configure" | 1601 #line 1602 "configure" |
1629 #include "confdefs.h" | 1602 #include "confdefs.h" |
1630 /* Override any gcc2 internal prototype to avoid an error. */ | 1603 /* Override any gcc2 internal prototype to avoid an error. */ |
1631 /* We use char because int might match the return type of a gcc2 | 1604 /* We use char because int might match the return type of a gcc2 |
1632 builtin and then its argument prototype would still apply. */ | 1605 builtin and then its argument prototype would still apply. */ |
1633 char gdbm_open(); | 1606 char gdbm_open(); |
1634 | 1607 |
1635 int main() { | 1608 int main() { |
1636 gdbm_open() | 1609 gdbm_open() |
1637 ; return 0; } | 1610 ; return 0; } |
1638 EOF | 1611 EOF |
1639 if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1612 if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1640 rm -rf conftest* | 1613 rm -rf conftest* |
1641 eval "ac_cv_lib_$ac_lib_var=yes" | 1614 eval "ac_cv_lib_$ac_lib_var=yes" |
1642 else | 1615 else |
1643 echo "configure: failed program was:" >&5 | 1616 echo "configure: failed program was:" >&5 |
1644 cat conftest.$ac_ext >&5 | 1617 cat conftest.$ac_ext >&5 |
1665 | 1638 |
1666 | 1639 |
1667 | 1640 |
1668 | 1641 |
1669 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1642 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
1670 echo "configure:1671: checking for ANSI C header files" >&5 | 1643 echo "configure:1644: checking for ANSI C header files" >&5 |
1671 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1644 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
1672 echo $ac_n "(cached) $ac_c" 1>&6 | 1645 echo $ac_n "(cached) $ac_c" 1>&6 |
1673 else | 1646 else |
1674 cat > conftest.$ac_ext <<EOF | 1647 cat > conftest.$ac_ext <<EOF |
1675 #line 1676 "configure" | 1648 #line 1649 "configure" |
1676 #include "confdefs.h" | 1649 #include "confdefs.h" |
1677 #include <stdlib.h> | 1650 #include <stdlib.h> |
1678 #include <stdarg.h> | 1651 #include <stdarg.h> |
1679 #include <string.h> | 1652 #include <string.h> |
1680 #include <float.h> | 1653 #include <float.h> |
1681 EOF | 1654 EOF |
1682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1683 { (eval echo configure:1684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1656 { (eval echo configure:1657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1685 if test -z "$ac_err"; then | 1658 if test -z "$ac_err"; then |
1686 rm -rf conftest* | 1659 rm -rf conftest* |
1687 ac_cv_header_stdc=yes | 1660 ac_cv_header_stdc=yes |
1688 else | 1661 else |
1695 rm -f conftest* | 1668 rm -f conftest* |
1696 | 1669 |
1697 if test $ac_cv_header_stdc = yes; then | 1670 if test $ac_cv_header_stdc = yes; then |
1698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1671 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
1699 cat > conftest.$ac_ext <<EOF | 1672 cat > conftest.$ac_ext <<EOF |
1700 #line 1701 "configure" | 1673 #line 1674 "configure" |
1701 #include "confdefs.h" | 1674 #include "confdefs.h" |
1702 #include <string.h> | 1675 #include <string.h> |
1703 EOF | 1676 EOF |
1704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1705 egrep "memchr" >/dev/null 2>&1; then | 1678 egrep "memchr" >/dev/null 2>&1; then |
1713 fi | 1686 fi |
1714 | 1687 |
1715 if test $ac_cv_header_stdc = yes; then | 1688 if test $ac_cv_header_stdc = yes; then |
1716 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1689 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
1717 cat > conftest.$ac_ext <<EOF | 1690 cat > conftest.$ac_ext <<EOF |
1718 #line 1719 "configure" | 1691 #line 1692 "configure" |
1719 #include "confdefs.h" | 1692 #include "confdefs.h" |
1720 #include <stdlib.h> | 1693 #include <stdlib.h> |
1721 EOF | 1694 EOF |
1722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1723 egrep "free" >/dev/null 2>&1; then | 1696 egrep "free" >/dev/null 2>&1; then |
1734 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1707 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
1735 if test "$cross_compiling" = yes; then | 1708 if test "$cross_compiling" = yes; then |
1736 : | 1709 : |
1737 else | 1710 else |
1738 cat > conftest.$ac_ext <<EOF | 1711 cat > conftest.$ac_ext <<EOF |
1739 #line 1740 "configure" | 1712 #line 1713 "configure" |
1740 #include "confdefs.h" | 1713 #include "confdefs.h" |
1741 #include <ctype.h> | 1714 #include <ctype.h> |
1742 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1715 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
1743 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1716 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
1744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1717 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
1745 int main () { int i; for (i = 0; i < 256; i++) | 1718 int main () { int i; for (i = 0; i < 256; i++) |
1746 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1719 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
1747 exit (0); } | 1720 exit (0); } |
1748 | 1721 |
1749 EOF | 1722 EOF |
1750 if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1723 if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1751 then | 1724 then |
1752 : | 1725 : |
1753 else | 1726 else |
1754 echo "configure: failed program was:" >&5 | 1727 echo "configure: failed program was:" >&5 |
1755 cat conftest.$ac_ext >&5 | 1728 cat conftest.$ac_ext >&5 |
1773 ac_header_dirent=no | 1746 ac_header_dirent=no |
1774 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 1747 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
1775 do | 1748 do |
1776 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1749 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1777 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 1750 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
1778 echo "configure:1779: checking for $ac_hdr that defines DIR" >&5 | 1751 echo "configure:1752: checking for $ac_hdr that defines DIR" >&5 |
1779 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 1752 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
1780 echo $ac_n "(cached) $ac_c" 1>&6 | 1753 echo $ac_n "(cached) $ac_c" 1>&6 |
1781 else | 1754 else |
1782 cat > conftest.$ac_ext <<EOF | 1755 cat > conftest.$ac_ext <<EOF |
1783 #line 1784 "configure" | 1756 #line 1757 "configure" |
1784 #include "confdefs.h" | 1757 #include "confdefs.h" |
1785 #include <sys/types.h> | 1758 #include <sys/types.h> |
1786 #include <$ac_hdr> | 1759 #include <$ac_hdr> |
1787 int main() { | 1760 int main() { |
1788 DIR *dirp = 0; | 1761 DIR *dirp = 0; |
1789 ; return 0; } | 1762 ; return 0; } |
1790 EOF | 1763 EOF |
1791 if { (eval echo configure:1792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1764 if { (eval echo configure:1765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1792 rm -rf conftest* | 1765 rm -rf conftest* |
1793 eval "ac_cv_header_dirent_$ac_safe=yes" | 1766 eval "ac_cv_header_dirent_$ac_safe=yes" |
1794 else | 1767 else |
1795 echo "configure: failed program was:" >&5 | 1768 echo "configure: failed program was:" >&5 |
1796 cat conftest.$ac_ext >&5 | 1769 cat conftest.$ac_ext >&5 |
1811 fi | 1784 fi |
1812 done | 1785 done |
1813 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 1786 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
1814 if test $ac_header_dirent = dirent.h; then | 1787 if test $ac_header_dirent = dirent.h; then |
1815 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 1788 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
1816 echo "configure:1817: checking for opendir in -ldir" >&5 | 1789 echo "configure:1790: checking for opendir in -ldir" >&5 |
1817 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 1790 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
1818 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1819 echo $ac_n "(cached) $ac_c" 1>&6 | 1792 echo $ac_n "(cached) $ac_c" 1>&6 |
1820 else | 1793 else |
1821 ac_save_LIBS="$LIBS" | 1794 ac_save_LIBS="$LIBS" |
1822 LIBS="-ldir $LIBS" | 1795 LIBS="-ldir $LIBS" |
1823 cat > conftest.$ac_ext <<EOF | 1796 cat > conftest.$ac_ext <<EOF |
1824 #line 1825 "configure" | 1797 #line 1798 "configure" |
1825 #include "confdefs.h" | 1798 #include "confdefs.h" |
1826 /* Override any gcc2 internal prototype to avoid an error. */ | 1799 /* Override any gcc2 internal prototype to avoid an error. */ |
1827 /* We use char because int might match the return type of a gcc2 | 1800 /* We use char because int might match the return type of a gcc2 |
1828 builtin and then its argument prototype would still apply. */ | 1801 builtin and then its argument prototype would still apply. */ |
1829 char opendir(); | 1802 char opendir(); |
1830 | 1803 |
1831 int main() { | 1804 int main() { |
1832 opendir() | 1805 opendir() |
1833 ; return 0; } | 1806 ; return 0; } |
1834 EOF | 1807 EOF |
1835 if { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1808 if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1836 rm -rf conftest* | 1809 rm -rf conftest* |
1837 eval "ac_cv_lib_$ac_lib_var=yes" | 1810 eval "ac_cv_lib_$ac_lib_var=yes" |
1838 else | 1811 else |
1839 echo "configure: failed program was:" >&5 | 1812 echo "configure: failed program was:" >&5 |
1840 cat conftest.$ac_ext >&5 | 1813 cat conftest.$ac_ext >&5 |
1852 echo "$ac_t""no" 1>&6 | 1825 echo "$ac_t""no" 1>&6 |
1853 fi | 1826 fi |
1854 | 1827 |
1855 else | 1828 else |
1856 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 1829 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
1857 echo "configure:1858: checking for opendir in -lx" >&5 | 1830 echo "configure:1831: checking for opendir in -lx" >&5 |
1858 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 1831 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
1859 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
1860 echo $ac_n "(cached) $ac_c" 1>&6 | 1833 echo $ac_n "(cached) $ac_c" 1>&6 |
1861 else | 1834 else |
1862 ac_save_LIBS="$LIBS" | 1835 ac_save_LIBS="$LIBS" |
1863 LIBS="-lx $LIBS" | 1836 LIBS="-lx $LIBS" |
1864 cat > conftest.$ac_ext <<EOF | 1837 cat > conftest.$ac_ext <<EOF |
1865 #line 1866 "configure" | 1838 #line 1839 "configure" |
1866 #include "confdefs.h" | 1839 #include "confdefs.h" |
1867 /* Override any gcc2 internal prototype to avoid an error. */ | 1840 /* Override any gcc2 internal prototype to avoid an error. */ |
1868 /* We use char because int might match the return type of a gcc2 | 1841 /* We use char because int might match the return type of a gcc2 |
1869 builtin and then its argument prototype would still apply. */ | 1842 builtin and then its argument prototype would still apply. */ |
1870 char opendir(); | 1843 char opendir(); |
1871 | 1844 |
1872 int main() { | 1845 int main() { |
1873 opendir() | 1846 opendir() |
1874 ; return 0; } | 1847 ; return 0; } |
1875 EOF | 1848 EOF |
1876 if { (eval echo configure:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1849 if { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1877 rm -rf conftest* | 1850 rm -rf conftest* |
1878 eval "ac_cv_lib_$ac_lib_var=yes" | 1851 eval "ac_cv_lib_$ac_lib_var=yes" |
1879 else | 1852 else |
1880 echo "configure: failed program was:" >&5 | 1853 echo "configure: failed program was:" >&5 |
1881 cat conftest.$ac_ext >&5 | 1854 cat conftest.$ac_ext >&5 |
1897 | 1870 |
1898 for ac_hdr in gdbm.h syslog.h sys/resource.h sys/utsname.h | 1871 for ac_hdr in gdbm.h syslog.h sys/resource.h sys/utsname.h |
1899 do | 1872 do |
1900 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1901 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1902 echo "configure:1903: checking for $ac_hdr" >&5 | 1875 echo "configure:1876: checking for $ac_hdr" >&5 |
1903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1904 echo $ac_n "(cached) $ac_c" 1>&6 | 1877 echo $ac_n "(cached) $ac_c" 1>&6 |
1905 else | 1878 else |
1906 cat > conftest.$ac_ext <<EOF | 1879 cat > conftest.$ac_ext <<EOF |
1907 #line 1908 "configure" | 1880 #line 1881 "configure" |
1908 #include "confdefs.h" | 1881 #include "confdefs.h" |
1909 #include <$ac_hdr> | 1882 #include <$ac_hdr> |
1910 EOF | 1883 EOF |
1911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1912 { (eval echo configure:1913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1885 { (eval echo configure:1886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1886 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1914 if test -z "$ac_err"; then | 1887 if test -z "$ac_err"; then |
1915 rm -rf conftest* | 1888 rm -rf conftest* |
1916 eval "ac_cv_header_$ac_safe=yes" | 1889 eval "ac_cv_header_$ac_safe=yes" |
1917 else | 1890 else |
1937 | 1910 |
1938 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h | 1911 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h |
1939 do | 1912 do |
1940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1913 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1914 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1942 echo "configure:1943: checking for $ac_hdr" >&5 | 1915 echo "configure:1916: checking for $ac_hdr" >&5 |
1943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1944 echo $ac_n "(cached) $ac_c" 1>&6 | 1917 echo $ac_n "(cached) $ac_c" 1>&6 |
1945 else | 1918 else |
1946 cat > conftest.$ac_ext <<EOF | 1919 cat > conftest.$ac_ext <<EOF |
1947 #line 1948 "configure" | 1920 #line 1921 "configure" |
1948 #include "confdefs.h" | 1921 #include "confdefs.h" |
1949 #include <$ac_hdr> | 1922 #include <$ac_hdr> |
1950 EOF | 1923 EOF |
1951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1952 { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1925 { (eval echo configure:1926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1954 if test -z "$ac_err"; then | 1927 if test -z "$ac_err"; then |
1955 rm -rf conftest* | 1928 rm -rf conftest* |
1956 eval "ac_cv_header_$ac_safe=yes" | 1929 eval "ac_cv_header_$ac_safe=yes" |
1957 else | 1930 else |
1977 | 1950 |
1978 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h | 1951 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h |
1979 do | 1952 do |
1980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1953 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1954 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1982 echo "configure:1983: checking for $ac_hdr" >&5 | 1955 echo "configure:1956: checking for $ac_hdr" >&5 |
1983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1984 echo $ac_n "(cached) $ac_c" 1>&6 | 1957 echo $ac_n "(cached) $ac_c" 1>&6 |
1985 else | 1958 else |
1986 cat > conftest.$ac_ext <<EOF | 1959 cat > conftest.$ac_ext <<EOF |
1987 #line 1988 "configure" | 1960 #line 1961 "configure" |
1988 #include "confdefs.h" | 1961 #include "confdefs.h" |
1989 #include <$ac_hdr> | 1962 #include <$ac_hdr> |
1990 EOF | 1963 EOF |
1991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1992 { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1965 { (eval echo configure:1966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1994 if test -z "$ac_err"; then | 1967 if test -z "$ac_err"; then |
1995 rm -rf conftest* | 1968 rm -rf conftest* |
1996 eval "ac_cv_header_$ac_safe=yes" | 1969 eval "ac_cv_header_$ac_safe=yes" |
1997 else | 1970 else |
2017 | 1990 |
2018 | 1991 |
2019 | 1992 |
2020 | 1993 |
2021 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1994 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2022 echo "configure:2023: checking for working const" >&5 | 1995 echo "configure:1996: checking for working const" >&5 |
2023 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 1996 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2024 echo $ac_n "(cached) $ac_c" 1>&6 | 1997 echo $ac_n "(cached) $ac_c" 1>&6 |
2025 else | 1998 else |
2026 cat > conftest.$ac_ext <<EOF | 1999 cat > conftest.$ac_ext <<EOF |
2027 #line 2028 "configure" | 2000 #line 2001 "configure" |
2028 #include "confdefs.h" | 2001 #include "confdefs.h" |
2029 | 2002 |
2030 int main() { | 2003 int main() { |
2031 | 2004 |
2032 /* Ultrix mips cc rejects this. */ | 2005 /* Ultrix mips cc rejects this. */ |
2071 const int foo = 10; | 2044 const int foo = 10; |
2072 } | 2045 } |
2073 | 2046 |
2074 ; return 0; } | 2047 ; return 0; } |
2075 EOF | 2048 EOF |
2076 if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2049 if { (eval echo configure:2050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2077 rm -rf conftest* | 2050 rm -rf conftest* |
2078 ac_cv_c_const=yes | 2051 ac_cv_c_const=yes |
2079 else | 2052 else |
2080 echo "configure: failed program was:" >&5 | 2053 echo "configure: failed program was:" >&5 |
2081 cat conftest.$ac_ext >&5 | 2054 cat conftest.$ac_ext >&5 |
2092 EOF | 2065 EOF |
2093 | 2066 |
2094 fi | 2067 fi |
2095 | 2068 |
2096 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2069 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2097 echo "configure:2098: checking for size_t" >&5 | 2070 echo "configure:2071: checking for size_t" >&5 |
2098 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 2071 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
2099 echo $ac_n "(cached) $ac_c" 1>&6 | 2072 echo $ac_n "(cached) $ac_c" 1>&6 |
2100 else | 2073 else |
2101 cat > conftest.$ac_ext <<EOF | 2074 cat > conftest.$ac_ext <<EOF |
2102 #line 2103 "configure" | 2075 #line 2076 "configure" |
2103 #include "confdefs.h" | 2076 #include "confdefs.h" |
2104 #include <sys/types.h> | 2077 #include <sys/types.h> |
2105 #if STDC_HEADERS | 2078 #if STDC_HEADERS |
2106 #include <stdlib.h> | 2079 #include <stdlib.h> |
2107 #include <stddef.h> | 2080 #include <stddef.h> |
2125 EOF | 2098 EOF |
2126 | 2099 |
2127 fi | 2100 fi |
2128 | 2101 |
2129 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2102 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2130 echo "configure:2131: checking whether time.h and sys/time.h may both be included" >&5 | 2103 echo "configure:2104: checking whether time.h and sys/time.h may both be included" >&5 |
2131 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2104 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
2132 echo $ac_n "(cached) $ac_c" 1>&6 | 2105 echo $ac_n "(cached) $ac_c" 1>&6 |
2133 else | 2106 else |
2134 cat > conftest.$ac_ext <<EOF | 2107 cat > conftest.$ac_ext <<EOF |
2135 #line 2136 "configure" | 2108 #line 2109 "configure" |
2136 #include "confdefs.h" | 2109 #include "confdefs.h" |
2137 #include <sys/types.h> | 2110 #include <sys/types.h> |
2138 #include <sys/time.h> | 2111 #include <sys/time.h> |
2139 #include <time.h> | 2112 #include <time.h> |
2140 int main() { | 2113 int main() { |
2141 struct tm *tp; | 2114 struct tm *tp; |
2142 ; return 0; } | 2115 ; return 0; } |
2143 EOF | 2116 EOF |
2144 if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2117 if { (eval echo configure:2118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2145 rm -rf conftest* | 2118 rm -rf conftest* |
2146 ac_cv_header_time=yes | 2119 ac_cv_header_time=yes |
2147 else | 2120 else |
2148 echo "configure: failed program was:" >&5 | 2121 echo "configure: failed program was:" >&5 |
2149 cat conftest.$ac_ext >&5 | 2122 cat conftest.$ac_ext >&5 |
2160 EOF | 2133 EOF |
2161 | 2134 |
2162 fi | 2135 fi |
2163 | 2136 |
2164 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2137 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
2165 echo "configure:2166: checking whether struct tm is in sys/time.h or time.h" >&5 | 2138 echo "configure:2139: checking whether struct tm is in sys/time.h or time.h" >&5 |
2166 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2139 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
2167 echo $ac_n "(cached) $ac_c" 1>&6 | 2140 echo $ac_n "(cached) $ac_c" 1>&6 |
2168 else | 2141 else |
2169 cat > conftest.$ac_ext <<EOF | 2142 cat > conftest.$ac_ext <<EOF |
2170 #line 2171 "configure" | 2143 #line 2144 "configure" |
2171 #include "confdefs.h" | 2144 #include "confdefs.h" |
2172 #include <sys/types.h> | 2145 #include <sys/types.h> |
2173 #include <time.h> | 2146 #include <time.h> |
2174 int main() { | 2147 int main() { |
2175 struct tm *tp; tp->tm_sec; | 2148 struct tm *tp; tp->tm_sec; |
2176 ; return 0; } | 2149 ; return 0; } |
2177 EOF | 2150 EOF |
2178 if { (eval echo configure:2179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2151 if { (eval echo configure:2152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2179 rm -rf conftest* | 2152 rm -rf conftest* |
2180 ac_cv_struct_tm=time.h | 2153 ac_cv_struct_tm=time.h |
2181 else | 2154 else |
2182 echo "configure: failed program was:" >&5 | 2155 echo "configure: failed program was:" >&5 |
2183 cat conftest.$ac_ext >&5 | 2156 cat conftest.$ac_ext >&5 |
2195 | 2168 |
2196 fi | 2169 fi |
2197 | 2170 |
2198 | 2171 |
2199 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 | 2172 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 |
2200 echo "configure:2201: checking socklen_t" >&5 | 2173 echo "configure:2174: checking socklen_t" >&5 |
2201 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then | 2174 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then |
2202 echo $ac_n "(cached) $ac_c" 1>&6 | 2175 echo $ac_n "(cached) $ac_c" 1>&6 |
2203 else | 2176 else |
2204 cat > conftest.$ac_ext <<EOF | 2177 cat > conftest.$ac_ext <<EOF |
2205 #line 2206 "configure" | 2178 #line 2179 "configure" |
2206 #include "confdefs.h" | 2179 #include "confdefs.h" |
2207 | 2180 |
2208 #include <sys/types.h> | 2181 #include <sys/types.h> |
2209 #include <sys/socket.h> | 2182 #include <sys/socket.h> |
2210 | 2183 |
2211 int main() { | 2184 int main() { |
2212 socklen_t s; | 2185 socklen_t s; |
2213 ; return 0; } | 2186 ; return 0; } |
2214 EOF | 2187 EOF |
2215 if { (eval echo configure:2216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2188 if { (eval echo configure:2189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2216 rm -rf conftest* | 2189 rm -rf conftest* |
2217 noffle_cv_type_socklen_t=yes | 2190 noffle_cv_type_socklen_t=yes |
2218 else | 2191 else |
2219 echo "configure: failed program was:" >&5 | 2192 echo "configure: failed program was:" >&5 |
2220 cat conftest.$ac_ext >&5 | 2193 cat conftest.$ac_ext >&5 |
2236 fi | 2209 fi |
2237 | 2210 |
2238 | 2211 |
2239 | 2212 |
2240 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2213 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2241 echo "configure:2242: checking return type of signal handlers" >&5 | 2214 echo "configure:2215: checking return type of signal handlers" >&5 |
2242 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2215 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
2243 echo $ac_n "(cached) $ac_c" 1>&6 | 2216 echo $ac_n "(cached) $ac_c" 1>&6 |
2244 else | 2217 else |
2245 cat > conftest.$ac_ext <<EOF | 2218 cat > conftest.$ac_ext <<EOF |
2246 #line 2247 "configure" | 2219 #line 2220 "configure" |
2247 #include "confdefs.h" | 2220 #include "confdefs.h" |
2248 #include <sys/types.h> | 2221 #include <sys/types.h> |
2249 #include <signal.h> | 2222 #include <signal.h> |
2250 #ifdef signal | 2223 #ifdef signal |
2251 #undef signal | 2224 #undef signal |
2258 | 2231 |
2259 int main() { | 2232 int main() { |
2260 int i; | 2233 int i; |
2261 ; return 0; } | 2234 ; return 0; } |
2262 EOF | 2235 EOF |
2263 if { (eval echo configure:2264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2236 if { (eval echo configure:2237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2264 rm -rf conftest* | 2237 rm -rf conftest* |
2265 ac_cv_type_signal=void | 2238 ac_cv_type_signal=void |
2266 else | 2239 else |
2267 echo "configure: failed program was:" >&5 | 2240 echo "configure: failed program was:" >&5 |
2268 cat conftest.$ac_ext >&5 | 2241 cat conftest.$ac_ext >&5 |
2277 #define RETSIGTYPE $ac_cv_type_signal | 2250 #define RETSIGTYPE $ac_cv_type_signal |
2278 EOF | 2251 EOF |
2279 | 2252 |
2280 | 2253 |
2281 echo $ac_n "checking for strftime""... $ac_c" 1>&6 | 2254 echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
2282 echo "configure:2283: checking for strftime" >&5 | 2255 echo "configure:2256: checking for strftime" >&5 |
2283 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | 2256 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
2284 echo $ac_n "(cached) $ac_c" 1>&6 | 2257 echo $ac_n "(cached) $ac_c" 1>&6 |
2285 else | 2258 else |
2286 cat > conftest.$ac_ext <<EOF | 2259 cat > conftest.$ac_ext <<EOF |
2287 #line 2288 "configure" | 2260 #line 2261 "configure" |
2288 #include "confdefs.h" | 2261 #include "confdefs.h" |
2289 /* System header to define __stub macros and hopefully few prototypes, | 2262 /* System header to define __stub macros and hopefully few prototypes, |
2290 which can conflict with char strftime(); below. */ | 2263 which can conflict with char strftime(); below. */ |
2291 #include <assert.h> | 2264 #include <assert.h> |
2292 /* Override any gcc2 internal prototype to avoid an error. */ | 2265 /* Override any gcc2 internal prototype to avoid an error. */ |
2305 strftime(); | 2278 strftime(); |
2306 #endif | 2279 #endif |
2307 | 2280 |
2308 ; return 0; } | 2281 ; return 0; } |
2309 EOF | 2282 EOF |
2310 if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2283 if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2311 rm -rf conftest* | 2284 rm -rf conftest* |
2312 eval "ac_cv_func_strftime=yes" | 2285 eval "ac_cv_func_strftime=yes" |
2313 else | 2286 else |
2314 echo "configure: failed program was:" >&5 | 2287 echo "configure: failed program was:" >&5 |
2315 cat conftest.$ac_ext >&5 | 2288 cat conftest.$ac_ext >&5 |
2327 | 2300 |
2328 else | 2301 else |
2329 echo "$ac_t""no" 1>&6 | 2302 echo "$ac_t""no" 1>&6 |
2330 # strftime is in -lintl on SCO UNIX. | 2303 # strftime is in -lintl on SCO UNIX. |
2331 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | 2304 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
2332 echo "configure:2333: checking for strftime in -lintl" >&5 | 2305 echo "configure:2306: checking for strftime in -lintl" >&5 |
2333 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | 2306 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
2334 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2335 echo $ac_n "(cached) $ac_c" 1>&6 | 2308 echo $ac_n "(cached) $ac_c" 1>&6 |
2336 else | 2309 else |
2337 ac_save_LIBS="$LIBS" | 2310 ac_save_LIBS="$LIBS" |
2338 LIBS="-lintl $LIBS" | 2311 LIBS="-lintl $LIBS" |
2339 cat > conftest.$ac_ext <<EOF | 2312 cat > conftest.$ac_ext <<EOF |
2340 #line 2341 "configure" | 2313 #line 2314 "configure" |
2341 #include "confdefs.h" | 2314 #include "confdefs.h" |
2342 /* Override any gcc2 internal prototype to avoid an error. */ | 2315 /* Override any gcc2 internal prototype to avoid an error. */ |
2343 /* We use char because int might match the return type of a gcc2 | 2316 /* We use char because int might match the return type of a gcc2 |
2344 builtin and then its argument prototype would still apply. */ | 2317 builtin and then its argument prototype would still apply. */ |
2345 char strftime(); | 2318 char strftime(); |
2346 | 2319 |
2347 int main() { | 2320 int main() { |
2348 strftime() | 2321 strftime() |
2349 ; return 0; } | 2322 ; return 0; } |
2350 EOF | 2323 EOF |
2351 if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2352 rm -rf conftest* | 2325 rm -rf conftest* |
2353 eval "ac_cv_lib_$ac_lib_var=yes" | 2326 eval "ac_cv_lib_$ac_lib_var=yes" |
2354 else | 2327 else |
2355 echo "configure: failed program was:" >&5 | 2328 echo "configure: failed program was:" >&5 |
2356 cat conftest.$ac_ext >&5 | 2329 cat conftest.$ac_ext >&5 |
2373 fi | 2346 fi |
2374 | 2347 |
2375 fi | 2348 fi |
2376 | 2349 |
2377 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 | 2350 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 |
2378 echo "configure:2379: checking for working fnmatch" >&5 | 2351 echo "configure:2352: checking for working fnmatch" >&5 |
2379 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then | 2352 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then |
2380 echo $ac_n "(cached) $ac_c" 1>&6 | 2353 echo $ac_n "(cached) $ac_c" 1>&6 |
2381 else | 2354 else |
2382 # Some versions of Solaris or SCO have a broken fnmatch function. | 2355 # Some versions of Solaris or SCO have a broken fnmatch function. |
2383 # So we run a test program. If we are cross-compiling, take no chance. | 2356 # So we run a test program. If we are cross-compiling, take no chance. |
2384 # Thanks to John Oleynick and Franc,ois Pinard for this test. | 2357 # Thanks to John Oleynick and Franc,ois Pinard for this test. |
2385 if test "$cross_compiling" = yes; then | 2358 if test "$cross_compiling" = yes; then |
2386 ac_cv_func_fnmatch_works=no | 2359 ac_cv_func_fnmatch_works=no |
2387 else | 2360 else |
2388 cat > conftest.$ac_ext <<EOF | 2361 cat > conftest.$ac_ext <<EOF |
2389 #line 2390 "configure" | 2362 #line 2363 "configure" |
2390 #include "confdefs.h" | 2363 #include "confdefs.h" |
2391 main() { exit (fnmatch ("a*", "abc", 0) != 0); } | 2364 main() { exit (fnmatch ("a*", "abc", 0) != 0); } |
2392 EOF | 2365 EOF |
2393 if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2366 if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2394 then | 2367 then |
2395 ac_cv_func_fnmatch_works=yes | 2368 ac_cv_func_fnmatch_works=yes |
2396 else | 2369 else |
2397 echo "configure: failed program was:" >&5 | 2370 echo "configure: failed program was:" >&5 |
2398 cat conftest.$ac_ext >&5 | 2371 cat conftest.$ac_ext >&5 |
2413 fi | 2386 fi |
2414 | 2387 |
2415 for ac_func in fdopen vsnprintf snprintf __vsnprintf __snprintf | 2388 for ac_func in fdopen vsnprintf snprintf __vsnprintf __snprintf |
2416 do | 2389 do |
2417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2418 echo "configure:2419: checking for $ac_func" >&5 | 2391 echo "configure:2392: checking for $ac_func" >&5 |
2419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2420 echo $ac_n "(cached) $ac_c" 1>&6 | 2393 echo $ac_n "(cached) $ac_c" 1>&6 |
2421 else | 2394 else |
2422 cat > conftest.$ac_ext <<EOF | 2395 cat > conftest.$ac_ext <<EOF |
2423 #line 2424 "configure" | 2396 #line 2397 "configure" |
2424 #include "confdefs.h" | 2397 #include "confdefs.h" |
2425 /* System header to define __stub macros and hopefully few prototypes, | 2398 /* System header to define __stub macros and hopefully few prototypes, |
2426 which can conflict with char $ac_func(); below. */ | 2399 which can conflict with char $ac_func(); below. */ |
2427 #include <assert.h> | 2400 #include <assert.h> |
2428 /* Override any gcc2 internal prototype to avoid an error. */ | 2401 /* Override any gcc2 internal prototype to avoid an error. */ |
2441 $ac_func(); | 2414 $ac_func(); |
2442 #endif | 2415 #endif |
2443 | 2416 |
2444 ; return 0; } | 2417 ; return 0; } |
2445 EOF | 2418 EOF |
2446 if { (eval echo configure:2447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2419 if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2447 rm -rf conftest* | 2420 rm -rf conftest* |
2448 eval "ac_cv_func_$ac_func=yes" | 2421 eval "ac_cv_func_$ac_func=yes" |
2449 else | 2422 else |
2450 echo "configure: failed program was:" >&5 | 2423 echo "configure: failed program was:" >&5 |
2451 cat conftest.$ac_ext >&5 | 2424 cat conftest.$ac_ext >&5 |
2468 done | 2441 done |
2469 | 2442 |
2470 for ac_func in gethostname mkdir mktime select socket strerror strstr uname | 2443 for ac_func in gethostname mkdir mktime select socket strerror strstr uname |
2471 do | 2444 do |
2472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2473 echo "configure:2474: checking for $ac_func" >&5 | 2446 echo "configure:2447: checking for $ac_func" >&5 |
2474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2475 echo $ac_n "(cached) $ac_c" 1>&6 | 2448 echo $ac_n "(cached) $ac_c" 1>&6 |
2476 else | 2449 else |
2477 cat > conftest.$ac_ext <<EOF | 2450 cat > conftest.$ac_ext <<EOF |
2478 #line 2479 "configure" | 2451 #line 2452 "configure" |
2479 #include "confdefs.h" | 2452 #include "confdefs.h" |
2480 /* System header to define __stub macros and hopefully few prototypes, | 2453 /* System header to define __stub macros and hopefully few prototypes, |
2481 which can conflict with char $ac_func(); below. */ | 2454 which can conflict with char $ac_func(); below. */ |
2482 #include <assert.h> | 2455 #include <assert.h> |
2483 /* Override any gcc2 internal prototype to avoid an error. */ | 2456 /* Override any gcc2 internal prototype to avoid an error. */ |
2496 $ac_func(); | 2469 $ac_func(); |
2497 #endif | 2470 #endif |
2498 | 2471 |
2499 ; return 0; } | 2472 ; return 0; } |
2500 EOF | 2473 EOF |
2501 if { (eval echo configure:2502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2474 if { (eval echo configure:2475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2502 rm -rf conftest* | 2475 rm -rf conftest* |
2503 eval "ac_cv_func_$ac_func=yes" | 2476 eval "ac_cv_func_$ac_func=yes" |
2504 else | 2477 else |
2505 echo "configure: failed program was:" >&5 | 2478 echo "configure: failed program was:" >&5 |
2506 cat conftest.$ac_ext >&5 | 2479 cat conftest.$ac_ext >&5 |
2562 if test "${with_docdir+set}" = set; then | 2535 if test "${with_docdir+set}" = set; then |
2563 withval="$with_docdir" | 2536 withval="$with_docdir" |
2564 noffle_cv_docdir=$withval | 2537 noffle_cv_docdir=$withval |
2565 else | 2538 else |
2566 echo $ac_n "checking where to put the documentation""... $ac_c" 1>&6 | 2539 echo $ac_n "checking where to put the documentation""... $ac_c" 1>&6 |
2567 echo "configure:2568: checking where to put the documentation" >&5 | 2540 echo "configure:2541: checking where to put the documentation" >&5 |
2568 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then | 2541 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then |
2569 echo $ac_n "(cached) $ac_c" 1>&6 | 2542 echo $ac_n "(cached) $ac_c" 1>&6 |
2570 else | 2543 else |
2571 if test x$prefix = xNONE; then | 2544 if test x$prefix = xNONE; then |
2572 noffle_cv_prefix=$ac_default_prefix | 2545 noffle_cv_prefix=$ac_default_prefix |
2600 | 2573 |
2601 | 2574 |
2602 | 2575 |
2603 DOCDIR=$noffle_cv_docdir | 2576 DOCDIR=$noffle_cv_docdir |
2604 | 2577 |
2578 | |
2579 cat >> confdefs.h <<EOF | |
2580 #define SENDMAILPROG "$SENDMAILPROG" | |
2581 EOF | |
2605 | 2582 |
2606 | 2583 |
2607 | 2584 |
2608 trap '' 1 2 15 | 2585 trap '' 1 2 15 |
2609 cat > confcache <<\EOF | 2586 cat > confcache <<\EOF |
2749 s%@AUTOHEADER@%$AUTOHEADER%g | 2726 s%@AUTOHEADER@%$AUTOHEADER%g |
2750 s%@MAKEINFO@%$MAKEINFO%g | 2727 s%@MAKEINFO@%$MAKEINFO%g |
2751 s%@SET_MAKE@%$SET_MAKE%g | 2728 s%@SET_MAKE@%$SET_MAKE%g |
2752 s%@CC@%$CC%g | 2729 s%@CC@%$CC%g |
2753 s%@CPP@%$CPP%g | 2730 s%@CPP@%$CPP%g |
2754 s%@MAILPROG@%$MAILPROG%g | 2731 s%@SENDMAILPROG@%$SENDMAILPROG%g |
2755 s%@SORTPROG@%$SORTPROG%g | |
2756 s%@CONFIGFILE@%$CONFIGFILE%g | 2732 s%@CONFIGFILE@%$CONFIGFILE%g |
2757 s%@SPOOLDIR@%$SPOOLDIR%g | 2733 s%@SPOOLDIR@%$SPOOLDIR%g |
2758 s%@DOCDIR@%$DOCDIR%g | 2734 s%@DOCDIR@%$DOCDIR%g |
2759 | 2735 |
2760 CEOF | 2736 CEOF |