Mercurial > hg > xemacs-beta
comparison configure @ 245:51092a27c943 r20-5b21
Import from CVS: tag r20-5b21
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:17:54 +0200 |
| parents | f220cc83d72e |
| children | 83b3d10dcba9 |
comparison
equal
deleted
inserted
replaced
| 244:78d4f1140794 | 245:51092a27c943 |
|---|---|
| 336 use_union_type | \ | 336 use_union_type | \ |
| 337 debug | \ | 337 debug | \ |
| 338 use_assertions | \ | 338 use_assertions | \ |
| 339 memory_usage_stats | \ | 339 memory_usage_stats | \ |
| 340 with_clash_detection | \ | 340 with_clash_detection | \ |
| 341 with_shlib | \ | |
| 341 no_doc_file ) | 342 no_doc_file ) |
| 342 case "$val" in | 343 case "$val" in |
| 343 y | ye | yes ) val=yes ;; | 344 y | ye | yes ) val=yes ;; |
| 344 n | no ) val=no ;; | 345 n | no ) val=no ;; |
| 345 * ) (echo "$progname: Usage error:" | 346 * ) (echo "$progname: Usage error:" |
| 627 ;; | 628 ;; |
| 628 esac | 629 esac |
| 629 | 630 |
| 630 if test -z "$configuration"; then | 631 if test -z "$configuration"; then |
| 631 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 632 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 632 echo "configure:633: checking "host system type"" >&5 | 633 echo "configure:634: checking "host system type"" >&5 |
| 633 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 634 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 634 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 635 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 635 echo "$ac_t""$configuration" 1>&6 | 636 echo "$ac_t""$configuration" 1>&6 |
| 636 else | 637 else |
| 637 echo "$ac_t""unknown" 1>&6 | 638 echo "$ac_t""unknown" 1>&6 |
| 641 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 642 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 642 fi | 643 fi |
| 643 fi | 644 fi |
| 644 | 645 |
| 645 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 646 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 646 echo "configure:647: checking whether ln -s works" >&5 | 647 echo "configure:648: checking whether ln -s works" >&5 |
| 647 | 648 |
| 648 rm -f conftestdata | 649 rm -f conftestdata |
| 649 if ln -s X conftestdata 2>/dev/null | 650 if ln -s X conftestdata 2>/dev/null |
| 650 then | 651 then |
| 651 rm -f conftestdata | 652 rm -f conftestdata |
| 818 } | 819 } |
| 819 | 820 |
| 820 | 821 |
| 821 | 822 |
| 822 echo "checking "the configuration name"" 1>&6 | 823 echo "checking "the configuration name"" 1>&6 |
| 823 echo "configure:824: checking "the configuration name"" >&5 | 824 echo "configure:825: checking "the configuration name"" >&5 |
| 824 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 825 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 825 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 826 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 826 exit $? | 827 exit $? |
| 827 fi | 828 fi |
| 828 | 829 |
| 1265 extra_objs="$extra_objs filelock.o" && if test "$extra_verbose" = "yes"; then | 1266 extra_objs="$extra_objs filelock.o" && if test "$extra_verbose" = "yes"; then |
| 1266 echo " xemacs will be linked with \"filelock.o\"" | 1267 echo " xemacs will be linked with \"filelock.o\"" |
| 1267 fi | 1268 fi |
| 1268 fi | 1269 fi |
| 1269 | 1270 |
| 1271 if test "$with_shlib" = "yes"; then | |
| 1272 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 1273 Defining HAVE_SHLIB | |
| 1274 EOF | |
| 1275 cat >> confdefs.h <<\EOF | |
| 1276 #define HAVE_SHLIB 1 | |
| 1277 EOF | |
| 1278 } | |
| 1279 | |
| 1280 extra_objs="$extra_objs dlopen.o" && if test "$extra_verbose" = "yes"; then | |
| 1281 echo " xemacs will be linked with \"dlopen.o\"" | |
| 1282 fi | |
| 1283 fi | |
| 1284 | |
| 1270 test -n "$compiler" && CC="$compiler" | 1285 test -n "$compiler" && CC="$compiler" |
| 1271 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac | 1286 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac |
| 1272 fi | 1287 fi |
| 1273 | 1288 |
| 1274 test "$cflags" != "UNSPECIFIED" && CFLAGS="$cflags" | 1289 test "$cflags" != "UNSPECIFIED" && CFLAGS="$cflags" |
| 1275 xe_save_CFLAGS="$CFLAGS" | 1290 xe_save_CFLAGS="$CFLAGS" |
| 1276 | 1291 |
| 1277 # Extract the first word of "gcc", so it can be a program name with args. | 1292 # Extract the first word of "gcc", so it can be a program name with args. |
| 1278 set dummy gcc; ac_word=$2 | 1293 set dummy gcc; ac_word=$2 |
| 1279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1280 echo "configure:1281: checking for $ac_word" >&5 | 1295 echo "configure:1296: checking for $ac_word" >&5 |
| 1281 | 1296 |
| 1282 if test -n "$CC"; then | 1297 if test -n "$CC"; then |
| 1283 ac_cv_prog_CC="$CC" # Let the user override the test. | 1298 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1284 else | 1299 else |
| 1285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1301 | 1316 |
| 1302 if test -z "$CC"; then | 1317 if test -z "$CC"; then |
| 1303 # Extract the first word of "cc", so it can be a program name with args. | 1318 # Extract the first word of "cc", so it can be a program name with args. |
| 1304 set dummy cc; ac_word=$2 | 1319 set dummy cc; ac_word=$2 |
| 1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1306 echo "configure:1307: checking for $ac_word" >&5 | 1321 echo "configure:1322: checking for $ac_word" >&5 |
| 1307 | 1322 |
| 1308 if test -n "$CC"; then | 1323 if test -n "$CC"; then |
| 1309 ac_cv_prog_CC="$CC" # Let the user override the test. | 1324 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1310 else | 1325 else |
| 1311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1346 | 1361 |
| 1347 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1362 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1348 fi | 1363 fi |
| 1349 | 1364 |
| 1350 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1365 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1351 echo "configure:1352: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1366 echo "configure:1367: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1352 | 1367 |
| 1353 ac_ext=c | 1368 ac_ext=c |
| 1354 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1369 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1355 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1370 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1356 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1371 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1358 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1373 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1359 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1374 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1360 cross_compiling=no | 1375 cross_compiling=no |
| 1361 | 1376 |
| 1362 cat > conftest.$ac_ext <<EOF | 1377 cat > conftest.$ac_ext <<EOF |
| 1363 #line 1364 "configure" | 1378 #line 1379 "configure" |
| 1364 #include "confdefs.h" | 1379 #include "confdefs.h" |
| 1365 main(){return(0);} | 1380 main(){return(0);} |
| 1366 EOF | 1381 EOF |
| 1367 if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1382 if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1368 ac_cv_prog_cc_works=yes | 1383 ac_cv_prog_cc_works=yes |
| 1369 # If we can't run a trivial program, we are probably using a cross compiler. | 1384 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1370 if (./conftest; exit) 2>/dev/null; then | 1385 if (./conftest; exit) 2>/dev/null; then |
| 1371 ac_cv_prog_cc_cross=no | 1386 ac_cv_prog_cc_cross=no |
| 1372 else | 1387 else |
| 1382 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1397 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1383 if test $ac_cv_prog_cc_works = no; then | 1398 if test $ac_cv_prog_cc_works = no; then |
| 1384 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1399 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1385 fi | 1400 fi |
| 1386 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1401 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1387 echo "configure:1388: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1402 echo "configure:1403: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1388 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1403 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1389 cross_compiling=$ac_cv_prog_cc_cross | 1404 cross_compiling=$ac_cv_prog_cc_cross |
| 1390 | 1405 |
| 1391 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1406 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1392 echo "configure:1393: checking whether we are using GNU C" >&5 | 1407 echo "configure:1408: checking whether we are using GNU C" >&5 |
| 1393 | 1408 |
| 1394 cat > conftest.c <<EOF | 1409 cat > conftest.c <<EOF |
| 1395 #ifdef __GNUC__ | 1410 #ifdef __GNUC__ |
| 1396 yes; | 1411 yes; |
| 1397 #endif | 1412 #endif |
| 1398 EOF | 1413 EOF |
| 1399 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1414 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1400 ac_cv_prog_gcc=yes | 1415 ac_cv_prog_gcc=yes |
| 1401 else | 1416 else |
| 1402 ac_cv_prog_gcc=no | 1417 ac_cv_prog_gcc=no |
| 1403 fi | 1418 fi |
| 1404 | 1419 |
| 1408 GCC=yes | 1423 GCC=yes |
| 1409 ac_test_CFLAGS="${CFLAGS+set}" | 1424 ac_test_CFLAGS="${CFLAGS+set}" |
| 1410 ac_save_CFLAGS="$CFLAGS" | 1425 ac_save_CFLAGS="$CFLAGS" |
| 1411 CFLAGS= | 1426 CFLAGS= |
| 1412 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1427 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1413 echo "configure:1414: checking whether ${CC-cc} accepts -g" >&5 | 1428 echo "configure:1429: checking whether ${CC-cc} accepts -g" >&5 |
| 1414 | 1429 |
| 1415 echo 'void f(){}' > conftest.c | 1430 echo 'void f(){}' > conftest.c |
| 1416 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1431 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1417 ac_cv_prog_cc_g=yes | 1432 ac_cv_prog_cc_g=yes |
| 1418 else | 1433 else |
| 1437 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1452 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1438 CC=${NON_GNU_CC-cc} | 1453 CC=${NON_GNU_CC-cc} |
| 1439 # Extract the first word of "gcc", so it can be a program name with args. | 1454 # Extract the first word of "gcc", so it can be a program name with args. |
| 1440 set dummy gcc; ac_word=$2 | 1455 set dummy gcc; ac_word=$2 |
| 1441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1456 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1442 echo "configure:1443: checking for $ac_word" >&5 | 1457 echo "configure:1458: checking for $ac_word" >&5 |
| 1443 | 1458 |
| 1444 if test -n "$CC"; then | 1459 if test -n "$CC"; then |
| 1445 ac_cv_prog_CC="$CC" # Let the user override the test. | 1460 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1446 else | 1461 else |
| 1447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1462 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1463 | 1478 |
| 1464 if test -z "$CC"; then | 1479 if test -z "$CC"; then |
| 1465 # Extract the first word of "cc", so it can be a program name with args. | 1480 # Extract the first word of "cc", so it can be a program name with args. |
| 1466 set dummy cc; ac_word=$2 | 1481 set dummy cc; ac_word=$2 |
| 1467 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1468 echo "configure:1469: checking for $ac_word" >&5 | 1483 echo "configure:1484: checking for $ac_word" >&5 |
| 1469 | 1484 |
| 1470 if test -n "$CC"; then | 1485 if test -n "$CC"; then |
| 1471 ac_cv_prog_CC="$CC" # Let the user override the test. | 1486 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1472 else | 1487 else |
| 1473 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1508 | 1523 |
| 1509 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1524 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1510 fi | 1525 fi |
| 1511 | 1526 |
| 1512 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1527 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1513 echo "configure:1514: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1528 echo "configure:1529: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1514 | 1529 |
| 1515 ac_ext=c | 1530 ac_ext=c |
| 1516 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1531 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1517 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1532 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1518 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1533 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1520 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1535 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1521 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1536 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1522 cross_compiling=no | 1537 cross_compiling=no |
| 1523 | 1538 |
| 1524 cat > conftest.$ac_ext <<EOF | 1539 cat > conftest.$ac_ext <<EOF |
| 1525 #line 1526 "configure" | 1540 #line 1541 "configure" |
| 1526 #include "confdefs.h" | 1541 #include "confdefs.h" |
| 1527 main(){return(0);} | 1542 main(){return(0);} |
| 1528 EOF | 1543 EOF |
| 1529 if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1544 if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1530 ac_cv_prog_cc_works=yes | 1545 ac_cv_prog_cc_works=yes |
| 1531 # If we can't run a trivial program, we are probably using a cross compiler. | 1546 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1532 if (./conftest; exit) 2>/dev/null; then | 1547 if (./conftest; exit) 2>/dev/null; then |
| 1533 ac_cv_prog_cc_cross=no | 1548 ac_cv_prog_cc_cross=no |
| 1534 else | 1549 else |
| 1544 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1559 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1545 if test $ac_cv_prog_cc_works = no; then | 1560 if test $ac_cv_prog_cc_works = no; then |
| 1546 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1561 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1547 fi | 1562 fi |
| 1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1563 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1564 echo "configure:1565: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1550 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1565 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1551 cross_compiling=$ac_cv_prog_cc_cross | 1566 cross_compiling=$ac_cv_prog_cc_cross |
| 1552 | 1567 |
| 1553 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1568 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1554 echo "configure:1555: checking whether we are using GNU C" >&5 | 1569 echo "configure:1570: checking whether we are using GNU C" >&5 |
| 1555 | 1570 |
| 1556 cat > conftest.c <<EOF | 1571 cat > conftest.c <<EOF |
| 1557 #ifdef __GNUC__ | 1572 #ifdef __GNUC__ |
| 1558 yes; | 1573 yes; |
| 1559 #endif | 1574 #endif |
| 1560 EOF | 1575 EOF |
| 1561 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1576 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1562 ac_cv_prog_gcc=yes | 1577 ac_cv_prog_gcc=yes |
| 1563 else | 1578 else |
| 1564 ac_cv_prog_gcc=no | 1579 ac_cv_prog_gcc=no |
| 1565 fi | 1580 fi |
| 1566 | 1581 |
| 1570 GCC=yes | 1585 GCC=yes |
| 1571 ac_test_CFLAGS="${CFLAGS+set}" | 1586 ac_test_CFLAGS="${CFLAGS+set}" |
| 1572 ac_save_CFLAGS="$CFLAGS" | 1587 ac_save_CFLAGS="$CFLAGS" |
| 1573 CFLAGS= | 1588 CFLAGS= |
| 1574 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1589 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1575 echo "configure:1576: checking whether ${CC-cc} accepts -g" >&5 | 1590 echo "configure:1591: checking whether ${CC-cc} accepts -g" >&5 |
| 1576 | 1591 |
| 1577 echo 'void f(){}' > conftest.c | 1592 echo 'void f(){}' > conftest.c |
| 1578 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1593 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1579 ac_cv_prog_cc_g=yes | 1594 ac_cv_prog_cc_g=yes |
| 1580 else | 1595 else |
| 1599 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1614 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1600 CC=gcc | 1615 CC=gcc |
| 1601 # Extract the first word of "gcc", so it can be a program name with args. | 1616 # Extract the first word of "gcc", so it can be a program name with args. |
| 1602 set dummy gcc; ac_word=$2 | 1617 set dummy gcc; ac_word=$2 |
| 1603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1604 echo "configure:1605: checking for $ac_word" >&5 | 1619 echo "configure:1620: checking for $ac_word" >&5 |
| 1605 | 1620 |
| 1606 if test -n "$CC"; then | 1621 if test -n "$CC"; then |
| 1607 ac_cv_prog_CC="$CC" # Let the user override the test. | 1622 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1608 else | 1623 else |
| 1609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1625 | 1640 |
| 1626 if test -z "$CC"; then | 1641 if test -z "$CC"; then |
| 1627 # Extract the first word of "cc", so it can be a program name with args. | 1642 # Extract the first word of "cc", so it can be a program name with args. |
| 1628 set dummy cc; ac_word=$2 | 1643 set dummy cc; ac_word=$2 |
| 1629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1630 echo "configure:1631: checking for $ac_word" >&5 | 1645 echo "configure:1646: checking for $ac_word" >&5 |
| 1631 | 1646 |
| 1632 if test -n "$CC"; then | 1647 if test -n "$CC"; then |
| 1633 ac_cv_prog_CC="$CC" # Let the user override the test. | 1648 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1634 else | 1649 else |
| 1635 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1670 | 1685 |
| 1671 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1686 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1672 fi | 1687 fi |
| 1673 | 1688 |
| 1674 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1689 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1675 echo "configure:1676: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1690 echo "configure:1691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1676 | 1691 |
| 1677 ac_ext=c | 1692 ac_ext=c |
| 1678 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1693 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1679 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1694 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1680 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1695 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1682 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1697 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1683 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1698 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1684 cross_compiling=no | 1699 cross_compiling=no |
| 1685 | 1700 |
| 1686 cat > conftest.$ac_ext <<EOF | 1701 cat > conftest.$ac_ext <<EOF |
| 1687 #line 1688 "configure" | 1702 #line 1703 "configure" |
| 1688 #include "confdefs.h" | 1703 #include "confdefs.h" |
| 1689 main(){return(0);} | 1704 main(){return(0);} |
| 1690 EOF | 1705 EOF |
| 1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1706 if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1692 ac_cv_prog_cc_works=yes | 1707 ac_cv_prog_cc_works=yes |
| 1693 # If we can't run a trivial program, we are probably using a cross compiler. | 1708 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1694 if (./conftest; exit) 2>/dev/null; then | 1709 if (./conftest; exit) 2>/dev/null; then |
| 1695 ac_cv_prog_cc_cross=no | 1710 ac_cv_prog_cc_cross=no |
| 1696 else | 1711 else |
| 1706 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1721 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1707 if test $ac_cv_prog_cc_works = no; then | 1722 if test $ac_cv_prog_cc_works = no; then |
| 1708 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1723 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1709 fi | 1724 fi |
| 1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1725 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1726 echo "configure:1727: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1712 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1727 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1713 cross_compiling=$ac_cv_prog_cc_cross | 1728 cross_compiling=$ac_cv_prog_cc_cross |
| 1714 | 1729 |
| 1715 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1730 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1716 echo "configure:1717: checking whether we are using GNU C" >&5 | 1731 echo "configure:1732: checking whether we are using GNU C" >&5 |
| 1717 | 1732 |
| 1718 cat > conftest.c <<EOF | 1733 cat > conftest.c <<EOF |
| 1719 #ifdef __GNUC__ | 1734 #ifdef __GNUC__ |
| 1720 yes; | 1735 yes; |
| 1721 #endif | 1736 #endif |
| 1722 EOF | 1737 EOF |
| 1723 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1738 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1724 ac_cv_prog_gcc=yes | 1739 ac_cv_prog_gcc=yes |
| 1725 else | 1740 else |
| 1726 ac_cv_prog_gcc=no | 1741 ac_cv_prog_gcc=no |
| 1727 fi | 1742 fi |
| 1728 | 1743 |
| 1732 GCC=yes | 1747 GCC=yes |
| 1733 ac_test_CFLAGS="${CFLAGS+set}" | 1748 ac_test_CFLAGS="${CFLAGS+set}" |
| 1734 ac_save_CFLAGS="$CFLAGS" | 1749 ac_save_CFLAGS="$CFLAGS" |
| 1735 CFLAGS= | 1750 CFLAGS= |
| 1736 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1737 echo "configure:1738: checking whether ${CC-cc} accepts -g" >&5 | 1752 echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5 |
| 1738 | 1753 |
| 1739 echo 'void f(){}' > conftest.c | 1754 echo 'void f(){}' > conftest.c |
| 1740 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1755 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1741 ac_cv_prog_cc_g=yes | 1756 ac_cv_prog_cc_g=yes |
| 1742 else | 1757 else |
| 1765 test -n "$CPP" -a -d "$CPP" && CPP= | 1780 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1766 | 1781 |
| 1767 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1782 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1768 | 1783 |
| 1769 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1784 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1770 echo "configure:1771: checking how to run the C preprocessor" >&5 | 1785 echo "configure:1786: checking how to run the C preprocessor" >&5 |
| 1771 # On Suns, sometimes $CPP names a directory. | 1786 # On Suns, sometimes $CPP names a directory. |
| 1772 if test -n "$CPP" && test -d "$CPP"; then | 1787 if test -n "$CPP" && test -d "$CPP"; then |
| 1773 CPP= | 1788 CPP= |
| 1774 fi | 1789 fi |
| 1775 if test -z "$CPP"; then | 1790 if test -z "$CPP"; then |
| 1778 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1793 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1779 CPP="${CC-cc} -E" | 1794 CPP="${CC-cc} -E" |
| 1780 # On the NeXT, cc -E runs the code through the compiler's parser, | 1795 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1781 # not just through cpp. | 1796 # not just through cpp. |
| 1782 cat > conftest.$ac_ext <<EOF | 1797 cat > conftest.$ac_ext <<EOF |
| 1783 #line 1784 "configure" | 1798 #line 1799 "configure" |
| 1784 #include "confdefs.h" | 1799 #include "confdefs.h" |
| 1785 #include <assert.h> | 1800 #include <assert.h> |
| 1786 Syntax Error | 1801 Syntax Error |
| 1787 EOF | 1802 EOF |
| 1788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1803 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1789 { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1804 { (eval echo configure:1805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1790 ac_err=`grep -v '^ *+' conftest.out` | 1805 ac_err=`grep -v '^ *+' conftest.out` |
| 1791 if test -z "$ac_err"; then | 1806 if test -z "$ac_err"; then |
| 1792 : | 1807 : |
| 1793 else | 1808 else |
| 1794 echo "$ac_err" >&5 | 1809 echo "$ac_err" >&5 |
| 1795 echo "configure: failed program was:" >&5 | 1810 echo "configure: failed program was:" >&5 |
| 1796 cat conftest.$ac_ext >&5 | 1811 cat conftest.$ac_ext >&5 |
| 1797 rm -rf conftest* | 1812 rm -rf conftest* |
| 1798 CPP="${CC-cc} -E -traditional-cpp" | 1813 CPP="${CC-cc} -E -traditional-cpp" |
| 1799 cat > conftest.$ac_ext <<EOF | 1814 cat > conftest.$ac_ext <<EOF |
| 1800 #line 1801 "configure" | 1815 #line 1816 "configure" |
| 1801 #include "confdefs.h" | 1816 #include "confdefs.h" |
| 1802 #include <assert.h> | 1817 #include <assert.h> |
| 1803 Syntax Error | 1818 Syntax Error |
| 1804 EOF | 1819 EOF |
| 1805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1806 { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1821 { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1807 ac_err=`grep -v '^ *+' conftest.out` | 1822 ac_err=`grep -v '^ *+' conftest.out` |
| 1808 if test -z "$ac_err"; then | 1823 if test -z "$ac_err"; then |
| 1809 : | 1824 : |
| 1810 else | 1825 else |
| 1811 echo "$ac_err" >&5 | 1826 echo "$ac_err" >&5 |
| 1824 fi | 1839 fi |
| 1825 echo "$ac_t""$CPP" 1>&6 | 1840 echo "$ac_t""$CPP" 1>&6 |
| 1826 | 1841 |
| 1827 | 1842 |
| 1828 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1843 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1829 echo "configure:1830: checking for AIX" >&5 | 1844 echo "configure:1845: checking for AIX" >&5 |
| 1830 cat > conftest.$ac_ext <<EOF | 1845 cat > conftest.$ac_ext <<EOF |
| 1831 #line 1832 "configure" | 1846 #line 1847 "configure" |
| 1832 #include "confdefs.h" | 1847 #include "confdefs.h" |
| 1833 #ifdef _AIX | 1848 #ifdef _AIX |
| 1834 yes | 1849 yes |
| 1835 #endif | 1850 #endif |
| 1836 | 1851 |
| 1853 rm -f conftest* | 1868 rm -f conftest* |
| 1854 | 1869 |
| 1855 | 1870 |
| 1856 | 1871 |
| 1857 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1872 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 1858 echo "configure:1859: checking for GNU libc" >&5 | 1873 echo "configure:1874: checking for GNU libc" >&5 |
| 1859 cat > conftest.$ac_ext <<EOF | 1874 cat > conftest.$ac_ext <<EOF |
| 1860 #line 1861 "configure" | 1875 #line 1876 "configure" |
| 1861 #include "confdefs.h" | 1876 #include "confdefs.h" |
| 1862 #include <features.h> | 1877 #include <features.h> |
| 1863 int main() { | 1878 int main() { |
| 1864 | 1879 |
| 1865 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1880 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 1867 ******* ======= ******** &&&&&&&& | 1882 ******* ======= ******** &&&&&&&& |
| 1868 #endif | 1883 #endif |
| 1869 | 1884 |
| 1870 ; return 0; } | 1885 ; return 0; } |
| 1871 EOF | 1886 EOF |
| 1872 if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1887 if { (eval echo configure:1888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1873 rm -rf conftest* | 1888 rm -rf conftest* |
| 1874 have_glibc=yes | 1889 have_glibc=yes |
| 1875 else | 1890 else |
| 1876 echo "configure: failed program was:" >&5 | 1891 echo "configure: failed program was:" >&5 |
| 1877 cat conftest.$ac_ext >&5 | 1892 cat conftest.$ac_ext >&5 |
| 1888 EOF | 1903 EOF |
| 1889 } | 1904 } |
| 1890 | 1905 |
| 1891 | 1906 |
| 1892 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1907 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 1893 echo "configure:1894: checking whether we are using SunPro C" >&5 | 1908 echo "configure:1909: checking whether we are using SunPro C" >&5 |
| 1894 cat > conftest.$ac_ext <<EOF | 1909 cat > conftest.$ac_ext <<EOF |
| 1895 #line 1896 "configure" | 1910 #line 1911 "configure" |
| 1896 #include "confdefs.h" | 1911 #include "confdefs.h" |
| 1897 | 1912 |
| 1898 int main() { | 1913 int main() { |
| 1899 #ifndef __SUNPRO_C | 1914 #ifndef __SUNPRO_C |
| 1900 #error Not a SunPro compiler :-( | 1915 #error Not a SunPro compiler :-( |
| 1901 ******* ======= ******** &&&&&&&& | 1916 ******* ======= ******** &&&&&&&& |
| 1902 #endif | 1917 #endif |
| 1903 | 1918 |
| 1904 ; return 0; } | 1919 ; return 0; } |
| 1905 EOF | 1920 EOF |
| 1906 if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1921 if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1907 rm -rf conftest* | 1922 rm -rf conftest* |
| 1908 __sunpro_c=yes | 1923 __sunpro_c=yes |
| 1909 else | 1924 else |
| 1910 echo "configure: failed program was:" >&5 | 1925 echo "configure: failed program was:" >&5 |
| 1911 cat conftest.$ac_ext >&5 | 1926 cat conftest.$ac_ext >&5 |
| 2177 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2192 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2178 echo " xemacs will be linked with \"$unexec\"" | 2193 echo " xemacs will be linked with \"$unexec\"" |
| 2179 fi | 2194 fi |
| 2180 | 2195 |
| 2181 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2196 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2182 echo "configure:2183: checking for dynodump" >&5 | 2197 echo "configure:2198: checking for dynodump" >&5 |
| 2183 if test "$unexec" != "unexsol2.o"; then | 2198 if test "$unexec" != "unexsol2.o"; then |
| 2184 echo "$ac_t""no" 1>&6 | 2199 echo "$ac_t""no" 1>&6 |
| 2185 else | 2200 else |
| 2186 echo "$ac_t""yes" 1>&6 | 2201 echo "$ac_t""yes" 1>&6 |
| 2187 { test "$extra_verbose" = "yes" && cat << \EOF | 2202 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2275 esac | 2290 esac |
| 2276 fi | 2291 fi |
| 2277 | 2292 |
| 2278 if test "$add_runtime_path" = "yes"; then | 2293 if test "$add_runtime_path" = "yes"; then |
| 2279 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2294 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2280 echo "configure:2281: checking "for runtime libraries flag"" >&5 | 2295 echo "configure:2296: checking "for runtime libraries flag"" >&5 |
| 2281 dash_r="" | 2296 dash_r="" |
| 2282 for try_dash_r in "-R" "-R " "-rpath "; do | 2297 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2283 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2298 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2284 cat > conftest.$ac_ext <<EOF | 2299 cat > conftest.$ac_ext <<EOF |
| 2285 #line 2286 "configure" | 2300 #line 2301 "configure" |
| 2286 #include "confdefs.h" | 2301 #include "confdefs.h" |
| 2287 | 2302 |
| 2288 int main() { | 2303 int main() { |
| 2289 | 2304 |
| 2290 ; return 0; } | 2305 ; return 0; } |
| 2291 EOF | 2306 EOF |
| 2292 if { (eval echo configure:2293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2307 if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2293 rm -rf conftest* | 2308 rm -rf conftest* |
| 2294 dash_r="$try_dash_r" | 2309 dash_r="$try_dash_r" |
| 2295 else | 2310 else |
| 2296 echo "configure: failed program was:" >&5 | 2311 echo "configure: failed program was:" >&5 |
| 2297 cat conftest.$ac_ext >&5 | 2312 cat conftest.$ac_ext >&5 |
| 2385 | 2400 |
| 2386 | 2401 |
| 2387 # Extract the first word of "ranlib", so it can be a program name with args. | 2402 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2388 set dummy ranlib; ac_word=$2 | 2403 set dummy ranlib; ac_word=$2 |
| 2389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2390 echo "configure:2391: checking for $ac_word" >&5 | 2405 echo "configure:2406: checking for $ac_word" >&5 |
| 2391 | 2406 |
| 2392 if test -n "$RANLIB"; then | 2407 if test -n "$RANLIB"; then |
| 2393 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2408 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2394 else | 2409 else |
| 2395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2438 # AIX /bin/install | 2453 # AIX /bin/install |
| 2439 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2454 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2440 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2455 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2441 # ./install, which can be erroneously created by make from ./install.sh. | 2456 # ./install, which can be erroneously created by make from ./install.sh. |
| 2442 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2457 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2443 echo "configure:2444: checking for a BSD compatible install" >&5 | 2458 echo "configure:2459: checking for a BSD compatible install" >&5 |
| 2444 if test -z "$INSTALL"; then | 2459 if test -z "$INSTALL"; then |
| 2445 | 2460 |
| 2446 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2461 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2447 for ac_dir in $PATH; do | 2462 for ac_dir in $PATH; do |
| 2448 # Account for people who put trailing slashes in PATH elements. | 2463 # Account for people who put trailing slashes in PATH elements. |
| 2489 for ac_prog in 'bison -y' byacc | 2504 for ac_prog in 'bison -y' byacc |
| 2490 do | 2505 do |
| 2491 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2506 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2492 set dummy $ac_prog; ac_word=$2 | 2507 set dummy $ac_prog; ac_word=$2 |
| 2493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2494 echo "configure:2495: checking for $ac_word" >&5 | 2509 echo "configure:2510: checking for $ac_word" >&5 |
| 2495 | 2510 |
| 2496 if test -n "$YACC"; then | 2511 if test -n "$YACC"; then |
| 2497 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2512 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2498 else | 2513 else |
| 2499 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2520 | 2535 |
| 2521 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2536 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2522 do | 2537 do |
| 2523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2525 echo "configure:2526: checking for $ac_hdr" >&5 | 2540 echo "configure:2541: checking for $ac_hdr" >&5 |
| 2526 | 2541 |
| 2527 cat > conftest.$ac_ext <<EOF | 2542 cat > conftest.$ac_ext <<EOF |
| 2528 #line 2529 "configure" | 2543 #line 2544 "configure" |
| 2529 #include "confdefs.h" | 2544 #include "confdefs.h" |
| 2530 #include <$ac_hdr> | 2545 #include <$ac_hdr> |
| 2531 EOF | 2546 EOF |
| 2532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2533 { (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2548 { (eval echo configure:2549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2534 ac_err=`grep -v '^ *+' conftest.out` | 2549 ac_err=`grep -v '^ *+' conftest.out` |
| 2535 if test -z "$ac_err"; then | 2550 if test -z "$ac_err"; then |
| 2536 rm -rf conftest* | 2551 rm -rf conftest* |
| 2537 eval "ac_cv_header_$ac_safe=yes" | 2552 eval "ac_cv_header_$ac_safe=yes" |
| 2538 else | 2553 else |
| 2561 | 2576 |
| 2562 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2577 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2563 do | 2578 do |
| 2564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2566 echo "configure:2567: checking for $ac_hdr" >&5 | 2581 echo "configure:2582: checking for $ac_hdr" >&5 |
| 2567 | 2582 |
| 2568 cat > conftest.$ac_ext <<EOF | 2583 cat > conftest.$ac_ext <<EOF |
| 2569 #line 2570 "configure" | 2584 #line 2585 "configure" |
| 2570 #include "confdefs.h" | 2585 #include "confdefs.h" |
| 2571 #include <$ac_hdr> | 2586 #include <$ac_hdr> |
| 2572 EOF | 2587 EOF |
| 2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2589 { (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2575 ac_err=`grep -v '^ *+' conftest.out` | 2590 ac_err=`grep -v '^ *+' conftest.out` |
| 2576 if test -z "$ac_err"; then | 2591 if test -z "$ac_err"; then |
| 2577 rm -rf conftest* | 2592 rm -rf conftest* |
| 2578 eval "ac_cv_header_$ac_safe=yes" | 2593 eval "ac_cv_header_$ac_safe=yes" |
| 2579 else | 2594 else |
| 2598 else | 2613 else |
| 2599 echo "$ac_t""no" 1>&6 | 2614 echo "$ac_t""no" 1>&6 |
| 2600 fi | 2615 fi |
| 2601 done | 2616 done |
| 2602 | 2617 |
| 2603 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h | 2618 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h coff.h |
| 2604 do | 2619 do |
| 2605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2607 echo "configure:2608: checking for $ac_hdr" >&5 | 2622 echo "configure:2623: checking for $ac_hdr" >&5 |
| 2608 | 2623 |
| 2609 cat > conftest.$ac_ext <<EOF | 2624 cat > conftest.$ac_ext <<EOF |
| 2610 #line 2611 "configure" | 2625 #line 2626 "configure" |
| 2611 #include "confdefs.h" | 2626 #include "confdefs.h" |
| 2612 #include <$ac_hdr> | 2627 #include <$ac_hdr> |
| 2613 EOF | 2628 EOF |
| 2614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2615 { (eval echo configure:2616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2630 { (eval echo configure:2631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2616 ac_err=`grep -v '^ *+' conftest.out` | 2631 ac_err=`grep -v '^ *+' conftest.out` |
| 2617 if test -z "$ac_err"; then | 2632 if test -z "$ac_err"; then |
| 2618 rm -rf conftest* | 2633 rm -rf conftest* |
| 2619 eval "ac_cv_header_$ac_safe=yes" | 2634 eval "ac_cv_header_$ac_safe=yes" |
| 2620 else | 2635 else |
| 2640 echo "$ac_t""no" 1>&6 | 2655 echo "$ac_t""no" 1>&6 |
| 2641 fi | 2656 fi |
| 2642 done | 2657 done |
| 2643 | 2658 |
| 2644 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2659 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2645 echo "configure:2646: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2660 echo "configure:2661: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2646 | 2661 |
| 2647 cat > conftest.$ac_ext <<EOF | 2662 cat > conftest.$ac_ext <<EOF |
| 2648 #line 2649 "configure" | 2663 #line 2664 "configure" |
| 2649 #include "confdefs.h" | 2664 #include "confdefs.h" |
| 2650 #include <sys/types.h> | 2665 #include <sys/types.h> |
| 2651 #include <sys/wait.h> | 2666 #include <sys/wait.h> |
| 2652 #ifndef WEXITSTATUS | 2667 #ifndef WEXITSTATUS |
| 2653 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2668 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2659 int s; | 2674 int s; |
| 2660 wait (&s); | 2675 wait (&s); |
| 2661 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2676 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2662 ; return 0; } | 2677 ; return 0; } |
| 2663 EOF | 2678 EOF |
| 2664 if { (eval echo configure:2665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2679 if { (eval echo configure:2680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2665 rm -rf conftest* | 2680 rm -rf conftest* |
| 2666 ac_cv_header_sys_wait_h=yes | 2681 ac_cv_header_sys_wait_h=yes |
| 2667 else | 2682 else |
| 2668 echo "configure: failed program was:" >&5 | 2683 echo "configure: failed program was:" >&5 |
| 2669 cat conftest.$ac_ext >&5 | 2684 cat conftest.$ac_ext >&5 |
| 2683 } | 2698 } |
| 2684 | 2699 |
| 2685 fi | 2700 fi |
| 2686 | 2701 |
| 2687 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2702 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2688 echo "configure:2689: checking for ANSI C header files" >&5 | 2703 echo "configure:2704: checking for ANSI C header files" >&5 |
| 2689 | 2704 |
| 2690 cat > conftest.$ac_ext <<EOF | 2705 cat > conftest.$ac_ext <<EOF |
| 2691 #line 2692 "configure" | 2706 #line 2707 "configure" |
| 2692 #include "confdefs.h" | 2707 #include "confdefs.h" |
| 2693 #include <stdlib.h> | 2708 #include <stdlib.h> |
| 2694 #include <stdarg.h> | 2709 #include <stdarg.h> |
| 2695 #include <string.h> | 2710 #include <string.h> |
| 2696 #include <float.h> | 2711 #include <float.h> |
| 2697 EOF | 2712 EOF |
| 2698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2699 { (eval echo configure:2700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2714 { (eval echo configure:2715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2700 ac_err=`grep -v '^ *+' conftest.out` | 2715 ac_err=`grep -v '^ *+' conftest.out` |
| 2701 if test -z "$ac_err"; then | 2716 if test -z "$ac_err"; then |
| 2702 rm -rf conftest* | 2717 rm -rf conftest* |
| 2703 ac_cv_header_stdc=yes | 2718 ac_cv_header_stdc=yes |
| 2704 else | 2719 else |
| 2711 rm -f conftest* | 2726 rm -f conftest* |
| 2712 | 2727 |
| 2713 if test $ac_cv_header_stdc = yes; then | 2728 if test $ac_cv_header_stdc = yes; then |
| 2714 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2729 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2715 cat > conftest.$ac_ext <<EOF | 2730 cat > conftest.$ac_ext <<EOF |
| 2716 #line 2717 "configure" | 2731 #line 2732 "configure" |
| 2717 #include "confdefs.h" | 2732 #include "confdefs.h" |
| 2718 #include <string.h> | 2733 #include <string.h> |
| 2719 EOF | 2734 EOF |
| 2720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2721 egrep "memchr" >/dev/null 2>&1; then | 2736 egrep "memchr" >/dev/null 2>&1; then |
| 2729 fi | 2744 fi |
| 2730 | 2745 |
| 2731 if test $ac_cv_header_stdc = yes; then | 2746 if test $ac_cv_header_stdc = yes; then |
| 2732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2733 cat > conftest.$ac_ext <<EOF | 2748 cat > conftest.$ac_ext <<EOF |
| 2734 #line 2735 "configure" | 2749 #line 2750 "configure" |
| 2735 #include "confdefs.h" | 2750 #include "confdefs.h" |
| 2736 #include <stdlib.h> | 2751 #include <stdlib.h> |
| 2737 EOF | 2752 EOF |
| 2738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2739 egrep "free" >/dev/null 2>&1; then | 2754 egrep "free" >/dev/null 2>&1; then |
| 2747 fi | 2762 fi |
| 2748 | 2763 |
| 2749 if test $ac_cv_header_stdc = yes; then | 2764 if test $ac_cv_header_stdc = yes; then |
| 2750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2751 cat > conftest.$ac_ext <<EOF | 2766 cat > conftest.$ac_ext <<EOF |
| 2752 #line 2753 "configure" | 2767 #line 2768 "configure" |
| 2753 #include "confdefs.h" | 2768 #include "confdefs.h" |
| 2754 #include <ctype.h> | 2769 #include <ctype.h> |
| 2755 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2770 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2756 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2771 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2758 int main () { int i; for (i = 0; i < 256; i++) | 2773 int main () { int i; for (i = 0; i < 256; i++) |
| 2759 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2774 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2760 exit (0); } | 2775 exit (0); } |
| 2761 | 2776 |
| 2762 EOF | 2777 EOF |
| 2763 if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2778 if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2764 then | 2779 then |
| 2765 : | 2780 : |
| 2766 else | 2781 else |
| 2767 echo "configure: failed program was:" >&5 | 2782 echo "configure: failed program was:" >&5 |
| 2768 cat conftest.$ac_ext >&5 | 2783 cat conftest.$ac_ext >&5 |
| 2783 } | 2798 } |
| 2784 | 2799 |
| 2785 fi | 2800 fi |
| 2786 | 2801 |
| 2787 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2802 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2788 echo "configure:2789: checking whether time.h and sys/time.h may both be included" >&5 | 2803 echo "configure:2804: checking whether time.h and sys/time.h may both be included" >&5 |
| 2789 | 2804 |
| 2790 cat > conftest.$ac_ext <<EOF | 2805 cat > conftest.$ac_ext <<EOF |
| 2791 #line 2792 "configure" | 2806 #line 2807 "configure" |
| 2792 #include "confdefs.h" | 2807 #include "confdefs.h" |
| 2793 #include <sys/types.h> | 2808 #include <sys/types.h> |
| 2794 #include <sys/time.h> | 2809 #include <sys/time.h> |
| 2795 #include <time.h> | 2810 #include <time.h> |
| 2796 int main() { | 2811 int main() { |
| 2797 struct tm *tp; | 2812 struct tm *tp; |
| 2798 ; return 0; } | 2813 ; return 0; } |
| 2799 EOF | 2814 EOF |
| 2800 if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2815 if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2801 rm -rf conftest* | 2816 rm -rf conftest* |
| 2802 ac_cv_header_time=yes | 2817 ac_cv_header_time=yes |
| 2803 else | 2818 else |
| 2804 echo "configure: failed program was:" >&5 | 2819 echo "configure: failed program was:" >&5 |
| 2805 cat conftest.$ac_ext >&5 | 2820 cat conftest.$ac_ext >&5 |
| 2819 } | 2834 } |
| 2820 | 2835 |
| 2821 fi | 2836 fi |
| 2822 | 2837 |
| 2823 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2838 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2824 echo "configure:2825: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2839 echo "configure:2840: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2825 | 2840 |
| 2826 cat > conftest.$ac_ext <<EOF | 2841 cat > conftest.$ac_ext <<EOF |
| 2827 #line 2828 "configure" | 2842 #line 2843 "configure" |
| 2828 #include "confdefs.h" | 2843 #include "confdefs.h" |
| 2829 #include <sys/types.h> | 2844 #include <sys/types.h> |
| 2830 #include <signal.h> | 2845 #include <signal.h> |
| 2831 /* NetBSD declares sys_siglist in unistd.h. */ | 2846 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2832 #ifdef HAVE_UNISTD_H | 2847 #ifdef HAVE_UNISTD_H |
| 2834 #endif | 2849 #endif |
| 2835 int main() { | 2850 int main() { |
| 2836 char *msg = *(sys_siglist + 1); | 2851 char *msg = *(sys_siglist + 1); |
| 2837 ; return 0; } | 2852 ; return 0; } |
| 2838 EOF | 2853 EOF |
| 2839 if { (eval echo configure:2840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2854 if { (eval echo configure:2855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2840 rm -rf conftest* | 2855 rm -rf conftest* |
| 2841 ac_cv_decl_sys_siglist=yes | 2856 ac_cv_decl_sys_siglist=yes |
| 2842 else | 2857 else |
| 2843 echo "configure: failed program was:" >&5 | 2858 echo "configure: failed program was:" >&5 |
| 2844 cat conftest.$ac_ext >&5 | 2859 cat conftest.$ac_ext >&5 |
| 2859 | 2874 |
| 2860 fi | 2875 fi |
| 2861 | 2876 |
| 2862 | 2877 |
| 2863 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2878 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2864 echo "configure:2865: checking for struct utimbuf" >&5 | 2879 echo "configure:2880: checking for struct utimbuf" >&5 |
| 2865 cat > conftest.$ac_ext <<EOF | 2880 cat > conftest.$ac_ext <<EOF |
| 2866 #line 2867 "configure" | 2881 #line 2882 "configure" |
| 2867 #include "confdefs.h" | 2882 #include "confdefs.h" |
| 2868 #ifdef TIME_WITH_SYS_TIME | 2883 #ifdef TIME_WITH_SYS_TIME |
| 2869 #include <sys/time.h> | 2884 #include <sys/time.h> |
| 2870 #include <time.h> | 2885 #include <time.h> |
| 2871 #else | 2886 #else |
| 2880 #endif | 2895 #endif |
| 2881 int main() { | 2896 int main() { |
| 2882 static struct utimbuf x; x.actime = x.modtime; | 2897 static struct utimbuf x; x.actime = x.modtime; |
| 2883 ; return 0; } | 2898 ; return 0; } |
| 2884 EOF | 2899 EOF |
| 2885 if { (eval echo configure:2886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2900 if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2886 rm -rf conftest* | 2901 rm -rf conftest* |
| 2887 echo "$ac_t""yes" 1>&6 | 2902 echo "$ac_t""yes" 1>&6 |
| 2888 { test "$extra_verbose" = "yes" && cat << \EOF | 2903 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2889 Defining HAVE_STRUCT_UTIMBUF | 2904 Defining HAVE_STRUCT_UTIMBUF |
| 2890 EOF | 2905 EOF |
| 2900 echo "$ac_t""no" 1>&6 | 2915 echo "$ac_t""no" 1>&6 |
| 2901 fi | 2916 fi |
| 2902 rm -f conftest* | 2917 rm -f conftest* |
| 2903 | 2918 |
| 2904 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2919 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2905 echo "configure:2906: checking return type of signal handlers" >&5 | 2920 echo "configure:2921: checking return type of signal handlers" >&5 |
| 2906 | 2921 |
| 2907 cat > conftest.$ac_ext <<EOF | 2922 cat > conftest.$ac_ext <<EOF |
| 2908 #line 2909 "configure" | 2923 #line 2924 "configure" |
| 2909 #include "confdefs.h" | 2924 #include "confdefs.h" |
| 2910 #include <sys/types.h> | 2925 #include <sys/types.h> |
| 2911 #include <signal.h> | 2926 #include <signal.h> |
| 2912 #ifdef signal | 2927 #ifdef signal |
| 2913 #undef signal | 2928 #undef signal |
| 2920 | 2935 |
| 2921 int main() { | 2936 int main() { |
| 2922 int i; | 2937 int i; |
| 2923 ; return 0; } | 2938 ; return 0; } |
| 2924 EOF | 2939 EOF |
| 2925 if { (eval echo configure:2926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2940 if { (eval echo configure:2941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2926 rm -rf conftest* | 2941 rm -rf conftest* |
| 2927 ac_cv_type_signal=void | 2942 ac_cv_type_signal=void |
| 2928 else | 2943 else |
| 2929 echo "configure: failed program was:" >&5 | 2944 echo "configure: failed program was:" >&5 |
| 2930 cat conftest.$ac_ext >&5 | 2945 cat conftest.$ac_ext >&5 |
| 2942 EOF | 2957 EOF |
| 2943 } | 2958 } |
| 2944 | 2959 |
| 2945 | 2960 |
| 2946 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2961 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 2947 echo "configure:2948: checking for size_t" >&5 | 2962 echo "configure:2963: checking for size_t" >&5 |
| 2948 | 2963 |
| 2949 cat > conftest.$ac_ext <<EOF | 2964 cat > conftest.$ac_ext <<EOF |
| 2950 #line 2951 "configure" | 2965 #line 2966 "configure" |
| 2951 #include "confdefs.h" | 2966 #include "confdefs.h" |
| 2952 #include <sys/types.h> | 2967 #include <sys/types.h> |
| 2953 #if STDC_HEADERS | 2968 #if STDC_HEADERS |
| 2954 #include <stdlib.h> | 2969 #include <stdlib.h> |
| 2955 #include <stddef.h> | 2970 #include <stddef.h> |
| 2976 } | 2991 } |
| 2977 | 2992 |
| 2978 fi | 2993 fi |
| 2979 | 2994 |
| 2980 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2995 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 2981 echo "configure:2982: checking for pid_t" >&5 | 2996 echo "configure:2997: checking for pid_t" >&5 |
| 2982 | 2997 |
| 2983 cat > conftest.$ac_ext <<EOF | 2998 cat > conftest.$ac_ext <<EOF |
| 2984 #line 2985 "configure" | 2999 #line 3000 "configure" |
| 2985 #include "confdefs.h" | 3000 #include "confdefs.h" |
| 2986 #include <sys/types.h> | 3001 #include <sys/types.h> |
| 2987 #if STDC_HEADERS | 3002 #if STDC_HEADERS |
| 2988 #include <stdlib.h> | 3003 #include <stdlib.h> |
| 2989 #include <stddef.h> | 3004 #include <stddef.h> |
| 3010 } | 3025 } |
| 3011 | 3026 |
| 3012 fi | 3027 fi |
| 3013 | 3028 |
| 3014 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3029 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3015 echo "configure:3016: checking for uid_t in sys/types.h" >&5 | 3030 echo "configure:3031: checking for uid_t in sys/types.h" >&5 |
| 3016 | 3031 |
| 3017 cat > conftest.$ac_ext <<EOF | 3032 cat > conftest.$ac_ext <<EOF |
| 3018 #line 3019 "configure" | 3033 #line 3034 "configure" |
| 3019 #include "confdefs.h" | 3034 #include "confdefs.h" |
| 3020 #include <sys/types.h> | 3035 #include <sys/types.h> |
| 3021 EOF | 3036 EOF |
| 3022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3023 egrep "uid_t" >/dev/null 2>&1; then | 3038 egrep "uid_t" >/dev/null 2>&1; then |
| 3049 } | 3064 } |
| 3050 | 3065 |
| 3051 fi | 3066 fi |
| 3052 | 3067 |
| 3053 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3068 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3054 echo "configure:3055: checking for mode_t" >&5 | 3069 echo "configure:3070: checking for mode_t" >&5 |
| 3055 | 3070 |
| 3056 cat > conftest.$ac_ext <<EOF | 3071 cat > conftest.$ac_ext <<EOF |
| 3057 #line 3058 "configure" | 3072 #line 3073 "configure" |
| 3058 #include "confdefs.h" | 3073 #include "confdefs.h" |
| 3059 #include <sys/types.h> | 3074 #include <sys/types.h> |
| 3060 #if STDC_HEADERS | 3075 #if STDC_HEADERS |
| 3061 #include <stdlib.h> | 3076 #include <stdlib.h> |
| 3062 #include <stddef.h> | 3077 #include <stddef.h> |
| 3083 } | 3098 } |
| 3084 | 3099 |
| 3085 fi | 3100 fi |
| 3086 | 3101 |
| 3087 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3102 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3088 echo "configure:3089: checking for off_t" >&5 | 3103 echo "configure:3104: checking for off_t" >&5 |
| 3089 | 3104 |
| 3090 cat > conftest.$ac_ext <<EOF | 3105 cat > conftest.$ac_ext <<EOF |
| 3091 #line 3092 "configure" | 3106 #line 3107 "configure" |
| 3092 #include "confdefs.h" | 3107 #include "confdefs.h" |
| 3093 #include <sys/types.h> | 3108 #include <sys/types.h> |
| 3094 #if STDC_HEADERS | 3109 #if STDC_HEADERS |
| 3095 #include <stdlib.h> | 3110 #include <stdlib.h> |
| 3096 #include <stddef.h> | 3111 #include <stddef.h> |
| 3118 | 3133 |
| 3119 fi | 3134 fi |
| 3120 | 3135 |
| 3121 | 3136 |
| 3122 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3137 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3123 echo "configure:3124: checking for struct timeval" >&5 | 3138 echo "configure:3139: checking for struct timeval" >&5 |
| 3124 cat > conftest.$ac_ext <<EOF | 3139 cat > conftest.$ac_ext <<EOF |
| 3125 #line 3126 "configure" | 3140 #line 3141 "configure" |
| 3126 #include "confdefs.h" | 3141 #include "confdefs.h" |
| 3127 #ifdef TIME_WITH_SYS_TIME | 3142 #ifdef TIME_WITH_SYS_TIME |
| 3128 #include <sys/time.h> | 3143 #include <sys/time.h> |
| 3129 #include <time.h> | 3144 #include <time.h> |
| 3130 #else | 3145 #else |
| 3136 #endif | 3151 #endif |
| 3137 int main() { | 3152 int main() { |
| 3138 static struct timeval x; x.tv_sec = x.tv_usec; | 3153 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3139 ; return 0; } | 3154 ; return 0; } |
| 3140 EOF | 3155 EOF |
| 3141 if { (eval echo configure:3142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3156 if { (eval echo configure:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3142 rm -rf conftest* | 3157 rm -rf conftest* |
| 3143 echo "$ac_t""yes" 1>&6 | 3158 echo "$ac_t""yes" 1>&6 |
| 3144 HAVE_TIMEVAL=yes | 3159 HAVE_TIMEVAL=yes |
| 3145 { test "$extra_verbose" = "yes" && cat << \EOF | 3160 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3146 Defining HAVE_TIMEVAL | 3161 Defining HAVE_TIMEVAL |
| 3158 HAVE_TIMEVAL=no | 3173 HAVE_TIMEVAL=no |
| 3159 fi | 3174 fi |
| 3160 rm -f conftest* | 3175 rm -f conftest* |
| 3161 | 3176 |
| 3162 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3177 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3163 echo "configure:3164: checking whether struct tm is in sys/time.h or time.h" >&5 | 3178 echo "configure:3179: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3164 | 3179 |
| 3165 cat > conftest.$ac_ext <<EOF | 3180 cat > conftest.$ac_ext <<EOF |
| 3166 #line 3167 "configure" | 3181 #line 3182 "configure" |
| 3167 #include "confdefs.h" | 3182 #include "confdefs.h" |
| 3168 #include <sys/types.h> | 3183 #include <sys/types.h> |
| 3169 #include <time.h> | 3184 #include <time.h> |
| 3170 int main() { | 3185 int main() { |
| 3171 struct tm *tp; tp->tm_sec; | 3186 struct tm *tp; tp->tm_sec; |
| 3172 ; return 0; } | 3187 ; return 0; } |
| 3173 EOF | 3188 EOF |
| 3174 if { (eval echo configure:3175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3189 if { (eval echo configure:3190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3175 rm -rf conftest* | 3190 rm -rf conftest* |
| 3176 ac_cv_struct_tm=time.h | 3191 ac_cv_struct_tm=time.h |
| 3177 else | 3192 else |
| 3178 echo "configure: failed program was:" >&5 | 3193 echo "configure: failed program was:" >&5 |
| 3179 cat conftest.$ac_ext >&5 | 3194 cat conftest.$ac_ext >&5 |
| 3193 } | 3208 } |
| 3194 | 3209 |
| 3195 fi | 3210 fi |
| 3196 | 3211 |
| 3197 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3212 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3198 echo "configure:3199: checking for tm_zone in struct tm" >&5 | 3213 echo "configure:3214: checking for tm_zone in struct tm" >&5 |
| 3199 | 3214 |
| 3200 cat > conftest.$ac_ext <<EOF | 3215 cat > conftest.$ac_ext <<EOF |
| 3201 #line 3202 "configure" | 3216 #line 3217 "configure" |
| 3202 #include "confdefs.h" | 3217 #include "confdefs.h" |
| 3203 #include <sys/types.h> | 3218 #include <sys/types.h> |
| 3204 #include <$ac_cv_struct_tm> | 3219 #include <$ac_cv_struct_tm> |
| 3205 int main() { | 3220 int main() { |
| 3206 struct tm tm; tm.tm_zone; | 3221 struct tm tm; tm.tm_zone; |
| 3207 ; return 0; } | 3222 ; return 0; } |
| 3208 EOF | 3223 EOF |
| 3209 if { (eval echo configure:3210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3224 if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3210 rm -rf conftest* | 3225 rm -rf conftest* |
| 3211 ac_cv_struct_tm_zone=yes | 3226 ac_cv_struct_tm_zone=yes |
| 3212 else | 3227 else |
| 3213 echo "configure: failed program was:" >&5 | 3228 echo "configure: failed program was:" >&5 |
| 3214 cat conftest.$ac_ext >&5 | 3229 cat conftest.$ac_ext >&5 |
| 3227 EOF | 3242 EOF |
| 3228 } | 3243 } |
| 3229 | 3244 |
| 3230 else | 3245 else |
| 3231 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3246 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3232 echo "configure:3233: checking for tzname" >&5 | 3247 echo "configure:3248: checking for tzname" >&5 |
| 3233 | 3248 |
| 3234 cat > conftest.$ac_ext <<EOF | 3249 cat > conftest.$ac_ext <<EOF |
| 3235 #line 3236 "configure" | 3250 #line 3251 "configure" |
| 3236 #include "confdefs.h" | 3251 #include "confdefs.h" |
| 3237 #include <time.h> | 3252 #include <time.h> |
| 3238 #ifndef tzname /* For SGI. */ | 3253 #ifndef tzname /* For SGI. */ |
| 3239 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3254 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3240 #endif | 3255 #endif |
| 3241 int main() { | 3256 int main() { |
| 3242 atoi(*tzname); | 3257 atoi(*tzname); |
| 3243 ; return 0; } | 3258 ; return 0; } |
| 3244 EOF | 3259 EOF |
| 3245 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3260 if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3246 rm -rf conftest* | 3261 rm -rf conftest* |
| 3247 ac_cv_var_tzname=yes | 3262 ac_cv_var_tzname=yes |
| 3248 else | 3263 else |
| 3249 echo "configure: failed program was:" >&5 | 3264 echo "configure: failed program was:" >&5 |
| 3250 cat conftest.$ac_ext >&5 | 3265 cat conftest.$ac_ext >&5 |
| 3266 fi | 3281 fi |
| 3267 fi | 3282 fi |
| 3268 | 3283 |
| 3269 | 3284 |
| 3270 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3285 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3271 echo "configure:3272: checking for working const" >&5 | 3286 echo "configure:3287: checking for working const" >&5 |
| 3272 | 3287 |
| 3273 cat > conftest.$ac_ext <<EOF | 3288 cat > conftest.$ac_ext <<EOF |
| 3274 #line 3275 "configure" | 3289 #line 3290 "configure" |
| 3275 #include "confdefs.h" | 3290 #include "confdefs.h" |
| 3276 | 3291 |
| 3277 int main() { | 3292 int main() { |
| 3278 | 3293 |
| 3279 /* Ultrix mips cc rejects this. */ | 3294 /* Ultrix mips cc rejects this. */ |
| 3318 const int foo = 10; | 3333 const int foo = 10; |
| 3319 } | 3334 } |
| 3320 | 3335 |
| 3321 ; return 0; } | 3336 ; return 0; } |
| 3322 EOF | 3337 EOF |
| 3323 if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3338 if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3324 rm -rf conftest* | 3339 rm -rf conftest* |
| 3325 ac_cv_c_const=yes | 3340 ac_cv_c_const=yes |
| 3326 else | 3341 else |
| 3327 echo "configure: failed program was:" >&5 | 3342 echo "configure: failed program was:" >&5 |
| 3328 cat conftest.$ac_ext >&5 | 3343 cat conftest.$ac_ext >&5 |
| 3343 | 3358 |
| 3344 fi | 3359 fi |
| 3345 | 3360 |
| 3346 | 3361 |
| 3347 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3362 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3348 echo "configure:3349: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3363 echo "configure:3364: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3364 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3350 | 3365 |
| 3351 cat > conftestmake <<\EOF | 3366 cat > conftestmake <<\EOF |
| 3352 all: | 3367 all: |
| 3353 @echo 'ac_maketemp="${MAKE}"' | 3368 @echo 'ac_maketemp="${MAKE}"' |
| 3368 SET_MAKE="MAKE=${MAKE-make}" | 3383 SET_MAKE="MAKE=${MAKE-make}" |
| 3369 fi | 3384 fi |
| 3370 | 3385 |
| 3371 | 3386 |
| 3372 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3387 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3373 echo "configure:3374: checking whether byte ordering is bigendian" >&5 | 3388 echo "configure:3389: checking whether byte ordering is bigendian" >&5 |
| 3374 | 3389 |
| 3375 ac_cv_c_bigendian=unknown | 3390 ac_cv_c_bigendian=unknown |
| 3376 # See if sys/param.h defines the BYTE_ORDER macro. | 3391 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3377 cat > conftest.$ac_ext <<EOF | 3392 cat > conftest.$ac_ext <<EOF |
| 3378 #line 3379 "configure" | 3393 #line 3394 "configure" |
| 3379 #include "confdefs.h" | 3394 #include "confdefs.h" |
| 3380 #include <sys/types.h> | 3395 #include <sys/types.h> |
| 3381 #include <sys/param.h> | 3396 #include <sys/param.h> |
| 3382 int main() { | 3397 int main() { |
| 3383 | 3398 |
| 3384 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3399 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3385 bogus endian macros | 3400 bogus endian macros |
| 3386 #endif | 3401 #endif |
| 3387 ; return 0; } | 3402 ; return 0; } |
| 3388 EOF | 3403 EOF |
| 3389 if { (eval echo configure:3390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3404 if { (eval echo configure:3405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3390 rm -rf conftest* | 3405 rm -rf conftest* |
| 3391 # It does; now see whether it defined to BIG_ENDIAN or not. | 3406 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3392 cat > conftest.$ac_ext <<EOF | 3407 cat > conftest.$ac_ext <<EOF |
| 3393 #line 3394 "configure" | 3408 #line 3409 "configure" |
| 3394 #include "confdefs.h" | 3409 #include "confdefs.h" |
| 3395 #include <sys/types.h> | 3410 #include <sys/types.h> |
| 3396 #include <sys/param.h> | 3411 #include <sys/param.h> |
| 3397 int main() { | 3412 int main() { |
| 3398 | 3413 |
| 3399 #if BYTE_ORDER != BIG_ENDIAN | 3414 #if BYTE_ORDER != BIG_ENDIAN |
| 3400 not big endian | 3415 not big endian |
| 3401 #endif | 3416 #endif |
| 3402 ; return 0; } | 3417 ; return 0; } |
| 3403 EOF | 3418 EOF |
| 3404 if { (eval echo configure:3405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3405 rm -rf conftest* | 3420 rm -rf conftest* |
| 3406 ac_cv_c_bigendian=yes | 3421 ac_cv_c_bigendian=yes |
| 3407 else | 3422 else |
| 3408 echo "configure: failed program was:" >&5 | 3423 echo "configure: failed program was:" >&5 |
| 3409 cat conftest.$ac_ext >&5 | 3424 cat conftest.$ac_ext >&5 |
| 3416 cat conftest.$ac_ext >&5 | 3431 cat conftest.$ac_ext >&5 |
| 3417 fi | 3432 fi |
| 3418 rm -f conftest* | 3433 rm -f conftest* |
| 3419 if test $ac_cv_c_bigendian = unknown; then | 3434 if test $ac_cv_c_bigendian = unknown; then |
| 3420 cat > conftest.$ac_ext <<EOF | 3435 cat > conftest.$ac_ext <<EOF |
| 3421 #line 3422 "configure" | 3436 #line 3437 "configure" |
| 3422 #include "confdefs.h" | 3437 #include "confdefs.h" |
| 3423 main () { | 3438 main () { |
| 3424 /* Are we little or big endian? From Harbison&Steele. */ | 3439 /* Are we little or big endian? From Harbison&Steele. */ |
| 3425 union | 3440 union |
| 3426 { | 3441 { |
| 3429 } u; | 3444 } u; |
| 3430 u.l = 1; | 3445 u.l = 1; |
| 3431 exit (u.c[sizeof (long) - 1] == 1); | 3446 exit (u.c[sizeof (long) - 1] == 1); |
| 3432 } | 3447 } |
| 3433 EOF | 3448 EOF |
| 3434 if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3449 if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3435 then | 3450 then |
| 3436 ac_cv_c_bigendian=no | 3451 ac_cv_c_bigendian=no |
| 3437 else | 3452 else |
| 3438 echo "configure: failed program was:" >&5 | 3453 echo "configure: failed program was:" >&5 |
| 3439 cat conftest.$ac_ext >&5 | 3454 cat conftest.$ac_ext >&5 |
| 3455 | 3470 |
| 3456 fi | 3471 fi |
| 3457 | 3472 |
| 3458 | 3473 |
| 3459 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3474 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3460 echo "configure:3461: checking size of short" >&5 | 3475 echo "configure:3476: checking size of short" >&5 |
| 3461 | 3476 |
| 3462 cat > conftest.$ac_ext <<EOF | 3477 cat > conftest.$ac_ext <<EOF |
| 3463 #line 3464 "configure" | 3478 #line 3479 "configure" |
| 3464 #include "confdefs.h" | 3479 #include "confdefs.h" |
| 3465 #include <stdio.h> | 3480 #include <stdio.h> |
| 3466 main() | 3481 main() |
| 3467 { | 3482 { |
| 3468 FILE *f=fopen("conftestval", "w"); | 3483 FILE *f=fopen("conftestval", "w"); |
| 3469 if (!f) exit(1); | 3484 if (!f) exit(1); |
| 3470 fprintf(f, "%d\n", sizeof(short)); | 3485 fprintf(f, "%d\n", sizeof(short)); |
| 3471 exit(0); | 3486 exit(0); |
| 3472 } | 3487 } |
| 3473 EOF | 3488 EOF |
| 3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3489 if { (eval echo configure:3490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3475 then | 3490 then |
| 3476 ac_cv_sizeof_short=`cat conftestval` | 3491 ac_cv_sizeof_short=`cat conftestval` |
| 3477 else | 3492 else |
| 3478 echo "configure: failed program was:" >&5 | 3493 echo "configure: failed program was:" >&5 |
| 3479 cat conftest.$ac_ext >&5 | 3494 cat conftest.$ac_ext >&5 |
| 3496 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3511 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3497 echo "*** PANIC *** Please examine config.log for compilation errors." | 3512 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3498 exit 1 | 3513 exit 1 |
| 3499 fi | 3514 fi |
| 3500 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3515 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3501 echo "configure:3502: checking size of int" >&5 | 3516 echo "configure:3517: checking size of int" >&5 |
| 3502 | 3517 |
| 3503 cat > conftest.$ac_ext <<EOF | 3518 cat > conftest.$ac_ext <<EOF |
| 3504 #line 3505 "configure" | 3519 #line 3520 "configure" |
| 3505 #include "confdefs.h" | 3520 #include "confdefs.h" |
| 3506 #include <stdio.h> | 3521 #include <stdio.h> |
| 3507 main() | 3522 main() |
| 3508 { | 3523 { |
| 3509 FILE *f=fopen("conftestval", "w"); | 3524 FILE *f=fopen("conftestval", "w"); |
| 3510 if (!f) exit(1); | 3525 if (!f) exit(1); |
| 3511 fprintf(f, "%d\n", sizeof(int)); | 3526 fprintf(f, "%d\n", sizeof(int)); |
| 3512 exit(0); | 3527 exit(0); |
| 3513 } | 3528 } |
| 3514 EOF | 3529 EOF |
| 3515 if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3530 if { (eval echo configure:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3516 then | 3531 then |
| 3517 ac_cv_sizeof_int=`cat conftestval` | 3532 ac_cv_sizeof_int=`cat conftestval` |
| 3518 else | 3533 else |
| 3519 echo "configure: failed program was:" >&5 | 3534 echo "configure: failed program was:" >&5 |
| 3520 cat conftest.$ac_ext >&5 | 3535 cat conftest.$ac_ext >&5 |
| 3531 EOF | 3546 EOF |
| 3532 } | 3547 } |
| 3533 | 3548 |
| 3534 | 3549 |
| 3535 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3550 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3536 echo "configure:3537: checking size of long" >&5 | 3551 echo "configure:3552: checking size of long" >&5 |
| 3537 | 3552 |
| 3538 cat > conftest.$ac_ext <<EOF | 3553 cat > conftest.$ac_ext <<EOF |
| 3539 #line 3540 "configure" | 3554 #line 3555 "configure" |
| 3540 #include "confdefs.h" | 3555 #include "confdefs.h" |
| 3541 #include <stdio.h> | 3556 #include <stdio.h> |
| 3542 main() | 3557 main() |
| 3543 { | 3558 { |
| 3544 FILE *f=fopen("conftestval", "w"); | 3559 FILE *f=fopen("conftestval", "w"); |
| 3545 if (!f) exit(1); | 3560 if (!f) exit(1); |
| 3546 fprintf(f, "%d\n", sizeof(long)); | 3561 fprintf(f, "%d\n", sizeof(long)); |
| 3547 exit(0); | 3562 exit(0); |
| 3548 } | 3563 } |
| 3549 EOF | 3564 EOF |
| 3550 if { (eval echo configure:3551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3565 if { (eval echo configure:3566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3551 then | 3566 then |
| 3552 ac_cv_sizeof_long=`cat conftestval` | 3567 ac_cv_sizeof_long=`cat conftestval` |
| 3553 else | 3568 else |
| 3554 echo "configure: failed program was:" >&5 | 3569 echo "configure: failed program was:" >&5 |
| 3555 cat conftest.$ac_ext >&5 | 3570 cat conftest.$ac_ext >&5 |
| 3566 EOF | 3581 EOF |
| 3567 } | 3582 } |
| 3568 | 3583 |
| 3569 | 3584 |
| 3570 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3585 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3571 echo "configure:3572: checking size of long long" >&5 | 3586 echo "configure:3587: checking size of long long" >&5 |
| 3572 | 3587 |
| 3573 cat > conftest.$ac_ext <<EOF | 3588 cat > conftest.$ac_ext <<EOF |
| 3574 #line 3575 "configure" | 3589 #line 3590 "configure" |
| 3575 #include "confdefs.h" | 3590 #include "confdefs.h" |
| 3576 #include <stdio.h> | 3591 #include <stdio.h> |
| 3577 main() | 3592 main() |
| 3578 { | 3593 { |
| 3579 FILE *f=fopen("conftestval", "w"); | 3594 FILE *f=fopen("conftestval", "w"); |
| 3580 if (!f) exit(1); | 3595 if (!f) exit(1); |
| 3581 fprintf(f, "%d\n", sizeof(long long)); | 3596 fprintf(f, "%d\n", sizeof(long long)); |
| 3582 exit(0); | 3597 exit(0); |
| 3583 } | 3598 } |
| 3584 EOF | 3599 EOF |
| 3585 if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3600 if { (eval echo configure:3601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3586 then | 3601 then |
| 3587 ac_cv_sizeof_long_long=`cat conftestval` | 3602 ac_cv_sizeof_long_long=`cat conftestval` |
| 3588 else | 3603 else |
| 3589 echo "configure: failed program was:" >&5 | 3604 echo "configure: failed program was:" >&5 |
| 3590 cat conftest.$ac_ext >&5 | 3605 cat conftest.$ac_ext >&5 |
| 3601 EOF | 3616 EOF |
| 3602 } | 3617 } |
| 3603 | 3618 |
| 3604 | 3619 |
| 3605 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3620 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3606 echo "configure:3607: checking size of void *" >&5 | 3621 echo "configure:3622: checking size of void *" >&5 |
| 3607 | 3622 |
| 3608 cat > conftest.$ac_ext <<EOF | 3623 cat > conftest.$ac_ext <<EOF |
| 3609 #line 3610 "configure" | 3624 #line 3625 "configure" |
| 3610 #include "confdefs.h" | 3625 #include "confdefs.h" |
| 3611 #include <stdio.h> | 3626 #include <stdio.h> |
| 3612 main() | 3627 main() |
| 3613 { | 3628 { |
| 3614 FILE *f=fopen("conftestval", "w"); | 3629 FILE *f=fopen("conftestval", "w"); |
| 3615 if (!f) exit(1); | 3630 if (!f) exit(1); |
| 3616 fprintf(f, "%d\n", sizeof(void *)); | 3631 fprintf(f, "%d\n", sizeof(void *)); |
| 3617 exit(0); | 3632 exit(0); |
| 3618 } | 3633 } |
| 3619 EOF | 3634 EOF |
| 3620 if { (eval echo configure:3621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3635 if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3621 then | 3636 then |
| 3622 ac_cv_sizeof_void_p=`cat conftestval` | 3637 ac_cv_sizeof_void_p=`cat conftestval` |
| 3623 else | 3638 else |
| 3624 echo "configure: failed program was:" >&5 | 3639 echo "configure: failed program was:" >&5 |
| 3625 cat conftest.$ac_ext >&5 | 3640 cat conftest.$ac_ext >&5 |
| 3637 } | 3652 } |
| 3638 | 3653 |
| 3639 | 3654 |
| 3640 | 3655 |
| 3641 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3656 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3642 echo "configure:3643: checking for long file names" >&5 | 3657 echo "configure:3658: checking for long file names" >&5 |
| 3643 | 3658 |
| 3644 ac_cv_sys_long_file_names=yes | 3659 ac_cv_sys_long_file_names=yes |
| 3645 # Test for long file names in all the places we know might matter: | 3660 # Test for long file names in all the places we know might matter: |
| 3646 # . the current directory, where building will happen | 3661 # . the current directory, where building will happen |
| 3647 # $prefix/lib where we will be installing things | 3662 # $prefix/lib where we will be installing things |
| 3684 fi | 3699 fi |
| 3685 | 3700 |
| 3686 | 3701 |
| 3687 | 3702 |
| 3688 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3703 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 3689 echo "configure:3690: checking for sin in -lm" >&5 | 3704 echo "configure:3705: checking for sin in -lm" >&5 |
| 3690 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3705 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 3691 | 3706 |
| 3692 xe_check_libs=" -lm " | 3707 xe_check_libs=" -lm " |
| 3693 cat > conftest.$ac_ext <<EOF | 3708 cat > conftest.$ac_ext <<EOF |
| 3694 #line 3695 "configure" | 3709 #line 3710 "configure" |
| 3695 #include "confdefs.h" | 3710 #include "confdefs.h" |
| 3696 /* Override any gcc2 internal prototype to avoid an error. */ | 3711 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3697 /* We use char because int might match the return type of a gcc2 | 3712 /* We use char because int might match the return type of a gcc2 |
| 3698 builtin and then its argument prototype would still apply. */ | 3713 builtin and then its argument prototype would still apply. */ |
| 3699 char sin(); | 3714 char sin(); |
| 3700 | 3715 |
| 3701 int main() { | 3716 int main() { |
| 3702 sin() | 3717 sin() |
| 3703 ; return 0; } | 3718 ; return 0; } |
| 3704 EOF | 3719 EOF |
| 3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3720 if { (eval echo configure:3721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3706 rm -rf conftest* | 3721 rm -rf conftest* |
| 3707 eval "ac_cv_lib_$ac_lib_var=yes" | 3722 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3708 else | 3723 else |
| 3709 echo "configure: failed program was:" >&5 | 3724 echo "configure: failed program was:" >&5 |
| 3710 cat conftest.$ac_ext >&5 | 3725 cat conftest.$ac_ext >&5 |
| 3742 EOF | 3757 EOF |
| 3743 } | 3758 } |
| 3744 | 3759 |
| 3745 | 3760 |
| 3746 cat > conftest.$ac_ext <<EOF | 3761 cat > conftest.$ac_ext <<EOF |
| 3747 #line 3748 "configure" | 3762 #line 3763 "configure" |
| 3748 #include "confdefs.h" | 3763 #include "confdefs.h" |
| 3749 #include <math.h> | 3764 #include <math.h> |
| 3750 int main() { | 3765 int main() { |
| 3751 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 3766 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 3752 ; return 0; } | 3767 ; return 0; } |
| 3753 EOF | 3768 EOF |
| 3754 if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3769 if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3755 rm -rf conftest* | 3770 rm -rf conftest* |
| 3756 { test "$extra_verbose" = "yes" && cat << \EOF | 3771 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3757 Defining HAVE_INVERSE_HYPERBOLIC | 3772 Defining HAVE_INVERSE_HYPERBOLIC |
| 3758 EOF | 3773 EOF |
| 3759 cat >> confdefs.h <<\EOF | 3774 cat >> confdefs.h <<\EOF |
| 3766 cat conftest.$ac_ext >&5 | 3781 cat conftest.$ac_ext >&5 |
| 3767 fi | 3782 fi |
| 3768 rm -f conftest* | 3783 rm -f conftest* |
| 3769 | 3784 |
| 3770 echo "checking type of mail spool file locking" 1>&6 | 3785 echo "checking type of mail spool file locking" 1>&6 |
| 3771 echo "configure:3772: checking type of mail spool file locking" >&5 | 3786 echo "configure:3787: checking type of mail spool file locking" >&5 |
| 3772 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3787 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3773 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3788 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3774 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3789 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3775 Defining REAL_MAIL_USE_LOCKF | 3790 Defining REAL_MAIL_USE_LOCKF |
| 3776 EOF | 3791 EOF |
| 3790 else mail_locking="dot-locking" | 3805 else mail_locking="dot-locking" |
| 3791 fi | 3806 fi |
| 3792 | 3807 |
| 3793 | 3808 |
| 3794 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3809 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3795 echo "configure:3796: checking for kstat_open in -lkstat" >&5 | 3810 echo "configure:3811: checking for kstat_open in -lkstat" >&5 |
| 3796 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3811 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3797 | 3812 |
| 3798 xe_check_libs=" -lkstat " | 3813 xe_check_libs=" -lkstat " |
| 3799 cat > conftest.$ac_ext <<EOF | 3814 cat > conftest.$ac_ext <<EOF |
| 3800 #line 3801 "configure" | 3815 #line 3816 "configure" |
| 3801 #include "confdefs.h" | 3816 #include "confdefs.h" |
| 3802 /* Override any gcc2 internal prototype to avoid an error. */ | 3817 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3803 /* We use char because int might match the return type of a gcc2 | 3818 /* We use char because int might match the return type of a gcc2 |
| 3804 builtin and then its argument prototype would still apply. */ | 3819 builtin and then its argument prototype would still apply. */ |
| 3805 char kstat_open(); | 3820 char kstat_open(); |
| 3806 | 3821 |
| 3807 int main() { | 3822 int main() { |
| 3808 kstat_open() | 3823 kstat_open() |
| 3809 ; return 0; } | 3824 ; return 0; } |
| 3810 EOF | 3825 EOF |
| 3811 if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3826 if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3812 rm -rf conftest* | 3827 rm -rf conftest* |
| 3813 eval "ac_cv_lib_$ac_lib_var=yes" | 3828 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3814 else | 3829 else |
| 3815 echo "configure: failed program was:" >&5 | 3830 echo "configure: failed program was:" >&5 |
| 3816 cat conftest.$ac_ext >&5 | 3831 cat conftest.$ac_ext >&5 |
| 3840 | 3855 |
| 3841 | 3856 |
| 3842 | 3857 |
| 3843 | 3858 |
| 3844 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3859 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3845 echo "configure:3846: checking for kvm_read in -lkvm" >&5 | 3860 echo "configure:3861: checking for kvm_read in -lkvm" >&5 |
| 3846 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3861 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3847 | 3862 |
| 3848 xe_check_libs=" -lkvm " | 3863 xe_check_libs=" -lkvm " |
| 3849 cat > conftest.$ac_ext <<EOF | 3864 cat > conftest.$ac_ext <<EOF |
| 3850 #line 3851 "configure" | 3865 #line 3866 "configure" |
| 3851 #include "confdefs.h" | 3866 #include "confdefs.h" |
| 3852 /* Override any gcc2 internal prototype to avoid an error. */ | 3867 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3853 /* We use char because int might match the return type of a gcc2 | 3868 /* We use char because int might match the return type of a gcc2 |
| 3854 builtin and then its argument prototype would still apply. */ | 3869 builtin and then its argument prototype would still apply. */ |
| 3855 char kvm_read(); | 3870 char kvm_read(); |
| 3856 | 3871 |
| 3857 int main() { | 3872 int main() { |
| 3858 kvm_read() | 3873 kvm_read() |
| 3859 ; return 0; } | 3874 ; return 0; } |
| 3860 EOF | 3875 EOF |
| 3861 if { (eval echo configure:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3876 if { (eval echo configure:3877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3862 rm -rf conftest* | 3877 rm -rf conftest* |
| 3863 eval "ac_cv_lib_$ac_lib_var=yes" | 3878 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3864 else | 3879 else |
| 3865 echo "configure: failed program was:" >&5 | 3880 echo "configure: failed program was:" >&5 |
| 3866 cat conftest.$ac_ext >&5 | 3881 cat conftest.$ac_ext >&5 |
| 3890 | 3905 |
| 3891 | 3906 |
| 3892 | 3907 |
| 3893 | 3908 |
| 3894 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3909 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3895 echo "configure:3896: checking for cma_open in -lpthreads" >&5 | 3910 echo "configure:3911: checking for cma_open in -lpthreads" >&5 |
| 3896 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3911 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3897 | 3912 |
| 3898 xe_check_libs=" -lpthreads " | 3913 xe_check_libs=" -lpthreads " |
| 3899 cat > conftest.$ac_ext <<EOF | 3914 cat > conftest.$ac_ext <<EOF |
| 3900 #line 3901 "configure" | 3915 #line 3916 "configure" |
| 3901 #include "confdefs.h" | 3916 #include "confdefs.h" |
| 3902 /* Override any gcc2 internal prototype to avoid an error. */ | 3917 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3903 /* We use char because int might match the return type of a gcc2 | 3918 /* We use char because int might match the return type of a gcc2 |
| 3904 builtin and then its argument prototype would still apply. */ | 3919 builtin and then its argument prototype would still apply. */ |
| 3905 char cma_open(); | 3920 char cma_open(); |
| 3906 | 3921 |
| 3907 int main() { | 3922 int main() { |
| 3908 cma_open() | 3923 cma_open() |
| 3909 ; return 0; } | 3924 ; return 0; } |
| 3910 EOF | 3925 EOF |
| 3911 if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3926 if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3912 rm -rf conftest* | 3927 rm -rf conftest* |
| 3913 eval "ac_cv_lib_$ac_lib_var=yes" | 3928 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3914 else | 3929 else |
| 3915 echo "configure: failed program was:" >&5 | 3930 echo "configure: failed program was:" >&5 |
| 3916 cat conftest.$ac_ext >&5 | 3931 cat conftest.$ac_ext >&5 |
| 3942 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3957 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 3943 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3958 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 3944 fi | 3959 fi |
| 3945 | 3960 |
| 3946 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3961 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 3947 echo "configure:3948: checking whether the -xildoff compiler flag is required" >&5 | 3962 echo "configure:3963: checking whether the -xildoff compiler flag is required" >&5 |
| 3948 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3963 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 3949 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3964 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 3950 then echo "$ac_t""no" 1>&6; | 3965 then echo "$ac_t""no" 1>&6; |
| 3951 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 3966 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
| 3952 fi | 3967 fi |
| 3953 else echo "$ac_t""no" 1>&6 | 3968 else echo "$ac_t""no" 1>&6 |
| 3954 fi | 3969 fi |
| 3955 | 3970 |
| 3956 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3971 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 3957 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3972 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 3958 echo "configure:3959: checking for \"-z ignore\" linker flag" >&5 | 3973 echo "configure:3974: checking for \"-z ignore\" linker flag" >&5 |
| 3959 case "`ld -h 2>&1`" in | 3974 case "`ld -h 2>&1`" in |
| 3960 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3975 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 3961 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3976 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 3962 *) echo "$ac_t""no" 1>&6 ;; | 3977 *) echo "$ac_t""no" 1>&6 ;; |
| 3963 esac | 3978 esac |
| 3964 fi | 3979 fi |
| 3965 | 3980 |
| 3966 | 3981 |
| 3967 echo "checking "for specified window system"" 1>&6 | 3982 echo "checking "for specified window system"" 1>&6 |
| 3968 echo "configure:3969: checking "for specified window system"" >&5 | 3983 echo "configure:3984: checking "for specified window system"" >&5 |
| 3969 | 3984 |
| 3970 if test "$with_x11" != "no"; then | 3985 if test "$with_x11" != "no"; then |
| 3971 test "$x_includes $x_libraries" != "NONE NONE" && \ | 3986 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 3972 window_system=x11 with_x11=yes | 3987 window_system=x11 with_x11=yes |
| 3973 | 3988 |
| 3993 # If we find X, set shell vars x_includes and x_libraries to the | 4008 # If we find X, set shell vars x_includes and x_libraries to the |
| 3994 # paths, otherwise set no_x=yes. | 4009 # paths, otherwise set no_x=yes. |
| 3995 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4010 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 3996 # --without-x overrides everything else, but does not touch the cache. | 4011 # --without-x overrides everything else, but does not touch the cache. |
| 3997 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4012 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 3998 echo "configure:3999: checking for X" >&5 | 4013 echo "configure:4014: checking for X" >&5 |
| 3999 | 4014 |
| 4000 # Check whether --with-x or --without-x was given. | 4015 # Check whether --with-x or --without-x was given. |
| 4001 if test "${with_x+set}" = set; then | 4016 if test "${with_x+set}" = set; then |
| 4002 withval="$with_x" | 4017 withval="$with_x" |
| 4003 : | 4018 : |
| 4053 # Guess where to find include files, by looking for this one X11 .h file. | 4068 # Guess where to find include files, by looking for this one X11 .h file. |
| 4054 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4069 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4055 | 4070 |
| 4056 # First, try using that file with no special directory specified. | 4071 # First, try using that file with no special directory specified. |
| 4057 cat > conftest.$ac_ext <<EOF | 4072 cat > conftest.$ac_ext <<EOF |
| 4058 #line 4059 "configure" | 4073 #line 4074 "configure" |
| 4059 #include "confdefs.h" | 4074 #include "confdefs.h" |
| 4060 #include <$x_direct_test_include> | 4075 #include <$x_direct_test_include> |
| 4061 EOF | 4076 EOF |
| 4062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4063 { (eval echo configure:4064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4078 { (eval echo configure:4079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4064 ac_err=`grep -v '^ *+' conftest.out` | 4079 ac_err=`grep -v '^ *+' conftest.out` |
| 4065 if test -z "$ac_err"; then | 4080 if test -z "$ac_err"; then |
| 4066 rm -rf conftest* | 4081 rm -rf conftest* |
| 4067 # We can compile using X headers with no special include directory. | 4082 # We can compile using X headers with no special include directory. |
| 4068 ac_x_includes= | 4083 ac_x_includes= |
| 4127 # See if we find them without any special options. | 4142 # See if we find them without any special options. |
| 4128 # Don't add to $LIBS permanently. | 4143 # Don't add to $LIBS permanently. |
| 4129 ac_save_LIBS="$LIBS" | 4144 ac_save_LIBS="$LIBS" |
| 4130 LIBS="-l$x_direct_test_library $LIBS" | 4145 LIBS="-l$x_direct_test_library $LIBS" |
| 4131 cat > conftest.$ac_ext <<EOF | 4146 cat > conftest.$ac_ext <<EOF |
| 4132 #line 4133 "configure" | 4147 #line 4148 "configure" |
| 4133 #include "confdefs.h" | 4148 #include "confdefs.h" |
| 4134 | 4149 |
| 4135 int main() { | 4150 int main() { |
| 4136 ${x_direct_test_function}() | 4151 ${x_direct_test_function}() |
| 4137 ; return 0; } | 4152 ; return 0; } |
| 4138 EOF | 4153 EOF |
| 4139 if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4154 if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4140 rm -rf conftest* | 4155 rm -rf conftest* |
| 4141 LIBS="$ac_save_LIBS" | 4156 LIBS="$ac_save_LIBS" |
| 4142 # We can link X programs with no special library path. | 4157 # We can link X programs with no special library path. |
| 4143 ac_x_libraries= | 4158 ac_x_libraries= |
| 4144 else | 4159 else |
| 4243 # For Solaris; some versions of Sun CC require a space after -R and | 4258 # For Solaris; some versions of Sun CC require a space after -R and |
| 4244 # others require no space. Words are not sufficient . . . . | 4259 # others require no space. Words are not sufficient . . . . |
| 4245 case "`(uname -sr) 2>/dev/null`" in | 4260 case "`(uname -sr) 2>/dev/null`" in |
| 4246 "SunOS 5"*) | 4261 "SunOS 5"*) |
| 4247 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4262 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4248 echo "configure:4249: checking whether -R must be followed by a space" >&5 | 4263 echo "configure:4264: checking whether -R must be followed by a space" >&5 |
| 4249 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4264 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4250 cat > conftest.$ac_ext <<EOF | 4265 cat > conftest.$ac_ext <<EOF |
| 4251 #line 4252 "configure" | 4266 #line 4267 "configure" |
| 4252 #include "confdefs.h" | 4267 #include "confdefs.h" |
| 4253 | 4268 |
| 4254 int main() { | 4269 int main() { |
| 4255 | 4270 |
| 4256 ; return 0; } | 4271 ; return 0; } |
| 4257 EOF | 4272 EOF |
| 4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4273 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4259 rm -rf conftest* | 4274 rm -rf conftest* |
| 4260 ac_R_nospace=yes | 4275 ac_R_nospace=yes |
| 4261 else | 4276 else |
| 4262 echo "configure: failed program was:" >&5 | 4277 echo "configure: failed program was:" >&5 |
| 4263 cat conftest.$ac_ext >&5 | 4278 cat conftest.$ac_ext >&5 |
| 4269 echo "$ac_t""no" 1>&6 | 4284 echo "$ac_t""no" 1>&6 |
| 4270 X_LIBS="$X_LIBS -R$x_libraries" | 4285 X_LIBS="$X_LIBS -R$x_libraries" |
| 4271 else | 4286 else |
| 4272 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4287 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4273 cat > conftest.$ac_ext <<EOF | 4288 cat > conftest.$ac_ext <<EOF |
| 4274 #line 4275 "configure" | 4289 #line 4290 "configure" |
| 4275 #include "confdefs.h" | 4290 #include "confdefs.h" |
| 4276 | 4291 |
| 4277 int main() { | 4292 int main() { |
| 4278 | 4293 |
| 4279 ; return 0; } | 4294 ; return 0; } |
| 4280 EOF | 4295 EOF |
| 4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4282 rm -rf conftest* | 4297 rm -rf conftest* |
| 4283 ac_R_space=yes | 4298 ac_R_space=yes |
| 4284 else | 4299 else |
| 4285 echo "configure: failed program was:" >&5 | 4300 echo "configure: failed program was:" >&5 |
| 4286 cat conftest.$ac_ext >&5 | 4301 cat conftest.$ac_ext >&5 |
| 4312 if test "$with_dnet" = "no" ; then | 4327 if test "$with_dnet" = "no" ; then |
| 4313 ac_cv_lib_dnet_dnet_ntoa=no | 4328 ac_cv_lib_dnet_dnet_ntoa=no |
| 4314 else | 4329 else |
| 4315 | 4330 |
| 4316 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4331 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4317 echo "configure:4318: checking for dnet_ntoa in -ldnet" >&5 | 4332 echo "configure:4333: checking for dnet_ntoa in -ldnet" >&5 |
| 4318 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4333 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4319 | 4334 |
| 4320 xe_check_libs=" -ldnet " | 4335 xe_check_libs=" -ldnet " |
| 4321 cat > conftest.$ac_ext <<EOF | 4336 cat > conftest.$ac_ext <<EOF |
| 4322 #line 4323 "configure" | 4337 #line 4338 "configure" |
| 4323 #include "confdefs.h" | 4338 #include "confdefs.h" |
| 4324 /* Override any gcc2 internal prototype to avoid an error. */ | 4339 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4325 /* We use char because int might match the return type of a gcc2 | 4340 /* We use char because int might match the return type of a gcc2 |
| 4326 builtin and then its argument prototype would still apply. */ | 4341 builtin and then its argument prototype would still apply. */ |
| 4327 char dnet_ntoa(); | 4342 char dnet_ntoa(); |
| 4328 | 4343 |
| 4329 int main() { | 4344 int main() { |
| 4330 dnet_ntoa() | 4345 dnet_ntoa() |
| 4331 ; return 0; } | 4346 ; return 0; } |
| 4332 EOF | 4347 EOF |
| 4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4348 if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4334 rm -rf conftest* | 4349 rm -rf conftest* |
| 4335 eval "ac_cv_lib_$ac_lib_var=yes" | 4350 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4336 else | 4351 else |
| 4337 echo "configure: failed program was:" >&5 | 4352 echo "configure: failed program was:" >&5 |
| 4338 cat conftest.$ac_ext >&5 | 4353 cat conftest.$ac_ext >&5 |
| 4352 fi | 4367 fi |
| 4353 | 4368 |
| 4354 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4369 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4355 | 4370 |
| 4356 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4371 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4357 echo "configure:4358: checking for dnet_ntoa in -ldnet_stub" >&5 | 4372 echo "configure:4373: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4358 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4373 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4359 | 4374 |
| 4360 xe_check_libs=" -ldnet_stub " | 4375 xe_check_libs=" -ldnet_stub " |
| 4361 cat > conftest.$ac_ext <<EOF | 4376 cat > conftest.$ac_ext <<EOF |
| 4362 #line 4363 "configure" | 4377 #line 4378 "configure" |
| 4363 #include "confdefs.h" | 4378 #include "confdefs.h" |
| 4364 /* Override any gcc2 internal prototype to avoid an error. */ | 4379 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4365 /* We use char because int might match the return type of a gcc2 | 4380 /* We use char because int might match the return type of a gcc2 |
| 4366 builtin and then its argument prototype would still apply. */ | 4381 builtin and then its argument prototype would still apply. */ |
| 4367 char dnet_ntoa(); | 4382 char dnet_ntoa(); |
| 4368 | 4383 |
| 4369 int main() { | 4384 int main() { |
| 4370 dnet_ntoa() | 4385 dnet_ntoa() |
| 4371 ; return 0; } | 4386 ; return 0; } |
| 4372 EOF | 4387 EOF |
| 4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4388 if { (eval echo configure:4389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4374 rm -rf conftest* | 4389 rm -rf conftest* |
| 4375 eval "ac_cv_lib_$ac_lib_var=yes" | 4390 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4376 else | 4391 else |
| 4377 echo "configure: failed program was:" >&5 | 4392 echo "configure: failed program was:" >&5 |
| 4378 cat conftest.$ac_ext >&5 | 4393 cat conftest.$ac_ext >&5 |
| 4397 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4412 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4398 # needs -lnsl. | 4413 # needs -lnsl. |
| 4399 # The nsl library prevents programs from opening the X display | 4414 # The nsl library prevents programs from opening the X display |
| 4400 # on Irix 5.2, according to dickey@clark.net. | 4415 # on Irix 5.2, according to dickey@clark.net. |
| 4401 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4416 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4402 echo "configure:4403: checking for gethostbyname" >&5 | 4417 echo "configure:4418: checking for gethostbyname" >&5 |
| 4403 | 4418 |
| 4404 cat > conftest.$ac_ext <<EOF | 4419 cat > conftest.$ac_ext <<EOF |
| 4405 #line 4406 "configure" | 4420 #line 4421 "configure" |
| 4406 #include "confdefs.h" | 4421 #include "confdefs.h" |
| 4407 /* System header to define __stub macros and hopefully few prototypes, | 4422 /* System header to define __stub macros and hopefully few prototypes, |
| 4408 which can conflict with char gethostbyname(); below. */ | 4423 which can conflict with char gethostbyname(); below. */ |
| 4409 #include <assert.h> | 4424 #include <assert.h> |
| 4410 /* Override any gcc2 internal prototype to avoid an error. */ | 4425 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4423 gethostbyname(); | 4438 gethostbyname(); |
| 4424 #endif | 4439 #endif |
| 4425 | 4440 |
| 4426 ; return 0; } | 4441 ; return 0; } |
| 4427 EOF | 4442 EOF |
| 4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4429 rm -rf conftest* | 4444 rm -rf conftest* |
| 4430 eval "ac_cv_func_gethostbyname=yes" | 4445 eval "ac_cv_func_gethostbyname=yes" |
| 4431 else | 4446 else |
| 4432 echo "configure: failed program was:" >&5 | 4447 echo "configure: failed program was:" >&5 |
| 4433 cat conftest.$ac_ext >&5 | 4448 cat conftest.$ac_ext >&5 |
| 4444 fi | 4459 fi |
| 4445 | 4460 |
| 4446 if test $ac_cv_func_gethostbyname = no; then | 4461 if test $ac_cv_func_gethostbyname = no; then |
| 4447 | 4462 |
| 4448 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4463 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4449 echo "configure:4450: checking for gethostbyname in -lnsl" >&5 | 4464 echo "configure:4465: checking for gethostbyname in -lnsl" >&5 |
| 4450 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4465 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4451 | 4466 |
| 4452 xe_check_libs=" -lnsl " | 4467 xe_check_libs=" -lnsl " |
| 4453 cat > conftest.$ac_ext <<EOF | 4468 cat > conftest.$ac_ext <<EOF |
| 4454 #line 4455 "configure" | 4469 #line 4470 "configure" |
| 4455 #include "confdefs.h" | 4470 #include "confdefs.h" |
| 4456 /* Override any gcc2 internal prototype to avoid an error. */ | 4471 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4457 /* We use char because int might match the return type of a gcc2 | 4472 /* We use char because int might match the return type of a gcc2 |
| 4458 builtin and then its argument prototype would still apply. */ | 4473 builtin and then its argument prototype would still apply. */ |
| 4459 char gethostbyname(); | 4474 char gethostbyname(); |
| 4460 | 4475 |
| 4461 int main() { | 4476 int main() { |
| 4462 gethostbyname() | 4477 gethostbyname() |
| 4463 ; return 0; } | 4478 ; return 0; } |
| 4464 EOF | 4479 EOF |
| 4465 if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4480 if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4466 rm -rf conftest* | 4481 rm -rf conftest* |
| 4467 eval "ac_cv_lib_$ac_lib_var=yes" | 4482 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4468 else | 4483 else |
| 4469 echo "configure: failed program was:" >&5 | 4484 echo "configure: failed program was:" >&5 |
| 4470 cat conftest.$ac_ext >&5 | 4485 cat conftest.$ac_ext >&5 |
| 4490 # on later versions), says simon@lia.di.epfl.ch: it contains | 4505 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4491 # gethostby* variants that don't use the nameserver (or something). | 4506 # gethostby* variants that don't use the nameserver (or something). |
| 4492 # -lsocket must be given before -lnsl if both are needed. | 4507 # -lsocket must be given before -lnsl if both are needed. |
| 4493 # We assume that if connect needs -lnsl, so does gethostbyname. | 4508 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4494 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4509 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4495 echo "configure:4496: checking for connect" >&5 | 4510 echo "configure:4511: checking for connect" >&5 |
| 4496 | 4511 |
| 4497 cat > conftest.$ac_ext <<EOF | 4512 cat > conftest.$ac_ext <<EOF |
| 4498 #line 4499 "configure" | 4513 #line 4514 "configure" |
| 4499 #include "confdefs.h" | 4514 #include "confdefs.h" |
| 4500 /* System header to define __stub macros and hopefully few prototypes, | 4515 /* System header to define __stub macros and hopefully few prototypes, |
| 4501 which can conflict with char connect(); below. */ | 4516 which can conflict with char connect(); below. */ |
| 4502 #include <assert.h> | 4517 #include <assert.h> |
| 4503 /* Override any gcc2 internal prototype to avoid an error. */ | 4518 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4516 connect(); | 4531 connect(); |
| 4517 #endif | 4532 #endif |
| 4518 | 4533 |
| 4519 ; return 0; } | 4534 ; return 0; } |
| 4520 EOF | 4535 EOF |
| 4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4536 if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4522 rm -rf conftest* | 4537 rm -rf conftest* |
| 4523 eval "ac_cv_func_connect=yes" | 4538 eval "ac_cv_func_connect=yes" |
| 4524 else | 4539 else |
| 4525 echo "configure: failed program was:" >&5 | 4540 echo "configure: failed program was:" >&5 |
| 4526 cat conftest.$ac_ext >&5 | 4541 cat conftest.$ac_ext >&5 |
| 4539 if test $ac_cv_func_connect = no; then | 4554 if test $ac_cv_func_connect = no; then |
| 4540 | 4555 |
| 4541 xe_msg_checking="for connect in -lsocket" | 4556 xe_msg_checking="for connect in -lsocket" |
| 4542 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4557 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4543 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4558 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4544 echo "configure:4545: checking "$xe_msg_checking"" >&5 | 4559 echo "configure:4560: checking "$xe_msg_checking"" >&5 |
| 4545 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4560 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4546 | 4561 |
| 4547 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4562 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4548 cat > conftest.$ac_ext <<EOF | 4563 cat > conftest.$ac_ext <<EOF |
| 4549 #line 4550 "configure" | 4564 #line 4565 "configure" |
| 4550 #include "confdefs.h" | 4565 #include "confdefs.h" |
| 4551 /* Override any gcc2 internal prototype to avoid an error. */ | 4566 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4552 /* We use char because int might match the return type of a gcc2 | 4567 /* We use char because int might match the return type of a gcc2 |
| 4553 builtin and then its argument prototype would still apply. */ | 4568 builtin and then its argument prototype would still apply. */ |
| 4554 char connect(); | 4569 char connect(); |
| 4555 | 4570 |
| 4556 int main() { | 4571 int main() { |
| 4557 connect() | 4572 connect() |
| 4558 ; return 0; } | 4573 ; return 0; } |
| 4559 EOF | 4574 EOF |
| 4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4575 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4561 rm -rf conftest* | 4576 rm -rf conftest* |
| 4562 eval "ac_cv_lib_$ac_lib_var=yes" | 4577 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4563 else | 4578 else |
| 4564 echo "configure: failed program was:" >&5 | 4579 echo "configure: failed program was:" >&5 |
| 4565 cat conftest.$ac_ext >&5 | 4580 cat conftest.$ac_ext >&5 |
| 4579 | 4594 |
| 4580 fi | 4595 fi |
| 4581 | 4596 |
| 4582 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4597 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4583 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4598 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4584 echo "configure:4585: checking for remove" >&5 | 4599 echo "configure:4600: checking for remove" >&5 |
| 4585 | 4600 |
| 4586 cat > conftest.$ac_ext <<EOF | 4601 cat > conftest.$ac_ext <<EOF |
| 4587 #line 4588 "configure" | 4602 #line 4603 "configure" |
| 4588 #include "confdefs.h" | 4603 #include "confdefs.h" |
| 4589 /* System header to define __stub macros and hopefully few prototypes, | 4604 /* System header to define __stub macros and hopefully few prototypes, |
| 4590 which can conflict with char remove(); below. */ | 4605 which can conflict with char remove(); below. */ |
| 4591 #include <assert.h> | 4606 #include <assert.h> |
| 4592 /* Override any gcc2 internal prototype to avoid an error. */ | 4607 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4605 remove(); | 4620 remove(); |
| 4606 #endif | 4621 #endif |
| 4607 | 4622 |
| 4608 ; return 0; } | 4623 ; return 0; } |
| 4609 EOF | 4624 EOF |
| 4610 if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4611 rm -rf conftest* | 4626 rm -rf conftest* |
| 4612 eval "ac_cv_func_remove=yes" | 4627 eval "ac_cv_func_remove=yes" |
| 4613 else | 4628 else |
| 4614 echo "configure: failed program was:" >&5 | 4629 echo "configure: failed program was:" >&5 |
| 4615 cat conftest.$ac_ext >&5 | 4630 cat conftest.$ac_ext >&5 |
| 4626 fi | 4641 fi |
| 4627 | 4642 |
| 4628 if test $ac_cv_func_remove = no; then | 4643 if test $ac_cv_func_remove = no; then |
| 4629 | 4644 |
| 4630 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4645 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4631 echo "configure:4632: checking for remove in -lposix" >&5 | 4646 echo "configure:4647: checking for remove in -lposix" >&5 |
| 4632 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4647 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4633 | 4648 |
| 4634 xe_check_libs=" -lposix " | 4649 xe_check_libs=" -lposix " |
| 4635 cat > conftest.$ac_ext <<EOF | 4650 cat > conftest.$ac_ext <<EOF |
| 4636 #line 4637 "configure" | 4651 #line 4652 "configure" |
| 4637 #include "confdefs.h" | 4652 #include "confdefs.h" |
| 4638 /* Override any gcc2 internal prototype to avoid an error. */ | 4653 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4639 /* We use char because int might match the return type of a gcc2 | 4654 /* We use char because int might match the return type of a gcc2 |
| 4640 builtin and then its argument prototype would still apply. */ | 4655 builtin and then its argument prototype would still apply. */ |
| 4641 char remove(); | 4656 char remove(); |
| 4642 | 4657 |
| 4643 int main() { | 4658 int main() { |
| 4644 remove() | 4659 remove() |
| 4645 ; return 0; } | 4660 ; return 0; } |
| 4646 EOF | 4661 EOF |
| 4647 if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4662 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4648 rm -rf conftest* | 4663 rm -rf conftest* |
| 4649 eval "ac_cv_lib_$ac_lib_var=yes" | 4664 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4650 else | 4665 else |
| 4651 echo "configure: failed program was:" >&5 | 4666 echo "configure: failed program was:" >&5 |
| 4652 cat conftest.$ac_ext >&5 | 4667 cat conftest.$ac_ext >&5 |
| 4666 | 4681 |
| 4667 fi | 4682 fi |
| 4668 | 4683 |
| 4669 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4684 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4670 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4685 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4671 echo "configure:4672: checking for shmat" >&5 | 4686 echo "configure:4687: checking for shmat" >&5 |
| 4672 | 4687 |
| 4673 cat > conftest.$ac_ext <<EOF | 4688 cat > conftest.$ac_ext <<EOF |
| 4674 #line 4675 "configure" | 4689 #line 4690 "configure" |
| 4675 #include "confdefs.h" | 4690 #include "confdefs.h" |
| 4676 /* System header to define __stub macros and hopefully few prototypes, | 4691 /* System header to define __stub macros and hopefully few prototypes, |
| 4677 which can conflict with char shmat(); below. */ | 4692 which can conflict with char shmat(); below. */ |
| 4678 #include <assert.h> | 4693 #include <assert.h> |
| 4679 /* Override any gcc2 internal prototype to avoid an error. */ | 4694 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4692 shmat(); | 4707 shmat(); |
| 4693 #endif | 4708 #endif |
| 4694 | 4709 |
| 4695 ; return 0; } | 4710 ; return 0; } |
| 4696 EOF | 4711 EOF |
| 4697 if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4712 if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4698 rm -rf conftest* | 4713 rm -rf conftest* |
| 4699 eval "ac_cv_func_shmat=yes" | 4714 eval "ac_cv_func_shmat=yes" |
| 4700 else | 4715 else |
| 4701 echo "configure: failed program was:" >&5 | 4716 echo "configure: failed program was:" >&5 |
| 4702 cat conftest.$ac_ext >&5 | 4717 cat conftest.$ac_ext >&5 |
| 4713 fi | 4728 fi |
| 4714 | 4729 |
| 4715 if test $ac_cv_func_shmat = no; then | 4730 if test $ac_cv_func_shmat = no; then |
| 4716 | 4731 |
| 4717 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4732 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4718 echo "configure:4719: checking for shmat in -lipc" >&5 | 4733 echo "configure:4734: checking for shmat in -lipc" >&5 |
| 4719 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4734 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4720 | 4735 |
| 4721 xe_check_libs=" -lipc " | 4736 xe_check_libs=" -lipc " |
| 4722 cat > conftest.$ac_ext <<EOF | 4737 cat > conftest.$ac_ext <<EOF |
| 4723 #line 4724 "configure" | 4738 #line 4739 "configure" |
| 4724 #include "confdefs.h" | 4739 #include "confdefs.h" |
| 4725 /* Override any gcc2 internal prototype to avoid an error. */ | 4740 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4726 /* We use char because int might match the return type of a gcc2 | 4741 /* We use char because int might match the return type of a gcc2 |
| 4727 builtin and then its argument prototype would still apply. */ | 4742 builtin and then its argument prototype would still apply. */ |
| 4728 char shmat(); | 4743 char shmat(); |
| 4729 | 4744 |
| 4730 int main() { | 4745 int main() { |
| 4731 shmat() | 4746 shmat() |
| 4732 ; return 0; } | 4747 ; return 0; } |
| 4733 EOF | 4748 EOF |
| 4734 if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4749 if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4735 rm -rf conftest* | 4750 rm -rf conftest* |
| 4736 eval "ac_cv_lib_$ac_lib_var=yes" | 4751 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4737 else | 4752 else |
| 4738 echo "configure: failed program was:" >&5 | 4753 echo "configure: failed program was:" >&5 |
| 4739 cat conftest.$ac_ext >&5 | 4754 cat conftest.$ac_ext >&5 |
| 4763 # These have to be linked with before -lX11, unlike the other | 4778 # These have to be linked with before -lX11, unlike the other |
| 4764 # libraries we check for below, so use a different variable. | 4779 # libraries we check for below, so use a different variable. |
| 4765 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4780 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4766 | 4781 |
| 4767 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4782 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4768 echo "configure:4769: checking for IceConnectionNumber in -lICE" >&5 | 4783 echo "configure:4784: checking for IceConnectionNumber in -lICE" >&5 |
| 4769 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4784 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4770 | 4785 |
| 4771 xe_check_libs=" -lICE " | 4786 xe_check_libs=" -lICE " |
| 4772 cat > conftest.$ac_ext <<EOF | 4787 cat > conftest.$ac_ext <<EOF |
| 4773 #line 4774 "configure" | 4788 #line 4789 "configure" |
| 4774 #include "confdefs.h" | 4789 #include "confdefs.h" |
| 4775 /* Override any gcc2 internal prototype to avoid an error. */ | 4790 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4776 /* We use char because int might match the return type of a gcc2 | 4791 /* We use char because int might match the return type of a gcc2 |
| 4777 builtin and then its argument prototype would still apply. */ | 4792 builtin and then its argument prototype would still apply. */ |
| 4778 char IceConnectionNumber(); | 4793 char IceConnectionNumber(); |
| 4779 | 4794 |
| 4780 int main() { | 4795 int main() { |
| 4781 IceConnectionNumber() | 4796 IceConnectionNumber() |
| 4782 ; return 0; } | 4797 ; return 0; } |
| 4783 EOF | 4798 EOF |
| 4784 if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4799 if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4785 rm -rf conftest* | 4800 rm -rf conftest* |
| 4786 eval "ac_cv_lib_$ac_lib_var=yes" | 4801 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4787 else | 4802 else |
| 4788 echo "configure: failed program was:" >&5 | 4803 echo "configure: failed program was:" >&5 |
| 4789 cat conftest.$ac_ext >&5 | 4804 cat conftest.$ac_ext >&5 |
| 4816 no ) window_system=none HAVE_X_WINDOWS=no ;; | 4831 no ) window_system=none HAVE_X_WINDOWS=no ;; |
| 4817 esac | 4832 esac |
| 4818 | 4833 |
| 4819 if test "$window_system" = "none"; then | 4834 if test "$window_system" = "none"; then |
| 4820 echo "checking for MS-Windows" 1>&6 | 4835 echo "checking for MS-Windows" 1>&6 |
| 4821 echo "configure:4822: checking for MS-Windows" >&5 | 4836 echo "configure:4837: checking for MS-Windows" >&5 |
| 4822 | 4837 |
| 4823 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 4838 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 4824 echo "configure:4825: checking for main in -lgdi32" >&5 | 4839 echo "configure:4840: checking for main in -lgdi32" >&5 |
| 4825 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 4840 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 4826 | 4841 |
| 4827 xe_check_libs=" -lgdi32 " | 4842 xe_check_libs=" -lgdi32 " |
| 4828 cat > conftest.$ac_ext <<EOF | 4843 cat > conftest.$ac_ext <<EOF |
| 4829 #line 4830 "configure" | 4844 #line 4845 "configure" |
| 4830 #include "confdefs.h" | 4845 #include "confdefs.h" |
| 4831 | 4846 |
| 4832 int main() { | 4847 int main() { |
| 4833 main() | 4848 main() |
| 4834 ; return 0; } | 4849 ; return 0; } |
| 4835 EOF | 4850 EOF |
| 4836 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4851 if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4837 rm -rf conftest* | 4852 rm -rf conftest* |
| 4838 eval "ac_cv_lib_$ac_lib_var=yes" | 4853 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4839 else | 4854 else |
| 4840 echo "configure: failed program was:" >&5 | 4855 echo "configure: failed program was:" >&5 |
| 4841 cat conftest.$ac_ext >&5 | 4856 cat conftest.$ac_ext >&5 |
| 4975 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4990 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 4976 echo | 4991 echo |
| 4977 fi | 4992 fi |
| 4978 | 4993 |
| 4979 echo "checking for X defines extracted by xmkmf" 1>&6 | 4994 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 4980 echo "configure:4981: checking for X defines extracted by xmkmf" >&5 | 4995 echo "configure:4996: checking for X defines extracted by xmkmf" >&5 |
| 4981 rm -fr conftestdir | 4996 rm -fr conftestdir |
| 4982 if mkdir conftestdir; then | 4997 if mkdir conftestdir; then |
| 4983 cd conftestdir | 4998 cd conftestdir |
| 4984 cat > Imakefile <<'EOF' | 4999 cat > Imakefile <<'EOF' |
| 4985 xetest: | 5000 xetest: |
| 5007 done | 5022 done |
| 5008 fi | 5023 fi |
| 5009 | 5024 |
| 5010 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5025 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5011 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5026 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5012 echo "configure:5013: checking for X11/Intrinsic.h" >&5 | 5027 echo "configure:5028: checking for X11/Intrinsic.h" >&5 |
| 5013 | 5028 |
| 5014 cat > conftest.$ac_ext <<EOF | 5029 cat > conftest.$ac_ext <<EOF |
| 5015 #line 5016 "configure" | 5030 #line 5031 "configure" |
| 5016 #include "confdefs.h" | 5031 #include "confdefs.h" |
| 5017 #include <X11/Intrinsic.h> | 5032 #include <X11/Intrinsic.h> |
| 5018 EOF | 5033 EOF |
| 5019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5020 { (eval echo configure:5021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5035 { (eval echo configure:5036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5021 ac_err=`grep -v '^ *+' conftest.out` | 5036 ac_err=`grep -v '^ *+' conftest.out` |
| 5022 if test -z "$ac_err"; then | 5037 if test -z "$ac_err"; then |
| 5023 rm -rf conftest* | 5038 rm -rf conftest* |
| 5024 eval "ac_cv_header_$ac_safe=yes" | 5039 eval "ac_cv_header_$ac_safe=yes" |
| 5025 else | 5040 else |
| 5039 fi | 5054 fi |
| 5040 | 5055 |
| 5041 | 5056 |
| 5042 | 5057 |
| 5043 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5058 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5044 echo "configure:5045: checking for XOpenDisplay in -lX11" >&5 | 5059 echo "configure:5060: checking for XOpenDisplay in -lX11" >&5 |
| 5045 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5060 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5046 | 5061 |
| 5047 xe_check_libs=" -lX11 " | 5062 xe_check_libs=" -lX11 " |
| 5048 cat > conftest.$ac_ext <<EOF | 5063 cat > conftest.$ac_ext <<EOF |
| 5049 #line 5050 "configure" | 5064 #line 5065 "configure" |
| 5050 #include "confdefs.h" | 5065 #include "confdefs.h" |
| 5051 /* Override any gcc2 internal prototype to avoid an error. */ | 5066 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5052 /* We use char because int might match the return type of a gcc2 | 5067 /* We use char because int might match the return type of a gcc2 |
| 5053 builtin and then its argument prototype would still apply. */ | 5068 builtin and then its argument prototype would still apply. */ |
| 5054 char XOpenDisplay(); | 5069 char XOpenDisplay(); |
| 5055 | 5070 |
| 5056 int main() { | 5071 int main() { |
| 5057 XOpenDisplay() | 5072 XOpenDisplay() |
| 5058 ; return 0; } | 5073 ; return 0; } |
| 5059 EOF | 5074 EOF |
| 5060 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5075 if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5061 rm -rf conftest* | 5076 rm -rf conftest* |
| 5062 eval "ac_cv_lib_$ac_lib_var=yes" | 5077 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5063 else | 5078 else |
| 5064 echo "configure: failed program was:" >&5 | 5079 echo "configure: failed program was:" >&5 |
| 5065 cat conftest.$ac_ext >&5 | 5080 cat conftest.$ac_ext >&5 |
| 5080 if test "$have_lib_x11" != "yes"; then | 5095 if test "$have_lib_x11" != "yes"; then |
| 5081 | 5096 |
| 5082 xe_msg_checking="for XGetFontProperty in -lX11" | 5097 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5083 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5098 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5084 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5099 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5085 echo "configure:5086: checking "$xe_msg_checking"" >&5 | 5100 echo "configure:5101: checking "$xe_msg_checking"" >&5 |
| 5086 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5101 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5087 | 5102 |
| 5088 xe_check_libs=" -lX11 -b i486-linuxaout" | 5103 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5089 cat > conftest.$ac_ext <<EOF | 5104 cat > conftest.$ac_ext <<EOF |
| 5090 #line 5091 "configure" | 5105 #line 5106 "configure" |
| 5091 #include "confdefs.h" | 5106 #include "confdefs.h" |
| 5092 /* Override any gcc2 internal prototype to avoid an error. */ | 5107 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5093 /* We use char because int might match the return type of a gcc2 | 5108 /* We use char because int might match the return type of a gcc2 |
| 5094 builtin and then its argument prototype would still apply. */ | 5109 builtin and then its argument prototype would still apply. */ |
| 5095 char XGetFontProperty(); | 5110 char XGetFontProperty(); |
| 5096 | 5111 |
| 5097 int main() { | 5112 int main() { |
| 5098 XGetFontProperty() | 5113 XGetFontProperty() |
| 5099 ; return 0; } | 5114 ; return 0; } |
| 5100 EOF | 5115 EOF |
| 5101 if { (eval echo configure:5102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5102 rm -rf conftest* | 5117 rm -rf conftest* |
| 5103 eval "ac_cv_lib_$ac_lib_var=yes" | 5118 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5104 else | 5119 else |
| 5105 echo "configure: failed program was:" >&5 | 5120 echo "configure: failed program was:" >&5 |
| 5106 cat conftest.$ac_ext >&5 | 5121 cat conftest.$ac_ext >&5 |
| 5123 libs_x="-lX11" | 5138 libs_x="-lX11" |
| 5124 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5139 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5125 | 5140 |
| 5126 | 5141 |
| 5127 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5142 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5128 echo "configure:5129: checking for XShapeSelectInput in -lXext" >&5 | 5143 echo "configure:5144: checking for XShapeSelectInput in -lXext" >&5 |
| 5129 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5144 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5130 | 5145 |
| 5131 xe_check_libs=" -lXext " | 5146 xe_check_libs=" -lXext " |
| 5132 cat > conftest.$ac_ext <<EOF | 5147 cat > conftest.$ac_ext <<EOF |
| 5133 #line 5134 "configure" | 5148 #line 5149 "configure" |
| 5134 #include "confdefs.h" | 5149 #include "confdefs.h" |
| 5135 /* Override any gcc2 internal prototype to avoid an error. */ | 5150 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5136 /* We use char because int might match the return type of a gcc2 | 5151 /* We use char because int might match the return type of a gcc2 |
| 5137 builtin and then its argument prototype would still apply. */ | 5152 builtin and then its argument prototype would still apply. */ |
| 5138 char XShapeSelectInput(); | 5153 char XShapeSelectInput(); |
| 5139 | 5154 |
| 5140 int main() { | 5155 int main() { |
| 5141 XShapeSelectInput() | 5156 XShapeSelectInput() |
| 5142 ; return 0; } | 5157 ; return 0; } |
| 5143 EOF | 5158 EOF |
| 5144 if { (eval echo configure:5145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5145 rm -rf conftest* | 5160 rm -rf conftest* |
| 5146 eval "ac_cv_lib_$ac_lib_var=yes" | 5161 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5147 else | 5162 else |
| 5148 echo "configure: failed program was:" >&5 | 5163 echo "configure: failed program was:" >&5 |
| 5149 cat conftest.$ac_ext >&5 | 5164 cat conftest.$ac_ext >&5 |
| 5162 | 5177 |
| 5163 | 5178 |
| 5164 | 5179 |
| 5165 | 5180 |
| 5166 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5181 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5167 echo "configure:5168: checking for XtOpenDisplay in -lXt" >&5 | 5182 echo "configure:5183: checking for XtOpenDisplay in -lXt" >&5 |
| 5168 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5183 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5169 | 5184 |
| 5170 xe_check_libs=" -lXt " | 5185 xe_check_libs=" -lXt " |
| 5171 cat > conftest.$ac_ext <<EOF | 5186 cat > conftest.$ac_ext <<EOF |
| 5172 #line 5173 "configure" | 5187 #line 5188 "configure" |
| 5173 #include "confdefs.h" | 5188 #include "confdefs.h" |
| 5174 /* Override any gcc2 internal prototype to avoid an error. */ | 5189 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5175 /* We use char because int might match the return type of a gcc2 | 5190 /* We use char because int might match the return type of a gcc2 |
| 5176 builtin and then its argument prototype would still apply. */ | 5191 builtin and then its argument prototype would still apply. */ |
| 5177 char XtOpenDisplay(); | 5192 char XtOpenDisplay(); |
| 5178 | 5193 |
| 5179 int main() { | 5194 int main() { |
| 5180 XtOpenDisplay() | 5195 XtOpenDisplay() |
| 5181 ; return 0; } | 5196 ; return 0; } |
| 5182 EOF | 5197 EOF |
| 5183 if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5184 rm -rf conftest* | 5199 rm -rf conftest* |
| 5185 eval "ac_cv_lib_$ac_lib_var=yes" | 5200 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5186 else | 5201 else |
| 5187 echo "configure: failed program was:" >&5 | 5202 echo "configure: failed program was:" >&5 |
| 5188 cat conftest.$ac_ext >&5 | 5203 cat conftest.$ac_ext >&5 |
| 5201 fi | 5216 fi |
| 5202 | 5217 |
| 5203 | 5218 |
| 5204 | 5219 |
| 5205 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5220 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5206 echo "configure:5207: checking the version of X11 being used" >&5 | 5221 echo "configure:5222: checking the version of X11 being used" >&5 |
| 5207 cat > conftest.$ac_ext <<EOF | 5222 cat > conftest.$ac_ext <<EOF |
| 5208 #line 5209 "configure" | 5223 #line 5224 "configure" |
| 5209 #include "confdefs.h" | 5224 #include "confdefs.h" |
| 5210 #include <X11/Intrinsic.h> | 5225 #include <X11/Intrinsic.h> |
| 5211 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5226 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5212 EOF | 5227 EOF |
| 5213 if { (eval echo configure:5214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5214 then | 5229 then |
| 5215 ./conftest foobar; x11_release=$? | 5230 ./conftest foobar; x11_release=$? |
| 5216 else | 5231 else |
| 5217 echo "configure: failed program was:" >&5 | 5232 echo "configure: failed program was:" >&5 |
| 5218 cat conftest.$ac_ext >&5 | 5233 cat conftest.$ac_ext >&5 |
| 5232 | 5247 |
| 5233 for ac_hdr in X11/Xlocale.h | 5248 for ac_hdr in X11/Xlocale.h |
| 5234 do | 5249 do |
| 5235 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5250 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5251 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5237 echo "configure:5238: checking for $ac_hdr" >&5 | 5252 echo "configure:5253: checking for $ac_hdr" >&5 |
| 5238 | 5253 |
| 5239 cat > conftest.$ac_ext <<EOF | 5254 cat > conftest.$ac_ext <<EOF |
| 5240 #line 5241 "configure" | 5255 #line 5256 "configure" |
| 5241 #include "confdefs.h" | 5256 #include "confdefs.h" |
| 5242 #include <$ac_hdr> | 5257 #include <$ac_hdr> |
| 5243 EOF | 5258 EOF |
| 5244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5245 { (eval echo configure:5246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5260 { (eval echo configure:5261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5246 ac_err=`grep -v '^ *+' conftest.out` | 5261 ac_err=`grep -v '^ *+' conftest.out` |
| 5247 if test -z "$ac_err"; then | 5262 if test -z "$ac_err"; then |
| 5248 rm -rf conftest* | 5263 rm -rf conftest* |
| 5249 eval "ac_cv_header_$ac_safe=yes" | 5264 eval "ac_cv_header_$ac_safe=yes" |
| 5250 else | 5265 else |
| 5271 fi | 5286 fi |
| 5272 done | 5287 done |
| 5273 | 5288 |
| 5274 | 5289 |
| 5275 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5290 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5276 echo "configure:5277: checking for XFree86" >&5 | 5291 echo "configure:5292: checking for XFree86" >&5 |
| 5277 if test -d "/usr/X386/include" -o \ | 5292 if test -d "/usr/X386/include" -o \ |
| 5278 -f "/etc/XF86Config" -o \ | 5293 -f "/etc/XF86Config" -o \ |
| 5279 -f "/etc/X11/XF86Config" -o \ | 5294 -f "/etc/X11/XF86Config" -o \ |
| 5280 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5295 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5281 echo "$ac_t""yes" 1>&6 | 5296 echo "$ac_t""yes" 1>&6 |
| 5291 echo "$ac_t""no" 1>&6 | 5306 echo "$ac_t""no" 1>&6 |
| 5292 fi | 5307 fi |
| 5293 | 5308 |
| 5294 test -z "$with_xmu" && { | 5309 test -z "$with_xmu" && { |
| 5295 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5310 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5296 echo "configure:5297: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5311 echo "configure:5312: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5297 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5312 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5298 | 5313 |
| 5299 xe_check_libs=" -lXmu " | 5314 xe_check_libs=" -lXmu " |
| 5300 cat > conftest.$ac_ext <<EOF | 5315 cat > conftest.$ac_ext <<EOF |
| 5301 #line 5302 "configure" | 5316 #line 5317 "configure" |
| 5302 #include "confdefs.h" | 5317 #include "confdefs.h" |
| 5303 /* Override any gcc2 internal prototype to avoid an error. */ | 5318 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5304 /* We use char because int might match the return type of a gcc2 | 5319 /* We use char because int might match the return type of a gcc2 |
| 5305 builtin and then its argument prototype would still apply. */ | 5320 builtin and then its argument prototype would still apply. */ |
| 5306 char XmuReadBitmapDataFromFile(); | 5321 char XmuReadBitmapDataFromFile(); |
| 5307 | 5322 |
| 5308 int main() { | 5323 int main() { |
| 5309 XmuReadBitmapDataFromFile() | 5324 XmuReadBitmapDataFromFile() |
| 5310 ; return 0; } | 5325 ; return 0; } |
| 5311 EOF | 5326 EOF |
| 5312 if { (eval echo configure:5313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5313 rm -rf conftest* | 5328 rm -rf conftest* |
| 5314 eval "ac_cv_lib_$ac_lib_var=yes" | 5329 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5315 else | 5330 else |
| 5316 echo "configure: failed program was:" >&5 | 5331 echo "configure: failed program was:" >&5 |
| 5317 cat conftest.$ac_ext >&5 | 5332 cat conftest.$ac_ext >&5 |
| 5346 | 5361 |
| 5347 fi | 5362 fi |
| 5348 | 5363 |
| 5349 | 5364 |
| 5350 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5365 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5351 echo "configure:5352: checking for main in -lXbsd" >&5 | 5366 echo "configure:5367: checking for main in -lXbsd" >&5 |
| 5352 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5367 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5353 | 5368 |
| 5354 xe_check_libs=" -lXbsd " | 5369 xe_check_libs=" -lXbsd " |
| 5355 cat > conftest.$ac_ext <<EOF | 5370 cat > conftest.$ac_ext <<EOF |
| 5356 #line 5357 "configure" | 5371 #line 5372 "configure" |
| 5357 #include "confdefs.h" | 5372 #include "confdefs.h" |
| 5358 | 5373 |
| 5359 int main() { | 5374 int main() { |
| 5360 main() | 5375 main() |
| 5361 ; return 0; } | 5376 ; return 0; } |
| 5362 EOF | 5377 EOF |
| 5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5378 if { (eval echo configure:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5364 rm -rf conftest* | 5379 rm -rf conftest* |
| 5365 eval "ac_cv_lib_$ac_lib_var=yes" | 5380 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5366 else | 5381 else |
| 5367 echo "configure: failed program was:" >&5 | 5382 echo "configure: failed program was:" >&5 |
| 5368 cat conftest.$ac_ext >&5 | 5383 cat conftest.$ac_ext >&5 |
| 5417 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5432 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5418 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5433 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5419 esac | 5434 esac |
| 5420 | 5435 |
| 5421 echo "checking for session-management option" 1>&6 | 5436 echo "checking for session-management option" 1>&6 |
| 5422 echo "configure:5423: checking for session-management option" >&5; | 5437 echo "configure:5438: checking for session-management option" >&5; |
| 5423 if test "$with_session" != "no"; then | 5438 if test "$with_session" != "no"; then |
| 5424 { test "$extra_verbose" = "yes" && cat << \EOF | 5439 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5425 Defining HAVE_SESSION | 5440 Defining HAVE_SESSION |
| 5426 EOF | 5441 EOF |
| 5427 cat >> confdefs.h <<\EOF | 5442 cat >> confdefs.h <<\EOF |
| 5432 fi | 5447 fi |
| 5433 | 5448 |
| 5434 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5449 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5435 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5450 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5436 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5451 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5437 echo "configure:5438: checking for X11/Xauth.h" >&5 | 5452 echo "configure:5453: checking for X11/Xauth.h" >&5 |
| 5438 | 5453 |
| 5439 cat > conftest.$ac_ext <<EOF | 5454 cat > conftest.$ac_ext <<EOF |
| 5440 #line 5441 "configure" | 5455 #line 5456 "configure" |
| 5441 #include "confdefs.h" | 5456 #include "confdefs.h" |
| 5442 #include <X11/Xauth.h> | 5457 #include <X11/Xauth.h> |
| 5443 EOF | 5458 EOF |
| 5444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5445 { (eval echo configure:5446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5460 { (eval echo configure:5461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5446 ac_err=`grep -v '^ *+' conftest.out` | 5461 ac_err=`grep -v '^ *+' conftest.out` |
| 5447 if test -z "$ac_err"; then | 5462 if test -z "$ac_err"; then |
| 5448 rm -rf conftest* | 5463 rm -rf conftest* |
| 5449 eval "ac_cv_header_$ac_safe=yes" | 5464 eval "ac_cv_header_$ac_safe=yes" |
| 5450 else | 5465 else |
| 5463 with_xauth=no | 5478 with_xauth=no |
| 5464 fi | 5479 fi |
| 5465 } | 5480 } |
| 5466 test -z "$with_xauth" && { | 5481 test -z "$with_xauth" && { |
| 5467 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5482 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5468 echo "configure:5469: checking for XauGetAuthByAddr in -lXau" >&5 | 5483 echo "configure:5484: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5469 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5484 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5470 | 5485 |
| 5471 xe_check_libs=" -lXau " | 5486 xe_check_libs=" -lXau " |
| 5472 cat > conftest.$ac_ext <<EOF | 5487 cat > conftest.$ac_ext <<EOF |
| 5473 #line 5474 "configure" | 5488 #line 5489 "configure" |
| 5474 #include "confdefs.h" | 5489 #include "confdefs.h" |
| 5475 /* Override any gcc2 internal prototype to avoid an error. */ | 5490 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5476 /* We use char because int might match the return type of a gcc2 | 5491 /* We use char because int might match the return type of a gcc2 |
| 5477 builtin and then its argument prototype would still apply. */ | 5492 builtin and then its argument prototype would still apply. */ |
| 5478 char XauGetAuthByAddr(); | 5493 char XauGetAuthByAddr(); |
| 5479 | 5494 |
| 5480 int main() { | 5495 int main() { |
| 5481 XauGetAuthByAddr() | 5496 XauGetAuthByAddr() |
| 5482 ; return 0; } | 5497 ; return 0; } |
| 5483 EOF | 5498 EOF |
| 5484 if { (eval echo configure:5485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5499 if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5485 rm -rf conftest* | 5500 rm -rf conftest* |
| 5486 eval "ac_cv_lib_$ac_lib_var=yes" | 5501 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5487 else | 5502 else |
| 5488 echo "configure: failed program was:" >&5 | 5503 echo "configure: failed program was:" >&5 |
| 5489 cat conftest.$ac_ext >&5 | 5504 cat conftest.$ac_ext >&5 |
| 5539 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5554 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5540 if test "$with_tooltalk" != "no" ; then | 5555 if test "$with_tooltalk" != "no" ; then |
| 5541 for dir in "" "Tt/" "desktop/" ; do | 5556 for dir in "" "Tt/" "desktop/" ; do |
| 5542 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5557 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5543 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5558 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5544 echo "configure:5545: checking for ${dir}tt_c.h" >&5 | 5559 echo "configure:5560: checking for ${dir}tt_c.h" >&5 |
| 5545 | 5560 |
| 5546 cat > conftest.$ac_ext <<EOF | 5561 cat > conftest.$ac_ext <<EOF |
| 5547 #line 5548 "configure" | 5562 #line 5563 "configure" |
| 5548 #include "confdefs.h" | 5563 #include "confdefs.h" |
| 5549 #include <${dir}tt_c.h> | 5564 #include <${dir}tt_c.h> |
| 5550 EOF | 5565 EOF |
| 5551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5552 { (eval echo configure:5553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5567 { (eval echo configure:5568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5553 ac_err=`grep -v '^ *+' conftest.out` | 5568 ac_err=`grep -v '^ *+' conftest.out` |
| 5554 if test -z "$ac_err"; then | 5569 if test -z "$ac_err"; then |
| 5555 rm -rf conftest* | 5570 rm -rf conftest* |
| 5556 eval "ac_cv_header_$ac_safe=yes" | 5571 eval "ac_cv_header_$ac_safe=yes" |
| 5557 else | 5572 else |
| 5576 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5591 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5577 | 5592 |
| 5578 xe_msg_checking="for tt_message_create in -ltt" | 5593 xe_msg_checking="for tt_message_create in -ltt" |
| 5579 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5594 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5580 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5595 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5581 echo "configure:5582: checking "$xe_msg_checking"" >&5 | 5596 echo "configure:5597: checking "$xe_msg_checking"" >&5 |
| 5582 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5597 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5583 | 5598 |
| 5584 xe_check_libs=" -ltt $extra_libs" | 5599 xe_check_libs=" -ltt $extra_libs" |
| 5585 cat > conftest.$ac_ext <<EOF | 5600 cat > conftest.$ac_ext <<EOF |
| 5586 #line 5587 "configure" | 5601 #line 5602 "configure" |
| 5587 #include "confdefs.h" | 5602 #include "confdefs.h" |
| 5588 /* Override any gcc2 internal prototype to avoid an error. */ | 5603 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5589 /* We use char because int might match the return type of a gcc2 | 5604 /* We use char because int might match the return type of a gcc2 |
| 5590 builtin and then its argument prototype would still apply. */ | 5605 builtin and then its argument prototype would still apply. */ |
| 5591 char tt_message_create(); | 5606 char tt_message_create(); |
| 5592 | 5607 |
| 5593 int main() { | 5608 int main() { |
| 5594 tt_message_create() | 5609 tt_message_create() |
| 5595 ; return 0; } | 5610 ; return 0; } |
| 5596 EOF | 5611 EOF |
| 5597 if { (eval echo configure:5598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5612 if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5598 rm -rf conftest* | 5613 rm -rf conftest* |
| 5599 eval "ac_cv_lib_$ac_lib_var=yes" | 5614 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5600 else | 5615 else |
| 5601 echo "configure: failed program was:" >&5 | 5616 echo "configure: failed program was:" >&5 |
| 5602 cat conftest.$ac_ext >&5 | 5617 cat conftest.$ac_ext >&5 |
| 5641 fi | 5656 fi |
| 5642 fi | 5657 fi |
| 5643 | 5658 |
| 5644 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5659 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5645 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5660 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5646 echo "configure:5647: checking for Dt/Dt.h" >&5 | 5661 echo "configure:5662: checking for Dt/Dt.h" >&5 |
| 5647 | 5662 |
| 5648 cat > conftest.$ac_ext <<EOF | 5663 cat > conftest.$ac_ext <<EOF |
| 5649 #line 5650 "configure" | 5664 #line 5665 "configure" |
| 5650 #include "confdefs.h" | 5665 #include "confdefs.h" |
| 5651 #include <Dt/Dt.h> | 5666 #include <Dt/Dt.h> |
| 5652 EOF | 5667 EOF |
| 5653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5654 { (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5669 { (eval echo configure:5670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5655 ac_err=`grep -v '^ *+' conftest.out` | 5670 ac_err=`grep -v '^ *+' conftest.out` |
| 5656 if test -z "$ac_err"; then | 5671 if test -z "$ac_err"; then |
| 5657 rm -rf conftest* | 5672 rm -rf conftest* |
| 5658 eval "ac_cv_header_$ac_safe=yes" | 5673 eval "ac_cv_header_$ac_safe=yes" |
| 5659 else | 5674 else |
| 5672 with_cde=no | 5687 with_cde=no |
| 5673 fi | 5688 fi |
| 5674 } | 5689 } |
| 5675 test -z "$with_cde" && { | 5690 test -z "$with_cde" && { |
| 5676 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5691 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5677 echo "configure:5678: checking for DtDndDragStart in -lDtSvc" >&5 | 5692 echo "configure:5693: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5678 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5693 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5679 | 5694 |
| 5680 xe_check_libs=" -lDtSvc " | 5695 xe_check_libs=" -lDtSvc " |
| 5681 cat > conftest.$ac_ext <<EOF | 5696 cat > conftest.$ac_ext <<EOF |
| 5682 #line 5683 "configure" | 5697 #line 5698 "configure" |
| 5683 #include "confdefs.h" | 5698 #include "confdefs.h" |
| 5684 /* Override any gcc2 internal prototype to avoid an error. */ | 5699 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5685 /* We use char because int might match the return type of a gcc2 | 5700 /* We use char because int might match the return type of a gcc2 |
| 5686 builtin and then its argument prototype would still apply. */ | 5701 builtin and then its argument prototype would still apply. */ |
| 5687 char DtDndDragStart(); | 5702 char DtDndDragStart(); |
| 5688 | 5703 |
| 5689 int main() { | 5704 int main() { |
| 5690 DtDndDragStart() | 5705 DtDndDragStart() |
| 5691 ; return 0; } | 5706 ; return 0; } |
| 5692 EOF | 5707 EOF |
| 5693 if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5694 rm -rf conftest* | 5709 rm -rf conftest* |
| 5695 eval "ac_cv_lib_$ac_lib_var=yes" | 5710 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5696 else | 5711 else |
| 5697 echo "configure: failed program was:" >&5 | 5712 echo "configure: failed program was:" >&5 |
| 5698 cat conftest.$ac_ext >&5 | 5713 cat conftest.$ac_ext >&5 |
| 5728 | 5743 |
| 5729 | 5744 |
| 5730 if test "$with_x11" = "yes"; then | 5745 if test "$with_x11" = "yes"; then |
| 5731 | 5746 |
| 5732 echo "checking for X11 graphics libraries" 1>&6 | 5747 echo "checking for X11 graphics libraries" 1>&6 |
| 5733 echo "configure:5734: checking for X11 graphics libraries" >&5 | 5748 echo "configure:5749: checking for X11 graphics libraries" >&5 |
| 5734 | 5749 |
| 5735 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5750 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 5736 echo "configure:5737: checking for Xpm - no older than 3.4f" >&5 | 5751 echo "configure:5752: checking for Xpm - no older than 3.4f" >&5 |
| 5737 xe_check_libs=-lXpm | 5752 xe_check_libs=-lXpm |
| 5738 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5753 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 5739 #line 5740 "configure" | 5754 #line 5755 "configure" |
| 5740 #include "confdefs.h" | 5755 #include "confdefs.h" |
| 5741 #include <X11/xpm.h> | 5756 #include <X11/xpm.h> |
| 5742 int main(int c, char **v) { | 5757 int main(int c, char **v) { |
| 5743 return c == 1 ? 0 : | 5758 return c == 1 ? 0 : |
| 5744 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5759 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 5745 XpmIncludeVersion < 30406 ? 2 : | 5760 XpmIncludeVersion < 30406 ? 2 : |
| 5746 0 ; | 5761 0 ; |
| 5747 } | 5762 } |
| 5748 EOF | 5763 EOF |
| 5749 if { (eval echo configure:5750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5750 then | 5765 then |
| 5751 ./conftest foobar; xpm_status=$?; | 5766 ./conftest foobar; xpm_status=$?; |
| 5752 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5767 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 5753 else | 5768 else |
| 5754 echo "configure: failed program was:" >&5 | 5769 echo "configure: failed program was:" >&5 |
| 5782 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5797 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 5783 fi | 5798 fi |
| 5784 | 5799 |
| 5785 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5800 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 5786 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5801 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 5787 echo "configure:5788: checking for compface.h" >&5 | 5802 echo "configure:5803: checking for compface.h" >&5 |
| 5788 | 5803 |
| 5789 cat > conftest.$ac_ext <<EOF | 5804 cat > conftest.$ac_ext <<EOF |
| 5790 #line 5791 "configure" | 5805 #line 5806 "configure" |
| 5791 #include "confdefs.h" | 5806 #include "confdefs.h" |
| 5792 #include <compface.h> | 5807 #include <compface.h> |
| 5793 EOF | 5808 EOF |
| 5794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5795 { (eval echo configure:5796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5796 ac_err=`grep -v '^ *+' conftest.out` | 5811 ac_err=`grep -v '^ *+' conftest.out` |
| 5797 if test -z "$ac_err"; then | 5812 if test -z "$ac_err"; then |
| 5798 rm -rf conftest* | 5813 rm -rf conftest* |
| 5799 eval "ac_cv_header_$ac_safe=yes" | 5814 eval "ac_cv_header_$ac_safe=yes" |
| 5800 else | 5815 else |
| 5813 with_xface=no | 5828 with_xface=no |
| 5814 fi | 5829 fi |
| 5815 } | 5830 } |
| 5816 test -z "$with_xface" && { | 5831 test -z "$with_xface" && { |
| 5817 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5832 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 5818 echo "configure:5819: checking for UnGenFace in -lcompface" >&5 | 5833 echo "configure:5834: checking for UnGenFace in -lcompface" >&5 |
| 5819 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5834 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 5820 | 5835 |
| 5821 xe_check_libs=" -lcompface " | 5836 xe_check_libs=" -lcompface " |
| 5822 cat > conftest.$ac_ext <<EOF | 5837 cat > conftest.$ac_ext <<EOF |
| 5823 #line 5824 "configure" | 5838 #line 5839 "configure" |
| 5824 #include "confdefs.h" | 5839 #include "confdefs.h" |
| 5825 /* Override any gcc2 internal prototype to avoid an error. */ | 5840 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5826 /* We use char because int might match the return type of a gcc2 | 5841 /* We use char because int might match the return type of a gcc2 |
| 5827 builtin and then its argument prototype would still apply. */ | 5842 builtin and then its argument prototype would still apply. */ |
| 5828 char UnGenFace(); | 5843 char UnGenFace(); |
| 5829 | 5844 |
| 5830 int main() { | 5845 int main() { |
| 5831 UnGenFace() | 5846 UnGenFace() |
| 5832 ; return 0; } | 5847 ; return 0; } |
| 5833 EOF | 5848 EOF |
| 5834 if { (eval echo configure:5835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5835 rm -rf conftest* | 5850 rm -rf conftest* |
| 5836 eval "ac_cv_lib_$ac_lib_var=yes" | 5851 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5837 else | 5852 else |
| 5838 echo "configure: failed program was:" >&5 | 5853 echo "configure: failed program was:" >&5 |
| 5839 cat conftest.$ac_ext >&5 | 5854 cat conftest.$ac_ext >&5 |
| 5865 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5880 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 5866 fi | 5881 fi |
| 5867 | 5882 |
| 5868 test "$with_imagick" != "no" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` | 5883 test "$with_imagick" != "no" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` |
| 5869 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 | 5884 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 |
| 5870 echo "configure:5871: checking for magick/magick.h" >&5 | 5885 echo "configure:5886: checking for magick/magick.h" >&5 |
| 5871 | 5886 |
| 5872 cat > conftest.$ac_ext <<EOF | 5887 cat > conftest.$ac_ext <<EOF |
| 5873 #line 5874 "configure" | 5888 #line 5889 "configure" |
| 5874 #include "confdefs.h" | 5889 #include "confdefs.h" |
| 5875 #include <magick/magick.h> | 5890 #include <magick/magick.h> |
| 5876 EOF | 5891 EOF |
| 5877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5878 { (eval echo configure:5879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5893 { (eval echo configure:5894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5879 ac_err=`grep -v '^ *+' conftest.out` | 5894 ac_err=`grep -v '^ *+' conftest.out` |
| 5880 if test -z "$ac_err"; then | 5895 if test -z "$ac_err"; then |
| 5881 rm -rf conftest* | 5896 rm -rf conftest* |
| 5882 eval "ac_cv_header_$ac_safe=yes" | 5897 eval "ac_cv_header_$ac_safe=yes" |
| 5883 else | 5898 else |
| 5893 : | 5908 : |
| 5894 else | 5909 else |
| 5895 echo "$ac_t""no" 1>&6 | 5910 echo "$ac_t""no" 1>&6 |
| 5896 ac_safe=`echo "X11/magick/magick.h" | sed 'y%./+-%__p_%'` | 5911 ac_safe=`echo "X11/magick/magick.h" | sed 'y%./+-%__p_%'` |
| 5897 echo $ac_n "checking for X11/magick/magick.h""... $ac_c" 1>&6 | 5912 echo $ac_n "checking for X11/magick/magick.h""... $ac_c" 1>&6 |
| 5898 echo "configure:5899: checking for X11/magick/magick.h" >&5 | 5913 echo "configure:5914: checking for X11/magick/magick.h" >&5 |
| 5899 | 5914 |
| 5900 cat > conftest.$ac_ext <<EOF | 5915 cat > conftest.$ac_ext <<EOF |
| 5901 #line 5902 "configure" | 5916 #line 5917 "configure" |
| 5902 #include "confdefs.h" | 5917 #include "confdefs.h" |
| 5903 #include <X11/magick/magick.h> | 5918 #include <X11/magick/magick.h> |
| 5904 EOF | 5919 EOF |
| 5905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5906 { (eval echo configure:5907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5921 { (eval echo configure:5922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5907 ac_err=`grep -v '^ *+' conftest.out` | 5922 ac_err=`grep -v '^ *+' conftest.out` |
| 5908 if test -z "$ac_err"; then | 5923 if test -z "$ac_err"; then |
| 5909 rm -rf conftest* | 5924 rm -rf conftest* |
| 5910 eval "ac_cv_header_$ac_safe=yes" | 5925 eval "ac_cv_header_$ac_safe=yes" |
| 5911 else | 5926 else |
| 5935 } | 5950 } |
| 5936 test "$with_imagick" != "no" && { | 5951 test "$with_imagick" != "no" && { |
| 5937 z_libs="" | 5952 z_libs="" |
| 5938 | 5953 |
| 5939 echo $ac_n "checking for inflateInit_ in -lz""... $ac_c" 1>&6 | 5954 echo $ac_n "checking for inflateInit_ in -lz""... $ac_c" 1>&6 |
| 5940 echo "configure:5941: checking for inflateInit_ in -lz" >&5 | 5955 echo "configure:5956: checking for inflateInit_ in -lz" >&5 |
| 5941 ac_lib_var=`echo z'_'inflateInit_ | sed 'y%./+-%__p_%'` | 5956 ac_lib_var=`echo z'_'inflateInit_ | sed 'y%./+-%__p_%'` |
| 5942 | 5957 |
| 5943 xe_check_libs=" -lz " | 5958 xe_check_libs=" -lz " |
| 5944 cat > conftest.$ac_ext <<EOF | 5959 cat > conftest.$ac_ext <<EOF |
| 5945 #line 5946 "configure" | 5960 #line 5961 "configure" |
| 5946 #include "confdefs.h" | 5961 #include "confdefs.h" |
| 5947 /* Override any gcc2 internal prototype to avoid an error. */ | 5962 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5948 /* We use char because int might match the return type of a gcc2 | 5963 /* We use char because int might match the return type of a gcc2 |
| 5949 builtin and then its argument prototype would still apply. */ | 5964 builtin and then its argument prototype would still apply. */ |
| 5950 char inflateInit_(); | 5965 char inflateInit_(); |
| 5951 | 5966 |
| 5952 int main() { | 5967 int main() { |
| 5953 inflateInit_() | 5968 inflateInit_() |
| 5954 ; return 0; } | 5969 ; return 0; } |
| 5955 EOF | 5970 EOF |
| 5956 if { (eval echo configure:5957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5971 if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5957 rm -rf conftest* | 5972 rm -rf conftest* |
| 5958 eval "ac_cv_lib_$ac_lib_var=yes" | 5973 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5959 else | 5974 else |
| 5960 echo "configure: failed program was:" >&5 | 5975 echo "configure: failed program was:" >&5 |
| 5961 cat conftest.$ac_ext >&5 | 5976 cat conftest.$ac_ext >&5 |
| 5969 echo "$ac_t""yes" 1>&6 | 5984 echo "$ac_t""yes" 1>&6 |
| 5970 z_libs="$z_libs -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lz\" to \$z_libs"; fi | 5985 z_libs="$z_libs -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lz\" to \$z_libs"; fi |
| 5971 else | 5986 else |
| 5972 echo "$ac_t""no" 1>&6 | 5987 echo "$ac_t""no" 1>&6 |
| 5973 echo $ac_n "checking for inflateInit_ in -lgz""... $ac_c" 1>&6 | 5988 echo $ac_n "checking for inflateInit_ in -lgz""... $ac_c" 1>&6 |
| 5974 echo "configure:5975: checking for inflateInit_ in -lgz" >&5 | 5989 echo "configure:5990: checking for inflateInit_ in -lgz" >&5 |
| 5975 ac_lib_var=`echo gz'_'inflateInit_ | sed 'y%./+-%__p_%'` | 5990 ac_lib_var=`echo gz'_'inflateInit_ | sed 'y%./+-%__p_%'` |
| 5976 | 5991 |
| 5977 xe_check_libs=" -lgz " | 5992 xe_check_libs=" -lgz " |
| 5978 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
| 5979 #line 5980 "configure" | 5994 #line 5995 "configure" |
| 5980 #include "confdefs.h" | 5995 #include "confdefs.h" |
| 5981 /* Override any gcc2 internal prototype to avoid an error. */ | 5996 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5982 /* We use char because int might match the return type of a gcc2 | 5997 /* We use char because int might match the return type of a gcc2 |
| 5983 builtin and then its argument prototype would still apply. */ | 5998 builtin and then its argument prototype would still apply. */ |
| 5984 char inflateInit_(); | 5999 char inflateInit_(); |
| 5985 | 6000 |
| 5986 int main() { | 6001 int main() { |
| 5987 inflateInit_() | 6002 inflateInit_() |
| 5988 ; return 0; } | 6003 ; return 0; } |
| 5989 EOF | 6004 EOF |
| 5990 if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5991 rm -rf conftest* | 6006 rm -rf conftest* |
| 5992 eval "ac_cv_lib_$ac_lib_var=yes" | 6007 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5993 else | 6008 else |
| 5994 echo "configure: failed program was:" >&5 | 6009 echo "configure: failed program was:" >&5 |
| 5995 cat conftest.$ac_ext >&5 | 6010 cat conftest.$ac_ext >&5 |
| 6012 | 6027 |
| 6013 | 6028 |
| 6014 imagick_libs="" | 6029 imagick_libs="" |
| 6015 | 6030 |
| 6016 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 | 6031 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 |
| 6017 echo "configure:6018: checking for XDPSPixelsPerPoint in -ldps" >&5 | 6032 echo "configure:6033: checking for XDPSPixelsPerPoint in -ldps" >&5 |
| 6018 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` | 6033 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` |
| 6019 | 6034 |
| 6020 xe_check_libs="-ldpstk -ldps " | 6035 xe_check_libs="-ldpstk -ldps " |
| 6021 cat > conftest.$ac_ext <<EOF | 6036 cat > conftest.$ac_ext <<EOF |
| 6022 #line 6023 "configure" | 6037 #line 6038 "configure" |
| 6023 #include "confdefs.h" | 6038 #include "confdefs.h" |
| 6024 /* Override any gcc2 internal prototype to avoid an error. */ | 6039 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6025 /* We use char because int might match the return type of a gcc2 | 6040 /* We use char because int might match the return type of a gcc2 |
| 6026 builtin and then its argument prototype would still apply. */ | 6041 builtin and then its argument prototype would still apply. */ |
| 6027 char XDPSPixelsPerPoint(); | 6042 char XDPSPixelsPerPoint(); |
| 6028 | 6043 |
| 6029 int main() { | 6044 int main() { |
| 6030 XDPSPixelsPerPoint() | 6045 XDPSPixelsPerPoint() |
| 6031 ; return 0; } | 6046 ; return 0; } |
| 6032 EOF | 6047 EOF |
| 6033 if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6048 if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6034 rm -rf conftest* | 6049 rm -rf conftest* |
| 6035 eval "ac_cv_lib_$ac_lib_var=yes" | 6050 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6036 else | 6051 else |
| 6037 echo "configure: failed program was:" >&5 | 6052 echo "configure: failed program was:" >&5 |
| 6038 cat conftest.$ac_ext >&5 | 6053 cat conftest.$ac_ext >&5 |
| 6050 fi | 6065 fi |
| 6051 | 6066 |
| 6052 | 6067 |
| 6053 | 6068 |
| 6054 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 | 6069 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 |
| 6055 echo "configure:6056: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 | 6070 echo "configure:6071: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 |
| 6056 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` | 6071 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` |
| 6057 | 6072 |
| 6058 xe_check_libs=" -lfpx " | 6073 xe_check_libs=" -lfpx " |
| 6059 cat > conftest.$ac_ext <<EOF | 6074 cat > conftest.$ac_ext <<EOF |
| 6060 #line 6061 "configure" | 6075 #line 6076 "configure" |
| 6061 #include "confdefs.h" | 6076 #include "confdefs.h" |
| 6062 /* Override any gcc2 internal prototype to avoid an error. */ | 6077 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6063 /* We use char because int might match the return type of a gcc2 | 6078 /* We use char because int might match the return type of a gcc2 |
| 6064 builtin and then its argument prototype would still apply. */ | 6079 builtin and then its argument prototype would still apply. */ |
| 6065 char FPX_SetToolkitMemoryLimit(); | 6080 char FPX_SetToolkitMemoryLimit(); |
| 6066 | 6081 |
| 6067 int main() { | 6082 int main() { |
| 6068 FPX_SetToolkitMemoryLimit() | 6083 FPX_SetToolkitMemoryLimit() |
| 6069 ; return 0; } | 6084 ; return 0; } |
| 6070 EOF | 6085 EOF |
| 6071 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6086 if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6072 rm -rf conftest* | 6087 rm -rf conftest* |
| 6073 eval "ac_cv_lib_$ac_lib_var=yes" | 6088 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6074 else | 6089 else |
| 6075 echo "configure: failed program was:" >&5 | 6090 echo "configure: failed program was:" >&5 |
| 6076 cat conftest.$ac_ext >&5 | 6091 cat conftest.$ac_ext >&5 |
| 6088 fi | 6103 fi |
| 6089 | 6104 |
| 6090 | 6105 |
| 6091 | 6106 |
| 6092 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 | 6107 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 |
| 6093 echo "configure:6094: checking for DF24getdims in -ldf" >&5 | 6108 echo "configure:6109: checking for DF24getdims in -ldf" >&5 |
| 6094 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` | 6109 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` |
| 6095 | 6110 |
| 6096 xe_check_libs=" -ldf " | 6111 xe_check_libs=" -ldf " |
| 6097 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
| 6098 #line 6099 "configure" | 6113 #line 6114 "configure" |
| 6099 #include "confdefs.h" | 6114 #include "confdefs.h" |
| 6100 /* Override any gcc2 internal prototype to avoid an error. */ | 6115 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6101 /* We use char because int might match the return type of a gcc2 | 6116 /* We use char because int might match the return type of a gcc2 |
| 6102 builtin and then its argument prototype would still apply. */ | 6117 builtin and then its argument prototype would still apply. */ |
| 6103 char DF24getdims(); | 6118 char DF24getdims(); |
| 6104 | 6119 |
| 6105 int main() { | 6120 int main() { |
| 6106 DF24getdims() | 6121 DF24getdims() |
| 6107 ; return 0; } | 6122 ; return 0; } |
| 6108 EOF | 6123 EOF |
| 6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6110 rm -rf conftest* | 6125 rm -rf conftest* |
| 6111 eval "ac_cv_lib_$ac_lib_var=yes" | 6126 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6112 else | 6127 else |
| 6113 echo "configure: failed program was:" >&5 | 6128 echo "configure: failed program was:" >&5 |
| 6114 cat conftest.$ac_ext >&5 | 6129 cat conftest.$ac_ext >&5 |
| 6126 fi | 6141 fi |
| 6127 | 6142 |
| 6128 | 6143 |
| 6129 | 6144 |
| 6130 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 | 6145 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 |
| 6131 echo "configure:6132: checking for jbg_dec_init in -ljbig" >&5 | 6146 echo "configure:6147: checking for jbg_dec_init in -ljbig" >&5 |
| 6132 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` | 6147 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` |
| 6133 | 6148 |
| 6134 xe_check_libs=" -ljbig " | 6149 xe_check_libs=" -ljbig " |
| 6135 cat > conftest.$ac_ext <<EOF | 6150 cat > conftest.$ac_ext <<EOF |
| 6136 #line 6137 "configure" | 6151 #line 6152 "configure" |
| 6137 #include "confdefs.h" | 6152 #include "confdefs.h" |
| 6138 /* Override any gcc2 internal prototype to avoid an error. */ | 6153 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6139 /* We use char because int might match the return type of a gcc2 | 6154 /* We use char because int might match the return type of a gcc2 |
| 6140 builtin and then its argument prototype would still apply. */ | 6155 builtin and then its argument prototype would still apply. */ |
| 6141 char jbg_dec_init(); | 6156 char jbg_dec_init(); |
| 6142 | 6157 |
| 6143 int main() { | 6158 int main() { |
| 6144 jbg_dec_init() | 6159 jbg_dec_init() |
| 6145 ; return 0; } | 6160 ; return 0; } |
| 6146 EOF | 6161 EOF |
| 6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6162 if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6148 rm -rf conftest* | 6163 rm -rf conftest* |
| 6149 eval "ac_cv_lib_$ac_lib_var=yes" | 6164 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6150 else | 6165 else |
| 6151 echo "configure: failed program was:" >&5 | 6166 echo "configure: failed program was:" >&5 |
| 6152 cat conftest.$ac_ext >&5 | 6167 cat conftest.$ac_ext >&5 |
| 6164 fi | 6179 fi |
| 6165 | 6180 |
| 6166 | 6181 |
| 6167 | 6182 |
| 6168 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 | 6183 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 |
| 6169 echo "configure:6170: checking for jpeg_read_header in -ljpeg" >&5 | 6184 echo "configure:6185: checking for jpeg_read_header in -ljpeg" >&5 |
| 6170 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` | 6185 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` |
| 6171 | 6186 |
| 6172 xe_check_libs=" -ljpeg " | 6187 xe_check_libs=" -ljpeg " |
| 6173 cat > conftest.$ac_ext <<EOF | 6188 cat > conftest.$ac_ext <<EOF |
| 6174 #line 6175 "configure" | 6189 #line 6190 "configure" |
| 6175 #include "confdefs.h" | 6190 #include "confdefs.h" |
| 6176 /* Override any gcc2 internal prototype to avoid an error. */ | 6191 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6177 /* We use char because int might match the return type of a gcc2 | 6192 /* We use char because int might match the return type of a gcc2 |
| 6178 builtin and then its argument prototype would still apply. */ | 6193 builtin and then its argument prototype would still apply. */ |
| 6179 char jpeg_read_header(); | 6194 char jpeg_read_header(); |
| 6180 | 6195 |
| 6181 int main() { | 6196 int main() { |
| 6182 jpeg_read_header() | 6197 jpeg_read_header() |
| 6183 ; return 0; } | 6198 ; return 0; } |
| 6184 EOF | 6199 EOF |
| 6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6186 rm -rf conftest* | 6201 rm -rf conftest* |
| 6187 eval "ac_cv_lib_$ac_lib_var=yes" | 6202 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6188 else | 6203 else |
| 6189 echo "configure: failed program was:" >&5 | 6204 echo "configure: failed program was:" >&5 |
| 6190 cat conftest.$ac_ext >&5 | 6205 cat conftest.$ac_ext >&5 |
| 6202 fi | 6217 fi |
| 6203 | 6218 |
| 6204 | 6219 |
| 6205 | 6220 |
| 6206 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 | 6221 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 |
| 6207 echo "configure:6208: checking for OpenMPEG in -lmpeg" >&5 | 6222 echo "configure:6223: checking for OpenMPEG in -lmpeg" >&5 |
| 6208 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` | 6223 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` |
| 6209 | 6224 |
| 6210 xe_check_libs=" -lmpeg " | 6225 xe_check_libs=" -lmpeg " |
| 6211 cat > conftest.$ac_ext <<EOF | 6226 cat > conftest.$ac_ext <<EOF |
| 6212 #line 6213 "configure" | 6227 #line 6228 "configure" |
| 6213 #include "confdefs.h" | 6228 #include "confdefs.h" |
| 6214 /* Override any gcc2 internal prototype to avoid an error. */ | 6229 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6215 /* We use char because int might match the return type of a gcc2 | 6230 /* We use char because int might match the return type of a gcc2 |
| 6216 builtin and then its argument prototype would still apply. */ | 6231 builtin and then its argument prototype would still apply. */ |
| 6217 char OpenMPEG(); | 6232 char OpenMPEG(); |
| 6218 | 6233 |
| 6219 int main() { | 6234 int main() { |
| 6220 OpenMPEG() | 6235 OpenMPEG() |
| 6221 ; return 0; } | 6236 ; return 0; } |
| 6222 EOF | 6237 EOF |
| 6223 if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6224 rm -rf conftest* | 6239 rm -rf conftest* |
| 6225 eval "ac_cv_lib_$ac_lib_var=yes" | 6240 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6226 else | 6241 else |
| 6227 echo "configure: failed program was:" >&5 | 6242 echo "configure: failed program was:" >&5 |
| 6228 cat conftest.$ac_ext >&5 | 6243 cat conftest.$ac_ext >&5 |
| 6240 fi | 6255 fi |
| 6241 | 6256 |
| 6242 | 6257 |
| 6243 | 6258 |
| 6244 echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6 | 6259 echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6 |
| 6245 echo "configure:6246: checking for TT_Init_FreeType in -lttf" >&5 | 6260 echo "configure:6261: checking for TT_Init_FreeType in -lttf" >&5 |
| 6246 ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'` | 6261 ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'` |
| 6247 | 6262 |
| 6248 xe_check_libs=" -lttf " | 6263 xe_check_libs=" -lttf " |
| 6249 cat > conftest.$ac_ext <<EOF | 6264 cat > conftest.$ac_ext <<EOF |
| 6250 #line 6251 "configure" | 6265 #line 6266 "configure" |
| 6251 #include "confdefs.h" | 6266 #include "confdefs.h" |
| 6252 /* Override any gcc2 internal prototype to avoid an error. */ | 6267 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6253 /* We use char because int might match the return type of a gcc2 | 6268 /* We use char because int might match the return type of a gcc2 |
| 6254 builtin and then its argument prototype would still apply. */ | 6269 builtin and then its argument prototype would still apply. */ |
| 6255 char TT_Init_FreeType(); | 6270 char TT_Init_FreeType(); |
| 6256 | 6271 |
| 6257 int main() { | 6272 int main() { |
| 6258 TT_Init_FreeType() | 6273 TT_Init_FreeType() |
| 6259 ; return 0; } | 6274 ; return 0; } |
| 6260 EOF | 6275 EOF |
| 6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6276 if { (eval echo configure:6277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6262 rm -rf conftest* | 6277 rm -rf conftest* |
| 6263 eval "ac_cv_lib_$ac_lib_var=yes" | 6278 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6264 else | 6279 else |
| 6265 echo "configure: failed program was:" >&5 | 6280 echo "configure: failed program was:" >&5 |
| 6266 cat conftest.$ac_ext >&5 | 6281 cat conftest.$ac_ext >&5 |
| 6280 | 6295 |
| 6281 | 6296 |
| 6282 xe_msg_checking="for png_create_read_struct in -lpng" | 6297 xe_msg_checking="for png_create_read_struct in -lpng" |
| 6283 test -n "$z_libs" && xe_msg_checking="$xe_msg_checking using extra libs $z_libs" | 6298 test -n "$z_libs" && xe_msg_checking="$xe_msg_checking using extra libs $z_libs" |
| 6284 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6299 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6285 echo "configure:6286: checking "$xe_msg_checking"" >&5 | 6300 echo "configure:6301: checking "$xe_msg_checking"" >&5 |
| 6286 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | 6301 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` |
| 6287 | 6302 |
| 6288 xe_check_libs=" -lpng $z_libs" | 6303 xe_check_libs=" -lpng $z_libs" |
| 6289 cat > conftest.$ac_ext <<EOF | 6304 cat > conftest.$ac_ext <<EOF |
| 6290 #line 6291 "configure" | 6305 #line 6306 "configure" |
| 6291 #include "confdefs.h" | 6306 #include "confdefs.h" |
| 6292 /* Override any gcc2 internal prototype to avoid an error. */ | 6307 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6293 /* We use char because int might match the return type of a gcc2 | 6308 /* We use char because int might match the return type of a gcc2 |
| 6294 builtin and then its argument prototype would still apply. */ | 6309 builtin and then its argument prototype would still apply. */ |
| 6295 char png_create_read_struct(); | 6310 char png_create_read_struct(); |
| 6296 | 6311 |
| 6297 int main() { | 6312 int main() { |
| 6298 png_create_read_struct() | 6313 png_create_read_struct() |
| 6299 ; return 0; } | 6314 ; return 0; } |
| 6300 EOF | 6315 EOF |
| 6301 if { (eval echo configure:6302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6316 if { (eval echo configure:6317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6302 rm -rf conftest* | 6317 rm -rf conftest* |
| 6303 eval "ac_cv_lib_$ac_lib_var=yes" | 6318 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6304 else | 6319 else |
| 6305 echo "configure: failed program was:" >&5 | 6320 echo "configure: failed program was:" >&5 |
| 6306 cat conftest.$ac_ext >&5 | 6321 cat conftest.$ac_ext >&5 |
| 6318 fi | 6333 fi |
| 6319 | 6334 |
| 6320 | 6335 |
| 6321 | 6336 |
| 6322 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 | 6337 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 |
| 6323 echo "configure:6324: checking for TIFFOpen in -ltiff" >&5 | 6338 echo "configure:6339: checking for TIFFOpen in -ltiff" >&5 |
| 6324 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | 6339 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` |
| 6325 | 6340 |
| 6326 xe_check_libs="$z_libs -ltiff " | 6341 xe_check_libs="$z_libs -ltiff " |
| 6327 cat > conftest.$ac_ext <<EOF | 6342 cat > conftest.$ac_ext <<EOF |
| 6328 #line 6329 "configure" | 6343 #line 6344 "configure" |
| 6329 #include "confdefs.h" | 6344 #include "confdefs.h" |
| 6330 /* Override any gcc2 internal prototype to avoid an error. */ | 6345 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6331 /* We use char because int might match the return type of a gcc2 | 6346 /* We use char because int might match the return type of a gcc2 |
| 6332 builtin and then its argument prototype would still apply. */ | 6347 builtin and then its argument prototype would still apply. */ |
| 6333 char TIFFOpen(); | 6348 char TIFFOpen(); |
| 6334 | 6349 |
| 6335 int main() { | 6350 int main() { |
| 6336 TIFFOpen() | 6351 TIFFOpen() |
| 6337 ; return 0; } | 6352 ; return 0; } |
| 6338 EOF | 6353 EOF |
| 6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6354 if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6340 rm -rf conftest* | 6355 rm -rf conftest* |
| 6341 eval "ac_cv_lib_$ac_lib_var=yes" | 6356 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6342 else | 6357 else |
| 6343 echo "configure: failed program was:" >&5 | 6358 echo "configure: failed program was:" >&5 |
| 6344 cat conftest.$ac_ext >&5 | 6359 cat conftest.$ac_ext >&5 |
| 6354 else | 6369 else |
| 6355 echo "$ac_t""no" 1>&6 | 6370 echo "$ac_t""no" 1>&6 |
| 6356 xe_msg_checking="for TIFFOpen in -ltiff" | 6371 xe_msg_checking="for TIFFOpen in -ltiff" |
| 6357 test -n "-ljpeg $z_libs" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg $z_libs" | 6372 test -n "-ljpeg $z_libs" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg $z_libs" |
| 6358 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6373 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6359 echo "configure:6360: checking "$xe_msg_checking"" >&5 | 6374 echo "configure:6375: checking "$xe_msg_checking"" >&5 |
| 6360 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | 6375 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` |
| 6361 | 6376 |
| 6362 xe_check_libs=" -ltiff -ljpeg $z_libs" | 6377 xe_check_libs=" -ltiff -ljpeg $z_libs" |
| 6363 cat > conftest.$ac_ext <<EOF | 6378 cat > conftest.$ac_ext <<EOF |
| 6364 #line 6365 "configure" | 6379 #line 6380 "configure" |
| 6365 #include "confdefs.h" | 6380 #include "confdefs.h" |
| 6366 /* Override any gcc2 internal prototype to avoid an error. */ | 6381 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6367 /* We use char because int might match the return type of a gcc2 | 6382 /* We use char because int might match the return type of a gcc2 |
| 6368 builtin and then its argument prototype would still apply. */ | 6383 builtin and then its argument prototype would still apply. */ |
| 6369 char TIFFOpen(); | 6384 char TIFFOpen(); |
| 6370 | 6385 |
| 6371 int main() { | 6386 int main() { |
| 6372 TIFFOpen() | 6387 TIFFOpen() |
| 6373 ; return 0; } | 6388 ; return 0; } |
| 6374 EOF | 6389 EOF |
| 6375 if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6390 if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6376 rm -rf conftest* | 6391 rm -rf conftest* |
| 6377 eval "ac_cv_lib_$ac_lib_var=yes" | 6392 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6378 else | 6393 else |
| 6379 echo "configure: failed program was:" >&5 | 6394 echo "configure: failed program was:" >&5 |
| 6380 cat conftest.$ac_ext >&5 | 6395 cat conftest.$ac_ext >&5 |
| 6398 imagick_libs="$imagick_libs $z_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$z_libs\" to \$imagick_libs"; fi | 6413 imagick_libs="$imagick_libs $z_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$z_libs\" to \$imagick_libs"; fi |
| 6399 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi | 6414 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi |
| 6400 } | 6415 } |
| 6401 test -z "$with_imagick" && { | 6416 test -z "$with_imagick" && { |
| 6402 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | 6417 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
| 6403 echo "configure:6404: checking for MogrifyImage in -lMagick" >&5 | 6418 echo "configure:6419: checking for MogrifyImage in -lMagick" >&5 |
| 6404 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | 6419 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
| 6405 | 6420 |
| 6406 xe_check_libs=" -lMagick " | 6421 xe_check_libs=" -lMagick " |
| 6407 cat > conftest.$ac_ext <<EOF | 6422 cat > conftest.$ac_ext <<EOF |
| 6408 #line 6409 "configure" | 6423 #line 6424 "configure" |
| 6409 #include "confdefs.h" | 6424 #include "confdefs.h" |
| 6410 /* Override any gcc2 internal prototype to avoid an error. */ | 6425 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6411 /* We use char because int might match the return type of a gcc2 | 6426 /* We use char because int might match the return type of a gcc2 |
| 6412 builtin and then its argument prototype would still apply. */ | 6427 builtin and then its argument prototype would still apply. */ |
| 6413 char MogrifyImage(); | 6428 char MogrifyImage(); |
| 6414 | 6429 |
| 6415 int main() { | 6430 int main() { |
| 6416 MogrifyImage() | 6431 MogrifyImage() |
| 6417 ; return 0; } | 6432 ; return 0; } |
| 6418 EOF | 6433 EOF |
| 6419 if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6420 rm -rf conftest* | 6435 rm -rf conftest* |
| 6421 eval "ac_cv_lib_$ac_lib_var=yes" | 6436 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6422 else | 6437 else |
| 6423 echo "configure: failed program was:" >&5 | 6438 echo "configure: failed program was:" >&5 |
| 6424 cat conftest.$ac_ext >&5 | 6439 cat conftest.$ac_ext >&5 |
| 6450 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | 6465 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
| 6451 fi | 6466 fi |
| 6452 | 6467 |
| 6453 | 6468 |
| 6454 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6469 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 6455 echo "configure:6456: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6470 echo "configure:6471: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 6456 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6471 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 6457 | 6472 |
| 6458 xe_check_libs=" -lXaw " | 6473 xe_check_libs=" -lXaw " |
| 6459 cat > conftest.$ac_ext <<EOF | 6474 cat > conftest.$ac_ext <<EOF |
| 6460 #line 6461 "configure" | 6475 #line 6476 "configure" |
| 6461 #include "confdefs.h" | 6476 #include "confdefs.h" |
| 6462 /* Override any gcc2 internal prototype to avoid an error. */ | 6477 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6463 /* We use char because int might match the return type of a gcc2 | 6478 /* We use char because int might match the return type of a gcc2 |
| 6464 builtin and then its argument prototype would still apply. */ | 6479 builtin and then its argument prototype would still apply. */ |
| 6465 char XawScrollbarSetThumb(); | 6480 char XawScrollbarSetThumb(); |
| 6466 | 6481 |
| 6467 int main() { | 6482 int main() { |
| 6468 XawScrollbarSetThumb() | 6483 XawScrollbarSetThumb() |
| 6469 ; return 0; } | 6484 ; return 0; } |
| 6470 EOF | 6485 EOF |
| 6471 if { (eval echo configure:6472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6486 if { (eval echo configure:6487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6472 rm -rf conftest* | 6487 rm -rf conftest* |
| 6473 eval "ac_cv_lib_$ac_lib_var=yes" | 6488 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6474 else | 6489 else |
| 6475 echo "configure: failed program was:" >&5 | 6490 echo "configure: failed program was:" >&5 |
| 6476 cat conftest.$ac_ext >&5 | 6491 cat conftest.$ac_ext >&5 |
| 6490 | 6505 |
| 6491 | 6506 |
| 6492 | 6507 |
| 6493 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6508 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6494 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6509 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6495 echo "configure:6496: checking for Xm/Xm.h" >&5 | 6510 echo "configure:6511: checking for Xm/Xm.h" >&5 |
| 6496 | 6511 |
| 6497 cat > conftest.$ac_ext <<EOF | 6512 cat > conftest.$ac_ext <<EOF |
| 6498 #line 6499 "configure" | 6513 #line 6514 "configure" |
| 6499 #include "confdefs.h" | 6514 #include "confdefs.h" |
| 6500 #include <Xm/Xm.h> | 6515 #include <Xm/Xm.h> |
| 6501 EOF | 6516 EOF |
| 6502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6503 { (eval echo configure:6504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6518 { (eval echo configure:6519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6504 ac_err=`grep -v '^ *+' conftest.out` | 6519 ac_err=`grep -v '^ *+' conftest.out` |
| 6505 if test -z "$ac_err"; then | 6520 if test -z "$ac_err"; then |
| 6506 rm -rf conftest* | 6521 rm -rf conftest* |
| 6507 eval "ac_cv_header_$ac_safe=yes" | 6522 eval "ac_cv_header_$ac_safe=yes" |
| 6508 else | 6523 else |
| 6515 rm -f conftest* | 6530 rm -f conftest* |
| 6516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6531 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6517 echo "$ac_t""yes" 1>&6 | 6532 echo "$ac_t""yes" 1>&6 |
| 6518 | 6533 |
| 6519 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6534 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6520 echo "configure:6521: checking for XmStringFree in -lXm" >&5 | 6535 echo "configure:6536: checking for XmStringFree in -lXm" >&5 |
| 6521 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6536 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6522 | 6537 |
| 6523 xe_check_libs=" -lXm " | 6538 xe_check_libs=" -lXm " |
| 6524 cat > conftest.$ac_ext <<EOF | 6539 cat > conftest.$ac_ext <<EOF |
| 6525 #line 6526 "configure" | 6540 #line 6541 "configure" |
| 6526 #include "confdefs.h" | 6541 #include "confdefs.h" |
| 6527 /* Override any gcc2 internal prototype to avoid an error. */ | 6542 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6528 /* We use char because int might match the return type of a gcc2 | 6543 /* We use char because int might match the return type of a gcc2 |
| 6529 builtin and then its argument prototype would still apply. */ | 6544 builtin and then its argument prototype would still apply. */ |
| 6530 char XmStringFree(); | 6545 char XmStringFree(); |
| 6531 | 6546 |
| 6532 int main() { | 6547 int main() { |
| 6533 XmStringFree() | 6548 XmStringFree() |
| 6534 ; return 0; } | 6549 ; return 0; } |
| 6535 EOF | 6550 EOF |
| 6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6551 if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6537 rm -rf conftest* | 6552 rm -rf conftest* |
| 6538 eval "ac_cv_lib_$ac_lib_var=yes" | 6553 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6539 else | 6554 else |
| 6540 echo "configure: failed program was:" >&5 | 6555 echo "configure: failed program was:" >&5 |
| 6541 cat conftest.$ac_ext >&5 | 6556 cat conftest.$ac_ext >&5 |
| 6788 test -z "$with_mule" && with_mule=no | 6803 test -z "$with_mule" && with_mule=no |
| 6789 | 6804 |
| 6790 | 6805 |
| 6791 if test "$with_mule" = "yes" ; then | 6806 if test "$with_mule" = "yes" ; then |
| 6792 echo "checking for Mule-related features" 1>&6 | 6807 echo "checking for Mule-related features" 1>&6 |
| 6793 echo "configure:6794: checking for Mule-related features" >&5 | 6808 echo "configure:6809: checking for Mule-related features" >&5 |
| 6794 { test "$extra_verbose" = "yes" && cat << \EOF | 6809 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6795 Defining MULE | 6810 Defining MULE |
| 6796 EOF | 6811 EOF |
| 6797 cat >> confdefs.h <<\EOF | 6812 cat >> confdefs.h <<\EOF |
| 6798 #define MULE 1 | 6813 #define MULE 1 |
| 6805 | 6820 |
| 6806 for ac_hdr in libintl.h | 6821 for ac_hdr in libintl.h |
| 6807 do | 6822 do |
| 6808 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6823 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6809 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6810 echo "configure:6811: checking for $ac_hdr" >&5 | 6825 echo "configure:6826: checking for $ac_hdr" >&5 |
| 6811 | 6826 |
| 6812 cat > conftest.$ac_ext <<EOF | 6827 cat > conftest.$ac_ext <<EOF |
| 6813 #line 6814 "configure" | 6828 #line 6829 "configure" |
| 6814 #include "confdefs.h" | 6829 #include "confdefs.h" |
| 6815 #include <$ac_hdr> | 6830 #include <$ac_hdr> |
| 6816 EOF | 6831 EOF |
| 6817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6818 { (eval echo configure:6819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6833 { (eval echo configure:6834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6819 ac_err=`grep -v '^ *+' conftest.out` | 6834 ac_err=`grep -v '^ *+' conftest.out` |
| 6820 if test -z "$ac_err"; then | 6835 if test -z "$ac_err"; then |
| 6821 rm -rf conftest* | 6836 rm -rf conftest* |
| 6822 eval "ac_cv_header_$ac_safe=yes" | 6837 eval "ac_cv_header_$ac_safe=yes" |
| 6823 else | 6838 else |
| 6844 fi | 6859 fi |
| 6845 done | 6860 done |
| 6846 | 6861 |
| 6847 | 6862 |
| 6848 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6863 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6849 echo "configure:6850: checking for strerror in -lintl" >&5 | 6864 echo "configure:6865: checking for strerror in -lintl" >&5 |
| 6850 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6865 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6851 | 6866 |
| 6852 xe_check_libs=" -lintl " | 6867 xe_check_libs=" -lintl " |
| 6853 cat > conftest.$ac_ext <<EOF | 6868 cat > conftest.$ac_ext <<EOF |
| 6854 #line 6855 "configure" | 6869 #line 6870 "configure" |
| 6855 #include "confdefs.h" | 6870 #include "confdefs.h" |
| 6856 /* Override any gcc2 internal prototype to avoid an error. */ | 6871 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6857 /* We use char because int might match the return type of a gcc2 | 6872 /* We use char because int might match the return type of a gcc2 |
| 6858 builtin and then its argument prototype would still apply. */ | 6873 builtin and then its argument prototype would still apply. */ |
| 6859 char strerror(); | 6874 char strerror(); |
| 6860 | 6875 |
| 6861 int main() { | 6876 int main() { |
| 6862 strerror() | 6877 strerror() |
| 6863 ; return 0; } | 6878 ; return 0; } |
| 6864 EOF | 6879 EOF |
| 6865 if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6866 rm -rf conftest* | 6881 rm -rf conftest* |
| 6867 eval "ac_cv_lib_$ac_lib_var=yes" | 6882 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6868 else | 6883 else |
| 6869 echo "configure: failed program was:" >&5 | 6884 echo "configure: failed program was:" >&5 |
| 6870 cat conftest.$ac_ext >&5 | 6885 cat conftest.$ac_ext >&5 |
| 6893 fi | 6908 fi |
| 6894 | 6909 |
| 6895 | 6910 |
| 6896 | 6911 |
| 6897 echo "checking for Mule input methods" 1>&6 | 6912 echo "checking for Mule input methods" 1>&6 |
| 6898 echo "configure:6899: checking for Mule input methods" >&5 | 6913 echo "configure:6914: checking for Mule input methods" >&5 |
| 6899 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6914 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6900 case "$with_xim" in "" | "yes" ) | 6915 case "$with_xim" in "" | "yes" ) |
| 6901 echo "checking for XIM" 1>&6 | 6916 echo "checking for XIM" 1>&6 |
| 6902 echo "configure:6903: checking for XIM" >&5 | 6917 echo "configure:6918: checking for XIM" >&5 |
| 6903 | 6918 |
| 6904 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6919 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6905 echo "configure:6906: checking for XmImMbLookupString in -lXm" >&5 | 6920 echo "configure:6921: checking for XmImMbLookupString in -lXm" >&5 |
| 6906 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6921 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6907 | 6922 |
| 6908 xe_check_libs=" -lXm " | 6923 xe_check_libs=" -lXm " |
| 6909 cat > conftest.$ac_ext <<EOF | 6924 cat > conftest.$ac_ext <<EOF |
| 6910 #line 6911 "configure" | 6925 #line 6926 "configure" |
| 6911 #include "confdefs.h" | 6926 #include "confdefs.h" |
| 6912 /* Override any gcc2 internal prototype to avoid an error. */ | 6927 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6913 /* We use char because int might match the return type of a gcc2 | 6928 /* We use char because int might match the return type of a gcc2 |
| 6914 builtin and then its argument prototype would still apply. */ | 6929 builtin and then its argument prototype would still apply. */ |
| 6915 char XmImMbLookupString(); | 6930 char XmImMbLookupString(); |
| 6916 | 6931 |
| 6917 int main() { | 6932 int main() { |
| 6918 XmImMbLookupString() | 6933 XmImMbLookupString() |
| 6919 ; return 0; } | 6934 ; return 0; } |
| 6920 EOF | 6935 EOF |
| 6921 if { (eval echo configure:6922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6936 if { (eval echo configure:6937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6922 rm -rf conftest* | 6937 rm -rf conftest* |
| 6923 eval "ac_cv_lib_$ac_lib_var=yes" | 6938 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6924 else | 6939 else |
| 6925 echo "configure: failed program was:" >&5 | 6940 echo "configure: failed program was:" >&5 |
| 6926 cat conftest.$ac_ext >&5 | 6941 cat conftest.$ac_ext >&5 |
| 6981 fi | 6996 fi |
| 6982 fi | 6997 fi |
| 6983 | 6998 |
| 6984 if test "$with_xfs" = "yes" ; then | 6999 if test "$with_xfs" = "yes" ; then |
| 6985 echo "checking for XFontSet" 1>&6 | 7000 echo "checking for XFontSet" 1>&6 |
| 6986 echo "configure:6987: checking for XFontSet" >&5 | 7001 echo "configure:7002: checking for XFontSet" >&5 |
| 6987 | 7002 |
| 6988 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7003 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 6989 echo "configure:6990: checking for XmbDrawString in -lX11" >&5 | 7004 echo "configure:7005: checking for XmbDrawString in -lX11" >&5 |
| 6990 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7005 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 6991 | 7006 |
| 6992 xe_check_libs=" -lX11 " | 7007 xe_check_libs=" -lX11 " |
| 6993 cat > conftest.$ac_ext <<EOF | 7008 cat > conftest.$ac_ext <<EOF |
| 6994 #line 6995 "configure" | 7009 #line 7010 "configure" |
| 6995 #include "confdefs.h" | 7010 #include "confdefs.h" |
| 6996 /* Override any gcc2 internal prototype to avoid an error. */ | 7011 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6997 /* We use char because int might match the return type of a gcc2 | 7012 /* We use char because int might match the return type of a gcc2 |
| 6998 builtin and then its argument prototype would still apply. */ | 7013 builtin and then its argument prototype would still apply. */ |
| 6999 char XmbDrawString(); | 7014 char XmbDrawString(); |
| 7000 | 7015 |
| 7001 int main() { | 7016 int main() { |
| 7002 XmbDrawString() | 7017 XmbDrawString() |
| 7003 ; return 0; } | 7018 ; return 0; } |
| 7004 EOF | 7019 EOF |
| 7005 if { (eval echo configure:7006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7020 if { (eval echo configure:7021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7006 rm -rf conftest* | 7021 rm -rf conftest* |
| 7007 eval "ac_cv_lib_$ac_lib_var=yes" | 7022 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7008 else | 7023 else |
| 7009 echo "configure: failed program was:" >&5 | 7024 echo "configure: failed program was:" >&5 |
| 7010 cat conftest.$ac_ext >&5 | 7025 cat conftest.$ac_ext >&5 |
| 7040 fi | 7055 fi |
| 7041 fi | 7056 fi |
| 7042 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7057 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7043 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7058 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7044 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7059 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7045 echo "configure:7046: checking for wnn/jllib.h" >&5 | 7060 echo "configure:7061: checking for wnn/jllib.h" >&5 |
| 7046 | 7061 |
| 7047 cat > conftest.$ac_ext <<EOF | 7062 cat > conftest.$ac_ext <<EOF |
| 7048 #line 7049 "configure" | 7063 #line 7064 "configure" |
| 7049 #include "confdefs.h" | 7064 #include "confdefs.h" |
| 7050 #include <wnn/jllib.h> | 7065 #include <wnn/jllib.h> |
| 7051 EOF | 7066 EOF |
| 7052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7053 { (eval echo configure:7054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7068 { (eval echo configure:7069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7054 ac_err=`grep -v '^ *+' conftest.out` | 7069 ac_err=`grep -v '^ *+' conftest.out` |
| 7055 if test -z "$ac_err"; then | 7070 if test -z "$ac_err"; then |
| 7056 rm -rf conftest* | 7071 rm -rf conftest* |
| 7057 eval "ac_cv_header_$ac_safe=yes" | 7072 eval "ac_cv_header_$ac_safe=yes" |
| 7058 else | 7073 else |
| 7073 } | 7088 } |
| 7074 if test "$with_wnn" != "no"; then | 7089 if test "$with_wnn" != "no"; then |
| 7075 for ac_func in crypt | 7090 for ac_func in crypt |
| 7076 do | 7091 do |
| 7077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7078 echo "configure:7079: checking for $ac_func" >&5 | 7093 echo "configure:7094: checking for $ac_func" >&5 |
| 7079 | 7094 |
| 7080 cat > conftest.$ac_ext <<EOF | 7095 cat > conftest.$ac_ext <<EOF |
| 7081 #line 7082 "configure" | 7096 #line 7097 "configure" |
| 7082 #include "confdefs.h" | 7097 #include "confdefs.h" |
| 7083 /* System header to define __stub macros and hopefully few prototypes, | 7098 /* System header to define __stub macros and hopefully few prototypes, |
| 7084 which can conflict with char $ac_func(); below. */ | 7099 which can conflict with char $ac_func(); below. */ |
| 7085 #include <assert.h> | 7100 #include <assert.h> |
| 7086 /* Override any gcc2 internal prototype to avoid an error. */ | 7101 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7099 $ac_func(); | 7114 $ac_func(); |
| 7100 #endif | 7115 #endif |
| 7101 | 7116 |
| 7102 ; return 0; } | 7117 ; return 0; } |
| 7103 EOF | 7118 EOF |
| 7104 if { (eval echo configure:7105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7105 rm -rf conftest* | 7120 rm -rf conftest* |
| 7106 eval "ac_cv_func_$ac_func=yes" | 7121 eval "ac_cv_func_$ac_func=yes" |
| 7107 else | 7122 else |
| 7108 echo "configure: failed program was:" >&5 | 7123 echo "configure: failed program was:" >&5 |
| 7109 cat conftest.$ac_ext >&5 | 7124 cat conftest.$ac_ext >&5 |
| 7128 fi | 7143 fi |
| 7129 done | 7144 done |
| 7130 | 7145 |
| 7131 test "$ac_cv_func_crypt" != "yes" && { | 7146 test "$ac_cv_func_crypt" != "yes" && { |
| 7132 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7147 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7133 echo "configure:7134: checking for crypt in -lcrypt" >&5 | 7148 echo "configure:7149: checking for crypt in -lcrypt" >&5 |
| 7134 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7149 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7135 | 7150 |
| 7136 xe_check_libs=" -lcrypt " | 7151 xe_check_libs=" -lcrypt " |
| 7137 cat > conftest.$ac_ext <<EOF | 7152 cat > conftest.$ac_ext <<EOF |
| 7138 #line 7139 "configure" | 7153 #line 7154 "configure" |
| 7139 #include "confdefs.h" | 7154 #include "confdefs.h" |
| 7140 /* Override any gcc2 internal prototype to avoid an error. */ | 7155 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7141 /* We use char because int might match the return type of a gcc2 | 7156 /* We use char because int might match the return type of a gcc2 |
| 7142 builtin and then its argument prototype would still apply. */ | 7157 builtin and then its argument prototype would still apply. */ |
| 7143 char crypt(); | 7158 char crypt(); |
| 7144 | 7159 |
| 7145 int main() { | 7160 int main() { |
| 7146 crypt() | 7161 crypt() |
| 7147 ; return 0; } | 7162 ; return 0; } |
| 7148 EOF | 7163 EOF |
| 7149 if { (eval echo configure:7150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7164 if { (eval echo configure:7165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7150 rm -rf conftest* | 7165 rm -rf conftest* |
| 7151 eval "ac_cv_lib_$ac_lib_var=yes" | 7166 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7152 else | 7167 else |
| 7153 echo "configure: failed program was:" >&5 | 7168 echo "configure: failed program was:" >&5 |
| 7154 cat conftest.$ac_ext >&5 | 7169 cat conftest.$ac_ext >&5 |
| 7178 | 7193 |
| 7179 } | 7194 } |
| 7180 fi | 7195 fi |
| 7181 test -z "$with_wnn" && { | 7196 test -z "$with_wnn" && { |
| 7182 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7197 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7183 echo "configure:7184: checking for jl_dic_list_e in -lwnn" >&5 | 7198 echo "configure:7199: checking for jl_dic_list_e in -lwnn" >&5 |
| 7184 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7199 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7185 | 7200 |
| 7186 xe_check_libs=" -lwnn " | 7201 xe_check_libs=" -lwnn " |
| 7187 cat > conftest.$ac_ext <<EOF | 7202 cat > conftest.$ac_ext <<EOF |
| 7188 #line 7189 "configure" | 7203 #line 7204 "configure" |
| 7189 #include "confdefs.h" | 7204 #include "confdefs.h" |
| 7190 /* Override any gcc2 internal prototype to avoid an error. */ | 7205 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7191 /* We use char because int might match the return type of a gcc2 | 7206 /* We use char because int might match the return type of a gcc2 |
| 7192 builtin and then its argument prototype would still apply. */ | 7207 builtin and then its argument prototype would still apply. */ |
| 7193 char jl_dic_list_e(); | 7208 char jl_dic_list_e(); |
| 7194 | 7209 |
| 7195 int main() { | 7210 int main() { |
| 7196 jl_dic_list_e() | 7211 jl_dic_list_e() |
| 7197 ; return 0; } | 7212 ; return 0; } |
| 7198 EOF | 7213 EOF |
| 7199 if { (eval echo configure:7200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7214 if { (eval echo configure:7215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7200 rm -rf conftest* | 7215 rm -rf conftest* |
| 7201 eval "ac_cv_lib_$ac_lib_var=yes" | 7216 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7202 else | 7217 else |
| 7203 echo "configure: failed program was:" >&5 | 7218 echo "configure: failed program was:" >&5 |
| 7204 cat conftest.$ac_ext >&5 | 7219 cat conftest.$ac_ext >&5 |
| 7231 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7246 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7232 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7247 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7233 fi | 7248 fi |
| 7234 | 7249 |
| 7235 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7250 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7236 echo "configure:7237: checking for jl_fi_dic_list in -lwnn" >&5 | 7251 echo "configure:7252: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7237 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7252 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7238 | 7253 |
| 7239 xe_check_libs=" -lwnn " | 7254 xe_check_libs=" -lwnn " |
| 7240 cat > conftest.$ac_ext <<EOF | 7255 cat > conftest.$ac_ext <<EOF |
| 7241 #line 7242 "configure" | 7256 #line 7257 "configure" |
| 7242 #include "confdefs.h" | 7257 #include "confdefs.h" |
| 7243 /* Override any gcc2 internal prototype to avoid an error. */ | 7258 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7244 /* We use char because int might match the return type of a gcc2 | 7259 /* We use char because int might match the return type of a gcc2 |
| 7245 builtin and then its argument prototype would still apply. */ | 7260 builtin and then its argument prototype would still apply. */ |
| 7246 char jl_fi_dic_list(); | 7261 char jl_fi_dic_list(); |
| 7247 | 7262 |
| 7248 int main() { | 7263 int main() { |
| 7249 jl_fi_dic_list() | 7264 jl_fi_dic_list() |
| 7250 ; return 0; } | 7265 ; return 0; } |
| 7251 EOF | 7266 EOF |
| 7252 if { (eval echo configure:7253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7267 if { (eval echo configure:7268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7253 rm -rf conftest* | 7268 rm -rf conftest* |
| 7254 eval "ac_cv_lib_$ac_lib_var=yes" | 7269 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7255 else | 7270 else |
| 7256 echo "configure: failed program was:" >&5 | 7271 echo "configure: failed program was:" >&5 |
| 7257 cat conftest.$ac_ext >&5 | 7272 cat conftest.$ac_ext >&5 |
| 7279 | 7294 |
| 7280 fi | 7295 fi |
| 7281 | 7296 |
| 7282 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7297 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7283 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7298 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7284 echo "configure:7285: checking for canna/RK.h" >&5 | 7299 echo "configure:7300: checking for canna/RK.h" >&5 |
| 7285 | 7300 |
| 7286 cat > conftest.$ac_ext <<EOF | 7301 cat > conftest.$ac_ext <<EOF |
| 7287 #line 7288 "configure" | 7302 #line 7303 "configure" |
| 7288 #include "confdefs.h" | 7303 #include "confdefs.h" |
| 7289 #include <canna/RK.h> | 7304 #include <canna/RK.h> |
| 7290 EOF | 7305 EOF |
| 7291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7306 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7292 { (eval echo configure:7293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7307 { (eval echo configure:7308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7293 ac_err=`grep -v '^ *+' conftest.out` | 7308 ac_err=`grep -v '^ *+' conftest.out` |
| 7294 if test -z "$ac_err"; then | 7309 if test -z "$ac_err"; then |
| 7295 rm -rf conftest* | 7310 rm -rf conftest* |
| 7296 eval "ac_cv_header_$ac_safe=yes" | 7311 eval "ac_cv_header_$ac_safe=yes" |
| 7297 else | 7312 else |
| 7310 with_canna=no | 7325 with_canna=no |
| 7311 fi | 7326 fi |
| 7312 } | 7327 } |
| 7313 test -z "$with_canna" && { | 7328 test -z "$with_canna" && { |
| 7314 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7329 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7315 echo "configure:7316: checking for RkBgnBun in -lRKC" >&5 | 7330 echo "configure:7331: checking for RkBgnBun in -lRKC" >&5 |
| 7316 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7331 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7317 | 7332 |
| 7318 xe_check_libs=" -lRKC " | 7333 xe_check_libs=" -lRKC " |
| 7319 cat > conftest.$ac_ext <<EOF | 7334 cat > conftest.$ac_ext <<EOF |
| 7320 #line 7321 "configure" | 7335 #line 7336 "configure" |
| 7321 #include "confdefs.h" | 7336 #include "confdefs.h" |
| 7322 /* Override any gcc2 internal prototype to avoid an error. */ | 7337 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7323 /* We use char because int might match the return type of a gcc2 | 7338 /* We use char because int might match the return type of a gcc2 |
| 7324 builtin and then its argument prototype would still apply. */ | 7339 builtin and then its argument prototype would still apply. */ |
| 7325 char RkBgnBun(); | 7340 char RkBgnBun(); |
| 7326 | 7341 |
| 7327 int main() { | 7342 int main() { |
| 7328 RkBgnBun() | 7343 RkBgnBun() |
| 7329 ; return 0; } | 7344 ; return 0; } |
| 7330 EOF | 7345 EOF |
| 7331 if { (eval echo configure:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7346 if { (eval echo configure:7347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7332 rm -rf conftest* | 7347 rm -rf conftest* |
| 7333 eval "ac_cv_lib_$ac_lib_var=yes" | 7348 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7334 else | 7349 else |
| 7335 echo "configure: failed program was:" >&5 | 7350 echo "configure: failed program was:" >&5 |
| 7336 cat conftest.$ac_ext >&5 | 7351 cat conftest.$ac_ext >&5 |
| 7349 fi | 7364 fi |
| 7350 | 7365 |
| 7351 } | 7366 } |
| 7352 test -z "$with_canna" && { | 7367 test -z "$with_canna" && { |
| 7353 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7368 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7354 echo "configure:7355: checking for jrKanjiControl in -lcanna" >&5 | 7369 echo "configure:7370: checking for jrKanjiControl in -lcanna" >&5 |
| 7355 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7370 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7356 | 7371 |
| 7357 xe_check_libs=" -lcanna " | 7372 xe_check_libs=" -lcanna " |
| 7358 cat > conftest.$ac_ext <<EOF | 7373 cat > conftest.$ac_ext <<EOF |
| 7359 #line 7360 "configure" | 7374 #line 7375 "configure" |
| 7360 #include "confdefs.h" | 7375 #include "confdefs.h" |
| 7361 /* Override any gcc2 internal prototype to avoid an error. */ | 7376 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7362 /* We use char because int might match the return type of a gcc2 | 7377 /* We use char because int might match the return type of a gcc2 |
| 7363 builtin and then its argument prototype would still apply. */ | 7378 builtin and then its argument prototype would still apply. */ |
| 7364 char jrKanjiControl(); | 7379 char jrKanjiControl(); |
| 7365 | 7380 |
| 7366 int main() { | 7381 int main() { |
| 7367 jrKanjiControl() | 7382 jrKanjiControl() |
| 7368 ; return 0; } | 7383 ; return 0; } |
| 7369 EOF | 7384 EOF |
| 7370 if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7385 if { (eval echo configure:7386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7371 rm -rf conftest* | 7386 rm -rf conftest* |
| 7372 eval "ac_cv_lib_$ac_lib_var=yes" | 7387 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7373 else | 7388 else |
| 7374 echo "configure: failed program was:" >&5 | 7389 echo "configure: failed program was:" >&5 |
| 7375 cat conftest.$ac_ext >&5 | 7390 cat conftest.$ac_ext >&5 |
| 7414 | 7429 |
| 7415 if test "$need_motif" = "yes" ; then | 7430 if test "$need_motif" = "yes" ; then |
| 7416 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7431 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7417 | 7432 |
| 7418 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7433 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 7419 echo "configure:7420: checking for layout_object_getvalue in -li18n" >&5 | 7434 echo "configure:7435: checking for layout_object_getvalue in -li18n" >&5 |
| 7420 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7435 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 7421 | 7436 |
| 7422 xe_check_libs=" -li18n " | 7437 xe_check_libs=" -li18n " |
| 7423 cat > conftest.$ac_ext <<EOF | 7438 cat > conftest.$ac_ext <<EOF |
| 7424 #line 7425 "configure" | 7439 #line 7440 "configure" |
| 7425 #include "confdefs.h" | 7440 #include "confdefs.h" |
| 7426 /* Override any gcc2 internal prototype to avoid an error. */ | 7441 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7427 /* We use char because int might match the return type of a gcc2 | 7442 /* We use char because int might match the return type of a gcc2 |
| 7428 builtin and then its argument prototype would still apply. */ | 7443 builtin and then its argument prototype would still apply. */ |
| 7429 char layout_object_getvalue(); | 7444 char layout_object_getvalue(); |
| 7430 | 7445 |
| 7431 int main() { | 7446 int main() { |
| 7432 layout_object_getvalue() | 7447 layout_object_getvalue() |
| 7433 ; return 0; } | 7448 ; return 0; } |
| 7434 EOF | 7449 EOF |
| 7435 if { (eval echo configure:7436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7436 rm -rf conftest* | 7451 rm -rf conftest* |
| 7437 eval "ac_cv_lib_$ac_lib_var=yes" | 7452 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7438 else | 7453 else |
| 7439 echo "configure: failed program was:" >&5 | 7454 echo "configure: failed program was:" >&5 |
| 7440 cat conftest.$ac_ext >&5 | 7455 cat conftest.$ac_ext >&5 |
| 7503 fi | 7518 fi |
| 7504 | 7519 |
| 7505 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7520 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
| 7506 do | 7521 do |
| 7507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7508 echo "configure:7509: checking for $ac_func" >&5 | 7523 echo "configure:7524: checking for $ac_func" >&5 |
| 7509 | 7524 |
| 7510 cat > conftest.$ac_ext <<EOF | 7525 cat > conftest.$ac_ext <<EOF |
| 7511 #line 7512 "configure" | 7526 #line 7527 "configure" |
| 7512 #include "confdefs.h" | 7527 #include "confdefs.h" |
| 7513 /* System header to define __stub macros and hopefully few prototypes, | 7528 /* System header to define __stub macros and hopefully few prototypes, |
| 7514 which can conflict with char $ac_func(); below. */ | 7529 which can conflict with char $ac_func(); below. */ |
| 7515 #include <assert.h> | 7530 #include <assert.h> |
| 7516 /* Override any gcc2 internal prototype to avoid an error. */ | 7531 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7529 $ac_func(); | 7544 $ac_func(); |
| 7530 #endif | 7545 #endif |
| 7531 | 7546 |
| 7532 ; return 0; } | 7547 ; return 0; } |
| 7533 EOF | 7548 EOF |
| 7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7549 if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7535 rm -rf conftest* | 7550 rm -rf conftest* |
| 7536 eval "ac_cv_func_$ac_func=yes" | 7551 eval "ac_cv_func_$ac_func=yes" |
| 7537 else | 7552 else |
| 7538 echo "configure: failed program was:" >&5 | 7553 echo "configure: failed program was:" >&5 |
| 7539 cat conftest.$ac_ext >&5 | 7554 cat conftest.$ac_ext >&5 |
| 7566 fi ;; | 7581 fi ;; |
| 7567 * ) | 7582 * ) |
| 7568 for ac_func in realpath | 7583 for ac_func in realpath |
| 7569 do | 7584 do |
| 7570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7571 echo "configure:7572: checking for $ac_func" >&5 | 7586 echo "configure:7587: checking for $ac_func" >&5 |
| 7572 | 7587 |
| 7573 cat > conftest.$ac_ext <<EOF | 7588 cat > conftest.$ac_ext <<EOF |
| 7574 #line 7575 "configure" | 7589 #line 7590 "configure" |
| 7575 #include "confdefs.h" | 7590 #include "confdefs.h" |
| 7576 /* System header to define __stub macros and hopefully few prototypes, | 7591 /* System header to define __stub macros and hopefully few prototypes, |
| 7577 which can conflict with char $ac_func(); below. */ | 7592 which can conflict with char $ac_func(); below. */ |
| 7578 #include <assert.h> | 7593 #include <assert.h> |
| 7579 /* Override any gcc2 internal prototype to avoid an error. */ | 7594 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7592 $ac_func(); | 7607 $ac_func(); |
| 7593 #endif | 7608 #endif |
| 7594 | 7609 |
| 7595 ; return 0; } | 7610 ; return 0; } |
| 7596 EOF | 7611 EOF |
| 7597 if { (eval echo configure:7598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7612 if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7598 rm -rf conftest* | 7613 rm -rf conftest* |
| 7599 eval "ac_cv_func_$ac_func=yes" | 7614 eval "ac_cv_func_$ac_func=yes" |
| 7600 else | 7615 else |
| 7601 echo "configure: failed program was:" >&5 | 7616 echo "configure: failed program was:" >&5 |
| 7602 cat conftest.$ac_ext >&5 | 7617 cat conftest.$ac_ext >&5 |
| 7625 echo " xemacs will be linked with \"realpath.o\"" | 7640 echo " xemacs will be linked with \"realpath.o\"" |
| 7626 fi ;; | 7641 fi ;; |
| 7627 esac | 7642 esac |
| 7628 | 7643 |
| 7629 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7644 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7630 echo "configure:7631: checking whether netdb declares h_errno" >&5 | 7645 echo "configure:7646: checking whether netdb declares h_errno" >&5 |
| 7631 cat > conftest.$ac_ext <<EOF | 7646 cat > conftest.$ac_ext <<EOF |
| 7632 #line 7633 "configure" | 7647 #line 7648 "configure" |
| 7633 #include "confdefs.h" | 7648 #include "confdefs.h" |
| 7634 #include <netdb.h> | 7649 #include <netdb.h> |
| 7635 int main() { | 7650 int main() { |
| 7636 return h_errno; | 7651 return h_errno; |
| 7637 ; return 0; } | 7652 ; return 0; } |
| 7638 EOF | 7653 EOF |
| 7639 if { (eval echo configure:7640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7654 if { (eval echo configure:7655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7640 rm -rf conftest* | 7655 rm -rf conftest* |
| 7641 echo "$ac_t""yes" 1>&6 | 7656 echo "$ac_t""yes" 1>&6 |
| 7642 { test "$extra_verbose" = "yes" && cat << \EOF | 7657 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7643 Defining HAVE_H_ERRNO | 7658 Defining HAVE_H_ERRNO |
| 7644 EOF | 7659 EOF |
| 7654 echo "$ac_t""no" 1>&6 | 7669 echo "$ac_t""no" 1>&6 |
| 7655 fi | 7670 fi |
| 7656 rm -f conftest* | 7671 rm -f conftest* |
| 7657 | 7672 |
| 7658 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7673 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7659 echo "configure:7660: checking for sigsetjmp" >&5 | 7674 echo "configure:7675: checking for sigsetjmp" >&5 |
| 7660 cat > conftest.$ac_ext <<EOF | 7675 cat > conftest.$ac_ext <<EOF |
| 7661 #line 7662 "configure" | 7676 #line 7677 "configure" |
| 7662 #include "confdefs.h" | 7677 #include "confdefs.h" |
| 7663 #include <setjmp.h> | 7678 #include <setjmp.h> |
| 7664 int main() { | 7679 int main() { |
| 7665 sigjmp_buf bar; sigsetjmp (bar, 0); | 7680 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7666 ; return 0; } | 7681 ; return 0; } |
| 7667 EOF | 7682 EOF |
| 7668 if { (eval echo configure:7669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7683 if { (eval echo configure:7684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7669 rm -rf conftest* | 7684 rm -rf conftest* |
| 7670 echo "$ac_t""yes" 1>&6 | 7685 echo "$ac_t""yes" 1>&6 |
| 7671 { test "$extra_verbose" = "yes" && cat << \EOF | 7686 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7672 Defining HAVE_SIGSETJMP | 7687 Defining HAVE_SIGSETJMP |
| 7673 EOF | 7688 EOF |
| 7683 echo "$ac_t""no" 1>&6 | 7698 echo "$ac_t""no" 1>&6 |
| 7684 fi | 7699 fi |
| 7685 rm -f conftest* | 7700 rm -f conftest* |
| 7686 | 7701 |
| 7687 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7702 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7688 echo "configure:7689: checking whether localtime caches TZ" >&5 | 7703 echo "configure:7704: checking whether localtime caches TZ" >&5 |
| 7689 | 7704 |
| 7690 if test "$ac_cv_func_tzset" = "yes"; then | 7705 if test "$ac_cv_func_tzset" = "yes"; then |
| 7691 cat > conftest.$ac_ext <<EOF | 7706 cat > conftest.$ac_ext <<EOF |
| 7692 #line 7693 "configure" | 7707 #line 7708 "configure" |
| 7693 #include "confdefs.h" | 7708 #include "confdefs.h" |
| 7694 #include <time.h> | 7709 #include <time.h> |
| 7695 #if STDC_HEADERS | 7710 #if STDC_HEADERS |
| 7696 # include <stdlib.h> | 7711 # include <stdlib.h> |
| 7697 #endif | 7712 #endif |
| 7722 if (localtime (&now)->tm_hour != hour_unset) | 7737 if (localtime (&now)->tm_hour != hour_unset) |
| 7723 exit (1); | 7738 exit (1); |
| 7724 exit (0); | 7739 exit (0); |
| 7725 } | 7740 } |
| 7726 EOF | 7741 EOF |
| 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7742 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7728 then | 7743 then |
| 7729 emacs_cv_localtime_cache=no | 7744 emacs_cv_localtime_cache=no |
| 7730 else | 7745 else |
| 7731 echo "configure: failed program was:" >&5 | 7746 echo "configure: failed program was:" >&5 |
| 7732 cat conftest.$ac_ext >&5 | 7747 cat conftest.$ac_ext >&5 |
| 7751 | 7766 |
| 7752 fi | 7767 fi |
| 7753 | 7768 |
| 7754 if test "$HAVE_TIMEVAL" = "yes"; then | 7769 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7755 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7770 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7756 echo "configure:7757: checking whether gettimeofday cannot accept two arguments" >&5 | 7771 echo "configure:7772: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7757 cat > conftest.$ac_ext <<EOF | 7772 cat > conftest.$ac_ext <<EOF |
| 7758 #line 7759 "configure" | 7773 #line 7774 "configure" |
| 7759 #include "confdefs.h" | 7774 #include "confdefs.h" |
| 7760 | 7775 |
| 7761 #ifdef TIME_WITH_SYS_TIME | 7776 #ifdef TIME_WITH_SYS_TIME |
| 7762 #include <sys/time.h> | 7777 #include <sys/time.h> |
| 7763 #include <time.h> | 7778 #include <time.h> |
| 7775 struct timezone dummy; | 7790 struct timezone dummy; |
| 7776 gettimeofday (&time, &dummy); | 7791 gettimeofday (&time, &dummy); |
| 7777 | 7792 |
| 7778 ; return 0; } | 7793 ; return 0; } |
| 7779 EOF | 7794 EOF |
| 7780 if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7781 rm -rf conftest* | 7796 rm -rf conftest* |
| 7782 echo "$ac_t""no" 1>&6 | 7797 echo "$ac_t""no" 1>&6 |
| 7783 else | 7798 else |
| 7784 echo "configure: failed program was:" >&5 | 7799 echo "configure: failed program was:" >&5 |
| 7785 cat conftest.$ac_ext >&5 | 7800 cat conftest.$ac_ext >&5 |
| 7797 rm -f conftest* | 7812 rm -f conftest* |
| 7798 fi | 7813 fi |
| 7799 | 7814 |
| 7800 | 7815 |
| 7801 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7816 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7802 echo "configure:7803: checking for inline" >&5 | 7817 echo "configure:7818: checking for inline" >&5 |
| 7803 | 7818 |
| 7804 ac_cv_c_inline=no | 7819 ac_cv_c_inline=no |
| 7805 for ac_kw in inline __inline__ __inline; do | 7820 for ac_kw in inline __inline__ __inline; do |
| 7806 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
| 7807 #line 7808 "configure" | 7822 #line 7823 "configure" |
| 7808 #include "confdefs.h" | 7823 #include "confdefs.h" |
| 7809 | 7824 |
| 7810 int main() { | 7825 int main() { |
| 7811 } $ac_kw foo() { | 7826 } $ac_kw foo() { |
| 7812 ; return 0; } | 7827 ; return 0; } |
| 7813 EOF | 7828 EOF |
| 7814 if { (eval echo configure:7815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7829 if { (eval echo configure:7830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7815 rm -rf conftest* | 7830 rm -rf conftest* |
| 7816 ac_cv_c_inline=$ac_kw; break | 7831 ac_cv_c_inline=$ac_kw; break |
| 7817 else | 7832 else |
| 7818 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
| 7819 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
| 7859 | 7874 |
| 7860 | 7875 |
| 7861 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7876 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7862 # for constant arguments. Useless! | 7877 # for constant arguments. Useless! |
| 7863 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7878 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7864 echo "configure:7865: checking for working alloca.h" >&5 | 7879 echo "configure:7880: checking for working alloca.h" >&5 |
| 7865 | 7880 |
| 7866 cat > conftest.$ac_ext <<EOF | 7881 cat > conftest.$ac_ext <<EOF |
| 7867 #line 7868 "configure" | 7882 #line 7883 "configure" |
| 7868 #include "confdefs.h" | 7883 #include "confdefs.h" |
| 7869 #include <alloca.h> | 7884 #include <alloca.h> |
| 7870 int main() { | 7885 int main() { |
| 7871 char *p = alloca(2 * sizeof(int)); | 7886 char *p = alloca(2 * sizeof(int)); |
| 7872 ; return 0; } | 7887 ; return 0; } |
| 7873 EOF | 7888 EOF |
| 7874 if { (eval echo configure:7875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7889 if { (eval echo configure:7890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7875 rm -rf conftest* | 7890 rm -rf conftest* |
| 7876 ac_cv_header_alloca_h=yes | 7891 ac_cv_header_alloca_h=yes |
| 7877 else | 7892 else |
| 7878 echo "configure: failed program was:" >&5 | 7893 echo "configure: failed program was:" >&5 |
| 7879 cat conftest.$ac_ext >&5 | 7894 cat conftest.$ac_ext >&5 |
| 7893 } | 7908 } |
| 7894 | 7909 |
| 7895 fi | 7910 fi |
| 7896 | 7911 |
| 7897 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7912 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7898 echo "configure:7899: checking for alloca" >&5 | 7913 echo "configure:7914: checking for alloca" >&5 |
| 7899 | 7914 |
| 7900 cat > conftest.$ac_ext <<EOF | 7915 cat > conftest.$ac_ext <<EOF |
| 7901 #line 7902 "configure" | 7916 #line 7917 "configure" |
| 7902 #include "confdefs.h" | 7917 #include "confdefs.h" |
| 7903 | 7918 |
| 7904 #ifdef __GNUC__ | 7919 #ifdef __GNUC__ |
| 7905 # define alloca __builtin_alloca | 7920 # define alloca __builtin_alloca |
| 7906 #else | 7921 #else |
| 7919 | 7934 |
| 7920 int main() { | 7935 int main() { |
| 7921 char *p = (char *) alloca(1); | 7936 char *p = (char *) alloca(1); |
| 7922 ; return 0; } | 7937 ; return 0; } |
| 7923 EOF | 7938 EOF |
| 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7925 rm -rf conftest* | 7940 rm -rf conftest* |
| 7926 ac_cv_func_alloca_works=yes | 7941 ac_cv_func_alloca_works=yes |
| 7927 else | 7942 else |
| 7928 echo "configure: failed program was:" >&5 | 7943 echo "configure: failed program was:" >&5 |
| 7929 cat conftest.$ac_ext >&5 | 7944 cat conftest.$ac_ext >&5 |
| 7958 EOF | 7973 EOF |
| 7959 } | 7974 } |
| 7960 | 7975 |
| 7961 | 7976 |
| 7962 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7977 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7963 echo "configure:7964: checking whether alloca needs Cray hooks" >&5 | 7978 echo "configure:7979: checking whether alloca needs Cray hooks" >&5 |
| 7964 | 7979 |
| 7965 cat > conftest.$ac_ext <<EOF | 7980 cat > conftest.$ac_ext <<EOF |
| 7966 #line 7967 "configure" | 7981 #line 7982 "configure" |
| 7967 #include "confdefs.h" | 7982 #include "confdefs.h" |
| 7968 #if defined(CRAY) && ! defined(CRAY2) | 7983 #if defined(CRAY) && ! defined(CRAY2) |
| 7969 webecray | 7984 webecray |
| 7970 #else | 7985 #else |
| 7971 wenotbecray | 7986 wenotbecray |
| 7985 | 8000 |
| 7986 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8001 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7987 if test $ac_cv_os_cray = yes; then | 8002 if test $ac_cv_os_cray = yes; then |
| 7988 for ac_func in _getb67 GETB67 getb67; do | 8003 for ac_func in _getb67 GETB67 getb67; do |
| 7989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7990 echo "configure:7991: checking for $ac_func" >&5 | 8005 echo "configure:8006: checking for $ac_func" >&5 |
| 7991 | 8006 |
| 7992 cat > conftest.$ac_ext <<EOF | 8007 cat > conftest.$ac_ext <<EOF |
| 7993 #line 7994 "configure" | 8008 #line 8009 "configure" |
| 7994 #include "confdefs.h" | 8009 #include "confdefs.h" |
| 7995 /* System header to define __stub macros and hopefully few prototypes, | 8010 /* System header to define __stub macros and hopefully few prototypes, |
| 7996 which can conflict with char $ac_func(); below. */ | 8011 which can conflict with char $ac_func(); below. */ |
| 7997 #include <assert.h> | 8012 #include <assert.h> |
| 7998 /* Override any gcc2 internal prototype to avoid an error. */ | 8013 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8011 $ac_func(); | 8026 $ac_func(); |
| 8012 #endif | 8027 #endif |
| 8013 | 8028 |
| 8014 ; return 0; } | 8029 ; return 0; } |
| 8015 EOF | 8030 EOF |
| 8016 if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8017 rm -rf conftest* | 8032 rm -rf conftest* |
| 8018 eval "ac_cv_func_$ac_func=yes" | 8033 eval "ac_cv_func_$ac_func=yes" |
| 8019 else | 8034 else |
| 8020 echo "configure: failed program was:" >&5 | 8035 echo "configure: failed program was:" >&5 |
| 8021 cat conftest.$ac_ext >&5 | 8036 cat conftest.$ac_ext >&5 |
| 8041 | 8056 |
| 8042 done | 8057 done |
| 8043 fi | 8058 fi |
| 8044 | 8059 |
| 8045 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8060 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 8046 echo "configure:8047: checking stack direction for C alloca" >&5 | 8061 echo "configure:8062: checking stack direction for C alloca" >&5 |
| 8047 | 8062 |
| 8048 cat > conftest.$ac_ext <<EOF | 8063 cat > conftest.$ac_ext <<EOF |
| 8049 #line 8050 "configure" | 8064 #line 8065 "configure" |
| 8050 #include "confdefs.h" | 8065 #include "confdefs.h" |
| 8051 find_stack_direction () | 8066 find_stack_direction () |
| 8052 { | 8067 { |
| 8053 static char *addr = 0; | 8068 static char *addr = 0; |
| 8054 auto char dummy; | 8069 auto char dummy; |
| 8063 main () | 8078 main () |
| 8064 { | 8079 { |
| 8065 exit (find_stack_direction() < 0); | 8080 exit (find_stack_direction() < 0); |
| 8066 } | 8081 } |
| 8067 EOF | 8082 EOF |
| 8068 if { (eval echo configure:8069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8083 if { (eval echo configure:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8069 then | 8084 then |
| 8070 ac_cv_c_stack_direction=1 | 8085 ac_cv_c_stack_direction=1 |
| 8071 else | 8086 else |
| 8072 echo "configure: failed program was:" >&5 | 8087 echo "configure: failed program was:" >&5 |
| 8073 cat conftest.$ac_ext >&5 | 8088 cat conftest.$ac_ext >&5 |
| 8091 echo " xemacs will be linked with \"$ALLOCA\"" | 8106 echo " xemacs will be linked with \"$ALLOCA\"" |
| 8092 fi | 8107 fi |
| 8093 | 8108 |
| 8094 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8109 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8095 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8110 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8096 echo "configure:8097: checking for vfork.h" >&5 | 8111 echo "configure:8112: checking for vfork.h" >&5 |
| 8097 | 8112 |
| 8098 cat > conftest.$ac_ext <<EOF | 8113 cat > conftest.$ac_ext <<EOF |
| 8099 #line 8100 "configure" | 8114 #line 8115 "configure" |
| 8100 #include "confdefs.h" | 8115 #include "confdefs.h" |
| 8101 #include <vfork.h> | 8116 #include <vfork.h> |
| 8102 EOF | 8117 EOF |
| 8103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8104 { (eval echo configure:8105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8119 { (eval echo configure:8120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8105 ac_err=`grep -v '^ *+' conftest.out` | 8120 ac_err=`grep -v '^ *+' conftest.out` |
| 8106 if test -z "$ac_err"; then | 8121 if test -z "$ac_err"; then |
| 8107 rm -rf conftest* | 8122 rm -rf conftest* |
| 8108 eval "ac_cv_header_$ac_safe=yes" | 8123 eval "ac_cv_header_$ac_safe=yes" |
| 8109 else | 8124 else |
| 8127 else | 8142 else |
| 8128 echo "$ac_t""no" 1>&6 | 8143 echo "$ac_t""no" 1>&6 |
| 8129 fi | 8144 fi |
| 8130 | 8145 |
| 8131 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8146 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8132 echo "configure:8133: checking for working vfork" >&5 | 8147 echo "configure:8148: checking for working vfork" >&5 |
| 8133 | 8148 |
| 8134 cat > conftest.$ac_ext <<EOF | 8149 cat > conftest.$ac_ext <<EOF |
| 8135 #line 8136 "configure" | 8150 #line 8151 "configure" |
| 8136 #include "confdefs.h" | 8151 #include "confdefs.h" |
| 8137 /* Thanks to Paul Eggert for this test. */ | 8152 /* Thanks to Paul Eggert for this test. */ |
| 8138 #include <stdio.h> | 8153 #include <stdio.h> |
| 8139 #include <sys/types.h> | 8154 #include <sys/types.h> |
| 8140 #include <sys/stat.h> | 8155 #include <sys/stat.h> |
| 8225 || fstat(fileno(stdout), &st) != 0 | 8240 || fstat(fileno(stdout), &st) != 0 |
| 8226 ); | 8241 ); |
| 8227 } | 8242 } |
| 8228 } | 8243 } |
| 8229 EOF | 8244 EOF |
| 8230 if { (eval echo configure:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8245 if { (eval echo configure:8246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8231 then | 8246 then |
| 8232 ac_cv_func_vfork_works=yes | 8247 ac_cv_func_vfork_works=yes |
| 8233 else | 8248 else |
| 8234 echo "configure: failed program was:" >&5 | 8249 echo "configure: failed program was:" >&5 |
| 8235 cat conftest.$ac_ext >&5 | 8250 cat conftest.$ac_ext >&5 |
| 8250 | 8265 |
| 8251 fi | 8266 fi |
| 8252 | 8267 |
| 8253 | 8268 |
| 8254 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8269 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8255 echo "configure:8256: checking for working strcoll" >&5 | 8270 echo "configure:8271: checking for working strcoll" >&5 |
| 8256 | 8271 |
| 8257 cat > conftest.$ac_ext <<EOF | 8272 cat > conftest.$ac_ext <<EOF |
| 8258 #line 8259 "configure" | 8273 #line 8274 "configure" |
| 8259 #include "confdefs.h" | 8274 #include "confdefs.h" |
| 8260 #include <string.h> | 8275 #include <string.h> |
| 8261 main () | 8276 main () |
| 8262 { | 8277 { |
| 8263 exit (strcoll ("abc", "def") >= 0 || | 8278 exit (strcoll ("abc", "def") >= 0 || |
| 8264 strcoll ("ABC", "DEF") >= 0 || | 8279 strcoll ("ABC", "DEF") >= 0 || |
| 8265 strcoll ("123", "456") >= 0); | 8280 strcoll ("123", "456") >= 0); |
| 8266 } | 8281 } |
| 8267 EOF | 8282 EOF |
| 8268 if { (eval echo configure:8269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8283 if { (eval echo configure:8284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8269 then | 8284 then |
| 8270 ac_cv_func_strcoll_works=yes | 8285 ac_cv_func_strcoll_works=yes |
| 8271 else | 8286 else |
| 8272 echo "configure: failed program was:" >&5 | 8287 echo "configure: failed program was:" >&5 |
| 8273 cat conftest.$ac_ext >&5 | 8288 cat conftest.$ac_ext >&5 |
| 8290 | 8305 |
| 8291 | 8306 |
| 8292 for ac_func in getpgrp | 8307 for ac_func in getpgrp |
| 8293 do | 8308 do |
| 8294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8295 echo "configure:8296: checking for $ac_func" >&5 | 8310 echo "configure:8311: checking for $ac_func" >&5 |
| 8296 | 8311 |
| 8297 cat > conftest.$ac_ext <<EOF | 8312 cat > conftest.$ac_ext <<EOF |
| 8298 #line 8299 "configure" | 8313 #line 8314 "configure" |
| 8299 #include "confdefs.h" | 8314 #include "confdefs.h" |
| 8300 /* System header to define __stub macros and hopefully few prototypes, | 8315 /* System header to define __stub macros and hopefully few prototypes, |
| 8301 which can conflict with char $ac_func(); below. */ | 8316 which can conflict with char $ac_func(); below. */ |
| 8302 #include <assert.h> | 8317 #include <assert.h> |
| 8303 /* Override any gcc2 internal prototype to avoid an error. */ | 8318 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8316 $ac_func(); | 8331 $ac_func(); |
| 8317 #endif | 8332 #endif |
| 8318 | 8333 |
| 8319 ; return 0; } | 8334 ; return 0; } |
| 8320 EOF | 8335 EOF |
| 8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8322 rm -rf conftest* | 8337 rm -rf conftest* |
| 8323 eval "ac_cv_func_$ac_func=yes" | 8338 eval "ac_cv_func_$ac_func=yes" |
| 8324 else | 8339 else |
| 8325 echo "configure: failed program was:" >&5 | 8340 echo "configure: failed program was:" >&5 |
| 8326 cat conftest.$ac_ext >&5 | 8341 cat conftest.$ac_ext >&5 |
| 8344 echo "$ac_t""no" 1>&6 | 8359 echo "$ac_t""no" 1>&6 |
| 8345 fi | 8360 fi |
| 8346 done | 8361 done |
| 8347 | 8362 |
| 8348 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8363 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8349 echo "configure:8350: checking whether getpgrp takes no argument" >&5 | 8364 echo "configure:8365: checking whether getpgrp takes no argument" >&5 |
| 8350 | 8365 |
| 8351 cat > conftest.$ac_ext <<EOF | 8366 cat > conftest.$ac_ext <<EOF |
| 8352 #line 8353 "configure" | 8367 #line 8368 "configure" |
| 8353 #include "confdefs.h" | 8368 #include "confdefs.h" |
| 8354 | 8369 |
| 8355 /* | 8370 /* |
| 8356 * If this system has a BSD-style getpgrp(), | 8371 * If this system has a BSD-style getpgrp(), |
| 8357 * which takes a pid argument, exit unsuccessfully. | 8372 * which takes a pid argument, exit unsuccessfully. |
| 8402 exit(s>>8); | 8417 exit(s>>8); |
| 8403 } | 8418 } |
| 8404 } | 8419 } |
| 8405 | 8420 |
| 8406 EOF | 8421 EOF |
| 8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8422 if { (eval echo configure:8423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8408 then | 8423 then |
| 8409 ac_cv_func_getpgrp_void=yes | 8424 ac_cv_func_getpgrp_void=yes |
| 8410 else | 8425 else |
| 8411 echo "configure: failed program was:" >&5 | 8426 echo "configure: failed program was:" >&5 |
| 8412 cat conftest.$ac_ext >&5 | 8427 cat conftest.$ac_ext >&5 |
| 8428 | 8443 |
| 8429 fi | 8444 fi |
| 8430 | 8445 |
| 8431 | 8446 |
| 8432 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8447 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8433 echo "configure:8434: checking for working mmap" >&5 | 8448 echo "configure:8449: checking for working mmap" >&5 |
| 8434 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8449 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8435 cat > conftest.$ac_ext <<EOF | 8450 cat > conftest.$ac_ext <<EOF |
| 8436 #line 8437 "configure" | 8451 #line 8452 "configure" |
| 8437 #include "confdefs.h" | 8452 #include "confdefs.h" |
| 8438 #include <stdio.h> | 8453 #include <stdio.h> |
| 8439 #include <unistd.h> | 8454 #include <unistd.h> |
| 8440 #include <fcntl.h> | 8455 #include <fcntl.h> |
| 8441 #include <sys/mman.h> | 8456 #include <sys/mman.h> |
| 8464 return 0; | 8479 return 0; |
| 8465 perror ("conftest: mmap failed"); | 8480 perror ("conftest: mmap failed"); |
| 8466 return 1; | 8481 return 1; |
| 8467 } | 8482 } |
| 8468 EOF | 8483 EOF |
| 8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8470 then | 8485 then |
| 8471 have_mmap=yes | 8486 have_mmap=yes |
| 8472 else | 8487 else |
| 8473 echo "configure: failed program was:" >&5 | 8488 echo "configure: failed program was:" >&5 |
| 8474 cat conftest.$ac_ext >&5 | 8489 cat conftest.$ac_ext >&5 |
| 8498 } | 8513 } |
| 8499 | 8514 |
| 8500 | 8515 |
| 8501 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8516 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8502 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8517 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8503 echo "configure:8504: checking for termios.h" >&5 | 8518 echo "configure:8519: checking for termios.h" >&5 |
| 8504 | 8519 |
| 8505 cat > conftest.$ac_ext <<EOF | 8520 cat > conftest.$ac_ext <<EOF |
| 8506 #line 8507 "configure" | 8521 #line 8522 "configure" |
| 8507 #include "confdefs.h" | 8522 #include "confdefs.h" |
| 8508 #include <termios.h> | 8523 #include <termios.h> |
| 8509 EOF | 8524 EOF |
| 8510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8511 { (eval echo configure:8512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8526 { (eval echo configure:8527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8512 ac_err=`grep -v '^ *+' conftest.out` | 8527 ac_err=`grep -v '^ *+' conftest.out` |
| 8513 if test -z "$ac_err"; then | 8528 if test -z "$ac_err"; then |
| 8514 rm -rf conftest* | 8529 rm -rf conftest* |
| 8515 eval "ac_cv_header_$ac_safe=yes" | 8530 eval "ac_cv_header_$ac_safe=yes" |
| 8516 else | 8531 else |
| 8549 | 8564 |
| 8550 else | 8565 else |
| 8551 echo "$ac_t""no" 1>&6 | 8566 echo "$ac_t""no" 1>&6 |
| 8552 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8567 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8553 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8568 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8554 echo "configure:8555: checking for termio.h" >&5 | 8569 echo "configure:8570: checking for termio.h" >&5 |
| 8555 | 8570 |
| 8556 cat > conftest.$ac_ext <<EOF | 8571 cat > conftest.$ac_ext <<EOF |
| 8557 #line 8558 "configure" | 8572 #line 8573 "configure" |
| 8558 #include "confdefs.h" | 8573 #include "confdefs.h" |
| 8559 #include <termio.h> | 8574 #include <termio.h> |
| 8560 EOF | 8575 EOF |
| 8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8577 { (eval echo configure:8578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8563 ac_err=`grep -v '^ *+' conftest.out` | 8578 ac_err=`grep -v '^ *+' conftest.out` |
| 8564 if test -z "$ac_err"; then | 8579 if test -z "$ac_err"; then |
| 8565 rm -rf conftest* | 8580 rm -rf conftest* |
| 8566 eval "ac_cv_header_$ac_safe=yes" | 8581 eval "ac_cv_header_$ac_safe=yes" |
| 8567 else | 8582 else |
| 8589 fi | 8604 fi |
| 8590 | 8605 |
| 8591 | 8606 |
| 8592 | 8607 |
| 8593 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8608 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8594 echo "configure:8595: checking for socket" >&5 | 8609 echo "configure:8610: checking for socket" >&5 |
| 8595 | 8610 |
| 8596 cat > conftest.$ac_ext <<EOF | 8611 cat > conftest.$ac_ext <<EOF |
| 8597 #line 8598 "configure" | 8612 #line 8613 "configure" |
| 8598 #include "confdefs.h" | 8613 #include "confdefs.h" |
| 8599 /* System header to define __stub macros and hopefully few prototypes, | 8614 /* System header to define __stub macros and hopefully few prototypes, |
| 8600 which can conflict with char socket(); below. */ | 8615 which can conflict with char socket(); below. */ |
| 8601 #include <assert.h> | 8616 #include <assert.h> |
| 8602 /* Override any gcc2 internal prototype to avoid an error. */ | 8617 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8615 socket(); | 8630 socket(); |
| 8616 #endif | 8631 #endif |
| 8617 | 8632 |
| 8618 ; return 0; } | 8633 ; return 0; } |
| 8619 EOF | 8634 EOF |
| 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8635 if { (eval echo configure:8636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8621 rm -rf conftest* | 8636 rm -rf conftest* |
| 8622 eval "ac_cv_func_socket=yes" | 8637 eval "ac_cv_func_socket=yes" |
| 8623 else | 8638 else |
| 8624 echo "configure: failed program was:" >&5 | 8639 echo "configure: failed program was:" >&5 |
| 8625 cat conftest.$ac_ext >&5 | 8640 cat conftest.$ac_ext >&5 |
| 8630 | 8645 |
| 8631 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8646 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8632 echo "$ac_t""yes" 1>&6 | 8647 echo "$ac_t""yes" 1>&6 |
| 8633 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8648 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8634 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8649 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8635 echo "configure:8636: checking for netinet/in.h" >&5 | 8650 echo "configure:8651: checking for netinet/in.h" >&5 |
| 8636 | 8651 |
| 8637 cat > conftest.$ac_ext <<EOF | 8652 cat > conftest.$ac_ext <<EOF |
| 8638 #line 8639 "configure" | 8653 #line 8654 "configure" |
| 8639 #include "confdefs.h" | 8654 #include "confdefs.h" |
| 8640 #include <netinet/in.h> | 8655 #include <netinet/in.h> |
| 8641 EOF | 8656 EOF |
| 8642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8643 { (eval echo configure:8644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8658 { (eval echo configure:8659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8644 ac_err=`grep -v '^ *+' conftest.out` | 8659 ac_err=`grep -v '^ *+' conftest.out` |
| 8645 if test -z "$ac_err"; then | 8660 if test -z "$ac_err"; then |
| 8646 rm -rf conftest* | 8661 rm -rf conftest* |
| 8647 eval "ac_cv_header_$ac_safe=yes" | 8662 eval "ac_cv_header_$ac_safe=yes" |
| 8648 else | 8663 else |
| 8655 rm -f conftest* | 8670 rm -f conftest* |
| 8656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8657 echo "$ac_t""yes" 1>&6 | 8672 echo "$ac_t""yes" 1>&6 |
| 8658 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8673 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8659 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8674 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8660 echo "configure:8661: checking for arpa/inet.h" >&5 | 8675 echo "configure:8676: checking for arpa/inet.h" >&5 |
| 8661 | 8676 |
| 8662 cat > conftest.$ac_ext <<EOF | 8677 cat > conftest.$ac_ext <<EOF |
| 8663 #line 8664 "configure" | 8678 #line 8679 "configure" |
| 8664 #include "confdefs.h" | 8679 #include "confdefs.h" |
| 8665 #include <arpa/inet.h> | 8680 #include <arpa/inet.h> |
| 8666 EOF | 8681 EOF |
| 8667 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8668 { (eval echo configure:8669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8683 { (eval echo configure:8684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8669 ac_err=`grep -v '^ *+' conftest.out` | 8684 ac_err=`grep -v '^ *+' conftest.out` |
| 8670 if test -z "$ac_err"; then | 8685 if test -z "$ac_err"; then |
| 8671 rm -rf conftest* | 8686 rm -rf conftest* |
| 8672 eval "ac_cv_header_$ac_safe=yes" | 8687 eval "ac_cv_header_$ac_safe=yes" |
| 8673 else | 8688 else |
| 8688 #define HAVE_SOCKETS 1 | 8703 #define HAVE_SOCKETS 1 |
| 8689 EOF | 8704 EOF |
| 8690 } | 8705 } |
| 8691 | 8706 |
| 8692 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8707 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8693 echo "configure:8694: checking "for sun_len member in struct sockaddr_un"" >&5 | 8708 echo "configure:8709: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8694 cat > conftest.$ac_ext <<EOF | 8709 cat > conftest.$ac_ext <<EOF |
| 8695 #line 8696 "configure" | 8710 #line 8711 "configure" |
| 8696 #include "confdefs.h" | 8711 #include "confdefs.h" |
| 8697 | 8712 |
| 8698 #include <sys/types.h> | 8713 #include <sys/types.h> |
| 8699 #include <sys/socket.h> | 8714 #include <sys/socket.h> |
| 8700 #include <sys/un.h> | 8715 #include <sys/un.h> |
| 8701 | 8716 |
| 8702 int main() { | 8717 int main() { |
| 8703 static struct sockaddr_un x; x.sun_len = 1; | 8718 static struct sockaddr_un x; x.sun_len = 1; |
| 8704 ; return 0; } | 8719 ; return 0; } |
| 8705 EOF | 8720 EOF |
| 8706 if { (eval echo configure:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8721 if { (eval echo configure:8722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8707 rm -rf conftest* | 8722 rm -rf conftest* |
| 8708 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8723 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8709 Defining HAVE_SOCKADDR_SUN_LEN | 8724 Defining HAVE_SOCKADDR_SUN_LEN |
| 8710 EOF | 8725 EOF |
| 8711 cat >> confdefs.h <<\EOF | 8726 cat >> confdefs.h <<\EOF |
| 8732 echo "$ac_t""no" 1>&6 | 8747 echo "$ac_t""no" 1>&6 |
| 8733 fi | 8748 fi |
| 8734 | 8749 |
| 8735 | 8750 |
| 8736 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8751 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8737 echo "configure:8738: checking for msgget" >&5 | 8752 echo "configure:8753: checking for msgget" >&5 |
| 8738 | 8753 |
| 8739 cat > conftest.$ac_ext <<EOF | 8754 cat > conftest.$ac_ext <<EOF |
| 8740 #line 8741 "configure" | 8755 #line 8756 "configure" |
| 8741 #include "confdefs.h" | 8756 #include "confdefs.h" |
| 8742 /* System header to define __stub macros and hopefully few prototypes, | 8757 /* System header to define __stub macros and hopefully few prototypes, |
| 8743 which can conflict with char msgget(); below. */ | 8758 which can conflict with char msgget(); below. */ |
| 8744 #include <assert.h> | 8759 #include <assert.h> |
| 8745 /* Override any gcc2 internal prototype to avoid an error. */ | 8760 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8758 msgget(); | 8773 msgget(); |
| 8759 #endif | 8774 #endif |
| 8760 | 8775 |
| 8761 ; return 0; } | 8776 ; return 0; } |
| 8762 EOF | 8777 EOF |
| 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8778 if { (eval echo configure:8779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8764 rm -rf conftest* | 8779 rm -rf conftest* |
| 8765 eval "ac_cv_func_msgget=yes" | 8780 eval "ac_cv_func_msgget=yes" |
| 8766 else | 8781 else |
| 8767 echo "configure: failed program was:" >&5 | 8782 echo "configure: failed program was:" >&5 |
| 8768 cat conftest.$ac_ext >&5 | 8783 cat conftest.$ac_ext >&5 |
| 8773 | 8788 |
| 8774 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8789 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8775 echo "$ac_t""yes" 1>&6 | 8790 echo "$ac_t""yes" 1>&6 |
| 8776 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8791 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8777 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8792 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8778 echo "configure:8779: checking for sys/ipc.h" >&5 | 8793 echo "configure:8794: checking for sys/ipc.h" >&5 |
| 8779 | 8794 |
| 8780 cat > conftest.$ac_ext <<EOF | 8795 cat > conftest.$ac_ext <<EOF |
| 8781 #line 8782 "configure" | 8796 #line 8797 "configure" |
| 8782 #include "confdefs.h" | 8797 #include "confdefs.h" |
| 8783 #include <sys/ipc.h> | 8798 #include <sys/ipc.h> |
| 8784 EOF | 8799 EOF |
| 8785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8786 { (eval echo configure:8787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8801 { (eval echo configure:8802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8787 ac_err=`grep -v '^ *+' conftest.out` | 8802 ac_err=`grep -v '^ *+' conftest.out` |
| 8788 if test -z "$ac_err"; then | 8803 if test -z "$ac_err"; then |
| 8789 rm -rf conftest* | 8804 rm -rf conftest* |
| 8790 eval "ac_cv_header_$ac_safe=yes" | 8805 eval "ac_cv_header_$ac_safe=yes" |
| 8791 else | 8806 else |
| 8798 rm -f conftest* | 8813 rm -f conftest* |
| 8799 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8800 echo "$ac_t""yes" 1>&6 | 8815 echo "$ac_t""yes" 1>&6 |
| 8801 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8816 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8802 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8817 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8803 echo "configure:8804: checking for sys/msg.h" >&5 | 8818 echo "configure:8819: checking for sys/msg.h" >&5 |
| 8804 | 8819 |
| 8805 cat > conftest.$ac_ext <<EOF | 8820 cat > conftest.$ac_ext <<EOF |
| 8806 #line 8807 "configure" | 8821 #line 8822 "configure" |
| 8807 #include "confdefs.h" | 8822 #include "confdefs.h" |
| 8808 #include <sys/msg.h> | 8823 #include <sys/msg.h> |
| 8809 EOF | 8824 EOF |
| 8810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8811 { (eval echo configure:8812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8826 { (eval echo configure:8827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8812 ac_err=`grep -v '^ *+' conftest.out` | 8827 ac_err=`grep -v '^ *+' conftest.out` |
| 8813 if test -z "$ac_err"; then | 8828 if test -z "$ac_err"; then |
| 8814 rm -rf conftest* | 8829 rm -rf conftest* |
| 8815 eval "ac_cv_header_$ac_safe=yes" | 8830 eval "ac_cv_header_$ac_safe=yes" |
| 8816 else | 8831 else |
| 8844 fi | 8859 fi |
| 8845 | 8860 |
| 8846 | 8861 |
| 8847 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8862 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8848 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8863 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8849 echo "configure:8850: checking for dirent.h" >&5 | 8864 echo "configure:8865: checking for dirent.h" >&5 |
| 8850 | 8865 |
| 8851 cat > conftest.$ac_ext <<EOF | 8866 cat > conftest.$ac_ext <<EOF |
| 8852 #line 8853 "configure" | 8867 #line 8868 "configure" |
| 8853 #include "confdefs.h" | 8868 #include "confdefs.h" |
| 8854 #include <dirent.h> | 8869 #include <dirent.h> |
| 8855 EOF | 8870 EOF |
| 8856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8857 { (eval echo configure:8858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8872 { (eval echo configure:8873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8858 ac_err=`grep -v '^ *+' conftest.out` | 8873 ac_err=`grep -v '^ *+' conftest.out` |
| 8859 if test -z "$ac_err"; then | 8874 if test -z "$ac_err"; then |
| 8860 rm -rf conftest* | 8875 rm -rf conftest* |
| 8861 eval "ac_cv_header_$ac_safe=yes" | 8876 eval "ac_cv_header_$ac_safe=yes" |
| 8862 else | 8877 else |
| 8879 | 8894 |
| 8880 else | 8895 else |
| 8881 echo "$ac_t""no" 1>&6 | 8896 echo "$ac_t""no" 1>&6 |
| 8882 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8897 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8883 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8898 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8884 echo "configure:8885: checking for sys/dir.h" >&5 | 8899 echo "configure:8900: checking for sys/dir.h" >&5 |
| 8885 | 8900 |
| 8886 cat > conftest.$ac_ext <<EOF | 8901 cat > conftest.$ac_ext <<EOF |
| 8887 #line 8888 "configure" | 8902 #line 8903 "configure" |
| 8888 #include "confdefs.h" | 8903 #include "confdefs.h" |
| 8889 #include <sys/dir.h> | 8904 #include <sys/dir.h> |
| 8890 EOF | 8905 EOF |
| 8891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8892 { (eval echo configure:8893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8907 { (eval echo configure:8908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8893 ac_err=`grep -v '^ *+' conftest.out` | 8908 ac_err=`grep -v '^ *+' conftest.out` |
| 8894 if test -z "$ac_err"; then | 8909 if test -z "$ac_err"; then |
| 8895 rm -rf conftest* | 8910 rm -rf conftest* |
| 8896 eval "ac_cv_header_$ac_safe=yes" | 8911 eval "ac_cv_header_$ac_safe=yes" |
| 8897 else | 8912 else |
| 8920 fi | 8935 fi |
| 8921 | 8936 |
| 8922 | 8937 |
| 8923 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8938 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8924 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8939 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8925 echo "configure:8926: checking for nlist.h" >&5 | 8940 echo "configure:8941: checking for nlist.h" >&5 |
| 8926 | 8941 |
| 8927 cat > conftest.$ac_ext <<EOF | 8942 cat > conftest.$ac_ext <<EOF |
| 8928 #line 8929 "configure" | 8943 #line 8944 "configure" |
| 8929 #include "confdefs.h" | 8944 #include "confdefs.h" |
| 8930 #include <nlist.h> | 8945 #include <nlist.h> |
| 8931 EOF | 8946 EOF |
| 8932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8933 { (eval echo configure:8934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8948 { (eval echo configure:8949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8934 ac_err=`grep -v '^ *+' conftest.out` | 8949 ac_err=`grep -v '^ *+' conftest.out` |
| 8935 if test -z "$ac_err"; then | 8950 if test -z "$ac_err"; then |
| 8936 rm -rf conftest* | 8951 rm -rf conftest* |
| 8937 eval "ac_cv_header_$ac_safe=yes" | 8952 eval "ac_cv_header_$ac_safe=yes" |
| 8938 else | 8953 else |
| 8958 fi | 8973 fi |
| 8959 | 8974 |
| 8960 | 8975 |
| 8961 | 8976 |
| 8962 echo "checking "for sound support"" 1>&6 | 8977 echo "checking "for sound support"" 1>&6 |
| 8963 echo "configure:8964: checking "for sound support"" >&5 | 8978 echo "configure:8979: checking "for sound support"" >&5 |
| 8964 case "$with_sound" in | 8979 case "$with_sound" in |
| 8965 native | both ) with_native_sound=yes;; | 8980 native | both ) with_native_sound=yes;; |
| 8966 nas | no ) with_native_sound=no;; | 8981 nas | no ) with_native_sound=no;; |
| 8967 esac | 8982 esac |
| 8968 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8983 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8969 | 8984 |
| 8970 if test "$with_native_sound" != "no"; then | 8985 if test "$with_native_sound" != "no"; then |
| 8971 if test -n "$native_sound_lib"; then | 8986 if test -n "$native_sound_lib"; then |
| 8972 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8987 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8973 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8988 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8974 echo "configure:8975: checking for multimedia/audio_device.h" >&5 | 8989 echo "configure:8990: checking for multimedia/audio_device.h" >&5 |
| 8975 | 8990 |
| 8976 cat > conftest.$ac_ext <<EOF | 8991 cat > conftest.$ac_ext <<EOF |
| 8977 #line 8978 "configure" | 8992 #line 8993 "configure" |
| 8978 #include "confdefs.h" | 8993 #include "confdefs.h" |
| 8979 #include <multimedia/audio_device.h> | 8994 #include <multimedia/audio_device.h> |
| 8980 EOF | 8995 EOF |
| 8981 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8982 { (eval echo configure:8983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8997 { (eval echo configure:8998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8983 ac_err=`grep -v '^ *+' conftest.out` | 8998 ac_err=`grep -v '^ *+' conftest.out` |
| 8984 if test -z "$ac_err"; then | 8999 if test -z "$ac_err"; then |
| 8985 rm -rf conftest* | 9000 rm -rf conftest* |
| 8986 eval "ac_cv_header_$ac_safe=yes" | 9001 eval "ac_cv_header_$ac_safe=yes" |
| 8987 else | 9002 else |
| 9025 case "$canonical" in | 9040 case "$canonical" in |
| 9026 *-sgi-* ) | 9041 *-sgi-* ) |
| 9027 if test -z "$native_sound_lib"; then | 9042 if test -z "$native_sound_lib"; then |
| 9028 | 9043 |
| 9029 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9044 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 9030 echo "configure:9031: checking for ALopenport in -laudio" >&5 | 9045 echo "configure:9046: checking for ALopenport in -laudio" >&5 |
| 9031 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9046 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 9032 | 9047 |
| 9033 xe_check_libs=" -laudio " | 9048 xe_check_libs=" -laudio " |
| 9034 cat > conftest.$ac_ext <<EOF | 9049 cat > conftest.$ac_ext <<EOF |
| 9035 #line 9036 "configure" | 9050 #line 9051 "configure" |
| 9036 #include "confdefs.h" | 9051 #include "confdefs.h" |
| 9037 /* Override any gcc2 internal prototype to avoid an error. */ | 9052 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9038 /* We use char because int might match the return type of a gcc2 | 9053 /* We use char because int might match the return type of a gcc2 |
| 9039 builtin and then its argument prototype would still apply. */ | 9054 builtin and then its argument prototype would still apply. */ |
| 9040 char ALopenport(); | 9055 char ALopenport(); |
| 9041 | 9056 |
| 9042 int main() { | 9057 int main() { |
| 9043 ALopenport() | 9058 ALopenport() |
| 9044 ; return 0; } | 9059 ; return 0; } |
| 9045 EOF | 9060 EOF |
| 9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9047 rm -rf conftest* | 9062 rm -rf conftest* |
| 9048 eval "ac_cv_lib_$ac_lib_var=yes" | 9063 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9049 else | 9064 else |
| 9050 echo "configure: failed program was:" >&5 | 9065 echo "configure: failed program was:" >&5 |
| 9051 cat conftest.$ac_ext >&5 | 9066 cat conftest.$ac_ext >&5 |
| 9072 fi ;; | 9087 fi ;; |
| 9073 hppa*-hp-hpux* ) | 9088 hppa*-hp-hpux* ) |
| 9074 if test -z "$native_sound_lib"; then | 9089 if test -z "$native_sound_lib"; then |
| 9075 | 9090 |
| 9076 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9091 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 9077 echo "configure:9078: checking for AOpenAudio in -lAlib" >&5 | 9092 echo "configure:9093: checking for AOpenAudio in -lAlib" >&5 |
| 9078 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9093 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 9079 | 9094 |
| 9080 xe_check_libs=" -lAlib " | 9095 xe_check_libs=" -lAlib " |
| 9081 cat > conftest.$ac_ext <<EOF | 9096 cat > conftest.$ac_ext <<EOF |
| 9082 #line 9083 "configure" | 9097 #line 9098 "configure" |
| 9083 #include "confdefs.h" | 9098 #include "confdefs.h" |
| 9084 /* Override any gcc2 internal prototype to avoid an error. */ | 9099 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9085 /* We use char because int might match the return type of a gcc2 | 9100 /* We use char because int might match the return type of a gcc2 |
| 9086 builtin and then its argument prototype would still apply. */ | 9101 builtin and then its argument prototype would still apply. */ |
| 9087 char AOpenAudio(); | 9102 char AOpenAudio(); |
| 9088 | 9103 |
| 9089 int main() { | 9104 int main() { |
| 9090 AOpenAudio() | 9105 AOpenAudio() |
| 9091 ; return 0; } | 9106 ; return 0; } |
| 9092 EOF | 9107 EOF |
| 9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9108 if { (eval echo configure:9109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9094 rm -rf conftest* | 9109 rm -rf conftest* |
| 9095 eval "ac_cv_lib_$ac_lib_var=yes" | 9110 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9096 else | 9111 else |
| 9097 echo "configure: failed program was:" >&5 | 9112 echo "configure: failed program was:" >&5 |
| 9098 cat conftest.$ac_ext >&5 | 9113 cat conftest.$ac_ext >&5 |
| 9126 | 9141 |
| 9127 if test -z "$sound_found"; then | 9142 if test -z "$sound_found"; then |
| 9128 for dir in "machine" "sys" "linux"; do | 9143 for dir in "machine" "sys" "linux"; do |
| 9129 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9144 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9130 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9145 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9131 echo "configure:9132: checking for ${dir}/soundcard.h" >&5 | 9146 echo "configure:9147: checking for ${dir}/soundcard.h" >&5 |
| 9132 | 9147 |
| 9133 cat > conftest.$ac_ext <<EOF | 9148 cat > conftest.$ac_ext <<EOF |
| 9134 #line 9135 "configure" | 9149 #line 9150 "configure" |
| 9135 #include "confdefs.h" | 9150 #include "confdefs.h" |
| 9136 #include <${dir}/soundcard.h> | 9151 #include <${dir}/soundcard.h> |
| 9137 EOF | 9152 EOF |
| 9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9154 { (eval echo configure:9155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9140 ac_err=`grep -v '^ *+' conftest.out` | 9155 ac_err=`grep -v '^ *+' conftest.out` |
| 9141 if test -z "$ac_err"; then | 9156 if test -z "$ac_err"; then |
| 9142 rm -rf conftest* | 9157 rm -rf conftest* |
| 9143 eval "ac_cv_header_$ac_safe=yes" | 9158 eval "ac_cv_header_$ac_safe=yes" |
| 9144 else | 9159 else |
| 9204 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9219 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9205 echo " xemacs will be linked with \"nas.o\"" | 9220 echo " xemacs will be linked with \"nas.o\"" |
| 9206 fi | 9221 fi |
| 9207 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9222 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9208 cat > conftest.$ac_ext <<EOF | 9223 cat > conftest.$ac_ext <<EOF |
| 9209 #line 9210 "configure" | 9224 #line 9225 "configure" |
| 9210 #include "confdefs.h" | 9225 #include "confdefs.h" |
| 9211 #include <audio/Xtutil.h> | 9226 #include <audio/Xtutil.h> |
| 9212 EOF | 9227 EOF |
| 9213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9214 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9229 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9231 | 9246 |
| 9232 test -z "$with_tty" && with_tty=yes | 9247 test -z "$with_tty" && with_tty=yes |
| 9233 | 9248 |
| 9234 if test "$with_tty" = "yes" ; then | 9249 if test "$with_tty" = "yes" ; then |
| 9235 echo "checking for TTY-related features" 1>&6 | 9250 echo "checking for TTY-related features" 1>&6 |
| 9236 echo "configure:9237: checking for TTY-related features" >&5 | 9251 echo "configure:9252: checking for TTY-related features" >&5 |
| 9237 { test "$extra_verbose" = "yes" && cat << \EOF | 9252 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9238 Defining HAVE_TTY | 9253 Defining HAVE_TTY |
| 9239 EOF | 9254 EOF |
| 9240 cat >> confdefs.h <<\EOF | 9255 cat >> confdefs.h <<\EOF |
| 9241 #define HAVE_TTY 1 | 9256 #define HAVE_TTY 1 |
| 9247 fi | 9262 fi |
| 9248 | 9263 |
| 9249 if test -z "$with_ncurses"; then | 9264 if test -z "$with_ncurses"; then |
| 9250 | 9265 |
| 9251 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9266 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9252 echo "configure:9253: checking for tgetent in -lncurses" >&5 | 9267 echo "configure:9268: checking for tgetent in -lncurses" >&5 |
| 9253 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9268 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9254 | 9269 |
| 9255 xe_check_libs=" -lncurses " | 9270 xe_check_libs=" -lncurses " |
| 9256 cat > conftest.$ac_ext <<EOF | 9271 cat > conftest.$ac_ext <<EOF |
| 9257 #line 9258 "configure" | 9272 #line 9273 "configure" |
| 9258 #include "confdefs.h" | 9273 #include "confdefs.h" |
| 9259 /* Override any gcc2 internal prototype to avoid an error. */ | 9274 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9260 /* We use char because int might match the return type of a gcc2 | 9275 /* We use char because int might match the return type of a gcc2 |
| 9261 builtin and then its argument prototype would still apply. */ | 9276 builtin and then its argument prototype would still apply. */ |
| 9262 char tgetent(); | 9277 char tgetent(); |
| 9263 | 9278 |
| 9264 int main() { | 9279 int main() { |
| 9265 tgetent() | 9280 tgetent() |
| 9266 ; return 0; } | 9281 ; return 0; } |
| 9267 EOF | 9282 EOF |
| 9268 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9283 if { (eval echo configure:9284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9269 rm -rf conftest* | 9284 rm -rf conftest* |
| 9270 eval "ac_cv_lib_$ac_lib_var=yes" | 9285 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9271 else | 9286 else |
| 9272 echo "configure: failed program was:" >&5 | 9287 echo "configure: failed program was:" >&5 |
| 9273 cat conftest.$ac_ext >&5 | 9288 cat conftest.$ac_ext >&5 |
| 9296 EOF | 9311 EOF |
| 9297 } | 9312 } |
| 9298 | 9313 |
| 9299 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9314 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9300 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9315 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9301 echo "configure:9302: checking for ncurses/curses.h" >&5 | 9316 echo "configure:9317: checking for ncurses/curses.h" >&5 |
| 9302 | 9317 |
| 9303 cat > conftest.$ac_ext <<EOF | 9318 cat > conftest.$ac_ext <<EOF |
| 9304 #line 9305 "configure" | 9319 #line 9320 "configure" |
| 9305 #include "confdefs.h" | 9320 #include "confdefs.h" |
| 9306 #include <ncurses/curses.h> | 9321 #include <ncurses/curses.h> |
| 9307 EOF | 9322 EOF |
| 9308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9309 { (eval echo configure:9310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9324 { (eval echo configure:9325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9310 ac_err=`grep -v '^ *+' conftest.out` | 9325 ac_err=`grep -v '^ *+' conftest.out` |
| 9311 if test -z "$ac_err"; then | 9326 if test -z "$ac_err"; then |
| 9312 rm -rf conftest* | 9327 rm -rf conftest* |
| 9313 eval "ac_cv_header_$ac_safe=yes" | 9328 eval "ac_cv_header_$ac_safe=yes" |
| 9314 else | 9329 else |
| 9326 echo "$ac_t""no" 1>&6 | 9341 echo "$ac_t""no" 1>&6 |
| 9327 fi | 9342 fi |
| 9328 | 9343 |
| 9329 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9344 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9330 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9345 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9331 echo "configure:9332: checking for ncurses/term.h" >&5 | 9346 echo "configure:9347: checking for ncurses/term.h" >&5 |
| 9332 | 9347 |
| 9333 cat > conftest.$ac_ext <<EOF | 9348 cat > conftest.$ac_ext <<EOF |
| 9334 #line 9335 "configure" | 9349 #line 9350 "configure" |
| 9335 #include "confdefs.h" | 9350 #include "confdefs.h" |
| 9336 #include <ncurses/term.h> | 9351 #include <ncurses/term.h> |
| 9337 EOF | 9352 EOF |
| 9338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9339 { (eval echo configure:9340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9354 { (eval echo configure:9355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9340 ac_err=`grep -v '^ *+' conftest.out` | 9355 ac_err=`grep -v '^ *+' conftest.out` |
| 9341 if test -z "$ac_err"; then | 9356 if test -z "$ac_err"; then |
| 9342 rm -rf conftest* | 9357 rm -rf conftest* |
| 9343 eval "ac_cv_header_$ac_safe=yes" | 9358 eval "ac_cv_header_$ac_safe=yes" |
| 9344 else | 9359 else |
| 9364 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9379 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9365 save_c_switch_site="$c_switch_site" | 9380 save_c_switch_site="$c_switch_site" |
| 9366 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9381 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9367 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9382 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9368 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9383 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9369 echo "configure:9370: checking for ncurses/curses.h" >&5 | 9384 echo "configure:9385: checking for ncurses/curses.h" >&5 |
| 9370 | 9385 |
| 9371 cat > conftest.$ac_ext <<EOF | 9386 cat > conftest.$ac_ext <<EOF |
| 9372 #line 9373 "configure" | 9387 #line 9388 "configure" |
| 9373 #include "confdefs.h" | 9388 #include "confdefs.h" |
| 9374 #include <ncurses/curses.h> | 9389 #include <ncurses/curses.h> |
| 9375 EOF | 9390 EOF |
| 9376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9377 { (eval echo configure:9378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9392 { (eval echo configure:9393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9378 ac_err=`grep -v '^ *+' conftest.out` | 9393 ac_err=`grep -v '^ *+' conftest.out` |
| 9379 if test -z "$ac_err"; then | 9394 if test -z "$ac_err"; then |
| 9380 rm -rf conftest* | 9395 rm -rf conftest* |
| 9381 eval "ac_cv_header_$ac_safe=yes" | 9396 eval "ac_cv_header_$ac_safe=yes" |
| 9382 else | 9397 else |
| 9407 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9422 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9408 else | 9423 else |
| 9409 for lib in curses termlib termcap; do | 9424 for lib in curses termlib termcap; do |
| 9410 | 9425 |
| 9411 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9426 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9412 echo "configure:9413: checking for tgetent in -l$lib" >&5 | 9427 echo "configure:9428: checking for tgetent in -l$lib" >&5 |
| 9413 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9428 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9414 | 9429 |
| 9415 xe_check_libs=" -l$lib " | 9430 xe_check_libs=" -l$lib " |
| 9416 cat > conftest.$ac_ext <<EOF | 9431 cat > conftest.$ac_ext <<EOF |
| 9417 #line 9418 "configure" | 9432 #line 9433 "configure" |
| 9418 #include "confdefs.h" | 9433 #include "confdefs.h" |
| 9419 /* Override any gcc2 internal prototype to avoid an error. */ | 9434 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9420 /* We use char because int might match the return type of a gcc2 | 9435 /* We use char because int might match the return type of a gcc2 |
| 9421 builtin and then its argument prototype would still apply. */ | 9436 builtin and then its argument prototype would still apply. */ |
| 9422 char tgetent(); | 9437 char tgetent(); |
| 9423 | 9438 |
| 9424 int main() { | 9439 int main() { |
| 9425 tgetent() | 9440 tgetent() |
| 9426 ; return 0; } | 9441 ; return 0; } |
| 9427 EOF | 9442 EOF |
| 9428 if { (eval echo configure:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9443 if { (eval echo configure:9444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9429 rm -rf conftest* | 9444 rm -rf conftest* |
| 9430 eval "ac_cv_lib_$ac_lib_var=yes" | 9445 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9431 else | 9446 else |
| 9432 echo "configure: failed program was:" >&5 | 9447 echo "configure: failed program was:" >&5 |
| 9433 cat conftest.$ac_ext >&5 | 9448 cat conftest.$ac_ext >&5 |
| 9454 if test -n "$libs_termcap"; then | 9469 if test -n "$libs_termcap"; then |
| 9455 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9470 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9456 else | 9471 else |
| 9457 | 9472 |
| 9458 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9473 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9459 echo "configure:9460: checking for tgetent in -lcurses" >&5 | 9474 echo "configure:9475: checking for tgetent in -lcurses" >&5 |
| 9460 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9475 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9461 | 9476 |
| 9462 xe_check_libs=" -lcurses " | 9477 xe_check_libs=" -lcurses " |
| 9463 cat > conftest.$ac_ext <<EOF | 9478 cat > conftest.$ac_ext <<EOF |
| 9464 #line 9465 "configure" | 9479 #line 9480 "configure" |
| 9465 #include "confdefs.h" | 9480 #include "confdefs.h" |
| 9466 /* Override any gcc2 internal prototype to avoid an error. */ | 9481 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9467 /* We use char because int might match the return type of a gcc2 | 9482 /* We use char because int might match the return type of a gcc2 |
| 9468 builtin and then its argument prototype would still apply. */ | 9483 builtin and then its argument prototype would still apply. */ |
| 9469 char tgetent(); | 9484 char tgetent(); |
| 9470 | 9485 |
| 9471 int main() { | 9486 int main() { |
| 9472 tgetent() | 9487 tgetent() |
| 9473 ; return 0; } | 9488 ; return 0; } |
| 9474 EOF | 9489 EOF |
| 9475 if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9490 if { (eval echo configure:9491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9476 rm -rf conftest* | 9491 rm -rf conftest* |
| 9477 eval "ac_cv_lib_$ac_lib_var=yes" | 9492 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9478 else | 9493 else |
| 9479 echo "configure: failed program was:" >&5 | 9494 echo "configure: failed program was:" >&5 |
| 9480 cat conftest.$ac_ext >&5 | 9495 cat conftest.$ac_ext >&5 |
| 9488 echo "$ac_t""yes" 1>&6 | 9503 echo "$ac_t""yes" 1>&6 |
| 9489 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9504 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9490 else | 9505 else |
| 9491 echo "$ac_t""no" 1>&6 | 9506 echo "$ac_t""no" 1>&6 |
| 9492 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9507 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9493 echo "configure:9494: checking for tgetent in -ltermcap" >&5 | 9508 echo "configure:9509: checking for tgetent in -ltermcap" >&5 |
| 9494 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9509 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9495 | 9510 |
| 9496 xe_check_libs=" -ltermcap " | 9511 xe_check_libs=" -ltermcap " |
| 9497 cat > conftest.$ac_ext <<EOF | 9512 cat > conftest.$ac_ext <<EOF |
| 9498 #line 9499 "configure" | 9513 #line 9514 "configure" |
| 9499 #include "confdefs.h" | 9514 #include "confdefs.h" |
| 9500 /* Override any gcc2 internal prototype to avoid an error. */ | 9515 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9501 /* We use char because int might match the return type of a gcc2 | 9516 /* We use char because int might match the return type of a gcc2 |
| 9502 builtin and then its argument prototype would still apply. */ | 9517 builtin and then its argument prototype would still apply. */ |
| 9503 char tgetent(); | 9518 char tgetent(); |
| 9504 | 9519 |
| 9505 int main() { | 9520 int main() { |
| 9506 tgetent() | 9521 tgetent() |
| 9507 ; return 0; } | 9522 ; return 0; } |
| 9508 EOF | 9523 EOF |
| 9509 if { (eval echo configure:9510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9524 if { (eval echo configure:9525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9510 rm -rf conftest* | 9525 rm -rf conftest* |
| 9511 eval "ac_cv_lib_$ac_lib_var=yes" | 9526 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9512 else | 9527 else |
| 9513 echo "configure: failed program was:" >&5 | 9528 echo "configure: failed program was:" >&5 |
| 9514 cat conftest.$ac_ext >&5 | 9529 cat conftest.$ac_ext >&5 |
| 9552 } | 9567 } |
| 9553 | 9568 |
| 9554 | 9569 |
| 9555 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9570 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9556 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9571 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9557 echo "configure:9558: checking for gpm.h" >&5 | 9572 echo "configure:9573: checking for gpm.h" >&5 |
| 9558 | 9573 |
| 9559 cat > conftest.$ac_ext <<EOF | 9574 cat > conftest.$ac_ext <<EOF |
| 9560 #line 9561 "configure" | 9575 #line 9576 "configure" |
| 9561 #include "confdefs.h" | 9576 #include "confdefs.h" |
| 9562 #include <gpm.h> | 9577 #include <gpm.h> |
| 9563 EOF | 9578 EOF |
| 9564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9565 { (eval echo configure:9566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9580 { (eval echo configure:9581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9566 ac_err=`grep -v '^ *+' conftest.out` | 9581 ac_err=`grep -v '^ *+' conftest.out` |
| 9567 if test -z "$ac_err"; then | 9582 if test -z "$ac_err"; then |
| 9568 rm -rf conftest* | 9583 rm -rf conftest* |
| 9569 eval "ac_cv_header_$ac_safe=yes" | 9584 eval "ac_cv_header_$ac_safe=yes" |
| 9570 else | 9585 else |
| 9583 with_gpm=no | 9598 with_gpm=no |
| 9584 fi | 9599 fi |
| 9585 } | 9600 } |
| 9586 test -z "$with_gpm" && { | 9601 test -z "$with_gpm" && { |
| 9587 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9602 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9588 echo "configure:9589: checking for Gpm_Open in -lgpm" >&5 | 9603 echo "configure:9604: checking for Gpm_Open in -lgpm" >&5 |
| 9589 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9604 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9590 | 9605 |
| 9591 xe_check_libs=" -lgpm " | 9606 xe_check_libs=" -lgpm " |
| 9592 cat > conftest.$ac_ext <<EOF | 9607 cat > conftest.$ac_ext <<EOF |
| 9593 #line 9594 "configure" | 9608 #line 9609 "configure" |
| 9594 #include "confdefs.h" | 9609 #include "confdefs.h" |
| 9595 /* Override any gcc2 internal prototype to avoid an error. */ | 9610 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9596 /* We use char because int might match the return type of a gcc2 | 9611 /* We use char because int might match the return type of a gcc2 |
| 9597 builtin and then its argument prototype would still apply. */ | 9612 builtin and then its argument prototype would still apply. */ |
| 9598 char Gpm_Open(); | 9613 char Gpm_Open(); |
| 9599 | 9614 |
| 9600 int main() { | 9615 int main() { |
| 9601 Gpm_Open() | 9616 Gpm_Open() |
| 9602 ; return 0; } | 9617 ; return 0; } |
| 9603 EOF | 9618 EOF |
| 9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9619 if { (eval echo configure:9620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9605 rm -rf conftest* | 9620 rm -rf conftest* |
| 9606 eval "ac_cv_lib_$ac_lib_var=yes" | 9621 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9607 else | 9622 else |
| 9608 echo "configure: failed program was:" >&5 | 9623 echo "configure: failed program was:" >&5 |
| 9609 cat conftest.$ac_ext >&5 | 9624 cat conftest.$ac_ext >&5 |
| 9648 echo " xemacs will be linked with \"event-unixoid.o\"" | 9663 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9649 fi | 9664 fi |
| 9650 | 9665 |
| 9651 | 9666 |
| 9652 echo "checking for database support" 1>&6 | 9667 echo "checking for database support" 1>&6 |
| 9653 echo "configure:9654: checking for database support" >&5 | 9668 echo "configure:9669: checking for database support" >&5 |
| 9654 | 9669 |
| 9655 if test "$with_database_gnudbm" != "no"; then | 9670 if test "$with_database_gnudbm" != "no"; then |
| 9656 | 9671 |
| 9657 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9672 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9658 echo "configure:9659: checking for dbm_open in -lgdbm" >&5 | 9673 echo "configure:9674: checking for dbm_open in -lgdbm" >&5 |
| 9659 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9674 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9660 | 9675 |
| 9661 xe_check_libs=" -lgdbm " | 9676 xe_check_libs=" -lgdbm " |
| 9662 cat > conftest.$ac_ext <<EOF | 9677 cat > conftest.$ac_ext <<EOF |
| 9663 #line 9664 "configure" | 9678 #line 9679 "configure" |
| 9664 #include "confdefs.h" | 9679 #include "confdefs.h" |
| 9665 /* Override any gcc2 internal prototype to avoid an error. */ | 9680 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9666 /* We use char because int might match the return type of a gcc2 | 9681 /* We use char because int might match the return type of a gcc2 |
| 9667 builtin and then its argument prototype would still apply. */ | 9682 builtin and then its argument prototype would still apply. */ |
| 9668 char dbm_open(); | 9683 char dbm_open(); |
| 9669 | 9684 |
| 9670 int main() { | 9685 int main() { |
| 9671 dbm_open() | 9686 dbm_open() |
| 9672 ; return 0; } | 9687 ; return 0; } |
| 9673 EOF | 9688 EOF |
| 9674 if { (eval echo configure:9675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9675 rm -rf conftest* | 9690 rm -rf conftest* |
| 9676 eval "ac_cv_lib_$ac_lib_var=yes" | 9691 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9677 else | 9692 else |
| 9678 echo "configure: failed program was:" >&5 | 9693 echo "configure: failed program was:" >&5 |
| 9679 cat conftest.$ac_ext >&5 | 9694 cat conftest.$ac_ext >&5 |
| 9691 fi | 9706 fi |
| 9692 | 9707 |
| 9693 | 9708 |
| 9694 if test "$with_database_gnudbm" != "yes"; then | 9709 if test "$with_database_gnudbm" != "yes"; then |
| 9695 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9710 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9696 echo "configure:9697: checking for dbm_open" >&5 | 9711 echo "configure:9712: checking for dbm_open" >&5 |
| 9697 | 9712 |
| 9698 cat > conftest.$ac_ext <<EOF | 9713 cat > conftest.$ac_ext <<EOF |
| 9699 #line 9700 "configure" | 9714 #line 9715 "configure" |
| 9700 #include "confdefs.h" | 9715 #include "confdefs.h" |
| 9701 /* System header to define __stub macros and hopefully few prototypes, | 9716 /* System header to define __stub macros and hopefully few prototypes, |
| 9702 which can conflict with char dbm_open(); below. */ | 9717 which can conflict with char dbm_open(); below. */ |
| 9703 #include <assert.h> | 9718 #include <assert.h> |
| 9704 /* Override any gcc2 internal prototype to avoid an error. */ | 9719 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9717 dbm_open(); | 9732 dbm_open(); |
| 9718 #endif | 9733 #endif |
| 9719 | 9734 |
| 9720 ; return 0; } | 9735 ; return 0; } |
| 9721 EOF | 9736 EOF |
| 9722 if { (eval echo configure:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9737 if { (eval echo configure:9738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9723 rm -rf conftest* | 9738 rm -rf conftest* |
| 9724 eval "ac_cv_func_dbm_open=yes" | 9739 eval "ac_cv_func_dbm_open=yes" |
| 9725 else | 9740 else |
| 9726 echo "configure: failed program was:" >&5 | 9741 echo "configure: failed program was:" >&5 |
| 9727 cat conftest.$ac_ext >&5 | 9742 cat conftest.$ac_ext >&5 |
| 9753 fi | 9768 fi |
| 9754 fi | 9769 fi |
| 9755 | 9770 |
| 9756 if test "$with_database_dbm" != "no"; then | 9771 if test "$with_database_dbm" != "no"; then |
| 9757 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9772 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9758 echo "configure:9759: checking for dbm_open" >&5 | 9773 echo "configure:9774: checking for dbm_open" >&5 |
| 9759 | 9774 |
| 9760 cat > conftest.$ac_ext <<EOF | 9775 cat > conftest.$ac_ext <<EOF |
| 9761 #line 9762 "configure" | 9776 #line 9777 "configure" |
| 9762 #include "confdefs.h" | 9777 #include "confdefs.h" |
| 9763 /* System header to define __stub macros and hopefully few prototypes, | 9778 /* System header to define __stub macros and hopefully few prototypes, |
| 9764 which can conflict with char dbm_open(); below. */ | 9779 which can conflict with char dbm_open(); below. */ |
| 9765 #include <assert.h> | 9780 #include <assert.h> |
| 9766 /* Override any gcc2 internal prototype to avoid an error. */ | 9781 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9779 dbm_open(); | 9794 dbm_open(); |
| 9780 #endif | 9795 #endif |
| 9781 | 9796 |
| 9782 ; return 0; } | 9797 ; return 0; } |
| 9783 EOF | 9798 EOF |
| 9784 if { (eval echo configure:9785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9785 rm -rf conftest* | 9800 rm -rf conftest* |
| 9786 eval "ac_cv_func_dbm_open=yes" | 9801 eval "ac_cv_func_dbm_open=yes" |
| 9787 else | 9802 else |
| 9788 echo "configure: failed program was:" >&5 | 9803 echo "configure: failed program was:" >&5 |
| 9789 cat conftest.$ac_ext >&5 | 9804 cat conftest.$ac_ext >&5 |
| 9800 fi | 9815 fi |
| 9801 | 9816 |
| 9802 if test "$need_libdbm" != "no"; then | 9817 if test "$need_libdbm" != "no"; then |
| 9803 | 9818 |
| 9804 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9819 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9805 echo "configure:9806: checking for dbm_open in -ldbm" >&5 | 9820 echo "configure:9821: checking for dbm_open in -ldbm" >&5 |
| 9806 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9821 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9807 | 9822 |
| 9808 xe_check_libs=" -ldbm " | 9823 xe_check_libs=" -ldbm " |
| 9809 cat > conftest.$ac_ext <<EOF | 9824 cat > conftest.$ac_ext <<EOF |
| 9810 #line 9811 "configure" | 9825 #line 9826 "configure" |
| 9811 #include "confdefs.h" | 9826 #include "confdefs.h" |
| 9812 /* Override any gcc2 internal prototype to avoid an error. */ | 9827 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9813 /* We use char because int might match the return type of a gcc2 | 9828 /* We use char because int might match the return type of a gcc2 |
| 9814 builtin and then its argument prototype would still apply. */ | 9829 builtin and then its argument prototype would still apply. */ |
| 9815 char dbm_open(); | 9830 char dbm_open(); |
| 9816 | 9831 |
| 9817 int main() { | 9832 int main() { |
| 9818 dbm_open() | 9833 dbm_open() |
| 9819 ; return 0; } | 9834 ; return 0; } |
| 9820 EOF | 9835 EOF |
| 9821 if { (eval echo configure:9822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9822 rm -rf conftest* | 9837 rm -rf conftest* |
| 9823 eval "ac_cv_lib_$ac_lib_var=yes" | 9838 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9824 else | 9839 else |
| 9825 echo "configure: failed program was:" >&5 | 9840 echo "configure: failed program was:" >&5 |
| 9826 cat conftest.$ac_ext >&5 | 9841 cat conftest.$ac_ext >&5 |
| 9853 fi | 9868 fi |
| 9854 fi | 9869 fi |
| 9855 | 9870 |
| 9856 if test "$with_database_berkdb" != "no"; then | 9871 if test "$with_database_berkdb" != "no"; then |
| 9857 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9872 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9858 echo "configure:9859: checking for dbopen" >&5 | 9873 echo "configure:9874: checking for dbopen" >&5 |
| 9859 | 9874 |
| 9860 cat > conftest.$ac_ext <<EOF | 9875 cat > conftest.$ac_ext <<EOF |
| 9861 #line 9862 "configure" | 9876 #line 9877 "configure" |
| 9862 #include "confdefs.h" | 9877 #include "confdefs.h" |
| 9863 /* System header to define __stub macros and hopefully few prototypes, | 9878 /* System header to define __stub macros and hopefully few prototypes, |
| 9864 which can conflict with char dbopen(); below. */ | 9879 which can conflict with char dbopen(); below. */ |
| 9865 #include <assert.h> | 9880 #include <assert.h> |
| 9866 /* Override any gcc2 internal prototype to avoid an error. */ | 9881 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9879 dbopen(); | 9894 dbopen(); |
| 9880 #endif | 9895 #endif |
| 9881 | 9896 |
| 9882 ; return 0; } | 9897 ; return 0; } |
| 9883 EOF | 9898 EOF |
| 9884 if { (eval echo configure:9885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9899 if { (eval echo configure:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9885 rm -rf conftest* | 9900 rm -rf conftest* |
| 9886 eval "ac_cv_func_dbopen=yes" | 9901 eval "ac_cv_func_dbopen=yes" |
| 9887 else | 9902 else |
| 9888 echo "configure: failed program was:" >&5 | 9903 echo "configure: failed program was:" >&5 |
| 9889 cat conftest.$ac_ext >&5 | 9904 cat conftest.$ac_ext >&5 |
| 9900 fi | 9915 fi |
| 9901 | 9916 |
| 9902 if test "$need_libdb" != "no"; then | 9917 if test "$need_libdb" != "no"; then |
| 9903 | 9918 |
| 9904 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9919 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9905 echo "configure:9906: checking for dbopen in -ldb" >&5 | 9920 echo "configure:9921: checking for dbopen in -ldb" >&5 |
| 9906 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9921 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9907 | 9922 |
| 9908 xe_check_libs=" -ldb " | 9923 xe_check_libs=" -ldb " |
| 9909 cat > conftest.$ac_ext <<EOF | 9924 cat > conftest.$ac_ext <<EOF |
| 9910 #line 9911 "configure" | 9925 #line 9926 "configure" |
| 9911 #include "confdefs.h" | 9926 #include "confdefs.h" |
| 9912 /* Override any gcc2 internal prototype to avoid an error. */ | 9927 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9913 /* We use char because int might match the return type of a gcc2 | 9928 /* We use char because int might match the return type of a gcc2 |
| 9914 builtin and then its argument prototype would still apply. */ | 9929 builtin and then its argument prototype would still apply. */ |
| 9915 char dbopen(); | 9930 char dbopen(); |
| 9916 | 9931 |
| 9917 int main() { | 9932 int main() { |
| 9918 dbopen() | 9933 dbopen() |
| 9919 ; return 0; } | 9934 ; return 0; } |
| 9920 EOF | 9935 EOF |
| 9921 if { (eval echo configure:9922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9936 if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9922 rm -rf conftest* | 9937 rm -rf conftest* |
| 9923 eval "ac_cv_lib_$ac_lib_var=yes" | 9938 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9924 else | 9939 else |
| 9925 echo "configure: failed program was:" >&5 | 9940 echo "configure: failed program was:" >&5 |
| 9926 cat conftest.$ac_ext >&5 | 9941 cat conftest.$ac_ext >&5 |
| 9940 | 9955 |
| 9941 fi | 9956 fi |
| 9942 if test "$with_database_berkdb" = "yes"; then | 9957 if test "$with_database_berkdb" = "yes"; then |
| 9943 for path in "db/db.h" "db.h"; do | 9958 for path in "db/db.h" "db.h"; do |
| 9944 cat > conftest.$ac_ext <<EOF | 9959 cat > conftest.$ac_ext <<EOF |
| 9945 #line 9946 "configure" | 9960 #line 9961 "configure" |
| 9946 #include "confdefs.h" | 9961 #include "confdefs.h" |
| 9947 #ifdef HAVE_INTTYPES_H | 9962 #ifdef HAVE_INTTYPES_H |
| 9948 #define __BIT_TYPES_DEFINED__ | 9963 #define __BIT_TYPES_DEFINED__ |
| 9949 #include <inttypes.h> | 9964 #include <inttypes.h> |
| 9950 typedef uint8_t u_int8_t; | 9965 typedef uint8_t u_int8_t; |
| 9958 | 9973 |
| 9959 int main() { | 9974 int main() { |
| 9960 | 9975 |
| 9961 ; return 0; } | 9976 ; return 0; } |
| 9962 EOF | 9977 EOF |
| 9963 if { (eval echo configure:9964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9978 if { (eval echo configure:9979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9964 rm -rf conftest* | 9979 rm -rf conftest* |
| 9965 db_h_path="$path"; break | 9980 db_h_path="$path"; break |
| 9966 else | 9981 else |
| 9967 echo "configure: failed program was:" >&5 | 9982 echo "configure: failed program was:" >&5 |
| 9968 cat conftest.$ac_ext >&5 | 9983 cat conftest.$ac_ext >&5 |
| 10010 fi | 10025 fi |
| 10011 | 10026 |
| 10012 if test "$with_socks" = "yes"; then | 10027 if test "$with_socks" = "yes"; then |
| 10013 | 10028 |
| 10014 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10029 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 10015 echo "configure:10016: checking for SOCKSinit in -lsocks" >&5 | 10030 echo "configure:10031: checking for SOCKSinit in -lsocks" >&5 |
| 10016 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10031 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 10017 | 10032 |
| 10018 xe_check_libs=" -lsocks " | 10033 xe_check_libs=" -lsocks " |
| 10019 cat > conftest.$ac_ext <<EOF | 10034 cat > conftest.$ac_ext <<EOF |
| 10020 #line 10021 "configure" | 10035 #line 10036 "configure" |
| 10021 #include "confdefs.h" | 10036 #include "confdefs.h" |
| 10022 /* Override any gcc2 internal prototype to avoid an error. */ | 10037 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10023 /* We use char because int might match the return type of a gcc2 | 10038 /* We use char because int might match the return type of a gcc2 |
| 10024 builtin and then its argument prototype would still apply. */ | 10039 builtin and then its argument prototype would still apply. */ |
| 10025 char SOCKSinit(); | 10040 char SOCKSinit(); |
| 10026 | 10041 |
| 10027 int main() { | 10042 int main() { |
| 10028 SOCKSinit() | 10043 SOCKSinit() |
| 10029 ; return 0; } | 10044 ; return 0; } |
| 10030 EOF | 10045 EOF |
| 10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10032 rm -rf conftest* | 10047 rm -rf conftest* |
| 10033 eval "ac_cv_lib_$ac_lib_var=yes" | 10048 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10034 else | 10049 else |
| 10035 echo "configure: failed program was:" >&5 | 10050 echo "configure: failed program was:" >&5 |
| 10036 cat conftest.$ac_ext >&5 | 10051 cat conftest.$ac_ext >&5 |
