… | |
… | |
1195 | else |
1195 | else |
1196 | echo "$ac_t""no" 1>&6 |
1196 | echo "$ac_t""no" 1>&6 |
1197 | fi |
1197 | fi |
1198 | done |
1198 | done |
1199 | |
1199 | |
1200 | for ac_func in gettimeofday fgetc_unlocked |
1200 | |
|
|
1201 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
|
|
1202 | for ac_func in gettimeofday fgetc_unlocked strcasecmp strncasecmp strcasestr |
1201 | do |
1203 | do |
1202 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1204 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1203 | echo "configure:1204: checking for $ac_func" >&5 |
1205 | echo "configure:1206: checking for $ac_func" >&5 |
1204 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1206 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1205 | echo $ac_n "(cached) $ac_c" 1>&6 |
1207 | echo $ac_n "(cached) $ac_c" 1>&6 |
1206 | else |
1208 | else |
1207 | cat > conftest.$ac_ext <<EOF |
1209 | cat > conftest.$ac_ext <<EOF |
1208 | #line 1209 "configure" |
1210 | #line 1211 "configure" |
1209 | #include "confdefs.h" |
1211 | #include "confdefs.h" |
1210 | /* System header to define __stub macros and hopefully few prototypes, |
1212 | /* System header to define __stub macros and hopefully few prototypes, |
1211 | which can conflict with char $ac_func(); below. */ |
1213 | which can conflict with char $ac_func(); below. */ |
1212 | #include <assert.h> |
1214 | #include <assert.h> |
1213 | /* Override any gcc2 internal prototype to avoid an error. */ |
1215 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1226 | $ac_func(); |
1228 | $ac_func(); |
1227 | #endif |
1229 | #endif |
1228 | |
1230 | |
1229 | ; return 0; } |
1231 | ; return 0; } |
1230 | EOF |
1232 | EOF |
1231 | if { (eval echo configure:1232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1233 | if { (eval echo configure:1234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1232 | rm -rf conftest* |
1234 | rm -rf conftest* |
1233 | eval "ac_cv_func_$ac_func=yes" |
1235 | eval "ac_cv_func_$ac_func=yes" |
1234 | else |
1236 | else |
1235 | echo "configure: failed program was:" >&5 |
1237 | echo "configure: failed program was:" >&5 |
1236 | cat conftest.$ac_ext >&5 |
1238 | cat conftest.$ac_ext >&5 |
… | |
… | |
1252 | fi |
1254 | fi |
1253 | done |
1255 | done |
1254 | |
1256 | |
1255 | |
1257 | |
1256 | echo $ac_n "checking for tempnam""... $ac_c" 1>&6 |
1258 | echo $ac_n "checking for tempnam""... $ac_c" 1>&6 |
1257 | echo "configure:1258: checking for tempnam" >&5 |
1259 | echo "configure:1260: checking for tempnam" >&5 |
1258 | if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then |
1260 | if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then |
1259 | echo $ac_n "(cached) $ac_c" 1>&6 |
1261 | echo $ac_n "(cached) $ac_c" 1>&6 |
1260 | else |
1262 | else |
1261 | cat > conftest.$ac_ext <<EOF |
1263 | cat > conftest.$ac_ext <<EOF |
1262 | #line 1263 "configure" |
1264 | #line 1265 "configure" |
1263 | #include "confdefs.h" |
1265 | #include "confdefs.h" |
1264 | /* System header to define __stub macros and hopefully few prototypes, |
1266 | /* System header to define __stub macros and hopefully few prototypes, |
1265 | which can conflict with char tempnam(); below. */ |
1267 | which can conflict with char tempnam(); below. */ |
1266 | #include <assert.h> |
1268 | #include <assert.h> |
1267 | /* Override any gcc2 internal prototype to avoid an error. */ |
1269 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1280 | tempnam(); |
1282 | tempnam(); |
1281 | #endif |
1283 | #endif |
1282 | |
1284 | |
1283 | ; return 0; } |
1285 | ; return 0; } |
1284 | EOF |
1286 | EOF |
1285 | if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1287 | if { (eval echo configure:1288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1286 | rm -rf conftest* |
1288 | rm -rf conftest* |
1287 | eval "ac_cv_func_tempnam=yes" |
1289 | eval "ac_cv_func_tempnam=yes" |
1288 | else |
1290 | else |
1289 | echo "configure: failed program was:" >&5 |
1291 | echo "configure: failed program was:" >&5 |
1290 | cat conftest.$ac_ext >&5 |
1292 | cat conftest.$ac_ext >&5 |
… | |
… | |
1305 | |
1307 | |
1306 | fi |
1308 | fi |
1307 | |
1309 | |
1308 | |
1310 | |
1309 | echo $ac_n "checking for chmod""... $ac_c" 1>&6 |
1311 | echo $ac_n "checking for chmod""... $ac_c" 1>&6 |
1310 | echo "configure:1311: checking for chmod" >&5 |
1312 | echo "configure:1313: checking for chmod" >&5 |
1311 | if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then |
1313 | if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then |
1312 | echo $ac_n "(cached) $ac_c" 1>&6 |
1314 | echo $ac_n "(cached) $ac_c" 1>&6 |
1313 | else |
1315 | else |
1314 | cat > conftest.$ac_ext <<EOF |
1316 | cat > conftest.$ac_ext <<EOF |
1315 | #line 1316 "configure" |
1317 | #line 1318 "configure" |
1316 | #include "confdefs.h" |
1318 | #include "confdefs.h" |
1317 | /* System header to define __stub macros and hopefully few prototypes, |
1319 | /* System header to define __stub macros and hopefully few prototypes, |
1318 | which can conflict with char chmod(); below. */ |
1320 | which can conflict with char chmod(); below. */ |
1319 | #include <assert.h> |
1321 | #include <assert.h> |
1320 | /* Override any gcc2 internal prototype to avoid an error. */ |
1322 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1333 | chmod(); |
1335 | chmod(); |
1334 | #endif |
1336 | #endif |
1335 | |
1337 | |
1336 | ; return 0; } |
1338 | ; return 0; } |
1337 | EOF |
1339 | EOF |
1338 | if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1340 | if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1339 | rm -rf conftest* |
1341 | rm -rf conftest* |
1340 | eval "ac_cv_func_chmod=yes" |
1342 | eval "ac_cv_func_chmod=yes" |
1341 | else |
1343 | else |
1342 | echo "configure: failed program was:" >&5 |
1344 | echo "configure: failed program was:" >&5 |
1343 | cat conftest.$ac_ext >&5 |
1345 | cat conftest.$ac_ext >&5 |
… | |
… | |
1356 | else |
1358 | else |
1357 | echo "$ac_t""no" 1>&6 |
1359 | echo "$ac_t""no" 1>&6 |
1358 | fi |
1360 | fi |
1359 | |
1361 | |
1360 | echo $ac_n "checking for umask""... $ac_c" 1>&6 |
1362 | echo $ac_n "checking for umask""... $ac_c" 1>&6 |
1361 | echo "configure:1362: checking for umask" >&5 |
1363 | echo "configure:1364: checking for umask" >&5 |
1362 | if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then |
1364 | if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then |
1363 | echo $ac_n "(cached) $ac_c" 1>&6 |
1365 | echo $ac_n "(cached) $ac_c" 1>&6 |
1364 | else |
1366 | else |
1365 | cat > conftest.$ac_ext <<EOF |
1367 | cat > conftest.$ac_ext <<EOF |
1366 | #line 1367 "configure" |
1368 | #line 1369 "configure" |
1367 | #include "confdefs.h" |
1369 | #include "confdefs.h" |
1368 | /* System header to define __stub macros and hopefully few prototypes, |
1370 | /* System header to define __stub macros and hopefully few prototypes, |
1369 | which can conflict with char umask(); below. */ |
1371 | which can conflict with char umask(); below. */ |
1370 | #include <assert.h> |
1372 | #include <assert.h> |
1371 | /* Override any gcc2 internal prototype to avoid an error. */ |
1373 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1384 | umask(); |
1386 | umask(); |
1385 | #endif |
1387 | #endif |
1386 | |
1388 | |
1387 | ; return 0; } |
1389 | ; return 0; } |
1388 | EOF |
1390 | EOF |
1389 | if { (eval echo configure:1390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1391 | if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1390 | rm -rf conftest* |
1392 | rm -rf conftest* |
1391 | eval "ac_cv_func_umask=yes" |
1393 | eval "ac_cv_func_umask=yes" |
1392 | else |
1394 | else |
1393 | echo "configure: failed program was:" >&5 |
1395 | echo "configure: failed program was:" >&5 |
1394 | cat conftest.$ac_ext >&5 |
1396 | cat conftest.$ac_ext >&5 |
… | |
… | |
1407 | else |
1409 | else |
1408 | echo "$ac_t""no" 1>&6 |
1410 | echo "$ac_t""no" 1>&6 |
1409 | fi |
1411 | fi |
1410 | |
1412 | |
1411 | echo $ac_n "checking for mkstemp""... $ac_c" 1>&6 |
1413 | echo $ac_n "checking for mkstemp""... $ac_c" 1>&6 |
1412 | echo "configure:1413: checking for mkstemp" >&5 |
1414 | echo "configure:1415: checking for mkstemp" >&5 |
1413 | if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then |
1415 | if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then |
1414 | echo $ac_n "(cached) $ac_c" 1>&6 |
1416 | echo $ac_n "(cached) $ac_c" 1>&6 |
1415 | else |
1417 | else |
1416 | cat > conftest.$ac_ext <<EOF |
1418 | cat > conftest.$ac_ext <<EOF |
1417 | #line 1418 "configure" |
1419 | #line 1420 "configure" |
1418 | #include "confdefs.h" |
1420 | #include "confdefs.h" |
1419 | /* System header to define __stub macros and hopefully few prototypes, |
1421 | /* System header to define __stub macros and hopefully few prototypes, |
1420 | which can conflict with char mkstemp(); below. */ |
1422 | which can conflict with char mkstemp(); below. */ |
1421 | #include <assert.h> |
1423 | #include <assert.h> |
1422 | /* Override any gcc2 internal prototype to avoid an error. */ |
1424 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1435 | mkstemp(); |
1437 | mkstemp(); |
1436 | #endif |
1438 | #endif |
1437 | |
1439 | |
1438 | ; return 0; } |
1440 | ; return 0; } |
1439 | EOF |
1441 | EOF |
1440 | if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1442 | if { (eval echo configure:1443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1441 | rm -rf conftest* |
1443 | rm -rf conftest* |
1442 | eval "ac_cv_func_mkstemp=yes" |
1444 | eval "ac_cv_func_mkstemp=yes" |
1443 | else |
1445 | else |
1444 | echo "configure: failed program was:" >&5 |
1446 | echo "configure: failed program was:" >&5 |
1445 | cat conftest.$ac_ext >&5 |
1447 | cat conftest.$ac_ext >&5 |
… | |
… | |
1464 | # strerror might be internally defined. this would cause a |
1466 | # strerror might be internally defined. this would cause a |
1465 | # CHECK_FUNCS(strerror) to fail because it'd be called with |
1467 | # CHECK_FUNCS(strerror) to fail because it'd be called with |
1466 | # zero arguments. So use our own code. |
1468 | # zero arguments. So use our own code. |
1467 | # |
1469 | # |
1468 | echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
1470 | echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
1469 | echo "configure:1470: checking for strerror" >&5 |
1471 | echo "configure:1472: checking for strerror" >&5 |
1470 | cat > conftest.$ac_ext <<EOF |
1472 | cat > conftest.$ac_ext <<EOF |
1471 | #line 1472 "configure" |
1473 | #line 1474 "configure" |
1472 | #include "confdefs.h" |
1474 | #include "confdefs.h" |
1473 | |
1475 | |
1474 | char *blubb() { return (char *) strerror (42); } |
1476 | char *blubb() { return (char *) strerror (42); } |
1475 | |
1477 | |
1476 | int main() { |
1478 | int main() { |
1477 | |
1479 | |
1478 | (void) blubb(); |
1480 | (void) blubb(); |
1479 | |
1481 | |
1480 | ; return 0; } |
1482 | ; return 0; } |
1481 | EOF |
1483 | EOF |
1482 | if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1484 | if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1483 | rm -rf conftest* |
1485 | rm -rf conftest* |
1484 | have_strerror=yes |
1486 | have_strerror=yes |
1485 | else |
1487 | else |
1486 | echo "configure: failed program was:" >&5 |
1488 | echo "configure: failed program was:" >&5 |
1487 | cat conftest.$ac_ext >&5 |
1489 | cat conftest.$ac_ext >&5 |
… | |
… | |
1494 | fi |
1496 | fi |
1495 | rm -f conftest* |
1497 | rm -f conftest* |
1496 | echo "$ac_t""$have_strerror" 1>&6 |
1498 | echo "$ac_t""$have_strerror" 1>&6 |
1497 | |
1499 | |
1498 | echo $ac_n "checking for stdin""... $ac_c" 1>&6 |
1500 | echo $ac_n "checking for stdin""... $ac_c" 1>&6 |
1499 | echo "configure:1500: checking for stdin" >&5 |
1501 | echo "configure:1502: checking for stdin" >&5 |
1500 | cat > conftest.$ac_ext <<EOF |
1502 | cat > conftest.$ac_ext <<EOF |
1501 | #line 1502 "configure" |
1503 | #line 1504 "configure" |
1502 | #include "confdefs.h" |
1504 | #include "confdefs.h" |
1503 | |
1505 | |
1504 | #include <stdio.h> |
1506 | #include <stdio.h> |
1505 | char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } |
1507 | char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } |
1506 | |
1508 | |
… | |
… | |
1508 | |
1510 | |
1509 | (void) blubb(); |
1511 | (void) blubb(); |
1510 | |
1512 | |
1511 | ; return 0; } |
1513 | ; return 0; } |
1512 | EOF |
1514 | EOF |
1513 | if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1515 | if { (eval echo configure:1516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1514 | rm -rf conftest* |
1516 | rm -rf conftest* |
1515 | have_stdio=yes |
1517 | have_stdio=yes |
1516 | else |
1518 | else |
1517 | echo "configure: failed program was:" >&5 |
1519 | echo "configure: failed program was:" >&5 |
1518 | cat conftest.$ac_ext >&5 |
1520 | cat conftest.$ac_ext >&5 |
… | |
… | |
1529 | if test "$ac_cv_header_stdc" = "no" ; then |
1531 | if test "$ac_cv_header_stdc" = "no" ; then |
1530 | for ac_hdr in stdarg.h varargs.h |
1532 | for ac_hdr in stdarg.h varargs.h |
1531 | do |
1533 | do |
1532 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1534 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1533 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1535 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1534 | echo "configure:1535: checking for $ac_hdr" >&5 |
1536 | echo "configure:1537: checking for $ac_hdr" >&5 |
1535 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1537 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1536 | echo $ac_n "(cached) $ac_c" 1>&6 |
1538 | echo $ac_n "(cached) $ac_c" 1>&6 |
1537 | else |
1539 | else |
1538 | cat > conftest.$ac_ext <<EOF |
1540 | cat > conftest.$ac_ext <<EOF |
1539 | #line 1540 "configure" |
1541 | #line 1542 "configure" |
1540 | #include "confdefs.h" |
1542 | #include "confdefs.h" |
1541 | #include <$ac_hdr> |
1543 | #include <$ac_hdr> |
1542 | EOF |
1544 | EOF |
1543 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1545 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1544 | { (eval echo configure:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1546 | { (eval echo configure:1547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1545 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1547 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1546 | if test -z "$ac_err"; then |
1548 | if test -z "$ac_err"; then |
1547 | rm -rf conftest* |
1549 | rm -rf conftest* |
1548 | eval "ac_cv_header_$ac_safe=yes" |
1550 | eval "ac_cv_header_$ac_safe=yes" |
1549 | else |
1551 | else |
… | |
… | |
1617 | |
1619 | |
1618 | # |
1620 | # |
1619 | # set version number |
1621 | # set version number |
1620 | # |
1622 | # |
1621 | echo $ac_n "checking version number""... $ac_c" 1>&6 |
1623 | echo $ac_n "checking version number""... $ac_c" 1>&6 |
1622 | echo "configure:1623: checking version number" >&5 |
1624 | echo "configure:1625: checking version number" >&5 |
1623 | version_number="$VERSION"pl"$PATCH" |
1625 | version_number="$VERSION"pl"$PATCH" |
1624 | echo "$ac_t""$version_number" 1>&6 |
1626 | echo "$ac_t""$version_number" 1>&6 |
1625 | |
1627 | |
1626 | |
1628 | |
1627 | |
1629 | |