Mercurial > hg > xemacs-beta
comparison configure @ 261:405dd6d1825b r20-5b29
Import from CVS: tag r20-5b29
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:23:51 +0200 |
| parents | 11cf20601dec |
| children | 727739f917cb |
comparison
equal
deleted
inserted
replaced
| 260:052205f7dd5f | 261:405dd6d1825b |
|---|---|
| 242 with_x11='' | 242 with_x11='' |
| 243 with_gung='no' | 243 with_gung='no' |
| 244 with_minimal_tagbits='no' | 244 with_minimal_tagbits='no' |
| 245 rel_alloc='default' | 245 rel_alloc='default' |
| 246 with_system_malloc='default' | 246 with_system_malloc='default' |
| 247 with_dlmalloc='default' | |
| 247 native_sound_lib='' | 248 native_sound_lib='' |
| 248 use_assertions="yes" | 249 use_assertions="yes" |
| 249 with_gif="" | 250 with_gif="" |
| 250 with_toolbars="" | 251 with_toolbars="" |
| 251 with_tty="" | 252 with_tty="" |
| 382 fi | 383 fi |
| 383 eval "$opt=\"$val\"" | 384 eval "$opt=\"$val\"" |
| 384 ;; | 385 ;; |
| 385 | 386 |
| 386 rel_alloc | \ | 387 rel_alloc | \ |
| 388 with_dlmalloc | \ | |
| 387 with_debug_malloc | use_debug_malloc | \ | 389 with_debug_malloc | use_debug_malloc | \ |
| 388 with_system_malloc | use_system_malloc ) | 390 with_system_malloc | use_system_malloc ) |
| 389 case "$val" in | 391 case "$val" in |
| 390 y | ye | yes ) val=yes ;; | 392 y | ye | yes ) val=yes ;; |
| 391 n | no ) val=no ;; | 393 n | no ) val=no ;; |
| 637 ;; | 639 ;; |
| 638 esac | 640 esac |
| 639 | 641 |
| 640 if test -z "$configuration"; then | 642 if test -z "$configuration"; then |
| 641 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 643 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 642 echo "configure:643: checking "host system type"" >&5 | 644 echo "configure:645: checking "host system type"" >&5 |
| 643 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 645 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 644 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 646 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 645 echo "$ac_t""$configuration" 1>&6 | 647 echo "$ac_t""$configuration" 1>&6 |
| 646 else | 648 else |
| 647 echo "$ac_t""unknown" 1>&6 | 649 echo "$ac_t""unknown" 1>&6 |
| 651 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 653 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 652 fi | 654 fi |
| 653 fi | 655 fi |
| 654 | 656 |
| 655 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 657 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 656 echo "configure:657: checking whether ln -s works" >&5 | 658 echo "configure:659: checking whether ln -s works" >&5 |
| 657 | 659 |
| 658 rm -f conftestdata | 660 rm -f conftestdata |
| 659 if ln -s X conftestdata 2>/dev/null | 661 if ln -s X conftestdata 2>/dev/null |
| 660 then | 662 then |
| 661 rm -f conftestdata | 663 rm -f conftestdata |
| 828 } | 830 } |
| 829 | 831 |
| 830 | 832 |
| 831 | 833 |
| 832 echo "checking "the configuration name"" 1>&6 | 834 echo "checking "the configuration name"" 1>&6 |
| 833 echo "configure:834: checking "the configuration name"" >&5 | 835 echo "configure:836: checking "the configuration name"" >&5 |
| 834 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 836 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 835 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 837 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 836 exit $? | 838 exit $? |
| 837 fi | 839 fi |
| 838 | 840 |
| 1275 extra_objs="$extra_objs filelock.o" && if test "$extra_verbose" = "yes"; then | 1277 extra_objs="$extra_objs filelock.o" && if test "$extra_verbose" = "yes"; then |
| 1276 echo " xemacs will be linked with \"filelock.o\"" | 1278 echo " xemacs will be linked with \"filelock.o\"" |
| 1277 fi | 1279 fi |
| 1278 fi | 1280 fi |
| 1279 | 1281 |
| 1280 if test "$with_shlib" = "yes"; then | |
| 1281 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 1282 Defining HAVE_SHLIB | |
| 1283 EOF | |
| 1284 cat >> confdefs.h <<\EOF | |
| 1285 #define HAVE_SHLIB 1 | |
| 1286 EOF | |
| 1287 } | |
| 1288 | |
| 1289 extra_objs="$extra_objs dlopen.o" && if test "$extra_verbose" = "yes"; then | |
| 1290 echo " xemacs will be linked with \"dlopen.o\"" | |
| 1291 fi | |
| 1292 fi | |
| 1293 | 1282 |
| 1294 test -n "$compiler" && CC="$compiler" | 1283 test -n "$compiler" && CC="$compiler" |
| 1295 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac | 1284 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac |
| 1296 fi | 1285 fi |
| 1297 | 1286 |
| 1299 xe_save_CFLAGS="$CFLAGS" | 1288 xe_save_CFLAGS="$CFLAGS" |
| 1300 | 1289 |
| 1301 # Extract the first word of "gcc", so it can be a program name with args. | 1290 # Extract the first word of "gcc", so it can be a program name with args. |
| 1302 set dummy gcc; ac_word=$2 | 1291 set dummy gcc; ac_word=$2 |
| 1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1304 echo "configure:1305: checking for $ac_word" >&5 | 1293 echo "configure:1294: checking for $ac_word" >&5 |
| 1305 | 1294 |
| 1306 if test -n "$CC"; then | 1295 if test -n "$CC"; then |
| 1307 ac_cv_prog_CC="$CC" # Let the user override the test. | 1296 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1308 else | 1297 else |
| 1309 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1325 | 1314 |
| 1326 if test -z "$CC"; then | 1315 if test -z "$CC"; then |
| 1327 # Extract the first word of "cc", so it can be a program name with args. | 1316 # Extract the first word of "cc", so it can be a program name with args. |
| 1328 set dummy cc; ac_word=$2 | 1317 set dummy cc; ac_word=$2 |
| 1329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1330 echo "configure:1331: checking for $ac_word" >&5 | 1319 echo "configure:1320: checking for $ac_word" >&5 |
| 1331 | 1320 |
| 1332 if test -n "$CC"; then | 1321 if test -n "$CC"; then |
| 1333 ac_cv_prog_CC="$CC" # Let the user override the test. | 1322 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1334 else | 1323 else |
| 1335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1370 | 1359 |
| 1371 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1360 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1372 fi | 1361 fi |
| 1373 | 1362 |
| 1374 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1363 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1375 echo "configure:1376: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1364 echo "configure:1365: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1376 | 1365 |
| 1377 ac_ext=c | 1366 ac_ext=c |
| 1378 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1367 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1379 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1368 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1380 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1369 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1382 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1371 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1383 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1372 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1384 cross_compiling=no | 1373 cross_compiling=no |
| 1385 | 1374 |
| 1386 cat > conftest.$ac_ext <<EOF | 1375 cat > conftest.$ac_ext <<EOF |
| 1387 #line 1388 "configure" | 1376 #line 1377 "configure" |
| 1388 #include "confdefs.h" | 1377 #include "confdefs.h" |
| 1389 main(){return(0);} | 1378 main(){return(0);} |
| 1390 EOF | 1379 EOF |
| 1391 if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1380 if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1392 ac_cv_prog_cc_works=yes | 1381 ac_cv_prog_cc_works=yes |
| 1393 # If we can't run a trivial program, we are probably using a cross compiler. | 1382 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1394 if (./conftest; exit) 2>/dev/null; then | 1383 if (./conftest; exit) 2>/dev/null; then |
| 1395 ac_cv_prog_cc_cross=no | 1384 ac_cv_prog_cc_cross=no |
| 1396 else | 1385 else |
| 1406 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1395 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1407 if test $ac_cv_prog_cc_works = no; then | 1396 if test $ac_cv_prog_cc_works = no; then |
| 1408 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1397 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1409 fi | 1398 fi |
| 1410 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1399 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1411 echo "configure:1412: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1400 echo "configure:1401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1412 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1401 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1413 cross_compiling=$ac_cv_prog_cc_cross | 1402 cross_compiling=$ac_cv_prog_cc_cross |
| 1414 | 1403 |
| 1415 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1404 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1416 echo "configure:1417: checking whether we are using GNU C" >&5 | 1405 echo "configure:1406: checking whether we are using GNU C" >&5 |
| 1417 | 1406 |
| 1418 cat > conftest.c <<EOF | 1407 cat > conftest.c <<EOF |
| 1419 #ifdef __GNUC__ | 1408 #ifdef __GNUC__ |
| 1420 yes; | 1409 yes; |
| 1421 #endif | 1410 #endif |
| 1422 EOF | 1411 EOF |
| 1423 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1424 ac_cv_prog_gcc=yes | 1413 ac_cv_prog_gcc=yes |
| 1425 else | 1414 else |
| 1426 ac_cv_prog_gcc=no | 1415 ac_cv_prog_gcc=no |
| 1427 fi | 1416 fi |
| 1428 | 1417 |
| 1432 GCC=yes | 1421 GCC=yes |
| 1433 ac_test_CFLAGS="${CFLAGS+set}" | 1422 ac_test_CFLAGS="${CFLAGS+set}" |
| 1434 ac_save_CFLAGS="$CFLAGS" | 1423 ac_save_CFLAGS="$CFLAGS" |
| 1435 CFLAGS= | 1424 CFLAGS= |
| 1436 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1425 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1437 echo "configure:1438: checking whether ${CC-cc} accepts -g" >&5 | 1426 echo "configure:1427: checking whether ${CC-cc} accepts -g" >&5 |
| 1438 | 1427 |
| 1439 echo 'void f(){}' > conftest.c | 1428 echo 'void f(){}' > conftest.c |
| 1440 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1429 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1441 ac_cv_prog_cc_g=yes | 1430 ac_cv_prog_cc_g=yes |
| 1442 else | 1431 else |
| 1461 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1450 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1462 CC=${NON_GNU_CC-cc} | 1451 CC=${NON_GNU_CC-cc} |
| 1463 # Extract the first word of "gcc", so it can be a program name with args. | 1452 # Extract the first word of "gcc", so it can be a program name with args. |
| 1464 set dummy gcc; ac_word=$2 | 1453 set dummy gcc; ac_word=$2 |
| 1465 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1466 echo "configure:1467: checking for $ac_word" >&5 | 1455 echo "configure:1456: checking for $ac_word" >&5 |
| 1467 | 1456 |
| 1468 if test -n "$CC"; then | 1457 if test -n "$CC"; then |
| 1469 ac_cv_prog_CC="$CC" # Let the user override the test. | 1458 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1470 else | 1459 else |
| 1471 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1460 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1487 | 1476 |
| 1488 if test -z "$CC"; then | 1477 if test -z "$CC"; then |
| 1489 # Extract the first word of "cc", so it can be a program name with args. | 1478 # Extract the first word of "cc", so it can be a program name with args. |
| 1490 set dummy cc; ac_word=$2 | 1479 set dummy cc; ac_word=$2 |
| 1491 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1492 echo "configure:1493: checking for $ac_word" >&5 | 1481 echo "configure:1482: checking for $ac_word" >&5 |
| 1493 | 1482 |
| 1494 if test -n "$CC"; then | 1483 if test -n "$CC"; then |
| 1495 ac_cv_prog_CC="$CC" # Let the user override the test. | 1484 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1496 else | 1485 else |
| 1497 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1532 | 1521 |
| 1533 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1522 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1534 fi | 1523 fi |
| 1535 | 1524 |
| 1536 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1525 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1537 echo "configure:1538: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1526 echo "configure:1527: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1538 | 1527 |
| 1539 ac_ext=c | 1528 ac_ext=c |
| 1540 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1529 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1541 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1530 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1542 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1531 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1544 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1533 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1545 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1534 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1546 cross_compiling=no | 1535 cross_compiling=no |
| 1547 | 1536 |
| 1548 cat > conftest.$ac_ext <<EOF | 1537 cat > conftest.$ac_ext <<EOF |
| 1549 #line 1550 "configure" | 1538 #line 1539 "configure" |
| 1550 #include "confdefs.h" | 1539 #include "confdefs.h" |
| 1551 main(){return(0);} | 1540 main(){return(0);} |
| 1552 EOF | 1541 EOF |
| 1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1542 if { (eval echo configure:1543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1554 ac_cv_prog_cc_works=yes | 1543 ac_cv_prog_cc_works=yes |
| 1555 # If we can't run a trivial program, we are probably using a cross compiler. | 1544 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1556 if (./conftest; exit) 2>/dev/null; then | 1545 if (./conftest; exit) 2>/dev/null; then |
| 1557 ac_cv_prog_cc_cross=no | 1546 ac_cv_prog_cc_cross=no |
| 1558 else | 1547 else |
| 1568 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1557 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1569 if test $ac_cv_prog_cc_works = no; then | 1558 if test $ac_cv_prog_cc_works = no; then |
| 1570 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1559 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1571 fi | 1560 fi |
| 1572 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1561 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1573 echo "configure:1574: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1562 echo "configure:1563: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1574 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1563 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1575 cross_compiling=$ac_cv_prog_cc_cross | 1564 cross_compiling=$ac_cv_prog_cc_cross |
| 1576 | 1565 |
| 1577 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1566 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1578 echo "configure:1579: checking whether we are using GNU C" >&5 | 1567 echo "configure:1568: checking whether we are using GNU C" >&5 |
| 1579 | 1568 |
| 1580 cat > conftest.c <<EOF | 1569 cat > conftest.c <<EOF |
| 1581 #ifdef __GNUC__ | 1570 #ifdef __GNUC__ |
| 1582 yes; | 1571 yes; |
| 1583 #endif | 1572 #endif |
| 1584 EOF | 1573 EOF |
| 1585 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1574 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1586 ac_cv_prog_gcc=yes | 1575 ac_cv_prog_gcc=yes |
| 1587 else | 1576 else |
| 1588 ac_cv_prog_gcc=no | 1577 ac_cv_prog_gcc=no |
| 1589 fi | 1578 fi |
| 1590 | 1579 |
| 1594 GCC=yes | 1583 GCC=yes |
| 1595 ac_test_CFLAGS="${CFLAGS+set}" | 1584 ac_test_CFLAGS="${CFLAGS+set}" |
| 1596 ac_save_CFLAGS="$CFLAGS" | 1585 ac_save_CFLAGS="$CFLAGS" |
| 1597 CFLAGS= | 1586 CFLAGS= |
| 1598 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1587 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1599 echo "configure:1600: checking whether ${CC-cc} accepts -g" >&5 | 1588 echo "configure:1589: checking whether ${CC-cc} accepts -g" >&5 |
| 1600 | 1589 |
| 1601 echo 'void f(){}' > conftest.c | 1590 echo 'void f(){}' > conftest.c |
| 1602 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1591 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1603 ac_cv_prog_cc_g=yes | 1592 ac_cv_prog_cc_g=yes |
| 1604 else | 1593 else |
| 1623 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1612 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1624 CC=gcc | 1613 CC=gcc |
| 1625 # Extract the first word of "gcc", so it can be a program name with args. | 1614 # Extract the first word of "gcc", so it can be a program name with args. |
| 1626 set dummy gcc; ac_word=$2 | 1615 set dummy gcc; ac_word=$2 |
| 1627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1628 echo "configure:1629: checking for $ac_word" >&5 | 1617 echo "configure:1618: checking for $ac_word" >&5 |
| 1629 | 1618 |
| 1630 if test -n "$CC"; then | 1619 if test -n "$CC"; then |
| 1631 ac_cv_prog_CC="$CC" # Let the user override the test. | 1620 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1632 else | 1621 else |
| 1633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1649 | 1638 |
| 1650 if test -z "$CC"; then | 1639 if test -z "$CC"; then |
| 1651 # Extract the first word of "cc", so it can be a program name with args. | 1640 # Extract the first word of "cc", so it can be a program name with args. |
| 1652 set dummy cc; ac_word=$2 | 1641 set dummy cc; ac_word=$2 |
| 1653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1654 echo "configure:1655: checking for $ac_word" >&5 | 1643 echo "configure:1644: checking for $ac_word" >&5 |
| 1655 | 1644 |
| 1656 if test -n "$CC"; then | 1645 if test -n "$CC"; then |
| 1657 ac_cv_prog_CC="$CC" # Let the user override the test. | 1646 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1658 else | 1647 else |
| 1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1648 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1694 | 1683 |
| 1695 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1684 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1696 fi | 1685 fi |
| 1697 | 1686 |
| 1698 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1687 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1699 echo "configure:1700: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1688 echo "configure:1689: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1700 | 1689 |
| 1701 ac_ext=c | 1690 ac_ext=c |
| 1702 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1691 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1703 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1692 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1704 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1693 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1706 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1695 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1707 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1696 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1708 cross_compiling=no | 1697 cross_compiling=no |
| 1709 | 1698 |
| 1710 cat > conftest.$ac_ext <<EOF | 1699 cat > conftest.$ac_ext <<EOF |
| 1711 #line 1712 "configure" | 1700 #line 1701 "configure" |
| 1712 #include "confdefs.h" | 1701 #include "confdefs.h" |
| 1713 main(){return(0);} | 1702 main(){return(0);} |
| 1714 EOF | 1703 EOF |
| 1715 if { (eval echo configure:1716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1704 if { (eval echo configure:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1716 ac_cv_prog_cc_works=yes | 1705 ac_cv_prog_cc_works=yes |
| 1717 # If we can't run a trivial program, we are probably using a cross compiler. | 1706 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1718 if (./conftest; exit) 2>/dev/null; then | 1707 if (./conftest; exit) 2>/dev/null; then |
| 1719 ac_cv_prog_cc_cross=no | 1708 ac_cv_prog_cc_cross=no |
| 1720 else | 1709 else |
| 1730 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1719 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1731 if test $ac_cv_prog_cc_works = no; then | 1720 if test $ac_cv_prog_cc_works = no; then |
| 1732 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1721 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1733 fi | 1722 fi |
| 1734 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1735 echo "configure:1736: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1724 echo "configure:1725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1736 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1725 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1737 cross_compiling=$ac_cv_prog_cc_cross | 1726 cross_compiling=$ac_cv_prog_cc_cross |
| 1738 | 1727 |
| 1739 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1728 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1740 echo "configure:1741: checking whether we are using GNU C" >&5 | 1729 echo "configure:1730: checking whether we are using GNU C" >&5 |
| 1741 | 1730 |
| 1742 cat > conftest.c <<EOF | 1731 cat > conftest.c <<EOF |
| 1743 #ifdef __GNUC__ | 1732 #ifdef __GNUC__ |
| 1744 yes; | 1733 yes; |
| 1745 #endif | 1734 #endif |
| 1746 EOF | 1735 EOF |
| 1747 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1736 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1748 ac_cv_prog_gcc=yes | 1737 ac_cv_prog_gcc=yes |
| 1749 else | 1738 else |
| 1750 ac_cv_prog_gcc=no | 1739 ac_cv_prog_gcc=no |
| 1751 fi | 1740 fi |
| 1752 | 1741 |
| 1756 GCC=yes | 1745 GCC=yes |
| 1757 ac_test_CFLAGS="${CFLAGS+set}" | 1746 ac_test_CFLAGS="${CFLAGS+set}" |
| 1758 ac_save_CFLAGS="$CFLAGS" | 1747 ac_save_CFLAGS="$CFLAGS" |
| 1759 CFLAGS= | 1748 CFLAGS= |
| 1760 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1749 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1761 echo "configure:1762: checking whether ${CC-cc} accepts -g" >&5 | 1750 echo "configure:1751: checking whether ${CC-cc} accepts -g" >&5 |
| 1762 | 1751 |
| 1763 echo 'void f(){}' > conftest.c | 1752 echo 'void f(){}' > conftest.c |
| 1764 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1753 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1765 ac_cv_prog_cc_g=yes | 1754 ac_cv_prog_cc_g=yes |
| 1766 else | 1755 else |
| 1789 test -n "$CPP" -a -d "$CPP" && CPP= | 1778 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1790 | 1779 |
| 1791 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1780 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1792 | 1781 |
| 1793 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1782 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1794 echo "configure:1795: checking how to run the C preprocessor" >&5 | 1783 echo "configure:1784: checking how to run the C preprocessor" >&5 |
| 1795 # On Suns, sometimes $CPP names a directory. | 1784 # On Suns, sometimes $CPP names a directory. |
| 1796 if test -n "$CPP" && test -d "$CPP"; then | 1785 if test -n "$CPP" && test -d "$CPP"; then |
| 1797 CPP= | 1786 CPP= |
| 1798 fi | 1787 fi |
| 1799 if test -z "$CPP"; then | 1788 if test -z "$CPP"; then |
| 1802 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1791 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1803 CPP="${CC-cc} -E" | 1792 CPP="${CC-cc} -E" |
| 1804 # On the NeXT, cc -E runs the code through the compiler's parser, | 1793 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1805 # not just through cpp. | 1794 # not just through cpp. |
| 1806 cat > conftest.$ac_ext <<EOF | 1795 cat > conftest.$ac_ext <<EOF |
| 1807 #line 1808 "configure" | 1796 #line 1797 "configure" |
| 1808 #include "confdefs.h" | 1797 #include "confdefs.h" |
| 1809 #include <assert.h> | 1798 #include <assert.h> |
| 1810 Syntax Error | 1799 Syntax Error |
| 1811 EOF | 1800 EOF |
| 1812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1813 { (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1802 { (eval echo configure:1803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1814 ac_err=`grep -v '^ *+' conftest.out` | 1803 ac_err=`grep -v '^ *+' conftest.out` |
| 1815 if test -z "$ac_err"; then | 1804 if test -z "$ac_err"; then |
| 1816 : | 1805 : |
| 1817 else | 1806 else |
| 1818 echo "$ac_err" >&5 | 1807 echo "$ac_err" >&5 |
| 1819 echo "configure: failed program was:" >&5 | 1808 echo "configure: failed program was:" >&5 |
| 1820 cat conftest.$ac_ext >&5 | 1809 cat conftest.$ac_ext >&5 |
| 1821 rm -rf conftest* | 1810 rm -rf conftest* |
| 1822 CPP="${CC-cc} -E -traditional-cpp" | 1811 CPP="${CC-cc} -E -traditional-cpp" |
| 1823 cat > conftest.$ac_ext <<EOF | 1812 cat > conftest.$ac_ext <<EOF |
| 1824 #line 1825 "configure" | 1813 #line 1814 "configure" |
| 1825 #include "confdefs.h" | 1814 #include "confdefs.h" |
| 1826 #include <assert.h> | 1815 #include <assert.h> |
| 1827 Syntax Error | 1816 Syntax Error |
| 1828 EOF | 1817 EOF |
| 1829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1830 { (eval echo configure:1831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1819 { (eval echo configure:1820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1831 ac_err=`grep -v '^ *+' conftest.out` | 1820 ac_err=`grep -v '^ *+' conftest.out` |
| 1832 if test -z "$ac_err"; then | 1821 if test -z "$ac_err"; then |
| 1833 : | 1822 : |
| 1834 else | 1823 else |
| 1835 echo "$ac_err" >&5 | 1824 echo "$ac_err" >&5 |
| 1848 fi | 1837 fi |
| 1849 echo "$ac_t""$CPP" 1>&6 | 1838 echo "$ac_t""$CPP" 1>&6 |
| 1850 | 1839 |
| 1851 | 1840 |
| 1852 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1841 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1853 echo "configure:1854: checking for AIX" >&5 | 1842 echo "configure:1843: checking for AIX" >&5 |
| 1854 cat > conftest.$ac_ext <<EOF | 1843 cat > conftest.$ac_ext <<EOF |
| 1855 #line 1856 "configure" | 1844 #line 1845 "configure" |
| 1856 #include "confdefs.h" | 1845 #include "confdefs.h" |
| 1857 #ifdef _AIX | 1846 #ifdef _AIX |
| 1858 yes | 1847 yes |
| 1859 #endif | 1848 #endif |
| 1860 | 1849 |
| 1877 rm -f conftest* | 1866 rm -f conftest* |
| 1878 | 1867 |
| 1879 | 1868 |
| 1880 | 1869 |
| 1881 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1870 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 1882 echo "configure:1883: checking for GNU libc" >&5 | 1871 echo "configure:1872: checking for GNU libc" >&5 |
| 1883 cat > conftest.$ac_ext <<EOF | 1872 cat > conftest.$ac_ext <<EOF |
| 1884 #line 1885 "configure" | 1873 #line 1874 "configure" |
| 1885 #include "confdefs.h" | 1874 #include "confdefs.h" |
| 1886 #include <features.h> | 1875 #include <features.h> |
| 1887 int main() { | 1876 int main() { |
| 1888 | 1877 |
| 1889 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1878 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 1891 ******* ======= ******** &&&&&&&& | 1880 ******* ======= ******** &&&&&&&& |
| 1892 #endif | 1881 #endif |
| 1893 | 1882 |
| 1894 ; return 0; } | 1883 ; return 0; } |
| 1895 EOF | 1884 EOF |
| 1896 if { (eval echo configure:1897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1885 if { (eval echo configure:1886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1897 rm -rf conftest* | 1886 rm -rf conftest* |
| 1898 have_glibc=yes | 1887 have_glibc=yes |
| 1899 else | 1888 else |
| 1900 echo "configure: failed program was:" >&5 | 1889 echo "configure: failed program was:" >&5 |
| 1901 cat conftest.$ac_ext >&5 | 1890 cat conftest.$ac_ext >&5 |
| 1912 EOF | 1901 EOF |
| 1913 } | 1902 } |
| 1914 | 1903 |
| 1915 | 1904 |
| 1916 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1905 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 1917 echo "configure:1918: checking whether we are using SunPro C" >&5 | 1906 echo "configure:1907: checking whether we are using SunPro C" >&5 |
| 1918 cat > conftest.$ac_ext <<EOF | 1907 cat > conftest.$ac_ext <<EOF |
| 1919 #line 1920 "configure" | 1908 #line 1909 "configure" |
| 1920 #include "confdefs.h" | 1909 #include "confdefs.h" |
| 1921 | 1910 |
| 1922 int main() { | 1911 int main() { |
| 1923 #ifndef __SUNPRO_C | 1912 #ifndef __SUNPRO_C |
| 1924 #error Not a SunPro compiler :-( | 1913 #error Not a SunPro compiler :-( |
| 1925 ******* ======= ******** &&&&&&&& | 1914 ******* ======= ******** &&&&&&&& |
| 1926 #endif | 1915 #endif |
| 1927 | 1916 |
| 1928 ; return 0; } | 1917 ; return 0; } |
| 1929 EOF | 1918 EOF |
| 1930 if { (eval echo configure:1931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1919 if { (eval echo configure:1920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1931 rm -rf conftest* | 1920 rm -rf conftest* |
| 1932 __sunpro_c=yes | 1921 __sunpro_c=yes |
| 1933 else | 1922 else |
| 1934 echo "configure: failed program was:" >&5 | 1923 echo "configure: failed program was:" >&5 |
| 1935 cat conftest.$ac_ext >&5 | 1924 cat conftest.$ac_ext >&5 |
| 2201 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2190 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2202 echo " xemacs will be linked with \"$unexec\"" | 2191 echo " xemacs will be linked with \"$unexec\"" |
| 2203 fi | 2192 fi |
| 2204 | 2193 |
| 2205 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2194 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2206 echo "configure:2207: checking for dynodump" >&5 | 2195 echo "configure:2196: checking for dynodump" >&5 |
| 2207 if test "$unexec" != "unexsol2.o"; then | 2196 if test "$unexec" != "unexsol2.o"; then |
| 2208 echo "$ac_t""no" 1>&6 | 2197 echo "$ac_t""no" 1>&6 |
| 2209 else | 2198 else |
| 2210 echo "$ac_t""yes" 1>&6 | 2199 echo "$ac_t""yes" 1>&6 |
| 2211 { test "$extra_verbose" = "yes" && cat << \EOF | 2200 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2299 esac | 2288 esac |
| 2300 fi | 2289 fi |
| 2301 | 2290 |
| 2302 if test "$add_runtime_path" = "yes"; then | 2291 if test "$add_runtime_path" = "yes"; then |
| 2303 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2292 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2304 echo "configure:2305: checking "for runtime libraries flag"" >&5 | 2293 echo "configure:2294: checking "for runtime libraries flag"" >&5 |
| 2305 dash_r="" | 2294 dash_r="" |
| 2306 for try_dash_r in "-R" "-R " "-rpath "; do | 2295 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2307 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2296 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2308 cat > conftest.$ac_ext <<EOF | 2297 cat > conftest.$ac_ext <<EOF |
| 2309 #line 2310 "configure" | 2298 #line 2299 "configure" |
| 2310 #include "confdefs.h" | 2299 #include "confdefs.h" |
| 2311 | 2300 |
| 2312 int main() { | 2301 int main() { |
| 2313 | 2302 |
| 2314 ; return 0; } | 2303 ; return 0; } |
| 2315 EOF | 2304 EOF |
| 2316 if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2305 if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2317 rm -rf conftest* | 2306 rm -rf conftest* |
| 2318 dash_r="$try_dash_r" | 2307 dash_r="$try_dash_r" |
| 2319 else | 2308 else |
| 2320 echo "configure: failed program was:" >&5 | 2309 echo "configure: failed program was:" >&5 |
| 2321 cat conftest.$ac_ext >&5 | 2310 cat conftest.$ac_ext >&5 |
| 2391 fi | 2380 fi |
| 2392 | 2381 |
| 2393 | 2382 |
| 2394 | 2383 |
| 2395 GNU_MALLOC=yes | 2384 GNU_MALLOC=yes |
| 2396 doug_lea_malloc=yes | 2385 if test "$with_dlmalloc" != "no"; then |
| 2386 doug_lea_malloc=yes | |
| 2387 else | |
| 2388 doug_lea_malloc=no | |
| 2389 fi | |
| 2397 after_morecore_hook_exists=yes | 2390 after_morecore_hook_exists=yes |
| 2398 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2391 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2399 echo "configure:2400: checking for malloc_get_state" >&5 | 2392 echo "configure:2393: checking for malloc_get_state" >&5 |
| 2400 | 2393 |
| 2401 cat > conftest.$ac_ext <<EOF | 2394 cat > conftest.$ac_ext <<EOF |
| 2402 #line 2403 "configure" | 2395 #line 2396 "configure" |
| 2403 #include "confdefs.h" | 2396 #include "confdefs.h" |
| 2404 /* System header to define __stub macros and hopefully few prototypes, | 2397 /* System header to define __stub macros and hopefully few prototypes, |
| 2405 which can conflict with char malloc_get_state(); below. */ | 2398 which can conflict with char malloc_get_state(); below. */ |
| 2406 #include <assert.h> | 2399 #include <assert.h> |
| 2407 /* Override any gcc2 internal prototype to avoid an error. */ | 2400 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2420 malloc_get_state(); | 2413 malloc_get_state(); |
| 2421 #endif | 2414 #endif |
| 2422 | 2415 |
| 2423 ; return 0; } | 2416 ; return 0; } |
| 2424 EOF | 2417 EOF |
| 2425 if { (eval echo configure:2426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2418 if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2426 rm -rf conftest* | 2419 rm -rf conftest* |
| 2427 eval "ac_cv_func_malloc_get_state=yes" | 2420 eval "ac_cv_func_malloc_get_state=yes" |
| 2428 else | 2421 else |
| 2429 echo "configure: failed program was:" >&5 | 2422 echo "configure: failed program was:" >&5 |
| 2430 cat conftest.$ac_ext >&5 | 2423 cat conftest.$ac_ext >&5 |
| 2440 echo "$ac_t""no" 1>&6 | 2433 echo "$ac_t""no" 1>&6 |
| 2441 doug_lea_malloc=no | 2434 doug_lea_malloc=no |
| 2442 fi | 2435 fi |
| 2443 | 2436 |
| 2444 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2437 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2445 echo "configure:2446: checking for malloc_set_state" >&5 | 2438 echo "configure:2439: checking for malloc_set_state" >&5 |
| 2446 | 2439 |
| 2447 cat > conftest.$ac_ext <<EOF | 2440 cat > conftest.$ac_ext <<EOF |
| 2448 #line 2449 "configure" | 2441 #line 2442 "configure" |
| 2449 #include "confdefs.h" | 2442 #include "confdefs.h" |
| 2450 /* System header to define __stub macros and hopefully few prototypes, | 2443 /* System header to define __stub macros and hopefully few prototypes, |
| 2451 which can conflict with char malloc_set_state(); below. */ | 2444 which can conflict with char malloc_set_state(); below. */ |
| 2452 #include <assert.h> | 2445 #include <assert.h> |
| 2453 /* Override any gcc2 internal prototype to avoid an error. */ | 2446 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2466 malloc_set_state(); | 2459 malloc_set_state(); |
| 2467 #endif | 2460 #endif |
| 2468 | 2461 |
| 2469 ; return 0; } | 2462 ; return 0; } |
| 2470 EOF | 2463 EOF |
| 2471 if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2464 if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2472 rm -rf conftest* | 2465 rm -rf conftest* |
| 2473 eval "ac_cv_func_malloc_set_state=yes" | 2466 eval "ac_cv_func_malloc_set_state=yes" |
| 2474 else | 2467 else |
| 2475 echo "configure: failed program was:" >&5 | 2468 echo "configure: failed program was:" >&5 |
| 2476 cat conftest.$ac_ext >&5 | 2469 cat conftest.$ac_ext >&5 |
| 2486 echo "$ac_t""no" 1>&6 | 2479 echo "$ac_t""no" 1>&6 |
| 2487 doug_lea_malloc=no | 2480 doug_lea_malloc=no |
| 2488 fi | 2481 fi |
| 2489 | 2482 |
| 2490 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2483 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2491 echo "configure:2492: checking whether __after_morecore_hook exists" >&5 | 2484 echo "configure:2485: checking whether __after_morecore_hook exists" >&5 |
| 2492 cat > conftest.$ac_ext <<EOF | 2485 cat > conftest.$ac_ext <<EOF |
| 2493 #line 2494 "configure" | 2486 #line 2487 "configure" |
| 2494 #include "confdefs.h" | 2487 #include "confdefs.h" |
| 2495 extern void (* __after_morecore_hook)(); | 2488 extern void (* __after_morecore_hook)(); |
| 2496 int main() { | 2489 int main() { |
| 2497 __after_morecore_hook = 0 | 2490 __after_morecore_hook = 0 |
| 2498 ; return 0; } | 2491 ; return 0; } |
| 2499 EOF | 2492 EOF |
| 2500 if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2493 if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2501 rm -rf conftest* | 2494 rm -rf conftest* |
| 2502 echo "$ac_t""yes" 1>&6 | 2495 echo "$ac_t""yes" 1>&6 |
| 2503 else | 2496 else |
| 2504 echo "configure: failed program was:" >&5 | 2497 echo "configure: failed program was:" >&5 |
| 2505 cat conftest.$ac_ext >&5 | 2498 cat conftest.$ac_ext >&5 |
| 2560 | 2553 |
| 2561 | 2554 |
| 2562 # Extract the first word of "ranlib", so it can be a program name with args. | 2555 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2563 set dummy ranlib; ac_word=$2 | 2556 set dummy ranlib; ac_word=$2 |
| 2564 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2565 echo "configure:2566: checking for $ac_word" >&5 | 2558 echo "configure:2559: checking for $ac_word" >&5 |
| 2566 | 2559 |
| 2567 if test -n "$RANLIB"; then | 2560 if test -n "$RANLIB"; then |
| 2568 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2569 else | 2562 else |
| 2570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2563 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2613 # AIX /bin/install | 2606 # AIX /bin/install |
| 2614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2616 # ./install, which can be erroneously created by make from ./install.sh. | 2609 # ./install, which can be erroneously created by make from ./install.sh. |
| 2617 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2610 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2618 echo "configure:2619: checking for a BSD compatible install" >&5 | 2611 echo "configure:2612: checking for a BSD compatible install" >&5 |
| 2619 if test -z "$INSTALL"; then | 2612 if test -z "$INSTALL"; then |
| 2620 | 2613 |
| 2621 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2614 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2622 for ac_dir in $PATH; do | 2615 for ac_dir in $PATH; do |
| 2623 # Account for people who put trailing slashes in PATH elements. | 2616 # Account for people who put trailing slashes in PATH elements. |
| 2664 for ac_prog in 'bison -y' byacc | 2657 for ac_prog in 'bison -y' byacc |
| 2665 do | 2658 do |
| 2666 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2659 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2667 set dummy $ac_prog; ac_word=$2 | 2660 set dummy $ac_prog; ac_word=$2 |
| 2668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2669 echo "configure:2670: checking for $ac_word" >&5 | 2662 echo "configure:2663: checking for $ac_word" >&5 |
| 2670 | 2663 |
| 2671 if test -n "$YACC"; then | 2664 if test -n "$YACC"; then |
| 2672 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2665 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2673 else | 2666 else |
| 2674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2695 | 2688 |
| 2696 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2689 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2697 do | 2690 do |
| 2698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2700 echo "configure:2701: checking for $ac_hdr" >&5 | 2693 echo "configure:2694: checking for $ac_hdr" >&5 |
| 2701 | 2694 |
| 2702 cat > conftest.$ac_ext <<EOF | 2695 cat > conftest.$ac_ext <<EOF |
| 2703 #line 2704 "configure" | 2696 #line 2697 "configure" |
| 2704 #include "confdefs.h" | 2697 #include "confdefs.h" |
| 2705 #include <$ac_hdr> | 2698 #include <$ac_hdr> |
| 2706 EOF | 2699 EOF |
| 2707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2708 { (eval echo configure:2709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2701 { (eval echo configure:2702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2709 ac_err=`grep -v '^ *+' conftest.out` | 2702 ac_err=`grep -v '^ *+' conftest.out` |
| 2710 if test -z "$ac_err"; then | 2703 if test -z "$ac_err"; then |
| 2711 rm -rf conftest* | 2704 rm -rf conftest* |
| 2712 eval "ac_cv_header_$ac_safe=yes" | 2705 eval "ac_cv_header_$ac_safe=yes" |
| 2713 else | 2706 else |
| 2736 | 2729 |
| 2737 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2730 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2738 do | 2731 do |
| 2739 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2732 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2733 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2741 echo "configure:2742: checking for $ac_hdr" >&5 | 2734 echo "configure:2735: checking for $ac_hdr" >&5 |
| 2742 | 2735 |
| 2743 cat > conftest.$ac_ext <<EOF | 2736 cat > conftest.$ac_ext <<EOF |
| 2744 #line 2745 "configure" | 2737 #line 2738 "configure" |
| 2745 #include "confdefs.h" | 2738 #include "confdefs.h" |
| 2746 #include <$ac_hdr> | 2739 #include <$ac_hdr> |
| 2747 EOF | 2740 EOF |
| 2748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2749 { (eval echo configure:2750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2742 { (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2750 ac_err=`grep -v '^ *+' conftest.out` | 2743 ac_err=`grep -v '^ *+' conftest.out` |
| 2751 if test -z "$ac_err"; then | 2744 if test -z "$ac_err"; then |
| 2752 rm -rf conftest* | 2745 rm -rf conftest* |
| 2753 eval "ac_cv_header_$ac_safe=yes" | 2746 eval "ac_cv_header_$ac_safe=yes" |
| 2754 else | 2747 else |
| 2777 | 2770 |
| 2778 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2771 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 2779 do | 2772 do |
| 2780 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2782 echo "configure:2783: checking for $ac_hdr" >&5 | 2775 echo "configure:2776: checking for $ac_hdr" >&5 |
| 2783 | 2776 |
| 2784 cat > conftest.$ac_ext <<EOF | 2777 cat > conftest.$ac_ext <<EOF |
| 2785 #line 2786 "configure" | 2778 #line 2779 "configure" |
| 2786 #include "confdefs.h" | 2779 #include "confdefs.h" |
| 2787 #include <$ac_hdr> | 2780 #include <$ac_hdr> |
| 2788 EOF | 2781 EOF |
| 2789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2790 { (eval echo configure:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2783 { (eval echo configure:2784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2791 ac_err=`grep -v '^ *+' conftest.out` | 2784 ac_err=`grep -v '^ *+' conftest.out` |
| 2792 if test -z "$ac_err"; then | 2785 if test -z "$ac_err"; then |
| 2793 rm -rf conftest* | 2786 rm -rf conftest* |
| 2794 eval "ac_cv_header_$ac_safe=yes" | 2787 eval "ac_cv_header_$ac_safe=yes" |
| 2795 else | 2788 else |
| 2815 echo "$ac_t""no" 1>&6 | 2808 echo "$ac_t""no" 1>&6 |
| 2816 fi | 2809 fi |
| 2817 done | 2810 done |
| 2818 | 2811 |
| 2819 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2812 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2820 echo "configure:2821: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2813 echo "configure:2814: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2821 | 2814 |
| 2822 cat > conftest.$ac_ext <<EOF | 2815 cat > conftest.$ac_ext <<EOF |
| 2823 #line 2824 "configure" | 2816 #line 2817 "configure" |
| 2824 #include "confdefs.h" | 2817 #include "confdefs.h" |
| 2825 #include <sys/types.h> | 2818 #include <sys/types.h> |
| 2826 #include <sys/wait.h> | 2819 #include <sys/wait.h> |
| 2827 #ifndef WEXITSTATUS | 2820 #ifndef WEXITSTATUS |
| 2828 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2821 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2834 int s; | 2827 int s; |
| 2835 wait (&s); | 2828 wait (&s); |
| 2836 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2829 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2837 ; return 0; } | 2830 ; return 0; } |
| 2838 EOF | 2831 EOF |
| 2839 if { (eval echo configure:2840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2832 if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2840 rm -rf conftest* | 2833 rm -rf conftest* |
| 2841 ac_cv_header_sys_wait_h=yes | 2834 ac_cv_header_sys_wait_h=yes |
| 2842 else | 2835 else |
| 2843 echo "configure: failed program was:" >&5 | 2836 echo "configure: failed program was:" >&5 |
| 2844 cat conftest.$ac_ext >&5 | 2837 cat conftest.$ac_ext >&5 |
| 2858 } | 2851 } |
| 2859 | 2852 |
| 2860 fi | 2853 fi |
| 2861 | 2854 |
| 2862 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2855 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2863 echo "configure:2864: checking for ANSI C header files" >&5 | 2856 echo "configure:2857: checking for ANSI C header files" >&5 |
| 2864 | 2857 |
| 2865 cat > conftest.$ac_ext <<EOF | 2858 cat > conftest.$ac_ext <<EOF |
| 2866 #line 2867 "configure" | 2859 #line 2860 "configure" |
| 2867 #include "confdefs.h" | 2860 #include "confdefs.h" |
| 2868 #include <stdlib.h> | 2861 #include <stdlib.h> |
| 2869 #include <stdarg.h> | 2862 #include <stdarg.h> |
| 2870 #include <string.h> | 2863 #include <string.h> |
| 2871 #include <float.h> | 2864 #include <float.h> |
| 2872 EOF | 2865 EOF |
| 2873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2874 { (eval echo configure:2875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2867 { (eval echo configure:2868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2875 ac_err=`grep -v '^ *+' conftest.out` | 2868 ac_err=`grep -v '^ *+' conftest.out` |
| 2876 if test -z "$ac_err"; then | 2869 if test -z "$ac_err"; then |
| 2877 rm -rf conftest* | 2870 rm -rf conftest* |
| 2878 ac_cv_header_stdc=yes | 2871 ac_cv_header_stdc=yes |
| 2879 else | 2872 else |
| 2886 rm -f conftest* | 2879 rm -f conftest* |
| 2887 | 2880 |
| 2888 if test $ac_cv_header_stdc = yes; then | 2881 if test $ac_cv_header_stdc = yes; then |
| 2889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2890 cat > conftest.$ac_ext <<EOF | 2883 cat > conftest.$ac_ext <<EOF |
| 2891 #line 2892 "configure" | 2884 #line 2885 "configure" |
| 2892 #include "confdefs.h" | 2885 #include "confdefs.h" |
| 2893 #include <string.h> | 2886 #include <string.h> |
| 2894 EOF | 2887 EOF |
| 2895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2896 egrep "memchr" >/dev/null 2>&1; then | 2889 egrep "memchr" >/dev/null 2>&1; then |
| 2904 fi | 2897 fi |
| 2905 | 2898 |
| 2906 if test $ac_cv_header_stdc = yes; then | 2899 if test $ac_cv_header_stdc = yes; then |
| 2907 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2900 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2908 cat > conftest.$ac_ext <<EOF | 2901 cat > conftest.$ac_ext <<EOF |
| 2909 #line 2910 "configure" | 2902 #line 2903 "configure" |
| 2910 #include "confdefs.h" | 2903 #include "confdefs.h" |
| 2911 #include <stdlib.h> | 2904 #include <stdlib.h> |
| 2912 EOF | 2905 EOF |
| 2913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2914 egrep "free" >/dev/null 2>&1; then | 2907 egrep "free" >/dev/null 2>&1; then |
| 2922 fi | 2915 fi |
| 2923 | 2916 |
| 2924 if test $ac_cv_header_stdc = yes; then | 2917 if test $ac_cv_header_stdc = yes; then |
| 2925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2918 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2926 cat > conftest.$ac_ext <<EOF | 2919 cat > conftest.$ac_ext <<EOF |
| 2927 #line 2928 "configure" | 2920 #line 2921 "configure" |
| 2928 #include "confdefs.h" | 2921 #include "confdefs.h" |
| 2929 #include <ctype.h> | 2922 #include <ctype.h> |
| 2930 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2923 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2931 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2924 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2933 int main () { int i; for (i = 0; i < 256; i++) | 2926 int main () { int i; for (i = 0; i < 256; i++) |
| 2934 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2927 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2935 exit (0); } | 2928 exit (0); } |
| 2936 | 2929 |
| 2937 EOF | 2930 EOF |
| 2938 if { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2939 then | 2932 then |
| 2940 : | 2933 : |
| 2941 else | 2934 else |
| 2942 echo "configure: failed program was:" >&5 | 2935 echo "configure: failed program was:" >&5 |
| 2943 cat conftest.$ac_ext >&5 | 2936 cat conftest.$ac_ext >&5 |
| 2958 } | 2951 } |
| 2959 | 2952 |
| 2960 fi | 2953 fi |
| 2961 | 2954 |
| 2962 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2955 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2963 echo "configure:2964: checking whether time.h and sys/time.h may both be included" >&5 | 2956 echo "configure:2957: checking whether time.h and sys/time.h may both be included" >&5 |
| 2964 | 2957 |
| 2965 cat > conftest.$ac_ext <<EOF | 2958 cat > conftest.$ac_ext <<EOF |
| 2966 #line 2967 "configure" | 2959 #line 2960 "configure" |
| 2967 #include "confdefs.h" | 2960 #include "confdefs.h" |
| 2968 #include <sys/types.h> | 2961 #include <sys/types.h> |
| 2969 #include <sys/time.h> | 2962 #include <sys/time.h> |
| 2970 #include <time.h> | 2963 #include <time.h> |
| 2971 int main() { | 2964 int main() { |
| 2972 struct tm *tp; | 2965 struct tm *tp; |
| 2973 ; return 0; } | 2966 ; return 0; } |
| 2974 EOF | 2967 EOF |
| 2975 if { (eval echo configure:2976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2968 if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2976 rm -rf conftest* | 2969 rm -rf conftest* |
| 2977 ac_cv_header_time=yes | 2970 ac_cv_header_time=yes |
| 2978 else | 2971 else |
| 2979 echo "configure: failed program was:" >&5 | 2972 echo "configure: failed program was:" >&5 |
| 2980 cat conftest.$ac_ext >&5 | 2973 cat conftest.$ac_ext >&5 |
| 2994 } | 2987 } |
| 2995 | 2988 |
| 2996 fi | 2989 fi |
| 2997 | 2990 |
| 2998 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2991 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2999 echo "configure:3000: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2992 echo "configure:2993: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3000 | 2993 |
| 3001 cat > conftest.$ac_ext <<EOF | 2994 cat > conftest.$ac_ext <<EOF |
| 3002 #line 3003 "configure" | 2995 #line 2996 "configure" |
| 3003 #include "confdefs.h" | 2996 #include "confdefs.h" |
| 3004 #include <sys/types.h> | 2997 #include <sys/types.h> |
| 3005 #include <signal.h> | 2998 #include <signal.h> |
| 3006 /* NetBSD declares sys_siglist in unistd.h. */ | 2999 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3007 #ifdef HAVE_UNISTD_H | 3000 #ifdef HAVE_UNISTD_H |
| 3009 #endif | 3002 #endif |
| 3010 int main() { | 3003 int main() { |
| 3011 char *msg = *(sys_siglist + 1); | 3004 char *msg = *(sys_siglist + 1); |
| 3012 ; return 0; } | 3005 ; return 0; } |
| 3013 EOF | 3006 EOF |
| 3014 if { (eval echo configure:3015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3007 if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3015 rm -rf conftest* | 3008 rm -rf conftest* |
| 3016 ac_cv_decl_sys_siglist=yes | 3009 ac_cv_decl_sys_siglist=yes |
| 3017 else | 3010 else |
| 3018 echo "configure: failed program was:" >&5 | 3011 echo "configure: failed program was:" >&5 |
| 3019 cat conftest.$ac_ext >&5 | 3012 cat conftest.$ac_ext >&5 |
| 3034 | 3027 |
| 3035 fi | 3028 fi |
| 3036 | 3029 |
| 3037 | 3030 |
| 3038 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3031 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3039 echo "configure:3040: checking for struct utimbuf" >&5 | 3032 echo "configure:3033: checking for struct utimbuf" >&5 |
| 3040 cat > conftest.$ac_ext <<EOF | 3033 cat > conftest.$ac_ext <<EOF |
| 3041 #line 3042 "configure" | 3034 #line 3035 "configure" |
| 3042 #include "confdefs.h" | 3035 #include "confdefs.h" |
| 3043 #ifdef TIME_WITH_SYS_TIME | 3036 #ifdef TIME_WITH_SYS_TIME |
| 3044 #include <sys/time.h> | 3037 #include <sys/time.h> |
| 3045 #include <time.h> | 3038 #include <time.h> |
| 3046 #else | 3039 #else |
| 3055 #endif | 3048 #endif |
| 3056 int main() { | 3049 int main() { |
| 3057 static struct utimbuf x; x.actime = x.modtime; | 3050 static struct utimbuf x; x.actime = x.modtime; |
| 3058 ; return 0; } | 3051 ; return 0; } |
| 3059 EOF | 3052 EOF |
| 3060 if { (eval echo configure:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3053 if { (eval echo configure:3054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3061 rm -rf conftest* | 3054 rm -rf conftest* |
| 3062 echo "$ac_t""yes" 1>&6 | 3055 echo "$ac_t""yes" 1>&6 |
| 3063 { test "$extra_verbose" = "yes" && cat << \EOF | 3056 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3064 Defining HAVE_STRUCT_UTIMBUF | 3057 Defining HAVE_STRUCT_UTIMBUF |
| 3065 EOF | 3058 EOF |
| 3075 echo "$ac_t""no" 1>&6 | 3068 echo "$ac_t""no" 1>&6 |
| 3076 fi | 3069 fi |
| 3077 rm -f conftest* | 3070 rm -f conftest* |
| 3078 | 3071 |
| 3079 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3072 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3080 echo "configure:3081: checking return type of signal handlers" >&5 | 3073 echo "configure:3074: checking return type of signal handlers" >&5 |
| 3081 | 3074 |
| 3082 cat > conftest.$ac_ext <<EOF | 3075 cat > conftest.$ac_ext <<EOF |
| 3083 #line 3084 "configure" | 3076 #line 3077 "configure" |
| 3084 #include "confdefs.h" | 3077 #include "confdefs.h" |
| 3085 #include <sys/types.h> | 3078 #include <sys/types.h> |
| 3086 #include <signal.h> | 3079 #include <signal.h> |
| 3087 #ifdef signal | 3080 #ifdef signal |
| 3088 #undef signal | 3081 #undef signal |
| 3095 | 3088 |
| 3096 int main() { | 3089 int main() { |
| 3097 int i; | 3090 int i; |
| 3098 ; return 0; } | 3091 ; return 0; } |
| 3099 EOF | 3092 EOF |
| 3100 if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3093 if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3101 rm -rf conftest* | 3094 rm -rf conftest* |
| 3102 ac_cv_type_signal=void | 3095 ac_cv_type_signal=void |
| 3103 else | 3096 else |
| 3104 echo "configure: failed program was:" >&5 | 3097 echo "configure: failed program was:" >&5 |
| 3105 cat conftest.$ac_ext >&5 | 3098 cat conftest.$ac_ext >&5 |
| 3117 EOF | 3110 EOF |
| 3118 } | 3111 } |
| 3119 | 3112 |
| 3120 | 3113 |
| 3121 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3114 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3122 echo "configure:3123: checking for size_t" >&5 | 3115 echo "configure:3116: checking for size_t" >&5 |
| 3123 | 3116 |
| 3124 cat > conftest.$ac_ext <<EOF | 3117 cat > conftest.$ac_ext <<EOF |
| 3125 #line 3126 "configure" | 3118 #line 3119 "configure" |
| 3126 #include "confdefs.h" | 3119 #include "confdefs.h" |
| 3127 #include <sys/types.h> | 3120 #include <sys/types.h> |
| 3128 #if STDC_HEADERS | 3121 #if STDC_HEADERS |
| 3129 #include <stdlib.h> | 3122 #include <stdlib.h> |
| 3130 #include <stddef.h> | 3123 #include <stddef.h> |
| 3151 } | 3144 } |
| 3152 | 3145 |
| 3153 fi | 3146 fi |
| 3154 | 3147 |
| 3155 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3148 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3156 echo "configure:3157: checking for pid_t" >&5 | 3149 echo "configure:3150: checking for pid_t" >&5 |
| 3157 | 3150 |
| 3158 cat > conftest.$ac_ext <<EOF | 3151 cat > conftest.$ac_ext <<EOF |
| 3159 #line 3160 "configure" | 3152 #line 3153 "configure" |
| 3160 #include "confdefs.h" | 3153 #include "confdefs.h" |
| 3161 #include <sys/types.h> | 3154 #include <sys/types.h> |
| 3162 #if STDC_HEADERS | 3155 #if STDC_HEADERS |
| 3163 #include <stdlib.h> | 3156 #include <stdlib.h> |
| 3164 #include <stddef.h> | 3157 #include <stddef.h> |
| 3185 } | 3178 } |
| 3186 | 3179 |
| 3187 fi | 3180 fi |
| 3188 | 3181 |
| 3189 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3182 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3190 echo "configure:3191: checking for uid_t in sys/types.h" >&5 | 3183 echo "configure:3184: checking for uid_t in sys/types.h" >&5 |
| 3191 | 3184 |
| 3192 cat > conftest.$ac_ext <<EOF | 3185 cat > conftest.$ac_ext <<EOF |
| 3193 #line 3194 "configure" | 3186 #line 3187 "configure" |
| 3194 #include "confdefs.h" | 3187 #include "confdefs.h" |
| 3195 #include <sys/types.h> | 3188 #include <sys/types.h> |
| 3196 EOF | 3189 EOF |
| 3197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3198 egrep "uid_t" >/dev/null 2>&1; then | 3191 egrep "uid_t" >/dev/null 2>&1; then |
| 3224 } | 3217 } |
| 3225 | 3218 |
| 3226 fi | 3219 fi |
| 3227 | 3220 |
| 3228 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3221 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3229 echo "configure:3230: checking for mode_t" >&5 | 3222 echo "configure:3223: checking for mode_t" >&5 |
| 3230 | 3223 |
| 3231 cat > conftest.$ac_ext <<EOF | 3224 cat > conftest.$ac_ext <<EOF |
| 3232 #line 3233 "configure" | 3225 #line 3226 "configure" |
| 3233 #include "confdefs.h" | 3226 #include "confdefs.h" |
| 3234 #include <sys/types.h> | 3227 #include <sys/types.h> |
| 3235 #if STDC_HEADERS | 3228 #if STDC_HEADERS |
| 3236 #include <stdlib.h> | 3229 #include <stdlib.h> |
| 3237 #include <stddef.h> | 3230 #include <stddef.h> |
| 3258 } | 3251 } |
| 3259 | 3252 |
| 3260 fi | 3253 fi |
| 3261 | 3254 |
| 3262 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3255 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3263 echo "configure:3264: checking for off_t" >&5 | 3256 echo "configure:3257: checking for off_t" >&5 |
| 3264 | 3257 |
| 3265 cat > conftest.$ac_ext <<EOF | 3258 cat > conftest.$ac_ext <<EOF |
| 3266 #line 3267 "configure" | 3259 #line 3260 "configure" |
| 3267 #include "confdefs.h" | 3260 #include "confdefs.h" |
| 3268 #include <sys/types.h> | 3261 #include <sys/types.h> |
| 3269 #if STDC_HEADERS | 3262 #if STDC_HEADERS |
| 3270 #include <stdlib.h> | 3263 #include <stdlib.h> |
| 3271 #include <stddef.h> | 3264 #include <stddef.h> |
| 3293 | 3286 |
| 3294 fi | 3287 fi |
| 3295 | 3288 |
| 3296 | 3289 |
| 3297 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3290 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3298 echo "configure:3299: checking for struct timeval" >&5 | 3291 echo "configure:3292: checking for struct timeval" >&5 |
| 3299 cat > conftest.$ac_ext <<EOF | 3292 cat > conftest.$ac_ext <<EOF |
| 3300 #line 3301 "configure" | 3293 #line 3294 "configure" |
| 3301 #include "confdefs.h" | 3294 #include "confdefs.h" |
| 3302 #ifdef TIME_WITH_SYS_TIME | 3295 #ifdef TIME_WITH_SYS_TIME |
| 3303 #include <sys/time.h> | 3296 #include <sys/time.h> |
| 3304 #include <time.h> | 3297 #include <time.h> |
| 3305 #else | 3298 #else |
| 3311 #endif | 3304 #endif |
| 3312 int main() { | 3305 int main() { |
| 3313 static struct timeval x; x.tv_sec = x.tv_usec; | 3306 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3314 ; return 0; } | 3307 ; return 0; } |
| 3315 EOF | 3308 EOF |
| 3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3309 if { (eval echo configure:3310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3317 rm -rf conftest* | 3310 rm -rf conftest* |
| 3318 echo "$ac_t""yes" 1>&6 | 3311 echo "$ac_t""yes" 1>&6 |
| 3319 HAVE_TIMEVAL=yes | 3312 HAVE_TIMEVAL=yes |
| 3320 { test "$extra_verbose" = "yes" && cat << \EOF | 3313 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3321 Defining HAVE_TIMEVAL | 3314 Defining HAVE_TIMEVAL |
| 3333 HAVE_TIMEVAL=no | 3326 HAVE_TIMEVAL=no |
| 3334 fi | 3327 fi |
| 3335 rm -f conftest* | 3328 rm -f conftest* |
| 3336 | 3329 |
| 3337 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3330 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3338 echo "configure:3339: checking whether struct tm is in sys/time.h or time.h" >&5 | 3331 echo "configure:3332: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3339 | 3332 |
| 3340 cat > conftest.$ac_ext <<EOF | 3333 cat > conftest.$ac_ext <<EOF |
| 3341 #line 3342 "configure" | 3334 #line 3335 "configure" |
| 3342 #include "confdefs.h" | 3335 #include "confdefs.h" |
| 3343 #include <sys/types.h> | 3336 #include <sys/types.h> |
| 3344 #include <time.h> | 3337 #include <time.h> |
| 3345 int main() { | 3338 int main() { |
| 3346 struct tm *tp; tp->tm_sec; | 3339 struct tm *tp; tp->tm_sec; |
| 3347 ; return 0; } | 3340 ; return 0; } |
| 3348 EOF | 3341 EOF |
| 3349 if { (eval echo configure:3350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3350 rm -rf conftest* | 3343 rm -rf conftest* |
| 3351 ac_cv_struct_tm=time.h | 3344 ac_cv_struct_tm=time.h |
| 3352 else | 3345 else |
| 3353 echo "configure: failed program was:" >&5 | 3346 echo "configure: failed program was:" >&5 |
| 3354 cat conftest.$ac_ext >&5 | 3347 cat conftest.$ac_ext >&5 |
| 3368 } | 3361 } |
| 3369 | 3362 |
| 3370 fi | 3363 fi |
| 3371 | 3364 |
| 3372 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3365 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3373 echo "configure:3374: checking for tm_zone in struct tm" >&5 | 3366 echo "configure:3367: checking for tm_zone in struct tm" >&5 |
| 3374 | 3367 |
| 3375 cat > conftest.$ac_ext <<EOF | 3368 cat > conftest.$ac_ext <<EOF |
| 3376 #line 3377 "configure" | 3369 #line 3370 "configure" |
| 3377 #include "confdefs.h" | 3370 #include "confdefs.h" |
| 3378 #include <sys/types.h> | 3371 #include <sys/types.h> |
| 3379 #include <$ac_cv_struct_tm> | 3372 #include <$ac_cv_struct_tm> |
| 3380 int main() { | 3373 int main() { |
| 3381 struct tm tm; tm.tm_zone; | 3374 struct tm tm; tm.tm_zone; |
| 3382 ; return 0; } | 3375 ; return 0; } |
| 3383 EOF | 3376 EOF |
| 3384 if { (eval echo configure:3385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3377 if { (eval echo configure:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3385 rm -rf conftest* | 3378 rm -rf conftest* |
| 3386 ac_cv_struct_tm_zone=yes | 3379 ac_cv_struct_tm_zone=yes |
| 3387 else | 3380 else |
| 3388 echo "configure: failed program was:" >&5 | 3381 echo "configure: failed program was:" >&5 |
| 3389 cat conftest.$ac_ext >&5 | 3382 cat conftest.$ac_ext >&5 |
| 3402 EOF | 3395 EOF |
| 3403 } | 3396 } |
| 3404 | 3397 |
| 3405 else | 3398 else |
| 3406 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3399 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3407 echo "configure:3408: checking for tzname" >&5 | 3400 echo "configure:3401: checking for tzname" >&5 |
| 3408 | 3401 |
| 3409 cat > conftest.$ac_ext <<EOF | 3402 cat > conftest.$ac_ext <<EOF |
| 3410 #line 3411 "configure" | 3403 #line 3404 "configure" |
| 3411 #include "confdefs.h" | 3404 #include "confdefs.h" |
| 3412 #include <time.h> | 3405 #include <time.h> |
| 3413 #ifndef tzname /* For SGI. */ | 3406 #ifndef tzname /* For SGI. */ |
| 3414 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3407 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3415 #endif | 3408 #endif |
| 3416 int main() { | 3409 int main() { |
| 3417 atoi(*tzname); | 3410 atoi(*tzname); |
| 3418 ; return 0; } | 3411 ; return 0; } |
| 3419 EOF | 3412 EOF |
| 3420 if { (eval echo configure:3421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3413 if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3421 rm -rf conftest* | 3414 rm -rf conftest* |
| 3422 ac_cv_var_tzname=yes | 3415 ac_cv_var_tzname=yes |
| 3423 else | 3416 else |
| 3424 echo "configure: failed program was:" >&5 | 3417 echo "configure: failed program was:" >&5 |
| 3425 cat conftest.$ac_ext >&5 | 3418 cat conftest.$ac_ext >&5 |
| 3441 fi | 3434 fi |
| 3442 fi | 3435 fi |
| 3443 | 3436 |
| 3444 | 3437 |
| 3445 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3438 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3446 echo "configure:3447: checking for working const" >&5 | 3439 echo "configure:3440: checking for working const" >&5 |
| 3447 | 3440 |
| 3448 cat > conftest.$ac_ext <<EOF | 3441 cat > conftest.$ac_ext <<EOF |
| 3449 #line 3450 "configure" | 3442 #line 3443 "configure" |
| 3450 #include "confdefs.h" | 3443 #include "confdefs.h" |
| 3451 | 3444 |
| 3452 int main() { | 3445 int main() { |
| 3453 | 3446 |
| 3454 /* Ultrix mips cc rejects this. */ | 3447 /* Ultrix mips cc rejects this. */ |
| 3493 const int foo = 10; | 3486 const int foo = 10; |
| 3494 } | 3487 } |
| 3495 | 3488 |
| 3496 ; return 0; } | 3489 ; return 0; } |
| 3497 EOF | 3490 EOF |
| 3498 if { (eval echo configure:3499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3499 rm -rf conftest* | 3492 rm -rf conftest* |
| 3500 ac_cv_c_const=yes | 3493 ac_cv_c_const=yes |
| 3501 else | 3494 else |
| 3502 echo "configure: failed program was:" >&5 | 3495 echo "configure: failed program was:" >&5 |
| 3503 cat conftest.$ac_ext >&5 | 3496 cat conftest.$ac_ext >&5 |
| 3518 | 3511 |
| 3519 fi | 3512 fi |
| 3520 | 3513 |
| 3521 | 3514 |
| 3522 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3515 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3523 echo "configure:3524: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3516 echo "configure:3517: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3524 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3517 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3525 | 3518 |
| 3526 cat > conftestmake <<\EOF | 3519 cat > conftestmake <<\EOF |
| 3527 all: | 3520 all: |
| 3528 @echo 'ac_maketemp="${MAKE}"' | 3521 @echo 'ac_maketemp="${MAKE}"' |
| 3543 SET_MAKE="MAKE=${MAKE-make}" | 3536 SET_MAKE="MAKE=${MAKE-make}" |
| 3544 fi | 3537 fi |
| 3545 | 3538 |
| 3546 | 3539 |
| 3547 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3540 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3548 echo "configure:3549: checking whether byte ordering is bigendian" >&5 | 3541 echo "configure:3542: checking whether byte ordering is bigendian" >&5 |
| 3549 | 3542 |
| 3550 ac_cv_c_bigendian=unknown | 3543 ac_cv_c_bigendian=unknown |
| 3551 # See if sys/param.h defines the BYTE_ORDER macro. | 3544 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3552 cat > conftest.$ac_ext <<EOF | 3545 cat > conftest.$ac_ext <<EOF |
| 3553 #line 3554 "configure" | 3546 #line 3547 "configure" |
| 3554 #include "confdefs.h" | 3547 #include "confdefs.h" |
| 3555 #include <sys/types.h> | 3548 #include <sys/types.h> |
| 3556 #include <sys/param.h> | 3549 #include <sys/param.h> |
| 3557 int main() { | 3550 int main() { |
| 3558 | 3551 |
| 3559 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3552 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3560 bogus endian macros | 3553 bogus endian macros |
| 3561 #endif | 3554 #endif |
| 3562 ; return 0; } | 3555 ; return 0; } |
| 3563 EOF | 3556 EOF |
| 3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3557 if { (eval echo configure:3558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3565 rm -rf conftest* | 3558 rm -rf conftest* |
| 3566 # It does; now see whether it defined to BIG_ENDIAN or not. | 3559 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3567 cat > conftest.$ac_ext <<EOF | 3560 cat > conftest.$ac_ext <<EOF |
| 3568 #line 3569 "configure" | 3561 #line 3562 "configure" |
| 3569 #include "confdefs.h" | 3562 #include "confdefs.h" |
| 3570 #include <sys/types.h> | 3563 #include <sys/types.h> |
| 3571 #include <sys/param.h> | 3564 #include <sys/param.h> |
| 3572 int main() { | 3565 int main() { |
| 3573 | 3566 |
| 3574 #if BYTE_ORDER != BIG_ENDIAN | 3567 #if BYTE_ORDER != BIG_ENDIAN |
| 3575 not big endian | 3568 not big endian |
| 3576 #endif | 3569 #endif |
| 3577 ; return 0; } | 3570 ; return 0; } |
| 3578 EOF | 3571 EOF |
| 3579 if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3580 rm -rf conftest* | 3573 rm -rf conftest* |
| 3581 ac_cv_c_bigendian=yes | 3574 ac_cv_c_bigendian=yes |
| 3582 else | 3575 else |
| 3583 echo "configure: failed program was:" >&5 | 3576 echo "configure: failed program was:" >&5 |
| 3584 cat conftest.$ac_ext >&5 | 3577 cat conftest.$ac_ext >&5 |
| 3591 cat conftest.$ac_ext >&5 | 3584 cat conftest.$ac_ext >&5 |
| 3592 fi | 3585 fi |
| 3593 rm -f conftest* | 3586 rm -f conftest* |
| 3594 if test $ac_cv_c_bigendian = unknown; then | 3587 if test $ac_cv_c_bigendian = unknown; then |
| 3595 cat > conftest.$ac_ext <<EOF | 3588 cat > conftest.$ac_ext <<EOF |
| 3596 #line 3597 "configure" | 3589 #line 3590 "configure" |
| 3597 #include "confdefs.h" | 3590 #include "confdefs.h" |
| 3598 main () { | 3591 main () { |
| 3599 /* Are we little or big endian? From Harbison&Steele. */ | 3592 /* Are we little or big endian? From Harbison&Steele. */ |
| 3600 union | 3593 union |
| 3601 { | 3594 { |
| 3604 } u; | 3597 } u; |
| 3605 u.l = 1; | 3598 u.l = 1; |
| 3606 exit (u.c[sizeof (long) - 1] == 1); | 3599 exit (u.c[sizeof (long) - 1] == 1); |
| 3607 } | 3600 } |
| 3608 EOF | 3601 EOF |
| 3609 if { (eval echo configure:3610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3610 then | 3603 then |
| 3611 ac_cv_c_bigendian=no | 3604 ac_cv_c_bigendian=no |
| 3612 else | 3605 else |
| 3613 echo "configure: failed program was:" >&5 | 3606 echo "configure: failed program was:" >&5 |
| 3614 cat conftest.$ac_ext >&5 | 3607 cat conftest.$ac_ext >&5 |
| 3630 | 3623 |
| 3631 fi | 3624 fi |
| 3632 | 3625 |
| 3633 | 3626 |
| 3634 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3627 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3635 echo "configure:3636: checking size of short" >&5 | 3628 echo "configure:3629: checking size of short" >&5 |
| 3636 | 3629 |
| 3637 cat > conftest.$ac_ext <<EOF | 3630 cat > conftest.$ac_ext <<EOF |
| 3638 #line 3639 "configure" | 3631 #line 3632 "configure" |
| 3639 #include "confdefs.h" | 3632 #include "confdefs.h" |
| 3640 #include <stdio.h> | 3633 #include <stdio.h> |
| 3641 main() | 3634 main() |
| 3642 { | 3635 { |
| 3643 FILE *f=fopen("conftestval", "w"); | 3636 FILE *f=fopen("conftestval", "w"); |
| 3644 if (!f) exit(1); | 3637 if (!f) exit(1); |
| 3645 fprintf(f, "%d\n", sizeof(short)); | 3638 fprintf(f, "%d\n", sizeof(short)); |
| 3646 exit(0); | 3639 exit(0); |
| 3647 } | 3640 } |
| 3648 EOF | 3641 EOF |
| 3649 if { (eval echo configure:3650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3642 if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3650 then | 3643 then |
| 3651 ac_cv_sizeof_short=`cat conftestval` | 3644 ac_cv_sizeof_short=`cat conftestval` |
| 3652 else | 3645 else |
| 3653 echo "configure: failed program was:" >&5 | 3646 echo "configure: failed program was:" >&5 |
| 3654 cat conftest.$ac_ext >&5 | 3647 cat conftest.$ac_ext >&5 |
| 3671 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3664 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3672 echo "*** PANIC *** Please examine config.log for compilation errors." | 3665 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3673 exit 1 | 3666 exit 1 |
| 3674 fi | 3667 fi |
| 3675 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3668 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3676 echo "configure:3677: checking size of int" >&5 | 3669 echo "configure:3670: checking size of int" >&5 |
| 3677 | 3670 |
| 3678 cat > conftest.$ac_ext <<EOF | 3671 cat > conftest.$ac_ext <<EOF |
| 3679 #line 3680 "configure" | 3672 #line 3673 "configure" |
| 3680 #include "confdefs.h" | 3673 #include "confdefs.h" |
| 3681 #include <stdio.h> | 3674 #include <stdio.h> |
| 3682 main() | 3675 main() |
| 3683 { | 3676 { |
| 3684 FILE *f=fopen("conftestval", "w"); | 3677 FILE *f=fopen("conftestval", "w"); |
| 3685 if (!f) exit(1); | 3678 if (!f) exit(1); |
| 3686 fprintf(f, "%d\n", sizeof(int)); | 3679 fprintf(f, "%d\n", sizeof(int)); |
| 3687 exit(0); | 3680 exit(0); |
| 3688 } | 3681 } |
| 3689 EOF | 3682 EOF |
| 3690 if { (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3691 then | 3684 then |
| 3692 ac_cv_sizeof_int=`cat conftestval` | 3685 ac_cv_sizeof_int=`cat conftestval` |
| 3693 else | 3686 else |
| 3694 echo "configure: failed program was:" >&5 | 3687 echo "configure: failed program was:" >&5 |
| 3695 cat conftest.$ac_ext >&5 | 3688 cat conftest.$ac_ext >&5 |
| 3706 EOF | 3699 EOF |
| 3707 } | 3700 } |
| 3708 | 3701 |
| 3709 | 3702 |
| 3710 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3703 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3711 echo "configure:3712: checking size of long" >&5 | 3704 echo "configure:3705: checking size of long" >&5 |
| 3712 | 3705 |
| 3713 cat > conftest.$ac_ext <<EOF | 3706 cat > conftest.$ac_ext <<EOF |
| 3714 #line 3715 "configure" | 3707 #line 3708 "configure" |
| 3715 #include "confdefs.h" | 3708 #include "confdefs.h" |
| 3716 #include <stdio.h> | 3709 #include <stdio.h> |
| 3717 main() | 3710 main() |
| 3718 { | 3711 { |
| 3719 FILE *f=fopen("conftestval", "w"); | 3712 FILE *f=fopen("conftestval", "w"); |
| 3720 if (!f) exit(1); | 3713 if (!f) exit(1); |
| 3721 fprintf(f, "%d\n", sizeof(long)); | 3714 fprintf(f, "%d\n", sizeof(long)); |
| 3722 exit(0); | 3715 exit(0); |
| 3723 } | 3716 } |
| 3724 EOF | 3717 EOF |
| 3725 if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3718 if { (eval echo configure:3719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3726 then | 3719 then |
| 3727 ac_cv_sizeof_long=`cat conftestval` | 3720 ac_cv_sizeof_long=`cat conftestval` |
| 3728 else | 3721 else |
| 3729 echo "configure: failed program was:" >&5 | 3722 echo "configure: failed program was:" >&5 |
| 3730 cat conftest.$ac_ext >&5 | 3723 cat conftest.$ac_ext >&5 |
| 3741 EOF | 3734 EOF |
| 3742 } | 3735 } |
| 3743 | 3736 |
| 3744 | 3737 |
| 3745 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3738 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3746 echo "configure:3747: checking size of long long" >&5 | 3739 echo "configure:3740: checking size of long long" >&5 |
| 3747 | 3740 |
| 3748 cat > conftest.$ac_ext <<EOF | 3741 cat > conftest.$ac_ext <<EOF |
| 3749 #line 3750 "configure" | 3742 #line 3743 "configure" |
| 3750 #include "confdefs.h" | 3743 #include "confdefs.h" |
| 3751 #include <stdio.h> | 3744 #include <stdio.h> |
| 3752 main() | 3745 main() |
| 3753 { | 3746 { |
| 3754 FILE *f=fopen("conftestval", "w"); | 3747 FILE *f=fopen("conftestval", "w"); |
| 3755 if (!f) exit(1); | 3748 if (!f) exit(1); |
| 3756 fprintf(f, "%d\n", sizeof(long long)); | 3749 fprintf(f, "%d\n", sizeof(long long)); |
| 3757 exit(0); | 3750 exit(0); |
| 3758 } | 3751 } |
| 3759 EOF | 3752 EOF |
| 3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3761 then | 3754 then |
| 3762 ac_cv_sizeof_long_long=`cat conftestval` | 3755 ac_cv_sizeof_long_long=`cat conftestval` |
| 3763 else | 3756 else |
| 3764 echo "configure: failed program was:" >&5 | 3757 echo "configure: failed program was:" >&5 |
| 3765 cat conftest.$ac_ext >&5 | 3758 cat conftest.$ac_ext >&5 |
| 3776 EOF | 3769 EOF |
| 3777 } | 3770 } |
| 3778 | 3771 |
| 3779 | 3772 |
| 3780 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3773 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3781 echo "configure:3782: checking size of void *" >&5 | 3774 echo "configure:3775: checking size of void *" >&5 |
| 3782 | 3775 |
| 3783 cat > conftest.$ac_ext <<EOF | 3776 cat > conftest.$ac_ext <<EOF |
| 3784 #line 3785 "configure" | 3777 #line 3778 "configure" |
| 3785 #include "confdefs.h" | 3778 #include "confdefs.h" |
| 3786 #include <stdio.h> | 3779 #include <stdio.h> |
| 3787 main() | 3780 main() |
| 3788 { | 3781 { |
| 3789 FILE *f=fopen("conftestval", "w"); | 3782 FILE *f=fopen("conftestval", "w"); |
| 3790 if (!f) exit(1); | 3783 if (!f) exit(1); |
| 3791 fprintf(f, "%d\n", sizeof(void *)); | 3784 fprintf(f, "%d\n", sizeof(void *)); |
| 3792 exit(0); | 3785 exit(0); |
| 3793 } | 3786 } |
| 3794 EOF | 3787 EOF |
| 3795 if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3788 if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3796 then | 3789 then |
| 3797 ac_cv_sizeof_void_p=`cat conftestval` | 3790 ac_cv_sizeof_void_p=`cat conftestval` |
| 3798 else | 3791 else |
| 3799 echo "configure: failed program was:" >&5 | 3792 echo "configure: failed program was:" >&5 |
| 3800 cat conftest.$ac_ext >&5 | 3793 cat conftest.$ac_ext >&5 |
| 3812 } | 3805 } |
| 3813 | 3806 |
| 3814 | 3807 |
| 3815 | 3808 |
| 3816 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3809 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3817 echo "configure:3818: checking for long file names" >&5 | 3810 echo "configure:3811: checking for long file names" >&5 |
| 3818 | 3811 |
| 3819 ac_cv_sys_long_file_names=yes | 3812 ac_cv_sys_long_file_names=yes |
| 3820 # Test for long file names in all the places we know might matter: | 3813 # Test for long file names in all the places we know might matter: |
| 3821 # . the current directory, where building will happen | 3814 # . the current directory, where building will happen |
| 3822 # $prefix/lib where we will be installing things | 3815 # $prefix/lib where we will be installing things |
| 3859 fi | 3852 fi |
| 3860 | 3853 |
| 3861 | 3854 |
| 3862 | 3855 |
| 3863 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3856 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 3864 echo "configure:3865: checking for sin in -lm" >&5 | 3857 echo "configure:3858: checking for sin in -lm" >&5 |
| 3865 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3858 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 3866 | 3859 |
| 3867 xe_check_libs=" -lm " | 3860 xe_check_libs=" -lm " |
| 3868 cat > conftest.$ac_ext <<EOF | 3861 cat > conftest.$ac_ext <<EOF |
| 3869 #line 3870 "configure" | 3862 #line 3863 "configure" |
| 3870 #include "confdefs.h" | 3863 #include "confdefs.h" |
| 3871 /* Override any gcc2 internal prototype to avoid an error. */ | 3864 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3872 /* We use char because int might match the return type of a gcc2 | 3865 /* We use char because int might match the return type of a gcc2 |
| 3873 builtin and then its argument prototype would still apply. */ | 3866 builtin and then its argument prototype would still apply. */ |
| 3874 char sin(); | 3867 char sin(); |
| 3875 | 3868 |
| 3876 int main() { | 3869 int main() { |
| 3877 sin() | 3870 sin() |
| 3878 ; return 0; } | 3871 ; return 0; } |
| 3879 EOF | 3872 EOF |
| 3880 if { (eval echo configure:3881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3873 if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3881 rm -rf conftest* | 3874 rm -rf conftest* |
| 3882 eval "ac_cv_lib_$ac_lib_var=yes" | 3875 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3883 else | 3876 else |
| 3884 echo "configure: failed program was:" >&5 | 3877 echo "configure: failed program was:" >&5 |
| 3885 cat conftest.$ac_ext >&5 | 3878 cat conftest.$ac_ext >&5 |
| 3917 EOF | 3910 EOF |
| 3918 } | 3911 } |
| 3919 | 3912 |
| 3920 | 3913 |
| 3921 cat > conftest.$ac_ext <<EOF | 3914 cat > conftest.$ac_ext <<EOF |
| 3922 #line 3923 "configure" | 3915 #line 3916 "configure" |
| 3923 #include "confdefs.h" | 3916 #include "confdefs.h" |
| 3924 #include <math.h> | 3917 #include <math.h> |
| 3925 int main() { | 3918 int main() { |
| 3926 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 3919 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 3927 ; return 0; } | 3920 ; return 0; } |
| 3928 EOF | 3921 EOF |
| 3929 if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3922 if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3930 rm -rf conftest* | 3923 rm -rf conftest* |
| 3931 { test "$extra_verbose" = "yes" && cat << \EOF | 3924 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3932 Defining HAVE_INVERSE_HYPERBOLIC | 3925 Defining HAVE_INVERSE_HYPERBOLIC |
| 3933 EOF | 3926 EOF |
| 3934 cat >> confdefs.h <<\EOF | 3927 cat >> confdefs.h <<\EOF |
| 3941 cat conftest.$ac_ext >&5 | 3934 cat conftest.$ac_ext >&5 |
| 3942 fi | 3935 fi |
| 3943 rm -f conftest* | 3936 rm -f conftest* |
| 3944 | 3937 |
| 3945 echo "checking type of mail spool file locking" 1>&6 | 3938 echo "checking type of mail spool file locking" 1>&6 |
| 3946 echo "configure:3947: checking type of mail spool file locking" >&5 | 3939 echo "configure:3940: checking type of mail spool file locking" >&5 |
| 3947 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3940 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3948 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3941 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3949 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3942 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3950 Defining REAL_MAIL_USE_LOCKF | 3943 Defining REAL_MAIL_USE_LOCKF |
| 3951 EOF | 3944 EOF |
| 3965 else mail_locking="dot-locking" | 3958 else mail_locking="dot-locking" |
| 3966 fi | 3959 fi |
| 3967 | 3960 |
| 3968 | 3961 |
| 3969 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3962 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3970 echo "configure:3971: checking for kstat_open in -lkstat" >&5 | 3963 echo "configure:3964: checking for kstat_open in -lkstat" >&5 |
| 3971 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3964 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3972 | 3965 |
| 3973 xe_check_libs=" -lkstat " | 3966 xe_check_libs=" -lkstat " |
| 3974 cat > conftest.$ac_ext <<EOF | 3967 cat > conftest.$ac_ext <<EOF |
| 3975 #line 3976 "configure" | 3968 #line 3969 "configure" |
| 3976 #include "confdefs.h" | 3969 #include "confdefs.h" |
| 3977 /* Override any gcc2 internal prototype to avoid an error. */ | 3970 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3978 /* We use char because int might match the return type of a gcc2 | 3971 /* We use char because int might match the return type of a gcc2 |
| 3979 builtin and then its argument prototype would still apply. */ | 3972 builtin and then its argument prototype would still apply. */ |
| 3980 char kstat_open(); | 3973 char kstat_open(); |
| 3981 | 3974 |
| 3982 int main() { | 3975 int main() { |
| 3983 kstat_open() | 3976 kstat_open() |
| 3984 ; return 0; } | 3977 ; return 0; } |
| 3985 EOF | 3978 EOF |
| 3986 if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3979 if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3987 rm -rf conftest* | 3980 rm -rf conftest* |
| 3988 eval "ac_cv_lib_$ac_lib_var=yes" | 3981 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3989 else | 3982 else |
| 3990 echo "configure: failed program was:" >&5 | 3983 echo "configure: failed program was:" >&5 |
| 3991 cat conftest.$ac_ext >&5 | 3984 cat conftest.$ac_ext >&5 |
| 4015 | 4008 |
| 4016 | 4009 |
| 4017 | 4010 |
| 4018 | 4011 |
| 4019 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4012 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4020 echo "configure:4021: checking for kvm_read in -lkvm" >&5 | 4013 echo "configure:4014: checking for kvm_read in -lkvm" >&5 |
| 4021 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4014 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4022 | 4015 |
| 4023 xe_check_libs=" -lkvm " | 4016 xe_check_libs=" -lkvm " |
| 4024 cat > conftest.$ac_ext <<EOF | 4017 cat > conftest.$ac_ext <<EOF |
| 4025 #line 4026 "configure" | 4018 #line 4019 "configure" |
| 4026 #include "confdefs.h" | 4019 #include "confdefs.h" |
| 4027 /* Override any gcc2 internal prototype to avoid an error. */ | 4020 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4028 /* We use char because int might match the return type of a gcc2 | 4021 /* We use char because int might match the return type of a gcc2 |
| 4029 builtin and then its argument prototype would still apply. */ | 4022 builtin and then its argument prototype would still apply. */ |
| 4030 char kvm_read(); | 4023 char kvm_read(); |
| 4031 | 4024 |
| 4032 int main() { | 4025 int main() { |
| 4033 kvm_read() | 4026 kvm_read() |
| 4034 ; return 0; } | 4027 ; return 0; } |
| 4035 EOF | 4028 EOF |
| 4036 if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4029 if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4037 rm -rf conftest* | 4030 rm -rf conftest* |
| 4038 eval "ac_cv_lib_$ac_lib_var=yes" | 4031 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4039 else | 4032 else |
| 4040 echo "configure: failed program was:" >&5 | 4033 echo "configure: failed program was:" >&5 |
| 4041 cat conftest.$ac_ext >&5 | 4034 cat conftest.$ac_ext >&5 |
| 4065 | 4058 |
| 4066 | 4059 |
| 4067 | 4060 |
| 4068 | 4061 |
| 4069 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4062 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4070 echo "configure:4071: checking for cma_open in -lpthreads" >&5 | 4063 echo "configure:4064: checking for cma_open in -lpthreads" >&5 |
| 4071 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4064 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4072 | 4065 |
| 4073 xe_check_libs=" -lpthreads " | 4066 xe_check_libs=" -lpthreads " |
| 4074 cat > conftest.$ac_ext <<EOF | 4067 cat > conftest.$ac_ext <<EOF |
| 4075 #line 4076 "configure" | 4068 #line 4069 "configure" |
| 4076 #include "confdefs.h" | 4069 #include "confdefs.h" |
| 4077 /* Override any gcc2 internal prototype to avoid an error. */ | 4070 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4078 /* We use char because int might match the return type of a gcc2 | 4071 /* We use char because int might match the return type of a gcc2 |
| 4079 builtin and then its argument prototype would still apply. */ | 4072 builtin and then its argument prototype would still apply. */ |
| 4080 char cma_open(); | 4073 char cma_open(); |
| 4081 | 4074 |
| 4082 int main() { | 4075 int main() { |
| 4083 cma_open() | 4076 cma_open() |
| 4084 ; return 0; } | 4077 ; return 0; } |
| 4085 EOF | 4078 EOF |
| 4086 if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4079 if { (eval echo configure:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4087 rm -rf conftest* | 4080 rm -rf conftest* |
| 4088 eval "ac_cv_lib_$ac_lib_var=yes" | 4081 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4089 else | 4082 else |
| 4090 echo "configure: failed program was:" >&5 | 4083 echo "configure: failed program was:" >&5 |
| 4091 cat conftest.$ac_ext >&5 | 4084 cat conftest.$ac_ext >&5 |
| 4117 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4110 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 4118 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4111 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 4119 fi | 4112 fi |
| 4120 | 4113 |
| 4121 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4114 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4122 echo "configure:4123: checking whether the -xildoff compiler flag is required" >&5 | 4115 echo "configure:4116: checking whether the -xildoff compiler flag is required" >&5 |
| 4123 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4116 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4124 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4117 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4125 then echo "$ac_t""no" 1>&6; | 4118 then echo "$ac_t""no" 1>&6; |
| 4126 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 | 4119 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 |
| 4127 fi | 4120 fi |
| 4128 else echo "$ac_t""no" 1>&6 | 4121 else echo "$ac_t""no" 1>&6 |
| 4129 fi | 4122 fi |
| 4130 | 4123 |
| 4131 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4124 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4132 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4125 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4133 echo "configure:4134: checking for \"-z ignore\" linker flag" >&5 | 4126 echo "configure:4127: checking for \"-z ignore\" linker flag" >&5 |
| 4134 case "`ld -h 2>&1`" in | 4127 case "`ld -h 2>&1`" in |
| 4135 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4128 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4136 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4129 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4137 *) echo "$ac_t""no" 1>&6 ;; | 4130 *) echo "$ac_t""no" 1>&6 ;; |
| 4138 esac | 4131 esac |
| 4139 fi | 4132 fi |
| 4140 | 4133 |
| 4141 | 4134 |
| 4142 echo "checking "for specified window system"" 1>&6 | 4135 echo "checking "for specified window system"" 1>&6 |
| 4143 echo "configure:4144: checking "for specified window system"" >&5 | 4136 echo "configure:4137: checking "for specified window system"" >&5 |
| 4144 | 4137 |
| 4145 if test "$with_x11" != "no"; then | 4138 if test "$with_x11" != "no"; then |
| 4146 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4139 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4147 window_system=x11 with_x11=yes | 4140 window_system=x11 with_x11=yes |
| 4148 | 4141 |
| 4168 # If we find X, set shell vars x_includes and x_libraries to the | 4161 # If we find X, set shell vars x_includes and x_libraries to the |
| 4169 # paths, otherwise set no_x=yes. | 4162 # paths, otherwise set no_x=yes. |
| 4170 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4163 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4171 # --without-x overrides everything else, but does not touch the cache. | 4164 # --without-x overrides everything else, but does not touch the cache. |
| 4172 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4165 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4173 echo "configure:4174: checking for X" >&5 | 4166 echo "configure:4167: checking for X" >&5 |
| 4174 | 4167 |
| 4175 # Check whether --with-x or --without-x was given. | 4168 # Check whether --with-x or --without-x was given. |
| 4176 if test "${with_x+set}" = set; then | 4169 if test "${with_x+set}" = set; then |
| 4177 withval="$with_x" | 4170 withval="$with_x" |
| 4178 : | 4171 : |
| 4228 # Guess where to find include files, by looking for this one X11 .h file. | 4221 # Guess where to find include files, by looking for this one X11 .h file. |
| 4229 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4222 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4230 | 4223 |
| 4231 # First, try using that file with no special directory specified. | 4224 # First, try using that file with no special directory specified. |
| 4232 cat > conftest.$ac_ext <<EOF | 4225 cat > conftest.$ac_ext <<EOF |
| 4233 #line 4234 "configure" | 4226 #line 4227 "configure" |
| 4234 #include "confdefs.h" | 4227 #include "confdefs.h" |
| 4235 #include <$x_direct_test_include> | 4228 #include <$x_direct_test_include> |
| 4236 EOF | 4229 EOF |
| 4237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4238 { (eval echo configure:4239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4231 { (eval echo configure:4232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4239 ac_err=`grep -v '^ *+' conftest.out` | 4232 ac_err=`grep -v '^ *+' conftest.out` |
| 4240 if test -z "$ac_err"; then | 4233 if test -z "$ac_err"; then |
| 4241 rm -rf conftest* | 4234 rm -rf conftest* |
| 4242 # We can compile using X headers with no special include directory. | 4235 # We can compile using X headers with no special include directory. |
| 4243 ac_x_includes= | 4236 ac_x_includes= |
| 4302 # See if we find them without any special options. | 4295 # See if we find them without any special options. |
| 4303 # Don't add to $LIBS permanently. | 4296 # Don't add to $LIBS permanently. |
| 4304 ac_save_LIBS="$LIBS" | 4297 ac_save_LIBS="$LIBS" |
| 4305 LIBS="-l$x_direct_test_library $LIBS" | 4298 LIBS="-l$x_direct_test_library $LIBS" |
| 4306 cat > conftest.$ac_ext <<EOF | 4299 cat > conftest.$ac_ext <<EOF |
| 4307 #line 4308 "configure" | 4300 #line 4301 "configure" |
| 4308 #include "confdefs.h" | 4301 #include "confdefs.h" |
| 4309 | 4302 |
| 4310 int main() { | 4303 int main() { |
| 4311 ${x_direct_test_function}() | 4304 ${x_direct_test_function}() |
| 4312 ; return 0; } | 4305 ; return 0; } |
| 4313 EOF | 4306 EOF |
| 4314 if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4307 if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4315 rm -rf conftest* | 4308 rm -rf conftest* |
| 4316 LIBS="$ac_save_LIBS" | 4309 LIBS="$ac_save_LIBS" |
| 4317 # We can link X programs with no special library path. | 4310 # We can link X programs with no special library path. |
| 4318 ac_x_libraries= | 4311 ac_x_libraries= |
| 4319 else | 4312 else |
| 4418 # For Solaris; some versions of Sun CC require a space after -R and | 4411 # For Solaris; some versions of Sun CC require a space after -R and |
| 4419 # others require no space. Words are not sufficient . . . . | 4412 # others require no space. Words are not sufficient . . . . |
| 4420 case "`(uname -sr) 2>/dev/null`" in | 4413 case "`(uname -sr) 2>/dev/null`" in |
| 4421 "SunOS 5"*) | 4414 "SunOS 5"*) |
| 4422 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4415 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4423 echo "configure:4424: checking whether -R must be followed by a space" >&5 | 4416 echo "configure:4417: checking whether -R must be followed by a space" >&5 |
| 4424 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4417 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4425 cat > conftest.$ac_ext <<EOF | 4418 cat > conftest.$ac_ext <<EOF |
| 4426 #line 4427 "configure" | 4419 #line 4420 "configure" |
| 4427 #include "confdefs.h" | 4420 #include "confdefs.h" |
| 4428 | 4421 |
| 4429 int main() { | 4422 int main() { |
| 4430 | 4423 |
| 4431 ; return 0; } | 4424 ; return 0; } |
| 4432 EOF | 4425 EOF |
| 4433 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4426 if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4434 rm -rf conftest* | 4427 rm -rf conftest* |
| 4435 ac_R_nospace=yes | 4428 ac_R_nospace=yes |
| 4436 else | 4429 else |
| 4437 echo "configure: failed program was:" >&5 | 4430 echo "configure: failed program was:" >&5 |
| 4438 cat conftest.$ac_ext >&5 | 4431 cat conftest.$ac_ext >&5 |
| 4444 echo "$ac_t""no" 1>&6 | 4437 echo "$ac_t""no" 1>&6 |
| 4445 X_LIBS="$X_LIBS -R$x_libraries" | 4438 X_LIBS="$X_LIBS -R$x_libraries" |
| 4446 else | 4439 else |
| 4447 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4440 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4448 cat > conftest.$ac_ext <<EOF | 4441 cat > conftest.$ac_ext <<EOF |
| 4449 #line 4450 "configure" | 4442 #line 4443 "configure" |
| 4450 #include "confdefs.h" | 4443 #include "confdefs.h" |
| 4451 | 4444 |
| 4452 int main() { | 4445 int main() { |
| 4453 | 4446 |
| 4454 ; return 0; } | 4447 ; return 0; } |
| 4455 EOF | 4448 EOF |
| 4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4457 rm -rf conftest* | 4450 rm -rf conftest* |
| 4458 ac_R_space=yes | 4451 ac_R_space=yes |
| 4459 else | 4452 else |
| 4460 echo "configure: failed program was:" >&5 | 4453 echo "configure: failed program was:" >&5 |
| 4461 cat conftest.$ac_ext >&5 | 4454 cat conftest.$ac_ext >&5 |
| 4487 if test "$with_dnet" = "no" ; then | 4480 if test "$with_dnet" = "no" ; then |
| 4488 ac_cv_lib_dnet_dnet_ntoa=no | 4481 ac_cv_lib_dnet_dnet_ntoa=no |
| 4489 else | 4482 else |
| 4490 | 4483 |
| 4491 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4484 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4492 echo "configure:4493: checking for dnet_ntoa in -ldnet" >&5 | 4485 echo "configure:4486: checking for dnet_ntoa in -ldnet" >&5 |
| 4493 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4486 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4494 | 4487 |
| 4495 xe_check_libs=" -ldnet " | 4488 xe_check_libs=" -ldnet " |
| 4496 cat > conftest.$ac_ext <<EOF | 4489 cat > conftest.$ac_ext <<EOF |
| 4497 #line 4498 "configure" | 4490 #line 4491 "configure" |
| 4498 #include "confdefs.h" | 4491 #include "confdefs.h" |
| 4499 /* Override any gcc2 internal prototype to avoid an error. */ | 4492 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4500 /* We use char because int might match the return type of a gcc2 | 4493 /* We use char because int might match the return type of a gcc2 |
| 4501 builtin and then its argument prototype would still apply. */ | 4494 builtin and then its argument prototype would still apply. */ |
| 4502 char dnet_ntoa(); | 4495 char dnet_ntoa(); |
| 4503 | 4496 |
| 4504 int main() { | 4497 int main() { |
| 4505 dnet_ntoa() | 4498 dnet_ntoa() |
| 4506 ; return 0; } | 4499 ; return 0; } |
| 4507 EOF | 4500 EOF |
| 4508 if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4509 rm -rf conftest* | 4502 rm -rf conftest* |
| 4510 eval "ac_cv_lib_$ac_lib_var=yes" | 4503 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4511 else | 4504 else |
| 4512 echo "configure: failed program was:" >&5 | 4505 echo "configure: failed program was:" >&5 |
| 4513 cat conftest.$ac_ext >&5 | 4506 cat conftest.$ac_ext >&5 |
| 4527 fi | 4520 fi |
| 4528 | 4521 |
| 4529 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4522 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4530 | 4523 |
| 4531 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4524 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4532 echo "configure:4533: checking for dnet_ntoa in -ldnet_stub" >&5 | 4525 echo "configure:4526: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4533 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4526 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4534 | 4527 |
| 4535 xe_check_libs=" -ldnet_stub " | 4528 xe_check_libs=" -ldnet_stub " |
| 4536 cat > conftest.$ac_ext <<EOF | 4529 cat > conftest.$ac_ext <<EOF |
| 4537 #line 4538 "configure" | 4530 #line 4531 "configure" |
| 4538 #include "confdefs.h" | 4531 #include "confdefs.h" |
| 4539 /* Override any gcc2 internal prototype to avoid an error. */ | 4532 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4540 /* We use char because int might match the return type of a gcc2 | 4533 /* We use char because int might match the return type of a gcc2 |
| 4541 builtin and then its argument prototype would still apply. */ | 4534 builtin and then its argument prototype would still apply. */ |
| 4542 char dnet_ntoa(); | 4535 char dnet_ntoa(); |
| 4543 | 4536 |
| 4544 int main() { | 4537 int main() { |
| 4545 dnet_ntoa() | 4538 dnet_ntoa() |
| 4546 ; return 0; } | 4539 ; return 0; } |
| 4547 EOF | 4540 EOF |
| 4548 if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4541 if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4549 rm -rf conftest* | 4542 rm -rf conftest* |
| 4550 eval "ac_cv_lib_$ac_lib_var=yes" | 4543 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4551 else | 4544 else |
| 4552 echo "configure: failed program was:" >&5 | 4545 echo "configure: failed program was:" >&5 |
| 4553 cat conftest.$ac_ext >&5 | 4546 cat conftest.$ac_ext >&5 |
| 4572 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4565 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4573 # needs -lnsl. | 4566 # needs -lnsl. |
| 4574 # The nsl library prevents programs from opening the X display | 4567 # The nsl library prevents programs from opening the X display |
| 4575 # on Irix 5.2, according to dickey@clark.net. | 4568 # on Irix 5.2, according to dickey@clark.net. |
| 4576 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4569 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4577 echo "configure:4578: checking for gethostbyname" >&5 | 4570 echo "configure:4571: checking for gethostbyname" >&5 |
| 4578 | 4571 |
| 4579 cat > conftest.$ac_ext <<EOF | 4572 cat > conftest.$ac_ext <<EOF |
| 4580 #line 4581 "configure" | 4573 #line 4574 "configure" |
| 4581 #include "confdefs.h" | 4574 #include "confdefs.h" |
| 4582 /* System header to define __stub macros and hopefully few prototypes, | 4575 /* System header to define __stub macros and hopefully few prototypes, |
| 4583 which can conflict with char gethostbyname(); below. */ | 4576 which can conflict with char gethostbyname(); below. */ |
| 4584 #include <assert.h> | 4577 #include <assert.h> |
| 4585 /* Override any gcc2 internal prototype to avoid an error. */ | 4578 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4598 gethostbyname(); | 4591 gethostbyname(); |
| 4599 #endif | 4592 #endif |
| 4600 | 4593 |
| 4601 ; return 0; } | 4594 ; return 0; } |
| 4602 EOF | 4595 EOF |
| 4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4596 if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4604 rm -rf conftest* | 4597 rm -rf conftest* |
| 4605 eval "ac_cv_func_gethostbyname=yes" | 4598 eval "ac_cv_func_gethostbyname=yes" |
| 4606 else | 4599 else |
| 4607 echo "configure: failed program was:" >&5 | 4600 echo "configure: failed program was:" >&5 |
| 4608 cat conftest.$ac_ext >&5 | 4601 cat conftest.$ac_ext >&5 |
| 4619 fi | 4612 fi |
| 4620 | 4613 |
| 4621 if test $ac_cv_func_gethostbyname = no; then | 4614 if test $ac_cv_func_gethostbyname = no; then |
| 4622 | 4615 |
| 4623 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4616 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4624 echo "configure:4625: checking for gethostbyname in -lnsl" >&5 | 4617 echo "configure:4618: checking for gethostbyname in -lnsl" >&5 |
| 4625 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4618 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4626 | 4619 |
| 4627 xe_check_libs=" -lnsl " | 4620 xe_check_libs=" -lnsl " |
| 4628 cat > conftest.$ac_ext <<EOF | 4621 cat > conftest.$ac_ext <<EOF |
| 4629 #line 4630 "configure" | 4622 #line 4623 "configure" |
| 4630 #include "confdefs.h" | 4623 #include "confdefs.h" |
| 4631 /* Override any gcc2 internal prototype to avoid an error. */ | 4624 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4632 /* We use char because int might match the return type of a gcc2 | 4625 /* We use char because int might match the return type of a gcc2 |
| 4633 builtin and then its argument prototype would still apply. */ | 4626 builtin and then its argument prototype would still apply. */ |
| 4634 char gethostbyname(); | 4627 char gethostbyname(); |
| 4635 | 4628 |
| 4636 int main() { | 4629 int main() { |
| 4637 gethostbyname() | 4630 gethostbyname() |
| 4638 ; return 0; } | 4631 ; return 0; } |
| 4639 EOF | 4632 EOF |
| 4640 if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4633 if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4641 rm -rf conftest* | 4634 rm -rf conftest* |
| 4642 eval "ac_cv_lib_$ac_lib_var=yes" | 4635 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4643 else | 4636 else |
| 4644 echo "configure: failed program was:" >&5 | 4637 echo "configure: failed program was:" >&5 |
| 4645 cat conftest.$ac_ext >&5 | 4638 cat conftest.$ac_ext >&5 |
| 4665 # on later versions), says simon@lia.di.epfl.ch: it contains | 4658 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4666 # gethostby* variants that don't use the nameserver (or something). | 4659 # gethostby* variants that don't use the nameserver (or something). |
| 4667 # -lsocket must be given before -lnsl if both are needed. | 4660 # -lsocket must be given before -lnsl if both are needed. |
| 4668 # We assume that if connect needs -lnsl, so does gethostbyname. | 4661 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4669 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4662 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4670 echo "configure:4671: checking for connect" >&5 | 4663 echo "configure:4664: checking for connect" >&5 |
| 4671 | 4664 |
| 4672 cat > conftest.$ac_ext <<EOF | 4665 cat > conftest.$ac_ext <<EOF |
| 4673 #line 4674 "configure" | 4666 #line 4667 "configure" |
| 4674 #include "confdefs.h" | 4667 #include "confdefs.h" |
| 4675 /* System header to define __stub macros and hopefully few prototypes, | 4668 /* System header to define __stub macros and hopefully few prototypes, |
| 4676 which can conflict with char connect(); below. */ | 4669 which can conflict with char connect(); below. */ |
| 4677 #include <assert.h> | 4670 #include <assert.h> |
| 4678 /* Override any gcc2 internal prototype to avoid an error. */ | 4671 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4691 connect(); | 4684 connect(); |
| 4692 #endif | 4685 #endif |
| 4693 | 4686 |
| 4694 ; return 0; } | 4687 ; return 0; } |
| 4695 EOF | 4688 EOF |
| 4696 if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4697 rm -rf conftest* | 4690 rm -rf conftest* |
| 4698 eval "ac_cv_func_connect=yes" | 4691 eval "ac_cv_func_connect=yes" |
| 4699 else | 4692 else |
| 4700 echo "configure: failed program was:" >&5 | 4693 echo "configure: failed program was:" >&5 |
| 4701 cat conftest.$ac_ext >&5 | 4694 cat conftest.$ac_ext >&5 |
| 4714 if test $ac_cv_func_connect = no; then | 4707 if test $ac_cv_func_connect = no; then |
| 4715 | 4708 |
| 4716 xe_msg_checking="for connect in -lsocket" | 4709 xe_msg_checking="for connect in -lsocket" |
| 4717 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4710 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4711 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4719 echo "configure:4720: checking "$xe_msg_checking"" >&5 | 4712 echo "configure:4713: checking "$xe_msg_checking"" >&5 |
| 4720 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4713 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4721 | 4714 |
| 4722 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4715 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4723 cat > conftest.$ac_ext <<EOF | 4716 cat > conftest.$ac_ext <<EOF |
| 4724 #line 4725 "configure" | 4717 #line 4718 "configure" |
| 4725 #include "confdefs.h" | 4718 #include "confdefs.h" |
| 4726 /* Override any gcc2 internal prototype to avoid an error. */ | 4719 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4727 /* We use char because int might match the return type of a gcc2 | 4720 /* We use char because int might match the return type of a gcc2 |
| 4728 builtin and then its argument prototype would still apply. */ | 4721 builtin and then its argument prototype would still apply. */ |
| 4729 char connect(); | 4722 char connect(); |
| 4730 | 4723 |
| 4731 int main() { | 4724 int main() { |
| 4732 connect() | 4725 connect() |
| 4733 ; return 0; } | 4726 ; return 0; } |
| 4734 EOF | 4727 EOF |
| 4735 if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4736 rm -rf conftest* | 4729 rm -rf conftest* |
| 4737 eval "ac_cv_lib_$ac_lib_var=yes" | 4730 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4738 else | 4731 else |
| 4739 echo "configure: failed program was:" >&5 | 4732 echo "configure: failed program was:" >&5 |
| 4740 cat conftest.$ac_ext >&5 | 4733 cat conftest.$ac_ext >&5 |
| 4754 | 4747 |
| 4755 fi | 4748 fi |
| 4756 | 4749 |
| 4757 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4750 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4758 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4751 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4759 echo "configure:4760: checking for remove" >&5 | 4752 echo "configure:4753: checking for remove" >&5 |
| 4760 | 4753 |
| 4761 cat > conftest.$ac_ext <<EOF | 4754 cat > conftest.$ac_ext <<EOF |
| 4762 #line 4763 "configure" | 4755 #line 4756 "configure" |
| 4763 #include "confdefs.h" | 4756 #include "confdefs.h" |
| 4764 /* System header to define __stub macros and hopefully few prototypes, | 4757 /* System header to define __stub macros and hopefully few prototypes, |
| 4765 which can conflict with char remove(); below. */ | 4758 which can conflict with char remove(); below. */ |
| 4766 #include <assert.h> | 4759 #include <assert.h> |
| 4767 /* Override any gcc2 internal prototype to avoid an error. */ | 4760 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4780 remove(); | 4773 remove(); |
| 4781 #endif | 4774 #endif |
| 4782 | 4775 |
| 4783 ; return 0; } | 4776 ; return 0; } |
| 4784 EOF | 4777 EOF |
| 4785 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4778 if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4786 rm -rf conftest* | 4779 rm -rf conftest* |
| 4787 eval "ac_cv_func_remove=yes" | 4780 eval "ac_cv_func_remove=yes" |
| 4788 else | 4781 else |
| 4789 echo "configure: failed program was:" >&5 | 4782 echo "configure: failed program was:" >&5 |
| 4790 cat conftest.$ac_ext >&5 | 4783 cat conftest.$ac_ext >&5 |
| 4801 fi | 4794 fi |
| 4802 | 4795 |
| 4803 if test $ac_cv_func_remove = no; then | 4796 if test $ac_cv_func_remove = no; then |
| 4804 | 4797 |
| 4805 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4798 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4806 echo "configure:4807: checking for remove in -lposix" >&5 | 4799 echo "configure:4800: checking for remove in -lposix" >&5 |
| 4807 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4800 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4808 | 4801 |
| 4809 xe_check_libs=" -lposix " | 4802 xe_check_libs=" -lposix " |
| 4810 cat > conftest.$ac_ext <<EOF | 4803 cat > conftest.$ac_ext <<EOF |
| 4811 #line 4812 "configure" | 4804 #line 4805 "configure" |
| 4812 #include "confdefs.h" | 4805 #include "confdefs.h" |
| 4813 /* Override any gcc2 internal prototype to avoid an error. */ | 4806 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4814 /* We use char because int might match the return type of a gcc2 | 4807 /* We use char because int might match the return type of a gcc2 |
| 4815 builtin and then its argument prototype would still apply. */ | 4808 builtin and then its argument prototype would still apply. */ |
| 4816 char remove(); | 4809 char remove(); |
| 4817 | 4810 |
| 4818 int main() { | 4811 int main() { |
| 4819 remove() | 4812 remove() |
| 4820 ; return 0; } | 4813 ; return 0; } |
| 4821 EOF | 4814 EOF |
| 4822 if { (eval echo configure:4823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4815 if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4823 rm -rf conftest* | 4816 rm -rf conftest* |
| 4824 eval "ac_cv_lib_$ac_lib_var=yes" | 4817 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4825 else | 4818 else |
| 4826 echo "configure: failed program was:" >&5 | 4819 echo "configure: failed program was:" >&5 |
| 4827 cat conftest.$ac_ext >&5 | 4820 cat conftest.$ac_ext >&5 |
| 4841 | 4834 |
| 4842 fi | 4835 fi |
| 4843 | 4836 |
| 4844 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4837 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4845 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4838 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4846 echo "configure:4847: checking for shmat" >&5 | 4839 echo "configure:4840: checking for shmat" >&5 |
| 4847 | 4840 |
| 4848 cat > conftest.$ac_ext <<EOF | 4841 cat > conftest.$ac_ext <<EOF |
| 4849 #line 4850 "configure" | 4842 #line 4843 "configure" |
| 4850 #include "confdefs.h" | 4843 #include "confdefs.h" |
| 4851 /* System header to define __stub macros and hopefully few prototypes, | 4844 /* System header to define __stub macros and hopefully few prototypes, |
| 4852 which can conflict with char shmat(); below. */ | 4845 which can conflict with char shmat(); below. */ |
| 4853 #include <assert.h> | 4846 #include <assert.h> |
| 4854 /* Override any gcc2 internal prototype to avoid an error. */ | 4847 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4867 shmat(); | 4860 shmat(); |
| 4868 #endif | 4861 #endif |
| 4869 | 4862 |
| 4870 ; return 0; } | 4863 ; return 0; } |
| 4871 EOF | 4864 EOF |
| 4872 if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4873 rm -rf conftest* | 4866 rm -rf conftest* |
| 4874 eval "ac_cv_func_shmat=yes" | 4867 eval "ac_cv_func_shmat=yes" |
| 4875 else | 4868 else |
| 4876 echo "configure: failed program was:" >&5 | 4869 echo "configure: failed program was:" >&5 |
| 4877 cat conftest.$ac_ext >&5 | 4870 cat conftest.$ac_ext >&5 |
| 4888 fi | 4881 fi |
| 4889 | 4882 |
| 4890 if test $ac_cv_func_shmat = no; then | 4883 if test $ac_cv_func_shmat = no; then |
| 4891 | 4884 |
| 4892 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4885 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4893 echo "configure:4894: checking for shmat in -lipc" >&5 | 4886 echo "configure:4887: checking for shmat in -lipc" >&5 |
| 4894 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4887 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4895 | 4888 |
| 4896 xe_check_libs=" -lipc " | 4889 xe_check_libs=" -lipc " |
| 4897 cat > conftest.$ac_ext <<EOF | 4890 cat > conftest.$ac_ext <<EOF |
| 4898 #line 4899 "configure" | 4891 #line 4892 "configure" |
| 4899 #include "confdefs.h" | 4892 #include "confdefs.h" |
| 4900 /* Override any gcc2 internal prototype to avoid an error. */ | 4893 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4901 /* We use char because int might match the return type of a gcc2 | 4894 /* We use char because int might match the return type of a gcc2 |
| 4902 builtin and then its argument prototype would still apply. */ | 4895 builtin and then its argument prototype would still apply. */ |
| 4903 char shmat(); | 4896 char shmat(); |
| 4904 | 4897 |
| 4905 int main() { | 4898 int main() { |
| 4906 shmat() | 4899 shmat() |
| 4907 ; return 0; } | 4900 ; return 0; } |
| 4908 EOF | 4901 EOF |
| 4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4910 rm -rf conftest* | 4903 rm -rf conftest* |
| 4911 eval "ac_cv_lib_$ac_lib_var=yes" | 4904 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4912 else | 4905 else |
| 4913 echo "configure: failed program was:" >&5 | 4906 echo "configure: failed program was:" >&5 |
| 4914 cat conftest.$ac_ext >&5 | 4907 cat conftest.$ac_ext >&5 |
| 4938 # These have to be linked with before -lX11, unlike the other | 4931 # These have to be linked with before -lX11, unlike the other |
| 4939 # libraries we check for below, so use a different variable. | 4932 # libraries we check for below, so use a different variable. |
| 4940 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4933 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4941 | 4934 |
| 4942 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4935 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4943 echo "configure:4944: checking for IceConnectionNumber in -lICE" >&5 | 4936 echo "configure:4937: checking for IceConnectionNumber in -lICE" >&5 |
| 4944 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4937 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4945 | 4938 |
| 4946 xe_check_libs=" -lICE " | 4939 xe_check_libs=" -lICE " |
| 4947 cat > conftest.$ac_ext <<EOF | 4940 cat > conftest.$ac_ext <<EOF |
| 4948 #line 4949 "configure" | 4941 #line 4942 "configure" |
| 4949 #include "confdefs.h" | 4942 #include "confdefs.h" |
| 4950 /* Override any gcc2 internal prototype to avoid an error. */ | 4943 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4951 /* We use char because int might match the return type of a gcc2 | 4944 /* We use char because int might match the return type of a gcc2 |
| 4952 builtin and then its argument prototype would still apply. */ | 4945 builtin and then its argument prototype would still apply. */ |
| 4953 char IceConnectionNumber(); | 4946 char IceConnectionNumber(); |
| 4954 | 4947 |
| 4955 int main() { | 4948 int main() { |
| 4956 IceConnectionNumber() | 4949 IceConnectionNumber() |
| 4957 ; return 0; } | 4950 ; return 0; } |
| 4958 EOF | 4951 EOF |
| 4959 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4952 if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4960 rm -rf conftest* | 4953 rm -rf conftest* |
| 4961 eval "ac_cv_lib_$ac_lib_var=yes" | 4954 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4962 else | 4955 else |
| 4963 echo "configure: failed program was:" >&5 | 4956 echo "configure: failed program was:" >&5 |
| 4964 cat conftest.$ac_ext >&5 | 4957 cat conftest.$ac_ext >&5 |
| 4991 no ) window_system=none HAVE_X_WINDOWS=no ;; | 4984 no ) window_system=none HAVE_X_WINDOWS=no ;; |
| 4992 esac | 4985 esac |
| 4993 | 4986 |
| 4994 if test "$window_system" = "none" && test -z "$with_tty"; then | 4987 if test "$window_system" = "none" && test -z "$with_tty"; then |
| 4995 echo "checking for MS-Windows" 1>&6 | 4988 echo "checking for MS-Windows" 1>&6 |
| 4996 echo "configure:4997: checking for MS-Windows" >&5 | 4989 echo "configure:4990: checking for MS-Windows" >&5 |
| 4997 | 4990 |
| 4998 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 4991 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 4999 echo "configure:5000: checking for main in -lgdi32" >&5 | 4992 echo "configure:4993: checking for main in -lgdi32" >&5 |
| 5000 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 4993 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5001 | 4994 |
| 5002 xe_check_libs=" -lgdi32 " | 4995 xe_check_libs=" -lgdi32 " |
| 5003 cat > conftest.$ac_ext <<EOF | 4996 cat > conftest.$ac_ext <<EOF |
| 5004 #line 5005 "configure" | 4997 #line 4998 "configure" |
| 5005 #include "confdefs.h" | 4998 #include "confdefs.h" |
| 5006 | 4999 |
| 5007 int main() { | 5000 int main() { |
| 5008 main() | 5001 main() |
| 5009 ; return 0; } | 5002 ; return 0; } |
| 5010 EOF | 5003 EOF |
| 5011 if { (eval echo configure:5012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5012 rm -rf conftest* | 5005 rm -rf conftest* |
| 5013 eval "ac_cv_lib_$ac_lib_var=yes" | 5006 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5014 else | 5007 else |
| 5015 echo "configure: failed program was:" >&5 | 5008 echo "configure: failed program was:" >&5 |
| 5016 cat conftest.$ac_ext >&5 | 5009 cat conftest.$ac_ext >&5 |
| 5152 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5145 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 5153 echo | 5146 echo |
| 5154 fi | 5147 fi |
| 5155 | 5148 |
| 5156 echo "checking for X defines extracted by xmkmf" 1>&6 | 5149 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5157 echo "configure:5158: checking for X defines extracted by xmkmf" >&5 | 5150 echo "configure:5151: checking for X defines extracted by xmkmf" >&5 |
| 5158 rm -fr conftestdir | 5151 rm -fr conftestdir |
| 5159 if mkdir conftestdir; then | 5152 if mkdir conftestdir; then |
| 5160 cd conftestdir | 5153 cd conftestdir |
| 5161 cat > Imakefile <<'EOF' | 5154 cat > Imakefile <<'EOF' |
| 5162 xetest: | 5155 xetest: |
| 5184 done | 5177 done |
| 5185 fi | 5178 fi |
| 5186 | 5179 |
| 5187 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5180 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5188 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5181 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5189 echo "configure:5190: checking for X11/Intrinsic.h" >&5 | 5182 echo "configure:5183: checking for X11/Intrinsic.h" >&5 |
| 5190 | 5183 |
| 5191 cat > conftest.$ac_ext <<EOF | 5184 cat > conftest.$ac_ext <<EOF |
| 5192 #line 5193 "configure" | 5185 #line 5186 "configure" |
| 5193 #include "confdefs.h" | 5186 #include "confdefs.h" |
| 5194 #include <X11/Intrinsic.h> | 5187 #include <X11/Intrinsic.h> |
| 5195 EOF | 5188 EOF |
| 5196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5197 { (eval echo configure:5198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5190 { (eval echo configure:5191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5198 ac_err=`grep -v '^ *+' conftest.out` | 5191 ac_err=`grep -v '^ *+' conftest.out` |
| 5199 if test -z "$ac_err"; then | 5192 if test -z "$ac_err"; then |
| 5200 rm -rf conftest* | 5193 rm -rf conftest* |
| 5201 eval "ac_cv_header_$ac_safe=yes" | 5194 eval "ac_cv_header_$ac_safe=yes" |
| 5202 else | 5195 else |
| 5216 fi | 5209 fi |
| 5217 | 5210 |
| 5218 | 5211 |
| 5219 | 5212 |
| 5220 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5213 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5221 echo "configure:5222: checking for XOpenDisplay in -lX11" >&5 | 5214 echo "configure:5215: checking for XOpenDisplay in -lX11" >&5 |
| 5222 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5215 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5223 | 5216 |
| 5224 xe_check_libs=" -lX11 " | 5217 xe_check_libs=" -lX11 " |
| 5225 cat > conftest.$ac_ext <<EOF | 5218 cat > conftest.$ac_ext <<EOF |
| 5226 #line 5227 "configure" | 5219 #line 5220 "configure" |
| 5227 #include "confdefs.h" | 5220 #include "confdefs.h" |
| 5228 /* Override any gcc2 internal prototype to avoid an error. */ | 5221 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5229 /* We use char because int might match the return type of a gcc2 | 5222 /* We use char because int might match the return type of a gcc2 |
| 5230 builtin and then its argument prototype would still apply. */ | 5223 builtin and then its argument prototype would still apply. */ |
| 5231 char XOpenDisplay(); | 5224 char XOpenDisplay(); |
| 5232 | 5225 |
| 5233 int main() { | 5226 int main() { |
| 5234 XOpenDisplay() | 5227 XOpenDisplay() |
| 5235 ; return 0; } | 5228 ; return 0; } |
| 5236 EOF | 5229 EOF |
| 5237 if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5238 rm -rf conftest* | 5231 rm -rf conftest* |
| 5239 eval "ac_cv_lib_$ac_lib_var=yes" | 5232 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5240 else | 5233 else |
| 5241 echo "configure: failed program was:" >&5 | 5234 echo "configure: failed program was:" >&5 |
| 5242 cat conftest.$ac_ext >&5 | 5235 cat conftest.$ac_ext >&5 |
| 5257 if test "$have_lib_x11" != "yes"; then | 5250 if test "$have_lib_x11" != "yes"; then |
| 5258 | 5251 |
| 5259 xe_msg_checking="for XGetFontProperty in -lX11" | 5252 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5260 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5253 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5261 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5254 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5262 echo "configure:5263: checking "$xe_msg_checking"" >&5 | 5255 echo "configure:5256: checking "$xe_msg_checking"" >&5 |
| 5263 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5256 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5264 | 5257 |
| 5265 xe_check_libs=" -lX11 -b i486-linuxaout" | 5258 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5266 cat > conftest.$ac_ext <<EOF | 5259 cat > conftest.$ac_ext <<EOF |
| 5267 #line 5268 "configure" | 5260 #line 5261 "configure" |
| 5268 #include "confdefs.h" | 5261 #include "confdefs.h" |
| 5269 /* Override any gcc2 internal prototype to avoid an error. */ | 5262 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5270 /* We use char because int might match the return type of a gcc2 | 5263 /* We use char because int might match the return type of a gcc2 |
| 5271 builtin and then its argument prototype would still apply. */ | 5264 builtin and then its argument prototype would still apply. */ |
| 5272 char XGetFontProperty(); | 5265 char XGetFontProperty(); |
| 5273 | 5266 |
| 5274 int main() { | 5267 int main() { |
| 5275 XGetFontProperty() | 5268 XGetFontProperty() |
| 5276 ; return 0; } | 5269 ; return 0; } |
| 5277 EOF | 5270 EOF |
| 5278 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5271 if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5279 rm -rf conftest* | 5272 rm -rf conftest* |
| 5280 eval "ac_cv_lib_$ac_lib_var=yes" | 5273 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5281 else | 5274 else |
| 5282 echo "configure: failed program was:" >&5 | 5275 echo "configure: failed program was:" >&5 |
| 5283 cat conftest.$ac_ext >&5 | 5276 cat conftest.$ac_ext >&5 |
| 5300 libs_x="-lX11" | 5293 libs_x="-lX11" |
| 5301 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5294 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5302 | 5295 |
| 5303 | 5296 |
| 5304 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5297 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5305 echo "configure:5306: checking for XShapeSelectInput in -lXext" >&5 | 5298 echo "configure:5299: checking for XShapeSelectInput in -lXext" >&5 |
| 5306 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5299 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5307 | 5300 |
| 5308 xe_check_libs=" -lXext " | 5301 xe_check_libs=" -lXext " |
| 5309 cat > conftest.$ac_ext <<EOF | 5302 cat > conftest.$ac_ext <<EOF |
| 5310 #line 5311 "configure" | 5303 #line 5304 "configure" |
| 5311 #include "confdefs.h" | 5304 #include "confdefs.h" |
| 5312 /* Override any gcc2 internal prototype to avoid an error. */ | 5305 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5313 /* We use char because int might match the return type of a gcc2 | 5306 /* We use char because int might match the return type of a gcc2 |
| 5314 builtin and then its argument prototype would still apply. */ | 5307 builtin and then its argument prototype would still apply. */ |
| 5315 char XShapeSelectInput(); | 5308 char XShapeSelectInput(); |
| 5316 | 5309 |
| 5317 int main() { | 5310 int main() { |
| 5318 XShapeSelectInput() | 5311 XShapeSelectInput() |
| 5319 ; return 0; } | 5312 ; return 0; } |
| 5320 EOF | 5313 EOF |
| 5321 if { (eval echo configure:5322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5322 rm -rf conftest* | 5315 rm -rf conftest* |
| 5323 eval "ac_cv_lib_$ac_lib_var=yes" | 5316 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5324 else | 5317 else |
| 5325 echo "configure: failed program was:" >&5 | 5318 echo "configure: failed program was:" >&5 |
| 5326 cat conftest.$ac_ext >&5 | 5319 cat conftest.$ac_ext >&5 |
| 5339 | 5332 |
| 5340 | 5333 |
| 5341 | 5334 |
| 5342 | 5335 |
| 5343 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5336 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5344 echo "configure:5345: checking for XtOpenDisplay in -lXt" >&5 | 5337 echo "configure:5338: checking for XtOpenDisplay in -lXt" >&5 |
| 5345 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5338 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5346 | 5339 |
| 5347 xe_check_libs=" -lXt " | 5340 xe_check_libs=" -lXt " |
| 5348 cat > conftest.$ac_ext <<EOF | 5341 cat > conftest.$ac_ext <<EOF |
| 5349 #line 5350 "configure" | 5342 #line 5343 "configure" |
| 5350 #include "confdefs.h" | 5343 #include "confdefs.h" |
| 5351 /* Override any gcc2 internal prototype to avoid an error. */ | 5344 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5352 /* We use char because int might match the return type of a gcc2 | 5345 /* We use char because int might match the return type of a gcc2 |
| 5353 builtin and then its argument prototype would still apply. */ | 5346 builtin and then its argument prototype would still apply. */ |
| 5354 char XtOpenDisplay(); | 5347 char XtOpenDisplay(); |
| 5355 | 5348 |
| 5356 int main() { | 5349 int main() { |
| 5357 XtOpenDisplay() | 5350 XtOpenDisplay() |
| 5358 ; return 0; } | 5351 ; return 0; } |
| 5359 EOF | 5352 EOF |
| 5360 if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5353 if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5361 rm -rf conftest* | 5354 rm -rf conftest* |
| 5362 eval "ac_cv_lib_$ac_lib_var=yes" | 5355 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5363 else | 5356 else |
| 5364 echo "configure: failed program was:" >&5 | 5357 echo "configure: failed program was:" >&5 |
| 5365 cat conftest.$ac_ext >&5 | 5358 cat conftest.$ac_ext >&5 |
| 5378 fi | 5371 fi |
| 5379 | 5372 |
| 5380 | 5373 |
| 5381 | 5374 |
| 5382 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5375 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5383 echo "configure:5384: checking the version of X11 being used" >&5 | 5376 echo "configure:5377: checking the version of X11 being used" >&5 |
| 5384 cat > conftest.$ac_ext <<EOF | 5377 cat > conftest.$ac_ext <<EOF |
| 5385 #line 5386 "configure" | 5378 #line 5379 "configure" |
| 5386 #include "confdefs.h" | 5379 #include "confdefs.h" |
| 5387 #include <X11/Intrinsic.h> | 5380 #include <X11/Intrinsic.h> |
| 5388 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5381 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5389 EOF | 5382 EOF |
| 5390 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5383 if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5391 then | 5384 then |
| 5392 ./conftest foobar; x11_release=$? | 5385 ./conftest foobar; x11_release=$? |
| 5393 else | 5386 else |
| 5394 echo "configure: failed program was:" >&5 | 5387 echo "configure: failed program was:" >&5 |
| 5395 cat conftest.$ac_ext >&5 | 5388 cat conftest.$ac_ext >&5 |
| 5409 | 5402 |
| 5410 for ac_hdr in X11/Xlocale.h | 5403 for ac_hdr in X11/Xlocale.h |
| 5411 do | 5404 do |
| 5412 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5405 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5413 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5406 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5414 echo "configure:5415: checking for $ac_hdr" >&5 | 5407 echo "configure:5408: checking for $ac_hdr" >&5 |
| 5415 | 5408 |
| 5416 cat > conftest.$ac_ext <<EOF | 5409 cat > conftest.$ac_ext <<EOF |
| 5417 #line 5418 "configure" | 5410 #line 5411 "configure" |
| 5418 #include "confdefs.h" | 5411 #include "confdefs.h" |
| 5419 #include <$ac_hdr> | 5412 #include <$ac_hdr> |
| 5420 EOF | 5413 EOF |
| 5421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5422 { (eval echo configure:5423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5415 { (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5423 ac_err=`grep -v '^ *+' conftest.out` | 5416 ac_err=`grep -v '^ *+' conftest.out` |
| 5424 if test -z "$ac_err"; then | 5417 if test -z "$ac_err"; then |
| 5425 rm -rf conftest* | 5418 rm -rf conftest* |
| 5426 eval "ac_cv_header_$ac_safe=yes" | 5419 eval "ac_cv_header_$ac_safe=yes" |
| 5427 else | 5420 else |
| 5448 fi | 5441 fi |
| 5449 done | 5442 done |
| 5450 | 5443 |
| 5451 | 5444 |
| 5452 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5445 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5453 echo "configure:5454: checking for XFree86" >&5 | 5446 echo "configure:5447: checking for XFree86" >&5 |
| 5454 if test -d "/usr/X386/include" -o \ | 5447 if test -d "/usr/X386/include" -o \ |
| 5455 -f "/etc/XF86Config" -o \ | 5448 -f "/etc/XF86Config" -o \ |
| 5456 -f "/etc/X11/XF86Config" -o \ | 5449 -f "/etc/X11/XF86Config" -o \ |
| 5457 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5450 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5458 echo "$ac_t""yes" 1>&6 | 5451 echo "$ac_t""yes" 1>&6 |
| 5468 echo "$ac_t""no" 1>&6 | 5461 echo "$ac_t""no" 1>&6 |
| 5469 fi | 5462 fi |
| 5470 | 5463 |
| 5471 test -z "$with_xmu" && { | 5464 test -z "$with_xmu" && { |
| 5472 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5465 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5473 echo "configure:5474: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5466 echo "configure:5467: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5474 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5467 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5475 | 5468 |
| 5476 xe_check_libs=" -lXmu " | 5469 xe_check_libs=" -lXmu " |
| 5477 cat > conftest.$ac_ext <<EOF | 5470 cat > conftest.$ac_ext <<EOF |
| 5478 #line 5479 "configure" | 5471 #line 5472 "configure" |
| 5479 #include "confdefs.h" | 5472 #include "confdefs.h" |
| 5480 /* Override any gcc2 internal prototype to avoid an error. */ | 5473 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5481 /* We use char because int might match the return type of a gcc2 | 5474 /* We use char because int might match the return type of a gcc2 |
| 5482 builtin and then its argument prototype would still apply. */ | 5475 builtin and then its argument prototype would still apply. */ |
| 5483 char XmuReadBitmapDataFromFile(); | 5476 char XmuReadBitmapDataFromFile(); |
| 5484 | 5477 |
| 5485 int main() { | 5478 int main() { |
| 5486 XmuReadBitmapDataFromFile() | 5479 XmuReadBitmapDataFromFile() |
| 5487 ; return 0; } | 5480 ; return 0; } |
| 5488 EOF | 5481 EOF |
| 5489 if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5490 rm -rf conftest* | 5483 rm -rf conftest* |
| 5491 eval "ac_cv_lib_$ac_lib_var=yes" | 5484 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5492 else | 5485 else |
| 5493 echo "configure: failed program was:" >&5 | 5486 echo "configure: failed program was:" >&5 |
| 5494 cat conftest.$ac_ext >&5 | 5487 cat conftest.$ac_ext >&5 |
| 5523 | 5516 |
| 5524 fi | 5517 fi |
| 5525 | 5518 |
| 5526 | 5519 |
| 5527 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5520 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5528 echo "configure:5529: checking for main in -lXbsd" >&5 | 5521 echo "configure:5522: checking for main in -lXbsd" >&5 |
| 5529 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5522 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5530 | 5523 |
| 5531 xe_check_libs=" -lXbsd " | 5524 xe_check_libs=" -lXbsd " |
| 5532 cat > conftest.$ac_ext <<EOF | 5525 cat > conftest.$ac_ext <<EOF |
| 5533 #line 5534 "configure" | 5526 #line 5527 "configure" |
| 5534 #include "confdefs.h" | 5527 #include "confdefs.h" |
| 5535 | 5528 |
| 5536 int main() { | 5529 int main() { |
| 5537 main() | 5530 main() |
| 5538 ; return 0; } | 5531 ; return 0; } |
| 5539 EOF | 5532 EOF |
| 5540 if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5541 rm -rf conftest* | 5534 rm -rf conftest* |
| 5542 eval "ac_cv_lib_$ac_lib_var=yes" | 5535 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5543 else | 5536 else |
| 5544 echo "configure: failed program was:" >&5 | 5537 echo "configure: failed program was:" >&5 |
| 5545 cat conftest.$ac_ext >&5 | 5538 cat conftest.$ac_ext >&5 |
| 5594 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5587 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5595 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5588 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5596 esac | 5589 esac |
| 5597 | 5590 |
| 5598 echo "checking for session-management option" 1>&6 | 5591 echo "checking for session-management option" 1>&6 |
| 5599 echo "configure:5600: checking for session-management option" >&5; | 5592 echo "configure:5593: checking for session-management option" >&5; |
| 5600 if test "$with_session" != "no"; then | 5593 if test "$with_session" != "no"; then |
| 5601 { test "$extra_verbose" = "yes" && cat << \EOF | 5594 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5602 Defining HAVE_SESSION | 5595 Defining HAVE_SESSION |
| 5603 EOF | 5596 EOF |
| 5604 cat >> confdefs.h <<\EOF | 5597 cat >> confdefs.h <<\EOF |
| 5609 fi | 5602 fi |
| 5610 | 5603 |
| 5611 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5604 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5612 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5605 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5613 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5606 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5614 echo "configure:5615: checking for X11/Xauth.h" >&5 | 5607 echo "configure:5608: checking for X11/Xauth.h" >&5 |
| 5615 | 5608 |
| 5616 cat > conftest.$ac_ext <<EOF | 5609 cat > conftest.$ac_ext <<EOF |
| 5617 #line 5618 "configure" | 5610 #line 5611 "configure" |
| 5618 #include "confdefs.h" | 5611 #include "confdefs.h" |
| 5619 #include <X11/Xauth.h> | 5612 #include <X11/Xauth.h> |
| 5620 EOF | 5613 EOF |
| 5621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5622 { (eval echo configure:5623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5615 { (eval echo configure:5616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5623 ac_err=`grep -v '^ *+' conftest.out` | 5616 ac_err=`grep -v '^ *+' conftest.out` |
| 5624 if test -z "$ac_err"; then | 5617 if test -z "$ac_err"; then |
| 5625 rm -rf conftest* | 5618 rm -rf conftest* |
| 5626 eval "ac_cv_header_$ac_safe=yes" | 5619 eval "ac_cv_header_$ac_safe=yes" |
| 5627 else | 5620 else |
| 5640 with_xauth=no | 5633 with_xauth=no |
| 5641 fi | 5634 fi |
| 5642 } | 5635 } |
| 5643 test -z "$with_xauth" && { | 5636 test -z "$with_xauth" && { |
| 5644 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5637 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5645 echo "configure:5646: checking for XauGetAuthByAddr in -lXau" >&5 | 5638 echo "configure:5639: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5646 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5639 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5647 | 5640 |
| 5648 xe_check_libs=" -lXau " | 5641 xe_check_libs=" -lXau " |
| 5649 cat > conftest.$ac_ext <<EOF | 5642 cat > conftest.$ac_ext <<EOF |
| 5650 #line 5651 "configure" | 5643 #line 5644 "configure" |
| 5651 #include "confdefs.h" | 5644 #include "confdefs.h" |
| 5652 /* Override any gcc2 internal prototype to avoid an error. */ | 5645 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5653 /* We use char because int might match the return type of a gcc2 | 5646 /* We use char because int might match the return type of a gcc2 |
| 5654 builtin and then its argument prototype would still apply. */ | 5647 builtin and then its argument prototype would still apply. */ |
| 5655 char XauGetAuthByAddr(); | 5648 char XauGetAuthByAddr(); |
| 5656 | 5649 |
| 5657 int main() { | 5650 int main() { |
| 5658 XauGetAuthByAddr() | 5651 XauGetAuthByAddr() |
| 5659 ; return 0; } | 5652 ; return 0; } |
| 5660 EOF | 5653 EOF |
| 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5654 if { (eval echo configure:5655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5662 rm -rf conftest* | 5655 rm -rf conftest* |
| 5663 eval "ac_cv_lib_$ac_lib_var=yes" | 5656 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5664 else | 5657 else |
| 5665 echo "configure: failed program was:" >&5 | 5658 echo "configure: failed program was:" >&5 |
| 5666 cat conftest.$ac_ext >&5 | 5659 cat conftest.$ac_ext >&5 |
| 5720 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5713 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5721 if test "$with_tooltalk" != "no" ; then | 5714 if test "$with_tooltalk" != "no" ; then |
| 5722 for dir in "" "Tt/" "desktop/" ; do | 5715 for dir in "" "Tt/" "desktop/" ; do |
| 5723 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5716 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5724 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5717 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5725 echo "configure:5726: checking for ${dir}tt_c.h" >&5 | 5718 echo "configure:5719: checking for ${dir}tt_c.h" >&5 |
| 5726 | 5719 |
| 5727 cat > conftest.$ac_ext <<EOF | 5720 cat > conftest.$ac_ext <<EOF |
| 5728 #line 5729 "configure" | 5721 #line 5722 "configure" |
| 5729 #include "confdefs.h" | 5722 #include "confdefs.h" |
| 5730 #include <${dir}tt_c.h> | 5723 #include <${dir}tt_c.h> |
| 5731 EOF | 5724 EOF |
| 5732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5733 { (eval echo configure:5734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5726 { (eval echo configure:5727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5734 ac_err=`grep -v '^ *+' conftest.out` | 5727 ac_err=`grep -v '^ *+' conftest.out` |
| 5735 if test -z "$ac_err"; then | 5728 if test -z "$ac_err"; then |
| 5736 rm -rf conftest* | 5729 rm -rf conftest* |
| 5737 eval "ac_cv_header_$ac_safe=yes" | 5730 eval "ac_cv_header_$ac_safe=yes" |
| 5738 else | 5731 else |
| 5757 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5750 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5758 | 5751 |
| 5759 xe_msg_checking="for tt_message_create in -ltt" | 5752 xe_msg_checking="for tt_message_create in -ltt" |
| 5760 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5753 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5761 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5754 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5762 echo "configure:5763: checking "$xe_msg_checking"" >&5 | 5755 echo "configure:5756: checking "$xe_msg_checking"" >&5 |
| 5763 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5756 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5764 | 5757 |
| 5765 xe_check_libs=" -ltt $extra_libs" | 5758 xe_check_libs=" -ltt $extra_libs" |
| 5766 cat > conftest.$ac_ext <<EOF | 5759 cat > conftest.$ac_ext <<EOF |
| 5767 #line 5768 "configure" | 5760 #line 5761 "configure" |
| 5768 #include "confdefs.h" | 5761 #include "confdefs.h" |
| 5769 /* Override any gcc2 internal prototype to avoid an error. */ | 5762 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5770 /* We use char because int might match the return type of a gcc2 | 5763 /* We use char because int might match the return type of a gcc2 |
| 5771 builtin and then its argument prototype would still apply. */ | 5764 builtin and then its argument prototype would still apply. */ |
| 5772 char tt_message_create(); | 5765 char tt_message_create(); |
| 5773 | 5766 |
| 5774 int main() { | 5767 int main() { |
| 5775 tt_message_create() | 5768 tt_message_create() |
| 5776 ; return 0; } | 5769 ; return 0; } |
| 5777 EOF | 5770 EOF |
| 5778 if { (eval echo configure:5779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5771 if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5779 rm -rf conftest* | 5772 rm -rf conftest* |
| 5780 eval "ac_cv_lib_$ac_lib_var=yes" | 5773 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5781 else | 5774 else |
| 5782 echo "configure: failed program was:" >&5 | 5775 echo "configure: failed program was:" >&5 |
| 5783 cat conftest.$ac_ext >&5 | 5776 cat conftest.$ac_ext >&5 |
| 5822 fi | 5815 fi |
| 5823 fi | 5816 fi |
| 5824 | 5817 |
| 5825 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5818 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5826 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5819 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5827 echo "configure:5828: checking for Dt/Dt.h" >&5 | 5820 echo "configure:5821: checking for Dt/Dt.h" >&5 |
| 5828 | 5821 |
| 5829 cat > conftest.$ac_ext <<EOF | 5822 cat > conftest.$ac_ext <<EOF |
| 5830 #line 5831 "configure" | 5823 #line 5824 "configure" |
| 5831 #include "confdefs.h" | 5824 #include "confdefs.h" |
| 5832 #include <Dt/Dt.h> | 5825 #include <Dt/Dt.h> |
| 5833 EOF | 5826 EOF |
| 5834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5835 { (eval echo configure:5836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5828 { (eval echo configure:5829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5836 ac_err=`grep -v '^ *+' conftest.out` | 5829 ac_err=`grep -v '^ *+' conftest.out` |
| 5837 if test -z "$ac_err"; then | 5830 if test -z "$ac_err"; then |
| 5838 rm -rf conftest* | 5831 rm -rf conftest* |
| 5839 eval "ac_cv_header_$ac_safe=yes" | 5832 eval "ac_cv_header_$ac_safe=yes" |
| 5840 else | 5833 else |
| 5853 with_cde=no | 5846 with_cde=no |
| 5854 fi | 5847 fi |
| 5855 } | 5848 } |
| 5856 test -z "$with_cde" && { | 5849 test -z "$with_cde" && { |
| 5857 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5850 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5858 echo "configure:5859: checking for DtDndDragStart in -lDtSvc" >&5 | 5851 echo "configure:5852: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5859 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5852 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5860 | 5853 |
| 5861 xe_check_libs=" -lDtSvc " | 5854 xe_check_libs=" -lDtSvc " |
| 5862 cat > conftest.$ac_ext <<EOF | 5855 cat > conftest.$ac_ext <<EOF |
| 5863 #line 5864 "configure" | 5856 #line 5857 "configure" |
| 5864 #include "confdefs.h" | 5857 #include "confdefs.h" |
| 5865 /* Override any gcc2 internal prototype to avoid an error. */ | 5858 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5866 /* We use char because int might match the return type of a gcc2 | 5859 /* We use char because int might match the return type of a gcc2 |
| 5867 builtin and then its argument prototype would still apply. */ | 5860 builtin and then its argument prototype would still apply. */ |
| 5868 char DtDndDragStart(); | 5861 char DtDndDragStart(); |
| 5869 | 5862 |
| 5870 int main() { | 5863 int main() { |
| 5871 DtDndDragStart() | 5864 DtDndDragStart() |
| 5872 ; return 0; } | 5865 ; return 0; } |
| 5873 EOF | 5866 EOF |
| 5874 if { (eval echo configure:5875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5867 if { (eval echo configure:5868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5875 rm -rf conftest* | 5868 rm -rf conftest* |
| 5876 eval "ac_cv_lib_$ac_lib_var=yes" | 5869 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5877 else | 5870 else |
| 5878 echo "configure: failed program was:" >&5 | 5871 echo "configure: failed program was:" >&5 |
| 5879 cat conftest.$ac_ext >&5 | 5872 cat conftest.$ac_ext >&5 |
| 5906 with_tooltalk=yes # CDE requires Tooltalk | 5899 with_tooltalk=yes # CDE requires Tooltalk |
| 5907 need_motif=yes # CDE requires Motif | 5900 need_motif=yes # CDE requires Motif |
| 5908 fi | 5901 fi |
| 5909 | 5902 |
| 5910 echo "checking for LDAP" 1>&6 | 5903 echo "checking for LDAP" 1>&6 |
| 5911 echo "configure:5912: checking for LDAP" >&5 | 5904 echo "configure:5905: checking for LDAP" >&5 |
| 5912 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 5905 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 5913 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 5906 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 5914 echo "configure:5915: checking for ldap.h" >&5 | 5907 echo "configure:5908: checking for ldap.h" >&5 |
| 5915 | 5908 |
| 5916 cat > conftest.$ac_ext <<EOF | 5909 cat > conftest.$ac_ext <<EOF |
| 5917 #line 5918 "configure" | 5910 #line 5911 "configure" |
| 5918 #include "confdefs.h" | 5911 #include "confdefs.h" |
| 5919 #include <ldap.h> | 5912 #include <ldap.h> |
| 5920 EOF | 5913 EOF |
| 5921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5922 { (eval echo configure:5923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5915 { (eval echo configure:5916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5923 ac_err=`grep -v '^ *+' conftest.out` | 5916 ac_err=`grep -v '^ *+' conftest.out` |
| 5924 if test -z "$ac_err"; then | 5917 if test -z "$ac_err"; then |
| 5925 rm -rf conftest* | 5918 rm -rf conftest* |
| 5926 eval "ac_cv_header_$ac_safe=yes" | 5919 eval "ac_cv_header_$ac_safe=yes" |
| 5927 else | 5920 else |
| 5940 with_ldap=no | 5933 with_ldap=no |
| 5941 fi | 5934 fi |
| 5942 } | 5935 } |
| 5943 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 5936 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 5944 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 5937 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 5945 echo "configure:5946: checking for lber.h" >&5 | 5938 echo "configure:5939: checking for lber.h" >&5 |
| 5946 | 5939 |
| 5947 cat > conftest.$ac_ext <<EOF | 5940 cat > conftest.$ac_ext <<EOF |
| 5948 #line 5949 "configure" | 5941 #line 5942 "configure" |
| 5949 #include "confdefs.h" | 5942 #include "confdefs.h" |
| 5950 #include <lber.h> | 5943 #include <lber.h> |
| 5951 EOF | 5944 EOF |
| 5952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5953 { (eval echo configure:5954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5946 { (eval echo configure:5947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5954 ac_err=`grep -v '^ *+' conftest.out` | 5947 ac_err=`grep -v '^ *+' conftest.out` |
| 5955 if test -z "$ac_err"; then | 5948 if test -z "$ac_err"; then |
| 5956 rm -rf conftest* | 5949 rm -rf conftest* |
| 5957 eval "ac_cv_header_$ac_safe=yes" | 5950 eval "ac_cv_header_$ac_safe=yes" |
| 5958 else | 5951 else |
| 5973 } | 5966 } |
| 5974 test -z "$with_ldap" -o "$with_ldap" = "yes" && { | 5967 test -z "$with_ldap" -o "$with_ldap" = "yes" && { |
| 5975 xe_msg_checking="for ldap_open in -lldap" | 5968 xe_msg_checking="for ldap_open in -lldap" |
| 5976 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 5969 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 5977 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5970 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5978 echo "configure:5979: checking "$xe_msg_checking"" >&5 | 5971 echo "configure:5972: checking "$xe_msg_checking"" >&5 |
| 5979 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 5972 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 5980 | 5973 |
| 5981 xe_check_libs=" -lldap -llber" | 5974 xe_check_libs=" -lldap -llber" |
| 5982 cat > conftest.$ac_ext <<EOF | 5975 cat > conftest.$ac_ext <<EOF |
| 5983 #line 5984 "configure" | 5976 #line 5977 "configure" |
| 5984 #include "confdefs.h" | 5977 #include "confdefs.h" |
| 5985 /* Override any gcc2 internal prototype to avoid an error. */ | 5978 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5986 /* We use char because int might match the return type of a gcc2 | 5979 /* We use char because int might match the return type of a gcc2 |
| 5987 builtin and then its argument prototype would still apply. */ | 5980 builtin and then its argument prototype would still apply. */ |
| 5988 char ldap_open(); | 5981 char ldap_open(); |
| 5989 | 5982 |
| 5990 int main() { | 5983 int main() { |
| 5991 ldap_open() | 5984 ldap_open() |
| 5992 ; return 0; } | 5985 ; return 0; } |
| 5993 EOF | 5986 EOF |
| 5994 if { (eval echo configure:5995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5995 rm -rf conftest* | 5988 rm -rf conftest* |
| 5996 eval "ac_cv_lib_$ac_lib_var=yes" | 5989 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5997 else | 5990 else |
| 5998 echo "configure: failed program was:" >&5 | 5991 echo "configure: failed program was:" >&5 |
| 5999 cat conftest.$ac_ext >&5 | 5992 cat conftest.$ac_ext >&5 |
| 6012 fi | 6005 fi |
| 6013 | 6006 |
| 6014 } | 6007 } |
| 6015 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { | 6008 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { |
| 6016 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6009 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
| 6017 echo "configure:6018: checking for ldap_set_option in -lldap10" >&5 | 6010 echo "configure:6011: checking for ldap_set_option in -lldap10" >&5 |
| 6018 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6011 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
| 6019 | 6012 |
| 6020 xe_check_libs=" -lldap10 " | 6013 xe_check_libs=" -lldap10 " |
| 6021 cat > conftest.$ac_ext <<EOF | 6014 cat > conftest.$ac_ext <<EOF |
| 6022 #line 6023 "configure" | 6015 #line 6016 "configure" |
| 6023 #include "confdefs.h" | 6016 #include "confdefs.h" |
| 6024 /* Override any gcc2 internal prototype to avoid an error. */ | 6017 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6025 /* We use char because int might match the return type of a gcc2 | 6018 /* We use char because int might match the return type of a gcc2 |
| 6026 builtin and then its argument prototype would still apply. */ | 6019 builtin and then its argument prototype would still apply. */ |
| 6027 char ldap_set_option(); | 6020 char ldap_set_option(); |
| 6028 | 6021 |
| 6029 int main() { | 6022 int main() { |
| 6030 ldap_set_option() | 6023 ldap_set_option() |
| 6031 ; return 0; } | 6024 ; return 0; } |
| 6032 EOF | 6025 EOF |
| 6033 if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6026 if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6034 rm -rf conftest* | 6027 rm -rf conftest* |
| 6035 eval "ac_cv_lib_$ac_lib_var=yes" | 6028 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6036 else | 6029 else |
| 6037 echo "configure: failed program was:" >&5 | 6030 echo "configure: failed program was:" >&5 |
| 6038 cat conftest.$ac_ext >&5 | 6031 cat conftest.$ac_ext >&5 |
| 6093 | 6086 |
| 6094 LIBS="-lldap10 $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap10\" to \$LIBS"; fi | 6087 LIBS="-lldap10 $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap10\" to \$LIBS"; fi |
| 6095 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then | 6088 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then |
| 6096 echo " xemacs will be linked with \"eldap.o\"" | 6089 echo " xemacs will be linked with \"eldap.o\"" |
| 6097 fi | 6090 fi |
| 6091 elif test "$with_ldap" = "yes" ; then | |
| 6092 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6093 Defining HAVE_LDAP | |
| 6094 EOF | |
| 6095 cat >> confdefs.h <<\EOF | |
| 6096 #define HAVE_LDAP 1 | |
| 6097 EOF | |
| 6098 } | |
| 6099 | |
| 6100 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | |
| 6101 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then | |
| 6102 echo " xemacs will be linked with \"eldap.o\"" | |
| 6103 fi | |
| 6098 fi | 6104 fi |
| 6099 | 6105 |
| 6100 | 6106 |
| 6101 if test "$with_x11" = "yes"; then | 6107 if test "$with_x11" = "yes"; then |
| 6102 | 6108 |
| 6103 echo "checking for X11 graphics libraries" 1>&6 | 6109 echo "checking for X11 graphics libraries" 1>&6 |
| 6104 echo "configure:6105: checking for X11 graphics libraries" >&5 | 6110 echo "configure:6111: checking for X11 graphics libraries" >&5 |
| 6105 | 6111 |
| 6106 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6112 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6107 echo "configure:6108: checking for Xpm - no older than 3.4f" >&5 | 6113 echo "configure:6114: checking for Xpm - no older than 3.4f" >&5 |
| 6108 xe_check_libs=-lXpm | 6114 xe_check_libs=-lXpm |
| 6109 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6115 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 6110 #line 6111 "configure" | 6116 #line 6117 "configure" |
| 6111 #include "confdefs.h" | 6117 #include "confdefs.h" |
| 6112 #include <X11/xpm.h> | 6118 #include <X11/xpm.h> |
| 6113 int main(int c, char **v) { | 6119 int main(int c, char **v) { |
| 6114 return c == 1 ? 0 : | 6120 return c == 1 ? 0 : |
| 6115 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6121 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6116 XpmIncludeVersion < 30406 ? 2 : | 6122 XpmIncludeVersion < 30406 ? 2 : |
| 6117 0 ; | 6123 0 ; |
| 6118 } | 6124 } |
| 6119 EOF | 6125 EOF |
| 6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6126 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 6121 then | 6127 then |
| 6122 ./conftest foobar; xpm_status=$?; | 6128 ./conftest foobar; xpm_status=$?; |
| 6123 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6129 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 6124 else | 6130 else |
| 6125 echo "configure: failed program was:" >&5 | 6131 echo "configure: failed program was:" >&5 |
| 6153 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6159 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6154 fi | 6160 fi |
| 6155 | 6161 |
| 6156 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6162 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 6157 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6163 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 6158 echo "configure:6159: checking for compface.h" >&5 | 6164 echo "configure:6165: checking for compface.h" >&5 |
| 6159 | 6165 |
| 6160 cat > conftest.$ac_ext <<EOF | 6166 cat > conftest.$ac_ext <<EOF |
| 6161 #line 6162 "configure" | 6167 #line 6168 "configure" |
| 6162 #include "confdefs.h" | 6168 #include "confdefs.h" |
| 6163 #include <compface.h> | 6169 #include <compface.h> |
| 6164 EOF | 6170 EOF |
| 6165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6166 { (eval echo configure:6167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6172 { (eval echo configure:6173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6167 ac_err=`grep -v '^ *+' conftest.out` | 6173 ac_err=`grep -v '^ *+' conftest.out` |
| 6168 if test -z "$ac_err"; then | 6174 if test -z "$ac_err"; then |
| 6169 rm -rf conftest* | 6175 rm -rf conftest* |
| 6170 eval "ac_cv_header_$ac_safe=yes" | 6176 eval "ac_cv_header_$ac_safe=yes" |
| 6171 else | 6177 else |
| 6184 with_xface=no | 6190 with_xface=no |
| 6185 fi | 6191 fi |
| 6186 } | 6192 } |
| 6187 test -z "$with_xface" && { | 6193 test -z "$with_xface" && { |
| 6188 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6194 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 6189 echo "configure:6190: checking for UnGenFace in -lcompface" >&5 | 6195 echo "configure:6196: checking for UnGenFace in -lcompface" >&5 |
| 6190 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6196 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 6191 | 6197 |
| 6192 xe_check_libs=" -lcompface " | 6198 xe_check_libs=" -lcompface " |
| 6193 cat > conftest.$ac_ext <<EOF | 6199 cat > conftest.$ac_ext <<EOF |
| 6194 #line 6195 "configure" | 6200 #line 6201 "configure" |
| 6195 #include "confdefs.h" | 6201 #include "confdefs.h" |
| 6196 /* Override any gcc2 internal prototype to avoid an error. */ | 6202 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6197 /* We use char because int might match the return type of a gcc2 | 6203 /* We use char because int might match the return type of a gcc2 |
| 6198 builtin and then its argument prototype would still apply. */ | 6204 builtin and then its argument prototype would still apply. */ |
| 6199 char UnGenFace(); | 6205 char UnGenFace(); |
| 6200 | 6206 |
| 6201 int main() { | 6207 int main() { |
| 6202 UnGenFace() | 6208 UnGenFace() |
| 6203 ; return 0; } | 6209 ; return 0; } |
| 6204 EOF | 6210 EOF |
| 6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6206 rm -rf conftest* | 6212 rm -rf conftest* |
| 6207 eval "ac_cv_lib_$ac_lib_var=yes" | 6213 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6208 else | 6214 else |
| 6209 echo "configure: failed program was:" >&5 | 6215 echo "configure: failed program was:" >&5 |
| 6210 cat conftest.$ac_ext >&5 | 6216 cat conftest.$ac_ext >&5 |
| 6251 fi | 6257 fi |
| 6252 fi | 6258 fi |
| 6253 | 6259 |
| 6254 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6260 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6255 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6261 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6256 echo "configure:6257: checking for jpeglib.h" >&5 | 6262 echo "configure:6263: checking for jpeglib.h" >&5 |
| 6257 | 6263 |
| 6258 cat > conftest.$ac_ext <<EOF | 6264 cat > conftest.$ac_ext <<EOF |
| 6259 #line 6260 "configure" | 6265 #line 6266 "configure" |
| 6260 #include "confdefs.h" | 6266 #include "confdefs.h" |
| 6261 #include <jpeglib.h> | 6267 #include <jpeglib.h> |
| 6262 EOF | 6268 EOF |
| 6263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6264 { (eval echo configure:6265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6270 { (eval echo configure:6271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6265 ac_err=`grep -v '^ *+' conftest.out` | 6271 ac_err=`grep -v '^ *+' conftest.out` |
| 6266 if test -z "$ac_err"; then | 6272 if test -z "$ac_err"; then |
| 6267 rm -rf conftest* | 6273 rm -rf conftest* |
| 6268 eval "ac_cv_header_$ac_safe=yes" | 6274 eval "ac_cv_header_$ac_safe=yes" |
| 6269 else | 6275 else |
| 6282 with_jpeg=no | 6288 with_jpeg=no |
| 6283 fi | 6289 fi |
| 6284 } | 6290 } |
| 6285 test -z "$with_jpeg" && { | 6291 test -z "$with_jpeg" && { |
| 6286 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6292 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6287 echo "configure:6288: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6293 echo "configure:6294: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6288 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6294 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6289 | 6295 |
| 6290 xe_check_libs=" -ljpeg " | 6296 xe_check_libs=" -ljpeg " |
| 6291 cat > conftest.$ac_ext <<EOF | 6297 cat > conftest.$ac_ext <<EOF |
| 6292 #line 6293 "configure" | 6298 #line 6299 "configure" |
| 6293 #include "confdefs.h" | 6299 #include "confdefs.h" |
| 6294 /* Override any gcc2 internal prototype to avoid an error. */ | 6300 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6295 /* We use char because int might match the return type of a gcc2 | 6301 /* We use char because int might match the return type of a gcc2 |
| 6296 builtin and then its argument prototype would still apply. */ | 6302 builtin and then its argument prototype would still apply. */ |
| 6297 char jpeg_destroy_decompress(); | 6303 char jpeg_destroy_decompress(); |
| 6298 | 6304 |
| 6299 int main() { | 6305 int main() { |
| 6300 jpeg_destroy_decompress() | 6306 jpeg_destroy_decompress() |
| 6301 ; return 0; } | 6307 ; return 0; } |
| 6302 EOF | 6308 EOF |
| 6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6309 if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6304 rm -rf conftest* | 6310 rm -rf conftest* |
| 6305 eval "ac_cv_lib_$ac_lib_var=yes" | 6311 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6306 else | 6312 else |
| 6307 echo "configure: failed program was:" >&5 | 6313 echo "configure: failed program was:" >&5 |
| 6308 cat conftest.$ac_ext >&5 | 6314 cat conftest.$ac_ext >&5 |
| 6334 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6340 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6335 fi | 6341 fi |
| 6336 | 6342 |
| 6337 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6343 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6338 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6344 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6339 echo "configure:6340: checking for png.h" >&5 | 6345 echo "configure:6346: checking for png.h" >&5 |
| 6340 | 6346 |
| 6341 cat > conftest.$ac_ext <<EOF | 6347 cat > conftest.$ac_ext <<EOF |
| 6342 #line 6343 "configure" | 6348 #line 6349 "configure" |
| 6343 #include "confdefs.h" | 6349 #include "confdefs.h" |
| 6344 #include <png.h> | 6350 #include <png.h> |
| 6345 EOF | 6351 EOF |
| 6346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6347 { (eval echo configure:6348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6353 { (eval echo configure:6354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6348 ac_err=`grep -v '^ *+' conftest.out` | 6354 ac_err=`grep -v '^ *+' conftest.out` |
| 6349 if test -z "$ac_err"; then | 6355 if test -z "$ac_err"; then |
| 6350 rm -rf conftest* | 6356 rm -rf conftest* |
| 6351 eval "ac_cv_header_$ac_safe=yes" | 6357 eval "ac_cv_header_$ac_safe=yes" |
| 6352 else | 6358 else |
| 6364 echo "$ac_t""no" 1>&6 | 6370 echo "$ac_t""no" 1>&6 |
| 6365 with_png=no | 6371 with_png=no |
| 6366 fi | 6372 fi |
| 6367 } | 6373 } |
| 6368 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6374 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6369 echo "configure:6370: checking for pow" >&5 | 6375 echo "configure:6376: checking for pow" >&5 |
| 6370 | 6376 |
| 6371 cat > conftest.$ac_ext <<EOF | 6377 cat > conftest.$ac_ext <<EOF |
| 6372 #line 6373 "configure" | 6378 #line 6379 "configure" |
| 6373 #include "confdefs.h" | 6379 #include "confdefs.h" |
| 6374 /* System header to define __stub macros and hopefully few prototypes, | 6380 /* System header to define __stub macros and hopefully few prototypes, |
| 6375 which can conflict with char pow(); below. */ | 6381 which can conflict with char pow(); below. */ |
| 6376 #include <assert.h> | 6382 #include <assert.h> |
| 6377 /* Override any gcc2 internal prototype to avoid an error. */ | 6383 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6390 pow(); | 6396 pow(); |
| 6391 #endif | 6397 #endif |
| 6392 | 6398 |
| 6393 ; return 0; } | 6399 ; return 0; } |
| 6394 EOF | 6400 EOF |
| 6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6401 if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6396 rm -rf conftest* | 6402 rm -rf conftest* |
| 6397 eval "ac_cv_func_pow=yes" | 6403 eval "ac_cv_func_pow=yes" |
| 6398 else | 6404 else |
| 6399 echo "configure: failed program was:" >&5 | 6405 echo "configure: failed program was:" >&5 |
| 6400 cat conftest.$ac_ext >&5 | 6406 cat conftest.$ac_ext >&5 |
| 6415 for extra_libs in "" "-lz" "-lgz"; do | 6421 for extra_libs in "" "-lz" "-lgz"; do |
| 6416 | 6422 |
| 6417 xe_msg_checking="for png_read_image in -lpng" | 6423 xe_msg_checking="for png_read_image in -lpng" |
| 6418 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6424 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6419 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6425 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6420 echo "configure:6421: checking "$xe_msg_checking"" >&5 | 6426 echo "configure:6427: checking "$xe_msg_checking"" >&5 |
| 6421 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6427 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6422 | 6428 |
| 6423 xe_check_libs=" -lpng $extra_libs" | 6429 xe_check_libs=" -lpng $extra_libs" |
| 6424 cat > conftest.$ac_ext <<EOF | 6430 cat > conftest.$ac_ext <<EOF |
| 6425 #line 6426 "configure" | 6431 #line 6432 "configure" |
| 6426 #include "confdefs.h" | 6432 #include "confdefs.h" |
| 6427 /* Override any gcc2 internal prototype to avoid an error. */ | 6433 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6428 /* We use char because int might match the return type of a gcc2 | 6434 /* We use char because int might match the return type of a gcc2 |
| 6429 builtin and then its argument prototype would still apply. */ | 6435 builtin and then its argument prototype would still apply. */ |
| 6430 char png_read_image(); | 6436 char png_read_image(); |
| 6431 | 6437 |
| 6432 int main() { | 6438 int main() { |
| 6433 png_read_image() | 6439 png_read_image() |
| 6434 ; return 0; } | 6440 ; return 0; } |
| 6435 EOF | 6441 EOF |
| 6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6442 if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6437 rm -rf conftest* | 6443 rm -rf conftest* |
| 6438 eval "ac_cv_lib_$ac_lib_var=yes" | 6444 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6439 else | 6445 else |
| 6440 echo "configure: failed program was:" >&5 | 6446 echo "configure: failed program was:" >&5 |
| 6441 cat conftest.$ac_ext >&5 | 6447 cat conftest.$ac_ext >&5 |
| 6473 for extra_libs in "" "-lz" "-lgz"; do | 6479 for extra_libs in "" "-lz" "-lgz"; do |
| 6474 | 6480 |
| 6475 xe_msg_checking="for TIFFReadScanline in -ltiff" | 6481 xe_msg_checking="for TIFFReadScanline in -ltiff" |
| 6476 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6482 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6477 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6483 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6478 echo "configure:6479: checking "$xe_msg_checking"" >&5 | 6484 echo "configure:6485: checking "$xe_msg_checking"" >&5 |
| 6479 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6485 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
| 6480 | 6486 |
| 6481 xe_check_libs=" -ltiff $extra_libs" | 6487 xe_check_libs=" -ltiff $extra_libs" |
| 6482 cat > conftest.$ac_ext <<EOF | 6488 cat > conftest.$ac_ext <<EOF |
| 6483 #line 6484 "configure" | 6489 #line 6490 "configure" |
| 6484 #include "confdefs.h" | 6490 #include "confdefs.h" |
| 6485 /* Override any gcc2 internal prototype to avoid an error. */ | 6491 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6486 /* We use char because int might match the return type of a gcc2 | 6492 /* We use char because int might match the return type of a gcc2 |
| 6487 builtin and then its argument prototype would still apply. */ | 6493 builtin and then its argument prototype would still apply. */ |
| 6488 char TIFFReadScanline(); | 6494 char TIFFReadScanline(); |
| 6489 | 6495 |
| 6490 int main() { | 6496 int main() { |
| 6491 TIFFReadScanline() | 6497 TIFFReadScanline() |
| 6492 ; return 0; } | 6498 ; return 0; } |
| 6493 EOF | 6499 EOF |
| 6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6500 if { (eval echo configure:6501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6495 rm -rf conftest* | 6501 rm -rf conftest* |
| 6496 eval "ac_cv_lib_$ac_lib_var=yes" | 6502 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6497 else | 6503 else |
| 6498 echo "configure: failed program was:" >&5 | 6504 echo "configure: failed program was:" >&5 |
| 6499 cat conftest.$ac_ext >&5 | 6505 cat conftest.$ac_ext >&5 |
| 6527 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi | 6533 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi |
| 6528 fi | 6534 fi |
| 6529 | 6535 |
| 6530 | 6536 |
| 6531 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6537 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 6532 echo "configure:6533: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6538 echo "configure:6539: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 6533 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6539 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 6534 | 6540 |
| 6535 xe_check_libs=" -lXaw " | 6541 xe_check_libs=" -lXaw " |
| 6536 cat > conftest.$ac_ext <<EOF | 6542 cat > conftest.$ac_ext <<EOF |
| 6537 #line 6538 "configure" | 6543 #line 6544 "configure" |
| 6538 #include "confdefs.h" | 6544 #include "confdefs.h" |
| 6539 /* Override any gcc2 internal prototype to avoid an error. */ | 6545 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6540 /* We use char because int might match the return type of a gcc2 | 6546 /* We use char because int might match the return type of a gcc2 |
| 6541 builtin and then its argument prototype would still apply. */ | 6547 builtin and then its argument prototype would still apply. */ |
| 6542 char XawScrollbarSetThumb(); | 6548 char XawScrollbarSetThumb(); |
| 6543 | 6549 |
| 6544 int main() { | 6550 int main() { |
| 6545 XawScrollbarSetThumb() | 6551 XawScrollbarSetThumb() |
| 6546 ; return 0; } | 6552 ; return 0; } |
| 6547 EOF | 6553 EOF |
| 6548 if { (eval echo configure:6549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6549 rm -rf conftest* | 6555 rm -rf conftest* |
| 6550 eval "ac_cv_lib_$ac_lib_var=yes" | 6556 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6551 else | 6557 else |
| 6552 echo "configure: failed program was:" >&5 | 6558 echo "configure: failed program was:" >&5 |
| 6553 cat conftest.$ac_ext >&5 | 6559 cat conftest.$ac_ext >&5 |
| 6567 | 6573 |
| 6568 | 6574 |
| 6569 | 6575 |
| 6570 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6576 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6571 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6577 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6572 echo "configure:6573: checking for Xm/Xm.h" >&5 | 6578 echo "configure:6579: checking for Xm/Xm.h" >&5 |
| 6573 | 6579 |
| 6574 cat > conftest.$ac_ext <<EOF | 6580 cat > conftest.$ac_ext <<EOF |
| 6575 #line 6576 "configure" | 6581 #line 6582 "configure" |
| 6576 #include "confdefs.h" | 6582 #include "confdefs.h" |
| 6577 #include <Xm/Xm.h> | 6583 #include <Xm/Xm.h> |
| 6578 EOF | 6584 EOF |
| 6579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6580 { (eval echo configure:6581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6586 { (eval echo configure:6587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6581 ac_err=`grep -v '^ *+' conftest.out` | 6587 ac_err=`grep -v '^ *+' conftest.out` |
| 6582 if test -z "$ac_err"; then | 6588 if test -z "$ac_err"; then |
| 6583 rm -rf conftest* | 6589 rm -rf conftest* |
| 6584 eval "ac_cv_header_$ac_safe=yes" | 6590 eval "ac_cv_header_$ac_safe=yes" |
| 6585 else | 6591 else |
| 6592 rm -f conftest* | 6598 rm -f conftest* |
| 6593 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6594 echo "$ac_t""yes" 1>&6 | 6600 echo "$ac_t""yes" 1>&6 |
| 6595 | 6601 |
| 6596 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6602 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6597 echo "configure:6598: checking for XmStringFree in -lXm" >&5 | 6603 echo "configure:6604: checking for XmStringFree in -lXm" >&5 |
| 6598 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6604 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6599 | 6605 |
| 6600 xe_check_libs=" -lXm " | 6606 xe_check_libs=" -lXm " |
| 6601 cat > conftest.$ac_ext <<EOF | 6607 cat > conftest.$ac_ext <<EOF |
| 6602 #line 6603 "configure" | 6608 #line 6609 "configure" |
| 6603 #include "confdefs.h" | 6609 #include "confdefs.h" |
| 6604 /* Override any gcc2 internal prototype to avoid an error. */ | 6610 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6605 /* We use char because int might match the return type of a gcc2 | 6611 /* We use char because int might match the return type of a gcc2 |
| 6606 builtin and then its argument prototype would still apply. */ | 6612 builtin and then its argument prototype would still apply. */ |
| 6607 char XmStringFree(); | 6613 char XmStringFree(); |
| 6608 | 6614 |
| 6609 int main() { | 6615 int main() { |
| 6610 XmStringFree() | 6616 XmStringFree() |
| 6611 ; return 0; } | 6617 ; return 0; } |
| 6612 EOF | 6618 EOF |
| 6613 if { (eval echo configure:6614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6614 rm -rf conftest* | 6620 rm -rf conftest* |
| 6615 eval "ac_cv_lib_$ac_lib_var=yes" | 6621 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6616 else | 6622 else |
| 6617 echo "configure: failed program was:" >&5 | 6623 echo "configure: failed program was:" >&5 |
| 6618 cat conftest.$ac_ext >&5 | 6624 cat conftest.$ac_ext >&5 |
| 6899 fi | 6905 fi |
| 6900 fi | 6906 fi |
| 6901 | 6907 |
| 6902 if test "$with_mule" = "yes" ; then | 6908 if test "$with_mule" = "yes" ; then |
| 6903 echo "checking for Mule-related features" 1>&6 | 6909 echo "checking for Mule-related features" 1>&6 |
| 6904 echo "configure:6905: checking for Mule-related features" >&5 | 6910 echo "configure:6911: checking for Mule-related features" >&5 |
| 6905 { test "$extra_verbose" = "yes" && cat << \EOF | 6911 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6906 Defining MULE | 6912 Defining MULE |
| 6907 EOF | 6913 EOF |
| 6908 cat >> confdefs.h <<\EOF | 6914 cat >> confdefs.h <<\EOF |
| 6909 #define MULE 1 | 6915 #define MULE 1 |
| 6924 | 6930 |
| 6925 for ac_hdr in libintl.h | 6931 for ac_hdr in libintl.h |
| 6926 do | 6932 do |
| 6927 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6928 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6929 echo "configure:6930: checking for $ac_hdr" >&5 | 6935 echo "configure:6936: checking for $ac_hdr" >&5 |
| 6930 | 6936 |
| 6931 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
| 6932 #line 6933 "configure" | 6938 #line 6939 "configure" |
| 6933 #include "confdefs.h" | 6939 #include "confdefs.h" |
| 6934 #include <$ac_hdr> | 6940 #include <$ac_hdr> |
| 6935 EOF | 6941 EOF |
| 6936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6937 { (eval echo configure:6938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6943 { (eval echo configure:6944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6938 ac_err=`grep -v '^ *+' conftest.out` | 6944 ac_err=`grep -v '^ *+' conftest.out` |
| 6939 if test -z "$ac_err"; then | 6945 if test -z "$ac_err"; then |
| 6940 rm -rf conftest* | 6946 rm -rf conftest* |
| 6941 eval "ac_cv_header_$ac_safe=yes" | 6947 eval "ac_cv_header_$ac_safe=yes" |
| 6942 else | 6948 else |
| 6963 fi | 6969 fi |
| 6964 done | 6970 done |
| 6965 | 6971 |
| 6966 | 6972 |
| 6967 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6973 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6968 echo "configure:6969: checking for strerror in -lintl" >&5 | 6974 echo "configure:6975: checking for strerror in -lintl" >&5 |
| 6969 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6975 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6970 | 6976 |
| 6971 xe_check_libs=" -lintl " | 6977 xe_check_libs=" -lintl " |
| 6972 cat > conftest.$ac_ext <<EOF | 6978 cat > conftest.$ac_ext <<EOF |
| 6973 #line 6974 "configure" | 6979 #line 6980 "configure" |
| 6974 #include "confdefs.h" | 6980 #include "confdefs.h" |
| 6975 /* Override any gcc2 internal prototype to avoid an error. */ | 6981 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6976 /* We use char because int might match the return type of a gcc2 | 6982 /* We use char because int might match the return type of a gcc2 |
| 6977 builtin and then its argument prototype would still apply. */ | 6983 builtin and then its argument prototype would still apply. */ |
| 6978 char strerror(); | 6984 char strerror(); |
| 6979 | 6985 |
| 6980 int main() { | 6986 int main() { |
| 6981 strerror() | 6987 strerror() |
| 6982 ; return 0; } | 6988 ; return 0; } |
| 6983 EOF | 6989 EOF |
| 6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6990 if { (eval echo configure:6991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6985 rm -rf conftest* | 6991 rm -rf conftest* |
| 6986 eval "ac_cv_lib_$ac_lib_var=yes" | 6992 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6987 else | 6993 else |
| 6988 echo "configure: failed program was:" >&5 | 6994 echo "configure: failed program was:" >&5 |
| 6989 cat conftest.$ac_ext >&5 | 6995 cat conftest.$ac_ext >&5 |
| 7012 fi | 7018 fi |
| 7013 | 7019 |
| 7014 | 7020 |
| 7015 | 7021 |
| 7016 echo "checking for Mule input methods" 1>&6 | 7022 echo "checking for Mule input methods" 1>&6 |
| 7017 echo "configure:7018: checking for Mule input methods" >&5 | 7023 echo "configure:7024: checking for Mule input methods" >&5 |
| 7018 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 7024 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 7019 case "$with_xim" in "" | "yes" ) | 7025 case "$with_xim" in "" | "yes" ) |
| 7020 echo "checking for XIM" 1>&6 | 7026 echo "checking for XIM" 1>&6 |
| 7021 echo "configure:7022: checking for XIM" >&5 | 7027 echo "configure:7028: checking for XIM" >&5 |
| 7022 | 7028 |
| 7023 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7029 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7024 echo "configure:7025: checking for XmImMbLookupString in -lXm" >&5 | 7030 echo "configure:7031: checking for XmImMbLookupString in -lXm" >&5 |
| 7025 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7031 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7026 | 7032 |
| 7027 xe_check_libs=" -lXm " | 7033 xe_check_libs=" -lXm " |
| 7028 cat > conftest.$ac_ext <<EOF | 7034 cat > conftest.$ac_ext <<EOF |
| 7029 #line 7030 "configure" | 7035 #line 7036 "configure" |
| 7030 #include "confdefs.h" | 7036 #include "confdefs.h" |
| 7031 /* Override any gcc2 internal prototype to avoid an error. */ | 7037 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7032 /* We use char because int might match the return type of a gcc2 | 7038 /* We use char because int might match the return type of a gcc2 |
| 7033 builtin and then its argument prototype would still apply. */ | 7039 builtin and then its argument prototype would still apply. */ |
| 7034 char XmImMbLookupString(); | 7040 char XmImMbLookupString(); |
| 7035 | 7041 |
| 7036 int main() { | 7042 int main() { |
| 7037 XmImMbLookupString() | 7043 XmImMbLookupString() |
| 7038 ; return 0; } | 7044 ; return 0; } |
| 7039 EOF | 7045 EOF |
| 7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7046 if { (eval echo configure:7047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7041 rm -rf conftest* | 7047 rm -rf conftest* |
| 7042 eval "ac_cv_lib_$ac_lib_var=yes" | 7048 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7043 else | 7049 else |
| 7044 echo "configure: failed program was:" >&5 | 7050 echo "configure: failed program was:" >&5 |
| 7045 cat conftest.$ac_ext >&5 | 7051 cat conftest.$ac_ext >&5 |
| 7100 fi | 7106 fi |
| 7101 fi | 7107 fi |
| 7102 | 7108 |
| 7103 if test "$with_xfs" = "yes" ; then | 7109 if test "$with_xfs" = "yes" ; then |
| 7104 echo "checking for XFontSet" 1>&6 | 7110 echo "checking for XFontSet" 1>&6 |
| 7105 echo "configure:7106: checking for XFontSet" >&5 | 7111 echo "configure:7112: checking for XFontSet" >&5 |
| 7106 | 7112 |
| 7107 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7113 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7108 echo "configure:7109: checking for XmbDrawString in -lX11" >&5 | 7114 echo "configure:7115: checking for XmbDrawString in -lX11" >&5 |
| 7109 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7115 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7110 | 7116 |
| 7111 xe_check_libs=" -lX11 " | 7117 xe_check_libs=" -lX11 " |
| 7112 cat > conftest.$ac_ext <<EOF | 7118 cat > conftest.$ac_ext <<EOF |
| 7113 #line 7114 "configure" | 7119 #line 7120 "configure" |
| 7114 #include "confdefs.h" | 7120 #include "confdefs.h" |
| 7115 /* Override any gcc2 internal prototype to avoid an error. */ | 7121 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7116 /* We use char because int might match the return type of a gcc2 | 7122 /* We use char because int might match the return type of a gcc2 |
| 7117 builtin and then its argument prototype would still apply. */ | 7123 builtin and then its argument prototype would still apply. */ |
| 7118 char XmbDrawString(); | 7124 char XmbDrawString(); |
| 7119 | 7125 |
| 7120 int main() { | 7126 int main() { |
| 7121 XmbDrawString() | 7127 XmbDrawString() |
| 7122 ; return 0; } | 7128 ; return 0; } |
| 7123 EOF | 7129 EOF |
| 7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7125 rm -rf conftest* | 7131 rm -rf conftest* |
| 7126 eval "ac_cv_lib_$ac_lib_var=yes" | 7132 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7127 else | 7133 else |
| 7128 echo "configure: failed program was:" >&5 | 7134 echo "configure: failed program was:" >&5 |
| 7129 cat conftest.$ac_ext >&5 | 7135 cat conftest.$ac_ext >&5 |
| 7159 fi | 7165 fi |
| 7160 fi | 7166 fi |
| 7161 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7167 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7162 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7168 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7163 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7169 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7164 echo "configure:7165: checking for wnn/jllib.h" >&5 | 7170 echo "configure:7171: checking for wnn/jllib.h" >&5 |
| 7165 | 7171 |
| 7166 cat > conftest.$ac_ext <<EOF | 7172 cat > conftest.$ac_ext <<EOF |
| 7167 #line 7168 "configure" | 7173 #line 7174 "configure" |
| 7168 #include "confdefs.h" | 7174 #include "confdefs.h" |
| 7169 #include <wnn/jllib.h> | 7175 #include <wnn/jllib.h> |
| 7170 EOF | 7176 EOF |
| 7171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7172 { (eval echo configure:7173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7178 { (eval echo configure:7179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7173 ac_err=`grep -v '^ *+' conftest.out` | 7179 ac_err=`grep -v '^ *+' conftest.out` |
| 7174 if test -z "$ac_err"; then | 7180 if test -z "$ac_err"; then |
| 7175 rm -rf conftest* | 7181 rm -rf conftest* |
| 7176 eval "ac_cv_header_$ac_safe=yes" | 7182 eval "ac_cv_header_$ac_safe=yes" |
| 7177 else | 7183 else |
| 7192 } | 7198 } |
| 7193 if test "$with_wnn" != "no"; then | 7199 if test "$with_wnn" != "no"; then |
| 7194 for ac_func in crypt | 7200 for ac_func in crypt |
| 7195 do | 7201 do |
| 7196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7197 echo "configure:7198: checking for $ac_func" >&5 | 7203 echo "configure:7204: checking for $ac_func" >&5 |
| 7198 | 7204 |
| 7199 cat > conftest.$ac_ext <<EOF | 7205 cat > conftest.$ac_ext <<EOF |
| 7200 #line 7201 "configure" | 7206 #line 7207 "configure" |
| 7201 #include "confdefs.h" | 7207 #include "confdefs.h" |
| 7202 /* System header to define __stub macros and hopefully few prototypes, | 7208 /* System header to define __stub macros and hopefully few prototypes, |
| 7203 which can conflict with char $ac_func(); below. */ | 7209 which can conflict with char $ac_func(); below. */ |
| 7204 #include <assert.h> | 7210 #include <assert.h> |
| 7205 /* Override any gcc2 internal prototype to avoid an error. */ | 7211 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7218 $ac_func(); | 7224 $ac_func(); |
| 7219 #endif | 7225 #endif |
| 7220 | 7226 |
| 7221 ; return 0; } | 7227 ; return 0; } |
| 7222 EOF | 7228 EOF |
| 7223 if { (eval echo configure:7224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7229 if { (eval echo configure:7230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7224 rm -rf conftest* | 7230 rm -rf conftest* |
| 7225 eval "ac_cv_func_$ac_func=yes" | 7231 eval "ac_cv_func_$ac_func=yes" |
| 7226 else | 7232 else |
| 7227 echo "configure: failed program was:" >&5 | 7233 echo "configure: failed program was:" >&5 |
| 7228 cat conftest.$ac_ext >&5 | 7234 cat conftest.$ac_ext >&5 |
| 7247 fi | 7253 fi |
| 7248 done | 7254 done |
| 7249 | 7255 |
| 7250 test "$ac_cv_func_crypt" != "yes" && { | 7256 test "$ac_cv_func_crypt" != "yes" && { |
| 7251 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7257 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7252 echo "configure:7253: checking for crypt in -lcrypt" >&5 | 7258 echo "configure:7259: checking for crypt in -lcrypt" >&5 |
| 7253 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7259 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7254 | 7260 |
| 7255 xe_check_libs=" -lcrypt " | 7261 xe_check_libs=" -lcrypt " |
| 7256 cat > conftest.$ac_ext <<EOF | 7262 cat > conftest.$ac_ext <<EOF |
| 7257 #line 7258 "configure" | 7263 #line 7264 "configure" |
| 7258 #include "confdefs.h" | 7264 #include "confdefs.h" |
| 7259 /* Override any gcc2 internal prototype to avoid an error. */ | 7265 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7260 /* We use char because int might match the return type of a gcc2 | 7266 /* We use char because int might match the return type of a gcc2 |
| 7261 builtin and then its argument prototype would still apply. */ | 7267 builtin and then its argument prototype would still apply. */ |
| 7262 char crypt(); | 7268 char crypt(); |
| 7263 | 7269 |
| 7264 int main() { | 7270 int main() { |
| 7265 crypt() | 7271 crypt() |
| 7266 ; return 0; } | 7272 ; return 0; } |
| 7267 EOF | 7273 EOF |
| 7268 if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7274 if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7269 rm -rf conftest* | 7275 rm -rf conftest* |
| 7270 eval "ac_cv_lib_$ac_lib_var=yes" | 7276 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7271 else | 7277 else |
| 7272 echo "configure: failed program was:" >&5 | 7278 echo "configure: failed program was:" >&5 |
| 7273 cat conftest.$ac_ext >&5 | 7279 cat conftest.$ac_ext >&5 |
| 7297 | 7303 |
| 7298 } | 7304 } |
| 7299 fi | 7305 fi |
| 7300 test -z "$with_wnn" && { | 7306 test -z "$with_wnn" && { |
| 7301 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7307 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7302 echo "configure:7303: checking for jl_dic_list_e in -lwnn" >&5 | 7308 echo "configure:7309: checking for jl_dic_list_e in -lwnn" >&5 |
| 7303 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7309 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7304 | 7310 |
| 7305 xe_check_libs=" -lwnn " | 7311 xe_check_libs=" -lwnn " |
| 7306 cat > conftest.$ac_ext <<EOF | 7312 cat > conftest.$ac_ext <<EOF |
| 7307 #line 7308 "configure" | 7313 #line 7314 "configure" |
| 7308 #include "confdefs.h" | 7314 #include "confdefs.h" |
| 7309 /* Override any gcc2 internal prototype to avoid an error. */ | 7315 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7310 /* We use char because int might match the return type of a gcc2 | 7316 /* We use char because int might match the return type of a gcc2 |
| 7311 builtin and then its argument prototype would still apply. */ | 7317 builtin and then its argument prototype would still apply. */ |
| 7312 char jl_dic_list_e(); | 7318 char jl_dic_list_e(); |
| 7313 | 7319 |
| 7314 int main() { | 7320 int main() { |
| 7315 jl_dic_list_e() | 7321 jl_dic_list_e() |
| 7316 ; return 0; } | 7322 ; return 0; } |
| 7317 EOF | 7323 EOF |
| 7318 if { (eval echo configure:7319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7324 if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7319 rm -rf conftest* | 7325 rm -rf conftest* |
| 7320 eval "ac_cv_lib_$ac_lib_var=yes" | 7326 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7321 else | 7327 else |
| 7322 echo "configure: failed program was:" >&5 | 7328 echo "configure: failed program was:" >&5 |
| 7323 cat conftest.$ac_ext >&5 | 7329 cat conftest.$ac_ext >&5 |
| 7350 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7356 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7351 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7357 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7352 fi | 7358 fi |
| 7353 | 7359 |
| 7354 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7360 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7355 echo "configure:7356: checking for jl_fi_dic_list in -lwnn" >&5 | 7361 echo "configure:7362: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7356 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7362 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7357 | 7363 |
| 7358 xe_check_libs=" -lwnn " | 7364 xe_check_libs=" -lwnn " |
| 7359 cat > conftest.$ac_ext <<EOF | 7365 cat > conftest.$ac_ext <<EOF |
| 7360 #line 7361 "configure" | 7366 #line 7367 "configure" |
| 7361 #include "confdefs.h" | 7367 #include "confdefs.h" |
| 7362 /* Override any gcc2 internal prototype to avoid an error. */ | 7368 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7363 /* We use char because int might match the return type of a gcc2 | 7369 /* We use char because int might match the return type of a gcc2 |
| 7364 builtin and then its argument prototype would still apply. */ | 7370 builtin and then its argument prototype would still apply. */ |
| 7365 char jl_fi_dic_list(); | 7371 char jl_fi_dic_list(); |
| 7366 | 7372 |
| 7367 int main() { | 7373 int main() { |
| 7368 jl_fi_dic_list() | 7374 jl_fi_dic_list() |
| 7369 ; return 0; } | 7375 ; return 0; } |
| 7370 EOF | 7376 EOF |
| 7371 if { (eval echo configure:7372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7377 if { (eval echo configure:7378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7372 rm -rf conftest* | 7378 rm -rf conftest* |
| 7373 eval "ac_cv_lib_$ac_lib_var=yes" | 7379 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7374 else | 7380 else |
| 7375 echo "configure: failed program was:" >&5 | 7381 echo "configure: failed program was:" >&5 |
| 7376 cat conftest.$ac_ext >&5 | 7382 cat conftest.$ac_ext >&5 |
| 7398 | 7404 |
| 7399 fi | 7405 fi |
| 7400 | 7406 |
| 7401 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7407 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7402 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7408 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7403 echo "configure:7404: checking for canna/RK.h" >&5 | 7409 echo "configure:7410: checking for canna/RK.h" >&5 |
| 7404 | 7410 |
| 7405 cat > conftest.$ac_ext <<EOF | 7411 cat > conftest.$ac_ext <<EOF |
| 7406 #line 7407 "configure" | 7412 #line 7413 "configure" |
| 7407 #include "confdefs.h" | 7413 #include "confdefs.h" |
| 7408 #include <canna/RK.h> | 7414 #include <canna/RK.h> |
| 7409 EOF | 7415 EOF |
| 7410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7411 { (eval echo configure:7412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7417 { (eval echo configure:7418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7412 ac_err=`grep -v '^ *+' conftest.out` | 7418 ac_err=`grep -v '^ *+' conftest.out` |
| 7413 if test -z "$ac_err"; then | 7419 if test -z "$ac_err"; then |
| 7414 rm -rf conftest* | 7420 rm -rf conftest* |
| 7415 eval "ac_cv_header_$ac_safe=yes" | 7421 eval "ac_cv_header_$ac_safe=yes" |
| 7416 else | 7422 else |
| 7429 with_canna=no | 7435 with_canna=no |
| 7430 fi | 7436 fi |
| 7431 } | 7437 } |
| 7432 test -z "$with_canna" && { | 7438 test -z "$with_canna" && { |
| 7433 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7439 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7434 echo "configure:7435: checking for RkBgnBun in -lRKC" >&5 | 7440 echo "configure:7441: checking for RkBgnBun in -lRKC" >&5 |
| 7435 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7441 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7436 | 7442 |
| 7437 xe_check_libs=" -lRKC " | 7443 xe_check_libs=" -lRKC " |
| 7438 cat > conftest.$ac_ext <<EOF | 7444 cat > conftest.$ac_ext <<EOF |
| 7439 #line 7440 "configure" | 7445 #line 7446 "configure" |
| 7440 #include "confdefs.h" | 7446 #include "confdefs.h" |
| 7441 /* Override any gcc2 internal prototype to avoid an error. */ | 7447 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7442 /* We use char because int might match the return type of a gcc2 | 7448 /* We use char because int might match the return type of a gcc2 |
| 7443 builtin and then its argument prototype would still apply. */ | 7449 builtin and then its argument prototype would still apply. */ |
| 7444 char RkBgnBun(); | 7450 char RkBgnBun(); |
| 7445 | 7451 |
| 7446 int main() { | 7452 int main() { |
| 7447 RkBgnBun() | 7453 RkBgnBun() |
| 7448 ; return 0; } | 7454 ; return 0; } |
| 7449 EOF | 7455 EOF |
| 7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7451 rm -rf conftest* | 7457 rm -rf conftest* |
| 7452 eval "ac_cv_lib_$ac_lib_var=yes" | 7458 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7453 else | 7459 else |
| 7454 echo "configure: failed program was:" >&5 | 7460 echo "configure: failed program was:" >&5 |
| 7455 cat conftest.$ac_ext >&5 | 7461 cat conftest.$ac_ext >&5 |
| 7468 fi | 7474 fi |
| 7469 | 7475 |
| 7470 } | 7476 } |
| 7471 test -z "$with_canna" && { | 7477 test -z "$with_canna" && { |
| 7472 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7478 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7473 echo "configure:7474: checking for jrKanjiControl in -lcanna" >&5 | 7479 echo "configure:7480: checking for jrKanjiControl in -lcanna" >&5 |
| 7474 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7480 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7475 | 7481 |
| 7476 xe_check_libs=" -lcanna " | 7482 xe_check_libs=" -lcanna " |
| 7477 cat > conftest.$ac_ext <<EOF | 7483 cat > conftest.$ac_ext <<EOF |
| 7478 #line 7479 "configure" | 7484 #line 7485 "configure" |
| 7479 #include "confdefs.h" | 7485 #include "confdefs.h" |
| 7480 /* Override any gcc2 internal prototype to avoid an error. */ | 7486 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7481 /* We use char because int might match the return type of a gcc2 | 7487 /* We use char because int might match the return type of a gcc2 |
| 7482 builtin and then its argument prototype would still apply. */ | 7488 builtin and then its argument prototype would still apply. */ |
| 7483 char jrKanjiControl(); | 7489 char jrKanjiControl(); |
| 7484 | 7490 |
| 7485 int main() { | 7491 int main() { |
| 7486 jrKanjiControl() | 7492 jrKanjiControl() |
| 7487 ; return 0; } | 7493 ; return 0; } |
| 7488 EOF | 7494 EOF |
| 7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7495 if { (eval echo configure:7496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7490 rm -rf conftest* | 7496 rm -rf conftest* |
| 7491 eval "ac_cv_lib_$ac_lib_var=yes" | 7497 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7492 else | 7498 else |
| 7493 echo "configure: failed program was:" >&5 | 7499 echo "configure: failed program was:" >&5 |
| 7494 cat conftest.$ac_ext >&5 | 7500 cat conftest.$ac_ext >&5 |
| 7533 | 7539 |
| 7534 if test "$need_motif" = "yes" ; then | 7540 if test "$need_motif" = "yes" ; then |
| 7535 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7541 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7536 | 7542 |
| 7537 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7543 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 7538 echo "configure:7539: checking for layout_object_getvalue in -li18n" >&5 | 7544 echo "configure:7545: checking for layout_object_getvalue in -li18n" >&5 |
| 7539 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7545 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 7540 | 7546 |
| 7541 xe_check_libs=" -li18n " | 7547 xe_check_libs=" -li18n " |
| 7542 cat > conftest.$ac_ext <<EOF | 7548 cat > conftest.$ac_ext <<EOF |
| 7543 #line 7544 "configure" | 7549 #line 7550 "configure" |
| 7544 #include "confdefs.h" | 7550 #include "confdefs.h" |
| 7545 /* Override any gcc2 internal prototype to avoid an error. */ | 7551 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7546 /* We use char because int might match the return type of a gcc2 | 7552 /* We use char because int might match the return type of a gcc2 |
| 7547 builtin and then its argument prototype would still apply. */ | 7553 builtin and then its argument prototype would still apply. */ |
| 7548 char layout_object_getvalue(); | 7554 char layout_object_getvalue(); |
| 7549 | 7555 |
| 7550 int main() { | 7556 int main() { |
| 7551 layout_object_getvalue() | 7557 layout_object_getvalue() |
| 7552 ; return 0; } | 7558 ; return 0; } |
| 7553 EOF | 7559 EOF |
| 7554 if { (eval echo configure:7555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7560 if { (eval echo configure:7561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7555 rm -rf conftest* | 7561 rm -rf conftest* |
| 7556 eval "ac_cv_lib_$ac_lib_var=yes" | 7562 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7557 else | 7563 else |
| 7558 echo "configure: failed program was:" >&5 | 7564 echo "configure: failed program was:" >&5 |
| 7559 cat conftest.$ac_ext >&5 | 7565 cat conftest.$ac_ext >&5 |
| 7622 fi | 7628 fi |
| 7623 | 7629 |
| 7624 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 | 7630 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 |
| 7625 do | 7631 do |
| 7626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7627 echo "configure:7628: checking for $ac_func" >&5 | 7633 echo "configure:7634: checking for $ac_func" >&5 |
| 7628 | 7634 |
| 7629 cat > conftest.$ac_ext <<EOF | 7635 cat > conftest.$ac_ext <<EOF |
| 7630 #line 7631 "configure" | 7636 #line 7637 "configure" |
| 7631 #include "confdefs.h" | 7637 #include "confdefs.h" |
| 7632 /* System header to define __stub macros and hopefully few prototypes, | 7638 /* System header to define __stub macros and hopefully few prototypes, |
| 7633 which can conflict with char $ac_func(); below. */ | 7639 which can conflict with char $ac_func(); below. */ |
| 7634 #include <assert.h> | 7640 #include <assert.h> |
| 7635 /* Override any gcc2 internal prototype to avoid an error. */ | 7641 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7648 $ac_func(); | 7654 $ac_func(); |
| 7649 #endif | 7655 #endif |
| 7650 | 7656 |
| 7651 ; return 0; } | 7657 ; return 0; } |
| 7652 EOF | 7658 EOF |
| 7653 if { (eval echo configure:7654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7659 if { (eval echo configure:7660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7654 rm -rf conftest* | 7660 rm -rf conftest* |
| 7655 eval "ac_cv_func_$ac_func=yes" | 7661 eval "ac_cv_func_$ac_func=yes" |
| 7656 else | 7662 else |
| 7657 echo "configure: failed program was:" >&5 | 7663 echo "configure: failed program was:" >&5 |
| 7658 cat conftest.$ac_ext >&5 | 7664 cat conftest.$ac_ext >&5 |
| 7685 fi ;; | 7691 fi ;; |
| 7686 * ) | 7692 * ) |
| 7687 for ac_func in realpath | 7693 for ac_func in realpath |
| 7688 do | 7694 do |
| 7689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7690 echo "configure:7691: checking for $ac_func" >&5 | 7696 echo "configure:7697: checking for $ac_func" >&5 |
| 7691 | 7697 |
| 7692 cat > conftest.$ac_ext <<EOF | 7698 cat > conftest.$ac_ext <<EOF |
| 7693 #line 7694 "configure" | 7699 #line 7700 "configure" |
| 7694 #include "confdefs.h" | 7700 #include "confdefs.h" |
| 7695 /* System header to define __stub macros and hopefully few prototypes, | 7701 /* System header to define __stub macros and hopefully few prototypes, |
| 7696 which can conflict with char $ac_func(); below. */ | 7702 which can conflict with char $ac_func(); below. */ |
| 7697 #include <assert.h> | 7703 #include <assert.h> |
| 7698 /* Override any gcc2 internal prototype to avoid an error. */ | 7704 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7711 $ac_func(); | 7717 $ac_func(); |
| 7712 #endif | 7718 #endif |
| 7713 | 7719 |
| 7714 ; return 0; } | 7720 ; return 0; } |
| 7715 EOF | 7721 EOF |
| 7716 if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7722 if { (eval echo configure:7723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7717 rm -rf conftest* | 7723 rm -rf conftest* |
| 7718 eval "ac_cv_func_$ac_func=yes" | 7724 eval "ac_cv_func_$ac_func=yes" |
| 7719 else | 7725 else |
| 7720 echo "configure: failed program was:" >&5 | 7726 echo "configure: failed program was:" >&5 |
| 7721 cat conftest.$ac_ext >&5 | 7727 cat conftest.$ac_ext >&5 |
| 7744 echo " xemacs will be linked with \"realpath.o\"" | 7750 echo " xemacs will be linked with \"realpath.o\"" |
| 7745 fi ;; | 7751 fi ;; |
| 7746 esac | 7752 esac |
| 7747 | 7753 |
| 7748 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7754 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7749 echo "configure:7750: checking whether netdb declares h_errno" >&5 | 7755 echo "configure:7756: checking whether netdb declares h_errno" >&5 |
| 7750 cat > conftest.$ac_ext <<EOF | 7756 cat > conftest.$ac_ext <<EOF |
| 7751 #line 7752 "configure" | 7757 #line 7758 "configure" |
| 7752 #include "confdefs.h" | 7758 #include "confdefs.h" |
| 7753 #include <netdb.h> | 7759 #include <netdb.h> |
| 7754 int main() { | 7760 int main() { |
| 7755 return h_errno; | 7761 return h_errno; |
| 7756 ; return 0; } | 7762 ; return 0; } |
| 7757 EOF | 7763 EOF |
| 7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7764 if { (eval echo configure:7765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7759 rm -rf conftest* | 7765 rm -rf conftest* |
| 7760 echo "$ac_t""yes" 1>&6 | 7766 echo "$ac_t""yes" 1>&6 |
| 7761 { test "$extra_verbose" = "yes" && cat << \EOF | 7767 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7762 Defining HAVE_H_ERRNO | 7768 Defining HAVE_H_ERRNO |
| 7763 EOF | 7769 EOF |
| 7773 echo "$ac_t""no" 1>&6 | 7779 echo "$ac_t""no" 1>&6 |
| 7774 fi | 7780 fi |
| 7775 rm -f conftest* | 7781 rm -f conftest* |
| 7776 | 7782 |
| 7777 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7783 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7778 echo "configure:7779: checking for sigsetjmp" >&5 | 7784 echo "configure:7785: checking for sigsetjmp" >&5 |
| 7779 cat > conftest.$ac_ext <<EOF | 7785 cat > conftest.$ac_ext <<EOF |
| 7780 #line 7781 "configure" | 7786 #line 7787 "configure" |
| 7781 #include "confdefs.h" | 7787 #include "confdefs.h" |
| 7782 #include <setjmp.h> | 7788 #include <setjmp.h> |
| 7783 int main() { | 7789 int main() { |
| 7784 sigjmp_buf bar; sigsetjmp (bar, 0); | 7790 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7785 ; return 0; } | 7791 ; return 0; } |
| 7786 EOF | 7792 EOF |
| 7787 if { (eval echo configure:7788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7793 if { (eval echo configure:7794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7788 rm -rf conftest* | 7794 rm -rf conftest* |
| 7789 echo "$ac_t""yes" 1>&6 | 7795 echo "$ac_t""yes" 1>&6 |
| 7790 { test "$extra_verbose" = "yes" && cat << \EOF | 7796 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7791 Defining HAVE_SIGSETJMP | 7797 Defining HAVE_SIGSETJMP |
| 7792 EOF | 7798 EOF |
| 7802 echo "$ac_t""no" 1>&6 | 7808 echo "$ac_t""no" 1>&6 |
| 7803 fi | 7809 fi |
| 7804 rm -f conftest* | 7810 rm -f conftest* |
| 7805 | 7811 |
| 7806 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7812 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7807 echo "configure:7808: checking whether localtime caches TZ" >&5 | 7813 echo "configure:7814: checking whether localtime caches TZ" >&5 |
| 7808 | 7814 |
| 7809 if test "$ac_cv_func_tzset" = "yes"; then | 7815 if test "$ac_cv_func_tzset" = "yes"; then |
| 7810 cat > conftest.$ac_ext <<EOF | 7816 cat > conftest.$ac_ext <<EOF |
| 7811 #line 7812 "configure" | 7817 #line 7818 "configure" |
| 7812 #include "confdefs.h" | 7818 #include "confdefs.h" |
| 7813 #include <time.h> | 7819 #include <time.h> |
| 7814 #if STDC_HEADERS | 7820 #if STDC_HEADERS |
| 7815 # include <stdlib.h> | 7821 # include <stdlib.h> |
| 7816 #endif | 7822 #endif |
| 7841 if (localtime (&now)->tm_hour != hour_unset) | 7847 if (localtime (&now)->tm_hour != hour_unset) |
| 7842 exit (1); | 7848 exit (1); |
| 7843 exit (0); | 7849 exit (0); |
| 7844 } | 7850 } |
| 7845 EOF | 7851 EOF |
| 7846 if { (eval echo configure:7847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7852 if { (eval echo configure:7853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7847 then | 7853 then |
| 7848 emacs_cv_localtime_cache=no | 7854 emacs_cv_localtime_cache=no |
| 7849 else | 7855 else |
| 7850 echo "configure: failed program was:" >&5 | 7856 echo "configure: failed program was:" >&5 |
| 7851 cat conftest.$ac_ext >&5 | 7857 cat conftest.$ac_ext >&5 |
| 7870 | 7876 |
| 7871 fi | 7877 fi |
| 7872 | 7878 |
| 7873 if test "$HAVE_TIMEVAL" = "yes"; then | 7879 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7874 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7880 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7875 echo "configure:7876: checking whether gettimeofday cannot accept two arguments" >&5 | 7881 echo "configure:7882: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7876 cat > conftest.$ac_ext <<EOF | 7882 cat > conftest.$ac_ext <<EOF |
| 7877 #line 7878 "configure" | 7883 #line 7884 "configure" |
| 7878 #include "confdefs.h" | 7884 #include "confdefs.h" |
| 7879 | 7885 |
| 7880 #ifdef TIME_WITH_SYS_TIME | 7886 #ifdef TIME_WITH_SYS_TIME |
| 7881 #include <sys/time.h> | 7887 #include <sys/time.h> |
| 7882 #include <time.h> | 7888 #include <time.h> |
| 7894 struct timezone dummy; | 7900 struct timezone dummy; |
| 7895 gettimeofday (&time, &dummy); | 7901 gettimeofday (&time, &dummy); |
| 7896 | 7902 |
| 7897 ; return 0; } | 7903 ; return 0; } |
| 7898 EOF | 7904 EOF |
| 7899 if { (eval echo configure:7900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7905 if { (eval echo configure:7906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7900 rm -rf conftest* | 7906 rm -rf conftest* |
| 7901 echo "$ac_t""no" 1>&6 | 7907 echo "$ac_t""no" 1>&6 |
| 7902 else | 7908 else |
| 7903 echo "configure: failed program was:" >&5 | 7909 echo "configure: failed program was:" >&5 |
| 7904 cat conftest.$ac_ext >&5 | 7910 cat conftest.$ac_ext >&5 |
| 7916 rm -f conftest* | 7922 rm -f conftest* |
| 7917 fi | 7923 fi |
| 7918 | 7924 |
| 7919 | 7925 |
| 7920 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7926 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7921 echo "configure:7922: checking for inline" >&5 | 7927 echo "configure:7928: checking for inline" >&5 |
| 7922 | 7928 |
| 7923 ac_cv_c_inline=no | 7929 ac_cv_c_inline=no |
| 7924 for ac_kw in inline __inline__ __inline; do | 7930 for ac_kw in inline __inline__ __inline; do |
| 7925 cat > conftest.$ac_ext <<EOF | 7931 cat > conftest.$ac_ext <<EOF |
| 7926 #line 7927 "configure" | 7932 #line 7933 "configure" |
| 7927 #include "confdefs.h" | 7933 #include "confdefs.h" |
| 7928 | 7934 |
| 7929 int main() { | 7935 int main() { |
| 7930 } $ac_kw foo() { | 7936 } $ac_kw foo() { |
| 7931 ; return 0; } | 7937 ; return 0; } |
| 7932 EOF | 7938 EOF |
| 7933 if { (eval echo configure:7934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7939 if { (eval echo configure:7940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7934 rm -rf conftest* | 7940 rm -rf conftest* |
| 7935 ac_cv_c_inline=$ac_kw; break | 7941 ac_cv_c_inline=$ac_kw; break |
| 7936 else | 7942 else |
| 7937 echo "configure: failed program was:" >&5 | 7943 echo "configure: failed program was:" >&5 |
| 7938 cat conftest.$ac_ext >&5 | 7944 cat conftest.$ac_ext >&5 |
| 7978 | 7984 |
| 7979 | 7985 |
| 7980 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7986 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7981 # for constant arguments. Useless! | 7987 # for constant arguments. Useless! |
| 7982 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7988 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7983 echo "configure:7984: checking for working alloca.h" >&5 | 7989 echo "configure:7990: checking for working alloca.h" >&5 |
| 7984 | 7990 |
| 7985 cat > conftest.$ac_ext <<EOF | 7991 cat > conftest.$ac_ext <<EOF |
| 7986 #line 7987 "configure" | 7992 #line 7993 "configure" |
| 7987 #include "confdefs.h" | 7993 #include "confdefs.h" |
| 7988 #include <alloca.h> | 7994 #include <alloca.h> |
| 7989 int main() { | 7995 int main() { |
| 7990 char *p = alloca(2 * sizeof(int)); | 7996 char *p = alloca(2 * sizeof(int)); |
| 7991 ; return 0; } | 7997 ; return 0; } |
| 7992 EOF | 7998 EOF |
| 7993 if { (eval echo configure:7994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7994 rm -rf conftest* | 8000 rm -rf conftest* |
| 7995 ac_cv_header_alloca_h=yes | 8001 ac_cv_header_alloca_h=yes |
| 7996 else | 8002 else |
| 7997 echo "configure: failed program was:" >&5 | 8003 echo "configure: failed program was:" >&5 |
| 7998 cat conftest.$ac_ext >&5 | 8004 cat conftest.$ac_ext >&5 |
| 8012 } | 8018 } |
| 8013 | 8019 |
| 8014 fi | 8020 fi |
| 8015 | 8021 |
| 8016 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8022 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 8017 echo "configure:8018: checking for alloca" >&5 | 8023 echo "configure:8024: checking for alloca" >&5 |
| 8018 | 8024 |
| 8019 cat > conftest.$ac_ext <<EOF | 8025 cat > conftest.$ac_ext <<EOF |
| 8020 #line 8021 "configure" | 8026 #line 8027 "configure" |
| 8021 #include "confdefs.h" | 8027 #include "confdefs.h" |
| 8022 | 8028 |
| 8023 #ifdef __GNUC__ | 8029 #ifdef __GNUC__ |
| 8024 # define alloca __builtin_alloca | 8030 # define alloca __builtin_alloca |
| 8025 #else | 8031 #else |
| 8038 | 8044 |
| 8039 int main() { | 8045 int main() { |
| 8040 char *p = (char *) alloca(1); | 8046 char *p = (char *) alloca(1); |
| 8041 ; return 0; } | 8047 ; return 0; } |
| 8042 EOF | 8048 EOF |
| 8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8049 if { (eval echo configure:8050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8044 rm -rf conftest* | 8050 rm -rf conftest* |
| 8045 ac_cv_func_alloca_works=yes | 8051 ac_cv_func_alloca_works=yes |
| 8046 else | 8052 else |
| 8047 echo "configure: failed program was:" >&5 | 8053 echo "configure: failed program was:" >&5 |
| 8048 cat conftest.$ac_ext >&5 | 8054 cat conftest.$ac_ext >&5 |
| 8077 EOF | 8083 EOF |
| 8078 } | 8084 } |
| 8079 | 8085 |
| 8080 | 8086 |
| 8081 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8087 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 8082 echo "configure:8083: checking whether alloca needs Cray hooks" >&5 | 8088 echo "configure:8089: checking whether alloca needs Cray hooks" >&5 |
| 8083 | 8089 |
| 8084 cat > conftest.$ac_ext <<EOF | 8090 cat > conftest.$ac_ext <<EOF |
| 8085 #line 8086 "configure" | 8091 #line 8092 "configure" |
| 8086 #include "confdefs.h" | 8092 #include "confdefs.h" |
| 8087 #if defined(CRAY) && ! defined(CRAY2) | 8093 #if defined(CRAY) && ! defined(CRAY2) |
| 8088 webecray | 8094 webecray |
| 8089 #else | 8095 #else |
| 8090 wenotbecray | 8096 wenotbecray |
| 8104 | 8110 |
| 8105 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8111 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 8106 if test $ac_cv_os_cray = yes; then | 8112 if test $ac_cv_os_cray = yes; then |
| 8107 for ac_func in _getb67 GETB67 getb67; do | 8113 for ac_func in _getb67 GETB67 getb67; do |
| 8108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8109 echo "configure:8110: checking for $ac_func" >&5 | 8115 echo "configure:8116: checking for $ac_func" >&5 |
| 8110 | 8116 |
| 8111 cat > conftest.$ac_ext <<EOF | 8117 cat > conftest.$ac_ext <<EOF |
| 8112 #line 8113 "configure" | 8118 #line 8119 "configure" |
| 8113 #include "confdefs.h" | 8119 #include "confdefs.h" |
| 8114 /* System header to define __stub macros and hopefully few prototypes, | 8120 /* System header to define __stub macros and hopefully few prototypes, |
| 8115 which can conflict with char $ac_func(); below. */ | 8121 which can conflict with char $ac_func(); below. */ |
| 8116 #include <assert.h> | 8122 #include <assert.h> |
| 8117 /* Override any gcc2 internal prototype to avoid an error. */ | 8123 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8130 $ac_func(); | 8136 $ac_func(); |
| 8131 #endif | 8137 #endif |
| 8132 | 8138 |
| 8133 ; return 0; } | 8139 ; return 0; } |
| 8134 EOF | 8140 EOF |
| 8135 if { (eval echo configure:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8136 rm -rf conftest* | 8142 rm -rf conftest* |
| 8137 eval "ac_cv_func_$ac_func=yes" | 8143 eval "ac_cv_func_$ac_func=yes" |
| 8138 else | 8144 else |
| 8139 echo "configure: failed program was:" >&5 | 8145 echo "configure: failed program was:" >&5 |
| 8140 cat conftest.$ac_ext >&5 | 8146 cat conftest.$ac_ext >&5 |
| 8160 | 8166 |
| 8161 done | 8167 done |
| 8162 fi | 8168 fi |
| 8163 | 8169 |
| 8164 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8170 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 8165 echo "configure:8166: checking stack direction for C alloca" >&5 | 8171 echo "configure:8172: checking stack direction for C alloca" >&5 |
| 8166 | 8172 |
| 8167 cat > conftest.$ac_ext <<EOF | 8173 cat > conftest.$ac_ext <<EOF |
| 8168 #line 8169 "configure" | 8174 #line 8175 "configure" |
| 8169 #include "confdefs.h" | 8175 #include "confdefs.h" |
| 8170 find_stack_direction () | 8176 find_stack_direction () |
| 8171 { | 8177 { |
| 8172 static char *addr = 0; | 8178 static char *addr = 0; |
| 8173 auto char dummy; | 8179 auto char dummy; |
| 8182 main () | 8188 main () |
| 8183 { | 8189 { |
| 8184 exit (find_stack_direction() < 0); | 8190 exit (find_stack_direction() < 0); |
| 8185 } | 8191 } |
| 8186 EOF | 8192 EOF |
| 8187 if { (eval echo configure:8188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8193 if { (eval echo configure:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8188 then | 8194 then |
| 8189 ac_cv_c_stack_direction=1 | 8195 ac_cv_c_stack_direction=1 |
| 8190 else | 8196 else |
| 8191 echo "configure: failed program was:" >&5 | 8197 echo "configure: failed program was:" >&5 |
| 8192 cat conftest.$ac_ext >&5 | 8198 cat conftest.$ac_ext >&5 |
| 8210 echo " xemacs will be linked with \"$ALLOCA\"" | 8216 echo " xemacs will be linked with \"$ALLOCA\"" |
| 8211 fi | 8217 fi |
| 8212 | 8218 |
| 8213 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8219 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8214 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8220 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8215 echo "configure:8216: checking for vfork.h" >&5 | 8221 echo "configure:8222: checking for vfork.h" >&5 |
| 8216 | 8222 |
| 8217 cat > conftest.$ac_ext <<EOF | 8223 cat > conftest.$ac_ext <<EOF |
| 8218 #line 8219 "configure" | 8224 #line 8225 "configure" |
| 8219 #include "confdefs.h" | 8225 #include "confdefs.h" |
| 8220 #include <vfork.h> | 8226 #include <vfork.h> |
| 8221 EOF | 8227 EOF |
| 8222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8223 { (eval echo configure:8224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8229 { (eval echo configure:8230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8224 ac_err=`grep -v '^ *+' conftest.out` | 8230 ac_err=`grep -v '^ *+' conftest.out` |
| 8225 if test -z "$ac_err"; then | 8231 if test -z "$ac_err"; then |
| 8226 rm -rf conftest* | 8232 rm -rf conftest* |
| 8227 eval "ac_cv_header_$ac_safe=yes" | 8233 eval "ac_cv_header_$ac_safe=yes" |
| 8228 else | 8234 else |
| 8246 else | 8252 else |
| 8247 echo "$ac_t""no" 1>&6 | 8253 echo "$ac_t""no" 1>&6 |
| 8248 fi | 8254 fi |
| 8249 | 8255 |
| 8250 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8256 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8251 echo "configure:8252: checking for working vfork" >&5 | 8257 echo "configure:8258: checking for working vfork" >&5 |
| 8252 | 8258 |
| 8253 cat > conftest.$ac_ext <<EOF | 8259 cat > conftest.$ac_ext <<EOF |
| 8254 #line 8255 "configure" | 8260 #line 8261 "configure" |
| 8255 #include "confdefs.h" | 8261 #include "confdefs.h" |
| 8256 /* Thanks to Paul Eggert for this test. */ | 8262 /* Thanks to Paul Eggert for this test. */ |
| 8257 #include <stdio.h> | 8263 #include <stdio.h> |
| 8258 #include <sys/types.h> | 8264 #include <sys/types.h> |
| 8259 #include <sys/stat.h> | 8265 #include <sys/stat.h> |
| 8344 || fstat(fileno(stdout), &st) != 0 | 8350 || fstat(fileno(stdout), &st) != 0 |
| 8345 ); | 8351 ); |
| 8346 } | 8352 } |
| 8347 } | 8353 } |
| 8348 EOF | 8354 EOF |
| 8349 if { (eval echo configure:8350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8350 then | 8356 then |
| 8351 ac_cv_func_vfork_works=yes | 8357 ac_cv_func_vfork_works=yes |
| 8352 else | 8358 else |
| 8353 echo "configure: failed program was:" >&5 | 8359 echo "configure: failed program was:" >&5 |
| 8354 cat conftest.$ac_ext >&5 | 8360 cat conftest.$ac_ext >&5 |
| 8369 | 8375 |
| 8370 fi | 8376 fi |
| 8371 | 8377 |
| 8372 | 8378 |
| 8373 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8379 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8374 echo "configure:8375: checking for working strcoll" >&5 | 8380 echo "configure:8381: checking for working strcoll" >&5 |
| 8375 | 8381 |
| 8376 cat > conftest.$ac_ext <<EOF | 8382 cat > conftest.$ac_ext <<EOF |
| 8377 #line 8378 "configure" | 8383 #line 8384 "configure" |
| 8378 #include "confdefs.h" | 8384 #include "confdefs.h" |
| 8379 #include <string.h> | 8385 #include <string.h> |
| 8380 main () | 8386 main () |
| 8381 { | 8387 { |
| 8382 exit (strcoll ("abc", "def") >= 0 || | 8388 exit (strcoll ("abc", "def") >= 0 || |
| 8383 strcoll ("ABC", "DEF") >= 0 || | 8389 strcoll ("ABC", "DEF") >= 0 || |
| 8384 strcoll ("123", "456") >= 0); | 8390 strcoll ("123", "456") >= 0); |
| 8385 } | 8391 } |
| 8386 EOF | 8392 EOF |
| 8387 if { (eval echo configure:8388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8393 if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8388 then | 8394 then |
| 8389 ac_cv_func_strcoll_works=yes | 8395 ac_cv_func_strcoll_works=yes |
| 8390 else | 8396 else |
| 8391 echo "configure: failed program was:" >&5 | 8397 echo "configure: failed program was:" >&5 |
| 8392 cat conftest.$ac_ext >&5 | 8398 cat conftest.$ac_ext >&5 |
| 8409 | 8415 |
| 8410 | 8416 |
| 8411 for ac_func in getpgrp | 8417 for ac_func in getpgrp |
| 8412 do | 8418 do |
| 8413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8414 echo "configure:8415: checking for $ac_func" >&5 | 8420 echo "configure:8421: checking for $ac_func" >&5 |
| 8415 | 8421 |
| 8416 cat > conftest.$ac_ext <<EOF | 8422 cat > conftest.$ac_ext <<EOF |
| 8417 #line 8418 "configure" | 8423 #line 8424 "configure" |
| 8418 #include "confdefs.h" | 8424 #include "confdefs.h" |
| 8419 /* System header to define __stub macros and hopefully few prototypes, | 8425 /* System header to define __stub macros and hopefully few prototypes, |
| 8420 which can conflict with char $ac_func(); below. */ | 8426 which can conflict with char $ac_func(); below. */ |
| 8421 #include <assert.h> | 8427 #include <assert.h> |
| 8422 /* Override any gcc2 internal prototype to avoid an error. */ | 8428 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8435 $ac_func(); | 8441 $ac_func(); |
| 8436 #endif | 8442 #endif |
| 8437 | 8443 |
| 8438 ; return 0; } | 8444 ; return 0; } |
| 8439 EOF | 8445 EOF |
| 8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8446 if { (eval echo configure:8447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8441 rm -rf conftest* | 8447 rm -rf conftest* |
| 8442 eval "ac_cv_func_$ac_func=yes" | 8448 eval "ac_cv_func_$ac_func=yes" |
| 8443 else | 8449 else |
| 8444 echo "configure: failed program was:" >&5 | 8450 echo "configure: failed program was:" >&5 |
| 8445 cat conftest.$ac_ext >&5 | 8451 cat conftest.$ac_ext >&5 |
| 8463 echo "$ac_t""no" 1>&6 | 8469 echo "$ac_t""no" 1>&6 |
| 8464 fi | 8470 fi |
| 8465 done | 8471 done |
| 8466 | 8472 |
| 8467 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8473 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8468 echo "configure:8469: checking whether getpgrp takes no argument" >&5 | 8474 echo "configure:8475: checking whether getpgrp takes no argument" >&5 |
| 8469 | 8475 |
| 8470 cat > conftest.$ac_ext <<EOF | 8476 cat > conftest.$ac_ext <<EOF |
| 8471 #line 8472 "configure" | 8477 #line 8478 "configure" |
| 8472 #include "confdefs.h" | 8478 #include "confdefs.h" |
| 8473 | 8479 |
| 8474 /* | 8480 /* |
| 8475 * If this system has a BSD-style getpgrp(), | 8481 * If this system has a BSD-style getpgrp(), |
| 8476 * which takes a pid argument, exit unsuccessfully. | 8482 * which takes a pid argument, exit unsuccessfully. |
| 8521 exit(s>>8); | 8527 exit(s>>8); |
| 8522 } | 8528 } |
| 8523 } | 8529 } |
| 8524 | 8530 |
| 8525 EOF | 8531 EOF |
| 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8532 if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8527 then | 8533 then |
| 8528 ac_cv_func_getpgrp_void=yes | 8534 ac_cv_func_getpgrp_void=yes |
| 8529 else | 8535 else |
| 8530 echo "configure: failed program was:" >&5 | 8536 echo "configure: failed program was:" >&5 |
| 8531 cat conftest.$ac_ext >&5 | 8537 cat conftest.$ac_ext >&5 |
| 8547 | 8553 |
| 8548 fi | 8554 fi |
| 8549 | 8555 |
| 8550 | 8556 |
| 8551 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8557 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8552 echo "configure:8553: checking for working mmap" >&5 | 8558 echo "configure:8559: checking for working mmap" >&5 |
| 8553 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8559 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8554 cat > conftest.$ac_ext <<EOF | 8560 cat > conftest.$ac_ext <<EOF |
| 8555 #line 8556 "configure" | 8561 #line 8562 "configure" |
| 8556 #include "confdefs.h" | 8562 #include "confdefs.h" |
| 8557 #include <stdio.h> | 8563 #include <stdio.h> |
| 8558 #include <unistd.h> | 8564 #include <unistd.h> |
| 8559 #include <fcntl.h> | 8565 #include <fcntl.h> |
| 8560 #include <sys/mman.h> | 8566 #include <sys/mman.h> |
| 8583 return 0; | 8589 return 0; |
| 8584 perror ("conftest: mmap failed"); | 8590 perror ("conftest: mmap failed"); |
| 8585 return 1; | 8591 return 1; |
| 8586 } | 8592 } |
| 8587 EOF | 8593 EOF |
| 8588 if { (eval echo configure:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8594 if { (eval echo configure:8595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8589 then | 8595 then |
| 8590 have_mmap=yes | 8596 have_mmap=yes |
| 8591 else | 8597 else |
| 8592 echo "configure: failed program was:" >&5 | 8598 echo "configure: failed program was:" >&5 |
| 8593 cat conftest.$ac_ext >&5 | 8599 cat conftest.$ac_ext >&5 |
| 8617 } | 8623 } |
| 8618 | 8624 |
| 8619 | 8625 |
| 8620 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8626 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8621 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8627 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8622 echo "configure:8623: checking for termios.h" >&5 | 8628 echo "configure:8629: checking for termios.h" >&5 |
| 8623 | 8629 |
| 8624 cat > conftest.$ac_ext <<EOF | 8630 cat > conftest.$ac_ext <<EOF |
| 8625 #line 8626 "configure" | 8631 #line 8632 "configure" |
| 8626 #include "confdefs.h" | 8632 #include "confdefs.h" |
| 8627 #include <termios.h> | 8633 #include <termios.h> |
| 8628 EOF | 8634 EOF |
| 8629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8630 { (eval echo configure:8631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8636 { (eval echo configure:8637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8631 ac_err=`grep -v '^ *+' conftest.out` | 8637 ac_err=`grep -v '^ *+' conftest.out` |
| 8632 if test -z "$ac_err"; then | 8638 if test -z "$ac_err"; then |
| 8633 rm -rf conftest* | 8639 rm -rf conftest* |
| 8634 eval "ac_cv_header_$ac_safe=yes" | 8640 eval "ac_cv_header_$ac_safe=yes" |
| 8635 else | 8641 else |
| 8668 | 8674 |
| 8669 else | 8675 else |
| 8670 echo "$ac_t""no" 1>&6 | 8676 echo "$ac_t""no" 1>&6 |
| 8671 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8677 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8672 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8678 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8673 echo "configure:8674: checking for termio.h" >&5 | 8679 echo "configure:8680: checking for termio.h" >&5 |
| 8674 | 8680 |
| 8675 cat > conftest.$ac_ext <<EOF | 8681 cat > conftest.$ac_ext <<EOF |
| 8676 #line 8677 "configure" | 8682 #line 8683 "configure" |
| 8677 #include "confdefs.h" | 8683 #include "confdefs.h" |
| 8678 #include <termio.h> | 8684 #include <termio.h> |
| 8679 EOF | 8685 EOF |
| 8680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8681 { (eval echo configure:8682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8687 { (eval echo configure:8688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8682 ac_err=`grep -v '^ *+' conftest.out` | 8688 ac_err=`grep -v '^ *+' conftest.out` |
| 8683 if test -z "$ac_err"; then | 8689 if test -z "$ac_err"; then |
| 8684 rm -rf conftest* | 8690 rm -rf conftest* |
| 8685 eval "ac_cv_header_$ac_safe=yes" | 8691 eval "ac_cv_header_$ac_safe=yes" |
| 8686 else | 8692 else |
| 8708 fi | 8714 fi |
| 8709 | 8715 |
| 8710 | 8716 |
| 8711 | 8717 |
| 8712 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8718 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8713 echo "configure:8714: checking for socket" >&5 | 8719 echo "configure:8720: checking for socket" >&5 |
| 8714 | 8720 |
| 8715 cat > conftest.$ac_ext <<EOF | 8721 cat > conftest.$ac_ext <<EOF |
| 8716 #line 8717 "configure" | 8722 #line 8723 "configure" |
| 8717 #include "confdefs.h" | 8723 #include "confdefs.h" |
| 8718 /* System header to define __stub macros and hopefully few prototypes, | 8724 /* System header to define __stub macros and hopefully few prototypes, |
| 8719 which can conflict with char socket(); below. */ | 8725 which can conflict with char socket(); below. */ |
| 8720 #include <assert.h> | 8726 #include <assert.h> |
| 8721 /* Override any gcc2 internal prototype to avoid an error. */ | 8727 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8734 socket(); | 8740 socket(); |
| 8735 #endif | 8741 #endif |
| 8736 | 8742 |
| 8737 ; return 0; } | 8743 ; return 0; } |
| 8738 EOF | 8744 EOF |
| 8739 if { (eval echo configure:8740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8740 rm -rf conftest* | 8746 rm -rf conftest* |
| 8741 eval "ac_cv_func_socket=yes" | 8747 eval "ac_cv_func_socket=yes" |
| 8742 else | 8748 else |
| 8743 echo "configure: failed program was:" >&5 | 8749 echo "configure: failed program was:" >&5 |
| 8744 cat conftest.$ac_ext >&5 | 8750 cat conftest.$ac_ext >&5 |
| 8749 | 8755 |
| 8750 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8756 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8751 echo "$ac_t""yes" 1>&6 | 8757 echo "$ac_t""yes" 1>&6 |
| 8752 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8758 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8753 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8759 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8754 echo "configure:8755: checking for netinet/in.h" >&5 | 8760 echo "configure:8761: checking for netinet/in.h" >&5 |
| 8755 | 8761 |
| 8756 cat > conftest.$ac_ext <<EOF | 8762 cat > conftest.$ac_ext <<EOF |
| 8757 #line 8758 "configure" | 8763 #line 8764 "configure" |
| 8758 #include "confdefs.h" | 8764 #include "confdefs.h" |
| 8759 #include <netinet/in.h> | 8765 #include <netinet/in.h> |
| 8760 EOF | 8766 EOF |
| 8761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8762 { (eval echo configure:8763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8768 { (eval echo configure:8769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8763 ac_err=`grep -v '^ *+' conftest.out` | 8769 ac_err=`grep -v '^ *+' conftest.out` |
| 8764 if test -z "$ac_err"; then | 8770 if test -z "$ac_err"; then |
| 8765 rm -rf conftest* | 8771 rm -rf conftest* |
| 8766 eval "ac_cv_header_$ac_safe=yes" | 8772 eval "ac_cv_header_$ac_safe=yes" |
| 8767 else | 8773 else |
| 8774 rm -f conftest* | 8780 rm -f conftest* |
| 8775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8776 echo "$ac_t""yes" 1>&6 | 8782 echo "$ac_t""yes" 1>&6 |
| 8777 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8783 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8778 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8784 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8779 echo "configure:8780: checking for arpa/inet.h" >&5 | 8785 echo "configure:8786: checking for arpa/inet.h" >&5 |
| 8780 | 8786 |
| 8781 cat > conftest.$ac_ext <<EOF | 8787 cat > conftest.$ac_ext <<EOF |
| 8782 #line 8783 "configure" | 8788 #line 8789 "configure" |
| 8783 #include "confdefs.h" | 8789 #include "confdefs.h" |
| 8784 #include <arpa/inet.h> | 8790 #include <arpa/inet.h> |
| 8785 EOF | 8791 EOF |
| 8786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8787 { (eval echo configure:8788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8793 { (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8788 ac_err=`grep -v '^ *+' conftest.out` | 8794 ac_err=`grep -v '^ *+' conftest.out` |
| 8789 if test -z "$ac_err"; then | 8795 if test -z "$ac_err"; then |
| 8790 rm -rf conftest* | 8796 rm -rf conftest* |
| 8791 eval "ac_cv_header_$ac_safe=yes" | 8797 eval "ac_cv_header_$ac_safe=yes" |
| 8792 else | 8798 else |
| 8807 #define HAVE_SOCKETS 1 | 8813 #define HAVE_SOCKETS 1 |
| 8808 EOF | 8814 EOF |
| 8809 } | 8815 } |
| 8810 | 8816 |
| 8811 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8817 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8812 echo "configure:8813: checking "for sun_len member in struct sockaddr_un"" >&5 | 8818 echo "configure:8819: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8813 cat > conftest.$ac_ext <<EOF | 8819 cat > conftest.$ac_ext <<EOF |
| 8814 #line 8815 "configure" | 8820 #line 8821 "configure" |
| 8815 #include "confdefs.h" | 8821 #include "confdefs.h" |
| 8816 | 8822 |
| 8817 #include <sys/types.h> | 8823 #include <sys/types.h> |
| 8818 #include <sys/socket.h> | 8824 #include <sys/socket.h> |
| 8819 #include <sys/un.h> | 8825 #include <sys/un.h> |
| 8820 | 8826 |
| 8821 int main() { | 8827 int main() { |
| 8822 static struct sockaddr_un x; x.sun_len = 1; | 8828 static struct sockaddr_un x; x.sun_len = 1; |
| 8823 ; return 0; } | 8829 ; return 0; } |
| 8824 EOF | 8830 EOF |
| 8825 if { (eval echo configure:8826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8831 if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8826 rm -rf conftest* | 8832 rm -rf conftest* |
| 8827 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8833 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8828 Defining HAVE_SOCKADDR_SUN_LEN | 8834 Defining HAVE_SOCKADDR_SUN_LEN |
| 8829 EOF | 8835 EOF |
| 8830 cat >> confdefs.h <<\EOF | 8836 cat >> confdefs.h <<\EOF |
| 8838 rm -rf conftest* | 8844 rm -rf conftest* |
| 8839 echo "$ac_t""no" 1>&6 | 8845 echo "$ac_t""no" 1>&6 |
| 8840 fi | 8846 fi |
| 8841 rm -f conftest* | 8847 rm -f conftest* |
| 8842 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 8848 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 8843 echo "configure:8844: checking "for ip_mreq struct in netinet/in.h"" >&5 | 8849 echo "configure:8850: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 8844 cat > conftest.$ac_ext <<EOF | 8850 cat > conftest.$ac_ext <<EOF |
| 8845 #line 8846 "configure" | 8851 #line 8852 "configure" |
| 8846 #include "confdefs.h" | 8852 #include "confdefs.h" |
| 8847 | 8853 |
| 8848 #include <netinet/in.h> | 8854 #include <netinet/in.h> |
| 8849 | 8855 |
| 8850 int main() { | 8856 int main() { |
| 8851 static struct ip_mreq x; | 8857 static struct ip_mreq x; |
| 8852 ; return 0; } | 8858 ; return 0; } |
| 8853 EOF | 8859 EOF |
| 8854 if { (eval echo configure:8855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8855 rm -rf conftest* | 8861 rm -rf conftest* |
| 8856 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8862 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8857 Defining HAVE_MULTICAST | 8863 Defining HAVE_MULTICAST |
| 8858 EOF | 8864 EOF |
| 8859 cat >> confdefs.h <<\EOF | 8865 cat >> confdefs.h <<\EOF |
| 8880 echo "$ac_t""no" 1>&6 | 8886 echo "$ac_t""no" 1>&6 |
| 8881 fi | 8887 fi |
| 8882 | 8888 |
| 8883 | 8889 |
| 8884 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8890 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8885 echo "configure:8886: checking for msgget" >&5 | 8891 echo "configure:8892: checking for msgget" >&5 |
| 8886 | 8892 |
| 8887 cat > conftest.$ac_ext <<EOF | 8893 cat > conftest.$ac_ext <<EOF |
| 8888 #line 8889 "configure" | 8894 #line 8895 "configure" |
| 8889 #include "confdefs.h" | 8895 #include "confdefs.h" |
| 8890 /* System header to define __stub macros and hopefully few prototypes, | 8896 /* System header to define __stub macros and hopefully few prototypes, |
| 8891 which can conflict with char msgget(); below. */ | 8897 which can conflict with char msgget(); below. */ |
| 8892 #include <assert.h> | 8898 #include <assert.h> |
| 8893 /* Override any gcc2 internal prototype to avoid an error. */ | 8899 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8906 msgget(); | 8912 msgget(); |
| 8907 #endif | 8913 #endif |
| 8908 | 8914 |
| 8909 ; return 0; } | 8915 ; return 0; } |
| 8910 EOF | 8916 EOF |
| 8911 if { (eval echo configure:8912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8917 if { (eval echo configure:8918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8912 rm -rf conftest* | 8918 rm -rf conftest* |
| 8913 eval "ac_cv_func_msgget=yes" | 8919 eval "ac_cv_func_msgget=yes" |
| 8914 else | 8920 else |
| 8915 echo "configure: failed program was:" >&5 | 8921 echo "configure: failed program was:" >&5 |
| 8916 cat conftest.$ac_ext >&5 | 8922 cat conftest.$ac_ext >&5 |
| 8921 | 8927 |
| 8922 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8928 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8923 echo "$ac_t""yes" 1>&6 | 8929 echo "$ac_t""yes" 1>&6 |
| 8924 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8930 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8925 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8931 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8926 echo "configure:8927: checking for sys/ipc.h" >&5 | 8932 echo "configure:8933: checking for sys/ipc.h" >&5 |
| 8927 | 8933 |
| 8928 cat > conftest.$ac_ext <<EOF | 8934 cat > conftest.$ac_ext <<EOF |
| 8929 #line 8930 "configure" | 8935 #line 8936 "configure" |
| 8930 #include "confdefs.h" | 8936 #include "confdefs.h" |
| 8931 #include <sys/ipc.h> | 8937 #include <sys/ipc.h> |
| 8932 EOF | 8938 EOF |
| 8933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8934 { (eval echo configure:8935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8940 { (eval echo configure:8941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8935 ac_err=`grep -v '^ *+' conftest.out` | 8941 ac_err=`grep -v '^ *+' conftest.out` |
| 8936 if test -z "$ac_err"; then | 8942 if test -z "$ac_err"; then |
| 8937 rm -rf conftest* | 8943 rm -rf conftest* |
| 8938 eval "ac_cv_header_$ac_safe=yes" | 8944 eval "ac_cv_header_$ac_safe=yes" |
| 8939 else | 8945 else |
| 8946 rm -f conftest* | 8952 rm -f conftest* |
| 8947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8953 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8948 echo "$ac_t""yes" 1>&6 | 8954 echo "$ac_t""yes" 1>&6 |
| 8949 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8955 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8950 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8956 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8951 echo "configure:8952: checking for sys/msg.h" >&5 | 8957 echo "configure:8958: checking for sys/msg.h" >&5 |
| 8952 | 8958 |
| 8953 cat > conftest.$ac_ext <<EOF | 8959 cat > conftest.$ac_ext <<EOF |
| 8954 #line 8955 "configure" | 8960 #line 8961 "configure" |
| 8955 #include "confdefs.h" | 8961 #include "confdefs.h" |
| 8956 #include <sys/msg.h> | 8962 #include <sys/msg.h> |
| 8957 EOF | 8963 EOF |
| 8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8965 { (eval echo configure:8966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8960 ac_err=`grep -v '^ *+' conftest.out` | 8966 ac_err=`grep -v '^ *+' conftest.out` |
| 8961 if test -z "$ac_err"; then | 8967 if test -z "$ac_err"; then |
| 8962 rm -rf conftest* | 8968 rm -rf conftest* |
| 8963 eval "ac_cv_header_$ac_safe=yes" | 8969 eval "ac_cv_header_$ac_safe=yes" |
| 8964 else | 8970 else |
| 8992 fi | 8998 fi |
| 8993 | 8999 |
| 8994 | 9000 |
| 8995 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9001 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8996 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9002 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8997 echo "configure:8998: checking for dirent.h" >&5 | 9003 echo "configure:9004: checking for dirent.h" >&5 |
| 8998 | 9004 |
| 8999 cat > conftest.$ac_ext <<EOF | 9005 cat > conftest.$ac_ext <<EOF |
| 9000 #line 9001 "configure" | 9006 #line 9007 "configure" |
| 9001 #include "confdefs.h" | 9007 #include "confdefs.h" |
| 9002 #include <dirent.h> | 9008 #include <dirent.h> |
| 9003 EOF | 9009 EOF |
| 9004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9005 { (eval echo configure:9006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9011 { (eval echo configure:9012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9006 ac_err=`grep -v '^ *+' conftest.out` | 9012 ac_err=`grep -v '^ *+' conftest.out` |
| 9007 if test -z "$ac_err"; then | 9013 if test -z "$ac_err"; then |
| 9008 rm -rf conftest* | 9014 rm -rf conftest* |
| 9009 eval "ac_cv_header_$ac_safe=yes" | 9015 eval "ac_cv_header_$ac_safe=yes" |
| 9010 else | 9016 else |
| 9027 | 9033 |
| 9028 else | 9034 else |
| 9029 echo "$ac_t""no" 1>&6 | 9035 echo "$ac_t""no" 1>&6 |
| 9030 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9036 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 9031 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9037 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 9032 echo "configure:9033: checking for sys/dir.h" >&5 | 9038 echo "configure:9039: checking for sys/dir.h" >&5 |
| 9033 | 9039 |
| 9034 cat > conftest.$ac_ext <<EOF | 9040 cat > conftest.$ac_ext <<EOF |
| 9035 #line 9036 "configure" | 9041 #line 9042 "configure" |
| 9036 #include "confdefs.h" | 9042 #include "confdefs.h" |
| 9037 #include <sys/dir.h> | 9043 #include <sys/dir.h> |
| 9038 EOF | 9044 EOF |
| 9039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9040 { (eval echo configure:9041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9046 { (eval echo configure:9047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9041 ac_err=`grep -v '^ *+' conftest.out` | 9047 ac_err=`grep -v '^ *+' conftest.out` |
| 9042 if test -z "$ac_err"; then | 9048 if test -z "$ac_err"; then |
| 9043 rm -rf conftest* | 9049 rm -rf conftest* |
| 9044 eval "ac_cv_header_$ac_safe=yes" | 9050 eval "ac_cv_header_$ac_safe=yes" |
| 9045 else | 9051 else |
| 9068 fi | 9074 fi |
| 9069 | 9075 |
| 9070 | 9076 |
| 9071 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9077 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 9072 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9078 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 9073 echo "configure:9074: checking for nlist.h" >&5 | 9079 echo "configure:9080: checking for nlist.h" >&5 |
| 9074 | 9080 |
| 9075 cat > conftest.$ac_ext <<EOF | 9081 cat > conftest.$ac_ext <<EOF |
| 9076 #line 9077 "configure" | 9082 #line 9083 "configure" |
| 9077 #include "confdefs.h" | 9083 #include "confdefs.h" |
| 9078 #include <nlist.h> | 9084 #include <nlist.h> |
| 9079 EOF | 9085 EOF |
| 9080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9081 { (eval echo configure:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9087 { (eval echo configure:9088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9082 ac_err=`grep -v '^ *+' conftest.out` | 9088 ac_err=`grep -v '^ *+' conftest.out` |
| 9083 if test -z "$ac_err"; then | 9089 if test -z "$ac_err"; then |
| 9084 rm -rf conftest* | 9090 rm -rf conftest* |
| 9085 eval "ac_cv_header_$ac_safe=yes" | 9091 eval "ac_cv_header_$ac_safe=yes" |
| 9086 else | 9092 else |
| 9106 fi | 9112 fi |
| 9107 | 9113 |
| 9108 | 9114 |
| 9109 | 9115 |
| 9110 echo "checking "for sound support"" 1>&6 | 9116 echo "checking "for sound support"" 1>&6 |
| 9111 echo "configure:9112: checking "for sound support"" >&5 | 9117 echo "configure:9118: checking "for sound support"" >&5 |
| 9112 case "$with_sound" in | 9118 case "$with_sound" in |
| 9113 native | both ) with_native_sound=yes;; | 9119 native | both ) with_native_sound=yes;; |
| 9114 nas | no ) with_native_sound=no;; | 9120 nas | no ) with_native_sound=no;; |
| 9115 esac | 9121 esac |
| 9116 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9122 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 9117 | 9123 |
| 9118 if test "$with_native_sound" != "no"; then | 9124 if test "$with_native_sound" != "no"; then |
| 9119 if test -n "$native_sound_lib"; then | 9125 if test -n "$native_sound_lib"; then |
| 9120 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9126 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 9121 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9127 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 9122 echo "configure:9123: checking for multimedia/audio_device.h" >&5 | 9128 echo "configure:9129: checking for multimedia/audio_device.h" >&5 |
| 9123 | 9129 |
| 9124 cat > conftest.$ac_ext <<EOF | 9130 cat > conftest.$ac_ext <<EOF |
| 9125 #line 9126 "configure" | 9131 #line 9132 "configure" |
| 9126 #include "confdefs.h" | 9132 #include "confdefs.h" |
| 9127 #include <multimedia/audio_device.h> | 9133 #include <multimedia/audio_device.h> |
| 9128 EOF | 9134 EOF |
| 9129 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9130 { (eval echo configure:9131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9136 { (eval echo configure:9137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9131 ac_err=`grep -v '^ *+' conftest.out` | 9137 ac_err=`grep -v '^ *+' conftest.out` |
| 9132 if test -z "$ac_err"; then | 9138 if test -z "$ac_err"; then |
| 9133 rm -rf conftest* | 9139 rm -rf conftest* |
| 9134 eval "ac_cv_header_$ac_safe=yes" | 9140 eval "ac_cv_header_$ac_safe=yes" |
| 9135 else | 9141 else |
| 9173 case "$canonical" in | 9179 case "$canonical" in |
| 9174 *-sgi-* ) | 9180 *-sgi-* ) |
| 9175 if test -z "$native_sound_lib"; then | 9181 if test -z "$native_sound_lib"; then |
| 9176 | 9182 |
| 9177 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9183 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 9178 echo "configure:9179: checking for ALopenport in -laudio" >&5 | 9184 echo "configure:9185: checking for ALopenport in -laudio" >&5 |
| 9179 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9185 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 9180 | 9186 |
| 9181 xe_check_libs=" -laudio " | 9187 xe_check_libs=" -laudio " |
| 9182 cat > conftest.$ac_ext <<EOF | 9188 cat > conftest.$ac_ext <<EOF |
| 9183 #line 9184 "configure" | 9189 #line 9190 "configure" |
| 9184 #include "confdefs.h" | 9190 #include "confdefs.h" |
| 9185 /* Override any gcc2 internal prototype to avoid an error. */ | 9191 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9186 /* We use char because int might match the return type of a gcc2 | 9192 /* We use char because int might match the return type of a gcc2 |
| 9187 builtin and then its argument prototype would still apply. */ | 9193 builtin and then its argument prototype would still apply. */ |
| 9188 char ALopenport(); | 9194 char ALopenport(); |
| 9189 | 9195 |
| 9190 int main() { | 9196 int main() { |
| 9191 ALopenport() | 9197 ALopenport() |
| 9192 ; return 0; } | 9198 ; return 0; } |
| 9193 EOF | 9199 EOF |
| 9194 if { (eval echo configure:9195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9200 if { (eval echo configure:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9195 rm -rf conftest* | 9201 rm -rf conftest* |
| 9196 eval "ac_cv_lib_$ac_lib_var=yes" | 9202 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9197 else | 9203 else |
| 9198 echo "configure: failed program was:" >&5 | 9204 echo "configure: failed program was:" >&5 |
| 9199 cat conftest.$ac_ext >&5 | 9205 cat conftest.$ac_ext >&5 |
| 9220 fi ;; | 9226 fi ;; |
| 9221 hppa*-hp-hpux* ) | 9227 hppa*-hp-hpux* ) |
| 9222 if test -z "$native_sound_lib"; then | 9228 if test -z "$native_sound_lib"; then |
| 9223 | 9229 |
| 9224 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9230 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 9225 echo "configure:9226: checking for AOpenAudio in -lAlib" >&5 | 9231 echo "configure:9232: checking for AOpenAudio in -lAlib" >&5 |
| 9226 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9232 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 9227 | 9233 |
| 9228 xe_check_libs=" -lAlib " | 9234 xe_check_libs=" -lAlib " |
| 9229 cat > conftest.$ac_ext <<EOF | 9235 cat > conftest.$ac_ext <<EOF |
| 9230 #line 9231 "configure" | 9236 #line 9237 "configure" |
| 9231 #include "confdefs.h" | 9237 #include "confdefs.h" |
| 9232 /* Override any gcc2 internal prototype to avoid an error. */ | 9238 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9233 /* We use char because int might match the return type of a gcc2 | 9239 /* We use char because int might match the return type of a gcc2 |
| 9234 builtin and then its argument prototype would still apply. */ | 9240 builtin and then its argument prototype would still apply. */ |
| 9235 char AOpenAudio(); | 9241 char AOpenAudio(); |
| 9236 | 9242 |
| 9237 int main() { | 9243 int main() { |
| 9238 AOpenAudio() | 9244 AOpenAudio() |
| 9239 ; return 0; } | 9245 ; return 0; } |
| 9240 EOF | 9246 EOF |
| 9241 if { (eval echo configure:9242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9247 if { (eval echo configure:9248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9242 rm -rf conftest* | 9248 rm -rf conftest* |
| 9243 eval "ac_cv_lib_$ac_lib_var=yes" | 9249 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9244 else | 9250 else |
| 9245 echo "configure: failed program was:" >&5 | 9251 echo "configure: failed program was:" >&5 |
| 9246 cat conftest.$ac_ext >&5 | 9252 cat conftest.$ac_ext >&5 |
| 9274 | 9280 |
| 9275 if test -z "$sound_found"; then | 9281 if test -z "$sound_found"; then |
| 9276 for dir in "machine" "sys" "linux"; do | 9282 for dir in "machine" "sys" "linux"; do |
| 9277 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9283 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9278 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9284 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9279 echo "configure:9280: checking for ${dir}/soundcard.h" >&5 | 9285 echo "configure:9286: checking for ${dir}/soundcard.h" >&5 |
| 9280 | 9286 |
| 9281 cat > conftest.$ac_ext <<EOF | 9287 cat > conftest.$ac_ext <<EOF |
| 9282 #line 9283 "configure" | 9288 #line 9289 "configure" |
| 9283 #include "confdefs.h" | 9289 #include "confdefs.h" |
| 9284 #include <${dir}/soundcard.h> | 9290 #include <${dir}/soundcard.h> |
| 9285 EOF | 9291 EOF |
| 9286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9287 { (eval echo configure:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9293 { (eval echo configure:9294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9288 ac_err=`grep -v '^ *+' conftest.out` | 9294 ac_err=`grep -v '^ *+' conftest.out` |
| 9289 if test -z "$ac_err"; then | 9295 if test -z "$ac_err"; then |
| 9290 rm -rf conftest* | 9296 rm -rf conftest* |
| 9291 eval "ac_cv_header_$ac_safe=yes" | 9297 eval "ac_cv_header_$ac_safe=yes" |
| 9292 else | 9298 else |
| 9352 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9358 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9353 echo " xemacs will be linked with \"nas.o\"" | 9359 echo " xemacs will be linked with \"nas.o\"" |
| 9354 fi | 9360 fi |
| 9355 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9361 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9356 cat > conftest.$ac_ext <<EOF | 9362 cat > conftest.$ac_ext <<EOF |
| 9357 #line 9358 "configure" | 9363 #line 9364 "configure" |
| 9358 #include "confdefs.h" | 9364 #include "confdefs.h" |
| 9359 #include <audio/Xtutil.h> | 9365 #include <audio/Xtutil.h> |
| 9360 EOF | 9366 EOF |
| 9361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9362 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9368 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9379 | 9385 |
| 9380 test -z "$with_tty" && with_tty=yes | 9386 test -z "$with_tty" && with_tty=yes |
| 9381 | 9387 |
| 9382 if test "$with_tty" = "yes" ; then | 9388 if test "$with_tty" = "yes" ; then |
| 9383 echo "checking for TTY-related features" 1>&6 | 9389 echo "checking for TTY-related features" 1>&6 |
| 9384 echo "configure:9385: checking for TTY-related features" >&5 | 9390 echo "configure:9391: checking for TTY-related features" >&5 |
| 9385 { test "$extra_verbose" = "yes" && cat << \EOF | 9391 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9386 Defining HAVE_TTY | 9392 Defining HAVE_TTY |
| 9387 EOF | 9393 EOF |
| 9388 cat >> confdefs.h <<\EOF | 9394 cat >> confdefs.h <<\EOF |
| 9389 #define HAVE_TTY 1 | 9395 #define HAVE_TTY 1 |
| 9395 fi | 9401 fi |
| 9396 | 9402 |
| 9397 if test -z "$with_ncurses"; then | 9403 if test -z "$with_ncurses"; then |
| 9398 | 9404 |
| 9399 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9405 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9400 echo "configure:9401: checking for tgetent in -lncurses" >&5 | 9406 echo "configure:9407: checking for tgetent in -lncurses" >&5 |
| 9401 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9407 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9402 | 9408 |
| 9403 xe_check_libs=" -lncurses " | 9409 xe_check_libs=" -lncurses " |
| 9404 cat > conftest.$ac_ext <<EOF | 9410 cat > conftest.$ac_ext <<EOF |
| 9405 #line 9406 "configure" | 9411 #line 9412 "configure" |
| 9406 #include "confdefs.h" | 9412 #include "confdefs.h" |
| 9407 /* Override any gcc2 internal prototype to avoid an error. */ | 9413 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9408 /* We use char because int might match the return type of a gcc2 | 9414 /* We use char because int might match the return type of a gcc2 |
| 9409 builtin and then its argument prototype would still apply. */ | 9415 builtin and then its argument prototype would still apply. */ |
| 9410 char tgetent(); | 9416 char tgetent(); |
| 9411 | 9417 |
| 9412 int main() { | 9418 int main() { |
| 9413 tgetent() | 9419 tgetent() |
| 9414 ; return 0; } | 9420 ; return 0; } |
| 9415 EOF | 9421 EOF |
| 9416 if { (eval echo configure:9417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9422 if { (eval echo configure:9423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9417 rm -rf conftest* | 9423 rm -rf conftest* |
| 9418 eval "ac_cv_lib_$ac_lib_var=yes" | 9424 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9419 else | 9425 else |
| 9420 echo "configure: failed program was:" >&5 | 9426 echo "configure: failed program was:" >&5 |
| 9421 cat conftest.$ac_ext >&5 | 9427 cat conftest.$ac_ext >&5 |
| 9444 EOF | 9450 EOF |
| 9445 } | 9451 } |
| 9446 | 9452 |
| 9447 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9453 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9448 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9454 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9449 echo "configure:9450: checking for ncurses/curses.h" >&5 | 9455 echo "configure:9456: checking for ncurses/curses.h" >&5 |
| 9450 | 9456 |
| 9451 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
| 9452 #line 9453 "configure" | 9458 #line 9459 "configure" |
| 9453 #include "confdefs.h" | 9459 #include "confdefs.h" |
| 9454 #include <ncurses/curses.h> | 9460 #include <ncurses/curses.h> |
| 9455 EOF | 9461 EOF |
| 9456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9457 { (eval echo configure:9458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9463 { (eval echo configure:9464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9458 ac_err=`grep -v '^ *+' conftest.out` | 9464 ac_err=`grep -v '^ *+' conftest.out` |
| 9459 if test -z "$ac_err"; then | 9465 if test -z "$ac_err"; then |
| 9460 rm -rf conftest* | 9466 rm -rf conftest* |
| 9461 eval "ac_cv_header_$ac_safe=yes" | 9467 eval "ac_cv_header_$ac_safe=yes" |
| 9462 else | 9468 else |
| 9474 echo "$ac_t""no" 1>&6 | 9480 echo "$ac_t""no" 1>&6 |
| 9475 fi | 9481 fi |
| 9476 | 9482 |
| 9477 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9483 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9478 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9484 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9479 echo "configure:9480: checking for ncurses/term.h" >&5 | 9485 echo "configure:9486: checking for ncurses/term.h" >&5 |
| 9480 | 9486 |
| 9481 cat > conftest.$ac_ext <<EOF | 9487 cat > conftest.$ac_ext <<EOF |
| 9482 #line 9483 "configure" | 9488 #line 9489 "configure" |
| 9483 #include "confdefs.h" | 9489 #include "confdefs.h" |
| 9484 #include <ncurses/term.h> | 9490 #include <ncurses/term.h> |
| 9485 EOF | 9491 EOF |
| 9486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9487 { (eval echo configure:9488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9493 { (eval echo configure:9494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9488 ac_err=`grep -v '^ *+' conftest.out` | 9494 ac_err=`grep -v '^ *+' conftest.out` |
| 9489 if test -z "$ac_err"; then | 9495 if test -z "$ac_err"; then |
| 9490 rm -rf conftest* | 9496 rm -rf conftest* |
| 9491 eval "ac_cv_header_$ac_safe=yes" | 9497 eval "ac_cv_header_$ac_safe=yes" |
| 9492 else | 9498 else |
| 9512 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9518 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9513 save_c_switch_site="$c_switch_site" | 9519 save_c_switch_site="$c_switch_site" |
| 9514 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9520 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9515 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9521 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9516 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9522 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9517 echo "configure:9518: checking for ncurses/curses.h" >&5 | 9523 echo "configure:9524: checking for ncurses/curses.h" >&5 |
| 9518 | 9524 |
| 9519 cat > conftest.$ac_ext <<EOF | 9525 cat > conftest.$ac_ext <<EOF |
| 9520 #line 9521 "configure" | 9526 #line 9527 "configure" |
| 9521 #include "confdefs.h" | 9527 #include "confdefs.h" |
| 9522 #include <ncurses/curses.h> | 9528 #include <ncurses/curses.h> |
| 9523 EOF | 9529 EOF |
| 9524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9525 { (eval echo configure:9526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9531 { (eval echo configure:9532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9526 ac_err=`grep -v '^ *+' conftest.out` | 9532 ac_err=`grep -v '^ *+' conftest.out` |
| 9527 if test -z "$ac_err"; then | 9533 if test -z "$ac_err"; then |
| 9528 rm -rf conftest* | 9534 rm -rf conftest* |
| 9529 eval "ac_cv_header_$ac_safe=yes" | 9535 eval "ac_cv_header_$ac_safe=yes" |
| 9530 else | 9536 else |
| 9555 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9561 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9556 else | 9562 else |
| 9557 for lib in curses termlib termcap; do | 9563 for lib in curses termlib termcap; do |
| 9558 | 9564 |
| 9559 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9565 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9560 echo "configure:9561: checking for tgetent in -l$lib" >&5 | 9566 echo "configure:9567: checking for tgetent in -l$lib" >&5 |
| 9561 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9567 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9562 | 9568 |
| 9563 xe_check_libs=" -l$lib " | 9569 xe_check_libs=" -l$lib " |
| 9564 cat > conftest.$ac_ext <<EOF | 9570 cat > conftest.$ac_ext <<EOF |
| 9565 #line 9566 "configure" | 9571 #line 9572 "configure" |
| 9566 #include "confdefs.h" | 9572 #include "confdefs.h" |
| 9567 /* Override any gcc2 internal prototype to avoid an error. */ | 9573 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9568 /* We use char because int might match the return type of a gcc2 | 9574 /* We use char because int might match the return type of a gcc2 |
| 9569 builtin and then its argument prototype would still apply. */ | 9575 builtin and then its argument prototype would still apply. */ |
| 9570 char tgetent(); | 9576 char tgetent(); |
| 9571 | 9577 |
| 9572 int main() { | 9578 int main() { |
| 9573 tgetent() | 9579 tgetent() |
| 9574 ; return 0; } | 9580 ; return 0; } |
| 9575 EOF | 9581 EOF |
| 9576 if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9582 if { (eval echo configure:9583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9577 rm -rf conftest* | 9583 rm -rf conftest* |
| 9578 eval "ac_cv_lib_$ac_lib_var=yes" | 9584 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9579 else | 9585 else |
| 9580 echo "configure: failed program was:" >&5 | 9586 echo "configure: failed program was:" >&5 |
| 9581 cat conftest.$ac_ext >&5 | 9587 cat conftest.$ac_ext >&5 |
| 9602 if test -n "$libs_termcap"; then | 9608 if test -n "$libs_termcap"; then |
| 9603 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9609 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9604 else | 9610 else |
| 9605 | 9611 |
| 9606 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9612 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9607 echo "configure:9608: checking for tgetent in -lcurses" >&5 | 9613 echo "configure:9614: checking for tgetent in -lcurses" >&5 |
| 9608 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9614 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9609 | 9615 |
| 9610 xe_check_libs=" -lcurses " | 9616 xe_check_libs=" -lcurses " |
| 9611 cat > conftest.$ac_ext <<EOF | 9617 cat > conftest.$ac_ext <<EOF |
| 9612 #line 9613 "configure" | 9618 #line 9619 "configure" |
| 9613 #include "confdefs.h" | 9619 #include "confdefs.h" |
| 9614 /* Override any gcc2 internal prototype to avoid an error. */ | 9620 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9615 /* We use char because int might match the return type of a gcc2 | 9621 /* We use char because int might match the return type of a gcc2 |
| 9616 builtin and then its argument prototype would still apply. */ | 9622 builtin and then its argument prototype would still apply. */ |
| 9617 char tgetent(); | 9623 char tgetent(); |
| 9618 | 9624 |
| 9619 int main() { | 9625 int main() { |
| 9620 tgetent() | 9626 tgetent() |
| 9621 ; return 0; } | 9627 ; return 0; } |
| 9622 EOF | 9628 EOF |
| 9623 if { (eval echo configure:9624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9629 if { (eval echo configure:9630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9624 rm -rf conftest* | 9630 rm -rf conftest* |
| 9625 eval "ac_cv_lib_$ac_lib_var=yes" | 9631 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9626 else | 9632 else |
| 9627 echo "configure: failed program was:" >&5 | 9633 echo "configure: failed program was:" >&5 |
| 9628 cat conftest.$ac_ext >&5 | 9634 cat conftest.$ac_ext >&5 |
| 9636 echo "$ac_t""yes" 1>&6 | 9642 echo "$ac_t""yes" 1>&6 |
| 9637 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9643 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9638 else | 9644 else |
| 9639 echo "$ac_t""no" 1>&6 | 9645 echo "$ac_t""no" 1>&6 |
| 9640 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9646 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9641 echo "configure:9642: checking for tgetent in -ltermcap" >&5 | 9647 echo "configure:9648: checking for tgetent in -ltermcap" >&5 |
| 9642 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9648 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9643 | 9649 |
| 9644 xe_check_libs=" -ltermcap " | 9650 xe_check_libs=" -ltermcap " |
| 9645 cat > conftest.$ac_ext <<EOF | 9651 cat > conftest.$ac_ext <<EOF |
| 9646 #line 9647 "configure" | 9652 #line 9653 "configure" |
| 9647 #include "confdefs.h" | 9653 #include "confdefs.h" |
| 9648 /* Override any gcc2 internal prototype to avoid an error. */ | 9654 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9649 /* We use char because int might match the return type of a gcc2 | 9655 /* We use char because int might match the return type of a gcc2 |
| 9650 builtin and then its argument prototype would still apply. */ | 9656 builtin and then its argument prototype would still apply. */ |
| 9651 char tgetent(); | 9657 char tgetent(); |
| 9652 | 9658 |
| 9653 int main() { | 9659 int main() { |
| 9654 tgetent() | 9660 tgetent() |
| 9655 ; return 0; } | 9661 ; return 0; } |
| 9656 EOF | 9662 EOF |
| 9657 if { (eval echo configure:9658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9663 if { (eval echo configure:9664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9658 rm -rf conftest* | 9664 rm -rf conftest* |
| 9659 eval "ac_cv_lib_$ac_lib_var=yes" | 9665 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9660 else | 9666 else |
| 9661 echo "configure: failed program was:" >&5 | 9667 echo "configure: failed program was:" >&5 |
| 9662 cat conftest.$ac_ext >&5 | 9668 cat conftest.$ac_ext >&5 |
| 9700 } | 9706 } |
| 9701 | 9707 |
| 9702 | 9708 |
| 9703 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9709 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9704 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9710 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9705 echo "configure:9706: checking for gpm.h" >&5 | 9711 echo "configure:9712: checking for gpm.h" >&5 |
| 9706 | 9712 |
| 9707 cat > conftest.$ac_ext <<EOF | 9713 cat > conftest.$ac_ext <<EOF |
| 9708 #line 9709 "configure" | 9714 #line 9715 "configure" |
| 9709 #include "confdefs.h" | 9715 #include "confdefs.h" |
| 9710 #include <gpm.h> | 9716 #include <gpm.h> |
| 9711 EOF | 9717 EOF |
| 9712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9713 { (eval echo configure:9714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9719 { (eval echo configure:9720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9714 ac_err=`grep -v '^ *+' conftest.out` | 9720 ac_err=`grep -v '^ *+' conftest.out` |
| 9715 if test -z "$ac_err"; then | 9721 if test -z "$ac_err"; then |
| 9716 rm -rf conftest* | 9722 rm -rf conftest* |
| 9717 eval "ac_cv_header_$ac_safe=yes" | 9723 eval "ac_cv_header_$ac_safe=yes" |
| 9718 else | 9724 else |
| 9731 with_gpm=no | 9737 with_gpm=no |
| 9732 fi | 9738 fi |
| 9733 } | 9739 } |
| 9734 test -z "$with_gpm" && { | 9740 test -z "$with_gpm" && { |
| 9735 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9741 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9736 echo "configure:9737: checking for Gpm_Open in -lgpm" >&5 | 9742 echo "configure:9743: checking for Gpm_Open in -lgpm" >&5 |
| 9737 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9743 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9738 | 9744 |
| 9739 xe_check_libs=" -lgpm " | 9745 xe_check_libs=" -lgpm " |
| 9740 cat > conftest.$ac_ext <<EOF | 9746 cat > conftest.$ac_ext <<EOF |
| 9741 #line 9742 "configure" | 9747 #line 9748 "configure" |
| 9742 #include "confdefs.h" | 9748 #include "confdefs.h" |
| 9743 /* Override any gcc2 internal prototype to avoid an error. */ | 9749 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9744 /* We use char because int might match the return type of a gcc2 | 9750 /* We use char because int might match the return type of a gcc2 |
| 9745 builtin and then its argument prototype would still apply. */ | 9751 builtin and then its argument prototype would still apply. */ |
| 9746 char Gpm_Open(); | 9752 char Gpm_Open(); |
| 9747 | 9753 |
| 9748 int main() { | 9754 int main() { |
| 9749 Gpm_Open() | 9755 Gpm_Open() |
| 9750 ; return 0; } | 9756 ; return 0; } |
| 9751 EOF | 9757 EOF |
| 9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9753 rm -rf conftest* | 9759 rm -rf conftest* |
| 9754 eval "ac_cv_lib_$ac_lib_var=yes" | 9760 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9755 else | 9761 else |
| 9756 echo "configure: failed program was:" >&5 | 9762 echo "configure: failed program was:" >&5 |
| 9757 cat conftest.$ac_ext >&5 | 9763 cat conftest.$ac_ext >&5 |
| 9796 echo " xemacs will be linked with \"event-unixoid.o\"" | 9802 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9797 fi | 9803 fi |
| 9798 | 9804 |
| 9799 | 9805 |
| 9800 echo "checking for database support" 1>&6 | 9806 echo "checking for database support" 1>&6 |
| 9801 echo "configure:9802: checking for database support" >&5 | 9807 echo "configure:9808: checking for database support" >&5 |
| 9802 | 9808 |
| 9803 if test "$with_database_gnudbm" != "no"; then | 9809 if test "$with_database_gnudbm" != "no"; then |
| 9804 | 9810 |
| 9805 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9811 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9806 echo "configure:9807: checking for dbm_open in -lgdbm" >&5 | 9812 echo "configure:9813: checking for dbm_open in -lgdbm" >&5 |
| 9807 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9813 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9808 | 9814 |
| 9809 xe_check_libs=" -lgdbm " | 9815 xe_check_libs=" -lgdbm " |
| 9810 cat > conftest.$ac_ext <<EOF | 9816 cat > conftest.$ac_ext <<EOF |
| 9811 #line 9812 "configure" | 9817 #line 9818 "configure" |
| 9812 #include "confdefs.h" | 9818 #include "confdefs.h" |
| 9813 /* Override any gcc2 internal prototype to avoid an error. */ | 9819 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9814 /* We use char because int might match the return type of a gcc2 | 9820 /* We use char because int might match the return type of a gcc2 |
| 9815 builtin and then its argument prototype would still apply. */ | 9821 builtin and then its argument prototype would still apply. */ |
| 9816 char dbm_open(); | 9822 char dbm_open(); |
| 9817 | 9823 |
| 9818 int main() { | 9824 int main() { |
| 9819 dbm_open() | 9825 dbm_open() |
| 9820 ; return 0; } | 9826 ; return 0; } |
| 9821 EOF | 9827 EOF |
| 9822 if { (eval echo configure:9823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9828 if { (eval echo configure:9829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9823 rm -rf conftest* | 9829 rm -rf conftest* |
| 9824 eval "ac_cv_lib_$ac_lib_var=yes" | 9830 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9825 else | 9831 else |
| 9826 echo "configure: failed program was:" >&5 | 9832 echo "configure: failed program was:" >&5 |
| 9827 cat conftest.$ac_ext >&5 | 9833 cat conftest.$ac_ext >&5 |
| 9839 fi | 9845 fi |
| 9840 | 9846 |
| 9841 | 9847 |
| 9842 if test "$with_database_gnudbm" != "yes"; then | 9848 if test "$with_database_gnudbm" != "yes"; then |
| 9843 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9849 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9844 echo "configure:9845: checking for dbm_open" >&5 | 9850 echo "configure:9851: checking for dbm_open" >&5 |
| 9845 | 9851 |
| 9846 cat > conftest.$ac_ext <<EOF | 9852 cat > conftest.$ac_ext <<EOF |
| 9847 #line 9848 "configure" | 9853 #line 9854 "configure" |
| 9848 #include "confdefs.h" | 9854 #include "confdefs.h" |
| 9849 /* System header to define __stub macros and hopefully few prototypes, | 9855 /* System header to define __stub macros and hopefully few prototypes, |
| 9850 which can conflict with char dbm_open(); below. */ | 9856 which can conflict with char dbm_open(); below. */ |
| 9851 #include <assert.h> | 9857 #include <assert.h> |
| 9852 /* Override any gcc2 internal prototype to avoid an error. */ | 9858 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9865 dbm_open(); | 9871 dbm_open(); |
| 9866 #endif | 9872 #endif |
| 9867 | 9873 |
| 9868 ; return 0; } | 9874 ; return 0; } |
| 9869 EOF | 9875 EOF |
| 9870 if { (eval echo configure:9871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9876 if { (eval echo configure:9877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9871 rm -rf conftest* | 9877 rm -rf conftest* |
| 9872 eval "ac_cv_func_dbm_open=yes" | 9878 eval "ac_cv_func_dbm_open=yes" |
| 9873 else | 9879 else |
| 9874 echo "configure: failed program was:" >&5 | 9880 echo "configure: failed program was:" >&5 |
| 9875 cat conftest.$ac_ext >&5 | 9881 cat conftest.$ac_ext >&5 |
| 9901 fi | 9907 fi |
| 9902 fi | 9908 fi |
| 9903 | 9909 |
| 9904 if test "$with_database_dbm" != "no"; then | 9910 if test "$with_database_dbm" != "no"; then |
| 9905 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9911 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9906 echo "configure:9907: checking for dbm_open" >&5 | 9912 echo "configure:9913: checking for dbm_open" >&5 |
| 9907 | 9913 |
| 9908 cat > conftest.$ac_ext <<EOF | 9914 cat > conftest.$ac_ext <<EOF |
| 9909 #line 9910 "configure" | 9915 #line 9916 "configure" |
| 9910 #include "confdefs.h" | 9916 #include "confdefs.h" |
| 9911 /* System header to define __stub macros and hopefully few prototypes, | 9917 /* System header to define __stub macros and hopefully few prototypes, |
| 9912 which can conflict with char dbm_open(); below. */ | 9918 which can conflict with char dbm_open(); below. */ |
| 9913 #include <assert.h> | 9919 #include <assert.h> |
| 9914 /* Override any gcc2 internal prototype to avoid an error. */ | 9920 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9927 dbm_open(); | 9933 dbm_open(); |
| 9928 #endif | 9934 #endif |
| 9929 | 9935 |
| 9930 ; return 0; } | 9936 ; return 0; } |
| 9931 EOF | 9937 EOF |
| 9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9938 if { (eval echo configure:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9933 rm -rf conftest* | 9939 rm -rf conftest* |
| 9934 eval "ac_cv_func_dbm_open=yes" | 9940 eval "ac_cv_func_dbm_open=yes" |
| 9935 else | 9941 else |
| 9936 echo "configure: failed program was:" >&5 | 9942 echo "configure: failed program was:" >&5 |
| 9937 cat conftest.$ac_ext >&5 | 9943 cat conftest.$ac_ext >&5 |
| 9948 fi | 9954 fi |
| 9949 | 9955 |
| 9950 if test "$need_libdbm" != "no"; then | 9956 if test "$need_libdbm" != "no"; then |
| 9951 | 9957 |
| 9952 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9958 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9953 echo "configure:9954: checking for dbm_open in -ldbm" >&5 | 9959 echo "configure:9960: checking for dbm_open in -ldbm" >&5 |
| 9954 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9960 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9955 | 9961 |
| 9956 xe_check_libs=" -ldbm " | 9962 xe_check_libs=" -ldbm " |
| 9957 cat > conftest.$ac_ext <<EOF | 9963 cat > conftest.$ac_ext <<EOF |
| 9958 #line 9959 "configure" | 9964 #line 9965 "configure" |
| 9959 #include "confdefs.h" | 9965 #include "confdefs.h" |
| 9960 /* Override any gcc2 internal prototype to avoid an error. */ | 9966 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9961 /* We use char because int might match the return type of a gcc2 | 9967 /* We use char because int might match the return type of a gcc2 |
| 9962 builtin and then its argument prototype would still apply. */ | 9968 builtin and then its argument prototype would still apply. */ |
| 9963 char dbm_open(); | 9969 char dbm_open(); |
| 9964 | 9970 |
| 9965 int main() { | 9971 int main() { |
| 9966 dbm_open() | 9972 dbm_open() |
| 9967 ; return 0; } | 9973 ; return 0; } |
| 9968 EOF | 9974 EOF |
| 9969 if { (eval echo configure:9970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9970 rm -rf conftest* | 9976 rm -rf conftest* |
| 9971 eval "ac_cv_lib_$ac_lib_var=yes" | 9977 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9972 else | 9978 else |
| 9973 echo "configure: failed program was:" >&5 | 9979 echo "configure: failed program was:" >&5 |
| 9974 cat conftest.$ac_ext >&5 | 9980 cat conftest.$ac_ext >&5 |
| 10001 fi | 10007 fi |
| 10002 fi | 10008 fi |
| 10003 | 10009 |
| 10004 if test "$with_database_berkdb" != "no"; then | 10010 if test "$with_database_berkdb" != "no"; then |
| 10005 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10011 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 10006 echo "configure:10007: checking for dbopen" >&5 | 10012 echo "configure:10013: checking for dbopen" >&5 |
| 10007 | 10013 |
| 10008 cat > conftest.$ac_ext <<EOF | 10014 cat > conftest.$ac_ext <<EOF |
| 10009 #line 10010 "configure" | 10015 #line 10016 "configure" |
| 10010 #include "confdefs.h" | 10016 #include "confdefs.h" |
| 10011 /* System header to define __stub macros and hopefully few prototypes, | 10017 /* System header to define __stub macros and hopefully few prototypes, |
| 10012 which can conflict with char dbopen(); below. */ | 10018 which can conflict with char dbopen(); below. */ |
| 10013 #include <assert.h> | 10019 #include <assert.h> |
| 10014 /* Override any gcc2 internal prototype to avoid an error. */ | 10020 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10027 dbopen(); | 10033 dbopen(); |
| 10028 #endif | 10034 #endif |
| 10029 | 10035 |
| 10030 ; return 0; } | 10036 ; return 0; } |
| 10031 EOF | 10037 EOF |
| 10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10033 rm -rf conftest* | 10039 rm -rf conftest* |
| 10034 eval "ac_cv_func_dbopen=yes" | 10040 eval "ac_cv_func_dbopen=yes" |
| 10035 else | 10041 else |
| 10036 echo "configure: failed program was:" >&5 | 10042 echo "configure: failed program was:" >&5 |
| 10037 cat conftest.$ac_ext >&5 | 10043 cat conftest.$ac_ext >&5 |
| 10048 fi | 10054 fi |
| 10049 | 10055 |
| 10050 if test "$need_libdb" != "no"; then | 10056 if test "$need_libdb" != "no"; then |
| 10051 | 10057 |
| 10052 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10058 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 10053 echo "configure:10054: checking for dbopen in -ldb" >&5 | 10059 echo "configure:10060: checking for dbopen in -ldb" >&5 |
| 10054 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10060 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 10055 | 10061 |
| 10056 xe_check_libs=" -ldb " | 10062 xe_check_libs=" -ldb " |
| 10057 cat > conftest.$ac_ext <<EOF | 10063 cat > conftest.$ac_ext <<EOF |
| 10058 #line 10059 "configure" | 10064 #line 10065 "configure" |
| 10059 #include "confdefs.h" | 10065 #include "confdefs.h" |
| 10060 /* Override any gcc2 internal prototype to avoid an error. */ | 10066 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10061 /* We use char because int might match the return type of a gcc2 | 10067 /* We use char because int might match the return type of a gcc2 |
| 10062 builtin and then its argument prototype would still apply. */ | 10068 builtin and then its argument prototype would still apply. */ |
| 10063 char dbopen(); | 10069 char dbopen(); |
| 10064 | 10070 |
| 10065 int main() { | 10071 int main() { |
| 10066 dbopen() | 10072 dbopen() |
| 10067 ; return 0; } | 10073 ; return 0; } |
| 10068 EOF | 10074 EOF |
| 10069 if { (eval echo configure:10070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10075 if { (eval echo configure:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10070 rm -rf conftest* | 10076 rm -rf conftest* |
| 10071 eval "ac_cv_lib_$ac_lib_var=yes" | 10077 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10072 else | 10078 else |
| 10073 echo "configure: failed program was:" >&5 | 10079 echo "configure: failed program was:" >&5 |
| 10074 cat conftest.$ac_ext >&5 | 10080 cat conftest.$ac_ext >&5 |
| 10088 | 10094 |
| 10089 fi | 10095 fi |
| 10090 if test "$with_database_berkdb" = "yes"; then | 10096 if test "$with_database_berkdb" = "yes"; then |
| 10091 for path in "db/db.h" "db.h"; do | 10097 for path in "db/db.h" "db.h"; do |
| 10092 cat > conftest.$ac_ext <<EOF | 10098 cat > conftest.$ac_ext <<EOF |
| 10093 #line 10094 "configure" | 10099 #line 10100 "configure" |
| 10094 #include "confdefs.h" | 10100 #include "confdefs.h" |
| 10095 #ifdef HAVE_INTTYPES_H | 10101 #ifdef HAVE_INTTYPES_H |
| 10096 #define __BIT_TYPES_DEFINED__ | 10102 #define __BIT_TYPES_DEFINED__ |
| 10097 #include <inttypes.h> | 10103 #include <inttypes.h> |
| 10098 typedef uint8_t u_int8_t; | 10104 typedef uint8_t u_int8_t; |
| 10106 | 10112 |
| 10107 int main() { | 10113 int main() { |
| 10108 | 10114 |
| 10109 ; return 0; } | 10115 ; return 0; } |
| 10110 EOF | 10116 EOF |
| 10111 if { (eval echo configure:10112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10117 if { (eval echo configure:10118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 10112 rm -rf conftest* | 10118 rm -rf conftest* |
| 10113 db_h_path="$path"; break | 10119 db_h_path="$path"; break |
| 10114 else | 10120 else |
| 10115 echo "configure: failed program was:" >&5 | 10121 echo "configure: failed program was:" >&5 |
| 10116 cat conftest.$ac_ext >&5 | 10122 cat conftest.$ac_ext >&5 |
| 10158 fi | 10164 fi |
| 10159 | 10165 |
| 10160 if test "$with_socks" = "yes"; then | 10166 if test "$with_socks" = "yes"; then |
| 10161 | 10167 |
| 10162 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10168 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 10163 echo "configure:10164: checking for SOCKSinit in -lsocks" >&5 | 10169 echo "configure:10170: checking for SOCKSinit in -lsocks" >&5 |
| 10164 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10170 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 10165 | 10171 |
| 10166 xe_check_libs=" -lsocks " | 10172 xe_check_libs=" -lsocks " |
| 10167 cat > conftest.$ac_ext <<EOF | 10173 cat > conftest.$ac_ext <<EOF |
| 10168 #line 10169 "configure" | 10174 #line 10175 "configure" |
| 10169 #include "confdefs.h" | 10175 #include "confdefs.h" |
| 10170 /* Override any gcc2 internal prototype to avoid an error. */ | 10176 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10171 /* We use char because int might match the return type of a gcc2 | 10177 /* We use char because int might match the return type of a gcc2 |
| 10172 builtin and then its argument prototype would still apply. */ | 10178 builtin and then its argument prototype would still apply. */ |
| 10173 char SOCKSinit(); | 10179 char SOCKSinit(); |
| 10174 | 10180 |
| 10175 int main() { | 10181 int main() { |
| 10176 SOCKSinit() | 10182 SOCKSinit() |
| 10177 ; return 0; } | 10183 ; return 0; } |
| 10178 EOF | 10184 EOF |
| 10179 if { (eval echo configure:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10185 if { (eval echo configure:10186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10180 rm -rf conftest* | 10186 rm -rf conftest* |
| 10181 eval "ac_cv_lib_$ac_lib_var=yes" | 10187 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10182 else | 10188 else |
| 10183 echo "configure: failed program was:" >&5 | 10189 echo "configure: failed program was:" >&5 |
| 10184 cat conftest.$ac_ext >&5 | 10190 cat conftest.$ac_ext >&5 |
| 10226 EOF | 10232 EOF |
| 10227 } | 10233 } |
| 10228 | 10234 |
| 10229 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 10235 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
| 10230 fi | 10236 fi |
| 10237 | |
| 10238 test -z "$with_shlib" && { ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
| 10239 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | |
| 10240 echo "configure:10241: checking for dlfcn.h" >&5 | |
| 10241 | |
| 10242 cat > conftest.$ac_ext <<EOF | |
| 10243 #line 10244 "configure" | |
| 10244 #include "confdefs.h" | |
| 10245 #include <dlfcn.h> | |
| 10246 EOF | |
| 10247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 10248 { (eval echo configure:10249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 10249 ac_err=`grep -v '^ *+' conftest.out` | |
| 10250 if test -z "$ac_err"; then | |
| 10251 rm -rf conftest* | |
| 10252 eval "ac_cv_header_$ac_safe=yes" | |
| 10253 else | |
| 10254 echo "$ac_err" >&5 | |
| 10255 echo "configure: failed program was:" >&5 | |
| 10256 cat conftest.$ac_ext >&5 | |
| 10257 rm -rf conftest* | |
| 10258 eval "ac_cv_header_$ac_safe=no" | |
| 10259 fi | |
| 10260 rm -f conftest* | |
| 10261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 10262 echo "$ac_t""yes" 1>&6 | |
| 10263 : | |
| 10264 else | |
| 10265 echo "$ac_t""no" 1>&6 | |
| 10266 with_shlib=no | |
| 10267 fi | |
| 10268 } | |
| 10269 test -z "$with_shlib" && { | |
| 10270 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | |
| 10271 echo "configure:10272: checking for dlopen in -ldl" >&5 | |
| 10272 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | |
| 10273 | |
| 10274 xe_check_libs=" -ldl " | |
| 10275 cat > conftest.$ac_ext <<EOF | |
| 10276 #line 10277 "configure" | |
| 10277 #include "confdefs.h" | |
| 10278 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 10279 /* We use char because int might match the return type of a gcc2 | |
| 10280 builtin and then its argument prototype would still apply. */ | |
| 10281 char dlopen(); | |
| 10282 | |
| 10283 int main() { | |
| 10284 dlopen() | |
| 10285 ; return 0; } | |
| 10286 EOF | |
| 10287 if { (eval echo configure:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 10288 rm -rf conftest* | |
| 10289 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 10290 else | |
| 10291 echo "configure: failed program was:" >&5 | |
| 10292 cat conftest.$ac_ext >&5 | |
| 10293 rm -rf conftest* | |
| 10294 eval "ac_cv_lib_$ac_lib_var=no" | |
| 10295 fi | |
| 10296 rm -f conftest* | |
| 10297 xe_check_libs="" | |
| 10298 | |
| 10299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 10300 echo "$ac_t""yes" 1>&6 | |
| 10301 : | |
| 10302 else | |
| 10303 echo "$ac_t""no" 1>&6 | |
| 10304 with_shlib=no | |
| 10305 fi | |
| 10306 | |
| 10307 } | |
| 10308 test -z "$with_shlib" && with_shlib=yes | |
| 10309 if test "$with_shlib" = "yes"; then | |
| 10310 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 10311 Defining HAVE_SHLIB | |
| 10312 EOF | |
| 10313 cat >> confdefs.h <<\EOF | |
| 10314 #define HAVE_SHLIB 1 | |
| 10315 EOF | |
| 10316 } | |
| 10317 | |
| 10318 extra_objs="$extra_objs dlopen.o" && if test "$extra_verbose" = "yes"; then | |
| 10319 echo " xemacs will be linked with \"dlopen.o\"" | |
| 10320 fi | |
| 10321 LIBS="-ldl $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldl\" to \$LIBS"; fi | |
| 10322 fi | |
| 10323 | |
| 10324 | |
| 10231 | 10325 |
| 10232 | 10326 |
| 10233 | 10327 |
| 10234 T="" | 10328 T="" |
| 10235 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 10329 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
| 10626 else | 10720 else |
| 10627 echo "uname -a: `uname -a`" | 10721 echo "uname -a: `uname -a`" |
| 10628 fi | 10722 fi |
| 10629 echo "" | 10723 echo "" |
| 10630 echo "$0 $quoted_arguments" | 10724 echo "$0 $quoted_arguments" |
| 10631 ) >> Installation | 10725 ) > Installation |
| 10726 | |
| 10727 xemacs_betaname="" | |
| 10728 test ! -z "${emacs_beta_version}" && xemacs_betaname="-b${emacs_beta_version}" | |
| 10632 | 10729 |
| 10633 ( | 10730 ( |
| 10634 echo " | 10731 echo " |
| 10635 | 10732 |
| 10636 Configured for \`$canonical'. | 10733 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. |
| 10637 | 10734 |
| 10638 Where should the build process find the source code? $srcdir | 10735 Where should the build process find the source code? $srcdir |
| 10639 What installation prefix should install use? $prefix | 10736 What installation prefix should install use? $prefix |
| 10640 Where should XEmacs look for packages? $package_path | 10737 Where should XEmacs look for packages? $package_path |
| 10641 What operating system and machine description files should XEmacs use? | 10738 What operating system and machine description files should XEmacs use? |
| 10733 case "$with_dialogs" in | 10830 case "$with_dialogs" in |
| 10734 motif ) echo " Using Motif dialog boxes." ;; | 10831 motif ) echo " Using Motif dialog boxes." ;; |
| 10735 athena ) echo " Using Athena dialog boxes." ;; | 10832 athena ) echo " Using Athena dialog boxes." ;; |
| 10736 athena3d ) echo " Using Athena-3d dialog boxes." ;; | 10833 athena3d ) echo " Using Athena-3d dialog boxes." ;; |
| 10737 esac | 10834 esac |
| 10835 test "$with_shlib" = "yes" && echo " Compiling in DLL support." | |
| 10738 test "$with_clash_detection" = yes && \ | 10836 test "$with_clash_detection" = yes && \ |
| 10739 echo " Clash detection will use \"$lockdir\" for locking files." | 10837 echo " Clash detection will use \"$lockdir\" for locking files." |
| 10740 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 10838 echo " movemail will use \"$mail_locking\" for locking mail spool files." |
| 10741 test "$with_pop" = yes && echo " Using POP for mail access" | 10839 test "$with_pop" = yes && echo " Using POP for mail access" |
| 10742 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" | 10840 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" |
| 10758 echo " WARNING: Error checking is on by default for XEmacs beta releases." | 10856 echo " WARNING: Error checking is on by default for XEmacs beta releases." |
| 10759 echo " WARNING: ---------------------------------------------------------" | 10857 echo " WARNING: ---------------------------------------------------------" |
| 10760 fi | 10858 fi |
| 10761 echo "" | 10859 echo "" |
| 10762 ) | tee -a Installation | 10860 ) | tee -a Installation |
| 10763 echo "The above configure report is appended to \"Installation\" file." | |
| 10764 echo "" | 10861 echo "" |
| 10862 | |
| 10863 echo '(setq Installation-string "' > Installation.el | |
| 10864 sed 's/"/\\"/g' Installation >> Installation.el | |
| 10865 echo '")' >> Installation.el | |
| 10765 | 10866 |
| 10766 | 10867 |
| 10767 | 10868 |
| 10768 # Remove any trailing slashes in these variables. | 10869 # Remove any trailing slashes in these variables. |
| 10769 test -n "$prefix" && | 10870 test -n "$prefix" && |
