Mercurial > hg > xemacs-beta
comparison configure @ 217:d44af0c54775 r20-4b7
Import from CVS: tag r20-4b7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:08:34 +0200 |
parents | 1f0dabaa0855 |
children | 262b8bb4a523 |
comparison
equal
deleted
inserted
replaced
216:43306a74e31c | 217:d44af0c54775 |
---|---|
239 cflags='UNSPECIFIED' | 239 cflags='UNSPECIFIED' |
240 dynamic='' | 240 dynamic='' |
241 with_x11='' | 241 with_x11='' |
242 rel_alloc='default' | 242 rel_alloc='default' |
243 with_system_malloc='default' | 243 with_system_malloc='default' |
244 energize_version='' | |
245 native_sound_lib='' | 244 native_sound_lib='' |
246 use_assertions="yes" | 245 use_assertions="yes" |
247 with_toolbars="" | 246 with_toolbars="" |
248 with_tty="" | 247 with_tty="" |
249 use_union_type="no" | 248 use_union_type="no" |
316 with_i18n3 | \ | 315 with_i18n3 | \ |
317 with_mule | \ | 316 with_mule | \ |
318 with_canna | \ | 317 with_canna | \ |
319 with_wnn | \ | 318 with_wnn | \ |
320 with_wnn6 | \ | 319 with_wnn6 | \ |
321 with_energize | \ | |
322 with_workshop | \ | 320 with_workshop | \ |
323 with_sparcworks | \ | 321 with_sparcworks | \ |
324 with_tooltalk | \ | 322 with_tooltalk | \ |
325 with_pop | \ | 323 with_pop | \ |
326 with_kerberos | \ | 324 with_kerberos | \ |
575 infopath="$INFOPATH" | 573 infopath="$INFOPATH" |
576 fi | 574 fi |
577 | 575 |
578 eval set x "$quoted_arguments"; shift | 576 eval set x "$quoted_arguments"; shift |
579 | 577 |
580 if test "$with_energize" = "yes" ; then | |
581 with_menubars=lucid with_scrollbars=motif with_dialogs=motif with_tooltalk=yes | |
582 MAKE_SUBDIR="$MAKE_SUBDIR lwlib/energize" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib/energize\" to \$MAKE_SUBDIR"; fi | |
583 fi | |
584 | |
585 test "$extra_verbose" = "yes" && verbose=yes | 578 test "$extra_verbose" = "yes" && verbose=yes |
586 | 579 |
587 case "$site_includes" in *:* ) site_includes="`echo '' $site_includes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 580 case "$site_includes" in *:* ) site_includes="`echo '' $site_includes | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
588 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 581 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
589 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 582 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
643 fi | 636 fi |
644 ;; | 637 ;; |
645 esac | 638 esac |
646 | 639 |
647 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 640 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
648 echo "configure:649: checking whether ln -s works" >&5 | 641 echo "configure:642: checking whether ln -s works" >&5 |
649 | 642 |
650 rm -f conftestdata | 643 rm -f conftestdata |
651 if ln -s X conftestdata 2>/dev/null | 644 if ln -s X conftestdata 2>/dev/null |
652 then | 645 then |
653 rm -f conftestdata | 646 rm -f conftestdata |
820 } | 813 } |
821 | 814 |
822 | 815 |
823 | 816 |
824 echo "checking "the configuration name"" 1>&6 | 817 echo "checking "the configuration name"" 1>&6 |
825 echo "configure:826: checking "the configuration name"" >&5 | 818 echo "configure:819: checking "the configuration name"" >&5 |
826 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 819 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
827 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 820 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
828 exit $? | 821 exit $? |
829 fi | 822 fi |
830 | 823 |
831 | 824 |
1276 xe_save_CFLAGS="$CFLAGS" | 1269 xe_save_CFLAGS="$CFLAGS" |
1277 | 1270 |
1278 # Extract the first word of "gcc", so it can be a program name with args. | 1271 # Extract the first word of "gcc", so it can be a program name with args. |
1279 set dummy gcc; ac_word=$2 | 1272 set dummy gcc; ac_word=$2 |
1280 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1273 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1281 echo "configure:1282: checking for $ac_word" >&5 | 1274 echo "configure:1275: checking for $ac_word" >&5 |
1282 | 1275 |
1283 if test -n "$CC"; then | 1276 if test -n "$CC"; then |
1284 ac_cv_prog_CC="$CC" # Let the user override the test. | 1277 ac_cv_prog_CC="$CC" # Let the user override the test. |
1285 else | 1278 else |
1286 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1279 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1302 | 1295 |
1303 if test -z "$CC"; then | 1296 if test -z "$CC"; then |
1304 # Extract the first word of "cc", so it can be a program name with args. | 1297 # Extract the first word of "cc", so it can be a program name with args. |
1305 set dummy cc; ac_word=$2 | 1298 set dummy cc; ac_word=$2 |
1306 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1307 echo "configure:1308: checking for $ac_word" >&5 | 1300 echo "configure:1301: checking for $ac_word" >&5 |
1308 | 1301 |
1309 if test -n "$CC"; then | 1302 if test -n "$CC"; then |
1310 ac_cv_prog_CC="$CC" # Let the user override the test. | 1303 ac_cv_prog_CC="$CC" # Let the user override the test. |
1311 else | 1304 else |
1312 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1347 | 1340 |
1348 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1341 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1349 fi | 1342 fi |
1350 | 1343 |
1351 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1344 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1352 echo "configure:1353: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1345 echo "configure:1346: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1353 | 1346 |
1354 ac_ext=c | 1347 ac_ext=c |
1355 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1348 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1356 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1349 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1357 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1350 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1359 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1352 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1360 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1353 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1361 cross_compiling=no | 1354 cross_compiling=no |
1362 | 1355 |
1363 cat > conftest.$ac_ext <<EOF | 1356 cat > conftest.$ac_ext <<EOF |
1364 #line 1365 "configure" | 1357 #line 1358 "configure" |
1365 #include "confdefs.h" | 1358 #include "confdefs.h" |
1366 main(){return(0);} | 1359 main(){return(0);} |
1367 EOF | 1360 EOF |
1368 if { (eval echo configure:1369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1361 if { (eval echo configure:1362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1369 ac_cv_prog_cc_works=yes | 1362 ac_cv_prog_cc_works=yes |
1370 # If we can't run a trivial program, we are probably using a cross compiler. | 1363 # If we can't run a trivial program, we are probably using a cross compiler. |
1371 if (./conftest; exit) 2>/dev/null; then | 1364 if (./conftest; exit) 2>/dev/null; then |
1372 ac_cv_prog_cc_cross=no | 1365 ac_cv_prog_cc_cross=no |
1373 else | 1366 else |
1383 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1376 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1384 if test $ac_cv_prog_cc_works = no; then | 1377 if test $ac_cv_prog_cc_works = no; then |
1385 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1378 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1386 fi | 1379 fi |
1387 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1380 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1388 echo "configure:1389: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1381 echo "configure:1382: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1389 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1382 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1390 cross_compiling=$ac_cv_prog_cc_cross | 1383 cross_compiling=$ac_cv_prog_cc_cross |
1391 | 1384 |
1392 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1385 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1393 echo "configure:1394: checking whether we are using GNU C" >&5 | 1386 echo "configure:1387: checking whether we are using GNU C" >&5 |
1394 | 1387 |
1395 cat > conftest.c <<EOF | 1388 cat > conftest.c <<EOF |
1396 #ifdef __GNUC__ | 1389 #ifdef __GNUC__ |
1397 yes; | 1390 yes; |
1398 #endif | 1391 #endif |
1399 EOF | 1392 EOF |
1400 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1393 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1401 ac_cv_prog_gcc=yes | 1394 ac_cv_prog_gcc=yes |
1402 else | 1395 else |
1403 ac_cv_prog_gcc=no | 1396 ac_cv_prog_gcc=no |
1404 fi | 1397 fi |
1405 | 1398 |
1409 GCC=yes | 1402 GCC=yes |
1410 ac_test_CFLAGS="${CFLAGS+set}" | 1403 ac_test_CFLAGS="${CFLAGS+set}" |
1411 ac_save_CFLAGS="$CFLAGS" | 1404 ac_save_CFLAGS="$CFLAGS" |
1412 CFLAGS= | 1405 CFLAGS= |
1413 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1406 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1414 echo "configure:1415: checking whether ${CC-cc} accepts -g" >&5 | 1407 echo "configure:1408: checking whether ${CC-cc} accepts -g" >&5 |
1415 | 1408 |
1416 echo 'void f(){}' > conftest.c | 1409 echo 'void f(){}' > conftest.c |
1417 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1410 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1418 ac_cv_prog_cc_g=yes | 1411 ac_cv_prog_cc_g=yes |
1419 else | 1412 else |
1438 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1431 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1439 CC=${NON_GNU_CC-cc} | 1432 CC=${NON_GNU_CC-cc} |
1440 # Extract the first word of "gcc", so it can be a program name with args. | 1433 # Extract the first word of "gcc", so it can be a program name with args. |
1441 set dummy gcc; ac_word=$2 | 1434 set dummy gcc; ac_word=$2 |
1442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1443 echo "configure:1444: checking for $ac_word" >&5 | 1436 echo "configure:1437: checking for $ac_word" >&5 |
1444 | 1437 |
1445 if test -n "$CC"; then | 1438 if test -n "$CC"; then |
1446 ac_cv_prog_CC="$CC" # Let the user override the test. | 1439 ac_cv_prog_CC="$CC" # Let the user override the test. |
1447 else | 1440 else |
1448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1441 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1464 | 1457 |
1465 if test -z "$CC"; then | 1458 if test -z "$CC"; then |
1466 # Extract the first word of "cc", so it can be a program name with args. | 1459 # Extract the first word of "cc", so it can be a program name with args. |
1467 set dummy cc; ac_word=$2 | 1460 set dummy cc; ac_word=$2 |
1468 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1461 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1469 echo "configure:1470: checking for $ac_word" >&5 | 1462 echo "configure:1463: checking for $ac_word" >&5 |
1470 | 1463 |
1471 if test -n "$CC"; then | 1464 if test -n "$CC"; then |
1472 ac_cv_prog_CC="$CC" # Let the user override the test. | 1465 ac_cv_prog_CC="$CC" # Let the user override the test. |
1473 else | 1466 else |
1474 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1509 | 1502 |
1510 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1503 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1511 fi | 1504 fi |
1512 | 1505 |
1513 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1506 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1514 echo "configure:1515: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1507 echo "configure:1508: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1515 | 1508 |
1516 ac_ext=c | 1509 ac_ext=c |
1517 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1510 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1518 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1511 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1519 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1512 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1521 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1514 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1522 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1515 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1523 cross_compiling=no | 1516 cross_compiling=no |
1524 | 1517 |
1525 cat > conftest.$ac_ext <<EOF | 1518 cat > conftest.$ac_ext <<EOF |
1526 #line 1527 "configure" | 1519 #line 1520 "configure" |
1527 #include "confdefs.h" | 1520 #include "confdefs.h" |
1528 main(){return(0);} | 1521 main(){return(0);} |
1529 EOF | 1522 EOF |
1530 if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1523 if { (eval echo configure:1524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1531 ac_cv_prog_cc_works=yes | 1524 ac_cv_prog_cc_works=yes |
1532 # If we can't run a trivial program, we are probably using a cross compiler. | 1525 # If we can't run a trivial program, we are probably using a cross compiler. |
1533 if (./conftest; exit) 2>/dev/null; then | 1526 if (./conftest; exit) 2>/dev/null; then |
1534 ac_cv_prog_cc_cross=no | 1527 ac_cv_prog_cc_cross=no |
1535 else | 1528 else |
1545 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1538 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1546 if test $ac_cv_prog_cc_works = no; then | 1539 if test $ac_cv_prog_cc_works = no; then |
1547 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1540 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1548 fi | 1541 fi |
1549 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1542 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1550 echo "configure:1551: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1543 echo "configure:1544: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1551 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1544 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1552 cross_compiling=$ac_cv_prog_cc_cross | 1545 cross_compiling=$ac_cv_prog_cc_cross |
1553 | 1546 |
1554 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1547 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1555 echo "configure:1556: checking whether we are using GNU C" >&5 | 1548 echo "configure:1549: checking whether we are using GNU C" >&5 |
1556 | 1549 |
1557 cat > conftest.c <<EOF | 1550 cat > conftest.c <<EOF |
1558 #ifdef __GNUC__ | 1551 #ifdef __GNUC__ |
1559 yes; | 1552 yes; |
1560 #endif | 1553 #endif |
1561 EOF | 1554 EOF |
1562 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1555 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1563 ac_cv_prog_gcc=yes | 1556 ac_cv_prog_gcc=yes |
1564 else | 1557 else |
1565 ac_cv_prog_gcc=no | 1558 ac_cv_prog_gcc=no |
1566 fi | 1559 fi |
1567 | 1560 |
1571 GCC=yes | 1564 GCC=yes |
1572 ac_test_CFLAGS="${CFLAGS+set}" | 1565 ac_test_CFLAGS="${CFLAGS+set}" |
1573 ac_save_CFLAGS="$CFLAGS" | 1566 ac_save_CFLAGS="$CFLAGS" |
1574 CFLAGS= | 1567 CFLAGS= |
1575 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1568 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1576 echo "configure:1577: checking whether ${CC-cc} accepts -g" >&5 | 1569 echo "configure:1570: checking whether ${CC-cc} accepts -g" >&5 |
1577 | 1570 |
1578 echo 'void f(){}' > conftest.c | 1571 echo 'void f(){}' > conftest.c |
1579 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1572 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1580 ac_cv_prog_cc_g=yes | 1573 ac_cv_prog_cc_g=yes |
1581 else | 1574 else |
1600 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1593 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1601 CC=gcc | 1594 CC=gcc |
1602 # Extract the first word of "gcc", so it can be a program name with args. | 1595 # Extract the first word of "gcc", so it can be a program name with args. |
1603 set dummy gcc; ac_word=$2 | 1596 set dummy gcc; ac_word=$2 |
1604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1597 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1605 echo "configure:1606: checking for $ac_word" >&5 | 1598 echo "configure:1599: checking for $ac_word" >&5 |
1606 | 1599 |
1607 if test -n "$CC"; then | 1600 if test -n "$CC"; then |
1608 ac_cv_prog_CC="$CC" # Let the user override the test. | 1601 ac_cv_prog_CC="$CC" # Let the user override the test. |
1609 else | 1602 else |
1610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1603 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1626 | 1619 |
1627 if test -z "$CC"; then | 1620 if test -z "$CC"; then |
1628 # Extract the first word of "cc", so it can be a program name with args. | 1621 # Extract the first word of "cc", so it can be a program name with args. |
1629 set dummy cc; ac_word=$2 | 1622 set dummy cc; ac_word=$2 |
1630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1623 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1631 echo "configure:1632: checking for $ac_word" >&5 | 1624 echo "configure:1625: checking for $ac_word" >&5 |
1632 | 1625 |
1633 if test -n "$CC"; then | 1626 if test -n "$CC"; then |
1634 ac_cv_prog_CC="$CC" # Let the user override the test. | 1627 ac_cv_prog_CC="$CC" # Let the user override the test. |
1635 else | 1628 else |
1636 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1629 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1671 | 1664 |
1672 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1665 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1673 fi | 1666 fi |
1674 | 1667 |
1675 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1668 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1676 echo "configure:1677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1669 echo "configure:1670: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1677 | 1670 |
1678 ac_ext=c | 1671 ac_ext=c |
1679 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1672 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1680 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1673 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1681 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1674 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1683 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1676 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1684 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1677 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1685 cross_compiling=no | 1678 cross_compiling=no |
1686 | 1679 |
1687 cat > conftest.$ac_ext <<EOF | 1680 cat > conftest.$ac_ext <<EOF |
1688 #line 1689 "configure" | 1681 #line 1682 "configure" |
1689 #include "confdefs.h" | 1682 #include "confdefs.h" |
1690 main(){return(0);} | 1683 main(){return(0);} |
1691 EOF | 1684 EOF |
1692 if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1685 if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1693 ac_cv_prog_cc_works=yes | 1686 ac_cv_prog_cc_works=yes |
1694 # If we can't run a trivial program, we are probably using a cross compiler. | 1687 # If we can't run a trivial program, we are probably using a cross compiler. |
1695 if (./conftest; exit) 2>/dev/null; then | 1688 if (./conftest; exit) 2>/dev/null; then |
1696 ac_cv_prog_cc_cross=no | 1689 ac_cv_prog_cc_cross=no |
1697 else | 1690 else |
1707 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1700 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1708 if test $ac_cv_prog_cc_works = no; then | 1701 if test $ac_cv_prog_cc_works = no; then |
1709 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1702 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1710 fi | 1703 fi |
1711 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1704 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1712 echo "configure:1713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1705 echo "configure:1706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1713 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1706 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1714 cross_compiling=$ac_cv_prog_cc_cross | 1707 cross_compiling=$ac_cv_prog_cc_cross |
1715 | 1708 |
1716 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1709 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1717 echo "configure:1718: checking whether we are using GNU C" >&5 | 1710 echo "configure:1711: checking whether we are using GNU C" >&5 |
1718 | 1711 |
1719 cat > conftest.c <<EOF | 1712 cat > conftest.c <<EOF |
1720 #ifdef __GNUC__ | 1713 #ifdef __GNUC__ |
1721 yes; | 1714 yes; |
1722 #endif | 1715 #endif |
1723 EOF | 1716 EOF |
1724 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1717 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1725 ac_cv_prog_gcc=yes | 1718 ac_cv_prog_gcc=yes |
1726 else | 1719 else |
1727 ac_cv_prog_gcc=no | 1720 ac_cv_prog_gcc=no |
1728 fi | 1721 fi |
1729 | 1722 |
1733 GCC=yes | 1726 GCC=yes |
1734 ac_test_CFLAGS="${CFLAGS+set}" | 1727 ac_test_CFLAGS="${CFLAGS+set}" |
1735 ac_save_CFLAGS="$CFLAGS" | 1728 ac_save_CFLAGS="$CFLAGS" |
1736 CFLAGS= | 1729 CFLAGS= |
1737 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1730 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1738 echo "configure:1739: checking whether ${CC-cc} accepts -g" >&5 | 1731 echo "configure:1732: checking whether ${CC-cc} accepts -g" >&5 |
1739 | 1732 |
1740 echo 'void f(){}' > conftest.c | 1733 echo 'void f(){}' > conftest.c |
1741 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1734 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1742 ac_cv_prog_cc_g=yes | 1735 ac_cv_prog_cc_g=yes |
1743 else | 1736 else |
1766 test -n "$CPP" -a -d "$CPP" && CPP= | 1759 test -n "$CPP" -a -d "$CPP" && CPP= |
1767 | 1760 |
1768 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1761 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1769 | 1762 |
1770 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1763 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1771 echo "configure:1772: checking how to run the C preprocessor" >&5 | 1764 echo "configure:1765: checking how to run the C preprocessor" >&5 |
1772 # On Suns, sometimes $CPP names a directory. | 1765 # On Suns, sometimes $CPP names a directory. |
1773 if test -n "$CPP" && test -d "$CPP"; then | 1766 if test -n "$CPP" && test -d "$CPP"; then |
1774 CPP= | 1767 CPP= |
1775 fi | 1768 fi |
1776 if test -z "$CPP"; then | 1769 if test -z "$CPP"; then |
1779 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1772 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1780 CPP="${CC-cc} -E" | 1773 CPP="${CC-cc} -E" |
1781 # On the NeXT, cc -E runs the code through the compiler's parser, | 1774 # On the NeXT, cc -E runs the code through the compiler's parser, |
1782 # not just through cpp. | 1775 # not just through cpp. |
1783 cat > conftest.$ac_ext <<EOF | 1776 cat > conftest.$ac_ext <<EOF |
1784 #line 1785 "configure" | 1777 #line 1778 "configure" |
1785 #include "confdefs.h" | 1778 #include "confdefs.h" |
1786 #include <assert.h> | 1779 #include <assert.h> |
1787 Syntax Error | 1780 Syntax Error |
1788 EOF | 1781 EOF |
1789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1790 { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1783 { (eval echo configure:1784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1791 ac_err=`grep -v '^ *+' conftest.out` | 1784 ac_err=`grep -v '^ *+' conftest.out` |
1792 if test -z "$ac_err"; then | 1785 if test -z "$ac_err"; then |
1793 : | 1786 : |
1794 else | 1787 else |
1795 echo "$ac_err" >&5 | 1788 echo "$ac_err" >&5 |
1796 echo "configure: failed program was:" >&5 | 1789 echo "configure: failed program was:" >&5 |
1797 cat conftest.$ac_ext >&5 | 1790 cat conftest.$ac_ext >&5 |
1798 rm -rf conftest* | 1791 rm -rf conftest* |
1799 CPP="${CC-cc} -E -traditional-cpp" | 1792 CPP="${CC-cc} -E -traditional-cpp" |
1800 cat > conftest.$ac_ext <<EOF | 1793 cat > conftest.$ac_ext <<EOF |
1801 #line 1802 "configure" | 1794 #line 1795 "configure" |
1802 #include "confdefs.h" | 1795 #include "confdefs.h" |
1803 #include <assert.h> | 1796 #include <assert.h> |
1804 Syntax Error | 1797 Syntax Error |
1805 EOF | 1798 EOF |
1806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1807 { (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1800 { (eval echo configure:1801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1808 ac_err=`grep -v '^ *+' conftest.out` | 1801 ac_err=`grep -v '^ *+' conftest.out` |
1809 if test -z "$ac_err"; then | 1802 if test -z "$ac_err"; then |
1810 : | 1803 : |
1811 else | 1804 else |
1812 echo "$ac_err" >&5 | 1805 echo "$ac_err" >&5 |
1825 fi | 1818 fi |
1826 echo "$ac_t""$CPP" 1>&6 | 1819 echo "$ac_t""$CPP" 1>&6 |
1827 | 1820 |
1828 | 1821 |
1829 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1822 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1830 echo "configure:1831: checking for AIX" >&5 | 1823 echo "configure:1824: checking for AIX" >&5 |
1831 cat > conftest.$ac_ext <<EOF | 1824 cat > conftest.$ac_ext <<EOF |
1832 #line 1833 "configure" | 1825 #line 1826 "configure" |
1833 #include "confdefs.h" | 1826 #include "confdefs.h" |
1834 #ifdef _AIX | 1827 #ifdef _AIX |
1835 yes | 1828 yes |
1836 #endif | 1829 #endif |
1837 | 1830 |
1854 rm -f conftest* | 1847 rm -f conftest* |
1855 | 1848 |
1856 | 1849 |
1857 | 1850 |
1858 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1851 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1859 echo "configure:1860: checking whether we are using SunPro C" >&5 | 1852 echo "configure:1853: checking whether we are using SunPro C" >&5 |
1860 cat > conftest.$ac_ext <<EOF | 1853 cat > conftest.$ac_ext <<EOF |
1861 #line 1862 "configure" | 1854 #line 1855 "configure" |
1862 #include "confdefs.h" | 1855 #include "confdefs.h" |
1863 | 1856 |
1864 int main() { | 1857 int main() { |
1865 #ifndef __SUNPRO_C | 1858 #ifndef __SUNPRO_C |
1866 #error Not a SunPro compiler :-( | 1859 #error Not a SunPro compiler :-( |
1867 ******* ======= ******** &&&&&&&& | 1860 ******* ======= ******** &&&&&&&& |
1868 #endif | 1861 #endif |
1869 | 1862 |
1870 ; return 0; } | 1863 ; return 0; } |
1871 EOF | 1864 EOF |
1872 if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1865 if { (eval echo configure:1866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1873 rm -rf conftest* | 1866 rm -rf conftest* |
1874 __sunpro_c=yes | 1867 __sunpro_c=yes |
1875 else | 1868 else |
1876 echo "configure: failed program was:" >&5 | 1869 echo "configure: failed program was:" >&5 |
1877 cat conftest.$ac_ext >&5 | 1870 cat conftest.$ac_ext >&5 |
2145 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2138 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2146 echo " xemacs will be linked with \"$unexec\"" | 2139 echo " xemacs will be linked with \"$unexec\"" |
2147 fi | 2140 fi |
2148 | 2141 |
2149 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2142 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2150 echo "configure:2151: checking for dynodump" >&5 | 2143 echo "configure:2144: checking for dynodump" >&5 |
2151 if test "$unexec" != "unexsol2.o"; then | 2144 if test "$unexec" != "unexsol2.o"; then |
2152 echo "$ac_t""no" 1>&6 | 2145 echo "$ac_t""no" 1>&6 |
2153 else | 2146 else |
2154 echo "$ac_t""yes" 1>&6 | 2147 echo "$ac_t""yes" 1>&6 |
2155 { test "$extra_verbose" = "yes" && cat << \EOF | 2148 { test "$extra_verbose" = "yes" && cat << \EOF |
2241 esac | 2234 esac |
2242 fi | 2235 fi |
2243 | 2236 |
2244 if test "$add_runtime_path" = "yes"; then | 2237 if test "$add_runtime_path" = "yes"; then |
2245 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2238 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2246 echo "configure:2247: checking "for runtime libraries flag"" >&5 | 2239 echo "configure:2240: checking "for runtime libraries flag"" >&5 |
2247 dash_r="" | 2240 dash_r="" |
2248 for try_dash_r in "-R" "-R " "-rpath "; do | 2241 for try_dash_r in "-R" "-R " "-rpath "; do |
2249 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2242 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2250 cat > conftest.$ac_ext <<EOF | 2243 cat > conftest.$ac_ext <<EOF |
2251 #line 2252 "configure" | 2244 #line 2245 "configure" |
2252 #include "confdefs.h" | 2245 #include "confdefs.h" |
2253 | 2246 |
2254 int main() { | 2247 int main() { |
2255 | 2248 |
2256 ; return 0; } | 2249 ; return 0; } |
2257 EOF | 2250 EOF |
2258 if { (eval echo configure:2259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2251 if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2259 rm -rf conftest* | 2252 rm -rf conftest* |
2260 dash_r="$try_dash_r" | 2253 dash_r="$try_dash_r" |
2261 else | 2254 else |
2262 echo "configure: failed program was:" >&5 | 2255 echo "configure: failed program was:" >&5 |
2263 cat conftest.$ac_ext >&5 | 2256 cat conftest.$ac_ext >&5 |
2351 | 2344 |
2352 | 2345 |
2353 # Extract the first word of "ranlib", so it can be a program name with args. | 2346 # Extract the first word of "ranlib", so it can be a program name with args. |
2354 set dummy ranlib; ac_word=$2 | 2347 set dummy ranlib; ac_word=$2 |
2355 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2356 echo "configure:2357: checking for $ac_word" >&5 | 2349 echo "configure:2350: checking for $ac_word" >&5 |
2357 | 2350 |
2358 if test -n "$RANLIB"; then | 2351 if test -n "$RANLIB"; then |
2359 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2352 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2360 else | 2353 else |
2361 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2404 # AIX /bin/install | 2397 # AIX /bin/install |
2405 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2406 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2407 # ./install, which can be erroneously created by make from ./install.sh. | 2400 # ./install, which can be erroneously created by make from ./install.sh. |
2408 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2401 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2409 echo "configure:2410: checking for a BSD compatible install" >&5 | 2402 echo "configure:2403: checking for a BSD compatible install" >&5 |
2410 if test -z "$INSTALL"; then | 2403 if test -z "$INSTALL"; then |
2411 | 2404 |
2412 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2405 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2413 for ac_dir in $PATH; do | 2406 for ac_dir in $PATH; do |
2414 # Account for people who put trailing slashes in PATH elements. | 2407 # Account for people who put trailing slashes in PATH elements. |
2455 for ac_prog in 'bison -y' byacc | 2448 for ac_prog in 'bison -y' byacc |
2456 do | 2449 do |
2457 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2450 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2458 set dummy $ac_prog; ac_word=$2 | 2451 set dummy $ac_prog; ac_word=$2 |
2459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2460 echo "configure:2461: checking for $ac_word" >&5 | 2453 echo "configure:2454: checking for $ac_word" >&5 |
2461 | 2454 |
2462 if test -n "$YACC"; then | 2455 if test -n "$YACC"; then |
2463 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2456 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2464 else | 2457 else |
2465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2486 | 2479 |
2487 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2480 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2488 do | 2481 do |
2489 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2482 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2490 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2483 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2491 echo "configure:2492: checking for $ac_hdr" >&5 | 2484 echo "configure:2485: checking for $ac_hdr" >&5 |
2492 | 2485 |
2493 cat > conftest.$ac_ext <<EOF | 2486 cat > conftest.$ac_ext <<EOF |
2494 #line 2495 "configure" | 2487 #line 2488 "configure" |
2495 #include "confdefs.h" | 2488 #include "confdefs.h" |
2496 #include <$ac_hdr> | 2489 #include <$ac_hdr> |
2497 EOF | 2490 EOF |
2498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2499 { (eval echo configure:2500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2492 { (eval echo configure:2493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2500 ac_err=`grep -v '^ *+' conftest.out` | 2493 ac_err=`grep -v '^ *+' conftest.out` |
2501 if test -z "$ac_err"; then | 2494 if test -z "$ac_err"; then |
2502 rm -rf conftest* | 2495 rm -rf conftest* |
2503 eval "ac_cv_header_$ac_safe=yes" | 2496 eval "ac_cv_header_$ac_safe=yes" |
2504 else | 2497 else |
2527 | 2520 |
2528 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2521 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2529 do | 2522 do |
2530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2532 echo "configure:2533: checking for $ac_hdr" >&5 | 2525 echo "configure:2526: checking for $ac_hdr" >&5 |
2533 | 2526 |
2534 cat > conftest.$ac_ext <<EOF | 2527 cat > conftest.$ac_ext <<EOF |
2535 #line 2536 "configure" | 2528 #line 2529 "configure" |
2536 #include "confdefs.h" | 2529 #include "confdefs.h" |
2537 #include <$ac_hdr> | 2530 #include <$ac_hdr> |
2538 EOF | 2531 EOF |
2539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2540 { (eval echo configure:2541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2533 { (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2541 ac_err=`grep -v '^ *+' conftest.out` | 2534 ac_err=`grep -v '^ *+' conftest.out` |
2542 if test -z "$ac_err"; then | 2535 if test -z "$ac_err"; then |
2543 rm -rf conftest* | 2536 rm -rf conftest* |
2544 eval "ac_cv_header_$ac_safe=yes" | 2537 eval "ac_cv_header_$ac_safe=yes" |
2545 else | 2538 else |
2568 | 2561 |
2569 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2562 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
2570 do | 2563 do |
2571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2573 echo "configure:2574: checking for $ac_hdr" >&5 | 2566 echo "configure:2567: checking for $ac_hdr" >&5 |
2574 | 2567 |
2575 cat > conftest.$ac_ext <<EOF | 2568 cat > conftest.$ac_ext <<EOF |
2576 #line 2577 "configure" | 2569 #line 2570 "configure" |
2577 #include "confdefs.h" | 2570 #include "confdefs.h" |
2578 #include <$ac_hdr> | 2571 #include <$ac_hdr> |
2579 EOF | 2572 EOF |
2580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2581 { (eval echo configure:2582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2582 ac_err=`grep -v '^ *+' conftest.out` | 2575 ac_err=`grep -v '^ *+' conftest.out` |
2583 if test -z "$ac_err"; then | 2576 if test -z "$ac_err"; then |
2584 rm -rf conftest* | 2577 rm -rf conftest* |
2585 eval "ac_cv_header_$ac_safe=yes" | 2578 eval "ac_cv_header_$ac_safe=yes" |
2586 else | 2579 else |
2606 echo "$ac_t""no" 1>&6 | 2599 echo "$ac_t""no" 1>&6 |
2607 fi | 2600 fi |
2608 done | 2601 done |
2609 | 2602 |
2610 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2603 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2611 echo "configure:2612: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2604 echo "configure:2605: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2612 | 2605 |
2613 cat > conftest.$ac_ext <<EOF | 2606 cat > conftest.$ac_ext <<EOF |
2614 #line 2615 "configure" | 2607 #line 2608 "configure" |
2615 #include "confdefs.h" | 2608 #include "confdefs.h" |
2616 #include <sys/types.h> | 2609 #include <sys/types.h> |
2617 #include <sys/wait.h> | 2610 #include <sys/wait.h> |
2618 #ifndef WEXITSTATUS | 2611 #ifndef WEXITSTATUS |
2619 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2612 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2625 int s; | 2618 int s; |
2626 wait (&s); | 2619 wait (&s); |
2627 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2620 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2628 ; return 0; } | 2621 ; return 0; } |
2629 EOF | 2622 EOF |
2630 if { (eval echo configure:2631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2623 if { (eval echo configure:2624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2631 rm -rf conftest* | 2624 rm -rf conftest* |
2632 ac_cv_header_sys_wait_h=yes | 2625 ac_cv_header_sys_wait_h=yes |
2633 else | 2626 else |
2634 echo "configure: failed program was:" >&5 | 2627 echo "configure: failed program was:" >&5 |
2635 cat conftest.$ac_ext >&5 | 2628 cat conftest.$ac_ext >&5 |
2649 } | 2642 } |
2650 | 2643 |
2651 fi | 2644 fi |
2652 | 2645 |
2653 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2646 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2654 echo "configure:2655: checking for ANSI C header files" >&5 | 2647 echo "configure:2648: checking for ANSI C header files" >&5 |
2655 | 2648 |
2656 cat > conftest.$ac_ext <<EOF | 2649 cat > conftest.$ac_ext <<EOF |
2657 #line 2658 "configure" | 2650 #line 2651 "configure" |
2658 #include "confdefs.h" | 2651 #include "confdefs.h" |
2659 #include <stdlib.h> | 2652 #include <stdlib.h> |
2660 #include <stdarg.h> | 2653 #include <stdarg.h> |
2661 #include <string.h> | 2654 #include <string.h> |
2662 #include <float.h> | 2655 #include <float.h> |
2663 EOF | 2656 EOF |
2664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2665 { (eval echo configure:2666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2658 { (eval echo configure:2659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2666 ac_err=`grep -v '^ *+' conftest.out` | 2659 ac_err=`grep -v '^ *+' conftest.out` |
2667 if test -z "$ac_err"; then | 2660 if test -z "$ac_err"; then |
2668 rm -rf conftest* | 2661 rm -rf conftest* |
2669 ac_cv_header_stdc=yes | 2662 ac_cv_header_stdc=yes |
2670 else | 2663 else |
2677 rm -f conftest* | 2670 rm -f conftest* |
2678 | 2671 |
2679 if test $ac_cv_header_stdc = yes; then | 2672 if test $ac_cv_header_stdc = yes; then |
2680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2673 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2681 cat > conftest.$ac_ext <<EOF | 2674 cat > conftest.$ac_ext <<EOF |
2682 #line 2683 "configure" | 2675 #line 2676 "configure" |
2683 #include "confdefs.h" | 2676 #include "confdefs.h" |
2684 #include <string.h> | 2677 #include <string.h> |
2685 EOF | 2678 EOF |
2686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2687 egrep "memchr" >/dev/null 2>&1; then | 2680 egrep "memchr" >/dev/null 2>&1; then |
2695 fi | 2688 fi |
2696 | 2689 |
2697 if test $ac_cv_header_stdc = yes; then | 2690 if test $ac_cv_header_stdc = yes; then |
2698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2699 cat > conftest.$ac_ext <<EOF | 2692 cat > conftest.$ac_ext <<EOF |
2700 #line 2701 "configure" | 2693 #line 2694 "configure" |
2701 #include "confdefs.h" | 2694 #include "confdefs.h" |
2702 #include <stdlib.h> | 2695 #include <stdlib.h> |
2703 EOF | 2696 EOF |
2704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2705 egrep "free" >/dev/null 2>&1; then | 2698 egrep "free" >/dev/null 2>&1; then |
2713 fi | 2706 fi |
2714 | 2707 |
2715 if test $ac_cv_header_stdc = yes; then | 2708 if test $ac_cv_header_stdc = yes; then |
2716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2717 cat > conftest.$ac_ext <<EOF | 2710 cat > conftest.$ac_ext <<EOF |
2718 #line 2719 "configure" | 2711 #line 2712 "configure" |
2719 #include "confdefs.h" | 2712 #include "confdefs.h" |
2720 #include <ctype.h> | 2713 #include <ctype.h> |
2721 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2714 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2722 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2715 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2716 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2724 int main () { int i; for (i = 0; i < 256; i++) | 2717 int main () { int i; for (i = 0; i < 256; i++) |
2725 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2718 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2726 exit (0); } | 2719 exit (0); } |
2727 | 2720 |
2728 EOF | 2721 EOF |
2729 if { (eval echo configure:2730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2722 if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2730 then | 2723 then |
2731 : | 2724 : |
2732 else | 2725 else |
2733 echo "configure: failed program was:" >&5 | 2726 echo "configure: failed program was:" >&5 |
2734 cat conftest.$ac_ext >&5 | 2727 cat conftest.$ac_ext >&5 |
2749 } | 2742 } |
2750 | 2743 |
2751 fi | 2744 fi |
2752 | 2745 |
2753 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2746 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2754 echo "configure:2755: checking whether time.h and sys/time.h may both be included" >&5 | 2747 echo "configure:2748: checking whether time.h and sys/time.h may both be included" >&5 |
2755 | 2748 |
2756 cat > conftest.$ac_ext <<EOF | 2749 cat > conftest.$ac_ext <<EOF |
2757 #line 2758 "configure" | 2750 #line 2751 "configure" |
2758 #include "confdefs.h" | 2751 #include "confdefs.h" |
2759 #include <sys/types.h> | 2752 #include <sys/types.h> |
2760 #include <sys/time.h> | 2753 #include <sys/time.h> |
2761 #include <time.h> | 2754 #include <time.h> |
2762 int main() { | 2755 int main() { |
2763 struct tm *tp; | 2756 struct tm *tp; |
2764 ; return 0; } | 2757 ; return 0; } |
2765 EOF | 2758 EOF |
2766 if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2759 if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2767 rm -rf conftest* | 2760 rm -rf conftest* |
2768 ac_cv_header_time=yes | 2761 ac_cv_header_time=yes |
2769 else | 2762 else |
2770 echo "configure: failed program was:" >&5 | 2763 echo "configure: failed program was:" >&5 |
2771 cat conftest.$ac_ext >&5 | 2764 cat conftest.$ac_ext >&5 |
2785 } | 2778 } |
2786 | 2779 |
2787 fi | 2780 fi |
2788 | 2781 |
2789 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2782 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2790 echo "configure:2791: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2783 echo "configure:2784: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2791 | 2784 |
2792 cat > conftest.$ac_ext <<EOF | 2785 cat > conftest.$ac_ext <<EOF |
2793 #line 2794 "configure" | 2786 #line 2787 "configure" |
2794 #include "confdefs.h" | 2787 #include "confdefs.h" |
2795 #include <sys/types.h> | 2788 #include <sys/types.h> |
2796 #include <signal.h> | 2789 #include <signal.h> |
2797 /* NetBSD declares sys_siglist in unistd.h. */ | 2790 /* NetBSD declares sys_siglist in unistd.h. */ |
2798 #ifdef HAVE_UNISTD_H | 2791 #ifdef HAVE_UNISTD_H |
2800 #endif | 2793 #endif |
2801 int main() { | 2794 int main() { |
2802 char *msg = *(sys_siglist + 1); | 2795 char *msg = *(sys_siglist + 1); |
2803 ; return 0; } | 2796 ; return 0; } |
2804 EOF | 2797 EOF |
2805 if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2798 if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2806 rm -rf conftest* | 2799 rm -rf conftest* |
2807 ac_cv_decl_sys_siglist=yes | 2800 ac_cv_decl_sys_siglist=yes |
2808 else | 2801 else |
2809 echo "configure: failed program was:" >&5 | 2802 echo "configure: failed program was:" >&5 |
2810 cat conftest.$ac_ext >&5 | 2803 cat conftest.$ac_ext >&5 |
2825 | 2818 |
2826 fi | 2819 fi |
2827 | 2820 |
2828 | 2821 |
2829 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2822 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2830 echo "configure:2831: checking for struct utimbuf" >&5 | 2823 echo "configure:2824: checking for struct utimbuf" >&5 |
2831 cat > conftest.$ac_ext <<EOF | 2824 cat > conftest.$ac_ext <<EOF |
2832 #line 2833 "configure" | 2825 #line 2826 "configure" |
2833 #include "confdefs.h" | 2826 #include "confdefs.h" |
2834 #ifdef TIME_WITH_SYS_TIME | 2827 #ifdef TIME_WITH_SYS_TIME |
2835 #include <sys/time.h> | 2828 #include <sys/time.h> |
2836 #include <time.h> | 2829 #include <time.h> |
2837 #else | 2830 #else |
2846 #endif | 2839 #endif |
2847 int main() { | 2840 int main() { |
2848 static struct utimbuf x; x.actime = x.modtime; | 2841 static struct utimbuf x; x.actime = x.modtime; |
2849 ; return 0; } | 2842 ; return 0; } |
2850 EOF | 2843 EOF |
2851 if { (eval echo configure:2852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2844 if { (eval echo configure:2845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2852 rm -rf conftest* | 2845 rm -rf conftest* |
2853 echo "$ac_t""yes" 1>&6 | 2846 echo "$ac_t""yes" 1>&6 |
2854 { test "$extra_verbose" = "yes" && cat << \EOF | 2847 { test "$extra_verbose" = "yes" && cat << \EOF |
2855 Defining HAVE_STRUCT_UTIMBUF | 2848 Defining HAVE_STRUCT_UTIMBUF |
2856 EOF | 2849 EOF |
2866 echo "$ac_t""no" 1>&6 | 2859 echo "$ac_t""no" 1>&6 |
2867 fi | 2860 fi |
2868 rm -f conftest* | 2861 rm -f conftest* |
2869 | 2862 |
2870 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2863 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2871 echo "configure:2872: checking return type of signal handlers" >&5 | 2864 echo "configure:2865: checking return type of signal handlers" >&5 |
2872 | 2865 |
2873 cat > conftest.$ac_ext <<EOF | 2866 cat > conftest.$ac_ext <<EOF |
2874 #line 2875 "configure" | 2867 #line 2868 "configure" |
2875 #include "confdefs.h" | 2868 #include "confdefs.h" |
2876 #include <sys/types.h> | 2869 #include <sys/types.h> |
2877 #include <signal.h> | 2870 #include <signal.h> |
2878 #ifdef signal | 2871 #ifdef signal |
2879 #undef signal | 2872 #undef signal |
2886 | 2879 |
2887 int main() { | 2880 int main() { |
2888 int i; | 2881 int i; |
2889 ; return 0; } | 2882 ; return 0; } |
2890 EOF | 2883 EOF |
2891 if { (eval echo configure:2892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2884 if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2892 rm -rf conftest* | 2885 rm -rf conftest* |
2893 ac_cv_type_signal=void | 2886 ac_cv_type_signal=void |
2894 else | 2887 else |
2895 echo "configure: failed program was:" >&5 | 2888 echo "configure: failed program was:" >&5 |
2896 cat conftest.$ac_ext >&5 | 2889 cat conftest.$ac_ext >&5 |
2908 EOF | 2901 EOF |
2909 } | 2902 } |
2910 | 2903 |
2911 | 2904 |
2912 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2905 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2913 echo "configure:2914: checking for size_t" >&5 | 2906 echo "configure:2907: checking for size_t" >&5 |
2914 | 2907 |
2915 cat > conftest.$ac_ext <<EOF | 2908 cat > conftest.$ac_ext <<EOF |
2916 #line 2917 "configure" | 2909 #line 2910 "configure" |
2917 #include "confdefs.h" | 2910 #include "confdefs.h" |
2918 #include <sys/types.h> | 2911 #include <sys/types.h> |
2919 #if STDC_HEADERS | 2912 #if STDC_HEADERS |
2920 #include <stdlib.h> | 2913 #include <stdlib.h> |
2921 #include <stddef.h> | 2914 #include <stddef.h> |
2942 } | 2935 } |
2943 | 2936 |
2944 fi | 2937 fi |
2945 | 2938 |
2946 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2939 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
2947 echo "configure:2948: checking for pid_t" >&5 | 2940 echo "configure:2941: checking for pid_t" >&5 |
2948 | 2941 |
2949 cat > conftest.$ac_ext <<EOF | 2942 cat > conftest.$ac_ext <<EOF |
2950 #line 2951 "configure" | 2943 #line 2944 "configure" |
2951 #include "confdefs.h" | 2944 #include "confdefs.h" |
2952 #include <sys/types.h> | 2945 #include <sys/types.h> |
2953 #if STDC_HEADERS | 2946 #if STDC_HEADERS |
2954 #include <stdlib.h> | 2947 #include <stdlib.h> |
2955 #include <stddef.h> | 2948 #include <stddef.h> |
2976 } | 2969 } |
2977 | 2970 |
2978 fi | 2971 fi |
2979 | 2972 |
2980 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 2973 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
2981 echo "configure:2982: checking for uid_t in sys/types.h" >&5 | 2974 echo "configure:2975: checking for uid_t in sys/types.h" >&5 |
2982 | 2975 |
2983 cat > conftest.$ac_ext <<EOF | 2976 cat > conftest.$ac_ext <<EOF |
2984 #line 2985 "configure" | 2977 #line 2978 "configure" |
2985 #include "confdefs.h" | 2978 #include "confdefs.h" |
2986 #include <sys/types.h> | 2979 #include <sys/types.h> |
2987 EOF | 2980 EOF |
2988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2989 egrep "uid_t" >/dev/null 2>&1; then | 2982 egrep "uid_t" >/dev/null 2>&1; then |
3015 } | 3008 } |
3016 | 3009 |
3017 fi | 3010 fi |
3018 | 3011 |
3019 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3012 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3020 echo "configure:3021: checking for mode_t" >&5 | 3013 echo "configure:3014: checking for mode_t" >&5 |
3021 | 3014 |
3022 cat > conftest.$ac_ext <<EOF | 3015 cat > conftest.$ac_ext <<EOF |
3023 #line 3024 "configure" | 3016 #line 3017 "configure" |
3024 #include "confdefs.h" | 3017 #include "confdefs.h" |
3025 #include <sys/types.h> | 3018 #include <sys/types.h> |
3026 #if STDC_HEADERS | 3019 #if STDC_HEADERS |
3027 #include <stdlib.h> | 3020 #include <stdlib.h> |
3028 #include <stddef.h> | 3021 #include <stddef.h> |
3049 } | 3042 } |
3050 | 3043 |
3051 fi | 3044 fi |
3052 | 3045 |
3053 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3046 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3054 echo "configure:3055: checking for off_t" >&5 | 3047 echo "configure:3048: checking for off_t" >&5 |
3055 | 3048 |
3056 cat > conftest.$ac_ext <<EOF | 3049 cat > conftest.$ac_ext <<EOF |
3057 #line 3058 "configure" | 3050 #line 3051 "configure" |
3058 #include "confdefs.h" | 3051 #include "confdefs.h" |
3059 #include <sys/types.h> | 3052 #include <sys/types.h> |
3060 #if STDC_HEADERS | 3053 #if STDC_HEADERS |
3061 #include <stdlib.h> | 3054 #include <stdlib.h> |
3062 #include <stddef.h> | 3055 #include <stddef.h> |
3084 | 3077 |
3085 fi | 3078 fi |
3086 | 3079 |
3087 | 3080 |
3088 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3081 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3089 echo "configure:3090: checking for struct timeval" >&5 | 3082 echo "configure:3083: checking for struct timeval" >&5 |
3090 cat > conftest.$ac_ext <<EOF | 3083 cat > conftest.$ac_ext <<EOF |
3091 #line 3092 "configure" | 3084 #line 3085 "configure" |
3092 #include "confdefs.h" | 3085 #include "confdefs.h" |
3093 #ifdef TIME_WITH_SYS_TIME | 3086 #ifdef TIME_WITH_SYS_TIME |
3094 #include <sys/time.h> | 3087 #include <sys/time.h> |
3095 #include <time.h> | 3088 #include <time.h> |
3096 #else | 3089 #else |
3102 #endif | 3095 #endif |
3103 int main() { | 3096 int main() { |
3104 static struct timeval x; x.tv_sec = x.tv_usec; | 3097 static struct timeval x; x.tv_sec = x.tv_usec; |
3105 ; return 0; } | 3098 ; return 0; } |
3106 EOF | 3099 EOF |
3107 if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3100 if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3108 rm -rf conftest* | 3101 rm -rf conftest* |
3109 echo "$ac_t""yes" 1>&6 | 3102 echo "$ac_t""yes" 1>&6 |
3110 HAVE_TIMEVAL=yes | 3103 HAVE_TIMEVAL=yes |
3111 { test "$extra_verbose" = "yes" && cat << \EOF | 3104 { test "$extra_verbose" = "yes" && cat << \EOF |
3112 Defining HAVE_TIMEVAL | 3105 Defining HAVE_TIMEVAL |
3124 HAVE_TIMEVAL=no | 3117 HAVE_TIMEVAL=no |
3125 fi | 3118 fi |
3126 rm -f conftest* | 3119 rm -f conftest* |
3127 | 3120 |
3128 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3121 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3129 echo "configure:3130: checking whether struct tm is in sys/time.h or time.h" >&5 | 3122 echo "configure:3123: checking whether struct tm is in sys/time.h or time.h" >&5 |
3130 | 3123 |
3131 cat > conftest.$ac_ext <<EOF | 3124 cat > conftest.$ac_ext <<EOF |
3132 #line 3133 "configure" | 3125 #line 3126 "configure" |
3133 #include "confdefs.h" | 3126 #include "confdefs.h" |
3134 #include <sys/types.h> | 3127 #include <sys/types.h> |
3135 #include <time.h> | 3128 #include <time.h> |
3136 int main() { | 3129 int main() { |
3137 struct tm *tp; tp->tm_sec; | 3130 struct tm *tp; tp->tm_sec; |
3138 ; return 0; } | 3131 ; return 0; } |
3139 EOF | 3132 EOF |
3140 if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3133 if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3141 rm -rf conftest* | 3134 rm -rf conftest* |
3142 ac_cv_struct_tm=time.h | 3135 ac_cv_struct_tm=time.h |
3143 else | 3136 else |
3144 echo "configure: failed program was:" >&5 | 3137 echo "configure: failed program was:" >&5 |
3145 cat conftest.$ac_ext >&5 | 3138 cat conftest.$ac_ext >&5 |
3159 } | 3152 } |
3160 | 3153 |
3161 fi | 3154 fi |
3162 | 3155 |
3163 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3156 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3164 echo "configure:3165: checking for tm_zone in struct tm" >&5 | 3157 echo "configure:3158: checking for tm_zone in struct tm" >&5 |
3165 | 3158 |
3166 cat > conftest.$ac_ext <<EOF | 3159 cat > conftest.$ac_ext <<EOF |
3167 #line 3168 "configure" | 3160 #line 3161 "configure" |
3168 #include "confdefs.h" | 3161 #include "confdefs.h" |
3169 #include <sys/types.h> | 3162 #include <sys/types.h> |
3170 #include <$ac_cv_struct_tm> | 3163 #include <$ac_cv_struct_tm> |
3171 int main() { | 3164 int main() { |
3172 struct tm tm; tm.tm_zone; | 3165 struct tm tm; tm.tm_zone; |
3173 ; return 0; } | 3166 ; return 0; } |
3174 EOF | 3167 EOF |
3175 if { (eval echo configure:3176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3168 if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3176 rm -rf conftest* | 3169 rm -rf conftest* |
3177 ac_cv_struct_tm_zone=yes | 3170 ac_cv_struct_tm_zone=yes |
3178 else | 3171 else |
3179 echo "configure: failed program was:" >&5 | 3172 echo "configure: failed program was:" >&5 |
3180 cat conftest.$ac_ext >&5 | 3173 cat conftest.$ac_ext >&5 |
3193 EOF | 3186 EOF |
3194 } | 3187 } |
3195 | 3188 |
3196 else | 3189 else |
3197 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3190 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3198 echo "configure:3199: checking for tzname" >&5 | 3191 echo "configure:3192: checking for tzname" >&5 |
3199 | 3192 |
3200 cat > conftest.$ac_ext <<EOF | 3193 cat > conftest.$ac_ext <<EOF |
3201 #line 3202 "configure" | 3194 #line 3195 "configure" |
3202 #include "confdefs.h" | 3195 #include "confdefs.h" |
3203 #include <time.h> | 3196 #include <time.h> |
3204 #ifndef tzname /* For SGI. */ | 3197 #ifndef tzname /* For SGI. */ |
3205 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3198 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3206 #endif | 3199 #endif |
3207 int main() { | 3200 int main() { |
3208 atoi(*tzname); | 3201 atoi(*tzname); |
3209 ; return 0; } | 3202 ; return 0; } |
3210 EOF | 3203 EOF |
3211 if { (eval echo configure:3212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3204 if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3212 rm -rf conftest* | 3205 rm -rf conftest* |
3213 ac_cv_var_tzname=yes | 3206 ac_cv_var_tzname=yes |
3214 else | 3207 else |
3215 echo "configure: failed program was:" >&5 | 3208 echo "configure: failed program was:" >&5 |
3216 cat conftest.$ac_ext >&5 | 3209 cat conftest.$ac_ext >&5 |
3232 fi | 3225 fi |
3233 fi | 3226 fi |
3234 | 3227 |
3235 | 3228 |
3236 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3229 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3237 echo "configure:3238: checking for working const" >&5 | 3230 echo "configure:3231: checking for working const" >&5 |
3238 | 3231 |
3239 cat > conftest.$ac_ext <<EOF | 3232 cat > conftest.$ac_ext <<EOF |
3240 #line 3241 "configure" | 3233 #line 3234 "configure" |
3241 #include "confdefs.h" | 3234 #include "confdefs.h" |
3242 | 3235 |
3243 int main() { | 3236 int main() { |
3244 | 3237 |
3245 /* Ultrix mips cc rejects this. */ | 3238 /* Ultrix mips cc rejects this. */ |
3284 const int foo = 10; | 3277 const int foo = 10; |
3285 } | 3278 } |
3286 | 3279 |
3287 ; return 0; } | 3280 ; return 0; } |
3288 EOF | 3281 EOF |
3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3290 rm -rf conftest* | 3283 rm -rf conftest* |
3291 ac_cv_c_const=yes | 3284 ac_cv_c_const=yes |
3292 else | 3285 else |
3293 echo "configure: failed program was:" >&5 | 3286 echo "configure: failed program was:" >&5 |
3294 cat conftest.$ac_ext >&5 | 3287 cat conftest.$ac_ext >&5 |
3309 | 3302 |
3310 fi | 3303 fi |
3311 | 3304 |
3312 | 3305 |
3313 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3306 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3314 echo "configure:3315: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3307 echo "configure:3308: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3315 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3308 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3316 | 3309 |
3317 cat > conftestmake <<\EOF | 3310 cat > conftestmake <<\EOF |
3318 all: | 3311 all: |
3319 @echo 'ac_maketemp="${MAKE}"' | 3312 @echo 'ac_maketemp="${MAKE}"' |
3334 SET_MAKE="MAKE=${MAKE-make}" | 3327 SET_MAKE="MAKE=${MAKE-make}" |
3335 fi | 3328 fi |
3336 | 3329 |
3337 | 3330 |
3338 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3331 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3339 echo "configure:3340: checking whether byte ordering is bigendian" >&5 | 3332 echo "configure:3333: checking whether byte ordering is bigendian" >&5 |
3340 | 3333 |
3341 ac_cv_c_bigendian=unknown | 3334 ac_cv_c_bigendian=unknown |
3342 # See if sys/param.h defines the BYTE_ORDER macro. | 3335 # See if sys/param.h defines the BYTE_ORDER macro. |
3343 cat > conftest.$ac_ext <<EOF | 3336 cat > conftest.$ac_ext <<EOF |
3344 #line 3345 "configure" | 3337 #line 3338 "configure" |
3345 #include "confdefs.h" | 3338 #include "confdefs.h" |
3346 #include <sys/types.h> | 3339 #include <sys/types.h> |
3347 #include <sys/param.h> | 3340 #include <sys/param.h> |
3348 int main() { | 3341 int main() { |
3349 | 3342 |
3350 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3343 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3351 bogus endian macros | 3344 bogus endian macros |
3352 #endif | 3345 #endif |
3353 ; return 0; } | 3346 ; return 0; } |
3354 EOF | 3347 EOF |
3355 if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3348 if { (eval echo configure:3349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3356 rm -rf conftest* | 3349 rm -rf conftest* |
3357 # It does; now see whether it defined to BIG_ENDIAN or not. | 3350 # It does; now see whether it defined to BIG_ENDIAN or not. |
3358 cat > conftest.$ac_ext <<EOF | 3351 cat > conftest.$ac_ext <<EOF |
3359 #line 3360 "configure" | 3352 #line 3353 "configure" |
3360 #include "confdefs.h" | 3353 #include "confdefs.h" |
3361 #include <sys/types.h> | 3354 #include <sys/types.h> |
3362 #include <sys/param.h> | 3355 #include <sys/param.h> |
3363 int main() { | 3356 int main() { |
3364 | 3357 |
3365 #if BYTE_ORDER != BIG_ENDIAN | 3358 #if BYTE_ORDER != BIG_ENDIAN |
3366 not big endian | 3359 not big endian |
3367 #endif | 3360 #endif |
3368 ; return 0; } | 3361 ; return 0; } |
3369 EOF | 3362 EOF |
3370 if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3363 if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3371 rm -rf conftest* | 3364 rm -rf conftest* |
3372 ac_cv_c_bigendian=yes | 3365 ac_cv_c_bigendian=yes |
3373 else | 3366 else |
3374 echo "configure: failed program was:" >&5 | 3367 echo "configure: failed program was:" >&5 |
3375 cat conftest.$ac_ext >&5 | 3368 cat conftest.$ac_ext >&5 |
3382 cat conftest.$ac_ext >&5 | 3375 cat conftest.$ac_ext >&5 |
3383 fi | 3376 fi |
3384 rm -f conftest* | 3377 rm -f conftest* |
3385 if test $ac_cv_c_bigendian = unknown; then | 3378 if test $ac_cv_c_bigendian = unknown; then |
3386 cat > conftest.$ac_ext <<EOF | 3379 cat > conftest.$ac_ext <<EOF |
3387 #line 3388 "configure" | 3380 #line 3381 "configure" |
3388 #include "confdefs.h" | 3381 #include "confdefs.h" |
3389 main () { | 3382 main () { |
3390 /* Are we little or big endian? From Harbison&Steele. */ | 3383 /* Are we little or big endian? From Harbison&Steele. */ |
3391 union | 3384 union |
3392 { | 3385 { |
3395 } u; | 3388 } u; |
3396 u.l = 1; | 3389 u.l = 1; |
3397 exit (u.c[sizeof (long) - 1] == 1); | 3390 exit (u.c[sizeof (long) - 1] == 1); |
3398 } | 3391 } |
3399 EOF | 3392 EOF |
3400 if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3393 if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3401 then | 3394 then |
3402 ac_cv_c_bigendian=no | 3395 ac_cv_c_bigendian=no |
3403 else | 3396 else |
3404 echo "configure: failed program was:" >&5 | 3397 echo "configure: failed program was:" >&5 |
3405 cat conftest.$ac_ext >&5 | 3398 cat conftest.$ac_ext >&5 |
3421 | 3414 |
3422 fi | 3415 fi |
3423 | 3416 |
3424 | 3417 |
3425 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3418 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3426 echo "configure:3427: checking size of short" >&5 | 3419 echo "configure:3420: checking size of short" >&5 |
3427 | 3420 |
3428 cat > conftest.$ac_ext <<EOF | 3421 cat > conftest.$ac_ext <<EOF |
3429 #line 3430 "configure" | 3422 #line 3423 "configure" |
3430 #include "confdefs.h" | 3423 #include "confdefs.h" |
3431 #include <stdio.h> | 3424 #include <stdio.h> |
3432 main() | 3425 main() |
3433 { | 3426 { |
3434 FILE *f=fopen("conftestval", "w"); | 3427 FILE *f=fopen("conftestval", "w"); |
3435 if (!f) exit(1); | 3428 if (!f) exit(1); |
3436 fprintf(f, "%d\n", sizeof(short)); | 3429 fprintf(f, "%d\n", sizeof(short)); |
3437 exit(0); | 3430 exit(0); |
3438 } | 3431 } |
3439 EOF | 3432 EOF |
3440 if { (eval echo configure:3441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3433 if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3441 then | 3434 then |
3442 ac_cv_sizeof_short=`cat conftestval` | 3435 ac_cv_sizeof_short=`cat conftestval` |
3443 else | 3436 else |
3444 echo "configure: failed program was:" >&5 | 3437 echo "configure: failed program was:" >&5 |
3445 cat conftest.$ac_ext >&5 | 3438 cat conftest.$ac_ext >&5 |
3462 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3455 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3463 echo "*** PANIC *** Please examine config.log for compilation errors." | 3456 echo "*** PANIC *** Please examine config.log for compilation errors." |
3464 exit 1 | 3457 exit 1 |
3465 fi | 3458 fi |
3466 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3459 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3467 echo "configure:3468: checking size of int" >&5 | 3460 echo "configure:3461: checking size of int" >&5 |
3468 | 3461 |
3469 cat > conftest.$ac_ext <<EOF | 3462 cat > conftest.$ac_ext <<EOF |
3470 #line 3471 "configure" | 3463 #line 3464 "configure" |
3471 #include "confdefs.h" | 3464 #include "confdefs.h" |
3472 #include <stdio.h> | 3465 #include <stdio.h> |
3473 main() | 3466 main() |
3474 { | 3467 { |
3475 FILE *f=fopen("conftestval", "w"); | 3468 FILE *f=fopen("conftestval", "w"); |
3476 if (!f) exit(1); | 3469 if (!f) exit(1); |
3477 fprintf(f, "%d\n", sizeof(int)); | 3470 fprintf(f, "%d\n", sizeof(int)); |
3478 exit(0); | 3471 exit(0); |
3479 } | 3472 } |
3480 EOF | 3473 EOF |
3481 if { (eval echo configure:3482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3482 then | 3475 then |
3483 ac_cv_sizeof_int=`cat conftestval` | 3476 ac_cv_sizeof_int=`cat conftestval` |
3484 else | 3477 else |
3485 echo "configure: failed program was:" >&5 | 3478 echo "configure: failed program was:" >&5 |
3486 cat conftest.$ac_ext >&5 | 3479 cat conftest.$ac_ext >&5 |
3497 EOF | 3490 EOF |
3498 } | 3491 } |
3499 | 3492 |
3500 | 3493 |
3501 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3494 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3502 echo "configure:3503: checking size of long" >&5 | 3495 echo "configure:3496: checking size of long" >&5 |
3503 | 3496 |
3504 cat > conftest.$ac_ext <<EOF | 3497 cat > conftest.$ac_ext <<EOF |
3505 #line 3506 "configure" | 3498 #line 3499 "configure" |
3506 #include "confdefs.h" | 3499 #include "confdefs.h" |
3507 #include <stdio.h> | 3500 #include <stdio.h> |
3508 main() | 3501 main() |
3509 { | 3502 { |
3510 FILE *f=fopen("conftestval", "w"); | 3503 FILE *f=fopen("conftestval", "w"); |
3511 if (!f) exit(1); | 3504 if (!f) exit(1); |
3512 fprintf(f, "%d\n", sizeof(long)); | 3505 fprintf(f, "%d\n", sizeof(long)); |
3513 exit(0); | 3506 exit(0); |
3514 } | 3507 } |
3515 EOF | 3508 EOF |
3516 if { (eval echo configure:3517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3509 if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3517 then | 3510 then |
3518 ac_cv_sizeof_long=`cat conftestval` | 3511 ac_cv_sizeof_long=`cat conftestval` |
3519 else | 3512 else |
3520 echo "configure: failed program was:" >&5 | 3513 echo "configure: failed program was:" >&5 |
3521 cat conftest.$ac_ext >&5 | 3514 cat conftest.$ac_ext >&5 |
3532 EOF | 3525 EOF |
3533 } | 3526 } |
3534 | 3527 |
3535 | 3528 |
3536 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3529 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3537 echo "configure:3538: checking size of long long" >&5 | 3530 echo "configure:3531: checking size of long long" >&5 |
3538 | 3531 |
3539 cat > conftest.$ac_ext <<EOF | 3532 cat > conftest.$ac_ext <<EOF |
3540 #line 3541 "configure" | 3533 #line 3534 "configure" |
3541 #include "confdefs.h" | 3534 #include "confdefs.h" |
3542 #include <stdio.h> | 3535 #include <stdio.h> |
3543 main() | 3536 main() |
3544 { | 3537 { |
3545 FILE *f=fopen("conftestval", "w"); | 3538 FILE *f=fopen("conftestval", "w"); |
3546 if (!f) exit(1); | 3539 if (!f) exit(1); |
3547 fprintf(f, "%d\n", sizeof(long long)); | 3540 fprintf(f, "%d\n", sizeof(long long)); |
3548 exit(0); | 3541 exit(0); |
3549 } | 3542 } |
3550 EOF | 3543 EOF |
3551 if { (eval echo configure:3552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3544 if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3552 then | 3545 then |
3553 ac_cv_sizeof_long_long=`cat conftestval` | 3546 ac_cv_sizeof_long_long=`cat conftestval` |
3554 else | 3547 else |
3555 echo "configure: failed program was:" >&5 | 3548 echo "configure: failed program was:" >&5 |
3556 cat conftest.$ac_ext >&5 | 3549 cat conftest.$ac_ext >&5 |
3567 EOF | 3560 EOF |
3568 } | 3561 } |
3569 | 3562 |
3570 | 3563 |
3571 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3564 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3572 echo "configure:3573: checking size of void *" >&5 | 3565 echo "configure:3566: checking size of void *" >&5 |
3573 | 3566 |
3574 cat > conftest.$ac_ext <<EOF | 3567 cat > conftest.$ac_ext <<EOF |
3575 #line 3576 "configure" | 3568 #line 3569 "configure" |
3576 #include "confdefs.h" | 3569 #include "confdefs.h" |
3577 #include <stdio.h> | 3570 #include <stdio.h> |
3578 main() | 3571 main() |
3579 { | 3572 { |
3580 FILE *f=fopen("conftestval", "w"); | 3573 FILE *f=fopen("conftestval", "w"); |
3581 if (!f) exit(1); | 3574 if (!f) exit(1); |
3582 fprintf(f, "%d\n", sizeof(void *)); | 3575 fprintf(f, "%d\n", sizeof(void *)); |
3583 exit(0); | 3576 exit(0); |
3584 } | 3577 } |
3585 EOF | 3578 EOF |
3586 if { (eval echo configure:3587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3579 if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3587 then | 3580 then |
3588 ac_cv_sizeof_void_p=`cat conftestval` | 3581 ac_cv_sizeof_void_p=`cat conftestval` |
3589 else | 3582 else |
3590 echo "configure: failed program was:" >&5 | 3583 echo "configure: failed program was:" >&5 |
3591 cat conftest.$ac_ext >&5 | 3584 cat conftest.$ac_ext >&5 |
3603 } | 3596 } |
3604 | 3597 |
3605 | 3598 |
3606 | 3599 |
3607 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3600 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3608 echo "configure:3609: checking for long file names" >&5 | 3601 echo "configure:3602: checking for long file names" >&5 |
3609 | 3602 |
3610 ac_cv_sys_long_file_names=yes | 3603 ac_cv_sys_long_file_names=yes |
3611 # Test for long file names in all the places we know might matter: | 3604 # Test for long file names in all the places we know might matter: |
3612 # . the current directory, where building will happen | 3605 # . the current directory, where building will happen |
3613 # $prefix/lib where we will be installing things | 3606 # $prefix/lib where we will be installing things |
3650 fi | 3643 fi |
3651 | 3644 |
3652 | 3645 |
3653 | 3646 |
3654 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3647 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3655 echo "configure:3656: checking for sin in -lm" >&5 | 3648 echo "configure:3649: checking for sin in -lm" >&5 |
3656 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3649 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3657 | 3650 |
3658 xe_check_libs=" -lm " | 3651 xe_check_libs=" -lm " |
3659 cat > conftest.$ac_ext <<EOF | 3652 cat > conftest.$ac_ext <<EOF |
3660 #line 3661 "configure" | 3653 #line 3654 "configure" |
3661 #include "confdefs.h" | 3654 #include "confdefs.h" |
3662 /* Override any gcc2 internal prototype to avoid an error. */ | 3655 /* Override any gcc2 internal prototype to avoid an error. */ |
3663 /* We use char because int might match the return type of a gcc2 | 3656 /* We use char because int might match the return type of a gcc2 |
3664 builtin and then its argument prototype would still apply. */ | 3657 builtin and then its argument prototype would still apply. */ |
3665 char sin(); | 3658 char sin(); |
3666 | 3659 |
3667 int main() { | 3660 int main() { |
3668 sin() | 3661 sin() |
3669 ; return 0; } | 3662 ; return 0; } |
3670 EOF | 3663 EOF |
3671 if { (eval echo configure:3672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3664 if { (eval echo configure:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3672 rm -rf conftest* | 3665 rm -rf conftest* |
3673 eval "ac_cv_lib_$ac_lib_var=yes" | 3666 eval "ac_cv_lib_$ac_lib_var=yes" |
3674 else | 3667 else |
3675 echo "configure: failed program was:" >&5 | 3668 echo "configure: failed program was:" >&5 |
3676 cat conftest.$ac_ext >&5 | 3669 cat conftest.$ac_ext >&5 |
3708 EOF | 3701 EOF |
3709 } | 3702 } |
3710 | 3703 |
3711 | 3704 |
3712 echo "checking type of mail spool file locking" 1>&6 | 3705 echo "checking type of mail spool file locking" 1>&6 |
3713 echo "configure:3714: checking type of mail spool file locking" >&5 | 3706 echo "configure:3707: checking type of mail spool file locking" >&5 |
3714 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3707 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3715 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3708 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3716 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3709 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3717 Defining REAL_MAIL_USE_LOCKF | 3710 Defining REAL_MAIL_USE_LOCKF |
3718 EOF | 3711 EOF |
3732 else mail_locking="dot-locking" | 3725 else mail_locking="dot-locking" |
3733 fi | 3726 fi |
3734 | 3727 |
3735 | 3728 |
3736 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3729 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3737 echo "configure:3738: checking for kstat_open in -lkstat" >&5 | 3730 echo "configure:3731: checking for kstat_open in -lkstat" >&5 |
3738 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3731 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3739 | 3732 |
3740 xe_check_libs=" -lkstat " | 3733 xe_check_libs=" -lkstat " |
3741 cat > conftest.$ac_ext <<EOF | 3734 cat > conftest.$ac_ext <<EOF |
3742 #line 3743 "configure" | 3735 #line 3736 "configure" |
3743 #include "confdefs.h" | 3736 #include "confdefs.h" |
3744 /* Override any gcc2 internal prototype to avoid an error. */ | 3737 /* Override any gcc2 internal prototype to avoid an error. */ |
3745 /* We use char because int might match the return type of a gcc2 | 3738 /* We use char because int might match the return type of a gcc2 |
3746 builtin and then its argument prototype would still apply. */ | 3739 builtin and then its argument prototype would still apply. */ |
3747 char kstat_open(); | 3740 char kstat_open(); |
3748 | 3741 |
3749 int main() { | 3742 int main() { |
3750 kstat_open() | 3743 kstat_open() |
3751 ; return 0; } | 3744 ; return 0; } |
3752 EOF | 3745 EOF |
3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3746 if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3754 rm -rf conftest* | 3747 rm -rf conftest* |
3755 eval "ac_cv_lib_$ac_lib_var=yes" | 3748 eval "ac_cv_lib_$ac_lib_var=yes" |
3756 else | 3749 else |
3757 echo "configure: failed program was:" >&5 | 3750 echo "configure: failed program was:" >&5 |
3758 cat conftest.$ac_ext >&5 | 3751 cat conftest.$ac_ext >&5 |
3782 | 3775 |
3783 | 3776 |
3784 | 3777 |
3785 | 3778 |
3786 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3779 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3787 echo "configure:3788: checking for kvm_read in -lkvm" >&5 | 3780 echo "configure:3781: checking for kvm_read in -lkvm" >&5 |
3788 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3781 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3789 | 3782 |
3790 xe_check_libs=" -lkvm " | 3783 xe_check_libs=" -lkvm " |
3791 cat > conftest.$ac_ext <<EOF | 3784 cat > conftest.$ac_ext <<EOF |
3792 #line 3793 "configure" | 3785 #line 3786 "configure" |
3793 #include "confdefs.h" | 3786 #include "confdefs.h" |
3794 /* Override any gcc2 internal prototype to avoid an error. */ | 3787 /* Override any gcc2 internal prototype to avoid an error. */ |
3795 /* We use char because int might match the return type of a gcc2 | 3788 /* We use char because int might match the return type of a gcc2 |
3796 builtin and then its argument prototype would still apply. */ | 3789 builtin and then its argument prototype would still apply. */ |
3797 char kvm_read(); | 3790 char kvm_read(); |
3798 | 3791 |
3799 int main() { | 3792 int main() { |
3800 kvm_read() | 3793 kvm_read() |
3801 ; return 0; } | 3794 ; return 0; } |
3802 EOF | 3795 EOF |
3803 if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3796 if { (eval echo configure:3797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3804 rm -rf conftest* | 3797 rm -rf conftest* |
3805 eval "ac_cv_lib_$ac_lib_var=yes" | 3798 eval "ac_cv_lib_$ac_lib_var=yes" |
3806 else | 3799 else |
3807 echo "configure: failed program was:" >&5 | 3800 echo "configure: failed program was:" >&5 |
3808 cat conftest.$ac_ext >&5 | 3801 cat conftest.$ac_ext >&5 |
3832 | 3825 |
3833 | 3826 |
3834 | 3827 |
3835 | 3828 |
3836 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3829 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3837 echo "configure:3838: checking for cma_open in -lpthreads" >&5 | 3830 echo "configure:3831: checking for cma_open in -lpthreads" >&5 |
3838 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3831 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3839 | 3832 |
3840 xe_check_libs=" -lpthreads " | 3833 xe_check_libs=" -lpthreads " |
3841 cat > conftest.$ac_ext <<EOF | 3834 cat > conftest.$ac_ext <<EOF |
3842 #line 3843 "configure" | 3835 #line 3836 "configure" |
3843 #include "confdefs.h" | 3836 #include "confdefs.h" |
3844 /* Override any gcc2 internal prototype to avoid an error. */ | 3837 /* Override any gcc2 internal prototype to avoid an error. */ |
3845 /* We use char because int might match the return type of a gcc2 | 3838 /* We use char because int might match the return type of a gcc2 |
3846 builtin and then its argument prototype would still apply. */ | 3839 builtin and then its argument prototype would still apply. */ |
3847 char cma_open(); | 3840 char cma_open(); |
3848 | 3841 |
3849 int main() { | 3842 int main() { |
3850 cma_open() | 3843 cma_open() |
3851 ; return 0; } | 3844 ; return 0; } |
3852 EOF | 3845 EOF |
3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3846 if { (eval echo configure:3847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3854 rm -rf conftest* | 3847 rm -rf conftest* |
3855 eval "ac_cv_lib_$ac_lib_var=yes" | 3848 eval "ac_cv_lib_$ac_lib_var=yes" |
3856 else | 3849 else |
3857 echo "configure: failed program was:" >&5 | 3850 echo "configure: failed program was:" >&5 |
3858 cat conftest.$ac_ext >&5 | 3851 cat conftest.$ac_ext >&5 |
3884 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3877 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
3885 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3878 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
3886 fi | 3879 fi |
3887 | 3880 |
3888 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3881 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
3889 echo "configure:3890: checking whether the -xildoff compiler flag is required" >&5 | 3882 echo "configure:3883: checking whether the -xildoff compiler flag is required" >&5 |
3890 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3883 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
3891 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3884 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
3892 then echo "$ac_t""no" 1>&6; | 3885 then echo "$ac_t""no" 1>&6; |
3893 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 | 3886 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 |
3894 fi | 3887 fi |
3895 else echo "$ac_t""no" 1>&6 | 3888 else echo "$ac_t""no" 1>&6 |
3896 fi | 3889 fi |
3897 | 3890 |
3898 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3891 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
3899 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3892 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
3900 echo "configure:3901: checking for \"-z ignore\" linker flag" >&5 | 3893 echo "configure:3894: checking for \"-z ignore\" linker flag" >&5 |
3901 case "`ld -h 2>&1`" in | 3894 case "`ld -h 2>&1`" in |
3902 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3895 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
3903 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3896 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
3904 *) echo "$ac_t""no" 1>&6 ;; | 3897 *) echo "$ac_t""no" 1>&6 ;; |
3905 esac | 3898 esac |
3906 fi | 3899 fi |
3907 | 3900 |
3908 | 3901 |
3909 echo "checking "for specified window system"" 1>&6 | 3902 echo "checking "for specified window system"" 1>&6 |
3910 echo "configure:3911: checking "for specified window system"" >&5 | 3903 echo "configure:3904: checking "for specified window system"" >&5 |
3911 | 3904 |
3912 if test "$with_x11" != "no"; then | 3905 if test "$with_x11" != "no"; then |
3913 test "$x_includes $x_libraries" != "NONE NONE" && \ | 3906 test "$x_includes $x_libraries" != "NONE NONE" && \ |
3914 window_system=x11 with_x11=yes | 3907 window_system=x11 with_x11=yes |
3915 | 3908 |
3935 # If we find X, set shell vars x_includes and x_libraries to the | 3928 # If we find X, set shell vars x_includes and x_libraries to the |
3936 # paths, otherwise set no_x=yes. | 3929 # paths, otherwise set no_x=yes. |
3937 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3930 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3938 # --without-x overrides everything else, but does not touch the cache. | 3931 # --without-x overrides everything else, but does not touch the cache. |
3939 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3932 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3940 echo "configure:3941: checking for X" >&5 | 3933 echo "configure:3934: checking for X" >&5 |
3941 | 3934 |
3942 # Check whether --with-x or --without-x was given. | 3935 # Check whether --with-x or --without-x was given. |
3943 if test "${with_x+set}" = set; then | 3936 if test "${with_x+set}" = set; then |
3944 withval="$with_x" | 3937 withval="$with_x" |
3945 : | 3938 : |
3995 # Guess where to find include files, by looking for this one X11 .h file. | 3988 # Guess where to find include files, by looking for this one X11 .h file. |
3996 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3989 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3997 | 3990 |
3998 # First, try using that file with no special directory specified. | 3991 # First, try using that file with no special directory specified. |
3999 cat > conftest.$ac_ext <<EOF | 3992 cat > conftest.$ac_ext <<EOF |
4000 #line 4001 "configure" | 3993 #line 3994 "configure" |
4001 #include "confdefs.h" | 3994 #include "confdefs.h" |
4002 #include <$x_direct_test_include> | 3995 #include <$x_direct_test_include> |
4003 EOF | 3996 EOF |
4004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4005 { (eval echo configure:4006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3998 { (eval echo configure:3999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4006 ac_err=`grep -v '^ *+' conftest.out` | 3999 ac_err=`grep -v '^ *+' conftest.out` |
4007 if test -z "$ac_err"; then | 4000 if test -z "$ac_err"; then |
4008 rm -rf conftest* | 4001 rm -rf conftest* |
4009 # We can compile using X headers with no special include directory. | 4002 # We can compile using X headers with no special include directory. |
4010 ac_x_includes= | 4003 ac_x_includes= |
4069 # See if we find them without any special options. | 4062 # See if we find them without any special options. |
4070 # Don't add to $LIBS permanently. | 4063 # Don't add to $LIBS permanently. |
4071 ac_save_LIBS="$LIBS" | 4064 ac_save_LIBS="$LIBS" |
4072 LIBS="-l$x_direct_test_library $LIBS" | 4065 LIBS="-l$x_direct_test_library $LIBS" |
4073 cat > conftest.$ac_ext <<EOF | 4066 cat > conftest.$ac_ext <<EOF |
4074 #line 4075 "configure" | 4067 #line 4068 "configure" |
4075 #include "confdefs.h" | 4068 #include "confdefs.h" |
4076 | 4069 |
4077 int main() { | 4070 int main() { |
4078 ${x_direct_test_function}() | 4071 ${x_direct_test_function}() |
4079 ; return 0; } | 4072 ; return 0; } |
4080 EOF | 4073 EOF |
4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4074 if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4082 rm -rf conftest* | 4075 rm -rf conftest* |
4083 LIBS="$ac_save_LIBS" | 4076 LIBS="$ac_save_LIBS" |
4084 # We can link X programs with no special library path. | 4077 # We can link X programs with no special library path. |
4085 ac_x_libraries= | 4078 ac_x_libraries= |
4086 else | 4079 else |
4185 # For Solaris; some versions of Sun CC require a space after -R and | 4178 # For Solaris; some versions of Sun CC require a space after -R and |
4186 # others require no space. Words are not sufficient . . . . | 4179 # others require no space. Words are not sufficient . . . . |
4187 case "`(uname -sr) 2>/dev/null`" in | 4180 case "`(uname -sr) 2>/dev/null`" in |
4188 "SunOS 5"*) | 4181 "SunOS 5"*) |
4189 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4182 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4190 echo "configure:4191: checking whether -R must be followed by a space" >&5 | 4183 echo "configure:4184: checking whether -R must be followed by a space" >&5 |
4191 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4184 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4192 cat > conftest.$ac_ext <<EOF | 4185 cat > conftest.$ac_ext <<EOF |
4193 #line 4194 "configure" | 4186 #line 4187 "configure" |
4194 #include "confdefs.h" | 4187 #include "confdefs.h" |
4195 | 4188 |
4196 int main() { | 4189 int main() { |
4197 | 4190 |
4198 ; return 0; } | 4191 ; return 0; } |
4199 EOF | 4192 EOF |
4200 if { (eval echo configure:4201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4193 if { (eval echo configure:4194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4201 rm -rf conftest* | 4194 rm -rf conftest* |
4202 ac_R_nospace=yes | 4195 ac_R_nospace=yes |
4203 else | 4196 else |
4204 echo "configure: failed program was:" >&5 | 4197 echo "configure: failed program was:" >&5 |
4205 cat conftest.$ac_ext >&5 | 4198 cat conftest.$ac_ext >&5 |
4211 echo "$ac_t""no" 1>&6 | 4204 echo "$ac_t""no" 1>&6 |
4212 X_LIBS="$X_LIBS -R$x_libraries" | 4205 X_LIBS="$X_LIBS -R$x_libraries" |
4213 else | 4206 else |
4214 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4207 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4215 cat > conftest.$ac_ext <<EOF | 4208 cat > conftest.$ac_ext <<EOF |
4216 #line 4217 "configure" | 4209 #line 4210 "configure" |
4217 #include "confdefs.h" | 4210 #include "confdefs.h" |
4218 | 4211 |
4219 int main() { | 4212 int main() { |
4220 | 4213 |
4221 ; return 0; } | 4214 ; return 0; } |
4222 EOF | 4215 EOF |
4223 if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4216 if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4224 rm -rf conftest* | 4217 rm -rf conftest* |
4225 ac_R_space=yes | 4218 ac_R_space=yes |
4226 else | 4219 else |
4227 echo "configure: failed program was:" >&5 | 4220 echo "configure: failed program was:" >&5 |
4228 cat conftest.$ac_ext >&5 | 4221 cat conftest.$ac_ext >&5 |
4254 if test "$with_dnet" = "no" ; then | 4247 if test "$with_dnet" = "no" ; then |
4255 ac_cv_lib_dnet_dnet_ntoa=no | 4248 ac_cv_lib_dnet_dnet_ntoa=no |
4256 else | 4249 else |
4257 | 4250 |
4258 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4251 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4259 echo "configure:4260: checking for dnet_ntoa in -ldnet" >&5 | 4252 echo "configure:4253: checking for dnet_ntoa in -ldnet" >&5 |
4260 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4253 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4261 | 4254 |
4262 xe_check_libs=" -ldnet " | 4255 xe_check_libs=" -ldnet " |
4263 cat > conftest.$ac_ext <<EOF | 4256 cat > conftest.$ac_ext <<EOF |
4264 #line 4265 "configure" | 4257 #line 4258 "configure" |
4265 #include "confdefs.h" | 4258 #include "confdefs.h" |
4266 /* Override any gcc2 internal prototype to avoid an error. */ | 4259 /* Override any gcc2 internal prototype to avoid an error. */ |
4267 /* We use char because int might match the return type of a gcc2 | 4260 /* We use char because int might match the return type of a gcc2 |
4268 builtin and then its argument prototype would still apply. */ | 4261 builtin and then its argument prototype would still apply. */ |
4269 char dnet_ntoa(); | 4262 char dnet_ntoa(); |
4270 | 4263 |
4271 int main() { | 4264 int main() { |
4272 dnet_ntoa() | 4265 dnet_ntoa() |
4273 ; return 0; } | 4266 ; return 0; } |
4274 EOF | 4267 EOF |
4275 if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4268 if { (eval echo configure:4269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4276 rm -rf conftest* | 4269 rm -rf conftest* |
4277 eval "ac_cv_lib_$ac_lib_var=yes" | 4270 eval "ac_cv_lib_$ac_lib_var=yes" |
4278 else | 4271 else |
4279 echo "configure: failed program was:" >&5 | 4272 echo "configure: failed program was:" >&5 |
4280 cat conftest.$ac_ext >&5 | 4273 cat conftest.$ac_ext >&5 |
4294 fi | 4287 fi |
4295 | 4288 |
4296 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4289 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4297 | 4290 |
4298 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4291 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4299 echo "configure:4300: checking for dnet_ntoa in -ldnet_stub" >&5 | 4292 echo "configure:4293: checking for dnet_ntoa in -ldnet_stub" >&5 |
4300 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4293 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4301 | 4294 |
4302 xe_check_libs=" -ldnet_stub " | 4295 xe_check_libs=" -ldnet_stub " |
4303 cat > conftest.$ac_ext <<EOF | 4296 cat > conftest.$ac_ext <<EOF |
4304 #line 4305 "configure" | 4297 #line 4298 "configure" |
4305 #include "confdefs.h" | 4298 #include "confdefs.h" |
4306 /* Override any gcc2 internal prototype to avoid an error. */ | 4299 /* Override any gcc2 internal prototype to avoid an error. */ |
4307 /* We use char because int might match the return type of a gcc2 | 4300 /* We use char because int might match the return type of a gcc2 |
4308 builtin and then its argument prototype would still apply. */ | 4301 builtin and then its argument prototype would still apply. */ |
4309 char dnet_ntoa(); | 4302 char dnet_ntoa(); |
4310 | 4303 |
4311 int main() { | 4304 int main() { |
4312 dnet_ntoa() | 4305 dnet_ntoa() |
4313 ; return 0; } | 4306 ; return 0; } |
4314 EOF | 4307 EOF |
4315 if { (eval echo configure:4316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4308 if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4316 rm -rf conftest* | 4309 rm -rf conftest* |
4317 eval "ac_cv_lib_$ac_lib_var=yes" | 4310 eval "ac_cv_lib_$ac_lib_var=yes" |
4318 else | 4311 else |
4319 echo "configure: failed program was:" >&5 | 4312 echo "configure: failed program was:" >&5 |
4320 cat conftest.$ac_ext >&5 | 4313 cat conftest.$ac_ext >&5 |
4339 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4332 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4340 # needs -lnsl. | 4333 # needs -lnsl. |
4341 # The nsl library prevents programs from opening the X display | 4334 # The nsl library prevents programs from opening the X display |
4342 # on Irix 5.2, according to dickey@clark.net. | 4335 # on Irix 5.2, according to dickey@clark.net. |
4343 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4336 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4344 echo "configure:4345: checking for gethostbyname" >&5 | 4337 echo "configure:4338: checking for gethostbyname" >&5 |
4345 | 4338 |
4346 cat > conftest.$ac_ext <<EOF | 4339 cat > conftest.$ac_ext <<EOF |
4347 #line 4348 "configure" | 4340 #line 4341 "configure" |
4348 #include "confdefs.h" | 4341 #include "confdefs.h" |
4349 /* System header to define __stub macros and hopefully few prototypes, | 4342 /* System header to define __stub macros and hopefully few prototypes, |
4350 which can conflict with char gethostbyname(); below. */ | 4343 which can conflict with char gethostbyname(); below. */ |
4351 #include <assert.h> | 4344 #include <assert.h> |
4352 /* Override any gcc2 internal prototype to avoid an error. */ | 4345 /* Override any gcc2 internal prototype to avoid an error. */ |
4365 gethostbyname(); | 4358 gethostbyname(); |
4366 #endif | 4359 #endif |
4367 | 4360 |
4368 ; return 0; } | 4361 ; return 0; } |
4369 EOF | 4362 EOF |
4370 if { (eval echo configure:4371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4363 if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4371 rm -rf conftest* | 4364 rm -rf conftest* |
4372 eval "ac_cv_func_gethostbyname=yes" | 4365 eval "ac_cv_func_gethostbyname=yes" |
4373 else | 4366 else |
4374 echo "configure: failed program was:" >&5 | 4367 echo "configure: failed program was:" >&5 |
4375 cat conftest.$ac_ext >&5 | 4368 cat conftest.$ac_ext >&5 |
4386 fi | 4379 fi |
4387 | 4380 |
4388 if test $ac_cv_func_gethostbyname = no; then | 4381 if test $ac_cv_func_gethostbyname = no; then |
4389 | 4382 |
4390 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4383 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4391 echo "configure:4392: checking for gethostbyname in -lnsl" >&5 | 4384 echo "configure:4385: checking for gethostbyname in -lnsl" >&5 |
4392 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4385 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4393 | 4386 |
4394 xe_check_libs=" -lnsl " | 4387 xe_check_libs=" -lnsl " |
4395 cat > conftest.$ac_ext <<EOF | 4388 cat > conftest.$ac_ext <<EOF |
4396 #line 4397 "configure" | 4389 #line 4390 "configure" |
4397 #include "confdefs.h" | 4390 #include "confdefs.h" |
4398 /* Override any gcc2 internal prototype to avoid an error. */ | 4391 /* Override any gcc2 internal prototype to avoid an error. */ |
4399 /* We use char because int might match the return type of a gcc2 | 4392 /* We use char because int might match the return type of a gcc2 |
4400 builtin and then its argument prototype would still apply. */ | 4393 builtin and then its argument prototype would still apply. */ |
4401 char gethostbyname(); | 4394 char gethostbyname(); |
4402 | 4395 |
4403 int main() { | 4396 int main() { |
4404 gethostbyname() | 4397 gethostbyname() |
4405 ; return 0; } | 4398 ; return 0; } |
4406 EOF | 4399 EOF |
4407 if { (eval echo configure:4408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4400 if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4408 rm -rf conftest* | 4401 rm -rf conftest* |
4409 eval "ac_cv_lib_$ac_lib_var=yes" | 4402 eval "ac_cv_lib_$ac_lib_var=yes" |
4410 else | 4403 else |
4411 echo "configure: failed program was:" >&5 | 4404 echo "configure: failed program was:" >&5 |
4412 cat conftest.$ac_ext >&5 | 4405 cat conftest.$ac_ext >&5 |
4432 # on later versions), says simon@lia.di.epfl.ch: it contains | 4425 # on later versions), says simon@lia.di.epfl.ch: it contains |
4433 # gethostby* variants that don't use the nameserver (or something). | 4426 # gethostby* variants that don't use the nameserver (or something). |
4434 # -lsocket must be given before -lnsl if both are needed. | 4427 # -lsocket must be given before -lnsl if both are needed. |
4435 # We assume that if connect needs -lnsl, so does gethostbyname. | 4428 # We assume that if connect needs -lnsl, so does gethostbyname. |
4436 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4429 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4437 echo "configure:4438: checking for connect" >&5 | 4430 echo "configure:4431: checking for connect" >&5 |
4438 | 4431 |
4439 cat > conftest.$ac_ext <<EOF | 4432 cat > conftest.$ac_ext <<EOF |
4440 #line 4441 "configure" | 4433 #line 4434 "configure" |
4441 #include "confdefs.h" | 4434 #include "confdefs.h" |
4442 /* System header to define __stub macros and hopefully few prototypes, | 4435 /* System header to define __stub macros and hopefully few prototypes, |
4443 which can conflict with char connect(); below. */ | 4436 which can conflict with char connect(); below. */ |
4444 #include <assert.h> | 4437 #include <assert.h> |
4445 /* Override any gcc2 internal prototype to avoid an error. */ | 4438 /* Override any gcc2 internal prototype to avoid an error. */ |
4458 connect(); | 4451 connect(); |
4459 #endif | 4452 #endif |
4460 | 4453 |
4461 ; return 0; } | 4454 ; return 0; } |
4462 EOF | 4455 EOF |
4463 if { (eval echo configure:4464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4464 rm -rf conftest* | 4457 rm -rf conftest* |
4465 eval "ac_cv_func_connect=yes" | 4458 eval "ac_cv_func_connect=yes" |
4466 else | 4459 else |
4467 echo "configure: failed program was:" >&5 | 4460 echo "configure: failed program was:" >&5 |
4468 cat conftest.$ac_ext >&5 | 4461 cat conftest.$ac_ext >&5 |
4481 if test $ac_cv_func_connect = no; then | 4474 if test $ac_cv_func_connect = no; then |
4482 | 4475 |
4483 xe_msg_checking="for connect in -lsocket" | 4476 xe_msg_checking="for connect in -lsocket" |
4484 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4477 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4485 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4478 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4486 echo "configure:4487: checking "$xe_msg_checking"" >&5 | 4479 echo "configure:4480: checking "$xe_msg_checking"" >&5 |
4487 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4480 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4488 | 4481 |
4489 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4482 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4490 cat > conftest.$ac_ext <<EOF | 4483 cat > conftest.$ac_ext <<EOF |
4491 #line 4492 "configure" | 4484 #line 4485 "configure" |
4492 #include "confdefs.h" | 4485 #include "confdefs.h" |
4493 /* Override any gcc2 internal prototype to avoid an error. */ | 4486 /* Override any gcc2 internal prototype to avoid an error. */ |
4494 /* We use char because int might match the return type of a gcc2 | 4487 /* We use char because int might match the return type of a gcc2 |
4495 builtin and then its argument prototype would still apply. */ | 4488 builtin and then its argument prototype would still apply. */ |
4496 char connect(); | 4489 char connect(); |
4497 | 4490 |
4498 int main() { | 4491 int main() { |
4499 connect() | 4492 connect() |
4500 ; return 0; } | 4493 ; return 0; } |
4501 EOF | 4494 EOF |
4502 if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4495 if { (eval echo configure:4496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4503 rm -rf conftest* | 4496 rm -rf conftest* |
4504 eval "ac_cv_lib_$ac_lib_var=yes" | 4497 eval "ac_cv_lib_$ac_lib_var=yes" |
4505 else | 4498 else |
4506 echo "configure: failed program was:" >&5 | 4499 echo "configure: failed program was:" >&5 |
4507 cat conftest.$ac_ext >&5 | 4500 cat conftest.$ac_ext >&5 |
4521 | 4514 |
4522 fi | 4515 fi |
4523 | 4516 |
4524 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4517 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4525 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4518 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4526 echo "configure:4527: checking for remove" >&5 | 4519 echo "configure:4520: checking for remove" >&5 |
4527 | 4520 |
4528 cat > conftest.$ac_ext <<EOF | 4521 cat > conftest.$ac_ext <<EOF |
4529 #line 4530 "configure" | 4522 #line 4523 "configure" |
4530 #include "confdefs.h" | 4523 #include "confdefs.h" |
4531 /* System header to define __stub macros and hopefully few prototypes, | 4524 /* System header to define __stub macros and hopefully few prototypes, |
4532 which can conflict with char remove(); below. */ | 4525 which can conflict with char remove(); below. */ |
4533 #include <assert.h> | 4526 #include <assert.h> |
4534 /* Override any gcc2 internal prototype to avoid an error. */ | 4527 /* Override any gcc2 internal prototype to avoid an error. */ |
4547 remove(); | 4540 remove(); |
4548 #endif | 4541 #endif |
4549 | 4542 |
4550 ; return 0; } | 4543 ; return 0; } |
4551 EOF | 4544 EOF |
4552 if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4545 if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4553 rm -rf conftest* | 4546 rm -rf conftest* |
4554 eval "ac_cv_func_remove=yes" | 4547 eval "ac_cv_func_remove=yes" |
4555 else | 4548 else |
4556 echo "configure: failed program was:" >&5 | 4549 echo "configure: failed program was:" >&5 |
4557 cat conftest.$ac_ext >&5 | 4550 cat conftest.$ac_ext >&5 |
4568 fi | 4561 fi |
4569 | 4562 |
4570 if test $ac_cv_func_remove = no; then | 4563 if test $ac_cv_func_remove = no; then |
4571 | 4564 |
4572 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4565 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4573 echo "configure:4574: checking for remove in -lposix" >&5 | 4566 echo "configure:4567: checking for remove in -lposix" >&5 |
4574 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4567 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4575 | 4568 |
4576 xe_check_libs=" -lposix " | 4569 xe_check_libs=" -lposix " |
4577 cat > conftest.$ac_ext <<EOF | 4570 cat > conftest.$ac_ext <<EOF |
4578 #line 4579 "configure" | 4571 #line 4572 "configure" |
4579 #include "confdefs.h" | 4572 #include "confdefs.h" |
4580 /* Override any gcc2 internal prototype to avoid an error. */ | 4573 /* Override any gcc2 internal prototype to avoid an error. */ |
4581 /* We use char because int might match the return type of a gcc2 | 4574 /* We use char because int might match the return type of a gcc2 |
4582 builtin and then its argument prototype would still apply. */ | 4575 builtin and then its argument prototype would still apply. */ |
4583 char remove(); | 4576 char remove(); |
4584 | 4577 |
4585 int main() { | 4578 int main() { |
4586 remove() | 4579 remove() |
4587 ; return 0; } | 4580 ; return 0; } |
4588 EOF | 4581 EOF |
4589 if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4582 if { (eval echo configure:4583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4590 rm -rf conftest* | 4583 rm -rf conftest* |
4591 eval "ac_cv_lib_$ac_lib_var=yes" | 4584 eval "ac_cv_lib_$ac_lib_var=yes" |
4592 else | 4585 else |
4593 echo "configure: failed program was:" >&5 | 4586 echo "configure: failed program was:" >&5 |
4594 cat conftest.$ac_ext >&5 | 4587 cat conftest.$ac_ext >&5 |
4608 | 4601 |
4609 fi | 4602 fi |
4610 | 4603 |
4611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4604 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4612 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4605 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4613 echo "configure:4614: checking for shmat" >&5 | 4606 echo "configure:4607: checking for shmat" >&5 |
4614 | 4607 |
4615 cat > conftest.$ac_ext <<EOF | 4608 cat > conftest.$ac_ext <<EOF |
4616 #line 4617 "configure" | 4609 #line 4610 "configure" |
4617 #include "confdefs.h" | 4610 #include "confdefs.h" |
4618 /* System header to define __stub macros and hopefully few prototypes, | 4611 /* System header to define __stub macros and hopefully few prototypes, |
4619 which can conflict with char shmat(); below. */ | 4612 which can conflict with char shmat(); below. */ |
4620 #include <assert.h> | 4613 #include <assert.h> |
4621 /* Override any gcc2 internal prototype to avoid an error. */ | 4614 /* Override any gcc2 internal prototype to avoid an error. */ |
4634 shmat(); | 4627 shmat(); |
4635 #endif | 4628 #endif |
4636 | 4629 |
4637 ; return 0; } | 4630 ; return 0; } |
4638 EOF | 4631 EOF |
4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4632 if { (eval echo configure:4633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4640 rm -rf conftest* | 4633 rm -rf conftest* |
4641 eval "ac_cv_func_shmat=yes" | 4634 eval "ac_cv_func_shmat=yes" |
4642 else | 4635 else |
4643 echo "configure: failed program was:" >&5 | 4636 echo "configure: failed program was:" >&5 |
4644 cat conftest.$ac_ext >&5 | 4637 cat conftest.$ac_ext >&5 |
4655 fi | 4648 fi |
4656 | 4649 |
4657 if test $ac_cv_func_shmat = no; then | 4650 if test $ac_cv_func_shmat = no; then |
4658 | 4651 |
4659 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4652 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4660 echo "configure:4661: checking for shmat in -lipc" >&5 | 4653 echo "configure:4654: checking for shmat in -lipc" >&5 |
4661 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4654 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4662 | 4655 |
4663 xe_check_libs=" -lipc " | 4656 xe_check_libs=" -lipc " |
4664 cat > conftest.$ac_ext <<EOF | 4657 cat > conftest.$ac_ext <<EOF |
4665 #line 4666 "configure" | 4658 #line 4659 "configure" |
4666 #include "confdefs.h" | 4659 #include "confdefs.h" |
4667 /* Override any gcc2 internal prototype to avoid an error. */ | 4660 /* Override any gcc2 internal prototype to avoid an error. */ |
4668 /* We use char because int might match the return type of a gcc2 | 4661 /* We use char because int might match the return type of a gcc2 |
4669 builtin and then its argument prototype would still apply. */ | 4662 builtin and then its argument prototype would still apply. */ |
4670 char shmat(); | 4663 char shmat(); |
4671 | 4664 |
4672 int main() { | 4665 int main() { |
4673 shmat() | 4666 shmat() |
4674 ; return 0; } | 4667 ; return 0; } |
4675 EOF | 4668 EOF |
4676 if { (eval echo configure:4677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4669 if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4677 rm -rf conftest* | 4670 rm -rf conftest* |
4678 eval "ac_cv_lib_$ac_lib_var=yes" | 4671 eval "ac_cv_lib_$ac_lib_var=yes" |
4679 else | 4672 else |
4680 echo "configure: failed program was:" >&5 | 4673 echo "configure: failed program was:" >&5 |
4681 cat conftest.$ac_ext >&5 | 4674 cat conftest.$ac_ext >&5 |
4705 # These have to be linked with before -lX11, unlike the other | 4698 # These have to be linked with before -lX11, unlike the other |
4706 # libraries we check for below, so use a different variable. | 4699 # libraries we check for below, so use a different variable. |
4707 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4700 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4708 | 4701 |
4709 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4702 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4710 echo "configure:4711: checking for IceConnectionNumber in -lICE" >&5 | 4703 echo "configure:4704: checking for IceConnectionNumber in -lICE" >&5 |
4711 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4704 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4712 | 4705 |
4713 xe_check_libs=" -lICE " | 4706 xe_check_libs=" -lICE " |
4714 cat > conftest.$ac_ext <<EOF | 4707 cat > conftest.$ac_ext <<EOF |
4715 #line 4716 "configure" | 4708 #line 4709 "configure" |
4716 #include "confdefs.h" | 4709 #include "confdefs.h" |
4717 /* Override any gcc2 internal prototype to avoid an error. */ | 4710 /* Override any gcc2 internal prototype to avoid an error. */ |
4718 /* We use char because int might match the return type of a gcc2 | 4711 /* We use char because int might match the return type of a gcc2 |
4719 builtin and then its argument prototype would still apply. */ | 4712 builtin and then its argument prototype would still apply. */ |
4720 char IceConnectionNumber(); | 4713 char IceConnectionNumber(); |
4721 | 4714 |
4722 int main() { | 4715 int main() { |
4723 IceConnectionNumber() | 4716 IceConnectionNumber() |
4724 ; return 0; } | 4717 ; return 0; } |
4725 EOF | 4718 EOF |
4726 if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4719 if { (eval echo configure:4720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4727 rm -rf conftest* | 4720 rm -rf conftest* |
4728 eval "ac_cv_lib_$ac_lib_var=yes" | 4721 eval "ac_cv_lib_$ac_lib_var=yes" |
4729 else | 4722 else |
4730 echo "configure: failed program was:" >&5 | 4723 echo "configure: failed program was:" >&5 |
4731 cat conftest.$ac_ext >&5 | 4724 cat conftest.$ac_ext >&5 |
4854 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4847 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
4855 echo | 4848 echo |
4856 fi | 4849 fi |
4857 | 4850 |
4858 echo "checking for X defines extracted by xmkmf" 1>&6 | 4851 echo "checking for X defines extracted by xmkmf" 1>&6 |
4859 echo "configure:4860: checking for X defines extracted by xmkmf" >&5 | 4852 echo "configure:4853: checking for X defines extracted by xmkmf" >&5 |
4860 rm -fr conftestdir | 4853 rm -fr conftestdir |
4861 if mkdir conftestdir; then | 4854 if mkdir conftestdir; then |
4862 cd conftestdir | 4855 cd conftestdir |
4863 cat > Imakefile <<'EOF' | 4856 cat > Imakefile <<'EOF' |
4864 xetest: | 4857 xetest: |
4886 done | 4879 done |
4887 fi | 4880 fi |
4888 | 4881 |
4889 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 4882 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
4890 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 4883 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
4891 echo "configure:4892: checking for X11/Intrinsic.h" >&5 | 4884 echo "configure:4885: checking for X11/Intrinsic.h" >&5 |
4892 | 4885 |
4893 cat > conftest.$ac_ext <<EOF | 4886 cat > conftest.$ac_ext <<EOF |
4894 #line 4895 "configure" | 4887 #line 4888 "configure" |
4895 #include "confdefs.h" | 4888 #include "confdefs.h" |
4896 #include <X11/Intrinsic.h> | 4889 #include <X11/Intrinsic.h> |
4897 EOF | 4890 EOF |
4898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4899 { (eval echo configure:4900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4892 { (eval echo configure:4893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4900 ac_err=`grep -v '^ *+' conftest.out` | 4893 ac_err=`grep -v '^ *+' conftest.out` |
4901 if test -z "$ac_err"; then | 4894 if test -z "$ac_err"; then |
4902 rm -rf conftest* | 4895 rm -rf conftest* |
4903 eval "ac_cv_header_$ac_safe=yes" | 4896 eval "ac_cv_header_$ac_safe=yes" |
4904 else | 4897 else |
4918 fi | 4911 fi |
4919 | 4912 |
4920 | 4913 |
4921 | 4914 |
4922 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 4915 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
4923 echo "configure:4924: checking for XOpenDisplay in -lX11" >&5 | 4916 echo "configure:4917: checking for XOpenDisplay in -lX11" >&5 |
4924 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 4917 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
4925 | 4918 |
4926 xe_check_libs=" -lX11 " | 4919 xe_check_libs=" -lX11 " |
4927 cat > conftest.$ac_ext <<EOF | 4920 cat > conftest.$ac_ext <<EOF |
4928 #line 4929 "configure" | 4921 #line 4922 "configure" |
4929 #include "confdefs.h" | 4922 #include "confdefs.h" |
4930 /* Override any gcc2 internal prototype to avoid an error. */ | 4923 /* Override any gcc2 internal prototype to avoid an error. */ |
4931 /* We use char because int might match the return type of a gcc2 | 4924 /* We use char because int might match the return type of a gcc2 |
4932 builtin and then its argument prototype would still apply. */ | 4925 builtin and then its argument prototype would still apply. */ |
4933 char XOpenDisplay(); | 4926 char XOpenDisplay(); |
4934 | 4927 |
4935 int main() { | 4928 int main() { |
4936 XOpenDisplay() | 4929 XOpenDisplay() |
4937 ; return 0; } | 4930 ; return 0; } |
4938 EOF | 4931 EOF |
4939 if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4932 if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4940 rm -rf conftest* | 4933 rm -rf conftest* |
4941 eval "ac_cv_lib_$ac_lib_var=yes" | 4934 eval "ac_cv_lib_$ac_lib_var=yes" |
4942 else | 4935 else |
4943 echo "configure: failed program was:" >&5 | 4936 echo "configure: failed program was:" >&5 |
4944 cat conftest.$ac_ext >&5 | 4937 cat conftest.$ac_ext >&5 |
4959 if test "$have_lib_x11" != "yes"; then | 4952 if test "$have_lib_x11" != "yes"; then |
4960 | 4953 |
4961 xe_msg_checking="for XGetFontProperty in -lX11" | 4954 xe_msg_checking="for XGetFontProperty in -lX11" |
4962 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 4955 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
4963 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4956 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4964 echo "configure:4965: checking "$xe_msg_checking"" >&5 | 4957 echo "configure:4958: checking "$xe_msg_checking"" >&5 |
4965 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 4958 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
4966 | 4959 |
4967 xe_check_libs=" -lX11 -b i486-linuxaout" | 4960 xe_check_libs=" -lX11 -b i486-linuxaout" |
4968 cat > conftest.$ac_ext <<EOF | 4961 cat > conftest.$ac_ext <<EOF |
4969 #line 4970 "configure" | 4962 #line 4963 "configure" |
4970 #include "confdefs.h" | 4963 #include "confdefs.h" |
4971 /* Override any gcc2 internal prototype to avoid an error. */ | 4964 /* Override any gcc2 internal prototype to avoid an error. */ |
4972 /* We use char because int might match the return type of a gcc2 | 4965 /* We use char because int might match the return type of a gcc2 |
4973 builtin and then its argument prototype would still apply. */ | 4966 builtin and then its argument prototype would still apply. */ |
4974 char XGetFontProperty(); | 4967 char XGetFontProperty(); |
4975 | 4968 |
4976 int main() { | 4969 int main() { |
4977 XGetFontProperty() | 4970 XGetFontProperty() |
4978 ; return 0; } | 4971 ; return 0; } |
4979 EOF | 4972 EOF |
4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4973 if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4981 rm -rf conftest* | 4974 rm -rf conftest* |
4982 eval "ac_cv_lib_$ac_lib_var=yes" | 4975 eval "ac_cv_lib_$ac_lib_var=yes" |
4983 else | 4976 else |
4984 echo "configure: failed program was:" >&5 | 4977 echo "configure: failed program was:" >&5 |
4985 cat conftest.$ac_ext >&5 | 4978 cat conftest.$ac_ext >&5 |
5002 libs_x="-lX11" | 4995 libs_x="-lX11" |
5003 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 4996 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5004 | 4997 |
5005 | 4998 |
5006 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 4999 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5007 echo "configure:5008: checking for XShapeSelectInput in -lXext" >&5 | 5000 echo "configure:5001: checking for XShapeSelectInput in -lXext" >&5 |
5008 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5001 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5009 | 5002 |
5010 xe_check_libs=" -lXext " | 5003 xe_check_libs=" -lXext " |
5011 cat > conftest.$ac_ext <<EOF | 5004 cat > conftest.$ac_ext <<EOF |
5012 #line 5013 "configure" | 5005 #line 5006 "configure" |
5013 #include "confdefs.h" | 5006 #include "confdefs.h" |
5014 /* Override any gcc2 internal prototype to avoid an error. */ | 5007 /* Override any gcc2 internal prototype to avoid an error. */ |
5015 /* We use char because int might match the return type of a gcc2 | 5008 /* We use char because int might match the return type of a gcc2 |
5016 builtin and then its argument prototype would still apply. */ | 5009 builtin and then its argument prototype would still apply. */ |
5017 char XShapeSelectInput(); | 5010 char XShapeSelectInput(); |
5018 | 5011 |
5019 int main() { | 5012 int main() { |
5020 XShapeSelectInput() | 5013 XShapeSelectInput() |
5021 ; return 0; } | 5014 ; return 0; } |
5022 EOF | 5015 EOF |
5023 if { (eval echo configure:5024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5024 rm -rf conftest* | 5017 rm -rf conftest* |
5025 eval "ac_cv_lib_$ac_lib_var=yes" | 5018 eval "ac_cv_lib_$ac_lib_var=yes" |
5026 else | 5019 else |
5027 echo "configure: failed program was:" >&5 | 5020 echo "configure: failed program was:" >&5 |
5028 cat conftest.$ac_ext >&5 | 5021 cat conftest.$ac_ext >&5 |
5041 | 5034 |
5042 | 5035 |
5043 | 5036 |
5044 | 5037 |
5045 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5038 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5046 echo "configure:5047: checking for XtOpenDisplay in -lXt" >&5 | 5039 echo "configure:5040: checking for XtOpenDisplay in -lXt" >&5 |
5047 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5040 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5048 | 5041 |
5049 xe_check_libs=" -lXt " | 5042 xe_check_libs=" -lXt " |
5050 cat > conftest.$ac_ext <<EOF | 5043 cat > conftest.$ac_ext <<EOF |
5051 #line 5052 "configure" | 5044 #line 5045 "configure" |
5052 #include "confdefs.h" | 5045 #include "confdefs.h" |
5053 /* Override any gcc2 internal prototype to avoid an error. */ | 5046 /* Override any gcc2 internal prototype to avoid an error. */ |
5054 /* We use char because int might match the return type of a gcc2 | 5047 /* We use char because int might match the return type of a gcc2 |
5055 builtin and then its argument prototype would still apply. */ | 5048 builtin and then its argument prototype would still apply. */ |
5056 char XtOpenDisplay(); | 5049 char XtOpenDisplay(); |
5057 | 5050 |
5058 int main() { | 5051 int main() { |
5059 XtOpenDisplay() | 5052 XtOpenDisplay() |
5060 ; return 0; } | 5053 ; return 0; } |
5061 EOF | 5054 EOF |
5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5055 if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5063 rm -rf conftest* | 5056 rm -rf conftest* |
5064 eval "ac_cv_lib_$ac_lib_var=yes" | 5057 eval "ac_cv_lib_$ac_lib_var=yes" |
5065 else | 5058 else |
5066 echo "configure: failed program was:" >&5 | 5059 echo "configure: failed program was:" >&5 |
5067 cat conftest.$ac_ext >&5 | 5060 cat conftest.$ac_ext >&5 |
5080 fi | 5073 fi |
5081 | 5074 |
5082 | 5075 |
5083 | 5076 |
5084 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5077 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5085 echo "configure:5086: checking the version of X11 being used" >&5 | 5078 echo "configure:5079: checking the version of X11 being used" >&5 |
5086 cat > conftest.$ac_ext <<EOF | 5079 cat > conftest.$ac_ext <<EOF |
5087 #line 5088 "configure" | 5080 #line 5081 "configure" |
5088 #include "confdefs.h" | 5081 #include "confdefs.h" |
5089 #include <X11/Intrinsic.h> | 5082 #include <X11/Intrinsic.h> |
5090 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5083 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5091 EOF | 5084 EOF |
5092 if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5085 if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5093 then | 5086 then |
5094 ./conftest foobar; x11_release=$? | 5087 ./conftest foobar; x11_release=$? |
5095 else | 5088 else |
5096 echo "configure: failed program was:" >&5 | 5089 echo "configure: failed program was:" >&5 |
5097 cat conftest.$ac_ext >&5 | 5090 cat conftest.$ac_ext >&5 |
5111 | 5104 |
5112 for ac_hdr in X11/Xlocale.h | 5105 for ac_hdr in X11/Xlocale.h |
5113 do | 5106 do |
5114 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5107 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5115 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5108 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5116 echo "configure:5117: checking for $ac_hdr" >&5 | 5109 echo "configure:5110: checking for $ac_hdr" >&5 |
5117 | 5110 |
5118 cat > conftest.$ac_ext <<EOF | 5111 cat > conftest.$ac_ext <<EOF |
5119 #line 5120 "configure" | 5112 #line 5113 "configure" |
5120 #include "confdefs.h" | 5113 #include "confdefs.h" |
5121 #include <$ac_hdr> | 5114 #include <$ac_hdr> |
5122 EOF | 5115 EOF |
5123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5124 { (eval echo configure:5125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5117 { (eval echo configure:5118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5125 ac_err=`grep -v '^ *+' conftest.out` | 5118 ac_err=`grep -v '^ *+' conftest.out` |
5126 if test -z "$ac_err"; then | 5119 if test -z "$ac_err"; then |
5127 rm -rf conftest* | 5120 rm -rf conftest* |
5128 eval "ac_cv_header_$ac_safe=yes" | 5121 eval "ac_cv_header_$ac_safe=yes" |
5129 else | 5122 else |
5150 fi | 5143 fi |
5151 done | 5144 done |
5152 | 5145 |
5153 | 5146 |
5154 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5147 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5155 echo "configure:5156: checking for XFree86" >&5 | 5148 echo "configure:5149: checking for XFree86" >&5 |
5156 if test -d "/usr/X386/include" -o \ | 5149 if test -d "/usr/X386/include" -o \ |
5157 -f "/etc/XF86Config" -o \ | 5150 -f "/etc/XF86Config" -o \ |
5158 -f "/etc/X11/XF86Config" -o \ | 5151 -f "/etc/X11/XF86Config" -o \ |
5159 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5152 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5160 echo "$ac_t""yes" 1>&6 | 5153 echo "$ac_t""yes" 1>&6 |
5170 echo "$ac_t""no" 1>&6 | 5163 echo "$ac_t""no" 1>&6 |
5171 fi | 5164 fi |
5172 | 5165 |
5173 test -z "$with_xmu" && { | 5166 test -z "$with_xmu" && { |
5174 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5167 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5175 echo "configure:5176: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5168 echo "configure:5169: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5176 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5169 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5177 | 5170 |
5178 xe_check_libs=" -lXmu " | 5171 xe_check_libs=" -lXmu " |
5179 cat > conftest.$ac_ext <<EOF | 5172 cat > conftest.$ac_ext <<EOF |
5180 #line 5181 "configure" | 5173 #line 5174 "configure" |
5181 #include "confdefs.h" | 5174 #include "confdefs.h" |
5182 /* Override any gcc2 internal prototype to avoid an error. */ | 5175 /* Override any gcc2 internal prototype to avoid an error. */ |
5183 /* We use char because int might match the return type of a gcc2 | 5176 /* We use char because int might match the return type of a gcc2 |
5184 builtin and then its argument prototype would still apply. */ | 5177 builtin and then its argument prototype would still apply. */ |
5185 char XmuReadBitmapDataFromFile(); | 5178 char XmuReadBitmapDataFromFile(); |
5186 | 5179 |
5187 int main() { | 5180 int main() { |
5188 XmuReadBitmapDataFromFile() | 5181 XmuReadBitmapDataFromFile() |
5189 ; return 0; } | 5182 ; return 0; } |
5190 EOF | 5183 EOF |
5191 if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5184 if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5192 rm -rf conftest* | 5185 rm -rf conftest* |
5193 eval "ac_cv_lib_$ac_lib_var=yes" | 5186 eval "ac_cv_lib_$ac_lib_var=yes" |
5194 else | 5187 else |
5195 echo "configure: failed program was:" >&5 | 5188 echo "configure: failed program was:" >&5 |
5196 cat conftest.$ac_ext >&5 | 5189 cat conftest.$ac_ext >&5 |
5225 | 5218 |
5226 fi | 5219 fi |
5227 | 5220 |
5228 | 5221 |
5229 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5222 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5230 echo "configure:5231: checking for main in -lXbsd" >&5 | 5223 echo "configure:5224: checking for main in -lXbsd" >&5 |
5231 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5224 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5232 | 5225 |
5233 xe_check_libs=" -lXbsd " | 5226 xe_check_libs=" -lXbsd " |
5234 cat > conftest.$ac_ext <<EOF | 5227 cat > conftest.$ac_ext <<EOF |
5235 #line 5236 "configure" | 5228 #line 5229 "configure" |
5236 #include "confdefs.h" | 5229 #include "confdefs.h" |
5237 | 5230 |
5238 int main() { | 5231 int main() { |
5239 main() | 5232 main() |
5240 ; return 0; } | 5233 ; return 0; } |
5241 EOF | 5234 EOF |
5242 if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5235 if { (eval echo configure:5236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5243 rm -rf conftest* | 5236 rm -rf conftest* |
5244 eval "ac_cv_lib_$ac_lib_var=yes" | 5237 eval "ac_cv_lib_$ac_lib_var=yes" |
5245 else | 5238 else |
5246 echo "configure: failed program was:" >&5 | 5239 echo "configure: failed program was:" >&5 |
5247 cat conftest.$ac_ext >&5 | 5240 cat conftest.$ac_ext >&5 |
5291 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5284 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5292 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5285 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5293 esac | 5286 esac |
5294 | 5287 |
5295 echo "checking for session-management option" 1>&6 | 5288 echo "checking for session-management option" 1>&6 |
5296 echo "configure:5297: checking for session-management option" >&5; | 5289 echo "configure:5290: checking for session-management option" >&5; |
5297 if test "$with_session" = "yes"; then | 5290 if test "$with_session" = "yes"; then |
5298 { test "$extra_verbose" = "yes" && cat << \EOF | 5291 { test "$extra_verbose" = "yes" && cat << \EOF |
5299 Defining HAVE_SESSION | 5292 Defining HAVE_SESSION |
5300 EOF | 5293 EOF |
5301 cat >> confdefs.h <<\EOF | 5294 cat >> confdefs.h <<\EOF |
5306 fi | 5299 fi |
5307 | 5300 |
5308 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5301 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5309 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5302 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5310 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5303 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5311 echo "configure:5312: checking for X11/Xauth.h" >&5 | 5304 echo "configure:5305: checking for X11/Xauth.h" >&5 |
5312 | 5305 |
5313 cat > conftest.$ac_ext <<EOF | 5306 cat > conftest.$ac_ext <<EOF |
5314 #line 5315 "configure" | 5307 #line 5308 "configure" |
5315 #include "confdefs.h" | 5308 #include "confdefs.h" |
5316 #include <X11/Xauth.h> | 5309 #include <X11/Xauth.h> |
5317 EOF | 5310 EOF |
5318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5319 { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5312 { (eval echo configure:5313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5320 ac_err=`grep -v '^ *+' conftest.out` | 5313 ac_err=`grep -v '^ *+' conftest.out` |
5321 if test -z "$ac_err"; then | 5314 if test -z "$ac_err"; then |
5322 rm -rf conftest* | 5315 rm -rf conftest* |
5323 eval "ac_cv_header_$ac_safe=yes" | 5316 eval "ac_cv_header_$ac_safe=yes" |
5324 else | 5317 else |
5337 with_xauth=no | 5330 with_xauth=no |
5338 fi | 5331 fi |
5339 } | 5332 } |
5340 test -z "$with_xauth" && { | 5333 test -z "$with_xauth" && { |
5341 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5334 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5342 echo "configure:5343: checking for XauGetAuthByAddr in -lXau" >&5 | 5335 echo "configure:5336: checking for XauGetAuthByAddr in -lXau" >&5 |
5343 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5336 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5344 | 5337 |
5345 xe_check_libs=" -lXau " | 5338 xe_check_libs=" -lXau " |
5346 cat > conftest.$ac_ext <<EOF | 5339 cat > conftest.$ac_ext <<EOF |
5347 #line 5348 "configure" | 5340 #line 5341 "configure" |
5348 #include "confdefs.h" | 5341 #include "confdefs.h" |
5349 /* Override any gcc2 internal prototype to avoid an error. */ | 5342 /* Override any gcc2 internal prototype to avoid an error. */ |
5350 /* We use char because int might match the return type of a gcc2 | 5343 /* We use char because int might match the return type of a gcc2 |
5351 builtin and then its argument prototype would still apply. */ | 5344 builtin and then its argument prototype would still apply. */ |
5352 char XauGetAuthByAddr(); | 5345 char XauGetAuthByAddr(); |
5353 | 5346 |
5354 int main() { | 5347 int main() { |
5355 XauGetAuthByAddr() | 5348 XauGetAuthByAddr() |
5356 ; return 0; } | 5349 ; return 0; } |
5357 EOF | 5350 EOF |
5358 if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5351 if { (eval echo configure:5352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5359 rm -rf conftest* | 5352 rm -rf conftest* |
5360 eval "ac_cv_lib_$ac_lib_var=yes" | 5353 eval "ac_cv_lib_$ac_lib_var=yes" |
5361 else | 5354 else |
5362 echo "configure: failed program was:" >&5 | 5355 echo "configure: failed program was:" >&5 |
5363 cat conftest.$ac_ext >&5 | 5356 cat conftest.$ac_ext >&5 |
5413 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5406 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5414 if test "$with_tooltalk" != "no" ; then | 5407 if test "$with_tooltalk" != "no" ; then |
5415 for dir in "" "Tt/" "desktop/" ; do | 5408 for dir in "" "Tt/" "desktop/" ; do |
5416 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5409 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5417 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5410 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5418 echo "configure:5419: checking for ${dir}tt_c.h" >&5 | 5411 echo "configure:5412: checking for ${dir}tt_c.h" >&5 |
5419 | 5412 |
5420 cat > conftest.$ac_ext <<EOF | 5413 cat > conftest.$ac_ext <<EOF |
5421 #line 5422 "configure" | 5414 #line 5415 "configure" |
5422 #include "confdefs.h" | 5415 #include "confdefs.h" |
5423 #include <${dir}tt_c.h> | 5416 #include <${dir}tt_c.h> |
5424 EOF | 5417 EOF |
5425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5426 { (eval echo configure:5427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5419 { (eval echo configure:5420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5427 ac_err=`grep -v '^ *+' conftest.out` | 5420 ac_err=`grep -v '^ *+' conftest.out` |
5428 if test -z "$ac_err"; then | 5421 if test -z "$ac_err"; then |
5429 rm -rf conftest* | 5422 rm -rf conftest* |
5430 eval "ac_cv_header_$ac_safe=yes" | 5423 eval "ac_cv_header_$ac_safe=yes" |
5431 else | 5424 else |
5450 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5443 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5451 | 5444 |
5452 xe_msg_checking="for tt_message_create in -ltt" | 5445 xe_msg_checking="for tt_message_create in -ltt" |
5453 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5446 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5454 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5447 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5455 echo "configure:5456: checking "$xe_msg_checking"" >&5 | 5448 echo "configure:5449: checking "$xe_msg_checking"" >&5 |
5456 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5449 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5457 | 5450 |
5458 xe_check_libs=" -ltt $extra_libs" | 5451 xe_check_libs=" -ltt $extra_libs" |
5459 cat > conftest.$ac_ext <<EOF | 5452 cat > conftest.$ac_ext <<EOF |
5460 #line 5461 "configure" | 5453 #line 5454 "configure" |
5461 #include "confdefs.h" | 5454 #include "confdefs.h" |
5462 /* Override any gcc2 internal prototype to avoid an error. */ | 5455 /* Override any gcc2 internal prototype to avoid an error. */ |
5463 /* We use char because int might match the return type of a gcc2 | 5456 /* We use char because int might match the return type of a gcc2 |
5464 builtin and then its argument prototype would still apply. */ | 5457 builtin and then its argument prototype would still apply. */ |
5465 char tt_message_create(); | 5458 char tt_message_create(); |
5466 | 5459 |
5467 int main() { | 5460 int main() { |
5468 tt_message_create() | 5461 tt_message_create() |
5469 ; return 0; } | 5462 ; return 0; } |
5470 EOF | 5463 EOF |
5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5472 rm -rf conftest* | 5465 rm -rf conftest* |
5473 eval "ac_cv_lib_$ac_lib_var=yes" | 5466 eval "ac_cv_lib_$ac_lib_var=yes" |
5474 else | 5467 else |
5475 echo "configure: failed program was:" >&5 | 5468 echo "configure: failed program was:" >&5 |
5476 cat conftest.$ac_ext >&5 | 5469 cat conftest.$ac_ext >&5 |
5515 fi | 5508 fi |
5516 fi | 5509 fi |
5517 | 5510 |
5518 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5511 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5519 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5512 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5520 echo "configure:5521: checking for Dt/Dt.h" >&5 | 5513 echo "configure:5514: checking for Dt/Dt.h" >&5 |
5521 | 5514 |
5522 cat > conftest.$ac_ext <<EOF | 5515 cat > conftest.$ac_ext <<EOF |
5523 #line 5524 "configure" | 5516 #line 5517 "configure" |
5524 #include "confdefs.h" | 5517 #include "confdefs.h" |
5525 #include <Dt/Dt.h> | 5518 #include <Dt/Dt.h> |
5526 EOF | 5519 EOF |
5527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5528 { (eval echo configure:5529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5521 { (eval echo configure:5522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5529 ac_err=`grep -v '^ *+' conftest.out` | 5522 ac_err=`grep -v '^ *+' conftest.out` |
5530 if test -z "$ac_err"; then | 5523 if test -z "$ac_err"; then |
5531 rm -rf conftest* | 5524 rm -rf conftest* |
5532 eval "ac_cv_header_$ac_safe=yes" | 5525 eval "ac_cv_header_$ac_safe=yes" |
5533 else | 5526 else |
5546 with_cde=no | 5539 with_cde=no |
5547 fi | 5540 fi |
5548 } | 5541 } |
5549 test -z "$with_cde" && { | 5542 test -z "$with_cde" && { |
5550 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5543 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5551 echo "configure:5552: checking for DtDndDragStart in -lDtSvc" >&5 | 5544 echo "configure:5545: checking for DtDndDragStart in -lDtSvc" >&5 |
5552 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5545 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5553 | 5546 |
5554 xe_check_libs=" -lDtSvc " | 5547 xe_check_libs=" -lDtSvc " |
5555 cat > conftest.$ac_ext <<EOF | 5548 cat > conftest.$ac_ext <<EOF |
5556 #line 5557 "configure" | 5549 #line 5550 "configure" |
5557 #include "confdefs.h" | 5550 #include "confdefs.h" |
5558 /* Override any gcc2 internal prototype to avoid an error. */ | 5551 /* Override any gcc2 internal prototype to avoid an error. */ |
5559 /* We use char because int might match the return type of a gcc2 | 5552 /* We use char because int might match the return type of a gcc2 |
5560 builtin and then its argument prototype would still apply. */ | 5553 builtin and then its argument prototype would still apply. */ |
5561 char DtDndDragStart(); | 5554 char DtDndDragStart(); |
5562 | 5555 |
5563 int main() { | 5556 int main() { |
5564 DtDndDragStart() | 5557 DtDndDragStart() |
5565 ; return 0; } | 5558 ; return 0; } |
5566 EOF | 5559 EOF |
5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5560 if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5568 rm -rf conftest* | 5561 rm -rf conftest* |
5569 eval "ac_cv_lib_$ac_lib_var=yes" | 5562 eval "ac_cv_lib_$ac_lib_var=yes" |
5570 else | 5563 else |
5571 echo "configure: failed program was:" >&5 | 5564 echo "configure: failed program was:" >&5 |
5572 cat conftest.$ac_ext >&5 | 5565 cat conftest.$ac_ext >&5 |
5598 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi | 5591 libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi |
5599 with_tooltalk=yes # CDE requires Tooltalk | 5592 with_tooltalk=yes # CDE requires Tooltalk |
5600 need_motif=yes # CDE requires Motif | 5593 need_motif=yes # CDE requires Motif |
5601 fi | 5594 fi |
5602 | 5595 |
5603 if test "$with_energize" = "yes" ; then | |
5604 { test "$extra_verbose" = "yes" && cat << \EOF | |
5605 Defining ENERGIZE | |
5606 EOF | |
5607 cat >> confdefs.h <<\EOF | |
5608 #define ENERGIZE 1 | |
5609 EOF | |
5610 } | |
5611 | |
5612 | |
5613 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | |
5614 echo "configure:5615: checking for main in -lenergize" >&5 | |
5615 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | |
5616 | |
5617 xe_check_libs=" -lenergize " | |
5618 cat > conftest.$ac_ext <<EOF | |
5619 #line 5620 "configure" | |
5620 #include "confdefs.h" | |
5621 | |
5622 int main() { | |
5623 main() | |
5624 ; return 0; } | |
5625 EOF | |
5626 if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5627 rm -rf conftest* | |
5628 eval "ac_cv_lib_$ac_lib_var=yes" | |
5629 else | |
5630 echo "configure: failed program was:" >&5 | |
5631 cat conftest.$ac_ext >&5 | |
5632 rm -rf conftest* | |
5633 eval "ac_cv_lib_$ac_lib_var=no" | |
5634 fi | |
5635 rm -f conftest* | |
5636 xe_check_libs="" | |
5637 | |
5638 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5639 echo "$ac_t""yes" 1>&6 | |
5640 LIBS="-lenergize $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lenergize\" to \$LIBS"; fi | |
5641 energize_version="3.X" | |
5642 { test "$extra_verbose" = "yes" && cat << \EOF | |
5643 Defining ENERGIZE_3 | |
5644 EOF | |
5645 cat >> confdefs.h <<\EOF | |
5646 #define ENERGIZE_3 1 | |
5647 EOF | |
5648 } | |
5649 | |
5650 else | |
5651 echo "$ac_t""no" 1>&6 | |
5652 fi | |
5653 | |
5654 | |
5655 if test -z "$energize_version"; then | |
5656 | |
5657 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | |
5658 echo "configure:5659: checking for main in -lconn" >&5 | |
5659 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | |
5660 | |
5661 xe_check_libs=" -lconn " | |
5662 cat > conftest.$ac_ext <<EOF | |
5663 #line 5664 "configure" | |
5664 #include "confdefs.h" | |
5665 | |
5666 int main() { | |
5667 main() | |
5668 ; return 0; } | |
5669 EOF | |
5670 if { (eval echo configure:5671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5671 rm -rf conftest* | |
5672 eval "ac_cv_lib_$ac_lib_var=yes" | |
5673 else | |
5674 echo "configure: failed program was:" >&5 | |
5675 cat conftest.$ac_ext >&5 | |
5676 rm -rf conftest* | |
5677 eval "ac_cv_lib_$ac_lib_var=no" | |
5678 fi | |
5679 rm -f conftest* | |
5680 xe_check_libs="" | |
5681 | |
5682 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5683 echo "$ac_t""yes" 1>&6 | |
5684 LIBS="-lconn $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lconn\" to \$LIBS"; fi | |
5685 energize_version="2.X" | |
5686 { test "$extra_verbose" = "yes" && cat << \EOF | |
5687 Defining ENERGIZE_2 | |
5688 EOF | |
5689 cat >> confdefs.h <<\EOF | |
5690 #define ENERGIZE_2 1 | |
5691 EOF | |
5692 } | |
5693 | |
5694 else | |
5695 echo "$ac_t""no" 1>&6 | |
5696 { echo "configure: error: Unable to find Energize library." 1>&2; exit 1; } | |
5697 fi | |
5698 | |
5699 | |
5700 fi | |
5701 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | |
5702 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | |
5703 echo "configure:5704: checking for editorconn.h" >&5 | |
5704 | |
5705 cat > conftest.$ac_ext <<EOF | |
5706 #line 5707 "configure" | |
5707 #include "confdefs.h" | |
5708 #include <editorconn.h> | |
5709 EOF | |
5710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
5711 { (eval echo configure:5712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
5712 ac_err=`grep -v '^ *+' conftest.out` | |
5713 if test -z "$ac_err"; then | |
5714 rm -rf conftest* | |
5715 eval "ac_cv_header_$ac_safe=yes" | |
5716 else | |
5717 echo "$ac_err" >&5 | |
5718 echo "configure: failed program was:" >&5 | |
5719 cat conftest.$ac_ext >&5 | |
5720 rm -rf conftest* | |
5721 eval "ac_cv_header_$ac_safe=no" | |
5722 fi | |
5723 rm -f conftest* | |
5724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
5725 echo "$ac_t""yes" 1>&6 | |
5726 : | |
5727 else | |
5728 echo "$ac_t""no" 1>&6 | |
5729 { echo "configure: error: Unable to find Energize editorconn.h header file." 1>&2; exit 1; } | |
5730 fi | |
5731 | |
5732 | |
5733 test "$energize_version" = "2.X" && { test "$extra_verbose" = "yes" && cat << \EOF | |
5734 Defining ENERGIZE_2 | |
5735 EOF | |
5736 cat >> confdefs.h <<\EOF | |
5737 #define ENERGIZE_2 1 | |
5738 EOF | |
5739 } | |
5740 | |
5741 test "$energize_version" = "3.X" && { test "$extra_verbose" = "yes" && cat << \EOF | |
5742 Defining ENERGIZE_3 | |
5743 EOF | |
5744 cat >> confdefs.h <<\EOF | |
5745 #define ENERGIZE_3 1 | |
5746 EOF | |
5747 } | |
5748 | |
5749 fi | |
5750 | |
5751 | 5596 |
5752 if test "$with_x11" = "yes"; then | 5597 if test "$with_x11" = "yes"; then |
5753 | 5598 |
5754 echo "checking for X11 graphics libraries" 1>&6 | 5599 echo "checking for X11 graphics libraries" 1>&6 |
5755 echo "configure:5756: checking for X11 graphics libraries" >&5 | 5600 echo "configure:5601: checking for X11 graphics libraries" >&5 |
5756 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5601 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
5757 echo "configure:5758: checking for Xpm - no older than 3.4f" >&5 | 5602 echo "configure:5603: checking for Xpm - no older than 3.4f" >&5 |
5758 xe_check_libs=-lXpm | 5603 xe_check_libs=-lXpm |
5759 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5604 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
5760 #line 5761 "configure" | 5605 #line 5606 "configure" |
5761 #include "confdefs.h" | 5606 #include "confdefs.h" |
5762 #include <X11/xpm.h> | 5607 #include <X11/xpm.h> |
5763 int main(int c, char **v) { | 5608 int main(int c, char **v) { |
5764 return c == 1 ? 0 : | 5609 return c == 1 ? 0 : |
5765 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5610 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
5766 XpmIncludeVersion < 30406 ? 2 : | 5611 XpmIncludeVersion < 30406 ? 2 : |
5767 0 ; | 5612 0 ; |
5768 } | 5613 } |
5769 EOF | 5614 EOF |
5770 if { (eval echo configure:5771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5615 if { (eval echo configure:5616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5771 then | 5616 then |
5772 ./conftest foobar; xpm_status=$?; | 5617 ./conftest foobar; xpm_status=$?; |
5773 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5618 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
5774 else | 5619 else |
5775 echo "configure: failed program was:" >&5 | 5620 echo "configure: failed program was:" >&5 |
5803 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5648 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
5804 fi | 5649 fi |
5805 | 5650 |
5806 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5651 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
5807 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5652 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
5808 echo "configure:5809: checking for compface.h" >&5 | 5653 echo "configure:5654: checking for compface.h" >&5 |
5809 | 5654 |
5810 cat > conftest.$ac_ext <<EOF | 5655 cat > conftest.$ac_ext <<EOF |
5811 #line 5812 "configure" | 5656 #line 5657 "configure" |
5812 #include "confdefs.h" | 5657 #include "confdefs.h" |
5813 #include <compface.h> | 5658 #include <compface.h> |
5814 EOF | 5659 EOF |
5815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5816 { (eval echo configure:5817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5661 { (eval echo configure:5662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5817 ac_err=`grep -v '^ *+' conftest.out` | 5662 ac_err=`grep -v '^ *+' conftest.out` |
5818 if test -z "$ac_err"; then | 5663 if test -z "$ac_err"; then |
5819 rm -rf conftest* | 5664 rm -rf conftest* |
5820 eval "ac_cv_header_$ac_safe=yes" | 5665 eval "ac_cv_header_$ac_safe=yes" |
5821 else | 5666 else |
5834 with_xface=no | 5679 with_xface=no |
5835 fi | 5680 fi |
5836 } | 5681 } |
5837 test -z "$with_xface" && { | 5682 test -z "$with_xface" && { |
5838 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5683 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
5839 echo "configure:5840: checking for UnGenFace in -lcompface" >&5 | 5684 echo "configure:5685: checking for UnGenFace in -lcompface" >&5 |
5840 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5685 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
5841 | 5686 |
5842 xe_check_libs=" -lcompface " | 5687 xe_check_libs=" -lcompface " |
5843 cat > conftest.$ac_ext <<EOF | 5688 cat > conftest.$ac_ext <<EOF |
5844 #line 5845 "configure" | 5689 #line 5690 "configure" |
5845 #include "confdefs.h" | 5690 #include "confdefs.h" |
5846 /* Override any gcc2 internal prototype to avoid an error. */ | 5691 /* Override any gcc2 internal prototype to avoid an error. */ |
5847 /* We use char because int might match the return type of a gcc2 | 5692 /* We use char because int might match the return type of a gcc2 |
5848 builtin and then its argument prototype would still apply. */ | 5693 builtin and then its argument prototype would still apply. */ |
5849 char UnGenFace(); | 5694 char UnGenFace(); |
5850 | 5695 |
5851 int main() { | 5696 int main() { |
5852 UnGenFace() | 5697 UnGenFace() |
5853 ; return 0; } | 5698 ; return 0; } |
5854 EOF | 5699 EOF |
5855 if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5700 if { (eval echo configure:5701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5856 rm -rf conftest* | 5701 rm -rf conftest* |
5857 eval "ac_cv_lib_$ac_lib_var=yes" | 5702 eval "ac_cv_lib_$ac_lib_var=yes" |
5858 else | 5703 else |
5859 echo "configure: failed program was:" >&5 | 5704 echo "configure: failed program was:" >&5 |
5860 cat conftest.$ac_ext >&5 | 5705 cat conftest.$ac_ext >&5 |
5886 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5731 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
5887 fi | 5732 fi |
5888 | 5733 |
5889 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` | 5734 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` |
5890 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 | 5735 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 |
5891 echo "configure:5892: checking for magick/magick.h" >&5 | 5736 echo "configure:5737: checking for magick/magick.h" >&5 |
5892 | 5737 |
5893 cat > conftest.$ac_ext <<EOF | 5738 cat > conftest.$ac_ext <<EOF |
5894 #line 5895 "configure" | 5739 #line 5740 "configure" |
5895 #include "confdefs.h" | 5740 #include "confdefs.h" |
5896 #include <magick/magick.h> | 5741 #include <magick/magick.h> |
5897 EOF | 5742 EOF |
5898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5899 { (eval echo configure:5900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5744 { (eval echo configure:5745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5900 ac_err=`grep -v '^ *+' conftest.out` | 5745 ac_err=`grep -v '^ *+' conftest.out` |
5901 if test -z "$ac_err"; then | 5746 if test -z "$ac_err"; then |
5902 rm -rf conftest* | 5747 rm -rf conftest* |
5903 eval "ac_cv_header_$ac_safe=yes" | 5748 eval "ac_cv_header_$ac_safe=yes" |
5904 else | 5749 else |
5915 else | 5760 else |
5916 echo "$ac_t""no" 1>&6 | 5761 echo "$ac_t""no" 1>&6 |
5917 with_imagick=no | 5762 with_imagick=no |
5918 fi | 5763 fi |
5919 } | 5764 } |
5765 test -z "$with_imagick" && { | |
5766 imagick_libs="" | |
5767 | |
5768 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 | |
5769 echo "configure:5770: checking for XDPSPixelsPerPoint in -ldps" >&5 | |
5770 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` | |
5771 | |
5772 xe_check_libs="-ldpstk -ldps " | |
5773 cat > conftest.$ac_ext <<EOF | |
5774 #line 5775 "configure" | |
5775 #include "confdefs.h" | |
5776 /* Override any gcc2 internal prototype to avoid an error. */ | |
5777 /* We use char because int might match the return type of a gcc2 | |
5778 builtin and then its argument prototype would still apply. */ | |
5779 char XDPSPixelsPerPoint(); | |
5780 | |
5781 int main() { | |
5782 XDPSPixelsPerPoint() | |
5783 ; return 0; } | |
5784 EOF | |
5785 if { (eval echo configure:5786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5786 rm -rf conftest* | |
5787 eval "ac_cv_lib_$ac_lib_var=yes" | |
5788 else | |
5789 echo "configure: failed program was:" >&5 | |
5790 cat conftest.$ac_ext >&5 | |
5791 rm -rf conftest* | |
5792 eval "ac_cv_lib_$ac_lib_var=no" | |
5793 fi | |
5794 rm -f conftest* | |
5795 xe_check_libs="" | |
5796 | |
5797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5798 echo "$ac_t""yes" 1>&6 | |
5799 imagick_libs="$imagick_libs -ldpstk -ldps" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ldpstk -ldps\" to \$imagick_libs"; fi | |
5800 else | |
5801 echo "$ac_t""no" 1>&6 | |
5802 fi | |
5803 | |
5804 | |
5805 | |
5806 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 | |
5807 echo "configure:5808: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 | |
5808 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` | |
5809 | |
5810 xe_check_libs=" -lfpx " | |
5811 cat > conftest.$ac_ext <<EOF | |
5812 #line 5813 "configure" | |
5813 #include "confdefs.h" | |
5814 /* Override any gcc2 internal prototype to avoid an error. */ | |
5815 /* We use char because int might match the return type of a gcc2 | |
5816 builtin and then its argument prototype would still apply. */ | |
5817 char FPX_SetToolkitMemoryLimit(); | |
5818 | |
5819 int main() { | |
5820 FPX_SetToolkitMemoryLimit() | |
5821 ; return 0; } | |
5822 EOF | |
5823 if { (eval echo configure:5824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5824 rm -rf conftest* | |
5825 eval "ac_cv_lib_$ac_lib_var=yes" | |
5826 else | |
5827 echo "configure: failed program was:" >&5 | |
5828 cat conftest.$ac_ext >&5 | |
5829 rm -rf conftest* | |
5830 eval "ac_cv_lib_$ac_lib_var=no" | |
5831 fi | |
5832 rm -f conftest* | |
5833 xe_check_libs="" | |
5834 | |
5835 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5836 echo "$ac_t""yes" 1>&6 | |
5837 imagick_libs="$imagick_libs -lfpx" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lfpx\" to \$imagick_libs"; fi | |
5838 else | |
5839 echo "$ac_t""no" 1>&6 | |
5840 fi | |
5841 | |
5842 | |
5843 | |
5844 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 | |
5845 echo "configure:5846: checking for DF24getdims in -ldf" >&5 | |
5846 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` | |
5847 | |
5848 xe_check_libs=" -ldf " | |
5849 cat > conftest.$ac_ext <<EOF | |
5850 #line 5851 "configure" | |
5851 #include "confdefs.h" | |
5852 /* Override any gcc2 internal prototype to avoid an error. */ | |
5853 /* We use char because int might match the return type of a gcc2 | |
5854 builtin and then its argument prototype would still apply. */ | |
5855 char DF24getdims(); | |
5856 | |
5857 int main() { | |
5858 DF24getdims() | |
5859 ; return 0; } | |
5860 EOF | |
5861 if { (eval echo configure:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5862 rm -rf conftest* | |
5863 eval "ac_cv_lib_$ac_lib_var=yes" | |
5864 else | |
5865 echo "configure: failed program was:" >&5 | |
5866 cat conftest.$ac_ext >&5 | |
5867 rm -rf conftest* | |
5868 eval "ac_cv_lib_$ac_lib_var=no" | |
5869 fi | |
5870 rm -f conftest* | |
5871 xe_check_libs="" | |
5872 | |
5873 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5874 echo "$ac_t""yes" 1>&6 | |
5875 imagick_libs="$imagick_libs -ldf" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ldf\" to \$imagick_libs"; fi | |
5876 else | |
5877 echo "$ac_t""no" 1>&6 | |
5878 fi | |
5879 | |
5880 | |
5881 | |
5882 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 | |
5883 echo "configure:5884: checking for jbg_dec_init in -ljbig" >&5 | |
5884 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` | |
5885 | |
5886 xe_check_libs=" -ljbig " | |
5887 cat > conftest.$ac_ext <<EOF | |
5888 #line 5889 "configure" | |
5889 #include "confdefs.h" | |
5890 /* Override any gcc2 internal prototype to avoid an error. */ | |
5891 /* We use char because int might match the return type of a gcc2 | |
5892 builtin and then its argument prototype would still apply. */ | |
5893 char jbg_dec_init(); | |
5894 | |
5895 int main() { | |
5896 jbg_dec_init() | |
5897 ; return 0; } | |
5898 EOF | |
5899 if { (eval echo configure:5900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5900 rm -rf conftest* | |
5901 eval "ac_cv_lib_$ac_lib_var=yes" | |
5902 else | |
5903 echo "configure: failed program was:" >&5 | |
5904 cat conftest.$ac_ext >&5 | |
5905 rm -rf conftest* | |
5906 eval "ac_cv_lib_$ac_lib_var=no" | |
5907 fi | |
5908 rm -f conftest* | |
5909 xe_check_libs="" | |
5910 | |
5911 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5912 echo "$ac_t""yes" 1>&6 | |
5913 imagick_libs="$imagick_libs -ljbig" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ljbig\" to \$imagick_libs"; fi | |
5914 else | |
5915 echo "$ac_t""no" 1>&6 | |
5916 fi | |
5917 | |
5918 | |
5919 | |
5920 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 | |
5921 echo "configure:5922: checking for jpeg_read_header in -ljpeg" >&5 | |
5922 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` | |
5923 | |
5924 xe_check_libs=" -ljpeg " | |
5925 cat > conftest.$ac_ext <<EOF | |
5926 #line 5927 "configure" | |
5927 #include "confdefs.h" | |
5928 /* Override any gcc2 internal prototype to avoid an error. */ | |
5929 /* We use char because int might match the return type of a gcc2 | |
5930 builtin and then its argument prototype would still apply. */ | |
5931 char jpeg_read_header(); | |
5932 | |
5933 int main() { | |
5934 jpeg_read_header() | |
5935 ; return 0; } | |
5936 EOF | |
5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5938 rm -rf conftest* | |
5939 eval "ac_cv_lib_$ac_lib_var=yes" | |
5940 else | |
5941 echo "configure: failed program was:" >&5 | |
5942 cat conftest.$ac_ext >&5 | |
5943 rm -rf conftest* | |
5944 eval "ac_cv_lib_$ac_lib_var=no" | |
5945 fi | |
5946 rm -f conftest* | |
5947 xe_check_libs="" | |
5948 | |
5949 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5950 echo "$ac_t""yes" 1>&6 | |
5951 imagick_libs="$imagick_libs -ljpeg" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ljpeg\" to \$imagick_libs"; fi | |
5952 else | |
5953 echo "$ac_t""no" 1>&6 | |
5954 fi | |
5955 | |
5956 | |
5957 | |
5958 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 | |
5959 echo "configure:5960: checking for OpenMPEG in -lmpeg" >&5 | |
5960 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` | |
5961 | |
5962 xe_check_libs=" -lmpeg " | |
5963 cat > conftest.$ac_ext <<EOF | |
5964 #line 5965 "configure" | |
5965 #include "confdefs.h" | |
5966 /* Override any gcc2 internal prototype to avoid an error. */ | |
5967 /* We use char because int might match the return type of a gcc2 | |
5968 builtin and then its argument prototype would still apply. */ | |
5969 char OpenMPEG(); | |
5970 | |
5971 int main() { | |
5972 OpenMPEG() | |
5973 ; return 0; } | |
5974 EOF | |
5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5976 rm -rf conftest* | |
5977 eval "ac_cv_lib_$ac_lib_var=yes" | |
5978 else | |
5979 echo "configure: failed program was:" >&5 | |
5980 cat conftest.$ac_ext >&5 | |
5981 rm -rf conftest* | |
5982 eval "ac_cv_lib_$ac_lib_var=no" | |
5983 fi | |
5984 rm -f conftest* | |
5985 xe_check_libs="" | |
5986 | |
5987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5988 echo "$ac_t""yes" 1>&6 | |
5989 imagick_libs="$imagick_libs -lmpeg" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmpeg\" to \$imagick_libs"; fi | |
5990 else | |
5991 echo "$ac_t""no" 1>&6 | |
5992 fi | |
5993 | |
5994 | |
5995 | |
5996 echo $ac_n "checking for png_create_read_struct in -lpng""... $ac_c" 1>&6 | |
5997 echo "configure:5998: checking for png_create_read_struct in -lpng" >&5 | |
5998 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | |
5999 | |
6000 xe_check_libs=" -lpng " | |
6001 cat > conftest.$ac_ext <<EOF | |
6002 #line 6003 "configure" | |
6003 #include "confdefs.h" | |
6004 /* Override any gcc2 internal prototype to avoid an error. */ | |
6005 /* We use char because int might match the return type of a gcc2 | |
6006 builtin and then its argument prototype would still apply. */ | |
6007 char png_create_read_struct(); | |
6008 | |
6009 int main() { | |
6010 png_create_read_struct() | |
6011 ; return 0; } | |
6012 EOF | |
6013 if { (eval echo configure:6014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6014 rm -rf conftest* | |
6015 eval "ac_cv_lib_$ac_lib_var=yes" | |
6016 else | |
6017 echo "configure: failed program was:" >&5 | |
6018 cat conftest.$ac_ext >&5 | |
6019 rm -rf conftest* | |
6020 eval "ac_cv_lib_$ac_lib_var=no" | |
6021 fi | |
6022 rm -f conftest* | |
6023 xe_check_libs="" | |
6024 | |
6025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6026 echo "$ac_t""yes" 1>&6 | |
6027 imagick_libs="$imagick_libs -lpng" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lpng\" to \$imagick_libs"; fi | |
6028 else | |
6029 echo "$ac_t""no" 1>&6 | |
6030 xe_msg_checking="for png_create_read_struct in -lpng" | |
6031 test -n "-lz" && xe_msg_checking="$xe_msg_checking using extra libs -lz" | |
6032 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
6033 echo "configure:6034: checking "$xe_msg_checking"" >&5 | |
6034 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | |
6035 | |
6036 xe_check_libs=" -lpng -lz" | |
6037 cat > conftest.$ac_ext <<EOF | |
6038 #line 6039 "configure" | |
6039 #include "confdefs.h" | |
6040 /* Override any gcc2 internal prototype to avoid an error. */ | |
6041 /* We use char because int might match the return type of a gcc2 | |
6042 builtin and then its argument prototype would still apply. */ | |
6043 char png_create_read_struct(); | |
6044 | |
6045 int main() { | |
6046 png_create_read_struct() | |
6047 ; return 0; } | |
6048 EOF | |
6049 if { (eval echo configure:6050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6050 rm -rf conftest* | |
6051 eval "ac_cv_lib_$ac_lib_var=yes" | |
6052 else | |
6053 echo "configure: failed program was:" >&5 | |
6054 cat conftest.$ac_ext >&5 | |
6055 rm -rf conftest* | |
6056 eval "ac_cv_lib_$ac_lib_var=no" | |
6057 fi | |
6058 rm -f conftest* | |
6059 xe_check_libs="" | |
6060 | |
6061 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6062 echo "$ac_t""yes" 1>&6 | |
6063 imagick_libs="$imagick_libs -lpng -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lpng -lz\" to \$imagick_libs"; fi | |
6064 else | |
6065 echo "$ac_t""no" 1>&6 | |
6066 fi | |
6067 | |
6068 | |
6069 fi | |
6070 | |
6071 | |
6072 | |
6073 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 | |
6074 echo "configure:6075: checking for TIFFOpen in -ltiff" >&5 | |
6075 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | |
6076 | |
6077 xe_check_libs=" -ltiff " | |
6078 cat > conftest.$ac_ext <<EOF | |
6079 #line 6080 "configure" | |
6080 #include "confdefs.h" | |
6081 /* Override any gcc2 internal prototype to avoid an error. */ | |
6082 /* We use char because int might match the return type of a gcc2 | |
6083 builtin and then its argument prototype would still apply. */ | |
6084 char TIFFOpen(); | |
6085 | |
6086 int main() { | |
6087 TIFFOpen() | |
6088 ; return 0; } | |
6089 EOF | |
6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6091 rm -rf conftest* | |
6092 eval "ac_cv_lib_$ac_lib_var=yes" | |
6093 else | |
6094 echo "configure: failed program was:" >&5 | |
6095 cat conftest.$ac_ext >&5 | |
6096 rm -rf conftest* | |
6097 eval "ac_cv_lib_$ac_lib_var=no" | |
6098 fi | |
6099 rm -f conftest* | |
6100 xe_check_libs="" | |
6101 | |
6102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6103 echo "$ac_t""yes" 1>&6 | |
6104 imagick_libs="$imagick_libs -ltiff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff\" to \$imagick_libs"; fi | |
6105 else | |
6106 echo "$ac_t""no" 1>&6 | |
6107 xe_msg_checking="for TIFFOpen in -ltiff" | |
6108 test -n "-ljpeg -lz" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg -lz" | |
6109 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
6110 echo "configure:6111: checking "$xe_msg_checking"" >&5 | |
6111 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | |
6112 | |
6113 xe_check_libs=" -ltiff -ljpeg -lz" | |
6114 cat > conftest.$ac_ext <<EOF | |
6115 #line 6116 "configure" | |
6116 #include "confdefs.h" | |
6117 /* Override any gcc2 internal prototype to avoid an error. */ | |
6118 /* We use char because int might match the return type of a gcc2 | |
6119 builtin and then its argument prototype would still apply. */ | |
6120 char TIFFOpen(); | |
6121 | |
6122 int main() { | |
6123 TIFFOpen() | |
6124 ; return 0; } | |
6125 EOF | |
6126 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6127 rm -rf conftest* | |
6128 eval "ac_cv_lib_$ac_lib_var=yes" | |
6129 else | |
6130 echo "configure: failed program was:" >&5 | |
6131 cat conftest.$ac_ext >&5 | |
6132 rm -rf conftest* | |
6133 eval "ac_cv_lib_$ac_lib_var=no" | |
6134 fi | |
6135 rm -f conftest* | |
6136 xe_check_libs="" | |
6137 | |
6138 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6139 echo "$ac_t""yes" 1>&6 | |
6140 imagick_libs="$imagick_libs -ltiff -ljpeg -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff -ljpeg -lz\" to \$imagick_libs"; fi | |
6141 else | |
6142 echo "$ac_t""no" 1>&6 | |
6143 fi | |
6144 | |
6145 | |
6146 fi | |
6147 | |
6148 | |
6149 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi | |
6150 } | |
5920 test -z "$with_imagick" && { | 6151 test -z "$with_imagick" && { |
5921 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | 6152 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
5922 echo "configure:5923: checking for MogrifyImage in -lMagick" >&5 | 6153 echo "configure:6154: checking for MogrifyImage in -lMagick" >&5 |
5923 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | 6154 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
5924 | 6155 |
5925 xe_check_libs=" -lMagick " | 6156 xe_check_libs=" -lMagick " |
5926 cat > conftest.$ac_ext <<EOF | 6157 cat > conftest.$ac_ext <<EOF |
5927 #line 5928 "configure" | 6158 #line 6159 "configure" |
5928 #include "confdefs.h" | 6159 #include "confdefs.h" |
5929 /* Override any gcc2 internal prototype to avoid an error. */ | 6160 /* Override any gcc2 internal prototype to avoid an error. */ |
5930 /* We use char because int might match the return type of a gcc2 | 6161 /* We use char because int might match the return type of a gcc2 |
5931 builtin and then its argument prototype would still apply. */ | 6162 builtin and then its argument prototype would still apply. */ |
5932 char MogrifyImage(); | 6163 char MogrifyImage(); |
5933 | 6164 |
5934 int main() { | 6165 int main() { |
5935 MogrifyImage() | 6166 MogrifyImage() |
5936 ; return 0; } | 6167 ; return 0; } |
5937 EOF | 6168 EOF |
5938 if { (eval echo configure:5939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5939 rm -rf conftest* | 6170 rm -rf conftest* |
5940 eval "ac_cv_lib_$ac_lib_var=yes" | 6171 eval "ac_cv_lib_$ac_lib_var=yes" |
5941 else | 6172 else |
5942 echo "configure: failed program was:" >&5 | 6173 echo "configure: failed program was:" >&5 |
5943 cat conftest.$ac_ext >&5 | 6174 cat conftest.$ac_ext >&5 |
5969 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | 6200 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
5970 fi | 6201 fi |
5971 | 6202 |
5972 | 6203 |
5973 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6204 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
5974 echo "configure:5975: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6205 echo "configure:6206: checking for XawScrollbarSetThumb in -lXaw" >&5 |
5975 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6206 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
5976 | 6207 |
5977 xe_check_libs=" -lXaw " | 6208 xe_check_libs=" -lXaw " |
5978 cat > conftest.$ac_ext <<EOF | 6209 cat > conftest.$ac_ext <<EOF |
5979 #line 5980 "configure" | 6210 #line 6211 "configure" |
5980 #include "confdefs.h" | 6211 #include "confdefs.h" |
5981 /* Override any gcc2 internal prototype to avoid an error. */ | 6212 /* Override any gcc2 internal prototype to avoid an error. */ |
5982 /* We use char because int might match the return type of a gcc2 | 6213 /* We use char because int might match the return type of a gcc2 |
5983 builtin and then its argument prototype would still apply. */ | 6214 builtin and then its argument prototype would still apply. */ |
5984 char XawScrollbarSetThumb(); | 6215 char XawScrollbarSetThumb(); |
5985 | 6216 |
5986 int main() { | 6217 int main() { |
5987 XawScrollbarSetThumb() | 6218 XawScrollbarSetThumb() |
5988 ; return 0; } | 6219 ; return 0; } |
5989 EOF | 6220 EOF |
5990 if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5991 rm -rf conftest* | 6222 rm -rf conftest* |
5992 eval "ac_cv_lib_$ac_lib_var=yes" | 6223 eval "ac_cv_lib_$ac_lib_var=yes" |
5993 else | 6224 else |
5994 echo "configure: failed program was:" >&5 | 6225 echo "configure: failed program was:" >&5 |
5995 cat conftest.$ac_ext >&5 | 6226 cat conftest.$ac_ext >&5 |
6009 | 6240 |
6010 | 6241 |
6011 if test "$have_xaw" = "yes"; then | 6242 if test "$have_xaw" = "yes"; then |
6012 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 6243 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
6013 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 6244 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
6014 echo "configure:6015: checking for X11/Xaw/Reports.h" >&5 | 6245 echo "configure:6246: checking for X11/Xaw/Reports.h" >&5 |
6015 | 6246 |
6016 cat > conftest.$ac_ext <<EOF | 6247 cat > conftest.$ac_ext <<EOF |
6017 #line 6018 "configure" | 6248 #line 6249 "configure" |
6018 #include "confdefs.h" | 6249 #include "confdefs.h" |
6019 #include <X11/Xaw/Reports.h> | 6250 #include <X11/Xaw/Reports.h> |
6020 EOF | 6251 EOF |
6021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6022 { (eval echo configure:6023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6253 { (eval echo configure:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6023 ac_err=`grep -v '^ *+' conftest.out` | 6254 ac_err=`grep -v '^ *+' conftest.out` |
6024 if test -z "$ac_err"; then | 6255 if test -z "$ac_err"; then |
6025 rm -rf conftest* | 6256 rm -rf conftest* |
6026 eval "ac_cv_header_$ac_safe=yes" | 6257 eval "ac_cv_header_$ac_safe=yes" |
6027 else | 6258 else |
6043 | 6274 |
6044 fi | 6275 fi |
6045 | 6276 |
6046 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6277 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6047 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6048 echo "configure:6049: checking for Xm/Xm.h" >&5 | 6279 echo "configure:6280: checking for Xm/Xm.h" >&5 |
6049 | 6280 |
6050 cat > conftest.$ac_ext <<EOF | 6281 cat > conftest.$ac_ext <<EOF |
6051 #line 6052 "configure" | 6282 #line 6283 "configure" |
6052 #include "confdefs.h" | 6283 #include "confdefs.h" |
6053 #include <Xm/Xm.h> | 6284 #include <Xm/Xm.h> |
6054 EOF | 6285 EOF |
6055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6056 { (eval echo configure:6057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6287 { (eval echo configure:6288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6057 ac_err=`grep -v '^ *+' conftest.out` | 6288 ac_err=`grep -v '^ *+' conftest.out` |
6058 if test -z "$ac_err"; then | 6289 if test -z "$ac_err"; then |
6059 rm -rf conftest* | 6290 rm -rf conftest* |
6060 eval "ac_cv_header_$ac_safe=yes" | 6291 eval "ac_cv_header_$ac_safe=yes" |
6061 else | 6292 else |
6068 rm -f conftest* | 6299 rm -f conftest* |
6069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6300 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6070 echo "$ac_t""yes" 1>&6 | 6301 echo "$ac_t""yes" 1>&6 |
6071 | 6302 |
6072 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6303 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6073 echo "configure:6074: checking for XmStringFree in -lXm" >&5 | 6304 echo "configure:6305: checking for XmStringFree in -lXm" >&5 |
6074 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6305 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6075 | 6306 |
6076 xe_check_libs=" -lXm " | 6307 xe_check_libs=" -lXm " |
6077 cat > conftest.$ac_ext <<EOF | 6308 cat > conftest.$ac_ext <<EOF |
6078 #line 6079 "configure" | 6309 #line 6310 "configure" |
6079 #include "confdefs.h" | 6310 #include "confdefs.h" |
6080 /* Override any gcc2 internal prototype to avoid an error. */ | 6311 /* Override any gcc2 internal prototype to avoid an error. */ |
6081 /* We use char because int might match the return type of a gcc2 | 6312 /* We use char because int might match the return type of a gcc2 |
6082 builtin and then its argument prototype would still apply. */ | 6313 builtin and then its argument prototype would still apply. */ |
6083 char XmStringFree(); | 6314 char XmStringFree(); |
6084 | 6315 |
6085 int main() { | 6316 int main() { |
6086 XmStringFree() | 6317 XmStringFree() |
6087 ; return 0; } | 6318 ; return 0; } |
6088 EOF | 6319 EOF |
6089 if { (eval echo configure:6090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6320 if { (eval echo configure:6321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6090 rm -rf conftest* | 6321 rm -rf conftest* |
6091 eval "ac_cv_lib_$ac_lib_var=yes" | 6322 eval "ac_cv_lib_$ac_lib_var=yes" |
6092 else | 6323 else |
6093 echo "configure: failed program was:" >&5 | 6324 echo "configure: failed program was:" >&5 |
6094 cat conftest.$ac_ext >&5 | 6325 cat conftest.$ac_ext >&5 |
6346 exit 1 | 6577 exit 1 |
6347 fi | 6578 fi |
6348 | 6579 |
6349 if test "$with_mule" = "yes" ; then | 6580 if test "$with_mule" = "yes" ; then |
6350 echo "checking for Mule-related features" 1>&6 | 6581 echo "checking for Mule-related features" 1>&6 |
6351 echo "configure:6352: checking for Mule-related features" >&5 | 6582 echo "configure:6583: checking for Mule-related features" >&5 |
6352 { test "$extra_verbose" = "yes" && cat << \EOF | 6583 { test "$extra_verbose" = "yes" && cat << \EOF |
6353 Defining MULE | 6584 Defining MULE |
6354 EOF | 6585 EOF |
6355 cat >> confdefs.h <<\EOF | 6586 cat >> confdefs.h <<\EOF |
6356 #define MULE 1 | 6587 #define MULE 1 |
6363 | 6594 |
6364 for ac_hdr in libintl.h | 6595 for ac_hdr in libintl.h |
6365 do | 6596 do |
6366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6597 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6598 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6368 echo "configure:6369: checking for $ac_hdr" >&5 | 6599 echo "configure:6600: checking for $ac_hdr" >&5 |
6369 | 6600 |
6370 cat > conftest.$ac_ext <<EOF | 6601 cat > conftest.$ac_ext <<EOF |
6371 #line 6372 "configure" | 6602 #line 6603 "configure" |
6372 #include "confdefs.h" | 6603 #include "confdefs.h" |
6373 #include <$ac_hdr> | 6604 #include <$ac_hdr> |
6374 EOF | 6605 EOF |
6375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6376 { (eval echo configure:6377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6607 { (eval echo configure:6608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6377 ac_err=`grep -v '^ *+' conftest.out` | 6608 ac_err=`grep -v '^ *+' conftest.out` |
6378 if test -z "$ac_err"; then | 6609 if test -z "$ac_err"; then |
6379 rm -rf conftest* | 6610 rm -rf conftest* |
6380 eval "ac_cv_header_$ac_safe=yes" | 6611 eval "ac_cv_header_$ac_safe=yes" |
6381 else | 6612 else |
6402 fi | 6633 fi |
6403 done | 6634 done |
6404 | 6635 |
6405 | 6636 |
6406 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6637 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6407 echo "configure:6408: checking for strerror in -lintl" >&5 | 6638 echo "configure:6639: checking for strerror in -lintl" >&5 |
6408 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6639 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6409 | 6640 |
6410 xe_check_libs=" -lintl " | 6641 xe_check_libs=" -lintl " |
6411 cat > conftest.$ac_ext <<EOF | 6642 cat > conftest.$ac_ext <<EOF |
6412 #line 6413 "configure" | 6643 #line 6644 "configure" |
6413 #include "confdefs.h" | 6644 #include "confdefs.h" |
6414 /* Override any gcc2 internal prototype to avoid an error. */ | 6645 /* Override any gcc2 internal prototype to avoid an error. */ |
6415 /* We use char because int might match the return type of a gcc2 | 6646 /* We use char because int might match the return type of a gcc2 |
6416 builtin and then its argument prototype would still apply. */ | 6647 builtin and then its argument prototype would still apply. */ |
6417 char strerror(); | 6648 char strerror(); |
6418 | 6649 |
6419 int main() { | 6650 int main() { |
6420 strerror() | 6651 strerror() |
6421 ; return 0; } | 6652 ; return 0; } |
6422 EOF | 6653 EOF |
6423 if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6654 if { (eval echo configure:6655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6424 rm -rf conftest* | 6655 rm -rf conftest* |
6425 eval "ac_cv_lib_$ac_lib_var=yes" | 6656 eval "ac_cv_lib_$ac_lib_var=yes" |
6426 else | 6657 else |
6427 echo "configure: failed program was:" >&5 | 6658 echo "configure: failed program was:" >&5 |
6428 cat conftest.$ac_ext >&5 | 6659 cat conftest.$ac_ext >&5 |
6451 fi | 6682 fi |
6452 | 6683 |
6453 | 6684 |
6454 | 6685 |
6455 echo "checking for Mule input methods" 1>&6 | 6686 echo "checking for Mule input methods" 1>&6 |
6456 echo "configure:6457: checking for Mule input methods" >&5 | 6687 echo "configure:6688: checking for Mule input methods" >&5 |
6457 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6688 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6458 case "$with_xim" in "" | "yes" ) | 6689 case "$with_xim" in "" | "yes" ) |
6459 echo "checking for XIM" 1>&6 | 6690 echo "checking for XIM" 1>&6 |
6460 echo "configure:6461: checking for XIM" >&5 | 6691 echo "configure:6692: checking for XIM" >&5 |
6461 | 6692 |
6462 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6693 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6463 echo "configure:6464: checking for XmImMbLookupString in -lXm" >&5 | 6694 echo "configure:6695: checking for XmImMbLookupString in -lXm" >&5 |
6464 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6695 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6465 | 6696 |
6466 xe_check_libs=" -lXm " | 6697 xe_check_libs=" -lXm " |
6467 cat > conftest.$ac_ext <<EOF | 6698 cat > conftest.$ac_ext <<EOF |
6468 #line 6469 "configure" | 6699 #line 6700 "configure" |
6469 #include "confdefs.h" | 6700 #include "confdefs.h" |
6470 /* Override any gcc2 internal prototype to avoid an error. */ | 6701 /* Override any gcc2 internal prototype to avoid an error. */ |
6471 /* We use char because int might match the return type of a gcc2 | 6702 /* We use char because int might match the return type of a gcc2 |
6472 builtin and then its argument prototype would still apply. */ | 6703 builtin and then its argument prototype would still apply. */ |
6473 char XmImMbLookupString(); | 6704 char XmImMbLookupString(); |
6474 | 6705 |
6475 int main() { | 6706 int main() { |
6476 XmImMbLookupString() | 6707 XmImMbLookupString() |
6477 ; return 0; } | 6708 ; return 0; } |
6478 EOF | 6709 EOF |
6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6710 if { (eval echo configure:6711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6480 rm -rf conftest* | 6711 rm -rf conftest* |
6481 eval "ac_cv_lib_$ac_lib_var=yes" | 6712 eval "ac_cv_lib_$ac_lib_var=yes" |
6482 else | 6713 else |
6483 echo "configure: failed program was:" >&5 | 6714 echo "configure: failed program was:" >&5 |
6484 cat conftest.$ac_ext >&5 | 6715 cat conftest.$ac_ext >&5 |
6539 fi | 6770 fi |
6540 fi | 6771 fi |
6541 | 6772 |
6542 if test "$with_xfs" = "yes" ; then | 6773 if test "$with_xfs" = "yes" ; then |
6543 echo "checking for XFontSet" 1>&6 | 6774 echo "checking for XFontSet" 1>&6 |
6544 echo "configure:6545: checking for XFontSet" >&5 | 6775 echo "configure:6776: checking for XFontSet" >&5 |
6545 | 6776 |
6546 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6777 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
6547 echo "configure:6548: checking for XmbDrawString in -lX11" >&5 | 6778 echo "configure:6779: checking for XmbDrawString in -lX11" >&5 |
6548 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6779 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
6549 | 6780 |
6550 xe_check_libs=" -lX11 " | 6781 xe_check_libs=" -lX11 " |
6551 cat > conftest.$ac_ext <<EOF | 6782 cat > conftest.$ac_ext <<EOF |
6552 #line 6553 "configure" | 6783 #line 6784 "configure" |
6553 #include "confdefs.h" | 6784 #include "confdefs.h" |
6554 /* Override any gcc2 internal prototype to avoid an error. */ | 6785 /* Override any gcc2 internal prototype to avoid an error. */ |
6555 /* We use char because int might match the return type of a gcc2 | 6786 /* We use char because int might match the return type of a gcc2 |
6556 builtin and then its argument prototype would still apply. */ | 6787 builtin and then its argument prototype would still apply. */ |
6557 char XmbDrawString(); | 6788 char XmbDrawString(); |
6558 | 6789 |
6559 int main() { | 6790 int main() { |
6560 XmbDrawString() | 6791 XmbDrawString() |
6561 ; return 0; } | 6792 ; return 0; } |
6562 EOF | 6793 EOF |
6563 if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6794 if { (eval echo configure:6795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6564 rm -rf conftest* | 6795 rm -rf conftest* |
6565 eval "ac_cv_lib_$ac_lib_var=yes" | 6796 eval "ac_cv_lib_$ac_lib_var=yes" |
6566 else | 6797 else |
6567 echo "configure: failed program was:" >&5 | 6798 echo "configure: failed program was:" >&5 |
6568 cat conftest.$ac_ext >&5 | 6799 cat conftest.$ac_ext >&5 |
6598 fi | 6829 fi |
6599 fi | 6830 fi |
6600 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6831 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6601 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6832 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6602 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6833 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6603 echo "configure:6604: checking for wnn/jllib.h" >&5 | 6834 echo "configure:6835: checking for wnn/jllib.h" >&5 |
6604 | 6835 |
6605 cat > conftest.$ac_ext <<EOF | 6836 cat > conftest.$ac_ext <<EOF |
6606 #line 6607 "configure" | 6837 #line 6838 "configure" |
6607 #include "confdefs.h" | 6838 #include "confdefs.h" |
6608 #include <wnn/jllib.h> | 6839 #include <wnn/jllib.h> |
6609 EOF | 6840 EOF |
6610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6611 { (eval echo configure:6612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6842 { (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6612 ac_err=`grep -v '^ *+' conftest.out` | 6843 ac_err=`grep -v '^ *+' conftest.out` |
6613 if test -z "$ac_err"; then | 6844 if test -z "$ac_err"; then |
6614 rm -rf conftest* | 6845 rm -rf conftest* |
6615 eval "ac_cv_header_$ac_safe=yes" | 6846 eval "ac_cv_header_$ac_safe=yes" |
6616 else | 6847 else |
6631 } | 6862 } |
6632 if test "$with_wnn" != "no"; then | 6863 if test "$with_wnn" != "no"; then |
6633 for ac_func in crypt | 6864 for ac_func in crypt |
6634 do | 6865 do |
6635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6636 echo "configure:6637: checking for $ac_func" >&5 | 6867 echo "configure:6868: checking for $ac_func" >&5 |
6637 | 6868 |
6638 cat > conftest.$ac_ext <<EOF | 6869 cat > conftest.$ac_ext <<EOF |
6639 #line 6640 "configure" | 6870 #line 6871 "configure" |
6640 #include "confdefs.h" | 6871 #include "confdefs.h" |
6641 /* System header to define __stub macros and hopefully few prototypes, | 6872 /* System header to define __stub macros and hopefully few prototypes, |
6642 which can conflict with char $ac_func(); below. */ | 6873 which can conflict with char $ac_func(); below. */ |
6643 #include <assert.h> | 6874 #include <assert.h> |
6644 /* Override any gcc2 internal prototype to avoid an error. */ | 6875 /* Override any gcc2 internal prototype to avoid an error. */ |
6657 $ac_func(); | 6888 $ac_func(); |
6658 #endif | 6889 #endif |
6659 | 6890 |
6660 ; return 0; } | 6891 ; return 0; } |
6661 EOF | 6892 EOF |
6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6893 if { (eval echo configure:6894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6663 rm -rf conftest* | 6894 rm -rf conftest* |
6664 eval "ac_cv_func_$ac_func=yes" | 6895 eval "ac_cv_func_$ac_func=yes" |
6665 else | 6896 else |
6666 echo "configure: failed program was:" >&5 | 6897 echo "configure: failed program was:" >&5 |
6667 cat conftest.$ac_ext >&5 | 6898 cat conftest.$ac_ext >&5 |
6686 fi | 6917 fi |
6687 done | 6918 done |
6688 | 6919 |
6689 test "$ac_cv_func_crypt" != "yes" && { | 6920 test "$ac_cv_func_crypt" != "yes" && { |
6690 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6921 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
6691 echo "configure:6692: checking for crypt in -lcrypt" >&5 | 6922 echo "configure:6923: checking for crypt in -lcrypt" >&5 |
6692 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6923 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
6693 | 6924 |
6694 xe_check_libs=" -lcrypt " | 6925 xe_check_libs=" -lcrypt " |
6695 cat > conftest.$ac_ext <<EOF | 6926 cat > conftest.$ac_ext <<EOF |
6696 #line 6697 "configure" | 6927 #line 6928 "configure" |
6697 #include "confdefs.h" | 6928 #include "confdefs.h" |
6698 /* Override any gcc2 internal prototype to avoid an error. */ | 6929 /* Override any gcc2 internal prototype to avoid an error. */ |
6699 /* We use char because int might match the return type of a gcc2 | 6930 /* We use char because int might match the return type of a gcc2 |
6700 builtin and then its argument prototype would still apply. */ | 6931 builtin and then its argument prototype would still apply. */ |
6701 char crypt(); | 6932 char crypt(); |
6702 | 6933 |
6703 int main() { | 6934 int main() { |
6704 crypt() | 6935 crypt() |
6705 ; return 0; } | 6936 ; return 0; } |
6706 EOF | 6937 EOF |
6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6938 if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6708 rm -rf conftest* | 6939 rm -rf conftest* |
6709 eval "ac_cv_lib_$ac_lib_var=yes" | 6940 eval "ac_cv_lib_$ac_lib_var=yes" |
6710 else | 6941 else |
6711 echo "configure: failed program was:" >&5 | 6942 echo "configure: failed program was:" >&5 |
6712 cat conftest.$ac_ext >&5 | 6943 cat conftest.$ac_ext >&5 |
6736 | 6967 |
6737 } | 6968 } |
6738 fi | 6969 fi |
6739 test -z "$with_wnn" && { | 6970 test -z "$with_wnn" && { |
6740 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6971 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
6741 echo "configure:6742: checking for jl_dic_list_e in -lwnn" >&5 | 6972 echo "configure:6973: checking for jl_dic_list_e in -lwnn" >&5 |
6742 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6973 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
6743 | 6974 |
6744 xe_check_libs=" -lwnn " | 6975 xe_check_libs=" -lwnn " |
6745 cat > conftest.$ac_ext <<EOF | 6976 cat > conftest.$ac_ext <<EOF |
6746 #line 6747 "configure" | 6977 #line 6978 "configure" |
6747 #include "confdefs.h" | 6978 #include "confdefs.h" |
6748 /* Override any gcc2 internal prototype to avoid an error. */ | 6979 /* Override any gcc2 internal prototype to avoid an error. */ |
6749 /* We use char because int might match the return type of a gcc2 | 6980 /* We use char because int might match the return type of a gcc2 |
6750 builtin and then its argument prototype would still apply. */ | 6981 builtin and then its argument prototype would still apply. */ |
6751 char jl_dic_list_e(); | 6982 char jl_dic_list_e(); |
6752 | 6983 |
6753 int main() { | 6984 int main() { |
6754 jl_dic_list_e() | 6985 jl_dic_list_e() |
6755 ; return 0; } | 6986 ; return 0; } |
6756 EOF | 6987 EOF |
6757 if { (eval echo configure:6758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6988 if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6758 rm -rf conftest* | 6989 rm -rf conftest* |
6759 eval "ac_cv_lib_$ac_lib_var=yes" | 6990 eval "ac_cv_lib_$ac_lib_var=yes" |
6760 else | 6991 else |
6761 echo "configure: failed program was:" >&5 | 6992 echo "configure: failed program was:" >&5 |
6762 cat conftest.$ac_ext >&5 | 6993 cat conftest.$ac_ext >&5 |
6789 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7020 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
6790 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7021 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
6791 fi | 7022 fi |
6792 | 7023 |
6793 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7024 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
6794 echo "configure:6795: checking for jl_fi_dic_list in -lwnn" >&5 | 7025 echo "configure:7026: checking for jl_fi_dic_list in -lwnn" >&5 |
6795 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7026 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
6796 | 7027 |
6797 xe_check_libs=" -lwnn " | 7028 xe_check_libs=" -lwnn " |
6798 cat > conftest.$ac_ext <<EOF | 7029 cat > conftest.$ac_ext <<EOF |
6799 #line 6800 "configure" | 7030 #line 7031 "configure" |
6800 #include "confdefs.h" | 7031 #include "confdefs.h" |
6801 /* Override any gcc2 internal prototype to avoid an error. */ | 7032 /* Override any gcc2 internal prototype to avoid an error. */ |
6802 /* We use char because int might match the return type of a gcc2 | 7033 /* We use char because int might match the return type of a gcc2 |
6803 builtin and then its argument prototype would still apply. */ | 7034 builtin and then its argument prototype would still apply. */ |
6804 char jl_fi_dic_list(); | 7035 char jl_fi_dic_list(); |
6805 | 7036 |
6806 int main() { | 7037 int main() { |
6807 jl_fi_dic_list() | 7038 jl_fi_dic_list() |
6808 ; return 0; } | 7039 ; return 0; } |
6809 EOF | 7040 EOF |
6810 if { (eval echo configure:6811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7041 if { (eval echo configure:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6811 rm -rf conftest* | 7042 rm -rf conftest* |
6812 eval "ac_cv_lib_$ac_lib_var=yes" | 7043 eval "ac_cv_lib_$ac_lib_var=yes" |
6813 else | 7044 else |
6814 echo "configure: failed program was:" >&5 | 7045 echo "configure: failed program was:" >&5 |
6815 cat conftest.$ac_ext >&5 | 7046 cat conftest.$ac_ext >&5 |
6837 | 7068 |
6838 fi | 7069 fi |
6839 | 7070 |
6840 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7071 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
6841 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7072 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
6842 echo "configure:6843: checking for canna/RK.h" >&5 | 7073 echo "configure:7074: checking for canna/RK.h" >&5 |
6843 | 7074 |
6844 cat > conftest.$ac_ext <<EOF | 7075 cat > conftest.$ac_ext <<EOF |
6845 #line 6846 "configure" | 7076 #line 7077 "configure" |
6846 #include "confdefs.h" | 7077 #include "confdefs.h" |
6847 #include <canna/RK.h> | 7078 #include <canna/RK.h> |
6848 EOF | 7079 EOF |
6849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6850 { (eval echo configure:6851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7081 { (eval echo configure:7082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6851 ac_err=`grep -v '^ *+' conftest.out` | 7082 ac_err=`grep -v '^ *+' conftest.out` |
6852 if test -z "$ac_err"; then | 7083 if test -z "$ac_err"; then |
6853 rm -rf conftest* | 7084 rm -rf conftest* |
6854 eval "ac_cv_header_$ac_safe=yes" | 7085 eval "ac_cv_header_$ac_safe=yes" |
6855 else | 7086 else |
6868 with_canna=no | 7099 with_canna=no |
6869 fi | 7100 fi |
6870 } | 7101 } |
6871 test -z "$with_canna" && { | 7102 test -z "$with_canna" && { |
6872 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7103 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
6873 echo "configure:6874: checking for RkBgnBun in -lRKC" >&5 | 7104 echo "configure:7105: checking for RkBgnBun in -lRKC" >&5 |
6874 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7105 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
6875 | 7106 |
6876 xe_check_libs=" -lRKC " | 7107 xe_check_libs=" -lRKC " |
6877 cat > conftest.$ac_ext <<EOF | 7108 cat > conftest.$ac_ext <<EOF |
6878 #line 6879 "configure" | 7109 #line 7110 "configure" |
6879 #include "confdefs.h" | 7110 #include "confdefs.h" |
6880 /* Override any gcc2 internal prototype to avoid an error. */ | 7111 /* Override any gcc2 internal prototype to avoid an error. */ |
6881 /* We use char because int might match the return type of a gcc2 | 7112 /* We use char because int might match the return type of a gcc2 |
6882 builtin and then its argument prototype would still apply. */ | 7113 builtin and then its argument prototype would still apply. */ |
6883 char RkBgnBun(); | 7114 char RkBgnBun(); |
6884 | 7115 |
6885 int main() { | 7116 int main() { |
6886 RkBgnBun() | 7117 RkBgnBun() |
6887 ; return 0; } | 7118 ; return 0; } |
6888 EOF | 7119 EOF |
6889 if { (eval echo configure:6890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6890 rm -rf conftest* | 7121 rm -rf conftest* |
6891 eval "ac_cv_lib_$ac_lib_var=yes" | 7122 eval "ac_cv_lib_$ac_lib_var=yes" |
6892 else | 7123 else |
6893 echo "configure: failed program was:" >&5 | 7124 echo "configure: failed program was:" >&5 |
6894 cat conftest.$ac_ext >&5 | 7125 cat conftest.$ac_ext >&5 |
6907 fi | 7138 fi |
6908 | 7139 |
6909 } | 7140 } |
6910 test -z "$with_canna" && { | 7141 test -z "$with_canna" && { |
6911 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7142 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
6912 echo "configure:6913: checking for jrKanjiControl in -lcanna" >&5 | 7143 echo "configure:7144: checking for jrKanjiControl in -lcanna" >&5 |
6913 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7144 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
6914 | 7145 |
6915 xe_check_libs=" -lcanna " | 7146 xe_check_libs=" -lcanna " |
6916 cat > conftest.$ac_ext <<EOF | 7147 cat > conftest.$ac_ext <<EOF |
6917 #line 6918 "configure" | 7148 #line 7149 "configure" |
6918 #include "confdefs.h" | 7149 #include "confdefs.h" |
6919 /* Override any gcc2 internal prototype to avoid an error. */ | 7150 /* Override any gcc2 internal prototype to avoid an error. */ |
6920 /* We use char because int might match the return type of a gcc2 | 7151 /* We use char because int might match the return type of a gcc2 |
6921 builtin and then its argument prototype would still apply. */ | 7152 builtin and then its argument prototype would still apply. */ |
6922 char jrKanjiControl(); | 7153 char jrKanjiControl(); |
6923 | 7154 |
6924 int main() { | 7155 int main() { |
6925 jrKanjiControl() | 7156 jrKanjiControl() |
6926 ; return 0; } | 7157 ; return 0; } |
6927 EOF | 7158 EOF |
6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7159 if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6929 rm -rf conftest* | 7160 rm -rf conftest* |
6930 eval "ac_cv_lib_$ac_lib_var=yes" | 7161 eval "ac_cv_lib_$ac_lib_var=yes" |
6931 else | 7162 else |
6932 echo "configure: failed program was:" >&5 | 7163 echo "configure: failed program was:" >&5 |
6933 cat conftest.$ac_ext >&5 | 7164 cat conftest.$ac_ext >&5 |
6972 | 7203 |
6973 if test "$need_motif" = "yes" ; then | 7204 if test "$need_motif" = "yes" ; then |
6974 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7205 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
6975 | 7206 |
6976 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7207 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
6977 echo "configure:6978: checking for layout_object_getvalue in -li18n" >&5 | 7208 echo "configure:7209: checking for layout_object_getvalue in -li18n" >&5 |
6978 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7209 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
6979 | 7210 |
6980 xe_check_libs=" -li18n " | 7211 xe_check_libs=" -li18n " |
6981 cat > conftest.$ac_ext <<EOF | 7212 cat > conftest.$ac_ext <<EOF |
6982 #line 6983 "configure" | 7213 #line 7214 "configure" |
6983 #include "confdefs.h" | 7214 #include "confdefs.h" |
6984 /* Override any gcc2 internal prototype to avoid an error. */ | 7215 /* Override any gcc2 internal prototype to avoid an error. */ |
6985 /* We use char because int might match the return type of a gcc2 | 7216 /* We use char because int might match the return type of a gcc2 |
6986 builtin and then its argument prototype would still apply. */ | 7217 builtin and then its argument prototype would still apply. */ |
6987 char layout_object_getvalue(); | 7218 char layout_object_getvalue(); |
6988 | 7219 |
6989 int main() { | 7220 int main() { |
6990 layout_object_getvalue() | 7221 layout_object_getvalue() |
6991 ; return 0; } | 7222 ; return 0; } |
6992 EOF | 7223 EOF |
6993 if { (eval echo configure:6994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7224 if { (eval echo configure:7225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6994 rm -rf conftest* | 7225 rm -rf conftest* |
6995 eval "ac_cv_lib_$ac_lib_var=yes" | 7226 eval "ac_cv_lib_$ac_lib_var=yes" |
6996 else | 7227 else |
6997 echo "configure: failed program was:" >&5 | 7228 echo "configure: failed program was:" >&5 |
6998 cat conftest.$ac_ext >&5 | 7229 cat conftest.$ac_ext >&5 |
7061 fi | 7292 fi |
7062 | 7293 |
7063 for ac_func in acosh asinh atanh 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 | 7294 for ac_func in acosh asinh atanh 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 |
7064 do | 7295 do |
7065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7066 echo "configure:7067: checking for $ac_func" >&5 | 7297 echo "configure:7298: checking for $ac_func" >&5 |
7067 | 7298 |
7068 cat > conftest.$ac_ext <<EOF | 7299 cat > conftest.$ac_ext <<EOF |
7069 #line 7070 "configure" | 7300 #line 7301 "configure" |
7070 #include "confdefs.h" | 7301 #include "confdefs.h" |
7071 /* System header to define __stub macros and hopefully few prototypes, | 7302 /* System header to define __stub macros and hopefully few prototypes, |
7072 which can conflict with char $ac_func(); below. */ | 7303 which can conflict with char $ac_func(); below. */ |
7073 #include <assert.h> | 7304 #include <assert.h> |
7074 /* Override any gcc2 internal prototype to avoid an error. */ | 7305 /* Override any gcc2 internal prototype to avoid an error. */ |
7087 $ac_func(); | 7318 $ac_func(); |
7088 #endif | 7319 #endif |
7089 | 7320 |
7090 ; return 0; } | 7321 ; return 0; } |
7091 EOF | 7322 EOF |
7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7323 if { (eval echo configure:7324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7093 rm -rf conftest* | 7324 rm -rf conftest* |
7094 eval "ac_cv_func_$ac_func=yes" | 7325 eval "ac_cv_func_$ac_func=yes" |
7095 else | 7326 else |
7096 echo "configure: failed program was:" >&5 | 7327 echo "configure: failed program was:" >&5 |
7097 cat conftest.$ac_ext >&5 | 7328 cat conftest.$ac_ext >&5 |
7124 fi ;; | 7355 fi ;; |
7125 * ) | 7356 * ) |
7126 for ac_func in realpath | 7357 for ac_func in realpath |
7127 do | 7358 do |
7128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7129 echo "configure:7130: checking for $ac_func" >&5 | 7360 echo "configure:7361: checking for $ac_func" >&5 |
7130 | 7361 |
7131 cat > conftest.$ac_ext <<EOF | 7362 cat > conftest.$ac_ext <<EOF |
7132 #line 7133 "configure" | 7363 #line 7364 "configure" |
7133 #include "confdefs.h" | 7364 #include "confdefs.h" |
7134 /* System header to define __stub macros and hopefully few prototypes, | 7365 /* System header to define __stub macros and hopefully few prototypes, |
7135 which can conflict with char $ac_func(); below. */ | 7366 which can conflict with char $ac_func(); below. */ |
7136 #include <assert.h> | 7367 #include <assert.h> |
7137 /* Override any gcc2 internal prototype to avoid an error. */ | 7368 /* Override any gcc2 internal prototype to avoid an error. */ |
7150 $ac_func(); | 7381 $ac_func(); |
7151 #endif | 7382 #endif |
7152 | 7383 |
7153 ; return 0; } | 7384 ; return 0; } |
7154 EOF | 7385 EOF |
7155 if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7386 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7156 rm -rf conftest* | 7387 rm -rf conftest* |
7157 eval "ac_cv_func_$ac_func=yes" | 7388 eval "ac_cv_func_$ac_func=yes" |
7158 else | 7389 else |
7159 echo "configure: failed program was:" >&5 | 7390 echo "configure: failed program was:" >&5 |
7160 cat conftest.$ac_ext >&5 | 7391 cat conftest.$ac_ext >&5 |
7183 echo " xemacs will be linked with \"realpath.o\"" | 7414 echo " xemacs will be linked with \"realpath.o\"" |
7184 fi ;; | 7415 fi ;; |
7185 esac | 7416 esac |
7186 | 7417 |
7187 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7418 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7188 echo "configure:7189: checking whether netdb declares h_errno" >&5 | 7419 echo "configure:7420: checking whether netdb declares h_errno" >&5 |
7189 cat > conftest.$ac_ext <<EOF | 7420 cat > conftest.$ac_ext <<EOF |
7190 #line 7191 "configure" | 7421 #line 7422 "configure" |
7191 #include "confdefs.h" | 7422 #include "confdefs.h" |
7192 #include <netdb.h> | 7423 #include <netdb.h> |
7193 int main() { | 7424 int main() { |
7194 return h_errno; | 7425 return h_errno; |
7195 ; return 0; } | 7426 ; return 0; } |
7196 EOF | 7427 EOF |
7197 if { (eval echo configure:7198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7428 if { (eval echo configure:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7198 rm -rf conftest* | 7429 rm -rf conftest* |
7199 echo "$ac_t""yes" 1>&6 | 7430 echo "$ac_t""yes" 1>&6 |
7200 { test "$extra_verbose" = "yes" && cat << \EOF | 7431 { test "$extra_verbose" = "yes" && cat << \EOF |
7201 Defining HAVE_H_ERRNO | 7432 Defining HAVE_H_ERRNO |
7202 EOF | 7433 EOF |
7212 echo "$ac_t""no" 1>&6 | 7443 echo "$ac_t""no" 1>&6 |
7213 fi | 7444 fi |
7214 rm -f conftest* | 7445 rm -f conftest* |
7215 | 7446 |
7216 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7447 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7217 echo "configure:7218: checking for sigsetjmp" >&5 | 7448 echo "configure:7449: checking for sigsetjmp" >&5 |
7218 cat > conftest.$ac_ext <<EOF | 7449 cat > conftest.$ac_ext <<EOF |
7219 #line 7220 "configure" | 7450 #line 7451 "configure" |
7220 #include "confdefs.h" | 7451 #include "confdefs.h" |
7221 #include <setjmp.h> | 7452 #include <setjmp.h> |
7222 int main() { | 7453 int main() { |
7223 sigjmp_buf bar; sigsetjmp (bar, 0); | 7454 sigjmp_buf bar; sigsetjmp (bar, 0); |
7224 ; return 0; } | 7455 ; return 0; } |
7225 EOF | 7456 EOF |
7226 if { (eval echo configure:7227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7457 if { (eval echo configure:7458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7227 rm -rf conftest* | 7458 rm -rf conftest* |
7228 echo "$ac_t""yes" 1>&6 | 7459 echo "$ac_t""yes" 1>&6 |
7229 { test "$extra_verbose" = "yes" && cat << \EOF | 7460 { test "$extra_verbose" = "yes" && cat << \EOF |
7230 Defining HAVE_SIGSETJMP | 7461 Defining HAVE_SIGSETJMP |
7231 EOF | 7462 EOF |
7241 echo "$ac_t""no" 1>&6 | 7472 echo "$ac_t""no" 1>&6 |
7242 fi | 7473 fi |
7243 rm -f conftest* | 7474 rm -f conftest* |
7244 | 7475 |
7245 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7476 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7246 echo "configure:7247: checking whether localtime caches TZ" >&5 | 7477 echo "configure:7478: checking whether localtime caches TZ" >&5 |
7247 | 7478 |
7248 if test "$ac_cv_func_tzset" = "yes"; then | 7479 if test "$ac_cv_func_tzset" = "yes"; then |
7249 cat > conftest.$ac_ext <<EOF | 7480 cat > conftest.$ac_ext <<EOF |
7250 #line 7251 "configure" | 7481 #line 7482 "configure" |
7251 #include "confdefs.h" | 7482 #include "confdefs.h" |
7252 #include <time.h> | 7483 #include <time.h> |
7253 #if STDC_HEADERS | 7484 #if STDC_HEADERS |
7254 # include <stdlib.h> | 7485 # include <stdlib.h> |
7255 #endif | 7486 #endif |
7280 if (localtime (&now)->tm_hour != hour_unset) | 7511 if (localtime (&now)->tm_hour != hour_unset) |
7281 exit (1); | 7512 exit (1); |
7282 exit (0); | 7513 exit (0); |
7283 } | 7514 } |
7284 EOF | 7515 EOF |
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7516 if { (eval echo configure:7517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7286 then | 7517 then |
7287 emacs_cv_localtime_cache=no | 7518 emacs_cv_localtime_cache=no |
7288 else | 7519 else |
7289 echo "configure: failed program was:" >&5 | 7520 echo "configure: failed program was:" >&5 |
7290 cat conftest.$ac_ext >&5 | 7521 cat conftest.$ac_ext >&5 |
7309 | 7540 |
7310 fi | 7541 fi |
7311 | 7542 |
7312 if test "$HAVE_TIMEVAL" = "yes"; then | 7543 if test "$HAVE_TIMEVAL" = "yes"; then |
7313 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7544 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7314 echo "configure:7315: checking whether gettimeofday cannot accept two arguments" >&5 | 7545 echo "configure:7546: checking whether gettimeofday cannot accept two arguments" >&5 |
7315 cat > conftest.$ac_ext <<EOF | 7546 cat > conftest.$ac_ext <<EOF |
7316 #line 7317 "configure" | 7547 #line 7548 "configure" |
7317 #include "confdefs.h" | 7548 #include "confdefs.h" |
7318 | 7549 |
7319 #ifdef TIME_WITH_SYS_TIME | 7550 #ifdef TIME_WITH_SYS_TIME |
7320 #include <sys/time.h> | 7551 #include <sys/time.h> |
7321 #include <time.h> | 7552 #include <time.h> |
7333 struct timezone dummy; | 7564 struct timezone dummy; |
7334 gettimeofday (&time, &dummy); | 7565 gettimeofday (&time, &dummy); |
7335 | 7566 |
7336 ; return 0; } | 7567 ; return 0; } |
7337 EOF | 7568 EOF |
7338 if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7569 if { (eval echo configure:7570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7339 rm -rf conftest* | 7570 rm -rf conftest* |
7340 echo "$ac_t""no" 1>&6 | 7571 echo "$ac_t""no" 1>&6 |
7341 else | 7572 else |
7342 echo "configure: failed program was:" >&5 | 7573 echo "configure: failed program was:" >&5 |
7343 cat conftest.$ac_ext >&5 | 7574 cat conftest.$ac_ext >&5 |
7355 rm -f conftest* | 7586 rm -f conftest* |
7356 fi | 7587 fi |
7357 | 7588 |
7358 | 7589 |
7359 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7590 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7360 echo "configure:7361: checking for inline" >&5 | 7591 echo "configure:7592: checking for inline" >&5 |
7361 | 7592 |
7362 ac_cv_c_inline=no | 7593 ac_cv_c_inline=no |
7363 for ac_kw in inline __inline__ __inline; do | 7594 for ac_kw in inline __inline__ __inline; do |
7364 cat > conftest.$ac_ext <<EOF | 7595 cat > conftest.$ac_ext <<EOF |
7365 #line 7366 "configure" | 7596 #line 7597 "configure" |
7366 #include "confdefs.h" | 7597 #include "confdefs.h" |
7367 | 7598 |
7368 int main() { | 7599 int main() { |
7369 } $ac_kw foo() { | 7600 } $ac_kw foo() { |
7370 ; return 0; } | 7601 ; return 0; } |
7371 EOF | 7602 EOF |
7372 if { (eval echo configure:7373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7603 if { (eval echo configure:7604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7373 rm -rf conftest* | 7604 rm -rf conftest* |
7374 ac_cv_c_inline=$ac_kw; break | 7605 ac_cv_c_inline=$ac_kw; break |
7375 else | 7606 else |
7376 echo "configure: failed program was:" >&5 | 7607 echo "configure: failed program was:" >&5 |
7377 cat conftest.$ac_ext >&5 | 7608 cat conftest.$ac_ext >&5 |
7417 | 7648 |
7418 | 7649 |
7419 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7650 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7420 # for constant arguments. Useless! | 7651 # for constant arguments. Useless! |
7421 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7652 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7422 echo "configure:7423: checking for working alloca.h" >&5 | 7653 echo "configure:7654: checking for working alloca.h" >&5 |
7423 | 7654 |
7424 cat > conftest.$ac_ext <<EOF | 7655 cat > conftest.$ac_ext <<EOF |
7425 #line 7426 "configure" | 7656 #line 7657 "configure" |
7426 #include "confdefs.h" | 7657 #include "confdefs.h" |
7427 #include <alloca.h> | 7658 #include <alloca.h> |
7428 int main() { | 7659 int main() { |
7429 char *p = alloca(2 * sizeof(int)); | 7660 char *p = alloca(2 * sizeof(int)); |
7430 ; return 0; } | 7661 ; return 0; } |
7431 EOF | 7662 EOF |
7432 if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7663 if { (eval echo configure:7664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7433 rm -rf conftest* | 7664 rm -rf conftest* |
7434 ac_cv_header_alloca_h=yes | 7665 ac_cv_header_alloca_h=yes |
7435 else | 7666 else |
7436 echo "configure: failed program was:" >&5 | 7667 echo "configure: failed program was:" >&5 |
7437 cat conftest.$ac_ext >&5 | 7668 cat conftest.$ac_ext >&5 |
7451 } | 7682 } |
7452 | 7683 |
7453 fi | 7684 fi |
7454 | 7685 |
7455 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7686 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7456 echo "configure:7457: checking for alloca" >&5 | 7687 echo "configure:7688: checking for alloca" >&5 |
7457 | 7688 |
7458 cat > conftest.$ac_ext <<EOF | 7689 cat > conftest.$ac_ext <<EOF |
7459 #line 7460 "configure" | 7690 #line 7691 "configure" |
7460 #include "confdefs.h" | 7691 #include "confdefs.h" |
7461 | 7692 |
7462 #ifdef __GNUC__ | 7693 #ifdef __GNUC__ |
7463 # define alloca __builtin_alloca | 7694 # define alloca __builtin_alloca |
7464 #else | 7695 #else |
7477 | 7708 |
7478 int main() { | 7709 int main() { |
7479 char *p = (char *) alloca(1); | 7710 char *p = (char *) alloca(1); |
7480 ; return 0; } | 7711 ; return 0; } |
7481 EOF | 7712 EOF |
7482 if { (eval echo configure:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7483 rm -rf conftest* | 7714 rm -rf conftest* |
7484 ac_cv_func_alloca_works=yes | 7715 ac_cv_func_alloca_works=yes |
7485 else | 7716 else |
7486 echo "configure: failed program was:" >&5 | 7717 echo "configure: failed program was:" >&5 |
7487 cat conftest.$ac_ext >&5 | 7718 cat conftest.$ac_ext >&5 |
7516 EOF | 7747 EOF |
7517 } | 7748 } |
7518 | 7749 |
7519 | 7750 |
7520 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7751 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7521 echo "configure:7522: checking whether alloca needs Cray hooks" >&5 | 7752 echo "configure:7753: checking whether alloca needs Cray hooks" >&5 |
7522 | 7753 |
7523 cat > conftest.$ac_ext <<EOF | 7754 cat > conftest.$ac_ext <<EOF |
7524 #line 7525 "configure" | 7755 #line 7756 "configure" |
7525 #include "confdefs.h" | 7756 #include "confdefs.h" |
7526 #if defined(CRAY) && ! defined(CRAY2) | 7757 #if defined(CRAY) && ! defined(CRAY2) |
7527 webecray | 7758 webecray |
7528 #else | 7759 #else |
7529 wenotbecray | 7760 wenotbecray |
7543 | 7774 |
7544 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7775 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7545 if test $ac_cv_os_cray = yes; then | 7776 if test $ac_cv_os_cray = yes; then |
7546 for ac_func in _getb67 GETB67 getb67; do | 7777 for ac_func in _getb67 GETB67 getb67; do |
7547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7548 echo "configure:7549: checking for $ac_func" >&5 | 7779 echo "configure:7780: checking for $ac_func" >&5 |
7549 | 7780 |
7550 cat > conftest.$ac_ext <<EOF | 7781 cat > conftest.$ac_ext <<EOF |
7551 #line 7552 "configure" | 7782 #line 7783 "configure" |
7552 #include "confdefs.h" | 7783 #include "confdefs.h" |
7553 /* System header to define __stub macros and hopefully few prototypes, | 7784 /* System header to define __stub macros and hopefully few prototypes, |
7554 which can conflict with char $ac_func(); below. */ | 7785 which can conflict with char $ac_func(); below. */ |
7555 #include <assert.h> | 7786 #include <assert.h> |
7556 /* Override any gcc2 internal prototype to avoid an error. */ | 7787 /* Override any gcc2 internal prototype to avoid an error. */ |
7569 $ac_func(); | 7800 $ac_func(); |
7570 #endif | 7801 #endif |
7571 | 7802 |
7572 ; return 0; } | 7803 ; return 0; } |
7573 EOF | 7804 EOF |
7574 if { (eval echo configure:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7805 if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7575 rm -rf conftest* | 7806 rm -rf conftest* |
7576 eval "ac_cv_func_$ac_func=yes" | 7807 eval "ac_cv_func_$ac_func=yes" |
7577 else | 7808 else |
7578 echo "configure: failed program was:" >&5 | 7809 echo "configure: failed program was:" >&5 |
7579 cat conftest.$ac_ext >&5 | 7810 cat conftest.$ac_ext >&5 |
7599 | 7830 |
7600 done | 7831 done |
7601 fi | 7832 fi |
7602 | 7833 |
7603 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7834 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
7604 echo "configure:7605: checking stack direction for C alloca" >&5 | 7835 echo "configure:7836: checking stack direction for C alloca" >&5 |
7605 | 7836 |
7606 cat > conftest.$ac_ext <<EOF | 7837 cat > conftest.$ac_ext <<EOF |
7607 #line 7608 "configure" | 7838 #line 7839 "configure" |
7608 #include "confdefs.h" | 7839 #include "confdefs.h" |
7609 find_stack_direction () | 7840 find_stack_direction () |
7610 { | 7841 { |
7611 static char *addr = 0; | 7842 static char *addr = 0; |
7612 auto char dummy; | 7843 auto char dummy; |
7621 main () | 7852 main () |
7622 { | 7853 { |
7623 exit (find_stack_direction() < 0); | 7854 exit (find_stack_direction() < 0); |
7624 } | 7855 } |
7625 EOF | 7856 EOF |
7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7857 if { (eval echo configure:7858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7627 then | 7858 then |
7628 ac_cv_c_stack_direction=1 | 7859 ac_cv_c_stack_direction=1 |
7629 else | 7860 else |
7630 echo "configure: failed program was:" >&5 | 7861 echo "configure: failed program was:" >&5 |
7631 cat conftest.$ac_ext >&5 | 7862 cat conftest.$ac_ext >&5 |
7649 echo " xemacs will be linked with \"$ALLOCA\"" | 7880 echo " xemacs will be linked with \"$ALLOCA\"" |
7650 fi | 7881 fi |
7651 | 7882 |
7652 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7883 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
7653 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7884 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
7654 echo "configure:7655: checking for vfork.h" >&5 | 7885 echo "configure:7886: checking for vfork.h" >&5 |
7655 | 7886 |
7656 cat > conftest.$ac_ext <<EOF | 7887 cat > conftest.$ac_ext <<EOF |
7657 #line 7658 "configure" | 7888 #line 7889 "configure" |
7658 #include "confdefs.h" | 7889 #include "confdefs.h" |
7659 #include <vfork.h> | 7890 #include <vfork.h> |
7660 EOF | 7891 EOF |
7661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7662 { (eval echo configure:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7893 { (eval echo configure:7894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7663 ac_err=`grep -v '^ *+' conftest.out` | 7894 ac_err=`grep -v '^ *+' conftest.out` |
7664 if test -z "$ac_err"; then | 7895 if test -z "$ac_err"; then |
7665 rm -rf conftest* | 7896 rm -rf conftest* |
7666 eval "ac_cv_header_$ac_safe=yes" | 7897 eval "ac_cv_header_$ac_safe=yes" |
7667 else | 7898 else |
7685 else | 7916 else |
7686 echo "$ac_t""no" 1>&6 | 7917 echo "$ac_t""no" 1>&6 |
7687 fi | 7918 fi |
7688 | 7919 |
7689 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7920 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7690 echo "configure:7691: checking for working vfork" >&5 | 7921 echo "configure:7922: checking for working vfork" >&5 |
7691 | 7922 |
7692 cat > conftest.$ac_ext <<EOF | 7923 cat > conftest.$ac_ext <<EOF |
7693 #line 7694 "configure" | 7924 #line 7925 "configure" |
7694 #include "confdefs.h" | 7925 #include "confdefs.h" |
7695 /* Thanks to Paul Eggert for this test. */ | 7926 /* Thanks to Paul Eggert for this test. */ |
7696 #include <stdio.h> | 7927 #include <stdio.h> |
7697 #include <sys/types.h> | 7928 #include <sys/types.h> |
7698 #include <sys/stat.h> | 7929 #include <sys/stat.h> |
7783 || fstat(fileno(stdout), &st) != 0 | 8014 || fstat(fileno(stdout), &st) != 0 |
7784 ); | 8015 ); |
7785 } | 8016 } |
7786 } | 8017 } |
7787 EOF | 8018 EOF |
7788 if { (eval echo configure:7789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8019 if { (eval echo configure:8020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7789 then | 8020 then |
7790 ac_cv_func_vfork_works=yes | 8021 ac_cv_func_vfork_works=yes |
7791 else | 8022 else |
7792 echo "configure: failed program was:" >&5 | 8023 echo "configure: failed program was:" >&5 |
7793 cat conftest.$ac_ext >&5 | 8024 cat conftest.$ac_ext >&5 |
7808 | 8039 |
7809 fi | 8040 fi |
7810 | 8041 |
7811 | 8042 |
7812 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8043 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
7813 echo "configure:7814: checking for working strcoll" >&5 | 8044 echo "configure:8045: checking for working strcoll" >&5 |
7814 | 8045 |
7815 cat > conftest.$ac_ext <<EOF | 8046 cat > conftest.$ac_ext <<EOF |
7816 #line 7817 "configure" | 8047 #line 8048 "configure" |
7817 #include "confdefs.h" | 8048 #include "confdefs.h" |
7818 #include <string.h> | 8049 #include <string.h> |
7819 main () | 8050 main () |
7820 { | 8051 { |
7821 exit (strcoll ("abc", "def") >= 0 || | 8052 exit (strcoll ("abc", "def") >= 0 || |
7822 strcoll ("ABC", "DEF") >= 0 || | 8053 strcoll ("ABC", "DEF") >= 0 || |
7823 strcoll ("123", "456") >= 0); | 8054 strcoll ("123", "456") >= 0); |
7824 } | 8055 } |
7825 EOF | 8056 EOF |
7826 if { (eval echo configure:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7827 then | 8058 then |
7828 ac_cv_func_strcoll_works=yes | 8059 ac_cv_func_strcoll_works=yes |
7829 else | 8060 else |
7830 echo "configure: failed program was:" >&5 | 8061 echo "configure: failed program was:" >&5 |
7831 cat conftest.$ac_ext >&5 | 8062 cat conftest.$ac_ext >&5 |
7848 | 8079 |
7849 | 8080 |
7850 for ac_func in getpgrp | 8081 for ac_func in getpgrp |
7851 do | 8082 do |
7852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7853 echo "configure:7854: checking for $ac_func" >&5 | 8084 echo "configure:8085: checking for $ac_func" >&5 |
7854 | 8085 |
7855 cat > conftest.$ac_ext <<EOF | 8086 cat > conftest.$ac_ext <<EOF |
7856 #line 7857 "configure" | 8087 #line 8088 "configure" |
7857 #include "confdefs.h" | 8088 #include "confdefs.h" |
7858 /* System header to define __stub macros and hopefully few prototypes, | 8089 /* System header to define __stub macros and hopefully few prototypes, |
7859 which can conflict with char $ac_func(); below. */ | 8090 which can conflict with char $ac_func(); below. */ |
7860 #include <assert.h> | 8091 #include <assert.h> |
7861 /* Override any gcc2 internal prototype to avoid an error. */ | 8092 /* Override any gcc2 internal prototype to avoid an error. */ |
7874 $ac_func(); | 8105 $ac_func(); |
7875 #endif | 8106 #endif |
7876 | 8107 |
7877 ; return 0; } | 8108 ; return 0; } |
7878 EOF | 8109 EOF |
7879 if { (eval echo configure:7880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8110 if { (eval echo configure:8111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7880 rm -rf conftest* | 8111 rm -rf conftest* |
7881 eval "ac_cv_func_$ac_func=yes" | 8112 eval "ac_cv_func_$ac_func=yes" |
7882 else | 8113 else |
7883 echo "configure: failed program was:" >&5 | 8114 echo "configure: failed program was:" >&5 |
7884 cat conftest.$ac_ext >&5 | 8115 cat conftest.$ac_ext >&5 |
7902 echo "$ac_t""no" 1>&6 | 8133 echo "$ac_t""no" 1>&6 |
7903 fi | 8134 fi |
7904 done | 8135 done |
7905 | 8136 |
7906 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8137 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
7907 echo "configure:7908: checking whether getpgrp takes no argument" >&5 | 8138 echo "configure:8139: checking whether getpgrp takes no argument" >&5 |
7908 | 8139 |
7909 cat > conftest.$ac_ext <<EOF | 8140 cat > conftest.$ac_ext <<EOF |
7910 #line 7911 "configure" | 8141 #line 8142 "configure" |
7911 #include "confdefs.h" | 8142 #include "confdefs.h" |
7912 | 8143 |
7913 /* | 8144 /* |
7914 * If this system has a BSD-style getpgrp(), | 8145 * If this system has a BSD-style getpgrp(), |
7915 * which takes a pid argument, exit unsuccessfully. | 8146 * which takes a pid argument, exit unsuccessfully. |
7960 exit(s>>8); | 8191 exit(s>>8); |
7961 } | 8192 } |
7962 } | 8193 } |
7963 | 8194 |
7964 EOF | 8195 EOF |
7965 if { (eval echo configure:7966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8196 if { (eval echo configure:8197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7966 then | 8197 then |
7967 ac_cv_func_getpgrp_void=yes | 8198 ac_cv_func_getpgrp_void=yes |
7968 else | 8199 else |
7969 echo "configure: failed program was:" >&5 | 8200 echo "configure: failed program was:" >&5 |
7970 cat conftest.$ac_ext >&5 | 8201 cat conftest.$ac_ext >&5 |
7986 | 8217 |
7987 fi | 8218 fi |
7988 | 8219 |
7989 | 8220 |
7990 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8221 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
7991 echo "configure:7992: checking for working mmap" >&5 | 8222 echo "configure:8223: checking for working mmap" >&5 |
7992 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8223 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
7993 cat > conftest.$ac_ext <<EOF | 8224 cat > conftest.$ac_ext <<EOF |
7994 #line 7995 "configure" | 8225 #line 8226 "configure" |
7995 #include "confdefs.h" | 8226 #include "confdefs.h" |
7996 #include <stdio.h> | 8227 #include <stdio.h> |
7997 #include <unistd.h> | 8228 #include <unistd.h> |
7998 #include <fcntl.h> | 8229 #include <fcntl.h> |
7999 #include <sys/mman.h> | 8230 #include <sys/mman.h> |
8022 return 0; | 8253 return 0; |
8023 perror ("conftest: mmap failed"); | 8254 perror ("conftest: mmap failed"); |
8024 return 1; | 8255 return 1; |
8025 } | 8256 } |
8026 EOF | 8257 EOF |
8027 if { (eval echo configure:8028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8258 if { (eval echo configure:8259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8028 then | 8259 then |
8029 have_mmap=yes | 8260 have_mmap=yes |
8030 else | 8261 else |
8031 echo "configure: failed program was:" >&5 | 8262 echo "configure: failed program was:" >&5 |
8032 cat conftest.$ac_ext >&5 | 8263 cat conftest.$ac_ext >&5 |
8056 } | 8287 } |
8057 | 8288 |
8058 | 8289 |
8059 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8290 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8060 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8291 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8061 echo "configure:8062: checking for termios.h" >&5 | 8292 echo "configure:8293: checking for termios.h" >&5 |
8062 | 8293 |
8063 cat > conftest.$ac_ext <<EOF | 8294 cat > conftest.$ac_ext <<EOF |
8064 #line 8065 "configure" | 8295 #line 8296 "configure" |
8065 #include "confdefs.h" | 8296 #include "confdefs.h" |
8066 #include <termios.h> | 8297 #include <termios.h> |
8067 EOF | 8298 EOF |
8068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8069 { (eval echo configure:8070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8300 { (eval echo configure:8301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8070 ac_err=`grep -v '^ *+' conftest.out` | 8301 ac_err=`grep -v '^ *+' conftest.out` |
8071 if test -z "$ac_err"; then | 8302 if test -z "$ac_err"; then |
8072 rm -rf conftest* | 8303 rm -rf conftest* |
8073 eval "ac_cv_header_$ac_safe=yes" | 8304 eval "ac_cv_header_$ac_safe=yes" |
8074 else | 8305 else |
8107 | 8338 |
8108 else | 8339 else |
8109 echo "$ac_t""no" 1>&6 | 8340 echo "$ac_t""no" 1>&6 |
8110 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8341 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8111 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8342 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8112 echo "configure:8113: checking for termio.h" >&5 | 8343 echo "configure:8344: checking for termio.h" >&5 |
8113 | 8344 |
8114 cat > conftest.$ac_ext <<EOF | 8345 cat > conftest.$ac_ext <<EOF |
8115 #line 8116 "configure" | 8346 #line 8347 "configure" |
8116 #include "confdefs.h" | 8347 #include "confdefs.h" |
8117 #include <termio.h> | 8348 #include <termio.h> |
8118 EOF | 8349 EOF |
8119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8120 { (eval echo configure:8121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8351 { (eval echo configure:8352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8121 ac_err=`grep -v '^ *+' conftest.out` | 8352 ac_err=`grep -v '^ *+' conftest.out` |
8122 if test -z "$ac_err"; then | 8353 if test -z "$ac_err"; then |
8123 rm -rf conftest* | 8354 rm -rf conftest* |
8124 eval "ac_cv_header_$ac_safe=yes" | 8355 eval "ac_cv_header_$ac_safe=yes" |
8125 else | 8356 else |
8147 fi | 8378 fi |
8148 | 8379 |
8149 | 8380 |
8150 | 8381 |
8151 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8382 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8152 echo "configure:8153: checking for socket" >&5 | 8383 echo "configure:8384: checking for socket" >&5 |
8153 | 8384 |
8154 cat > conftest.$ac_ext <<EOF | 8385 cat > conftest.$ac_ext <<EOF |
8155 #line 8156 "configure" | 8386 #line 8387 "configure" |
8156 #include "confdefs.h" | 8387 #include "confdefs.h" |
8157 /* System header to define __stub macros and hopefully few prototypes, | 8388 /* System header to define __stub macros and hopefully few prototypes, |
8158 which can conflict with char socket(); below. */ | 8389 which can conflict with char socket(); below. */ |
8159 #include <assert.h> | 8390 #include <assert.h> |
8160 /* Override any gcc2 internal prototype to avoid an error. */ | 8391 /* Override any gcc2 internal prototype to avoid an error. */ |
8173 socket(); | 8404 socket(); |
8174 #endif | 8405 #endif |
8175 | 8406 |
8176 ; return 0; } | 8407 ; return 0; } |
8177 EOF | 8408 EOF |
8178 if { (eval echo configure:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8409 if { (eval echo configure:8410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8179 rm -rf conftest* | 8410 rm -rf conftest* |
8180 eval "ac_cv_func_socket=yes" | 8411 eval "ac_cv_func_socket=yes" |
8181 else | 8412 else |
8182 echo "configure: failed program was:" >&5 | 8413 echo "configure: failed program was:" >&5 |
8183 cat conftest.$ac_ext >&5 | 8414 cat conftest.$ac_ext >&5 |
8188 | 8419 |
8189 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8420 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8190 echo "$ac_t""yes" 1>&6 | 8421 echo "$ac_t""yes" 1>&6 |
8191 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8422 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8192 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8423 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8193 echo "configure:8194: checking for netinet/in.h" >&5 | 8424 echo "configure:8425: checking for netinet/in.h" >&5 |
8194 | 8425 |
8195 cat > conftest.$ac_ext <<EOF | 8426 cat > conftest.$ac_ext <<EOF |
8196 #line 8197 "configure" | 8427 #line 8428 "configure" |
8197 #include "confdefs.h" | 8428 #include "confdefs.h" |
8198 #include <netinet/in.h> | 8429 #include <netinet/in.h> |
8199 EOF | 8430 EOF |
8200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8201 { (eval echo configure:8202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8432 { (eval echo configure:8433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8202 ac_err=`grep -v '^ *+' conftest.out` | 8433 ac_err=`grep -v '^ *+' conftest.out` |
8203 if test -z "$ac_err"; then | 8434 if test -z "$ac_err"; then |
8204 rm -rf conftest* | 8435 rm -rf conftest* |
8205 eval "ac_cv_header_$ac_safe=yes" | 8436 eval "ac_cv_header_$ac_safe=yes" |
8206 else | 8437 else |
8213 rm -f conftest* | 8444 rm -f conftest* |
8214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8445 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8215 echo "$ac_t""yes" 1>&6 | 8446 echo "$ac_t""yes" 1>&6 |
8216 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8447 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8217 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8448 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8218 echo "configure:8219: checking for arpa/inet.h" >&5 | 8449 echo "configure:8450: checking for arpa/inet.h" >&5 |
8219 | 8450 |
8220 cat > conftest.$ac_ext <<EOF | 8451 cat > conftest.$ac_ext <<EOF |
8221 #line 8222 "configure" | 8452 #line 8453 "configure" |
8222 #include "confdefs.h" | 8453 #include "confdefs.h" |
8223 #include <arpa/inet.h> | 8454 #include <arpa/inet.h> |
8224 EOF | 8455 EOF |
8225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8226 { (eval echo configure:8227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8457 { (eval echo configure:8458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8227 ac_err=`grep -v '^ *+' conftest.out` | 8458 ac_err=`grep -v '^ *+' conftest.out` |
8228 if test -z "$ac_err"; then | 8459 if test -z "$ac_err"; then |
8229 rm -rf conftest* | 8460 rm -rf conftest* |
8230 eval "ac_cv_header_$ac_safe=yes" | 8461 eval "ac_cv_header_$ac_safe=yes" |
8231 else | 8462 else |
8246 #define HAVE_SOCKETS 1 | 8477 #define HAVE_SOCKETS 1 |
8247 EOF | 8478 EOF |
8248 } | 8479 } |
8249 | 8480 |
8250 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8481 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8251 echo "configure:8252: checking "for sun_len member in struct sockaddr_un"" >&5 | 8482 echo "configure:8483: checking "for sun_len member in struct sockaddr_un"" >&5 |
8252 cat > conftest.$ac_ext <<EOF | 8483 cat > conftest.$ac_ext <<EOF |
8253 #line 8254 "configure" | 8484 #line 8485 "configure" |
8254 #include "confdefs.h" | 8485 #include "confdefs.h" |
8255 | 8486 |
8256 #include <sys/types.h> | 8487 #include <sys/types.h> |
8257 #include <sys/socket.h> | 8488 #include <sys/socket.h> |
8258 #include <sys/un.h> | 8489 #include <sys/un.h> |
8259 | 8490 |
8260 int main() { | 8491 int main() { |
8261 static struct sockaddr_un x; x.sun_len = 1; | 8492 static struct sockaddr_un x; x.sun_len = 1; |
8262 ; return 0; } | 8493 ; return 0; } |
8263 EOF | 8494 EOF |
8264 if { (eval echo configure:8265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8495 if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8265 rm -rf conftest* | 8496 rm -rf conftest* |
8266 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8497 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8267 Defining HAVE_SOCKADDR_SUN_LEN | 8498 Defining HAVE_SOCKADDR_SUN_LEN |
8268 EOF | 8499 EOF |
8269 cat >> confdefs.h <<\EOF | 8500 cat >> confdefs.h <<\EOF |
8290 echo "$ac_t""no" 1>&6 | 8521 echo "$ac_t""no" 1>&6 |
8291 fi | 8522 fi |
8292 | 8523 |
8293 | 8524 |
8294 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8525 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8295 echo "configure:8296: checking for msgget" >&5 | 8526 echo "configure:8527: checking for msgget" >&5 |
8296 | 8527 |
8297 cat > conftest.$ac_ext <<EOF | 8528 cat > conftest.$ac_ext <<EOF |
8298 #line 8299 "configure" | 8529 #line 8530 "configure" |
8299 #include "confdefs.h" | 8530 #include "confdefs.h" |
8300 /* System header to define __stub macros and hopefully few prototypes, | 8531 /* System header to define __stub macros and hopefully few prototypes, |
8301 which can conflict with char msgget(); below. */ | 8532 which can conflict with char msgget(); below. */ |
8302 #include <assert.h> | 8533 #include <assert.h> |
8303 /* Override any gcc2 internal prototype to avoid an error. */ | 8534 /* Override any gcc2 internal prototype to avoid an error. */ |
8316 msgget(); | 8547 msgget(); |
8317 #endif | 8548 #endif |
8318 | 8549 |
8319 ; return 0; } | 8550 ; return 0; } |
8320 EOF | 8551 EOF |
8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8552 if { (eval echo configure:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8322 rm -rf conftest* | 8553 rm -rf conftest* |
8323 eval "ac_cv_func_msgget=yes" | 8554 eval "ac_cv_func_msgget=yes" |
8324 else | 8555 else |
8325 echo "configure: failed program was:" >&5 | 8556 echo "configure: failed program was:" >&5 |
8326 cat conftest.$ac_ext >&5 | 8557 cat conftest.$ac_ext >&5 |
8331 | 8562 |
8332 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8563 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8333 echo "$ac_t""yes" 1>&6 | 8564 echo "$ac_t""yes" 1>&6 |
8334 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8565 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8335 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8566 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8336 echo "configure:8337: checking for sys/ipc.h" >&5 | 8567 echo "configure:8568: checking for sys/ipc.h" >&5 |
8337 | 8568 |
8338 cat > conftest.$ac_ext <<EOF | 8569 cat > conftest.$ac_ext <<EOF |
8339 #line 8340 "configure" | 8570 #line 8571 "configure" |
8340 #include "confdefs.h" | 8571 #include "confdefs.h" |
8341 #include <sys/ipc.h> | 8572 #include <sys/ipc.h> |
8342 EOF | 8573 EOF |
8343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8344 { (eval echo configure:8345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8575 { (eval echo configure:8576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8345 ac_err=`grep -v '^ *+' conftest.out` | 8576 ac_err=`grep -v '^ *+' conftest.out` |
8346 if test -z "$ac_err"; then | 8577 if test -z "$ac_err"; then |
8347 rm -rf conftest* | 8578 rm -rf conftest* |
8348 eval "ac_cv_header_$ac_safe=yes" | 8579 eval "ac_cv_header_$ac_safe=yes" |
8349 else | 8580 else |
8356 rm -f conftest* | 8587 rm -f conftest* |
8357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8588 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8358 echo "$ac_t""yes" 1>&6 | 8589 echo "$ac_t""yes" 1>&6 |
8359 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8590 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8360 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8591 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8361 echo "configure:8362: checking for sys/msg.h" >&5 | 8592 echo "configure:8593: checking for sys/msg.h" >&5 |
8362 | 8593 |
8363 cat > conftest.$ac_ext <<EOF | 8594 cat > conftest.$ac_ext <<EOF |
8364 #line 8365 "configure" | 8595 #line 8596 "configure" |
8365 #include "confdefs.h" | 8596 #include "confdefs.h" |
8366 #include <sys/msg.h> | 8597 #include <sys/msg.h> |
8367 EOF | 8598 EOF |
8368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8369 { (eval echo configure:8370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8370 ac_err=`grep -v '^ *+' conftest.out` | 8601 ac_err=`grep -v '^ *+' conftest.out` |
8371 if test -z "$ac_err"; then | 8602 if test -z "$ac_err"; then |
8372 rm -rf conftest* | 8603 rm -rf conftest* |
8373 eval "ac_cv_header_$ac_safe=yes" | 8604 eval "ac_cv_header_$ac_safe=yes" |
8374 else | 8605 else |
8402 fi | 8633 fi |
8403 | 8634 |
8404 | 8635 |
8405 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8636 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8406 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8637 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8407 echo "configure:8408: checking for dirent.h" >&5 | 8638 echo "configure:8639: checking for dirent.h" >&5 |
8408 | 8639 |
8409 cat > conftest.$ac_ext <<EOF | 8640 cat > conftest.$ac_ext <<EOF |
8410 #line 8411 "configure" | 8641 #line 8642 "configure" |
8411 #include "confdefs.h" | 8642 #include "confdefs.h" |
8412 #include <dirent.h> | 8643 #include <dirent.h> |
8413 EOF | 8644 EOF |
8414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8415 { (eval echo configure:8416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8646 { (eval echo configure:8647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8416 ac_err=`grep -v '^ *+' conftest.out` | 8647 ac_err=`grep -v '^ *+' conftest.out` |
8417 if test -z "$ac_err"; then | 8648 if test -z "$ac_err"; then |
8418 rm -rf conftest* | 8649 rm -rf conftest* |
8419 eval "ac_cv_header_$ac_safe=yes" | 8650 eval "ac_cv_header_$ac_safe=yes" |
8420 else | 8651 else |
8437 | 8668 |
8438 else | 8669 else |
8439 echo "$ac_t""no" 1>&6 | 8670 echo "$ac_t""no" 1>&6 |
8440 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8671 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8441 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8672 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8442 echo "configure:8443: checking for sys/dir.h" >&5 | 8673 echo "configure:8674: checking for sys/dir.h" >&5 |
8443 | 8674 |
8444 cat > conftest.$ac_ext <<EOF | 8675 cat > conftest.$ac_ext <<EOF |
8445 #line 8446 "configure" | 8676 #line 8677 "configure" |
8446 #include "confdefs.h" | 8677 #include "confdefs.h" |
8447 #include <sys/dir.h> | 8678 #include <sys/dir.h> |
8448 EOF | 8679 EOF |
8449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8450 { (eval echo configure:8451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8681 { (eval echo configure:8682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8451 ac_err=`grep -v '^ *+' conftest.out` | 8682 ac_err=`grep -v '^ *+' conftest.out` |
8452 if test -z "$ac_err"; then | 8683 if test -z "$ac_err"; then |
8453 rm -rf conftest* | 8684 rm -rf conftest* |
8454 eval "ac_cv_header_$ac_safe=yes" | 8685 eval "ac_cv_header_$ac_safe=yes" |
8455 else | 8686 else |
8478 fi | 8709 fi |
8479 | 8710 |
8480 | 8711 |
8481 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8712 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8482 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8713 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8483 echo "configure:8484: checking for nlist.h" >&5 | 8714 echo "configure:8715: checking for nlist.h" >&5 |
8484 | 8715 |
8485 cat > conftest.$ac_ext <<EOF | 8716 cat > conftest.$ac_ext <<EOF |
8486 #line 8487 "configure" | 8717 #line 8718 "configure" |
8487 #include "confdefs.h" | 8718 #include "confdefs.h" |
8488 #include <nlist.h> | 8719 #include <nlist.h> |
8489 EOF | 8720 EOF |
8490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8491 { (eval echo configure:8492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8722 { (eval echo configure:8723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8492 ac_err=`grep -v '^ *+' conftest.out` | 8723 ac_err=`grep -v '^ *+' conftest.out` |
8493 if test -z "$ac_err"; then | 8724 if test -z "$ac_err"; then |
8494 rm -rf conftest* | 8725 rm -rf conftest* |
8495 eval "ac_cv_header_$ac_safe=yes" | 8726 eval "ac_cv_header_$ac_safe=yes" |
8496 else | 8727 else |
8516 fi | 8747 fi |
8517 | 8748 |
8518 | 8749 |
8519 | 8750 |
8520 echo "checking "for sound support"" 1>&6 | 8751 echo "checking "for sound support"" 1>&6 |
8521 echo "configure:8522: checking "for sound support"" >&5 | 8752 echo "configure:8753: checking "for sound support"" >&5 |
8522 case "$with_sound" in | 8753 case "$with_sound" in |
8523 native | both ) with_native_sound=yes;; | 8754 native | both ) with_native_sound=yes;; |
8524 nas | no ) with_native_sound=no;; | 8755 nas | no ) with_native_sound=no;; |
8525 esac | 8756 esac |
8526 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8757 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8527 | 8758 |
8528 if test "$with_native_sound" != "no"; then | 8759 if test "$with_native_sound" != "no"; then |
8529 if test -n "$native_sound_lib"; then | 8760 if test -n "$native_sound_lib"; then |
8530 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8761 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8531 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8762 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8532 echo "configure:8533: checking for multimedia/audio_device.h" >&5 | 8763 echo "configure:8764: checking for multimedia/audio_device.h" >&5 |
8533 | 8764 |
8534 cat > conftest.$ac_ext <<EOF | 8765 cat > conftest.$ac_ext <<EOF |
8535 #line 8536 "configure" | 8766 #line 8767 "configure" |
8536 #include "confdefs.h" | 8767 #include "confdefs.h" |
8537 #include <multimedia/audio_device.h> | 8768 #include <multimedia/audio_device.h> |
8538 EOF | 8769 EOF |
8539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8540 { (eval echo configure:8541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8771 { (eval echo configure:8772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8541 ac_err=`grep -v '^ *+' conftest.out` | 8772 ac_err=`grep -v '^ *+' conftest.out` |
8542 if test -z "$ac_err"; then | 8773 if test -z "$ac_err"; then |
8543 rm -rf conftest* | 8774 rm -rf conftest* |
8544 eval "ac_cv_header_$ac_safe=yes" | 8775 eval "ac_cv_header_$ac_safe=yes" |
8545 else | 8776 else |
8583 case "$canonical" in | 8814 case "$canonical" in |
8584 *-sgi-* ) | 8815 *-sgi-* ) |
8585 if test -z "$native_sound_lib"; then | 8816 if test -z "$native_sound_lib"; then |
8586 | 8817 |
8587 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8818 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
8588 echo "configure:8589: checking for ALopenport in -laudio" >&5 | 8819 echo "configure:8820: checking for ALopenport in -laudio" >&5 |
8589 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8820 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
8590 | 8821 |
8591 xe_check_libs=" -laudio " | 8822 xe_check_libs=" -laudio " |
8592 cat > conftest.$ac_ext <<EOF | 8823 cat > conftest.$ac_ext <<EOF |
8593 #line 8594 "configure" | 8824 #line 8825 "configure" |
8594 #include "confdefs.h" | 8825 #include "confdefs.h" |
8595 /* Override any gcc2 internal prototype to avoid an error. */ | 8826 /* Override any gcc2 internal prototype to avoid an error. */ |
8596 /* We use char because int might match the return type of a gcc2 | 8827 /* We use char because int might match the return type of a gcc2 |
8597 builtin and then its argument prototype would still apply. */ | 8828 builtin and then its argument prototype would still apply. */ |
8598 char ALopenport(); | 8829 char ALopenport(); |
8599 | 8830 |
8600 int main() { | 8831 int main() { |
8601 ALopenport() | 8832 ALopenport() |
8602 ; return 0; } | 8833 ; return 0; } |
8603 EOF | 8834 EOF |
8604 if { (eval echo configure:8605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8835 if { (eval echo configure:8836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8605 rm -rf conftest* | 8836 rm -rf conftest* |
8606 eval "ac_cv_lib_$ac_lib_var=yes" | 8837 eval "ac_cv_lib_$ac_lib_var=yes" |
8607 else | 8838 else |
8608 echo "configure: failed program was:" >&5 | 8839 echo "configure: failed program was:" >&5 |
8609 cat conftest.$ac_ext >&5 | 8840 cat conftest.$ac_ext >&5 |
8630 fi ;; | 8861 fi ;; |
8631 hppa*-hp-hpux* ) | 8862 hppa*-hp-hpux* ) |
8632 if test -z "$native_sound_lib"; then | 8863 if test -z "$native_sound_lib"; then |
8633 | 8864 |
8634 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8865 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
8635 echo "configure:8636: checking for AOpenAudio in -lAlib" >&5 | 8866 echo "configure:8867: checking for AOpenAudio in -lAlib" >&5 |
8636 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8867 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
8637 | 8868 |
8638 xe_check_libs=" -lAlib " | 8869 xe_check_libs=" -lAlib " |
8639 cat > conftest.$ac_ext <<EOF | 8870 cat > conftest.$ac_ext <<EOF |
8640 #line 8641 "configure" | 8871 #line 8872 "configure" |
8641 #include "confdefs.h" | 8872 #include "confdefs.h" |
8642 /* Override any gcc2 internal prototype to avoid an error. */ | 8873 /* Override any gcc2 internal prototype to avoid an error. */ |
8643 /* We use char because int might match the return type of a gcc2 | 8874 /* We use char because int might match the return type of a gcc2 |
8644 builtin and then its argument prototype would still apply. */ | 8875 builtin and then its argument prototype would still apply. */ |
8645 char AOpenAudio(); | 8876 char AOpenAudio(); |
8646 | 8877 |
8647 int main() { | 8878 int main() { |
8648 AOpenAudio() | 8879 AOpenAudio() |
8649 ; return 0; } | 8880 ; return 0; } |
8650 EOF | 8881 EOF |
8651 if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8882 if { (eval echo configure:8883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8652 rm -rf conftest* | 8883 rm -rf conftest* |
8653 eval "ac_cv_lib_$ac_lib_var=yes" | 8884 eval "ac_cv_lib_$ac_lib_var=yes" |
8654 else | 8885 else |
8655 echo "configure: failed program was:" >&5 | 8886 echo "configure: failed program was:" >&5 |
8656 cat conftest.$ac_ext >&5 | 8887 cat conftest.$ac_ext >&5 |
8684 | 8915 |
8685 if test -z "$sound_found"; then | 8916 if test -z "$sound_found"; then |
8686 for dir in "machine" "sys" "linux"; do | 8917 for dir in "machine" "sys" "linux"; do |
8687 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8918 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
8688 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8919 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
8689 echo "configure:8690: checking for ${dir}/soundcard.h" >&5 | 8920 echo "configure:8921: checking for ${dir}/soundcard.h" >&5 |
8690 | 8921 |
8691 cat > conftest.$ac_ext <<EOF | 8922 cat > conftest.$ac_ext <<EOF |
8692 #line 8693 "configure" | 8923 #line 8924 "configure" |
8693 #include "confdefs.h" | 8924 #include "confdefs.h" |
8694 #include <${dir}/soundcard.h> | 8925 #include <${dir}/soundcard.h> |
8695 EOF | 8926 EOF |
8696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8697 { (eval echo configure:8698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8928 { (eval echo configure:8929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8698 ac_err=`grep -v '^ *+' conftest.out` | 8929 ac_err=`grep -v '^ *+' conftest.out` |
8699 if test -z "$ac_err"; then | 8930 if test -z "$ac_err"; then |
8700 rm -rf conftest* | 8931 rm -rf conftest* |
8701 eval "ac_cv_header_$ac_safe=yes" | 8932 eval "ac_cv_header_$ac_safe=yes" |
8702 else | 8933 else |
8762 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8993 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
8763 echo " xemacs will be linked with \"nas.o\"" | 8994 echo " xemacs will be linked with \"nas.o\"" |
8764 fi | 8995 fi |
8765 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 8996 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
8766 cat > conftest.$ac_ext <<EOF | 8997 cat > conftest.$ac_ext <<EOF |
8767 #line 8768 "configure" | 8998 #line 8999 "configure" |
8768 #include "confdefs.h" | 8999 #include "confdefs.h" |
8769 #include <audio/Xtutil.h> | 9000 #include <audio/Xtutil.h> |
8770 EOF | 9001 EOF |
8771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8772 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9003 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
8789 | 9020 |
8790 test -z "$with_tty" && with_tty=yes | 9021 test -z "$with_tty" && with_tty=yes |
8791 | 9022 |
8792 if test "$with_tty" = "yes" ; then | 9023 if test "$with_tty" = "yes" ; then |
8793 echo "checking for TTY-related features" 1>&6 | 9024 echo "checking for TTY-related features" 1>&6 |
8794 echo "configure:8795: checking for TTY-related features" >&5 | 9025 echo "configure:9026: checking for TTY-related features" >&5 |
8795 { test "$extra_verbose" = "yes" && cat << \EOF | 9026 { test "$extra_verbose" = "yes" && cat << \EOF |
8796 Defining HAVE_TTY | 9027 Defining HAVE_TTY |
8797 EOF | 9028 EOF |
8798 cat >> confdefs.h <<\EOF | 9029 cat >> confdefs.h <<\EOF |
8799 #define HAVE_TTY 1 | 9030 #define HAVE_TTY 1 |
8805 fi | 9036 fi |
8806 | 9037 |
8807 if test -z "$with_ncurses"; then | 9038 if test -z "$with_ncurses"; then |
8808 | 9039 |
8809 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9040 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
8810 echo "configure:8811: checking for tgetent in -lncurses" >&5 | 9041 echo "configure:9042: checking for tgetent in -lncurses" >&5 |
8811 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9042 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
8812 | 9043 |
8813 xe_check_libs=" -lncurses " | 9044 xe_check_libs=" -lncurses " |
8814 cat > conftest.$ac_ext <<EOF | 9045 cat > conftest.$ac_ext <<EOF |
8815 #line 8816 "configure" | 9046 #line 9047 "configure" |
8816 #include "confdefs.h" | 9047 #include "confdefs.h" |
8817 /* Override any gcc2 internal prototype to avoid an error. */ | 9048 /* Override any gcc2 internal prototype to avoid an error. */ |
8818 /* We use char because int might match the return type of a gcc2 | 9049 /* We use char because int might match the return type of a gcc2 |
8819 builtin and then its argument prototype would still apply. */ | 9050 builtin and then its argument prototype would still apply. */ |
8820 char tgetent(); | 9051 char tgetent(); |
8821 | 9052 |
8822 int main() { | 9053 int main() { |
8823 tgetent() | 9054 tgetent() |
8824 ; return 0; } | 9055 ; return 0; } |
8825 EOF | 9056 EOF |
8826 if { (eval echo configure:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9057 if { (eval echo configure:9058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8827 rm -rf conftest* | 9058 rm -rf conftest* |
8828 eval "ac_cv_lib_$ac_lib_var=yes" | 9059 eval "ac_cv_lib_$ac_lib_var=yes" |
8829 else | 9060 else |
8830 echo "configure: failed program was:" >&5 | 9061 echo "configure: failed program was:" >&5 |
8831 cat conftest.$ac_ext >&5 | 9062 cat conftest.$ac_ext >&5 |
8854 EOF | 9085 EOF |
8855 } | 9086 } |
8856 | 9087 |
8857 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9088 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
8858 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9089 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
8859 echo "configure:8860: checking for ncurses/curses.h" >&5 | 9090 echo "configure:9091: checking for ncurses/curses.h" >&5 |
8860 | 9091 |
8861 cat > conftest.$ac_ext <<EOF | 9092 cat > conftest.$ac_ext <<EOF |
8862 #line 8863 "configure" | 9093 #line 9094 "configure" |
8863 #include "confdefs.h" | 9094 #include "confdefs.h" |
8864 #include <ncurses/curses.h> | 9095 #include <ncurses/curses.h> |
8865 EOF | 9096 EOF |
8866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8867 { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8868 ac_err=`grep -v '^ *+' conftest.out` | 9099 ac_err=`grep -v '^ *+' conftest.out` |
8869 if test -z "$ac_err"; then | 9100 if test -z "$ac_err"; then |
8870 rm -rf conftest* | 9101 rm -rf conftest* |
8871 eval "ac_cv_header_$ac_safe=yes" | 9102 eval "ac_cv_header_$ac_safe=yes" |
8872 else | 9103 else |
8884 echo "$ac_t""no" 1>&6 | 9115 echo "$ac_t""no" 1>&6 |
8885 fi | 9116 fi |
8886 | 9117 |
8887 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9118 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
8888 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9119 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
8889 echo "configure:8890: checking for ncurses/term.h" >&5 | 9120 echo "configure:9121: checking for ncurses/term.h" >&5 |
8890 | 9121 |
8891 cat > conftest.$ac_ext <<EOF | 9122 cat > conftest.$ac_ext <<EOF |
8892 #line 8893 "configure" | 9123 #line 9124 "configure" |
8893 #include "confdefs.h" | 9124 #include "confdefs.h" |
8894 #include <ncurses/term.h> | 9125 #include <ncurses/term.h> |
8895 EOF | 9126 EOF |
8896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8897 { (eval echo configure:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9128 { (eval echo configure:9129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8898 ac_err=`grep -v '^ *+' conftest.out` | 9129 ac_err=`grep -v '^ *+' conftest.out` |
8899 if test -z "$ac_err"; then | 9130 if test -z "$ac_err"; then |
8900 rm -rf conftest* | 9131 rm -rf conftest* |
8901 eval "ac_cv_header_$ac_safe=yes" | 9132 eval "ac_cv_header_$ac_safe=yes" |
8902 else | 9133 else |
8922 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9153 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
8923 save_c_switch_site="$c_switch_site" | 9154 save_c_switch_site="$c_switch_site" |
8924 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9155 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
8925 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9156 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
8926 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9157 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
8927 echo "configure:8928: checking for ncurses/curses.h" >&5 | 9158 echo "configure:9159: checking for ncurses/curses.h" >&5 |
8928 | 9159 |
8929 cat > conftest.$ac_ext <<EOF | 9160 cat > conftest.$ac_ext <<EOF |
8930 #line 8931 "configure" | 9161 #line 9162 "configure" |
8931 #include "confdefs.h" | 9162 #include "confdefs.h" |
8932 #include <ncurses/curses.h> | 9163 #include <ncurses/curses.h> |
8933 EOF | 9164 EOF |
8934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8935 { (eval echo configure:8936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9166 { (eval echo configure:9167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8936 ac_err=`grep -v '^ *+' conftest.out` | 9167 ac_err=`grep -v '^ *+' conftest.out` |
8937 if test -z "$ac_err"; then | 9168 if test -z "$ac_err"; then |
8938 rm -rf conftest* | 9169 rm -rf conftest* |
8939 eval "ac_cv_header_$ac_safe=yes" | 9170 eval "ac_cv_header_$ac_safe=yes" |
8940 else | 9171 else |
8965 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9196 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
8966 else | 9197 else |
8967 for lib in curses termlib termcap; do | 9198 for lib in curses termlib termcap; do |
8968 | 9199 |
8969 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9200 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
8970 echo "configure:8971: checking for tgetent in -l$lib" >&5 | 9201 echo "configure:9202: checking for tgetent in -l$lib" >&5 |
8971 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9202 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
8972 | 9203 |
8973 xe_check_libs=" -l$lib " | 9204 xe_check_libs=" -l$lib " |
8974 cat > conftest.$ac_ext <<EOF | 9205 cat > conftest.$ac_ext <<EOF |
8975 #line 8976 "configure" | 9206 #line 9207 "configure" |
8976 #include "confdefs.h" | 9207 #include "confdefs.h" |
8977 /* Override any gcc2 internal prototype to avoid an error. */ | 9208 /* Override any gcc2 internal prototype to avoid an error. */ |
8978 /* We use char because int might match the return type of a gcc2 | 9209 /* We use char because int might match the return type of a gcc2 |
8979 builtin and then its argument prototype would still apply. */ | 9210 builtin and then its argument prototype would still apply. */ |
8980 char tgetent(); | 9211 char tgetent(); |
8981 | 9212 |
8982 int main() { | 9213 int main() { |
8983 tgetent() | 9214 tgetent() |
8984 ; return 0; } | 9215 ; return 0; } |
8985 EOF | 9216 EOF |
8986 if { (eval echo configure:8987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9217 if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8987 rm -rf conftest* | 9218 rm -rf conftest* |
8988 eval "ac_cv_lib_$ac_lib_var=yes" | 9219 eval "ac_cv_lib_$ac_lib_var=yes" |
8989 else | 9220 else |
8990 echo "configure: failed program was:" >&5 | 9221 echo "configure: failed program was:" >&5 |
8991 cat conftest.$ac_ext >&5 | 9222 cat conftest.$ac_ext >&5 |
9012 if test -n "$libs_termcap"; then | 9243 if test -n "$libs_termcap"; then |
9013 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9244 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9014 else | 9245 else |
9015 | 9246 |
9016 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9247 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9017 echo "configure:9018: checking for tgetent in -lcurses" >&5 | 9248 echo "configure:9249: checking for tgetent in -lcurses" >&5 |
9018 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9249 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9019 | 9250 |
9020 xe_check_libs=" -lcurses " | 9251 xe_check_libs=" -lcurses " |
9021 cat > conftest.$ac_ext <<EOF | 9252 cat > conftest.$ac_ext <<EOF |
9022 #line 9023 "configure" | 9253 #line 9254 "configure" |
9023 #include "confdefs.h" | 9254 #include "confdefs.h" |
9024 /* Override any gcc2 internal prototype to avoid an error. */ | 9255 /* Override any gcc2 internal prototype to avoid an error. */ |
9025 /* We use char because int might match the return type of a gcc2 | 9256 /* We use char because int might match the return type of a gcc2 |
9026 builtin and then its argument prototype would still apply. */ | 9257 builtin and then its argument prototype would still apply. */ |
9027 char tgetent(); | 9258 char tgetent(); |
9028 | 9259 |
9029 int main() { | 9260 int main() { |
9030 tgetent() | 9261 tgetent() |
9031 ; return 0; } | 9262 ; return 0; } |
9032 EOF | 9263 EOF |
9033 if { (eval echo configure:9034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9034 rm -rf conftest* | 9265 rm -rf conftest* |
9035 eval "ac_cv_lib_$ac_lib_var=yes" | 9266 eval "ac_cv_lib_$ac_lib_var=yes" |
9036 else | 9267 else |
9037 echo "configure: failed program was:" >&5 | 9268 echo "configure: failed program was:" >&5 |
9038 cat conftest.$ac_ext >&5 | 9269 cat conftest.$ac_ext >&5 |
9046 echo "$ac_t""yes" 1>&6 | 9277 echo "$ac_t""yes" 1>&6 |
9047 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9278 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9048 else | 9279 else |
9049 echo "$ac_t""no" 1>&6 | 9280 echo "$ac_t""no" 1>&6 |
9050 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9281 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9051 echo "configure:9052: checking for tgetent in -ltermcap" >&5 | 9282 echo "configure:9283: checking for tgetent in -ltermcap" >&5 |
9052 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9283 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9053 | 9284 |
9054 xe_check_libs=" -ltermcap " | 9285 xe_check_libs=" -ltermcap " |
9055 cat > conftest.$ac_ext <<EOF | 9286 cat > conftest.$ac_ext <<EOF |
9056 #line 9057 "configure" | 9287 #line 9288 "configure" |
9057 #include "confdefs.h" | 9288 #include "confdefs.h" |
9058 /* Override any gcc2 internal prototype to avoid an error. */ | 9289 /* Override any gcc2 internal prototype to avoid an error. */ |
9059 /* We use char because int might match the return type of a gcc2 | 9290 /* We use char because int might match the return type of a gcc2 |
9060 builtin and then its argument prototype would still apply. */ | 9291 builtin and then its argument prototype would still apply. */ |
9061 char tgetent(); | 9292 char tgetent(); |
9062 | 9293 |
9063 int main() { | 9294 int main() { |
9064 tgetent() | 9295 tgetent() |
9065 ; return 0; } | 9296 ; return 0; } |
9066 EOF | 9297 EOF |
9067 if { (eval echo configure:9068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9298 if { (eval echo configure:9299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9068 rm -rf conftest* | 9299 rm -rf conftest* |
9069 eval "ac_cv_lib_$ac_lib_var=yes" | 9300 eval "ac_cv_lib_$ac_lib_var=yes" |
9070 else | 9301 else |
9071 echo "configure: failed program was:" >&5 | 9302 echo "configure: failed program was:" >&5 |
9072 cat conftest.$ac_ext >&5 | 9303 cat conftest.$ac_ext >&5 |
9110 } | 9341 } |
9111 | 9342 |
9112 | 9343 |
9113 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9344 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9114 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9345 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for gpm.h" >&5 | 9346 echo "configure:9347: checking for gpm.h" >&5 |
9116 | 9347 |
9117 cat > conftest.$ac_ext <<EOF | 9348 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9349 #line 9350 "configure" |
9119 #include "confdefs.h" | 9350 #include "confdefs.h" |
9120 #include <gpm.h> | 9351 #include <gpm.h> |
9121 EOF | 9352 EOF |
9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9354 { (eval echo configure:9355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9124 ac_err=`grep -v '^ *+' conftest.out` | 9355 ac_err=`grep -v '^ *+' conftest.out` |
9125 if test -z "$ac_err"; then | 9356 if test -z "$ac_err"; then |
9126 rm -rf conftest* | 9357 rm -rf conftest* |
9127 eval "ac_cv_header_$ac_safe=yes" | 9358 eval "ac_cv_header_$ac_safe=yes" |
9128 else | 9359 else |
9141 with_gpm=no | 9372 with_gpm=no |
9142 fi | 9373 fi |
9143 } | 9374 } |
9144 test -z "$with_gpm" && { | 9375 test -z "$with_gpm" && { |
9145 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9376 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9146 echo "configure:9147: checking for Gpm_Open in -lgpm" >&5 | 9377 echo "configure:9378: checking for Gpm_Open in -lgpm" >&5 |
9147 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9378 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9148 | 9379 |
9149 xe_check_libs=" -lgpm " | 9380 xe_check_libs=" -lgpm " |
9150 cat > conftest.$ac_ext <<EOF | 9381 cat > conftest.$ac_ext <<EOF |
9151 #line 9152 "configure" | 9382 #line 9383 "configure" |
9152 #include "confdefs.h" | 9383 #include "confdefs.h" |
9153 /* Override any gcc2 internal prototype to avoid an error. */ | 9384 /* Override any gcc2 internal prototype to avoid an error. */ |
9154 /* We use char because int might match the return type of a gcc2 | 9385 /* We use char because int might match the return type of a gcc2 |
9155 builtin and then its argument prototype would still apply. */ | 9386 builtin and then its argument prototype would still apply. */ |
9156 char Gpm_Open(); | 9387 char Gpm_Open(); |
9157 | 9388 |
9158 int main() { | 9389 int main() { |
9159 Gpm_Open() | 9390 Gpm_Open() |
9160 ; return 0; } | 9391 ; return 0; } |
9161 EOF | 9392 EOF |
9162 if { (eval echo configure:9163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9163 rm -rf conftest* | 9394 rm -rf conftest* |
9164 eval "ac_cv_lib_$ac_lib_var=yes" | 9395 eval "ac_cv_lib_$ac_lib_var=yes" |
9165 else | 9396 else |
9166 echo "configure: failed program was:" >&5 | 9397 echo "configure: failed program was:" >&5 |
9167 cat conftest.$ac_ext >&5 | 9398 cat conftest.$ac_ext >&5 |
9206 echo " xemacs will be linked with \"event-unixoid.o\"" | 9437 echo " xemacs will be linked with \"event-unixoid.o\"" |
9207 fi | 9438 fi |
9208 | 9439 |
9209 | 9440 |
9210 echo "checking for database support" 1>&6 | 9441 echo "checking for database support" 1>&6 |
9211 echo "configure:9212: checking for database support" >&5 | 9442 echo "configure:9443: checking for database support" >&5 |
9212 | 9443 |
9213 if test "$with_database_gnudbm" != "no"; then | 9444 if test "$with_database_gnudbm" != "no"; then |
9214 | 9445 |
9215 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9446 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9216 echo "configure:9217: checking for dbm_open in -lgdbm" >&5 | 9447 echo "configure:9448: checking for dbm_open in -lgdbm" >&5 |
9217 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9448 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9218 | 9449 |
9219 xe_check_libs=" -lgdbm " | 9450 xe_check_libs=" -lgdbm " |
9220 cat > conftest.$ac_ext <<EOF | 9451 cat > conftest.$ac_ext <<EOF |
9221 #line 9222 "configure" | 9452 #line 9453 "configure" |
9222 #include "confdefs.h" | 9453 #include "confdefs.h" |
9223 /* Override any gcc2 internal prototype to avoid an error. */ | 9454 /* Override any gcc2 internal prototype to avoid an error. */ |
9224 /* We use char because int might match the return type of a gcc2 | 9455 /* We use char because int might match the return type of a gcc2 |
9225 builtin and then its argument prototype would still apply. */ | 9456 builtin and then its argument prototype would still apply. */ |
9226 char dbm_open(); | 9457 char dbm_open(); |
9227 | 9458 |
9228 int main() { | 9459 int main() { |
9229 dbm_open() | 9460 dbm_open() |
9230 ; return 0; } | 9461 ; return 0; } |
9231 EOF | 9462 EOF |
9232 if { (eval echo configure:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9463 if { (eval echo configure:9464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9233 rm -rf conftest* | 9464 rm -rf conftest* |
9234 eval "ac_cv_lib_$ac_lib_var=yes" | 9465 eval "ac_cv_lib_$ac_lib_var=yes" |
9235 else | 9466 else |
9236 echo "configure: failed program was:" >&5 | 9467 echo "configure: failed program was:" >&5 |
9237 cat conftest.$ac_ext >&5 | 9468 cat conftest.$ac_ext >&5 |
9249 fi | 9480 fi |
9250 | 9481 |
9251 | 9482 |
9252 if test "$with_database_gnudbm" != "yes"; then | 9483 if test "$with_database_gnudbm" != "yes"; then |
9253 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9484 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9254 echo "configure:9255: checking for dbm_open" >&5 | 9485 echo "configure:9486: checking for dbm_open" >&5 |
9255 | 9486 |
9256 cat > conftest.$ac_ext <<EOF | 9487 cat > conftest.$ac_ext <<EOF |
9257 #line 9258 "configure" | 9488 #line 9489 "configure" |
9258 #include "confdefs.h" | 9489 #include "confdefs.h" |
9259 /* System header to define __stub macros and hopefully few prototypes, | 9490 /* System header to define __stub macros and hopefully few prototypes, |
9260 which can conflict with char dbm_open(); below. */ | 9491 which can conflict with char dbm_open(); below. */ |
9261 #include <assert.h> | 9492 #include <assert.h> |
9262 /* Override any gcc2 internal prototype to avoid an error. */ | 9493 /* Override any gcc2 internal prototype to avoid an error. */ |
9275 dbm_open(); | 9506 dbm_open(); |
9276 #endif | 9507 #endif |
9277 | 9508 |
9278 ; return 0; } | 9509 ; return 0; } |
9279 EOF | 9510 EOF |
9280 if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9511 if { (eval echo configure:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9281 rm -rf conftest* | 9512 rm -rf conftest* |
9282 eval "ac_cv_func_dbm_open=yes" | 9513 eval "ac_cv_func_dbm_open=yes" |
9283 else | 9514 else |
9284 echo "configure: failed program was:" >&5 | 9515 echo "configure: failed program was:" >&5 |
9285 cat conftest.$ac_ext >&5 | 9516 cat conftest.$ac_ext >&5 |
9311 fi | 9542 fi |
9312 fi | 9543 fi |
9313 | 9544 |
9314 if test "$with_database_dbm" != "no"; then | 9545 if test "$with_database_dbm" != "no"; then |
9315 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9546 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9316 echo "configure:9317: checking for dbm_open" >&5 | 9547 echo "configure:9548: checking for dbm_open" >&5 |
9317 | 9548 |
9318 cat > conftest.$ac_ext <<EOF | 9549 cat > conftest.$ac_ext <<EOF |
9319 #line 9320 "configure" | 9550 #line 9551 "configure" |
9320 #include "confdefs.h" | 9551 #include "confdefs.h" |
9321 /* System header to define __stub macros and hopefully few prototypes, | 9552 /* System header to define __stub macros and hopefully few prototypes, |
9322 which can conflict with char dbm_open(); below. */ | 9553 which can conflict with char dbm_open(); below. */ |
9323 #include <assert.h> | 9554 #include <assert.h> |
9324 /* Override any gcc2 internal prototype to avoid an error. */ | 9555 /* Override any gcc2 internal prototype to avoid an error. */ |
9337 dbm_open(); | 9568 dbm_open(); |
9338 #endif | 9569 #endif |
9339 | 9570 |
9340 ; return 0; } | 9571 ; return 0; } |
9341 EOF | 9572 EOF |
9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9573 if { (eval echo configure:9574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9343 rm -rf conftest* | 9574 rm -rf conftest* |
9344 eval "ac_cv_func_dbm_open=yes" | 9575 eval "ac_cv_func_dbm_open=yes" |
9345 else | 9576 else |
9346 echo "configure: failed program was:" >&5 | 9577 echo "configure: failed program was:" >&5 |
9347 cat conftest.$ac_ext >&5 | 9578 cat conftest.$ac_ext >&5 |
9358 fi | 9589 fi |
9359 | 9590 |
9360 if test "$need_libdbm" != "no"; then | 9591 if test "$need_libdbm" != "no"; then |
9361 | 9592 |
9362 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9593 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9363 echo "configure:9364: checking for dbm_open in -ldbm" >&5 | 9594 echo "configure:9595: checking for dbm_open in -ldbm" >&5 |
9364 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9595 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9365 | 9596 |
9366 xe_check_libs=" -ldbm " | 9597 xe_check_libs=" -ldbm " |
9367 cat > conftest.$ac_ext <<EOF | 9598 cat > conftest.$ac_ext <<EOF |
9368 #line 9369 "configure" | 9599 #line 9600 "configure" |
9369 #include "confdefs.h" | 9600 #include "confdefs.h" |
9370 /* Override any gcc2 internal prototype to avoid an error. */ | 9601 /* Override any gcc2 internal prototype to avoid an error. */ |
9371 /* We use char because int might match the return type of a gcc2 | 9602 /* We use char because int might match the return type of a gcc2 |
9372 builtin and then its argument prototype would still apply. */ | 9603 builtin and then its argument prototype would still apply. */ |
9373 char dbm_open(); | 9604 char dbm_open(); |
9374 | 9605 |
9375 int main() { | 9606 int main() { |
9376 dbm_open() | 9607 dbm_open() |
9377 ; return 0; } | 9608 ; return 0; } |
9378 EOF | 9609 EOF |
9379 if { (eval echo configure:9380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9610 if { (eval echo configure:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9380 rm -rf conftest* | 9611 rm -rf conftest* |
9381 eval "ac_cv_lib_$ac_lib_var=yes" | 9612 eval "ac_cv_lib_$ac_lib_var=yes" |
9382 else | 9613 else |
9383 echo "configure: failed program was:" >&5 | 9614 echo "configure: failed program was:" >&5 |
9384 cat conftest.$ac_ext >&5 | 9615 cat conftest.$ac_ext >&5 |
9411 fi | 9642 fi |
9412 fi | 9643 fi |
9413 | 9644 |
9414 if test "$with_database_berkdb" != "no"; then | 9645 if test "$with_database_berkdb" != "no"; then |
9415 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9646 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9416 echo "configure:9417: checking for dbopen" >&5 | 9647 echo "configure:9648: checking for dbopen" >&5 |
9417 | 9648 |
9418 cat > conftest.$ac_ext <<EOF | 9649 cat > conftest.$ac_ext <<EOF |
9419 #line 9420 "configure" | 9650 #line 9651 "configure" |
9420 #include "confdefs.h" | 9651 #include "confdefs.h" |
9421 /* System header to define __stub macros and hopefully few prototypes, | 9652 /* System header to define __stub macros and hopefully few prototypes, |
9422 which can conflict with char dbopen(); below. */ | 9653 which can conflict with char dbopen(); below. */ |
9423 #include <assert.h> | 9654 #include <assert.h> |
9424 /* Override any gcc2 internal prototype to avoid an error. */ | 9655 /* Override any gcc2 internal prototype to avoid an error. */ |
9437 dbopen(); | 9668 dbopen(); |
9438 #endif | 9669 #endif |
9439 | 9670 |
9440 ; return 0; } | 9671 ; return 0; } |
9441 EOF | 9672 EOF |
9442 if { (eval echo configure:9443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9673 if { (eval echo configure:9674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9443 rm -rf conftest* | 9674 rm -rf conftest* |
9444 eval "ac_cv_func_dbopen=yes" | 9675 eval "ac_cv_func_dbopen=yes" |
9445 else | 9676 else |
9446 echo "configure: failed program was:" >&5 | 9677 echo "configure: failed program was:" >&5 |
9447 cat conftest.$ac_ext >&5 | 9678 cat conftest.$ac_ext >&5 |
9458 fi | 9689 fi |
9459 | 9690 |
9460 if test "$need_libdb" != "no"; then | 9691 if test "$need_libdb" != "no"; then |
9461 | 9692 |
9462 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9693 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9463 echo "configure:9464: checking for dbopen in -ldb" >&5 | 9694 echo "configure:9695: checking for dbopen in -ldb" >&5 |
9464 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9695 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9465 | 9696 |
9466 xe_check_libs=" -ldb " | 9697 xe_check_libs=" -ldb " |
9467 cat > conftest.$ac_ext <<EOF | 9698 cat > conftest.$ac_ext <<EOF |
9468 #line 9469 "configure" | 9699 #line 9700 "configure" |
9469 #include "confdefs.h" | 9700 #include "confdefs.h" |
9470 /* Override any gcc2 internal prototype to avoid an error. */ | 9701 /* Override any gcc2 internal prototype to avoid an error. */ |
9471 /* We use char because int might match the return type of a gcc2 | 9702 /* We use char because int might match the return type of a gcc2 |
9472 builtin and then its argument prototype would still apply. */ | 9703 builtin and then its argument prototype would still apply. */ |
9473 char dbopen(); | 9704 char dbopen(); |
9474 | 9705 |
9475 int main() { | 9706 int main() { |
9476 dbopen() | 9707 dbopen() |
9477 ; return 0; } | 9708 ; return 0; } |
9478 EOF | 9709 EOF |
9479 if { (eval echo configure:9480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9710 if { (eval echo configure:9711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9480 rm -rf conftest* | 9711 rm -rf conftest* |
9481 eval "ac_cv_lib_$ac_lib_var=yes" | 9712 eval "ac_cv_lib_$ac_lib_var=yes" |
9482 else | 9713 else |
9483 echo "configure: failed program was:" >&5 | 9714 echo "configure: failed program was:" >&5 |
9484 cat conftest.$ac_ext >&5 | 9715 cat conftest.$ac_ext >&5 |
9498 | 9729 |
9499 fi | 9730 fi |
9500 if test "$with_database_berkdb" = "yes"; then | 9731 if test "$with_database_berkdb" = "yes"; then |
9501 for path in "db/db.h" "db.h"; do | 9732 for path in "db/db.h" "db.h"; do |
9502 cat > conftest.$ac_ext <<EOF | 9733 cat > conftest.$ac_ext <<EOF |
9503 #line 9504 "configure" | 9734 #line 9735 "configure" |
9504 #include "confdefs.h" | 9735 #include "confdefs.h" |
9505 #ifdef HAVE_INTTYPES_H | 9736 #ifdef HAVE_INTTYPES_H |
9506 #define __BIT_TYPES_DEFINED__ | 9737 #define __BIT_TYPES_DEFINED__ |
9507 #include <inttypes.h> | 9738 #include <inttypes.h> |
9508 typedef uint8_t u_int8_t; | 9739 typedef uint8_t u_int8_t; |
9516 | 9747 |
9517 int main() { | 9748 int main() { |
9518 | 9749 |
9519 ; return 0; } | 9750 ; return 0; } |
9520 EOF | 9751 EOF |
9521 if { (eval echo configure:9522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9752 if { (eval echo configure:9753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9522 rm -rf conftest* | 9753 rm -rf conftest* |
9523 db_h_path="$path"; break | 9754 db_h_path="$path"; break |
9524 else | 9755 else |
9525 echo "configure: failed program was:" >&5 | 9756 echo "configure: failed program was:" >&5 |
9526 cat conftest.$ac_ext >&5 | 9757 cat conftest.$ac_ext >&5 |
9568 fi | 9799 fi |
9569 | 9800 |
9570 if test "$with_socks" = "yes"; then | 9801 if test "$with_socks" = "yes"; then |
9571 | 9802 |
9572 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9803 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9573 echo "configure:9574: checking for SOCKSinit in -lsocks" >&5 | 9804 echo "configure:9805: checking for SOCKSinit in -lsocks" >&5 |
9574 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9805 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9575 | 9806 |
9576 xe_check_libs=" -lsocks " | 9807 xe_check_libs=" -lsocks " |
9577 cat > conftest.$ac_ext <<EOF | 9808 cat > conftest.$ac_ext <<EOF |
9578 #line 9579 "configure" | 9809 #line 9810 "configure" |
9579 #include "confdefs.h" | 9810 #include "confdefs.h" |
9580 /* Override any gcc2 internal prototype to avoid an error. */ | 9811 /* Override any gcc2 internal prototype to avoid an error. */ |
9581 /* We use char because int might match the return type of a gcc2 | 9812 /* We use char because int might match the return type of a gcc2 |
9582 builtin and then its argument prototype would still apply. */ | 9813 builtin and then its argument prototype would still apply. */ |
9583 char SOCKSinit(); | 9814 char SOCKSinit(); |
9584 | 9815 |
9585 int main() { | 9816 int main() { |
9586 SOCKSinit() | 9817 SOCKSinit() |
9587 ; return 0; } | 9818 ; return 0; } |
9588 EOF | 9819 EOF |
9589 if { (eval echo configure:9590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9820 if { (eval echo configure:9821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9590 rm -rf conftest* | 9821 rm -rf conftest* |
9591 eval "ac_cv_lib_$ac_lib_var=yes" | 9822 eval "ac_cv_lib_$ac_lib_var=yes" |
9592 else | 9823 else |
9593 echo "configure: failed program was:" >&5 | 9824 echo "configure: failed program was:" >&5 |
9594 cat conftest.$ac_ext >&5 | 9825 cat conftest.$ac_ext >&5 |
10126 | 10357 |
10127 test "$with_cde" = yes && echo " Compiling in support for CDE." | 10358 test "$with_cde" = yes && echo " Compiling in support for CDE." |
10128 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 10359 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
10129 test "$with_offix" = yes && echo " Compiling in support for OffiX." | 10360 test "$with_offix" = yes && echo " Compiling in support for OffiX." |
10130 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 10361 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
10131 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." | |
10132 test "$with_session" != no && echo " Compiling in support for proper session-management." | 10362 test "$with_session" != no && echo " Compiling in support for proper session-management." |
10133 case "$with_menubars" in | 10363 case "$with_menubars" in |
10134 lucid ) echo " Using Lucid menubars." ;; | 10364 lucid ) echo " Using Lucid menubars." ;; |
10135 motif ) echo " Using Motif menubars." | 10365 motif ) echo " Using Motif menubars." |
10136 echo " *WARNING* The Motif menubar implementation is currently buggy." | 10366 echo " *WARNING* The Motif menubar implementation is currently buggy." |