Mercurial > hg > xemacs-beta
comparison configure @ 263:727739f917cb r20-5b30
Import from CVS: tag r20-5b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:24:41 +0200 |
parents | 405dd6d1825b |
children | 8efd647ea9ca |
comparison
equal
deleted
inserted
replaced
262:9d8607af9e13 | 263:727739f917cb |
---|---|
238 const_is_losing='yes' | 238 const_is_losing='yes' |
239 puresize='' | 239 puresize='' |
240 cflags='UNSPECIFIED' | 240 cflags='UNSPECIFIED' |
241 dynamic='' | 241 dynamic='' |
242 with_x11='' | 242 with_x11='' |
243 with_msw='' | |
243 with_gung='no' | 244 with_gung='no' |
244 with_minimal_tagbits='no' | 245 with_minimal_tagbits='no' |
245 rel_alloc='default' | 246 rel_alloc='default' |
246 with_system_malloc='default' | 247 with_system_malloc='default' |
247 with_dlmalloc='default' | 248 with_dlmalloc='default' |
300 case "$opt" in | 301 case "$opt" in |
301 | 302 |
302 run_in_place | \ | 303 run_in_place | \ |
303 with_x | \ | 304 with_x | \ |
304 with_x11 | \ | 305 with_x11 | \ |
306 with_msw | \ | |
305 with_gcc | \ | 307 with_gcc | \ |
306 with_gnu_make | \ | 308 with_gnu_make | \ |
307 dynamic | \ | 309 dynamic | \ |
308 with_gung | \ | 310 with_gung | \ |
309 with_ncurses | \ | 311 with_ncurses | \ |
639 ;; | 641 ;; |
640 esac | 642 esac |
641 | 643 |
642 if test -z "$configuration"; then | 644 if test -z "$configuration"; then |
643 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 645 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
644 echo "configure:645: checking "host system type"" >&5 | 646 echo "configure:647: checking "host system type"" >&5 |
645 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 647 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
646 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 648 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
647 echo "$ac_t""$configuration" 1>&6 | 649 echo "$ac_t""$configuration" 1>&6 |
648 else | 650 else |
649 echo "$ac_t""unknown" 1>&6 | 651 echo "$ac_t""unknown" 1>&6 |
653 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 655 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
654 fi | 656 fi |
655 fi | 657 fi |
656 | 658 |
657 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 659 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
658 echo "configure:659: checking whether ln -s works" >&5 | 660 echo "configure:661: checking whether ln -s works" >&5 |
659 | 661 |
660 rm -f conftestdata | 662 rm -f conftestdata |
661 if ln -s X conftestdata 2>/dev/null | 663 if ln -s X conftestdata 2>/dev/null |
662 then | 664 then |
663 rm -f conftestdata | 665 rm -f conftestdata |
830 } | 832 } |
831 | 833 |
832 | 834 |
833 | 835 |
834 echo "checking "the configuration name"" 1>&6 | 836 echo "checking "the configuration name"" 1>&6 |
835 echo "configure:836: checking "the configuration name"" >&5 | 837 echo "configure:838: checking "the configuration name"" >&5 |
836 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 838 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
837 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 839 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
838 exit $? | 840 exit $? |
839 fi | 841 fi |
840 | 842 |
1288 xe_save_CFLAGS="$CFLAGS" | 1290 xe_save_CFLAGS="$CFLAGS" |
1289 | 1291 |
1290 # Extract the first word of "gcc", so it can be a program name with args. | 1292 # Extract the first word of "gcc", so it can be a program name with args. |
1291 set dummy gcc; ac_word=$2 | 1293 set dummy gcc; ac_word=$2 |
1292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1293 echo "configure:1294: checking for $ac_word" >&5 | 1295 echo "configure:1296: checking for $ac_word" >&5 |
1294 | 1296 |
1295 if test -n "$CC"; then | 1297 if test -n "$CC"; then |
1296 ac_cv_prog_CC="$CC" # Let the user override the test. | 1298 ac_cv_prog_CC="$CC" # Let the user override the test. |
1297 else | 1299 else |
1298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1314 | 1316 |
1315 if test -z "$CC"; then | 1317 if test -z "$CC"; then |
1316 # Extract the first word of "cc", so it can be a program name with args. | 1318 # Extract the first word of "cc", so it can be a program name with args. |
1317 set dummy cc; ac_word=$2 | 1319 set dummy cc; ac_word=$2 |
1318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1319 echo "configure:1320: checking for $ac_word" >&5 | 1321 echo "configure:1322: checking for $ac_word" >&5 |
1320 | 1322 |
1321 if test -n "$CC"; then | 1323 if test -n "$CC"; then |
1322 ac_cv_prog_CC="$CC" # Let the user override the test. | 1324 ac_cv_prog_CC="$CC" # Let the user override the test. |
1323 else | 1325 else |
1324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1359 | 1361 |
1360 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1362 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1361 fi | 1363 fi |
1362 | 1364 |
1363 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1365 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1364 echo "configure:1365: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1366 echo "configure:1367: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1365 | 1367 |
1366 ac_ext=c | 1368 ac_ext=c |
1367 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1369 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1368 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1370 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1369 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1371 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1371 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1373 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1372 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1374 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1373 cross_compiling=no | 1375 cross_compiling=no |
1374 | 1376 |
1375 cat > conftest.$ac_ext <<EOF | 1377 cat > conftest.$ac_ext <<EOF |
1376 #line 1377 "configure" | 1378 #line 1379 "configure" |
1377 #include "confdefs.h" | 1379 #include "confdefs.h" |
1378 main(){return(0);} | 1380 main(){return(0);} |
1379 EOF | 1381 EOF |
1380 if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1382 if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1381 ac_cv_prog_cc_works=yes | 1383 ac_cv_prog_cc_works=yes |
1382 # If we can't run a trivial program, we are probably using a cross compiler. | 1384 # If we can't run a trivial program, we are probably using a cross compiler. |
1383 if (./conftest; exit) 2>/dev/null; then | 1385 if (./conftest; exit) 2>/dev/null; then |
1384 ac_cv_prog_cc_cross=no | 1386 ac_cv_prog_cc_cross=no |
1385 else | 1387 else |
1395 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1397 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1396 if test $ac_cv_prog_cc_works = no; then | 1398 if test $ac_cv_prog_cc_works = no; then |
1397 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1399 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1398 fi | 1400 fi |
1399 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1401 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1400 echo "configure:1401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1402 echo "configure:1403: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1401 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1403 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1402 cross_compiling=$ac_cv_prog_cc_cross | 1404 cross_compiling=$ac_cv_prog_cc_cross |
1403 | 1405 |
1404 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1406 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1405 echo "configure:1406: checking whether we are using GNU C" >&5 | 1407 echo "configure:1408: checking whether we are using GNU C" >&5 |
1406 | 1408 |
1407 cat > conftest.c <<EOF | 1409 cat > conftest.c <<EOF |
1408 #ifdef __GNUC__ | 1410 #ifdef __GNUC__ |
1409 yes; | 1411 yes; |
1410 #endif | 1412 #endif |
1411 EOF | 1413 EOF |
1412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1414 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1413 ac_cv_prog_gcc=yes | 1415 ac_cv_prog_gcc=yes |
1414 else | 1416 else |
1415 ac_cv_prog_gcc=no | 1417 ac_cv_prog_gcc=no |
1416 fi | 1418 fi |
1417 | 1419 |
1421 GCC=yes | 1423 GCC=yes |
1422 ac_test_CFLAGS="${CFLAGS+set}" | 1424 ac_test_CFLAGS="${CFLAGS+set}" |
1423 ac_save_CFLAGS="$CFLAGS" | 1425 ac_save_CFLAGS="$CFLAGS" |
1424 CFLAGS= | 1426 CFLAGS= |
1425 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1427 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1426 echo "configure:1427: checking whether ${CC-cc} accepts -g" >&5 | 1428 echo "configure:1429: checking whether ${CC-cc} accepts -g" >&5 |
1427 | 1429 |
1428 echo 'void f(){}' > conftest.c | 1430 echo 'void f(){}' > conftest.c |
1429 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1431 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1430 ac_cv_prog_cc_g=yes | 1432 ac_cv_prog_cc_g=yes |
1431 else | 1433 else |
1450 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1452 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1451 CC=${NON_GNU_CC-cc} | 1453 CC=${NON_GNU_CC-cc} |
1452 # Extract the first word of "gcc", so it can be a program name with args. | 1454 # Extract the first word of "gcc", so it can be a program name with args. |
1453 set dummy gcc; ac_word=$2 | 1455 set dummy gcc; ac_word=$2 |
1454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1456 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1455 echo "configure:1456: checking for $ac_word" >&5 | 1457 echo "configure:1458: checking for $ac_word" >&5 |
1456 | 1458 |
1457 if test -n "$CC"; then | 1459 if test -n "$CC"; then |
1458 ac_cv_prog_CC="$CC" # Let the user override the test. | 1460 ac_cv_prog_CC="$CC" # Let the user override the test. |
1459 else | 1461 else |
1460 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1462 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1476 | 1478 |
1477 if test -z "$CC"; then | 1479 if test -z "$CC"; then |
1478 # Extract the first word of "cc", so it can be a program name with args. | 1480 # Extract the first word of "cc", so it can be a program name with args. |
1479 set dummy cc; ac_word=$2 | 1481 set dummy cc; ac_word=$2 |
1480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1481 echo "configure:1482: checking for $ac_word" >&5 | 1483 echo "configure:1484: checking for $ac_word" >&5 |
1482 | 1484 |
1483 if test -n "$CC"; then | 1485 if test -n "$CC"; then |
1484 ac_cv_prog_CC="$CC" # Let the user override the test. | 1486 ac_cv_prog_CC="$CC" # Let the user override the test. |
1485 else | 1487 else |
1486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1521 | 1523 |
1522 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1524 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1523 fi | 1525 fi |
1524 | 1526 |
1525 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1527 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1526 echo "configure:1527: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1528 echo "configure:1529: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1527 | 1529 |
1528 ac_ext=c | 1530 ac_ext=c |
1529 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1531 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1530 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1532 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1531 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1533 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1533 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1535 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1534 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1536 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1535 cross_compiling=no | 1537 cross_compiling=no |
1536 | 1538 |
1537 cat > conftest.$ac_ext <<EOF | 1539 cat > conftest.$ac_ext <<EOF |
1538 #line 1539 "configure" | 1540 #line 1541 "configure" |
1539 #include "confdefs.h" | 1541 #include "confdefs.h" |
1540 main(){return(0);} | 1542 main(){return(0);} |
1541 EOF | 1543 EOF |
1542 if { (eval echo configure:1543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1544 if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1543 ac_cv_prog_cc_works=yes | 1545 ac_cv_prog_cc_works=yes |
1544 # If we can't run a trivial program, we are probably using a cross compiler. | 1546 # If we can't run a trivial program, we are probably using a cross compiler. |
1545 if (./conftest; exit) 2>/dev/null; then | 1547 if (./conftest; exit) 2>/dev/null; then |
1546 ac_cv_prog_cc_cross=no | 1548 ac_cv_prog_cc_cross=no |
1547 else | 1549 else |
1557 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1559 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1558 if test $ac_cv_prog_cc_works = no; then | 1560 if test $ac_cv_prog_cc_works = no; then |
1559 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1561 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1560 fi | 1562 fi |
1561 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1563 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1562 echo "configure:1563: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1564 echo "configure:1565: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1563 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1565 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1564 cross_compiling=$ac_cv_prog_cc_cross | 1566 cross_compiling=$ac_cv_prog_cc_cross |
1565 | 1567 |
1566 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1568 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1567 echo "configure:1568: checking whether we are using GNU C" >&5 | 1569 echo "configure:1570: checking whether we are using GNU C" >&5 |
1568 | 1570 |
1569 cat > conftest.c <<EOF | 1571 cat > conftest.c <<EOF |
1570 #ifdef __GNUC__ | 1572 #ifdef __GNUC__ |
1571 yes; | 1573 yes; |
1572 #endif | 1574 #endif |
1573 EOF | 1575 EOF |
1574 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1576 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1575 ac_cv_prog_gcc=yes | 1577 ac_cv_prog_gcc=yes |
1576 else | 1578 else |
1577 ac_cv_prog_gcc=no | 1579 ac_cv_prog_gcc=no |
1578 fi | 1580 fi |
1579 | 1581 |
1583 GCC=yes | 1585 GCC=yes |
1584 ac_test_CFLAGS="${CFLAGS+set}" | 1586 ac_test_CFLAGS="${CFLAGS+set}" |
1585 ac_save_CFLAGS="$CFLAGS" | 1587 ac_save_CFLAGS="$CFLAGS" |
1586 CFLAGS= | 1588 CFLAGS= |
1587 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1589 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1588 echo "configure:1589: checking whether ${CC-cc} accepts -g" >&5 | 1590 echo "configure:1591: checking whether ${CC-cc} accepts -g" >&5 |
1589 | 1591 |
1590 echo 'void f(){}' > conftest.c | 1592 echo 'void f(){}' > conftest.c |
1591 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1593 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1592 ac_cv_prog_cc_g=yes | 1594 ac_cv_prog_cc_g=yes |
1593 else | 1595 else |
1612 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1614 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1613 CC=gcc | 1615 CC=gcc |
1614 # Extract the first word of "gcc", so it can be a program name with args. | 1616 # Extract the first word of "gcc", so it can be a program name with args. |
1615 set dummy gcc; ac_word=$2 | 1617 set dummy gcc; ac_word=$2 |
1616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1617 echo "configure:1618: checking for $ac_word" >&5 | 1619 echo "configure:1620: checking for $ac_word" >&5 |
1618 | 1620 |
1619 if test -n "$CC"; then | 1621 if test -n "$CC"; then |
1620 ac_cv_prog_CC="$CC" # Let the user override the test. | 1622 ac_cv_prog_CC="$CC" # Let the user override the test. |
1621 else | 1623 else |
1622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1638 | 1640 |
1639 if test -z "$CC"; then | 1641 if test -z "$CC"; then |
1640 # Extract the first word of "cc", so it can be a program name with args. | 1642 # Extract the first word of "cc", so it can be a program name with args. |
1641 set dummy cc; ac_word=$2 | 1643 set dummy cc; ac_word=$2 |
1642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1643 echo "configure:1644: checking for $ac_word" >&5 | 1645 echo "configure:1646: checking for $ac_word" >&5 |
1644 | 1646 |
1645 if test -n "$CC"; then | 1647 if test -n "$CC"; then |
1646 ac_cv_prog_CC="$CC" # Let the user override the test. | 1648 ac_cv_prog_CC="$CC" # Let the user override the test. |
1647 else | 1649 else |
1648 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1683 | 1685 |
1684 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1686 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1685 fi | 1687 fi |
1686 | 1688 |
1687 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1689 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1688 echo "configure:1689: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1690 echo "configure:1691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1689 | 1691 |
1690 ac_ext=c | 1692 ac_ext=c |
1691 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1693 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1692 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1694 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1693 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1695 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1695 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1697 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1696 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1698 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1697 cross_compiling=no | 1699 cross_compiling=no |
1698 | 1700 |
1699 cat > conftest.$ac_ext <<EOF | 1701 cat > conftest.$ac_ext <<EOF |
1700 #line 1701 "configure" | 1702 #line 1703 "configure" |
1701 #include "confdefs.h" | 1703 #include "confdefs.h" |
1702 main(){return(0);} | 1704 main(){return(0);} |
1703 EOF | 1705 EOF |
1704 if { (eval echo configure:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1706 if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1705 ac_cv_prog_cc_works=yes | 1707 ac_cv_prog_cc_works=yes |
1706 # If we can't run a trivial program, we are probably using a cross compiler. | 1708 # If we can't run a trivial program, we are probably using a cross compiler. |
1707 if (./conftest; exit) 2>/dev/null; then | 1709 if (./conftest; exit) 2>/dev/null; then |
1708 ac_cv_prog_cc_cross=no | 1710 ac_cv_prog_cc_cross=no |
1709 else | 1711 else |
1719 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1721 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1720 if test $ac_cv_prog_cc_works = no; then | 1722 if test $ac_cv_prog_cc_works = no; then |
1721 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1723 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1722 fi | 1724 fi |
1723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1725 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1724 echo "configure:1725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1726 echo "configure:1727: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1725 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1727 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1726 cross_compiling=$ac_cv_prog_cc_cross | 1728 cross_compiling=$ac_cv_prog_cc_cross |
1727 | 1729 |
1728 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1730 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1729 echo "configure:1730: checking whether we are using GNU C" >&5 | 1731 echo "configure:1732: checking whether we are using GNU C" >&5 |
1730 | 1732 |
1731 cat > conftest.c <<EOF | 1733 cat > conftest.c <<EOF |
1732 #ifdef __GNUC__ | 1734 #ifdef __GNUC__ |
1733 yes; | 1735 yes; |
1734 #endif | 1736 #endif |
1735 EOF | 1737 EOF |
1736 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1738 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1737 ac_cv_prog_gcc=yes | 1739 ac_cv_prog_gcc=yes |
1738 else | 1740 else |
1739 ac_cv_prog_gcc=no | 1741 ac_cv_prog_gcc=no |
1740 fi | 1742 fi |
1741 | 1743 |
1745 GCC=yes | 1747 GCC=yes |
1746 ac_test_CFLAGS="${CFLAGS+set}" | 1748 ac_test_CFLAGS="${CFLAGS+set}" |
1747 ac_save_CFLAGS="$CFLAGS" | 1749 ac_save_CFLAGS="$CFLAGS" |
1748 CFLAGS= | 1750 CFLAGS= |
1749 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1750 echo "configure:1751: checking whether ${CC-cc} accepts -g" >&5 | 1752 echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5 |
1751 | 1753 |
1752 echo 'void f(){}' > conftest.c | 1754 echo 'void f(){}' > conftest.c |
1753 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1755 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1754 ac_cv_prog_cc_g=yes | 1756 ac_cv_prog_cc_g=yes |
1755 else | 1757 else |
1778 test -n "$CPP" -a -d "$CPP" && CPP= | 1780 test -n "$CPP" -a -d "$CPP" && CPP= |
1779 | 1781 |
1780 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1782 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1781 | 1783 |
1782 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1784 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1783 echo "configure:1784: checking how to run the C preprocessor" >&5 | 1785 echo "configure:1786: checking how to run the C preprocessor" >&5 |
1784 # On Suns, sometimes $CPP names a directory. | 1786 # On Suns, sometimes $CPP names a directory. |
1785 if test -n "$CPP" && test -d "$CPP"; then | 1787 if test -n "$CPP" && test -d "$CPP"; then |
1786 CPP= | 1788 CPP= |
1787 fi | 1789 fi |
1788 if test -z "$CPP"; then | 1790 if test -z "$CPP"; then |
1791 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1793 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1792 CPP="${CC-cc} -E" | 1794 CPP="${CC-cc} -E" |
1793 # On the NeXT, cc -E runs the code through the compiler's parser, | 1795 # On the NeXT, cc -E runs the code through the compiler's parser, |
1794 # not just through cpp. | 1796 # not just through cpp. |
1795 cat > conftest.$ac_ext <<EOF | 1797 cat > conftest.$ac_ext <<EOF |
1796 #line 1797 "configure" | 1798 #line 1799 "configure" |
1797 #include "confdefs.h" | 1799 #include "confdefs.h" |
1798 #include <assert.h> | 1800 #include <assert.h> |
1799 Syntax Error | 1801 Syntax Error |
1800 EOF | 1802 EOF |
1801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1803 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1802 { (eval echo configure:1803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1804 { (eval echo configure:1805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1803 ac_err=`grep -v '^ *+' conftest.out` | 1805 ac_err=`grep -v '^ *+' conftest.out` |
1804 if test -z "$ac_err"; then | 1806 if test -z "$ac_err"; then |
1805 : | 1807 : |
1806 else | 1808 else |
1807 echo "$ac_err" >&5 | 1809 echo "$ac_err" >&5 |
1808 echo "configure: failed program was:" >&5 | 1810 echo "configure: failed program was:" >&5 |
1809 cat conftest.$ac_ext >&5 | 1811 cat conftest.$ac_ext >&5 |
1810 rm -rf conftest* | 1812 rm -rf conftest* |
1811 CPP="${CC-cc} -E -traditional-cpp" | 1813 CPP="${CC-cc} -E -traditional-cpp" |
1812 cat > conftest.$ac_ext <<EOF | 1814 cat > conftest.$ac_ext <<EOF |
1813 #line 1814 "configure" | 1815 #line 1816 "configure" |
1814 #include "confdefs.h" | 1816 #include "confdefs.h" |
1815 #include <assert.h> | 1817 #include <assert.h> |
1816 Syntax Error | 1818 Syntax Error |
1817 EOF | 1819 EOF |
1818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1819 { (eval echo configure:1820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1821 { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1820 ac_err=`grep -v '^ *+' conftest.out` | 1822 ac_err=`grep -v '^ *+' conftest.out` |
1821 if test -z "$ac_err"; then | 1823 if test -z "$ac_err"; then |
1822 : | 1824 : |
1823 else | 1825 else |
1824 echo "$ac_err" >&5 | 1826 echo "$ac_err" >&5 |
1837 fi | 1839 fi |
1838 echo "$ac_t""$CPP" 1>&6 | 1840 echo "$ac_t""$CPP" 1>&6 |
1839 | 1841 |
1840 | 1842 |
1841 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1843 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1842 echo "configure:1843: checking for AIX" >&5 | 1844 echo "configure:1845: checking for AIX" >&5 |
1843 cat > conftest.$ac_ext <<EOF | 1845 cat > conftest.$ac_ext <<EOF |
1844 #line 1845 "configure" | 1846 #line 1847 "configure" |
1845 #include "confdefs.h" | 1847 #include "confdefs.h" |
1846 #ifdef _AIX | 1848 #ifdef _AIX |
1847 yes | 1849 yes |
1848 #endif | 1850 #endif |
1849 | 1851 |
1866 rm -f conftest* | 1868 rm -f conftest* |
1867 | 1869 |
1868 | 1870 |
1869 | 1871 |
1870 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1872 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
1871 echo "configure:1872: checking for GNU libc" >&5 | 1873 echo "configure:1874: checking for GNU libc" >&5 |
1872 cat > conftest.$ac_ext <<EOF | 1874 cat > conftest.$ac_ext <<EOF |
1873 #line 1874 "configure" | 1875 #line 1876 "configure" |
1874 #include "confdefs.h" | 1876 #include "confdefs.h" |
1875 #include <features.h> | 1877 #include <features.h> |
1876 int main() { | 1878 int main() { |
1877 | 1879 |
1878 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1880 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
1880 ******* ======= ******** &&&&&&&& | 1882 ******* ======= ******** &&&&&&&& |
1881 #endif | 1883 #endif |
1882 | 1884 |
1883 ; return 0; } | 1885 ; return 0; } |
1884 EOF | 1886 EOF |
1885 if { (eval echo configure:1886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1887 if { (eval echo configure:1888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1886 rm -rf conftest* | 1888 rm -rf conftest* |
1887 have_glibc=yes | 1889 have_glibc=yes |
1888 else | 1890 else |
1889 echo "configure: failed program was:" >&5 | 1891 echo "configure: failed program was:" >&5 |
1890 cat conftest.$ac_ext >&5 | 1892 cat conftest.$ac_ext >&5 |
1901 EOF | 1903 EOF |
1902 } | 1904 } |
1903 | 1905 |
1904 | 1906 |
1905 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1907 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1906 echo "configure:1907: checking whether we are using SunPro C" >&5 | 1908 echo "configure:1909: checking whether we are using SunPro C" >&5 |
1907 cat > conftest.$ac_ext <<EOF | 1909 cat > conftest.$ac_ext <<EOF |
1908 #line 1909 "configure" | 1910 #line 1911 "configure" |
1909 #include "confdefs.h" | 1911 #include "confdefs.h" |
1910 | 1912 |
1911 int main() { | 1913 int main() { |
1912 #ifndef __SUNPRO_C | 1914 #ifndef __SUNPRO_C |
1913 #error Not a SunPro compiler :-( | 1915 #error Not a SunPro compiler :-( |
1914 ******* ======= ******** &&&&&&&& | 1916 ******* ======= ******** &&&&&&&& |
1915 #endif | 1917 #endif |
1916 | 1918 |
1917 ; return 0; } | 1919 ; return 0; } |
1918 EOF | 1920 EOF |
1919 if { (eval echo configure:1920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1921 if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1920 rm -rf conftest* | 1922 rm -rf conftest* |
1921 __sunpro_c=yes | 1923 __sunpro_c=yes |
1922 else | 1924 else |
1923 echo "configure: failed program was:" >&5 | 1925 echo "configure: failed program was:" >&5 |
1924 cat conftest.$ac_ext >&5 | 1926 cat conftest.$ac_ext >&5 |
2190 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2192 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2191 echo " xemacs will be linked with \"$unexec\"" | 2193 echo " xemacs will be linked with \"$unexec\"" |
2192 fi | 2194 fi |
2193 | 2195 |
2194 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2196 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2195 echo "configure:2196: checking for dynodump" >&5 | 2197 echo "configure:2198: checking for dynodump" >&5 |
2196 if test "$unexec" != "unexsol2.o"; then | 2198 if test "$unexec" != "unexsol2.o"; then |
2197 echo "$ac_t""no" 1>&6 | 2199 echo "$ac_t""no" 1>&6 |
2198 else | 2200 else |
2199 echo "$ac_t""yes" 1>&6 | 2201 echo "$ac_t""yes" 1>&6 |
2200 { test "$extra_verbose" = "yes" && cat << \EOF | 2202 { test "$extra_verbose" = "yes" && cat << \EOF |
2288 esac | 2290 esac |
2289 fi | 2291 fi |
2290 | 2292 |
2291 if test "$add_runtime_path" = "yes"; then | 2293 if test "$add_runtime_path" = "yes"; then |
2292 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2294 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2293 echo "configure:2294: checking "for runtime libraries flag"" >&5 | 2295 echo "configure:2296: checking "for runtime libraries flag"" >&5 |
2294 dash_r="" | 2296 dash_r="" |
2295 for try_dash_r in "-R" "-R " "-rpath "; do | 2297 for try_dash_r in "-R" "-R " "-rpath "; do |
2296 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2298 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2297 cat > conftest.$ac_ext <<EOF | 2299 cat > conftest.$ac_ext <<EOF |
2298 #line 2299 "configure" | 2300 #line 2301 "configure" |
2299 #include "confdefs.h" | 2301 #include "confdefs.h" |
2300 | 2302 |
2301 int main() { | 2303 int main() { |
2302 | 2304 |
2303 ; return 0; } | 2305 ; return 0; } |
2304 EOF | 2306 EOF |
2305 if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2307 if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2306 rm -rf conftest* | 2308 rm -rf conftest* |
2307 dash_r="$try_dash_r" | 2309 dash_r="$try_dash_r" |
2308 else | 2310 else |
2309 echo "configure: failed program was:" >&5 | 2311 echo "configure: failed program was:" >&5 |
2310 cat conftest.$ac_ext >&5 | 2312 cat conftest.$ac_ext >&5 |
2387 else | 2389 else |
2388 doug_lea_malloc=no | 2390 doug_lea_malloc=no |
2389 fi | 2391 fi |
2390 after_morecore_hook_exists=yes | 2392 after_morecore_hook_exists=yes |
2391 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2393 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2392 echo "configure:2393: checking for malloc_get_state" >&5 | 2394 echo "configure:2395: checking for malloc_get_state" >&5 |
2393 | 2395 |
2394 cat > conftest.$ac_ext <<EOF | 2396 cat > conftest.$ac_ext <<EOF |
2395 #line 2396 "configure" | 2397 #line 2398 "configure" |
2396 #include "confdefs.h" | 2398 #include "confdefs.h" |
2397 /* System header to define __stub macros and hopefully few prototypes, | 2399 /* System header to define __stub macros and hopefully few prototypes, |
2398 which can conflict with char malloc_get_state(); below. */ | 2400 which can conflict with char malloc_get_state(); below. */ |
2399 #include <assert.h> | 2401 #include <assert.h> |
2400 /* Override any gcc2 internal prototype to avoid an error. */ | 2402 /* Override any gcc2 internal prototype to avoid an error. */ |
2413 malloc_get_state(); | 2415 malloc_get_state(); |
2414 #endif | 2416 #endif |
2415 | 2417 |
2416 ; return 0; } | 2418 ; return 0; } |
2417 EOF | 2419 EOF |
2418 if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2420 if { (eval echo configure:2421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2419 rm -rf conftest* | 2421 rm -rf conftest* |
2420 eval "ac_cv_func_malloc_get_state=yes" | 2422 eval "ac_cv_func_malloc_get_state=yes" |
2421 else | 2423 else |
2422 echo "configure: failed program was:" >&5 | 2424 echo "configure: failed program was:" >&5 |
2423 cat conftest.$ac_ext >&5 | 2425 cat conftest.$ac_ext >&5 |
2433 echo "$ac_t""no" 1>&6 | 2435 echo "$ac_t""no" 1>&6 |
2434 doug_lea_malloc=no | 2436 doug_lea_malloc=no |
2435 fi | 2437 fi |
2436 | 2438 |
2437 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2439 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2438 echo "configure:2439: checking for malloc_set_state" >&5 | 2440 echo "configure:2441: checking for malloc_set_state" >&5 |
2439 | 2441 |
2440 cat > conftest.$ac_ext <<EOF | 2442 cat > conftest.$ac_ext <<EOF |
2441 #line 2442 "configure" | 2443 #line 2444 "configure" |
2442 #include "confdefs.h" | 2444 #include "confdefs.h" |
2443 /* System header to define __stub macros and hopefully few prototypes, | 2445 /* System header to define __stub macros and hopefully few prototypes, |
2444 which can conflict with char malloc_set_state(); below. */ | 2446 which can conflict with char malloc_set_state(); below. */ |
2445 #include <assert.h> | 2447 #include <assert.h> |
2446 /* Override any gcc2 internal prototype to avoid an error. */ | 2448 /* Override any gcc2 internal prototype to avoid an error. */ |
2459 malloc_set_state(); | 2461 malloc_set_state(); |
2460 #endif | 2462 #endif |
2461 | 2463 |
2462 ; return 0; } | 2464 ; return 0; } |
2463 EOF | 2465 EOF |
2464 if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2466 if { (eval echo configure:2467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2465 rm -rf conftest* | 2467 rm -rf conftest* |
2466 eval "ac_cv_func_malloc_set_state=yes" | 2468 eval "ac_cv_func_malloc_set_state=yes" |
2467 else | 2469 else |
2468 echo "configure: failed program was:" >&5 | 2470 echo "configure: failed program was:" >&5 |
2469 cat conftest.$ac_ext >&5 | 2471 cat conftest.$ac_ext >&5 |
2479 echo "$ac_t""no" 1>&6 | 2481 echo "$ac_t""no" 1>&6 |
2480 doug_lea_malloc=no | 2482 doug_lea_malloc=no |
2481 fi | 2483 fi |
2482 | 2484 |
2483 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2485 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2484 echo "configure:2485: checking whether __after_morecore_hook exists" >&5 | 2486 echo "configure:2487: checking whether __after_morecore_hook exists" >&5 |
2485 cat > conftest.$ac_ext <<EOF | 2487 cat > conftest.$ac_ext <<EOF |
2486 #line 2487 "configure" | 2488 #line 2489 "configure" |
2487 #include "confdefs.h" | 2489 #include "confdefs.h" |
2488 extern void (* __after_morecore_hook)(); | 2490 extern void (* __after_morecore_hook)(); |
2489 int main() { | 2491 int main() { |
2490 __after_morecore_hook = 0 | 2492 __after_morecore_hook = 0 |
2491 ; return 0; } | 2493 ; return 0; } |
2492 EOF | 2494 EOF |
2493 if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2495 if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2494 rm -rf conftest* | 2496 rm -rf conftest* |
2495 echo "$ac_t""yes" 1>&6 | 2497 echo "$ac_t""yes" 1>&6 |
2496 else | 2498 else |
2497 echo "configure: failed program was:" >&5 | 2499 echo "configure: failed program was:" >&5 |
2498 cat conftest.$ac_ext >&5 | 2500 cat conftest.$ac_ext >&5 |
2553 | 2555 |
2554 | 2556 |
2555 # Extract the first word of "ranlib", so it can be a program name with args. | 2557 # Extract the first word of "ranlib", so it can be a program name with args. |
2556 set dummy ranlib; ac_word=$2 | 2558 set dummy ranlib; ac_word=$2 |
2557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2559 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2558 echo "configure:2559: checking for $ac_word" >&5 | 2560 echo "configure:2561: checking for $ac_word" >&5 |
2559 | 2561 |
2560 if test -n "$RANLIB"; then | 2562 if test -n "$RANLIB"; then |
2561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2563 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2562 else | 2564 else |
2563 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2606 # AIX /bin/install | 2608 # AIX /bin/install |
2607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2609 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2610 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2609 # ./install, which can be erroneously created by make from ./install.sh. | 2611 # ./install, which can be erroneously created by make from ./install.sh. |
2610 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2612 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2611 echo "configure:2612: checking for a BSD compatible install" >&5 | 2613 echo "configure:2614: checking for a BSD compatible install" >&5 |
2612 if test -z "$INSTALL"; then | 2614 if test -z "$INSTALL"; then |
2613 | 2615 |
2614 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2616 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2615 for ac_dir in $PATH; do | 2617 for ac_dir in $PATH; do |
2616 # Account for people who put trailing slashes in PATH elements. | 2618 # Account for people who put trailing slashes in PATH elements. |
2657 for ac_prog in 'bison -y' byacc | 2659 for ac_prog in 'bison -y' byacc |
2658 do | 2660 do |
2659 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2661 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2660 set dummy $ac_prog; ac_word=$2 | 2662 set dummy $ac_prog; ac_word=$2 |
2661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2662 echo "configure:2663: checking for $ac_word" >&5 | 2664 echo "configure:2665: checking for $ac_word" >&5 |
2663 | 2665 |
2664 if test -n "$YACC"; then | 2666 if test -n "$YACC"; then |
2665 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2667 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2666 else | 2668 else |
2667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2688 | 2690 |
2689 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2691 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2690 do | 2692 do |
2691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2693 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2694 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2693 echo "configure:2694: checking for $ac_hdr" >&5 | 2695 echo "configure:2696: checking for $ac_hdr" >&5 |
2694 | 2696 |
2695 cat > conftest.$ac_ext <<EOF | 2697 cat > conftest.$ac_ext <<EOF |
2696 #line 2697 "configure" | 2698 #line 2699 "configure" |
2697 #include "confdefs.h" | 2699 #include "confdefs.h" |
2698 #include <$ac_hdr> | 2700 #include <$ac_hdr> |
2699 EOF | 2701 EOF |
2700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2701 { (eval echo configure:2702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2703 { (eval echo configure:2704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2702 ac_err=`grep -v '^ *+' conftest.out` | 2704 ac_err=`grep -v '^ *+' conftest.out` |
2703 if test -z "$ac_err"; then | 2705 if test -z "$ac_err"; then |
2704 rm -rf conftest* | 2706 rm -rf conftest* |
2705 eval "ac_cv_header_$ac_safe=yes" | 2707 eval "ac_cv_header_$ac_safe=yes" |
2706 else | 2708 else |
2729 | 2731 |
2730 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2732 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2731 do | 2733 do |
2732 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2734 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2733 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2735 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2734 echo "configure:2735: checking for $ac_hdr" >&5 | 2736 echo "configure:2737: checking for $ac_hdr" >&5 |
2735 | 2737 |
2736 cat > conftest.$ac_ext <<EOF | 2738 cat > conftest.$ac_ext <<EOF |
2737 #line 2738 "configure" | 2739 #line 2740 "configure" |
2738 #include "confdefs.h" | 2740 #include "confdefs.h" |
2739 #include <$ac_hdr> | 2741 #include <$ac_hdr> |
2740 EOF | 2742 EOF |
2741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2742 { (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2744 { (eval echo configure:2745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2743 ac_err=`grep -v '^ *+' conftest.out` | 2745 ac_err=`grep -v '^ *+' conftest.out` |
2744 if test -z "$ac_err"; then | 2746 if test -z "$ac_err"; then |
2745 rm -rf conftest* | 2747 rm -rf conftest* |
2746 eval "ac_cv_header_$ac_safe=yes" | 2748 eval "ac_cv_header_$ac_safe=yes" |
2747 else | 2749 else |
2770 | 2772 |
2771 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2773 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2772 do | 2774 do |
2773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2775 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2776 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2775 echo "configure:2776: checking for $ac_hdr" >&5 | 2777 echo "configure:2778: checking for $ac_hdr" >&5 |
2776 | 2778 |
2777 cat > conftest.$ac_ext <<EOF | 2779 cat > conftest.$ac_ext <<EOF |
2778 #line 2779 "configure" | 2780 #line 2781 "configure" |
2779 #include "confdefs.h" | 2781 #include "confdefs.h" |
2780 #include <$ac_hdr> | 2782 #include <$ac_hdr> |
2781 EOF | 2783 EOF |
2782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2783 { (eval echo configure:2784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2785 { (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2784 ac_err=`grep -v '^ *+' conftest.out` | 2786 ac_err=`grep -v '^ *+' conftest.out` |
2785 if test -z "$ac_err"; then | 2787 if test -z "$ac_err"; then |
2786 rm -rf conftest* | 2788 rm -rf conftest* |
2787 eval "ac_cv_header_$ac_safe=yes" | 2789 eval "ac_cv_header_$ac_safe=yes" |
2788 else | 2790 else |
2808 echo "$ac_t""no" 1>&6 | 2810 echo "$ac_t""no" 1>&6 |
2809 fi | 2811 fi |
2810 done | 2812 done |
2811 | 2813 |
2812 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2814 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2813 echo "configure:2814: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2815 echo "configure:2816: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2814 | 2816 |
2815 cat > conftest.$ac_ext <<EOF | 2817 cat > conftest.$ac_ext <<EOF |
2816 #line 2817 "configure" | 2818 #line 2819 "configure" |
2817 #include "confdefs.h" | 2819 #include "confdefs.h" |
2818 #include <sys/types.h> | 2820 #include <sys/types.h> |
2819 #include <sys/wait.h> | 2821 #include <sys/wait.h> |
2820 #ifndef WEXITSTATUS | 2822 #ifndef WEXITSTATUS |
2821 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2823 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2827 int s; | 2829 int s; |
2828 wait (&s); | 2830 wait (&s); |
2829 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2831 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2830 ; return 0; } | 2832 ; return 0; } |
2831 EOF | 2833 EOF |
2832 if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2834 if { (eval echo configure:2835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2833 rm -rf conftest* | 2835 rm -rf conftest* |
2834 ac_cv_header_sys_wait_h=yes | 2836 ac_cv_header_sys_wait_h=yes |
2835 else | 2837 else |
2836 echo "configure: failed program was:" >&5 | 2838 echo "configure: failed program was:" >&5 |
2837 cat conftest.$ac_ext >&5 | 2839 cat conftest.$ac_ext >&5 |
2851 } | 2853 } |
2852 | 2854 |
2853 fi | 2855 fi |
2854 | 2856 |
2855 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2857 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2856 echo "configure:2857: checking for ANSI C header files" >&5 | 2858 echo "configure:2859: checking for ANSI C header files" >&5 |
2857 | 2859 |
2858 cat > conftest.$ac_ext <<EOF | 2860 cat > conftest.$ac_ext <<EOF |
2859 #line 2860 "configure" | 2861 #line 2862 "configure" |
2860 #include "confdefs.h" | 2862 #include "confdefs.h" |
2861 #include <stdlib.h> | 2863 #include <stdlib.h> |
2862 #include <stdarg.h> | 2864 #include <stdarg.h> |
2863 #include <string.h> | 2865 #include <string.h> |
2864 #include <float.h> | 2866 #include <float.h> |
2865 EOF | 2867 EOF |
2866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2867 { (eval echo configure:2868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2869 { (eval echo configure:2870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2868 ac_err=`grep -v '^ *+' conftest.out` | 2870 ac_err=`grep -v '^ *+' conftest.out` |
2869 if test -z "$ac_err"; then | 2871 if test -z "$ac_err"; then |
2870 rm -rf conftest* | 2872 rm -rf conftest* |
2871 ac_cv_header_stdc=yes | 2873 ac_cv_header_stdc=yes |
2872 else | 2874 else |
2879 rm -f conftest* | 2881 rm -f conftest* |
2880 | 2882 |
2881 if test $ac_cv_header_stdc = yes; then | 2883 if test $ac_cv_header_stdc = yes; then |
2882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2884 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2883 cat > conftest.$ac_ext <<EOF | 2885 cat > conftest.$ac_ext <<EOF |
2884 #line 2885 "configure" | 2886 #line 2887 "configure" |
2885 #include "confdefs.h" | 2887 #include "confdefs.h" |
2886 #include <string.h> | 2888 #include <string.h> |
2887 EOF | 2889 EOF |
2888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2889 egrep "memchr" >/dev/null 2>&1; then | 2891 egrep "memchr" >/dev/null 2>&1; then |
2897 fi | 2899 fi |
2898 | 2900 |
2899 if test $ac_cv_header_stdc = yes; then | 2901 if test $ac_cv_header_stdc = yes; then |
2900 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2902 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2901 cat > conftest.$ac_ext <<EOF | 2903 cat > conftest.$ac_ext <<EOF |
2902 #line 2903 "configure" | 2904 #line 2905 "configure" |
2903 #include "confdefs.h" | 2905 #include "confdefs.h" |
2904 #include <stdlib.h> | 2906 #include <stdlib.h> |
2905 EOF | 2907 EOF |
2906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2907 egrep "free" >/dev/null 2>&1; then | 2909 egrep "free" >/dev/null 2>&1; then |
2915 fi | 2917 fi |
2916 | 2918 |
2917 if test $ac_cv_header_stdc = yes; then | 2919 if test $ac_cv_header_stdc = yes; then |
2918 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2920 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2919 cat > conftest.$ac_ext <<EOF | 2921 cat > conftest.$ac_ext <<EOF |
2920 #line 2921 "configure" | 2922 #line 2923 "configure" |
2921 #include "confdefs.h" | 2923 #include "confdefs.h" |
2922 #include <ctype.h> | 2924 #include <ctype.h> |
2923 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2925 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2924 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2926 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2925 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2926 int main () { int i; for (i = 0; i < 256; i++) | 2928 int main () { int i; for (i = 0; i < 256; i++) |
2927 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2929 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2928 exit (0); } | 2930 exit (0); } |
2929 | 2931 |
2930 EOF | 2932 EOF |
2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2933 if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2932 then | 2934 then |
2933 : | 2935 : |
2934 else | 2936 else |
2935 echo "configure: failed program was:" >&5 | 2937 echo "configure: failed program was:" >&5 |
2936 cat conftest.$ac_ext >&5 | 2938 cat conftest.$ac_ext >&5 |
2951 } | 2953 } |
2952 | 2954 |
2953 fi | 2955 fi |
2954 | 2956 |
2955 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2957 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2956 echo "configure:2957: checking whether time.h and sys/time.h may both be included" >&5 | 2958 echo "configure:2959: checking whether time.h and sys/time.h may both be included" >&5 |
2957 | 2959 |
2958 cat > conftest.$ac_ext <<EOF | 2960 cat > conftest.$ac_ext <<EOF |
2959 #line 2960 "configure" | 2961 #line 2962 "configure" |
2960 #include "confdefs.h" | 2962 #include "confdefs.h" |
2961 #include <sys/types.h> | 2963 #include <sys/types.h> |
2962 #include <sys/time.h> | 2964 #include <sys/time.h> |
2963 #include <time.h> | 2965 #include <time.h> |
2964 int main() { | 2966 int main() { |
2965 struct tm *tp; | 2967 struct tm *tp; |
2966 ; return 0; } | 2968 ; return 0; } |
2967 EOF | 2969 EOF |
2968 if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2970 if { (eval echo configure:2971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2969 rm -rf conftest* | 2971 rm -rf conftest* |
2970 ac_cv_header_time=yes | 2972 ac_cv_header_time=yes |
2971 else | 2973 else |
2972 echo "configure: failed program was:" >&5 | 2974 echo "configure: failed program was:" >&5 |
2973 cat conftest.$ac_ext >&5 | 2975 cat conftest.$ac_ext >&5 |
2987 } | 2989 } |
2988 | 2990 |
2989 fi | 2991 fi |
2990 | 2992 |
2991 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2993 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2992 echo "configure:2993: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2994 echo "configure:2995: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2993 | 2995 |
2994 cat > conftest.$ac_ext <<EOF | 2996 cat > conftest.$ac_ext <<EOF |
2995 #line 2996 "configure" | 2997 #line 2998 "configure" |
2996 #include "confdefs.h" | 2998 #include "confdefs.h" |
2997 #include <sys/types.h> | 2999 #include <sys/types.h> |
2998 #include <signal.h> | 3000 #include <signal.h> |
2999 /* NetBSD declares sys_siglist in unistd.h. */ | 3001 /* NetBSD declares sys_siglist in unistd.h. */ |
3000 #ifdef HAVE_UNISTD_H | 3002 #ifdef HAVE_UNISTD_H |
3002 #endif | 3004 #endif |
3003 int main() { | 3005 int main() { |
3004 char *msg = *(sys_siglist + 1); | 3006 char *msg = *(sys_siglist + 1); |
3005 ; return 0; } | 3007 ; return 0; } |
3006 EOF | 3008 EOF |
3007 if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3009 if { (eval echo configure:3010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3008 rm -rf conftest* | 3010 rm -rf conftest* |
3009 ac_cv_decl_sys_siglist=yes | 3011 ac_cv_decl_sys_siglist=yes |
3010 else | 3012 else |
3011 echo "configure: failed program was:" >&5 | 3013 echo "configure: failed program was:" >&5 |
3012 cat conftest.$ac_ext >&5 | 3014 cat conftest.$ac_ext >&5 |
3027 | 3029 |
3028 fi | 3030 fi |
3029 | 3031 |
3030 | 3032 |
3031 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3033 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3032 echo "configure:3033: checking for struct utimbuf" >&5 | 3034 echo "configure:3035: checking for struct utimbuf" >&5 |
3033 cat > conftest.$ac_ext <<EOF | 3035 cat > conftest.$ac_ext <<EOF |
3034 #line 3035 "configure" | 3036 #line 3037 "configure" |
3035 #include "confdefs.h" | 3037 #include "confdefs.h" |
3036 #ifdef TIME_WITH_SYS_TIME | 3038 #ifdef TIME_WITH_SYS_TIME |
3037 #include <sys/time.h> | 3039 #include <sys/time.h> |
3038 #include <time.h> | 3040 #include <time.h> |
3039 #else | 3041 #else |
3048 #endif | 3050 #endif |
3049 int main() { | 3051 int main() { |
3050 static struct utimbuf x; x.actime = x.modtime; | 3052 static struct utimbuf x; x.actime = x.modtime; |
3051 ; return 0; } | 3053 ; return 0; } |
3052 EOF | 3054 EOF |
3053 if { (eval echo configure:3054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3055 if { (eval echo configure:3056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3054 rm -rf conftest* | 3056 rm -rf conftest* |
3055 echo "$ac_t""yes" 1>&6 | 3057 echo "$ac_t""yes" 1>&6 |
3056 { test "$extra_verbose" = "yes" && cat << \EOF | 3058 { test "$extra_verbose" = "yes" && cat << \EOF |
3057 Defining HAVE_STRUCT_UTIMBUF | 3059 Defining HAVE_STRUCT_UTIMBUF |
3058 EOF | 3060 EOF |
3068 echo "$ac_t""no" 1>&6 | 3070 echo "$ac_t""no" 1>&6 |
3069 fi | 3071 fi |
3070 rm -f conftest* | 3072 rm -f conftest* |
3071 | 3073 |
3072 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3074 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3073 echo "configure:3074: checking return type of signal handlers" >&5 | 3075 echo "configure:3076: checking return type of signal handlers" >&5 |
3074 | 3076 |
3075 cat > conftest.$ac_ext <<EOF | 3077 cat > conftest.$ac_ext <<EOF |
3076 #line 3077 "configure" | 3078 #line 3079 "configure" |
3077 #include "confdefs.h" | 3079 #include "confdefs.h" |
3078 #include <sys/types.h> | 3080 #include <sys/types.h> |
3079 #include <signal.h> | 3081 #include <signal.h> |
3080 #ifdef signal | 3082 #ifdef signal |
3081 #undef signal | 3083 #undef signal |
3088 | 3090 |
3089 int main() { | 3091 int main() { |
3090 int i; | 3092 int i; |
3091 ; return 0; } | 3093 ; return 0; } |
3092 EOF | 3094 EOF |
3093 if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3095 if { (eval echo configure:3096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3094 rm -rf conftest* | 3096 rm -rf conftest* |
3095 ac_cv_type_signal=void | 3097 ac_cv_type_signal=void |
3096 else | 3098 else |
3097 echo "configure: failed program was:" >&5 | 3099 echo "configure: failed program was:" >&5 |
3098 cat conftest.$ac_ext >&5 | 3100 cat conftest.$ac_ext >&5 |
3110 EOF | 3112 EOF |
3111 } | 3113 } |
3112 | 3114 |
3113 | 3115 |
3114 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3116 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3115 echo "configure:3116: checking for size_t" >&5 | 3117 echo "configure:3118: checking for size_t" >&5 |
3116 | 3118 |
3117 cat > conftest.$ac_ext <<EOF | 3119 cat > conftest.$ac_ext <<EOF |
3118 #line 3119 "configure" | 3120 #line 3121 "configure" |
3119 #include "confdefs.h" | 3121 #include "confdefs.h" |
3120 #include <sys/types.h> | 3122 #include <sys/types.h> |
3121 #if STDC_HEADERS | 3123 #if STDC_HEADERS |
3122 #include <stdlib.h> | 3124 #include <stdlib.h> |
3123 #include <stddef.h> | 3125 #include <stddef.h> |
3144 } | 3146 } |
3145 | 3147 |
3146 fi | 3148 fi |
3147 | 3149 |
3148 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3150 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3149 echo "configure:3150: checking for pid_t" >&5 | 3151 echo "configure:3152: checking for pid_t" >&5 |
3150 | 3152 |
3151 cat > conftest.$ac_ext <<EOF | 3153 cat > conftest.$ac_ext <<EOF |
3152 #line 3153 "configure" | 3154 #line 3155 "configure" |
3153 #include "confdefs.h" | 3155 #include "confdefs.h" |
3154 #include <sys/types.h> | 3156 #include <sys/types.h> |
3155 #if STDC_HEADERS | 3157 #if STDC_HEADERS |
3156 #include <stdlib.h> | 3158 #include <stdlib.h> |
3157 #include <stddef.h> | 3159 #include <stddef.h> |
3178 } | 3180 } |
3179 | 3181 |
3180 fi | 3182 fi |
3181 | 3183 |
3182 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3184 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3183 echo "configure:3184: checking for uid_t in sys/types.h" >&5 | 3185 echo "configure:3186: checking for uid_t in sys/types.h" >&5 |
3184 | 3186 |
3185 cat > conftest.$ac_ext <<EOF | 3187 cat > conftest.$ac_ext <<EOF |
3186 #line 3187 "configure" | 3188 #line 3189 "configure" |
3187 #include "confdefs.h" | 3189 #include "confdefs.h" |
3188 #include <sys/types.h> | 3190 #include <sys/types.h> |
3189 EOF | 3191 EOF |
3190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3191 egrep "uid_t" >/dev/null 2>&1; then | 3193 egrep "uid_t" >/dev/null 2>&1; then |
3217 } | 3219 } |
3218 | 3220 |
3219 fi | 3221 fi |
3220 | 3222 |
3221 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3223 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3222 echo "configure:3223: checking for mode_t" >&5 | 3224 echo "configure:3225: checking for mode_t" >&5 |
3223 | 3225 |
3224 cat > conftest.$ac_ext <<EOF | 3226 cat > conftest.$ac_ext <<EOF |
3225 #line 3226 "configure" | 3227 #line 3228 "configure" |
3226 #include "confdefs.h" | 3228 #include "confdefs.h" |
3227 #include <sys/types.h> | 3229 #include <sys/types.h> |
3228 #if STDC_HEADERS | 3230 #if STDC_HEADERS |
3229 #include <stdlib.h> | 3231 #include <stdlib.h> |
3230 #include <stddef.h> | 3232 #include <stddef.h> |
3251 } | 3253 } |
3252 | 3254 |
3253 fi | 3255 fi |
3254 | 3256 |
3255 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3257 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3256 echo "configure:3257: checking for off_t" >&5 | 3258 echo "configure:3259: checking for off_t" >&5 |
3257 | 3259 |
3258 cat > conftest.$ac_ext <<EOF | 3260 cat > conftest.$ac_ext <<EOF |
3259 #line 3260 "configure" | 3261 #line 3262 "configure" |
3260 #include "confdefs.h" | 3262 #include "confdefs.h" |
3261 #include <sys/types.h> | 3263 #include <sys/types.h> |
3262 #if STDC_HEADERS | 3264 #if STDC_HEADERS |
3263 #include <stdlib.h> | 3265 #include <stdlib.h> |
3264 #include <stddef.h> | 3266 #include <stddef.h> |
3286 | 3288 |
3287 fi | 3289 fi |
3288 | 3290 |
3289 | 3291 |
3290 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3292 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3291 echo "configure:3292: checking for struct timeval" >&5 | 3293 echo "configure:3294: checking for struct timeval" >&5 |
3292 cat > conftest.$ac_ext <<EOF | 3294 cat > conftest.$ac_ext <<EOF |
3293 #line 3294 "configure" | 3295 #line 3296 "configure" |
3294 #include "confdefs.h" | 3296 #include "confdefs.h" |
3295 #ifdef TIME_WITH_SYS_TIME | 3297 #ifdef TIME_WITH_SYS_TIME |
3296 #include <sys/time.h> | 3298 #include <sys/time.h> |
3297 #include <time.h> | 3299 #include <time.h> |
3298 #else | 3300 #else |
3304 #endif | 3306 #endif |
3305 int main() { | 3307 int main() { |
3306 static struct timeval x; x.tv_sec = x.tv_usec; | 3308 static struct timeval x; x.tv_sec = x.tv_usec; |
3307 ; return 0; } | 3309 ; return 0; } |
3308 EOF | 3310 EOF |
3309 if { (eval echo configure:3310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3311 if { (eval echo configure:3312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3310 rm -rf conftest* | 3312 rm -rf conftest* |
3311 echo "$ac_t""yes" 1>&6 | 3313 echo "$ac_t""yes" 1>&6 |
3312 HAVE_TIMEVAL=yes | 3314 HAVE_TIMEVAL=yes |
3313 { test "$extra_verbose" = "yes" && cat << \EOF | 3315 { test "$extra_verbose" = "yes" && cat << \EOF |
3314 Defining HAVE_TIMEVAL | 3316 Defining HAVE_TIMEVAL |
3326 HAVE_TIMEVAL=no | 3328 HAVE_TIMEVAL=no |
3327 fi | 3329 fi |
3328 rm -f conftest* | 3330 rm -f conftest* |
3329 | 3331 |
3330 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3332 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3331 echo "configure:3332: checking whether struct tm is in sys/time.h or time.h" >&5 | 3333 echo "configure:3334: checking whether struct tm is in sys/time.h or time.h" >&5 |
3332 | 3334 |
3333 cat > conftest.$ac_ext <<EOF | 3335 cat > conftest.$ac_ext <<EOF |
3334 #line 3335 "configure" | 3336 #line 3337 "configure" |
3335 #include "confdefs.h" | 3337 #include "confdefs.h" |
3336 #include <sys/types.h> | 3338 #include <sys/types.h> |
3337 #include <time.h> | 3339 #include <time.h> |
3338 int main() { | 3340 int main() { |
3339 struct tm *tp; tp->tm_sec; | 3341 struct tm *tp; tp->tm_sec; |
3340 ; return 0; } | 3342 ; return 0; } |
3341 EOF | 3343 EOF |
3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3344 if { (eval echo configure:3345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3343 rm -rf conftest* | 3345 rm -rf conftest* |
3344 ac_cv_struct_tm=time.h | 3346 ac_cv_struct_tm=time.h |
3345 else | 3347 else |
3346 echo "configure: failed program was:" >&5 | 3348 echo "configure: failed program was:" >&5 |
3347 cat conftest.$ac_ext >&5 | 3349 cat conftest.$ac_ext >&5 |
3361 } | 3363 } |
3362 | 3364 |
3363 fi | 3365 fi |
3364 | 3366 |
3365 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3367 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3366 echo "configure:3367: checking for tm_zone in struct tm" >&5 | 3368 echo "configure:3369: checking for tm_zone in struct tm" >&5 |
3367 | 3369 |
3368 cat > conftest.$ac_ext <<EOF | 3370 cat > conftest.$ac_ext <<EOF |
3369 #line 3370 "configure" | 3371 #line 3372 "configure" |
3370 #include "confdefs.h" | 3372 #include "confdefs.h" |
3371 #include <sys/types.h> | 3373 #include <sys/types.h> |
3372 #include <$ac_cv_struct_tm> | 3374 #include <$ac_cv_struct_tm> |
3373 int main() { | 3375 int main() { |
3374 struct tm tm; tm.tm_zone; | 3376 struct tm tm; tm.tm_zone; |
3375 ; return 0; } | 3377 ; return 0; } |
3376 EOF | 3378 EOF |
3377 if { (eval echo configure:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3379 if { (eval echo configure:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3378 rm -rf conftest* | 3380 rm -rf conftest* |
3379 ac_cv_struct_tm_zone=yes | 3381 ac_cv_struct_tm_zone=yes |
3380 else | 3382 else |
3381 echo "configure: failed program was:" >&5 | 3383 echo "configure: failed program was:" >&5 |
3382 cat conftest.$ac_ext >&5 | 3384 cat conftest.$ac_ext >&5 |
3395 EOF | 3397 EOF |
3396 } | 3398 } |
3397 | 3399 |
3398 else | 3400 else |
3399 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3401 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3400 echo "configure:3401: checking for tzname" >&5 | 3402 echo "configure:3403: checking for tzname" >&5 |
3401 | 3403 |
3402 cat > conftest.$ac_ext <<EOF | 3404 cat > conftest.$ac_ext <<EOF |
3403 #line 3404 "configure" | 3405 #line 3406 "configure" |
3404 #include "confdefs.h" | 3406 #include "confdefs.h" |
3405 #include <time.h> | 3407 #include <time.h> |
3406 #ifndef tzname /* For SGI. */ | 3408 #ifndef tzname /* For SGI. */ |
3407 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3409 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3408 #endif | 3410 #endif |
3409 int main() { | 3411 int main() { |
3410 atoi(*tzname); | 3412 atoi(*tzname); |
3411 ; return 0; } | 3413 ; return 0; } |
3412 EOF | 3414 EOF |
3413 if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3415 if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3414 rm -rf conftest* | 3416 rm -rf conftest* |
3415 ac_cv_var_tzname=yes | 3417 ac_cv_var_tzname=yes |
3416 else | 3418 else |
3417 echo "configure: failed program was:" >&5 | 3419 echo "configure: failed program was:" >&5 |
3418 cat conftest.$ac_ext >&5 | 3420 cat conftest.$ac_ext >&5 |
3434 fi | 3436 fi |
3435 fi | 3437 fi |
3436 | 3438 |
3437 | 3439 |
3438 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3440 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3439 echo "configure:3440: checking for working const" >&5 | 3441 echo "configure:3442: checking for working const" >&5 |
3440 | 3442 |
3441 cat > conftest.$ac_ext <<EOF | 3443 cat > conftest.$ac_ext <<EOF |
3442 #line 3443 "configure" | 3444 #line 3445 "configure" |
3443 #include "confdefs.h" | 3445 #include "confdefs.h" |
3444 | 3446 |
3445 int main() { | 3447 int main() { |
3446 | 3448 |
3447 /* Ultrix mips cc rejects this. */ | 3449 /* Ultrix mips cc rejects this. */ |
3486 const int foo = 10; | 3488 const int foo = 10; |
3487 } | 3489 } |
3488 | 3490 |
3489 ; return 0; } | 3491 ; return 0; } |
3490 EOF | 3492 EOF |
3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3493 if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3492 rm -rf conftest* | 3494 rm -rf conftest* |
3493 ac_cv_c_const=yes | 3495 ac_cv_c_const=yes |
3494 else | 3496 else |
3495 echo "configure: failed program was:" >&5 | 3497 echo "configure: failed program was:" >&5 |
3496 cat conftest.$ac_ext >&5 | 3498 cat conftest.$ac_ext >&5 |
3511 | 3513 |
3512 fi | 3514 fi |
3513 | 3515 |
3514 | 3516 |
3515 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3517 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3516 echo "configure:3517: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3518 echo "configure:3519: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3517 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3519 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3518 | 3520 |
3519 cat > conftestmake <<\EOF | 3521 cat > conftestmake <<\EOF |
3520 all: | 3522 all: |
3521 @echo 'ac_maketemp="${MAKE}"' | 3523 @echo 'ac_maketemp="${MAKE}"' |
3536 SET_MAKE="MAKE=${MAKE-make}" | 3538 SET_MAKE="MAKE=${MAKE-make}" |
3537 fi | 3539 fi |
3538 | 3540 |
3539 | 3541 |
3540 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3542 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3541 echo "configure:3542: checking whether byte ordering is bigendian" >&5 | 3543 echo "configure:3544: checking whether byte ordering is bigendian" >&5 |
3542 | 3544 |
3543 ac_cv_c_bigendian=unknown | 3545 ac_cv_c_bigendian=unknown |
3544 # See if sys/param.h defines the BYTE_ORDER macro. | 3546 # See if sys/param.h defines the BYTE_ORDER macro. |
3545 cat > conftest.$ac_ext <<EOF | 3547 cat > conftest.$ac_ext <<EOF |
3546 #line 3547 "configure" | 3548 #line 3549 "configure" |
3547 #include "confdefs.h" | 3549 #include "confdefs.h" |
3548 #include <sys/types.h> | 3550 #include <sys/types.h> |
3549 #include <sys/param.h> | 3551 #include <sys/param.h> |
3550 int main() { | 3552 int main() { |
3551 | 3553 |
3552 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3554 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3553 bogus endian macros | 3555 bogus endian macros |
3554 #endif | 3556 #endif |
3555 ; return 0; } | 3557 ; return 0; } |
3556 EOF | 3558 EOF |
3557 if { (eval echo configure:3558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3559 if { (eval echo configure:3560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3558 rm -rf conftest* | 3560 rm -rf conftest* |
3559 # It does; now see whether it defined to BIG_ENDIAN or not. | 3561 # It does; now see whether it defined to BIG_ENDIAN or not. |
3560 cat > conftest.$ac_ext <<EOF | 3562 cat > conftest.$ac_ext <<EOF |
3561 #line 3562 "configure" | 3563 #line 3564 "configure" |
3562 #include "confdefs.h" | 3564 #include "confdefs.h" |
3563 #include <sys/types.h> | 3565 #include <sys/types.h> |
3564 #include <sys/param.h> | 3566 #include <sys/param.h> |
3565 int main() { | 3567 int main() { |
3566 | 3568 |
3567 #if BYTE_ORDER != BIG_ENDIAN | 3569 #if BYTE_ORDER != BIG_ENDIAN |
3568 not big endian | 3570 not big endian |
3569 #endif | 3571 #endif |
3570 ; return 0; } | 3572 ; return 0; } |
3571 EOF | 3573 EOF |
3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3574 if { (eval echo configure:3575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3573 rm -rf conftest* | 3575 rm -rf conftest* |
3574 ac_cv_c_bigendian=yes | 3576 ac_cv_c_bigendian=yes |
3575 else | 3577 else |
3576 echo "configure: failed program was:" >&5 | 3578 echo "configure: failed program was:" >&5 |
3577 cat conftest.$ac_ext >&5 | 3579 cat conftest.$ac_ext >&5 |
3584 cat conftest.$ac_ext >&5 | 3586 cat conftest.$ac_ext >&5 |
3585 fi | 3587 fi |
3586 rm -f conftest* | 3588 rm -f conftest* |
3587 if test $ac_cv_c_bigendian = unknown; then | 3589 if test $ac_cv_c_bigendian = unknown; then |
3588 cat > conftest.$ac_ext <<EOF | 3590 cat > conftest.$ac_ext <<EOF |
3589 #line 3590 "configure" | 3591 #line 3592 "configure" |
3590 #include "confdefs.h" | 3592 #include "confdefs.h" |
3591 main () { | 3593 main () { |
3592 /* Are we little or big endian? From Harbison&Steele. */ | 3594 /* Are we little or big endian? From Harbison&Steele. */ |
3593 union | 3595 union |
3594 { | 3596 { |
3597 } u; | 3599 } u; |
3598 u.l = 1; | 3600 u.l = 1; |
3599 exit (u.c[sizeof (long) - 1] == 1); | 3601 exit (u.c[sizeof (long) - 1] == 1); |
3600 } | 3602 } |
3601 EOF | 3603 EOF |
3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3604 if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3603 then | 3605 then |
3604 ac_cv_c_bigendian=no | 3606 ac_cv_c_bigendian=no |
3605 else | 3607 else |
3606 echo "configure: failed program was:" >&5 | 3608 echo "configure: failed program was:" >&5 |
3607 cat conftest.$ac_ext >&5 | 3609 cat conftest.$ac_ext >&5 |
3623 | 3625 |
3624 fi | 3626 fi |
3625 | 3627 |
3626 | 3628 |
3627 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3629 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3628 echo "configure:3629: checking size of short" >&5 | 3630 echo "configure:3631: checking size of short" >&5 |
3629 | 3631 |
3630 cat > conftest.$ac_ext <<EOF | 3632 cat > conftest.$ac_ext <<EOF |
3631 #line 3632 "configure" | 3633 #line 3634 "configure" |
3632 #include "confdefs.h" | 3634 #include "confdefs.h" |
3633 #include <stdio.h> | 3635 #include <stdio.h> |
3634 main() | 3636 main() |
3635 { | 3637 { |
3636 FILE *f=fopen("conftestval", "w"); | 3638 FILE *f=fopen("conftestval", "w"); |
3637 if (!f) exit(1); | 3639 if (!f) exit(1); |
3638 fprintf(f, "%d\n", sizeof(short)); | 3640 fprintf(f, "%d\n", sizeof(short)); |
3639 exit(0); | 3641 exit(0); |
3640 } | 3642 } |
3641 EOF | 3643 EOF |
3642 if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3644 if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3643 then | 3645 then |
3644 ac_cv_sizeof_short=`cat conftestval` | 3646 ac_cv_sizeof_short=`cat conftestval` |
3645 else | 3647 else |
3646 echo "configure: failed program was:" >&5 | 3648 echo "configure: failed program was:" >&5 |
3647 cat conftest.$ac_ext >&5 | 3649 cat conftest.$ac_ext >&5 |
3664 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3666 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3665 echo "*** PANIC *** Please examine config.log for compilation errors." | 3667 echo "*** PANIC *** Please examine config.log for compilation errors." |
3666 exit 1 | 3668 exit 1 |
3667 fi | 3669 fi |
3668 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3670 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3669 echo "configure:3670: checking size of int" >&5 | 3671 echo "configure:3672: checking size of int" >&5 |
3670 | 3672 |
3671 cat > conftest.$ac_ext <<EOF | 3673 cat > conftest.$ac_ext <<EOF |
3672 #line 3673 "configure" | 3674 #line 3675 "configure" |
3673 #include "confdefs.h" | 3675 #include "confdefs.h" |
3674 #include <stdio.h> | 3676 #include <stdio.h> |
3675 main() | 3677 main() |
3676 { | 3678 { |
3677 FILE *f=fopen("conftestval", "w"); | 3679 FILE *f=fopen("conftestval", "w"); |
3678 if (!f) exit(1); | 3680 if (!f) exit(1); |
3679 fprintf(f, "%d\n", sizeof(int)); | 3681 fprintf(f, "%d\n", sizeof(int)); |
3680 exit(0); | 3682 exit(0); |
3681 } | 3683 } |
3682 EOF | 3684 EOF |
3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3685 if { (eval echo configure:3686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3684 then | 3686 then |
3685 ac_cv_sizeof_int=`cat conftestval` | 3687 ac_cv_sizeof_int=`cat conftestval` |
3686 else | 3688 else |
3687 echo "configure: failed program was:" >&5 | 3689 echo "configure: failed program was:" >&5 |
3688 cat conftest.$ac_ext >&5 | 3690 cat conftest.$ac_ext >&5 |
3699 EOF | 3701 EOF |
3700 } | 3702 } |
3701 | 3703 |
3702 | 3704 |
3703 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3705 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3704 echo "configure:3705: checking size of long" >&5 | 3706 echo "configure:3707: checking size of long" >&5 |
3705 | 3707 |
3706 cat > conftest.$ac_ext <<EOF | 3708 cat > conftest.$ac_ext <<EOF |
3707 #line 3708 "configure" | 3709 #line 3710 "configure" |
3708 #include "confdefs.h" | 3710 #include "confdefs.h" |
3709 #include <stdio.h> | 3711 #include <stdio.h> |
3710 main() | 3712 main() |
3711 { | 3713 { |
3712 FILE *f=fopen("conftestval", "w"); | 3714 FILE *f=fopen("conftestval", "w"); |
3713 if (!f) exit(1); | 3715 if (!f) exit(1); |
3714 fprintf(f, "%d\n", sizeof(long)); | 3716 fprintf(f, "%d\n", sizeof(long)); |
3715 exit(0); | 3717 exit(0); |
3716 } | 3718 } |
3717 EOF | 3719 EOF |
3718 if { (eval echo configure:3719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3720 if { (eval echo configure:3721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3719 then | 3721 then |
3720 ac_cv_sizeof_long=`cat conftestval` | 3722 ac_cv_sizeof_long=`cat conftestval` |
3721 else | 3723 else |
3722 echo "configure: failed program was:" >&5 | 3724 echo "configure: failed program was:" >&5 |
3723 cat conftest.$ac_ext >&5 | 3725 cat conftest.$ac_ext >&5 |
3734 EOF | 3736 EOF |
3735 } | 3737 } |
3736 | 3738 |
3737 | 3739 |
3738 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3740 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3739 echo "configure:3740: checking size of long long" >&5 | 3741 echo "configure:3742: checking size of long long" >&5 |
3740 | 3742 |
3741 cat > conftest.$ac_ext <<EOF | 3743 cat > conftest.$ac_ext <<EOF |
3742 #line 3743 "configure" | 3744 #line 3745 "configure" |
3743 #include "confdefs.h" | 3745 #include "confdefs.h" |
3744 #include <stdio.h> | 3746 #include <stdio.h> |
3745 main() | 3747 main() |
3746 { | 3748 { |
3747 FILE *f=fopen("conftestval", "w"); | 3749 FILE *f=fopen("conftestval", "w"); |
3748 if (!f) exit(1); | 3750 if (!f) exit(1); |
3749 fprintf(f, "%d\n", sizeof(long long)); | 3751 fprintf(f, "%d\n", sizeof(long long)); |
3750 exit(0); | 3752 exit(0); |
3751 } | 3753 } |
3752 EOF | 3754 EOF |
3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3755 if { (eval echo configure:3756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3754 then | 3756 then |
3755 ac_cv_sizeof_long_long=`cat conftestval` | 3757 ac_cv_sizeof_long_long=`cat conftestval` |
3756 else | 3758 else |
3757 echo "configure: failed program was:" >&5 | 3759 echo "configure: failed program was:" >&5 |
3758 cat conftest.$ac_ext >&5 | 3760 cat conftest.$ac_ext >&5 |
3769 EOF | 3771 EOF |
3770 } | 3772 } |
3771 | 3773 |
3772 | 3774 |
3773 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3775 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3774 echo "configure:3775: checking size of void *" >&5 | 3776 echo "configure:3777: checking size of void *" >&5 |
3775 | 3777 |
3776 cat > conftest.$ac_ext <<EOF | 3778 cat > conftest.$ac_ext <<EOF |
3777 #line 3778 "configure" | 3779 #line 3780 "configure" |
3778 #include "confdefs.h" | 3780 #include "confdefs.h" |
3779 #include <stdio.h> | 3781 #include <stdio.h> |
3780 main() | 3782 main() |
3781 { | 3783 { |
3782 FILE *f=fopen("conftestval", "w"); | 3784 FILE *f=fopen("conftestval", "w"); |
3783 if (!f) exit(1); | 3785 if (!f) exit(1); |
3784 fprintf(f, "%d\n", sizeof(void *)); | 3786 fprintf(f, "%d\n", sizeof(void *)); |
3785 exit(0); | 3787 exit(0); |
3786 } | 3788 } |
3787 EOF | 3789 EOF |
3788 if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3790 if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3789 then | 3791 then |
3790 ac_cv_sizeof_void_p=`cat conftestval` | 3792 ac_cv_sizeof_void_p=`cat conftestval` |
3791 else | 3793 else |
3792 echo "configure: failed program was:" >&5 | 3794 echo "configure: failed program was:" >&5 |
3793 cat conftest.$ac_ext >&5 | 3795 cat conftest.$ac_ext >&5 |
3805 } | 3807 } |
3806 | 3808 |
3807 | 3809 |
3808 | 3810 |
3809 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3811 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3810 echo "configure:3811: checking for long file names" >&5 | 3812 echo "configure:3813: checking for long file names" >&5 |
3811 | 3813 |
3812 ac_cv_sys_long_file_names=yes | 3814 ac_cv_sys_long_file_names=yes |
3813 # Test for long file names in all the places we know might matter: | 3815 # Test for long file names in all the places we know might matter: |
3814 # . the current directory, where building will happen | 3816 # . the current directory, where building will happen |
3815 # $prefix/lib where we will be installing things | 3817 # $prefix/lib where we will be installing things |
3852 fi | 3854 fi |
3853 | 3855 |
3854 | 3856 |
3855 | 3857 |
3856 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3858 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3857 echo "configure:3858: checking for sin in -lm" >&5 | 3859 echo "configure:3860: checking for sin in -lm" >&5 |
3858 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3860 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3859 | 3861 |
3860 xe_check_libs=" -lm " | 3862 xe_check_libs=" -lm " |
3861 cat > conftest.$ac_ext <<EOF | 3863 cat > conftest.$ac_ext <<EOF |
3862 #line 3863 "configure" | 3864 #line 3865 "configure" |
3863 #include "confdefs.h" | 3865 #include "confdefs.h" |
3864 /* Override any gcc2 internal prototype to avoid an error. */ | 3866 /* Override any gcc2 internal prototype to avoid an error. */ |
3865 /* We use char because int might match the return type of a gcc2 | 3867 /* We use char because int might match the return type of a gcc2 |
3866 builtin and then its argument prototype would still apply. */ | 3868 builtin and then its argument prototype would still apply. */ |
3867 char sin(); | 3869 char sin(); |
3868 | 3870 |
3869 int main() { | 3871 int main() { |
3870 sin() | 3872 sin() |
3871 ; return 0; } | 3873 ; return 0; } |
3872 EOF | 3874 EOF |
3873 if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3875 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3874 rm -rf conftest* | 3876 rm -rf conftest* |
3875 eval "ac_cv_lib_$ac_lib_var=yes" | 3877 eval "ac_cv_lib_$ac_lib_var=yes" |
3876 else | 3878 else |
3877 echo "configure: failed program was:" >&5 | 3879 echo "configure: failed program was:" >&5 |
3878 cat conftest.$ac_ext >&5 | 3880 cat conftest.$ac_ext >&5 |
3910 EOF | 3912 EOF |
3911 } | 3913 } |
3912 | 3914 |
3913 | 3915 |
3914 cat > conftest.$ac_ext <<EOF | 3916 cat > conftest.$ac_ext <<EOF |
3915 #line 3916 "configure" | 3917 #line 3918 "configure" |
3916 #include "confdefs.h" | 3918 #include "confdefs.h" |
3917 #include <math.h> | 3919 #include <math.h> |
3918 int main() { | 3920 int main() { |
3919 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 3921 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
3920 ; return 0; } | 3922 ; return 0; } |
3921 EOF | 3923 EOF |
3922 if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3924 if { (eval echo configure:3925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3923 rm -rf conftest* | 3925 rm -rf conftest* |
3924 { test "$extra_verbose" = "yes" && cat << \EOF | 3926 { test "$extra_verbose" = "yes" && cat << \EOF |
3925 Defining HAVE_INVERSE_HYPERBOLIC | 3927 Defining HAVE_INVERSE_HYPERBOLIC |
3926 EOF | 3928 EOF |
3927 cat >> confdefs.h <<\EOF | 3929 cat >> confdefs.h <<\EOF |
3934 cat conftest.$ac_ext >&5 | 3936 cat conftest.$ac_ext >&5 |
3935 fi | 3937 fi |
3936 rm -f conftest* | 3938 rm -f conftest* |
3937 | 3939 |
3938 echo "checking type of mail spool file locking" 1>&6 | 3940 echo "checking type of mail spool file locking" 1>&6 |
3939 echo "configure:3940: checking type of mail spool file locking" >&5 | 3941 echo "configure:3942: checking type of mail spool file locking" >&5 |
3940 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3942 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3941 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3943 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3942 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3944 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3943 Defining REAL_MAIL_USE_LOCKF | 3945 Defining REAL_MAIL_USE_LOCKF |
3944 EOF | 3946 EOF |
3958 else mail_locking="dot-locking" | 3960 else mail_locking="dot-locking" |
3959 fi | 3961 fi |
3960 | 3962 |
3961 | 3963 |
3962 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3964 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3963 echo "configure:3964: checking for kstat_open in -lkstat" >&5 | 3965 echo "configure:3966: checking for kstat_open in -lkstat" >&5 |
3964 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3966 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3965 | 3967 |
3966 xe_check_libs=" -lkstat " | 3968 xe_check_libs=" -lkstat " |
3967 cat > conftest.$ac_ext <<EOF | 3969 cat > conftest.$ac_ext <<EOF |
3968 #line 3969 "configure" | 3970 #line 3971 "configure" |
3969 #include "confdefs.h" | 3971 #include "confdefs.h" |
3970 /* Override any gcc2 internal prototype to avoid an error. */ | 3972 /* Override any gcc2 internal prototype to avoid an error. */ |
3971 /* We use char because int might match the return type of a gcc2 | 3973 /* We use char because int might match the return type of a gcc2 |
3972 builtin and then its argument prototype would still apply. */ | 3974 builtin and then its argument prototype would still apply. */ |
3973 char kstat_open(); | 3975 char kstat_open(); |
3974 | 3976 |
3975 int main() { | 3977 int main() { |
3976 kstat_open() | 3978 kstat_open() |
3977 ; return 0; } | 3979 ; return 0; } |
3978 EOF | 3980 EOF |
3979 if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3981 if { (eval echo configure:3982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3980 rm -rf conftest* | 3982 rm -rf conftest* |
3981 eval "ac_cv_lib_$ac_lib_var=yes" | 3983 eval "ac_cv_lib_$ac_lib_var=yes" |
3982 else | 3984 else |
3983 echo "configure: failed program was:" >&5 | 3985 echo "configure: failed program was:" >&5 |
3984 cat conftest.$ac_ext >&5 | 3986 cat conftest.$ac_ext >&5 |
4008 | 4010 |
4009 | 4011 |
4010 | 4012 |
4011 | 4013 |
4012 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4014 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4013 echo "configure:4014: checking for kvm_read in -lkvm" >&5 | 4015 echo "configure:4016: checking for kvm_read in -lkvm" >&5 |
4014 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4016 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4015 | 4017 |
4016 xe_check_libs=" -lkvm " | 4018 xe_check_libs=" -lkvm " |
4017 cat > conftest.$ac_ext <<EOF | 4019 cat > conftest.$ac_ext <<EOF |
4018 #line 4019 "configure" | 4020 #line 4021 "configure" |
4019 #include "confdefs.h" | 4021 #include "confdefs.h" |
4020 /* Override any gcc2 internal prototype to avoid an error. */ | 4022 /* Override any gcc2 internal prototype to avoid an error. */ |
4021 /* We use char because int might match the return type of a gcc2 | 4023 /* We use char because int might match the return type of a gcc2 |
4022 builtin and then its argument prototype would still apply. */ | 4024 builtin and then its argument prototype would still apply. */ |
4023 char kvm_read(); | 4025 char kvm_read(); |
4024 | 4026 |
4025 int main() { | 4027 int main() { |
4026 kvm_read() | 4028 kvm_read() |
4027 ; return 0; } | 4029 ; return 0; } |
4028 EOF | 4030 EOF |
4029 if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4031 if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4030 rm -rf conftest* | 4032 rm -rf conftest* |
4031 eval "ac_cv_lib_$ac_lib_var=yes" | 4033 eval "ac_cv_lib_$ac_lib_var=yes" |
4032 else | 4034 else |
4033 echo "configure: failed program was:" >&5 | 4035 echo "configure: failed program was:" >&5 |
4034 cat conftest.$ac_ext >&5 | 4036 cat conftest.$ac_ext >&5 |
4058 | 4060 |
4059 | 4061 |
4060 | 4062 |
4061 | 4063 |
4062 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4064 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4063 echo "configure:4064: checking for cma_open in -lpthreads" >&5 | 4065 echo "configure:4066: checking for cma_open in -lpthreads" >&5 |
4064 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4066 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4065 | 4067 |
4066 xe_check_libs=" -lpthreads " | 4068 xe_check_libs=" -lpthreads " |
4067 cat > conftest.$ac_ext <<EOF | 4069 cat > conftest.$ac_ext <<EOF |
4068 #line 4069 "configure" | 4070 #line 4071 "configure" |
4069 #include "confdefs.h" | 4071 #include "confdefs.h" |
4070 /* Override any gcc2 internal prototype to avoid an error. */ | 4072 /* Override any gcc2 internal prototype to avoid an error. */ |
4071 /* We use char because int might match the return type of a gcc2 | 4073 /* We use char because int might match the return type of a gcc2 |
4072 builtin and then its argument prototype would still apply. */ | 4074 builtin and then its argument prototype would still apply. */ |
4073 char cma_open(); | 4075 char cma_open(); |
4074 | 4076 |
4075 int main() { | 4077 int main() { |
4076 cma_open() | 4078 cma_open() |
4077 ; return 0; } | 4079 ; return 0; } |
4078 EOF | 4080 EOF |
4079 if { (eval echo configure:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4080 rm -rf conftest* | 4082 rm -rf conftest* |
4081 eval "ac_cv_lib_$ac_lib_var=yes" | 4083 eval "ac_cv_lib_$ac_lib_var=yes" |
4082 else | 4084 else |
4083 echo "configure: failed program was:" >&5 | 4085 echo "configure: failed program was:" >&5 |
4084 cat conftest.$ac_ext >&5 | 4086 cat conftest.$ac_ext >&5 |
4110 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4112 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
4111 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4113 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
4112 fi | 4114 fi |
4113 | 4115 |
4114 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4116 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4115 echo "configure:4116: checking whether the -xildoff compiler flag is required" >&5 | 4117 echo "configure:4118: checking whether the -xildoff compiler flag is required" >&5 |
4116 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4118 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4117 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4119 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4118 then echo "$ac_t""no" 1>&6; | 4120 then echo "$ac_t""no" 1>&6; |
4119 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 4121 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 |
4120 fi | 4122 fi |
4121 else echo "$ac_t""no" 1>&6 | 4123 else echo "$ac_t""no" 1>&6 |
4122 fi | 4124 fi |
4123 | 4125 |
4124 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4126 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4125 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4127 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4126 echo "configure:4127: checking for \"-z ignore\" linker flag" >&5 | 4128 echo "configure:4129: checking for \"-z ignore\" linker flag" >&5 |
4127 case "`ld -h 2>&1`" in | 4129 case "`ld -h 2>&1`" in |
4128 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4130 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4129 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4131 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4130 *) echo "$ac_t""no" 1>&6 ;; | 4132 *) echo "$ac_t""no" 1>&6 ;; |
4131 esac | 4133 esac |
4132 fi | 4134 fi |
4133 | 4135 |
4134 | 4136 |
4135 echo "checking "for specified window system"" 1>&6 | 4137 echo "checking "for specified window system"" 1>&6 |
4136 echo "configure:4137: checking "for specified window system"" >&5 | 4138 echo "configure:4139: checking "for specified window system"" >&5 |
4137 | 4139 |
4138 if test "$with_x11" != "no"; then | 4140 if test "$with_x11" != "no"; then |
4139 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4141 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4140 window_system=x11 with_x11=yes | 4142 window_system=x11 with_x11=yes |
4141 | 4143 |
4161 # If we find X, set shell vars x_includes and x_libraries to the | 4163 # If we find X, set shell vars x_includes and x_libraries to the |
4162 # paths, otherwise set no_x=yes. | 4164 # paths, otherwise set no_x=yes. |
4163 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4165 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4164 # --without-x overrides everything else, but does not touch the cache. | 4166 # --without-x overrides everything else, but does not touch the cache. |
4165 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4167 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4166 echo "configure:4167: checking for X" >&5 | 4168 echo "configure:4169: checking for X" >&5 |
4167 | 4169 |
4168 # Check whether --with-x or --without-x was given. | 4170 # Check whether --with-x or --without-x was given. |
4169 if test "${with_x+set}" = set; then | 4171 if test "${with_x+set}" = set; then |
4170 withval="$with_x" | 4172 withval="$with_x" |
4171 : | 4173 : |
4221 # Guess where to find include files, by looking for this one X11 .h file. | 4223 # Guess where to find include files, by looking for this one X11 .h file. |
4222 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4224 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4223 | 4225 |
4224 # First, try using that file with no special directory specified. | 4226 # First, try using that file with no special directory specified. |
4225 cat > conftest.$ac_ext <<EOF | 4227 cat > conftest.$ac_ext <<EOF |
4226 #line 4227 "configure" | 4228 #line 4229 "configure" |
4227 #include "confdefs.h" | 4229 #include "confdefs.h" |
4228 #include <$x_direct_test_include> | 4230 #include <$x_direct_test_include> |
4229 EOF | 4231 EOF |
4230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4231 { (eval echo configure:4232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4233 { (eval echo configure:4234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4232 ac_err=`grep -v '^ *+' conftest.out` | 4234 ac_err=`grep -v '^ *+' conftest.out` |
4233 if test -z "$ac_err"; then | 4235 if test -z "$ac_err"; then |
4234 rm -rf conftest* | 4236 rm -rf conftest* |
4235 # We can compile using X headers with no special include directory. | 4237 # We can compile using X headers with no special include directory. |
4236 ac_x_includes= | 4238 ac_x_includes= |
4295 # See if we find them without any special options. | 4297 # See if we find them without any special options. |
4296 # Don't add to $LIBS permanently. | 4298 # Don't add to $LIBS permanently. |
4297 ac_save_LIBS="$LIBS" | 4299 ac_save_LIBS="$LIBS" |
4298 LIBS="-l$x_direct_test_library $LIBS" | 4300 LIBS="-l$x_direct_test_library $LIBS" |
4299 cat > conftest.$ac_ext <<EOF | 4301 cat > conftest.$ac_ext <<EOF |
4300 #line 4301 "configure" | 4302 #line 4303 "configure" |
4301 #include "confdefs.h" | 4303 #include "confdefs.h" |
4302 | 4304 |
4303 int main() { | 4305 int main() { |
4304 ${x_direct_test_function}() | 4306 ${x_direct_test_function}() |
4305 ; return 0; } | 4307 ; return 0; } |
4306 EOF | 4308 EOF |
4307 if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4309 if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4308 rm -rf conftest* | 4310 rm -rf conftest* |
4309 LIBS="$ac_save_LIBS" | 4311 LIBS="$ac_save_LIBS" |
4310 # We can link X programs with no special library path. | 4312 # We can link X programs with no special library path. |
4311 ac_x_libraries= | 4313 ac_x_libraries= |
4312 else | 4314 else |
4411 # For Solaris; some versions of Sun CC require a space after -R and | 4413 # For Solaris; some versions of Sun CC require a space after -R and |
4412 # others require no space. Words are not sufficient . . . . | 4414 # others require no space. Words are not sufficient . . . . |
4413 case "`(uname -sr) 2>/dev/null`" in | 4415 case "`(uname -sr) 2>/dev/null`" in |
4414 "SunOS 5"*) | 4416 "SunOS 5"*) |
4415 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4417 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4416 echo "configure:4417: checking whether -R must be followed by a space" >&5 | 4418 echo "configure:4419: checking whether -R must be followed by a space" >&5 |
4417 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4419 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4418 cat > conftest.$ac_ext <<EOF | 4420 cat > conftest.$ac_ext <<EOF |
4419 #line 4420 "configure" | 4421 #line 4422 "configure" |
4420 #include "confdefs.h" | 4422 #include "confdefs.h" |
4421 | 4423 |
4422 int main() { | 4424 int main() { |
4423 | 4425 |
4424 ; return 0; } | 4426 ; return 0; } |
4425 EOF | 4427 EOF |
4426 if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4427 rm -rf conftest* | 4429 rm -rf conftest* |
4428 ac_R_nospace=yes | 4430 ac_R_nospace=yes |
4429 else | 4431 else |
4430 echo "configure: failed program was:" >&5 | 4432 echo "configure: failed program was:" >&5 |
4431 cat conftest.$ac_ext >&5 | 4433 cat conftest.$ac_ext >&5 |
4437 echo "$ac_t""no" 1>&6 | 4439 echo "$ac_t""no" 1>&6 |
4438 X_LIBS="$X_LIBS -R$x_libraries" | 4440 X_LIBS="$X_LIBS -R$x_libraries" |
4439 else | 4441 else |
4440 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4442 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4441 cat > conftest.$ac_ext <<EOF | 4443 cat > conftest.$ac_ext <<EOF |
4442 #line 4443 "configure" | 4444 #line 4445 "configure" |
4443 #include "confdefs.h" | 4445 #include "confdefs.h" |
4444 | 4446 |
4445 int main() { | 4447 int main() { |
4446 | 4448 |
4447 ; return 0; } | 4449 ; return 0; } |
4448 EOF | 4450 EOF |
4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4451 if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4450 rm -rf conftest* | 4452 rm -rf conftest* |
4451 ac_R_space=yes | 4453 ac_R_space=yes |
4452 else | 4454 else |
4453 echo "configure: failed program was:" >&5 | 4455 echo "configure: failed program was:" >&5 |
4454 cat conftest.$ac_ext >&5 | 4456 cat conftest.$ac_ext >&5 |
4480 if test "$with_dnet" = "no" ; then | 4482 if test "$with_dnet" = "no" ; then |
4481 ac_cv_lib_dnet_dnet_ntoa=no | 4483 ac_cv_lib_dnet_dnet_ntoa=no |
4482 else | 4484 else |
4483 | 4485 |
4484 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4486 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4485 echo "configure:4486: checking for dnet_ntoa in -ldnet" >&5 | 4487 echo "configure:4488: checking for dnet_ntoa in -ldnet" >&5 |
4486 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4488 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4487 | 4489 |
4488 xe_check_libs=" -ldnet " | 4490 xe_check_libs=" -ldnet " |
4489 cat > conftest.$ac_ext <<EOF | 4491 cat > conftest.$ac_ext <<EOF |
4490 #line 4491 "configure" | 4492 #line 4493 "configure" |
4491 #include "confdefs.h" | 4493 #include "confdefs.h" |
4492 /* Override any gcc2 internal prototype to avoid an error. */ | 4494 /* Override any gcc2 internal prototype to avoid an error. */ |
4493 /* We use char because int might match the return type of a gcc2 | 4495 /* We use char because int might match the return type of a gcc2 |
4494 builtin and then its argument prototype would still apply. */ | 4496 builtin and then its argument prototype would still apply. */ |
4495 char dnet_ntoa(); | 4497 char dnet_ntoa(); |
4496 | 4498 |
4497 int main() { | 4499 int main() { |
4498 dnet_ntoa() | 4500 dnet_ntoa() |
4499 ; return 0; } | 4501 ; return 0; } |
4500 EOF | 4502 EOF |
4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4503 if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4502 rm -rf conftest* | 4504 rm -rf conftest* |
4503 eval "ac_cv_lib_$ac_lib_var=yes" | 4505 eval "ac_cv_lib_$ac_lib_var=yes" |
4504 else | 4506 else |
4505 echo "configure: failed program was:" >&5 | 4507 echo "configure: failed program was:" >&5 |
4506 cat conftest.$ac_ext >&5 | 4508 cat conftest.$ac_ext >&5 |
4520 fi | 4522 fi |
4521 | 4523 |
4522 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4523 | 4525 |
4524 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4526 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4525 echo "configure:4526: checking for dnet_ntoa in -ldnet_stub" >&5 | 4527 echo "configure:4528: checking for dnet_ntoa in -ldnet_stub" >&5 |
4526 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4528 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4527 | 4529 |
4528 xe_check_libs=" -ldnet_stub " | 4530 xe_check_libs=" -ldnet_stub " |
4529 cat > conftest.$ac_ext <<EOF | 4531 cat > conftest.$ac_ext <<EOF |
4530 #line 4531 "configure" | 4532 #line 4533 "configure" |
4531 #include "confdefs.h" | 4533 #include "confdefs.h" |
4532 /* Override any gcc2 internal prototype to avoid an error. */ | 4534 /* Override any gcc2 internal prototype to avoid an error. */ |
4533 /* We use char because int might match the return type of a gcc2 | 4535 /* We use char because int might match the return type of a gcc2 |
4534 builtin and then its argument prototype would still apply. */ | 4536 builtin and then its argument prototype would still apply. */ |
4535 char dnet_ntoa(); | 4537 char dnet_ntoa(); |
4536 | 4538 |
4537 int main() { | 4539 int main() { |
4538 dnet_ntoa() | 4540 dnet_ntoa() |
4539 ; return 0; } | 4541 ; return 0; } |
4540 EOF | 4542 EOF |
4541 if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4543 if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4542 rm -rf conftest* | 4544 rm -rf conftest* |
4543 eval "ac_cv_lib_$ac_lib_var=yes" | 4545 eval "ac_cv_lib_$ac_lib_var=yes" |
4544 else | 4546 else |
4545 echo "configure: failed program was:" >&5 | 4547 echo "configure: failed program was:" >&5 |
4546 cat conftest.$ac_ext >&5 | 4548 cat conftest.$ac_ext >&5 |
4565 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4567 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4566 # needs -lnsl. | 4568 # needs -lnsl. |
4567 # The nsl library prevents programs from opening the X display | 4569 # The nsl library prevents programs from opening the X display |
4568 # on Irix 5.2, according to dickey@clark.net. | 4570 # on Irix 5.2, according to dickey@clark.net. |
4569 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4571 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4570 echo "configure:4571: checking for gethostbyname" >&5 | 4572 echo "configure:4573: checking for gethostbyname" >&5 |
4571 | 4573 |
4572 cat > conftest.$ac_ext <<EOF | 4574 cat > conftest.$ac_ext <<EOF |
4573 #line 4574 "configure" | 4575 #line 4576 "configure" |
4574 #include "confdefs.h" | 4576 #include "confdefs.h" |
4575 /* System header to define __stub macros and hopefully few prototypes, | 4577 /* System header to define __stub macros and hopefully few prototypes, |
4576 which can conflict with char gethostbyname(); below. */ | 4578 which can conflict with char gethostbyname(); below. */ |
4577 #include <assert.h> | 4579 #include <assert.h> |
4578 /* Override any gcc2 internal prototype to avoid an error. */ | 4580 /* Override any gcc2 internal prototype to avoid an error. */ |
4591 gethostbyname(); | 4593 gethostbyname(); |
4592 #endif | 4594 #endif |
4593 | 4595 |
4594 ; return 0; } | 4596 ; return 0; } |
4595 EOF | 4597 EOF |
4596 if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4597 rm -rf conftest* | 4599 rm -rf conftest* |
4598 eval "ac_cv_func_gethostbyname=yes" | 4600 eval "ac_cv_func_gethostbyname=yes" |
4599 else | 4601 else |
4600 echo "configure: failed program was:" >&5 | 4602 echo "configure: failed program was:" >&5 |
4601 cat conftest.$ac_ext >&5 | 4603 cat conftest.$ac_ext >&5 |
4612 fi | 4614 fi |
4613 | 4615 |
4614 if test $ac_cv_func_gethostbyname = no; then | 4616 if test $ac_cv_func_gethostbyname = no; then |
4615 | 4617 |
4616 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4618 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4617 echo "configure:4618: checking for gethostbyname in -lnsl" >&5 | 4619 echo "configure:4620: checking for gethostbyname in -lnsl" >&5 |
4618 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4620 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4619 | 4621 |
4620 xe_check_libs=" -lnsl " | 4622 xe_check_libs=" -lnsl " |
4621 cat > conftest.$ac_ext <<EOF | 4623 cat > conftest.$ac_ext <<EOF |
4622 #line 4623 "configure" | 4624 #line 4625 "configure" |
4623 #include "confdefs.h" | 4625 #include "confdefs.h" |
4624 /* Override any gcc2 internal prototype to avoid an error. */ | 4626 /* Override any gcc2 internal prototype to avoid an error. */ |
4625 /* We use char because int might match the return type of a gcc2 | 4627 /* We use char because int might match the return type of a gcc2 |
4626 builtin and then its argument prototype would still apply. */ | 4628 builtin and then its argument prototype would still apply. */ |
4627 char gethostbyname(); | 4629 char gethostbyname(); |
4628 | 4630 |
4629 int main() { | 4631 int main() { |
4630 gethostbyname() | 4632 gethostbyname() |
4631 ; return 0; } | 4633 ; return 0; } |
4632 EOF | 4634 EOF |
4633 if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4635 if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4634 rm -rf conftest* | 4636 rm -rf conftest* |
4635 eval "ac_cv_lib_$ac_lib_var=yes" | 4637 eval "ac_cv_lib_$ac_lib_var=yes" |
4636 else | 4638 else |
4637 echo "configure: failed program was:" >&5 | 4639 echo "configure: failed program was:" >&5 |
4638 cat conftest.$ac_ext >&5 | 4640 cat conftest.$ac_ext >&5 |
4658 # on later versions), says simon@lia.di.epfl.ch: it contains | 4660 # on later versions), says simon@lia.di.epfl.ch: it contains |
4659 # gethostby* variants that don't use the nameserver (or something). | 4661 # gethostby* variants that don't use the nameserver (or something). |
4660 # -lsocket must be given before -lnsl if both are needed. | 4662 # -lsocket must be given before -lnsl if both are needed. |
4661 # We assume that if connect needs -lnsl, so does gethostbyname. | 4663 # We assume that if connect needs -lnsl, so does gethostbyname. |
4662 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4664 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4663 echo "configure:4664: checking for connect" >&5 | 4665 echo "configure:4666: checking for connect" >&5 |
4664 | 4666 |
4665 cat > conftest.$ac_ext <<EOF | 4667 cat > conftest.$ac_ext <<EOF |
4666 #line 4667 "configure" | 4668 #line 4669 "configure" |
4667 #include "confdefs.h" | 4669 #include "confdefs.h" |
4668 /* System header to define __stub macros and hopefully few prototypes, | 4670 /* System header to define __stub macros and hopefully few prototypes, |
4669 which can conflict with char connect(); below. */ | 4671 which can conflict with char connect(); below. */ |
4670 #include <assert.h> | 4672 #include <assert.h> |
4671 /* Override any gcc2 internal prototype to avoid an error. */ | 4673 /* Override any gcc2 internal prototype to avoid an error. */ |
4684 connect(); | 4686 connect(); |
4685 #endif | 4687 #endif |
4686 | 4688 |
4687 ; return 0; } | 4689 ; return 0; } |
4688 EOF | 4690 EOF |
4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4690 rm -rf conftest* | 4692 rm -rf conftest* |
4691 eval "ac_cv_func_connect=yes" | 4693 eval "ac_cv_func_connect=yes" |
4692 else | 4694 else |
4693 echo "configure: failed program was:" >&5 | 4695 echo "configure: failed program was:" >&5 |
4694 cat conftest.$ac_ext >&5 | 4696 cat conftest.$ac_ext >&5 |
4707 if test $ac_cv_func_connect = no; then | 4709 if test $ac_cv_func_connect = no; then |
4708 | 4710 |
4709 xe_msg_checking="for connect in -lsocket" | 4711 xe_msg_checking="for connect in -lsocket" |
4710 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4712 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4711 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4712 echo "configure:4713: checking "$xe_msg_checking"" >&5 | 4714 echo "configure:4715: checking "$xe_msg_checking"" >&5 |
4713 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4715 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4714 | 4716 |
4715 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4717 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4716 cat > conftest.$ac_ext <<EOF | 4718 cat > conftest.$ac_ext <<EOF |
4717 #line 4718 "configure" | 4719 #line 4720 "configure" |
4718 #include "confdefs.h" | 4720 #include "confdefs.h" |
4719 /* Override any gcc2 internal prototype to avoid an error. */ | 4721 /* Override any gcc2 internal prototype to avoid an error. */ |
4720 /* We use char because int might match the return type of a gcc2 | 4722 /* We use char because int might match the return type of a gcc2 |
4721 builtin and then its argument prototype would still apply. */ | 4723 builtin and then its argument prototype would still apply. */ |
4722 char connect(); | 4724 char connect(); |
4723 | 4725 |
4724 int main() { | 4726 int main() { |
4725 connect() | 4727 connect() |
4726 ; return 0; } | 4728 ; return 0; } |
4727 EOF | 4729 EOF |
4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4729 rm -rf conftest* | 4731 rm -rf conftest* |
4730 eval "ac_cv_lib_$ac_lib_var=yes" | 4732 eval "ac_cv_lib_$ac_lib_var=yes" |
4731 else | 4733 else |
4732 echo "configure: failed program was:" >&5 | 4734 echo "configure: failed program was:" >&5 |
4733 cat conftest.$ac_ext >&5 | 4735 cat conftest.$ac_ext >&5 |
4747 | 4749 |
4748 fi | 4750 fi |
4749 | 4751 |
4750 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4752 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4751 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4753 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4752 echo "configure:4753: checking for remove" >&5 | 4754 echo "configure:4755: checking for remove" >&5 |
4753 | 4755 |
4754 cat > conftest.$ac_ext <<EOF | 4756 cat > conftest.$ac_ext <<EOF |
4755 #line 4756 "configure" | 4757 #line 4758 "configure" |
4756 #include "confdefs.h" | 4758 #include "confdefs.h" |
4757 /* System header to define __stub macros and hopefully few prototypes, | 4759 /* System header to define __stub macros and hopefully few prototypes, |
4758 which can conflict with char remove(); below. */ | 4760 which can conflict with char remove(); below. */ |
4759 #include <assert.h> | 4761 #include <assert.h> |
4760 /* Override any gcc2 internal prototype to avoid an error. */ | 4762 /* Override any gcc2 internal prototype to avoid an error. */ |
4773 remove(); | 4775 remove(); |
4774 #endif | 4776 #endif |
4775 | 4777 |
4776 ; return 0; } | 4778 ; return 0; } |
4777 EOF | 4779 EOF |
4778 if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4779 rm -rf conftest* | 4781 rm -rf conftest* |
4780 eval "ac_cv_func_remove=yes" | 4782 eval "ac_cv_func_remove=yes" |
4781 else | 4783 else |
4782 echo "configure: failed program was:" >&5 | 4784 echo "configure: failed program was:" >&5 |
4783 cat conftest.$ac_ext >&5 | 4785 cat conftest.$ac_ext >&5 |
4794 fi | 4796 fi |
4795 | 4797 |
4796 if test $ac_cv_func_remove = no; then | 4798 if test $ac_cv_func_remove = no; then |
4797 | 4799 |
4798 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4800 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4799 echo "configure:4800: checking for remove in -lposix" >&5 | 4801 echo "configure:4802: checking for remove in -lposix" >&5 |
4800 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4802 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4801 | 4803 |
4802 xe_check_libs=" -lposix " | 4804 xe_check_libs=" -lposix " |
4803 cat > conftest.$ac_ext <<EOF | 4805 cat > conftest.$ac_ext <<EOF |
4804 #line 4805 "configure" | 4806 #line 4807 "configure" |
4805 #include "confdefs.h" | 4807 #include "confdefs.h" |
4806 /* Override any gcc2 internal prototype to avoid an error. */ | 4808 /* Override any gcc2 internal prototype to avoid an error. */ |
4807 /* We use char because int might match the return type of a gcc2 | 4809 /* We use char because int might match the return type of a gcc2 |
4808 builtin and then its argument prototype would still apply. */ | 4810 builtin and then its argument prototype would still apply. */ |
4809 char remove(); | 4811 char remove(); |
4810 | 4812 |
4811 int main() { | 4813 int main() { |
4812 remove() | 4814 remove() |
4813 ; return 0; } | 4815 ; return 0; } |
4814 EOF | 4816 EOF |
4815 if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4816 rm -rf conftest* | 4818 rm -rf conftest* |
4817 eval "ac_cv_lib_$ac_lib_var=yes" | 4819 eval "ac_cv_lib_$ac_lib_var=yes" |
4818 else | 4820 else |
4819 echo "configure: failed program was:" >&5 | 4821 echo "configure: failed program was:" >&5 |
4820 cat conftest.$ac_ext >&5 | 4822 cat conftest.$ac_ext >&5 |
4834 | 4836 |
4835 fi | 4837 fi |
4836 | 4838 |
4837 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4839 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4838 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4840 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4839 echo "configure:4840: checking for shmat" >&5 | 4841 echo "configure:4842: checking for shmat" >&5 |
4840 | 4842 |
4841 cat > conftest.$ac_ext <<EOF | 4843 cat > conftest.$ac_ext <<EOF |
4842 #line 4843 "configure" | 4844 #line 4845 "configure" |
4843 #include "confdefs.h" | 4845 #include "confdefs.h" |
4844 /* System header to define __stub macros and hopefully few prototypes, | 4846 /* System header to define __stub macros and hopefully few prototypes, |
4845 which can conflict with char shmat(); below. */ | 4847 which can conflict with char shmat(); below. */ |
4846 #include <assert.h> | 4848 #include <assert.h> |
4847 /* Override any gcc2 internal prototype to avoid an error. */ | 4849 /* Override any gcc2 internal prototype to avoid an error. */ |
4860 shmat(); | 4862 shmat(); |
4861 #endif | 4863 #endif |
4862 | 4864 |
4863 ; return 0; } | 4865 ; return 0; } |
4864 EOF | 4866 EOF |
4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4867 if { (eval echo configure:4868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4866 rm -rf conftest* | 4868 rm -rf conftest* |
4867 eval "ac_cv_func_shmat=yes" | 4869 eval "ac_cv_func_shmat=yes" |
4868 else | 4870 else |
4869 echo "configure: failed program was:" >&5 | 4871 echo "configure: failed program was:" >&5 |
4870 cat conftest.$ac_ext >&5 | 4872 cat conftest.$ac_ext >&5 |
4881 fi | 4883 fi |
4882 | 4884 |
4883 if test $ac_cv_func_shmat = no; then | 4885 if test $ac_cv_func_shmat = no; then |
4884 | 4886 |
4885 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4887 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4886 echo "configure:4887: checking for shmat in -lipc" >&5 | 4888 echo "configure:4889: checking for shmat in -lipc" >&5 |
4887 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4889 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4888 | 4890 |
4889 xe_check_libs=" -lipc " | 4891 xe_check_libs=" -lipc " |
4890 cat > conftest.$ac_ext <<EOF | 4892 cat > conftest.$ac_ext <<EOF |
4891 #line 4892 "configure" | 4893 #line 4894 "configure" |
4892 #include "confdefs.h" | 4894 #include "confdefs.h" |
4893 /* Override any gcc2 internal prototype to avoid an error. */ | 4895 /* Override any gcc2 internal prototype to avoid an error. */ |
4894 /* We use char because int might match the return type of a gcc2 | 4896 /* We use char because int might match the return type of a gcc2 |
4895 builtin and then its argument prototype would still apply. */ | 4897 builtin and then its argument prototype would still apply. */ |
4896 char shmat(); | 4898 char shmat(); |
4897 | 4899 |
4898 int main() { | 4900 int main() { |
4899 shmat() | 4901 shmat() |
4900 ; return 0; } | 4902 ; return 0; } |
4901 EOF | 4903 EOF |
4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4903 rm -rf conftest* | 4905 rm -rf conftest* |
4904 eval "ac_cv_lib_$ac_lib_var=yes" | 4906 eval "ac_cv_lib_$ac_lib_var=yes" |
4905 else | 4907 else |
4906 echo "configure: failed program was:" >&5 | 4908 echo "configure: failed program was:" >&5 |
4907 cat conftest.$ac_ext >&5 | 4909 cat conftest.$ac_ext >&5 |
4931 # These have to be linked with before -lX11, unlike the other | 4933 # These have to be linked with before -lX11, unlike the other |
4932 # libraries we check for below, so use a different variable. | 4934 # libraries we check for below, so use a different variable. |
4933 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4935 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4934 | 4936 |
4935 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4937 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4936 echo "configure:4937: checking for IceConnectionNumber in -lICE" >&5 | 4938 echo "configure:4939: checking for IceConnectionNumber in -lICE" >&5 |
4937 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4939 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4938 | 4940 |
4939 xe_check_libs=" -lICE " | 4941 xe_check_libs=" -lICE " |
4940 cat > conftest.$ac_ext <<EOF | 4942 cat > conftest.$ac_ext <<EOF |
4941 #line 4942 "configure" | 4943 #line 4944 "configure" |
4942 #include "confdefs.h" | 4944 #include "confdefs.h" |
4943 /* Override any gcc2 internal prototype to avoid an error. */ | 4945 /* Override any gcc2 internal prototype to avoid an error. */ |
4944 /* We use char because int might match the return type of a gcc2 | 4946 /* We use char because int might match the return type of a gcc2 |
4945 builtin and then its argument prototype would still apply. */ | 4947 builtin and then its argument prototype would still apply. */ |
4946 char IceConnectionNumber(); | 4948 char IceConnectionNumber(); |
4947 | 4949 |
4948 int main() { | 4950 int main() { |
4949 IceConnectionNumber() | 4951 IceConnectionNumber() |
4950 ; return 0; } | 4952 ; return 0; } |
4951 EOF | 4953 EOF |
4952 if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4953 rm -rf conftest* | 4955 rm -rf conftest* |
4954 eval "ac_cv_lib_$ac_lib_var=yes" | 4956 eval "ac_cv_lib_$ac_lib_var=yes" |
4955 else | 4957 else |
4956 echo "configure: failed program was:" >&5 | 4958 echo "configure: failed program was:" >&5 |
4957 cat conftest.$ac_ext >&5 | 4959 cat conftest.$ac_ext >&5 |
4982 case "$with_x11" in | 4984 case "$with_x11" in |
4983 yes ) window_system=x11 HAVE_X_WINDOWS=yes ;; | 4985 yes ) window_system=x11 HAVE_X_WINDOWS=yes ;; |
4984 no ) window_system=none HAVE_X_WINDOWS=no ;; | 4986 no ) window_system=none HAVE_X_WINDOWS=no ;; |
4985 esac | 4987 esac |
4986 | 4988 |
4987 if test "$window_system" = "none" && test -z "$with_tty"; then | 4989 if test "$with_msw" != "no"; then |
4988 echo "checking for MS-Windows" 1>&6 | 4990 echo "checking for MS-Windows" 1>&6 |
4989 echo "configure:4990: checking for MS-Windows" >&5 | 4991 echo "configure:4992: checking for MS-Windows" >&5 |
4990 | 4992 |
4991 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 4993 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
4992 echo "configure:4993: checking for main in -lgdi32" >&5 | 4994 echo "configure:4995: checking for main in -lgdi32" >&5 |
4993 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 4995 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
4994 | 4996 |
4995 xe_check_libs=" -lgdi32 " | 4997 xe_check_libs=" -lgdi32 " |
4996 cat > conftest.$ac_ext <<EOF | 4998 cat > conftest.$ac_ext <<EOF |
4997 #line 4998 "configure" | 4999 #line 5000 "configure" |
4998 #include "confdefs.h" | 5000 #include "confdefs.h" |
4999 | 5001 |
5000 int main() { | 5002 int main() { |
5001 main() | 5003 main() |
5002 ; return 0; } | 5004 ; return 0; } |
5003 EOF | 5005 EOF |
5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5006 if { (eval echo configure:5007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5005 rm -rf conftest* | 5007 rm -rf conftest* |
5006 eval "ac_cv_lib_$ac_lib_var=yes" | 5008 eval "ac_cv_lib_$ac_lib_var=yes" |
5007 else | 5009 else |
5008 echo "configure: failed program was:" >&5 | 5010 echo "configure: failed program was:" >&5 |
5009 cat conftest.$ac_ext >&5 | 5011 cat conftest.$ac_ext >&5 |
5013 rm -f conftest* | 5015 rm -f conftest* |
5014 xe_check_libs="" | 5016 xe_check_libs="" |
5015 | 5017 |
5016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 5018 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
5017 echo "$ac_t""yes" 1>&6 | 5019 echo "$ac_t""yes" 1>&6 |
5018 have_msw=yes | 5020 with_msw=yes |
5019 else | 5021 else |
5020 echo "$ac_t""no" 1>&6 | 5022 echo "$ac_t""no" 1>&6 |
5021 fi | 5023 fi |
5022 | 5024 |
5023 | 5025 |
5024 if test "$have_msw" = "yes"; then | 5026 if test "$with_msw" = "yes"; then |
5025 { test "$extra_verbose" = "yes" && cat << \EOF | 5027 { test "$extra_verbose" = "yes" && cat << \EOF |
5026 Defining HAVE_MS_WINDOWS | 5028 Defining HAVE_MS_WINDOWS |
5027 EOF | 5029 EOF |
5028 cat >> confdefs.h <<\EOF | 5030 cat >> confdefs.h <<\EOF |
5029 #define HAVE_MS_WINDOWS 1 | 5031 #define HAVE_MS_WINDOWS 1 |
5030 EOF | 5032 EOF |
5031 } | 5033 } |
5032 | 5034 |
5033 libs_system="$libs_system -lshell32 -lgdi32 -luser32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32\" to \$libs_system"; fi | 5035 libs_system="$libs_system -lshell32 -lgdi32 -luser32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32\" to \$libs_system"; fi |
5034 window_system=msw | 5036 if test "$window_system" != x11; then |
5035 test "$with_scrollbars" != "no" && with_scrollbars=msw && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5037 window_system=msw |
5038 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | |
5039 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | |
5036 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 5040 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
5037 fi | 5041 fi |
5038 test "$with_menubars" != "no" && with_menubars=msw && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | 5042 test "$with_menubars" != "no" && with_menubars=msw \ |
5043 && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | |
5039 echo " xemacs will be linked with \"menubar-msw.o\"" | 5044 echo " xemacs will be linked with \"menubar-msw.o\"" |
5040 fi | 5045 fi |
5041 with_dialogs=msw | 5046 with_dialogs=msw |
5042 with_toolbars=no | 5047 with_toolbars=no |
5043 with_tty=no | 5048 else |
5049 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | |
5050 echo " xemacs will be linked with \"scrollbar-msw.o\"" | |
5051 fi | |
5052 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | |
5053 echo " xemacs will be linked with \"menubar-msw.o\"" | |
5054 fi | |
5055 fi | |
5044 const_is_losing=no | 5056 const_is_losing=no |
5045 with_file_coding=yes | 5057 with_file_coding=yes |
5046 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o gif_err.o gifalloc.o dgif_lib.o" && if test "$extra_verbose" = "yes"; then | 5058 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o" && if test "$extra_verbose" = "yes"; then |
5047 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o gif_err.o gifalloc.o dgif_lib.o\"" | 5059 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o\"" |
5048 fi | 5060 fi |
5049 fi | 5061 fi |
5050 fi | 5062 fi |
5051 | 5063 |
5052 if test "$with_x11" = "yes"; then | 5064 if test "$with_x11" = "yes"; then |
5145 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 5157 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
5146 echo | 5158 echo |
5147 fi | 5159 fi |
5148 | 5160 |
5149 echo "checking for X defines extracted by xmkmf" 1>&6 | 5161 echo "checking for X defines extracted by xmkmf" 1>&6 |
5150 echo "configure:5151: checking for X defines extracted by xmkmf" >&5 | 5162 echo "configure:5163: checking for X defines extracted by xmkmf" >&5 |
5151 rm -fr conftestdir | 5163 rm -fr conftestdir |
5152 if mkdir conftestdir; then | 5164 if mkdir conftestdir; then |
5153 cd conftestdir | 5165 cd conftestdir |
5154 cat > Imakefile <<'EOF' | 5166 cat > Imakefile <<'EOF' |
5155 xetest: | 5167 xetest: |
5177 done | 5189 done |
5178 fi | 5190 fi |
5179 | 5191 |
5180 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5192 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5181 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5193 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5182 echo "configure:5183: checking for X11/Intrinsic.h" >&5 | 5194 echo "configure:5195: checking for X11/Intrinsic.h" >&5 |
5183 | 5195 |
5184 cat > conftest.$ac_ext <<EOF | 5196 cat > conftest.$ac_ext <<EOF |
5185 #line 5186 "configure" | 5197 #line 5198 "configure" |
5186 #include "confdefs.h" | 5198 #include "confdefs.h" |
5187 #include <X11/Intrinsic.h> | 5199 #include <X11/Intrinsic.h> |
5188 EOF | 5200 EOF |
5189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5190 { (eval echo configure:5191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5202 { (eval echo configure:5203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5191 ac_err=`grep -v '^ *+' conftest.out` | 5203 ac_err=`grep -v '^ *+' conftest.out` |
5192 if test -z "$ac_err"; then | 5204 if test -z "$ac_err"; then |
5193 rm -rf conftest* | 5205 rm -rf conftest* |
5194 eval "ac_cv_header_$ac_safe=yes" | 5206 eval "ac_cv_header_$ac_safe=yes" |
5195 else | 5207 else |
5209 fi | 5221 fi |
5210 | 5222 |
5211 | 5223 |
5212 | 5224 |
5213 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5225 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5214 echo "configure:5215: checking for XOpenDisplay in -lX11" >&5 | 5226 echo "configure:5227: checking for XOpenDisplay in -lX11" >&5 |
5215 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5227 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5216 | 5228 |
5217 xe_check_libs=" -lX11 " | 5229 xe_check_libs=" -lX11 " |
5218 cat > conftest.$ac_ext <<EOF | 5230 cat > conftest.$ac_ext <<EOF |
5219 #line 5220 "configure" | 5231 #line 5232 "configure" |
5220 #include "confdefs.h" | 5232 #include "confdefs.h" |
5221 /* Override any gcc2 internal prototype to avoid an error. */ | 5233 /* Override any gcc2 internal prototype to avoid an error. */ |
5222 /* We use char because int might match the return type of a gcc2 | 5234 /* We use char because int might match the return type of a gcc2 |
5223 builtin and then its argument prototype would still apply. */ | 5235 builtin and then its argument prototype would still apply. */ |
5224 char XOpenDisplay(); | 5236 char XOpenDisplay(); |
5225 | 5237 |
5226 int main() { | 5238 int main() { |
5227 XOpenDisplay() | 5239 XOpenDisplay() |
5228 ; return 0; } | 5240 ; return 0; } |
5229 EOF | 5241 EOF |
5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5242 if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5231 rm -rf conftest* | 5243 rm -rf conftest* |
5232 eval "ac_cv_lib_$ac_lib_var=yes" | 5244 eval "ac_cv_lib_$ac_lib_var=yes" |
5233 else | 5245 else |
5234 echo "configure: failed program was:" >&5 | 5246 echo "configure: failed program was:" >&5 |
5235 cat conftest.$ac_ext >&5 | 5247 cat conftest.$ac_ext >&5 |
5250 if test "$have_lib_x11" != "yes"; then | 5262 if test "$have_lib_x11" != "yes"; then |
5251 | 5263 |
5252 xe_msg_checking="for XGetFontProperty in -lX11" | 5264 xe_msg_checking="for XGetFontProperty in -lX11" |
5253 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5265 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5254 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5266 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5255 echo "configure:5256: checking "$xe_msg_checking"" >&5 | 5267 echo "configure:5268: checking "$xe_msg_checking"" >&5 |
5256 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5268 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5257 | 5269 |
5258 xe_check_libs=" -lX11 -b i486-linuxaout" | 5270 xe_check_libs=" -lX11 -b i486-linuxaout" |
5259 cat > conftest.$ac_ext <<EOF | 5271 cat > conftest.$ac_ext <<EOF |
5260 #line 5261 "configure" | 5272 #line 5273 "configure" |
5261 #include "confdefs.h" | 5273 #include "confdefs.h" |
5262 /* Override any gcc2 internal prototype to avoid an error. */ | 5274 /* Override any gcc2 internal prototype to avoid an error. */ |
5263 /* We use char because int might match the return type of a gcc2 | 5275 /* We use char because int might match the return type of a gcc2 |
5264 builtin and then its argument prototype would still apply. */ | 5276 builtin and then its argument prototype would still apply. */ |
5265 char XGetFontProperty(); | 5277 char XGetFontProperty(); |
5266 | 5278 |
5267 int main() { | 5279 int main() { |
5268 XGetFontProperty() | 5280 XGetFontProperty() |
5269 ; return 0; } | 5281 ; return 0; } |
5270 EOF | 5282 EOF |
5271 if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5283 if { (eval echo configure:5284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5272 rm -rf conftest* | 5284 rm -rf conftest* |
5273 eval "ac_cv_lib_$ac_lib_var=yes" | 5285 eval "ac_cv_lib_$ac_lib_var=yes" |
5274 else | 5286 else |
5275 echo "configure: failed program was:" >&5 | 5287 echo "configure: failed program was:" >&5 |
5276 cat conftest.$ac_ext >&5 | 5288 cat conftest.$ac_ext >&5 |
5293 libs_x="-lX11" | 5305 libs_x="-lX11" |
5294 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5306 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5295 | 5307 |
5296 | 5308 |
5297 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5309 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5298 echo "configure:5299: checking for XShapeSelectInput in -lXext" >&5 | 5310 echo "configure:5311: checking for XShapeSelectInput in -lXext" >&5 |
5299 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5311 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5300 | 5312 |
5301 xe_check_libs=" -lXext " | 5313 xe_check_libs=" -lXext " |
5302 cat > conftest.$ac_ext <<EOF | 5314 cat > conftest.$ac_ext <<EOF |
5303 #line 5304 "configure" | 5315 #line 5316 "configure" |
5304 #include "confdefs.h" | 5316 #include "confdefs.h" |
5305 /* Override any gcc2 internal prototype to avoid an error. */ | 5317 /* Override any gcc2 internal prototype to avoid an error. */ |
5306 /* We use char because int might match the return type of a gcc2 | 5318 /* We use char because int might match the return type of a gcc2 |
5307 builtin and then its argument prototype would still apply. */ | 5319 builtin and then its argument prototype would still apply. */ |
5308 char XShapeSelectInput(); | 5320 char XShapeSelectInput(); |
5309 | 5321 |
5310 int main() { | 5322 int main() { |
5311 XShapeSelectInput() | 5323 XShapeSelectInput() |
5312 ; return 0; } | 5324 ; return 0; } |
5313 EOF | 5325 EOF |
5314 if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5326 if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5315 rm -rf conftest* | 5327 rm -rf conftest* |
5316 eval "ac_cv_lib_$ac_lib_var=yes" | 5328 eval "ac_cv_lib_$ac_lib_var=yes" |
5317 else | 5329 else |
5318 echo "configure: failed program was:" >&5 | 5330 echo "configure: failed program was:" >&5 |
5319 cat conftest.$ac_ext >&5 | 5331 cat conftest.$ac_ext >&5 |
5332 | 5344 |
5333 | 5345 |
5334 | 5346 |
5335 | 5347 |
5336 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5348 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5337 echo "configure:5338: checking for XtOpenDisplay in -lXt" >&5 | 5349 echo "configure:5350: checking for XtOpenDisplay in -lXt" >&5 |
5338 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5350 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5339 | 5351 |
5340 xe_check_libs=" -lXt " | 5352 xe_check_libs=" -lXt " |
5341 cat > conftest.$ac_ext <<EOF | 5353 cat > conftest.$ac_ext <<EOF |
5342 #line 5343 "configure" | 5354 #line 5355 "configure" |
5343 #include "confdefs.h" | 5355 #include "confdefs.h" |
5344 /* Override any gcc2 internal prototype to avoid an error. */ | 5356 /* Override any gcc2 internal prototype to avoid an error. */ |
5345 /* We use char because int might match the return type of a gcc2 | 5357 /* We use char because int might match the return type of a gcc2 |
5346 builtin and then its argument prototype would still apply. */ | 5358 builtin and then its argument prototype would still apply. */ |
5347 char XtOpenDisplay(); | 5359 char XtOpenDisplay(); |
5348 | 5360 |
5349 int main() { | 5361 int main() { |
5350 XtOpenDisplay() | 5362 XtOpenDisplay() |
5351 ; return 0; } | 5363 ; return 0; } |
5352 EOF | 5364 EOF |
5353 if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5354 rm -rf conftest* | 5366 rm -rf conftest* |
5355 eval "ac_cv_lib_$ac_lib_var=yes" | 5367 eval "ac_cv_lib_$ac_lib_var=yes" |
5356 else | 5368 else |
5357 echo "configure: failed program was:" >&5 | 5369 echo "configure: failed program was:" >&5 |
5358 cat conftest.$ac_ext >&5 | 5370 cat conftest.$ac_ext >&5 |
5371 fi | 5383 fi |
5372 | 5384 |
5373 | 5385 |
5374 | 5386 |
5375 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5387 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5376 echo "configure:5377: checking the version of X11 being used" >&5 | 5388 echo "configure:5389: checking the version of X11 being used" >&5 |
5377 cat > conftest.$ac_ext <<EOF | 5389 cat > conftest.$ac_ext <<EOF |
5378 #line 5379 "configure" | 5390 #line 5391 "configure" |
5379 #include "confdefs.h" | 5391 #include "confdefs.h" |
5380 #include <X11/Intrinsic.h> | 5392 #include <X11/Intrinsic.h> |
5381 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5393 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5382 EOF | 5394 EOF |
5383 if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5384 then | 5396 then |
5385 ./conftest foobar; x11_release=$? | 5397 ./conftest foobar; x11_release=$? |
5386 else | 5398 else |
5387 echo "configure: failed program was:" >&5 | 5399 echo "configure: failed program was:" >&5 |
5388 cat conftest.$ac_ext >&5 | 5400 cat conftest.$ac_ext >&5 |
5402 | 5414 |
5403 for ac_hdr in X11/Xlocale.h | 5415 for ac_hdr in X11/Xlocale.h |
5404 do | 5416 do |
5405 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5417 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5406 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5418 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5407 echo "configure:5408: checking for $ac_hdr" >&5 | 5419 echo "configure:5420: checking for $ac_hdr" >&5 |
5408 | 5420 |
5409 cat > conftest.$ac_ext <<EOF | 5421 cat > conftest.$ac_ext <<EOF |
5410 #line 5411 "configure" | 5422 #line 5423 "configure" |
5411 #include "confdefs.h" | 5423 #include "confdefs.h" |
5412 #include <$ac_hdr> | 5424 #include <$ac_hdr> |
5413 EOF | 5425 EOF |
5414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5415 { (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5427 { (eval echo configure:5428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5416 ac_err=`grep -v '^ *+' conftest.out` | 5428 ac_err=`grep -v '^ *+' conftest.out` |
5417 if test -z "$ac_err"; then | 5429 if test -z "$ac_err"; then |
5418 rm -rf conftest* | 5430 rm -rf conftest* |
5419 eval "ac_cv_header_$ac_safe=yes" | 5431 eval "ac_cv_header_$ac_safe=yes" |
5420 else | 5432 else |
5441 fi | 5453 fi |
5442 done | 5454 done |
5443 | 5455 |
5444 | 5456 |
5445 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5457 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5446 echo "configure:5447: checking for XFree86" >&5 | 5458 echo "configure:5459: checking for XFree86" >&5 |
5447 if test -d "/usr/X386/include" -o \ | 5459 if test -d "/usr/X386/include" -o \ |
5448 -f "/etc/XF86Config" -o \ | 5460 -f "/etc/XF86Config" -o \ |
5449 -f "/etc/X11/XF86Config" -o \ | 5461 -f "/etc/X11/XF86Config" -o \ |
5450 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5462 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5451 echo "$ac_t""yes" 1>&6 | 5463 echo "$ac_t""yes" 1>&6 |
5461 echo "$ac_t""no" 1>&6 | 5473 echo "$ac_t""no" 1>&6 |
5462 fi | 5474 fi |
5463 | 5475 |
5464 test -z "$with_xmu" && { | 5476 test -z "$with_xmu" && { |
5465 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5477 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5466 echo "configure:5467: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5478 echo "configure:5479: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5467 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5479 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5468 | 5480 |
5469 xe_check_libs=" -lXmu " | 5481 xe_check_libs=" -lXmu " |
5470 cat > conftest.$ac_ext <<EOF | 5482 cat > conftest.$ac_ext <<EOF |
5471 #line 5472 "configure" | 5483 #line 5484 "configure" |
5472 #include "confdefs.h" | 5484 #include "confdefs.h" |
5473 /* Override any gcc2 internal prototype to avoid an error. */ | 5485 /* Override any gcc2 internal prototype to avoid an error. */ |
5474 /* We use char because int might match the return type of a gcc2 | 5486 /* We use char because int might match the return type of a gcc2 |
5475 builtin and then its argument prototype would still apply. */ | 5487 builtin and then its argument prototype would still apply. */ |
5476 char XmuReadBitmapDataFromFile(); | 5488 char XmuReadBitmapDataFromFile(); |
5477 | 5489 |
5478 int main() { | 5490 int main() { |
5479 XmuReadBitmapDataFromFile() | 5491 XmuReadBitmapDataFromFile() |
5480 ; return 0; } | 5492 ; return 0; } |
5481 EOF | 5493 EOF |
5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5494 if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5483 rm -rf conftest* | 5495 rm -rf conftest* |
5484 eval "ac_cv_lib_$ac_lib_var=yes" | 5496 eval "ac_cv_lib_$ac_lib_var=yes" |
5485 else | 5497 else |
5486 echo "configure: failed program was:" >&5 | 5498 echo "configure: failed program was:" >&5 |
5487 cat conftest.$ac_ext >&5 | 5499 cat conftest.$ac_ext >&5 |
5516 | 5528 |
5517 fi | 5529 fi |
5518 | 5530 |
5519 | 5531 |
5520 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5532 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5521 echo "configure:5522: checking for main in -lXbsd" >&5 | 5533 echo "configure:5534: checking for main in -lXbsd" >&5 |
5522 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5534 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5523 | 5535 |
5524 xe_check_libs=" -lXbsd " | 5536 xe_check_libs=" -lXbsd " |
5525 cat > conftest.$ac_ext <<EOF | 5537 cat > conftest.$ac_ext <<EOF |
5526 #line 5527 "configure" | 5538 #line 5539 "configure" |
5527 #include "confdefs.h" | 5539 #include "confdefs.h" |
5528 | 5540 |
5529 int main() { | 5541 int main() { |
5530 main() | 5542 main() |
5531 ; return 0; } | 5543 ; return 0; } |
5532 EOF | 5544 EOF |
5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5545 if { (eval echo configure:5546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5534 rm -rf conftest* | 5546 rm -rf conftest* |
5535 eval "ac_cv_lib_$ac_lib_var=yes" | 5547 eval "ac_cv_lib_$ac_lib_var=yes" |
5536 else | 5548 else |
5537 echo "configure: failed program was:" >&5 | 5549 echo "configure: failed program was:" >&5 |
5538 cat conftest.$ac_ext >&5 | 5550 cat conftest.$ac_ext >&5 |
5587 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5599 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5588 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5600 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5589 esac | 5601 esac |
5590 | 5602 |
5591 echo "checking for session-management option" 1>&6 | 5603 echo "checking for session-management option" 1>&6 |
5592 echo "configure:5593: checking for session-management option" >&5; | 5604 echo "configure:5605: checking for session-management option" >&5; |
5593 if test "$with_session" != "no"; then | 5605 if test "$with_session" != "no"; then |
5594 { test "$extra_verbose" = "yes" && cat << \EOF | 5606 { test "$extra_verbose" = "yes" && cat << \EOF |
5595 Defining HAVE_SESSION | 5607 Defining HAVE_SESSION |
5596 EOF | 5608 EOF |
5597 cat >> confdefs.h <<\EOF | 5609 cat >> confdefs.h <<\EOF |
5602 fi | 5614 fi |
5603 | 5615 |
5604 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5616 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5605 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5617 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5606 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5618 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5607 echo "configure:5608: checking for X11/Xauth.h" >&5 | 5619 echo "configure:5620: checking for X11/Xauth.h" >&5 |
5608 | 5620 |
5609 cat > conftest.$ac_ext <<EOF | 5621 cat > conftest.$ac_ext <<EOF |
5610 #line 5611 "configure" | 5622 #line 5623 "configure" |
5611 #include "confdefs.h" | 5623 #include "confdefs.h" |
5612 #include <X11/Xauth.h> | 5624 #include <X11/Xauth.h> |
5613 EOF | 5625 EOF |
5614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5615 { (eval echo configure:5616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5627 { (eval echo configure:5628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5616 ac_err=`grep -v '^ *+' conftest.out` | 5628 ac_err=`grep -v '^ *+' conftest.out` |
5617 if test -z "$ac_err"; then | 5629 if test -z "$ac_err"; then |
5618 rm -rf conftest* | 5630 rm -rf conftest* |
5619 eval "ac_cv_header_$ac_safe=yes" | 5631 eval "ac_cv_header_$ac_safe=yes" |
5620 else | 5632 else |
5633 with_xauth=no | 5645 with_xauth=no |
5634 fi | 5646 fi |
5635 } | 5647 } |
5636 test -z "$with_xauth" && { | 5648 test -z "$with_xauth" && { |
5637 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5649 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5638 echo "configure:5639: checking for XauGetAuthByAddr in -lXau" >&5 | 5650 echo "configure:5651: checking for XauGetAuthByAddr in -lXau" >&5 |
5639 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5651 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5640 | 5652 |
5641 xe_check_libs=" -lXau " | 5653 xe_check_libs=" -lXau " |
5642 cat > conftest.$ac_ext <<EOF | 5654 cat > conftest.$ac_ext <<EOF |
5643 #line 5644 "configure" | 5655 #line 5656 "configure" |
5644 #include "confdefs.h" | 5656 #include "confdefs.h" |
5645 /* Override any gcc2 internal prototype to avoid an error. */ | 5657 /* Override any gcc2 internal prototype to avoid an error. */ |
5646 /* We use char because int might match the return type of a gcc2 | 5658 /* We use char because int might match the return type of a gcc2 |
5647 builtin and then its argument prototype would still apply. */ | 5659 builtin and then its argument prototype would still apply. */ |
5648 char XauGetAuthByAddr(); | 5660 char XauGetAuthByAddr(); |
5649 | 5661 |
5650 int main() { | 5662 int main() { |
5651 XauGetAuthByAddr() | 5663 XauGetAuthByAddr() |
5652 ; return 0; } | 5664 ; return 0; } |
5653 EOF | 5665 EOF |
5654 if { (eval echo configure:5655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5655 rm -rf conftest* | 5667 rm -rf conftest* |
5656 eval "ac_cv_lib_$ac_lib_var=yes" | 5668 eval "ac_cv_lib_$ac_lib_var=yes" |
5657 else | 5669 else |
5658 echo "configure: failed program was:" >&5 | 5670 echo "configure: failed program was:" >&5 |
5659 cat conftest.$ac_ext >&5 | 5671 cat conftest.$ac_ext >&5 |
5713 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5725 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5714 if test "$with_tooltalk" != "no" ; then | 5726 if test "$with_tooltalk" != "no" ; then |
5715 for dir in "" "Tt/" "desktop/" ; do | 5727 for dir in "" "Tt/" "desktop/" ; do |
5716 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5728 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5717 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5729 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5718 echo "configure:5719: checking for ${dir}tt_c.h" >&5 | 5730 echo "configure:5731: checking for ${dir}tt_c.h" >&5 |
5719 | 5731 |
5720 cat > conftest.$ac_ext <<EOF | 5732 cat > conftest.$ac_ext <<EOF |
5721 #line 5722 "configure" | 5733 #line 5734 "configure" |
5722 #include "confdefs.h" | 5734 #include "confdefs.h" |
5723 #include <${dir}tt_c.h> | 5735 #include <${dir}tt_c.h> |
5724 EOF | 5736 EOF |
5725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5726 { (eval echo configure:5727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5738 { (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5727 ac_err=`grep -v '^ *+' conftest.out` | 5739 ac_err=`grep -v '^ *+' conftest.out` |
5728 if test -z "$ac_err"; then | 5740 if test -z "$ac_err"; then |
5729 rm -rf conftest* | 5741 rm -rf conftest* |
5730 eval "ac_cv_header_$ac_safe=yes" | 5742 eval "ac_cv_header_$ac_safe=yes" |
5731 else | 5743 else |
5750 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5762 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5751 | 5763 |
5752 xe_msg_checking="for tt_message_create in -ltt" | 5764 xe_msg_checking="for tt_message_create in -ltt" |
5753 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5765 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5754 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5766 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5755 echo "configure:5756: checking "$xe_msg_checking"" >&5 | 5767 echo "configure:5768: checking "$xe_msg_checking"" >&5 |
5756 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5768 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5757 | 5769 |
5758 xe_check_libs=" -ltt $extra_libs" | 5770 xe_check_libs=" -ltt $extra_libs" |
5759 cat > conftest.$ac_ext <<EOF | 5771 cat > conftest.$ac_ext <<EOF |
5760 #line 5761 "configure" | 5772 #line 5773 "configure" |
5761 #include "confdefs.h" | 5773 #include "confdefs.h" |
5762 /* Override any gcc2 internal prototype to avoid an error. */ | 5774 /* Override any gcc2 internal prototype to avoid an error. */ |
5763 /* We use char because int might match the return type of a gcc2 | 5775 /* We use char because int might match the return type of a gcc2 |
5764 builtin and then its argument prototype would still apply. */ | 5776 builtin and then its argument prototype would still apply. */ |
5765 char tt_message_create(); | 5777 char tt_message_create(); |
5766 | 5778 |
5767 int main() { | 5779 int main() { |
5768 tt_message_create() | 5780 tt_message_create() |
5769 ; return 0; } | 5781 ; return 0; } |
5770 EOF | 5782 EOF |
5771 if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5783 if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5772 rm -rf conftest* | 5784 rm -rf conftest* |
5773 eval "ac_cv_lib_$ac_lib_var=yes" | 5785 eval "ac_cv_lib_$ac_lib_var=yes" |
5774 else | 5786 else |
5775 echo "configure: failed program was:" >&5 | 5787 echo "configure: failed program was:" >&5 |
5776 cat conftest.$ac_ext >&5 | 5788 cat conftest.$ac_ext >&5 |
5815 fi | 5827 fi |
5816 fi | 5828 fi |
5817 | 5829 |
5818 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5830 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5819 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5831 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5820 echo "configure:5821: checking for Dt/Dt.h" >&5 | 5832 echo "configure:5833: checking for Dt/Dt.h" >&5 |
5821 | 5833 |
5822 cat > conftest.$ac_ext <<EOF | 5834 cat > conftest.$ac_ext <<EOF |
5823 #line 5824 "configure" | 5835 #line 5836 "configure" |
5824 #include "confdefs.h" | 5836 #include "confdefs.h" |
5825 #include <Dt/Dt.h> | 5837 #include <Dt/Dt.h> |
5826 EOF | 5838 EOF |
5827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5828 { (eval echo configure:5829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5840 { (eval echo configure:5841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5829 ac_err=`grep -v '^ *+' conftest.out` | 5841 ac_err=`grep -v '^ *+' conftest.out` |
5830 if test -z "$ac_err"; then | 5842 if test -z "$ac_err"; then |
5831 rm -rf conftest* | 5843 rm -rf conftest* |
5832 eval "ac_cv_header_$ac_safe=yes" | 5844 eval "ac_cv_header_$ac_safe=yes" |
5833 else | 5845 else |
5846 with_cde=no | 5858 with_cde=no |
5847 fi | 5859 fi |
5848 } | 5860 } |
5849 test -z "$with_cde" && { | 5861 test -z "$with_cde" && { |
5850 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5862 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5851 echo "configure:5852: checking for DtDndDragStart in -lDtSvc" >&5 | 5863 echo "configure:5864: checking for DtDndDragStart in -lDtSvc" >&5 |
5852 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5864 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5853 | 5865 |
5854 xe_check_libs=" -lDtSvc " | 5866 xe_check_libs=" -lDtSvc " |
5855 cat > conftest.$ac_ext <<EOF | 5867 cat > conftest.$ac_ext <<EOF |
5856 #line 5857 "configure" | 5868 #line 5869 "configure" |
5857 #include "confdefs.h" | 5869 #include "confdefs.h" |
5858 /* Override any gcc2 internal prototype to avoid an error. */ | 5870 /* Override any gcc2 internal prototype to avoid an error. */ |
5859 /* We use char because int might match the return type of a gcc2 | 5871 /* We use char because int might match the return type of a gcc2 |
5860 builtin and then its argument prototype would still apply. */ | 5872 builtin and then its argument prototype would still apply. */ |
5861 char DtDndDragStart(); | 5873 char DtDndDragStart(); |
5862 | 5874 |
5863 int main() { | 5875 int main() { |
5864 DtDndDragStart() | 5876 DtDndDragStart() |
5865 ; return 0; } | 5877 ; return 0; } |
5866 EOF | 5878 EOF |
5867 if { (eval echo configure:5868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5868 rm -rf conftest* | 5880 rm -rf conftest* |
5869 eval "ac_cv_lib_$ac_lib_var=yes" | 5881 eval "ac_cv_lib_$ac_lib_var=yes" |
5870 else | 5882 else |
5871 echo "configure: failed program was:" >&5 | 5883 echo "configure: failed program was:" >&5 |
5872 cat conftest.$ac_ext >&5 | 5884 cat conftest.$ac_ext >&5 |
5899 with_tooltalk=yes # CDE requires Tooltalk | 5911 with_tooltalk=yes # CDE requires Tooltalk |
5900 need_motif=yes # CDE requires Motif | 5912 need_motif=yes # CDE requires Motif |
5901 fi | 5913 fi |
5902 | 5914 |
5903 echo "checking for LDAP" 1>&6 | 5915 echo "checking for LDAP" 1>&6 |
5904 echo "configure:5905: checking for LDAP" >&5 | 5916 echo "configure:5917: checking for LDAP" >&5 |
5905 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 5917 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
5906 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 5918 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
5907 echo "configure:5908: checking for ldap.h" >&5 | 5919 echo "configure:5920: checking for ldap.h" >&5 |
5908 | 5920 |
5909 cat > conftest.$ac_ext <<EOF | 5921 cat > conftest.$ac_ext <<EOF |
5910 #line 5911 "configure" | 5922 #line 5923 "configure" |
5911 #include "confdefs.h" | 5923 #include "confdefs.h" |
5912 #include <ldap.h> | 5924 #include <ldap.h> |
5913 EOF | 5925 EOF |
5914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5915 { (eval echo configure:5916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5927 { (eval echo configure:5928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5916 ac_err=`grep -v '^ *+' conftest.out` | 5928 ac_err=`grep -v '^ *+' conftest.out` |
5917 if test -z "$ac_err"; then | 5929 if test -z "$ac_err"; then |
5918 rm -rf conftest* | 5930 rm -rf conftest* |
5919 eval "ac_cv_header_$ac_safe=yes" | 5931 eval "ac_cv_header_$ac_safe=yes" |
5920 else | 5932 else |
5933 with_ldap=no | 5945 with_ldap=no |
5934 fi | 5946 fi |
5935 } | 5947 } |
5936 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 5948 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
5937 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 5949 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
5938 echo "configure:5939: checking for lber.h" >&5 | 5950 echo "configure:5951: checking for lber.h" >&5 |
5939 | 5951 |
5940 cat > conftest.$ac_ext <<EOF | 5952 cat > conftest.$ac_ext <<EOF |
5941 #line 5942 "configure" | 5953 #line 5954 "configure" |
5942 #include "confdefs.h" | 5954 #include "confdefs.h" |
5943 #include <lber.h> | 5955 #include <lber.h> |
5944 EOF | 5956 EOF |
5945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5946 { (eval echo configure:5947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5958 { (eval echo configure:5959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5947 ac_err=`grep -v '^ *+' conftest.out` | 5959 ac_err=`grep -v '^ *+' conftest.out` |
5948 if test -z "$ac_err"; then | 5960 if test -z "$ac_err"; then |
5949 rm -rf conftest* | 5961 rm -rf conftest* |
5950 eval "ac_cv_header_$ac_safe=yes" | 5962 eval "ac_cv_header_$ac_safe=yes" |
5951 else | 5963 else |
5966 } | 5978 } |
5967 test -z "$with_ldap" -o "$with_ldap" = "yes" && { | 5979 test -z "$with_ldap" -o "$with_ldap" = "yes" && { |
5968 xe_msg_checking="for ldap_open in -lldap" | 5980 xe_msg_checking="for ldap_open in -lldap" |
5969 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 5981 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
5970 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5982 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5971 echo "configure:5972: checking "$xe_msg_checking"" >&5 | 5983 echo "configure:5984: checking "$xe_msg_checking"" >&5 |
5972 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 5984 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
5973 | 5985 |
5974 xe_check_libs=" -lldap -llber" | 5986 xe_check_libs=" -lldap -llber" |
5975 cat > conftest.$ac_ext <<EOF | 5987 cat > conftest.$ac_ext <<EOF |
5976 #line 5977 "configure" | 5988 #line 5989 "configure" |
5977 #include "confdefs.h" | 5989 #include "confdefs.h" |
5978 /* Override any gcc2 internal prototype to avoid an error. */ | 5990 /* Override any gcc2 internal prototype to avoid an error. */ |
5979 /* We use char because int might match the return type of a gcc2 | 5991 /* We use char because int might match the return type of a gcc2 |
5980 builtin and then its argument prototype would still apply. */ | 5992 builtin and then its argument prototype would still apply. */ |
5981 char ldap_open(); | 5993 char ldap_open(); |
5982 | 5994 |
5983 int main() { | 5995 int main() { |
5984 ldap_open() | 5996 ldap_open() |
5985 ; return 0; } | 5997 ; return 0; } |
5986 EOF | 5998 EOF |
5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5999 if { (eval echo configure:6000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5988 rm -rf conftest* | 6000 rm -rf conftest* |
5989 eval "ac_cv_lib_$ac_lib_var=yes" | 6001 eval "ac_cv_lib_$ac_lib_var=yes" |
5990 else | 6002 else |
5991 echo "configure: failed program was:" >&5 | 6003 echo "configure: failed program was:" >&5 |
5992 cat conftest.$ac_ext >&5 | 6004 cat conftest.$ac_ext >&5 |
6005 fi | 6017 fi |
6006 | 6018 |
6007 } | 6019 } |
6008 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { | 6020 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { |
6009 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6021 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6010 echo "configure:6011: checking for ldap_set_option in -lldap10" >&5 | 6022 echo "configure:6023: checking for ldap_set_option in -lldap10" >&5 |
6011 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6023 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6012 | 6024 |
6013 xe_check_libs=" -lldap10 " | 6025 xe_check_libs=" -lldap10 " |
6014 cat > conftest.$ac_ext <<EOF | 6026 cat > conftest.$ac_ext <<EOF |
6015 #line 6016 "configure" | 6027 #line 6028 "configure" |
6016 #include "confdefs.h" | 6028 #include "confdefs.h" |
6017 /* Override any gcc2 internal prototype to avoid an error. */ | 6029 /* Override any gcc2 internal prototype to avoid an error. */ |
6018 /* We use char because int might match the return type of a gcc2 | 6030 /* We use char because int might match the return type of a gcc2 |
6019 builtin and then its argument prototype would still apply. */ | 6031 builtin and then its argument prototype would still apply. */ |
6020 char ldap_set_option(); | 6032 char ldap_set_option(); |
6021 | 6033 |
6022 int main() { | 6034 int main() { |
6023 ldap_set_option() | 6035 ldap_set_option() |
6024 ; return 0; } | 6036 ; return 0; } |
6025 EOF | 6037 EOF |
6026 if { (eval echo configure:6027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6038 if { (eval echo configure:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6027 rm -rf conftest* | 6039 rm -rf conftest* |
6028 eval "ac_cv_lib_$ac_lib_var=yes" | 6040 eval "ac_cv_lib_$ac_lib_var=yes" |
6029 else | 6041 else |
6030 echo "configure: failed program was:" >&5 | 6042 echo "configure: failed program was:" >&5 |
6031 cat conftest.$ac_ext >&5 | 6043 cat conftest.$ac_ext >&5 |
6105 | 6117 |
6106 | 6118 |
6107 if test "$with_x11" = "yes"; then | 6119 if test "$with_x11" = "yes"; then |
6108 | 6120 |
6109 echo "checking for X11 graphics libraries" 1>&6 | 6121 echo "checking for X11 graphics libraries" 1>&6 |
6110 echo "configure:6111: checking for X11 graphics libraries" >&5 | 6122 echo "configure:6123: checking for X11 graphics libraries" >&5 |
6111 | 6123 |
6112 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6124 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6113 echo "configure:6114: checking for Xpm - no older than 3.4f" >&5 | 6125 echo "configure:6126: checking for Xpm - no older than 3.4f" >&5 |
6114 xe_check_libs=-lXpm | 6126 xe_check_libs=-lXpm |
6115 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6127 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
6116 #line 6117 "configure" | 6128 #line 6129 "configure" |
6117 #include "confdefs.h" | 6129 #include "confdefs.h" |
6118 #include <X11/xpm.h> | 6130 #include <X11/xpm.h> |
6119 int main(int c, char **v) { | 6131 int main(int c, char **v) { |
6120 return c == 1 ? 0 : | 6132 return c == 1 ? 0 : |
6121 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6133 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6122 XpmIncludeVersion < 30406 ? 2 : | 6134 XpmIncludeVersion < 30406 ? 2 : |
6123 0 ; | 6135 0 ; |
6124 } | 6136 } |
6125 EOF | 6137 EOF |
6126 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6127 then | 6139 then |
6128 ./conftest foobar; xpm_status=$?; | 6140 ./conftest foobar; xpm_status=$?; |
6129 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6141 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
6130 else | 6142 else |
6131 echo "configure: failed program was:" >&5 | 6143 echo "configure: failed program was:" >&5 |
6159 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6171 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6160 fi | 6172 fi |
6161 | 6173 |
6162 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6174 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6163 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6175 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6164 echo "configure:6165: checking for compface.h" >&5 | 6176 echo "configure:6177: checking for compface.h" >&5 |
6165 | 6177 |
6166 cat > conftest.$ac_ext <<EOF | 6178 cat > conftest.$ac_ext <<EOF |
6167 #line 6168 "configure" | 6179 #line 6180 "configure" |
6168 #include "confdefs.h" | 6180 #include "confdefs.h" |
6169 #include <compface.h> | 6181 #include <compface.h> |
6170 EOF | 6182 EOF |
6171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6172 { (eval echo configure:6173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6184 { (eval echo configure:6185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6173 ac_err=`grep -v '^ *+' conftest.out` | 6185 ac_err=`grep -v '^ *+' conftest.out` |
6174 if test -z "$ac_err"; then | 6186 if test -z "$ac_err"; then |
6175 rm -rf conftest* | 6187 rm -rf conftest* |
6176 eval "ac_cv_header_$ac_safe=yes" | 6188 eval "ac_cv_header_$ac_safe=yes" |
6177 else | 6189 else |
6190 with_xface=no | 6202 with_xface=no |
6191 fi | 6203 fi |
6192 } | 6204 } |
6193 test -z "$with_xface" && { | 6205 test -z "$with_xface" && { |
6194 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6206 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6195 echo "configure:6196: checking for UnGenFace in -lcompface" >&5 | 6207 echo "configure:6208: checking for UnGenFace in -lcompface" >&5 |
6196 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6208 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6197 | 6209 |
6198 xe_check_libs=" -lcompface " | 6210 xe_check_libs=" -lcompface " |
6199 cat > conftest.$ac_ext <<EOF | 6211 cat > conftest.$ac_ext <<EOF |
6200 #line 6201 "configure" | 6212 #line 6213 "configure" |
6201 #include "confdefs.h" | 6213 #include "confdefs.h" |
6202 /* Override any gcc2 internal prototype to avoid an error. */ | 6214 /* Override any gcc2 internal prototype to avoid an error. */ |
6203 /* We use char because int might match the return type of a gcc2 | 6215 /* We use char because int might match the return type of a gcc2 |
6204 builtin and then its argument prototype would still apply. */ | 6216 builtin and then its argument prototype would still apply. */ |
6205 char UnGenFace(); | 6217 char UnGenFace(); |
6206 | 6218 |
6207 int main() { | 6219 int main() { |
6208 UnGenFace() | 6220 UnGenFace() |
6209 ; return 0; } | 6221 ; return 0; } |
6210 EOF | 6222 EOF |
6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6223 if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6212 rm -rf conftest* | 6224 rm -rf conftest* |
6213 eval "ac_cv_lib_$ac_lib_var=yes" | 6225 eval "ac_cv_lib_$ac_lib_var=yes" |
6214 else | 6226 else |
6215 echo "configure: failed program was:" >&5 | 6227 echo "configure: failed program was:" >&5 |
6216 cat conftest.$ac_ext >&5 | 6228 cat conftest.$ac_ext >&5 |
6257 fi | 6269 fi |
6258 fi | 6270 fi |
6259 | 6271 |
6260 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6272 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6261 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6273 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6262 echo "configure:6263: checking for jpeglib.h" >&5 | 6274 echo "configure:6275: checking for jpeglib.h" >&5 |
6263 | 6275 |
6264 cat > conftest.$ac_ext <<EOF | 6276 cat > conftest.$ac_ext <<EOF |
6265 #line 6266 "configure" | 6277 #line 6278 "configure" |
6266 #include "confdefs.h" | 6278 #include "confdefs.h" |
6267 #include <jpeglib.h> | 6279 #include <jpeglib.h> |
6268 EOF | 6280 EOF |
6269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6270 { (eval echo configure:6271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6282 { (eval echo configure:6283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6271 ac_err=`grep -v '^ *+' conftest.out` | 6283 ac_err=`grep -v '^ *+' conftest.out` |
6272 if test -z "$ac_err"; then | 6284 if test -z "$ac_err"; then |
6273 rm -rf conftest* | 6285 rm -rf conftest* |
6274 eval "ac_cv_header_$ac_safe=yes" | 6286 eval "ac_cv_header_$ac_safe=yes" |
6275 else | 6287 else |
6288 with_jpeg=no | 6300 with_jpeg=no |
6289 fi | 6301 fi |
6290 } | 6302 } |
6291 test -z "$with_jpeg" && { | 6303 test -z "$with_jpeg" && { |
6292 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6304 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6293 echo "configure:6294: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6305 echo "configure:6306: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6294 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6306 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6295 | 6307 |
6296 xe_check_libs=" -ljpeg " | 6308 xe_check_libs=" -ljpeg " |
6297 cat > conftest.$ac_ext <<EOF | 6309 cat > conftest.$ac_ext <<EOF |
6298 #line 6299 "configure" | 6310 #line 6311 "configure" |
6299 #include "confdefs.h" | 6311 #include "confdefs.h" |
6300 /* Override any gcc2 internal prototype to avoid an error. */ | 6312 /* Override any gcc2 internal prototype to avoid an error. */ |
6301 /* We use char because int might match the return type of a gcc2 | 6313 /* We use char because int might match the return type of a gcc2 |
6302 builtin and then its argument prototype would still apply. */ | 6314 builtin and then its argument prototype would still apply. */ |
6303 char jpeg_destroy_decompress(); | 6315 char jpeg_destroy_decompress(); |
6304 | 6316 |
6305 int main() { | 6317 int main() { |
6306 jpeg_destroy_decompress() | 6318 jpeg_destroy_decompress() |
6307 ; return 0; } | 6319 ; return 0; } |
6308 EOF | 6320 EOF |
6309 if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6321 if { (eval echo configure:6322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6310 rm -rf conftest* | 6322 rm -rf conftest* |
6311 eval "ac_cv_lib_$ac_lib_var=yes" | 6323 eval "ac_cv_lib_$ac_lib_var=yes" |
6312 else | 6324 else |
6313 echo "configure: failed program was:" >&5 | 6325 echo "configure: failed program was:" >&5 |
6314 cat conftest.$ac_ext >&5 | 6326 cat conftest.$ac_ext >&5 |
6340 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6352 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6341 fi | 6353 fi |
6342 | 6354 |
6343 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6355 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6344 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6356 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6345 echo "configure:6346: checking for png.h" >&5 | 6357 echo "configure:6358: checking for png.h" >&5 |
6346 | 6358 |
6347 cat > conftest.$ac_ext <<EOF | 6359 cat > conftest.$ac_ext <<EOF |
6348 #line 6349 "configure" | 6360 #line 6361 "configure" |
6349 #include "confdefs.h" | 6361 #include "confdefs.h" |
6350 #include <png.h> | 6362 #include <png.h> |
6351 EOF | 6363 EOF |
6352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6353 { (eval echo configure:6354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6365 { (eval echo configure:6366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6354 ac_err=`grep -v '^ *+' conftest.out` | 6366 ac_err=`grep -v '^ *+' conftest.out` |
6355 if test -z "$ac_err"; then | 6367 if test -z "$ac_err"; then |
6356 rm -rf conftest* | 6368 rm -rf conftest* |
6357 eval "ac_cv_header_$ac_safe=yes" | 6369 eval "ac_cv_header_$ac_safe=yes" |
6358 else | 6370 else |
6370 echo "$ac_t""no" 1>&6 | 6382 echo "$ac_t""no" 1>&6 |
6371 with_png=no | 6383 with_png=no |
6372 fi | 6384 fi |
6373 } | 6385 } |
6374 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6386 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6375 echo "configure:6376: checking for pow" >&5 | 6387 echo "configure:6388: checking for pow" >&5 |
6376 | 6388 |
6377 cat > conftest.$ac_ext <<EOF | 6389 cat > conftest.$ac_ext <<EOF |
6378 #line 6379 "configure" | 6390 #line 6391 "configure" |
6379 #include "confdefs.h" | 6391 #include "confdefs.h" |
6380 /* System header to define __stub macros and hopefully few prototypes, | 6392 /* System header to define __stub macros and hopefully few prototypes, |
6381 which can conflict with char pow(); below. */ | 6393 which can conflict with char pow(); below. */ |
6382 #include <assert.h> | 6394 #include <assert.h> |
6383 /* Override any gcc2 internal prototype to avoid an error. */ | 6395 /* Override any gcc2 internal prototype to avoid an error. */ |
6396 pow(); | 6408 pow(); |
6397 #endif | 6409 #endif |
6398 | 6410 |
6399 ; return 0; } | 6411 ; return 0; } |
6400 EOF | 6412 EOF |
6401 if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6413 if { (eval echo configure:6414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6402 rm -rf conftest* | 6414 rm -rf conftest* |
6403 eval "ac_cv_func_pow=yes" | 6415 eval "ac_cv_func_pow=yes" |
6404 else | 6416 else |
6405 echo "configure: failed program was:" >&5 | 6417 echo "configure: failed program was:" >&5 |
6406 cat conftest.$ac_ext >&5 | 6418 cat conftest.$ac_ext >&5 |
6421 for extra_libs in "" "-lz" "-lgz"; do | 6433 for extra_libs in "" "-lz" "-lgz"; do |
6422 | 6434 |
6423 xe_msg_checking="for png_read_image in -lpng" | 6435 xe_msg_checking="for png_read_image in -lpng" |
6424 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6436 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6425 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6437 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6426 echo "configure:6427: checking "$xe_msg_checking"" >&5 | 6438 echo "configure:6439: checking "$xe_msg_checking"" >&5 |
6427 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6439 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6428 | 6440 |
6429 xe_check_libs=" -lpng $extra_libs" | 6441 xe_check_libs=" -lpng $extra_libs" |
6430 cat > conftest.$ac_ext <<EOF | 6442 cat > conftest.$ac_ext <<EOF |
6431 #line 6432 "configure" | 6443 #line 6444 "configure" |
6432 #include "confdefs.h" | 6444 #include "confdefs.h" |
6433 /* Override any gcc2 internal prototype to avoid an error. */ | 6445 /* Override any gcc2 internal prototype to avoid an error. */ |
6434 /* We use char because int might match the return type of a gcc2 | 6446 /* We use char because int might match the return type of a gcc2 |
6435 builtin and then its argument prototype would still apply. */ | 6447 builtin and then its argument prototype would still apply. */ |
6436 char png_read_image(); | 6448 char png_read_image(); |
6437 | 6449 |
6438 int main() { | 6450 int main() { |
6439 png_read_image() | 6451 png_read_image() |
6440 ; return 0; } | 6452 ; return 0; } |
6441 EOF | 6453 EOF |
6442 if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6454 if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6443 rm -rf conftest* | 6455 rm -rf conftest* |
6444 eval "ac_cv_lib_$ac_lib_var=yes" | 6456 eval "ac_cv_lib_$ac_lib_var=yes" |
6445 else | 6457 else |
6446 echo "configure: failed program was:" >&5 | 6458 echo "configure: failed program was:" >&5 |
6447 cat conftest.$ac_ext >&5 | 6459 cat conftest.$ac_ext >&5 |
6479 for extra_libs in "" "-lz" "-lgz"; do | 6491 for extra_libs in "" "-lz" "-lgz"; do |
6480 | 6492 |
6481 xe_msg_checking="for TIFFReadScanline in -ltiff" | 6493 xe_msg_checking="for TIFFReadScanline in -ltiff" |
6482 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6494 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6483 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6495 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6484 echo "configure:6485: checking "$xe_msg_checking"" >&5 | 6496 echo "configure:6497: checking "$xe_msg_checking"" >&5 |
6485 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6497 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6486 | 6498 |
6487 xe_check_libs=" -ltiff $extra_libs" | 6499 xe_check_libs=" -ltiff $extra_libs" |
6488 cat > conftest.$ac_ext <<EOF | 6500 cat > conftest.$ac_ext <<EOF |
6489 #line 6490 "configure" | 6501 #line 6502 "configure" |
6490 #include "confdefs.h" | 6502 #include "confdefs.h" |
6491 /* Override any gcc2 internal prototype to avoid an error. */ | 6503 /* Override any gcc2 internal prototype to avoid an error. */ |
6492 /* We use char because int might match the return type of a gcc2 | 6504 /* We use char because int might match the return type of a gcc2 |
6493 builtin and then its argument prototype would still apply. */ | 6505 builtin and then its argument prototype would still apply. */ |
6494 char TIFFReadScanline(); | 6506 char TIFFReadScanline(); |
6495 | 6507 |
6496 int main() { | 6508 int main() { |
6497 TIFFReadScanline() | 6509 TIFFReadScanline() |
6498 ; return 0; } | 6510 ; return 0; } |
6499 EOF | 6511 EOF |
6500 if { (eval echo configure:6501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6512 if { (eval echo configure:6513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6501 rm -rf conftest* | 6513 rm -rf conftest* |
6502 eval "ac_cv_lib_$ac_lib_var=yes" | 6514 eval "ac_cv_lib_$ac_lib_var=yes" |
6503 else | 6515 else |
6504 echo "configure: failed program was:" >&5 | 6516 echo "configure: failed program was:" >&5 |
6505 cat conftest.$ac_ext >&5 | 6517 cat conftest.$ac_ext >&5 |
6533 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi | 6545 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi |
6534 fi | 6546 fi |
6535 | 6547 |
6536 | 6548 |
6537 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6549 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6538 echo "configure:6539: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6550 echo "configure:6551: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6539 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6551 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6540 | 6552 |
6541 xe_check_libs=" -lXaw " | 6553 xe_check_libs=" -lXaw " |
6542 cat > conftest.$ac_ext <<EOF | 6554 cat > conftest.$ac_ext <<EOF |
6543 #line 6544 "configure" | 6555 #line 6556 "configure" |
6544 #include "confdefs.h" | 6556 #include "confdefs.h" |
6545 /* Override any gcc2 internal prototype to avoid an error. */ | 6557 /* Override any gcc2 internal prototype to avoid an error. */ |
6546 /* We use char because int might match the return type of a gcc2 | 6558 /* We use char because int might match the return type of a gcc2 |
6547 builtin and then its argument prototype would still apply. */ | 6559 builtin and then its argument prototype would still apply. */ |
6548 char XawScrollbarSetThumb(); | 6560 char XawScrollbarSetThumb(); |
6549 | 6561 |
6550 int main() { | 6562 int main() { |
6551 XawScrollbarSetThumb() | 6563 XawScrollbarSetThumb() |
6552 ; return 0; } | 6564 ; return 0; } |
6553 EOF | 6565 EOF |
6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6566 if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6555 rm -rf conftest* | 6567 rm -rf conftest* |
6556 eval "ac_cv_lib_$ac_lib_var=yes" | 6568 eval "ac_cv_lib_$ac_lib_var=yes" |
6557 else | 6569 else |
6558 echo "configure: failed program was:" >&5 | 6570 echo "configure: failed program was:" >&5 |
6559 cat conftest.$ac_ext >&5 | 6571 cat conftest.$ac_ext >&5 |
6573 | 6585 |
6574 | 6586 |
6575 | 6587 |
6576 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6588 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6577 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6589 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6578 echo "configure:6579: checking for Xm/Xm.h" >&5 | 6590 echo "configure:6591: checking for Xm/Xm.h" >&5 |
6579 | 6591 |
6580 cat > conftest.$ac_ext <<EOF | 6592 cat > conftest.$ac_ext <<EOF |
6581 #line 6582 "configure" | 6593 #line 6594 "configure" |
6582 #include "confdefs.h" | 6594 #include "confdefs.h" |
6583 #include <Xm/Xm.h> | 6595 #include <Xm/Xm.h> |
6584 EOF | 6596 EOF |
6585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6586 { (eval echo configure:6587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6598 { (eval echo configure:6599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6587 ac_err=`grep -v '^ *+' conftest.out` | 6599 ac_err=`grep -v '^ *+' conftest.out` |
6588 if test -z "$ac_err"; then | 6600 if test -z "$ac_err"; then |
6589 rm -rf conftest* | 6601 rm -rf conftest* |
6590 eval "ac_cv_header_$ac_safe=yes" | 6602 eval "ac_cv_header_$ac_safe=yes" |
6591 else | 6603 else |
6598 rm -f conftest* | 6610 rm -f conftest* |
6599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6611 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6600 echo "$ac_t""yes" 1>&6 | 6612 echo "$ac_t""yes" 1>&6 |
6601 | 6613 |
6602 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6614 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6603 echo "configure:6604: checking for XmStringFree in -lXm" >&5 | 6615 echo "configure:6616: checking for XmStringFree in -lXm" >&5 |
6604 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6616 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6605 | 6617 |
6606 xe_check_libs=" -lXm " | 6618 xe_check_libs=" -lXm " |
6607 cat > conftest.$ac_ext <<EOF | 6619 cat > conftest.$ac_ext <<EOF |
6608 #line 6609 "configure" | 6620 #line 6621 "configure" |
6609 #include "confdefs.h" | 6621 #include "confdefs.h" |
6610 /* Override any gcc2 internal prototype to avoid an error. */ | 6622 /* Override any gcc2 internal prototype to avoid an error. */ |
6611 /* We use char because int might match the return type of a gcc2 | 6623 /* We use char because int might match the return type of a gcc2 |
6612 builtin and then its argument prototype would still apply. */ | 6624 builtin and then its argument prototype would still apply. */ |
6613 char XmStringFree(); | 6625 char XmStringFree(); |
6614 | 6626 |
6615 int main() { | 6627 int main() { |
6616 XmStringFree() | 6628 XmStringFree() |
6617 ; return 0; } | 6629 ; return 0; } |
6618 EOF | 6630 EOF |
6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6620 rm -rf conftest* | 6632 rm -rf conftest* |
6621 eval "ac_cv_lib_$ac_lib_var=yes" | 6633 eval "ac_cv_lib_$ac_lib_var=yes" |
6622 else | 6634 else |
6623 echo "configure: failed program was:" >&5 | 6635 echo "configure: failed program was:" >&5 |
6624 cat conftest.$ac_ext >&5 | 6636 cat conftest.$ac_ext >&5 |
6905 fi | 6917 fi |
6906 fi | 6918 fi |
6907 | 6919 |
6908 if test "$with_mule" = "yes" ; then | 6920 if test "$with_mule" = "yes" ; then |
6909 echo "checking for Mule-related features" 1>&6 | 6921 echo "checking for Mule-related features" 1>&6 |
6910 echo "configure:6911: checking for Mule-related features" >&5 | 6922 echo "configure:6923: checking for Mule-related features" >&5 |
6911 { test "$extra_verbose" = "yes" && cat << \EOF | 6923 { test "$extra_verbose" = "yes" && cat << \EOF |
6912 Defining MULE | 6924 Defining MULE |
6913 EOF | 6925 EOF |
6914 cat >> confdefs.h <<\EOF | 6926 cat >> confdefs.h <<\EOF |
6915 #define MULE 1 | 6927 #define MULE 1 |
6930 | 6942 |
6931 for ac_hdr in libintl.h | 6943 for ac_hdr in libintl.h |
6932 do | 6944 do |
6933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6945 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6935 echo "configure:6936: checking for $ac_hdr" >&5 | 6947 echo "configure:6948: checking for $ac_hdr" >&5 |
6936 | 6948 |
6937 cat > conftest.$ac_ext <<EOF | 6949 cat > conftest.$ac_ext <<EOF |
6938 #line 6939 "configure" | 6950 #line 6951 "configure" |
6939 #include "confdefs.h" | 6951 #include "confdefs.h" |
6940 #include <$ac_hdr> | 6952 #include <$ac_hdr> |
6941 EOF | 6953 EOF |
6942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6943 { (eval echo configure:6944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6955 { (eval echo configure:6956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6944 ac_err=`grep -v '^ *+' conftest.out` | 6956 ac_err=`grep -v '^ *+' conftest.out` |
6945 if test -z "$ac_err"; then | 6957 if test -z "$ac_err"; then |
6946 rm -rf conftest* | 6958 rm -rf conftest* |
6947 eval "ac_cv_header_$ac_safe=yes" | 6959 eval "ac_cv_header_$ac_safe=yes" |
6948 else | 6960 else |
6969 fi | 6981 fi |
6970 done | 6982 done |
6971 | 6983 |
6972 | 6984 |
6973 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6985 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6974 echo "configure:6975: checking for strerror in -lintl" >&5 | 6986 echo "configure:6987: checking for strerror in -lintl" >&5 |
6975 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6987 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6976 | 6988 |
6977 xe_check_libs=" -lintl " | 6989 xe_check_libs=" -lintl " |
6978 cat > conftest.$ac_ext <<EOF | 6990 cat > conftest.$ac_ext <<EOF |
6979 #line 6980 "configure" | 6991 #line 6992 "configure" |
6980 #include "confdefs.h" | 6992 #include "confdefs.h" |
6981 /* Override any gcc2 internal prototype to avoid an error. */ | 6993 /* Override any gcc2 internal prototype to avoid an error. */ |
6982 /* We use char because int might match the return type of a gcc2 | 6994 /* We use char because int might match the return type of a gcc2 |
6983 builtin and then its argument prototype would still apply. */ | 6995 builtin and then its argument prototype would still apply. */ |
6984 char strerror(); | 6996 char strerror(); |
6985 | 6997 |
6986 int main() { | 6998 int main() { |
6987 strerror() | 6999 strerror() |
6988 ; return 0; } | 7000 ; return 0; } |
6989 EOF | 7001 EOF |
6990 if { (eval echo configure:6991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6991 rm -rf conftest* | 7003 rm -rf conftest* |
6992 eval "ac_cv_lib_$ac_lib_var=yes" | 7004 eval "ac_cv_lib_$ac_lib_var=yes" |
6993 else | 7005 else |
6994 echo "configure: failed program was:" >&5 | 7006 echo "configure: failed program was:" >&5 |
6995 cat conftest.$ac_ext >&5 | 7007 cat conftest.$ac_ext >&5 |
7018 fi | 7030 fi |
7019 | 7031 |
7020 | 7032 |
7021 | 7033 |
7022 echo "checking for Mule input methods" 1>&6 | 7034 echo "checking for Mule input methods" 1>&6 |
7023 echo "configure:7024: checking for Mule input methods" >&5 | 7035 echo "configure:7036: checking for Mule input methods" >&5 |
7024 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 7036 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
7025 case "$with_xim" in "" | "yes" ) | 7037 case "$with_xim" in "" | "yes" ) |
7026 echo "checking for XIM" 1>&6 | 7038 echo "checking for XIM" 1>&6 |
7027 echo "configure:7028: checking for XIM" >&5 | 7039 echo "configure:7040: checking for XIM" >&5 |
7028 | 7040 |
7029 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7041 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7030 echo "configure:7031: checking for XmImMbLookupString in -lXm" >&5 | 7042 echo "configure:7043: checking for XmImMbLookupString in -lXm" >&5 |
7031 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7043 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7032 | 7044 |
7033 xe_check_libs=" -lXm " | 7045 xe_check_libs=" -lXm " |
7034 cat > conftest.$ac_ext <<EOF | 7046 cat > conftest.$ac_ext <<EOF |
7035 #line 7036 "configure" | 7047 #line 7048 "configure" |
7036 #include "confdefs.h" | 7048 #include "confdefs.h" |
7037 /* Override any gcc2 internal prototype to avoid an error. */ | 7049 /* Override any gcc2 internal prototype to avoid an error. */ |
7038 /* We use char because int might match the return type of a gcc2 | 7050 /* We use char because int might match the return type of a gcc2 |
7039 builtin and then its argument prototype would still apply. */ | 7051 builtin and then its argument prototype would still apply. */ |
7040 char XmImMbLookupString(); | 7052 char XmImMbLookupString(); |
7041 | 7053 |
7042 int main() { | 7054 int main() { |
7043 XmImMbLookupString() | 7055 XmImMbLookupString() |
7044 ; return 0; } | 7056 ; return 0; } |
7045 EOF | 7057 EOF |
7046 if { (eval echo configure:7047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7047 rm -rf conftest* | 7059 rm -rf conftest* |
7048 eval "ac_cv_lib_$ac_lib_var=yes" | 7060 eval "ac_cv_lib_$ac_lib_var=yes" |
7049 else | 7061 else |
7050 echo "configure: failed program was:" >&5 | 7062 echo "configure: failed program was:" >&5 |
7051 cat conftest.$ac_ext >&5 | 7063 cat conftest.$ac_ext >&5 |
7106 fi | 7118 fi |
7107 fi | 7119 fi |
7108 | 7120 |
7109 if test "$with_xfs" = "yes" ; then | 7121 if test "$with_xfs" = "yes" ; then |
7110 echo "checking for XFontSet" 1>&6 | 7122 echo "checking for XFontSet" 1>&6 |
7111 echo "configure:7112: checking for XFontSet" >&5 | 7123 echo "configure:7124: checking for XFontSet" >&5 |
7112 | 7124 |
7113 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7125 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7114 echo "configure:7115: checking for XmbDrawString in -lX11" >&5 | 7126 echo "configure:7127: checking for XmbDrawString in -lX11" >&5 |
7115 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7127 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7116 | 7128 |
7117 xe_check_libs=" -lX11 " | 7129 xe_check_libs=" -lX11 " |
7118 cat > conftest.$ac_ext <<EOF | 7130 cat > conftest.$ac_ext <<EOF |
7119 #line 7120 "configure" | 7131 #line 7132 "configure" |
7120 #include "confdefs.h" | 7132 #include "confdefs.h" |
7121 /* Override any gcc2 internal prototype to avoid an error. */ | 7133 /* Override any gcc2 internal prototype to avoid an error. */ |
7122 /* We use char because int might match the return type of a gcc2 | 7134 /* We use char because int might match the return type of a gcc2 |
7123 builtin and then its argument prototype would still apply. */ | 7135 builtin and then its argument prototype would still apply. */ |
7124 char XmbDrawString(); | 7136 char XmbDrawString(); |
7125 | 7137 |
7126 int main() { | 7138 int main() { |
7127 XmbDrawString() | 7139 XmbDrawString() |
7128 ; return 0; } | 7140 ; return 0; } |
7129 EOF | 7141 EOF |
7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7142 if { (eval echo configure:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7131 rm -rf conftest* | 7143 rm -rf conftest* |
7132 eval "ac_cv_lib_$ac_lib_var=yes" | 7144 eval "ac_cv_lib_$ac_lib_var=yes" |
7133 else | 7145 else |
7134 echo "configure: failed program was:" >&5 | 7146 echo "configure: failed program was:" >&5 |
7135 cat conftest.$ac_ext >&5 | 7147 cat conftest.$ac_ext >&5 |
7165 fi | 7177 fi |
7166 fi | 7178 fi |
7167 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7179 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7168 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7180 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7169 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7181 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7170 echo "configure:7171: checking for wnn/jllib.h" >&5 | 7182 echo "configure:7183: checking for wnn/jllib.h" >&5 |
7171 | 7183 |
7172 cat > conftest.$ac_ext <<EOF | 7184 cat > conftest.$ac_ext <<EOF |
7173 #line 7174 "configure" | 7185 #line 7186 "configure" |
7174 #include "confdefs.h" | 7186 #include "confdefs.h" |
7175 #include <wnn/jllib.h> | 7187 #include <wnn/jllib.h> |
7176 EOF | 7188 EOF |
7177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7178 { (eval echo configure:7179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7190 { (eval echo configure:7191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7179 ac_err=`grep -v '^ *+' conftest.out` | 7191 ac_err=`grep -v '^ *+' conftest.out` |
7180 if test -z "$ac_err"; then | 7192 if test -z "$ac_err"; then |
7181 rm -rf conftest* | 7193 rm -rf conftest* |
7182 eval "ac_cv_header_$ac_safe=yes" | 7194 eval "ac_cv_header_$ac_safe=yes" |
7183 else | 7195 else |
7198 } | 7210 } |
7199 if test "$with_wnn" != "no"; then | 7211 if test "$with_wnn" != "no"; then |
7200 for ac_func in crypt | 7212 for ac_func in crypt |
7201 do | 7213 do |
7202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7203 echo "configure:7204: checking for $ac_func" >&5 | 7215 echo "configure:7216: checking for $ac_func" >&5 |
7204 | 7216 |
7205 cat > conftest.$ac_ext <<EOF | 7217 cat > conftest.$ac_ext <<EOF |
7206 #line 7207 "configure" | 7218 #line 7219 "configure" |
7207 #include "confdefs.h" | 7219 #include "confdefs.h" |
7208 /* System header to define __stub macros and hopefully few prototypes, | 7220 /* System header to define __stub macros and hopefully few prototypes, |
7209 which can conflict with char $ac_func(); below. */ | 7221 which can conflict with char $ac_func(); below. */ |
7210 #include <assert.h> | 7222 #include <assert.h> |
7211 /* Override any gcc2 internal prototype to avoid an error. */ | 7223 /* Override any gcc2 internal prototype to avoid an error. */ |
7224 $ac_func(); | 7236 $ac_func(); |
7225 #endif | 7237 #endif |
7226 | 7238 |
7227 ; return 0; } | 7239 ; return 0; } |
7228 EOF | 7240 EOF |
7229 if { (eval echo configure:7230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7241 if { (eval echo configure:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7230 rm -rf conftest* | 7242 rm -rf conftest* |
7231 eval "ac_cv_func_$ac_func=yes" | 7243 eval "ac_cv_func_$ac_func=yes" |
7232 else | 7244 else |
7233 echo "configure: failed program was:" >&5 | 7245 echo "configure: failed program was:" >&5 |
7234 cat conftest.$ac_ext >&5 | 7246 cat conftest.$ac_ext >&5 |
7253 fi | 7265 fi |
7254 done | 7266 done |
7255 | 7267 |
7256 test "$ac_cv_func_crypt" != "yes" && { | 7268 test "$ac_cv_func_crypt" != "yes" && { |
7257 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7269 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7258 echo "configure:7259: checking for crypt in -lcrypt" >&5 | 7270 echo "configure:7271: checking for crypt in -lcrypt" >&5 |
7259 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7271 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7260 | 7272 |
7261 xe_check_libs=" -lcrypt " | 7273 xe_check_libs=" -lcrypt " |
7262 cat > conftest.$ac_ext <<EOF | 7274 cat > conftest.$ac_ext <<EOF |
7263 #line 7264 "configure" | 7275 #line 7276 "configure" |
7264 #include "confdefs.h" | 7276 #include "confdefs.h" |
7265 /* Override any gcc2 internal prototype to avoid an error. */ | 7277 /* Override any gcc2 internal prototype to avoid an error. */ |
7266 /* We use char because int might match the return type of a gcc2 | 7278 /* We use char because int might match the return type of a gcc2 |
7267 builtin and then its argument prototype would still apply. */ | 7279 builtin and then its argument prototype would still apply. */ |
7268 char crypt(); | 7280 char crypt(); |
7269 | 7281 |
7270 int main() { | 7282 int main() { |
7271 crypt() | 7283 crypt() |
7272 ; return 0; } | 7284 ; return 0; } |
7273 EOF | 7285 EOF |
7274 if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7286 if { (eval echo configure:7287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7275 rm -rf conftest* | 7287 rm -rf conftest* |
7276 eval "ac_cv_lib_$ac_lib_var=yes" | 7288 eval "ac_cv_lib_$ac_lib_var=yes" |
7277 else | 7289 else |
7278 echo "configure: failed program was:" >&5 | 7290 echo "configure: failed program was:" >&5 |
7279 cat conftest.$ac_ext >&5 | 7291 cat conftest.$ac_ext >&5 |
7303 | 7315 |
7304 } | 7316 } |
7305 fi | 7317 fi |
7306 test -z "$with_wnn" && { | 7318 test -z "$with_wnn" && { |
7307 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7319 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7308 echo "configure:7309: checking for jl_dic_list_e in -lwnn" >&5 | 7320 echo "configure:7321: checking for jl_dic_list_e in -lwnn" >&5 |
7309 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7321 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7310 | 7322 |
7311 xe_check_libs=" -lwnn " | 7323 xe_check_libs=" -lwnn " |
7312 cat > conftest.$ac_ext <<EOF | 7324 cat > conftest.$ac_ext <<EOF |
7313 #line 7314 "configure" | 7325 #line 7326 "configure" |
7314 #include "confdefs.h" | 7326 #include "confdefs.h" |
7315 /* Override any gcc2 internal prototype to avoid an error. */ | 7327 /* Override any gcc2 internal prototype to avoid an error. */ |
7316 /* We use char because int might match the return type of a gcc2 | 7328 /* We use char because int might match the return type of a gcc2 |
7317 builtin and then its argument prototype would still apply. */ | 7329 builtin and then its argument prototype would still apply. */ |
7318 char jl_dic_list_e(); | 7330 char jl_dic_list_e(); |
7319 | 7331 |
7320 int main() { | 7332 int main() { |
7321 jl_dic_list_e() | 7333 jl_dic_list_e() |
7322 ; return 0; } | 7334 ; return 0; } |
7323 EOF | 7335 EOF |
7324 if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7336 if { (eval echo configure:7337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7325 rm -rf conftest* | 7337 rm -rf conftest* |
7326 eval "ac_cv_lib_$ac_lib_var=yes" | 7338 eval "ac_cv_lib_$ac_lib_var=yes" |
7327 else | 7339 else |
7328 echo "configure: failed program was:" >&5 | 7340 echo "configure: failed program was:" >&5 |
7329 cat conftest.$ac_ext >&5 | 7341 cat conftest.$ac_ext >&5 |
7356 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7368 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7357 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7369 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7358 fi | 7370 fi |
7359 | 7371 |
7360 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7372 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7361 echo "configure:7362: checking for jl_fi_dic_list in -lwnn" >&5 | 7373 echo "configure:7374: checking for jl_fi_dic_list in -lwnn" >&5 |
7362 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7374 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7363 | 7375 |
7364 xe_check_libs=" -lwnn " | 7376 xe_check_libs=" -lwnn " |
7365 cat > conftest.$ac_ext <<EOF | 7377 cat > conftest.$ac_ext <<EOF |
7366 #line 7367 "configure" | 7378 #line 7379 "configure" |
7367 #include "confdefs.h" | 7379 #include "confdefs.h" |
7368 /* Override any gcc2 internal prototype to avoid an error. */ | 7380 /* Override any gcc2 internal prototype to avoid an error. */ |
7369 /* We use char because int might match the return type of a gcc2 | 7381 /* We use char because int might match the return type of a gcc2 |
7370 builtin and then its argument prototype would still apply. */ | 7382 builtin and then its argument prototype would still apply. */ |
7371 char jl_fi_dic_list(); | 7383 char jl_fi_dic_list(); |
7372 | 7384 |
7373 int main() { | 7385 int main() { |
7374 jl_fi_dic_list() | 7386 jl_fi_dic_list() |
7375 ; return 0; } | 7387 ; return 0; } |
7376 EOF | 7388 EOF |
7377 if { (eval echo configure:7378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7389 if { (eval echo configure:7390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7378 rm -rf conftest* | 7390 rm -rf conftest* |
7379 eval "ac_cv_lib_$ac_lib_var=yes" | 7391 eval "ac_cv_lib_$ac_lib_var=yes" |
7380 else | 7392 else |
7381 echo "configure: failed program was:" >&5 | 7393 echo "configure: failed program was:" >&5 |
7382 cat conftest.$ac_ext >&5 | 7394 cat conftest.$ac_ext >&5 |
7404 | 7416 |
7405 fi | 7417 fi |
7406 | 7418 |
7407 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7419 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7408 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7420 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7409 echo "configure:7410: checking for canna/RK.h" >&5 | 7421 echo "configure:7422: checking for canna/RK.h" >&5 |
7410 | 7422 |
7411 cat > conftest.$ac_ext <<EOF | 7423 cat > conftest.$ac_ext <<EOF |
7412 #line 7413 "configure" | 7424 #line 7425 "configure" |
7413 #include "confdefs.h" | 7425 #include "confdefs.h" |
7414 #include <canna/RK.h> | 7426 #include <canna/RK.h> |
7415 EOF | 7427 EOF |
7416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7417 { (eval echo configure:7418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7429 { (eval echo configure:7430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7418 ac_err=`grep -v '^ *+' conftest.out` | 7430 ac_err=`grep -v '^ *+' conftest.out` |
7419 if test -z "$ac_err"; then | 7431 if test -z "$ac_err"; then |
7420 rm -rf conftest* | 7432 rm -rf conftest* |
7421 eval "ac_cv_header_$ac_safe=yes" | 7433 eval "ac_cv_header_$ac_safe=yes" |
7422 else | 7434 else |
7435 with_canna=no | 7447 with_canna=no |
7436 fi | 7448 fi |
7437 } | 7449 } |
7438 test -z "$with_canna" && { | 7450 test -z "$with_canna" && { |
7439 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7451 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7440 echo "configure:7441: checking for RkBgnBun in -lRKC" >&5 | 7452 echo "configure:7453: checking for RkBgnBun in -lRKC" >&5 |
7441 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7453 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7442 | 7454 |
7443 xe_check_libs=" -lRKC " | 7455 xe_check_libs=" -lRKC " |
7444 cat > conftest.$ac_ext <<EOF | 7456 cat > conftest.$ac_ext <<EOF |
7445 #line 7446 "configure" | 7457 #line 7458 "configure" |
7446 #include "confdefs.h" | 7458 #include "confdefs.h" |
7447 /* Override any gcc2 internal prototype to avoid an error. */ | 7459 /* Override any gcc2 internal prototype to avoid an error. */ |
7448 /* We use char because int might match the return type of a gcc2 | 7460 /* We use char because int might match the return type of a gcc2 |
7449 builtin and then its argument prototype would still apply. */ | 7461 builtin and then its argument prototype would still apply. */ |
7450 char RkBgnBun(); | 7462 char RkBgnBun(); |
7451 | 7463 |
7452 int main() { | 7464 int main() { |
7453 RkBgnBun() | 7465 RkBgnBun() |
7454 ; return 0; } | 7466 ; return 0; } |
7455 EOF | 7467 EOF |
7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7468 if { (eval echo configure:7469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7457 rm -rf conftest* | 7469 rm -rf conftest* |
7458 eval "ac_cv_lib_$ac_lib_var=yes" | 7470 eval "ac_cv_lib_$ac_lib_var=yes" |
7459 else | 7471 else |
7460 echo "configure: failed program was:" >&5 | 7472 echo "configure: failed program was:" >&5 |
7461 cat conftest.$ac_ext >&5 | 7473 cat conftest.$ac_ext >&5 |
7474 fi | 7486 fi |
7475 | 7487 |
7476 } | 7488 } |
7477 test -z "$with_canna" && { | 7489 test -z "$with_canna" && { |
7478 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7490 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7479 echo "configure:7480: checking for jrKanjiControl in -lcanna" >&5 | 7491 echo "configure:7492: checking for jrKanjiControl in -lcanna" >&5 |
7480 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7492 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7481 | 7493 |
7482 xe_check_libs=" -lcanna " | 7494 xe_check_libs=" -lcanna " |
7483 cat > conftest.$ac_ext <<EOF | 7495 cat > conftest.$ac_ext <<EOF |
7484 #line 7485 "configure" | 7496 #line 7497 "configure" |
7485 #include "confdefs.h" | 7497 #include "confdefs.h" |
7486 /* Override any gcc2 internal prototype to avoid an error. */ | 7498 /* Override any gcc2 internal prototype to avoid an error. */ |
7487 /* We use char because int might match the return type of a gcc2 | 7499 /* We use char because int might match the return type of a gcc2 |
7488 builtin and then its argument prototype would still apply. */ | 7500 builtin and then its argument prototype would still apply. */ |
7489 char jrKanjiControl(); | 7501 char jrKanjiControl(); |
7490 | 7502 |
7491 int main() { | 7503 int main() { |
7492 jrKanjiControl() | 7504 jrKanjiControl() |
7493 ; return 0; } | 7505 ; return 0; } |
7494 EOF | 7506 EOF |
7495 if { (eval echo configure:7496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7507 if { (eval echo configure:7508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7496 rm -rf conftest* | 7508 rm -rf conftest* |
7497 eval "ac_cv_lib_$ac_lib_var=yes" | 7509 eval "ac_cv_lib_$ac_lib_var=yes" |
7498 else | 7510 else |
7499 echo "configure: failed program was:" >&5 | 7511 echo "configure: failed program was:" >&5 |
7500 cat conftest.$ac_ext >&5 | 7512 cat conftest.$ac_ext >&5 |
7539 | 7551 |
7540 if test "$need_motif" = "yes" ; then | 7552 if test "$need_motif" = "yes" ; then |
7541 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7553 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
7542 | 7554 |
7543 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7555 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
7544 echo "configure:7545: checking for layout_object_getvalue in -li18n" >&5 | 7556 echo "configure:7557: checking for layout_object_getvalue in -li18n" >&5 |
7545 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7557 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
7546 | 7558 |
7547 xe_check_libs=" -li18n " | 7559 xe_check_libs=" -li18n " |
7548 cat > conftest.$ac_ext <<EOF | 7560 cat > conftest.$ac_ext <<EOF |
7549 #line 7550 "configure" | 7561 #line 7562 "configure" |
7550 #include "confdefs.h" | 7562 #include "confdefs.h" |
7551 /* Override any gcc2 internal prototype to avoid an error. */ | 7563 /* Override any gcc2 internal prototype to avoid an error. */ |
7552 /* We use char because int might match the return type of a gcc2 | 7564 /* We use char because int might match the return type of a gcc2 |
7553 builtin and then its argument prototype would still apply. */ | 7565 builtin and then its argument prototype would still apply. */ |
7554 char layout_object_getvalue(); | 7566 char layout_object_getvalue(); |
7555 | 7567 |
7556 int main() { | 7568 int main() { |
7557 layout_object_getvalue() | 7569 layout_object_getvalue() |
7558 ; return 0; } | 7570 ; return 0; } |
7559 EOF | 7571 EOF |
7560 if { (eval echo configure:7561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7572 if { (eval echo configure:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7561 rm -rf conftest* | 7573 rm -rf conftest* |
7562 eval "ac_cv_lib_$ac_lib_var=yes" | 7574 eval "ac_cv_lib_$ac_lib_var=yes" |
7563 else | 7575 else |
7564 echo "configure: failed program was:" >&5 | 7576 echo "configure: failed program was:" >&5 |
7565 cat conftest.$ac_ext >&5 | 7577 cat conftest.$ac_ext >&5 |
7628 fi | 7640 fi |
7629 | 7641 |
7630 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7642 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7631 do | 7643 do |
7632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7633 echo "configure:7634: checking for $ac_func" >&5 | 7645 echo "configure:7646: checking for $ac_func" >&5 |
7634 | 7646 |
7635 cat > conftest.$ac_ext <<EOF | 7647 cat > conftest.$ac_ext <<EOF |
7636 #line 7637 "configure" | 7648 #line 7649 "configure" |
7637 #include "confdefs.h" | 7649 #include "confdefs.h" |
7638 /* System header to define __stub macros and hopefully few prototypes, | 7650 /* System header to define __stub macros and hopefully few prototypes, |
7639 which can conflict with char $ac_func(); below. */ | 7651 which can conflict with char $ac_func(); below. */ |
7640 #include <assert.h> | 7652 #include <assert.h> |
7641 /* Override any gcc2 internal prototype to avoid an error. */ | 7653 /* Override any gcc2 internal prototype to avoid an error. */ |
7654 $ac_func(); | 7666 $ac_func(); |
7655 #endif | 7667 #endif |
7656 | 7668 |
7657 ; return 0; } | 7669 ; return 0; } |
7658 EOF | 7670 EOF |
7659 if { (eval echo configure:7660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7671 if { (eval echo configure:7672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7660 rm -rf conftest* | 7672 rm -rf conftest* |
7661 eval "ac_cv_func_$ac_func=yes" | 7673 eval "ac_cv_func_$ac_func=yes" |
7662 else | 7674 else |
7663 echo "configure: failed program was:" >&5 | 7675 echo "configure: failed program was:" >&5 |
7664 cat conftest.$ac_ext >&5 | 7676 cat conftest.$ac_ext >&5 |
7691 fi ;; | 7703 fi ;; |
7692 * ) | 7704 * ) |
7693 for ac_func in realpath | 7705 for ac_func in realpath |
7694 do | 7706 do |
7695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7696 echo "configure:7697: checking for $ac_func" >&5 | 7708 echo "configure:7709: checking for $ac_func" >&5 |
7697 | 7709 |
7698 cat > conftest.$ac_ext <<EOF | 7710 cat > conftest.$ac_ext <<EOF |
7699 #line 7700 "configure" | 7711 #line 7712 "configure" |
7700 #include "confdefs.h" | 7712 #include "confdefs.h" |
7701 /* System header to define __stub macros and hopefully few prototypes, | 7713 /* System header to define __stub macros and hopefully few prototypes, |
7702 which can conflict with char $ac_func(); below. */ | 7714 which can conflict with char $ac_func(); below. */ |
7703 #include <assert.h> | 7715 #include <assert.h> |
7704 /* Override any gcc2 internal prototype to avoid an error. */ | 7716 /* Override any gcc2 internal prototype to avoid an error. */ |
7717 $ac_func(); | 7729 $ac_func(); |
7718 #endif | 7730 #endif |
7719 | 7731 |
7720 ; return 0; } | 7732 ; return 0; } |
7721 EOF | 7733 EOF |
7722 if { (eval echo configure:7723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7734 if { (eval echo configure:7735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7723 rm -rf conftest* | 7735 rm -rf conftest* |
7724 eval "ac_cv_func_$ac_func=yes" | 7736 eval "ac_cv_func_$ac_func=yes" |
7725 else | 7737 else |
7726 echo "configure: failed program was:" >&5 | 7738 echo "configure: failed program was:" >&5 |
7727 cat conftest.$ac_ext >&5 | 7739 cat conftest.$ac_ext >&5 |
7750 echo " xemacs will be linked with \"realpath.o\"" | 7762 echo " xemacs will be linked with \"realpath.o\"" |
7751 fi ;; | 7763 fi ;; |
7752 esac | 7764 esac |
7753 | 7765 |
7754 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7766 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7755 echo "configure:7756: checking whether netdb declares h_errno" >&5 | 7767 echo "configure:7768: checking whether netdb declares h_errno" >&5 |
7756 cat > conftest.$ac_ext <<EOF | 7768 cat > conftest.$ac_ext <<EOF |
7757 #line 7758 "configure" | 7769 #line 7770 "configure" |
7758 #include "confdefs.h" | 7770 #include "confdefs.h" |
7759 #include <netdb.h> | 7771 #include <netdb.h> |
7760 int main() { | 7772 int main() { |
7761 return h_errno; | 7773 return h_errno; |
7762 ; return 0; } | 7774 ; return 0; } |
7763 EOF | 7775 EOF |
7764 if { (eval echo configure:7765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7776 if { (eval echo configure:7777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7765 rm -rf conftest* | 7777 rm -rf conftest* |
7766 echo "$ac_t""yes" 1>&6 | 7778 echo "$ac_t""yes" 1>&6 |
7767 { test "$extra_verbose" = "yes" && cat << \EOF | 7779 { test "$extra_verbose" = "yes" && cat << \EOF |
7768 Defining HAVE_H_ERRNO | 7780 Defining HAVE_H_ERRNO |
7769 EOF | 7781 EOF |
7779 echo "$ac_t""no" 1>&6 | 7791 echo "$ac_t""no" 1>&6 |
7780 fi | 7792 fi |
7781 rm -f conftest* | 7793 rm -f conftest* |
7782 | 7794 |
7783 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7795 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7784 echo "configure:7785: checking for sigsetjmp" >&5 | 7796 echo "configure:7797: checking for sigsetjmp" >&5 |
7785 cat > conftest.$ac_ext <<EOF | 7797 cat > conftest.$ac_ext <<EOF |
7786 #line 7787 "configure" | 7798 #line 7799 "configure" |
7787 #include "confdefs.h" | 7799 #include "confdefs.h" |
7788 #include <setjmp.h> | 7800 #include <setjmp.h> |
7789 int main() { | 7801 int main() { |
7790 sigjmp_buf bar; sigsetjmp (bar, 0); | 7802 sigjmp_buf bar; sigsetjmp (bar, 0); |
7791 ; return 0; } | 7803 ; return 0; } |
7792 EOF | 7804 EOF |
7793 if { (eval echo configure:7794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7805 if { (eval echo configure:7806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7794 rm -rf conftest* | 7806 rm -rf conftest* |
7795 echo "$ac_t""yes" 1>&6 | 7807 echo "$ac_t""yes" 1>&6 |
7796 { test "$extra_verbose" = "yes" && cat << \EOF | 7808 { test "$extra_verbose" = "yes" && cat << \EOF |
7797 Defining HAVE_SIGSETJMP | 7809 Defining HAVE_SIGSETJMP |
7798 EOF | 7810 EOF |
7808 echo "$ac_t""no" 1>&6 | 7820 echo "$ac_t""no" 1>&6 |
7809 fi | 7821 fi |
7810 rm -f conftest* | 7822 rm -f conftest* |
7811 | 7823 |
7812 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7824 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7813 echo "configure:7814: checking whether localtime caches TZ" >&5 | 7825 echo "configure:7826: checking whether localtime caches TZ" >&5 |
7814 | 7826 |
7815 if test "$ac_cv_func_tzset" = "yes"; then | 7827 if test "$ac_cv_func_tzset" = "yes"; then |
7816 cat > conftest.$ac_ext <<EOF | 7828 cat > conftest.$ac_ext <<EOF |
7817 #line 7818 "configure" | 7829 #line 7830 "configure" |
7818 #include "confdefs.h" | 7830 #include "confdefs.h" |
7819 #include <time.h> | 7831 #include <time.h> |
7820 #if STDC_HEADERS | 7832 #if STDC_HEADERS |
7821 # include <stdlib.h> | 7833 # include <stdlib.h> |
7822 #endif | 7834 #endif |
7847 if (localtime (&now)->tm_hour != hour_unset) | 7859 if (localtime (&now)->tm_hour != hour_unset) |
7848 exit (1); | 7860 exit (1); |
7849 exit (0); | 7861 exit (0); |
7850 } | 7862 } |
7851 EOF | 7863 EOF |
7852 if { (eval echo configure:7853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7864 if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7853 then | 7865 then |
7854 emacs_cv_localtime_cache=no | 7866 emacs_cv_localtime_cache=no |
7855 else | 7867 else |
7856 echo "configure: failed program was:" >&5 | 7868 echo "configure: failed program was:" >&5 |
7857 cat conftest.$ac_ext >&5 | 7869 cat conftest.$ac_ext >&5 |
7876 | 7888 |
7877 fi | 7889 fi |
7878 | 7890 |
7879 if test "$HAVE_TIMEVAL" = "yes"; then | 7891 if test "$HAVE_TIMEVAL" = "yes"; then |
7880 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7892 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7881 echo "configure:7882: checking whether gettimeofday cannot accept two arguments" >&5 | 7893 echo "configure:7894: checking whether gettimeofday cannot accept two arguments" >&5 |
7882 cat > conftest.$ac_ext <<EOF | 7894 cat > conftest.$ac_ext <<EOF |
7883 #line 7884 "configure" | 7895 #line 7896 "configure" |
7884 #include "confdefs.h" | 7896 #include "confdefs.h" |
7885 | 7897 |
7886 #ifdef TIME_WITH_SYS_TIME | 7898 #ifdef TIME_WITH_SYS_TIME |
7887 #include <sys/time.h> | 7899 #include <sys/time.h> |
7888 #include <time.h> | 7900 #include <time.h> |
7900 struct timezone dummy; | 7912 struct timezone dummy; |
7901 gettimeofday (&time, &dummy); | 7913 gettimeofday (&time, &dummy); |
7902 | 7914 |
7903 ; return 0; } | 7915 ; return 0; } |
7904 EOF | 7916 EOF |
7905 if { (eval echo configure:7906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7917 if { (eval echo configure:7918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7906 rm -rf conftest* | 7918 rm -rf conftest* |
7907 echo "$ac_t""no" 1>&6 | 7919 echo "$ac_t""no" 1>&6 |
7908 else | 7920 else |
7909 echo "configure: failed program was:" >&5 | 7921 echo "configure: failed program was:" >&5 |
7910 cat conftest.$ac_ext >&5 | 7922 cat conftest.$ac_ext >&5 |
7922 rm -f conftest* | 7934 rm -f conftest* |
7923 fi | 7935 fi |
7924 | 7936 |
7925 | 7937 |
7926 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7938 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7927 echo "configure:7928: checking for inline" >&5 | 7939 echo "configure:7940: checking for inline" >&5 |
7928 | 7940 |
7929 ac_cv_c_inline=no | 7941 ac_cv_c_inline=no |
7930 for ac_kw in inline __inline__ __inline; do | 7942 for ac_kw in inline __inline__ __inline; do |
7931 cat > conftest.$ac_ext <<EOF | 7943 cat > conftest.$ac_ext <<EOF |
7932 #line 7933 "configure" | 7944 #line 7945 "configure" |
7933 #include "confdefs.h" | 7945 #include "confdefs.h" |
7934 | 7946 |
7935 int main() { | 7947 int main() { |
7936 } $ac_kw foo() { | 7948 } $ac_kw foo() { |
7937 ; return 0; } | 7949 ; return 0; } |
7938 EOF | 7950 EOF |
7939 if { (eval echo configure:7940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7951 if { (eval echo configure:7952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7940 rm -rf conftest* | 7952 rm -rf conftest* |
7941 ac_cv_c_inline=$ac_kw; break | 7953 ac_cv_c_inline=$ac_kw; break |
7942 else | 7954 else |
7943 echo "configure: failed program was:" >&5 | 7955 echo "configure: failed program was:" >&5 |
7944 cat conftest.$ac_ext >&5 | 7956 cat conftest.$ac_ext >&5 |
7984 | 7996 |
7985 | 7997 |
7986 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7998 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7987 # for constant arguments. Useless! | 7999 # for constant arguments. Useless! |
7988 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8000 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7989 echo "configure:7990: checking for working alloca.h" >&5 | 8001 echo "configure:8002: checking for working alloca.h" >&5 |
7990 | 8002 |
7991 cat > conftest.$ac_ext <<EOF | 8003 cat > conftest.$ac_ext <<EOF |
7992 #line 7993 "configure" | 8004 #line 8005 "configure" |
7993 #include "confdefs.h" | 8005 #include "confdefs.h" |
7994 #include <alloca.h> | 8006 #include <alloca.h> |
7995 int main() { | 8007 int main() { |
7996 char *p = alloca(2 * sizeof(int)); | 8008 char *p = alloca(2 * sizeof(int)); |
7997 ; return 0; } | 8009 ; return 0; } |
7998 EOF | 8010 EOF |
7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8011 if { (eval echo configure:8012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8000 rm -rf conftest* | 8012 rm -rf conftest* |
8001 ac_cv_header_alloca_h=yes | 8013 ac_cv_header_alloca_h=yes |
8002 else | 8014 else |
8003 echo "configure: failed program was:" >&5 | 8015 echo "configure: failed program was:" >&5 |
8004 cat conftest.$ac_ext >&5 | 8016 cat conftest.$ac_ext >&5 |
8018 } | 8030 } |
8019 | 8031 |
8020 fi | 8032 fi |
8021 | 8033 |
8022 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8034 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8023 echo "configure:8024: checking for alloca" >&5 | 8035 echo "configure:8036: checking for alloca" >&5 |
8024 | 8036 |
8025 cat > conftest.$ac_ext <<EOF | 8037 cat > conftest.$ac_ext <<EOF |
8026 #line 8027 "configure" | 8038 #line 8039 "configure" |
8027 #include "confdefs.h" | 8039 #include "confdefs.h" |
8028 | 8040 |
8029 #ifdef __GNUC__ | 8041 #ifdef __GNUC__ |
8030 # define alloca __builtin_alloca | 8042 # define alloca __builtin_alloca |
8031 #else | 8043 #else |
8044 | 8056 |
8045 int main() { | 8057 int main() { |
8046 char *p = (char *) alloca(1); | 8058 char *p = (char *) alloca(1); |
8047 ; return 0; } | 8059 ; return 0; } |
8048 EOF | 8060 EOF |
8049 if { (eval echo configure:8050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8050 rm -rf conftest* | 8062 rm -rf conftest* |
8051 ac_cv_func_alloca_works=yes | 8063 ac_cv_func_alloca_works=yes |
8052 else | 8064 else |
8053 echo "configure: failed program was:" >&5 | 8065 echo "configure: failed program was:" >&5 |
8054 cat conftest.$ac_ext >&5 | 8066 cat conftest.$ac_ext >&5 |
8083 EOF | 8095 EOF |
8084 } | 8096 } |
8085 | 8097 |
8086 | 8098 |
8087 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8099 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8088 echo "configure:8089: checking whether alloca needs Cray hooks" >&5 | 8100 echo "configure:8101: checking whether alloca needs Cray hooks" >&5 |
8089 | 8101 |
8090 cat > conftest.$ac_ext <<EOF | 8102 cat > conftest.$ac_ext <<EOF |
8091 #line 8092 "configure" | 8103 #line 8104 "configure" |
8092 #include "confdefs.h" | 8104 #include "confdefs.h" |
8093 #if defined(CRAY) && ! defined(CRAY2) | 8105 #if defined(CRAY) && ! defined(CRAY2) |
8094 webecray | 8106 webecray |
8095 #else | 8107 #else |
8096 wenotbecray | 8108 wenotbecray |
8110 | 8122 |
8111 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8123 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8112 if test $ac_cv_os_cray = yes; then | 8124 if test $ac_cv_os_cray = yes; then |
8113 for ac_func in _getb67 GETB67 getb67; do | 8125 for ac_func in _getb67 GETB67 getb67; do |
8114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8115 echo "configure:8116: checking for $ac_func" >&5 | 8127 echo "configure:8128: checking for $ac_func" >&5 |
8116 | 8128 |
8117 cat > conftest.$ac_ext <<EOF | 8129 cat > conftest.$ac_ext <<EOF |
8118 #line 8119 "configure" | 8130 #line 8131 "configure" |
8119 #include "confdefs.h" | 8131 #include "confdefs.h" |
8120 /* System header to define __stub macros and hopefully few prototypes, | 8132 /* System header to define __stub macros and hopefully few prototypes, |
8121 which can conflict with char $ac_func(); below. */ | 8133 which can conflict with char $ac_func(); below. */ |
8122 #include <assert.h> | 8134 #include <assert.h> |
8123 /* Override any gcc2 internal prototype to avoid an error. */ | 8135 /* Override any gcc2 internal prototype to avoid an error. */ |
8136 $ac_func(); | 8148 $ac_func(); |
8137 #endif | 8149 #endif |
8138 | 8150 |
8139 ; return 0; } | 8151 ; return 0; } |
8140 EOF | 8152 EOF |
8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8153 if { (eval echo configure:8154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8142 rm -rf conftest* | 8154 rm -rf conftest* |
8143 eval "ac_cv_func_$ac_func=yes" | 8155 eval "ac_cv_func_$ac_func=yes" |
8144 else | 8156 else |
8145 echo "configure: failed program was:" >&5 | 8157 echo "configure: failed program was:" >&5 |
8146 cat conftest.$ac_ext >&5 | 8158 cat conftest.$ac_ext >&5 |
8166 | 8178 |
8167 done | 8179 done |
8168 fi | 8180 fi |
8169 | 8181 |
8170 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8182 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8171 echo "configure:8172: checking stack direction for C alloca" >&5 | 8183 echo "configure:8184: checking stack direction for C alloca" >&5 |
8172 | 8184 |
8173 cat > conftest.$ac_ext <<EOF | 8185 cat > conftest.$ac_ext <<EOF |
8174 #line 8175 "configure" | 8186 #line 8187 "configure" |
8175 #include "confdefs.h" | 8187 #include "confdefs.h" |
8176 find_stack_direction () | 8188 find_stack_direction () |
8177 { | 8189 { |
8178 static char *addr = 0; | 8190 static char *addr = 0; |
8179 auto char dummy; | 8191 auto char dummy; |
8188 main () | 8200 main () |
8189 { | 8201 { |
8190 exit (find_stack_direction() < 0); | 8202 exit (find_stack_direction() < 0); |
8191 } | 8203 } |
8192 EOF | 8204 EOF |
8193 if { (eval echo configure:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8205 if { (eval echo configure:8206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8194 then | 8206 then |
8195 ac_cv_c_stack_direction=1 | 8207 ac_cv_c_stack_direction=1 |
8196 else | 8208 else |
8197 echo "configure: failed program was:" >&5 | 8209 echo "configure: failed program was:" >&5 |
8198 cat conftest.$ac_ext >&5 | 8210 cat conftest.$ac_ext >&5 |
8216 echo " xemacs will be linked with \"$ALLOCA\"" | 8228 echo " xemacs will be linked with \"$ALLOCA\"" |
8217 fi | 8229 fi |
8218 | 8230 |
8219 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8231 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8220 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8232 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8221 echo "configure:8222: checking for vfork.h" >&5 | 8233 echo "configure:8234: checking for vfork.h" >&5 |
8222 | 8234 |
8223 cat > conftest.$ac_ext <<EOF | 8235 cat > conftest.$ac_ext <<EOF |
8224 #line 8225 "configure" | 8236 #line 8237 "configure" |
8225 #include "confdefs.h" | 8237 #include "confdefs.h" |
8226 #include <vfork.h> | 8238 #include <vfork.h> |
8227 EOF | 8239 EOF |
8228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8229 { (eval echo configure:8230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8241 { (eval echo configure:8242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8230 ac_err=`grep -v '^ *+' conftest.out` | 8242 ac_err=`grep -v '^ *+' conftest.out` |
8231 if test -z "$ac_err"; then | 8243 if test -z "$ac_err"; then |
8232 rm -rf conftest* | 8244 rm -rf conftest* |
8233 eval "ac_cv_header_$ac_safe=yes" | 8245 eval "ac_cv_header_$ac_safe=yes" |
8234 else | 8246 else |
8252 else | 8264 else |
8253 echo "$ac_t""no" 1>&6 | 8265 echo "$ac_t""no" 1>&6 |
8254 fi | 8266 fi |
8255 | 8267 |
8256 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8268 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8257 echo "configure:8258: checking for working vfork" >&5 | 8269 echo "configure:8270: checking for working vfork" >&5 |
8258 | 8270 |
8259 cat > conftest.$ac_ext <<EOF | 8271 cat > conftest.$ac_ext <<EOF |
8260 #line 8261 "configure" | 8272 #line 8273 "configure" |
8261 #include "confdefs.h" | 8273 #include "confdefs.h" |
8262 /* Thanks to Paul Eggert for this test. */ | 8274 /* Thanks to Paul Eggert for this test. */ |
8263 #include <stdio.h> | 8275 #include <stdio.h> |
8264 #include <sys/types.h> | 8276 #include <sys/types.h> |
8265 #include <sys/stat.h> | 8277 #include <sys/stat.h> |
8350 || fstat(fileno(stdout), &st) != 0 | 8362 || fstat(fileno(stdout), &st) != 0 |
8351 ); | 8363 ); |
8352 } | 8364 } |
8353 } | 8365 } |
8354 EOF | 8366 EOF |
8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8356 then | 8368 then |
8357 ac_cv_func_vfork_works=yes | 8369 ac_cv_func_vfork_works=yes |
8358 else | 8370 else |
8359 echo "configure: failed program was:" >&5 | 8371 echo "configure: failed program was:" >&5 |
8360 cat conftest.$ac_ext >&5 | 8372 cat conftest.$ac_ext >&5 |
8375 | 8387 |
8376 fi | 8388 fi |
8377 | 8389 |
8378 | 8390 |
8379 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8391 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8380 echo "configure:8381: checking for working strcoll" >&5 | 8392 echo "configure:8393: checking for working strcoll" >&5 |
8381 | 8393 |
8382 cat > conftest.$ac_ext <<EOF | 8394 cat > conftest.$ac_ext <<EOF |
8383 #line 8384 "configure" | 8395 #line 8396 "configure" |
8384 #include "confdefs.h" | 8396 #include "confdefs.h" |
8385 #include <string.h> | 8397 #include <string.h> |
8386 main () | 8398 main () |
8387 { | 8399 { |
8388 exit (strcoll ("abc", "def") >= 0 || | 8400 exit (strcoll ("abc", "def") >= 0 || |
8389 strcoll ("ABC", "DEF") >= 0 || | 8401 strcoll ("ABC", "DEF") >= 0 || |
8390 strcoll ("123", "456") >= 0); | 8402 strcoll ("123", "456") >= 0); |
8391 } | 8403 } |
8392 EOF | 8404 EOF |
8393 if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8405 if { (eval echo configure:8406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8394 then | 8406 then |
8395 ac_cv_func_strcoll_works=yes | 8407 ac_cv_func_strcoll_works=yes |
8396 else | 8408 else |
8397 echo "configure: failed program was:" >&5 | 8409 echo "configure: failed program was:" >&5 |
8398 cat conftest.$ac_ext >&5 | 8410 cat conftest.$ac_ext >&5 |
8415 | 8427 |
8416 | 8428 |
8417 for ac_func in getpgrp | 8429 for ac_func in getpgrp |
8418 do | 8430 do |
8419 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8420 echo "configure:8421: checking for $ac_func" >&5 | 8432 echo "configure:8433: checking for $ac_func" >&5 |
8421 | 8433 |
8422 cat > conftest.$ac_ext <<EOF | 8434 cat > conftest.$ac_ext <<EOF |
8423 #line 8424 "configure" | 8435 #line 8436 "configure" |
8424 #include "confdefs.h" | 8436 #include "confdefs.h" |
8425 /* System header to define __stub macros and hopefully few prototypes, | 8437 /* System header to define __stub macros and hopefully few prototypes, |
8426 which can conflict with char $ac_func(); below. */ | 8438 which can conflict with char $ac_func(); below. */ |
8427 #include <assert.h> | 8439 #include <assert.h> |
8428 /* Override any gcc2 internal prototype to avoid an error. */ | 8440 /* Override any gcc2 internal prototype to avoid an error. */ |
8441 $ac_func(); | 8453 $ac_func(); |
8442 #endif | 8454 #endif |
8443 | 8455 |
8444 ; return 0; } | 8456 ; return 0; } |
8445 EOF | 8457 EOF |
8446 if { (eval echo configure:8447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8458 if { (eval echo configure:8459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8447 rm -rf conftest* | 8459 rm -rf conftest* |
8448 eval "ac_cv_func_$ac_func=yes" | 8460 eval "ac_cv_func_$ac_func=yes" |
8449 else | 8461 else |
8450 echo "configure: failed program was:" >&5 | 8462 echo "configure: failed program was:" >&5 |
8451 cat conftest.$ac_ext >&5 | 8463 cat conftest.$ac_ext >&5 |
8469 echo "$ac_t""no" 1>&6 | 8481 echo "$ac_t""no" 1>&6 |
8470 fi | 8482 fi |
8471 done | 8483 done |
8472 | 8484 |
8473 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8485 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8474 echo "configure:8475: checking whether getpgrp takes no argument" >&5 | 8486 echo "configure:8487: checking whether getpgrp takes no argument" >&5 |
8475 | 8487 |
8476 cat > conftest.$ac_ext <<EOF | 8488 cat > conftest.$ac_ext <<EOF |
8477 #line 8478 "configure" | 8489 #line 8490 "configure" |
8478 #include "confdefs.h" | 8490 #include "confdefs.h" |
8479 | 8491 |
8480 /* | 8492 /* |
8481 * If this system has a BSD-style getpgrp(), | 8493 * If this system has a BSD-style getpgrp(), |
8482 * which takes a pid argument, exit unsuccessfully. | 8494 * which takes a pid argument, exit unsuccessfully. |
8527 exit(s>>8); | 8539 exit(s>>8); |
8528 } | 8540 } |
8529 } | 8541 } |
8530 | 8542 |
8531 EOF | 8543 EOF |
8532 if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8544 if { (eval echo configure:8545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8533 then | 8545 then |
8534 ac_cv_func_getpgrp_void=yes | 8546 ac_cv_func_getpgrp_void=yes |
8535 else | 8547 else |
8536 echo "configure: failed program was:" >&5 | 8548 echo "configure: failed program was:" >&5 |
8537 cat conftest.$ac_ext >&5 | 8549 cat conftest.$ac_ext >&5 |
8553 | 8565 |
8554 fi | 8566 fi |
8555 | 8567 |
8556 | 8568 |
8557 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8569 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8558 echo "configure:8559: checking for working mmap" >&5 | 8570 echo "configure:8571: checking for working mmap" >&5 |
8559 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8571 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8560 cat > conftest.$ac_ext <<EOF | 8572 cat > conftest.$ac_ext <<EOF |
8561 #line 8562 "configure" | 8573 #line 8574 "configure" |
8562 #include "confdefs.h" | 8574 #include "confdefs.h" |
8563 #include <stdio.h> | 8575 #include <stdio.h> |
8564 #include <unistd.h> | 8576 #include <unistd.h> |
8565 #include <fcntl.h> | 8577 #include <fcntl.h> |
8566 #include <sys/mman.h> | 8578 #include <sys/mman.h> |
8589 return 0; | 8601 return 0; |
8590 perror ("conftest: mmap failed"); | 8602 perror ("conftest: mmap failed"); |
8591 return 1; | 8603 return 1; |
8592 } | 8604 } |
8593 EOF | 8605 EOF |
8594 if { (eval echo configure:8595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8606 if { (eval echo configure:8607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8595 then | 8607 then |
8596 have_mmap=yes | 8608 have_mmap=yes |
8597 else | 8609 else |
8598 echo "configure: failed program was:" >&5 | 8610 echo "configure: failed program was:" >&5 |
8599 cat conftest.$ac_ext >&5 | 8611 cat conftest.$ac_ext >&5 |
8623 } | 8635 } |
8624 | 8636 |
8625 | 8637 |
8626 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8638 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8627 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8639 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8628 echo "configure:8629: checking for termios.h" >&5 | 8640 echo "configure:8641: checking for termios.h" >&5 |
8629 | 8641 |
8630 cat > conftest.$ac_ext <<EOF | 8642 cat > conftest.$ac_ext <<EOF |
8631 #line 8632 "configure" | 8643 #line 8644 "configure" |
8632 #include "confdefs.h" | 8644 #include "confdefs.h" |
8633 #include <termios.h> | 8645 #include <termios.h> |
8634 EOF | 8646 EOF |
8635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8636 { (eval echo configure:8637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8648 { (eval echo configure:8649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8637 ac_err=`grep -v '^ *+' conftest.out` | 8649 ac_err=`grep -v '^ *+' conftest.out` |
8638 if test -z "$ac_err"; then | 8650 if test -z "$ac_err"; then |
8639 rm -rf conftest* | 8651 rm -rf conftest* |
8640 eval "ac_cv_header_$ac_safe=yes" | 8652 eval "ac_cv_header_$ac_safe=yes" |
8641 else | 8653 else |
8674 | 8686 |
8675 else | 8687 else |
8676 echo "$ac_t""no" 1>&6 | 8688 echo "$ac_t""no" 1>&6 |
8677 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8689 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8678 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8690 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8679 echo "configure:8680: checking for termio.h" >&5 | 8691 echo "configure:8692: checking for termio.h" >&5 |
8680 | 8692 |
8681 cat > conftest.$ac_ext <<EOF | 8693 cat > conftest.$ac_ext <<EOF |
8682 #line 8683 "configure" | 8694 #line 8695 "configure" |
8683 #include "confdefs.h" | 8695 #include "confdefs.h" |
8684 #include <termio.h> | 8696 #include <termio.h> |
8685 EOF | 8697 EOF |
8686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8687 { (eval echo configure:8688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8688 ac_err=`grep -v '^ *+' conftest.out` | 8700 ac_err=`grep -v '^ *+' conftest.out` |
8689 if test -z "$ac_err"; then | 8701 if test -z "$ac_err"; then |
8690 rm -rf conftest* | 8702 rm -rf conftest* |
8691 eval "ac_cv_header_$ac_safe=yes" | 8703 eval "ac_cv_header_$ac_safe=yes" |
8692 else | 8704 else |
8714 fi | 8726 fi |
8715 | 8727 |
8716 | 8728 |
8717 | 8729 |
8718 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8719 echo "configure:8720: checking for socket" >&5 | 8731 echo "configure:8732: checking for socket" >&5 |
8720 | 8732 |
8721 cat > conftest.$ac_ext <<EOF | 8733 cat > conftest.$ac_ext <<EOF |
8722 #line 8723 "configure" | 8734 #line 8735 "configure" |
8723 #include "confdefs.h" | 8735 #include "confdefs.h" |
8724 /* System header to define __stub macros and hopefully few prototypes, | 8736 /* System header to define __stub macros and hopefully few prototypes, |
8725 which can conflict with char socket(); below. */ | 8737 which can conflict with char socket(); below. */ |
8726 #include <assert.h> | 8738 #include <assert.h> |
8727 /* Override any gcc2 internal prototype to avoid an error. */ | 8739 /* Override any gcc2 internal prototype to avoid an error. */ |
8740 socket(); | 8752 socket(); |
8741 #endif | 8753 #endif |
8742 | 8754 |
8743 ; return 0; } | 8755 ; return 0; } |
8744 EOF | 8756 EOF |
8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8757 if { (eval echo configure:8758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8746 rm -rf conftest* | 8758 rm -rf conftest* |
8747 eval "ac_cv_func_socket=yes" | 8759 eval "ac_cv_func_socket=yes" |
8748 else | 8760 else |
8749 echo "configure: failed program was:" >&5 | 8761 echo "configure: failed program was:" >&5 |
8750 cat conftest.$ac_ext >&5 | 8762 cat conftest.$ac_ext >&5 |
8755 | 8767 |
8756 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8768 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8757 echo "$ac_t""yes" 1>&6 | 8769 echo "$ac_t""yes" 1>&6 |
8758 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8770 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8759 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8771 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8760 echo "configure:8761: checking for netinet/in.h" >&5 | 8772 echo "configure:8773: checking for netinet/in.h" >&5 |
8761 | 8773 |
8762 cat > conftest.$ac_ext <<EOF | 8774 cat > conftest.$ac_ext <<EOF |
8763 #line 8764 "configure" | 8775 #line 8776 "configure" |
8764 #include "confdefs.h" | 8776 #include "confdefs.h" |
8765 #include <netinet/in.h> | 8777 #include <netinet/in.h> |
8766 EOF | 8778 EOF |
8767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8768 { (eval echo configure:8769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8780 { (eval echo configure:8781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8769 ac_err=`grep -v '^ *+' conftest.out` | 8781 ac_err=`grep -v '^ *+' conftest.out` |
8770 if test -z "$ac_err"; then | 8782 if test -z "$ac_err"; then |
8771 rm -rf conftest* | 8783 rm -rf conftest* |
8772 eval "ac_cv_header_$ac_safe=yes" | 8784 eval "ac_cv_header_$ac_safe=yes" |
8773 else | 8785 else |
8780 rm -f conftest* | 8792 rm -f conftest* |
8781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8782 echo "$ac_t""yes" 1>&6 | 8794 echo "$ac_t""yes" 1>&6 |
8783 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8795 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8784 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8796 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8785 echo "configure:8786: checking for arpa/inet.h" >&5 | 8797 echo "configure:8798: checking for arpa/inet.h" >&5 |
8786 | 8798 |
8787 cat > conftest.$ac_ext <<EOF | 8799 cat > conftest.$ac_ext <<EOF |
8788 #line 8789 "configure" | 8800 #line 8801 "configure" |
8789 #include "confdefs.h" | 8801 #include "confdefs.h" |
8790 #include <arpa/inet.h> | 8802 #include <arpa/inet.h> |
8791 EOF | 8803 EOF |
8792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8793 { (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8805 { (eval echo configure:8806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8794 ac_err=`grep -v '^ *+' conftest.out` | 8806 ac_err=`grep -v '^ *+' conftest.out` |
8795 if test -z "$ac_err"; then | 8807 if test -z "$ac_err"; then |
8796 rm -rf conftest* | 8808 rm -rf conftest* |
8797 eval "ac_cv_header_$ac_safe=yes" | 8809 eval "ac_cv_header_$ac_safe=yes" |
8798 else | 8810 else |
8813 #define HAVE_SOCKETS 1 | 8825 #define HAVE_SOCKETS 1 |
8814 EOF | 8826 EOF |
8815 } | 8827 } |
8816 | 8828 |
8817 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8829 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8818 echo "configure:8819: checking "for sun_len member in struct sockaddr_un"" >&5 | 8830 echo "configure:8831: checking "for sun_len member in struct sockaddr_un"" >&5 |
8819 cat > conftest.$ac_ext <<EOF | 8831 cat > conftest.$ac_ext <<EOF |
8820 #line 8821 "configure" | 8832 #line 8833 "configure" |
8821 #include "confdefs.h" | 8833 #include "confdefs.h" |
8822 | 8834 |
8823 #include <sys/types.h> | 8835 #include <sys/types.h> |
8824 #include <sys/socket.h> | 8836 #include <sys/socket.h> |
8825 #include <sys/un.h> | 8837 #include <sys/un.h> |
8826 | 8838 |
8827 int main() { | 8839 int main() { |
8828 static struct sockaddr_un x; x.sun_len = 1; | 8840 static struct sockaddr_un x; x.sun_len = 1; |
8829 ; return 0; } | 8841 ; return 0; } |
8830 EOF | 8842 EOF |
8831 if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8843 if { (eval echo configure:8844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8832 rm -rf conftest* | 8844 rm -rf conftest* |
8833 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8845 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8834 Defining HAVE_SOCKADDR_SUN_LEN | 8846 Defining HAVE_SOCKADDR_SUN_LEN |
8835 EOF | 8847 EOF |
8836 cat >> confdefs.h <<\EOF | 8848 cat >> confdefs.h <<\EOF |
8844 rm -rf conftest* | 8856 rm -rf conftest* |
8845 echo "$ac_t""no" 1>&6 | 8857 echo "$ac_t""no" 1>&6 |
8846 fi | 8858 fi |
8847 rm -f conftest* | 8859 rm -f conftest* |
8848 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 8860 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
8849 echo "configure:8850: checking "for ip_mreq struct in netinet/in.h"" >&5 | 8861 echo "configure:8862: checking "for ip_mreq struct in netinet/in.h"" >&5 |
8850 cat > conftest.$ac_ext <<EOF | 8862 cat > conftest.$ac_ext <<EOF |
8851 #line 8852 "configure" | 8863 #line 8864 "configure" |
8852 #include "confdefs.h" | 8864 #include "confdefs.h" |
8853 | 8865 |
8854 #include <netinet/in.h> | 8866 #include <netinet/in.h> |
8855 | 8867 |
8856 int main() { | 8868 int main() { |
8857 static struct ip_mreq x; | 8869 static struct ip_mreq x; |
8858 ; return 0; } | 8870 ; return 0; } |
8859 EOF | 8871 EOF |
8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8861 rm -rf conftest* | 8873 rm -rf conftest* |
8862 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8874 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8863 Defining HAVE_MULTICAST | 8875 Defining HAVE_MULTICAST |
8864 EOF | 8876 EOF |
8865 cat >> confdefs.h <<\EOF | 8877 cat >> confdefs.h <<\EOF |
8886 echo "$ac_t""no" 1>&6 | 8898 echo "$ac_t""no" 1>&6 |
8887 fi | 8899 fi |
8888 | 8900 |
8889 | 8901 |
8890 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8902 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8891 echo "configure:8892: checking for msgget" >&5 | 8903 echo "configure:8904: checking for msgget" >&5 |
8892 | 8904 |
8893 cat > conftest.$ac_ext <<EOF | 8905 cat > conftest.$ac_ext <<EOF |
8894 #line 8895 "configure" | 8906 #line 8907 "configure" |
8895 #include "confdefs.h" | 8907 #include "confdefs.h" |
8896 /* System header to define __stub macros and hopefully few prototypes, | 8908 /* System header to define __stub macros and hopefully few prototypes, |
8897 which can conflict with char msgget(); below. */ | 8909 which can conflict with char msgget(); below. */ |
8898 #include <assert.h> | 8910 #include <assert.h> |
8899 /* Override any gcc2 internal prototype to avoid an error. */ | 8911 /* Override any gcc2 internal prototype to avoid an error. */ |
8912 msgget(); | 8924 msgget(); |
8913 #endif | 8925 #endif |
8914 | 8926 |
8915 ; return 0; } | 8927 ; return 0; } |
8916 EOF | 8928 EOF |
8917 if { (eval echo configure:8918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8929 if { (eval echo configure:8930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8918 rm -rf conftest* | 8930 rm -rf conftest* |
8919 eval "ac_cv_func_msgget=yes" | 8931 eval "ac_cv_func_msgget=yes" |
8920 else | 8932 else |
8921 echo "configure: failed program was:" >&5 | 8933 echo "configure: failed program was:" >&5 |
8922 cat conftest.$ac_ext >&5 | 8934 cat conftest.$ac_ext >&5 |
8927 | 8939 |
8928 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8940 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8929 echo "$ac_t""yes" 1>&6 | 8941 echo "$ac_t""yes" 1>&6 |
8930 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8942 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8931 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8943 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8932 echo "configure:8933: checking for sys/ipc.h" >&5 | 8944 echo "configure:8945: checking for sys/ipc.h" >&5 |
8933 | 8945 |
8934 cat > conftest.$ac_ext <<EOF | 8946 cat > conftest.$ac_ext <<EOF |
8935 #line 8936 "configure" | 8947 #line 8948 "configure" |
8936 #include "confdefs.h" | 8948 #include "confdefs.h" |
8937 #include <sys/ipc.h> | 8949 #include <sys/ipc.h> |
8938 EOF | 8950 EOF |
8939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8940 { (eval echo configure:8941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8952 { (eval echo configure:8953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8941 ac_err=`grep -v '^ *+' conftest.out` | 8953 ac_err=`grep -v '^ *+' conftest.out` |
8942 if test -z "$ac_err"; then | 8954 if test -z "$ac_err"; then |
8943 rm -rf conftest* | 8955 rm -rf conftest* |
8944 eval "ac_cv_header_$ac_safe=yes" | 8956 eval "ac_cv_header_$ac_safe=yes" |
8945 else | 8957 else |
8952 rm -f conftest* | 8964 rm -f conftest* |
8953 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8954 echo "$ac_t""yes" 1>&6 | 8966 echo "$ac_t""yes" 1>&6 |
8955 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8967 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8956 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8968 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8957 echo "configure:8958: checking for sys/msg.h" >&5 | 8969 echo "configure:8970: checking for sys/msg.h" >&5 |
8958 | 8970 |
8959 cat > conftest.$ac_ext <<EOF | 8971 cat > conftest.$ac_ext <<EOF |
8960 #line 8961 "configure" | 8972 #line 8973 "configure" |
8961 #include "confdefs.h" | 8973 #include "confdefs.h" |
8962 #include <sys/msg.h> | 8974 #include <sys/msg.h> |
8963 EOF | 8975 EOF |
8964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8965 { (eval echo configure:8966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8977 { (eval echo configure:8978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8966 ac_err=`grep -v '^ *+' conftest.out` | 8978 ac_err=`grep -v '^ *+' conftest.out` |
8967 if test -z "$ac_err"; then | 8979 if test -z "$ac_err"; then |
8968 rm -rf conftest* | 8980 rm -rf conftest* |
8969 eval "ac_cv_header_$ac_safe=yes" | 8981 eval "ac_cv_header_$ac_safe=yes" |
8970 else | 8982 else |
8998 fi | 9010 fi |
8999 | 9011 |
9000 | 9012 |
9001 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9013 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9002 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9014 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9003 echo "configure:9004: checking for dirent.h" >&5 | 9015 echo "configure:9016: checking for dirent.h" >&5 |
9004 | 9016 |
9005 cat > conftest.$ac_ext <<EOF | 9017 cat > conftest.$ac_ext <<EOF |
9006 #line 9007 "configure" | 9018 #line 9019 "configure" |
9007 #include "confdefs.h" | 9019 #include "confdefs.h" |
9008 #include <dirent.h> | 9020 #include <dirent.h> |
9009 EOF | 9021 EOF |
9010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9011 { (eval echo configure:9012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9023 { (eval echo configure:9024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9012 ac_err=`grep -v '^ *+' conftest.out` | 9024 ac_err=`grep -v '^ *+' conftest.out` |
9013 if test -z "$ac_err"; then | 9025 if test -z "$ac_err"; then |
9014 rm -rf conftest* | 9026 rm -rf conftest* |
9015 eval "ac_cv_header_$ac_safe=yes" | 9027 eval "ac_cv_header_$ac_safe=yes" |
9016 else | 9028 else |
9033 | 9045 |
9034 else | 9046 else |
9035 echo "$ac_t""no" 1>&6 | 9047 echo "$ac_t""no" 1>&6 |
9036 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9048 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9037 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9049 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9038 echo "configure:9039: checking for sys/dir.h" >&5 | 9050 echo "configure:9051: checking for sys/dir.h" >&5 |
9039 | 9051 |
9040 cat > conftest.$ac_ext <<EOF | 9052 cat > conftest.$ac_ext <<EOF |
9041 #line 9042 "configure" | 9053 #line 9054 "configure" |
9042 #include "confdefs.h" | 9054 #include "confdefs.h" |
9043 #include <sys/dir.h> | 9055 #include <sys/dir.h> |
9044 EOF | 9056 EOF |
9045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9046 { (eval echo configure:9047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9058 { (eval echo configure:9059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9047 ac_err=`grep -v '^ *+' conftest.out` | 9059 ac_err=`grep -v '^ *+' conftest.out` |
9048 if test -z "$ac_err"; then | 9060 if test -z "$ac_err"; then |
9049 rm -rf conftest* | 9061 rm -rf conftest* |
9050 eval "ac_cv_header_$ac_safe=yes" | 9062 eval "ac_cv_header_$ac_safe=yes" |
9051 else | 9063 else |
9074 fi | 9086 fi |
9075 | 9087 |
9076 | 9088 |
9077 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9089 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9078 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9090 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9079 echo "configure:9080: checking for nlist.h" >&5 | 9091 echo "configure:9092: checking for nlist.h" >&5 |
9080 | 9092 |
9081 cat > conftest.$ac_ext <<EOF | 9093 cat > conftest.$ac_ext <<EOF |
9082 #line 9083 "configure" | 9094 #line 9095 "configure" |
9083 #include "confdefs.h" | 9095 #include "confdefs.h" |
9084 #include <nlist.h> | 9096 #include <nlist.h> |
9085 EOF | 9097 EOF |
9086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9087 { (eval echo configure:9088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9099 { (eval echo configure:9100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9088 ac_err=`grep -v '^ *+' conftest.out` | 9100 ac_err=`grep -v '^ *+' conftest.out` |
9089 if test -z "$ac_err"; then | 9101 if test -z "$ac_err"; then |
9090 rm -rf conftest* | 9102 rm -rf conftest* |
9091 eval "ac_cv_header_$ac_safe=yes" | 9103 eval "ac_cv_header_$ac_safe=yes" |
9092 else | 9104 else |
9112 fi | 9124 fi |
9113 | 9125 |
9114 | 9126 |
9115 | 9127 |
9116 echo "checking "for sound support"" 1>&6 | 9128 echo "checking "for sound support"" 1>&6 |
9117 echo "configure:9118: checking "for sound support"" >&5 | 9129 echo "configure:9130: checking "for sound support"" >&5 |
9118 case "$with_sound" in | 9130 case "$with_sound" in |
9119 native | both ) with_native_sound=yes;; | 9131 native | both ) with_native_sound=yes;; |
9120 nas | no ) with_native_sound=no;; | 9132 nas | no ) with_native_sound=no;; |
9121 esac | 9133 esac |
9122 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9134 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9123 | 9135 |
9124 if test "$with_native_sound" != "no"; then | 9136 if test "$with_native_sound" != "no"; then |
9125 if test -n "$native_sound_lib"; then | 9137 if test -n "$native_sound_lib"; then |
9126 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9138 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9127 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9139 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9128 echo "configure:9129: checking for multimedia/audio_device.h" >&5 | 9140 echo "configure:9141: checking for multimedia/audio_device.h" >&5 |
9129 | 9141 |
9130 cat > conftest.$ac_ext <<EOF | 9142 cat > conftest.$ac_ext <<EOF |
9131 #line 9132 "configure" | 9143 #line 9144 "configure" |
9132 #include "confdefs.h" | 9144 #include "confdefs.h" |
9133 #include <multimedia/audio_device.h> | 9145 #include <multimedia/audio_device.h> |
9134 EOF | 9146 EOF |
9135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9136 { (eval echo configure:9137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9148 { (eval echo configure:9149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9137 ac_err=`grep -v '^ *+' conftest.out` | 9149 ac_err=`grep -v '^ *+' conftest.out` |
9138 if test -z "$ac_err"; then | 9150 if test -z "$ac_err"; then |
9139 rm -rf conftest* | 9151 rm -rf conftest* |
9140 eval "ac_cv_header_$ac_safe=yes" | 9152 eval "ac_cv_header_$ac_safe=yes" |
9141 else | 9153 else |
9179 case "$canonical" in | 9191 case "$canonical" in |
9180 *-sgi-* ) | 9192 *-sgi-* ) |
9181 if test -z "$native_sound_lib"; then | 9193 if test -z "$native_sound_lib"; then |
9182 | 9194 |
9183 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9195 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9184 echo "configure:9185: checking for ALopenport in -laudio" >&5 | 9196 echo "configure:9197: checking for ALopenport in -laudio" >&5 |
9185 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9197 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9186 | 9198 |
9187 xe_check_libs=" -laudio " | 9199 xe_check_libs=" -laudio " |
9188 cat > conftest.$ac_ext <<EOF | 9200 cat > conftest.$ac_ext <<EOF |
9189 #line 9190 "configure" | 9201 #line 9202 "configure" |
9190 #include "confdefs.h" | 9202 #include "confdefs.h" |
9191 /* Override any gcc2 internal prototype to avoid an error. */ | 9203 /* Override any gcc2 internal prototype to avoid an error. */ |
9192 /* We use char because int might match the return type of a gcc2 | 9204 /* We use char because int might match the return type of a gcc2 |
9193 builtin and then its argument prototype would still apply. */ | 9205 builtin and then its argument prototype would still apply. */ |
9194 char ALopenport(); | 9206 char ALopenport(); |
9195 | 9207 |
9196 int main() { | 9208 int main() { |
9197 ALopenport() | 9209 ALopenport() |
9198 ; return 0; } | 9210 ; return 0; } |
9199 EOF | 9211 EOF |
9200 if { (eval echo configure:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9212 if { (eval echo configure:9213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9201 rm -rf conftest* | 9213 rm -rf conftest* |
9202 eval "ac_cv_lib_$ac_lib_var=yes" | 9214 eval "ac_cv_lib_$ac_lib_var=yes" |
9203 else | 9215 else |
9204 echo "configure: failed program was:" >&5 | 9216 echo "configure: failed program was:" >&5 |
9205 cat conftest.$ac_ext >&5 | 9217 cat conftest.$ac_ext >&5 |
9226 fi ;; | 9238 fi ;; |
9227 hppa*-hp-hpux* ) | 9239 hppa*-hp-hpux* ) |
9228 if test -z "$native_sound_lib"; then | 9240 if test -z "$native_sound_lib"; then |
9229 | 9241 |
9230 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9242 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9231 echo "configure:9232: checking for AOpenAudio in -lAlib" >&5 | 9243 echo "configure:9244: checking for AOpenAudio in -lAlib" >&5 |
9232 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9244 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9233 | 9245 |
9234 xe_check_libs=" -lAlib " | 9246 xe_check_libs=" -lAlib " |
9235 cat > conftest.$ac_ext <<EOF | 9247 cat > conftest.$ac_ext <<EOF |
9236 #line 9237 "configure" | 9248 #line 9249 "configure" |
9237 #include "confdefs.h" | 9249 #include "confdefs.h" |
9238 /* Override any gcc2 internal prototype to avoid an error. */ | 9250 /* Override any gcc2 internal prototype to avoid an error. */ |
9239 /* We use char because int might match the return type of a gcc2 | 9251 /* We use char because int might match the return type of a gcc2 |
9240 builtin and then its argument prototype would still apply. */ | 9252 builtin and then its argument prototype would still apply. */ |
9241 char AOpenAudio(); | 9253 char AOpenAudio(); |
9242 | 9254 |
9243 int main() { | 9255 int main() { |
9244 AOpenAudio() | 9256 AOpenAudio() |
9245 ; return 0; } | 9257 ; return 0; } |
9246 EOF | 9258 EOF |
9247 if { (eval echo configure:9248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9248 rm -rf conftest* | 9260 rm -rf conftest* |
9249 eval "ac_cv_lib_$ac_lib_var=yes" | 9261 eval "ac_cv_lib_$ac_lib_var=yes" |
9250 else | 9262 else |
9251 echo "configure: failed program was:" >&5 | 9263 echo "configure: failed program was:" >&5 |
9252 cat conftest.$ac_ext >&5 | 9264 cat conftest.$ac_ext >&5 |
9280 | 9292 |
9281 if test -z "$sound_found"; then | 9293 if test -z "$sound_found"; then |
9282 for dir in "machine" "sys" "linux"; do | 9294 for dir in "machine" "sys" "linux"; do |
9283 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9295 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9284 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9296 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9285 echo "configure:9286: checking for ${dir}/soundcard.h" >&5 | 9297 echo "configure:9298: checking for ${dir}/soundcard.h" >&5 |
9286 | 9298 |
9287 cat > conftest.$ac_ext <<EOF | 9299 cat > conftest.$ac_ext <<EOF |
9288 #line 9289 "configure" | 9300 #line 9301 "configure" |
9289 #include "confdefs.h" | 9301 #include "confdefs.h" |
9290 #include <${dir}/soundcard.h> | 9302 #include <${dir}/soundcard.h> |
9291 EOF | 9303 EOF |
9292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9293 { (eval echo configure:9294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9305 { (eval echo configure:9306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9294 ac_err=`grep -v '^ *+' conftest.out` | 9306 ac_err=`grep -v '^ *+' conftest.out` |
9295 if test -z "$ac_err"; then | 9307 if test -z "$ac_err"; then |
9296 rm -rf conftest* | 9308 rm -rf conftest* |
9297 eval "ac_cv_header_$ac_safe=yes" | 9309 eval "ac_cv_header_$ac_safe=yes" |
9298 else | 9310 else |
9358 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9370 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9359 echo " xemacs will be linked with \"nas.o\"" | 9371 echo " xemacs will be linked with \"nas.o\"" |
9360 fi | 9372 fi |
9361 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9373 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9362 cat > conftest.$ac_ext <<EOF | 9374 cat > conftest.$ac_ext <<EOF |
9363 #line 9364 "configure" | 9375 #line 9376 "configure" |
9364 #include "confdefs.h" | 9376 #include "confdefs.h" |
9365 #include <audio/Xtutil.h> | 9377 #include <audio/Xtutil.h> |
9366 EOF | 9378 EOF |
9367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9368 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9380 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9385 | 9397 |
9386 test -z "$with_tty" && with_tty=yes | 9398 test -z "$with_tty" && with_tty=yes |
9387 | 9399 |
9388 if test "$with_tty" = "yes" ; then | 9400 if test "$with_tty" = "yes" ; then |
9389 echo "checking for TTY-related features" 1>&6 | 9401 echo "checking for TTY-related features" 1>&6 |
9390 echo "configure:9391: checking for TTY-related features" >&5 | 9402 echo "configure:9403: checking for TTY-related features" >&5 |
9391 { test "$extra_verbose" = "yes" && cat << \EOF | 9403 { test "$extra_verbose" = "yes" && cat << \EOF |
9392 Defining HAVE_TTY | 9404 Defining HAVE_TTY |
9393 EOF | 9405 EOF |
9394 cat >> confdefs.h <<\EOF | 9406 cat >> confdefs.h <<\EOF |
9395 #define HAVE_TTY 1 | 9407 #define HAVE_TTY 1 |
9401 fi | 9413 fi |
9402 | 9414 |
9403 if test -z "$with_ncurses"; then | 9415 if test -z "$with_ncurses"; then |
9404 | 9416 |
9405 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9417 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9406 echo "configure:9407: checking for tgetent in -lncurses" >&5 | 9418 echo "configure:9419: checking for tgetent in -lncurses" >&5 |
9407 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9419 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9408 | 9420 |
9409 xe_check_libs=" -lncurses " | 9421 xe_check_libs=" -lncurses " |
9410 cat > conftest.$ac_ext <<EOF | 9422 cat > conftest.$ac_ext <<EOF |
9411 #line 9412 "configure" | 9423 #line 9424 "configure" |
9412 #include "confdefs.h" | 9424 #include "confdefs.h" |
9413 /* Override any gcc2 internal prototype to avoid an error. */ | 9425 /* Override any gcc2 internal prototype to avoid an error. */ |
9414 /* We use char because int might match the return type of a gcc2 | 9426 /* We use char because int might match the return type of a gcc2 |
9415 builtin and then its argument prototype would still apply. */ | 9427 builtin and then its argument prototype would still apply. */ |
9416 char tgetent(); | 9428 char tgetent(); |
9417 | 9429 |
9418 int main() { | 9430 int main() { |
9419 tgetent() | 9431 tgetent() |
9420 ; return 0; } | 9432 ; return 0; } |
9421 EOF | 9433 EOF |
9422 if { (eval echo configure:9423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9434 if { (eval echo configure:9435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9423 rm -rf conftest* | 9435 rm -rf conftest* |
9424 eval "ac_cv_lib_$ac_lib_var=yes" | 9436 eval "ac_cv_lib_$ac_lib_var=yes" |
9425 else | 9437 else |
9426 echo "configure: failed program was:" >&5 | 9438 echo "configure: failed program was:" >&5 |
9427 cat conftest.$ac_ext >&5 | 9439 cat conftest.$ac_ext >&5 |
9450 EOF | 9462 EOF |
9451 } | 9463 } |
9452 | 9464 |
9453 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9465 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9454 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9466 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9455 echo "configure:9456: checking for ncurses/curses.h" >&5 | 9467 echo "configure:9468: checking for ncurses/curses.h" >&5 |
9456 | 9468 |
9457 cat > conftest.$ac_ext <<EOF | 9469 cat > conftest.$ac_ext <<EOF |
9458 #line 9459 "configure" | 9470 #line 9471 "configure" |
9459 #include "confdefs.h" | 9471 #include "confdefs.h" |
9460 #include <ncurses/curses.h> | 9472 #include <ncurses/curses.h> |
9461 EOF | 9473 EOF |
9462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9463 { (eval echo configure:9464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9475 { (eval echo configure:9476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9464 ac_err=`grep -v '^ *+' conftest.out` | 9476 ac_err=`grep -v '^ *+' conftest.out` |
9465 if test -z "$ac_err"; then | 9477 if test -z "$ac_err"; then |
9466 rm -rf conftest* | 9478 rm -rf conftest* |
9467 eval "ac_cv_header_$ac_safe=yes" | 9479 eval "ac_cv_header_$ac_safe=yes" |
9468 else | 9480 else |
9480 echo "$ac_t""no" 1>&6 | 9492 echo "$ac_t""no" 1>&6 |
9481 fi | 9493 fi |
9482 | 9494 |
9483 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9495 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9484 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9496 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9485 echo "configure:9486: checking for ncurses/term.h" >&5 | 9497 echo "configure:9498: checking for ncurses/term.h" >&5 |
9486 | 9498 |
9487 cat > conftest.$ac_ext <<EOF | 9499 cat > conftest.$ac_ext <<EOF |
9488 #line 9489 "configure" | 9500 #line 9501 "configure" |
9489 #include "confdefs.h" | 9501 #include "confdefs.h" |
9490 #include <ncurses/term.h> | 9502 #include <ncurses/term.h> |
9491 EOF | 9503 EOF |
9492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9493 { (eval echo configure:9494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9505 { (eval echo configure:9506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9494 ac_err=`grep -v '^ *+' conftest.out` | 9506 ac_err=`grep -v '^ *+' conftest.out` |
9495 if test -z "$ac_err"; then | 9507 if test -z "$ac_err"; then |
9496 rm -rf conftest* | 9508 rm -rf conftest* |
9497 eval "ac_cv_header_$ac_safe=yes" | 9509 eval "ac_cv_header_$ac_safe=yes" |
9498 else | 9510 else |
9518 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9530 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9519 save_c_switch_site="$c_switch_site" | 9531 save_c_switch_site="$c_switch_site" |
9520 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9532 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9521 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9533 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9522 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9534 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9523 echo "configure:9524: checking for ncurses/curses.h" >&5 | 9535 echo "configure:9536: checking for ncurses/curses.h" >&5 |
9524 | 9536 |
9525 cat > conftest.$ac_ext <<EOF | 9537 cat > conftest.$ac_ext <<EOF |
9526 #line 9527 "configure" | 9538 #line 9539 "configure" |
9527 #include "confdefs.h" | 9539 #include "confdefs.h" |
9528 #include <ncurses/curses.h> | 9540 #include <ncurses/curses.h> |
9529 EOF | 9541 EOF |
9530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9531 { (eval echo configure:9532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9543 { (eval echo configure:9544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9532 ac_err=`grep -v '^ *+' conftest.out` | 9544 ac_err=`grep -v '^ *+' conftest.out` |
9533 if test -z "$ac_err"; then | 9545 if test -z "$ac_err"; then |
9534 rm -rf conftest* | 9546 rm -rf conftest* |
9535 eval "ac_cv_header_$ac_safe=yes" | 9547 eval "ac_cv_header_$ac_safe=yes" |
9536 else | 9548 else |
9561 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9573 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9562 else | 9574 else |
9563 for lib in curses termlib termcap; do | 9575 for lib in curses termlib termcap; do |
9564 | 9576 |
9565 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9577 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9566 echo "configure:9567: checking for tgetent in -l$lib" >&5 | 9578 echo "configure:9579: checking for tgetent in -l$lib" >&5 |
9567 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9579 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9568 | 9580 |
9569 xe_check_libs=" -l$lib " | 9581 xe_check_libs=" -l$lib " |
9570 cat > conftest.$ac_ext <<EOF | 9582 cat > conftest.$ac_ext <<EOF |
9571 #line 9572 "configure" | 9583 #line 9584 "configure" |
9572 #include "confdefs.h" | 9584 #include "confdefs.h" |
9573 /* Override any gcc2 internal prototype to avoid an error. */ | 9585 /* Override any gcc2 internal prototype to avoid an error. */ |
9574 /* We use char because int might match the return type of a gcc2 | 9586 /* We use char because int might match the return type of a gcc2 |
9575 builtin and then its argument prototype would still apply. */ | 9587 builtin and then its argument prototype would still apply. */ |
9576 char tgetent(); | 9588 char tgetent(); |
9577 | 9589 |
9578 int main() { | 9590 int main() { |
9579 tgetent() | 9591 tgetent() |
9580 ; return 0; } | 9592 ; return 0; } |
9581 EOF | 9593 EOF |
9582 if { (eval echo configure:9583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9594 if { (eval echo configure:9595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9583 rm -rf conftest* | 9595 rm -rf conftest* |
9584 eval "ac_cv_lib_$ac_lib_var=yes" | 9596 eval "ac_cv_lib_$ac_lib_var=yes" |
9585 else | 9597 else |
9586 echo "configure: failed program was:" >&5 | 9598 echo "configure: failed program was:" >&5 |
9587 cat conftest.$ac_ext >&5 | 9599 cat conftest.$ac_ext >&5 |
9608 if test -n "$libs_termcap"; then | 9620 if test -n "$libs_termcap"; then |
9609 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9621 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9610 else | 9622 else |
9611 | 9623 |
9612 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9624 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9613 echo "configure:9614: checking for tgetent in -lcurses" >&5 | 9625 echo "configure:9626: checking for tgetent in -lcurses" >&5 |
9614 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9626 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9615 | 9627 |
9616 xe_check_libs=" -lcurses " | 9628 xe_check_libs=" -lcurses " |
9617 cat > conftest.$ac_ext <<EOF | 9629 cat > conftest.$ac_ext <<EOF |
9618 #line 9619 "configure" | 9630 #line 9631 "configure" |
9619 #include "confdefs.h" | 9631 #include "confdefs.h" |
9620 /* Override any gcc2 internal prototype to avoid an error. */ | 9632 /* Override any gcc2 internal prototype to avoid an error. */ |
9621 /* We use char because int might match the return type of a gcc2 | 9633 /* We use char because int might match the return type of a gcc2 |
9622 builtin and then its argument prototype would still apply. */ | 9634 builtin and then its argument prototype would still apply. */ |
9623 char tgetent(); | 9635 char tgetent(); |
9624 | 9636 |
9625 int main() { | 9637 int main() { |
9626 tgetent() | 9638 tgetent() |
9627 ; return 0; } | 9639 ; return 0; } |
9628 EOF | 9640 EOF |
9629 if { (eval echo configure:9630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9630 rm -rf conftest* | 9642 rm -rf conftest* |
9631 eval "ac_cv_lib_$ac_lib_var=yes" | 9643 eval "ac_cv_lib_$ac_lib_var=yes" |
9632 else | 9644 else |
9633 echo "configure: failed program was:" >&5 | 9645 echo "configure: failed program was:" >&5 |
9634 cat conftest.$ac_ext >&5 | 9646 cat conftest.$ac_ext >&5 |
9642 echo "$ac_t""yes" 1>&6 | 9654 echo "$ac_t""yes" 1>&6 |
9643 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9655 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9644 else | 9656 else |
9645 echo "$ac_t""no" 1>&6 | 9657 echo "$ac_t""no" 1>&6 |
9646 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9658 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9647 echo "configure:9648: checking for tgetent in -ltermcap" >&5 | 9659 echo "configure:9660: checking for tgetent in -ltermcap" >&5 |
9648 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9660 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9649 | 9661 |
9650 xe_check_libs=" -ltermcap " | 9662 xe_check_libs=" -ltermcap " |
9651 cat > conftest.$ac_ext <<EOF | 9663 cat > conftest.$ac_ext <<EOF |
9652 #line 9653 "configure" | 9664 #line 9665 "configure" |
9653 #include "confdefs.h" | 9665 #include "confdefs.h" |
9654 /* Override any gcc2 internal prototype to avoid an error. */ | 9666 /* Override any gcc2 internal prototype to avoid an error. */ |
9655 /* We use char because int might match the return type of a gcc2 | 9667 /* We use char because int might match the return type of a gcc2 |
9656 builtin and then its argument prototype would still apply. */ | 9668 builtin and then its argument prototype would still apply. */ |
9657 char tgetent(); | 9669 char tgetent(); |
9658 | 9670 |
9659 int main() { | 9671 int main() { |
9660 tgetent() | 9672 tgetent() |
9661 ; return 0; } | 9673 ; return 0; } |
9662 EOF | 9674 EOF |
9663 if { (eval echo configure:9664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9675 if { (eval echo configure:9676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9664 rm -rf conftest* | 9676 rm -rf conftest* |
9665 eval "ac_cv_lib_$ac_lib_var=yes" | 9677 eval "ac_cv_lib_$ac_lib_var=yes" |
9666 else | 9678 else |
9667 echo "configure: failed program was:" >&5 | 9679 echo "configure: failed program was:" >&5 |
9668 cat conftest.$ac_ext >&5 | 9680 cat conftest.$ac_ext >&5 |
9706 } | 9718 } |
9707 | 9719 |
9708 | 9720 |
9709 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9721 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9710 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9722 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9711 echo "configure:9712: checking for gpm.h" >&5 | 9723 echo "configure:9724: checking for gpm.h" >&5 |
9712 | 9724 |
9713 cat > conftest.$ac_ext <<EOF | 9725 cat > conftest.$ac_ext <<EOF |
9714 #line 9715 "configure" | 9726 #line 9727 "configure" |
9715 #include "confdefs.h" | 9727 #include "confdefs.h" |
9716 #include <gpm.h> | 9728 #include <gpm.h> |
9717 EOF | 9729 EOF |
9718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9719 { (eval echo configure:9720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9731 { (eval echo configure:9732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9720 ac_err=`grep -v '^ *+' conftest.out` | 9732 ac_err=`grep -v '^ *+' conftest.out` |
9721 if test -z "$ac_err"; then | 9733 if test -z "$ac_err"; then |
9722 rm -rf conftest* | 9734 rm -rf conftest* |
9723 eval "ac_cv_header_$ac_safe=yes" | 9735 eval "ac_cv_header_$ac_safe=yes" |
9724 else | 9736 else |
9737 with_gpm=no | 9749 with_gpm=no |
9738 fi | 9750 fi |
9739 } | 9751 } |
9740 test -z "$with_gpm" && { | 9752 test -z "$with_gpm" && { |
9741 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9753 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9742 echo "configure:9743: checking for Gpm_Open in -lgpm" >&5 | 9754 echo "configure:9755: checking for Gpm_Open in -lgpm" >&5 |
9743 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9755 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9744 | 9756 |
9745 xe_check_libs=" -lgpm " | 9757 xe_check_libs=" -lgpm " |
9746 cat > conftest.$ac_ext <<EOF | 9758 cat > conftest.$ac_ext <<EOF |
9747 #line 9748 "configure" | 9759 #line 9760 "configure" |
9748 #include "confdefs.h" | 9760 #include "confdefs.h" |
9749 /* Override any gcc2 internal prototype to avoid an error. */ | 9761 /* Override any gcc2 internal prototype to avoid an error. */ |
9750 /* We use char because int might match the return type of a gcc2 | 9762 /* We use char because int might match the return type of a gcc2 |
9751 builtin and then its argument prototype would still apply. */ | 9763 builtin and then its argument prototype would still apply. */ |
9752 char Gpm_Open(); | 9764 char Gpm_Open(); |
9753 | 9765 |
9754 int main() { | 9766 int main() { |
9755 Gpm_Open() | 9767 Gpm_Open() |
9756 ; return 0; } | 9768 ; return 0; } |
9757 EOF | 9769 EOF |
9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9770 if { (eval echo configure:9771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9759 rm -rf conftest* | 9771 rm -rf conftest* |
9760 eval "ac_cv_lib_$ac_lib_var=yes" | 9772 eval "ac_cv_lib_$ac_lib_var=yes" |
9761 else | 9773 else |
9762 echo "configure: failed program was:" >&5 | 9774 echo "configure: failed program was:" >&5 |
9763 cat conftest.$ac_ext >&5 | 9775 cat conftest.$ac_ext >&5 |
9802 echo " xemacs will be linked with \"event-unixoid.o\"" | 9814 echo " xemacs will be linked with \"event-unixoid.o\"" |
9803 fi | 9815 fi |
9804 | 9816 |
9805 | 9817 |
9806 echo "checking for database support" 1>&6 | 9818 echo "checking for database support" 1>&6 |
9807 echo "configure:9808: checking for database support" >&5 | 9819 echo "configure:9820: checking for database support" >&5 |
9808 | 9820 |
9809 if test "$with_database_gnudbm" != "no"; then | 9821 if test "$with_database_gnudbm" != "no"; then |
9810 | 9822 |
9811 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9823 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9812 echo "configure:9813: checking for dbm_open in -lgdbm" >&5 | 9824 echo "configure:9825: checking for dbm_open in -lgdbm" >&5 |
9813 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9825 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9814 | 9826 |
9815 xe_check_libs=" -lgdbm " | 9827 xe_check_libs=" -lgdbm " |
9816 cat > conftest.$ac_ext <<EOF | 9828 cat > conftest.$ac_ext <<EOF |
9817 #line 9818 "configure" | 9829 #line 9830 "configure" |
9818 #include "confdefs.h" | 9830 #include "confdefs.h" |
9819 /* Override any gcc2 internal prototype to avoid an error. */ | 9831 /* Override any gcc2 internal prototype to avoid an error. */ |
9820 /* We use char because int might match the return type of a gcc2 | 9832 /* We use char because int might match the return type of a gcc2 |
9821 builtin and then its argument prototype would still apply. */ | 9833 builtin and then its argument prototype would still apply. */ |
9822 char dbm_open(); | 9834 char dbm_open(); |
9823 | 9835 |
9824 int main() { | 9836 int main() { |
9825 dbm_open() | 9837 dbm_open() |
9826 ; return 0; } | 9838 ; return 0; } |
9827 EOF | 9839 EOF |
9828 if { (eval echo configure:9829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9840 if { (eval echo configure:9841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9829 rm -rf conftest* | 9841 rm -rf conftest* |
9830 eval "ac_cv_lib_$ac_lib_var=yes" | 9842 eval "ac_cv_lib_$ac_lib_var=yes" |
9831 else | 9843 else |
9832 echo "configure: failed program was:" >&5 | 9844 echo "configure: failed program was:" >&5 |
9833 cat conftest.$ac_ext >&5 | 9845 cat conftest.$ac_ext >&5 |
9845 fi | 9857 fi |
9846 | 9858 |
9847 | 9859 |
9848 if test "$with_database_gnudbm" != "yes"; then | 9860 if test "$with_database_gnudbm" != "yes"; then |
9849 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9861 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9850 echo "configure:9851: checking for dbm_open" >&5 | 9862 echo "configure:9863: checking for dbm_open" >&5 |
9851 | 9863 |
9852 cat > conftest.$ac_ext <<EOF | 9864 cat > conftest.$ac_ext <<EOF |
9853 #line 9854 "configure" | 9865 #line 9866 "configure" |
9854 #include "confdefs.h" | 9866 #include "confdefs.h" |
9855 /* System header to define __stub macros and hopefully few prototypes, | 9867 /* System header to define __stub macros and hopefully few prototypes, |
9856 which can conflict with char dbm_open(); below. */ | 9868 which can conflict with char dbm_open(); below. */ |
9857 #include <assert.h> | 9869 #include <assert.h> |
9858 /* Override any gcc2 internal prototype to avoid an error. */ | 9870 /* Override any gcc2 internal prototype to avoid an error. */ |
9871 dbm_open(); | 9883 dbm_open(); |
9872 #endif | 9884 #endif |
9873 | 9885 |
9874 ; return 0; } | 9886 ; return 0; } |
9875 EOF | 9887 EOF |
9876 if { (eval echo configure:9877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9888 if { (eval echo configure:9889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9877 rm -rf conftest* | 9889 rm -rf conftest* |
9878 eval "ac_cv_func_dbm_open=yes" | 9890 eval "ac_cv_func_dbm_open=yes" |
9879 else | 9891 else |
9880 echo "configure: failed program was:" >&5 | 9892 echo "configure: failed program was:" >&5 |
9881 cat conftest.$ac_ext >&5 | 9893 cat conftest.$ac_ext >&5 |
9907 fi | 9919 fi |
9908 fi | 9920 fi |
9909 | 9921 |
9910 if test "$with_database_dbm" != "no"; then | 9922 if test "$with_database_dbm" != "no"; then |
9911 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9923 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9912 echo "configure:9913: checking for dbm_open" >&5 | 9924 echo "configure:9925: checking for dbm_open" >&5 |
9913 | 9925 |
9914 cat > conftest.$ac_ext <<EOF | 9926 cat > conftest.$ac_ext <<EOF |
9915 #line 9916 "configure" | 9927 #line 9928 "configure" |
9916 #include "confdefs.h" | 9928 #include "confdefs.h" |
9917 /* System header to define __stub macros and hopefully few prototypes, | 9929 /* System header to define __stub macros and hopefully few prototypes, |
9918 which can conflict with char dbm_open(); below. */ | 9930 which can conflict with char dbm_open(); below. */ |
9919 #include <assert.h> | 9931 #include <assert.h> |
9920 /* Override any gcc2 internal prototype to avoid an error. */ | 9932 /* Override any gcc2 internal prototype to avoid an error. */ |
9933 dbm_open(); | 9945 dbm_open(); |
9934 #endif | 9946 #endif |
9935 | 9947 |
9936 ; return 0; } | 9948 ; return 0; } |
9937 EOF | 9949 EOF |
9938 if { (eval echo configure:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9939 rm -rf conftest* | 9951 rm -rf conftest* |
9940 eval "ac_cv_func_dbm_open=yes" | 9952 eval "ac_cv_func_dbm_open=yes" |
9941 else | 9953 else |
9942 echo "configure: failed program was:" >&5 | 9954 echo "configure: failed program was:" >&5 |
9943 cat conftest.$ac_ext >&5 | 9955 cat conftest.$ac_ext >&5 |
9954 fi | 9966 fi |
9955 | 9967 |
9956 if test "$need_libdbm" != "no"; then | 9968 if test "$need_libdbm" != "no"; then |
9957 | 9969 |
9958 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9970 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9959 echo "configure:9960: checking for dbm_open in -ldbm" >&5 | 9971 echo "configure:9972: checking for dbm_open in -ldbm" >&5 |
9960 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9972 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9961 | 9973 |
9962 xe_check_libs=" -ldbm " | 9974 xe_check_libs=" -ldbm " |
9963 cat > conftest.$ac_ext <<EOF | 9975 cat > conftest.$ac_ext <<EOF |
9964 #line 9965 "configure" | 9976 #line 9977 "configure" |
9965 #include "confdefs.h" | 9977 #include "confdefs.h" |
9966 /* Override any gcc2 internal prototype to avoid an error. */ | 9978 /* Override any gcc2 internal prototype to avoid an error. */ |
9967 /* We use char because int might match the return type of a gcc2 | 9979 /* We use char because int might match the return type of a gcc2 |
9968 builtin and then its argument prototype would still apply. */ | 9980 builtin and then its argument prototype would still apply. */ |
9969 char dbm_open(); | 9981 char dbm_open(); |
9970 | 9982 |
9971 int main() { | 9983 int main() { |
9972 dbm_open() | 9984 dbm_open() |
9973 ; return 0; } | 9985 ; return 0; } |
9974 EOF | 9986 EOF |
9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9987 if { (eval echo configure:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9976 rm -rf conftest* | 9988 rm -rf conftest* |
9977 eval "ac_cv_lib_$ac_lib_var=yes" | 9989 eval "ac_cv_lib_$ac_lib_var=yes" |
9978 else | 9990 else |
9979 echo "configure: failed program was:" >&5 | 9991 echo "configure: failed program was:" >&5 |
9980 cat conftest.$ac_ext >&5 | 9992 cat conftest.$ac_ext >&5 |
10007 fi | 10019 fi |
10008 fi | 10020 fi |
10009 | 10021 |
10010 if test "$with_database_berkdb" != "no"; then | 10022 if test "$with_database_berkdb" != "no"; then |
10011 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10023 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10012 echo "configure:10013: checking for dbopen" >&5 | 10024 echo "configure:10025: checking for dbopen" >&5 |
10013 | 10025 |
10014 cat > conftest.$ac_ext <<EOF | 10026 cat > conftest.$ac_ext <<EOF |
10015 #line 10016 "configure" | 10027 #line 10028 "configure" |
10016 #include "confdefs.h" | 10028 #include "confdefs.h" |
10017 /* System header to define __stub macros and hopefully few prototypes, | 10029 /* System header to define __stub macros and hopefully few prototypes, |
10018 which can conflict with char dbopen(); below. */ | 10030 which can conflict with char dbopen(); below. */ |
10019 #include <assert.h> | 10031 #include <assert.h> |
10020 /* Override any gcc2 internal prototype to avoid an error. */ | 10032 /* Override any gcc2 internal prototype to avoid an error. */ |
10033 dbopen(); | 10045 dbopen(); |
10034 #endif | 10046 #endif |
10035 | 10047 |
10036 ; return 0; } | 10048 ; return 0; } |
10037 EOF | 10049 EOF |
10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10050 if { (eval echo configure:10051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10039 rm -rf conftest* | 10051 rm -rf conftest* |
10040 eval "ac_cv_func_dbopen=yes" | 10052 eval "ac_cv_func_dbopen=yes" |
10041 else | 10053 else |
10042 echo "configure: failed program was:" >&5 | 10054 echo "configure: failed program was:" >&5 |
10043 cat conftest.$ac_ext >&5 | 10055 cat conftest.$ac_ext >&5 |
10054 fi | 10066 fi |
10055 | 10067 |
10056 if test "$need_libdb" != "no"; then | 10068 if test "$need_libdb" != "no"; then |
10057 | 10069 |
10058 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10070 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10059 echo "configure:10060: checking for dbopen in -ldb" >&5 | 10071 echo "configure:10072: checking for dbopen in -ldb" >&5 |
10060 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10072 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10061 | 10073 |
10062 xe_check_libs=" -ldb " | 10074 xe_check_libs=" -ldb " |
10063 cat > conftest.$ac_ext <<EOF | 10075 cat > conftest.$ac_ext <<EOF |
10064 #line 10065 "configure" | 10076 #line 10077 "configure" |
10065 #include "confdefs.h" | 10077 #include "confdefs.h" |
10066 /* Override any gcc2 internal prototype to avoid an error. */ | 10078 /* Override any gcc2 internal prototype to avoid an error. */ |
10067 /* We use char because int might match the return type of a gcc2 | 10079 /* We use char because int might match the return type of a gcc2 |
10068 builtin and then its argument prototype would still apply. */ | 10080 builtin and then its argument prototype would still apply. */ |
10069 char dbopen(); | 10081 char dbopen(); |
10070 | 10082 |
10071 int main() { | 10083 int main() { |
10072 dbopen() | 10084 dbopen() |
10073 ; return 0; } | 10085 ; return 0; } |
10074 EOF | 10086 EOF |
10075 if { (eval echo configure:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10087 if { (eval echo configure:10088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10076 rm -rf conftest* | 10088 rm -rf conftest* |
10077 eval "ac_cv_lib_$ac_lib_var=yes" | 10089 eval "ac_cv_lib_$ac_lib_var=yes" |
10078 else | 10090 else |
10079 echo "configure: failed program was:" >&5 | 10091 echo "configure: failed program was:" >&5 |
10080 cat conftest.$ac_ext >&5 | 10092 cat conftest.$ac_ext >&5 |
10094 | 10106 |
10095 fi | 10107 fi |
10096 if test "$with_database_berkdb" = "yes"; then | 10108 if test "$with_database_berkdb" = "yes"; then |
10097 for path in "db/db.h" "db.h"; do | 10109 for path in "db/db.h" "db.h"; do |
10098 cat > conftest.$ac_ext <<EOF | 10110 cat > conftest.$ac_ext <<EOF |
10099 #line 10100 "configure" | 10111 #line 10112 "configure" |
10100 #include "confdefs.h" | 10112 #include "confdefs.h" |
10101 #ifdef HAVE_INTTYPES_H | 10113 #ifdef HAVE_INTTYPES_H |
10102 #define __BIT_TYPES_DEFINED__ | 10114 #define __BIT_TYPES_DEFINED__ |
10103 #include <inttypes.h> | 10115 #include <inttypes.h> |
10104 typedef uint8_t u_int8_t; | 10116 typedef uint8_t u_int8_t; |
10112 | 10124 |
10113 int main() { | 10125 int main() { |
10114 | 10126 |
10115 ; return 0; } | 10127 ; return 0; } |
10116 EOF | 10128 EOF |
10117 if { (eval echo configure:10118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10129 if { (eval echo configure:10130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10118 rm -rf conftest* | 10130 rm -rf conftest* |
10119 db_h_path="$path"; break | 10131 db_h_path="$path"; break |
10120 else | 10132 else |
10121 echo "configure: failed program was:" >&5 | 10133 echo "configure: failed program was:" >&5 |
10122 cat conftest.$ac_ext >&5 | 10134 cat conftest.$ac_ext >&5 |
10164 fi | 10176 fi |
10165 | 10177 |
10166 if test "$with_socks" = "yes"; then | 10178 if test "$with_socks" = "yes"; then |
10167 | 10179 |
10168 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10180 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10169 echo "configure:10170: checking for SOCKSinit in -lsocks" >&5 | 10181 echo "configure:10182: checking for SOCKSinit in -lsocks" >&5 |
10170 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10182 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10171 | 10183 |
10172 xe_check_libs=" -lsocks " | 10184 xe_check_libs=" -lsocks " |
10173 cat > conftest.$ac_ext <<EOF | 10185 cat > conftest.$ac_ext <<EOF |
10174 #line 10175 "configure" | 10186 #line 10187 "configure" |
10175 #include "confdefs.h" | 10187 #include "confdefs.h" |
10176 /* Override any gcc2 internal prototype to avoid an error. */ | 10188 /* Override any gcc2 internal prototype to avoid an error. */ |
10177 /* We use char because int might match the return type of a gcc2 | 10189 /* We use char because int might match the return type of a gcc2 |
10178 builtin and then its argument prototype would still apply. */ | 10190 builtin and then its argument prototype would still apply. */ |
10179 char SOCKSinit(); | 10191 char SOCKSinit(); |
10180 | 10192 |
10181 int main() { | 10193 int main() { |
10182 SOCKSinit() | 10194 SOCKSinit() |
10183 ; return 0; } | 10195 ; return 0; } |
10184 EOF | 10196 EOF |
10185 if { (eval echo configure:10186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10197 if { (eval echo configure:10198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10186 rm -rf conftest* | 10198 rm -rf conftest* |
10187 eval "ac_cv_lib_$ac_lib_var=yes" | 10199 eval "ac_cv_lib_$ac_lib_var=yes" |
10188 else | 10200 else |
10189 echo "configure: failed program was:" >&5 | 10201 echo "configure: failed program was:" >&5 |
10190 cat conftest.$ac_ext >&5 | 10202 cat conftest.$ac_ext >&5 |
10235 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 10247 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
10236 fi | 10248 fi |
10237 | 10249 |
10238 test -z "$with_shlib" && { ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 10250 test -z "$with_shlib" && { ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
10239 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 10251 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
10240 echo "configure:10241: checking for dlfcn.h" >&5 | 10252 echo "configure:10253: checking for dlfcn.h" >&5 |
10241 | 10253 |
10242 cat > conftest.$ac_ext <<EOF | 10254 cat > conftest.$ac_ext <<EOF |
10243 #line 10244 "configure" | 10255 #line 10256 "configure" |
10244 #include "confdefs.h" | 10256 #include "confdefs.h" |
10245 #include <dlfcn.h> | 10257 #include <dlfcn.h> |
10246 EOF | 10258 EOF |
10247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10248 { (eval echo configure:10249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10249 ac_err=`grep -v '^ *+' conftest.out` | 10261 ac_err=`grep -v '^ *+' conftest.out` |
10250 if test -z "$ac_err"; then | 10262 if test -z "$ac_err"; then |
10251 rm -rf conftest* | 10263 rm -rf conftest* |
10252 eval "ac_cv_header_$ac_safe=yes" | 10264 eval "ac_cv_header_$ac_safe=yes" |
10253 else | 10265 else |
10266 with_shlib=no | 10278 with_shlib=no |
10267 fi | 10279 fi |
10268 } | 10280 } |
10269 test -z "$with_shlib" && { | 10281 test -z "$with_shlib" && { |
10270 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10282 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10271 echo "configure:10272: checking for dlopen in -ldl" >&5 | 10283 echo "configure:10284: checking for dlopen in -ldl" >&5 |
10272 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10284 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10273 | 10285 |
10274 xe_check_libs=" -ldl " | 10286 xe_check_libs=" -ldl " |
10275 cat > conftest.$ac_ext <<EOF | 10287 cat > conftest.$ac_ext <<EOF |
10276 #line 10277 "configure" | 10288 #line 10289 "configure" |
10277 #include "confdefs.h" | 10289 #include "confdefs.h" |
10278 /* Override any gcc2 internal prototype to avoid an error. */ | 10290 /* Override any gcc2 internal prototype to avoid an error. */ |
10279 /* We use char because int might match the return type of a gcc2 | 10291 /* We use char because int might match the return type of a gcc2 |
10280 builtin and then its argument prototype would still apply. */ | 10292 builtin and then its argument prototype would still apply. */ |
10281 char dlopen(); | 10293 char dlopen(); |
10282 | 10294 |
10283 int main() { | 10295 int main() { |
10284 dlopen() | 10296 dlopen() |
10285 ; return 0; } | 10297 ; return 0; } |
10286 EOF | 10298 EOF |
10287 if { (eval echo configure:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10299 if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10288 rm -rf conftest* | 10300 rm -rf conftest* |
10289 eval "ac_cv_lib_$ac_lib_var=yes" | 10301 eval "ac_cv_lib_$ac_lib_var=yes" |
10290 else | 10302 else |
10291 echo "configure: failed program was:" >&5 | 10303 echo "configure: failed program was:" >&5 |
10292 cat conftest.$ac_ext >&5 | 10304 cat conftest.$ac_ext >&5 |
10296 rm -f conftest* | 10308 rm -f conftest* |
10297 xe_check_libs="" | 10309 xe_check_libs="" |
10298 | 10310 |
10299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10311 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10300 echo "$ac_t""yes" 1>&6 | 10312 echo "$ac_t""yes" 1>&6 |
10301 : | 10313 LIBS="-ldl $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldl\" to \$LIBS"; fi |
10314 else | |
10315 echo "$ac_t""no" 1>&6 | |
10316 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | |
10317 echo "configure:10318: checking for dlopen in -lc" >&5 | |
10318 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | |
10319 | |
10320 xe_check_libs=" -lc " | |
10321 cat > conftest.$ac_ext <<EOF | |
10322 #line 10323 "configure" | |
10323 #include "confdefs.h" | |
10324 /* Override any gcc2 internal prototype to avoid an error. */ | |
10325 /* We use char because int might match the return type of a gcc2 | |
10326 builtin and then its argument prototype would still apply. */ | |
10327 char dlopen(); | |
10328 | |
10329 int main() { | |
10330 dlopen() | |
10331 ; return 0; } | |
10332 EOF | |
10333 if { (eval echo configure:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
10334 rm -rf conftest* | |
10335 eval "ac_cv_lib_$ac_lib_var=yes" | |
10336 else | |
10337 echo "configure: failed program was:" >&5 | |
10338 cat conftest.$ac_ext >&5 | |
10339 rm -rf conftest* | |
10340 eval "ac_cv_lib_$ac_lib_var=no" | |
10341 fi | |
10342 rm -f conftest* | |
10343 xe_check_libs="" | |
10344 | |
10345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
10346 echo "$ac_t""yes" 1>&6 | |
10347 with_shlib=yes | |
10302 else | 10348 else |
10303 echo "$ac_t""no" 1>&6 | 10349 echo "$ac_t""no" 1>&6 |
10304 with_shlib=no | 10350 with_shlib=no |
10351 fi | |
10352 | |
10353 | |
10305 fi | 10354 fi |
10306 | 10355 |
10307 } | 10356 } |
10308 test -z "$with_shlib" && with_shlib=yes | 10357 test -z "$with_shlib" && with_shlib=yes |
10309 if test "$with_shlib" = "yes"; then | 10358 if test "$with_shlib" = "yes"; then |
10316 } | 10365 } |
10317 | 10366 |
10318 extra_objs="$extra_objs dlopen.o" && if test "$extra_verbose" = "yes"; then | 10367 extra_objs="$extra_objs dlopen.o" && if test "$extra_verbose" = "yes"; then |
10319 echo " xemacs will be linked with \"dlopen.o\"" | 10368 echo " xemacs will be linked with \"dlopen.o\"" |
10320 fi | 10369 fi |
10321 LIBS="-ldl $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ldl\" to \$LIBS"; fi | 10370 ld_dynamic_link_flags= |
10322 fi | 10371 case "$opsys" in |
10323 | 10372 linux*) ld_dynamic_link_flags="-rdynamic" ;; |
10324 | 10373 *) ;; |
10374 esac | |
10375 fi | |
10376 | |
10377 | |
10378 { test "$extra_verbose" = "yes" && cat << \EOF | |
10379 Defining HAVE_UNIX_PROCESSES | |
10380 EOF | |
10381 cat >> confdefs.h <<\EOF | |
10382 #define HAVE_UNIX_PROCESSES 1 | |
10383 EOF | |
10384 } | |
10385 | |
10386 extra_objs="$extra_objs process-unix.o" && if test "$extra_verbose" = "yes"; then | |
10387 echo " xemacs will be linked with \"process-unix.o\"" | |
10388 fi | |
10325 | 10389 |
10326 | 10390 |
10327 | 10391 |
10328 T="" | 10392 T="" |
10329 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 10393 for W in $CFLAGS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
10431 for dir in $MAKE_SUBDIR; do echo "import $dir"; done | 10495 for dir in $MAKE_SUBDIR; do echo "import $dir"; done |
10432 ) > .sbinit | 10496 ) > .sbinit |
10433 fi | 10497 fi |
10434 | 10498 |
10435 rm -f core | 10499 rm -f core |
10500 | |
10436 | 10501 |
10437 | 10502 |
10438 | 10503 |
10439 | 10504 |
10440 | 10505 |
11003 s%@archlibdir@%$archlibdir%g | 11068 s%@archlibdir@%$archlibdir%g |
11004 s%@archlibdir_user_defined@%$archlibdir_user_defined%g | 11069 s%@archlibdir_user_defined@%$archlibdir_user_defined%g |
11005 s%@docdir@%$docdir%g | 11070 s%@docdir@%$docdir%g |
11006 s%@bitmapdir@%$bitmapdir%g | 11071 s%@bitmapdir@%$bitmapdir%g |
11007 s%@extra_objs@%$extra_objs%g | 11072 s%@extra_objs@%$extra_objs%g |
11073 s%@ld_dynamic_link_flags@%$ld_dynamic_link_flags%g | |
11008 s%@machfile@%$machfile%g | 11074 s%@machfile@%$machfile%g |
11009 s%@opsysfile@%$opsysfile%g | 11075 s%@opsysfile@%$opsysfile%g |
11010 s%@c_switch_general@%$c_switch_general%g | 11076 s%@c_switch_general@%$c_switch_general%g |
11011 s%@c_switch_window_system@%$c_switch_window_system%g | 11077 s%@c_switch_window_system@%$c_switch_window_system%g |
11012 s%@c_switch_all@%$c_switch_all%g | 11078 s%@c_switch_all@%$c_switch_all%g |