Mercurial > hg > xemacs-beta
comparison configure @ 251:677f6a0ee643 r20-5b24
Import from CVS: tag r20-5b24
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:19:59 +0200 |
| parents | 83b3d10dcba9 |
| children | 084402c475ba |
comparison
equal
deleted
inserted
replaced
| 250:f385a461c9aa | 251:677f6a0ee643 |
|---|---|
| 232 archlibdir='${libdir}/xemacs-${version}/${configuration}' | 232 archlibdir='${libdir}/xemacs-${version}/${configuration}' |
| 233 archlibdir_user_defined='no' | 233 archlibdir_user_defined='no' |
| 234 with_menubars='' | 234 with_menubars='' |
| 235 with_scrollbars='' | 235 with_scrollbars='' |
| 236 with_dialogs='' | 236 with_dialogs='' |
| 237 with_mule_coding='' | |
| 237 const_is_losing='yes' | 238 const_is_losing='yes' |
| 238 puresize='' | 239 puresize='' |
| 239 cflags='UNSPECIFIED' | 240 cflags='UNSPECIFIED' |
| 240 dynamic='' | 241 dynamic='' |
| 241 with_x11='' | 242 with_x11='' |
| 242 rel_alloc='default' | 243 rel_alloc='default' |
| 243 with_system_malloc='default' | 244 with_system_malloc='default' |
| 244 native_sound_lib='' | 245 native_sound_lib='' |
| 245 use_assertions="yes" | 246 use_assertions="yes" |
| 247 with_gif="" | |
| 246 with_toolbars="" | 248 with_toolbars="" |
| 247 with_tty="" | 249 with_tty="" |
| 248 use_union_type="no" | 250 use_union_type="no" |
| 249 with_dnet="" | 251 with_dnet="" |
| 250 | 252 |
| 307 with_cde | \ | 309 with_cde | \ |
| 308 with_offix | \ | 310 with_offix | \ |
| 309 with_gpm | \ | 311 with_gpm | \ |
| 310 with_xpm | \ | 312 with_xpm | \ |
| 311 with_xface | \ | 313 with_xface | \ |
| 312 with_imagick | \ | 314 with_gif | \ |
| 315 with_jpeg | \ | |
| 316 with_png | \ | |
| 317 with_tiff | \ | |
| 313 with_session | \ | 318 with_session | \ |
| 314 with_xmu | \ | 319 with_xmu | \ |
| 315 with_quantify | \ | 320 with_quantify | \ |
| 316 with_toolbars | \ | 321 with_toolbars | \ |
| 317 with_tty | \ | 322 with_tty | \ |
| 318 with_xfs | \ | 323 with_xfs | \ |
| 319 with_i18n3 | \ | 324 with_i18n3 | \ |
| 320 with_mule | \ | 325 with_mule | \ |
| 326 with_mule_coding | \ | |
| 321 with_canna | \ | 327 with_canna | \ |
| 322 with_wnn | \ | 328 with_wnn | \ |
| 323 with_wnn6 | \ | 329 with_wnn6 | \ |
| 324 with_workshop | \ | 330 with_workshop | \ |
| 325 with_sparcworks | \ | 331 with_sparcworks | \ |
| 628 ;; | 634 ;; |
| 629 esac | 635 esac |
| 630 | 636 |
| 631 if test -z "$configuration"; then | 637 if test -z "$configuration"; then |
| 632 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 638 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 633 echo "configure:634: checking "host system type"" >&5 | 639 echo "configure:640: checking "host system type"" >&5 |
| 634 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 640 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
| 635 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 641 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
| 636 echo "$ac_t""$configuration" 1>&6 | 642 echo "$ac_t""$configuration" 1>&6 |
| 637 else | 643 else |
| 638 echo "$ac_t""unknown" 1>&6 | 644 echo "$ac_t""unknown" 1>&6 |
| 642 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 648 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 643 fi | 649 fi |
| 644 fi | 650 fi |
| 645 | 651 |
| 646 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 652 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 647 echo "configure:648: checking whether ln -s works" >&5 | 653 echo "configure:654: checking whether ln -s works" >&5 |
| 648 | 654 |
| 649 rm -f conftestdata | 655 rm -f conftestdata |
| 650 if ln -s X conftestdata 2>/dev/null | 656 if ln -s X conftestdata 2>/dev/null |
| 651 then | 657 then |
| 652 rm -f conftestdata | 658 rm -f conftestdata |
| 819 } | 825 } |
| 820 | 826 |
| 821 | 827 |
| 822 | 828 |
| 823 echo "checking "the configuration name"" 1>&6 | 829 echo "checking "the configuration name"" 1>&6 |
| 824 echo "configure:825: checking "the configuration name"" >&5 | 830 echo "configure:831: checking "the configuration name"" >&5 |
| 825 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 831 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 826 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 832 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
| 827 exit $? | 833 exit $? |
| 828 fi | 834 fi |
| 829 | 835 |
| 1290 xe_save_CFLAGS="$CFLAGS" | 1296 xe_save_CFLAGS="$CFLAGS" |
| 1291 | 1297 |
| 1292 # Extract the first word of "gcc", so it can be a program name with args. | 1298 # Extract the first word of "gcc", so it can be a program name with args. |
| 1293 set dummy gcc; ac_word=$2 | 1299 set dummy gcc; ac_word=$2 |
| 1294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1300 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1295 echo "configure:1296: checking for $ac_word" >&5 | 1301 echo "configure:1302: checking for $ac_word" >&5 |
| 1296 | 1302 |
| 1297 if test -n "$CC"; then | 1303 if test -n "$CC"; then |
| 1298 ac_cv_prog_CC="$CC" # Let the user override the test. | 1304 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1299 else | 1305 else |
| 1300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1316 | 1322 |
| 1317 if test -z "$CC"; then | 1323 if test -z "$CC"; then |
| 1318 # Extract the first word of "cc", so it can be a program name with args. | 1324 # Extract the first word of "cc", so it can be a program name with args. |
| 1319 set dummy cc; ac_word=$2 | 1325 set dummy cc; ac_word=$2 |
| 1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1321 echo "configure:1322: checking for $ac_word" >&5 | 1327 echo "configure:1328: checking for $ac_word" >&5 |
| 1322 | 1328 |
| 1323 if test -n "$CC"; then | 1329 if test -n "$CC"; then |
| 1324 ac_cv_prog_CC="$CC" # Let the user override the test. | 1330 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1325 else | 1331 else |
| 1326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1361 | 1367 |
| 1362 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1368 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1363 fi | 1369 fi |
| 1364 | 1370 |
| 1365 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1371 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1366 echo "configure:1367: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1372 echo "configure:1373: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1367 | 1373 |
| 1368 ac_ext=c | 1374 ac_ext=c |
| 1369 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1375 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1370 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1376 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1371 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1377 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1373 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1379 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1374 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1380 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1375 cross_compiling=no | 1381 cross_compiling=no |
| 1376 | 1382 |
| 1377 cat > conftest.$ac_ext <<EOF | 1383 cat > conftest.$ac_ext <<EOF |
| 1378 #line 1379 "configure" | 1384 #line 1385 "configure" |
| 1379 #include "confdefs.h" | 1385 #include "confdefs.h" |
| 1380 main(){return(0);} | 1386 main(){return(0);} |
| 1381 EOF | 1387 EOF |
| 1382 if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1388 if { (eval echo configure:1389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1383 ac_cv_prog_cc_works=yes | 1389 ac_cv_prog_cc_works=yes |
| 1384 # If we can't run a trivial program, we are probably using a cross compiler. | 1390 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1385 if (./conftest; exit) 2>/dev/null; then | 1391 if (./conftest; exit) 2>/dev/null; then |
| 1386 ac_cv_prog_cc_cross=no | 1392 ac_cv_prog_cc_cross=no |
| 1387 else | 1393 else |
| 1397 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1403 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1398 if test $ac_cv_prog_cc_works = no; then | 1404 if test $ac_cv_prog_cc_works = no; then |
| 1399 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1405 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1400 fi | 1406 fi |
| 1401 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1407 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1402 echo "configure:1403: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1408 echo "configure:1409: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1403 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1409 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1404 cross_compiling=$ac_cv_prog_cc_cross | 1410 cross_compiling=$ac_cv_prog_cc_cross |
| 1405 | 1411 |
| 1406 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1412 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1407 echo "configure:1408: checking whether we are using GNU C" >&5 | 1413 echo "configure:1414: checking whether we are using GNU C" >&5 |
| 1408 | 1414 |
| 1409 cat > conftest.c <<EOF | 1415 cat > conftest.c <<EOF |
| 1410 #ifdef __GNUC__ | 1416 #ifdef __GNUC__ |
| 1411 yes; | 1417 yes; |
| 1412 #endif | 1418 #endif |
| 1413 EOF | 1419 EOF |
| 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 | 1420 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1415 ac_cv_prog_gcc=yes | 1421 ac_cv_prog_gcc=yes |
| 1416 else | 1422 else |
| 1417 ac_cv_prog_gcc=no | 1423 ac_cv_prog_gcc=no |
| 1418 fi | 1424 fi |
| 1419 | 1425 |
| 1423 GCC=yes | 1429 GCC=yes |
| 1424 ac_test_CFLAGS="${CFLAGS+set}" | 1430 ac_test_CFLAGS="${CFLAGS+set}" |
| 1425 ac_save_CFLAGS="$CFLAGS" | 1431 ac_save_CFLAGS="$CFLAGS" |
| 1426 CFLAGS= | 1432 CFLAGS= |
| 1427 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1433 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1428 echo "configure:1429: checking whether ${CC-cc} accepts -g" >&5 | 1434 echo "configure:1435: checking whether ${CC-cc} accepts -g" >&5 |
| 1429 | 1435 |
| 1430 echo 'void f(){}' > conftest.c | 1436 echo 'void f(){}' > conftest.c |
| 1431 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1437 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1432 ac_cv_prog_cc_g=yes | 1438 ac_cv_prog_cc_g=yes |
| 1433 else | 1439 else |
| 1452 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1458 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1453 CC=${NON_GNU_CC-cc} | 1459 CC=${NON_GNU_CC-cc} |
| 1454 # Extract the first word of "gcc", so it can be a program name with args. | 1460 # Extract the first word of "gcc", so it can be a program name with args. |
| 1455 set dummy gcc; ac_word=$2 | 1461 set dummy gcc; ac_word=$2 |
| 1456 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1457 echo "configure:1458: checking for $ac_word" >&5 | 1463 echo "configure:1464: checking for $ac_word" >&5 |
| 1458 | 1464 |
| 1459 if test -n "$CC"; then | 1465 if test -n "$CC"; then |
| 1460 ac_cv_prog_CC="$CC" # Let the user override the test. | 1466 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1461 else | 1467 else |
| 1462 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1468 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1478 | 1484 |
| 1479 if test -z "$CC"; then | 1485 if test -z "$CC"; then |
| 1480 # Extract the first word of "cc", so it can be a program name with args. | 1486 # Extract the first word of "cc", so it can be a program name with args. |
| 1481 set dummy cc; ac_word=$2 | 1487 set dummy cc; ac_word=$2 |
| 1482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1488 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1483 echo "configure:1484: checking for $ac_word" >&5 | 1489 echo "configure:1490: checking for $ac_word" >&5 |
| 1484 | 1490 |
| 1485 if test -n "$CC"; then | 1491 if test -n "$CC"; then |
| 1486 ac_cv_prog_CC="$CC" # Let the user override the test. | 1492 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1487 else | 1493 else |
| 1488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1523 | 1529 |
| 1524 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1530 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1525 fi | 1531 fi |
| 1526 | 1532 |
| 1527 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1533 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1528 echo "configure:1529: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1534 echo "configure:1535: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1529 | 1535 |
| 1530 ac_ext=c | 1536 ac_ext=c |
| 1531 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1537 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1532 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1538 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1533 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1539 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1535 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1541 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1536 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1542 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1537 cross_compiling=no | 1543 cross_compiling=no |
| 1538 | 1544 |
| 1539 cat > conftest.$ac_ext <<EOF | 1545 cat > conftest.$ac_ext <<EOF |
| 1540 #line 1541 "configure" | 1546 #line 1547 "configure" |
| 1541 #include "confdefs.h" | 1547 #include "confdefs.h" |
| 1542 main(){return(0);} | 1548 main(){return(0);} |
| 1543 EOF | 1549 EOF |
| 1544 if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1550 if { (eval echo configure:1551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1545 ac_cv_prog_cc_works=yes | 1551 ac_cv_prog_cc_works=yes |
| 1546 # If we can't run a trivial program, we are probably using a cross compiler. | 1552 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1547 if (./conftest; exit) 2>/dev/null; then | 1553 if (./conftest; exit) 2>/dev/null; then |
| 1548 ac_cv_prog_cc_cross=no | 1554 ac_cv_prog_cc_cross=no |
| 1549 else | 1555 else |
| 1559 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1565 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1560 if test $ac_cv_prog_cc_works = no; then | 1566 if test $ac_cv_prog_cc_works = no; then |
| 1561 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1567 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1562 fi | 1568 fi |
| 1563 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1569 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1564 echo "configure:1565: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1570 echo "configure:1571: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1565 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1571 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1566 cross_compiling=$ac_cv_prog_cc_cross | 1572 cross_compiling=$ac_cv_prog_cc_cross |
| 1567 | 1573 |
| 1568 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1574 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1569 echo "configure:1570: checking whether we are using GNU C" >&5 | 1575 echo "configure:1576: checking whether we are using GNU C" >&5 |
| 1570 | 1576 |
| 1571 cat > conftest.c <<EOF | 1577 cat > conftest.c <<EOF |
| 1572 #ifdef __GNUC__ | 1578 #ifdef __GNUC__ |
| 1573 yes; | 1579 yes; |
| 1574 #endif | 1580 #endif |
| 1575 EOF | 1581 EOF |
| 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 | 1582 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1577 ac_cv_prog_gcc=yes | 1583 ac_cv_prog_gcc=yes |
| 1578 else | 1584 else |
| 1579 ac_cv_prog_gcc=no | 1585 ac_cv_prog_gcc=no |
| 1580 fi | 1586 fi |
| 1581 | 1587 |
| 1585 GCC=yes | 1591 GCC=yes |
| 1586 ac_test_CFLAGS="${CFLAGS+set}" | 1592 ac_test_CFLAGS="${CFLAGS+set}" |
| 1587 ac_save_CFLAGS="$CFLAGS" | 1593 ac_save_CFLAGS="$CFLAGS" |
| 1588 CFLAGS= | 1594 CFLAGS= |
| 1589 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1595 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1590 echo "configure:1591: checking whether ${CC-cc} accepts -g" >&5 | 1596 echo "configure:1597: checking whether ${CC-cc} accepts -g" >&5 |
| 1591 | 1597 |
| 1592 echo 'void f(){}' > conftest.c | 1598 echo 'void f(){}' > conftest.c |
| 1593 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1599 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1594 ac_cv_prog_cc_g=yes | 1600 ac_cv_prog_cc_g=yes |
| 1595 else | 1601 else |
| 1614 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1620 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1615 CC=gcc | 1621 CC=gcc |
| 1616 # Extract the first word of "gcc", so it can be a program name with args. | 1622 # Extract the first word of "gcc", so it can be a program name with args. |
| 1617 set dummy gcc; ac_word=$2 | 1623 set dummy gcc; ac_word=$2 |
| 1618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1624 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1619 echo "configure:1620: checking for $ac_word" >&5 | 1625 echo "configure:1626: checking for $ac_word" >&5 |
| 1620 | 1626 |
| 1621 if test -n "$CC"; then | 1627 if test -n "$CC"; then |
| 1622 ac_cv_prog_CC="$CC" # Let the user override the test. | 1628 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1623 else | 1629 else |
| 1624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1640 | 1646 |
| 1641 if test -z "$CC"; then | 1647 if test -z "$CC"; then |
| 1642 # Extract the first word of "cc", so it can be a program name with args. | 1648 # Extract the first word of "cc", so it can be a program name with args. |
| 1643 set dummy cc; ac_word=$2 | 1649 set dummy cc; ac_word=$2 |
| 1644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1645 echo "configure:1646: checking for $ac_word" >&5 | 1651 echo "configure:1652: checking for $ac_word" >&5 |
| 1646 | 1652 |
| 1647 if test -n "$CC"; then | 1653 if test -n "$CC"; then |
| 1648 ac_cv_prog_CC="$CC" # Let the user override the test. | 1654 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1649 else | 1655 else |
| 1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1656 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1685 | 1691 |
| 1686 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1692 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1687 fi | 1693 fi |
| 1688 | 1694 |
| 1689 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1695 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1690 echo "configure:1691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1696 echo "configure:1697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1691 | 1697 |
| 1692 ac_ext=c | 1698 ac_ext=c |
| 1693 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1699 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1694 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1700 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1695 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1701 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1697 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1703 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1698 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1704 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1699 cross_compiling=no | 1705 cross_compiling=no |
| 1700 | 1706 |
| 1701 cat > conftest.$ac_ext <<EOF | 1707 cat > conftest.$ac_ext <<EOF |
| 1702 #line 1703 "configure" | 1708 #line 1709 "configure" |
| 1703 #include "confdefs.h" | 1709 #include "confdefs.h" |
| 1704 main(){return(0);} | 1710 main(){return(0);} |
| 1705 EOF | 1711 EOF |
| 1706 if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1712 if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1707 ac_cv_prog_cc_works=yes | 1713 ac_cv_prog_cc_works=yes |
| 1708 # If we can't run a trivial program, we are probably using a cross compiler. | 1714 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1709 if (./conftest; exit) 2>/dev/null; then | 1715 if (./conftest; exit) 2>/dev/null; then |
| 1710 ac_cv_prog_cc_cross=no | 1716 ac_cv_prog_cc_cross=no |
| 1711 else | 1717 else |
| 1721 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1727 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1722 if test $ac_cv_prog_cc_works = no; then | 1728 if test $ac_cv_prog_cc_works = no; then |
| 1723 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1729 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1724 fi | 1730 fi |
| 1725 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1731 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1726 echo "configure:1727: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1732 echo "configure:1733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1727 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1733 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1728 cross_compiling=$ac_cv_prog_cc_cross | 1734 cross_compiling=$ac_cv_prog_cc_cross |
| 1729 | 1735 |
| 1730 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1736 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1731 echo "configure:1732: checking whether we are using GNU C" >&5 | 1737 echo "configure:1738: checking whether we are using GNU C" >&5 |
| 1732 | 1738 |
| 1733 cat > conftest.c <<EOF | 1739 cat > conftest.c <<EOF |
| 1734 #ifdef __GNUC__ | 1740 #ifdef __GNUC__ |
| 1735 yes; | 1741 yes; |
| 1736 #endif | 1742 #endif |
| 1737 EOF | 1743 EOF |
| 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 | 1744 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1739 ac_cv_prog_gcc=yes | 1745 ac_cv_prog_gcc=yes |
| 1740 else | 1746 else |
| 1741 ac_cv_prog_gcc=no | 1747 ac_cv_prog_gcc=no |
| 1742 fi | 1748 fi |
| 1743 | 1749 |
| 1747 GCC=yes | 1753 GCC=yes |
| 1748 ac_test_CFLAGS="${CFLAGS+set}" | 1754 ac_test_CFLAGS="${CFLAGS+set}" |
| 1749 ac_save_CFLAGS="$CFLAGS" | 1755 ac_save_CFLAGS="$CFLAGS" |
| 1750 CFLAGS= | 1756 CFLAGS= |
| 1751 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1757 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1752 echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5 | 1758 echo "configure:1759: checking whether ${CC-cc} accepts -g" >&5 |
| 1753 | 1759 |
| 1754 echo 'void f(){}' > conftest.c | 1760 echo 'void f(){}' > conftest.c |
| 1755 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1761 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1756 ac_cv_prog_cc_g=yes | 1762 ac_cv_prog_cc_g=yes |
| 1757 else | 1763 else |
| 1780 test -n "$CPP" -a -d "$CPP" && CPP= | 1786 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1781 | 1787 |
| 1782 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1788 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1783 | 1789 |
| 1784 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1790 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1785 echo "configure:1786: checking how to run the C preprocessor" >&5 | 1791 echo "configure:1792: checking how to run the C preprocessor" >&5 |
| 1786 # On Suns, sometimes $CPP names a directory. | 1792 # On Suns, sometimes $CPP names a directory. |
| 1787 if test -n "$CPP" && test -d "$CPP"; then | 1793 if test -n "$CPP" && test -d "$CPP"; then |
| 1788 CPP= | 1794 CPP= |
| 1789 fi | 1795 fi |
| 1790 if test -z "$CPP"; then | 1796 if test -z "$CPP"; then |
| 1793 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1799 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1794 CPP="${CC-cc} -E" | 1800 CPP="${CC-cc} -E" |
| 1795 # On the NeXT, cc -E runs the code through the compiler's parser, | 1801 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1796 # not just through cpp. | 1802 # not just through cpp. |
| 1797 cat > conftest.$ac_ext <<EOF | 1803 cat > conftest.$ac_ext <<EOF |
| 1798 #line 1799 "configure" | 1804 #line 1805 "configure" |
| 1799 #include "confdefs.h" | 1805 #include "confdefs.h" |
| 1800 #include <assert.h> | 1806 #include <assert.h> |
| 1801 Syntax Error | 1807 Syntax Error |
| 1802 EOF | 1808 EOF |
| 1803 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1804 { (eval echo configure:1805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1810 { (eval echo configure:1811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1805 ac_err=`grep -v '^ *+' conftest.out` | 1811 ac_err=`grep -v '^ *+' conftest.out` |
| 1806 if test -z "$ac_err"; then | 1812 if test -z "$ac_err"; then |
| 1807 : | 1813 : |
| 1808 else | 1814 else |
| 1809 echo "$ac_err" >&5 | 1815 echo "$ac_err" >&5 |
| 1810 echo "configure: failed program was:" >&5 | 1816 echo "configure: failed program was:" >&5 |
| 1811 cat conftest.$ac_ext >&5 | 1817 cat conftest.$ac_ext >&5 |
| 1812 rm -rf conftest* | 1818 rm -rf conftest* |
| 1813 CPP="${CC-cc} -E -traditional-cpp" | 1819 CPP="${CC-cc} -E -traditional-cpp" |
| 1814 cat > conftest.$ac_ext <<EOF | 1820 cat > conftest.$ac_ext <<EOF |
| 1815 #line 1816 "configure" | 1821 #line 1822 "configure" |
| 1816 #include "confdefs.h" | 1822 #include "confdefs.h" |
| 1817 #include <assert.h> | 1823 #include <assert.h> |
| 1818 Syntax Error | 1824 Syntax Error |
| 1819 EOF | 1825 EOF |
| 1820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1821 { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1827 { (eval echo configure:1828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1822 ac_err=`grep -v '^ *+' conftest.out` | 1828 ac_err=`grep -v '^ *+' conftest.out` |
| 1823 if test -z "$ac_err"; then | 1829 if test -z "$ac_err"; then |
| 1824 : | 1830 : |
| 1825 else | 1831 else |
| 1826 echo "$ac_err" >&5 | 1832 echo "$ac_err" >&5 |
| 1839 fi | 1845 fi |
| 1840 echo "$ac_t""$CPP" 1>&6 | 1846 echo "$ac_t""$CPP" 1>&6 |
| 1841 | 1847 |
| 1842 | 1848 |
| 1843 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1849 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1844 echo "configure:1845: checking for AIX" >&5 | 1850 echo "configure:1851: checking for AIX" >&5 |
| 1845 cat > conftest.$ac_ext <<EOF | 1851 cat > conftest.$ac_ext <<EOF |
| 1846 #line 1847 "configure" | 1852 #line 1853 "configure" |
| 1847 #include "confdefs.h" | 1853 #include "confdefs.h" |
| 1848 #ifdef _AIX | 1854 #ifdef _AIX |
| 1849 yes | 1855 yes |
| 1850 #endif | 1856 #endif |
| 1851 | 1857 |
| 1868 rm -f conftest* | 1874 rm -f conftest* |
| 1869 | 1875 |
| 1870 | 1876 |
| 1871 | 1877 |
| 1872 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1878 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 1873 echo "configure:1874: checking for GNU libc" >&5 | 1879 echo "configure:1880: checking for GNU libc" >&5 |
| 1874 cat > conftest.$ac_ext <<EOF | 1880 cat > conftest.$ac_ext <<EOF |
| 1875 #line 1876 "configure" | 1881 #line 1882 "configure" |
| 1876 #include "confdefs.h" | 1882 #include "confdefs.h" |
| 1877 #include <features.h> | 1883 #include <features.h> |
| 1878 int main() { | 1884 int main() { |
| 1879 | 1885 |
| 1880 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1886 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 1882 ******* ======= ******** &&&&&&&& | 1888 ******* ======= ******** &&&&&&&& |
| 1883 #endif | 1889 #endif |
| 1884 | 1890 |
| 1885 ; return 0; } | 1891 ; return 0; } |
| 1886 EOF | 1892 EOF |
| 1887 if { (eval echo configure:1888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1893 if { (eval echo configure:1894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1888 rm -rf conftest* | 1894 rm -rf conftest* |
| 1889 have_glibc=yes | 1895 have_glibc=yes |
| 1890 else | 1896 else |
| 1891 echo "configure: failed program was:" >&5 | 1897 echo "configure: failed program was:" >&5 |
| 1892 cat conftest.$ac_ext >&5 | 1898 cat conftest.$ac_ext >&5 |
| 1903 EOF | 1909 EOF |
| 1904 } | 1910 } |
| 1905 | 1911 |
| 1906 | 1912 |
| 1907 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1913 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
| 1908 echo "configure:1909: checking whether we are using SunPro C" >&5 | 1914 echo "configure:1915: checking whether we are using SunPro C" >&5 |
| 1909 cat > conftest.$ac_ext <<EOF | 1915 cat > conftest.$ac_ext <<EOF |
| 1910 #line 1911 "configure" | 1916 #line 1917 "configure" |
| 1911 #include "confdefs.h" | 1917 #include "confdefs.h" |
| 1912 | 1918 |
| 1913 int main() { | 1919 int main() { |
| 1914 #ifndef __SUNPRO_C | 1920 #ifndef __SUNPRO_C |
| 1915 #error Not a SunPro compiler :-( | 1921 #error Not a SunPro compiler :-( |
| 1916 ******* ======= ******** &&&&&&&& | 1922 ******* ======= ******** &&&&&&&& |
| 1917 #endif | 1923 #endif |
| 1918 | 1924 |
| 1919 ; return 0; } | 1925 ; return 0; } |
| 1920 EOF | 1926 EOF |
| 1921 if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1927 if { (eval echo configure:1928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1922 rm -rf conftest* | 1928 rm -rf conftest* |
| 1923 __sunpro_c=yes | 1929 __sunpro_c=yes |
| 1924 else | 1930 else |
| 1925 echo "configure: failed program was:" >&5 | 1931 echo "configure: failed program was:" >&5 |
| 1926 cat conftest.$ac_ext >&5 | 1932 cat conftest.$ac_ext >&5 |
| 2192 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2198 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2193 echo " xemacs will be linked with \"$unexec\"" | 2199 echo " xemacs will be linked with \"$unexec\"" |
| 2194 fi | 2200 fi |
| 2195 | 2201 |
| 2196 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2202 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2197 echo "configure:2198: checking for dynodump" >&5 | 2203 echo "configure:2204: checking for dynodump" >&5 |
| 2198 if test "$unexec" != "unexsol2.o"; then | 2204 if test "$unexec" != "unexsol2.o"; then |
| 2199 echo "$ac_t""no" 1>&6 | 2205 echo "$ac_t""no" 1>&6 |
| 2200 else | 2206 else |
| 2201 echo "$ac_t""yes" 1>&6 | 2207 echo "$ac_t""yes" 1>&6 |
| 2202 { test "$extra_verbose" = "yes" && cat << \EOF | 2208 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2290 esac | 2296 esac |
| 2291 fi | 2297 fi |
| 2292 | 2298 |
| 2293 if test "$add_runtime_path" = "yes"; then | 2299 if test "$add_runtime_path" = "yes"; then |
| 2294 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2300 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2295 echo "configure:2296: checking "for runtime libraries flag"" >&5 | 2301 echo "configure:2302: checking "for runtime libraries flag"" >&5 |
| 2296 dash_r="" | 2302 dash_r="" |
| 2297 for try_dash_r in "-R" "-R " "-rpath "; do | 2303 for try_dash_r in "-R" "-R " "-rpath "; do |
| 2298 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2304 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
| 2299 cat > conftest.$ac_ext <<EOF | 2305 cat > conftest.$ac_ext <<EOF |
| 2300 #line 2301 "configure" | 2306 #line 2307 "configure" |
| 2301 #include "confdefs.h" | 2307 #include "confdefs.h" |
| 2302 | 2308 |
| 2303 int main() { | 2309 int main() { |
| 2304 | 2310 |
| 2305 ; return 0; } | 2311 ; return 0; } |
| 2306 EOF | 2312 EOF |
| 2307 if { (eval echo configure:2308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2313 if { (eval echo configure:2314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2308 rm -rf conftest* | 2314 rm -rf conftest* |
| 2309 dash_r="$try_dash_r" | 2315 dash_r="$try_dash_r" |
| 2310 else | 2316 else |
| 2311 echo "configure: failed program was:" >&5 | 2317 echo "configure: failed program was:" >&5 |
| 2312 cat conftest.$ac_ext >&5 | 2318 cat conftest.$ac_ext >&5 |
| 2400 | 2406 |
| 2401 | 2407 |
| 2402 # Extract the first word of "ranlib", so it can be a program name with args. | 2408 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2403 set dummy ranlib; ac_word=$2 | 2409 set dummy ranlib; ac_word=$2 |
| 2404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2405 echo "configure:2406: checking for $ac_word" >&5 | 2411 echo "configure:2412: checking for $ac_word" >&5 |
| 2406 | 2412 |
| 2407 if test -n "$RANLIB"; then | 2413 if test -n "$RANLIB"; then |
| 2408 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2414 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2409 else | 2415 else |
| 2410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2453 # AIX /bin/install | 2459 # AIX /bin/install |
| 2454 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2455 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2456 # ./install, which can be erroneously created by make from ./install.sh. | 2462 # ./install, which can be erroneously created by make from ./install.sh. |
| 2457 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2463 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2458 echo "configure:2459: checking for a BSD compatible install" >&5 | 2464 echo "configure:2465: checking for a BSD compatible install" >&5 |
| 2459 if test -z "$INSTALL"; then | 2465 if test -z "$INSTALL"; then |
| 2460 | 2466 |
| 2461 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2467 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2462 for ac_dir in $PATH; do | 2468 for ac_dir in $PATH; do |
| 2463 # Account for people who put trailing slashes in PATH elements. | 2469 # Account for people who put trailing slashes in PATH elements. |
| 2504 for ac_prog in 'bison -y' byacc | 2510 for ac_prog in 'bison -y' byacc |
| 2505 do | 2511 do |
| 2506 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2512 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2507 set dummy $ac_prog; ac_word=$2 | 2513 set dummy $ac_prog; ac_word=$2 |
| 2508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2509 echo "configure:2510: checking for $ac_word" >&5 | 2515 echo "configure:2516: checking for $ac_word" >&5 |
| 2510 | 2516 |
| 2511 if test -n "$YACC"; then | 2517 if test -n "$YACC"; then |
| 2512 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2518 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2513 else | 2519 else |
| 2514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2520 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2535 | 2541 |
| 2536 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2542 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2537 do | 2543 do |
| 2538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2544 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2545 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2540 echo "configure:2541: checking for $ac_hdr" >&5 | 2546 echo "configure:2547: checking for $ac_hdr" >&5 |
| 2541 | 2547 |
| 2542 cat > conftest.$ac_ext <<EOF | 2548 cat > conftest.$ac_ext <<EOF |
| 2543 #line 2544 "configure" | 2549 #line 2550 "configure" |
| 2544 #include "confdefs.h" | 2550 #include "confdefs.h" |
| 2545 #include <$ac_hdr> | 2551 #include <$ac_hdr> |
| 2546 EOF | 2552 EOF |
| 2547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2548 { (eval echo configure:2549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2554 { (eval echo configure:2555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2549 ac_err=`grep -v '^ *+' conftest.out` | 2555 ac_err=`grep -v '^ *+' conftest.out` |
| 2550 if test -z "$ac_err"; then | 2556 if test -z "$ac_err"; then |
| 2551 rm -rf conftest* | 2557 rm -rf conftest* |
| 2552 eval "ac_cv_header_$ac_safe=yes" | 2558 eval "ac_cv_header_$ac_safe=yes" |
| 2553 else | 2559 else |
| 2576 | 2582 |
| 2577 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2583 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
| 2578 do | 2584 do |
| 2579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2585 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2586 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2581 echo "configure:2582: checking for $ac_hdr" >&5 | 2587 echo "configure:2588: checking for $ac_hdr" >&5 |
| 2582 | 2588 |
| 2583 cat > conftest.$ac_ext <<EOF | 2589 cat > conftest.$ac_ext <<EOF |
| 2584 #line 2585 "configure" | 2590 #line 2591 "configure" |
| 2585 #include "confdefs.h" | 2591 #include "confdefs.h" |
| 2586 #include <$ac_hdr> | 2592 #include <$ac_hdr> |
| 2587 EOF | 2593 EOF |
| 2588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2589 { (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2595 { (eval echo configure:2596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2590 ac_err=`grep -v '^ *+' conftest.out` | 2596 ac_err=`grep -v '^ *+' conftest.out` |
| 2591 if test -z "$ac_err"; then | 2597 if test -z "$ac_err"; then |
| 2592 rm -rf conftest* | 2598 rm -rf conftest* |
| 2593 eval "ac_cv_header_$ac_safe=yes" | 2599 eval "ac_cv_header_$ac_safe=yes" |
| 2594 else | 2600 else |
| 2613 else | 2619 else |
| 2614 echo "$ac_t""no" 1>&6 | 2620 echo "$ac_t""no" 1>&6 |
| 2615 fi | 2621 fi |
| 2616 done | 2622 done |
| 2617 | 2623 |
| 2618 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h coff.h | 2624 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 2619 do | 2625 do |
| 2620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2622 echo "configure:2623: checking for $ac_hdr" >&5 | 2628 echo "configure:2629: checking for $ac_hdr" >&5 |
| 2623 | 2629 |
| 2624 cat > conftest.$ac_ext <<EOF | 2630 cat > conftest.$ac_ext <<EOF |
| 2625 #line 2626 "configure" | 2631 #line 2632 "configure" |
| 2626 #include "confdefs.h" | 2632 #include "confdefs.h" |
| 2627 #include <$ac_hdr> | 2633 #include <$ac_hdr> |
| 2628 EOF | 2634 EOF |
| 2629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2630 { (eval echo configure:2631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2636 { (eval echo configure:2637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2631 ac_err=`grep -v '^ *+' conftest.out` | 2637 ac_err=`grep -v '^ *+' conftest.out` |
| 2632 if test -z "$ac_err"; then | 2638 if test -z "$ac_err"; then |
| 2633 rm -rf conftest* | 2639 rm -rf conftest* |
| 2634 eval "ac_cv_header_$ac_safe=yes" | 2640 eval "ac_cv_header_$ac_safe=yes" |
| 2635 else | 2641 else |
| 2655 echo "$ac_t""no" 1>&6 | 2661 echo "$ac_t""no" 1>&6 |
| 2656 fi | 2662 fi |
| 2657 done | 2663 done |
| 2658 | 2664 |
| 2659 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2665 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2660 echo "configure:2661: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2666 echo "configure:2667: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2661 | 2667 |
| 2662 cat > conftest.$ac_ext <<EOF | 2668 cat > conftest.$ac_ext <<EOF |
| 2663 #line 2664 "configure" | 2669 #line 2670 "configure" |
| 2664 #include "confdefs.h" | 2670 #include "confdefs.h" |
| 2665 #include <sys/types.h> | 2671 #include <sys/types.h> |
| 2666 #include <sys/wait.h> | 2672 #include <sys/wait.h> |
| 2667 #ifndef WEXITSTATUS | 2673 #ifndef WEXITSTATUS |
| 2668 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2674 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 2674 int s; | 2680 int s; |
| 2675 wait (&s); | 2681 wait (&s); |
| 2676 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2682 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2677 ; return 0; } | 2683 ; return 0; } |
| 2678 EOF | 2684 EOF |
| 2679 if { (eval echo configure:2680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2685 if { (eval echo configure:2686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2680 rm -rf conftest* | 2686 rm -rf conftest* |
| 2681 ac_cv_header_sys_wait_h=yes | 2687 ac_cv_header_sys_wait_h=yes |
| 2682 else | 2688 else |
| 2683 echo "configure: failed program was:" >&5 | 2689 echo "configure: failed program was:" >&5 |
| 2684 cat conftest.$ac_ext >&5 | 2690 cat conftest.$ac_ext >&5 |
| 2698 } | 2704 } |
| 2699 | 2705 |
| 2700 fi | 2706 fi |
| 2701 | 2707 |
| 2702 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2708 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2703 echo "configure:2704: checking for ANSI C header files" >&5 | 2709 echo "configure:2710: checking for ANSI C header files" >&5 |
| 2704 | 2710 |
| 2705 cat > conftest.$ac_ext <<EOF | 2711 cat > conftest.$ac_ext <<EOF |
| 2706 #line 2707 "configure" | 2712 #line 2713 "configure" |
| 2707 #include "confdefs.h" | 2713 #include "confdefs.h" |
| 2708 #include <stdlib.h> | 2714 #include <stdlib.h> |
| 2709 #include <stdarg.h> | 2715 #include <stdarg.h> |
| 2710 #include <string.h> | 2716 #include <string.h> |
| 2711 #include <float.h> | 2717 #include <float.h> |
| 2712 EOF | 2718 EOF |
| 2713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2714 { (eval echo configure:2715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2720 { (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2715 ac_err=`grep -v '^ *+' conftest.out` | 2721 ac_err=`grep -v '^ *+' conftest.out` |
| 2716 if test -z "$ac_err"; then | 2722 if test -z "$ac_err"; then |
| 2717 rm -rf conftest* | 2723 rm -rf conftest* |
| 2718 ac_cv_header_stdc=yes | 2724 ac_cv_header_stdc=yes |
| 2719 else | 2725 else |
| 2726 rm -f conftest* | 2732 rm -f conftest* |
| 2727 | 2733 |
| 2728 if test $ac_cv_header_stdc = yes; then | 2734 if test $ac_cv_header_stdc = yes; then |
| 2729 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2730 cat > conftest.$ac_ext <<EOF | 2736 cat > conftest.$ac_ext <<EOF |
| 2731 #line 2732 "configure" | 2737 #line 2738 "configure" |
| 2732 #include "confdefs.h" | 2738 #include "confdefs.h" |
| 2733 #include <string.h> | 2739 #include <string.h> |
| 2734 EOF | 2740 EOF |
| 2735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2736 egrep "memchr" >/dev/null 2>&1; then | 2742 egrep "memchr" >/dev/null 2>&1; then |
| 2744 fi | 2750 fi |
| 2745 | 2751 |
| 2746 if test $ac_cv_header_stdc = yes; then | 2752 if test $ac_cv_header_stdc = yes; then |
| 2747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2753 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2748 cat > conftest.$ac_ext <<EOF | 2754 cat > conftest.$ac_ext <<EOF |
| 2749 #line 2750 "configure" | 2755 #line 2756 "configure" |
| 2750 #include "confdefs.h" | 2756 #include "confdefs.h" |
| 2751 #include <stdlib.h> | 2757 #include <stdlib.h> |
| 2752 EOF | 2758 EOF |
| 2753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 2754 egrep "free" >/dev/null 2>&1; then | 2760 egrep "free" >/dev/null 2>&1; then |
| 2762 fi | 2768 fi |
| 2763 | 2769 |
| 2764 if test $ac_cv_header_stdc = yes; then | 2770 if test $ac_cv_header_stdc = yes; then |
| 2765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2771 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 2766 cat > conftest.$ac_ext <<EOF | 2772 cat > conftest.$ac_ext <<EOF |
| 2767 #line 2768 "configure" | 2773 #line 2774 "configure" |
| 2768 #include "confdefs.h" | 2774 #include "confdefs.h" |
| 2769 #include <ctype.h> | 2775 #include <ctype.h> |
| 2770 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2776 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2771 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2777 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 2772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2778 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 2773 int main () { int i; for (i = 0; i < 256; i++) | 2779 int main () { int i; for (i = 0; i < 256; i++) |
| 2774 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2780 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 2775 exit (0); } | 2781 exit (0); } |
| 2776 | 2782 |
| 2777 EOF | 2783 EOF |
| 2778 if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2784 if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 2779 then | 2785 then |
| 2780 : | 2786 : |
| 2781 else | 2787 else |
| 2782 echo "configure: failed program was:" >&5 | 2788 echo "configure: failed program was:" >&5 |
| 2783 cat conftest.$ac_ext >&5 | 2789 cat conftest.$ac_ext >&5 |
| 2798 } | 2804 } |
| 2799 | 2805 |
| 2800 fi | 2806 fi |
| 2801 | 2807 |
| 2802 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2808 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2803 echo "configure:2804: checking whether time.h and sys/time.h may both be included" >&5 | 2809 echo "configure:2810: checking whether time.h and sys/time.h may both be included" >&5 |
| 2804 | 2810 |
| 2805 cat > conftest.$ac_ext <<EOF | 2811 cat > conftest.$ac_ext <<EOF |
| 2806 #line 2807 "configure" | 2812 #line 2813 "configure" |
| 2807 #include "confdefs.h" | 2813 #include "confdefs.h" |
| 2808 #include <sys/types.h> | 2814 #include <sys/types.h> |
| 2809 #include <sys/time.h> | 2815 #include <sys/time.h> |
| 2810 #include <time.h> | 2816 #include <time.h> |
| 2811 int main() { | 2817 int main() { |
| 2812 struct tm *tp; | 2818 struct tm *tp; |
| 2813 ; return 0; } | 2819 ; return 0; } |
| 2814 EOF | 2820 EOF |
| 2815 if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2821 if { (eval echo configure:2822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2816 rm -rf conftest* | 2822 rm -rf conftest* |
| 2817 ac_cv_header_time=yes | 2823 ac_cv_header_time=yes |
| 2818 else | 2824 else |
| 2819 echo "configure: failed program was:" >&5 | 2825 echo "configure: failed program was:" >&5 |
| 2820 cat conftest.$ac_ext >&5 | 2826 cat conftest.$ac_ext >&5 |
| 2834 } | 2840 } |
| 2835 | 2841 |
| 2836 fi | 2842 fi |
| 2837 | 2843 |
| 2838 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2844 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2839 echo "configure:2840: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2845 echo "configure:2846: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2840 | 2846 |
| 2841 cat > conftest.$ac_ext <<EOF | 2847 cat > conftest.$ac_ext <<EOF |
| 2842 #line 2843 "configure" | 2848 #line 2849 "configure" |
| 2843 #include "confdefs.h" | 2849 #include "confdefs.h" |
| 2844 #include <sys/types.h> | 2850 #include <sys/types.h> |
| 2845 #include <signal.h> | 2851 #include <signal.h> |
| 2846 /* NetBSD declares sys_siglist in unistd.h. */ | 2852 /* NetBSD declares sys_siglist in unistd.h. */ |
| 2847 #ifdef HAVE_UNISTD_H | 2853 #ifdef HAVE_UNISTD_H |
| 2849 #endif | 2855 #endif |
| 2850 int main() { | 2856 int main() { |
| 2851 char *msg = *(sys_siglist + 1); | 2857 char *msg = *(sys_siglist + 1); |
| 2852 ; return 0; } | 2858 ; return 0; } |
| 2853 EOF | 2859 EOF |
| 2854 if { (eval echo configure:2855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2860 if { (eval echo configure:2861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2855 rm -rf conftest* | 2861 rm -rf conftest* |
| 2856 ac_cv_decl_sys_siglist=yes | 2862 ac_cv_decl_sys_siglist=yes |
| 2857 else | 2863 else |
| 2858 echo "configure: failed program was:" >&5 | 2864 echo "configure: failed program was:" >&5 |
| 2859 cat conftest.$ac_ext >&5 | 2865 cat conftest.$ac_ext >&5 |
| 2874 | 2880 |
| 2875 fi | 2881 fi |
| 2876 | 2882 |
| 2877 | 2883 |
| 2878 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2884 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2879 echo "configure:2880: checking for struct utimbuf" >&5 | 2885 echo "configure:2886: checking for struct utimbuf" >&5 |
| 2880 cat > conftest.$ac_ext <<EOF | 2886 cat > conftest.$ac_ext <<EOF |
| 2881 #line 2882 "configure" | 2887 #line 2888 "configure" |
| 2882 #include "confdefs.h" | 2888 #include "confdefs.h" |
| 2883 #ifdef TIME_WITH_SYS_TIME | 2889 #ifdef TIME_WITH_SYS_TIME |
| 2884 #include <sys/time.h> | 2890 #include <sys/time.h> |
| 2885 #include <time.h> | 2891 #include <time.h> |
| 2886 #else | 2892 #else |
| 2895 #endif | 2901 #endif |
| 2896 int main() { | 2902 int main() { |
| 2897 static struct utimbuf x; x.actime = x.modtime; | 2903 static struct utimbuf x; x.actime = x.modtime; |
| 2898 ; return 0; } | 2904 ; return 0; } |
| 2899 EOF | 2905 EOF |
| 2900 if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2906 if { (eval echo configure:2907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2901 rm -rf conftest* | 2907 rm -rf conftest* |
| 2902 echo "$ac_t""yes" 1>&6 | 2908 echo "$ac_t""yes" 1>&6 |
| 2903 { test "$extra_verbose" = "yes" && cat << \EOF | 2909 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2904 Defining HAVE_STRUCT_UTIMBUF | 2910 Defining HAVE_STRUCT_UTIMBUF |
| 2905 EOF | 2911 EOF |
| 2915 echo "$ac_t""no" 1>&6 | 2921 echo "$ac_t""no" 1>&6 |
| 2916 fi | 2922 fi |
| 2917 rm -f conftest* | 2923 rm -f conftest* |
| 2918 | 2924 |
| 2919 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2925 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2920 echo "configure:2921: checking return type of signal handlers" >&5 | 2926 echo "configure:2927: checking return type of signal handlers" >&5 |
| 2921 | 2927 |
| 2922 cat > conftest.$ac_ext <<EOF | 2928 cat > conftest.$ac_ext <<EOF |
| 2923 #line 2924 "configure" | 2929 #line 2930 "configure" |
| 2924 #include "confdefs.h" | 2930 #include "confdefs.h" |
| 2925 #include <sys/types.h> | 2931 #include <sys/types.h> |
| 2926 #include <signal.h> | 2932 #include <signal.h> |
| 2927 #ifdef signal | 2933 #ifdef signal |
| 2928 #undef signal | 2934 #undef signal |
| 2935 | 2941 |
| 2936 int main() { | 2942 int main() { |
| 2937 int i; | 2943 int i; |
| 2938 ; return 0; } | 2944 ; return 0; } |
| 2939 EOF | 2945 EOF |
| 2940 if { (eval echo configure:2941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2946 if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2941 rm -rf conftest* | 2947 rm -rf conftest* |
| 2942 ac_cv_type_signal=void | 2948 ac_cv_type_signal=void |
| 2943 else | 2949 else |
| 2944 echo "configure: failed program was:" >&5 | 2950 echo "configure: failed program was:" >&5 |
| 2945 cat conftest.$ac_ext >&5 | 2951 cat conftest.$ac_ext >&5 |
| 2957 EOF | 2963 EOF |
| 2958 } | 2964 } |
| 2959 | 2965 |
| 2960 | 2966 |
| 2961 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2967 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 2962 echo "configure:2963: checking for size_t" >&5 | 2968 echo "configure:2969: checking for size_t" >&5 |
| 2963 | 2969 |
| 2964 cat > conftest.$ac_ext <<EOF | 2970 cat > conftest.$ac_ext <<EOF |
| 2965 #line 2966 "configure" | 2971 #line 2972 "configure" |
| 2966 #include "confdefs.h" | 2972 #include "confdefs.h" |
| 2967 #include <sys/types.h> | 2973 #include <sys/types.h> |
| 2968 #if STDC_HEADERS | 2974 #if STDC_HEADERS |
| 2969 #include <stdlib.h> | 2975 #include <stdlib.h> |
| 2970 #include <stddef.h> | 2976 #include <stddef.h> |
| 2991 } | 2997 } |
| 2992 | 2998 |
| 2993 fi | 2999 fi |
| 2994 | 3000 |
| 2995 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3001 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 2996 echo "configure:2997: checking for pid_t" >&5 | 3002 echo "configure:3003: checking for pid_t" >&5 |
| 2997 | 3003 |
| 2998 cat > conftest.$ac_ext <<EOF | 3004 cat > conftest.$ac_ext <<EOF |
| 2999 #line 3000 "configure" | 3005 #line 3006 "configure" |
| 3000 #include "confdefs.h" | 3006 #include "confdefs.h" |
| 3001 #include <sys/types.h> | 3007 #include <sys/types.h> |
| 3002 #if STDC_HEADERS | 3008 #if STDC_HEADERS |
| 3003 #include <stdlib.h> | 3009 #include <stdlib.h> |
| 3004 #include <stddef.h> | 3010 #include <stddef.h> |
| 3025 } | 3031 } |
| 3026 | 3032 |
| 3027 fi | 3033 fi |
| 3028 | 3034 |
| 3029 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3035 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3030 echo "configure:3031: checking for uid_t in sys/types.h" >&5 | 3036 echo "configure:3037: checking for uid_t in sys/types.h" >&5 |
| 3031 | 3037 |
| 3032 cat > conftest.$ac_ext <<EOF | 3038 cat > conftest.$ac_ext <<EOF |
| 3033 #line 3034 "configure" | 3039 #line 3040 "configure" |
| 3034 #include "confdefs.h" | 3040 #include "confdefs.h" |
| 3035 #include <sys/types.h> | 3041 #include <sys/types.h> |
| 3036 EOF | 3042 EOF |
| 3037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3038 egrep "uid_t" >/dev/null 2>&1; then | 3044 egrep "uid_t" >/dev/null 2>&1; then |
| 3064 } | 3070 } |
| 3065 | 3071 |
| 3066 fi | 3072 fi |
| 3067 | 3073 |
| 3068 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3074 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3069 echo "configure:3070: checking for mode_t" >&5 | 3075 echo "configure:3076: checking for mode_t" >&5 |
| 3070 | 3076 |
| 3071 cat > conftest.$ac_ext <<EOF | 3077 cat > conftest.$ac_ext <<EOF |
| 3072 #line 3073 "configure" | 3078 #line 3079 "configure" |
| 3073 #include "confdefs.h" | 3079 #include "confdefs.h" |
| 3074 #include <sys/types.h> | 3080 #include <sys/types.h> |
| 3075 #if STDC_HEADERS | 3081 #if STDC_HEADERS |
| 3076 #include <stdlib.h> | 3082 #include <stdlib.h> |
| 3077 #include <stddef.h> | 3083 #include <stddef.h> |
| 3098 } | 3104 } |
| 3099 | 3105 |
| 3100 fi | 3106 fi |
| 3101 | 3107 |
| 3102 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3108 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3103 echo "configure:3104: checking for off_t" >&5 | 3109 echo "configure:3110: checking for off_t" >&5 |
| 3104 | 3110 |
| 3105 cat > conftest.$ac_ext <<EOF | 3111 cat > conftest.$ac_ext <<EOF |
| 3106 #line 3107 "configure" | 3112 #line 3113 "configure" |
| 3107 #include "confdefs.h" | 3113 #include "confdefs.h" |
| 3108 #include <sys/types.h> | 3114 #include <sys/types.h> |
| 3109 #if STDC_HEADERS | 3115 #if STDC_HEADERS |
| 3110 #include <stdlib.h> | 3116 #include <stdlib.h> |
| 3111 #include <stddef.h> | 3117 #include <stddef.h> |
| 3133 | 3139 |
| 3134 fi | 3140 fi |
| 3135 | 3141 |
| 3136 | 3142 |
| 3137 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3143 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3138 echo "configure:3139: checking for struct timeval" >&5 | 3144 echo "configure:3145: checking for struct timeval" >&5 |
| 3139 cat > conftest.$ac_ext <<EOF | 3145 cat > conftest.$ac_ext <<EOF |
| 3140 #line 3141 "configure" | 3146 #line 3147 "configure" |
| 3141 #include "confdefs.h" | 3147 #include "confdefs.h" |
| 3142 #ifdef TIME_WITH_SYS_TIME | 3148 #ifdef TIME_WITH_SYS_TIME |
| 3143 #include <sys/time.h> | 3149 #include <sys/time.h> |
| 3144 #include <time.h> | 3150 #include <time.h> |
| 3145 #else | 3151 #else |
| 3151 #endif | 3157 #endif |
| 3152 int main() { | 3158 int main() { |
| 3153 static struct timeval x; x.tv_sec = x.tv_usec; | 3159 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3154 ; return 0; } | 3160 ; return 0; } |
| 3155 EOF | 3161 EOF |
| 3156 if { (eval echo configure:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3162 if { (eval echo configure:3163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3157 rm -rf conftest* | 3163 rm -rf conftest* |
| 3158 echo "$ac_t""yes" 1>&6 | 3164 echo "$ac_t""yes" 1>&6 |
| 3159 HAVE_TIMEVAL=yes | 3165 HAVE_TIMEVAL=yes |
| 3160 { test "$extra_verbose" = "yes" && cat << \EOF | 3166 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3161 Defining HAVE_TIMEVAL | 3167 Defining HAVE_TIMEVAL |
| 3173 HAVE_TIMEVAL=no | 3179 HAVE_TIMEVAL=no |
| 3174 fi | 3180 fi |
| 3175 rm -f conftest* | 3181 rm -f conftest* |
| 3176 | 3182 |
| 3177 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3183 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3178 echo "configure:3179: checking whether struct tm is in sys/time.h or time.h" >&5 | 3184 echo "configure:3185: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3179 | 3185 |
| 3180 cat > conftest.$ac_ext <<EOF | 3186 cat > conftest.$ac_ext <<EOF |
| 3181 #line 3182 "configure" | 3187 #line 3188 "configure" |
| 3182 #include "confdefs.h" | 3188 #include "confdefs.h" |
| 3183 #include <sys/types.h> | 3189 #include <sys/types.h> |
| 3184 #include <time.h> | 3190 #include <time.h> |
| 3185 int main() { | 3191 int main() { |
| 3186 struct tm *tp; tp->tm_sec; | 3192 struct tm *tp; tp->tm_sec; |
| 3187 ; return 0; } | 3193 ; return 0; } |
| 3188 EOF | 3194 EOF |
| 3189 if { (eval echo configure:3190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3195 if { (eval echo configure:3196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3190 rm -rf conftest* | 3196 rm -rf conftest* |
| 3191 ac_cv_struct_tm=time.h | 3197 ac_cv_struct_tm=time.h |
| 3192 else | 3198 else |
| 3193 echo "configure: failed program was:" >&5 | 3199 echo "configure: failed program was:" >&5 |
| 3194 cat conftest.$ac_ext >&5 | 3200 cat conftest.$ac_ext >&5 |
| 3208 } | 3214 } |
| 3209 | 3215 |
| 3210 fi | 3216 fi |
| 3211 | 3217 |
| 3212 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3218 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3213 echo "configure:3214: checking for tm_zone in struct tm" >&5 | 3219 echo "configure:3220: checking for tm_zone in struct tm" >&5 |
| 3214 | 3220 |
| 3215 cat > conftest.$ac_ext <<EOF | 3221 cat > conftest.$ac_ext <<EOF |
| 3216 #line 3217 "configure" | 3222 #line 3223 "configure" |
| 3217 #include "confdefs.h" | 3223 #include "confdefs.h" |
| 3218 #include <sys/types.h> | 3224 #include <sys/types.h> |
| 3219 #include <$ac_cv_struct_tm> | 3225 #include <$ac_cv_struct_tm> |
| 3220 int main() { | 3226 int main() { |
| 3221 struct tm tm; tm.tm_zone; | 3227 struct tm tm; tm.tm_zone; |
| 3222 ; return 0; } | 3228 ; return 0; } |
| 3223 EOF | 3229 EOF |
| 3224 if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3230 if { (eval echo configure:3231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3225 rm -rf conftest* | 3231 rm -rf conftest* |
| 3226 ac_cv_struct_tm_zone=yes | 3232 ac_cv_struct_tm_zone=yes |
| 3227 else | 3233 else |
| 3228 echo "configure: failed program was:" >&5 | 3234 echo "configure: failed program was:" >&5 |
| 3229 cat conftest.$ac_ext >&5 | 3235 cat conftest.$ac_ext >&5 |
| 3242 EOF | 3248 EOF |
| 3243 } | 3249 } |
| 3244 | 3250 |
| 3245 else | 3251 else |
| 3246 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3252 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3247 echo "configure:3248: checking for tzname" >&5 | 3253 echo "configure:3254: checking for tzname" >&5 |
| 3248 | 3254 |
| 3249 cat > conftest.$ac_ext <<EOF | 3255 cat > conftest.$ac_ext <<EOF |
| 3250 #line 3251 "configure" | 3256 #line 3257 "configure" |
| 3251 #include "confdefs.h" | 3257 #include "confdefs.h" |
| 3252 #include <time.h> | 3258 #include <time.h> |
| 3253 #ifndef tzname /* For SGI. */ | 3259 #ifndef tzname /* For SGI. */ |
| 3254 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3260 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3255 #endif | 3261 #endif |
| 3256 int main() { | 3262 int main() { |
| 3257 atoi(*tzname); | 3263 atoi(*tzname); |
| 3258 ; return 0; } | 3264 ; return 0; } |
| 3259 EOF | 3265 EOF |
| 3260 if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3266 if { (eval echo configure:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3261 rm -rf conftest* | 3267 rm -rf conftest* |
| 3262 ac_cv_var_tzname=yes | 3268 ac_cv_var_tzname=yes |
| 3263 else | 3269 else |
| 3264 echo "configure: failed program was:" >&5 | 3270 echo "configure: failed program was:" >&5 |
| 3265 cat conftest.$ac_ext >&5 | 3271 cat conftest.$ac_ext >&5 |
| 3281 fi | 3287 fi |
| 3282 fi | 3288 fi |
| 3283 | 3289 |
| 3284 | 3290 |
| 3285 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3291 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3286 echo "configure:3287: checking for working const" >&5 | 3292 echo "configure:3293: checking for working const" >&5 |
| 3287 | 3293 |
| 3288 cat > conftest.$ac_ext <<EOF | 3294 cat > conftest.$ac_ext <<EOF |
| 3289 #line 3290 "configure" | 3295 #line 3296 "configure" |
| 3290 #include "confdefs.h" | 3296 #include "confdefs.h" |
| 3291 | 3297 |
| 3292 int main() { | 3298 int main() { |
| 3293 | 3299 |
| 3294 /* Ultrix mips cc rejects this. */ | 3300 /* Ultrix mips cc rejects this. */ |
| 3333 const int foo = 10; | 3339 const int foo = 10; |
| 3334 } | 3340 } |
| 3335 | 3341 |
| 3336 ; return 0; } | 3342 ; return 0; } |
| 3337 EOF | 3343 EOF |
| 3338 if { (eval echo configure:3339: \"$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 |
| 3339 rm -rf conftest* | 3345 rm -rf conftest* |
| 3340 ac_cv_c_const=yes | 3346 ac_cv_c_const=yes |
| 3341 else | 3347 else |
| 3342 echo "configure: failed program was:" >&5 | 3348 echo "configure: failed program was:" >&5 |
| 3343 cat conftest.$ac_ext >&5 | 3349 cat conftest.$ac_ext >&5 |
| 3358 | 3364 |
| 3359 fi | 3365 fi |
| 3360 | 3366 |
| 3361 | 3367 |
| 3362 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3368 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3363 echo "configure:3364: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3369 echo "configure:3370: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3364 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3370 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3365 | 3371 |
| 3366 cat > conftestmake <<\EOF | 3372 cat > conftestmake <<\EOF |
| 3367 all: | 3373 all: |
| 3368 @echo 'ac_maketemp="${MAKE}"' | 3374 @echo 'ac_maketemp="${MAKE}"' |
| 3383 SET_MAKE="MAKE=${MAKE-make}" | 3389 SET_MAKE="MAKE=${MAKE-make}" |
| 3384 fi | 3390 fi |
| 3385 | 3391 |
| 3386 | 3392 |
| 3387 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3393 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3388 echo "configure:3389: checking whether byte ordering is bigendian" >&5 | 3394 echo "configure:3395: checking whether byte ordering is bigendian" >&5 |
| 3389 | 3395 |
| 3390 ac_cv_c_bigendian=unknown | 3396 ac_cv_c_bigendian=unknown |
| 3391 # See if sys/param.h defines the BYTE_ORDER macro. | 3397 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3392 cat > conftest.$ac_ext <<EOF | 3398 cat > conftest.$ac_ext <<EOF |
| 3393 #line 3394 "configure" | 3399 #line 3400 "configure" |
| 3394 #include "confdefs.h" | 3400 #include "confdefs.h" |
| 3395 #include <sys/types.h> | 3401 #include <sys/types.h> |
| 3396 #include <sys/param.h> | 3402 #include <sys/param.h> |
| 3397 int main() { | 3403 int main() { |
| 3398 | 3404 |
| 3399 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3405 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3400 bogus endian macros | 3406 bogus endian macros |
| 3401 #endif | 3407 #endif |
| 3402 ; return 0; } | 3408 ; return 0; } |
| 3403 EOF | 3409 EOF |
| 3404 if { (eval echo configure:3405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3410 if { (eval echo configure:3411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3405 rm -rf conftest* | 3411 rm -rf conftest* |
| 3406 # It does; now see whether it defined to BIG_ENDIAN or not. | 3412 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3407 cat > conftest.$ac_ext <<EOF | 3413 cat > conftest.$ac_ext <<EOF |
| 3408 #line 3409 "configure" | 3414 #line 3415 "configure" |
| 3409 #include "confdefs.h" | 3415 #include "confdefs.h" |
| 3410 #include <sys/types.h> | 3416 #include <sys/types.h> |
| 3411 #include <sys/param.h> | 3417 #include <sys/param.h> |
| 3412 int main() { | 3418 int main() { |
| 3413 | 3419 |
| 3414 #if BYTE_ORDER != BIG_ENDIAN | 3420 #if BYTE_ORDER != BIG_ENDIAN |
| 3415 not big endian | 3421 not big endian |
| 3416 #endif | 3422 #endif |
| 3417 ; return 0; } | 3423 ; return 0; } |
| 3418 EOF | 3424 EOF |
| 3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3425 if { (eval echo configure:3426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3420 rm -rf conftest* | 3426 rm -rf conftest* |
| 3421 ac_cv_c_bigendian=yes | 3427 ac_cv_c_bigendian=yes |
| 3422 else | 3428 else |
| 3423 echo "configure: failed program was:" >&5 | 3429 echo "configure: failed program was:" >&5 |
| 3424 cat conftest.$ac_ext >&5 | 3430 cat conftest.$ac_ext >&5 |
| 3431 cat conftest.$ac_ext >&5 | 3437 cat conftest.$ac_ext >&5 |
| 3432 fi | 3438 fi |
| 3433 rm -f conftest* | 3439 rm -f conftest* |
| 3434 if test $ac_cv_c_bigendian = unknown; then | 3440 if test $ac_cv_c_bigendian = unknown; then |
| 3435 cat > conftest.$ac_ext <<EOF | 3441 cat > conftest.$ac_ext <<EOF |
| 3436 #line 3437 "configure" | 3442 #line 3443 "configure" |
| 3437 #include "confdefs.h" | 3443 #include "confdefs.h" |
| 3438 main () { | 3444 main () { |
| 3439 /* Are we little or big endian? From Harbison&Steele. */ | 3445 /* Are we little or big endian? From Harbison&Steele. */ |
| 3440 union | 3446 union |
| 3441 { | 3447 { |
| 3444 } u; | 3450 } u; |
| 3445 u.l = 1; | 3451 u.l = 1; |
| 3446 exit (u.c[sizeof (long) - 1] == 1); | 3452 exit (u.c[sizeof (long) - 1] == 1); |
| 3447 } | 3453 } |
| 3448 EOF | 3454 EOF |
| 3449 if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3455 if { (eval echo configure:3456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3450 then | 3456 then |
| 3451 ac_cv_c_bigendian=no | 3457 ac_cv_c_bigendian=no |
| 3452 else | 3458 else |
| 3453 echo "configure: failed program was:" >&5 | 3459 echo "configure: failed program was:" >&5 |
| 3454 cat conftest.$ac_ext >&5 | 3460 cat conftest.$ac_ext >&5 |
| 3470 | 3476 |
| 3471 fi | 3477 fi |
| 3472 | 3478 |
| 3473 | 3479 |
| 3474 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3480 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3475 echo "configure:3476: checking size of short" >&5 | 3481 echo "configure:3482: checking size of short" >&5 |
| 3476 | 3482 |
| 3477 cat > conftest.$ac_ext <<EOF | 3483 cat > conftest.$ac_ext <<EOF |
| 3478 #line 3479 "configure" | 3484 #line 3485 "configure" |
| 3479 #include "confdefs.h" | 3485 #include "confdefs.h" |
| 3480 #include <stdio.h> | 3486 #include <stdio.h> |
| 3481 main() | 3487 main() |
| 3482 { | 3488 { |
| 3483 FILE *f=fopen("conftestval", "w"); | 3489 FILE *f=fopen("conftestval", "w"); |
| 3484 if (!f) exit(1); | 3490 if (!f) exit(1); |
| 3485 fprintf(f, "%d\n", sizeof(short)); | 3491 fprintf(f, "%d\n", sizeof(short)); |
| 3486 exit(0); | 3492 exit(0); |
| 3487 } | 3493 } |
| 3488 EOF | 3494 EOF |
| 3489 if { (eval echo configure:3490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3495 if { (eval echo configure:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3490 then | 3496 then |
| 3491 ac_cv_sizeof_short=`cat conftestval` | 3497 ac_cv_sizeof_short=`cat conftestval` |
| 3492 else | 3498 else |
| 3493 echo "configure: failed program was:" >&5 | 3499 echo "configure: failed program was:" >&5 |
| 3494 cat conftest.$ac_ext >&5 | 3500 cat conftest.$ac_ext >&5 |
| 3511 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3517 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3512 echo "*** PANIC *** Please examine config.log for compilation errors." | 3518 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3513 exit 1 | 3519 exit 1 |
| 3514 fi | 3520 fi |
| 3515 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3521 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3516 echo "configure:3517: checking size of int" >&5 | 3522 echo "configure:3523: checking size of int" >&5 |
| 3517 | 3523 |
| 3518 cat > conftest.$ac_ext <<EOF | 3524 cat > conftest.$ac_ext <<EOF |
| 3519 #line 3520 "configure" | 3525 #line 3526 "configure" |
| 3520 #include "confdefs.h" | 3526 #include "confdefs.h" |
| 3521 #include <stdio.h> | 3527 #include <stdio.h> |
| 3522 main() | 3528 main() |
| 3523 { | 3529 { |
| 3524 FILE *f=fopen("conftestval", "w"); | 3530 FILE *f=fopen("conftestval", "w"); |
| 3525 if (!f) exit(1); | 3531 if (!f) exit(1); |
| 3526 fprintf(f, "%d\n", sizeof(int)); | 3532 fprintf(f, "%d\n", sizeof(int)); |
| 3527 exit(0); | 3533 exit(0); |
| 3528 } | 3534 } |
| 3529 EOF | 3535 EOF |
| 3530 if { (eval echo configure:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3536 if { (eval echo configure:3537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3531 then | 3537 then |
| 3532 ac_cv_sizeof_int=`cat conftestval` | 3538 ac_cv_sizeof_int=`cat conftestval` |
| 3533 else | 3539 else |
| 3534 echo "configure: failed program was:" >&5 | 3540 echo "configure: failed program was:" >&5 |
| 3535 cat conftest.$ac_ext >&5 | 3541 cat conftest.$ac_ext >&5 |
| 3546 EOF | 3552 EOF |
| 3547 } | 3553 } |
| 3548 | 3554 |
| 3549 | 3555 |
| 3550 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3556 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3551 echo "configure:3552: checking size of long" >&5 | 3557 echo "configure:3558: checking size of long" >&5 |
| 3552 | 3558 |
| 3553 cat > conftest.$ac_ext <<EOF | 3559 cat > conftest.$ac_ext <<EOF |
| 3554 #line 3555 "configure" | 3560 #line 3561 "configure" |
| 3555 #include "confdefs.h" | 3561 #include "confdefs.h" |
| 3556 #include <stdio.h> | 3562 #include <stdio.h> |
| 3557 main() | 3563 main() |
| 3558 { | 3564 { |
| 3559 FILE *f=fopen("conftestval", "w"); | 3565 FILE *f=fopen("conftestval", "w"); |
| 3560 if (!f) exit(1); | 3566 if (!f) exit(1); |
| 3561 fprintf(f, "%d\n", sizeof(long)); | 3567 fprintf(f, "%d\n", sizeof(long)); |
| 3562 exit(0); | 3568 exit(0); |
| 3563 } | 3569 } |
| 3564 EOF | 3570 EOF |
| 3565 if { (eval echo configure:3566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3571 if { (eval echo configure:3572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3566 then | 3572 then |
| 3567 ac_cv_sizeof_long=`cat conftestval` | 3573 ac_cv_sizeof_long=`cat conftestval` |
| 3568 else | 3574 else |
| 3569 echo "configure: failed program was:" >&5 | 3575 echo "configure: failed program was:" >&5 |
| 3570 cat conftest.$ac_ext >&5 | 3576 cat conftest.$ac_ext >&5 |
| 3581 EOF | 3587 EOF |
| 3582 } | 3588 } |
| 3583 | 3589 |
| 3584 | 3590 |
| 3585 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3591 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3586 echo "configure:3587: checking size of long long" >&5 | 3592 echo "configure:3593: checking size of long long" >&5 |
| 3587 | 3593 |
| 3588 cat > conftest.$ac_ext <<EOF | 3594 cat > conftest.$ac_ext <<EOF |
| 3589 #line 3590 "configure" | 3595 #line 3596 "configure" |
| 3590 #include "confdefs.h" | 3596 #include "confdefs.h" |
| 3591 #include <stdio.h> | 3597 #include <stdio.h> |
| 3592 main() | 3598 main() |
| 3593 { | 3599 { |
| 3594 FILE *f=fopen("conftestval", "w"); | 3600 FILE *f=fopen("conftestval", "w"); |
| 3595 if (!f) exit(1); | 3601 if (!f) exit(1); |
| 3596 fprintf(f, "%d\n", sizeof(long long)); | 3602 fprintf(f, "%d\n", sizeof(long long)); |
| 3597 exit(0); | 3603 exit(0); |
| 3598 } | 3604 } |
| 3599 EOF | 3605 EOF |
| 3600 if { (eval echo configure:3601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3606 if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3601 then | 3607 then |
| 3602 ac_cv_sizeof_long_long=`cat conftestval` | 3608 ac_cv_sizeof_long_long=`cat conftestval` |
| 3603 else | 3609 else |
| 3604 echo "configure: failed program was:" >&5 | 3610 echo "configure: failed program was:" >&5 |
| 3605 cat conftest.$ac_ext >&5 | 3611 cat conftest.$ac_ext >&5 |
| 3616 EOF | 3622 EOF |
| 3617 } | 3623 } |
| 3618 | 3624 |
| 3619 | 3625 |
| 3620 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3626 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 3621 echo "configure:3622: checking size of void *" >&5 | 3627 echo "configure:3628: checking size of void *" >&5 |
| 3622 | 3628 |
| 3623 cat > conftest.$ac_ext <<EOF | 3629 cat > conftest.$ac_ext <<EOF |
| 3624 #line 3625 "configure" | 3630 #line 3631 "configure" |
| 3625 #include "confdefs.h" | 3631 #include "confdefs.h" |
| 3626 #include <stdio.h> | 3632 #include <stdio.h> |
| 3627 main() | 3633 main() |
| 3628 { | 3634 { |
| 3629 FILE *f=fopen("conftestval", "w"); | 3635 FILE *f=fopen("conftestval", "w"); |
| 3630 if (!f) exit(1); | 3636 if (!f) exit(1); |
| 3631 fprintf(f, "%d\n", sizeof(void *)); | 3637 fprintf(f, "%d\n", sizeof(void *)); |
| 3632 exit(0); | 3638 exit(0); |
| 3633 } | 3639 } |
| 3634 EOF | 3640 EOF |
| 3635 if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 3636 then | 3642 then |
| 3637 ac_cv_sizeof_void_p=`cat conftestval` | 3643 ac_cv_sizeof_void_p=`cat conftestval` |
| 3638 else | 3644 else |
| 3639 echo "configure: failed program was:" >&5 | 3645 echo "configure: failed program was:" >&5 |
| 3640 cat conftest.$ac_ext >&5 | 3646 cat conftest.$ac_ext >&5 |
| 3652 } | 3658 } |
| 3653 | 3659 |
| 3654 | 3660 |
| 3655 | 3661 |
| 3656 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3662 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3657 echo "configure:3658: checking for long file names" >&5 | 3663 echo "configure:3664: checking for long file names" >&5 |
| 3658 | 3664 |
| 3659 ac_cv_sys_long_file_names=yes | 3665 ac_cv_sys_long_file_names=yes |
| 3660 # Test for long file names in all the places we know might matter: | 3666 # Test for long file names in all the places we know might matter: |
| 3661 # . the current directory, where building will happen | 3667 # . the current directory, where building will happen |
| 3662 # $prefix/lib where we will be installing things | 3668 # $prefix/lib where we will be installing things |
| 3699 fi | 3705 fi |
| 3700 | 3706 |
| 3701 | 3707 |
| 3702 | 3708 |
| 3703 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3709 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 3704 echo "configure:3705: checking for sin in -lm" >&5 | 3710 echo "configure:3711: checking for sin in -lm" >&5 |
| 3705 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3711 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 3706 | 3712 |
| 3707 xe_check_libs=" -lm " | 3713 xe_check_libs=" -lm " |
| 3708 cat > conftest.$ac_ext <<EOF | 3714 cat > conftest.$ac_ext <<EOF |
| 3709 #line 3710 "configure" | 3715 #line 3716 "configure" |
| 3710 #include "confdefs.h" | 3716 #include "confdefs.h" |
| 3711 /* Override any gcc2 internal prototype to avoid an error. */ | 3717 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3712 /* We use char because int might match the return type of a gcc2 | 3718 /* We use char because int might match the return type of a gcc2 |
| 3713 builtin and then its argument prototype would still apply. */ | 3719 builtin and then its argument prototype would still apply. */ |
| 3714 char sin(); | 3720 char sin(); |
| 3715 | 3721 |
| 3716 int main() { | 3722 int main() { |
| 3717 sin() | 3723 sin() |
| 3718 ; return 0; } | 3724 ; return 0; } |
| 3719 EOF | 3725 EOF |
| 3720 if { (eval echo configure:3721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3726 if { (eval echo configure:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3721 rm -rf conftest* | 3727 rm -rf conftest* |
| 3722 eval "ac_cv_lib_$ac_lib_var=yes" | 3728 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3723 else | 3729 else |
| 3724 echo "configure: failed program was:" >&5 | 3730 echo "configure: failed program was:" >&5 |
| 3725 cat conftest.$ac_ext >&5 | 3731 cat conftest.$ac_ext >&5 |
| 3757 EOF | 3763 EOF |
| 3758 } | 3764 } |
| 3759 | 3765 |
| 3760 | 3766 |
| 3761 cat > conftest.$ac_ext <<EOF | 3767 cat > conftest.$ac_ext <<EOF |
| 3762 #line 3763 "configure" | 3768 #line 3769 "configure" |
| 3763 #include "confdefs.h" | 3769 #include "confdefs.h" |
| 3764 #include <math.h> | 3770 #include <math.h> |
| 3765 int main() { | 3771 int main() { |
| 3766 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 3772 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 3767 ; return 0; } | 3773 ; return 0; } |
| 3768 EOF | 3774 EOF |
| 3769 if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3775 if { (eval echo configure:3776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3770 rm -rf conftest* | 3776 rm -rf conftest* |
| 3771 { test "$extra_verbose" = "yes" && cat << \EOF | 3777 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3772 Defining HAVE_INVERSE_HYPERBOLIC | 3778 Defining HAVE_INVERSE_HYPERBOLIC |
| 3773 EOF | 3779 EOF |
| 3774 cat >> confdefs.h <<\EOF | 3780 cat >> confdefs.h <<\EOF |
| 3781 cat conftest.$ac_ext >&5 | 3787 cat conftest.$ac_ext >&5 |
| 3782 fi | 3788 fi |
| 3783 rm -f conftest* | 3789 rm -f conftest* |
| 3784 | 3790 |
| 3785 echo "checking type of mail spool file locking" 1>&6 | 3791 echo "checking type of mail spool file locking" 1>&6 |
| 3786 echo "configure:3787: checking type of mail spool file locking" >&5 | 3792 echo "configure:3793: checking type of mail spool file locking" >&5 |
| 3787 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3793 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 3788 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3794 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 3789 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3795 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 3790 Defining REAL_MAIL_USE_LOCKF | 3796 Defining REAL_MAIL_USE_LOCKF |
| 3791 EOF | 3797 EOF |
| 3805 else mail_locking="dot-locking" | 3811 else mail_locking="dot-locking" |
| 3806 fi | 3812 fi |
| 3807 | 3813 |
| 3808 | 3814 |
| 3809 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3815 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 3810 echo "configure:3811: checking for kstat_open in -lkstat" >&5 | 3816 echo "configure:3817: checking for kstat_open in -lkstat" >&5 |
| 3811 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3817 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 3812 | 3818 |
| 3813 xe_check_libs=" -lkstat " | 3819 xe_check_libs=" -lkstat " |
| 3814 cat > conftest.$ac_ext <<EOF | 3820 cat > conftest.$ac_ext <<EOF |
| 3815 #line 3816 "configure" | 3821 #line 3822 "configure" |
| 3816 #include "confdefs.h" | 3822 #include "confdefs.h" |
| 3817 /* Override any gcc2 internal prototype to avoid an error. */ | 3823 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3818 /* We use char because int might match the return type of a gcc2 | 3824 /* We use char because int might match the return type of a gcc2 |
| 3819 builtin and then its argument prototype would still apply. */ | 3825 builtin and then its argument prototype would still apply. */ |
| 3820 char kstat_open(); | 3826 char kstat_open(); |
| 3821 | 3827 |
| 3822 int main() { | 3828 int main() { |
| 3823 kstat_open() | 3829 kstat_open() |
| 3824 ; return 0; } | 3830 ; return 0; } |
| 3825 EOF | 3831 EOF |
| 3826 if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3832 if { (eval echo configure:3833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3827 rm -rf conftest* | 3833 rm -rf conftest* |
| 3828 eval "ac_cv_lib_$ac_lib_var=yes" | 3834 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3829 else | 3835 else |
| 3830 echo "configure: failed program was:" >&5 | 3836 echo "configure: failed program was:" >&5 |
| 3831 cat conftest.$ac_ext >&5 | 3837 cat conftest.$ac_ext >&5 |
| 3855 | 3861 |
| 3856 | 3862 |
| 3857 | 3863 |
| 3858 | 3864 |
| 3859 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3865 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 3860 echo "configure:3861: checking for kvm_read in -lkvm" >&5 | 3866 echo "configure:3867: checking for kvm_read in -lkvm" >&5 |
| 3861 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3867 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 3862 | 3868 |
| 3863 xe_check_libs=" -lkvm " | 3869 xe_check_libs=" -lkvm " |
| 3864 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
| 3865 #line 3866 "configure" | 3871 #line 3872 "configure" |
| 3866 #include "confdefs.h" | 3872 #include "confdefs.h" |
| 3867 /* Override any gcc2 internal prototype to avoid an error. */ | 3873 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3868 /* We use char because int might match the return type of a gcc2 | 3874 /* We use char because int might match the return type of a gcc2 |
| 3869 builtin and then its argument prototype would still apply. */ | 3875 builtin and then its argument prototype would still apply. */ |
| 3870 char kvm_read(); | 3876 char kvm_read(); |
| 3871 | 3877 |
| 3872 int main() { | 3878 int main() { |
| 3873 kvm_read() | 3879 kvm_read() |
| 3874 ; return 0; } | 3880 ; return 0; } |
| 3875 EOF | 3881 EOF |
| 3876 if { (eval echo configure:3877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3877 rm -rf conftest* | 3883 rm -rf conftest* |
| 3878 eval "ac_cv_lib_$ac_lib_var=yes" | 3884 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3879 else | 3885 else |
| 3880 echo "configure: failed program was:" >&5 | 3886 echo "configure: failed program was:" >&5 |
| 3881 cat conftest.$ac_ext >&5 | 3887 cat conftest.$ac_ext >&5 |
| 3905 | 3911 |
| 3906 | 3912 |
| 3907 | 3913 |
| 3908 | 3914 |
| 3909 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3915 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3910 echo "configure:3911: checking for cma_open in -lpthreads" >&5 | 3916 echo "configure:3917: checking for cma_open in -lpthreads" >&5 |
| 3911 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3917 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3912 | 3918 |
| 3913 xe_check_libs=" -lpthreads " | 3919 xe_check_libs=" -lpthreads " |
| 3914 cat > conftest.$ac_ext <<EOF | 3920 cat > conftest.$ac_ext <<EOF |
| 3915 #line 3916 "configure" | 3921 #line 3922 "configure" |
| 3916 #include "confdefs.h" | 3922 #include "confdefs.h" |
| 3917 /* Override any gcc2 internal prototype to avoid an error. */ | 3923 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3918 /* We use char because int might match the return type of a gcc2 | 3924 /* We use char because int might match the return type of a gcc2 |
| 3919 builtin and then its argument prototype would still apply. */ | 3925 builtin and then its argument prototype would still apply. */ |
| 3920 char cma_open(); | 3926 char cma_open(); |
| 3921 | 3927 |
| 3922 int main() { | 3928 int main() { |
| 3923 cma_open() | 3929 cma_open() |
| 3924 ; return 0; } | 3930 ; return 0; } |
| 3925 EOF | 3931 EOF |
| 3926 if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3932 if { (eval echo configure:3933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3927 rm -rf conftest* | 3933 rm -rf conftest* |
| 3928 eval "ac_cv_lib_$ac_lib_var=yes" | 3934 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3929 else | 3935 else |
| 3930 echo "configure: failed program was:" >&5 | 3936 echo "configure: failed program was:" >&5 |
| 3931 cat conftest.$ac_ext >&5 | 3937 cat conftest.$ac_ext >&5 |
| 3957 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3963 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
| 3958 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3964 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
| 3959 fi | 3965 fi |
| 3960 | 3966 |
| 3961 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3967 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 3962 echo "configure:3963: checking whether the -xildoff compiler flag is required" >&5 | 3968 echo "configure:3969: checking whether the -xildoff compiler flag is required" >&5 |
| 3963 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3969 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 3964 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3970 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 3965 then echo "$ac_t""no" 1>&6; | 3971 then echo "$ac_t""no" 1>&6; |
| 3966 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 3972 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 |
| 3967 fi | 3973 fi |
| 3968 else echo "$ac_t""no" 1>&6 | 3974 else echo "$ac_t""no" 1>&6 |
| 3969 fi | 3975 fi |
| 3970 | 3976 |
| 3971 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3977 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 3972 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3978 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 3973 echo "configure:3974: checking for \"-z ignore\" linker flag" >&5 | 3979 echo "configure:3980: checking for \"-z ignore\" linker flag" >&5 |
| 3974 case "`ld -h 2>&1`" in | 3980 case "`ld -h 2>&1`" in |
| 3975 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3981 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 3976 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3982 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 3977 *) echo "$ac_t""no" 1>&6 ;; | 3983 *) echo "$ac_t""no" 1>&6 ;; |
| 3978 esac | 3984 esac |
| 3979 fi | 3985 fi |
| 3980 | 3986 |
| 3981 | 3987 |
| 3982 echo "checking "for specified window system"" 1>&6 | 3988 echo "checking "for specified window system"" 1>&6 |
| 3983 echo "configure:3984: checking "for specified window system"" >&5 | 3989 echo "configure:3990: checking "for specified window system"" >&5 |
| 3984 | 3990 |
| 3985 if test "$with_x11" != "no"; then | 3991 if test "$with_x11" != "no"; then |
| 3986 test "$x_includes $x_libraries" != "NONE NONE" && \ | 3992 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 3987 window_system=x11 with_x11=yes | 3993 window_system=x11 with_x11=yes |
| 3988 | 3994 |
| 4008 # If we find X, set shell vars x_includes and x_libraries to the | 4014 # If we find X, set shell vars x_includes and x_libraries to the |
| 4009 # paths, otherwise set no_x=yes. | 4015 # paths, otherwise set no_x=yes. |
| 4010 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4016 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4011 # --without-x overrides everything else, but does not touch the cache. | 4017 # --without-x overrides everything else, but does not touch the cache. |
| 4012 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4018 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4013 echo "configure:4014: checking for X" >&5 | 4019 echo "configure:4020: checking for X" >&5 |
| 4014 | 4020 |
| 4015 # Check whether --with-x or --without-x was given. | 4021 # Check whether --with-x or --without-x was given. |
| 4016 if test "${with_x+set}" = set; then | 4022 if test "${with_x+set}" = set; then |
| 4017 withval="$with_x" | 4023 withval="$with_x" |
| 4018 : | 4024 : |
| 4068 # Guess where to find include files, by looking for this one X11 .h file. | 4074 # Guess where to find include files, by looking for this one X11 .h file. |
| 4069 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4075 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4070 | 4076 |
| 4071 # First, try using that file with no special directory specified. | 4077 # First, try using that file with no special directory specified. |
| 4072 cat > conftest.$ac_ext <<EOF | 4078 cat > conftest.$ac_ext <<EOF |
| 4073 #line 4074 "configure" | 4079 #line 4080 "configure" |
| 4074 #include "confdefs.h" | 4080 #include "confdefs.h" |
| 4075 #include <$x_direct_test_include> | 4081 #include <$x_direct_test_include> |
| 4076 EOF | 4082 EOF |
| 4077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4078 { (eval echo configure:4079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4084 { (eval echo configure:4085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4079 ac_err=`grep -v '^ *+' conftest.out` | 4085 ac_err=`grep -v '^ *+' conftest.out` |
| 4080 if test -z "$ac_err"; then | 4086 if test -z "$ac_err"; then |
| 4081 rm -rf conftest* | 4087 rm -rf conftest* |
| 4082 # We can compile using X headers with no special include directory. | 4088 # We can compile using X headers with no special include directory. |
| 4083 ac_x_includes= | 4089 ac_x_includes= |
| 4142 # See if we find them without any special options. | 4148 # See if we find them without any special options. |
| 4143 # Don't add to $LIBS permanently. | 4149 # Don't add to $LIBS permanently. |
| 4144 ac_save_LIBS="$LIBS" | 4150 ac_save_LIBS="$LIBS" |
| 4145 LIBS="-l$x_direct_test_library $LIBS" | 4151 LIBS="-l$x_direct_test_library $LIBS" |
| 4146 cat > conftest.$ac_ext <<EOF | 4152 cat > conftest.$ac_ext <<EOF |
| 4147 #line 4148 "configure" | 4153 #line 4154 "configure" |
| 4148 #include "confdefs.h" | 4154 #include "confdefs.h" |
| 4149 | 4155 |
| 4150 int main() { | 4156 int main() { |
| 4151 ${x_direct_test_function}() | 4157 ${x_direct_test_function}() |
| 4152 ; return 0; } | 4158 ; return 0; } |
| 4153 EOF | 4159 EOF |
| 4154 if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4160 if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4155 rm -rf conftest* | 4161 rm -rf conftest* |
| 4156 LIBS="$ac_save_LIBS" | 4162 LIBS="$ac_save_LIBS" |
| 4157 # We can link X programs with no special library path. | 4163 # We can link X programs with no special library path. |
| 4158 ac_x_libraries= | 4164 ac_x_libraries= |
| 4159 else | 4165 else |
| 4258 # For Solaris; some versions of Sun CC require a space after -R and | 4264 # For Solaris; some versions of Sun CC require a space after -R and |
| 4259 # others require no space. Words are not sufficient . . . . | 4265 # others require no space. Words are not sufficient . . . . |
| 4260 case "`(uname -sr) 2>/dev/null`" in | 4266 case "`(uname -sr) 2>/dev/null`" in |
| 4261 "SunOS 5"*) | 4267 "SunOS 5"*) |
| 4262 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4268 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4263 echo "configure:4264: checking whether -R must be followed by a space" >&5 | 4269 echo "configure:4270: checking whether -R must be followed by a space" >&5 |
| 4264 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4270 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4265 cat > conftest.$ac_ext <<EOF | 4271 cat > conftest.$ac_ext <<EOF |
| 4266 #line 4267 "configure" | 4272 #line 4273 "configure" |
| 4267 #include "confdefs.h" | 4273 #include "confdefs.h" |
| 4268 | 4274 |
| 4269 int main() { | 4275 int main() { |
| 4270 | 4276 |
| 4271 ; return 0; } | 4277 ; return 0; } |
| 4272 EOF | 4278 EOF |
| 4273 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4279 if { (eval echo configure:4280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4274 rm -rf conftest* | 4280 rm -rf conftest* |
| 4275 ac_R_nospace=yes | 4281 ac_R_nospace=yes |
| 4276 else | 4282 else |
| 4277 echo "configure: failed program was:" >&5 | 4283 echo "configure: failed program was:" >&5 |
| 4278 cat conftest.$ac_ext >&5 | 4284 cat conftest.$ac_ext >&5 |
| 4284 echo "$ac_t""no" 1>&6 | 4290 echo "$ac_t""no" 1>&6 |
| 4285 X_LIBS="$X_LIBS -R$x_libraries" | 4291 X_LIBS="$X_LIBS -R$x_libraries" |
| 4286 else | 4292 else |
| 4287 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4293 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4288 cat > conftest.$ac_ext <<EOF | 4294 cat > conftest.$ac_ext <<EOF |
| 4289 #line 4290 "configure" | 4295 #line 4296 "configure" |
| 4290 #include "confdefs.h" | 4296 #include "confdefs.h" |
| 4291 | 4297 |
| 4292 int main() { | 4298 int main() { |
| 4293 | 4299 |
| 4294 ; return 0; } | 4300 ; return 0; } |
| 4295 EOF | 4301 EOF |
| 4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4302 if { (eval echo configure:4303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4297 rm -rf conftest* | 4303 rm -rf conftest* |
| 4298 ac_R_space=yes | 4304 ac_R_space=yes |
| 4299 else | 4305 else |
| 4300 echo "configure: failed program was:" >&5 | 4306 echo "configure: failed program was:" >&5 |
| 4301 cat conftest.$ac_ext >&5 | 4307 cat conftest.$ac_ext >&5 |
| 4327 if test "$with_dnet" = "no" ; then | 4333 if test "$with_dnet" = "no" ; then |
| 4328 ac_cv_lib_dnet_dnet_ntoa=no | 4334 ac_cv_lib_dnet_dnet_ntoa=no |
| 4329 else | 4335 else |
| 4330 | 4336 |
| 4331 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4337 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4332 echo "configure:4333: checking for dnet_ntoa in -ldnet" >&5 | 4338 echo "configure:4339: checking for dnet_ntoa in -ldnet" >&5 |
| 4333 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4339 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4334 | 4340 |
| 4335 xe_check_libs=" -ldnet " | 4341 xe_check_libs=" -ldnet " |
| 4336 cat > conftest.$ac_ext <<EOF | 4342 cat > conftest.$ac_ext <<EOF |
| 4337 #line 4338 "configure" | 4343 #line 4344 "configure" |
| 4338 #include "confdefs.h" | 4344 #include "confdefs.h" |
| 4339 /* Override any gcc2 internal prototype to avoid an error. */ | 4345 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4340 /* We use char because int might match the return type of a gcc2 | 4346 /* We use char because int might match the return type of a gcc2 |
| 4341 builtin and then its argument prototype would still apply. */ | 4347 builtin and then its argument prototype would still apply. */ |
| 4342 char dnet_ntoa(); | 4348 char dnet_ntoa(); |
| 4343 | 4349 |
| 4344 int main() { | 4350 int main() { |
| 4345 dnet_ntoa() | 4351 dnet_ntoa() |
| 4346 ; return 0; } | 4352 ; return 0; } |
| 4347 EOF | 4353 EOF |
| 4348 if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4354 if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4349 rm -rf conftest* | 4355 rm -rf conftest* |
| 4350 eval "ac_cv_lib_$ac_lib_var=yes" | 4356 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4351 else | 4357 else |
| 4352 echo "configure: failed program was:" >&5 | 4358 echo "configure: failed program was:" >&5 |
| 4353 cat conftest.$ac_ext >&5 | 4359 cat conftest.$ac_ext >&5 |
| 4367 fi | 4373 fi |
| 4368 | 4374 |
| 4369 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4375 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4370 | 4376 |
| 4371 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4377 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4372 echo "configure:4373: checking for dnet_ntoa in -ldnet_stub" >&5 | 4378 echo "configure:4379: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4373 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4379 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4374 | 4380 |
| 4375 xe_check_libs=" -ldnet_stub " | 4381 xe_check_libs=" -ldnet_stub " |
| 4376 cat > conftest.$ac_ext <<EOF | 4382 cat > conftest.$ac_ext <<EOF |
| 4377 #line 4378 "configure" | 4383 #line 4384 "configure" |
| 4378 #include "confdefs.h" | 4384 #include "confdefs.h" |
| 4379 /* Override any gcc2 internal prototype to avoid an error. */ | 4385 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4380 /* We use char because int might match the return type of a gcc2 | 4386 /* We use char because int might match the return type of a gcc2 |
| 4381 builtin and then its argument prototype would still apply. */ | 4387 builtin and then its argument prototype would still apply. */ |
| 4382 char dnet_ntoa(); | 4388 char dnet_ntoa(); |
| 4383 | 4389 |
| 4384 int main() { | 4390 int main() { |
| 4385 dnet_ntoa() | 4391 dnet_ntoa() |
| 4386 ; return 0; } | 4392 ; return 0; } |
| 4387 EOF | 4393 EOF |
| 4388 if { (eval echo configure:4389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4389 rm -rf conftest* | 4395 rm -rf conftest* |
| 4390 eval "ac_cv_lib_$ac_lib_var=yes" | 4396 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4391 else | 4397 else |
| 4392 echo "configure: failed program was:" >&5 | 4398 echo "configure: failed program was:" >&5 |
| 4393 cat conftest.$ac_ext >&5 | 4399 cat conftest.$ac_ext >&5 |
| 4412 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4418 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4413 # needs -lnsl. | 4419 # needs -lnsl. |
| 4414 # The nsl library prevents programs from opening the X display | 4420 # The nsl library prevents programs from opening the X display |
| 4415 # on Irix 5.2, according to dickey@clark.net. | 4421 # on Irix 5.2, according to dickey@clark.net. |
| 4416 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4422 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4417 echo "configure:4418: checking for gethostbyname" >&5 | 4423 echo "configure:4424: checking for gethostbyname" >&5 |
| 4418 | 4424 |
| 4419 cat > conftest.$ac_ext <<EOF | 4425 cat > conftest.$ac_ext <<EOF |
| 4420 #line 4421 "configure" | 4426 #line 4427 "configure" |
| 4421 #include "confdefs.h" | 4427 #include "confdefs.h" |
| 4422 /* System header to define __stub macros and hopefully few prototypes, | 4428 /* System header to define __stub macros and hopefully few prototypes, |
| 4423 which can conflict with char gethostbyname(); below. */ | 4429 which can conflict with char gethostbyname(); below. */ |
| 4424 #include <assert.h> | 4430 #include <assert.h> |
| 4425 /* Override any gcc2 internal prototype to avoid an error. */ | 4431 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4438 gethostbyname(); | 4444 gethostbyname(); |
| 4439 #endif | 4445 #endif |
| 4440 | 4446 |
| 4441 ; return 0; } | 4447 ; return 0; } |
| 4442 EOF | 4448 EOF |
| 4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4444 rm -rf conftest* | 4450 rm -rf conftest* |
| 4445 eval "ac_cv_func_gethostbyname=yes" | 4451 eval "ac_cv_func_gethostbyname=yes" |
| 4446 else | 4452 else |
| 4447 echo "configure: failed program was:" >&5 | 4453 echo "configure: failed program was:" >&5 |
| 4448 cat conftest.$ac_ext >&5 | 4454 cat conftest.$ac_ext >&5 |
| 4459 fi | 4465 fi |
| 4460 | 4466 |
| 4461 if test $ac_cv_func_gethostbyname = no; then | 4467 if test $ac_cv_func_gethostbyname = no; then |
| 4462 | 4468 |
| 4463 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4469 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4464 echo "configure:4465: checking for gethostbyname in -lnsl" >&5 | 4470 echo "configure:4471: checking for gethostbyname in -lnsl" >&5 |
| 4465 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4471 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4466 | 4472 |
| 4467 xe_check_libs=" -lnsl " | 4473 xe_check_libs=" -lnsl " |
| 4468 cat > conftest.$ac_ext <<EOF | 4474 cat > conftest.$ac_ext <<EOF |
| 4469 #line 4470 "configure" | 4475 #line 4476 "configure" |
| 4470 #include "confdefs.h" | 4476 #include "confdefs.h" |
| 4471 /* Override any gcc2 internal prototype to avoid an error. */ | 4477 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4472 /* We use char because int might match the return type of a gcc2 | 4478 /* We use char because int might match the return type of a gcc2 |
| 4473 builtin and then its argument prototype would still apply. */ | 4479 builtin and then its argument prototype would still apply. */ |
| 4474 char gethostbyname(); | 4480 char gethostbyname(); |
| 4475 | 4481 |
| 4476 int main() { | 4482 int main() { |
| 4477 gethostbyname() | 4483 gethostbyname() |
| 4478 ; return 0; } | 4484 ; return 0; } |
| 4479 EOF | 4485 EOF |
| 4480 if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4481 rm -rf conftest* | 4487 rm -rf conftest* |
| 4482 eval "ac_cv_lib_$ac_lib_var=yes" | 4488 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4483 else | 4489 else |
| 4484 echo "configure: failed program was:" >&5 | 4490 echo "configure: failed program was:" >&5 |
| 4485 cat conftest.$ac_ext >&5 | 4491 cat conftest.$ac_ext >&5 |
| 4505 # on later versions), says simon@lia.di.epfl.ch: it contains | 4511 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4506 # gethostby* variants that don't use the nameserver (or something). | 4512 # gethostby* variants that don't use the nameserver (or something). |
| 4507 # -lsocket must be given before -lnsl if both are needed. | 4513 # -lsocket must be given before -lnsl if both are needed. |
| 4508 # We assume that if connect needs -lnsl, so does gethostbyname. | 4514 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4509 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4515 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4510 echo "configure:4511: checking for connect" >&5 | 4516 echo "configure:4517: checking for connect" >&5 |
| 4511 | 4517 |
| 4512 cat > conftest.$ac_ext <<EOF | 4518 cat > conftest.$ac_ext <<EOF |
| 4513 #line 4514 "configure" | 4519 #line 4520 "configure" |
| 4514 #include "confdefs.h" | 4520 #include "confdefs.h" |
| 4515 /* System header to define __stub macros and hopefully few prototypes, | 4521 /* System header to define __stub macros and hopefully few prototypes, |
| 4516 which can conflict with char connect(); below. */ | 4522 which can conflict with char connect(); below. */ |
| 4517 #include <assert.h> | 4523 #include <assert.h> |
| 4518 /* Override any gcc2 internal prototype to avoid an error. */ | 4524 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4531 connect(); | 4537 connect(); |
| 4532 #endif | 4538 #endif |
| 4533 | 4539 |
| 4534 ; return 0; } | 4540 ; return 0; } |
| 4535 EOF | 4541 EOF |
| 4536 if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4542 if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4537 rm -rf conftest* | 4543 rm -rf conftest* |
| 4538 eval "ac_cv_func_connect=yes" | 4544 eval "ac_cv_func_connect=yes" |
| 4539 else | 4545 else |
| 4540 echo "configure: failed program was:" >&5 | 4546 echo "configure: failed program was:" >&5 |
| 4541 cat conftest.$ac_ext >&5 | 4547 cat conftest.$ac_ext >&5 |
| 4554 if test $ac_cv_func_connect = no; then | 4560 if test $ac_cv_func_connect = no; then |
| 4555 | 4561 |
| 4556 xe_msg_checking="for connect in -lsocket" | 4562 xe_msg_checking="for connect in -lsocket" |
| 4557 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4563 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4558 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4564 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4559 echo "configure:4560: checking "$xe_msg_checking"" >&5 | 4565 echo "configure:4566: checking "$xe_msg_checking"" >&5 |
| 4560 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4566 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4561 | 4567 |
| 4562 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4568 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4563 cat > conftest.$ac_ext <<EOF | 4569 cat > conftest.$ac_ext <<EOF |
| 4564 #line 4565 "configure" | 4570 #line 4571 "configure" |
| 4565 #include "confdefs.h" | 4571 #include "confdefs.h" |
| 4566 /* Override any gcc2 internal prototype to avoid an error. */ | 4572 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4567 /* We use char because int might match the return type of a gcc2 | 4573 /* We use char because int might match the return type of a gcc2 |
| 4568 builtin and then its argument prototype would still apply. */ | 4574 builtin and then its argument prototype would still apply. */ |
| 4569 char connect(); | 4575 char connect(); |
| 4570 | 4576 |
| 4571 int main() { | 4577 int main() { |
| 4572 connect() | 4578 connect() |
| 4573 ; return 0; } | 4579 ; return 0; } |
| 4574 EOF | 4580 EOF |
| 4575 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4581 if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4576 rm -rf conftest* | 4582 rm -rf conftest* |
| 4577 eval "ac_cv_lib_$ac_lib_var=yes" | 4583 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4578 else | 4584 else |
| 4579 echo "configure: failed program was:" >&5 | 4585 echo "configure: failed program was:" >&5 |
| 4580 cat conftest.$ac_ext >&5 | 4586 cat conftest.$ac_ext >&5 |
| 4594 | 4600 |
| 4595 fi | 4601 fi |
| 4596 | 4602 |
| 4597 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4603 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 4598 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4604 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 4599 echo "configure:4600: checking for remove" >&5 | 4605 echo "configure:4606: checking for remove" >&5 |
| 4600 | 4606 |
| 4601 cat > conftest.$ac_ext <<EOF | 4607 cat > conftest.$ac_ext <<EOF |
| 4602 #line 4603 "configure" | 4608 #line 4609 "configure" |
| 4603 #include "confdefs.h" | 4609 #include "confdefs.h" |
| 4604 /* System header to define __stub macros and hopefully few prototypes, | 4610 /* System header to define __stub macros and hopefully few prototypes, |
| 4605 which can conflict with char remove(); below. */ | 4611 which can conflict with char remove(); below. */ |
| 4606 #include <assert.h> | 4612 #include <assert.h> |
| 4607 /* Override any gcc2 internal prototype to avoid an error. */ | 4613 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4620 remove(); | 4626 remove(); |
| 4621 #endif | 4627 #endif |
| 4622 | 4628 |
| 4623 ; return 0; } | 4629 ; return 0; } |
| 4624 EOF | 4630 EOF |
| 4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4631 if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4626 rm -rf conftest* | 4632 rm -rf conftest* |
| 4627 eval "ac_cv_func_remove=yes" | 4633 eval "ac_cv_func_remove=yes" |
| 4628 else | 4634 else |
| 4629 echo "configure: failed program was:" >&5 | 4635 echo "configure: failed program was:" >&5 |
| 4630 cat conftest.$ac_ext >&5 | 4636 cat conftest.$ac_ext >&5 |
| 4641 fi | 4647 fi |
| 4642 | 4648 |
| 4643 if test $ac_cv_func_remove = no; then | 4649 if test $ac_cv_func_remove = no; then |
| 4644 | 4650 |
| 4645 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4651 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 4646 echo "configure:4647: checking for remove in -lposix" >&5 | 4652 echo "configure:4653: checking for remove in -lposix" >&5 |
| 4647 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4653 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 4648 | 4654 |
| 4649 xe_check_libs=" -lposix " | 4655 xe_check_libs=" -lposix " |
| 4650 cat > conftest.$ac_ext <<EOF | 4656 cat > conftest.$ac_ext <<EOF |
| 4651 #line 4652 "configure" | 4657 #line 4658 "configure" |
| 4652 #include "confdefs.h" | 4658 #include "confdefs.h" |
| 4653 /* Override any gcc2 internal prototype to avoid an error. */ | 4659 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4654 /* We use char because int might match the return type of a gcc2 | 4660 /* We use char because int might match the return type of a gcc2 |
| 4655 builtin and then its argument prototype would still apply. */ | 4661 builtin and then its argument prototype would still apply. */ |
| 4656 char remove(); | 4662 char remove(); |
| 4657 | 4663 |
| 4658 int main() { | 4664 int main() { |
| 4659 remove() | 4665 remove() |
| 4660 ; return 0; } | 4666 ; return 0; } |
| 4661 EOF | 4667 EOF |
| 4662 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4668 if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4663 rm -rf conftest* | 4669 rm -rf conftest* |
| 4664 eval "ac_cv_lib_$ac_lib_var=yes" | 4670 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4665 else | 4671 else |
| 4666 echo "configure: failed program was:" >&5 | 4672 echo "configure: failed program was:" >&5 |
| 4667 cat conftest.$ac_ext >&5 | 4673 cat conftest.$ac_ext >&5 |
| 4681 | 4687 |
| 4682 fi | 4688 fi |
| 4683 | 4689 |
| 4684 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4690 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 4685 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4691 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 4686 echo "configure:4687: checking for shmat" >&5 | 4692 echo "configure:4693: checking for shmat" >&5 |
| 4687 | 4693 |
| 4688 cat > conftest.$ac_ext <<EOF | 4694 cat > conftest.$ac_ext <<EOF |
| 4689 #line 4690 "configure" | 4695 #line 4696 "configure" |
| 4690 #include "confdefs.h" | 4696 #include "confdefs.h" |
| 4691 /* System header to define __stub macros and hopefully few prototypes, | 4697 /* System header to define __stub macros and hopefully few prototypes, |
| 4692 which can conflict with char shmat(); below. */ | 4698 which can conflict with char shmat(); below. */ |
| 4693 #include <assert.h> | 4699 #include <assert.h> |
| 4694 /* Override any gcc2 internal prototype to avoid an error. */ | 4700 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4707 shmat(); | 4713 shmat(); |
| 4708 #endif | 4714 #endif |
| 4709 | 4715 |
| 4710 ; return 0; } | 4716 ; return 0; } |
| 4711 EOF | 4717 EOF |
| 4712 if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4718 if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4713 rm -rf conftest* | 4719 rm -rf conftest* |
| 4714 eval "ac_cv_func_shmat=yes" | 4720 eval "ac_cv_func_shmat=yes" |
| 4715 else | 4721 else |
| 4716 echo "configure: failed program was:" >&5 | 4722 echo "configure: failed program was:" >&5 |
| 4717 cat conftest.$ac_ext >&5 | 4723 cat conftest.$ac_ext >&5 |
| 4728 fi | 4734 fi |
| 4729 | 4735 |
| 4730 if test $ac_cv_func_shmat = no; then | 4736 if test $ac_cv_func_shmat = no; then |
| 4731 | 4737 |
| 4732 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4738 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 4733 echo "configure:4734: checking for shmat in -lipc" >&5 | 4739 echo "configure:4740: checking for shmat in -lipc" >&5 |
| 4734 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4740 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 4735 | 4741 |
| 4736 xe_check_libs=" -lipc " | 4742 xe_check_libs=" -lipc " |
| 4737 cat > conftest.$ac_ext <<EOF | 4743 cat > conftest.$ac_ext <<EOF |
| 4738 #line 4739 "configure" | 4744 #line 4745 "configure" |
| 4739 #include "confdefs.h" | 4745 #include "confdefs.h" |
| 4740 /* Override any gcc2 internal prototype to avoid an error. */ | 4746 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4741 /* We use char because int might match the return type of a gcc2 | 4747 /* We use char because int might match the return type of a gcc2 |
| 4742 builtin and then its argument prototype would still apply. */ | 4748 builtin and then its argument prototype would still apply. */ |
| 4743 char shmat(); | 4749 char shmat(); |
| 4744 | 4750 |
| 4745 int main() { | 4751 int main() { |
| 4746 shmat() | 4752 shmat() |
| 4747 ; return 0; } | 4753 ; return 0; } |
| 4748 EOF | 4754 EOF |
| 4749 if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4755 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4750 rm -rf conftest* | 4756 rm -rf conftest* |
| 4751 eval "ac_cv_lib_$ac_lib_var=yes" | 4757 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4752 else | 4758 else |
| 4753 echo "configure: failed program was:" >&5 | 4759 echo "configure: failed program was:" >&5 |
| 4754 cat conftest.$ac_ext >&5 | 4760 cat conftest.$ac_ext >&5 |
| 4778 # These have to be linked with before -lX11, unlike the other | 4784 # These have to be linked with before -lX11, unlike the other |
| 4779 # libraries we check for below, so use a different variable. | 4785 # libraries we check for below, so use a different variable. |
| 4780 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4786 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 4781 | 4787 |
| 4782 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4788 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 4783 echo "configure:4784: checking for IceConnectionNumber in -lICE" >&5 | 4789 echo "configure:4790: checking for IceConnectionNumber in -lICE" >&5 |
| 4784 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4790 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 4785 | 4791 |
| 4786 xe_check_libs=" -lICE " | 4792 xe_check_libs=" -lICE " |
| 4787 cat > conftest.$ac_ext <<EOF | 4793 cat > conftest.$ac_ext <<EOF |
| 4788 #line 4789 "configure" | 4794 #line 4795 "configure" |
| 4789 #include "confdefs.h" | 4795 #include "confdefs.h" |
| 4790 /* Override any gcc2 internal prototype to avoid an error. */ | 4796 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4791 /* We use char because int might match the return type of a gcc2 | 4797 /* We use char because int might match the return type of a gcc2 |
| 4792 builtin and then its argument prototype would still apply. */ | 4798 builtin and then its argument prototype would still apply. */ |
| 4793 char IceConnectionNumber(); | 4799 char IceConnectionNumber(); |
| 4794 | 4800 |
| 4795 int main() { | 4801 int main() { |
| 4796 IceConnectionNumber() | 4802 IceConnectionNumber() |
| 4797 ; return 0; } | 4803 ; return 0; } |
| 4798 EOF | 4804 EOF |
| 4799 if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4800 rm -rf conftest* | 4806 rm -rf conftest* |
| 4801 eval "ac_cv_lib_$ac_lib_var=yes" | 4807 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4802 else | 4808 else |
| 4803 echo "configure: failed program was:" >&5 | 4809 echo "configure: failed program was:" >&5 |
| 4804 cat conftest.$ac_ext >&5 | 4810 cat conftest.$ac_ext >&5 |
| 4829 case "$with_x11" in | 4835 case "$with_x11" in |
| 4830 yes ) window_system=x11 HAVE_X_WINDOWS=yes ;; | 4836 yes ) window_system=x11 HAVE_X_WINDOWS=yes ;; |
| 4831 no ) window_system=none HAVE_X_WINDOWS=no ;; | 4837 no ) window_system=none HAVE_X_WINDOWS=no ;; |
| 4832 esac | 4838 esac |
| 4833 | 4839 |
| 4834 if test "$window_system" = "none"; then | 4840 if test "$window_system" = "none" && test -z "$with_tty"; then |
| 4835 echo "checking for MS-Windows" 1>&6 | 4841 echo "checking for MS-Windows" 1>&6 |
| 4836 echo "configure:4837: checking for MS-Windows" >&5 | 4842 echo "configure:4843: checking for MS-Windows" >&5 |
| 4837 | 4843 |
| 4838 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 4844 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 4839 echo "configure:4840: checking for main in -lgdi32" >&5 | 4845 echo "configure:4846: checking for main in -lgdi32" >&5 |
| 4840 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 4846 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 4841 | 4847 |
| 4842 xe_check_libs=" -lgdi32 " | 4848 xe_check_libs=" -lgdi32 " |
| 4843 cat > conftest.$ac_ext <<EOF | 4849 cat > conftest.$ac_ext <<EOF |
| 4844 #line 4845 "configure" | 4850 #line 4851 "configure" |
| 4845 #include "confdefs.h" | 4851 #include "confdefs.h" |
| 4846 | 4852 |
| 4847 int main() { | 4853 int main() { |
| 4848 main() | 4854 main() |
| 4849 ; return 0; } | 4855 ; return 0; } |
| 4850 EOF | 4856 EOF |
| 4851 if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4857 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4852 rm -rf conftest* | 4858 rm -rf conftest* |
| 4853 eval "ac_cv_lib_$ac_lib_var=yes" | 4859 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4854 else | 4860 else |
| 4855 echo "configure: failed program was:" >&5 | 4861 echo "configure: failed program was:" >&5 |
| 4856 cat conftest.$ac_ext >&5 | 4862 cat conftest.$ac_ext >&5 |
| 4875 cat >> confdefs.h <<\EOF | 4881 cat >> confdefs.h <<\EOF |
| 4876 #define HAVE_MS_WINDOWS 1 | 4882 #define HAVE_MS_WINDOWS 1 |
| 4877 EOF | 4883 EOF |
| 4878 } | 4884 } |
| 4879 | 4885 |
| 4880 libs_system="$libs_system -lgdi32 -luser32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lgdi32 -luser32\" to \$libs_system"; fi | 4886 libs_system="$libs_system -lshell32 -lgdi32 -luser32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32\" to \$libs_system"; fi |
| 4881 window_system=msw | 4887 window_system=msw |
| 4882 test "$with_scrollbars" != "no" && with_scrollbars=msw && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 4888 test "$with_scrollbars" != "no" && with_scrollbars=msw && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 4883 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 4889 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
| 4884 fi | 4890 fi |
| 4885 test "$with_menubars" != "no" && with_menubars=msw && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | 4891 test "$with_menubars" != "no" && with_menubars=msw && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 4886 echo " xemacs will be linked with \"menubar-msw.o\"" | 4892 echo " xemacs will be linked with \"menubar-msw.o\"" |
| 4887 fi | 4893 fi |
| 4888 with_dialogs=msw | 4894 with_dialogs=msw |
| 4889 with_toolbars=no | 4895 with_toolbars=no |
| 4890 with_tty=no | 4896 with_tty=no |
| 4891 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 | 4897 const_is_losing=no |
| 4892 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\"" | 4898 #with_mule_coding=yes |
| 4899 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 | |
| 4900 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\"" | |
| 4893 fi | 4901 fi |
| 4894 fi | 4902 fi |
| 4895 fi | 4903 fi |
| 4896 | 4904 |
| 4897 if test "$with_x11" = "yes"; then | 4905 if test "$with_x11" = "yes"; then |
| 4990 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4998 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
| 4991 echo | 4999 echo |
| 4992 fi | 5000 fi |
| 4993 | 5001 |
| 4994 echo "checking for X defines extracted by xmkmf" 1>&6 | 5002 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 4995 echo "configure:4996: checking for X defines extracted by xmkmf" >&5 | 5003 echo "configure:5004: checking for X defines extracted by xmkmf" >&5 |
| 4996 rm -fr conftestdir | 5004 rm -fr conftestdir |
| 4997 if mkdir conftestdir; then | 5005 if mkdir conftestdir; then |
| 4998 cd conftestdir | 5006 cd conftestdir |
| 4999 cat > Imakefile <<'EOF' | 5007 cat > Imakefile <<'EOF' |
| 5000 xetest: | 5008 xetest: |
| 5022 done | 5030 done |
| 5023 fi | 5031 fi |
| 5024 | 5032 |
| 5025 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5033 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5026 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5034 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5027 echo "configure:5028: checking for X11/Intrinsic.h" >&5 | 5035 echo "configure:5036: checking for X11/Intrinsic.h" >&5 |
| 5028 | 5036 |
| 5029 cat > conftest.$ac_ext <<EOF | 5037 cat > conftest.$ac_ext <<EOF |
| 5030 #line 5031 "configure" | 5038 #line 5039 "configure" |
| 5031 #include "confdefs.h" | 5039 #include "confdefs.h" |
| 5032 #include <X11/Intrinsic.h> | 5040 #include <X11/Intrinsic.h> |
| 5033 EOF | 5041 EOF |
| 5034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5035 { (eval echo configure:5036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5043 { (eval echo configure:5044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5036 ac_err=`grep -v '^ *+' conftest.out` | 5044 ac_err=`grep -v '^ *+' conftest.out` |
| 5037 if test -z "$ac_err"; then | 5045 if test -z "$ac_err"; then |
| 5038 rm -rf conftest* | 5046 rm -rf conftest* |
| 5039 eval "ac_cv_header_$ac_safe=yes" | 5047 eval "ac_cv_header_$ac_safe=yes" |
| 5040 else | 5048 else |
| 5054 fi | 5062 fi |
| 5055 | 5063 |
| 5056 | 5064 |
| 5057 | 5065 |
| 5058 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5066 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5059 echo "configure:5060: checking for XOpenDisplay in -lX11" >&5 | 5067 echo "configure:5068: checking for XOpenDisplay in -lX11" >&5 |
| 5060 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5068 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5061 | 5069 |
| 5062 xe_check_libs=" -lX11 " | 5070 xe_check_libs=" -lX11 " |
| 5063 cat > conftest.$ac_ext <<EOF | 5071 cat > conftest.$ac_ext <<EOF |
| 5064 #line 5065 "configure" | 5072 #line 5073 "configure" |
| 5065 #include "confdefs.h" | 5073 #include "confdefs.h" |
| 5066 /* Override any gcc2 internal prototype to avoid an error. */ | 5074 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5067 /* We use char because int might match the return type of a gcc2 | 5075 /* We use char because int might match the return type of a gcc2 |
| 5068 builtin and then its argument prototype would still apply. */ | 5076 builtin and then its argument prototype would still apply. */ |
| 5069 char XOpenDisplay(); | 5077 char XOpenDisplay(); |
| 5070 | 5078 |
| 5071 int main() { | 5079 int main() { |
| 5072 XOpenDisplay() | 5080 XOpenDisplay() |
| 5073 ; return 0; } | 5081 ; return 0; } |
| 5074 EOF | 5082 EOF |
| 5075 if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5083 if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5076 rm -rf conftest* | 5084 rm -rf conftest* |
| 5077 eval "ac_cv_lib_$ac_lib_var=yes" | 5085 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5078 else | 5086 else |
| 5079 echo "configure: failed program was:" >&5 | 5087 echo "configure: failed program was:" >&5 |
| 5080 cat conftest.$ac_ext >&5 | 5088 cat conftest.$ac_ext >&5 |
| 5095 if test "$have_lib_x11" != "yes"; then | 5103 if test "$have_lib_x11" != "yes"; then |
| 5096 | 5104 |
| 5097 xe_msg_checking="for XGetFontProperty in -lX11" | 5105 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5098 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5106 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5099 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5100 echo "configure:5101: checking "$xe_msg_checking"" >&5 | 5108 echo "configure:5109: checking "$xe_msg_checking"" >&5 |
| 5101 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5109 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5102 | 5110 |
| 5103 xe_check_libs=" -lX11 -b i486-linuxaout" | 5111 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5104 cat > conftest.$ac_ext <<EOF | 5112 cat > conftest.$ac_ext <<EOF |
| 5105 #line 5106 "configure" | 5113 #line 5114 "configure" |
| 5106 #include "confdefs.h" | 5114 #include "confdefs.h" |
| 5107 /* Override any gcc2 internal prototype to avoid an error. */ | 5115 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5108 /* We use char because int might match the return type of a gcc2 | 5116 /* We use char because int might match the return type of a gcc2 |
| 5109 builtin and then its argument prototype would still apply. */ | 5117 builtin and then its argument prototype would still apply. */ |
| 5110 char XGetFontProperty(); | 5118 char XGetFontProperty(); |
| 5111 | 5119 |
| 5112 int main() { | 5120 int main() { |
| 5113 XGetFontProperty() | 5121 XGetFontProperty() |
| 5114 ; return 0; } | 5122 ; return 0; } |
| 5115 EOF | 5123 EOF |
| 5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5124 if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5117 rm -rf conftest* | 5125 rm -rf conftest* |
| 5118 eval "ac_cv_lib_$ac_lib_var=yes" | 5126 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5119 else | 5127 else |
| 5120 echo "configure: failed program was:" >&5 | 5128 echo "configure: failed program was:" >&5 |
| 5121 cat conftest.$ac_ext >&5 | 5129 cat conftest.$ac_ext >&5 |
| 5138 libs_x="-lX11" | 5146 libs_x="-lX11" |
| 5139 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5147 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5140 | 5148 |
| 5141 | 5149 |
| 5142 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5150 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5143 echo "configure:5144: checking for XShapeSelectInput in -lXext" >&5 | 5151 echo "configure:5152: checking for XShapeSelectInput in -lXext" >&5 |
| 5144 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5152 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5145 | 5153 |
| 5146 xe_check_libs=" -lXext " | 5154 xe_check_libs=" -lXext " |
| 5147 cat > conftest.$ac_ext <<EOF | 5155 cat > conftest.$ac_ext <<EOF |
| 5148 #line 5149 "configure" | 5156 #line 5157 "configure" |
| 5149 #include "confdefs.h" | 5157 #include "confdefs.h" |
| 5150 /* Override any gcc2 internal prototype to avoid an error. */ | 5158 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5151 /* We use char because int might match the return type of a gcc2 | 5159 /* We use char because int might match the return type of a gcc2 |
| 5152 builtin and then its argument prototype would still apply. */ | 5160 builtin and then its argument prototype would still apply. */ |
| 5153 char XShapeSelectInput(); | 5161 char XShapeSelectInput(); |
| 5154 | 5162 |
| 5155 int main() { | 5163 int main() { |
| 5156 XShapeSelectInput() | 5164 XShapeSelectInput() |
| 5157 ; return 0; } | 5165 ; return 0; } |
| 5158 EOF | 5166 EOF |
| 5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5167 if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5160 rm -rf conftest* | 5168 rm -rf conftest* |
| 5161 eval "ac_cv_lib_$ac_lib_var=yes" | 5169 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5162 else | 5170 else |
| 5163 echo "configure: failed program was:" >&5 | 5171 echo "configure: failed program was:" >&5 |
| 5164 cat conftest.$ac_ext >&5 | 5172 cat conftest.$ac_ext >&5 |
| 5177 | 5185 |
| 5178 | 5186 |
| 5179 | 5187 |
| 5180 | 5188 |
| 5181 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5189 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5182 echo "configure:5183: checking for XtOpenDisplay in -lXt" >&5 | 5190 echo "configure:5191: checking for XtOpenDisplay in -lXt" >&5 |
| 5183 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5191 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5184 | 5192 |
| 5185 xe_check_libs=" -lXt " | 5193 xe_check_libs=" -lXt " |
| 5186 cat > conftest.$ac_ext <<EOF | 5194 cat > conftest.$ac_ext <<EOF |
| 5187 #line 5188 "configure" | 5195 #line 5196 "configure" |
| 5188 #include "confdefs.h" | 5196 #include "confdefs.h" |
| 5189 /* Override any gcc2 internal prototype to avoid an error. */ | 5197 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5190 /* We use char because int might match the return type of a gcc2 | 5198 /* We use char because int might match the return type of a gcc2 |
| 5191 builtin and then its argument prototype would still apply. */ | 5199 builtin and then its argument prototype would still apply. */ |
| 5192 char XtOpenDisplay(); | 5200 char XtOpenDisplay(); |
| 5193 | 5201 |
| 5194 int main() { | 5202 int main() { |
| 5195 XtOpenDisplay() | 5203 XtOpenDisplay() |
| 5196 ; return 0; } | 5204 ; return 0; } |
| 5197 EOF | 5205 EOF |
| 5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5199 rm -rf conftest* | 5207 rm -rf conftest* |
| 5200 eval "ac_cv_lib_$ac_lib_var=yes" | 5208 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5201 else | 5209 else |
| 5202 echo "configure: failed program was:" >&5 | 5210 echo "configure: failed program was:" >&5 |
| 5203 cat conftest.$ac_ext >&5 | 5211 cat conftest.$ac_ext >&5 |
| 5216 fi | 5224 fi |
| 5217 | 5225 |
| 5218 | 5226 |
| 5219 | 5227 |
| 5220 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5228 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5221 echo "configure:5222: checking the version of X11 being used" >&5 | 5229 echo "configure:5230: checking the version of X11 being used" >&5 |
| 5222 cat > conftest.$ac_ext <<EOF | 5230 cat > conftest.$ac_ext <<EOF |
| 5223 #line 5224 "configure" | 5231 #line 5232 "configure" |
| 5224 #include "confdefs.h" | 5232 #include "confdefs.h" |
| 5225 #include <X11/Intrinsic.h> | 5233 #include <X11/Intrinsic.h> |
| 5226 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5234 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5227 EOF | 5235 EOF |
| 5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5236 if { (eval echo configure:5237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5229 then | 5237 then |
| 5230 ./conftest foobar; x11_release=$? | 5238 ./conftest foobar; x11_release=$? |
| 5231 else | 5239 else |
| 5232 echo "configure: failed program was:" >&5 | 5240 echo "configure: failed program was:" >&5 |
| 5233 cat conftest.$ac_ext >&5 | 5241 cat conftest.$ac_ext >&5 |
| 5247 | 5255 |
| 5248 for ac_hdr in X11/Xlocale.h | 5256 for ac_hdr in X11/Xlocale.h |
| 5249 do | 5257 do |
| 5250 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5258 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5251 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5259 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5252 echo "configure:5253: checking for $ac_hdr" >&5 | 5260 echo "configure:5261: checking for $ac_hdr" >&5 |
| 5253 | 5261 |
| 5254 cat > conftest.$ac_ext <<EOF | 5262 cat > conftest.$ac_ext <<EOF |
| 5255 #line 5256 "configure" | 5263 #line 5264 "configure" |
| 5256 #include "confdefs.h" | 5264 #include "confdefs.h" |
| 5257 #include <$ac_hdr> | 5265 #include <$ac_hdr> |
| 5258 EOF | 5266 EOF |
| 5259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5260 { (eval echo configure:5261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5268 { (eval echo configure:5269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5261 ac_err=`grep -v '^ *+' conftest.out` | 5269 ac_err=`grep -v '^ *+' conftest.out` |
| 5262 if test -z "$ac_err"; then | 5270 if test -z "$ac_err"; then |
| 5263 rm -rf conftest* | 5271 rm -rf conftest* |
| 5264 eval "ac_cv_header_$ac_safe=yes" | 5272 eval "ac_cv_header_$ac_safe=yes" |
| 5265 else | 5273 else |
| 5286 fi | 5294 fi |
| 5287 done | 5295 done |
| 5288 | 5296 |
| 5289 | 5297 |
| 5290 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5298 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5291 echo "configure:5292: checking for XFree86" >&5 | 5299 echo "configure:5300: checking for XFree86" >&5 |
| 5292 if test -d "/usr/X386/include" -o \ | 5300 if test -d "/usr/X386/include" -o \ |
| 5293 -f "/etc/XF86Config" -o \ | 5301 -f "/etc/XF86Config" -o \ |
| 5294 -f "/etc/X11/XF86Config" -o \ | 5302 -f "/etc/X11/XF86Config" -o \ |
| 5295 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5303 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5296 echo "$ac_t""yes" 1>&6 | 5304 echo "$ac_t""yes" 1>&6 |
| 5306 echo "$ac_t""no" 1>&6 | 5314 echo "$ac_t""no" 1>&6 |
| 5307 fi | 5315 fi |
| 5308 | 5316 |
| 5309 test -z "$with_xmu" && { | 5317 test -z "$with_xmu" && { |
| 5310 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5318 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5311 echo "configure:5312: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5319 echo "configure:5320: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5312 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5320 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5313 | 5321 |
| 5314 xe_check_libs=" -lXmu " | 5322 xe_check_libs=" -lXmu " |
| 5315 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
| 5316 #line 5317 "configure" | 5324 #line 5325 "configure" |
| 5317 #include "confdefs.h" | 5325 #include "confdefs.h" |
| 5318 /* Override any gcc2 internal prototype to avoid an error. */ | 5326 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5319 /* We use char because int might match the return type of a gcc2 | 5327 /* We use char because int might match the return type of a gcc2 |
| 5320 builtin and then its argument prototype would still apply. */ | 5328 builtin and then its argument prototype would still apply. */ |
| 5321 char XmuReadBitmapDataFromFile(); | 5329 char XmuReadBitmapDataFromFile(); |
| 5322 | 5330 |
| 5323 int main() { | 5331 int main() { |
| 5324 XmuReadBitmapDataFromFile() | 5332 XmuReadBitmapDataFromFile() |
| 5325 ; return 0; } | 5333 ; return 0; } |
| 5326 EOF | 5334 EOF |
| 5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5328 rm -rf conftest* | 5336 rm -rf conftest* |
| 5329 eval "ac_cv_lib_$ac_lib_var=yes" | 5337 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5330 else | 5338 else |
| 5331 echo "configure: failed program was:" >&5 | 5339 echo "configure: failed program was:" >&5 |
| 5332 cat conftest.$ac_ext >&5 | 5340 cat conftest.$ac_ext >&5 |
| 5361 | 5369 |
| 5362 fi | 5370 fi |
| 5363 | 5371 |
| 5364 | 5372 |
| 5365 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5373 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5366 echo "configure:5367: checking for main in -lXbsd" >&5 | 5374 echo "configure:5375: checking for main in -lXbsd" >&5 |
| 5367 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5375 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5368 | 5376 |
| 5369 xe_check_libs=" -lXbsd " | 5377 xe_check_libs=" -lXbsd " |
| 5370 cat > conftest.$ac_ext <<EOF | 5378 cat > conftest.$ac_ext <<EOF |
| 5371 #line 5372 "configure" | 5379 #line 5380 "configure" |
| 5372 #include "confdefs.h" | 5380 #include "confdefs.h" |
| 5373 | 5381 |
| 5374 int main() { | 5382 int main() { |
| 5375 main() | 5383 main() |
| 5376 ; return 0; } | 5384 ; return 0; } |
| 5377 EOF | 5385 EOF |
| 5378 if { (eval echo configure:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5386 if { (eval echo configure:5387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5379 rm -rf conftest* | 5387 rm -rf conftest* |
| 5380 eval "ac_cv_lib_$ac_lib_var=yes" | 5388 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5381 else | 5389 else |
| 5382 echo "configure: failed program was:" >&5 | 5390 echo "configure: failed program was:" >&5 |
| 5383 cat conftest.$ac_ext >&5 | 5391 cat conftest.$ac_ext >&5 |
| 5407 if test "$with_tty" = "no" ; then | 5415 if test "$with_tty" = "no" ; then |
| 5408 { echo "configure: error: No window system support and no TTY support - Unable to proceed." 1>&2; exit 1; } | 5416 { echo "configure: error: No window system support and no TTY support - Unable to proceed." 1>&2; exit 1; } |
| 5409 fi | 5417 fi |
| 5410 for feature in tooltalk cde offix session \ | 5418 for feature in tooltalk cde offix session \ |
| 5411 menubars scrollbars toolbars dialogs xim xmu \ | 5419 menubars scrollbars toolbars dialogs xim xmu \ |
| 5412 imagick xface xpm | 5420 tiff png jpeg gif xface xpm |
| 5413 do | 5421 do |
| 5414 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 5422 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
| 5415 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 5423 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
| 5416 fi | 5424 fi |
| 5417 eval "with_${feature}=no" | 5425 eval "with_${feature}=no" |
| 5432 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5440 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5433 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5441 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5434 esac | 5442 esac |
| 5435 | 5443 |
| 5436 echo "checking for session-management option" 1>&6 | 5444 echo "checking for session-management option" 1>&6 |
| 5437 echo "configure:5438: checking for session-management option" >&5; | 5445 echo "configure:5446: checking for session-management option" >&5; |
| 5438 if test "$with_session" != "no"; then | 5446 if test "$with_session" != "no"; then |
| 5439 { test "$extra_verbose" = "yes" && cat << \EOF | 5447 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5440 Defining HAVE_SESSION | 5448 Defining HAVE_SESSION |
| 5441 EOF | 5449 EOF |
| 5442 cat >> confdefs.h <<\EOF | 5450 cat >> confdefs.h <<\EOF |
| 5447 fi | 5455 fi |
| 5448 | 5456 |
| 5449 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5457 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5450 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5458 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5451 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5459 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5452 echo "configure:5453: checking for X11/Xauth.h" >&5 | 5460 echo "configure:5461: checking for X11/Xauth.h" >&5 |
| 5453 | 5461 |
| 5454 cat > conftest.$ac_ext <<EOF | 5462 cat > conftest.$ac_ext <<EOF |
| 5455 #line 5456 "configure" | 5463 #line 5464 "configure" |
| 5456 #include "confdefs.h" | 5464 #include "confdefs.h" |
| 5457 #include <X11/Xauth.h> | 5465 #include <X11/Xauth.h> |
| 5458 EOF | 5466 EOF |
| 5459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5460 { (eval echo configure:5461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5468 { (eval echo configure:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5461 ac_err=`grep -v '^ *+' conftest.out` | 5469 ac_err=`grep -v '^ *+' conftest.out` |
| 5462 if test -z "$ac_err"; then | 5470 if test -z "$ac_err"; then |
| 5463 rm -rf conftest* | 5471 rm -rf conftest* |
| 5464 eval "ac_cv_header_$ac_safe=yes" | 5472 eval "ac_cv_header_$ac_safe=yes" |
| 5465 else | 5473 else |
| 5478 with_xauth=no | 5486 with_xauth=no |
| 5479 fi | 5487 fi |
| 5480 } | 5488 } |
| 5481 test -z "$with_xauth" && { | 5489 test -z "$with_xauth" && { |
| 5482 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5490 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 5483 echo "configure:5484: checking for XauGetAuthByAddr in -lXau" >&5 | 5491 echo "configure:5492: checking for XauGetAuthByAddr in -lXau" >&5 |
| 5484 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5492 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 5485 | 5493 |
| 5486 xe_check_libs=" -lXau " | 5494 xe_check_libs=" -lXau " |
| 5487 cat > conftest.$ac_ext <<EOF | 5495 cat > conftest.$ac_ext <<EOF |
| 5488 #line 5489 "configure" | 5496 #line 5497 "configure" |
| 5489 #include "confdefs.h" | 5497 #include "confdefs.h" |
| 5490 /* Override any gcc2 internal prototype to avoid an error. */ | 5498 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5491 /* We use char because int might match the return type of a gcc2 | 5499 /* We use char because int might match the return type of a gcc2 |
| 5492 builtin and then its argument prototype would still apply. */ | 5500 builtin and then its argument prototype would still apply. */ |
| 5493 char XauGetAuthByAddr(); | 5501 char XauGetAuthByAddr(); |
| 5494 | 5502 |
| 5495 int main() { | 5503 int main() { |
| 5496 XauGetAuthByAddr() | 5504 XauGetAuthByAddr() |
| 5497 ; return 0; } | 5505 ; return 0; } |
| 5498 EOF | 5506 EOF |
| 5499 if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5507 if { (eval echo configure:5508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5500 rm -rf conftest* | 5508 rm -rf conftest* |
| 5501 eval "ac_cv_lib_$ac_lib_var=yes" | 5509 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5502 else | 5510 else |
| 5503 echo "configure: failed program was:" >&5 | 5511 echo "configure: failed program was:" >&5 |
| 5504 cat conftest.$ac_ext >&5 | 5512 cat conftest.$ac_ext >&5 |
| 5554 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5562 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
| 5555 if test "$with_tooltalk" != "no" ; then | 5563 if test "$with_tooltalk" != "no" ; then |
| 5556 for dir in "" "Tt/" "desktop/" ; do | 5564 for dir in "" "Tt/" "desktop/" ; do |
| 5557 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5565 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 5558 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5566 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 5559 echo "configure:5560: checking for ${dir}tt_c.h" >&5 | 5567 echo "configure:5568: checking for ${dir}tt_c.h" >&5 |
| 5560 | 5568 |
| 5561 cat > conftest.$ac_ext <<EOF | 5569 cat > conftest.$ac_ext <<EOF |
| 5562 #line 5563 "configure" | 5570 #line 5571 "configure" |
| 5563 #include "confdefs.h" | 5571 #include "confdefs.h" |
| 5564 #include <${dir}tt_c.h> | 5572 #include <${dir}tt_c.h> |
| 5565 EOF | 5573 EOF |
| 5566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5567 { (eval echo configure:5568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5575 { (eval echo configure:5576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5568 ac_err=`grep -v '^ *+' conftest.out` | 5576 ac_err=`grep -v '^ *+' conftest.out` |
| 5569 if test -z "$ac_err"; then | 5577 if test -z "$ac_err"; then |
| 5570 rm -rf conftest* | 5578 rm -rf conftest* |
| 5571 eval "ac_cv_header_$ac_safe=yes" | 5579 eval "ac_cv_header_$ac_safe=yes" |
| 5572 else | 5580 else |
| 5591 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5599 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 5592 | 5600 |
| 5593 xe_msg_checking="for tt_message_create in -ltt" | 5601 xe_msg_checking="for tt_message_create in -ltt" |
| 5594 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5602 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 5595 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5603 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5596 echo "configure:5597: checking "$xe_msg_checking"" >&5 | 5604 echo "configure:5605: checking "$xe_msg_checking"" >&5 |
| 5597 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5605 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 5598 | 5606 |
| 5599 xe_check_libs=" -ltt $extra_libs" | 5607 xe_check_libs=" -ltt $extra_libs" |
| 5600 cat > conftest.$ac_ext <<EOF | 5608 cat > conftest.$ac_ext <<EOF |
| 5601 #line 5602 "configure" | 5609 #line 5610 "configure" |
| 5602 #include "confdefs.h" | 5610 #include "confdefs.h" |
| 5603 /* Override any gcc2 internal prototype to avoid an error. */ | 5611 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5604 /* We use char because int might match the return type of a gcc2 | 5612 /* We use char because int might match the return type of a gcc2 |
| 5605 builtin and then its argument prototype would still apply. */ | 5613 builtin and then its argument prototype would still apply. */ |
| 5606 char tt_message_create(); | 5614 char tt_message_create(); |
| 5607 | 5615 |
| 5608 int main() { | 5616 int main() { |
| 5609 tt_message_create() | 5617 tt_message_create() |
| 5610 ; return 0; } | 5618 ; return 0; } |
| 5611 EOF | 5619 EOF |
| 5612 if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5620 if { (eval echo configure:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5613 rm -rf conftest* | 5621 rm -rf conftest* |
| 5614 eval "ac_cv_lib_$ac_lib_var=yes" | 5622 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5615 else | 5623 else |
| 5616 echo "configure: failed program was:" >&5 | 5624 echo "configure: failed program was:" >&5 |
| 5617 cat conftest.$ac_ext >&5 | 5625 cat conftest.$ac_ext >&5 |
| 5656 fi | 5664 fi |
| 5657 fi | 5665 fi |
| 5658 | 5666 |
| 5659 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5667 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 5660 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5668 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 5661 echo "configure:5662: checking for Dt/Dt.h" >&5 | 5669 echo "configure:5670: checking for Dt/Dt.h" >&5 |
| 5662 | 5670 |
| 5663 cat > conftest.$ac_ext <<EOF | 5671 cat > conftest.$ac_ext <<EOF |
| 5664 #line 5665 "configure" | 5672 #line 5673 "configure" |
| 5665 #include "confdefs.h" | 5673 #include "confdefs.h" |
| 5666 #include <Dt/Dt.h> | 5674 #include <Dt/Dt.h> |
| 5667 EOF | 5675 EOF |
| 5668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5669 { (eval echo configure:5670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5677 { (eval echo configure:5678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5670 ac_err=`grep -v '^ *+' conftest.out` | 5678 ac_err=`grep -v '^ *+' conftest.out` |
| 5671 if test -z "$ac_err"; then | 5679 if test -z "$ac_err"; then |
| 5672 rm -rf conftest* | 5680 rm -rf conftest* |
| 5673 eval "ac_cv_header_$ac_safe=yes" | 5681 eval "ac_cv_header_$ac_safe=yes" |
| 5674 else | 5682 else |
| 5687 with_cde=no | 5695 with_cde=no |
| 5688 fi | 5696 fi |
| 5689 } | 5697 } |
| 5690 test -z "$with_cde" && { | 5698 test -z "$with_cde" && { |
| 5691 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5699 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 5692 echo "configure:5693: checking for DtDndDragStart in -lDtSvc" >&5 | 5700 echo "configure:5701: checking for DtDndDragStart in -lDtSvc" >&5 |
| 5693 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5701 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 5694 | 5702 |
| 5695 xe_check_libs=" -lDtSvc " | 5703 xe_check_libs=" -lDtSvc " |
| 5696 cat > conftest.$ac_ext <<EOF | 5704 cat > conftest.$ac_ext <<EOF |
| 5697 #line 5698 "configure" | 5705 #line 5706 "configure" |
| 5698 #include "confdefs.h" | 5706 #include "confdefs.h" |
| 5699 /* Override any gcc2 internal prototype to avoid an error. */ | 5707 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5700 /* We use char because int might match the return type of a gcc2 | 5708 /* We use char because int might match the return type of a gcc2 |
| 5701 builtin and then its argument prototype would still apply. */ | 5709 builtin and then its argument prototype would still apply. */ |
| 5702 char DtDndDragStart(); | 5710 char DtDndDragStart(); |
| 5703 | 5711 |
| 5704 int main() { | 5712 int main() { |
| 5705 DtDndDragStart() | 5713 DtDndDragStart() |
| 5706 ; return 0; } | 5714 ; return 0; } |
| 5707 EOF | 5715 EOF |
| 5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5716 if { (eval echo configure:5717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5709 rm -rf conftest* | 5717 rm -rf conftest* |
| 5710 eval "ac_cv_lib_$ac_lib_var=yes" | 5718 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5711 else | 5719 else |
| 5712 echo "configure: failed program was:" >&5 | 5720 echo "configure: failed program was:" >&5 |
| 5713 cat conftest.$ac_ext >&5 | 5721 cat conftest.$ac_ext >&5 |
| 5743 | 5751 |
| 5744 | 5752 |
| 5745 if test "$with_x11" = "yes"; then | 5753 if test "$with_x11" = "yes"; then |
| 5746 | 5754 |
| 5747 echo "checking for X11 graphics libraries" 1>&6 | 5755 echo "checking for X11 graphics libraries" 1>&6 |
| 5748 echo "configure:5749: checking for X11 graphics libraries" >&5 | 5756 echo "configure:5757: checking for X11 graphics libraries" >&5 |
| 5749 | 5757 |
| 5750 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5758 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 5751 echo "configure:5752: checking for Xpm - no older than 3.4f" >&5 | 5759 echo "configure:5760: checking for Xpm - no older than 3.4f" >&5 |
| 5752 xe_check_libs=-lXpm | 5760 xe_check_libs=-lXpm |
| 5753 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5761 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
| 5754 #line 5755 "configure" | 5762 #line 5763 "configure" |
| 5755 #include "confdefs.h" | 5763 #include "confdefs.h" |
| 5756 #include <X11/xpm.h> | 5764 #include <X11/xpm.h> |
| 5757 int main(int c, char **v) { | 5765 int main(int c, char **v) { |
| 5758 return c == 1 ? 0 : | 5766 return c == 1 ? 0 : |
| 5759 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5767 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 5760 XpmIncludeVersion < 30406 ? 2 : | 5768 XpmIncludeVersion < 30406 ? 2 : |
| 5761 0 ; | 5769 0 ; |
| 5762 } | 5770 } |
| 5763 EOF | 5771 EOF |
| 5764 if { (eval echo configure:5765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5772 if { (eval echo configure:5773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 5765 then | 5773 then |
| 5766 ./conftest foobar; xpm_status=$?; | 5774 ./conftest foobar; xpm_status=$?; |
| 5767 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5775 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
| 5768 else | 5776 else |
| 5769 echo "configure: failed program was:" >&5 | 5777 echo "configure: failed program was:" >&5 |
| 5797 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5805 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 5798 fi | 5806 fi |
| 5799 | 5807 |
| 5800 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5808 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 5801 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5809 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 5802 echo "configure:5803: checking for compface.h" >&5 | 5810 echo "configure:5811: checking for compface.h" >&5 |
| 5803 | 5811 |
| 5804 cat > conftest.$ac_ext <<EOF | 5812 cat > conftest.$ac_ext <<EOF |
| 5805 #line 5806 "configure" | 5813 #line 5814 "configure" |
| 5806 #include "confdefs.h" | 5814 #include "confdefs.h" |
| 5807 #include <compface.h> | 5815 #include <compface.h> |
| 5808 EOF | 5816 EOF |
| 5809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5818 { (eval echo configure:5819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5811 ac_err=`grep -v '^ *+' conftest.out` | 5819 ac_err=`grep -v '^ *+' conftest.out` |
| 5812 if test -z "$ac_err"; then | 5820 if test -z "$ac_err"; then |
| 5813 rm -rf conftest* | 5821 rm -rf conftest* |
| 5814 eval "ac_cv_header_$ac_safe=yes" | 5822 eval "ac_cv_header_$ac_safe=yes" |
| 5815 else | 5823 else |
| 5828 with_xface=no | 5836 with_xface=no |
| 5829 fi | 5837 fi |
| 5830 } | 5838 } |
| 5831 test -z "$with_xface" && { | 5839 test -z "$with_xface" && { |
| 5832 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5840 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 5833 echo "configure:5834: checking for UnGenFace in -lcompface" >&5 | 5841 echo "configure:5842: checking for UnGenFace in -lcompface" >&5 |
| 5834 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5842 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 5835 | 5843 |
| 5836 xe_check_libs=" -lcompface " | 5844 xe_check_libs=" -lcompface " |
| 5837 cat > conftest.$ac_ext <<EOF | 5845 cat > conftest.$ac_ext <<EOF |
| 5838 #line 5839 "configure" | 5846 #line 5847 "configure" |
| 5839 #include "confdefs.h" | 5847 #include "confdefs.h" |
| 5840 /* Override any gcc2 internal prototype to avoid an error. */ | 5848 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5841 /* We use char because int might match the return type of a gcc2 | 5849 /* We use char because int might match the return type of a gcc2 |
| 5842 builtin and then its argument prototype would still apply. */ | 5850 builtin and then its argument prototype would still apply. */ |
| 5843 char UnGenFace(); | 5851 char UnGenFace(); |
| 5844 | 5852 |
| 5845 int main() { | 5853 int main() { |
| 5846 UnGenFace() | 5854 UnGenFace() |
| 5847 ; return 0; } | 5855 ; return 0; } |
| 5848 EOF | 5856 EOF |
| 5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5857 if { (eval echo configure:5858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5850 rm -rf conftest* | 5858 rm -rf conftest* |
| 5851 eval "ac_cv_lib_$ac_lib_var=yes" | 5859 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5852 else | 5860 else |
| 5853 echo "configure: failed program was:" >&5 | 5861 echo "configure: failed program was:" >&5 |
| 5854 cat conftest.$ac_ext >&5 | 5862 cat conftest.$ac_ext >&5 |
| 5878 } | 5886 } |
| 5879 | 5887 |
| 5880 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5888 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 5881 fi | 5889 fi |
| 5882 | 5890 |
| 5883 test "$with_imagick" != "no" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` | 5891 test -z "$with_gif" && with_gif=yes; |
| 5884 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 | 5892 if test "$with_gif" = "yes"; then |
| 5885 echo "configure:5886: checking for magick/magick.h" >&5 | 5893 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5886 | 5894 Defining HAVE_GIF |
| 5887 cat > conftest.$ac_ext <<EOF | 5895 EOF |
| 5888 #line 5889 "configure" | 5896 cat >> confdefs.h <<\EOF |
| 5889 #include "confdefs.h" | 5897 #define HAVE_GIF 1 |
| 5890 #include <magick/magick.h> | 5898 EOF |
| 5899 } | |
| 5900 | |
| 5901 extra_objs="$extra_objs dgif_lib.o gif_err.o gifalloc.o" && if test "$extra_verbose" = "yes"; then | |
| 5902 echo " xemacs will be linked with \"dgif_lib.o gif_err.o gifalloc.o\"" | |
| 5903 fi | |
| 5904 fi | |
| 5905 | |
| 5906 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | |
| 5907 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | |
| 5908 echo "configure:5909: checking for jpeglib.h" >&5 | |
| 5909 | |
| 5910 cat > conftest.$ac_ext <<EOF | |
| 5911 #line 5912 "configure" | |
| 5912 #include "confdefs.h" | |
| 5913 #include <jpeglib.h> | |
| 5891 EOF | 5914 EOF |
| 5892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5893 { (eval echo configure:5894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5916 { (eval echo configure:5917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5894 ac_err=`grep -v '^ *+' conftest.out` | 5917 ac_err=`grep -v '^ *+' conftest.out` |
| 5895 if test -z "$ac_err"; then | 5918 if test -z "$ac_err"; then |
| 5896 rm -rf conftest* | 5919 rm -rf conftest* |
| 5897 eval "ac_cv_header_$ac_safe=yes" | 5920 eval "ac_cv_header_$ac_safe=yes" |
| 5898 else | 5921 else |
| 5906 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 5907 echo "$ac_t""yes" 1>&6 | 5930 echo "$ac_t""yes" 1>&6 |
| 5908 : | 5931 : |
| 5909 else | 5932 else |
| 5910 echo "$ac_t""no" 1>&6 | 5933 echo "$ac_t""no" 1>&6 |
| 5911 ac_safe=`echo "X11/magick/magick.h" | sed 'y%./+-%__p_%'` | 5934 with_jpeg=no |
| 5912 echo $ac_n "checking for X11/magick/magick.h""... $ac_c" 1>&6 | |
| 5913 echo "configure:5914: checking for X11/magick/magick.h" >&5 | |
| 5914 | |
| 5915 cat > conftest.$ac_ext <<EOF | |
| 5916 #line 5917 "configure" | |
| 5917 #include "confdefs.h" | |
| 5918 #include <X11/magick/magick.h> | |
| 5919 EOF | |
| 5920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 5921 { (eval echo configure:5922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 5922 ac_err=`grep -v '^ *+' conftest.out` | |
| 5923 if test -z "$ac_err"; then | |
| 5924 rm -rf conftest* | |
| 5925 eval "ac_cv_header_$ac_safe=yes" | |
| 5926 else | |
| 5927 echo "$ac_err" >&5 | |
| 5928 echo "configure: failed program was:" >&5 | |
| 5929 cat conftest.$ac_ext >&5 | |
| 5930 rm -rf conftest* | |
| 5931 eval "ac_cv_header_$ac_safe=no" | |
| 5932 fi | |
| 5933 rm -f conftest* | |
| 5934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 5935 echo "$ac_t""yes" 1>&6 | |
| 5936 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 5937 Defining MAGICK_HEADERS_ARE_UNDER_X11 | |
| 5938 EOF | |
| 5939 cat >> confdefs.h <<\EOF | |
| 5940 #define MAGICK_HEADERS_ARE_UNDER_X11 1 | |
| 5941 EOF | |
| 5942 } | |
| 5943 | |
| 5944 else | |
| 5945 echo "$ac_t""no" 1>&6 | |
| 5946 with_imagick=no | |
| 5947 fi | |
| 5948 | |
| 5949 fi | 5935 fi |
| 5950 } | 5936 } |
| 5951 test "$with_imagick" != "no" && { | 5937 test -z "$with_jpeg" && { |
| 5952 z_libs="" | 5938 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 5953 | 5939 echo "configure:5940: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 5954 echo $ac_n "checking for inflateInit_ in -lz""... $ac_c" 1>&6 | 5940 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 5955 echo "configure:5956: checking for inflateInit_ in -lz" >&5 | 5941 |
| 5956 ac_lib_var=`echo z'_'inflateInit_ | sed 'y%./+-%__p_%'` | 5942 xe_check_libs=" -ljpeg " |
| 5957 | 5943 cat > conftest.$ac_ext <<EOF |
| 5958 xe_check_libs=" -lz " | 5944 #line 5945 "configure" |
| 5959 cat > conftest.$ac_ext <<EOF | |
| 5960 #line 5961 "configure" | |
| 5961 #include "confdefs.h" | 5945 #include "confdefs.h" |
| 5962 /* Override any gcc2 internal prototype to avoid an error. */ | 5946 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5963 /* We use char because int might match the return type of a gcc2 | 5947 /* We use char because int might match the return type of a gcc2 |
| 5964 builtin and then its argument prototype would still apply. */ | 5948 builtin and then its argument prototype would still apply. */ |
| 5965 char inflateInit_(); | 5949 char jpeg_destroy_decompress(); |
| 5966 | 5950 |
| 5967 int main() { | 5951 int main() { |
| 5968 inflateInit_() | 5952 jpeg_destroy_decompress() |
| 5969 ; return 0; } | 5953 ; return 0; } |
| 5970 EOF | 5954 EOF |
| 5971 if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5955 if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5972 rm -rf conftest* | 5956 rm -rf conftest* |
| 5973 eval "ac_cv_lib_$ac_lib_var=yes" | 5957 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5974 else | 5958 else |
| 5975 echo "configure: failed program was:" >&5 | 5959 echo "configure: failed program was:" >&5 |
| 5976 cat conftest.$ac_ext >&5 | 5960 cat conftest.$ac_ext >&5 |
| 5980 rm -f conftest* | 5964 rm -f conftest* |
| 5981 xe_check_libs="" | 5965 xe_check_libs="" |
| 5982 | 5966 |
| 5983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 5967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 5984 echo "$ac_t""yes" 1>&6 | 5968 echo "$ac_t""yes" 1>&6 |
| 5985 z_libs="$z_libs -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lz\" to \$z_libs"; fi | 5969 : |
| 5986 else | 5970 else |
| 5987 echo "$ac_t""no" 1>&6 | 5971 echo "$ac_t""no" 1>&6 |
| 5988 echo $ac_n "checking for inflateInit_ in -lgz""... $ac_c" 1>&6 | 5972 with_jpeg=no |
| 5989 echo "configure:5990: checking for inflateInit_ in -lgz" >&5 | 5973 fi |
| 5990 ac_lib_var=`echo gz'_'inflateInit_ | sed 'y%./+-%__p_%'` | 5974 |
| 5991 | 5975 } |
| 5992 xe_check_libs=" -lgz " | 5976 test -z "$with_jpeg" && with_jpeg=yes |
| 5977 if test "$with_jpeg" = "yes"; then | |
| 5978 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 5979 Defining HAVE_JPEG | |
| 5980 EOF | |
| 5981 cat >> confdefs.h <<\EOF | |
| 5982 #define HAVE_JPEG 1 | |
| 5983 EOF | |
| 5984 } | |
| 5985 | |
| 5986 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | |
| 5987 fi | |
| 5988 | |
| 5989 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | |
| 5990 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | |
| 5991 echo "configure:5992: checking for png.h" >&5 | |
| 5992 | |
| 5993 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
| 5994 #line 5995 "configure" | 5994 #line 5995 "configure" |
| 5995 #include "confdefs.h" | 5995 #include "confdefs.h" |
| 5996 #include <png.h> | |
| 5997 EOF | |
| 5998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 5999 { (eval echo configure:6000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 6000 ac_err=`grep -v '^ *+' conftest.out` | |
| 6001 if test -z "$ac_err"; then | |
| 6002 rm -rf conftest* | |
| 6003 eval "ac_cv_header_$ac_safe=yes" | |
| 6004 else | |
| 6005 echo "$ac_err" >&5 | |
| 6006 echo "configure: failed program was:" >&5 | |
| 6007 cat conftest.$ac_ext >&5 | |
| 6008 rm -rf conftest* | |
| 6009 eval "ac_cv_header_$ac_safe=no" | |
| 6010 fi | |
| 6011 rm -f conftest* | |
| 6012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 6013 echo "$ac_t""yes" 1>&6 | |
| 6014 : | |
| 6015 else | |
| 6016 echo "$ac_t""no" 1>&6 | |
| 6017 with_png=no | |
| 6018 fi | |
| 6019 } | |
| 6020 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | |
| 6021 echo "configure:6022: checking for pow" >&5 | |
| 6022 | |
| 6023 cat > conftest.$ac_ext <<EOF | |
| 6024 #line 6025 "configure" | |
| 6025 #include "confdefs.h" | |
| 6026 /* System header to define __stub macros and hopefully few prototypes, | |
| 6027 which can conflict with char pow(); below. */ | |
| 6028 #include <assert.h> | |
| 5996 /* Override any gcc2 internal prototype to avoid an error. */ | 6029 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5997 /* 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 |
| 5998 builtin and then its argument prototype would still apply. */ | 6031 builtin and then its argument prototype would still apply. */ |
| 5999 char inflateInit_(); | 6032 char pow(); |
| 6000 | 6033 |
| 6001 int main() { | 6034 int main() { |
| 6002 inflateInit_() | 6035 |
| 6036 /* The GNU C library defines this for functions which it implements | |
| 6037 to always fail with ENOSYS. Some functions are actually named | |
| 6038 something starting with __ and the normal name is an alias. */ | |
| 6039 #if defined (__stub_pow) || defined (__stub___pow) | |
| 6040 choke me | |
| 6041 #else | |
| 6042 pow(); | |
| 6043 #endif | |
| 6044 | |
| 6003 ; return 0; } | 6045 ; return 0; } |
| 6004 EOF | 6046 EOF |
| 6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6047 if { (eval echo configure:6048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6006 rm -rf conftest* | 6048 rm -rf conftest* |
| 6007 eval "ac_cv_lib_$ac_lib_var=yes" | 6049 eval "ac_cv_func_pow=yes" |
| 6008 else | 6050 else |
| 6009 echo "configure: failed program was:" >&5 | 6051 echo "configure: failed program was:" >&5 |
| 6010 cat conftest.$ac_ext >&5 | 6052 cat conftest.$ac_ext >&5 |
| 6011 rm -rf conftest* | 6053 rm -rf conftest* |
| 6012 eval "ac_cv_lib_$ac_lib_var=no" | 6054 eval "ac_cv_func_pow=no" |
| 6013 fi | 6055 fi |
| 6014 rm -f conftest* | 6056 rm -f conftest* |
| 6015 xe_check_libs="" | 6057 |
| 6016 | 6058 if eval "test \"`echo '$ac_cv_func_'pow`\" = yes"; then |
| 6017 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6018 echo "$ac_t""yes" 1>&6 | 6059 echo "$ac_t""yes" 1>&6 |
| 6019 z_libs="$z_libs -lgz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lgz\" to \$z_libs"; fi | 6060 : |
| 6020 else | 6061 else |
| 6021 echo "$ac_t""no" 1>&6 | 6062 echo "$ac_t""no" 1>&6 |
| 6022 fi | 6063 with_png=no |
| 6023 | 6064 fi |
| 6024 | 6065 } |
| 6025 fi | 6066 if test "$with_png" != "no"; then |
| 6026 | 6067 for extra_libs in "" "-lz" "-lgz"; do |
| 6027 | 6068 |
| 6028 | 6069 xe_msg_checking="for png_read_image in -lpng" |
| 6029 imagick_libs="" | 6070 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6030 | 6071 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6031 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 | 6072 echo "configure:6073: checking "$xe_msg_checking"" >&5 |
| 6032 echo "configure:6033: checking for XDPSPixelsPerPoint in -ldps" >&5 | 6073 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6033 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` | 6074 |
| 6034 | 6075 xe_check_libs=" -lpng $extra_libs" |
| 6035 xe_check_libs="-ldpstk -ldps " | 6076 cat > conftest.$ac_ext <<EOF |
| 6036 cat > conftest.$ac_ext <<EOF | 6077 #line 6078 "configure" |
| 6037 #line 6038 "configure" | |
| 6038 #include "confdefs.h" | 6078 #include "confdefs.h" |
| 6039 /* Override any gcc2 internal prototype to avoid an error. */ | 6079 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6040 /* We use char because int might match the return type of a gcc2 | 6080 /* We use char because int might match the return type of a gcc2 |
| 6041 builtin and then its argument prototype would still apply. */ | 6081 builtin and then its argument prototype would still apply. */ |
| 6042 char XDPSPixelsPerPoint(); | 6082 char png_read_image(); |
| 6043 | 6083 |
| 6044 int main() { | 6084 int main() { |
| 6045 XDPSPixelsPerPoint() | 6085 png_read_image() |
| 6046 ; return 0; } | 6086 ; return 0; } |
| 6047 EOF | 6087 EOF |
| 6048 if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6088 if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6049 rm -rf conftest* | 6089 rm -rf conftest* |
| 6050 eval "ac_cv_lib_$ac_lib_var=yes" | 6090 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6051 else | 6091 else |
| 6052 echo "configure: failed program was:" >&5 | 6092 echo "configure: failed program was:" >&5 |
| 6053 cat conftest.$ac_ext >&5 | 6093 cat conftest.$ac_ext >&5 |
| 6057 rm -f conftest* | 6097 rm -f conftest* |
| 6058 xe_check_libs="" | 6098 xe_check_libs="" |
| 6059 | 6099 |
| 6060 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6100 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 6061 echo "$ac_t""yes" 1>&6 | 6101 echo "$ac_t""yes" 1>&6 |
| 6062 imagick_libs="$imagick_libs -ldpstk -ldps" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ldpstk -ldps\" to \$imagick_libs"; fi | 6102 png_libs="-lpng $extra_libs" with_png=yes; break |
| 6063 else | 6103 else |
| 6064 echo "$ac_t""no" 1>&6 | 6104 echo "$ac_t""no" 1>&6 |
| 6065 fi | 6105 : |
| 6066 | 6106 fi |
| 6067 | 6107 |
| 6068 | 6108 |
| 6069 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 | 6109 done |
| 6070 echo "configure:6071: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 | 6110 fi |
| 6071 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` | 6111 test -z "$with_png" && with_png=no |
| 6072 | 6112 if test "$with_png" = "yes"; then |
| 6073 xe_check_libs=" -lfpx " | 6113 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6074 cat > conftest.$ac_ext <<EOF | 6114 Defining HAVE_PNG |
| 6075 #line 6076 "configure" | 6115 EOF |
| 6116 cat >> confdefs.h <<\EOF | |
| 6117 #define HAVE_PNG 1 | |
| 6118 EOF | |
| 6119 } | |
| 6120 | |
| 6121 libs_x="$png_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$png_libs\" to \$libs_x"; fi | |
| 6122 fi | |
| 6123 | |
| 6124 if test "$with_tiff" != no; then | |
| 6125 for extra_libs in "" "-lz" "-lgz"; do | |
| 6126 | |
| 6127 xe_msg_checking="for TIFFReadScanline in -ltiff" | |
| 6128 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | |
| 6129 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 6130 echo "configure:6131: checking "$xe_msg_checking"" >&5 | |
| 6131 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | |
| 6132 | |
| 6133 xe_check_libs=" -ltiff $extra_libs" | |
| 6134 cat > conftest.$ac_ext <<EOF | |
| 6135 #line 6136 "configure" | |
| 6076 #include "confdefs.h" | 6136 #include "confdefs.h" |
| 6077 /* Override any gcc2 internal prototype to avoid an error. */ | 6137 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6078 /* We use char because int might match the return type of a gcc2 | 6138 /* We use char because int might match the return type of a gcc2 |
| 6079 builtin and then its argument prototype would still apply. */ | 6139 builtin and then its argument prototype would still apply. */ |
| 6080 char FPX_SetToolkitMemoryLimit(); | 6140 char TIFFReadScanline(); |
| 6081 | 6141 |
| 6082 int main() { | 6142 int main() { |
| 6083 FPX_SetToolkitMemoryLimit() | 6143 TIFFReadScanline() |
| 6084 ; return 0; } | 6144 ; return 0; } |
| 6085 EOF | 6145 EOF |
| 6086 if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6146 if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6087 rm -rf conftest* | 6147 rm -rf conftest* |
| 6088 eval "ac_cv_lib_$ac_lib_var=yes" | 6148 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6089 else | 6149 else |
| 6090 echo "configure: failed program was:" >&5 | 6150 echo "configure: failed program was:" >&5 |
| 6091 cat conftest.$ac_ext >&5 | 6151 cat conftest.$ac_ext >&5 |
| 6095 rm -f conftest* | 6155 rm -f conftest* |
| 6096 xe_check_libs="" | 6156 xe_check_libs="" |
| 6097 | 6157 |
| 6098 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 6099 echo "$ac_t""yes" 1>&6 | 6159 echo "$ac_t""yes" 1>&6 |
| 6100 imagick_libs="$imagick_libs -lfpx" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lfpx\" to \$imagick_libs"; fi | 6160 tiff_libs="-ltiff $extra_libs" with_tiff=yes; break |
| 6101 else | 6161 else |
| 6102 echo "$ac_t""no" 1>&6 | 6162 echo "$ac_t""no" 1>&6 |
| 6103 fi | 6163 : |
| 6104 | 6164 fi |
| 6105 | 6165 |
| 6166 | |
| 6167 done | |
| 6168 fi | |
| 6169 test -z "$with_tiff" && with_tiff=no | |
| 6170 if test "$with_tiff" = "yes"; then | |
| 6171 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6172 Defining HAVE_TIFF | |
| 6173 EOF | |
| 6174 cat >> confdefs.h <<\EOF | |
| 6175 #define HAVE_TIFF 1 | |
| 6176 EOF | |
| 6177 } | |
| 6178 | |
| 6179 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi | |
| 6180 fi | |
| 6106 | 6181 |
| 6107 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 | |
| 6108 echo "configure:6109: checking for DF24getdims in -ldf" >&5 | |
| 6109 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` | |
| 6110 | |
| 6111 xe_check_libs=" -ldf " | |
| 6112 cat > conftest.$ac_ext <<EOF | |
| 6113 #line 6114 "configure" | |
| 6114 #include "confdefs.h" | |
| 6115 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6116 /* We use char because int might match the return type of a gcc2 | |
| 6117 builtin and then its argument prototype would still apply. */ | |
| 6118 char DF24getdims(); | |
| 6119 | |
| 6120 int main() { | |
| 6121 DF24getdims() | |
| 6122 ; return 0; } | |
| 6123 EOF | |
| 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6125 rm -rf conftest* | |
| 6126 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6127 else | |
| 6128 echo "configure: failed program was:" >&5 | |
| 6129 cat conftest.$ac_ext >&5 | |
| 6130 rm -rf conftest* | |
| 6131 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6132 fi | |
| 6133 rm -f conftest* | |
| 6134 xe_check_libs="" | |
| 6135 | |
| 6136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6137 echo "$ac_t""yes" 1>&6 | |
| 6138 imagick_libs="$imagick_libs -ldf" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ldf\" to \$imagick_libs"; fi | |
| 6139 else | |
| 6140 echo "$ac_t""no" 1>&6 | |
| 6141 fi | |
| 6142 | |
| 6143 | |
| 6144 | |
| 6145 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 | |
| 6146 echo "configure:6147: checking for jbg_dec_init in -ljbig" >&5 | |
| 6147 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` | |
| 6148 | |
| 6149 xe_check_libs=" -ljbig " | |
| 6150 cat > conftest.$ac_ext <<EOF | |
| 6151 #line 6152 "configure" | |
| 6152 #include "confdefs.h" | |
| 6153 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6154 /* We use char because int might match the return type of a gcc2 | |
| 6155 builtin and then its argument prototype would still apply. */ | |
| 6156 char jbg_dec_init(); | |
| 6157 | |
| 6158 int main() { | |
| 6159 jbg_dec_init() | |
| 6160 ; return 0; } | |
| 6161 EOF | |
| 6162 if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6163 rm -rf conftest* | |
| 6164 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6165 else | |
| 6166 echo "configure: failed program was:" >&5 | |
| 6167 cat conftest.$ac_ext >&5 | |
| 6168 rm -rf conftest* | |
| 6169 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6170 fi | |
| 6171 rm -f conftest* | |
| 6172 xe_check_libs="" | |
| 6173 | |
| 6174 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6175 echo "$ac_t""yes" 1>&6 | |
| 6176 imagick_libs="$imagick_libs -ljbig" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ljbig\" to \$imagick_libs"; fi | |
| 6177 else | |
| 6178 echo "$ac_t""no" 1>&6 | |
| 6179 fi | |
| 6180 | |
| 6181 | |
| 6182 | |
| 6183 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 | |
| 6184 echo "configure:6185: checking for jpeg_read_header in -ljpeg" >&5 | |
| 6185 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` | |
| 6186 | |
| 6187 xe_check_libs=" -ljpeg " | |
| 6188 cat > conftest.$ac_ext <<EOF | |
| 6189 #line 6190 "configure" | |
| 6190 #include "confdefs.h" | |
| 6191 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6192 /* We use char because int might match the return type of a gcc2 | |
| 6193 builtin and then its argument prototype would still apply. */ | |
| 6194 char jpeg_read_header(); | |
| 6195 | |
| 6196 int main() { | |
| 6197 jpeg_read_header() | |
| 6198 ; return 0; } | |
| 6199 EOF | |
| 6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6201 rm -rf conftest* | |
| 6202 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6203 else | |
| 6204 echo "configure: failed program was:" >&5 | |
| 6205 cat conftest.$ac_ext >&5 | |
| 6206 rm -rf conftest* | |
| 6207 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6208 fi | |
| 6209 rm -f conftest* | |
| 6210 xe_check_libs="" | |
| 6211 | |
| 6212 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6213 echo "$ac_t""yes" 1>&6 | |
| 6214 imagick_libs="$imagick_libs -ljpeg" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ljpeg\" to \$imagick_libs"; fi | |
| 6215 else | |
| 6216 echo "$ac_t""no" 1>&6 | |
| 6217 fi | |
| 6218 | |
| 6219 | |
| 6220 | |
| 6221 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 | |
| 6222 echo "configure:6223: checking for OpenMPEG in -lmpeg" >&5 | |
| 6223 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` | |
| 6224 | |
| 6225 xe_check_libs=" -lmpeg " | |
| 6226 cat > conftest.$ac_ext <<EOF | |
| 6227 #line 6228 "configure" | |
| 6228 #include "confdefs.h" | |
| 6229 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6230 /* We use char because int might match the return type of a gcc2 | |
| 6231 builtin and then its argument prototype would still apply. */ | |
| 6232 char OpenMPEG(); | |
| 6233 | |
| 6234 int main() { | |
| 6235 OpenMPEG() | |
| 6236 ; return 0; } | |
| 6237 EOF | |
| 6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6239 rm -rf conftest* | |
| 6240 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6241 else | |
| 6242 echo "configure: failed program was:" >&5 | |
| 6243 cat conftest.$ac_ext >&5 | |
| 6244 rm -rf conftest* | |
| 6245 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6246 fi | |
| 6247 rm -f conftest* | |
| 6248 xe_check_libs="" | |
| 6249 | |
| 6250 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6251 echo "$ac_t""yes" 1>&6 | |
| 6252 imagick_libs="$imagick_libs -lmpeg" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmpeg\" to \$imagick_libs"; fi | |
| 6253 else | |
| 6254 echo "$ac_t""no" 1>&6 | |
| 6255 fi | |
| 6256 | |
| 6257 | |
| 6258 | |
| 6259 echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6 | |
| 6260 echo "configure:6261: checking for TT_Init_FreeType in -lttf" >&5 | |
| 6261 ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'` | |
| 6262 | |
| 6263 xe_check_libs=" -lttf " | |
| 6264 cat > conftest.$ac_ext <<EOF | |
| 6265 #line 6266 "configure" | |
| 6266 #include "confdefs.h" | |
| 6267 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6268 /* We use char because int might match the return type of a gcc2 | |
| 6269 builtin and then its argument prototype would still apply. */ | |
| 6270 char TT_Init_FreeType(); | |
| 6271 | |
| 6272 int main() { | |
| 6273 TT_Init_FreeType() | |
| 6274 ; return 0; } | |
| 6275 EOF | |
| 6276 if { (eval echo configure:6277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6277 rm -rf conftest* | |
| 6278 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6279 else | |
| 6280 echo "configure: failed program was:" >&5 | |
| 6281 cat conftest.$ac_ext >&5 | |
| 6282 rm -rf conftest* | |
| 6283 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6284 fi | |
| 6285 rm -f conftest* | |
| 6286 xe_check_libs="" | |
| 6287 | |
| 6288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6289 echo "$ac_t""yes" 1>&6 | |
| 6290 imagick_libs="$imagick_libs -lttf" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lttf\" to \$imagick_libs"; fi | |
| 6291 else | |
| 6292 echo "$ac_t""no" 1>&6 | |
| 6293 fi | |
| 6294 | |
| 6295 | |
| 6296 | |
| 6297 xe_msg_checking="for png_create_read_struct in -lpng" | |
| 6298 test -n "$z_libs" && xe_msg_checking="$xe_msg_checking using extra libs $z_libs" | |
| 6299 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 6300 echo "configure:6301: checking "$xe_msg_checking"" >&5 | |
| 6301 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | |
| 6302 | |
| 6303 xe_check_libs=" -lpng $z_libs" | |
| 6304 cat > conftest.$ac_ext <<EOF | |
| 6305 #line 6306 "configure" | |
| 6306 #include "confdefs.h" | |
| 6307 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6308 /* We use char because int might match the return type of a gcc2 | |
| 6309 builtin and then its argument prototype would still apply. */ | |
| 6310 char png_create_read_struct(); | |
| 6311 | |
| 6312 int main() { | |
| 6313 png_create_read_struct() | |
| 6314 ; return 0; } | |
| 6315 EOF | |
| 6316 if { (eval echo configure:6317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6317 rm -rf conftest* | |
| 6318 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6319 else | |
| 6320 echo "configure: failed program was:" >&5 | |
| 6321 cat conftest.$ac_ext >&5 | |
| 6322 rm -rf conftest* | |
| 6323 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6324 fi | |
| 6325 rm -f conftest* | |
| 6326 xe_check_libs="" | |
| 6327 | |
| 6328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6329 echo "$ac_t""yes" 1>&6 | |
| 6330 imagick_libs="$imagick_libs -lpng" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lpng\" to \$imagick_libs"; fi | |
| 6331 else | |
| 6332 echo "$ac_t""no" 1>&6 | |
| 6333 fi | |
| 6334 | |
| 6335 | |
| 6336 | |
| 6337 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 | |
| 6338 echo "configure:6339: checking for TIFFOpen in -ltiff" >&5 | |
| 6339 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | |
| 6340 | |
| 6341 xe_check_libs="$z_libs -ltiff " | |
| 6342 cat > conftest.$ac_ext <<EOF | |
| 6343 #line 6344 "configure" | |
| 6344 #include "confdefs.h" | |
| 6345 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6346 /* We use char because int might match the return type of a gcc2 | |
| 6347 builtin and then its argument prototype would still apply. */ | |
| 6348 char TIFFOpen(); | |
| 6349 | |
| 6350 int main() { | |
| 6351 TIFFOpen() | |
| 6352 ; return 0; } | |
| 6353 EOF | |
| 6354 if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6355 rm -rf conftest* | |
| 6356 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6357 else | |
| 6358 echo "configure: failed program was:" >&5 | |
| 6359 cat conftest.$ac_ext >&5 | |
| 6360 rm -rf conftest* | |
| 6361 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6362 fi | |
| 6363 rm -f conftest* | |
| 6364 xe_check_libs="" | |
| 6365 | |
| 6366 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6367 echo "$ac_t""yes" 1>&6 | |
| 6368 imagick_libs="$imagick_libs -ltiff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff\" to \$imagick_libs"; fi | |
| 6369 else | |
| 6370 echo "$ac_t""no" 1>&6 | |
| 6371 xe_msg_checking="for TIFFOpen in -ltiff" | |
| 6372 test -n "-ljpeg $z_libs" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg $z_libs" | |
| 6373 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
| 6374 echo "configure:6375: checking "$xe_msg_checking"" >&5 | |
| 6375 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | |
| 6376 | |
| 6377 xe_check_libs=" -ltiff -ljpeg $z_libs" | |
| 6378 cat > conftest.$ac_ext <<EOF | |
| 6379 #line 6380 "configure" | |
| 6380 #include "confdefs.h" | |
| 6381 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6382 /* We use char because int might match the return type of a gcc2 | |
| 6383 builtin and then its argument prototype would still apply. */ | |
| 6384 char TIFFOpen(); | |
| 6385 | |
| 6386 int main() { | |
| 6387 TIFFOpen() | |
| 6388 ; return 0; } | |
| 6389 EOF | |
| 6390 if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6391 rm -rf conftest* | |
| 6392 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6393 else | |
| 6394 echo "configure: failed program was:" >&5 | |
| 6395 cat conftest.$ac_ext >&5 | |
| 6396 rm -rf conftest* | |
| 6397 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6398 fi | |
| 6399 rm -f conftest* | |
| 6400 xe_check_libs="" | |
| 6401 | |
| 6402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6403 echo "$ac_t""yes" 1>&6 | |
| 6404 imagick_libs="$imagick_libs -ltiff -ljpeg" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff -ljpeg\" to \$imagick_libs"; fi | |
| 6405 else | |
| 6406 echo "$ac_t""no" 1>&6 | |
| 6407 fi | |
| 6408 | |
| 6409 | |
| 6410 fi | |
| 6411 | |
| 6412 | |
| 6413 imagick_libs="$imagick_libs $z_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$z_libs\" to \$imagick_libs"; fi | |
| 6414 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi | |
| 6415 } | |
| 6416 test -z "$with_imagick" && { | |
| 6417 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | |
| 6418 echo "configure:6419: checking for MogrifyImage in -lMagick" >&5 | |
| 6419 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | |
| 6420 | |
| 6421 xe_check_libs=" -lMagick " | |
| 6422 cat > conftest.$ac_ext <<EOF | |
| 6423 #line 6424 "configure" | |
| 6424 #include "confdefs.h" | |
| 6425 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 6426 /* We use char because int might match the return type of a gcc2 | |
| 6427 builtin and then its argument prototype would still apply. */ | |
| 6428 char MogrifyImage(); | |
| 6429 | |
| 6430 int main() { | |
| 6431 MogrifyImage() | |
| 6432 ; return 0; } | |
| 6433 EOF | |
| 6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
| 6435 rm -rf conftest* | |
| 6436 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 6437 else | |
| 6438 echo "configure: failed program was:" >&5 | |
| 6439 cat conftest.$ac_ext >&5 | |
| 6440 rm -rf conftest* | |
| 6441 eval "ac_cv_lib_$ac_lib_var=no" | |
| 6442 fi | |
| 6443 rm -f conftest* | |
| 6444 xe_check_libs="" | |
| 6445 | |
| 6446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
| 6447 echo "$ac_t""yes" 1>&6 | |
| 6448 : | |
| 6449 else | |
| 6450 echo "$ac_t""no" 1>&6 | |
| 6451 with_imagick=no | |
| 6452 fi | |
| 6453 | |
| 6454 } | |
| 6455 test -z "$with_imagick" && with_imagick=yes | |
| 6456 if test "$with_imagick" = "yes"; then | |
| 6457 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6458 Defining HAVE_IMAGEMAGICK | |
| 6459 EOF | |
| 6460 cat >> confdefs.h <<\EOF | |
| 6461 #define HAVE_IMAGEMAGICK 1 | |
| 6462 EOF | |
| 6463 } | |
| 6464 | |
| 6465 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | |
| 6466 fi | |
| 6467 | |
| 6468 | 6182 |
| 6469 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6183 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 6470 echo "configure:6471: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6184 echo "configure:6185: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 6471 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6185 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 6472 | 6186 |
| 6473 xe_check_libs=" -lXaw " | 6187 xe_check_libs=" -lXaw " |
| 6474 cat > conftest.$ac_ext <<EOF | 6188 cat > conftest.$ac_ext <<EOF |
| 6475 #line 6476 "configure" | 6189 #line 6190 "configure" |
| 6476 #include "confdefs.h" | 6190 #include "confdefs.h" |
| 6477 /* Override any gcc2 internal prototype to avoid an error. */ | 6191 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6478 /* We use char because int might match the return type of a gcc2 | 6192 /* We use char because int might match the return type of a gcc2 |
| 6479 builtin and then its argument prototype would still apply. */ | 6193 builtin and then its argument prototype would still apply. */ |
| 6480 char XawScrollbarSetThumb(); | 6194 char XawScrollbarSetThumb(); |
| 6481 | 6195 |
| 6482 int main() { | 6196 int main() { |
| 6483 XawScrollbarSetThumb() | 6197 XawScrollbarSetThumb() |
| 6484 ; return 0; } | 6198 ; return 0; } |
| 6485 EOF | 6199 EOF |
| 6486 if { (eval echo configure:6487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6487 rm -rf conftest* | 6201 rm -rf conftest* |
| 6488 eval "ac_cv_lib_$ac_lib_var=yes" | 6202 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6489 else | 6203 else |
| 6490 echo "configure: failed program was:" >&5 | 6204 echo "configure: failed program was:" >&5 |
| 6491 cat conftest.$ac_ext >&5 | 6205 cat conftest.$ac_ext >&5 |
| 6505 | 6219 |
| 6506 | 6220 |
| 6507 | 6221 |
| 6508 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6222 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 6509 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6223 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 6510 echo "configure:6511: checking for Xm/Xm.h" >&5 | 6224 echo "configure:6225: checking for Xm/Xm.h" >&5 |
| 6511 | 6225 |
| 6512 cat > conftest.$ac_ext <<EOF | 6226 cat > conftest.$ac_ext <<EOF |
| 6513 #line 6514 "configure" | 6227 #line 6228 "configure" |
| 6514 #include "confdefs.h" | 6228 #include "confdefs.h" |
| 6515 #include <Xm/Xm.h> | 6229 #include <Xm/Xm.h> |
| 6516 EOF | 6230 EOF |
| 6517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6518 { (eval echo configure:6519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6232 { (eval echo configure:6233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6519 ac_err=`grep -v '^ *+' conftest.out` | 6233 ac_err=`grep -v '^ *+' conftest.out` |
| 6520 if test -z "$ac_err"; then | 6234 if test -z "$ac_err"; then |
| 6521 rm -rf conftest* | 6235 rm -rf conftest* |
| 6522 eval "ac_cv_header_$ac_safe=yes" | 6236 eval "ac_cv_header_$ac_safe=yes" |
| 6523 else | 6237 else |
| 6530 rm -f conftest* | 6244 rm -f conftest* |
| 6531 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 6532 echo "$ac_t""yes" 1>&6 | 6246 echo "$ac_t""yes" 1>&6 |
| 6533 | 6247 |
| 6534 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6248 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 6535 echo "configure:6536: checking for XmStringFree in -lXm" >&5 | 6249 echo "configure:6250: checking for XmStringFree in -lXm" >&5 |
| 6536 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6250 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 6537 | 6251 |
| 6538 xe_check_libs=" -lXm " | 6252 xe_check_libs=" -lXm " |
| 6539 cat > conftest.$ac_ext <<EOF | 6253 cat > conftest.$ac_ext <<EOF |
| 6540 #line 6541 "configure" | 6254 #line 6255 "configure" |
| 6541 #include "confdefs.h" | 6255 #include "confdefs.h" |
| 6542 /* Override any gcc2 internal prototype to avoid an error. */ | 6256 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6543 /* We use char because int might match the return type of a gcc2 | 6257 /* We use char because int might match the return type of a gcc2 |
| 6544 builtin and then its argument prototype would still apply. */ | 6258 builtin and then its argument prototype would still apply. */ |
| 6545 char XmStringFree(); | 6259 char XmStringFree(); |
| 6546 | 6260 |
| 6547 int main() { | 6261 int main() { |
| 6548 XmStringFree() | 6262 XmStringFree() |
| 6549 ; return 0; } | 6263 ; return 0; } |
| 6550 EOF | 6264 EOF |
| 6551 if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6265 if { (eval echo configure:6266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6552 rm -rf conftest* | 6266 rm -rf conftest* |
| 6553 eval "ac_cv_lib_$ac_lib_var=yes" | 6267 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6554 else | 6268 else |
| 6555 echo "configure: failed program was:" >&5 | 6269 echo "configure: failed program was:" >&5 |
| 6556 cat conftest.$ac_ext >&5 | 6270 cat conftest.$ac_ext >&5 |
| 6798 exit 1 | 6512 exit 1 |
| 6799 fi | 6513 fi |
| 6800 fi | 6514 fi |
| 6801 | 6515 |
| 6802 | 6516 |
| 6803 test -z "$with_mule" && with_mule=no | 6517 test -z "$with_mule" && with_mule=no |
| 6804 | 6518 test -z "$with_mule_coding" && with_mule_coding=no |
| 6519 | |
| 6520 | |
| 6521 if test "$with_mule_coding" = "yes" && test "$with_mule" = "no"; then | |
| 6522 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6523 Defining MULE_CODING | |
| 6524 EOF | |
| 6525 cat >> confdefs.h <<\EOF | |
| 6526 #define MULE_CODING 1 | |
| 6527 EOF | |
| 6528 } | |
| 6529 | |
| 6530 extra_objs="$extra_objs mule-coding.o" && if test "$extra_verbose" = "yes"; then | |
| 6531 echo " xemacs will be linked with \"mule-coding.o\"" | |
| 6532 fi | |
| 6533 fi | |
| 6805 | 6534 |
| 6806 if test "$with_mule" = "yes" ; then | 6535 if test "$with_mule" = "yes" ; then |
| 6807 echo "checking for Mule-related features" 1>&6 | 6536 echo "checking for Mule-related features" 1>&6 |
| 6808 echo "configure:6809: checking for Mule-related features" >&5 | 6537 echo "configure:6538: checking for Mule-related features" >&5 |
| 6809 { test "$extra_verbose" = "yes" && cat << \EOF | 6538 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6810 Defining MULE | 6539 Defining MULE |
| 6811 EOF | 6540 EOF |
| 6812 cat >> confdefs.h <<\EOF | 6541 cat >> confdefs.h <<\EOF |
| 6813 #define MULE 1 | 6542 #define MULE 1 |
| 6543 EOF | |
| 6544 } | |
| 6545 | |
| 6546 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 6547 Defining MULE_CODING | |
| 6548 EOF | |
| 6549 cat >> confdefs.h <<\EOF | |
| 6550 #define MULE_CODING 1 | |
| 6814 EOF | 6551 EOF |
| 6815 } | 6552 } |
| 6816 | 6553 |
| 6817 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o mule-coding.o" && if test "$extra_verbose" = "yes"; then | 6554 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o mule-coding.o" && if test "$extra_verbose" = "yes"; then |
| 6818 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o mule-coding.o\"" | 6555 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o mule-coding.o\"" |
| 6820 | 6557 |
| 6821 for ac_hdr in libintl.h | 6558 for ac_hdr in libintl.h |
| 6822 do | 6559 do |
| 6823 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6560 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6561 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6825 echo "configure:6826: checking for $ac_hdr" >&5 | 6562 echo "configure:6563: checking for $ac_hdr" >&5 |
| 6826 | 6563 |
| 6827 cat > conftest.$ac_ext <<EOF | 6564 cat > conftest.$ac_ext <<EOF |
| 6828 #line 6829 "configure" | 6565 #line 6566 "configure" |
| 6829 #include "confdefs.h" | 6566 #include "confdefs.h" |
| 6830 #include <$ac_hdr> | 6567 #include <$ac_hdr> |
| 6831 EOF | 6568 EOF |
| 6832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6833 { (eval echo configure:6834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6570 { (eval echo configure:6571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6834 ac_err=`grep -v '^ *+' conftest.out` | 6571 ac_err=`grep -v '^ *+' conftest.out` |
| 6835 if test -z "$ac_err"; then | 6572 if test -z "$ac_err"; then |
| 6836 rm -rf conftest* | 6573 rm -rf conftest* |
| 6837 eval "ac_cv_header_$ac_safe=yes" | 6574 eval "ac_cv_header_$ac_safe=yes" |
| 6838 else | 6575 else |
| 6859 fi | 6596 fi |
| 6860 done | 6597 done |
| 6861 | 6598 |
| 6862 | 6599 |
| 6863 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6600 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6864 echo "configure:6865: checking for strerror in -lintl" >&5 | 6601 echo "configure:6602: checking for strerror in -lintl" >&5 |
| 6865 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6602 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6866 | 6603 |
| 6867 xe_check_libs=" -lintl " | 6604 xe_check_libs=" -lintl " |
| 6868 cat > conftest.$ac_ext <<EOF | 6605 cat > conftest.$ac_ext <<EOF |
| 6869 #line 6870 "configure" | 6606 #line 6607 "configure" |
| 6870 #include "confdefs.h" | 6607 #include "confdefs.h" |
| 6871 /* Override any gcc2 internal prototype to avoid an error. */ | 6608 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6872 /* We use char because int might match the return type of a gcc2 | 6609 /* We use char because int might match the return type of a gcc2 |
| 6873 builtin and then its argument prototype would still apply. */ | 6610 builtin and then its argument prototype would still apply. */ |
| 6874 char strerror(); | 6611 char strerror(); |
| 6875 | 6612 |
| 6876 int main() { | 6613 int main() { |
| 6877 strerror() | 6614 strerror() |
| 6878 ; return 0; } | 6615 ; return 0; } |
| 6879 EOF | 6616 EOF |
| 6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6617 if { (eval echo configure:6618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6881 rm -rf conftest* | 6618 rm -rf conftest* |
| 6882 eval "ac_cv_lib_$ac_lib_var=yes" | 6619 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6883 else | 6620 else |
| 6884 echo "configure: failed program was:" >&5 | 6621 echo "configure: failed program was:" >&5 |
| 6885 cat conftest.$ac_ext >&5 | 6622 cat conftest.$ac_ext >&5 |
| 6908 fi | 6645 fi |
| 6909 | 6646 |
| 6910 | 6647 |
| 6911 | 6648 |
| 6912 echo "checking for Mule input methods" 1>&6 | 6649 echo "checking for Mule input methods" 1>&6 |
| 6913 echo "configure:6914: checking for Mule input methods" >&5 | 6650 echo "configure:6651: checking for Mule input methods" >&5 |
| 6914 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6651 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6915 case "$with_xim" in "" | "yes" ) | 6652 case "$with_xim" in "" | "yes" ) |
| 6916 echo "checking for XIM" 1>&6 | 6653 echo "checking for XIM" 1>&6 |
| 6917 echo "configure:6918: checking for XIM" >&5 | 6654 echo "configure:6655: checking for XIM" >&5 |
| 6918 | 6655 |
| 6919 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6656 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6920 echo "configure:6921: checking for XmImMbLookupString in -lXm" >&5 | 6657 echo "configure:6658: checking for XmImMbLookupString in -lXm" >&5 |
| 6921 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6658 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6922 | 6659 |
| 6923 xe_check_libs=" -lXm " | 6660 xe_check_libs=" -lXm " |
| 6924 cat > conftest.$ac_ext <<EOF | 6661 cat > conftest.$ac_ext <<EOF |
| 6925 #line 6926 "configure" | 6662 #line 6663 "configure" |
| 6926 #include "confdefs.h" | 6663 #include "confdefs.h" |
| 6927 /* Override any gcc2 internal prototype to avoid an error. */ | 6664 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6928 /* We use char because int might match the return type of a gcc2 | 6665 /* We use char because int might match the return type of a gcc2 |
| 6929 builtin and then its argument prototype would still apply. */ | 6666 builtin and then its argument prototype would still apply. */ |
| 6930 char XmImMbLookupString(); | 6667 char XmImMbLookupString(); |
| 6931 | 6668 |
| 6932 int main() { | 6669 int main() { |
| 6933 XmImMbLookupString() | 6670 XmImMbLookupString() |
| 6934 ; return 0; } | 6671 ; return 0; } |
| 6935 EOF | 6672 EOF |
| 6936 if { (eval echo configure:6937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6937 rm -rf conftest* | 6674 rm -rf conftest* |
| 6938 eval "ac_cv_lib_$ac_lib_var=yes" | 6675 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6939 else | 6676 else |
| 6940 echo "configure: failed program was:" >&5 | 6677 echo "configure: failed program was:" >&5 |
| 6941 cat conftest.$ac_ext >&5 | 6678 cat conftest.$ac_ext >&5 |
| 6996 fi | 6733 fi |
| 6997 fi | 6734 fi |
| 6998 | 6735 |
| 6999 if test "$with_xfs" = "yes" ; then | 6736 if test "$with_xfs" = "yes" ; then |
| 7000 echo "checking for XFontSet" 1>&6 | 6737 echo "checking for XFontSet" 1>&6 |
| 7001 echo "configure:7002: checking for XFontSet" >&5 | 6738 echo "configure:6739: checking for XFontSet" >&5 |
| 7002 | 6739 |
| 7003 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6740 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7004 echo "configure:7005: checking for XmbDrawString in -lX11" >&5 | 6741 echo "configure:6742: checking for XmbDrawString in -lX11" >&5 |
| 7005 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6742 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7006 | 6743 |
| 7007 xe_check_libs=" -lX11 " | 6744 xe_check_libs=" -lX11 " |
| 7008 cat > conftest.$ac_ext <<EOF | 6745 cat > conftest.$ac_ext <<EOF |
| 7009 #line 7010 "configure" | 6746 #line 6747 "configure" |
| 7010 #include "confdefs.h" | 6747 #include "confdefs.h" |
| 7011 /* Override any gcc2 internal prototype to avoid an error. */ | 6748 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7012 /* We use char because int might match the return type of a gcc2 | 6749 /* We use char because int might match the return type of a gcc2 |
| 7013 builtin and then its argument prototype would still apply. */ | 6750 builtin and then its argument prototype would still apply. */ |
| 7014 char XmbDrawString(); | 6751 char XmbDrawString(); |
| 7015 | 6752 |
| 7016 int main() { | 6753 int main() { |
| 7017 XmbDrawString() | 6754 XmbDrawString() |
| 7018 ; return 0; } | 6755 ; return 0; } |
| 7019 EOF | 6756 EOF |
| 7020 if { (eval echo configure:7021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6757 if { (eval echo configure:6758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7021 rm -rf conftest* | 6758 rm -rf conftest* |
| 7022 eval "ac_cv_lib_$ac_lib_var=yes" | 6759 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7023 else | 6760 else |
| 7024 echo "configure: failed program was:" >&5 | 6761 echo "configure: failed program was:" >&5 |
| 7025 cat conftest.$ac_ext >&5 | 6762 cat conftest.$ac_ext >&5 |
| 7055 fi | 6792 fi |
| 7056 fi | 6793 fi |
| 7057 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6794 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7058 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6795 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7059 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6796 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7060 echo "configure:7061: checking for wnn/jllib.h" >&5 | 6797 echo "configure:6798: checking for wnn/jllib.h" >&5 |
| 7061 | 6798 |
| 7062 cat > conftest.$ac_ext <<EOF | 6799 cat > conftest.$ac_ext <<EOF |
| 7063 #line 7064 "configure" | 6800 #line 6801 "configure" |
| 7064 #include "confdefs.h" | 6801 #include "confdefs.h" |
| 7065 #include <wnn/jllib.h> | 6802 #include <wnn/jllib.h> |
| 7066 EOF | 6803 EOF |
| 7067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7068 { (eval echo configure:7069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6805 { (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7069 ac_err=`grep -v '^ *+' conftest.out` | 6806 ac_err=`grep -v '^ *+' conftest.out` |
| 7070 if test -z "$ac_err"; then | 6807 if test -z "$ac_err"; then |
| 7071 rm -rf conftest* | 6808 rm -rf conftest* |
| 7072 eval "ac_cv_header_$ac_safe=yes" | 6809 eval "ac_cv_header_$ac_safe=yes" |
| 7073 else | 6810 else |
| 7088 } | 6825 } |
| 7089 if test "$with_wnn" != "no"; then | 6826 if test "$with_wnn" != "no"; then |
| 7090 for ac_func in crypt | 6827 for ac_func in crypt |
| 7091 do | 6828 do |
| 7092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7093 echo "configure:7094: checking for $ac_func" >&5 | 6830 echo "configure:6831: checking for $ac_func" >&5 |
| 7094 | 6831 |
| 7095 cat > conftest.$ac_ext <<EOF | 6832 cat > conftest.$ac_ext <<EOF |
| 7096 #line 7097 "configure" | 6833 #line 6834 "configure" |
| 7097 #include "confdefs.h" | 6834 #include "confdefs.h" |
| 7098 /* System header to define __stub macros and hopefully few prototypes, | 6835 /* System header to define __stub macros and hopefully few prototypes, |
| 7099 which can conflict with char $ac_func(); below. */ | 6836 which can conflict with char $ac_func(); below. */ |
| 7100 #include <assert.h> | 6837 #include <assert.h> |
| 7101 /* Override any gcc2 internal prototype to avoid an error. */ | 6838 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7114 $ac_func(); | 6851 $ac_func(); |
| 7115 #endif | 6852 #endif |
| 7116 | 6853 |
| 7117 ; return 0; } | 6854 ; return 0; } |
| 7118 EOF | 6855 EOF |
| 7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7120 rm -rf conftest* | 6857 rm -rf conftest* |
| 7121 eval "ac_cv_func_$ac_func=yes" | 6858 eval "ac_cv_func_$ac_func=yes" |
| 7122 else | 6859 else |
| 7123 echo "configure: failed program was:" >&5 | 6860 echo "configure: failed program was:" >&5 |
| 7124 cat conftest.$ac_ext >&5 | 6861 cat conftest.$ac_ext >&5 |
| 7143 fi | 6880 fi |
| 7144 done | 6881 done |
| 7145 | 6882 |
| 7146 test "$ac_cv_func_crypt" != "yes" && { | 6883 test "$ac_cv_func_crypt" != "yes" && { |
| 7147 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6884 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7148 echo "configure:7149: checking for crypt in -lcrypt" >&5 | 6885 echo "configure:6886: checking for crypt in -lcrypt" >&5 |
| 7149 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6886 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7150 | 6887 |
| 7151 xe_check_libs=" -lcrypt " | 6888 xe_check_libs=" -lcrypt " |
| 7152 cat > conftest.$ac_ext <<EOF | 6889 cat > conftest.$ac_ext <<EOF |
| 7153 #line 7154 "configure" | 6890 #line 6891 "configure" |
| 7154 #include "confdefs.h" | 6891 #include "confdefs.h" |
| 7155 /* Override any gcc2 internal prototype to avoid an error. */ | 6892 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7156 /* We use char because int might match the return type of a gcc2 | 6893 /* We use char because int might match the return type of a gcc2 |
| 7157 builtin and then its argument prototype would still apply. */ | 6894 builtin and then its argument prototype would still apply. */ |
| 7158 char crypt(); | 6895 char crypt(); |
| 7159 | 6896 |
| 7160 int main() { | 6897 int main() { |
| 7161 crypt() | 6898 crypt() |
| 7162 ; return 0; } | 6899 ; return 0; } |
| 7163 EOF | 6900 EOF |
| 7164 if { (eval echo configure:7165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6901 if { (eval echo configure:6902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7165 rm -rf conftest* | 6902 rm -rf conftest* |
| 7166 eval "ac_cv_lib_$ac_lib_var=yes" | 6903 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7167 else | 6904 else |
| 7168 echo "configure: failed program was:" >&5 | 6905 echo "configure: failed program was:" >&5 |
| 7169 cat conftest.$ac_ext >&5 | 6906 cat conftest.$ac_ext >&5 |
| 7193 | 6930 |
| 7194 } | 6931 } |
| 7195 fi | 6932 fi |
| 7196 test -z "$with_wnn" && { | 6933 test -z "$with_wnn" && { |
| 7197 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7198 echo "configure:7199: checking for jl_dic_list_e in -lwnn" >&5 | 6935 echo "configure:6936: checking for jl_dic_list_e in -lwnn" >&5 |
| 7199 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6936 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7200 | 6937 |
| 7201 xe_check_libs=" -lwnn " | 6938 xe_check_libs=" -lwnn " |
| 7202 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
| 7203 #line 7204 "configure" | 6940 #line 6941 "configure" |
| 7204 #include "confdefs.h" | 6941 #include "confdefs.h" |
| 7205 /* Override any gcc2 internal prototype to avoid an error. */ | 6942 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7206 /* We use char because int might match the return type of a gcc2 | 6943 /* We use char because int might match the return type of a gcc2 |
| 7207 builtin and then its argument prototype would still apply. */ | 6944 builtin and then its argument prototype would still apply. */ |
| 7208 char jl_dic_list_e(); | 6945 char jl_dic_list_e(); |
| 7209 | 6946 |
| 7210 int main() { | 6947 int main() { |
| 7211 jl_dic_list_e() | 6948 jl_dic_list_e() |
| 7212 ; return 0; } | 6949 ; return 0; } |
| 7213 EOF | 6950 EOF |
| 7214 if { (eval echo configure:7215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6951 if { (eval echo configure:6952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7215 rm -rf conftest* | 6952 rm -rf conftest* |
| 7216 eval "ac_cv_lib_$ac_lib_var=yes" | 6953 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7217 else | 6954 else |
| 7218 echo "configure: failed program was:" >&5 | 6955 echo "configure: failed program was:" >&5 |
| 7219 cat conftest.$ac_ext >&5 | 6956 cat conftest.$ac_ext >&5 |
| 7246 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 6983 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7247 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 6984 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7248 fi | 6985 fi |
| 7249 | 6986 |
| 7250 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 6987 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7251 echo "configure:7252: checking for jl_fi_dic_list in -lwnn" >&5 | 6988 echo "configure:6989: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7252 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 6989 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7253 | 6990 |
| 7254 xe_check_libs=" -lwnn " | 6991 xe_check_libs=" -lwnn " |
| 7255 cat > conftest.$ac_ext <<EOF | 6992 cat > conftest.$ac_ext <<EOF |
| 7256 #line 7257 "configure" | 6993 #line 6994 "configure" |
| 7257 #include "confdefs.h" | 6994 #include "confdefs.h" |
| 7258 /* Override any gcc2 internal prototype to avoid an error. */ | 6995 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7259 /* We use char because int might match the return type of a gcc2 | 6996 /* We use char because int might match the return type of a gcc2 |
| 7260 builtin and then its argument prototype would still apply. */ | 6997 builtin and then its argument prototype would still apply. */ |
| 7261 char jl_fi_dic_list(); | 6998 char jl_fi_dic_list(); |
| 7262 | 6999 |
| 7263 int main() { | 7000 int main() { |
| 7264 jl_fi_dic_list() | 7001 jl_fi_dic_list() |
| 7265 ; return 0; } | 7002 ; return 0; } |
| 7266 EOF | 7003 EOF |
| 7267 if { (eval echo configure:7268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7004 if { (eval echo configure:7005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7268 rm -rf conftest* | 7005 rm -rf conftest* |
| 7269 eval "ac_cv_lib_$ac_lib_var=yes" | 7006 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7270 else | 7007 else |
| 7271 echo "configure: failed program was:" >&5 | 7008 echo "configure: failed program was:" >&5 |
| 7272 cat conftest.$ac_ext >&5 | 7009 cat conftest.$ac_ext >&5 |
| 7294 | 7031 |
| 7295 fi | 7032 fi |
| 7296 | 7033 |
| 7297 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7034 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7298 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7035 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7299 echo "configure:7300: checking for canna/RK.h" >&5 | 7036 echo "configure:7037: checking for canna/RK.h" >&5 |
| 7300 | 7037 |
| 7301 cat > conftest.$ac_ext <<EOF | 7038 cat > conftest.$ac_ext <<EOF |
| 7302 #line 7303 "configure" | 7039 #line 7040 "configure" |
| 7303 #include "confdefs.h" | 7040 #include "confdefs.h" |
| 7304 #include <canna/RK.h> | 7041 #include <canna/RK.h> |
| 7305 EOF | 7042 EOF |
| 7306 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7307 { (eval echo configure:7308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7044 { (eval echo configure:7045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7308 ac_err=`grep -v '^ *+' conftest.out` | 7045 ac_err=`grep -v '^ *+' conftest.out` |
| 7309 if test -z "$ac_err"; then | 7046 if test -z "$ac_err"; then |
| 7310 rm -rf conftest* | 7047 rm -rf conftest* |
| 7311 eval "ac_cv_header_$ac_safe=yes" | 7048 eval "ac_cv_header_$ac_safe=yes" |
| 7312 else | 7049 else |
| 7325 with_canna=no | 7062 with_canna=no |
| 7326 fi | 7063 fi |
| 7327 } | 7064 } |
| 7328 test -z "$with_canna" && { | 7065 test -z "$with_canna" && { |
| 7329 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7066 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7330 echo "configure:7331: checking for RkBgnBun in -lRKC" >&5 | 7067 echo "configure:7068: checking for RkBgnBun in -lRKC" >&5 |
| 7331 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7068 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7332 | 7069 |
| 7333 xe_check_libs=" -lRKC " | 7070 xe_check_libs=" -lRKC " |
| 7334 cat > conftest.$ac_ext <<EOF | 7071 cat > conftest.$ac_ext <<EOF |
| 7335 #line 7336 "configure" | 7072 #line 7073 "configure" |
| 7336 #include "confdefs.h" | 7073 #include "confdefs.h" |
| 7337 /* Override any gcc2 internal prototype to avoid an error. */ | 7074 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7338 /* We use char because int might match the return type of a gcc2 | 7075 /* We use char because int might match the return type of a gcc2 |
| 7339 builtin and then its argument prototype would still apply. */ | 7076 builtin and then its argument prototype would still apply. */ |
| 7340 char RkBgnBun(); | 7077 char RkBgnBun(); |
| 7341 | 7078 |
| 7342 int main() { | 7079 int main() { |
| 7343 RkBgnBun() | 7080 RkBgnBun() |
| 7344 ; return 0; } | 7081 ; return 0; } |
| 7345 EOF | 7082 EOF |
| 7346 if { (eval echo configure:7347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7347 rm -rf conftest* | 7084 rm -rf conftest* |
| 7348 eval "ac_cv_lib_$ac_lib_var=yes" | 7085 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7349 else | 7086 else |
| 7350 echo "configure: failed program was:" >&5 | 7087 echo "configure: failed program was:" >&5 |
| 7351 cat conftest.$ac_ext >&5 | 7088 cat conftest.$ac_ext >&5 |
| 7364 fi | 7101 fi |
| 7365 | 7102 |
| 7366 } | 7103 } |
| 7367 test -z "$with_canna" && { | 7104 test -z "$with_canna" && { |
| 7368 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7105 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7369 echo "configure:7370: checking for jrKanjiControl in -lcanna" >&5 | 7106 echo "configure:7107: checking for jrKanjiControl in -lcanna" >&5 |
| 7370 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7107 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7371 | 7108 |
| 7372 xe_check_libs=" -lcanna " | 7109 xe_check_libs=" -lcanna " |
| 7373 cat > conftest.$ac_ext <<EOF | 7110 cat > conftest.$ac_ext <<EOF |
| 7374 #line 7375 "configure" | 7111 #line 7112 "configure" |
| 7375 #include "confdefs.h" | 7112 #include "confdefs.h" |
| 7376 /* Override any gcc2 internal prototype to avoid an error. */ | 7113 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7377 /* We use char because int might match the return type of a gcc2 | 7114 /* We use char because int might match the return type of a gcc2 |
| 7378 builtin and then its argument prototype would still apply. */ | 7115 builtin and then its argument prototype would still apply. */ |
| 7379 char jrKanjiControl(); | 7116 char jrKanjiControl(); |
| 7380 | 7117 |
| 7381 int main() { | 7118 int main() { |
| 7382 jrKanjiControl() | 7119 jrKanjiControl() |
| 7383 ; return 0; } | 7120 ; return 0; } |
| 7384 EOF | 7121 EOF |
| 7385 if { (eval echo configure:7386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7386 rm -rf conftest* | 7123 rm -rf conftest* |
| 7387 eval "ac_cv_lib_$ac_lib_var=yes" | 7124 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7388 else | 7125 else |
| 7389 echo "configure: failed program was:" >&5 | 7126 echo "configure: failed program was:" >&5 |
| 7390 cat conftest.$ac_ext >&5 | 7127 cat conftest.$ac_ext >&5 |
| 7429 | 7166 |
| 7430 if test "$need_motif" = "yes" ; then | 7167 if test "$need_motif" = "yes" ; then |
| 7431 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7168 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7432 | 7169 |
| 7433 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7170 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 7434 echo "configure:7435: checking for layout_object_getvalue in -li18n" >&5 | 7171 echo "configure:7172: checking for layout_object_getvalue in -li18n" >&5 |
| 7435 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7172 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 7436 | 7173 |
| 7437 xe_check_libs=" -li18n " | 7174 xe_check_libs=" -li18n " |
| 7438 cat > conftest.$ac_ext <<EOF | 7175 cat > conftest.$ac_ext <<EOF |
| 7439 #line 7440 "configure" | 7176 #line 7177 "configure" |
| 7440 #include "confdefs.h" | 7177 #include "confdefs.h" |
| 7441 /* Override any gcc2 internal prototype to avoid an error. */ | 7178 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7442 /* We use char because int might match the return type of a gcc2 | 7179 /* We use char because int might match the return type of a gcc2 |
| 7443 builtin and then its argument prototype would still apply. */ | 7180 builtin and then its argument prototype would still apply. */ |
| 7444 char layout_object_getvalue(); | 7181 char layout_object_getvalue(); |
| 7445 | 7182 |
| 7446 int main() { | 7183 int main() { |
| 7447 layout_object_getvalue() | 7184 layout_object_getvalue() |
| 7448 ; return 0; } | 7185 ; return 0; } |
| 7449 EOF | 7186 EOF |
| 7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7187 if { (eval echo configure:7188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7451 rm -rf conftest* | 7188 rm -rf conftest* |
| 7452 eval "ac_cv_lib_$ac_lib_var=yes" | 7189 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7453 else | 7190 else |
| 7454 echo "configure: failed program was:" >&5 | 7191 echo "configure: failed program was:" >&5 |
| 7455 cat conftest.$ac_ext >&5 | 7192 cat conftest.$ac_ext >&5 |
| 7518 fi | 7255 fi |
| 7519 | 7256 |
| 7520 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7257 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 |
| 7521 do | 7258 do |
| 7522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7523 echo "configure:7524: checking for $ac_func" >&5 | 7260 echo "configure:7261: checking for $ac_func" >&5 |
| 7524 | 7261 |
| 7525 cat > conftest.$ac_ext <<EOF | 7262 cat > conftest.$ac_ext <<EOF |
| 7526 #line 7527 "configure" | 7263 #line 7264 "configure" |
| 7527 #include "confdefs.h" | 7264 #include "confdefs.h" |
| 7528 /* System header to define __stub macros and hopefully few prototypes, | 7265 /* System header to define __stub macros and hopefully few prototypes, |
| 7529 which can conflict with char $ac_func(); below. */ | 7266 which can conflict with char $ac_func(); below. */ |
| 7530 #include <assert.h> | 7267 #include <assert.h> |
| 7531 /* Override any gcc2 internal prototype to avoid an error. */ | 7268 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7544 $ac_func(); | 7281 $ac_func(); |
| 7545 #endif | 7282 #endif |
| 7546 | 7283 |
| 7547 ; return 0; } | 7284 ; return 0; } |
| 7548 EOF | 7285 EOF |
| 7549 if { (eval echo configure:7550: \"$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 |
| 7550 rm -rf conftest* | 7287 rm -rf conftest* |
| 7551 eval "ac_cv_func_$ac_func=yes" | 7288 eval "ac_cv_func_$ac_func=yes" |
| 7552 else | 7289 else |
| 7553 echo "configure: failed program was:" >&5 | 7290 echo "configure: failed program was:" >&5 |
| 7554 cat conftest.$ac_ext >&5 | 7291 cat conftest.$ac_ext >&5 |
| 7581 fi ;; | 7318 fi ;; |
| 7582 * ) | 7319 * ) |
| 7583 for ac_func in realpath | 7320 for ac_func in realpath |
| 7584 do | 7321 do |
| 7585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7586 echo "configure:7587: checking for $ac_func" >&5 | 7323 echo "configure:7324: checking for $ac_func" >&5 |
| 7587 | 7324 |
| 7588 cat > conftest.$ac_ext <<EOF | 7325 cat > conftest.$ac_ext <<EOF |
| 7589 #line 7590 "configure" | 7326 #line 7327 "configure" |
| 7590 #include "confdefs.h" | 7327 #include "confdefs.h" |
| 7591 /* System header to define __stub macros and hopefully few prototypes, | 7328 /* System header to define __stub macros and hopefully few prototypes, |
| 7592 which can conflict with char $ac_func(); below. */ | 7329 which can conflict with char $ac_func(); below. */ |
| 7593 #include <assert.h> | 7330 #include <assert.h> |
| 7594 /* Override any gcc2 internal prototype to avoid an error. */ | 7331 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7607 $ac_func(); | 7344 $ac_func(); |
| 7608 #endif | 7345 #endif |
| 7609 | 7346 |
| 7610 ; return 0; } | 7347 ; return 0; } |
| 7611 EOF | 7348 EOF |
| 7612 if { (eval echo configure:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7349 if { (eval echo configure:7350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7613 rm -rf conftest* | 7350 rm -rf conftest* |
| 7614 eval "ac_cv_func_$ac_func=yes" | 7351 eval "ac_cv_func_$ac_func=yes" |
| 7615 else | 7352 else |
| 7616 echo "configure: failed program was:" >&5 | 7353 echo "configure: failed program was:" >&5 |
| 7617 cat conftest.$ac_ext >&5 | 7354 cat conftest.$ac_ext >&5 |
| 7640 echo " xemacs will be linked with \"realpath.o\"" | 7377 echo " xemacs will be linked with \"realpath.o\"" |
| 7641 fi ;; | 7378 fi ;; |
| 7642 esac | 7379 esac |
| 7643 | 7380 |
| 7644 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7381 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7645 echo "configure:7646: checking whether netdb declares h_errno" >&5 | 7382 echo "configure:7383: checking whether netdb declares h_errno" >&5 |
| 7646 cat > conftest.$ac_ext <<EOF | 7383 cat > conftest.$ac_ext <<EOF |
| 7647 #line 7648 "configure" | 7384 #line 7385 "configure" |
| 7648 #include "confdefs.h" | 7385 #include "confdefs.h" |
| 7649 #include <netdb.h> | 7386 #include <netdb.h> |
| 7650 int main() { | 7387 int main() { |
| 7651 return h_errno; | 7388 return h_errno; |
| 7652 ; return 0; } | 7389 ; return 0; } |
| 7653 EOF | 7390 EOF |
| 7654 if { (eval echo configure:7655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7655 rm -rf conftest* | 7392 rm -rf conftest* |
| 7656 echo "$ac_t""yes" 1>&6 | 7393 echo "$ac_t""yes" 1>&6 |
| 7657 { test "$extra_verbose" = "yes" && cat << \EOF | 7394 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7658 Defining HAVE_H_ERRNO | 7395 Defining HAVE_H_ERRNO |
| 7659 EOF | 7396 EOF |
| 7669 echo "$ac_t""no" 1>&6 | 7406 echo "$ac_t""no" 1>&6 |
| 7670 fi | 7407 fi |
| 7671 rm -f conftest* | 7408 rm -f conftest* |
| 7672 | 7409 |
| 7673 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7410 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7674 echo "configure:7675: checking for sigsetjmp" >&5 | 7411 echo "configure:7412: checking for sigsetjmp" >&5 |
| 7675 cat > conftest.$ac_ext <<EOF | 7412 cat > conftest.$ac_ext <<EOF |
| 7676 #line 7677 "configure" | 7413 #line 7414 "configure" |
| 7677 #include "confdefs.h" | 7414 #include "confdefs.h" |
| 7678 #include <setjmp.h> | 7415 #include <setjmp.h> |
| 7679 int main() { | 7416 int main() { |
| 7680 sigjmp_buf bar; sigsetjmp (bar, 0); | 7417 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7681 ; return 0; } | 7418 ; return 0; } |
| 7682 EOF | 7419 EOF |
| 7683 if { (eval echo configure:7684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7420 if { (eval echo configure:7421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7684 rm -rf conftest* | 7421 rm -rf conftest* |
| 7685 echo "$ac_t""yes" 1>&6 | 7422 echo "$ac_t""yes" 1>&6 |
| 7686 { test "$extra_verbose" = "yes" && cat << \EOF | 7423 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7687 Defining HAVE_SIGSETJMP | 7424 Defining HAVE_SIGSETJMP |
| 7688 EOF | 7425 EOF |
| 7698 echo "$ac_t""no" 1>&6 | 7435 echo "$ac_t""no" 1>&6 |
| 7699 fi | 7436 fi |
| 7700 rm -f conftest* | 7437 rm -f conftest* |
| 7701 | 7438 |
| 7702 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7439 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7703 echo "configure:7704: checking whether localtime caches TZ" >&5 | 7440 echo "configure:7441: checking whether localtime caches TZ" >&5 |
| 7704 | 7441 |
| 7705 if test "$ac_cv_func_tzset" = "yes"; then | 7442 if test "$ac_cv_func_tzset" = "yes"; then |
| 7706 cat > conftest.$ac_ext <<EOF | 7443 cat > conftest.$ac_ext <<EOF |
| 7707 #line 7708 "configure" | 7444 #line 7445 "configure" |
| 7708 #include "confdefs.h" | 7445 #include "confdefs.h" |
| 7709 #include <time.h> | 7446 #include <time.h> |
| 7710 #if STDC_HEADERS | 7447 #if STDC_HEADERS |
| 7711 # include <stdlib.h> | 7448 # include <stdlib.h> |
| 7712 #endif | 7449 #endif |
| 7737 if (localtime (&now)->tm_hour != hour_unset) | 7474 if (localtime (&now)->tm_hour != hour_unset) |
| 7738 exit (1); | 7475 exit (1); |
| 7739 exit (0); | 7476 exit (0); |
| 7740 } | 7477 } |
| 7741 EOF | 7478 EOF |
| 7742 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7479 if { (eval echo configure:7480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7743 then | 7480 then |
| 7744 emacs_cv_localtime_cache=no | 7481 emacs_cv_localtime_cache=no |
| 7745 else | 7482 else |
| 7746 echo "configure: failed program was:" >&5 | 7483 echo "configure: failed program was:" >&5 |
| 7747 cat conftest.$ac_ext >&5 | 7484 cat conftest.$ac_ext >&5 |
| 7766 | 7503 |
| 7767 fi | 7504 fi |
| 7768 | 7505 |
| 7769 if test "$HAVE_TIMEVAL" = "yes"; then | 7506 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7770 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7507 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7771 echo "configure:7772: checking whether gettimeofday cannot accept two arguments" >&5 | 7508 echo "configure:7509: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7772 cat > conftest.$ac_ext <<EOF | 7509 cat > conftest.$ac_ext <<EOF |
| 7773 #line 7774 "configure" | 7510 #line 7511 "configure" |
| 7774 #include "confdefs.h" | 7511 #include "confdefs.h" |
| 7775 | 7512 |
| 7776 #ifdef TIME_WITH_SYS_TIME | 7513 #ifdef TIME_WITH_SYS_TIME |
| 7777 #include <sys/time.h> | 7514 #include <sys/time.h> |
| 7778 #include <time.h> | 7515 #include <time.h> |
| 7790 struct timezone dummy; | 7527 struct timezone dummy; |
| 7791 gettimeofday (&time, &dummy); | 7528 gettimeofday (&time, &dummy); |
| 7792 | 7529 |
| 7793 ; return 0; } | 7530 ; return 0; } |
| 7794 EOF | 7531 EOF |
| 7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7532 if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7796 rm -rf conftest* | 7533 rm -rf conftest* |
| 7797 echo "$ac_t""no" 1>&6 | 7534 echo "$ac_t""no" 1>&6 |
| 7798 else | 7535 else |
| 7799 echo "configure: failed program was:" >&5 | 7536 echo "configure: failed program was:" >&5 |
| 7800 cat conftest.$ac_ext >&5 | 7537 cat conftest.$ac_ext >&5 |
| 7812 rm -f conftest* | 7549 rm -f conftest* |
| 7813 fi | 7550 fi |
| 7814 | 7551 |
| 7815 | 7552 |
| 7816 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7553 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7817 echo "configure:7818: checking for inline" >&5 | 7554 echo "configure:7555: checking for inline" >&5 |
| 7818 | 7555 |
| 7819 ac_cv_c_inline=no | 7556 ac_cv_c_inline=no |
| 7820 for ac_kw in inline __inline__ __inline; do | 7557 for ac_kw in inline __inline__ __inline; do |
| 7821 cat > conftest.$ac_ext <<EOF | 7558 cat > conftest.$ac_ext <<EOF |
| 7822 #line 7823 "configure" | 7559 #line 7560 "configure" |
| 7823 #include "confdefs.h" | 7560 #include "confdefs.h" |
| 7824 | 7561 |
| 7825 int main() { | 7562 int main() { |
| 7826 } $ac_kw foo() { | 7563 } $ac_kw foo() { |
| 7827 ; return 0; } | 7564 ; return 0; } |
| 7828 EOF | 7565 EOF |
| 7829 if { (eval echo configure:7830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7566 if { (eval echo configure:7567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7830 rm -rf conftest* | 7567 rm -rf conftest* |
| 7831 ac_cv_c_inline=$ac_kw; break | 7568 ac_cv_c_inline=$ac_kw; break |
| 7832 else | 7569 else |
| 7833 echo "configure: failed program was:" >&5 | 7570 echo "configure: failed program was:" >&5 |
| 7834 cat conftest.$ac_ext >&5 | 7571 cat conftest.$ac_ext >&5 |
| 7874 | 7611 |
| 7875 | 7612 |
| 7876 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7613 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7877 # for constant arguments. Useless! | 7614 # for constant arguments. Useless! |
| 7878 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7615 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7879 echo "configure:7880: checking for working alloca.h" >&5 | 7616 echo "configure:7617: checking for working alloca.h" >&5 |
| 7880 | 7617 |
| 7881 cat > conftest.$ac_ext <<EOF | 7618 cat > conftest.$ac_ext <<EOF |
| 7882 #line 7883 "configure" | 7619 #line 7620 "configure" |
| 7883 #include "confdefs.h" | 7620 #include "confdefs.h" |
| 7884 #include <alloca.h> | 7621 #include <alloca.h> |
| 7885 int main() { | 7622 int main() { |
| 7886 char *p = alloca(2 * sizeof(int)); | 7623 char *p = alloca(2 * sizeof(int)); |
| 7887 ; return 0; } | 7624 ; return 0; } |
| 7888 EOF | 7625 EOF |
| 7889 if { (eval echo configure:7890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7890 rm -rf conftest* | 7627 rm -rf conftest* |
| 7891 ac_cv_header_alloca_h=yes | 7628 ac_cv_header_alloca_h=yes |
| 7892 else | 7629 else |
| 7893 echo "configure: failed program was:" >&5 | 7630 echo "configure: failed program was:" >&5 |
| 7894 cat conftest.$ac_ext >&5 | 7631 cat conftest.$ac_ext >&5 |
| 7908 } | 7645 } |
| 7909 | 7646 |
| 7910 fi | 7647 fi |
| 7911 | 7648 |
| 7912 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7649 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7913 echo "configure:7914: checking for alloca" >&5 | 7650 echo "configure:7651: checking for alloca" >&5 |
| 7914 | 7651 |
| 7915 cat > conftest.$ac_ext <<EOF | 7652 cat > conftest.$ac_ext <<EOF |
| 7916 #line 7917 "configure" | 7653 #line 7654 "configure" |
| 7917 #include "confdefs.h" | 7654 #include "confdefs.h" |
| 7918 | 7655 |
| 7919 #ifdef __GNUC__ | 7656 #ifdef __GNUC__ |
| 7920 # define alloca __builtin_alloca | 7657 # define alloca __builtin_alloca |
| 7921 #else | 7658 #else |
| 7934 | 7671 |
| 7935 int main() { | 7672 int main() { |
| 7936 char *p = (char *) alloca(1); | 7673 char *p = (char *) alloca(1); |
| 7937 ; return 0; } | 7674 ; return 0; } |
| 7938 EOF | 7675 EOF |
| 7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7940 rm -rf conftest* | 7677 rm -rf conftest* |
| 7941 ac_cv_func_alloca_works=yes | 7678 ac_cv_func_alloca_works=yes |
| 7942 else | 7679 else |
| 7943 echo "configure: failed program was:" >&5 | 7680 echo "configure: failed program was:" >&5 |
| 7944 cat conftest.$ac_ext >&5 | 7681 cat conftest.$ac_ext >&5 |
| 7973 EOF | 7710 EOF |
| 7974 } | 7711 } |
| 7975 | 7712 |
| 7976 | 7713 |
| 7977 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7714 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7978 echo "configure:7979: checking whether alloca needs Cray hooks" >&5 | 7715 echo "configure:7716: checking whether alloca needs Cray hooks" >&5 |
| 7979 | 7716 |
| 7980 cat > conftest.$ac_ext <<EOF | 7717 cat > conftest.$ac_ext <<EOF |
| 7981 #line 7982 "configure" | 7718 #line 7719 "configure" |
| 7982 #include "confdefs.h" | 7719 #include "confdefs.h" |
| 7983 #if defined(CRAY) && ! defined(CRAY2) | 7720 #if defined(CRAY) && ! defined(CRAY2) |
| 7984 webecray | 7721 webecray |
| 7985 #else | 7722 #else |
| 7986 wenotbecray | 7723 wenotbecray |
| 8000 | 7737 |
| 8001 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7738 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 8002 if test $ac_cv_os_cray = yes; then | 7739 if test $ac_cv_os_cray = yes; then |
| 8003 for ac_func in _getb67 GETB67 getb67; do | 7740 for ac_func in _getb67 GETB67 getb67; do |
| 8004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8005 echo "configure:8006: checking for $ac_func" >&5 | 7742 echo "configure:7743: checking for $ac_func" >&5 |
| 8006 | 7743 |
| 8007 cat > conftest.$ac_ext <<EOF | 7744 cat > conftest.$ac_ext <<EOF |
| 8008 #line 8009 "configure" | 7745 #line 7746 "configure" |
| 8009 #include "confdefs.h" | 7746 #include "confdefs.h" |
| 8010 /* System header to define __stub macros and hopefully few prototypes, | 7747 /* System header to define __stub macros and hopefully few prototypes, |
| 8011 which can conflict with char $ac_func(); below. */ | 7748 which can conflict with char $ac_func(); below. */ |
| 8012 #include <assert.h> | 7749 #include <assert.h> |
| 8013 /* Override any gcc2 internal prototype to avoid an error. */ | 7750 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8026 $ac_func(); | 7763 $ac_func(); |
| 8027 #endif | 7764 #endif |
| 8028 | 7765 |
| 8029 ; return 0; } | 7766 ; return 0; } |
| 8030 EOF | 7767 EOF |
| 8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7768 if { (eval echo configure:7769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8032 rm -rf conftest* | 7769 rm -rf conftest* |
| 8033 eval "ac_cv_func_$ac_func=yes" | 7770 eval "ac_cv_func_$ac_func=yes" |
| 8034 else | 7771 else |
| 8035 echo "configure: failed program was:" >&5 | 7772 echo "configure: failed program was:" >&5 |
| 8036 cat conftest.$ac_ext >&5 | 7773 cat conftest.$ac_ext >&5 |
| 8056 | 7793 |
| 8057 done | 7794 done |
| 8058 fi | 7795 fi |
| 8059 | 7796 |
| 8060 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7797 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 8061 echo "configure:8062: checking stack direction for C alloca" >&5 | 7798 echo "configure:7799: checking stack direction for C alloca" >&5 |
| 8062 | 7799 |
| 8063 cat > conftest.$ac_ext <<EOF | 7800 cat > conftest.$ac_ext <<EOF |
| 8064 #line 8065 "configure" | 7801 #line 7802 "configure" |
| 8065 #include "confdefs.h" | 7802 #include "confdefs.h" |
| 8066 find_stack_direction () | 7803 find_stack_direction () |
| 8067 { | 7804 { |
| 8068 static char *addr = 0; | 7805 static char *addr = 0; |
| 8069 auto char dummy; | 7806 auto char dummy; |
| 8078 main () | 7815 main () |
| 8079 { | 7816 { |
| 8080 exit (find_stack_direction() < 0); | 7817 exit (find_stack_direction() < 0); |
| 8081 } | 7818 } |
| 8082 EOF | 7819 EOF |
| 8083 if { (eval echo configure:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8084 then | 7821 then |
| 8085 ac_cv_c_stack_direction=1 | 7822 ac_cv_c_stack_direction=1 |
| 8086 else | 7823 else |
| 8087 echo "configure: failed program was:" >&5 | 7824 echo "configure: failed program was:" >&5 |
| 8088 cat conftest.$ac_ext >&5 | 7825 cat conftest.$ac_ext >&5 |
| 8106 echo " xemacs will be linked with \"$ALLOCA\"" | 7843 echo " xemacs will be linked with \"$ALLOCA\"" |
| 8107 fi | 7844 fi |
| 8108 | 7845 |
| 8109 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7846 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 8110 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7847 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 8111 echo "configure:8112: checking for vfork.h" >&5 | 7848 echo "configure:7849: checking for vfork.h" >&5 |
| 8112 | 7849 |
| 8113 cat > conftest.$ac_ext <<EOF | 7850 cat > conftest.$ac_ext <<EOF |
| 8114 #line 8115 "configure" | 7851 #line 7852 "configure" |
| 8115 #include "confdefs.h" | 7852 #include "confdefs.h" |
| 8116 #include <vfork.h> | 7853 #include <vfork.h> |
| 8117 EOF | 7854 EOF |
| 8118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8119 { (eval echo configure:8120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7856 { (eval echo configure:7857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8120 ac_err=`grep -v '^ *+' conftest.out` | 7857 ac_err=`grep -v '^ *+' conftest.out` |
| 8121 if test -z "$ac_err"; then | 7858 if test -z "$ac_err"; then |
| 8122 rm -rf conftest* | 7859 rm -rf conftest* |
| 8123 eval "ac_cv_header_$ac_safe=yes" | 7860 eval "ac_cv_header_$ac_safe=yes" |
| 8124 else | 7861 else |
| 8142 else | 7879 else |
| 8143 echo "$ac_t""no" 1>&6 | 7880 echo "$ac_t""no" 1>&6 |
| 8144 fi | 7881 fi |
| 8145 | 7882 |
| 8146 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7883 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 8147 echo "configure:8148: checking for working vfork" >&5 | 7884 echo "configure:7885: checking for working vfork" >&5 |
| 8148 | 7885 |
| 8149 cat > conftest.$ac_ext <<EOF | 7886 cat > conftest.$ac_ext <<EOF |
| 8150 #line 8151 "configure" | 7887 #line 7888 "configure" |
| 8151 #include "confdefs.h" | 7888 #include "confdefs.h" |
| 8152 /* Thanks to Paul Eggert for this test. */ | 7889 /* Thanks to Paul Eggert for this test. */ |
| 8153 #include <stdio.h> | 7890 #include <stdio.h> |
| 8154 #include <sys/types.h> | 7891 #include <sys/types.h> |
| 8155 #include <sys/stat.h> | 7892 #include <sys/stat.h> |
| 8240 || fstat(fileno(stdout), &st) != 0 | 7977 || fstat(fileno(stdout), &st) != 0 |
| 8241 ); | 7978 ); |
| 8242 } | 7979 } |
| 8243 } | 7980 } |
| 8244 EOF | 7981 EOF |
| 8245 if { (eval echo configure:8246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7982 if { (eval echo configure:7983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8246 then | 7983 then |
| 8247 ac_cv_func_vfork_works=yes | 7984 ac_cv_func_vfork_works=yes |
| 8248 else | 7985 else |
| 8249 echo "configure: failed program was:" >&5 | 7986 echo "configure: failed program was:" >&5 |
| 8250 cat conftest.$ac_ext >&5 | 7987 cat conftest.$ac_ext >&5 |
| 8265 | 8002 |
| 8266 fi | 8003 fi |
| 8267 | 8004 |
| 8268 | 8005 |
| 8269 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8006 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8270 echo "configure:8271: checking for working strcoll" >&5 | 8007 echo "configure:8008: checking for working strcoll" >&5 |
| 8271 | 8008 |
| 8272 cat > conftest.$ac_ext <<EOF | 8009 cat > conftest.$ac_ext <<EOF |
| 8273 #line 8274 "configure" | 8010 #line 8011 "configure" |
| 8274 #include "confdefs.h" | 8011 #include "confdefs.h" |
| 8275 #include <string.h> | 8012 #include <string.h> |
| 8276 main () | 8013 main () |
| 8277 { | 8014 { |
| 8278 exit (strcoll ("abc", "def") >= 0 || | 8015 exit (strcoll ("abc", "def") >= 0 || |
| 8279 strcoll ("ABC", "DEF") >= 0 || | 8016 strcoll ("ABC", "DEF") >= 0 || |
| 8280 strcoll ("123", "456") >= 0); | 8017 strcoll ("123", "456") >= 0); |
| 8281 } | 8018 } |
| 8282 EOF | 8019 EOF |
| 8283 if { (eval echo configure:8284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8020 if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8284 then | 8021 then |
| 8285 ac_cv_func_strcoll_works=yes | 8022 ac_cv_func_strcoll_works=yes |
| 8286 else | 8023 else |
| 8287 echo "configure: failed program was:" >&5 | 8024 echo "configure: failed program was:" >&5 |
| 8288 cat conftest.$ac_ext >&5 | 8025 cat conftest.$ac_ext >&5 |
| 8305 | 8042 |
| 8306 | 8043 |
| 8307 for ac_func in getpgrp | 8044 for ac_func in getpgrp |
| 8308 do | 8045 do |
| 8309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8310 echo "configure:8311: checking for $ac_func" >&5 | 8047 echo "configure:8048: checking for $ac_func" >&5 |
| 8311 | 8048 |
| 8312 cat > conftest.$ac_ext <<EOF | 8049 cat > conftest.$ac_ext <<EOF |
| 8313 #line 8314 "configure" | 8050 #line 8051 "configure" |
| 8314 #include "confdefs.h" | 8051 #include "confdefs.h" |
| 8315 /* System header to define __stub macros and hopefully few prototypes, | 8052 /* System header to define __stub macros and hopefully few prototypes, |
| 8316 which can conflict with char $ac_func(); below. */ | 8053 which can conflict with char $ac_func(); below. */ |
| 8317 #include <assert.h> | 8054 #include <assert.h> |
| 8318 /* Override any gcc2 internal prototype to avoid an error. */ | 8055 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8331 $ac_func(); | 8068 $ac_func(); |
| 8332 #endif | 8069 #endif |
| 8333 | 8070 |
| 8334 ; return 0; } | 8071 ; return 0; } |
| 8335 EOF | 8072 EOF |
| 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8073 if { (eval echo configure:8074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8337 rm -rf conftest* | 8074 rm -rf conftest* |
| 8338 eval "ac_cv_func_$ac_func=yes" | 8075 eval "ac_cv_func_$ac_func=yes" |
| 8339 else | 8076 else |
| 8340 echo "configure: failed program was:" >&5 | 8077 echo "configure: failed program was:" >&5 |
| 8341 cat conftest.$ac_ext >&5 | 8078 cat conftest.$ac_ext >&5 |
| 8359 echo "$ac_t""no" 1>&6 | 8096 echo "$ac_t""no" 1>&6 |
| 8360 fi | 8097 fi |
| 8361 done | 8098 done |
| 8362 | 8099 |
| 8363 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8100 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8364 echo "configure:8365: checking whether getpgrp takes no argument" >&5 | 8101 echo "configure:8102: checking whether getpgrp takes no argument" >&5 |
| 8365 | 8102 |
| 8366 cat > conftest.$ac_ext <<EOF | 8103 cat > conftest.$ac_ext <<EOF |
| 8367 #line 8368 "configure" | 8104 #line 8105 "configure" |
| 8368 #include "confdefs.h" | 8105 #include "confdefs.h" |
| 8369 | 8106 |
| 8370 /* | 8107 /* |
| 8371 * If this system has a BSD-style getpgrp(), | 8108 * If this system has a BSD-style getpgrp(), |
| 8372 * which takes a pid argument, exit unsuccessfully. | 8109 * which takes a pid argument, exit unsuccessfully. |
| 8417 exit(s>>8); | 8154 exit(s>>8); |
| 8418 } | 8155 } |
| 8419 } | 8156 } |
| 8420 | 8157 |
| 8421 EOF | 8158 EOF |
| 8422 if { (eval echo configure:8423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8159 if { (eval echo configure:8160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8423 then | 8160 then |
| 8424 ac_cv_func_getpgrp_void=yes | 8161 ac_cv_func_getpgrp_void=yes |
| 8425 else | 8162 else |
| 8426 echo "configure: failed program was:" >&5 | 8163 echo "configure: failed program was:" >&5 |
| 8427 cat conftest.$ac_ext >&5 | 8164 cat conftest.$ac_ext >&5 |
| 8443 | 8180 |
| 8444 fi | 8181 fi |
| 8445 | 8182 |
| 8446 | 8183 |
| 8447 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8184 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8448 echo "configure:8449: checking for working mmap" >&5 | 8185 echo "configure:8186: checking for working mmap" >&5 |
| 8449 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8186 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8450 cat > conftest.$ac_ext <<EOF | 8187 cat > conftest.$ac_ext <<EOF |
| 8451 #line 8452 "configure" | 8188 #line 8189 "configure" |
| 8452 #include "confdefs.h" | 8189 #include "confdefs.h" |
| 8453 #include <stdio.h> | 8190 #include <stdio.h> |
| 8454 #include <unistd.h> | 8191 #include <unistd.h> |
| 8455 #include <fcntl.h> | 8192 #include <fcntl.h> |
| 8456 #include <sys/mman.h> | 8193 #include <sys/mman.h> |
| 8479 return 0; | 8216 return 0; |
| 8480 perror ("conftest: mmap failed"); | 8217 perror ("conftest: mmap failed"); |
| 8481 return 1; | 8218 return 1; |
| 8482 } | 8219 } |
| 8483 EOF | 8220 EOF |
| 8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8221 if { (eval echo configure:8222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8485 then | 8222 then |
| 8486 have_mmap=yes | 8223 have_mmap=yes |
| 8487 else | 8224 else |
| 8488 echo "configure: failed program was:" >&5 | 8225 echo "configure: failed program was:" >&5 |
| 8489 cat conftest.$ac_ext >&5 | 8226 cat conftest.$ac_ext >&5 |
| 8513 } | 8250 } |
| 8514 | 8251 |
| 8515 | 8252 |
| 8516 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8253 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8517 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8254 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8518 echo "configure:8519: checking for termios.h" >&5 | 8255 echo "configure:8256: checking for termios.h" >&5 |
| 8519 | 8256 |
| 8520 cat > conftest.$ac_ext <<EOF | 8257 cat > conftest.$ac_ext <<EOF |
| 8521 #line 8522 "configure" | 8258 #line 8259 "configure" |
| 8522 #include "confdefs.h" | 8259 #include "confdefs.h" |
| 8523 #include <termios.h> | 8260 #include <termios.h> |
| 8524 EOF | 8261 EOF |
| 8525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8526 { (eval echo configure:8527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8263 { (eval echo configure:8264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8527 ac_err=`grep -v '^ *+' conftest.out` | 8264 ac_err=`grep -v '^ *+' conftest.out` |
| 8528 if test -z "$ac_err"; then | 8265 if test -z "$ac_err"; then |
| 8529 rm -rf conftest* | 8266 rm -rf conftest* |
| 8530 eval "ac_cv_header_$ac_safe=yes" | 8267 eval "ac_cv_header_$ac_safe=yes" |
| 8531 else | 8268 else |
| 8564 | 8301 |
| 8565 else | 8302 else |
| 8566 echo "$ac_t""no" 1>&6 | 8303 echo "$ac_t""no" 1>&6 |
| 8567 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8304 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8568 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8305 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8569 echo "configure:8570: checking for termio.h" >&5 | 8306 echo "configure:8307: checking for termio.h" >&5 |
| 8570 | 8307 |
| 8571 cat > conftest.$ac_ext <<EOF | 8308 cat > conftest.$ac_ext <<EOF |
| 8572 #line 8573 "configure" | 8309 #line 8310 "configure" |
| 8573 #include "confdefs.h" | 8310 #include "confdefs.h" |
| 8574 #include <termio.h> | 8311 #include <termio.h> |
| 8575 EOF | 8312 EOF |
| 8576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8577 { (eval echo configure:8578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8314 { (eval echo configure:8315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8578 ac_err=`grep -v '^ *+' conftest.out` | 8315 ac_err=`grep -v '^ *+' conftest.out` |
| 8579 if test -z "$ac_err"; then | 8316 if test -z "$ac_err"; then |
| 8580 rm -rf conftest* | 8317 rm -rf conftest* |
| 8581 eval "ac_cv_header_$ac_safe=yes" | 8318 eval "ac_cv_header_$ac_safe=yes" |
| 8582 else | 8319 else |
| 8604 fi | 8341 fi |
| 8605 | 8342 |
| 8606 | 8343 |
| 8607 | 8344 |
| 8608 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8345 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8609 echo "configure:8610: checking for socket" >&5 | 8346 echo "configure:8347: checking for socket" >&5 |
| 8610 | 8347 |
| 8611 cat > conftest.$ac_ext <<EOF | 8348 cat > conftest.$ac_ext <<EOF |
| 8612 #line 8613 "configure" | 8349 #line 8350 "configure" |
| 8613 #include "confdefs.h" | 8350 #include "confdefs.h" |
| 8614 /* System header to define __stub macros and hopefully few prototypes, | 8351 /* System header to define __stub macros and hopefully few prototypes, |
| 8615 which can conflict with char socket(); below. */ | 8352 which can conflict with char socket(); below. */ |
| 8616 #include <assert.h> | 8353 #include <assert.h> |
| 8617 /* Override any gcc2 internal prototype to avoid an error. */ | 8354 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8630 socket(); | 8367 socket(); |
| 8631 #endif | 8368 #endif |
| 8632 | 8369 |
| 8633 ; return 0; } | 8370 ; return 0; } |
| 8634 EOF | 8371 EOF |
| 8635 if { (eval echo configure:8636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8636 rm -rf conftest* | 8373 rm -rf conftest* |
| 8637 eval "ac_cv_func_socket=yes" | 8374 eval "ac_cv_func_socket=yes" |
| 8638 else | 8375 else |
| 8639 echo "configure: failed program was:" >&5 | 8376 echo "configure: failed program was:" >&5 |
| 8640 cat conftest.$ac_ext >&5 | 8377 cat conftest.$ac_ext >&5 |
| 8645 | 8382 |
| 8646 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8383 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8647 echo "$ac_t""yes" 1>&6 | 8384 echo "$ac_t""yes" 1>&6 |
| 8648 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8385 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8649 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8386 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8650 echo "configure:8651: checking for netinet/in.h" >&5 | 8387 echo "configure:8388: checking for netinet/in.h" >&5 |
| 8651 | 8388 |
| 8652 cat > conftest.$ac_ext <<EOF | 8389 cat > conftest.$ac_ext <<EOF |
| 8653 #line 8654 "configure" | 8390 #line 8391 "configure" |
| 8654 #include "confdefs.h" | 8391 #include "confdefs.h" |
| 8655 #include <netinet/in.h> | 8392 #include <netinet/in.h> |
| 8656 EOF | 8393 EOF |
| 8657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8658 { (eval echo configure:8659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8395 { (eval echo configure:8396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8659 ac_err=`grep -v '^ *+' conftest.out` | 8396 ac_err=`grep -v '^ *+' conftest.out` |
| 8660 if test -z "$ac_err"; then | 8397 if test -z "$ac_err"; then |
| 8661 rm -rf conftest* | 8398 rm -rf conftest* |
| 8662 eval "ac_cv_header_$ac_safe=yes" | 8399 eval "ac_cv_header_$ac_safe=yes" |
| 8663 else | 8400 else |
| 8670 rm -f conftest* | 8407 rm -f conftest* |
| 8671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8408 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8672 echo "$ac_t""yes" 1>&6 | 8409 echo "$ac_t""yes" 1>&6 |
| 8673 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8410 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8674 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8411 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8675 echo "configure:8676: checking for arpa/inet.h" >&5 | 8412 echo "configure:8413: checking for arpa/inet.h" >&5 |
| 8676 | 8413 |
| 8677 cat > conftest.$ac_ext <<EOF | 8414 cat > conftest.$ac_ext <<EOF |
| 8678 #line 8679 "configure" | 8415 #line 8416 "configure" |
| 8679 #include "confdefs.h" | 8416 #include "confdefs.h" |
| 8680 #include <arpa/inet.h> | 8417 #include <arpa/inet.h> |
| 8681 EOF | 8418 EOF |
| 8682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8683 { (eval echo configure:8684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8420 { (eval echo configure:8421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8684 ac_err=`grep -v '^ *+' conftest.out` | 8421 ac_err=`grep -v '^ *+' conftest.out` |
| 8685 if test -z "$ac_err"; then | 8422 if test -z "$ac_err"; then |
| 8686 rm -rf conftest* | 8423 rm -rf conftest* |
| 8687 eval "ac_cv_header_$ac_safe=yes" | 8424 eval "ac_cv_header_$ac_safe=yes" |
| 8688 else | 8425 else |
| 8703 #define HAVE_SOCKETS 1 | 8440 #define HAVE_SOCKETS 1 |
| 8704 EOF | 8441 EOF |
| 8705 } | 8442 } |
| 8706 | 8443 |
| 8707 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8444 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8708 echo "configure:8709: checking "for sun_len member in struct sockaddr_un"" >&5 | 8445 echo "configure:8446: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8709 cat > conftest.$ac_ext <<EOF | 8446 cat > conftest.$ac_ext <<EOF |
| 8710 #line 8711 "configure" | 8447 #line 8448 "configure" |
| 8711 #include "confdefs.h" | 8448 #include "confdefs.h" |
| 8712 | 8449 |
| 8713 #include <sys/types.h> | 8450 #include <sys/types.h> |
| 8714 #include <sys/socket.h> | 8451 #include <sys/socket.h> |
| 8715 #include <sys/un.h> | 8452 #include <sys/un.h> |
| 8716 | 8453 |
| 8717 int main() { | 8454 int main() { |
| 8718 static struct sockaddr_un x; x.sun_len = 1; | 8455 static struct sockaddr_un x; x.sun_len = 1; |
| 8719 ; return 0; } | 8456 ; return 0; } |
| 8720 EOF | 8457 EOF |
| 8721 if { (eval echo configure:8722: \"$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 |
| 8722 rm -rf conftest* | 8459 rm -rf conftest* |
| 8723 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8460 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8724 Defining HAVE_SOCKADDR_SUN_LEN | 8461 Defining HAVE_SOCKADDR_SUN_LEN |
| 8725 EOF | 8462 EOF |
| 8726 cat >> confdefs.h <<\EOF | 8463 cat >> confdefs.h <<\EOF |
| 8747 echo "$ac_t""no" 1>&6 | 8484 echo "$ac_t""no" 1>&6 |
| 8748 fi | 8485 fi |
| 8749 | 8486 |
| 8750 | 8487 |
| 8751 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8488 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8752 echo "configure:8753: checking for msgget" >&5 | 8489 echo "configure:8490: checking for msgget" >&5 |
| 8753 | 8490 |
| 8754 cat > conftest.$ac_ext <<EOF | 8491 cat > conftest.$ac_ext <<EOF |
| 8755 #line 8756 "configure" | 8492 #line 8493 "configure" |
| 8756 #include "confdefs.h" | 8493 #include "confdefs.h" |
| 8757 /* System header to define __stub macros and hopefully few prototypes, | 8494 /* System header to define __stub macros and hopefully few prototypes, |
| 8758 which can conflict with char msgget(); below. */ | 8495 which can conflict with char msgget(); below. */ |
| 8759 #include <assert.h> | 8496 #include <assert.h> |
| 8760 /* Override any gcc2 internal prototype to avoid an error. */ | 8497 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8773 msgget(); | 8510 msgget(); |
| 8774 #endif | 8511 #endif |
| 8775 | 8512 |
| 8776 ; return 0; } | 8513 ; return 0; } |
| 8777 EOF | 8514 EOF |
| 8778 if { (eval echo configure:8779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8515 if { (eval echo configure:8516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8779 rm -rf conftest* | 8516 rm -rf conftest* |
| 8780 eval "ac_cv_func_msgget=yes" | 8517 eval "ac_cv_func_msgget=yes" |
| 8781 else | 8518 else |
| 8782 echo "configure: failed program was:" >&5 | 8519 echo "configure: failed program was:" >&5 |
| 8783 cat conftest.$ac_ext >&5 | 8520 cat conftest.$ac_ext >&5 |
| 8788 | 8525 |
| 8789 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8526 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8790 echo "$ac_t""yes" 1>&6 | 8527 echo "$ac_t""yes" 1>&6 |
| 8791 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8528 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8792 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8529 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8793 echo "configure:8794: checking for sys/ipc.h" >&5 | 8530 echo "configure:8531: checking for sys/ipc.h" >&5 |
| 8794 | 8531 |
| 8795 cat > conftest.$ac_ext <<EOF | 8532 cat > conftest.$ac_ext <<EOF |
| 8796 #line 8797 "configure" | 8533 #line 8534 "configure" |
| 8797 #include "confdefs.h" | 8534 #include "confdefs.h" |
| 8798 #include <sys/ipc.h> | 8535 #include <sys/ipc.h> |
| 8799 EOF | 8536 EOF |
| 8800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8801 { (eval echo configure:8802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8538 { (eval echo configure:8539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8802 ac_err=`grep -v '^ *+' conftest.out` | 8539 ac_err=`grep -v '^ *+' conftest.out` |
| 8803 if test -z "$ac_err"; then | 8540 if test -z "$ac_err"; then |
| 8804 rm -rf conftest* | 8541 rm -rf conftest* |
| 8805 eval "ac_cv_header_$ac_safe=yes" | 8542 eval "ac_cv_header_$ac_safe=yes" |
| 8806 else | 8543 else |
| 8813 rm -f conftest* | 8550 rm -f conftest* |
| 8814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8815 echo "$ac_t""yes" 1>&6 | 8552 echo "$ac_t""yes" 1>&6 |
| 8816 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8553 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8817 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8554 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8818 echo "configure:8819: checking for sys/msg.h" >&5 | 8555 echo "configure:8556: checking for sys/msg.h" >&5 |
| 8819 | 8556 |
| 8820 cat > conftest.$ac_ext <<EOF | 8557 cat > conftest.$ac_ext <<EOF |
| 8821 #line 8822 "configure" | 8558 #line 8559 "configure" |
| 8822 #include "confdefs.h" | 8559 #include "confdefs.h" |
| 8823 #include <sys/msg.h> | 8560 #include <sys/msg.h> |
| 8824 EOF | 8561 EOF |
| 8825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8826 { (eval echo configure:8827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8563 { (eval echo configure:8564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8827 ac_err=`grep -v '^ *+' conftest.out` | 8564 ac_err=`grep -v '^ *+' conftest.out` |
| 8828 if test -z "$ac_err"; then | 8565 if test -z "$ac_err"; then |
| 8829 rm -rf conftest* | 8566 rm -rf conftest* |
| 8830 eval "ac_cv_header_$ac_safe=yes" | 8567 eval "ac_cv_header_$ac_safe=yes" |
| 8831 else | 8568 else |
| 8859 fi | 8596 fi |
| 8860 | 8597 |
| 8861 | 8598 |
| 8862 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8599 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8863 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8600 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8864 echo "configure:8865: checking for dirent.h" >&5 | 8601 echo "configure:8602: checking for dirent.h" >&5 |
| 8865 | 8602 |
| 8866 cat > conftest.$ac_ext <<EOF | 8603 cat > conftest.$ac_ext <<EOF |
| 8867 #line 8868 "configure" | 8604 #line 8605 "configure" |
| 8868 #include "confdefs.h" | 8605 #include "confdefs.h" |
| 8869 #include <dirent.h> | 8606 #include <dirent.h> |
| 8870 EOF | 8607 EOF |
| 8871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8872 { (eval echo configure:8873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8609 { (eval echo configure:8610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8873 ac_err=`grep -v '^ *+' conftest.out` | 8610 ac_err=`grep -v '^ *+' conftest.out` |
| 8874 if test -z "$ac_err"; then | 8611 if test -z "$ac_err"; then |
| 8875 rm -rf conftest* | 8612 rm -rf conftest* |
| 8876 eval "ac_cv_header_$ac_safe=yes" | 8613 eval "ac_cv_header_$ac_safe=yes" |
| 8877 else | 8614 else |
| 8894 | 8631 |
| 8895 else | 8632 else |
| 8896 echo "$ac_t""no" 1>&6 | 8633 echo "$ac_t""no" 1>&6 |
| 8897 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8634 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8898 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8635 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8899 echo "configure:8900: checking for sys/dir.h" >&5 | 8636 echo "configure:8637: checking for sys/dir.h" >&5 |
| 8900 | 8637 |
| 8901 cat > conftest.$ac_ext <<EOF | 8638 cat > conftest.$ac_ext <<EOF |
| 8902 #line 8903 "configure" | 8639 #line 8640 "configure" |
| 8903 #include "confdefs.h" | 8640 #include "confdefs.h" |
| 8904 #include <sys/dir.h> | 8641 #include <sys/dir.h> |
| 8905 EOF | 8642 EOF |
| 8906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8907 { (eval echo configure:8908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8644 { (eval echo configure:8645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8908 ac_err=`grep -v '^ *+' conftest.out` | 8645 ac_err=`grep -v '^ *+' conftest.out` |
| 8909 if test -z "$ac_err"; then | 8646 if test -z "$ac_err"; then |
| 8910 rm -rf conftest* | 8647 rm -rf conftest* |
| 8911 eval "ac_cv_header_$ac_safe=yes" | 8648 eval "ac_cv_header_$ac_safe=yes" |
| 8912 else | 8649 else |
| 8935 fi | 8672 fi |
| 8936 | 8673 |
| 8937 | 8674 |
| 8938 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8675 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8939 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8940 echo "configure:8941: checking for nlist.h" >&5 | 8677 echo "configure:8678: checking for nlist.h" >&5 |
| 8941 | 8678 |
| 8942 cat > conftest.$ac_ext <<EOF | 8679 cat > conftest.$ac_ext <<EOF |
| 8943 #line 8944 "configure" | 8680 #line 8681 "configure" |
| 8944 #include "confdefs.h" | 8681 #include "confdefs.h" |
| 8945 #include <nlist.h> | 8682 #include <nlist.h> |
| 8946 EOF | 8683 EOF |
| 8947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8948 { (eval echo configure:8949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8685 { (eval echo configure:8686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8949 ac_err=`grep -v '^ *+' conftest.out` | 8686 ac_err=`grep -v '^ *+' conftest.out` |
| 8950 if test -z "$ac_err"; then | 8687 if test -z "$ac_err"; then |
| 8951 rm -rf conftest* | 8688 rm -rf conftest* |
| 8952 eval "ac_cv_header_$ac_safe=yes" | 8689 eval "ac_cv_header_$ac_safe=yes" |
| 8953 else | 8690 else |
| 8973 fi | 8710 fi |
| 8974 | 8711 |
| 8975 | 8712 |
| 8976 | 8713 |
| 8977 echo "checking "for sound support"" 1>&6 | 8714 echo "checking "for sound support"" 1>&6 |
| 8978 echo "configure:8979: checking "for sound support"" >&5 | 8715 echo "configure:8716: checking "for sound support"" >&5 |
| 8979 case "$with_sound" in | 8716 case "$with_sound" in |
| 8980 native | both ) with_native_sound=yes;; | 8717 native | both ) with_native_sound=yes;; |
| 8981 nas | no ) with_native_sound=no;; | 8718 nas | no ) with_native_sound=no;; |
| 8982 esac | 8719 esac |
| 8983 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8720 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8984 | 8721 |
| 8985 if test "$with_native_sound" != "no"; then | 8722 if test "$with_native_sound" != "no"; then |
| 8986 if test -n "$native_sound_lib"; then | 8723 if test -n "$native_sound_lib"; then |
| 8987 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8724 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8988 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8725 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8989 echo "configure:8990: checking for multimedia/audio_device.h" >&5 | 8726 echo "configure:8727: checking for multimedia/audio_device.h" >&5 |
| 8990 | 8727 |
| 8991 cat > conftest.$ac_ext <<EOF | 8728 cat > conftest.$ac_ext <<EOF |
| 8992 #line 8993 "configure" | 8729 #line 8730 "configure" |
| 8993 #include "confdefs.h" | 8730 #include "confdefs.h" |
| 8994 #include <multimedia/audio_device.h> | 8731 #include <multimedia/audio_device.h> |
| 8995 EOF | 8732 EOF |
| 8996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8997 { (eval echo configure:8998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8734 { (eval echo configure:8735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8998 ac_err=`grep -v '^ *+' conftest.out` | 8735 ac_err=`grep -v '^ *+' conftest.out` |
| 8999 if test -z "$ac_err"; then | 8736 if test -z "$ac_err"; then |
| 9000 rm -rf conftest* | 8737 rm -rf conftest* |
| 9001 eval "ac_cv_header_$ac_safe=yes" | 8738 eval "ac_cv_header_$ac_safe=yes" |
| 9002 else | 8739 else |
| 9040 case "$canonical" in | 8777 case "$canonical" in |
| 9041 *-sgi-* ) | 8778 *-sgi-* ) |
| 9042 if test -z "$native_sound_lib"; then | 8779 if test -z "$native_sound_lib"; then |
| 9043 | 8780 |
| 9044 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8781 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 9045 echo "configure:9046: checking for ALopenport in -laudio" >&5 | 8782 echo "configure:8783: checking for ALopenport in -laudio" >&5 |
| 9046 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8783 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 9047 | 8784 |
| 9048 xe_check_libs=" -laudio " | 8785 xe_check_libs=" -laudio " |
| 9049 cat > conftest.$ac_ext <<EOF | 8786 cat > conftest.$ac_ext <<EOF |
| 9050 #line 9051 "configure" | 8787 #line 8788 "configure" |
| 9051 #include "confdefs.h" | 8788 #include "confdefs.h" |
| 9052 /* Override any gcc2 internal prototype to avoid an error. */ | 8789 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9053 /* We use char because int might match the return type of a gcc2 | 8790 /* We use char because int might match the return type of a gcc2 |
| 9054 builtin and then its argument prototype would still apply. */ | 8791 builtin and then its argument prototype would still apply. */ |
| 9055 char ALopenport(); | 8792 char ALopenport(); |
| 9056 | 8793 |
| 9057 int main() { | 8794 int main() { |
| 9058 ALopenport() | 8795 ALopenport() |
| 9059 ; return 0; } | 8796 ; return 0; } |
| 9060 EOF | 8797 EOF |
| 9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8798 if { (eval echo configure:8799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9062 rm -rf conftest* | 8799 rm -rf conftest* |
| 9063 eval "ac_cv_lib_$ac_lib_var=yes" | 8800 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9064 else | 8801 else |
| 9065 echo "configure: failed program was:" >&5 | 8802 echo "configure: failed program was:" >&5 |
| 9066 cat conftest.$ac_ext >&5 | 8803 cat conftest.$ac_ext >&5 |
| 9087 fi ;; | 8824 fi ;; |
| 9088 hppa*-hp-hpux* ) | 8825 hppa*-hp-hpux* ) |
| 9089 if test -z "$native_sound_lib"; then | 8826 if test -z "$native_sound_lib"; then |
| 9090 | 8827 |
| 9091 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8828 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 9092 echo "configure:9093: checking for AOpenAudio in -lAlib" >&5 | 8829 echo "configure:8830: checking for AOpenAudio in -lAlib" >&5 |
| 9093 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8830 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 9094 | 8831 |
| 9095 xe_check_libs=" -lAlib " | 8832 xe_check_libs=" -lAlib " |
| 9096 cat > conftest.$ac_ext <<EOF | 8833 cat > conftest.$ac_ext <<EOF |
| 9097 #line 9098 "configure" | 8834 #line 8835 "configure" |
| 9098 #include "confdefs.h" | 8835 #include "confdefs.h" |
| 9099 /* Override any gcc2 internal prototype to avoid an error. */ | 8836 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9100 /* We use char because int might match the return type of a gcc2 | 8837 /* We use char because int might match the return type of a gcc2 |
| 9101 builtin and then its argument prototype would still apply. */ | 8838 builtin and then its argument prototype would still apply. */ |
| 9102 char AOpenAudio(); | 8839 char AOpenAudio(); |
| 9103 | 8840 |
| 9104 int main() { | 8841 int main() { |
| 9105 AOpenAudio() | 8842 AOpenAudio() |
| 9106 ; return 0; } | 8843 ; return 0; } |
| 9107 EOF | 8844 EOF |
| 9108 if { (eval echo configure:9109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8845 if { (eval echo configure:8846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9109 rm -rf conftest* | 8846 rm -rf conftest* |
| 9110 eval "ac_cv_lib_$ac_lib_var=yes" | 8847 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9111 else | 8848 else |
| 9112 echo "configure: failed program was:" >&5 | 8849 echo "configure: failed program was:" >&5 |
| 9113 cat conftest.$ac_ext >&5 | 8850 cat conftest.$ac_ext >&5 |
| 9141 | 8878 |
| 9142 if test -z "$sound_found"; then | 8879 if test -z "$sound_found"; then |
| 9143 for dir in "machine" "sys" "linux"; do | 8880 for dir in "machine" "sys" "linux"; do |
| 9144 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8881 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 9145 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8882 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 9146 echo "configure:9147: checking for ${dir}/soundcard.h" >&5 | 8883 echo "configure:8884: checking for ${dir}/soundcard.h" >&5 |
| 9147 | 8884 |
| 9148 cat > conftest.$ac_ext <<EOF | 8885 cat > conftest.$ac_ext <<EOF |
| 9149 #line 9150 "configure" | 8886 #line 8887 "configure" |
| 9150 #include "confdefs.h" | 8887 #include "confdefs.h" |
| 9151 #include <${dir}/soundcard.h> | 8888 #include <${dir}/soundcard.h> |
| 9152 EOF | 8889 EOF |
| 9153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9154 { (eval echo configure:9155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8891 { (eval echo configure:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9155 ac_err=`grep -v '^ *+' conftest.out` | 8892 ac_err=`grep -v '^ *+' conftest.out` |
| 9156 if test -z "$ac_err"; then | 8893 if test -z "$ac_err"; then |
| 9157 rm -rf conftest* | 8894 rm -rf conftest* |
| 9158 eval "ac_cv_header_$ac_safe=yes" | 8895 eval "ac_cv_header_$ac_safe=yes" |
| 9159 else | 8896 else |
| 9219 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8956 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9220 echo " xemacs will be linked with \"nas.o\"" | 8957 echo " xemacs will be linked with \"nas.o\"" |
| 9221 fi | 8958 fi |
| 9222 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 8959 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9223 cat > conftest.$ac_ext <<EOF | 8960 cat > conftest.$ac_ext <<EOF |
| 9224 #line 9225 "configure" | 8961 #line 8962 "configure" |
| 9225 #include "confdefs.h" | 8962 #include "confdefs.h" |
| 9226 #include <audio/Xtutil.h> | 8963 #include <audio/Xtutil.h> |
| 9227 EOF | 8964 EOF |
| 9228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9229 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 8966 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9246 | 8983 |
| 9247 test -z "$with_tty" && with_tty=yes | 8984 test -z "$with_tty" && with_tty=yes |
| 9248 | 8985 |
| 9249 if test "$with_tty" = "yes" ; then | 8986 if test "$with_tty" = "yes" ; then |
| 9250 echo "checking for TTY-related features" 1>&6 | 8987 echo "checking for TTY-related features" 1>&6 |
| 9251 echo "configure:9252: checking for TTY-related features" >&5 | 8988 echo "configure:8989: checking for TTY-related features" >&5 |
| 9252 { test "$extra_verbose" = "yes" && cat << \EOF | 8989 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9253 Defining HAVE_TTY | 8990 Defining HAVE_TTY |
| 9254 EOF | 8991 EOF |
| 9255 cat >> confdefs.h <<\EOF | 8992 cat >> confdefs.h <<\EOF |
| 9256 #define HAVE_TTY 1 | 8993 #define HAVE_TTY 1 |
| 9262 fi | 8999 fi |
| 9263 | 9000 |
| 9264 if test -z "$with_ncurses"; then | 9001 if test -z "$with_ncurses"; then |
| 9265 | 9002 |
| 9266 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9003 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9267 echo "configure:9268: checking for tgetent in -lncurses" >&5 | 9004 echo "configure:9005: checking for tgetent in -lncurses" >&5 |
| 9268 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9005 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9269 | 9006 |
| 9270 xe_check_libs=" -lncurses " | 9007 xe_check_libs=" -lncurses " |
| 9271 cat > conftest.$ac_ext <<EOF | 9008 cat > conftest.$ac_ext <<EOF |
| 9272 #line 9273 "configure" | 9009 #line 9010 "configure" |
| 9273 #include "confdefs.h" | 9010 #include "confdefs.h" |
| 9274 /* Override any gcc2 internal prototype to avoid an error. */ | 9011 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9275 /* We use char because int might match the return type of a gcc2 | 9012 /* We use char because int might match the return type of a gcc2 |
| 9276 builtin and then its argument prototype would still apply. */ | 9013 builtin and then its argument prototype would still apply. */ |
| 9277 char tgetent(); | 9014 char tgetent(); |
| 9278 | 9015 |
| 9279 int main() { | 9016 int main() { |
| 9280 tgetent() | 9017 tgetent() |
| 9281 ; return 0; } | 9018 ; return 0; } |
| 9282 EOF | 9019 EOF |
| 9283 if { (eval echo configure:9284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9020 if { (eval echo configure:9021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9284 rm -rf conftest* | 9021 rm -rf conftest* |
| 9285 eval "ac_cv_lib_$ac_lib_var=yes" | 9022 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9286 else | 9023 else |
| 9287 echo "configure: failed program was:" >&5 | 9024 echo "configure: failed program was:" >&5 |
| 9288 cat conftest.$ac_ext >&5 | 9025 cat conftest.$ac_ext >&5 |
| 9311 EOF | 9048 EOF |
| 9312 } | 9049 } |
| 9313 | 9050 |
| 9314 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9051 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9315 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9052 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9316 echo "configure:9317: checking for ncurses/curses.h" >&5 | 9053 echo "configure:9054: checking for ncurses/curses.h" >&5 |
| 9317 | 9054 |
| 9318 cat > conftest.$ac_ext <<EOF | 9055 cat > conftest.$ac_ext <<EOF |
| 9319 #line 9320 "configure" | 9056 #line 9057 "configure" |
| 9320 #include "confdefs.h" | 9057 #include "confdefs.h" |
| 9321 #include <ncurses/curses.h> | 9058 #include <ncurses/curses.h> |
| 9322 EOF | 9059 EOF |
| 9323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9324 { (eval echo configure:9325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9061 { (eval echo configure:9062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9325 ac_err=`grep -v '^ *+' conftest.out` | 9062 ac_err=`grep -v '^ *+' conftest.out` |
| 9326 if test -z "$ac_err"; then | 9063 if test -z "$ac_err"; then |
| 9327 rm -rf conftest* | 9064 rm -rf conftest* |
| 9328 eval "ac_cv_header_$ac_safe=yes" | 9065 eval "ac_cv_header_$ac_safe=yes" |
| 9329 else | 9066 else |
| 9341 echo "$ac_t""no" 1>&6 | 9078 echo "$ac_t""no" 1>&6 |
| 9342 fi | 9079 fi |
| 9343 | 9080 |
| 9344 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9081 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9345 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9082 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9346 echo "configure:9347: checking for ncurses/term.h" >&5 | 9083 echo "configure:9084: checking for ncurses/term.h" >&5 |
| 9347 | 9084 |
| 9348 cat > conftest.$ac_ext <<EOF | 9085 cat > conftest.$ac_ext <<EOF |
| 9349 #line 9350 "configure" | 9086 #line 9087 "configure" |
| 9350 #include "confdefs.h" | 9087 #include "confdefs.h" |
| 9351 #include <ncurses/term.h> | 9088 #include <ncurses/term.h> |
| 9352 EOF | 9089 EOF |
| 9353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9354 { (eval echo configure:9355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9091 { (eval echo configure:9092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9355 ac_err=`grep -v '^ *+' conftest.out` | 9092 ac_err=`grep -v '^ *+' conftest.out` |
| 9356 if test -z "$ac_err"; then | 9093 if test -z "$ac_err"; then |
| 9357 rm -rf conftest* | 9094 rm -rf conftest* |
| 9358 eval "ac_cv_header_$ac_safe=yes" | 9095 eval "ac_cv_header_$ac_safe=yes" |
| 9359 else | 9096 else |
| 9379 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9116 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9380 save_c_switch_site="$c_switch_site" | 9117 save_c_switch_site="$c_switch_site" |
| 9381 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9118 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9382 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9119 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9383 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9120 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9384 echo "configure:9385: checking for ncurses/curses.h" >&5 | 9121 echo "configure:9122: checking for ncurses/curses.h" >&5 |
| 9385 | 9122 |
| 9386 cat > conftest.$ac_ext <<EOF | 9123 cat > conftest.$ac_ext <<EOF |
| 9387 #line 9388 "configure" | 9124 #line 9125 "configure" |
| 9388 #include "confdefs.h" | 9125 #include "confdefs.h" |
| 9389 #include <ncurses/curses.h> | 9126 #include <ncurses/curses.h> |
| 9390 EOF | 9127 EOF |
| 9391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9392 { (eval echo configure:9393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9129 { (eval echo configure:9130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9393 ac_err=`grep -v '^ *+' conftest.out` | 9130 ac_err=`grep -v '^ *+' conftest.out` |
| 9394 if test -z "$ac_err"; then | 9131 if test -z "$ac_err"; then |
| 9395 rm -rf conftest* | 9132 rm -rf conftest* |
| 9396 eval "ac_cv_header_$ac_safe=yes" | 9133 eval "ac_cv_header_$ac_safe=yes" |
| 9397 else | 9134 else |
| 9422 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9159 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9423 else | 9160 else |
| 9424 for lib in curses termlib termcap; do | 9161 for lib in curses termlib termcap; do |
| 9425 | 9162 |
| 9426 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9163 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9427 echo "configure:9428: checking for tgetent in -l$lib" >&5 | 9164 echo "configure:9165: checking for tgetent in -l$lib" >&5 |
| 9428 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9165 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9429 | 9166 |
| 9430 xe_check_libs=" -l$lib " | 9167 xe_check_libs=" -l$lib " |
| 9431 cat > conftest.$ac_ext <<EOF | 9168 cat > conftest.$ac_ext <<EOF |
| 9432 #line 9433 "configure" | 9169 #line 9170 "configure" |
| 9433 #include "confdefs.h" | 9170 #include "confdefs.h" |
| 9434 /* Override any gcc2 internal prototype to avoid an error. */ | 9171 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9435 /* We use char because int might match the return type of a gcc2 | 9172 /* We use char because int might match the return type of a gcc2 |
| 9436 builtin and then its argument prototype would still apply. */ | 9173 builtin and then its argument prototype would still apply. */ |
| 9437 char tgetent(); | 9174 char tgetent(); |
| 9438 | 9175 |
| 9439 int main() { | 9176 int main() { |
| 9440 tgetent() | 9177 tgetent() |
| 9441 ; return 0; } | 9178 ; return 0; } |
| 9442 EOF | 9179 EOF |
| 9443 if { (eval echo configure:9444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9444 rm -rf conftest* | 9181 rm -rf conftest* |
| 9445 eval "ac_cv_lib_$ac_lib_var=yes" | 9182 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9446 else | 9183 else |
| 9447 echo "configure: failed program was:" >&5 | 9184 echo "configure: failed program was:" >&5 |
| 9448 cat conftest.$ac_ext >&5 | 9185 cat conftest.$ac_ext >&5 |
| 9469 if test -n "$libs_termcap"; then | 9206 if test -n "$libs_termcap"; then |
| 9470 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9207 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9471 else | 9208 else |
| 9472 | 9209 |
| 9473 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9210 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9474 echo "configure:9475: checking for tgetent in -lcurses" >&5 | 9211 echo "configure:9212: checking for tgetent in -lcurses" >&5 |
| 9475 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9212 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9476 | 9213 |
| 9477 xe_check_libs=" -lcurses " | 9214 xe_check_libs=" -lcurses " |
| 9478 cat > conftest.$ac_ext <<EOF | 9215 cat > conftest.$ac_ext <<EOF |
| 9479 #line 9480 "configure" | 9216 #line 9217 "configure" |
| 9480 #include "confdefs.h" | 9217 #include "confdefs.h" |
| 9481 /* Override any gcc2 internal prototype to avoid an error. */ | 9218 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9482 /* We use char because int might match the return type of a gcc2 | 9219 /* We use char because int might match the return type of a gcc2 |
| 9483 builtin and then its argument prototype would still apply. */ | 9220 builtin and then its argument prototype would still apply. */ |
| 9484 char tgetent(); | 9221 char tgetent(); |
| 9485 | 9222 |
| 9486 int main() { | 9223 int main() { |
| 9487 tgetent() | 9224 tgetent() |
| 9488 ; return 0; } | 9225 ; return 0; } |
| 9489 EOF | 9226 EOF |
| 9490 if { (eval echo configure:9491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9227 if { (eval echo configure:9228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9491 rm -rf conftest* | 9228 rm -rf conftest* |
| 9492 eval "ac_cv_lib_$ac_lib_var=yes" | 9229 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9493 else | 9230 else |
| 9494 echo "configure: failed program was:" >&5 | 9231 echo "configure: failed program was:" >&5 |
| 9495 cat conftest.$ac_ext >&5 | 9232 cat conftest.$ac_ext >&5 |
| 9503 echo "$ac_t""yes" 1>&6 | 9240 echo "$ac_t""yes" 1>&6 |
| 9504 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9241 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9505 else | 9242 else |
| 9506 echo "$ac_t""no" 1>&6 | 9243 echo "$ac_t""no" 1>&6 |
| 9507 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9244 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9508 echo "configure:9509: checking for tgetent in -ltermcap" >&5 | 9245 echo "configure:9246: checking for tgetent in -ltermcap" >&5 |
| 9509 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9246 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9510 | 9247 |
| 9511 xe_check_libs=" -ltermcap " | 9248 xe_check_libs=" -ltermcap " |
| 9512 cat > conftest.$ac_ext <<EOF | 9249 cat > conftest.$ac_ext <<EOF |
| 9513 #line 9514 "configure" | 9250 #line 9251 "configure" |
| 9514 #include "confdefs.h" | 9251 #include "confdefs.h" |
| 9515 /* Override any gcc2 internal prototype to avoid an error. */ | 9252 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9516 /* We use char because int might match the return type of a gcc2 | 9253 /* We use char because int might match the return type of a gcc2 |
| 9517 builtin and then its argument prototype would still apply. */ | 9254 builtin and then its argument prototype would still apply. */ |
| 9518 char tgetent(); | 9255 char tgetent(); |
| 9519 | 9256 |
| 9520 int main() { | 9257 int main() { |
| 9521 tgetent() | 9258 tgetent() |
| 9522 ; return 0; } | 9259 ; return 0; } |
| 9523 EOF | 9260 EOF |
| 9524 if { (eval echo configure:9525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9261 if { (eval echo configure:9262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9525 rm -rf conftest* | 9262 rm -rf conftest* |
| 9526 eval "ac_cv_lib_$ac_lib_var=yes" | 9263 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9527 else | 9264 else |
| 9528 echo "configure: failed program was:" >&5 | 9265 echo "configure: failed program was:" >&5 |
| 9529 cat conftest.$ac_ext >&5 | 9266 cat conftest.$ac_ext >&5 |
| 9567 } | 9304 } |
| 9568 | 9305 |
| 9569 | 9306 |
| 9570 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9307 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9571 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9308 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9572 echo "configure:9573: checking for gpm.h" >&5 | 9309 echo "configure:9310: checking for gpm.h" >&5 |
| 9573 | 9310 |
| 9574 cat > conftest.$ac_ext <<EOF | 9311 cat > conftest.$ac_ext <<EOF |
| 9575 #line 9576 "configure" | 9312 #line 9313 "configure" |
| 9576 #include "confdefs.h" | 9313 #include "confdefs.h" |
| 9577 #include <gpm.h> | 9314 #include <gpm.h> |
| 9578 EOF | 9315 EOF |
| 9579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9580 { (eval echo configure:9581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9317 { (eval echo configure:9318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9581 ac_err=`grep -v '^ *+' conftest.out` | 9318 ac_err=`grep -v '^ *+' conftest.out` |
| 9582 if test -z "$ac_err"; then | 9319 if test -z "$ac_err"; then |
| 9583 rm -rf conftest* | 9320 rm -rf conftest* |
| 9584 eval "ac_cv_header_$ac_safe=yes" | 9321 eval "ac_cv_header_$ac_safe=yes" |
| 9585 else | 9322 else |
| 9598 with_gpm=no | 9335 with_gpm=no |
| 9599 fi | 9336 fi |
| 9600 } | 9337 } |
| 9601 test -z "$with_gpm" && { | 9338 test -z "$with_gpm" && { |
| 9602 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9339 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9603 echo "configure:9604: checking for Gpm_Open in -lgpm" >&5 | 9340 echo "configure:9341: checking for Gpm_Open in -lgpm" >&5 |
| 9604 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9341 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9605 | 9342 |
| 9606 xe_check_libs=" -lgpm " | 9343 xe_check_libs=" -lgpm " |
| 9607 cat > conftest.$ac_ext <<EOF | 9344 cat > conftest.$ac_ext <<EOF |
| 9608 #line 9609 "configure" | 9345 #line 9346 "configure" |
| 9609 #include "confdefs.h" | 9346 #include "confdefs.h" |
| 9610 /* Override any gcc2 internal prototype to avoid an error. */ | 9347 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9611 /* We use char because int might match the return type of a gcc2 | 9348 /* We use char because int might match the return type of a gcc2 |
| 9612 builtin and then its argument prototype would still apply. */ | 9349 builtin and then its argument prototype would still apply. */ |
| 9613 char Gpm_Open(); | 9350 char Gpm_Open(); |
| 9614 | 9351 |
| 9615 int main() { | 9352 int main() { |
| 9616 Gpm_Open() | 9353 Gpm_Open() |
| 9617 ; return 0; } | 9354 ; return 0; } |
| 9618 EOF | 9355 EOF |
| 9619 if { (eval echo configure:9620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9356 if { (eval echo configure:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9620 rm -rf conftest* | 9357 rm -rf conftest* |
| 9621 eval "ac_cv_lib_$ac_lib_var=yes" | 9358 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9622 else | 9359 else |
| 9623 echo "configure: failed program was:" >&5 | 9360 echo "configure: failed program was:" >&5 |
| 9624 cat conftest.$ac_ext >&5 | 9361 cat conftest.$ac_ext >&5 |
| 9663 echo " xemacs will be linked with \"event-unixoid.o\"" | 9400 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9664 fi | 9401 fi |
| 9665 | 9402 |
| 9666 | 9403 |
| 9667 echo "checking for database support" 1>&6 | 9404 echo "checking for database support" 1>&6 |
| 9668 echo "configure:9669: checking for database support" >&5 | 9405 echo "configure:9406: checking for database support" >&5 |
| 9669 | 9406 |
| 9670 if test "$with_database_gnudbm" != "no"; then | 9407 if test "$with_database_gnudbm" != "no"; then |
| 9671 | 9408 |
| 9672 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9409 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9673 echo "configure:9674: checking for dbm_open in -lgdbm" >&5 | 9410 echo "configure:9411: checking for dbm_open in -lgdbm" >&5 |
| 9674 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9411 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9675 | 9412 |
| 9676 xe_check_libs=" -lgdbm " | 9413 xe_check_libs=" -lgdbm " |
| 9677 cat > conftest.$ac_ext <<EOF | 9414 cat > conftest.$ac_ext <<EOF |
| 9678 #line 9679 "configure" | 9415 #line 9416 "configure" |
| 9679 #include "confdefs.h" | 9416 #include "confdefs.h" |
| 9680 /* Override any gcc2 internal prototype to avoid an error. */ | 9417 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9681 /* We use char because int might match the return type of a gcc2 | 9418 /* We use char because int might match the return type of a gcc2 |
| 9682 builtin and then its argument prototype would still apply. */ | 9419 builtin and then its argument prototype would still apply. */ |
| 9683 char dbm_open(); | 9420 char dbm_open(); |
| 9684 | 9421 |
| 9685 int main() { | 9422 int main() { |
| 9686 dbm_open() | 9423 dbm_open() |
| 9687 ; return 0; } | 9424 ; return 0; } |
| 9688 EOF | 9425 EOF |
| 9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9426 if { (eval echo configure:9427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9690 rm -rf conftest* | 9427 rm -rf conftest* |
| 9691 eval "ac_cv_lib_$ac_lib_var=yes" | 9428 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9692 else | 9429 else |
| 9693 echo "configure: failed program was:" >&5 | 9430 echo "configure: failed program was:" >&5 |
| 9694 cat conftest.$ac_ext >&5 | 9431 cat conftest.$ac_ext >&5 |
| 9706 fi | 9443 fi |
| 9707 | 9444 |
| 9708 | 9445 |
| 9709 if test "$with_database_gnudbm" != "yes"; then | 9446 if test "$with_database_gnudbm" != "yes"; then |
| 9710 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9447 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9711 echo "configure:9712: checking for dbm_open" >&5 | 9448 echo "configure:9449: checking for dbm_open" >&5 |
| 9712 | 9449 |
| 9713 cat > conftest.$ac_ext <<EOF | 9450 cat > conftest.$ac_ext <<EOF |
| 9714 #line 9715 "configure" | 9451 #line 9452 "configure" |
| 9715 #include "confdefs.h" | 9452 #include "confdefs.h" |
| 9716 /* System header to define __stub macros and hopefully few prototypes, | 9453 /* System header to define __stub macros and hopefully few prototypes, |
| 9717 which can conflict with char dbm_open(); below. */ | 9454 which can conflict with char dbm_open(); below. */ |
| 9718 #include <assert.h> | 9455 #include <assert.h> |
| 9719 /* Override any gcc2 internal prototype to avoid an error. */ | 9456 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9732 dbm_open(); | 9469 dbm_open(); |
| 9733 #endif | 9470 #endif |
| 9734 | 9471 |
| 9735 ; return 0; } | 9472 ; return 0; } |
| 9736 EOF | 9473 EOF |
| 9737 if { (eval echo configure:9738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9474 if { (eval echo configure:9475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9738 rm -rf conftest* | 9475 rm -rf conftest* |
| 9739 eval "ac_cv_func_dbm_open=yes" | 9476 eval "ac_cv_func_dbm_open=yes" |
| 9740 else | 9477 else |
| 9741 echo "configure: failed program was:" >&5 | 9478 echo "configure: failed program was:" >&5 |
| 9742 cat conftest.$ac_ext >&5 | 9479 cat conftest.$ac_ext >&5 |
| 9768 fi | 9505 fi |
| 9769 fi | 9506 fi |
| 9770 | 9507 |
| 9771 if test "$with_database_dbm" != "no"; then | 9508 if test "$with_database_dbm" != "no"; then |
| 9772 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9509 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9773 echo "configure:9774: checking for dbm_open" >&5 | 9510 echo "configure:9511: checking for dbm_open" >&5 |
| 9774 | 9511 |
| 9775 cat > conftest.$ac_ext <<EOF | 9512 cat > conftest.$ac_ext <<EOF |
| 9776 #line 9777 "configure" | 9513 #line 9514 "configure" |
| 9777 #include "confdefs.h" | 9514 #include "confdefs.h" |
| 9778 /* System header to define __stub macros and hopefully few prototypes, | 9515 /* System header to define __stub macros and hopefully few prototypes, |
| 9779 which can conflict with char dbm_open(); below. */ | 9516 which can conflict with char dbm_open(); below. */ |
| 9780 #include <assert.h> | 9517 #include <assert.h> |
| 9781 /* Override any gcc2 internal prototype to avoid an error. */ | 9518 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9794 dbm_open(); | 9531 dbm_open(); |
| 9795 #endif | 9532 #endif |
| 9796 | 9533 |
| 9797 ; return 0; } | 9534 ; return 0; } |
| 9798 EOF | 9535 EOF |
| 9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9536 if { (eval echo configure:9537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9800 rm -rf conftest* | 9537 rm -rf conftest* |
| 9801 eval "ac_cv_func_dbm_open=yes" | 9538 eval "ac_cv_func_dbm_open=yes" |
| 9802 else | 9539 else |
| 9803 echo "configure: failed program was:" >&5 | 9540 echo "configure: failed program was:" >&5 |
| 9804 cat conftest.$ac_ext >&5 | 9541 cat conftest.$ac_ext >&5 |
| 9815 fi | 9552 fi |
| 9816 | 9553 |
| 9817 if test "$need_libdbm" != "no"; then | 9554 if test "$need_libdbm" != "no"; then |
| 9818 | 9555 |
| 9819 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9556 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9820 echo "configure:9821: checking for dbm_open in -ldbm" >&5 | 9557 echo "configure:9558: checking for dbm_open in -ldbm" >&5 |
| 9821 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9558 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9822 | 9559 |
| 9823 xe_check_libs=" -ldbm " | 9560 xe_check_libs=" -ldbm " |
| 9824 cat > conftest.$ac_ext <<EOF | 9561 cat > conftest.$ac_ext <<EOF |
| 9825 #line 9826 "configure" | 9562 #line 9563 "configure" |
| 9826 #include "confdefs.h" | 9563 #include "confdefs.h" |
| 9827 /* Override any gcc2 internal prototype to avoid an error. */ | 9564 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9828 /* We use char because int might match the return type of a gcc2 | 9565 /* We use char because int might match the return type of a gcc2 |
| 9829 builtin and then its argument prototype would still apply. */ | 9566 builtin and then its argument prototype would still apply. */ |
| 9830 char dbm_open(); | 9567 char dbm_open(); |
| 9831 | 9568 |
| 9832 int main() { | 9569 int main() { |
| 9833 dbm_open() | 9570 dbm_open() |
| 9834 ; return 0; } | 9571 ; return 0; } |
| 9835 EOF | 9572 EOF |
| 9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9573 if { (eval echo configure:9574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9837 rm -rf conftest* | 9574 rm -rf conftest* |
| 9838 eval "ac_cv_lib_$ac_lib_var=yes" | 9575 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9839 else | 9576 else |
| 9840 echo "configure: failed program was:" >&5 | 9577 echo "configure: failed program was:" >&5 |
| 9841 cat conftest.$ac_ext >&5 | 9578 cat conftest.$ac_ext >&5 |
| 9868 fi | 9605 fi |
| 9869 fi | 9606 fi |
| 9870 | 9607 |
| 9871 if test "$with_database_berkdb" != "no"; then | 9608 if test "$with_database_berkdb" != "no"; then |
| 9872 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9609 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9873 echo "configure:9874: checking for dbopen" >&5 | 9610 echo "configure:9611: checking for dbopen" >&5 |
| 9874 | 9611 |
| 9875 cat > conftest.$ac_ext <<EOF | 9612 cat > conftest.$ac_ext <<EOF |
| 9876 #line 9877 "configure" | 9613 #line 9614 "configure" |
| 9877 #include "confdefs.h" | 9614 #include "confdefs.h" |
| 9878 /* System header to define __stub macros and hopefully few prototypes, | 9615 /* System header to define __stub macros and hopefully few prototypes, |
| 9879 which can conflict with char dbopen(); below. */ | 9616 which can conflict with char dbopen(); below. */ |
| 9880 #include <assert.h> | 9617 #include <assert.h> |
| 9881 /* Override any gcc2 internal prototype to avoid an error. */ | 9618 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9894 dbopen(); | 9631 dbopen(); |
| 9895 #endif | 9632 #endif |
| 9896 | 9633 |
| 9897 ; return 0; } | 9634 ; return 0; } |
| 9898 EOF | 9635 EOF |
| 9899 if { (eval echo configure:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9636 if { (eval echo configure:9637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9900 rm -rf conftest* | 9637 rm -rf conftest* |
| 9901 eval "ac_cv_func_dbopen=yes" | 9638 eval "ac_cv_func_dbopen=yes" |
| 9902 else | 9639 else |
| 9903 echo "configure: failed program was:" >&5 | 9640 echo "configure: failed program was:" >&5 |
| 9904 cat conftest.$ac_ext >&5 | 9641 cat conftest.$ac_ext >&5 |
| 9915 fi | 9652 fi |
| 9916 | 9653 |
| 9917 if test "$need_libdb" != "no"; then | 9654 if test "$need_libdb" != "no"; then |
| 9918 | 9655 |
| 9919 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9656 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9920 echo "configure:9921: checking for dbopen in -ldb" >&5 | 9657 echo "configure:9658: checking for dbopen in -ldb" >&5 |
| 9921 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9658 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9922 | 9659 |
| 9923 xe_check_libs=" -ldb " | 9660 xe_check_libs=" -ldb " |
| 9924 cat > conftest.$ac_ext <<EOF | 9661 cat > conftest.$ac_ext <<EOF |
| 9925 #line 9926 "configure" | 9662 #line 9663 "configure" |
| 9926 #include "confdefs.h" | 9663 #include "confdefs.h" |
| 9927 /* Override any gcc2 internal prototype to avoid an error. */ | 9664 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9928 /* We use char because int might match the return type of a gcc2 | 9665 /* We use char because int might match the return type of a gcc2 |
| 9929 builtin and then its argument prototype would still apply. */ | 9666 builtin and then its argument prototype would still apply. */ |
| 9930 char dbopen(); | 9667 char dbopen(); |
| 9931 | 9668 |
| 9932 int main() { | 9669 int main() { |
| 9933 dbopen() | 9670 dbopen() |
| 9934 ; return 0; } | 9671 ; return 0; } |
| 9935 EOF | 9672 EOF |
| 9936 if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9673 if { (eval echo configure:9674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9937 rm -rf conftest* | 9674 rm -rf conftest* |
| 9938 eval "ac_cv_lib_$ac_lib_var=yes" | 9675 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9939 else | 9676 else |
| 9940 echo "configure: failed program was:" >&5 | 9677 echo "configure: failed program was:" >&5 |
| 9941 cat conftest.$ac_ext >&5 | 9678 cat conftest.$ac_ext >&5 |
| 9955 | 9692 |
| 9956 fi | 9693 fi |
| 9957 if test "$with_database_berkdb" = "yes"; then | 9694 if test "$with_database_berkdb" = "yes"; then |
| 9958 for path in "db/db.h" "db.h"; do | 9695 for path in "db/db.h" "db.h"; do |
| 9959 cat > conftest.$ac_ext <<EOF | 9696 cat > conftest.$ac_ext <<EOF |
| 9960 #line 9961 "configure" | 9697 #line 9698 "configure" |
| 9961 #include "confdefs.h" | 9698 #include "confdefs.h" |
| 9962 #ifdef HAVE_INTTYPES_H | 9699 #ifdef HAVE_INTTYPES_H |
| 9963 #define __BIT_TYPES_DEFINED__ | 9700 #define __BIT_TYPES_DEFINED__ |
| 9964 #include <inttypes.h> | 9701 #include <inttypes.h> |
| 9965 typedef uint8_t u_int8_t; | 9702 typedef uint8_t u_int8_t; |
| 9973 | 9710 |
| 9974 int main() { | 9711 int main() { |
| 9975 | 9712 |
| 9976 ; return 0; } | 9713 ; return 0; } |
| 9977 EOF | 9714 EOF |
| 9978 if { (eval echo configure:9979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9715 if { (eval echo configure:9716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9979 rm -rf conftest* | 9716 rm -rf conftest* |
| 9980 db_h_path="$path"; break | 9717 db_h_path="$path"; break |
| 9981 else | 9718 else |
| 9982 echo "configure: failed program was:" >&5 | 9719 echo "configure: failed program was:" >&5 |
| 9983 cat conftest.$ac_ext >&5 | 9720 cat conftest.$ac_ext >&5 |
| 10025 fi | 9762 fi |
| 10026 | 9763 |
| 10027 if test "$with_socks" = "yes"; then | 9764 if test "$with_socks" = "yes"; then |
| 10028 | 9765 |
| 10029 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9766 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 10030 echo "configure:10031: checking for SOCKSinit in -lsocks" >&5 | 9767 echo "configure:9768: checking for SOCKSinit in -lsocks" >&5 |
| 10031 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9768 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 10032 | 9769 |
| 10033 xe_check_libs=" -lsocks " | 9770 xe_check_libs=" -lsocks " |
| 10034 cat > conftest.$ac_ext <<EOF | 9771 cat > conftest.$ac_ext <<EOF |
| 10035 #line 10036 "configure" | 9772 #line 9773 "configure" |
| 10036 #include "confdefs.h" | 9773 #include "confdefs.h" |
| 10037 /* Override any gcc2 internal prototype to avoid an error. */ | 9774 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10038 /* We use char because int might match the return type of a gcc2 | 9775 /* We use char because int might match the return type of a gcc2 |
| 10039 builtin and then its argument prototype would still apply. */ | 9776 builtin and then its argument prototype would still apply. */ |
| 10040 char SOCKSinit(); | 9777 char SOCKSinit(); |
| 10041 | 9778 |
| 10042 int main() { | 9779 int main() { |
| 10043 SOCKSinit() | 9780 SOCKSinit() |
| 10044 ; return 0; } | 9781 ; return 0; } |
| 10045 EOF | 9782 EOF |
| 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9783 if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10047 rm -rf conftest* | 9784 rm -rf conftest* |
| 10048 eval "ac_cv_lib_$ac_lib_var=yes" | 9785 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10049 else | 9786 else |
| 10050 echo "configure: failed program was:" >&5 | 9787 echo "configure: failed program was:" >&5 |
| 10051 cat conftest.$ac_ext >&5 | 9788 cat conftest.$ac_ext >&5 |
| 10551 echo " WARNING: You should strongly considering installing XPM." | 10288 echo " WARNING: You should strongly considering installing XPM." |
| 10552 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 10289 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
| 10553 echo " --------------------------------------------------------------------" | 10290 echo " --------------------------------------------------------------------" |
| 10554 fi | 10291 fi |
| 10555 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | 10292 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." |
| 10556 test "$with_imagick" = yes && echo " Compiling in support for ImageMagick image conversion." | 10293 test "$with_gif" = yes && echo " Compiling in (built in) support for GIF image conversion." |
| 10557 test "$with_imagick" = yes && echo " Using $imagick_libs for graphics libraries." | 10294 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image conversion." |
| 10295 test "$with_png" = yes && echo " Compiling in support for PNG image conversion." | |
| 10296 test "$with_tiff" = yes && echo " Compiling in support for TIFF image conversion (not implemented)." | |
| 10558 case "$with_sound" in | 10297 case "$with_sound" in |
| 10559 nas ) echo " Compiling in network sound (NAS) support." ;; | 10298 nas ) echo " Compiling in network sound (NAS) support." ;; |
| 10560 native ) echo " Compiling in native sound support." ;; | 10299 native ) echo " Compiling in native sound support." ;; |
| 10561 both ) echo " Compiling in both network and native sound support." ;; | 10300 both ) echo " Compiling in both network and native sound support." ;; |
| 10562 esac | 10301 esac |
| 10568 | 10307 |
| 10569 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 10308 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
| 10570 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 10309 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
| 10571 | 10310 |
| 10572 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 10311 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
| 10312 test "$with_mule_coding" = yes && echo " Compiling in Mule coding support." | |
| 10573 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | 10313 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." |
| 10574 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | 10314 test "$with_xim" = motif && echo " Using Motif to provide XIM support." |
| 10575 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." | 10315 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." |
| 10576 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." | 10316 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." |
| 10577 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | 10317 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." |
