Mercurial > hg > xemacs-beta
comparison configure @ 243:f220cc83d72e r20-5b20
Import from CVS: tag r20-5b20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:07 +0200 |
parents | 41f2f0e326e9 |
children | 51092a27c943 |
comparison
equal
deleted
inserted
replaced
242:fc816b73a05f | 243:f220cc83d72e |
---|---|
278 val=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*[^=]*=\(.*\)$:\1:'` | 278 val=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*[^=]*=\(.*\)$:\1:'` |
279 valomitted=no | 279 valomitted=no |
280 ;; | 280 ;; |
281 -*) | 281 -*) |
282 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\(.*\)$:\1:'` | 282 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\(.*\)$:\1:'` |
283 val="yes" | 283 val="yes" valomitted=yes |
284 valomitted=yes | |
285 ;; | 284 ;; |
285 esac | |
286 | |
287 case "${valomitted}-${opt}" in yes-without_* ) | |
288 opt=`echo $opt | sed 's/without/with/'` | |
289 valomitted="no" val="no" ;; | |
286 esac | 290 esac |
287 | 291 |
288 optname="$opt" | 292 optname="$opt" |
289 opt="`echo '' $opt | sed -e 's:^ ::' | tr - _`" | 293 opt="`echo '' $opt | sed -e 's:^ ::' | tr - _`" |
290 | 294 |
561 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 565 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
562 | 566 |
563 esac | 567 esac |
564 ;; | 568 ;; |
565 | 569 |
566 *) configuration="$arg" ;; | 570 *-*-*) configuration="$arg" ;; |
571 | |
572 *) (echo "$progname: Usage error:" | |
573 echo " " "Unrecognized argument: $arg" | |
574 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
567 | 575 |
568 esac | 576 esac |
569 done | 577 done |
570 | 578 |
571 | 579 |
581 | 589 |
582 test -n "$with_x" && with_x11="$with_x" | 590 test -n "$with_x" && with_x11="$with_x" |
583 | 591 |
584 if test "$run_in_place" = "yes"; then | 592 if test "$run_in_place" = "yes"; then |
585 echo "configure: warning: "The --run-in-place option is ignored because it is unnecessary."" 1>&2 | 593 echo "configure: warning: "The --run-in-place option is ignored because it is unnecessary."" 1>&2 |
586 fi | |
587 | |
588 if test "$configuration" = "" ; then | |
589 echo '- You did not tell me what kind of host system you want to configure. | |
590 - I will attempt to guess the kind of system this is.' 1>&2 | |
591 guesssys=`echo $progname | sed 's/configure$/config.guess/'` | |
592 if configuration=`${CONFIG_SHELL-/bin/sh} $guesssys | \ | |
593 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | |
594 echo "- Looks like this is a $configuration" 1>&2 | |
595 else | |
596 (echo "$progname: Usage error:" | |
597 echo " " "Failed to guess the system type. You need to tell me." | |
598 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
599 fi | |
600 fi | 594 fi |
601 | 595 |
602 case "$srcdir" in | 596 case "$srcdir" in |
603 | 597 |
604 "" ) | 598 "" ) |
619 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 613 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
620 fi | 614 fi |
621 ;; | 615 ;; |
622 | 616 |
623 * ) | 617 * ) |
624 if test ! -d "$srcdir" -o \ | 618 if test ! -f "$srcdir/src/lisp.h" -o \ |
625 ! -f "$srcdir/src/lisp.h" -o \ | |
626 ! -f "$srcdir/lisp/version.el" ; then | 619 ! -f "$srcdir/lisp/version.el" ; then |
627 (echo "$progname: Usage error:" | 620 (echo "$progname: Usage error:" |
628 echo " " "The directory specified with the \`--srcdir' option, | 621 echo " " "The directory specified with the \`--srcdir' option, |
629 \`$srcdir', doesn't seem to contain the XEmacs sources. You should | 622 \`$srcdir', doesn't seem to contain the XEmacs sources. You should |
630 either run the \`$progname' script at the top of the XEmacs source | 623 either run the \`$progname' script at the top of the XEmacs source |
632 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 625 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
633 fi | 626 fi |
634 ;; | 627 ;; |
635 esac | 628 esac |
636 | 629 |
630 if test -z "$configuration"; then | |
631 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | |
632 echo "configure:633: checking "host system type"" >&5 | |
633 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | |
634 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | |
635 echo "$ac_t""$configuration" 1>&6 | |
636 else | |
637 echo "$ac_t""unknown" 1>&6 | |
638 (echo "$progname: Usage error:" | |
639 echo " " "XEmacs has not been ported to this host type. | |
640 Try explicitly specifying the CONFIGURATION when rerunning configure." | |
641 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
642 fi | |
643 fi | |
644 | |
637 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 645 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
638 echo "configure:639: checking whether ln -s works" >&5 | 646 echo "configure:647: checking whether ln -s works" >&5 |
639 | 647 |
640 rm -f conftestdata | 648 rm -f conftestdata |
641 if ln -s X conftestdata 2>/dev/null | 649 if ln -s X conftestdata 2>/dev/null |
642 then | 650 then |
643 rm -f conftestdata | 651 rm -f conftestdata |
810 } | 818 } |
811 | 819 |
812 | 820 |
813 | 821 |
814 echo "checking "the configuration name"" 1>&6 | 822 echo "checking "the configuration name"" 1>&6 |
815 echo "configure:816: checking "the configuration name"" >&5 | 823 echo "configure:824: checking "the configuration name"" >&5 |
816 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 824 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
817 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 825 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
818 exit $? | 826 exit $? |
819 fi | 827 fi |
820 | 828 |
1267 xe_save_CFLAGS="$CFLAGS" | 1275 xe_save_CFLAGS="$CFLAGS" |
1268 | 1276 |
1269 # Extract the first word of "gcc", so it can be a program name with args. | 1277 # Extract the first word of "gcc", so it can be a program name with args. |
1270 set dummy gcc; ac_word=$2 | 1278 set dummy gcc; ac_word=$2 |
1271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1272 echo "configure:1273: checking for $ac_word" >&5 | 1280 echo "configure:1281: checking for $ac_word" >&5 |
1273 | 1281 |
1274 if test -n "$CC"; then | 1282 if test -n "$CC"; then |
1275 ac_cv_prog_CC="$CC" # Let the user override the test. | 1283 ac_cv_prog_CC="$CC" # Let the user override the test. |
1276 else | 1284 else |
1277 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1293 | 1301 |
1294 if test -z "$CC"; then | 1302 if test -z "$CC"; then |
1295 # Extract the first word of "cc", so it can be a program name with args. | 1303 # Extract the first word of "cc", so it can be a program name with args. |
1296 set dummy cc; ac_word=$2 | 1304 set dummy cc; ac_word=$2 |
1297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1298 echo "configure:1299: checking for $ac_word" >&5 | 1306 echo "configure:1307: checking for $ac_word" >&5 |
1299 | 1307 |
1300 if test -n "$CC"; then | 1308 if test -n "$CC"; then |
1301 ac_cv_prog_CC="$CC" # Let the user override the test. | 1309 ac_cv_prog_CC="$CC" # Let the user override the test. |
1302 else | 1310 else |
1303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1338 | 1346 |
1339 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1347 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1340 fi | 1348 fi |
1341 | 1349 |
1342 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1350 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1343 echo "configure:1344: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1351 echo "configure:1352: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1344 | 1352 |
1345 ac_ext=c | 1353 ac_ext=c |
1346 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1354 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1347 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1355 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1348 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1356 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1350 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1358 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1351 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1359 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1352 cross_compiling=no | 1360 cross_compiling=no |
1353 | 1361 |
1354 cat > conftest.$ac_ext <<EOF | 1362 cat > conftest.$ac_ext <<EOF |
1355 #line 1356 "configure" | 1363 #line 1364 "configure" |
1356 #include "confdefs.h" | 1364 #include "confdefs.h" |
1357 main(){return(0);} | 1365 main(){return(0);} |
1358 EOF | 1366 EOF |
1359 if { (eval echo configure:1360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1367 if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1360 ac_cv_prog_cc_works=yes | 1368 ac_cv_prog_cc_works=yes |
1361 # If we can't run a trivial program, we are probably using a cross compiler. | 1369 # If we can't run a trivial program, we are probably using a cross compiler. |
1362 if (./conftest; exit) 2>/dev/null; then | 1370 if (./conftest; exit) 2>/dev/null; then |
1363 ac_cv_prog_cc_cross=no | 1371 ac_cv_prog_cc_cross=no |
1364 else | 1372 else |
1374 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1382 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1375 if test $ac_cv_prog_cc_works = no; then | 1383 if test $ac_cv_prog_cc_works = no; then |
1376 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1384 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1377 fi | 1385 fi |
1378 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1386 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1379 echo "configure:1380: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1387 echo "configure:1388: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1380 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1388 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1381 cross_compiling=$ac_cv_prog_cc_cross | 1389 cross_compiling=$ac_cv_prog_cc_cross |
1382 | 1390 |
1383 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1391 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1384 echo "configure:1385: checking whether we are using GNU C" >&5 | 1392 echo "configure:1393: checking whether we are using GNU C" >&5 |
1385 | 1393 |
1386 cat > conftest.c <<EOF | 1394 cat > conftest.c <<EOF |
1387 #ifdef __GNUC__ | 1395 #ifdef __GNUC__ |
1388 yes; | 1396 yes; |
1389 #endif | 1397 #endif |
1390 EOF | 1398 EOF |
1391 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1399 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1392 ac_cv_prog_gcc=yes | 1400 ac_cv_prog_gcc=yes |
1393 else | 1401 else |
1394 ac_cv_prog_gcc=no | 1402 ac_cv_prog_gcc=no |
1395 fi | 1403 fi |
1396 | 1404 |
1400 GCC=yes | 1408 GCC=yes |
1401 ac_test_CFLAGS="${CFLAGS+set}" | 1409 ac_test_CFLAGS="${CFLAGS+set}" |
1402 ac_save_CFLAGS="$CFLAGS" | 1410 ac_save_CFLAGS="$CFLAGS" |
1403 CFLAGS= | 1411 CFLAGS= |
1404 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1412 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1405 echo "configure:1406: checking whether ${CC-cc} accepts -g" >&5 | 1413 echo "configure:1414: checking whether ${CC-cc} accepts -g" >&5 |
1406 | 1414 |
1407 echo 'void f(){}' > conftest.c | 1415 echo 'void f(){}' > conftest.c |
1408 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1416 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1409 ac_cv_prog_cc_g=yes | 1417 ac_cv_prog_cc_g=yes |
1410 else | 1418 else |
1429 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1437 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1430 CC=${NON_GNU_CC-cc} | 1438 CC=${NON_GNU_CC-cc} |
1431 # Extract the first word of "gcc", so it can be a program name with args. | 1439 # Extract the first word of "gcc", so it can be a program name with args. |
1432 set dummy gcc; ac_word=$2 | 1440 set dummy gcc; ac_word=$2 |
1433 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1434 echo "configure:1435: checking for $ac_word" >&5 | 1442 echo "configure:1443: checking for $ac_word" >&5 |
1435 | 1443 |
1436 if test -n "$CC"; then | 1444 if test -n "$CC"; then |
1437 ac_cv_prog_CC="$CC" # Let the user override the test. | 1445 ac_cv_prog_CC="$CC" # Let the user override the test. |
1438 else | 1446 else |
1439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1455 | 1463 |
1456 if test -z "$CC"; then | 1464 if test -z "$CC"; then |
1457 # Extract the first word of "cc", so it can be a program name with args. | 1465 # Extract the first word of "cc", so it can be a program name with args. |
1458 set dummy cc; ac_word=$2 | 1466 set dummy cc; ac_word=$2 |
1459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1467 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1460 echo "configure:1461: checking for $ac_word" >&5 | 1468 echo "configure:1469: checking for $ac_word" >&5 |
1461 | 1469 |
1462 if test -n "$CC"; then | 1470 if test -n "$CC"; then |
1463 ac_cv_prog_CC="$CC" # Let the user override the test. | 1471 ac_cv_prog_CC="$CC" # Let the user override the test. |
1464 else | 1472 else |
1465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1473 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1500 | 1508 |
1501 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1509 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1502 fi | 1510 fi |
1503 | 1511 |
1504 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1512 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1505 echo "configure:1506: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1513 echo "configure:1514: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1506 | 1514 |
1507 ac_ext=c | 1515 ac_ext=c |
1508 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1516 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1509 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1517 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1510 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1518 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1512 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1520 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1513 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1521 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1514 cross_compiling=no | 1522 cross_compiling=no |
1515 | 1523 |
1516 cat > conftest.$ac_ext <<EOF | 1524 cat > conftest.$ac_ext <<EOF |
1517 #line 1518 "configure" | 1525 #line 1526 "configure" |
1518 #include "confdefs.h" | 1526 #include "confdefs.h" |
1519 main(){return(0);} | 1527 main(){return(0);} |
1520 EOF | 1528 EOF |
1521 if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1529 if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1522 ac_cv_prog_cc_works=yes | 1530 ac_cv_prog_cc_works=yes |
1523 # If we can't run a trivial program, we are probably using a cross compiler. | 1531 # If we can't run a trivial program, we are probably using a cross compiler. |
1524 if (./conftest; exit) 2>/dev/null; then | 1532 if (./conftest; exit) 2>/dev/null; then |
1525 ac_cv_prog_cc_cross=no | 1533 ac_cv_prog_cc_cross=no |
1526 else | 1534 else |
1536 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1544 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1537 if test $ac_cv_prog_cc_works = no; then | 1545 if test $ac_cv_prog_cc_works = no; then |
1538 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1546 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1539 fi | 1547 fi |
1540 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1548 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1541 echo "configure:1542: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1549 echo "configure:1550: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1542 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1550 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1543 cross_compiling=$ac_cv_prog_cc_cross | 1551 cross_compiling=$ac_cv_prog_cc_cross |
1544 | 1552 |
1545 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1553 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1546 echo "configure:1547: checking whether we are using GNU C" >&5 | 1554 echo "configure:1555: checking whether we are using GNU C" >&5 |
1547 | 1555 |
1548 cat > conftest.c <<EOF | 1556 cat > conftest.c <<EOF |
1549 #ifdef __GNUC__ | 1557 #ifdef __GNUC__ |
1550 yes; | 1558 yes; |
1551 #endif | 1559 #endif |
1552 EOF | 1560 EOF |
1553 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1561 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1554 ac_cv_prog_gcc=yes | 1562 ac_cv_prog_gcc=yes |
1555 else | 1563 else |
1556 ac_cv_prog_gcc=no | 1564 ac_cv_prog_gcc=no |
1557 fi | 1565 fi |
1558 | 1566 |
1562 GCC=yes | 1570 GCC=yes |
1563 ac_test_CFLAGS="${CFLAGS+set}" | 1571 ac_test_CFLAGS="${CFLAGS+set}" |
1564 ac_save_CFLAGS="$CFLAGS" | 1572 ac_save_CFLAGS="$CFLAGS" |
1565 CFLAGS= | 1573 CFLAGS= |
1566 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1574 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1567 echo "configure:1568: checking whether ${CC-cc} accepts -g" >&5 | 1575 echo "configure:1576: checking whether ${CC-cc} accepts -g" >&5 |
1568 | 1576 |
1569 echo 'void f(){}' > conftest.c | 1577 echo 'void f(){}' > conftest.c |
1570 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1578 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1571 ac_cv_prog_cc_g=yes | 1579 ac_cv_prog_cc_g=yes |
1572 else | 1580 else |
1591 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1599 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1592 CC=gcc | 1600 CC=gcc |
1593 # Extract the first word of "gcc", so it can be a program name with args. | 1601 # Extract the first word of "gcc", so it can be a program name with args. |
1594 set dummy gcc; ac_word=$2 | 1602 set dummy gcc; ac_word=$2 |
1595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1596 echo "configure:1597: checking for $ac_word" >&5 | 1604 echo "configure:1605: checking for $ac_word" >&5 |
1597 | 1605 |
1598 if test -n "$CC"; then | 1606 if test -n "$CC"; then |
1599 ac_cv_prog_CC="$CC" # Let the user override the test. | 1607 ac_cv_prog_CC="$CC" # Let the user override the test. |
1600 else | 1608 else |
1601 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1617 | 1625 |
1618 if test -z "$CC"; then | 1626 if test -z "$CC"; then |
1619 # Extract the first word of "cc", so it can be a program name with args. | 1627 # Extract the first word of "cc", so it can be a program name with args. |
1620 set dummy cc; ac_word=$2 | 1628 set dummy cc; ac_word=$2 |
1621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1622 echo "configure:1623: checking for $ac_word" >&5 | 1630 echo "configure:1631: checking for $ac_word" >&5 |
1623 | 1631 |
1624 if test -n "$CC"; then | 1632 if test -n "$CC"; then |
1625 ac_cv_prog_CC="$CC" # Let the user override the test. | 1633 ac_cv_prog_CC="$CC" # Let the user override the test. |
1626 else | 1634 else |
1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1635 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1662 | 1670 |
1663 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1671 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1664 fi | 1672 fi |
1665 | 1673 |
1666 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1674 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1667 echo "configure:1668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1675 echo "configure:1676: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1668 | 1676 |
1669 ac_ext=c | 1677 ac_ext=c |
1670 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1678 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1671 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1679 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1672 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1680 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1674 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1682 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1675 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1683 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1676 cross_compiling=no | 1684 cross_compiling=no |
1677 | 1685 |
1678 cat > conftest.$ac_ext <<EOF | 1686 cat > conftest.$ac_ext <<EOF |
1679 #line 1680 "configure" | 1687 #line 1688 "configure" |
1680 #include "confdefs.h" | 1688 #include "confdefs.h" |
1681 main(){return(0);} | 1689 main(){return(0);} |
1682 EOF | 1690 EOF |
1683 if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1684 ac_cv_prog_cc_works=yes | 1692 ac_cv_prog_cc_works=yes |
1685 # If we can't run a trivial program, we are probably using a cross compiler. | 1693 # If we can't run a trivial program, we are probably using a cross compiler. |
1686 if (./conftest; exit) 2>/dev/null; then | 1694 if (./conftest; exit) 2>/dev/null; then |
1687 ac_cv_prog_cc_cross=no | 1695 ac_cv_prog_cc_cross=no |
1688 else | 1696 else |
1698 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1706 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1699 if test $ac_cv_prog_cc_works = no; then | 1707 if test $ac_cv_prog_cc_works = no; then |
1700 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1708 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1701 fi | 1709 fi |
1702 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1710 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1703 echo "configure:1704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1711 echo "configure:1712: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1704 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1712 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1705 cross_compiling=$ac_cv_prog_cc_cross | 1713 cross_compiling=$ac_cv_prog_cc_cross |
1706 | 1714 |
1707 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1715 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1708 echo "configure:1709: checking whether we are using GNU C" >&5 | 1716 echo "configure:1717: checking whether we are using GNU C" >&5 |
1709 | 1717 |
1710 cat > conftest.c <<EOF | 1718 cat > conftest.c <<EOF |
1711 #ifdef __GNUC__ | 1719 #ifdef __GNUC__ |
1712 yes; | 1720 yes; |
1713 #endif | 1721 #endif |
1714 EOF | 1722 EOF |
1715 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1723 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1716 ac_cv_prog_gcc=yes | 1724 ac_cv_prog_gcc=yes |
1717 else | 1725 else |
1718 ac_cv_prog_gcc=no | 1726 ac_cv_prog_gcc=no |
1719 fi | 1727 fi |
1720 | 1728 |
1724 GCC=yes | 1732 GCC=yes |
1725 ac_test_CFLAGS="${CFLAGS+set}" | 1733 ac_test_CFLAGS="${CFLAGS+set}" |
1726 ac_save_CFLAGS="$CFLAGS" | 1734 ac_save_CFLAGS="$CFLAGS" |
1727 CFLAGS= | 1735 CFLAGS= |
1728 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1736 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1729 echo "configure:1730: checking whether ${CC-cc} accepts -g" >&5 | 1737 echo "configure:1738: checking whether ${CC-cc} accepts -g" >&5 |
1730 | 1738 |
1731 echo 'void f(){}' > conftest.c | 1739 echo 'void f(){}' > conftest.c |
1732 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1740 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1733 ac_cv_prog_cc_g=yes | 1741 ac_cv_prog_cc_g=yes |
1734 else | 1742 else |
1757 test -n "$CPP" -a -d "$CPP" && CPP= | 1765 test -n "$CPP" -a -d "$CPP" && CPP= |
1758 | 1766 |
1759 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1767 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1760 | 1768 |
1761 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1769 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1762 echo "configure:1763: checking how to run the C preprocessor" >&5 | 1770 echo "configure:1771: checking how to run the C preprocessor" >&5 |
1763 # On Suns, sometimes $CPP names a directory. | 1771 # On Suns, sometimes $CPP names a directory. |
1764 if test -n "$CPP" && test -d "$CPP"; then | 1772 if test -n "$CPP" && test -d "$CPP"; then |
1765 CPP= | 1773 CPP= |
1766 fi | 1774 fi |
1767 if test -z "$CPP"; then | 1775 if test -z "$CPP"; then |
1770 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1778 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1771 CPP="${CC-cc} -E" | 1779 CPP="${CC-cc} -E" |
1772 # On the NeXT, cc -E runs the code through the compiler's parser, | 1780 # On the NeXT, cc -E runs the code through the compiler's parser, |
1773 # not just through cpp. | 1781 # not just through cpp. |
1774 cat > conftest.$ac_ext <<EOF | 1782 cat > conftest.$ac_ext <<EOF |
1775 #line 1776 "configure" | 1783 #line 1784 "configure" |
1776 #include "confdefs.h" | 1784 #include "confdefs.h" |
1777 #include <assert.h> | 1785 #include <assert.h> |
1778 Syntax Error | 1786 Syntax Error |
1779 EOF | 1787 EOF |
1780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1781 { (eval echo configure:1782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1789 { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1782 ac_err=`grep -v '^ *+' conftest.out` | 1790 ac_err=`grep -v '^ *+' conftest.out` |
1783 if test -z "$ac_err"; then | 1791 if test -z "$ac_err"; then |
1784 : | 1792 : |
1785 else | 1793 else |
1786 echo "$ac_err" >&5 | 1794 echo "$ac_err" >&5 |
1787 echo "configure: failed program was:" >&5 | 1795 echo "configure: failed program was:" >&5 |
1788 cat conftest.$ac_ext >&5 | 1796 cat conftest.$ac_ext >&5 |
1789 rm -rf conftest* | 1797 rm -rf conftest* |
1790 CPP="${CC-cc} -E -traditional-cpp" | 1798 CPP="${CC-cc} -E -traditional-cpp" |
1791 cat > conftest.$ac_ext <<EOF | 1799 cat > conftest.$ac_ext <<EOF |
1792 #line 1793 "configure" | 1800 #line 1801 "configure" |
1793 #include "confdefs.h" | 1801 #include "confdefs.h" |
1794 #include <assert.h> | 1802 #include <assert.h> |
1795 Syntax Error | 1803 Syntax Error |
1796 EOF | 1804 EOF |
1797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1798 { (eval echo configure:1799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1806 { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1799 ac_err=`grep -v '^ *+' conftest.out` | 1807 ac_err=`grep -v '^ *+' conftest.out` |
1800 if test -z "$ac_err"; then | 1808 if test -z "$ac_err"; then |
1801 : | 1809 : |
1802 else | 1810 else |
1803 echo "$ac_err" >&5 | 1811 echo "$ac_err" >&5 |
1816 fi | 1824 fi |
1817 echo "$ac_t""$CPP" 1>&6 | 1825 echo "$ac_t""$CPP" 1>&6 |
1818 | 1826 |
1819 | 1827 |
1820 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1828 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1821 echo "configure:1822: checking for AIX" >&5 | 1829 echo "configure:1830: checking for AIX" >&5 |
1822 cat > conftest.$ac_ext <<EOF | 1830 cat > conftest.$ac_ext <<EOF |
1823 #line 1824 "configure" | 1831 #line 1832 "configure" |
1824 #include "confdefs.h" | 1832 #include "confdefs.h" |
1825 #ifdef _AIX | 1833 #ifdef _AIX |
1826 yes | 1834 yes |
1827 #endif | 1835 #endif |
1828 | 1836 |
1844 fi | 1852 fi |
1845 rm -f conftest* | 1853 rm -f conftest* |
1846 | 1854 |
1847 | 1855 |
1848 | 1856 |
1857 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | |
1858 echo "configure:1859: checking for GNU libc" >&5 | |
1859 cat > conftest.$ac_ext <<EOF | |
1860 #line 1861 "configure" | |
1861 #include "confdefs.h" | |
1862 #include <features.h> | |
1863 int main() { | |
1864 | |
1865 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | |
1866 #error Not a GNU libc system :-( | |
1867 ******* ======= ******** &&&&&&&& | |
1868 #endif | |
1869 | |
1870 ; return 0; } | |
1871 EOF | |
1872 if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
1873 rm -rf conftest* | |
1874 have_glibc=yes | |
1875 else | |
1876 echo "configure: failed program was:" >&5 | |
1877 cat conftest.$ac_ext >&5 | |
1878 rm -rf conftest* | |
1879 have_glibc=no | |
1880 fi | |
1881 rm -f conftest* | |
1882 echo "$ac_t""$have_glibc" 1>&6 | |
1883 test "$have_glibc" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
1884 Defining _GNU_SOURCE | |
1885 EOF | |
1886 cat >> confdefs.h <<\EOF | |
1887 #define _GNU_SOURCE 1 | |
1888 EOF | |
1889 } | |
1890 | |
1891 | |
1849 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1892 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1850 echo "configure:1851: checking whether we are using SunPro C" >&5 | 1893 echo "configure:1894: checking whether we are using SunPro C" >&5 |
1851 cat > conftest.$ac_ext <<EOF | 1894 cat > conftest.$ac_ext <<EOF |
1852 #line 1853 "configure" | 1895 #line 1896 "configure" |
1853 #include "confdefs.h" | 1896 #include "confdefs.h" |
1854 | 1897 |
1855 int main() { | 1898 int main() { |
1856 #ifndef __SUNPRO_C | 1899 #ifndef __SUNPRO_C |
1857 #error Not a SunPro compiler :-( | 1900 #error Not a SunPro compiler :-( |
1858 ******* ======= ******** &&&&&&&& | 1901 ******* ======= ******** &&&&&&&& |
1859 #endif | 1902 #endif |
1860 | 1903 |
1861 ; return 0; } | 1904 ; return 0; } |
1862 EOF | 1905 EOF |
1863 if { (eval echo configure:1864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1906 if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1864 rm -rf conftest* | 1907 rm -rf conftest* |
1865 __sunpro_c=yes | 1908 __sunpro_c=yes |
1866 else | 1909 else |
1867 echo "configure: failed program was:" >&5 | 1910 echo "configure: failed program was:" >&5 |
1868 cat conftest.$ac_ext >&5 | 1911 cat conftest.$ac_ext >&5 |
2134 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2177 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2135 echo " xemacs will be linked with \"$unexec\"" | 2178 echo " xemacs will be linked with \"$unexec\"" |
2136 fi | 2179 fi |
2137 | 2180 |
2138 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2181 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2139 echo "configure:2140: checking for dynodump" >&5 | 2182 echo "configure:2183: checking for dynodump" >&5 |
2140 if test "$unexec" != "unexsol2.o"; then | 2183 if test "$unexec" != "unexsol2.o"; then |
2141 echo "$ac_t""no" 1>&6 | 2184 echo "$ac_t""no" 1>&6 |
2142 else | 2185 else |
2143 echo "$ac_t""yes" 1>&6 | 2186 echo "$ac_t""yes" 1>&6 |
2144 { test "$extra_verbose" = "yes" && cat << \EOF | 2187 { test "$extra_verbose" = "yes" && cat << \EOF |
2232 esac | 2275 esac |
2233 fi | 2276 fi |
2234 | 2277 |
2235 if test "$add_runtime_path" = "yes"; then | 2278 if test "$add_runtime_path" = "yes"; then |
2236 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2279 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2237 echo "configure:2238: checking "for runtime libraries flag"" >&5 | 2280 echo "configure:2281: checking "for runtime libraries flag"" >&5 |
2238 dash_r="" | 2281 dash_r="" |
2239 for try_dash_r in "-R" "-R " "-rpath "; do | 2282 for try_dash_r in "-R" "-R " "-rpath "; do |
2240 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2283 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2241 cat > conftest.$ac_ext <<EOF | 2284 cat > conftest.$ac_ext <<EOF |
2242 #line 2243 "configure" | 2285 #line 2286 "configure" |
2243 #include "confdefs.h" | 2286 #include "confdefs.h" |
2244 | 2287 |
2245 int main() { | 2288 int main() { |
2246 | 2289 |
2247 ; return 0; } | 2290 ; return 0; } |
2248 EOF | 2291 EOF |
2249 if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2292 if { (eval echo configure:2293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2250 rm -rf conftest* | 2293 rm -rf conftest* |
2251 dash_r="$try_dash_r" | 2294 dash_r="$try_dash_r" |
2252 else | 2295 else |
2253 echo "configure: failed program was:" >&5 | 2296 echo "configure: failed program was:" >&5 |
2254 cat conftest.$ac_ext >&5 | 2297 cat conftest.$ac_ext >&5 |
2342 | 2385 |
2343 | 2386 |
2344 # Extract the first word of "ranlib", so it can be a program name with args. | 2387 # Extract the first word of "ranlib", so it can be a program name with args. |
2345 set dummy ranlib; ac_word=$2 | 2388 set dummy ranlib; ac_word=$2 |
2346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2347 echo "configure:2348: checking for $ac_word" >&5 | 2390 echo "configure:2391: checking for $ac_word" >&5 |
2348 | 2391 |
2349 if test -n "$RANLIB"; then | 2392 if test -n "$RANLIB"; then |
2350 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2393 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2351 else | 2394 else |
2352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2395 # AIX /bin/install | 2438 # AIX /bin/install |
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2439 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2440 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2398 # ./install, which can be erroneously created by make from ./install.sh. | 2441 # ./install, which can be erroneously created by make from ./install.sh. |
2399 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2442 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2400 echo "configure:2401: checking for a BSD compatible install" >&5 | 2443 echo "configure:2444: checking for a BSD compatible install" >&5 |
2401 if test -z "$INSTALL"; then | 2444 if test -z "$INSTALL"; then |
2402 | 2445 |
2403 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2446 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2404 for ac_dir in $PATH; do | 2447 for ac_dir in $PATH; do |
2405 # Account for people who put trailing slashes in PATH elements. | 2448 # Account for people who put trailing slashes in PATH elements. |
2446 for ac_prog in 'bison -y' byacc | 2489 for ac_prog in 'bison -y' byacc |
2447 do | 2490 do |
2448 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2491 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2449 set dummy $ac_prog; ac_word=$2 | 2492 set dummy $ac_prog; ac_word=$2 |
2450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2451 echo "configure:2452: checking for $ac_word" >&5 | 2494 echo "configure:2495: checking for $ac_word" >&5 |
2452 | 2495 |
2453 if test -n "$YACC"; then | 2496 if test -n "$YACC"; then |
2454 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2497 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2455 else | 2498 else |
2456 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2499 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2477 | 2520 |
2478 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2521 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2479 do | 2522 do |
2480 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2482 echo "configure:2483: checking for $ac_hdr" >&5 | 2525 echo "configure:2526: checking for $ac_hdr" >&5 |
2483 | 2526 |
2484 cat > conftest.$ac_ext <<EOF | 2527 cat > conftest.$ac_ext <<EOF |
2485 #line 2486 "configure" | 2528 #line 2529 "configure" |
2486 #include "confdefs.h" | 2529 #include "confdefs.h" |
2487 #include <$ac_hdr> | 2530 #include <$ac_hdr> |
2488 EOF | 2531 EOF |
2489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2490 { (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2533 { (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2491 ac_err=`grep -v '^ *+' conftest.out` | 2534 ac_err=`grep -v '^ *+' conftest.out` |
2492 if test -z "$ac_err"; then | 2535 if test -z "$ac_err"; then |
2493 rm -rf conftest* | 2536 rm -rf conftest* |
2494 eval "ac_cv_header_$ac_safe=yes" | 2537 eval "ac_cv_header_$ac_safe=yes" |
2495 else | 2538 else |
2518 | 2561 |
2519 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2562 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2520 do | 2563 do |
2521 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2522 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2523 echo "configure:2524: checking for $ac_hdr" >&5 | 2566 echo "configure:2567: checking for $ac_hdr" >&5 |
2524 | 2567 |
2525 cat > conftest.$ac_ext <<EOF | 2568 cat > conftest.$ac_ext <<EOF |
2526 #line 2527 "configure" | 2569 #line 2570 "configure" |
2527 #include "confdefs.h" | 2570 #include "confdefs.h" |
2528 #include <$ac_hdr> | 2571 #include <$ac_hdr> |
2529 EOF | 2572 EOF |
2530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2531 { (eval echo configure:2532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2532 ac_err=`grep -v '^ *+' conftest.out` | 2575 ac_err=`grep -v '^ *+' conftest.out` |
2533 if test -z "$ac_err"; then | 2576 if test -z "$ac_err"; then |
2534 rm -rf conftest* | 2577 rm -rf conftest* |
2535 eval "ac_cv_header_$ac_safe=yes" | 2578 eval "ac_cv_header_$ac_safe=yes" |
2536 else | 2579 else |
2555 else | 2598 else |
2556 echo "$ac_t""no" 1>&6 | 2599 echo "$ac_t""no" 1>&6 |
2557 fi | 2600 fi |
2558 done | 2601 done |
2559 | 2602 |
2560 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2603 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h |
2561 do | 2604 do |
2562 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2563 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2564 echo "configure:2565: checking for $ac_hdr" >&5 | 2607 echo "configure:2608: checking for $ac_hdr" >&5 |
2565 | 2608 |
2566 cat > conftest.$ac_ext <<EOF | 2609 cat > conftest.$ac_ext <<EOF |
2567 #line 2568 "configure" | 2610 #line 2611 "configure" |
2568 #include "confdefs.h" | 2611 #include "confdefs.h" |
2569 #include <$ac_hdr> | 2612 #include <$ac_hdr> |
2570 EOF | 2613 EOF |
2571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2572 { (eval echo configure:2573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2615 { (eval echo configure:2616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2573 ac_err=`grep -v '^ *+' conftest.out` | 2616 ac_err=`grep -v '^ *+' conftest.out` |
2574 if test -z "$ac_err"; then | 2617 if test -z "$ac_err"; then |
2575 rm -rf conftest* | 2618 rm -rf conftest* |
2576 eval "ac_cv_header_$ac_safe=yes" | 2619 eval "ac_cv_header_$ac_safe=yes" |
2577 else | 2620 else |
2596 else | 2639 else |
2597 echo "$ac_t""no" 1>&6 | 2640 echo "$ac_t""no" 1>&6 |
2598 fi | 2641 fi |
2599 done | 2642 done |
2600 | 2643 |
2601 for ac_hdr in sys/un.h | |
2602 do | |
2603 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
2604 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
2605 echo "configure:2606: checking for $ac_hdr" >&5 | |
2606 | |
2607 cat > conftest.$ac_ext <<EOF | |
2608 #line 2609 "configure" | |
2609 #include "confdefs.h" | |
2610 #include <$ac_hdr> | |
2611 EOF | |
2612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
2613 { (eval echo configure:2614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
2614 ac_err=`grep -v '^ *+' conftest.out` | |
2615 if test -z "$ac_err"; then | |
2616 rm -rf conftest* | |
2617 eval "ac_cv_header_$ac_safe=yes" | |
2618 else | |
2619 echo "$ac_err" >&5 | |
2620 echo "configure: failed program was:" >&5 | |
2621 cat conftest.$ac_ext >&5 | |
2622 rm -rf conftest* | |
2623 eval "ac_cv_header_$ac_safe=no" | |
2624 fi | |
2625 rm -f conftest* | |
2626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
2627 echo "$ac_t""yes" 1>&6 | |
2628 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
2629 { test "$extra_verbose" = "yes" && cat << EOF | |
2630 Defining $ac_tr_hdr | |
2631 EOF | |
2632 cat >> confdefs.h <<EOF | |
2633 #define $ac_tr_hdr 1 | |
2634 EOF | |
2635 } | |
2636 | |
2637 else | |
2638 echo "$ac_t""no" 1>&6 | |
2639 fi | |
2640 done | |
2641 | |
2642 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2644 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2643 echo "configure:2644: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2645 echo "configure:2646: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2644 | 2646 |
2645 cat > conftest.$ac_ext <<EOF | 2647 cat > conftest.$ac_ext <<EOF |
2646 #line 2647 "configure" | 2648 #line 2649 "configure" |
2647 #include "confdefs.h" | 2649 #include "confdefs.h" |
2648 #include <sys/types.h> | 2650 #include <sys/types.h> |
2649 #include <sys/wait.h> | 2651 #include <sys/wait.h> |
2650 #ifndef WEXITSTATUS | 2652 #ifndef WEXITSTATUS |
2651 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2653 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2657 int s; | 2659 int s; |
2658 wait (&s); | 2660 wait (&s); |
2659 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2661 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2660 ; return 0; } | 2662 ; return 0; } |
2661 EOF | 2663 EOF |
2662 if { (eval echo configure:2663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2664 if { (eval echo configure:2665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2663 rm -rf conftest* | 2665 rm -rf conftest* |
2664 ac_cv_header_sys_wait_h=yes | 2666 ac_cv_header_sys_wait_h=yes |
2665 else | 2667 else |
2666 echo "configure: failed program was:" >&5 | 2668 echo "configure: failed program was:" >&5 |
2667 cat conftest.$ac_ext >&5 | 2669 cat conftest.$ac_ext >&5 |
2681 } | 2683 } |
2682 | 2684 |
2683 fi | 2685 fi |
2684 | 2686 |
2685 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2687 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2686 echo "configure:2687: checking for ANSI C header files" >&5 | 2688 echo "configure:2689: checking for ANSI C header files" >&5 |
2687 | 2689 |
2688 cat > conftest.$ac_ext <<EOF | 2690 cat > conftest.$ac_ext <<EOF |
2689 #line 2690 "configure" | 2691 #line 2692 "configure" |
2690 #include "confdefs.h" | 2692 #include "confdefs.h" |
2691 #include <stdlib.h> | 2693 #include <stdlib.h> |
2692 #include <stdarg.h> | 2694 #include <stdarg.h> |
2693 #include <string.h> | 2695 #include <string.h> |
2694 #include <float.h> | 2696 #include <float.h> |
2695 EOF | 2697 EOF |
2696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2697 { (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2699 { (eval echo configure:2700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2698 ac_err=`grep -v '^ *+' conftest.out` | 2700 ac_err=`grep -v '^ *+' conftest.out` |
2699 if test -z "$ac_err"; then | 2701 if test -z "$ac_err"; then |
2700 rm -rf conftest* | 2702 rm -rf conftest* |
2701 ac_cv_header_stdc=yes | 2703 ac_cv_header_stdc=yes |
2702 else | 2704 else |
2709 rm -f conftest* | 2711 rm -f conftest* |
2710 | 2712 |
2711 if test $ac_cv_header_stdc = yes; then | 2713 if test $ac_cv_header_stdc = yes; then |
2712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2714 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2713 cat > conftest.$ac_ext <<EOF | 2715 cat > conftest.$ac_ext <<EOF |
2714 #line 2715 "configure" | 2716 #line 2717 "configure" |
2715 #include "confdefs.h" | 2717 #include "confdefs.h" |
2716 #include <string.h> | 2718 #include <string.h> |
2717 EOF | 2719 EOF |
2718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2719 egrep "memchr" >/dev/null 2>&1; then | 2721 egrep "memchr" >/dev/null 2>&1; then |
2727 fi | 2729 fi |
2728 | 2730 |
2729 if test $ac_cv_header_stdc = yes; then | 2731 if test $ac_cv_header_stdc = yes; then |
2730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2731 cat > conftest.$ac_ext <<EOF | 2733 cat > conftest.$ac_ext <<EOF |
2732 #line 2733 "configure" | 2734 #line 2735 "configure" |
2733 #include "confdefs.h" | 2735 #include "confdefs.h" |
2734 #include <stdlib.h> | 2736 #include <stdlib.h> |
2735 EOF | 2737 EOF |
2736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2737 egrep "free" >/dev/null 2>&1; then | 2739 egrep "free" >/dev/null 2>&1; then |
2745 fi | 2747 fi |
2746 | 2748 |
2747 if test $ac_cv_header_stdc = yes; then | 2749 if test $ac_cv_header_stdc = yes; then |
2748 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2749 cat > conftest.$ac_ext <<EOF | 2751 cat > conftest.$ac_ext <<EOF |
2750 #line 2751 "configure" | 2752 #line 2753 "configure" |
2751 #include "confdefs.h" | 2753 #include "confdefs.h" |
2752 #include <ctype.h> | 2754 #include <ctype.h> |
2753 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2755 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2754 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2756 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2756 int main () { int i; for (i = 0; i < 256; i++) | 2758 int main () { int i; for (i = 0; i < 256; i++) |
2757 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2759 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2758 exit (0); } | 2760 exit (0); } |
2759 | 2761 |
2760 EOF | 2762 EOF |
2761 if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2763 if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2762 then | 2764 then |
2763 : | 2765 : |
2764 else | 2766 else |
2765 echo "configure: failed program was:" >&5 | 2767 echo "configure: failed program was:" >&5 |
2766 cat conftest.$ac_ext >&5 | 2768 cat conftest.$ac_ext >&5 |
2781 } | 2783 } |
2782 | 2784 |
2783 fi | 2785 fi |
2784 | 2786 |
2785 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2787 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2786 echo "configure:2787: checking whether time.h and sys/time.h may both be included" >&5 | 2788 echo "configure:2789: checking whether time.h and sys/time.h may both be included" >&5 |
2787 | 2789 |
2788 cat > conftest.$ac_ext <<EOF | 2790 cat > conftest.$ac_ext <<EOF |
2789 #line 2790 "configure" | 2791 #line 2792 "configure" |
2790 #include "confdefs.h" | 2792 #include "confdefs.h" |
2791 #include <sys/types.h> | 2793 #include <sys/types.h> |
2792 #include <sys/time.h> | 2794 #include <sys/time.h> |
2793 #include <time.h> | 2795 #include <time.h> |
2794 int main() { | 2796 int main() { |
2795 struct tm *tp; | 2797 struct tm *tp; |
2796 ; return 0; } | 2798 ; return 0; } |
2797 EOF | 2799 EOF |
2798 if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2800 if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2799 rm -rf conftest* | 2801 rm -rf conftest* |
2800 ac_cv_header_time=yes | 2802 ac_cv_header_time=yes |
2801 else | 2803 else |
2802 echo "configure: failed program was:" >&5 | 2804 echo "configure: failed program was:" >&5 |
2803 cat conftest.$ac_ext >&5 | 2805 cat conftest.$ac_ext >&5 |
2817 } | 2819 } |
2818 | 2820 |
2819 fi | 2821 fi |
2820 | 2822 |
2821 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2823 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2822 echo "configure:2823: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2824 echo "configure:2825: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2823 | 2825 |
2824 cat > conftest.$ac_ext <<EOF | 2826 cat > conftest.$ac_ext <<EOF |
2825 #line 2826 "configure" | 2827 #line 2828 "configure" |
2826 #include "confdefs.h" | 2828 #include "confdefs.h" |
2827 #include <sys/types.h> | 2829 #include <sys/types.h> |
2828 #include <signal.h> | 2830 #include <signal.h> |
2829 /* NetBSD declares sys_siglist in unistd.h. */ | 2831 /* NetBSD declares sys_siglist in unistd.h. */ |
2830 #ifdef HAVE_UNISTD_H | 2832 #ifdef HAVE_UNISTD_H |
2832 #endif | 2834 #endif |
2833 int main() { | 2835 int main() { |
2834 char *msg = *(sys_siglist + 1); | 2836 char *msg = *(sys_siglist + 1); |
2835 ; return 0; } | 2837 ; return 0; } |
2836 EOF | 2838 EOF |
2837 if { (eval echo configure:2838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2839 if { (eval echo configure:2840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2838 rm -rf conftest* | 2840 rm -rf conftest* |
2839 ac_cv_decl_sys_siglist=yes | 2841 ac_cv_decl_sys_siglist=yes |
2840 else | 2842 else |
2841 echo "configure: failed program was:" >&5 | 2843 echo "configure: failed program was:" >&5 |
2842 cat conftest.$ac_ext >&5 | 2844 cat conftest.$ac_ext >&5 |
2857 | 2859 |
2858 fi | 2860 fi |
2859 | 2861 |
2860 | 2862 |
2861 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2863 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2862 echo "configure:2863: checking for struct utimbuf" >&5 | 2864 echo "configure:2865: checking for struct utimbuf" >&5 |
2863 cat > conftest.$ac_ext <<EOF | 2865 cat > conftest.$ac_ext <<EOF |
2864 #line 2865 "configure" | 2866 #line 2867 "configure" |
2865 #include "confdefs.h" | 2867 #include "confdefs.h" |
2866 #ifdef TIME_WITH_SYS_TIME | 2868 #ifdef TIME_WITH_SYS_TIME |
2867 #include <sys/time.h> | 2869 #include <sys/time.h> |
2868 #include <time.h> | 2870 #include <time.h> |
2869 #else | 2871 #else |
2878 #endif | 2880 #endif |
2879 int main() { | 2881 int main() { |
2880 static struct utimbuf x; x.actime = x.modtime; | 2882 static struct utimbuf x; x.actime = x.modtime; |
2881 ; return 0; } | 2883 ; return 0; } |
2882 EOF | 2884 EOF |
2883 if { (eval echo configure:2884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2885 if { (eval echo configure:2886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2884 rm -rf conftest* | 2886 rm -rf conftest* |
2885 echo "$ac_t""yes" 1>&6 | 2887 echo "$ac_t""yes" 1>&6 |
2886 { test "$extra_verbose" = "yes" && cat << \EOF | 2888 { test "$extra_verbose" = "yes" && cat << \EOF |
2887 Defining HAVE_STRUCT_UTIMBUF | 2889 Defining HAVE_STRUCT_UTIMBUF |
2888 EOF | 2890 EOF |
2898 echo "$ac_t""no" 1>&6 | 2900 echo "$ac_t""no" 1>&6 |
2899 fi | 2901 fi |
2900 rm -f conftest* | 2902 rm -f conftest* |
2901 | 2903 |
2902 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2904 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2903 echo "configure:2904: checking return type of signal handlers" >&5 | 2905 echo "configure:2906: checking return type of signal handlers" >&5 |
2904 | 2906 |
2905 cat > conftest.$ac_ext <<EOF | 2907 cat > conftest.$ac_ext <<EOF |
2906 #line 2907 "configure" | 2908 #line 2909 "configure" |
2907 #include "confdefs.h" | 2909 #include "confdefs.h" |
2908 #include <sys/types.h> | 2910 #include <sys/types.h> |
2909 #include <signal.h> | 2911 #include <signal.h> |
2910 #ifdef signal | 2912 #ifdef signal |
2911 #undef signal | 2913 #undef signal |
2918 | 2920 |
2919 int main() { | 2921 int main() { |
2920 int i; | 2922 int i; |
2921 ; return 0; } | 2923 ; return 0; } |
2922 EOF | 2924 EOF |
2923 if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2925 if { (eval echo configure:2926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2924 rm -rf conftest* | 2926 rm -rf conftest* |
2925 ac_cv_type_signal=void | 2927 ac_cv_type_signal=void |
2926 else | 2928 else |
2927 echo "configure: failed program was:" >&5 | 2929 echo "configure: failed program was:" >&5 |
2928 cat conftest.$ac_ext >&5 | 2930 cat conftest.$ac_ext >&5 |
2940 EOF | 2942 EOF |
2941 } | 2943 } |
2942 | 2944 |
2943 | 2945 |
2944 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2946 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2945 echo "configure:2946: checking for size_t" >&5 | 2947 echo "configure:2948: checking for size_t" >&5 |
2946 | 2948 |
2947 cat > conftest.$ac_ext <<EOF | 2949 cat > conftest.$ac_ext <<EOF |
2948 #line 2949 "configure" | 2950 #line 2951 "configure" |
2949 #include "confdefs.h" | 2951 #include "confdefs.h" |
2950 #include <sys/types.h> | 2952 #include <sys/types.h> |
2951 #if STDC_HEADERS | 2953 #if STDC_HEADERS |
2952 #include <stdlib.h> | 2954 #include <stdlib.h> |
2953 #include <stddef.h> | 2955 #include <stddef.h> |
2974 } | 2976 } |
2975 | 2977 |
2976 fi | 2978 fi |
2977 | 2979 |
2978 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2980 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
2979 echo "configure:2980: checking for pid_t" >&5 | 2981 echo "configure:2982: checking for pid_t" >&5 |
2980 | 2982 |
2981 cat > conftest.$ac_ext <<EOF | 2983 cat > conftest.$ac_ext <<EOF |
2982 #line 2983 "configure" | 2984 #line 2985 "configure" |
2983 #include "confdefs.h" | 2985 #include "confdefs.h" |
2984 #include <sys/types.h> | 2986 #include <sys/types.h> |
2985 #if STDC_HEADERS | 2987 #if STDC_HEADERS |
2986 #include <stdlib.h> | 2988 #include <stdlib.h> |
2987 #include <stddef.h> | 2989 #include <stddef.h> |
3008 } | 3010 } |
3009 | 3011 |
3010 fi | 3012 fi |
3011 | 3013 |
3012 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3014 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3013 echo "configure:3014: checking for uid_t in sys/types.h" >&5 | 3015 echo "configure:3016: checking for uid_t in sys/types.h" >&5 |
3014 | 3016 |
3015 cat > conftest.$ac_ext <<EOF | 3017 cat > conftest.$ac_ext <<EOF |
3016 #line 3017 "configure" | 3018 #line 3019 "configure" |
3017 #include "confdefs.h" | 3019 #include "confdefs.h" |
3018 #include <sys/types.h> | 3020 #include <sys/types.h> |
3019 EOF | 3021 EOF |
3020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3021 egrep "uid_t" >/dev/null 2>&1; then | 3023 egrep "uid_t" >/dev/null 2>&1; then |
3047 } | 3049 } |
3048 | 3050 |
3049 fi | 3051 fi |
3050 | 3052 |
3051 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3053 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3052 echo "configure:3053: checking for mode_t" >&5 | 3054 echo "configure:3055: checking for mode_t" >&5 |
3053 | 3055 |
3054 cat > conftest.$ac_ext <<EOF | 3056 cat > conftest.$ac_ext <<EOF |
3055 #line 3056 "configure" | 3057 #line 3058 "configure" |
3056 #include "confdefs.h" | 3058 #include "confdefs.h" |
3057 #include <sys/types.h> | 3059 #include <sys/types.h> |
3058 #if STDC_HEADERS | 3060 #if STDC_HEADERS |
3059 #include <stdlib.h> | 3061 #include <stdlib.h> |
3060 #include <stddef.h> | 3062 #include <stddef.h> |
3081 } | 3083 } |
3082 | 3084 |
3083 fi | 3085 fi |
3084 | 3086 |
3085 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3087 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3086 echo "configure:3087: checking for off_t" >&5 | 3088 echo "configure:3089: checking for off_t" >&5 |
3087 | 3089 |
3088 cat > conftest.$ac_ext <<EOF | 3090 cat > conftest.$ac_ext <<EOF |
3089 #line 3090 "configure" | 3091 #line 3092 "configure" |
3090 #include "confdefs.h" | 3092 #include "confdefs.h" |
3091 #include <sys/types.h> | 3093 #include <sys/types.h> |
3092 #if STDC_HEADERS | 3094 #if STDC_HEADERS |
3093 #include <stdlib.h> | 3095 #include <stdlib.h> |
3094 #include <stddef.h> | 3096 #include <stddef.h> |
3116 | 3118 |
3117 fi | 3119 fi |
3118 | 3120 |
3119 | 3121 |
3120 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3122 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3121 echo "configure:3122: checking for struct timeval" >&5 | 3123 echo "configure:3124: checking for struct timeval" >&5 |
3122 cat > conftest.$ac_ext <<EOF | 3124 cat > conftest.$ac_ext <<EOF |
3123 #line 3124 "configure" | 3125 #line 3126 "configure" |
3124 #include "confdefs.h" | 3126 #include "confdefs.h" |
3125 #ifdef TIME_WITH_SYS_TIME | 3127 #ifdef TIME_WITH_SYS_TIME |
3126 #include <sys/time.h> | 3128 #include <sys/time.h> |
3127 #include <time.h> | 3129 #include <time.h> |
3128 #else | 3130 #else |
3134 #endif | 3136 #endif |
3135 int main() { | 3137 int main() { |
3136 static struct timeval x; x.tv_sec = x.tv_usec; | 3138 static struct timeval x; x.tv_sec = x.tv_usec; |
3137 ; return 0; } | 3139 ; return 0; } |
3138 EOF | 3140 EOF |
3139 if { (eval echo configure:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3141 if { (eval echo configure:3142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3140 rm -rf conftest* | 3142 rm -rf conftest* |
3141 echo "$ac_t""yes" 1>&6 | 3143 echo "$ac_t""yes" 1>&6 |
3142 HAVE_TIMEVAL=yes | 3144 HAVE_TIMEVAL=yes |
3143 { test "$extra_verbose" = "yes" && cat << \EOF | 3145 { test "$extra_verbose" = "yes" && cat << \EOF |
3144 Defining HAVE_TIMEVAL | 3146 Defining HAVE_TIMEVAL |
3156 HAVE_TIMEVAL=no | 3158 HAVE_TIMEVAL=no |
3157 fi | 3159 fi |
3158 rm -f conftest* | 3160 rm -f conftest* |
3159 | 3161 |
3160 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3162 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3161 echo "configure:3162: checking whether struct tm is in sys/time.h or time.h" >&5 | 3163 echo "configure:3164: checking whether struct tm is in sys/time.h or time.h" >&5 |
3162 | 3164 |
3163 cat > conftest.$ac_ext <<EOF | 3165 cat > conftest.$ac_ext <<EOF |
3164 #line 3165 "configure" | 3166 #line 3167 "configure" |
3165 #include "confdefs.h" | 3167 #include "confdefs.h" |
3166 #include <sys/types.h> | 3168 #include <sys/types.h> |
3167 #include <time.h> | 3169 #include <time.h> |
3168 int main() { | 3170 int main() { |
3169 struct tm *tp; tp->tm_sec; | 3171 struct tm *tp; tp->tm_sec; |
3170 ; return 0; } | 3172 ; return 0; } |
3171 EOF | 3173 EOF |
3172 if { (eval echo configure:3173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3174 if { (eval echo configure:3175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3173 rm -rf conftest* | 3175 rm -rf conftest* |
3174 ac_cv_struct_tm=time.h | 3176 ac_cv_struct_tm=time.h |
3175 else | 3177 else |
3176 echo "configure: failed program was:" >&5 | 3178 echo "configure: failed program was:" >&5 |
3177 cat conftest.$ac_ext >&5 | 3179 cat conftest.$ac_ext >&5 |
3191 } | 3193 } |
3192 | 3194 |
3193 fi | 3195 fi |
3194 | 3196 |
3195 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3197 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3196 echo "configure:3197: checking for tm_zone in struct tm" >&5 | 3198 echo "configure:3199: checking for tm_zone in struct tm" >&5 |
3197 | 3199 |
3198 cat > conftest.$ac_ext <<EOF | 3200 cat > conftest.$ac_ext <<EOF |
3199 #line 3200 "configure" | 3201 #line 3202 "configure" |
3200 #include "confdefs.h" | 3202 #include "confdefs.h" |
3201 #include <sys/types.h> | 3203 #include <sys/types.h> |
3202 #include <$ac_cv_struct_tm> | 3204 #include <$ac_cv_struct_tm> |
3203 int main() { | 3205 int main() { |
3204 struct tm tm; tm.tm_zone; | 3206 struct tm tm; tm.tm_zone; |
3205 ; return 0; } | 3207 ; return 0; } |
3206 EOF | 3208 EOF |
3207 if { (eval echo configure:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3209 if { (eval echo configure:3210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3208 rm -rf conftest* | 3210 rm -rf conftest* |
3209 ac_cv_struct_tm_zone=yes | 3211 ac_cv_struct_tm_zone=yes |
3210 else | 3212 else |
3211 echo "configure: failed program was:" >&5 | 3213 echo "configure: failed program was:" >&5 |
3212 cat conftest.$ac_ext >&5 | 3214 cat conftest.$ac_ext >&5 |
3225 EOF | 3227 EOF |
3226 } | 3228 } |
3227 | 3229 |
3228 else | 3230 else |
3229 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3231 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3230 echo "configure:3231: checking for tzname" >&5 | 3232 echo "configure:3233: checking for tzname" >&5 |
3231 | 3233 |
3232 cat > conftest.$ac_ext <<EOF | 3234 cat > conftest.$ac_ext <<EOF |
3233 #line 3234 "configure" | 3235 #line 3236 "configure" |
3234 #include "confdefs.h" | 3236 #include "confdefs.h" |
3235 #include <time.h> | 3237 #include <time.h> |
3236 #ifndef tzname /* For SGI. */ | 3238 #ifndef tzname /* For SGI. */ |
3237 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3239 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3238 #endif | 3240 #endif |
3239 int main() { | 3241 int main() { |
3240 atoi(*tzname); | 3242 atoi(*tzname); |
3241 ; return 0; } | 3243 ; return 0; } |
3242 EOF | 3244 EOF |
3243 if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3245 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3244 rm -rf conftest* | 3246 rm -rf conftest* |
3245 ac_cv_var_tzname=yes | 3247 ac_cv_var_tzname=yes |
3246 else | 3248 else |
3247 echo "configure: failed program was:" >&5 | 3249 echo "configure: failed program was:" >&5 |
3248 cat conftest.$ac_ext >&5 | 3250 cat conftest.$ac_ext >&5 |
3264 fi | 3266 fi |
3265 fi | 3267 fi |
3266 | 3268 |
3267 | 3269 |
3268 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3270 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3269 echo "configure:3270: checking for working const" >&5 | 3271 echo "configure:3272: checking for working const" >&5 |
3270 | 3272 |
3271 cat > conftest.$ac_ext <<EOF | 3273 cat > conftest.$ac_ext <<EOF |
3272 #line 3273 "configure" | 3274 #line 3275 "configure" |
3273 #include "confdefs.h" | 3275 #include "confdefs.h" |
3274 | 3276 |
3275 int main() { | 3277 int main() { |
3276 | 3278 |
3277 /* Ultrix mips cc rejects this. */ | 3279 /* Ultrix mips cc rejects this. */ |
3316 const int foo = 10; | 3318 const int foo = 10; |
3317 } | 3319 } |
3318 | 3320 |
3319 ; return 0; } | 3321 ; return 0; } |
3320 EOF | 3322 EOF |
3321 if { (eval echo configure:3322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3323 if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3322 rm -rf conftest* | 3324 rm -rf conftest* |
3323 ac_cv_c_const=yes | 3325 ac_cv_c_const=yes |
3324 else | 3326 else |
3325 echo "configure: failed program was:" >&5 | 3327 echo "configure: failed program was:" >&5 |
3326 cat conftest.$ac_ext >&5 | 3328 cat conftest.$ac_ext >&5 |
3341 | 3343 |
3342 fi | 3344 fi |
3343 | 3345 |
3344 | 3346 |
3345 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3347 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3346 echo "configure:3347: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3348 echo "configure:3349: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3347 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3348 | 3350 |
3349 cat > conftestmake <<\EOF | 3351 cat > conftestmake <<\EOF |
3350 all: | 3352 all: |
3351 @echo 'ac_maketemp="${MAKE}"' | 3353 @echo 'ac_maketemp="${MAKE}"' |
3366 SET_MAKE="MAKE=${MAKE-make}" | 3368 SET_MAKE="MAKE=${MAKE-make}" |
3367 fi | 3369 fi |
3368 | 3370 |
3369 | 3371 |
3370 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3372 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3371 echo "configure:3372: checking whether byte ordering is bigendian" >&5 | 3373 echo "configure:3374: checking whether byte ordering is bigendian" >&5 |
3372 | 3374 |
3373 ac_cv_c_bigendian=unknown | 3375 ac_cv_c_bigendian=unknown |
3374 # See if sys/param.h defines the BYTE_ORDER macro. | 3376 # See if sys/param.h defines the BYTE_ORDER macro. |
3375 cat > conftest.$ac_ext <<EOF | 3377 cat > conftest.$ac_ext <<EOF |
3376 #line 3377 "configure" | 3378 #line 3379 "configure" |
3377 #include "confdefs.h" | 3379 #include "confdefs.h" |
3378 #include <sys/types.h> | 3380 #include <sys/types.h> |
3379 #include <sys/param.h> | 3381 #include <sys/param.h> |
3380 int main() { | 3382 int main() { |
3381 | 3383 |
3382 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3384 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3383 bogus endian macros | 3385 bogus endian macros |
3384 #endif | 3386 #endif |
3385 ; return 0; } | 3387 ; return 0; } |
3386 EOF | 3388 EOF |
3387 if { (eval echo configure:3388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3389 if { (eval echo configure:3390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3388 rm -rf conftest* | 3390 rm -rf conftest* |
3389 # It does; now see whether it defined to BIG_ENDIAN or not. | 3391 # It does; now see whether it defined to BIG_ENDIAN or not. |
3390 cat > conftest.$ac_ext <<EOF | 3392 cat > conftest.$ac_ext <<EOF |
3391 #line 3392 "configure" | 3393 #line 3394 "configure" |
3392 #include "confdefs.h" | 3394 #include "confdefs.h" |
3393 #include <sys/types.h> | 3395 #include <sys/types.h> |
3394 #include <sys/param.h> | 3396 #include <sys/param.h> |
3395 int main() { | 3397 int main() { |
3396 | 3398 |
3397 #if BYTE_ORDER != BIG_ENDIAN | 3399 #if BYTE_ORDER != BIG_ENDIAN |
3398 not big endian | 3400 not big endian |
3399 #endif | 3401 #endif |
3400 ; return 0; } | 3402 ; return 0; } |
3401 EOF | 3403 EOF |
3402 if { (eval echo configure:3403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3404 if { (eval echo configure:3405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3403 rm -rf conftest* | 3405 rm -rf conftest* |
3404 ac_cv_c_bigendian=yes | 3406 ac_cv_c_bigendian=yes |
3405 else | 3407 else |
3406 echo "configure: failed program was:" >&5 | 3408 echo "configure: failed program was:" >&5 |
3407 cat conftest.$ac_ext >&5 | 3409 cat conftest.$ac_ext >&5 |
3414 cat conftest.$ac_ext >&5 | 3416 cat conftest.$ac_ext >&5 |
3415 fi | 3417 fi |
3416 rm -f conftest* | 3418 rm -f conftest* |
3417 if test $ac_cv_c_bigendian = unknown; then | 3419 if test $ac_cv_c_bigendian = unknown; then |
3418 cat > conftest.$ac_ext <<EOF | 3420 cat > conftest.$ac_ext <<EOF |
3419 #line 3420 "configure" | 3421 #line 3422 "configure" |
3420 #include "confdefs.h" | 3422 #include "confdefs.h" |
3421 main () { | 3423 main () { |
3422 /* Are we little or big endian? From Harbison&Steele. */ | 3424 /* Are we little or big endian? From Harbison&Steele. */ |
3423 union | 3425 union |
3424 { | 3426 { |
3427 } u; | 3429 } u; |
3428 u.l = 1; | 3430 u.l = 1; |
3429 exit (u.c[sizeof (long) - 1] == 1); | 3431 exit (u.c[sizeof (long) - 1] == 1); |
3430 } | 3432 } |
3431 EOF | 3433 EOF |
3432 if { (eval echo configure:3433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3434 if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3433 then | 3435 then |
3434 ac_cv_c_bigendian=no | 3436 ac_cv_c_bigendian=no |
3435 else | 3437 else |
3436 echo "configure: failed program was:" >&5 | 3438 echo "configure: failed program was:" >&5 |
3437 cat conftest.$ac_ext >&5 | 3439 cat conftest.$ac_ext >&5 |
3453 | 3455 |
3454 fi | 3456 fi |
3455 | 3457 |
3456 | 3458 |
3457 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3459 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3458 echo "configure:3459: checking size of short" >&5 | 3460 echo "configure:3461: checking size of short" >&5 |
3459 | 3461 |
3460 cat > conftest.$ac_ext <<EOF | 3462 cat > conftest.$ac_ext <<EOF |
3461 #line 3462 "configure" | 3463 #line 3464 "configure" |
3462 #include "confdefs.h" | 3464 #include "confdefs.h" |
3463 #include <stdio.h> | 3465 #include <stdio.h> |
3464 main() | 3466 main() |
3465 { | 3467 { |
3466 FILE *f=fopen("conftestval", "w"); | 3468 FILE *f=fopen("conftestval", "w"); |
3467 if (!f) exit(1); | 3469 if (!f) exit(1); |
3468 fprintf(f, "%d\n", sizeof(short)); | 3470 fprintf(f, "%d\n", sizeof(short)); |
3469 exit(0); | 3471 exit(0); |
3470 } | 3472 } |
3471 EOF | 3473 EOF |
3472 if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3473 then | 3475 then |
3474 ac_cv_sizeof_short=`cat conftestval` | 3476 ac_cv_sizeof_short=`cat conftestval` |
3475 else | 3477 else |
3476 echo "configure: failed program was:" >&5 | 3478 echo "configure: failed program was:" >&5 |
3477 cat conftest.$ac_ext >&5 | 3479 cat conftest.$ac_ext >&5 |
3494 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3496 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3495 echo "*** PANIC *** Please examine config.log for compilation errors." | 3497 echo "*** PANIC *** Please examine config.log for compilation errors." |
3496 exit 1 | 3498 exit 1 |
3497 fi | 3499 fi |
3498 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3500 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3499 echo "configure:3500: checking size of int" >&5 | 3501 echo "configure:3502: checking size of int" >&5 |
3500 | 3502 |
3501 cat > conftest.$ac_ext <<EOF | 3503 cat > conftest.$ac_ext <<EOF |
3502 #line 3503 "configure" | 3504 #line 3505 "configure" |
3503 #include "confdefs.h" | 3505 #include "confdefs.h" |
3504 #include <stdio.h> | 3506 #include <stdio.h> |
3505 main() | 3507 main() |
3506 { | 3508 { |
3507 FILE *f=fopen("conftestval", "w"); | 3509 FILE *f=fopen("conftestval", "w"); |
3508 if (!f) exit(1); | 3510 if (!f) exit(1); |
3509 fprintf(f, "%d\n", sizeof(int)); | 3511 fprintf(f, "%d\n", sizeof(int)); |
3510 exit(0); | 3512 exit(0); |
3511 } | 3513 } |
3512 EOF | 3514 EOF |
3513 if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3515 if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3514 then | 3516 then |
3515 ac_cv_sizeof_int=`cat conftestval` | 3517 ac_cv_sizeof_int=`cat conftestval` |
3516 else | 3518 else |
3517 echo "configure: failed program was:" >&5 | 3519 echo "configure: failed program was:" >&5 |
3518 cat conftest.$ac_ext >&5 | 3520 cat conftest.$ac_ext >&5 |
3529 EOF | 3531 EOF |
3530 } | 3532 } |
3531 | 3533 |
3532 | 3534 |
3533 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3535 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3534 echo "configure:3535: checking size of long" >&5 | 3536 echo "configure:3537: checking size of long" >&5 |
3535 | 3537 |
3536 cat > conftest.$ac_ext <<EOF | 3538 cat > conftest.$ac_ext <<EOF |
3537 #line 3538 "configure" | 3539 #line 3540 "configure" |
3538 #include "confdefs.h" | 3540 #include "confdefs.h" |
3539 #include <stdio.h> | 3541 #include <stdio.h> |
3540 main() | 3542 main() |
3541 { | 3543 { |
3542 FILE *f=fopen("conftestval", "w"); | 3544 FILE *f=fopen("conftestval", "w"); |
3543 if (!f) exit(1); | 3545 if (!f) exit(1); |
3544 fprintf(f, "%d\n", sizeof(long)); | 3546 fprintf(f, "%d\n", sizeof(long)); |
3545 exit(0); | 3547 exit(0); |
3546 } | 3548 } |
3547 EOF | 3549 EOF |
3548 if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3550 if { (eval echo configure:3551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3549 then | 3551 then |
3550 ac_cv_sizeof_long=`cat conftestval` | 3552 ac_cv_sizeof_long=`cat conftestval` |
3551 else | 3553 else |
3552 echo "configure: failed program was:" >&5 | 3554 echo "configure: failed program was:" >&5 |
3553 cat conftest.$ac_ext >&5 | 3555 cat conftest.$ac_ext >&5 |
3564 EOF | 3566 EOF |
3565 } | 3567 } |
3566 | 3568 |
3567 | 3569 |
3568 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3570 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3569 echo "configure:3570: checking size of long long" >&5 | 3571 echo "configure:3572: checking size of long long" >&5 |
3570 | 3572 |
3571 cat > conftest.$ac_ext <<EOF | 3573 cat > conftest.$ac_ext <<EOF |
3572 #line 3573 "configure" | 3574 #line 3575 "configure" |
3573 #include "confdefs.h" | 3575 #include "confdefs.h" |
3574 #include <stdio.h> | 3576 #include <stdio.h> |
3575 main() | 3577 main() |
3576 { | 3578 { |
3577 FILE *f=fopen("conftestval", "w"); | 3579 FILE *f=fopen("conftestval", "w"); |
3578 if (!f) exit(1); | 3580 if (!f) exit(1); |
3579 fprintf(f, "%d\n", sizeof(long long)); | 3581 fprintf(f, "%d\n", sizeof(long long)); |
3580 exit(0); | 3582 exit(0); |
3581 } | 3583 } |
3582 EOF | 3584 EOF |
3583 if { (eval echo configure:3584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3585 if { (eval echo configure:3586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3584 then | 3586 then |
3585 ac_cv_sizeof_long_long=`cat conftestval` | 3587 ac_cv_sizeof_long_long=`cat conftestval` |
3586 else | 3588 else |
3587 echo "configure: failed program was:" >&5 | 3589 echo "configure: failed program was:" >&5 |
3588 cat conftest.$ac_ext >&5 | 3590 cat conftest.$ac_ext >&5 |
3599 EOF | 3601 EOF |
3600 } | 3602 } |
3601 | 3603 |
3602 | 3604 |
3603 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3605 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3604 echo "configure:3605: checking size of void *" >&5 | 3606 echo "configure:3607: checking size of void *" >&5 |
3605 | 3607 |
3606 cat > conftest.$ac_ext <<EOF | 3608 cat > conftest.$ac_ext <<EOF |
3607 #line 3608 "configure" | 3609 #line 3610 "configure" |
3608 #include "confdefs.h" | 3610 #include "confdefs.h" |
3609 #include <stdio.h> | 3611 #include <stdio.h> |
3610 main() | 3612 main() |
3611 { | 3613 { |
3612 FILE *f=fopen("conftestval", "w"); | 3614 FILE *f=fopen("conftestval", "w"); |
3613 if (!f) exit(1); | 3615 if (!f) exit(1); |
3614 fprintf(f, "%d\n", sizeof(void *)); | 3616 fprintf(f, "%d\n", sizeof(void *)); |
3615 exit(0); | 3617 exit(0); |
3616 } | 3618 } |
3617 EOF | 3619 EOF |
3618 if { (eval echo configure:3619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3620 if { (eval echo configure:3621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3619 then | 3621 then |
3620 ac_cv_sizeof_void_p=`cat conftestval` | 3622 ac_cv_sizeof_void_p=`cat conftestval` |
3621 else | 3623 else |
3622 echo "configure: failed program was:" >&5 | 3624 echo "configure: failed program was:" >&5 |
3623 cat conftest.$ac_ext >&5 | 3625 cat conftest.$ac_ext >&5 |
3635 } | 3637 } |
3636 | 3638 |
3637 | 3639 |
3638 | 3640 |
3639 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3641 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3640 echo "configure:3641: checking for long file names" >&5 | 3642 echo "configure:3643: checking for long file names" >&5 |
3641 | 3643 |
3642 ac_cv_sys_long_file_names=yes | 3644 ac_cv_sys_long_file_names=yes |
3643 # Test for long file names in all the places we know might matter: | 3645 # Test for long file names in all the places we know might matter: |
3644 # . the current directory, where building will happen | 3646 # . the current directory, where building will happen |
3645 # $prefix/lib where we will be installing things | 3647 # $prefix/lib where we will be installing things |
3682 fi | 3684 fi |
3683 | 3685 |
3684 | 3686 |
3685 | 3687 |
3686 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3688 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3687 echo "configure:3688: checking for sin in -lm" >&5 | 3689 echo "configure:3690: checking for sin in -lm" >&5 |
3688 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3690 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3689 | 3691 |
3690 xe_check_libs=" -lm " | 3692 xe_check_libs=" -lm " |
3691 cat > conftest.$ac_ext <<EOF | 3693 cat > conftest.$ac_ext <<EOF |
3692 #line 3693 "configure" | 3694 #line 3695 "configure" |
3693 #include "confdefs.h" | 3695 #include "confdefs.h" |
3694 /* Override any gcc2 internal prototype to avoid an error. */ | 3696 /* Override any gcc2 internal prototype to avoid an error. */ |
3695 /* We use char because int might match the return type of a gcc2 | 3697 /* We use char because int might match the return type of a gcc2 |
3696 builtin and then its argument prototype would still apply. */ | 3698 builtin and then its argument prototype would still apply. */ |
3697 char sin(); | 3699 char sin(); |
3698 | 3700 |
3699 int main() { | 3701 int main() { |
3700 sin() | 3702 sin() |
3701 ; return 0; } | 3703 ; return 0; } |
3702 EOF | 3704 EOF |
3703 if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3704 rm -rf conftest* | 3706 rm -rf conftest* |
3705 eval "ac_cv_lib_$ac_lib_var=yes" | 3707 eval "ac_cv_lib_$ac_lib_var=yes" |
3706 else | 3708 else |
3707 echo "configure: failed program was:" >&5 | 3709 echo "configure: failed program was:" >&5 |
3708 cat conftest.$ac_ext >&5 | 3710 cat conftest.$ac_ext >&5 |
3739 #define LISP_FLOAT_TYPE 1 | 3741 #define LISP_FLOAT_TYPE 1 |
3740 EOF | 3742 EOF |
3741 } | 3743 } |
3742 | 3744 |
3743 | 3745 |
3746 cat > conftest.$ac_ext <<EOF | |
3747 #line 3748 "configure" | |
3748 #include "confdefs.h" | |
3749 #include <math.h> | |
3750 int main() { | |
3751 return atanh(1.0) + asinh(1.0) + acosh(1.0); | |
3752 ; return 0; } | |
3753 EOF | |
3754 if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
3755 rm -rf conftest* | |
3756 { test "$extra_verbose" = "yes" && cat << \EOF | |
3757 Defining HAVE_INVERSE_HYPERBOLIC | |
3758 EOF | |
3759 cat >> confdefs.h <<\EOF | |
3760 #define HAVE_INVERSE_HYPERBOLIC 1 | |
3761 EOF | |
3762 } | |
3763 | |
3764 else | |
3765 echo "configure: failed program was:" >&5 | |
3766 cat conftest.$ac_ext >&5 | |
3767 fi | |
3768 rm -f conftest* | |
3769 | |
3744 echo "checking type of mail spool file locking" 1>&6 | 3770 echo "checking type of mail spool file locking" 1>&6 |
3745 echo "configure:3746: checking type of mail spool file locking" >&5 | 3771 echo "configure:3772: checking type of mail spool file locking" >&5 |
3746 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3772 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3747 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3773 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3748 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3774 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3749 Defining REAL_MAIL_USE_LOCKF | 3775 Defining REAL_MAIL_USE_LOCKF |
3750 EOF | 3776 EOF |
3764 else mail_locking="dot-locking" | 3790 else mail_locking="dot-locking" |
3765 fi | 3791 fi |
3766 | 3792 |
3767 | 3793 |
3768 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3794 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3769 echo "configure:3770: checking for kstat_open in -lkstat" >&5 | 3795 echo "configure:3796: checking for kstat_open in -lkstat" >&5 |
3770 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3796 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3771 | 3797 |
3772 xe_check_libs=" -lkstat " | 3798 xe_check_libs=" -lkstat " |
3773 cat > conftest.$ac_ext <<EOF | 3799 cat > conftest.$ac_ext <<EOF |
3774 #line 3775 "configure" | 3800 #line 3801 "configure" |
3775 #include "confdefs.h" | 3801 #include "confdefs.h" |
3776 /* Override any gcc2 internal prototype to avoid an error. */ | 3802 /* Override any gcc2 internal prototype to avoid an error. */ |
3777 /* We use char because int might match the return type of a gcc2 | 3803 /* We use char because int might match the return type of a gcc2 |
3778 builtin and then its argument prototype would still apply. */ | 3804 builtin and then its argument prototype would still apply. */ |
3779 char kstat_open(); | 3805 char kstat_open(); |
3780 | 3806 |
3781 int main() { | 3807 int main() { |
3782 kstat_open() | 3808 kstat_open() |
3783 ; return 0; } | 3809 ; return 0; } |
3784 EOF | 3810 EOF |
3785 if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3811 if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3786 rm -rf conftest* | 3812 rm -rf conftest* |
3787 eval "ac_cv_lib_$ac_lib_var=yes" | 3813 eval "ac_cv_lib_$ac_lib_var=yes" |
3788 else | 3814 else |
3789 echo "configure: failed program was:" >&5 | 3815 echo "configure: failed program was:" >&5 |
3790 cat conftest.$ac_ext >&5 | 3816 cat conftest.$ac_ext >&5 |
3814 | 3840 |
3815 | 3841 |
3816 | 3842 |
3817 | 3843 |
3818 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3844 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
3819 echo "configure:3820: checking for kvm_read in -lkvm" >&5 | 3845 echo "configure:3846: checking for kvm_read in -lkvm" >&5 |
3820 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3846 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
3821 | 3847 |
3822 xe_check_libs=" -lkvm " | 3848 xe_check_libs=" -lkvm " |
3823 cat > conftest.$ac_ext <<EOF | 3849 cat > conftest.$ac_ext <<EOF |
3824 #line 3825 "configure" | 3850 #line 3851 "configure" |
3825 #include "confdefs.h" | 3851 #include "confdefs.h" |
3826 /* Override any gcc2 internal prototype to avoid an error. */ | 3852 /* Override any gcc2 internal prototype to avoid an error. */ |
3827 /* We use char because int might match the return type of a gcc2 | 3853 /* We use char because int might match the return type of a gcc2 |
3828 builtin and then its argument prototype would still apply. */ | 3854 builtin and then its argument prototype would still apply. */ |
3829 char kvm_read(); | 3855 char kvm_read(); |
3830 | 3856 |
3831 int main() { | 3857 int main() { |
3832 kvm_read() | 3858 kvm_read() |
3833 ; return 0; } | 3859 ; return 0; } |
3834 EOF | 3860 EOF |
3835 if { (eval echo configure:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3861 if { (eval echo configure:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3836 rm -rf conftest* | 3862 rm -rf conftest* |
3837 eval "ac_cv_lib_$ac_lib_var=yes" | 3863 eval "ac_cv_lib_$ac_lib_var=yes" |
3838 else | 3864 else |
3839 echo "configure: failed program was:" >&5 | 3865 echo "configure: failed program was:" >&5 |
3840 cat conftest.$ac_ext >&5 | 3866 cat conftest.$ac_ext >&5 |
3864 | 3890 |
3865 | 3891 |
3866 | 3892 |
3867 | 3893 |
3868 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3894 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3869 echo "configure:3870: checking for cma_open in -lpthreads" >&5 | 3895 echo "configure:3896: checking for cma_open in -lpthreads" >&5 |
3870 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3896 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3871 | 3897 |
3872 xe_check_libs=" -lpthreads " | 3898 xe_check_libs=" -lpthreads " |
3873 cat > conftest.$ac_ext <<EOF | 3899 cat > conftest.$ac_ext <<EOF |
3874 #line 3875 "configure" | 3900 #line 3901 "configure" |
3875 #include "confdefs.h" | 3901 #include "confdefs.h" |
3876 /* Override any gcc2 internal prototype to avoid an error. */ | 3902 /* Override any gcc2 internal prototype to avoid an error. */ |
3877 /* We use char because int might match the return type of a gcc2 | 3903 /* We use char because int might match the return type of a gcc2 |
3878 builtin and then its argument prototype would still apply. */ | 3904 builtin and then its argument prototype would still apply. */ |
3879 char cma_open(); | 3905 char cma_open(); |
3880 | 3906 |
3881 int main() { | 3907 int main() { |
3882 cma_open() | 3908 cma_open() |
3883 ; return 0; } | 3909 ; return 0; } |
3884 EOF | 3910 EOF |
3885 if { (eval echo configure:3886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3911 if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3886 rm -rf conftest* | 3912 rm -rf conftest* |
3887 eval "ac_cv_lib_$ac_lib_var=yes" | 3913 eval "ac_cv_lib_$ac_lib_var=yes" |
3888 else | 3914 else |
3889 echo "configure: failed program was:" >&5 | 3915 echo "configure: failed program was:" >&5 |
3890 cat conftest.$ac_ext >&5 | 3916 cat conftest.$ac_ext >&5 |
3916 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3942 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
3917 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3943 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
3918 fi | 3944 fi |
3919 | 3945 |
3920 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3946 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
3921 echo "configure:3922: checking whether the -xildoff compiler flag is required" >&5 | 3947 echo "configure:3948: checking whether the -xildoff compiler flag is required" >&5 |
3922 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3948 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
3923 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3949 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
3924 then echo "$ac_t""no" 1>&6; | 3950 then echo "$ac_t""no" 1>&6; |
3925 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 | 3951 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
3926 fi | 3952 fi |
3927 else echo "$ac_t""no" 1>&6 | 3953 else echo "$ac_t""no" 1>&6 |
3928 fi | 3954 fi |
3929 | 3955 |
3930 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3956 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
3931 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3957 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
3932 echo "configure:3933: checking for \"-z ignore\" linker flag" >&5 | 3958 echo "configure:3959: checking for \"-z ignore\" linker flag" >&5 |
3933 case "`ld -h 2>&1`" in | 3959 case "`ld -h 2>&1`" in |
3934 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3960 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
3935 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3961 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
3936 *) echo "$ac_t""no" 1>&6 ;; | 3962 *) echo "$ac_t""no" 1>&6 ;; |
3937 esac | 3963 esac |
3938 fi | 3964 fi |
3939 | 3965 |
3940 | 3966 |
3941 echo "checking "for specified window system"" 1>&6 | 3967 echo "checking "for specified window system"" 1>&6 |
3942 echo "configure:3943: checking "for specified window system"" >&5 | 3968 echo "configure:3969: checking "for specified window system"" >&5 |
3943 | 3969 |
3944 if test "$with_x11" != "no"; then | 3970 if test "$with_x11" != "no"; then |
3945 test "$x_includes $x_libraries" != "NONE NONE" && \ | 3971 test "$x_includes $x_libraries" != "NONE NONE" && \ |
3946 window_system=x11 with_x11=yes | 3972 window_system=x11 with_x11=yes |
3947 | 3973 |
3967 # If we find X, set shell vars x_includes and x_libraries to the | 3993 # If we find X, set shell vars x_includes and x_libraries to the |
3968 # paths, otherwise set no_x=yes. | 3994 # paths, otherwise set no_x=yes. |
3969 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3995 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3970 # --without-x overrides everything else, but does not touch the cache. | 3996 # --without-x overrides everything else, but does not touch the cache. |
3971 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3997 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3972 echo "configure:3973: checking for X" >&5 | 3998 echo "configure:3999: checking for X" >&5 |
3973 | 3999 |
3974 # Check whether --with-x or --without-x was given. | 4000 # Check whether --with-x or --without-x was given. |
3975 if test "${with_x+set}" = set; then | 4001 if test "${with_x+set}" = set; then |
3976 withval="$with_x" | 4002 withval="$with_x" |
3977 : | 4003 : |
4027 # Guess where to find include files, by looking for this one X11 .h file. | 4053 # Guess where to find include files, by looking for this one X11 .h file. |
4028 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4054 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4029 | 4055 |
4030 # First, try using that file with no special directory specified. | 4056 # First, try using that file with no special directory specified. |
4031 cat > conftest.$ac_ext <<EOF | 4057 cat > conftest.$ac_ext <<EOF |
4032 #line 4033 "configure" | 4058 #line 4059 "configure" |
4033 #include "confdefs.h" | 4059 #include "confdefs.h" |
4034 #include <$x_direct_test_include> | 4060 #include <$x_direct_test_include> |
4035 EOF | 4061 EOF |
4036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4037 { (eval echo configure:4038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4063 { (eval echo configure:4064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4038 ac_err=`grep -v '^ *+' conftest.out` | 4064 ac_err=`grep -v '^ *+' conftest.out` |
4039 if test -z "$ac_err"; then | 4065 if test -z "$ac_err"; then |
4040 rm -rf conftest* | 4066 rm -rf conftest* |
4041 # We can compile using X headers with no special include directory. | 4067 # We can compile using X headers with no special include directory. |
4042 ac_x_includes= | 4068 ac_x_includes= |
4101 # See if we find them without any special options. | 4127 # See if we find them without any special options. |
4102 # Don't add to $LIBS permanently. | 4128 # Don't add to $LIBS permanently. |
4103 ac_save_LIBS="$LIBS" | 4129 ac_save_LIBS="$LIBS" |
4104 LIBS="-l$x_direct_test_library $LIBS" | 4130 LIBS="-l$x_direct_test_library $LIBS" |
4105 cat > conftest.$ac_ext <<EOF | 4131 cat > conftest.$ac_ext <<EOF |
4106 #line 4107 "configure" | 4132 #line 4133 "configure" |
4107 #include "confdefs.h" | 4133 #include "confdefs.h" |
4108 | 4134 |
4109 int main() { | 4135 int main() { |
4110 ${x_direct_test_function}() | 4136 ${x_direct_test_function}() |
4111 ; return 0; } | 4137 ; return 0; } |
4112 EOF | 4138 EOF |
4113 if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4139 if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4114 rm -rf conftest* | 4140 rm -rf conftest* |
4115 LIBS="$ac_save_LIBS" | 4141 LIBS="$ac_save_LIBS" |
4116 # We can link X programs with no special library path. | 4142 # We can link X programs with no special library path. |
4117 ac_x_libraries= | 4143 ac_x_libraries= |
4118 else | 4144 else |
4217 # For Solaris; some versions of Sun CC require a space after -R and | 4243 # For Solaris; some versions of Sun CC require a space after -R and |
4218 # others require no space. Words are not sufficient . . . . | 4244 # others require no space. Words are not sufficient . . . . |
4219 case "`(uname -sr) 2>/dev/null`" in | 4245 case "`(uname -sr) 2>/dev/null`" in |
4220 "SunOS 5"*) | 4246 "SunOS 5"*) |
4221 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4247 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4222 echo "configure:4223: checking whether -R must be followed by a space" >&5 | 4248 echo "configure:4249: checking whether -R must be followed by a space" >&5 |
4223 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4249 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4224 cat > conftest.$ac_ext <<EOF | 4250 cat > conftest.$ac_ext <<EOF |
4225 #line 4226 "configure" | 4251 #line 4252 "configure" |
4226 #include "confdefs.h" | 4252 #include "confdefs.h" |
4227 | 4253 |
4228 int main() { | 4254 int main() { |
4229 | 4255 |
4230 ; return 0; } | 4256 ; return 0; } |
4231 EOF | 4257 EOF |
4232 if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4233 rm -rf conftest* | 4259 rm -rf conftest* |
4234 ac_R_nospace=yes | 4260 ac_R_nospace=yes |
4235 else | 4261 else |
4236 echo "configure: failed program was:" >&5 | 4262 echo "configure: failed program was:" >&5 |
4237 cat conftest.$ac_ext >&5 | 4263 cat conftest.$ac_ext >&5 |
4243 echo "$ac_t""no" 1>&6 | 4269 echo "$ac_t""no" 1>&6 |
4244 X_LIBS="$X_LIBS -R$x_libraries" | 4270 X_LIBS="$X_LIBS -R$x_libraries" |
4245 else | 4271 else |
4246 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4272 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4247 cat > conftest.$ac_ext <<EOF | 4273 cat > conftest.$ac_ext <<EOF |
4248 #line 4249 "configure" | 4274 #line 4275 "configure" |
4249 #include "confdefs.h" | 4275 #include "confdefs.h" |
4250 | 4276 |
4251 int main() { | 4277 int main() { |
4252 | 4278 |
4253 ; return 0; } | 4279 ; return 0; } |
4254 EOF | 4280 EOF |
4255 if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4256 rm -rf conftest* | 4282 rm -rf conftest* |
4257 ac_R_space=yes | 4283 ac_R_space=yes |
4258 else | 4284 else |
4259 echo "configure: failed program was:" >&5 | 4285 echo "configure: failed program was:" >&5 |
4260 cat conftest.$ac_ext >&5 | 4286 cat conftest.$ac_ext >&5 |
4286 if test "$with_dnet" = "no" ; then | 4312 if test "$with_dnet" = "no" ; then |
4287 ac_cv_lib_dnet_dnet_ntoa=no | 4313 ac_cv_lib_dnet_dnet_ntoa=no |
4288 else | 4314 else |
4289 | 4315 |
4290 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4316 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4291 echo "configure:4292: checking for dnet_ntoa in -ldnet" >&5 | 4317 echo "configure:4318: checking for dnet_ntoa in -ldnet" >&5 |
4292 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4318 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4293 | 4319 |
4294 xe_check_libs=" -ldnet " | 4320 xe_check_libs=" -ldnet " |
4295 cat > conftest.$ac_ext <<EOF | 4321 cat > conftest.$ac_ext <<EOF |
4296 #line 4297 "configure" | 4322 #line 4323 "configure" |
4297 #include "confdefs.h" | 4323 #include "confdefs.h" |
4298 /* Override any gcc2 internal prototype to avoid an error. */ | 4324 /* Override any gcc2 internal prototype to avoid an error. */ |
4299 /* We use char because int might match the return type of a gcc2 | 4325 /* We use char because int might match the return type of a gcc2 |
4300 builtin and then its argument prototype would still apply. */ | 4326 builtin and then its argument prototype would still apply. */ |
4301 char dnet_ntoa(); | 4327 char dnet_ntoa(); |
4302 | 4328 |
4303 int main() { | 4329 int main() { |
4304 dnet_ntoa() | 4330 dnet_ntoa() |
4305 ; return 0; } | 4331 ; return 0; } |
4306 EOF | 4332 EOF |
4307 if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4308 rm -rf conftest* | 4334 rm -rf conftest* |
4309 eval "ac_cv_lib_$ac_lib_var=yes" | 4335 eval "ac_cv_lib_$ac_lib_var=yes" |
4310 else | 4336 else |
4311 echo "configure: failed program was:" >&5 | 4337 echo "configure: failed program was:" >&5 |
4312 cat conftest.$ac_ext >&5 | 4338 cat conftest.$ac_ext >&5 |
4326 fi | 4352 fi |
4327 | 4353 |
4328 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4354 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4329 | 4355 |
4330 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4356 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4331 echo "configure:4332: checking for dnet_ntoa in -ldnet_stub" >&5 | 4357 echo "configure:4358: checking for dnet_ntoa in -ldnet_stub" >&5 |
4332 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4358 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4333 | 4359 |
4334 xe_check_libs=" -ldnet_stub " | 4360 xe_check_libs=" -ldnet_stub " |
4335 cat > conftest.$ac_ext <<EOF | 4361 cat > conftest.$ac_ext <<EOF |
4336 #line 4337 "configure" | 4362 #line 4363 "configure" |
4337 #include "confdefs.h" | 4363 #include "confdefs.h" |
4338 /* Override any gcc2 internal prototype to avoid an error. */ | 4364 /* Override any gcc2 internal prototype to avoid an error. */ |
4339 /* We use char because int might match the return type of a gcc2 | 4365 /* We use char because int might match the return type of a gcc2 |
4340 builtin and then its argument prototype would still apply. */ | 4366 builtin and then its argument prototype would still apply. */ |
4341 char dnet_ntoa(); | 4367 char dnet_ntoa(); |
4342 | 4368 |
4343 int main() { | 4369 int main() { |
4344 dnet_ntoa() | 4370 dnet_ntoa() |
4345 ; return 0; } | 4371 ; return 0; } |
4346 EOF | 4372 EOF |
4347 if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4348 rm -rf conftest* | 4374 rm -rf conftest* |
4349 eval "ac_cv_lib_$ac_lib_var=yes" | 4375 eval "ac_cv_lib_$ac_lib_var=yes" |
4350 else | 4376 else |
4351 echo "configure: failed program was:" >&5 | 4377 echo "configure: failed program was:" >&5 |
4352 cat conftest.$ac_ext >&5 | 4378 cat conftest.$ac_ext >&5 |
4371 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4397 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4372 # needs -lnsl. | 4398 # needs -lnsl. |
4373 # The nsl library prevents programs from opening the X display | 4399 # The nsl library prevents programs from opening the X display |
4374 # on Irix 5.2, according to dickey@clark.net. | 4400 # on Irix 5.2, according to dickey@clark.net. |
4375 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4401 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4376 echo "configure:4377: checking for gethostbyname" >&5 | 4402 echo "configure:4403: checking for gethostbyname" >&5 |
4377 | 4403 |
4378 cat > conftest.$ac_ext <<EOF | 4404 cat > conftest.$ac_ext <<EOF |
4379 #line 4380 "configure" | 4405 #line 4406 "configure" |
4380 #include "confdefs.h" | 4406 #include "confdefs.h" |
4381 /* System header to define __stub macros and hopefully few prototypes, | 4407 /* System header to define __stub macros and hopefully few prototypes, |
4382 which can conflict with char gethostbyname(); below. */ | 4408 which can conflict with char gethostbyname(); below. */ |
4383 #include <assert.h> | 4409 #include <assert.h> |
4384 /* Override any gcc2 internal prototype to avoid an error. */ | 4410 /* Override any gcc2 internal prototype to avoid an error. */ |
4397 gethostbyname(); | 4423 gethostbyname(); |
4398 #endif | 4424 #endif |
4399 | 4425 |
4400 ; return 0; } | 4426 ; return 0; } |
4401 EOF | 4427 EOF |
4402 if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4403 rm -rf conftest* | 4429 rm -rf conftest* |
4404 eval "ac_cv_func_gethostbyname=yes" | 4430 eval "ac_cv_func_gethostbyname=yes" |
4405 else | 4431 else |
4406 echo "configure: failed program was:" >&5 | 4432 echo "configure: failed program was:" >&5 |
4407 cat conftest.$ac_ext >&5 | 4433 cat conftest.$ac_ext >&5 |
4418 fi | 4444 fi |
4419 | 4445 |
4420 if test $ac_cv_func_gethostbyname = no; then | 4446 if test $ac_cv_func_gethostbyname = no; then |
4421 | 4447 |
4422 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4448 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4423 echo "configure:4424: checking for gethostbyname in -lnsl" >&5 | 4449 echo "configure:4450: checking for gethostbyname in -lnsl" >&5 |
4424 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4450 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4425 | 4451 |
4426 xe_check_libs=" -lnsl " | 4452 xe_check_libs=" -lnsl " |
4427 cat > conftest.$ac_ext <<EOF | 4453 cat > conftest.$ac_ext <<EOF |
4428 #line 4429 "configure" | 4454 #line 4455 "configure" |
4429 #include "confdefs.h" | 4455 #include "confdefs.h" |
4430 /* Override any gcc2 internal prototype to avoid an error. */ | 4456 /* Override any gcc2 internal prototype to avoid an error. */ |
4431 /* We use char because int might match the return type of a gcc2 | 4457 /* We use char because int might match the return type of a gcc2 |
4432 builtin and then its argument prototype would still apply. */ | 4458 builtin and then its argument prototype would still apply. */ |
4433 char gethostbyname(); | 4459 char gethostbyname(); |
4434 | 4460 |
4435 int main() { | 4461 int main() { |
4436 gethostbyname() | 4462 gethostbyname() |
4437 ; return 0; } | 4463 ; return 0; } |
4438 EOF | 4464 EOF |
4439 if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4465 if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4440 rm -rf conftest* | 4466 rm -rf conftest* |
4441 eval "ac_cv_lib_$ac_lib_var=yes" | 4467 eval "ac_cv_lib_$ac_lib_var=yes" |
4442 else | 4468 else |
4443 echo "configure: failed program was:" >&5 | 4469 echo "configure: failed program was:" >&5 |
4444 cat conftest.$ac_ext >&5 | 4470 cat conftest.$ac_ext >&5 |
4464 # on later versions), says simon@lia.di.epfl.ch: it contains | 4490 # on later versions), says simon@lia.di.epfl.ch: it contains |
4465 # gethostby* variants that don't use the nameserver (or something). | 4491 # gethostby* variants that don't use the nameserver (or something). |
4466 # -lsocket must be given before -lnsl if both are needed. | 4492 # -lsocket must be given before -lnsl if both are needed. |
4467 # We assume that if connect needs -lnsl, so does gethostbyname. | 4493 # We assume that if connect needs -lnsl, so does gethostbyname. |
4468 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4494 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4469 echo "configure:4470: checking for connect" >&5 | 4495 echo "configure:4496: checking for connect" >&5 |
4470 | 4496 |
4471 cat > conftest.$ac_ext <<EOF | 4497 cat > conftest.$ac_ext <<EOF |
4472 #line 4473 "configure" | 4498 #line 4499 "configure" |
4473 #include "confdefs.h" | 4499 #include "confdefs.h" |
4474 /* System header to define __stub macros and hopefully few prototypes, | 4500 /* System header to define __stub macros and hopefully few prototypes, |
4475 which can conflict with char connect(); below. */ | 4501 which can conflict with char connect(); below. */ |
4476 #include <assert.h> | 4502 #include <assert.h> |
4477 /* Override any gcc2 internal prototype to avoid an error. */ | 4503 /* Override any gcc2 internal prototype to avoid an error. */ |
4490 connect(); | 4516 connect(); |
4491 #endif | 4517 #endif |
4492 | 4518 |
4493 ; return 0; } | 4519 ; return 0; } |
4494 EOF | 4520 EOF |
4495 if { (eval echo configure:4496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4496 rm -rf conftest* | 4522 rm -rf conftest* |
4497 eval "ac_cv_func_connect=yes" | 4523 eval "ac_cv_func_connect=yes" |
4498 else | 4524 else |
4499 echo "configure: failed program was:" >&5 | 4525 echo "configure: failed program was:" >&5 |
4500 cat conftest.$ac_ext >&5 | 4526 cat conftest.$ac_ext >&5 |
4513 if test $ac_cv_func_connect = no; then | 4539 if test $ac_cv_func_connect = no; then |
4514 | 4540 |
4515 xe_msg_checking="for connect in -lsocket" | 4541 xe_msg_checking="for connect in -lsocket" |
4516 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4542 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4517 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4543 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4518 echo "configure:4519: checking "$xe_msg_checking"" >&5 | 4544 echo "configure:4545: checking "$xe_msg_checking"" >&5 |
4519 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4545 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4520 | 4546 |
4521 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4547 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4522 cat > conftest.$ac_ext <<EOF | 4548 cat > conftest.$ac_ext <<EOF |
4523 #line 4524 "configure" | 4549 #line 4550 "configure" |
4524 #include "confdefs.h" | 4550 #include "confdefs.h" |
4525 /* Override any gcc2 internal prototype to avoid an error. */ | 4551 /* Override any gcc2 internal prototype to avoid an error. */ |
4526 /* We use char because int might match the return type of a gcc2 | 4552 /* We use char because int might match the return type of a gcc2 |
4527 builtin and then its argument prototype would still apply. */ | 4553 builtin and then its argument prototype would still apply. */ |
4528 char connect(); | 4554 char connect(); |
4529 | 4555 |
4530 int main() { | 4556 int main() { |
4531 connect() | 4557 connect() |
4532 ; return 0; } | 4558 ; return 0; } |
4533 EOF | 4559 EOF |
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4535 rm -rf conftest* | 4561 rm -rf conftest* |
4536 eval "ac_cv_lib_$ac_lib_var=yes" | 4562 eval "ac_cv_lib_$ac_lib_var=yes" |
4537 else | 4563 else |
4538 echo "configure: failed program was:" >&5 | 4564 echo "configure: failed program was:" >&5 |
4539 cat conftest.$ac_ext >&5 | 4565 cat conftest.$ac_ext >&5 |
4553 | 4579 |
4554 fi | 4580 fi |
4555 | 4581 |
4556 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4582 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4557 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4583 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4558 echo "configure:4559: checking for remove" >&5 | 4584 echo "configure:4585: checking for remove" >&5 |
4559 | 4585 |
4560 cat > conftest.$ac_ext <<EOF | 4586 cat > conftest.$ac_ext <<EOF |
4561 #line 4562 "configure" | 4587 #line 4588 "configure" |
4562 #include "confdefs.h" | 4588 #include "confdefs.h" |
4563 /* System header to define __stub macros and hopefully few prototypes, | 4589 /* System header to define __stub macros and hopefully few prototypes, |
4564 which can conflict with char remove(); below. */ | 4590 which can conflict with char remove(); below. */ |
4565 #include <assert.h> | 4591 #include <assert.h> |
4566 /* Override any gcc2 internal prototype to avoid an error. */ | 4592 /* Override any gcc2 internal prototype to avoid an error. */ |
4579 remove(); | 4605 remove(); |
4580 #endif | 4606 #endif |
4581 | 4607 |
4582 ; return 0; } | 4608 ; return 0; } |
4583 EOF | 4609 EOF |
4584 if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4610 if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4585 rm -rf conftest* | 4611 rm -rf conftest* |
4586 eval "ac_cv_func_remove=yes" | 4612 eval "ac_cv_func_remove=yes" |
4587 else | 4613 else |
4588 echo "configure: failed program was:" >&5 | 4614 echo "configure: failed program was:" >&5 |
4589 cat conftest.$ac_ext >&5 | 4615 cat conftest.$ac_ext >&5 |
4600 fi | 4626 fi |
4601 | 4627 |
4602 if test $ac_cv_func_remove = no; then | 4628 if test $ac_cv_func_remove = no; then |
4603 | 4629 |
4604 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4630 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4605 echo "configure:4606: checking for remove in -lposix" >&5 | 4631 echo "configure:4632: checking for remove in -lposix" >&5 |
4606 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4632 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4607 | 4633 |
4608 xe_check_libs=" -lposix " | 4634 xe_check_libs=" -lposix " |
4609 cat > conftest.$ac_ext <<EOF | 4635 cat > conftest.$ac_ext <<EOF |
4610 #line 4611 "configure" | 4636 #line 4637 "configure" |
4611 #include "confdefs.h" | 4637 #include "confdefs.h" |
4612 /* Override any gcc2 internal prototype to avoid an error. */ | 4638 /* Override any gcc2 internal prototype to avoid an error. */ |
4613 /* We use char because int might match the return type of a gcc2 | 4639 /* We use char because int might match the return type of a gcc2 |
4614 builtin and then its argument prototype would still apply. */ | 4640 builtin and then its argument prototype would still apply. */ |
4615 char remove(); | 4641 char remove(); |
4616 | 4642 |
4617 int main() { | 4643 int main() { |
4618 remove() | 4644 remove() |
4619 ; return 0; } | 4645 ; return 0; } |
4620 EOF | 4646 EOF |
4621 if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4647 if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4622 rm -rf conftest* | 4648 rm -rf conftest* |
4623 eval "ac_cv_lib_$ac_lib_var=yes" | 4649 eval "ac_cv_lib_$ac_lib_var=yes" |
4624 else | 4650 else |
4625 echo "configure: failed program was:" >&5 | 4651 echo "configure: failed program was:" >&5 |
4626 cat conftest.$ac_ext >&5 | 4652 cat conftest.$ac_ext >&5 |
4640 | 4666 |
4641 fi | 4667 fi |
4642 | 4668 |
4643 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4669 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4644 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4670 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4645 echo "configure:4646: checking for shmat" >&5 | 4671 echo "configure:4672: checking for shmat" >&5 |
4646 | 4672 |
4647 cat > conftest.$ac_ext <<EOF | 4673 cat > conftest.$ac_ext <<EOF |
4648 #line 4649 "configure" | 4674 #line 4675 "configure" |
4649 #include "confdefs.h" | 4675 #include "confdefs.h" |
4650 /* System header to define __stub macros and hopefully few prototypes, | 4676 /* System header to define __stub macros and hopefully few prototypes, |
4651 which can conflict with char shmat(); below. */ | 4677 which can conflict with char shmat(); below. */ |
4652 #include <assert.h> | 4678 #include <assert.h> |
4653 /* Override any gcc2 internal prototype to avoid an error. */ | 4679 /* Override any gcc2 internal prototype to avoid an error. */ |
4666 shmat(); | 4692 shmat(); |
4667 #endif | 4693 #endif |
4668 | 4694 |
4669 ; return 0; } | 4695 ; return 0; } |
4670 EOF | 4696 EOF |
4671 if { (eval echo configure:4672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4697 if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4672 rm -rf conftest* | 4698 rm -rf conftest* |
4673 eval "ac_cv_func_shmat=yes" | 4699 eval "ac_cv_func_shmat=yes" |
4674 else | 4700 else |
4675 echo "configure: failed program was:" >&5 | 4701 echo "configure: failed program was:" >&5 |
4676 cat conftest.$ac_ext >&5 | 4702 cat conftest.$ac_ext >&5 |
4687 fi | 4713 fi |
4688 | 4714 |
4689 if test $ac_cv_func_shmat = no; then | 4715 if test $ac_cv_func_shmat = no; then |
4690 | 4716 |
4691 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4717 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4692 echo "configure:4693: checking for shmat in -lipc" >&5 | 4718 echo "configure:4719: checking for shmat in -lipc" >&5 |
4693 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4719 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4694 | 4720 |
4695 xe_check_libs=" -lipc " | 4721 xe_check_libs=" -lipc " |
4696 cat > conftest.$ac_ext <<EOF | 4722 cat > conftest.$ac_ext <<EOF |
4697 #line 4698 "configure" | 4723 #line 4724 "configure" |
4698 #include "confdefs.h" | 4724 #include "confdefs.h" |
4699 /* Override any gcc2 internal prototype to avoid an error. */ | 4725 /* Override any gcc2 internal prototype to avoid an error. */ |
4700 /* We use char because int might match the return type of a gcc2 | 4726 /* We use char because int might match the return type of a gcc2 |
4701 builtin and then its argument prototype would still apply. */ | 4727 builtin and then its argument prototype would still apply. */ |
4702 char shmat(); | 4728 char shmat(); |
4703 | 4729 |
4704 int main() { | 4730 int main() { |
4705 shmat() | 4731 shmat() |
4706 ; return 0; } | 4732 ; return 0; } |
4707 EOF | 4733 EOF |
4708 if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4734 if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4709 rm -rf conftest* | 4735 rm -rf conftest* |
4710 eval "ac_cv_lib_$ac_lib_var=yes" | 4736 eval "ac_cv_lib_$ac_lib_var=yes" |
4711 else | 4737 else |
4712 echo "configure: failed program was:" >&5 | 4738 echo "configure: failed program was:" >&5 |
4713 cat conftest.$ac_ext >&5 | 4739 cat conftest.$ac_ext >&5 |
4737 # These have to be linked with before -lX11, unlike the other | 4763 # These have to be linked with before -lX11, unlike the other |
4738 # libraries we check for below, so use a different variable. | 4764 # libraries we check for below, so use a different variable. |
4739 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4765 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4740 | 4766 |
4741 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4767 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4742 echo "configure:4743: checking for IceConnectionNumber in -lICE" >&5 | 4768 echo "configure:4769: checking for IceConnectionNumber in -lICE" >&5 |
4743 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4769 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4744 | 4770 |
4745 xe_check_libs=" -lICE " | 4771 xe_check_libs=" -lICE " |
4746 cat > conftest.$ac_ext <<EOF | 4772 cat > conftest.$ac_ext <<EOF |
4747 #line 4748 "configure" | 4773 #line 4774 "configure" |
4748 #include "confdefs.h" | 4774 #include "confdefs.h" |
4749 /* Override any gcc2 internal prototype to avoid an error. */ | 4775 /* Override any gcc2 internal prototype to avoid an error. */ |
4750 /* We use char because int might match the return type of a gcc2 | 4776 /* We use char because int might match the return type of a gcc2 |
4751 builtin and then its argument prototype would still apply. */ | 4777 builtin and then its argument prototype would still apply. */ |
4752 char IceConnectionNumber(); | 4778 char IceConnectionNumber(); |
4753 | 4779 |
4754 int main() { | 4780 int main() { |
4755 IceConnectionNumber() | 4781 IceConnectionNumber() |
4756 ; return 0; } | 4782 ; return 0; } |
4757 EOF | 4783 EOF |
4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4784 if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4759 rm -rf conftest* | 4785 rm -rf conftest* |
4760 eval "ac_cv_lib_$ac_lib_var=yes" | 4786 eval "ac_cv_lib_$ac_lib_var=yes" |
4761 else | 4787 else |
4762 echo "configure: failed program was:" >&5 | 4788 echo "configure: failed program was:" >&5 |
4763 cat conftest.$ac_ext >&5 | 4789 cat conftest.$ac_ext >&5 |
4790 no ) window_system=none HAVE_X_WINDOWS=no ;; | 4816 no ) window_system=none HAVE_X_WINDOWS=no ;; |
4791 esac | 4817 esac |
4792 | 4818 |
4793 if test "$window_system" = "none"; then | 4819 if test "$window_system" = "none"; then |
4794 echo "checking for MS-Windows" 1>&6 | 4820 echo "checking for MS-Windows" 1>&6 |
4795 echo "configure:4796: checking for MS-Windows" >&5 | 4821 echo "configure:4822: checking for MS-Windows" >&5 |
4796 | 4822 |
4797 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 4823 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
4798 echo "configure:4799: checking for main in -lgdi32" >&5 | 4824 echo "configure:4825: checking for main in -lgdi32" >&5 |
4799 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 4825 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
4800 | 4826 |
4801 xe_check_libs=" -lgdi32 " | 4827 xe_check_libs=" -lgdi32 " |
4802 cat > conftest.$ac_ext <<EOF | 4828 cat > conftest.$ac_ext <<EOF |
4803 #line 4804 "configure" | 4829 #line 4830 "configure" |
4804 #include "confdefs.h" | 4830 #include "confdefs.h" |
4805 | 4831 |
4806 int main() { | 4832 int main() { |
4807 main() | 4833 main() |
4808 ; return 0; } | 4834 ; return 0; } |
4809 EOF | 4835 EOF |
4810 if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4836 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4811 rm -rf conftest* | 4837 rm -rf conftest* |
4812 eval "ac_cv_lib_$ac_lib_var=yes" | 4838 eval "ac_cv_lib_$ac_lib_var=yes" |
4813 else | 4839 else |
4814 echo "configure: failed program was:" >&5 | 4840 echo "configure: failed program was:" >&5 |
4815 cat conftest.$ac_ext >&5 | 4841 cat conftest.$ac_ext >&5 |
4949 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4975 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
4950 echo | 4976 echo |
4951 fi | 4977 fi |
4952 | 4978 |
4953 echo "checking for X defines extracted by xmkmf" 1>&6 | 4979 echo "checking for X defines extracted by xmkmf" 1>&6 |
4954 echo "configure:4955: checking for X defines extracted by xmkmf" >&5 | 4980 echo "configure:4981: checking for X defines extracted by xmkmf" >&5 |
4955 rm -fr conftestdir | 4981 rm -fr conftestdir |
4956 if mkdir conftestdir; then | 4982 if mkdir conftestdir; then |
4957 cd conftestdir | 4983 cd conftestdir |
4958 cat > Imakefile <<'EOF' | 4984 cat > Imakefile <<'EOF' |
4959 xetest: | 4985 xetest: |
4981 done | 5007 done |
4982 fi | 5008 fi |
4983 | 5009 |
4984 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5010 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
4985 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5011 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
4986 echo "configure:4987: checking for X11/Intrinsic.h" >&5 | 5012 echo "configure:5013: checking for X11/Intrinsic.h" >&5 |
4987 | 5013 |
4988 cat > conftest.$ac_ext <<EOF | 5014 cat > conftest.$ac_ext <<EOF |
4989 #line 4990 "configure" | 5015 #line 5016 "configure" |
4990 #include "confdefs.h" | 5016 #include "confdefs.h" |
4991 #include <X11/Intrinsic.h> | 5017 #include <X11/Intrinsic.h> |
4992 EOF | 5018 EOF |
4993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4994 { (eval echo configure:4995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5020 { (eval echo configure:5021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4995 ac_err=`grep -v '^ *+' conftest.out` | 5021 ac_err=`grep -v '^ *+' conftest.out` |
4996 if test -z "$ac_err"; then | 5022 if test -z "$ac_err"; then |
4997 rm -rf conftest* | 5023 rm -rf conftest* |
4998 eval "ac_cv_header_$ac_safe=yes" | 5024 eval "ac_cv_header_$ac_safe=yes" |
4999 else | 5025 else |
5013 fi | 5039 fi |
5014 | 5040 |
5015 | 5041 |
5016 | 5042 |
5017 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5043 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5018 echo "configure:5019: checking for XOpenDisplay in -lX11" >&5 | 5044 echo "configure:5045: checking for XOpenDisplay in -lX11" >&5 |
5019 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5045 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5020 | 5046 |
5021 xe_check_libs=" -lX11 " | 5047 xe_check_libs=" -lX11 " |
5022 cat > conftest.$ac_ext <<EOF | 5048 cat > conftest.$ac_ext <<EOF |
5023 #line 5024 "configure" | 5049 #line 5050 "configure" |
5024 #include "confdefs.h" | 5050 #include "confdefs.h" |
5025 /* Override any gcc2 internal prototype to avoid an error. */ | 5051 /* Override any gcc2 internal prototype to avoid an error. */ |
5026 /* We use char because int might match the return type of a gcc2 | 5052 /* We use char because int might match the return type of a gcc2 |
5027 builtin and then its argument prototype would still apply. */ | 5053 builtin and then its argument prototype would still apply. */ |
5028 char XOpenDisplay(); | 5054 char XOpenDisplay(); |
5029 | 5055 |
5030 int main() { | 5056 int main() { |
5031 XOpenDisplay() | 5057 XOpenDisplay() |
5032 ; return 0; } | 5058 ; return 0; } |
5033 EOF | 5059 EOF |
5034 if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5060 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5035 rm -rf conftest* | 5061 rm -rf conftest* |
5036 eval "ac_cv_lib_$ac_lib_var=yes" | 5062 eval "ac_cv_lib_$ac_lib_var=yes" |
5037 else | 5063 else |
5038 echo "configure: failed program was:" >&5 | 5064 echo "configure: failed program was:" >&5 |
5039 cat conftest.$ac_ext >&5 | 5065 cat conftest.$ac_ext >&5 |
5054 if test "$have_lib_x11" != "yes"; then | 5080 if test "$have_lib_x11" != "yes"; then |
5055 | 5081 |
5056 xe_msg_checking="for XGetFontProperty in -lX11" | 5082 xe_msg_checking="for XGetFontProperty in -lX11" |
5057 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5083 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5058 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5084 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5059 echo "configure:5060: checking "$xe_msg_checking"" >&5 | 5085 echo "configure:5086: checking "$xe_msg_checking"" >&5 |
5060 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5086 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5061 | 5087 |
5062 xe_check_libs=" -lX11 -b i486-linuxaout" | 5088 xe_check_libs=" -lX11 -b i486-linuxaout" |
5063 cat > conftest.$ac_ext <<EOF | 5089 cat > conftest.$ac_ext <<EOF |
5064 #line 5065 "configure" | 5090 #line 5091 "configure" |
5065 #include "confdefs.h" | 5091 #include "confdefs.h" |
5066 /* Override any gcc2 internal prototype to avoid an error. */ | 5092 /* Override any gcc2 internal prototype to avoid an error. */ |
5067 /* We use char because int might match the return type of a gcc2 | 5093 /* We use char because int might match the return type of a gcc2 |
5068 builtin and then its argument prototype would still apply. */ | 5094 builtin and then its argument prototype would still apply. */ |
5069 char XGetFontProperty(); | 5095 char XGetFontProperty(); |
5070 | 5096 |
5071 int main() { | 5097 int main() { |
5072 XGetFontProperty() | 5098 XGetFontProperty() |
5073 ; return 0; } | 5099 ; return 0; } |
5074 EOF | 5100 EOF |
5075 if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5101 if { (eval echo configure:5102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5076 rm -rf conftest* | 5102 rm -rf conftest* |
5077 eval "ac_cv_lib_$ac_lib_var=yes" | 5103 eval "ac_cv_lib_$ac_lib_var=yes" |
5078 else | 5104 else |
5079 echo "configure: failed program was:" >&5 | 5105 echo "configure: failed program was:" >&5 |
5080 cat conftest.$ac_ext >&5 | 5106 cat conftest.$ac_ext >&5 |
5097 libs_x="-lX11" | 5123 libs_x="-lX11" |
5098 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5124 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5099 | 5125 |
5100 | 5126 |
5101 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5127 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5102 echo "configure:5103: checking for XShapeSelectInput in -lXext" >&5 | 5128 echo "configure:5129: checking for XShapeSelectInput in -lXext" >&5 |
5103 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5129 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5104 | 5130 |
5105 xe_check_libs=" -lXext " | 5131 xe_check_libs=" -lXext " |
5106 cat > conftest.$ac_ext <<EOF | 5132 cat > conftest.$ac_ext <<EOF |
5107 #line 5108 "configure" | 5133 #line 5134 "configure" |
5108 #include "confdefs.h" | 5134 #include "confdefs.h" |
5109 /* Override any gcc2 internal prototype to avoid an error. */ | 5135 /* Override any gcc2 internal prototype to avoid an error. */ |
5110 /* We use char because int might match the return type of a gcc2 | 5136 /* We use char because int might match the return type of a gcc2 |
5111 builtin and then its argument prototype would still apply. */ | 5137 builtin and then its argument prototype would still apply. */ |
5112 char XShapeSelectInput(); | 5138 char XShapeSelectInput(); |
5113 | 5139 |
5114 int main() { | 5140 int main() { |
5115 XShapeSelectInput() | 5141 XShapeSelectInput() |
5116 ; return 0; } | 5142 ; return 0; } |
5117 EOF | 5143 EOF |
5118 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5144 if { (eval echo configure:5145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5119 rm -rf conftest* | 5145 rm -rf conftest* |
5120 eval "ac_cv_lib_$ac_lib_var=yes" | 5146 eval "ac_cv_lib_$ac_lib_var=yes" |
5121 else | 5147 else |
5122 echo "configure: failed program was:" >&5 | 5148 echo "configure: failed program was:" >&5 |
5123 cat conftest.$ac_ext >&5 | 5149 cat conftest.$ac_ext >&5 |
5136 | 5162 |
5137 | 5163 |
5138 | 5164 |
5139 | 5165 |
5140 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5166 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5141 echo "configure:5142: checking for XtOpenDisplay in -lXt" >&5 | 5167 echo "configure:5168: checking for XtOpenDisplay in -lXt" >&5 |
5142 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5168 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5143 | 5169 |
5144 xe_check_libs=" -lXt " | 5170 xe_check_libs=" -lXt " |
5145 cat > conftest.$ac_ext <<EOF | 5171 cat > conftest.$ac_ext <<EOF |
5146 #line 5147 "configure" | 5172 #line 5173 "configure" |
5147 #include "confdefs.h" | 5173 #include "confdefs.h" |
5148 /* Override any gcc2 internal prototype to avoid an error. */ | 5174 /* Override any gcc2 internal prototype to avoid an error. */ |
5149 /* We use char because int might match the return type of a gcc2 | 5175 /* We use char because int might match the return type of a gcc2 |
5150 builtin and then its argument prototype would still apply. */ | 5176 builtin and then its argument prototype would still apply. */ |
5151 char XtOpenDisplay(); | 5177 char XtOpenDisplay(); |
5152 | 5178 |
5153 int main() { | 5179 int main() { |
5154 XtOpenDisplay() | 5180 XtOpenDisplay() |
5155 ; return 0; } | 5181 ; return 0; } |
5156 EOF | 5182 EOF |
5157 if { (eval echo configure:5158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5183 if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5158 rm -rf conftest* | 5184 rm -rf conftest* |
5159 eval "ac_cv_lib_$ac_lib_var=yes" | 5185 eval "ac_cv_lib_$ac_lib_var=yes" |
5160 else | 5186 else |
5161 echo "configure: failed program was:" >&5 | 5187 echo "configure: failed program was:" >&5 |
5162 cat conftest.$ac_ext >&5 | 5188 cat conftest.$ac_ext >&5 |
5175 fi | 5201 fi |
5176 | 5202 |
5177 | 5203 |
5178 | 5204 |
5179 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5205 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5180 echo "configure:5181: checking the version of X11 being used" >&5 | 5206 echo "configure:5207: checking the version of X11 being used" >&5 |
5181 cat > conftest.$ac_ext <<EOF | 5207 cat > conftest.$ac_ext <<EOF |
5182 #line 5183 "configure" | 5208 #line 5209 "configure" |
5183 #include "confdefs.h" | 5209 #include "confdefs.h" |
5184 #include <X11/Intrinsic.h> | 5210 #include <X11/Intrinsic.h> |
5185 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5211 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5186 EOF | 5212 EOF |
5187 if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5213 if { (eval echo configure:5214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5188 then | 5214 then |
5189 ./conftest foobar; x11_release=$? | 5215 ./conftest foobar; x11_release=$? |
5190 else | 5216 else |
5191 echo "configure: failed program was:" >&5 | 5217 echo "configure: failed program was:" >&5 |
5192 cat conftest.$ac_ext >&5 | 5218 cat conftest.$ac_ext >&5 |
5206 | 5232 |
5207 for ac_hdr in X11/Xlocale.h | 5233 for ac_hdr in X11/Xlocale.h |
5208 do | 5234 do |
5209 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5235 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5210 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5211 echo "configure:5212: checking for $ac_hdr" >&5 | 5237 echo "configure:5238: checking for $ac_hdr" >&5 |
5212 | 5238 |
5213 cat > conftest.$ac_ext <<EOF | 5239 cat > conftest.$ac_ext <<EOF |
5214 #line 5215 "configure" | 5240 #line 5241 "configure" |
5215 #include "confdefs.h" | 5241 #include "confdefs.h" |
5216 #include <$ac_hdr> | 5242 #include <$ac_hdr> |
5217 EOF | 5243 EOF |
5218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5219 { (eval echo configure:5220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5245 { (eval echo configure:5246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5220 ac_err=`grep -v '^ *+' conftest.out` | 5246 ac_err=`grep -v '^ *+' conftest.out` |
5221 if test -z "$ac_err"; then | 5247 if test -z "$ac_err"; then |
5222 rm -rf conftest* | 5248 rm -rf conftest* |
5223 eval "ac_cv_header_$ac_safe=yes" | 5249 eval "ac_cv_header_$ac_safe=yes" |
5224 else | 5250 else |
5245 fi | 5271 fi |
5246 done | 5272 done |
5247 | 5273 |
5248 | 5274 |
5249 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5275 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5250 echo "configure:5251: checking for XFree86" >&5 | 5276 echo "configure:5277: checking for XFree86" >&5 |
5251 if test -d "/usr/X386/include" -o \ | 5277 if test -d "/usr/X386/include" -o \ |
5252 -f "/etc/XF86Config" -o \ | 5278 -f "/etc/XF86Config" -o \ |
5253 -f "/etc/X11/XF86Config" -o \ | 5279 -f "/etc/X11/XF86Config" -o \ |
5254 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5280 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5255 echo "$ac_t""yes" 1>&6 | 5281 echo "$ac_t""yes" 1>&6 |
5265 echo "$ac_t""no" 1>&6 | 5291 echo "$ac_t""no" 1>&6 |
5266 fi | 5292 fi |
5267 | 5293 |
5268 test -z "$with_xmu" && { | 5294 test -z "$with_xmu" && { |
5269 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5295 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5270 echo "configure:5271: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5296 echo "configure:5297: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5271 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5297 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5272 | 5298 |
5273 xe_check_libs=" -lXmu " | 5299 xe_check_libs=" -lXmu " |
5274 cat > conftest.$ac_ext <<EOF | 5300 cat > conftest.$ac_ext <<EOF |
5275 #line 5276 "configure" | 5301 #line 5302 "configure" |
5276 #include "confdefs.h" | 5302 #include "confdefs.h" |
5277 /* Override any gcc2 internal prototype to avoid an error. */ | 5303 /* Override any gcc2 internal prototype to avoid an error. */ |
5278 /* We use char because int might match the return type of a gcc2 | 5304 /* We use char because int might match the return type of a gcc2 |
5279 builtin and then its argument prototype would still apply. */ | 5305 builtin and then its argument prototype would still apply. */ |
5280 char XmuReadBitmapDataFromFile(); | 5306 char XmuReadBitmapDataFromFile(); |
5281 | 5307 |
5282 int main() { | 5308 int main() { |
5283 XmuReadBitmapDataFromFile() | 5309 XmuReadBitmapDataFromFile() |
5284 ; return 0; } | 5310 ; return 0; } |
5285 EOF | 5311 EOF |
5286 if { (eval echo configure:5287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5312 if { (eval echo configure:5313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5287 rm -rf conftest* | 5313 rm -rf conftest* |
5288 eval "ac_cv_lib_$ac_lib_var=yes" | 5314 eval "ac_cv_lib_$ac_lib_var=yes" |
5289 else | 5315 else |
5290 echo "configure: failed program was:" >&5 | 5316 echo "configure: failed program was:" >&5 |
5291 cat conftest.$ac_ext >&5 | 5317 cat conftest.$ac_ext >&5 |
5320 | 5346 |
5321 fi | 5347 fi |
5322 | 5348 |
5323 | 5349 |
5324 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5350 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5325 echo "configure:5326: checking for main in -lXbsd" >&5 | 5351 echo "configure:5352: checking for main in -lXbsd" >&5 |
5326 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5352 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5327 | 5353 |
5328 xe_check_libs=" -lXbsd " | 5354 xe_check_libs=" -lXbsd " |
5329 cat > conftest.$ac_ext <<EOF | 5355 cat > conftest.$ac_ext <<EOF |
5330 #line 5331 "configure" | 5356 #line 5357 "configure" |
5331 #include "confdefs.h" | 5357 #include "confdefs.h" |
5332 | 5358 |
5333 int main() { | 5359 int main() { |
5334 main() | 5360 main() |
5335 ; return 0; } | 5361 ; return 0; } |
5336 EOF | 5362 EOF |
5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5363 if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5338 rm -rf conftest* | 5364 rm -rf conftest* |
5339 eval "ac_cv_lib_$ac_lib_var=yes" | 5365 eval "ac_cv_lib_$ac_lib_var=yes" |
5340 else | 5366 else |
5341 echo "configure: failed program was:" >&5 | 5367 echo "configure: failed program was:" >&5 |
5342 cat conftest.$ac_ext >&5 | 5368 cat conftest.$ac_ext >&5 |
5352 else | 5378 else |
5353 echo "$ac_t""no" 1>&6 | 5379 echo "$ac_t""no" 1>&6 |
5354 fi | 5380 fi |
5355 | 5381 |
5356 | 5382 |
5383 | |
5384 if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then | |
5385 libs_x="$libs_x -lc_r" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lc_r\" to \$libs_x"; fi | |
5386 fi | |
5357 | 5387 |
5358 fi | 5388 fi |
5359 test -z "$window_system" && window_system="none" | 5389 test -z "$window_system" && window_system="none" |
5360 | 5390 |
5361 if test "$window_system" = "none" ; then | 5391 if test "$window_system" = "none" ; then |
5387 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5417 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5388 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5418 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5389 esac | 5419 esac |
5390 | 5420 |
5391 echo "checking for session-management option" 1>&6 | 5421 echo "checking for session-management option" 1>&6 |
5392 echo "configure:5393: checking for session-management option" >&5; | 5422 echo "configure:5423: checking for session-management option" >&5; |
5393 if test "$with_session" != "no"; then | 5423 if test "$with_session" != "no"; then |
5394 { test "$extra_verbose" = "yes" && cat << \EOF | 5424 { test "$extra_verbose" = "yes" && cat << \EOF |
5395 Defining HAVE_SESSION | 5425 Defining HAVE_SESSION |
5396 EOF | 5426 EOF |
5397 cat >> confdefs.h <<\EOF | 5427 cat >> confdefs.h <<\EOF |
5402 fi | 5432 fi |
5403 | 5433 |
5404 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5434 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5405 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5435 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5406 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5436 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5407 echo "configure:5408: checking for X11/Xauth.h" >&5 | 5437 echo "configure:5438: checking for X11/Xauth.h" >&5 |
5408 | 5438 |
5409 cat > conftest.$ac_ext <<EOF | 5439 cat > conftest.$ac_ext <<EOF |
5410 #line 5411 "configure" | 5440 #line 5441 "configure" |
5411 #include "confdefs.h" | 5441 #include "confdefs.h" |
5412 #include <X11/Xauth.h> | 5442 #include <X11/Xauth.h> |
5413 EOF | 5443 EOF |
5414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5415 { (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5445 { (eval echo configure:5446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5416 ac_err=`grep -v '^ *+' conftest.out` | 5446 ac_err=`grep -v '^ *+' conftest.out` |
5417 if test -z "$ac_err"; then | 5447 if test -z "$ac_err"; then |
5418 rm -rf conftest* | 5448 rm -rf conftest* |
5419 eval "ac_cv_header_$ac_safe=yes" | 5449 eval "ac_cv_header_$ac_safe=yes" |
5420 else | 5450 else |
5433 with_xauth=no | 5463 with_xauth=no |
5434 fi | 5464 fi |
5435 } | 5465 } |
5436 test -z "$with_xauth" && { | 5466 test -z "$with_xauth" && { |
5437 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5467 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5438 echo "configure:5439: checking for XauGetAuthByAddr in -lXau" >&5 | 5468 echo "configure:5469: checking for XauGetAuthByAddr in -lXau" >&5 |
5439 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5469 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5440 | 5470 |
5441 xe_check_libs=" -lXau " | 5471 xe_check_libs=" -lXau " |
5442 cat > conftest.$ac_ext <<EOF | 5472 cat > conftest.$ac_ext <<EOF |
5443 #line 5444 "configure" | 5473 #line 5474 "configure" |
5444 #include "confdefs.h" | 5474 #include "confdefs.h" |
5445 /* Override any gcc2 internal prototype to avoid an error. */ | 5475 /* Override any gcc2 internal prototype to avoid an error. */ |
5446 /* We use char because int might match the return type of a gcc2 | 5476 /* We use char because int might match the return type of a gcc2 |
5447 builtin and then its argument prototype would still apply. */ | 5477 builtin and then its argument prototype would still apply. */ |
5448 char XauGetAuthByAddr(); | 5478 char XauGetAuthByAddr(); |
5449 | 5479 |
5450 int main() { | 5480 int main() { |
5451 XauGetAuthByAddr() | 5481 XauGetAuthByAddr() |
5452 ; return 0; } | 5482 ; return 0; } |
5453 EOF | 5483 EOF |
5454 if { (eval echo configure:5455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5484 if { (eval echo configure:5485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5455 rm -rf conftest* | 5485 rm -rf conftest* |
5456 eval "ac_cv_lib_$ac_lib_var=yes" | 5486 eval "ac_cv_lib_$ac_lib_var=yes" |
5457 else | 5487 else |
5458 echo "configure: failed program was:" >&5 | 5488 echo "configure: failed program was:" >&5 |
5459 cat conftest.$ac_ext >&5 | 5489 cat conftest.$ac_ext >&5 |
5509 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5539 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5510 if test "$with_tooltalk" != "no" ; then | 5540 if test "$with_tooltalk" != "no" ; then |
5511 for dir in "" "Tt/" "desktop/" ; do | 5541 for dir in "" "Tt/" "desktop/" ; do |
5512 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5542 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5513 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5543 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5514 echo "configure:5515: checking for ${dir}tt_c.h" >&5 | 5544 echo "configure:5545: checking for ${dir}tt_c.h" >&5 |
5515 | 5545 |
5516 cat > conftest.$ac_ext <<EOF | 5546 cat > conftest.$ac_ext <<EOF |
5517 #line 5518 "configure" | 5547 #line 5548 "configure" |
5518 #include "confdefs.h" | 5548 #include "confdefs.h" |
5519 #include <${dir}tt_c.h> | 5549 #include <${dir}tt_c.h> |
5520 EOF | 5550 EOF |
5521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5522 { (eval echo configure:5523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5552 { (eval echo configure:5553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5523 ac_err=`grep -v '^ *+' conftest.out` | 5553 ac_err=`grep -v '^ *+' conftest.out` |
5524 if test -z "$ac_err"; then | 5554 if test -z "$ac_err"; then |
5525 rm -rf conftest* | 5555 rm -rf conftest* |
5526 eval "ac_cv_header_$ac_safe=yes" | 5556 eval "ac_cv_header_$ac_safe=yes" |
5527 else | 5557 else |
5546 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5576 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5547 | 5577 |
5548 xe_msg_checking="for tt_message_create in -ltt" | 5578 xe_msg_checking="for tt_message_create in -ltt" |
5549 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5579 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5550 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5580 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5551 echo "configure:5552: checking "$xe_msg_checking"" >&5 | 5581 echo "configure:5582: checking "$xe_msg_checking"" >&5 |
5552 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5582 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5553 | 5583 |
5554 xe_check_libs=" -ltt $extra_libs" | 5584 xe_check_libs=" -ltt $extra_libs" |
5555 cat > conftest.$ac_ext <<EOF | 5585 cat > conftest.$ac_ext <<EOF |
5556 #line 5557 "configure" | 5586 #line 5587 "configure" |
5557 #include "confdefs.h" | 5587 #include "confdefs.h" |
5558 /* Override any gcc2 internal prototype to avoid an error. */ | 5588 /* Override any gcc2 internal prototype to avoid an error. */ |
5559 /* We use char because int might match the return type of a gcc2 | 5589 /* We use char because int might match the return type of a gcc2 |
5560 builtin and then its argument prototype would still apply. */ | 5590 builtin and then its argument prototype would still apply. */ |
5561 char tt_message_create(); | 5591 char tt_message_create(); |
5562 | 5592 |
5563 int main() { | 5593 int main() { |
5564 tt_message_create() | 5594 tt_message_create() |
5565 ; return 0; } | 5595 ; return 0; } |
5566 EOF | 5596 EOF |
5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5597 if { (eval echo configure:5598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5568 rm -rf conftest* | 5598 rm -rf conftest* |
5569 eval "ac_cv_lib_$ac_lib_var=yes" | 5599 eval "ac_cv_lib_$ac_lib_var=yes" |
5570 else | 5600 else |
5571 echo "configure: failed program was:" >&5 | 5601 echo "configure: failed program was:" >&5 |
5572 cat conftest.$ac_ext >&5 | 5602 cat conftest.$ac_ext >&5 |
5611 fi | 5641 fi |
5612 fi | 5642 fi |
5613 | 5643 |
5614 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5644 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5615 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5645 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5616 echo "configure:5617: checking for Dt/Dt.h" >&5 | 5646 echo "configure:5647: checking for Dt/Dt.h" >&5 |
5617 | 5647 |
5618 cat > conftest.$ac_ext <<EOF | 5648 cat > conftest.$ac_ext <<EOF |
5619 #line 5620 "configure" | 5649 #line 5650 "configure" |
5620 #include "confdefs.h" | 5650 #include "confdefs.h" |
5621 #include <Dt/Dt.h> | 5651 #include <Dt/Dt.h> |
5622 EOF | 5652 EOF |
5623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5624 { (eval echo configure:5625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5654 { (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5625 ac_err=`grep -v '^ *+' conftest.out` | 5655 ac_err=`grep -v '^ *+' conftest.out` |
5626 if test -z "$ac_err"; then | 5656 if test -z "$ac_err"; then |
5627 rm -rf conftest* | 5657 rm -rf conftest* |
5628 eval "ac_cv_header_$ac_safe=yes" | 5658 eval "ac_cv_header_$ac_safe=yes" |
5629 else | 5659 else |
5642 with_cde=no | 5672 with_cde=no |
5643 fi | 5673 fi |
5644 } | 5674 } |
5645 test -z "$with_cde" && { | 5675 test -z "$with_cde" && { |
5646 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5676 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5647 echo "configure:5648: checking for DtDndDragStart in -lDtSvc" >&5 | 5677 echo "configure:5678: checking for DtDndDragStart in -lDtSvc" >&5 |
5648 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5678 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5649 | 5679 |
5650 xe_check_libs=" -lDtSvc " | 5680 xe_check_libs=" -lDtSvc " |
5651 cat > conftest.$ac_ext <<EOF | 5681 cat > conftest.$ac_ext <<EOF |
5652 #line 5653 "configure" | 5682 #line 5683 "configure" |
5653 #include "confdefs.h" | 5683 #include "confdefs.h" |
5654 /* Override any gcc2 internal prototype to avoid an error. */ | 5684 /* Override any gcc2 internal prototype to avoid an error. */ |
5655 /* We use char because int might match the return type of a gcc2 | 5685 /* We use char because int might match the return type of a gcc2 |
5656 builtin and then its argument prototype would still apply. */ | 5686 builtin and then its argument prototype would still apply. */ |
5657 char DtDndDragStart(); | 5687 char DtDndDragStart(); |
5658 | 5688 |
5659 int main() { | 5689 int main() { |
5660 DtDndDragStart() | 5690 DtDndDragStart() |
5661 ; return 0; } | 5691 ; return 0; } |
5662 EOF | 5692 EOF |
5663 if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5693 if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5664 rm -rf conftest* | 5694 rm -rf conftest* |
5665 eval "ac_cv_lib_$ac_lib_var=yes" | 5695 eval "ac_cv_lib_$ac_lib_var=yes" |
5666 else | 5696 else |
5667 echo "configure: failed program was:" >&5 | 5697 echo "configure: failed program was:" >&5 |
5668 cat conftest.$ac_ext >&5 | 5698 cat conftest.$ac_ext >&5 |
5698 | 5728 |
5699 | 5729 |
5700 if test "$with_x11" = "yes"; then | 5730 if test "$with_x11" = "yes"; then |
5701 | 5731 |
5702 echo "checking for X11 graphics libraries" 1>&6 | 5732 echo "checking for X11 graphics libraries" 1>&6 |
5703 echo "configure:5704: checking for X11 graphics libraries" >&5 | 5733 echo "configure:5734: checking for X11 graphics libraries" >&5 |
5734 | |
5704 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5735 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
5705 echo "configure:5706: checking for Xpm - no older than 3.4f" >&5 | 5736 echo "configure:5737: checking for Xpm - no older than 3.4f" >&5 |
5706 xe_check_libs=-lXpm | 5737 xe_check_libs=-lXpm |
5707 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5738 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
5708 #line 5709 "configure" | 5739 #line 5740 "configure" |
5709 #include "confdefs.h" | 5740 #include "confdefs.h" |
5710 #include <X11/xpm.h> | 5741 #include <X11/xpm.h> |
5711 int main(int c, char **v) { | 5742 int main(int c, char **v) { |
5712 return c == 1 ? 0 : | 5743 return c == 1 ? 0 : |
5713 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5744 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
5714 XpmIncludeVersion < 30406 ? 2 : | 5745 XpmIncludeVersion < 30406 ? 2 : |
5715 0 ; | 5746 0 ; |
5716 } | 5747 } |
5717 EOF | 5748 EOF |
5718 if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5749 if { (eval echo configure:5750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5719 then | 5750 then |
5720 ./conftest foobar; xpm_status=$?; | 5751 ./conftest foobar; xpm_status=$?; |
5721 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5752 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
5722 else | 5753 else |
5723 echo "configure: failed program was:" >&5 | 5754 echo "configure: failed program was:" >&5 |
5751 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5782 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
5752 fi | 5783 fi |
5753 | 5784 |
5754 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5785 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
5755 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5786 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
5756 echo "configure:5757: checking for compface.h" >&5 | 5787 echo "configure:5788: checking for compface.h" >&5 |
5757 | 5788 |
5758 cat > conftest.$ac_ext <<EOF | 5789 cat > conftest.$ac_ext <<EOF |
5759 #line 5760 "configure" | 5790 #line 5791 "configure" |
5760 #include "confdefs.h" | 5791 #include "confdefs.h" |
5761 #include <compface.h> | 5792 #include <compface.h> |
5762 EOF | 5793 EOF |
5763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5764 { (eval echo configure:5765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5795 { (eval echo configure:5796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5765 ac_err=`grep -v '^ *+' conftest.out` | 5796 ac_err=`grep -v '^ *+' conftest.out` |
5766 if test -z "$ac_err"; then | 5797 if test -z "$ac_err"; then |
5767 rm -rf conftest* | 5798 rm -rf conftest* |
5768 eval "ac_cv_header_$ac_safe=yes" | 5799 eval "ac_cv_header_$ac_safe=yes" |
5769 else | 5800 else |
5782 with_xface=no | 5813 with_xface=no |
5783 fi | 5814 fi |
5784 } | 5815 } |
5785 test -z "$with_xface" && { | 5816 test -z "$with_xface" && { |
5786 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5817 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
5787 echo "configure:5788: checking for UnGenFace in -lcompface" >&5 | 5818 echo "configure:5819: checking for UnGenFace in -lcompface" >&5 |
5788 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5819 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
5789 | 5820 |
5790 xe_check_libs=" -lcompface " | 5821 xe_check_libs=" -lcompface " |
5791 cat > conftest.$ac_ext <<EOF | 5822 cat > conftest.$ac_ext <<EOF |
5792 #line 5793 "configure" | 5823 #line 5824 "configure" |
5793 #include "confdefs.h" | 5824 #include "confdefs.h" |
5794 /* Override any gcc2 internal prototype to avoid an error. */ | 5825 /* Override any gcc2 internal prototype to avoid an error. */ |
5795 /* We use char because int might match the return type of a gcc2 | 5826 /* We use char because int might match the return type of a gcc2 |
5796 builtin and then its argument prototype would still apply. */ | 5827 builtin and then its argument prototype would still apply. */ |
5797 char UnGenFace(); | 5828 char UnGenFace(); |
5798 | 5829 |
5799 int main() { | 5830 int main() { |
5800 UnGenFace() | 5831 UnGenFace() |
5801 ; return 0; } | 5832 ; return 0; } |
5802 EOF | 5833 EOF |
5803 if { (eval echo configure:5804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5834 if { (eval echo configure:5835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5804 rm -rf conftest* | 5835 rm -rf conftest* |
5805 eval "ac_cv_lib_$ac_lib_var=yes" | 5836 eval "ac_cv_lib_$ac_lib_var=yes" |
5806 else | 5837 else |
5807 echo "configure: failed program was:" >&5 | 5838 echo "configure: failed program was:" >&5 |
5808 cat conftest.$ac_ext >&5 | 5839 cat conftest.$ac_ext >&5 |
5834 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5865 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
5835 fi | 5866 fi |
5836 | 5867 |
5837 test "$with_imagick" != "no" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` | 5868 test "$with_imagick" != "no" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` |
5838 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 | 5869 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 |
5839 echo "configure:5840: checking for magick/magick.h" >&5 | 5870 echo "configure:5871: checking for magick/magick.h" >&5 |
5840 | 5871 |
5841 cat > conftest.$ac_ext <<EOF | 5872 cat > conftest.$ac_ext <<EOF |
5842 #line 5843 "configure" | 5873 #line 5874 "configure" |
5843 #include "confdefs.h" | 5874 #include "confdefs.h" |
5844 #include <magick/magick.h> | 5875 #include <magick/magick.h> |
5845 EOF | 5876 EOF |
5846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5847 { (eval echo configure:5848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5878 { (eval echo configure:5879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5848 ac_err=`grep -v '^ *+' conftest.out` | 5879 ac_err=`grep -v '^ *+' conftest.out` |
5849 if test -z "$ac_err"; then | 5880 if test -z "$ac_err"; then |
5850 rm -rf conftest* | 5881 rm -rf conftest* |
5851 eval "ac_cv_header_$ac_safe=yes" | 5882 eval "ac_cv_header_$ac_safe=yes" |
5852 else | 5883 else |
5862 : | 5893 : |
5863 else | 5894 else |
5864 echo "$ac_t""no" 1>&6 | 5895 echo "$ac_t""no" 1>&6 |
5865 ac_safe=`echo "X11/magick/magick.h" | sed 'y%./+-%__p_%'` | 5896 ac_safe=`echo "X11/magick/magick.h" | sed 'y%./+-%__p_%'` |
5866 echo $ac_n "checking for X11/magick/magick.h""... $ac_c" 1>&6 | 5897 echo $ac_n "checking for X11/magick/magick.h""... $ac_c" 1>&6 |
5867 echo "configure:5868: checking for X11/magick/magick.h" >&5 | 5898 echo "configure:5899: checking for X11/magick/magick.h" >&5 |
5868 | 5899 |
5869 cat > conftest.$ac_ext <<EOF | 5900 cat > conftest.$ac_ext <<EOF |
5870 #line 5871 "configure" | 5901 #line 5902 "configure" |
5871 #include "confdefs.h" | 5902 #include "confdefs.h" |
5872 #include <X11/magick/magick.h> | 5903 #include <X11/magick/magick.h> |
5873 EOF | 5904 EOF |
5874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5875 { (eval echo configure:5876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5906 { (eval echo configure:5907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5876 ac_err=`grep -v '^ *+' conftest.out` | 5907 ac_err=`grep -v '^ *+' conftest.out` |
5877 if test -z "$ac_err"; then | 5908 if test -z "$ac_err"; then |
5878 rm -rf conftest* | 5909 rm -rf conftest* |
5879 eval "ac_cv_header_$ac_safe=yes" | 5910 eval "ac_cv_header_$ac_safe=yes" |
5880 else | 5911 else |
5901 fi | 5932 fi |
5902 | 5933 |
5903 fi | 5934 fi |
5904 } | 5935 } |
5905 test "$with_imagick" != "no" && { | 5936 test "$with_imagick" != "no" && { |
5906 imagick_libs="" | 5937 z_libs="" |
5938 | |
5939 echo $ac_n "checking for inflateInit_ in -lz""... $ac_c" 1>&6 | |
5940 echo "configure:5941: checking for inflateInit_ in -lz" >&5 | |
5941 ac_lib_var=`echo z'_'inflateInit_ | sed 'y%./+-%__p_%'` | |
5942 | |
5943 xe_check_libs=" -lz " | |
5944 cat > conftest.$ac_ext <<EOF | |
5945 #line 5946 "configure" | |
5946 #include "confdefs.h" | |
5947 /* Override any gcc2 internal prototype to avoid an error. */ | |
5948 /* We use char because int might match the return type of a gcc2 | |
5949 builtin and then its argument prototype would still apply. */ | |
5950 char inflateInit_(); | |
5951 | |
5952 int main() { | |
5953 inflateInit_() | |
5954 ; return 0; } | |
5955 EOF | |
5956 if { (eval echo configure:5957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5957 rm -rf conftest* | |
5958 eval "ac_cv_lib_$ac_lib_var=yes" | |
5959 else | |
5960 echo "configure: failed program was:" >&5 | |
5961 cat conftest.$ac_ext >&5 | |
5962 rm -rf conftest* | |
5963 eval "ac_cv_lib_$ac_lib_var=no" | |
5964 fi | |
5965 rm -f conftest* | |
5966 xe_check_libs="" | |
5967 | |
5968 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
5969 echo "$ac_t""yes" 1>&6 | |
5970 z_libs="$z_libs -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lz\" to \$z_libs"; fi | |
5971 else | |
5972 echo "$ac_t""no" 1>&6 | |
5973 echo $ac_n "checking for inflateInit_ in -lgz""... $ac_c" 1>&6 | |
5974 echo "configure:5975: checking for inflateInit_ in -lgz" >&5 | |
5975 ac_lib_var=`echo gz'_'inflateInit_ | sed 'y%./+-%__p_%'` | |
5976 | |
5977 xe_check_libs=" -lgz " | |
5978 cat > conftest.$ac_ext <<EOF | |
5979 #line 5980 "configure" | |
5980 #include "confdefs.h" | |
5981 /* Override any gcc2 internal prototype to avoid an error. */ | |
5982 /* We use char because int might match the return type of a gcc2 | |
5983 builtin and then its argument prototype would still apply. */ | |
5984 char inflateInit_(); | |
5985 | |
5986 int main() { | |
5987 inflateInit_() | |
5988 ; return 0; } | |
5989 EOF | |
5990 if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
5991 rm -rf conftest* | |
5992 eval "ac_cv_lib_$ac_lib_var=yes" | |
5993 else | |
5994 echo "configure: failed program was:" >&5 | |
5995 cat conftest.$ac_ext >&5 | |
5996 rm -rf conftest* | |
5997 eval "ac_cv_lib_$ac_lib_var=no" | |
5998 fi | |
5999 rm -f conftest* | |
6000 xe_check_libs="" | |
6001 | |
6002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6003 echo "$ac_t""yes" 1>&6 | |
6004 z_libs="$z_libs -lgz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lgz\" to \$z_libs"; fi | |
6005 else | |
6006 echo "$ac_t""no" 1>&6 | |
6007 fi | |
6008 | |
6009 | |
6010 fi | |
6011 | |
6012 | |
6013 | |
6014 imagick_libs="" | |
5907 | 6015 |
5908 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 | 6016 echo $ac_n "checking for XDPSPixelsPerPoint in -ldps""... $ac_c" 1>&6 |
5909 echo "configure:5910: checking for XDPSPixelsPerPoint in -ldps" >&5 | 6017 echo "configure:6018: checking for XDPSPixelsPerPoint in -ldps" >&5 |
5910 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` | 6018 ac_lib_var=`echo dps'_'XDPSPixelsPerPoint | sed 'y%./+-%__p_%'` |
5911 | 6019 |
5912 xe_check_libs="-ldpstk -ldps " | 6020 xe_check_libs="-ldpstk -ldps " |
5913 cat > conftest.$ac_ext <<EOF | 6021 cat > conftest.$ac_ext <<EOF |
5914 #line 5915 "configure" | 6022 #line 6023 "configure" |
5915 #include "confdefs.h" | 6023 #include "confdefs.h" |
5916 /* Override any gcc2 internal prototype to avoid an error. */ | 6024 /* Override any gcc2 internal prototype to avoid an error. */ |
5917 /* We use char because int might match the return type of a gcc2 | 6025 /* We use char because int might match the return type of a gcc2 |
5918 builtin and then its argument prototype would still apply. */ | 6026 builtin and then its argument prototype would still apply. */ |
5919 char XDPSPixelsPerPoint(); | 6027 char XDPSPixelsPerPoint(); |
5920 | 6028 |
5921 int main() { | 6029 int main() { |
5922 XDPSPixelsPerPoint() | 6030 XDPSPixelsPerPoint() |
5923 ; return 0; } | 6031 ; return 0; } |
5924 EOF | 6032 EOF |
5925 if { (eval echo configure:5926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6033 if { (eval echo configure:6034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5926 rm -rf conftest* | 6034 rm -rf conftest* |
5927 eval "ac_cv_lib_$ac_lib_var=yes" | 6035 eval "ac_cv_lib_$ac_lib_var=yes" |
5928 else | 6036 else |
5929 echo "configure: failed program was:" >&5 | 6037 echo "configure: failed program was:" >&5 |
5930 cat conftest.$ac_ext >&5 | 6038 cat conftest.$ac_ext >&5 |
5942 fi | 6050 fi |
5943 | 6051 |
5944 | 6052 |
5945 | 6053 |
5946 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 | 6054 echo $ac_n "checking for FPX_SetToolkitMemoryLimit in -lfpx""... $ac_c" 1>&6 |
5947 echo "configure:5948: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 | 6055 echo "configure:6056: checking for FPX_SetToolkitMemoryLimit in -lfpx" >&5 |
5948 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` | 6056 ac_lib_var=`echo fpx'_'FPX_SetToolkitMemoryLimit | sed 'y%./+-%__p_%'` |
5949 | 6057 |
5950 xe_check_libs=" -lfpx " | 6058 xe_check_libs=" -lfpx " |
5951 cat > conftest.$ac_ext <<EOF | 6059 cat > conftest.$ac_ext <<EOF |
5952 #line 5953 "configure" | 6060 #line 6061 "configure" |
5953 #include "confdefs.h" | 6061 #include "confdefs.h" |
5954 /* Override any gcc2 internal prototype to avoid an error. */ | 6062 /* Override any gcc2 internal prototype to avoid an error. */ |
5955 /* We use char because int might match the return type of a gcc2 | 6063 /* We use char because int might match the return type of a gcc2 |
5956 builtin and then its argument prototype would still apply. */ | 6064 builtin and then its argument prototype would still apply. */ |
5957 char FPX_SetToolkitMemoryLimit(); | 6065 char FPX_SetToolkitMemoryLimit(); |
5958 | 6066 |
5959 int main() { | 6067 int main() { |
5960 FPX_SetToolkitMemoryLimit() | 6068 FPX_SetToolkitMemoryLimit() |
5961 ; return 0; } | 6069 ; return 0; } |
5962 EOF | 6070 EOF |
5963 if { (eval echo configure:5964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6071 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5964 rm -rf conftest* | 6072 rm -rf conftest* |
5965 eval "ac_cv_lib_$ac_lib_var=yes" | 6073 eval "ac_cv_lib_$ac_lib_var=yes" |
5966 else | 6074 else |
5967 echo "configure: failed program was:" >&5 | 6075 echo "configure: failed program was:" >&5 |
5968 cat conftest.$ac_ext >&5 | 6076 cat conftest.$ac_ext >&5 |
5980 fi | 6088 fi |
5981 | 6089 |
5982 | 6090 |
5983 | 6091 |
5984 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 | 6092 echo $ac_n "checking for DF24getdims in -ldf""... $ac_c" 1>&6 |
5985 echo "configure:5986: checking for DF24getdims in -ldf" >&5 | 6093 echo "configure:6094: checking for DF24getdims in -ldf" >&5 |
5986 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` | 6094 ac_lib_var=`echo df'_'DF24getdims | sed 'y%./+-%__p_%'` |
5987 | 6095 |
5988 xe_check_libs=" -ldf " | 6096 xe_check_libs=" -ldf " |
5989 cat > conftest.$ac_ext <<EOF | 6097 cat > conftest.$ac_ext <<EOF |
5990 #line 5991 "configure" | 6098 #line 6099 "configure" |
5991 #include "confdefs.h" | 6099 #include "confdefs.h" |
5992 /* Override any gcc2 internal prototype to avoid an error. */ | 6100 /* Override any gcc2 internal prototype to avoid an error. */ |
5993 /* We use char because int might match the return type of a gcc2 | 6101 /* We use char because int might match the return type of a gcc2 |
5994 builtin and then its argument prototype would still apply. */ | 6102 builtin and then its argument prototype would still apply. */ |
5995 char DF24getdims(); | 6103 char DF24getdims(); |
5996 | 6104 |
5997 int main() { | 6105 int main() { |
5998 DF24getdims() | 6106 DF24getdims() |
5999 ; return 0; } | 6107 ; return 0; } |
6000 EOF | 6108 EOF |
6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6002 rm -rf conftest* | 6110 rm -rf conftest* |
6003 eval "ac_cv_lib_$ac_lib_var=yes" | 6111 eval "ac_cv_lib_$ac_lib_var=yes" |
6004 else | 6112 else |
6005 echo "configure: failed program was:" >&5 | 6113 echo "configure: failed program was:" >&5 |
6006 cat conftest.$ac_ext >&5 | 6114 cat conftest.$ac_ext >&5 |
6018 fi | 6126 fi |
6019 | 6127 |
6020 | 6128 |
6021 | 6129 |
6022 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 | 6130 echo $ac_n "checking for jbg_dec_init in -ljbig""... $ac_c" 1>&6 |
6023 echo "configure:6024: checking for jbg_dec_init in -ljbig" >&5 | 6131 echo "configure:6132: checking for jbg_dec_init in -ljbig" >&5 |
6024 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` | 6132 ac_lib_var=`echo jbig'_'jbg_dec_init | sed 'y%./+-%__p_%'` |
6025 | 6133 |
6026 xe_check_libs=" -ljbig " | 6134 xe_check_libs=" -ljbig " |
6027 cat > conftest.$ac_ext <<EOF | 6135 cat > conftest.$ac_ext <<EOF |
6028 #line 6029 "configure" | 6136 #line 6137 "configure" |
6029 #include "confdefs.h" | 6137 #include "confdefs.h" |
6030 /* Override any gcc2 internal prototype to avoid an error. */ | 6138 /* Override any gcc2 internal prototype to avoid an error. */ |
6031 /* We use char because int might match the return type of a gcc2 | 6139 /* We use char because int might match the return type of a gcc2 |
6032 builtin and then its argument prototype would still apply. */ | 6140 builtin and then its argument prototype would still apply. */ |
6033 char jbg_dec_init(); | 6141 char jbg_dec_init(); |
6034 | 6142 |
6035 int main() { | 6143 int main() { |
6036 jbg_dec_init() | 6144 jbg_dec_init() |
6037 ; return 0; } | 6145 ; return 0; } |
6038 EOF | 6146 EOF |
6039 if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6040 rm -rf conftest* | 6148 rm -rf conftest* |
6041 eval "ac_cv_lib_$ac_lib_var=yes" | 6149 eval "ac_cv_lib_$ac_lib_var=yes" |
6042 else | 6150 else |
6043 echo "configure: failed program was:" >&5 | 6151 echo "configure: failed program was:" >&5 |
6044 cat conftest.$ac_ext >&5 | 6152 cat conftest.$ac_ext >&5 |
6056 fi | 6164 fi |
6057 | 6165 |
6058 | 6166 |
6059 | 6167 |
6060 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 | 6168 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 |
6061 echo "configure:6062: checking for jpeg_read_header in -ljpeg" >&5 | 6169 echo "configure:6170: checking for jpeg_read_header in -ljpeg" >&5 |
6062 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` | 6170 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` |
6063 | 6171 |
6064 xe_check_libs=" -ljpeg " | 6172 xe_check_libs=" -ljpeg " |
6065 cat > conftest.$ac_ext <<EOF | 6173 cat > conftest.$ac_ext <<EOF |
6066 #line 6067 "configure" | 6174 #line 6175 "configure" |
6067 #include "confdefs.h" | 6175 #include "confdefs.h" |
6068 /* Override any gcc2 internal prototype to avoid an error. */ | 6176 /* Override any gcc2 internal prototype to avoid an error. */ |
6069 /* We use char because int might match the return type of a gcc2 | 6177 /* We use char because int might match the return type of a gcc2 |
6070 builtin and then its argument prototype would still apply. */ | 6178 builtin and then its argument prototype would still apply. */ |
6071 char jpeg_read_header(); | 6179 char jpeg_read_header(); |
6072 | 6180 |
6073 int main() { | 6181 int main() { |
6074 jpeg_read_header() | 6182 jpeg_read_header() |
6075 ; return 0; } | 6183 ; return 0; } |
6076 EOF | 6184 EOF |
6077 if { (eval echo configure:6078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6078 rm -rf conftest* | 6186 rm -rf conftest* |
6079 eval "ac_cv_lib_$ac_lib_var=yes" | 6187 eval "ac_cv_lib_$ac_lib_var=yes" |
6080 else | 6188 else |
6081 echo "configure: failed program was:" >&5 | 6189 echo "configure: failed program was:" >&5 |
6082 cat conftest.$ac_ext >&5 | 6190 cat conftest.$ac_ext >&5 |
6094 fi | 6202 fi |
6095 | 6203 |
6096 | 6204 |
6097 | 6205 |
6098 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 | 6206 echo $ac_n "checking for OpenMPEG in -lmpeg""... $ac_c" 1>&6 |
6099 echo "configure:6100: checking for OpenMPEG in -lmpeg" >&5 | 6207 echo "configure:6208: checking for OpenMPEG in -lmpeg" >&5 |
6100 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` | 6208 ac_lib_var=`echo mpeg'_'OpenMPEG | sed 'y%./+-%__p_%'` |
6101 | 6209 |
6102 xe_check_libs=" -lmpeg " | 6210 xe_check_libs=" -lmpeg " |
6103 cat > conftest.$ac_ext <<EOF | 6211 cat > conftest.$ac_ext <<EOF |
6104 #line 6105 "configure" | 6212 #line 6213 "configure" |
6105 #include "confdefs.h" | 6213 #include "confdefs.h" |
6106 /* Override any gcc2 internal prototype to avoid an error. */ | 6214 /* Override any gcc2 internal prototype to avoid an error. */ |
6107 /* We use char because int might match the return type of a gcc2 | 6215 /* We use char because int might match the return type of a gcc2 |
6108 builtin and then its argument prototype would still apply. */ | 6216 builtin and then its argument prototype would still apply. */ |
6109 char OpenMPEG(); | 6217 char OpenMPEG(); |
6110 | 6218 |
6111 int main() { | 6219 int main() { |
6112 OpenMPEG() | 6220 OpenMPEG() |
6113 ; return 0; } | 6221 ; return 0; } |
6114 EOF | 6222 EOF |
6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6223 if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6116 rm -rf conftest* | 6224 rm -rf conftest* |
6117 eval "ac_cv_lib_$ac_lib_var=yes" | 6225 eval "ac_cv_lib_$ac_lib_var=yes" |
6118 else | 6226 else |
6119 echo "configure: failed program was:" >&5 | 6227 echo "configure: failed program was:" >&5 |
6120 cat conftest.$ac_ext >&5 | 6228 cat conftest.$ac_ext >&5 |
6132 fi | 6240 fi |
6133 | 6241 |
6134 | 6242 |
6135 | 6243 |
6136 echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6 | 6244 echo $ac_n "checking for TT_Init_FreeType in -lttf""... $ac_c" 1>&6 |
6137 echo "configure:6138: checking for TT_Init_FreeType in -lttf" >&5 | 6245 echo "configure:6246: checking for TT_Init_FreeType in -lttf" >&5 |
6138 ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'` | 6246 ac_lib_var=`echo ttf'_'TT_Init_FreeType | sed 'y%./+-%__p_%'` |
6139 | 6247 |
6140 xe_check_libs=" -lttf " | 6248 xe_check_libs=" -lttf " |
6141 cat > conftest.$ac_ext <<EOF | 6249 cat > conftest.$ac_ext <<EOF |
6142 #line 6143 "configure" | 6250 #line 6251 "configure" |
6143 #include "confdefs.h" | 6251 #include "confdefs.h" |
6144 /* Override any gcc2 internal prototype to avoid an error. */ | 6252 /* Override any gcc2 internal prototype to avoid an error. */ |
6145 /* We use char because int might match the return type of a gcc2 | 6253 /* We use char because int might match the return type of a gcc2 |
6146 builtin and then its argument prototype would still apply. */ | 6254 builtin and then its argument prototype would still apply. */ |
6147 char TT_Init_FreeType(); | 6255 char TT_Init_FreeType(); |
6148 | 6256 |
6149 int main() { | 6257 int main() { |
6150 TT_Init_FreeType() | 6258 TT_Init_FreeType() |
6151 ; return 0; } | 6259 ; return 0; } |
6152 EOF | 6260 EOF |
6153 if { (eval echo configure:6154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6154 rm -rf conftest* | 6262 rm -rf conftest* |
6155 eval "ac_cv_lib_$ac_lib_var=yes" | 6263 eval "ac_cv_lib_$ac_lib_var=yes" |
6156 else | 6264 else |
6157 echo "configure: failed program was:" >&5 | 6265 echo "configure: failed program was:" >&5 |
6158 cat conftest.$ac_ext >&5 | 6266 cat conftest.$ac_ext >&5 |
6169 echo "$ac_t""no" 1>&6 | 6277 echo "$ac_t""no" 1>&6 |
6170 fi | 6278 fi |
6171 | 6279 |
6172 | 6280 |
6173 | 6281 |
6174 echo $ac_n "checking for png_create_read_struct in -lpng""... $ac_c" 1>&6 | 6282 xe_msg_checking="for png_create_read_struct in -lpng" |
6175 echo "configure:6176: checking for png_create_read_struct in -lpng" >&5 | 6283 test -n "$z_libs" && xe_msg_checking="$xe_msg_checking using extra libs $z_libs" |
6284 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
6285 echo "configure:6286: checking "$xe_msg_checking"" >&5 | |
6176 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | 6286 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` |
6177 | 6287 |
6178 xe_check_libs=" -lpng " | 6288 xe_check_libs=" -lpng $z_libs" |
6179 cat > conftest.$ac_ext <<EOF | 6289 cat > conftest.$ac_ext <<EOF |
6180 #line 6181 "configure" | 6290 #line 6291 "configure" |
6181 #include "confdefs.h" | 6291 #include "confdefs.h" |
6182 /* Override any gcc2 internal prototype to avoid an error. */ | 6292 /* Override any gcc2 internal prototype to avoid an error. */ |
6183 /* We use char because int might match the return type of a gcc2 | 6293 /* We use char because int might match the return type of a gcc2 |
6184 builtin and then its argument prototype would still apply. */ | 6294 builtin and then its argument prototype would still apply. */ |
6185 char png_create_read_struct(); | 6295 char png_create_read_struct(); |
6186 | 6296 |
6187 int main() { | 6297 int main() { |
6188 png_create_read_struct() | 6298 png_create_read_struct() |
6189 ; return 0; } | 6299 ; return 0; } |
6190 EOF | 6300 EOF |
6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6301 if { (eval echo configure:6302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6192 rm -rf conftest* | 6302 rm -rf conftest* |
6193 eval "ac_cv_lib_$ac_lib_var=yes" | 6303 eval "ac_cv_lib_$ac_lib_var=yes" |
6194 else | 6304 else |
6195 echo "configure: failed program was:" >&5 | 6305 echo "configure: failed program was:" >&5 |
6196 cat conftest.$ac_ext >&5 | 6306 cat conftest.$ac_ext >&5 |
6203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6204 echo "$ac_t""yes" 1>&6 | 6314 echo "$ac_t""yes" 1>&6 |
6205 imagick_libs="$imagick_libs -lpng" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lpng\" to \$imagick_libs"; fi | 6315 imagick_libs="$imagick_libs -lpng" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lpng\" to \$imagick_libs"; fi |
6206 else | 6316 else |
6207 echo "$ac_t""no" 1>&6 | 6317 echo "$ac_t""no" 1>&6 |
6208 xe_msg_checking="for png_create_read_struct in -lpng" | |
6209 test -n "-lz" && xe_msg_checking="$xe_msg_checking using extra libs -lz" | |
6210 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | |
6211 echo "configure:6212: checking "$xe_msg_checking"" >&5 | |
6212 ac_lib_var=`echo png'_'png_create_read_struct | sed 'y%./+-%__p_%'` | |
6213 | |
6214 xe_check_libs=" -lpng -lz" | |
6215 cat > conftest.$ac_ext <<EOF | |
6216 #line 6217 "configure" | |
6217 #include "confdefs.h" | |
6218 /* Override any gcc2 internal prototype to avoid an error. */ | |
6219 /* We use char because int might match the return type of a gcc2 | |
6220 builtin and then its argument prototype would still apply. */ | |
6221 char png_create_read_struct(); | |
6222 | |
6223 int main() { | |
6224 png_create_read_struct() | |
6225 ; return 0; } | |
6226 EOF | |
6227 if { (eval echo configure:6228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6228 rm -rf conftest* | |
6229 eval "ac_cv_lib_$ac_lib_var=yes" | |
6230 else | |
6231 echo "configure: failed program was:" >&5 | |
6232 cat conftest.$ac_ext >&5 | |
6233 rm -rf conftest* | |
6234 eval "ac_cv_lib_$ac_lib_var=no" | |
6235 fi | |
6236 rm -f conftest* | |
6237 xe_check_libs="" | |
6238 | |
6239 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6240 echo "$ac_t""yes" 1>&6 | |
6241 imagick_libs="$imagick_libs -lpng -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lpng -lz\" to \$imagick_libs"; fi | |
6242 else | |
6243 echo "$ac_t""no" 1>&6 | |
6244 fi | |
6245 | |
6246 | |
6247 fi | 6318 fi |
6248 | 6319 |
6249 | 6320 |
6250 | 6321 |
6251 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 | 6322 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 |
6252 echo "configure:6253: checking for TIFFOpen in -ltiff" >&5 | 6323 echo "configure:6324: checking for TIFFOpen in -ltiff" >&5 |
6253 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | 6324 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` |
6254 | 6325 |
6255 xe_check_libs=" -ltiff " | 6326 xe_check_libs="$z_libs -ltiff " |
6256 cat > conftest.$ac_ext <<EOF | 6327 cat > conftest.$ac_ext <<EOF |
6257 #line 6258 "configure" | 6328 #line 6329 "configure" |
6258 #include "confdefs.h" | 6329 #include "confdefs.h" |
6259 /* Override any gcc2 internal prototype to avoid an error. */ | 6330 /* Override any gcc2 internal prototype to avoid an error. */ |
6260 /* We use char because int might match the return type of a gcc2 | 6331 /* We use char because int might match the return type of a gcc2 |
6261 builtin and then its argument prototype would still apply. */ | 6332 builtin and then its argument prototype would still apply. */ |
6262 char TIFFOpen(); | 6333 char TIFFOpen(); |
6263 | 6334 |
6264 int main() { | 6335 int main() { |
6265 TIFFOpen() | 6336 TIFFOpen() |
6266 ; return 0; } | 6337 ; return 0; } |
6267 EOF | 6338 EOF |
6268 if { (eval echo configure:6269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6269 rm -rf conftest* | 6340 rm -rf conftest* |
6270 eval "ac_cv_lib_$ac_lib_var=yes" | 6341 eval "ac_cv_lib_$ac_lib_var=yes" |
6271 else | 6342 else |
6272 echo "configure: failed program was:" >&5 | 6343 echo "configure: failed program was:" >&5 |
6273 cat conftest.$ac_ext >&5 | 6344 cat conftest.$ac_ext >&5 |
6281 echo "$ac_t""yes" 1>&6 | 6352 echo "$ac_t""yes" 1>&6 |
6282 imagick_libs="$imagick_libs -ltiff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff\" to \$imagick_libs"; fi | 6353 imagick_libs="$imagick_libs -ltiff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff\" to \$imagick_libs"; fi |
6283 else | 6354 else |
6284 echo "$ac_t""no" 1>&6 | 6355 echo "$ac_t""no" 1>&6 |
6285 xe_msg_checking="for TIFFOpen in -ltiff" | 6356 xe_msg_checking="for TIFFOpen in -ltiff" |
6286 test -n "-ljpeg -lz" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg -lz" | 6357 test -n "-ljpeg $z_libs" && xe_msg_checking="$xe_msg_checking using extra libs -ljpeg $z_libs" |
6287 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6358 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6288 echo "configure:6289: checking "$xe_msg_checking"" >&5 | 6359 echo "configure:6360: checking "$xe_msg_checking"" >&5 |
6289 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` | 6360 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` |
6290 | 6361 |
6291 xe_check_libs=" -ltiff -ljpeg -lz" | 6362 xe_check_libs=" -ltiff -ljpeg $z_libs" |
6292 cat > conftest.$ac_ext <<EOF | 6363 cat > conftest.$ac_ext <<EOF |
6293 #line 6294 "configure" | 6364 #line 6365 "configure" |
6294 #include "confdefs.h" | 6365 #include "confdefs.h" |
6295 /* Override any gcc2 internal prototype to avoid an error. */ | 6366 /* Override any gcc2 internal prototype to avoid an error. */ |
6296 /* We use char because int might match the return type of a gcc2 | 6367 /* We use char because int might match the return type of a gcc2 |
6297 builtin and then its argument prototype would still apply. */ | 6368 builtin and then its argument prototype would still apply. */ |
6298 char TIFFOpen(); | 6369 char TIFFOpen(); |
6299 | 6370 |
6300 int main() { | 6371 int main() { |
6301 TIFFOpen() | 6372 TIFFOpen() |
6302 ; return 0; } | 6373 ; return 0; } |
6303 EOF | 6374 EOF |
6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6375 if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6305 rm -rf conftest* | 6376 rm -rf conftest* |
6306 eval "ac_cv_lib_$ac_lib_var=yes" | 6377 eval "ac_cv_lib_$ac_lib_var=yes" |
6307 else | 6378 else |
6308 echo "configure: failed program was:" >&5 | 6379 echo "configure: failed program was:" >&5 |
6309 cat conftest.$ac_ext >&5 | 6380 cat conftest.$ac_ext >&5 |
6313 rm -f conftest* | 6384 rm -f conftest* |
6314 xe_check_libs="" | 6385 xe_check_libs="" |
6315 | 6386 |
6316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 6387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
6317 echo "$ac_t""yes" 1>&6 | 6388 echo "$ac_t""yes" 1>&6 |
6318 imagick_libs="$imagick_libs -ltiff -ljpeg -lz" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff -ljpeg -lz\" to \$imagick_libs"; fi | 6389 imagick_libs="$imagick_libs -ltiff -ljpeg" && if test "$extra_verbose" = "yes"; then echo " Appending \"-ltiff -ljpeg\" to \$imagick_libs"; fi |
6319 else | 6390 else |
6320 echo "$ac_t""no" 1>&6 | 6391 echo "$ac_t""no" 1>&6 |
6321 fi | 6392 fi |
6322 | 6393 |
6323 | 6394 |
6324 fi | 6395 fi |
6325 | 6396 |
6326 | 6397 |
6398 imagick_libs="$imagick_libs $z_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$z_libs\" to \$imagick_libs"; fi | |
6327 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi | 6399 libs_x="$libs_x $imagick_libs" && if test "$extra_verbose" = "yes"; then echo " Appending \"$imagick_libs\" to \$libs_x"; fi |
6328 } | 6400 } |
6329 test -z "$with_imagick" && { | 6401 test -z "$with_imagick" && { |
6330 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | 6402 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
6331 echo "configure:6332: checking for MogrifyImage in -lMagick" >&5 | 6403 echo "configure:6404: checking for MogrifyImage in -lMagick" >&5 |
6332 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | 6404 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
6333 | 6405 |
6334 xe_check_libs=" -lMagick " | 6406 xe_check_libs=" -lMagick " |
6335 cat > conftest.$ac_ext <<EOF | 6407 cat > conftest.$ac_ext <<EOF |
6336 #line 6337 "configure" | 6408 #line 6409 "configure" |
6337 #include "confdefs.h" | 6409 #include "confdefs.h" |
6338 /* Override any gcc2 internal prototype to avoid an error. */ | 6410 /* Override any gcc2 internal prototype to avoid an error. */ |
6339 /* We use char because int might match the return type of a gcc2 | 6411 /* We use char because int might match the return type of a gcc2 |
6340 builtin and then its argument prototype would still apply. */ | 6412 builtin and then its argument prototype would still apply. */ |
6341 char MogrifyImage(); | 6413 char MogrifyImage(); |
6342 | 6414 |
6343 int main() { | 6415 int main() { |
6344 MogrifyImage() | 6416 MogrifyImage() |
6345 ; return 0; } | 6417 ; return 0; } |
6346 EOF | 6418 EOF |
6347 if { (eval echo configure:6348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6419 if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6348 rm -rf conftest* | 6420 rm -rf conftest* |
6349 eval "ac_cv_lib_$ac_lib_var=yes" | 6421 eval "ac_cv_lib_$ac_lib_var=yes" |
6350 else | 6422 else |
6351 echo "configure: failed program was:" >&5 | 6423 echo "configure: failed program was:" >&5 |
6352 cat conftest.$ac_ext >&5 | 6424 cat conftest.$ac_ext >&5 |
6378 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | 6450 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
6379 fi | 6451 fi |
6380 | 6452 |
6381 | 6453 |
6382 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6454 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6383 echo "configure:6384: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6455 echo "configure:6456: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6384 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6456 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6385 | 6457 |
6386 xe_check_libs=" -lXaw " | 6458 xe_check_libs=" -lXaw " |
6387 cat > conftest.$ac_ext <<EOF | 6459 cat > conftest.$ac_ext <<EOF |
6388 #line 6389 "configure" | 6460 #line 6461 "configure" |
6389 #include "confdefs.h" | 6461 #include "confdefs.h" |
6390 /* Override any gcc2 internal prototype to avoid an error. */ | 6462 /* Override any gcc2 internal prototype to avoid an error. */ |
6391 /* We use char because int might match the return type of a gcc2 | 6463 /* We use char because int might match the return type of a gcc2 |
6392 builtin and then its argument prototype would still apply. */ | 6464 builtin and then its argument prototype would still apply. */ |
6393 char XawScrollbarSetThumb(); | 6465 char XawScrollbarSetThumb(); |
6394 | 6466 |
6395 int main() { | 6467 int main() { |
6396 XawScrollbarSetThumb() | 6468 XawScrollbarSetThumb() |
6397 ; return 0; } | 6469 ; return 0; } |
6398 EOF | 6470 EOF |
6399 if { (eval echo configure:6400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6471 if { (eval echo configure:6472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6400 rm -rf conftest* | 6472 rm -rf conftest* |
6401 eval "ac_cv_lib_$ac_lib_var=yes" | 6473 eval "ac_cv_lib_$ac_lib_var=yes" |
6402 else | 6474 else |
6403 echo "configure: failed program was:" >&5 | 6475 echo "configure: failed program was:" >&5 |
6404 cat conftest.$ac_ext >&5 | 6476 cat conftest.$ac_ext >&5 |
6418 | 6490 |
6419 | 6491 |
6420 | 6492 |
6421 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6493 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6422 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6494 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6423 echo "configure:6424: checking for Xm/Xm.h" >&5 | 6495 echo "configure:6496: checking for Xm/Xm.h" >&5 |
6424 | 6496 |
6425 cat > conftest.$ac_ext <<EOF | 6497 cat > conftest.$ac_ext <<EOF |
6426 #line 6427 "configure" | 6498 #line 6499 "configure" |
6427 #include "confdefs.h" | 6499 #include "confdefs.h" |
6428 #include <Xm/Xm.h> | 6500 #include <Xm/Xm.h> |
6429 EOF | 6501 EOF |
6430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6431 { (eval echo configure:6432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6503 { (eval echo configure:6504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6432 ac_err=`grep -v '^ *+' conftest.out` | 6504 ac_err=`grep -v '^ *+' conftest.out` |
6433 if test -z "$ac_err"; then | 6505 if test -z "$ac_err"; then |
6434 rm -rf conftest* | 6506 rm -rf conftest* |
6435 eval "ac_cv_header_$ac_safe=yes" | 6507 eval "ac_cv_header_$ac_safe=yes" |
6436 else | 6508 else |
6443 rm -f conftest* | 6515 rm -f conftest* |
6444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6445 echo "$ac_t""yes" 1>&6 | 6517 echo "$ac_t""yes" 1>&6 |
6446 | 6518 |
6447 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6519 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6448 echo "configure:6449: checking for XmStringFree in -lXm" >&5 | 6520 echo "configure:6521: checking for XmStringFree in -lXm" >&5 |
6449 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6521 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6450 | 6522 |
6451 xe_check_libs=" -lXm " | 6523 xe_check_libs=" -lXm " |
6452 cat > conftest.$ac_ext <<EOF | 6524 cat > conftest.$ac_ext <<EOF |
6453 #line 6454 "configure" | 6525 #line 6526 "configure" |
6454 #include "confdefs.h" | 6526 #include "confdefs.h" |
6455 /* Override any gcc2 internal prototype to avoid an error. */ | 6527 /* Override any gcc2 internal prototype to avoid an error. */ |
6456 /* We use char because int might match the return type of a gcc2 | 6528 /* We use char because int might match the return type of a gcc2 |
6457 builtin and then its argument prototype would still apply. */ | 6529 builtin and then its argument prototype would still apply. */ |
6458 char XmStringFree(); | 6530 char XmStringFree(); |
6459 | 6531 |
6460 int main() { | 6532 int main() { |
6461 XmStringFree() | 6533 XmStringFree() |
6462 ; return 0; } | 6534 ; return 0; } |
6463 EOF | 6535 EOF |
6464 if { (eval echo configure:6465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6465 rm -rf conftest* | 6537 rm -rf conftest* |
6466 eval "ac_cv_lib_$ac_lib_var=yes" | 6538 eval "ac_cv_lib_$ac_lib_var=yes" |
6467 else | 6539 else |
6468 echo "configure: failed program was:" >&5 | 6540 echo "configure: failed program was:" >&5 |
6469 cat conftest.$ac_ext >&5 | 6541 cat conftest.$ac_ext >&5 |
6488 fi | 6560 fi |
6489 | 6561 |
6490 | 6562 |
6491 fi | 6563 fi |
6492 | 6564 |
6493 case "$with_menubars" in "" | "yes" | "athena" ) | 6565 case "$with_menubars" in "" | "yes" | "athena" | "athena3d" ) |
6494 with_menubars="lucid" ;; | 6566 with_menubars="lucid" ;; |
6495 esac | 6567 esac |
6496 case "$with_dialogs" in "" | "yes" | "lucid" ) | 6568 case "$with_dialogs" in "" | "yes" | "lucid" ) |
6497 if test "$have_motif" = "yes"; then with_dialogs="motif" | 6569 if test "$have_motif" = "yes"; then with_dialogs="motif" |
6498 elif test "$have_xaw" = "yes"; then with_dialogs="athena" | 6570 elif test "$have_xaw" = "yes"; then with_dialogs="athena" |
6499 else with_dialogs=no | 6571 else with_dialogs=no |
6500 fi ;; | 6572 fi ;; |
6501 esac | 6573 esac |
6716 test -z "$with_mule" && with_mule=no | 6788 test -z "$with_mule" && with_mule=no |
6717 | 6789 |
6718 | 6790 |
6719 if test "$with_mule" = "yes" ; then | 6791 if test "$with_mule" = "yes" ; then |
6720 echo "checking for Mule-related features" 1>&6 | 6792 echo "checking for Mule-related features" 1>&6 |
6721 echo "configure:6722: checking for Mule-related features" >&5 | 6793 echo "configure:6794: checking for Mule-related features" >&5 |
6722 { test "$extra_verbose" = "yes" && cat << \EOF | 6794 { test "$extra_verbose" = "yes" && cat << \EOF |
6723 Defining MULE | 6795 Defining MULE |
6724 EOF | 6796 EOF |
6725 cat >> confdefs.h <<\EOF | 6797 cat >> confdefs.h <<\EOF |
6726 #define MULE 1 | 6798 #define MULE 1 |
6733 | 6805 |
6734 for ac_hdr in libintl.h | 6806 for ac_hdr in libintl.h |
6735 do | 6807 do |
6736 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6808 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6809 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6738 echo "configure:6739: checking for $ac_hdr" >&5 | 6810 echo "configure:6811: checking for $ac_hdr" >&5 |
6739 | 6811 |
6740 cat > conftest.$ac_ext <<EOF | 6812 cat > conftest.$ac_ext <<EOF |
6741 #line 6742 "configure" | 6813 #line 6814 "configure" |
6742 #include "confdefs.h" | 6814 #include "confdefs.h" |
6743 #include <$ac_hdr> | 6815 #include <$ac_hdr> |
6744 EOF | 6816 EOF |
6745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6746 { (eval echo configure:6747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6818 { (eval echo configure:6819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6747 ac_err=`grep -v '^ *+' conftest.out` | 6819 ac_err=`grep -v '^ *+' conftest.out` |
6748 if test -z "$ac_err"; then | 6820 if test -z "$ac_err"; then |
6749 rm -rf conftest* | 6821 rm -rf conftest* |
6750 eval "ac_cv_header_$ac_safe=yes" | 6822 eval "ac_cv_header_$ac_safe=yes" |
6751 else | 6823 else |
6772 fi | 6844 fi |
6773 done | 6845 done |
6774 | 6846 |
6775 | 6847 |
6776 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6848 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6777 echo "configure:6778: checking for strerror in -lintl" >&5 | 6849 echo "configure:6850: checking for strerror in -lintl" >&5 |
6778 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6850 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6779 | 6851 |
6780 xe_check_libs=" -lintl " | 6852 xe_check_libs=" -lintl " |
6781 cat > conftest.$ac_ext <<EOF | 6853 cat > conftest.$ac_ext <<EOF |
6782 #line 6783 "configure" | 6854 #line 6855 "configure" |
6783 #include "confdefs.h" | 6855 #include "confdefs.h" |
6784 /* Override any gcc2 internal prototype to avoid an error. */ | 6856 /* Override any gcc2 internal prototype to avoid an error. */ |
6785 /* We use char because int might match the return type of a gcc2 | 6857 /* We use char because int might match the return type of a gcc2 |
6786 builtin and then its argument prototype would still apply. */ | 6858 builtin and then its argument prototype would still apply. */ |
6787 char strerror(); | 6859 char strerror(); |
6788 | 6860 |
6789 int main() { | 6861 int main() { |
6790 strerror() | 6862 strerror() |
6791 ; return 0; } | 6863 ; return 0; } |
6792 EOF | 6864 EOF |
6793 if { (eval echo configure:6794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6865 if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6794 rm -rf conftest* | 6866 rm -rf conftest* |
6795 eval "ac_cv_lib_$ac_lib_var=yes" | 6867 eval "ac_cv_lib_$ac_lib_var=yes" |
6796 else | 6868 else |
6797 echo "configure: failed program was:" >&5 | 6869 echo "configure: failed program was:" >&5 |
6798 cat conftest.$ac_ext >&5 | 6870 cat conftest.$ac_ext >&5 |
6821 fi | 6893 fi |
6822 | 6894 |
6823 | 6895 |
6824 | 6896 |
6825 echo "checking for Mule input methods" 1>&6 | 6897 echo "checking for Mule input methods" 1>&6 |
6826 echo "configure:6827: checking for Mule input methods" >&5 | 6898 echo "configure:6899: checking for Mule input methods" >&5 |
6827 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6899 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6828 case "$with_xim" in "" | "yes" ) | 6900 case "$with_xim" in "" | "yes" ) |
6829 echo "checking for XIM" 1>&6 | 6901 echo "checking for XIM" 1>&6 |
6830 echo "configure:6831: checking for XIM" >&5 | 6902 echo "configure:6903: checking for XIM" >&5 |
6831 | 6903 |
6832 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6904 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6833 echo "configure:6834: checking for XmImMbLookupString in -lXm" >&5 | 6905 echo "configure:6906: checking for XmImMbLookupString in -lXm" >&5 |
6834 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6906 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6835 | 6907 |
6836 xe_check_libs=" -lXm " | 6908 xe_check_libs=" -lXm " |
6837 cat > conftest.$ac_ext <<EOF | 6909 cat > conftest.$ac_ext <<EOF |
6838 #line 6839 "configure" | 6910 #line 6911 "configure" |
6839 #include "confdefs.h" | 6911 #include "confdefs.h" |
6840 /* Override any gcc2 internal prototype to avoid an error. */ | 6912 /* Override any gcc2 internal prototype to avoid an error. */ |
6841 /* We use char because int might match the return type of a gcc2 | 6913 /* We use char because int might match the return type of a gcc2 |
6842 builtin and then its argument prototype would still apply. */ | 6914 builtin and then its argument prototype would still apply. */ |
6843 char XmImMbLookupString(); | 6915 char XmImMbLookupString(); |
6844 | 6916 |
6845 int main() { | 6917 int main() { |
6846 XmImMbLookupString() | 6918 XmImMbLookupString() |
6847 ; return 0; } | 6919 ; return 0; } |
6848 EOF | 6920 EOF |
6849 if { (eval echo configure:6850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6921 if { (eval echo configure:6922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6850 rm -rf conftest* | 6922 rm -rf conftest* |
6851 eval "ac_cv_lib_$ac_lib_var=yes" | 6923 eval "ac_cv_lib_$ac_lib_var=yes" |
6852 else | 6924 else |
6853 echo "configure: failed program was:" >&5 | 6925 echo "configure: failed program was:" >&5 |
6854 cat conftest.$ac_ext >&5 | 6926 cat conftest.$ac_ext >&5 |
6909 fi | 6981 fi |
6910 fi | 6982 fi |
6911 | 6983 |
6912 if test "$with_xfs" = "yes" ; then | 6984 if test "$with_xfs" = "yes" ; then |
6913 echo "checking for XFontSet" 1>&6 | 6985 echo "checking for XFontSet" 1>&6 |
6914 echo "configure:6915: checking for XFontSet" >&5 | 6986 echo "configure:6987: checking for XFontSet" >&5 |
6915 | 6987 |
6916 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6988 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
6917 echo "configure:6918: checking for XmbDrawString in -lX11" >&5 | 6989 echo "configure:6990: checking for XmbDrawString in -lX11" >&5 |
6918 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6990 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
6919 | 6991 |
6920 xe_check_libs=" -lX11 " | 6992 xe_check_libs=" -lX11 " |
6921 cat > conftest.$ac_ext <<EOF | 6993 cat > conftest.$ac_ext <<EOF |
6922 #line 6923 "configure" | 6994 #line 6995 "configure" |
6923 #include "confdefs.h" | 6995 #include "confdefs.h" |
6924 /* Override any gcc2 internal prototype to avoid an error. */ | 6996 /* Override any gcc2 internal prototype to avoid an error. */ |
6925 /* We use char because int might match the return type of a gcc2 | 6997 /* We use char because int might match the return type of a gcc2 |
6926 builtin and then its argument prototype would still apply. */ | 6998 builtin and then its argument prototype would still apply. */ |
6927 char XmbDrawString(); | 6999 char XmbDrawString(); |
6928 | 7000 |
6929 int main() { | 7001 int main() { |
6930 XmbDrawString() | 7002 XmbDrawString() |
6931 ; return 0; } | 7003 ; return 0; } |
6932 EOF | 7004 EOF |
6933 if { (eval echo configure:6934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7005 if { (eval echo configure:7006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6934 rm -rf conftest* | 7006 rm -rf conftest* |
6935 eval "ac_cv_lib_$ac_lib_var=yes" | 7007 eval "ac_cv_lib_$ac_lib_var=yes" |
6936 else | 7008 else |
6937 echo "configure: failed program was:" >&5 | 7009 echo "configure: failed program was:" >&5 |
6938 cat conftest.$ac_ext >&5 | 7010 cat conftest.$ac_ext >&5 |
6968 fi | 7040 fi |
6969 fi | 7041 fi |
6970 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7042 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6971 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7043 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6972 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7044 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6973 echo "configure:6974: checking for wnn/jllib.h" >&5 | 7045 echo "configure:7046: checking for wnn/jllib.h" >&5 |
6974 | 7046 |
6975 cat > conftest.$ac_ext <<EOF | 7047 cat > conftest.$ac_ext <<EOF |
6976 #line 6977 "configure" | 7048 #line 7049 "configure" |
6977 #include "confdefs.h" | 7049 #include "confdefs.h" |
6978 #include <wnn/jllib.h> | 7050 #include <wnn/jllib.h> |
6979 EOF | 7051 EOF |
6980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6981 { (eval echo configure:6982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7053 { (eval echo configure:7054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6982 ac_err=`grep -v '^ *+' conftest.out` | 7054 ac_err=`grep -v '^ *+' conftest.out` |
6983 if test -z "$ac_err"; then | 7055 if test -z "$ac_err"; then |
6984 rm -rf conftest* | 7056 rm -rf conftest* |
6985 eval "ac_cv_header_$ac_safe=yes" | 7057 eval "ac_cv_header_$ac_safe=yes" |
6986 else | 7058 else |
7001 } | 7073 } |
7002 if test "$with_wnn" != "no"; then | 7074 if test "$with_wnn" != "no"; then |
7003 for ac_func in crypt | 7075 for ac_func in crypt |
7004 do | 7076 do |
7005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7006 echo "configure:7007: checking for $ac_func" >&5 | 7078 echo "configure:7079: checking for $ac_func" >&5 |
7007 | 7079 |
7008 cat > conftest.$ac_ext <<EOF | 7080 cat > conftest.$ac_ext <<EOF |
7009 #line 7010 "configure" | 7081 #line 7082 "configure" |
7010 #include "confdefs.h" | 7082 #include "confdefs.h" |
7011 /* System header to define __stub macros and hopefully few prototypes, | 7083 /* System header to define __stub macros and hopefully few prototypes, |
7012 which can conflict with char $ac_func(); below. */ | 7084 which can conflict with char $ac_func(); below. */ |
7013 #include <assert.h> | 7085 #include <assert.h> |
7014 /* Override any gcc2 internal prototype to avoid an error. */ | 7086 /* Override any gcc2 internal prototype to avoid an error. */ |
7027 $ac_func(); | 7099 $ac_func(); |
7028 #endif | 7100 #endif |
7029 | 7101 |
7030 ; return 0; } | 7102 ; return 0; } |
7031 EOF | 7103 EOF |
7032 if { (eval echo configure:7033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7104 if { (eval echo configure:7105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7033 rm -rf conftest* | 7105 rm -rf conftest* |
7034 eval "ac_cv_func_$ac_func=yes" | 7106 eval "ac_cv_func_$ac_func=yes" |
7035 else | 7107 else |
7036 echo "configure: failed program was:" >&5 | 7108 echo "configure: failed program was:" >&5 |
7037 cat conftest.$ac_ext >&5 | 7109 cat conftest.$ac_ext >&5 |
7056 fi | 7128 fi |
7057 done | 7129 done |
7058 | 7130 |
7059 test "$ac_cv_func_crypt" != "yes" && { | 7131 test "$ac_cv_func_crypt" != "yes" && { |
7060 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7132 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7061 echo "configure:7062: checking for crypt in -lcrypt" >&5 | 7133 echo "configure:7134: checking for crypt in -lcrypt" >&5 |
7062 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7134 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7063 | 7135 |
7064 xe_check_libs=" -lcrypt " | 7136 xe_check_libs=" -lcrypt " |
7065 cat > conftest.$ac_ext <<EOF | 7137 cat > conftest.$ac_ext <<EOF |
7066 #line 7067 "configure" | 7138 #line 7139 "configure" |
7067 #include "confdefs.h" | 7139 #include "confdefs.h" |
7068 /* Override any gcc2 internal prototype to avoid an error. */ | 7140 /* Override any gcc2 internal prototype to avoid an error. */ |
7069 /* We use char because int might match the return type of a gcc2 | 7141 /* We use char because int might match the return type of a gcc2 |
7070 builtin and then its argument prototype would still apply. */ | 7142 builtin and then its argument prototype would still apply. */ |
7071 char crypt(); | 7143 char crypt(); |
7072 | 7144 |
7073 int main() { | 7145 int main() { |
7074 crypt() | 7146 crypt() |
7075 ; return 0; } | 7147 ; return 0; } |
7076 EOF | 7148 EOF |
7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7149 if { (eval echo configure:7150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7078 rm -rf conftest* | 7150 rm -rf conftest* |
7079 eval "ac_cv_lib_$ac_lib_var=yes" | 7151 eval "ac_cv_lib_$ac_lib_var=yes" |
7080 else | 7152 else |
7081 echo "configure: failed program was:" >&5 | 7153 echo "configure: failed program was:" >&5 |
7082 cat conftest.$ac_ext >&5 | 7154 cat conftest.$ac_ext >&5 |
7106 | 7178 |
7107 } | 7179 } |
7108 fi | 7180 fi |
7109 test -z "$with_wnn" && { | 7181 test -z "$with_wnn" && { |
7110 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7182 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7111 echo "configure:7112: checking for jl_dic_list_e in -lwnn" >&5 | 7183 echo "configure:7184: checking for jl_dic_list_e in -lwnn" >&5 |
7112 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7184 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7113 | 7185 |
7114 xe_check_libs=" -lwnn " | 7186 xe_check_libs=" -lwnn " |
7115 cat > conftest.$ac_ext <<EOF | 7187 cat > conftest.$ac_ext <<EOF |
7116 #line 7117 "configure" | 7188 #line 7189 "configure" |
7117 #include "confdefs.h" | 7189 #include "confdefs.h" |
7118 /* Override any gcc2 internal prototype to avoid an error. */ | 7190 /* Override any gcc2 internal prototype to avoid an error. */ |
7119 /* We use char because int might match the return type of a gcc2 | 7191 /* We use char because int might match the return type of a gcc2 |
7120 builtin and then its argument prototype would still apply. */ | 7192 builtin and then its argument prototype would still apply. */ |
7121 char jl_dic_list_e(); | 7193 char jl_dic_list_e(); |
7122 | 7194 |
7123 int main() { | 7195 int main() { |
7124 jl_dic_list_e() | 7196 jl_dic_list_e() |
7125 ; return 0; } | 7197 ; return 0; } |
7126 EOF | 7198 EOF |
7127 if { (eval echo configure:7128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7199 if { (eval echo configure:7200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7128 rm -rf conftest* | 7200 rm -rf conftest* |
7129 eval "ac_cv_lib_$ac_lib_var=yes" | 7201 eval "ac_cv_lib_$ac_lib_var=yes" |
7130 else | 7202 else |
7131 echo "configure: failed program was:" >&5 | 7203 echo "configure: failed program was:" >&5 |
7132 cat conftest.$ac_ext >&5 | 7204 cat conftest.$ac_ext >&5 |
7159 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7231 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7160 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7232 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7161 fi | 7233 fi |
7162 | 7234 |
7163 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7235 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7164 echo "configure:7165: checking for jl_fi_dic_list in -lwnn" >&5 | 7236 echo "configure:7237: checking for jl_fi_dic_list in -lwnn" >&5 |
7165 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7237 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7166 | 7238 |
7167 xe_check_libs=" -lwnn " | 7239 xe_check_libs=" -lwnn " |
7168 cat > conftest.$ac_ext <<EOF | 7240 cat > conftest.$ac_ext <<EOF |
7169 #line 7170 "configure" | 7241 #line 7242 "configure" |
7170 #include "confdefs.h" | 7242 #include "confdefs.h" |
7171 /* Override any gcc2 internal prototype to avoid an error. */ | 7243 /* Override any gcc2 internal prototype to avoid an error. */ |
7172 /* We use char because int might match the return type of a gcc2 | 7244 /* We use char because int might match the return type of a gcc2 |
7173 builtin and then its argument prototype would still apply. */ | 7245 builtin and then its argument prototype would still apply. */ |
7174 char jl_fi_dic_list(); | 7246 char jl_fi_dic_list(); |
7175 | 7247 |
7176 int main() { | 7248 int main() { |
7177 jl_fi_dic_list() | 7249 jl_fi_dic_list() |
7178 ; return 0; } | 7250 ; return 0; } |
7179 EOF | 7251 EOF |
7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7252 if { (eval echo configure:7253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7181 rm -rf conftest* | 7253 rm -rf conftest* |
7182 eval "ac_cv_lib_$ac_lib_var=yes" | 7254 eval "ac_cv_lib_$ac_lib_var=yes" |
7183 else | 7255 else |
7184 echo "configure: failed program was:" >&5 | 7256 echo "configure: failed program was:" >&5 |
7185 cat conftest.$ac_ext >&5 | 7257 cat conftest.$ac_ext >&5 |
7207 | 7279 |
7208 fi | 7280 fi |
7209 | 7281 |
7210 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7282 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7211 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7283 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7212 echo "configure:7213: checking for canna/RK.h" >&5 | 7284 echo "configure:7285: checking for canna/RK.h" >&5 |
7213 | 7285 |
7214 cat > conftest.$ac_ext <<EOF | 7286 cat > conftest.$ac_ext <<EOF |
7215 #line 7216 "configure" | 7287 #line 7288 "configure" |
7216 #include "confdefs.h" | 7288 #include "confdefs.h" |
7217 #include <canna/RK.h> | 7289 #include <canna/RK.h> |
7218 EOF | 7290 EOF |
7219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7220 { (eval echo configure:7221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7292 { (eval echo configure:7293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7221 ac_err=`grep -v '^ *+' conftest.out` | 7293 ac_err=`grep -v '^ *+' conftest.out` |
7222 if test -z "$ac_err"; then | 7294 if test -z "$ac_err"; then |
7223 rm -rf conftest* | 7295 rm -rf conftest* |
7224 eval "ac_cv_header_$ac_safe=yes" | 7296 eval "ac_cv_header_$ac_safe=yes" |
7225 else | 7297 else |
7238 with_canna=no | 7310 with_canna=no |
7239 fi | 7311 fi |
7240 } | 7312 } |
7241 test -z "$with_canna" && { | 7313 test -z "$with_canna" && { |
7242 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7314 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7243 echo "configure:7244: checking for RkBgnBun in -lRKC" >&5 | 7315 echo "configure:7316: checking for RkBgnBun in -lRKC" >&5 |
7244 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7316 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7245 | 7317 |
7246 xe_check_libs=" -lRKC " | 7318 xe_check_libs=" -lRKC " |
7247 cat > conftest.$ac_ext <<EOF | 7319 cat > conftest.$ac_ext <<EOF |
7248 #line 7249 "configure" | 7320 #line 7321 "configure" |
7249 #include "confdefs.h" | 7321 #include "confdefs.h" |
7250 /* Override any gcc2 internal prototype to avoid an error. */ | 7322 /* Override any gcc2 internal prototype to avoid an error. */ |
7251 /* We use char because int might match the return type of a gcc2 | 7323 /* We use char because int might match the return type of a gcc2 |
7252 builtin and then its argument prototype would still apply. */ | 7324 builtin and then its argument prototype would still apply. */ |
7253 char RkBgnBun(); | 7325 char RkBgnBun(); |
7254 | 7326 |
7255 int main() { | 7327 int main() { |
7256 RkBgnBun() | 7328 RkBgnBun() |
7257 ; return 0; } | 7329 ; return 0; } |
7258 EOF | 7330 EOF |
7259 if { (eval echo configure:7260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7331 if { (eval echo configure:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7260 rm -rf conftest* | 7332 rm -rf conftest* |
7261 eval "ac_cv_lib_$ac_lib_var=yes" | 7333 eval "ac_cv_lib_$ac_lib_var=yes" |
7262 else | 7334 else |
7263 echo "configure: failed program was:" >&5 | 7335 echo "configure: failed program was:" >&5 |
7264 cat conftest.$ac_ext >&5 | 7336 cat conftest.$ac_ext >&5 |
7277 fi | 7349 fi |
7278 | 7350 |
7279 } | 7351 } |
7280 test -z "$with_canna" && { | 7352 test -z "$with_canna" && { |
7281 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7353 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7282 echo "configure:7283: checking for jrKanjiControl in -lcanna" >&5 | 7354 echo "configure:7355: checking for jrKanjiControl in -lcanna" >&5 |
7283 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7355 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7284 | 7356 |
7285 xe_check_libs=" -lcanna " | 7357 xe_check_libs=" -lcanna " |
7286 cat > conftest.$ac_ext <<EOF | 7358 cat > conftest.$ac_ext <<EOF |
7287 #line 7288 "configure" | 7359 #line 7360 "configure" |
7288 #include "confdefs.h" | 7360 #include "confdefs.h" |
7289 /* Override any gcc2 internal prototype to avoid an error. */ | 7361 /* Override any gcc2 internal prototype to avoid an error. */ |
7290 /* We use char because int might match the return type of a gcc2 | 7362 /* We use char because int might match the return type of a gcc2 |
7291 builtin and then its argument prototype would still apply. */ | 7363 builtin and then its argument prototype would still apply. */ |
7292 char jrKanjiControl(); | 7364 char jrKanjiControl(); |
7293 | 7365 |
7294 int main() { | 7366 int main() { |
7295 jrKanjiControl() | 7367 jrKanjiControl() |
7296 ; return 0; } | 7368 ; return 0; } |
7297 EOF | 7369 EOF |
7298 if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7370 if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7299 rm -rf conftest* | 7371 rm -rf conftest* |
7300 eval "ac_cv_lib_$ac_lib_var=yes" | 7372 eval "ac_cv_lib_$ac_lib_var=yes" |
7301 else | 7373 else |
7302 echo "configure: failed program was:" >&5 | 7374 echo "configure: failed program was:" >&5 |
7303 cat conftest.$ac_ext >&5 | 7375 cat conftest.$ac_ext >&5 |
7342 | 7414 |
7343 if test "$need_motif" = "yes" ; then | 7415 if test "$need_motif" = "yes" ; then |
7344 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7416 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
7345 | 7417 |
7346 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7418 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
7347 echo "configure:7348: checking for layout_object_getvalue in -li18n" >&5 | 7419 echo "configure:7420: checking for layout_object_getvalue in -li18n" >&5 |
7348 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7420 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
7349 | 7421 |
7350 xe_check_libs=" -li18n " | 7422 xe_check_libs=" -li18n " |
7351 cat > conftest.$ac_ext <<EOF | 7423 cat > conftest.$ac_ext <<EOF |
7352 #line 7353 "configure" | 7424 #line 7425 "configure" |
7353 #include "confdefs.h" | 7425 #include "confdefs.h" |
7354 /* Override any gcc2 internal prototype to avoid an error. */ | 7426 /* Override any gcc2 internal prototype to avoid an error. */ |
7355 /* We use char because int might match the return type of a gcc2 | 7427 /* We use char because int might match the return type of a gcc2 |
7356 builtin and then its argument prototype would still apply. */ | 7428 builtin and then its argument prototype would still apply. */ |
7357 char layout_object_getvalue(); | 7429 char layout_object_getvalue(); |
7358 | 7430 |
7359 int main() { | 7431 int main() { |
7360 layout_object_getvalue() | 7432 layout_object_getvalue() |
7361 ; return 0; } | 7433 ; return 0; } |
7362 EOF | 7434 EOF |
7363 if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7435 if { (eval echo configure:7436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7364 rm -rf conftest* | 7436 rm -rf conftest* |
7365 eval "ac_cv_lib_$ac_lib_var=yes" | 7437 eval "ac_cv_lib_$ac_lib_var=yes" |
7366 else | 7438 else |
7367 echo "configure: failed program was:" >&5 | 7439 echo "configure: failed program was:" >&5 |
7368 cat conftest.$ac_ext >&5 | 7440 cat conftest.$ac_ext >&5 |
7428 fi | 7500 fi |
7429 fi | 7501 fi |
7430 | 7502 |
7431 fi | 7503 fi |
7432 | 7504 |
7433 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7505 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7434 do | 7506 do |
7435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7436 echo "configure:7437: checking for $ac_func" >&5 | 7508 echo "configure:7509: checking for $ac_func" >&5 |
7437 | 7509 |
7438 cat > conftest.$ac_ext <<EOF | 7510 cat > conftest.$ac_ext <<EOF |
7439 #line 7440 "configure" | 7511 #line 7512 "configure" |
7440 #include "confdefs.h" | 7512 #include "confdefs.h" |
7441 /* System header to define __stub macros and hopefully few prototypes, | 7513 /* System header to define __stub macros and hopefully few prototypes, |
7442 which can conflict with char $ac_func(); below. */ | 7514 which can conflict with char $ac_func(); below. */ |
7443 #include <assert.h> | 7515 #include <assert.h> |
7444 /* Override any gcc2 internal prototype to avoid an error. */ | 7516 /* Override any gcc2 internal prototype to avoid an error. */ |
7457 $ac_func(); | 7529 $ac_func(); |
7458 #endif | 7530 #endif |
7459 | 7531 |
7460 ; return 0; } | 7532 ; return 0; } |
7461 EOF | 7533 EOF |
7462 if { (eval echo configure:7463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7463 rm -rf conftest* | 7535 rm -rf conftest* |
7464 eval "ac_cv_func_$ac_func=yes" | 7536 eval "ac_cv_func_$ac_func=yes" |
7465 else | 7537 else |
7466 echo "configure: failed program was:" >&5 | 7538 echo "configure: failed program was:" >&5 |
7467 cat conftest.$ac_ext >&5 | 7539 cat conftest.$ac_ext >&5 |
7494 fi ;; | 7566 fi ;; |
7495 * ) | 7567 * ) |
7496 for ac_func in realpath | 7568 for ac_func in realpath |
7497 do | 7569 do |
7498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7499 echo "configure:7500: checking for $ac_func" >&5 | 7571 echo "configure:7572: checking for $ac_func" >&5 |
7500 | 7572 |
7501 cat > conftest.$ac_ext <<EOF | 7573 cat > conftest.$ac_ext <<EOF |
7502 #line 7503 "configure" | 7574 #line 7575 "configure" |
7503 #include "confdefs.h" | 7575 #include "confdefs.h" |
7504 /* System header to define __stub macros and hopefully few prototypes, | 7576 /* System header to define __stub macros and hopefully few prototypes, |
7505 which can conflict with char $ac_func(); below. */ | 7577 which can conflict with char $ac_func(); below. */ |
7506 #include <assert.h> | 7578 #include <assert.h> |
7507 /* Override any gcc2 internal prototype to avoid an error. */ | 7579 /* Override any gcc2 internal prototype to avoid an error. */ |
7520 $ac_func(); | 7592 $ac_func(); |
7521 #endif | 7593 #endif |
7522 | 7594 |
7523 ; return 0; } | 7595 ; return 0; } |
7524 EOF | 7596 EOF |
7525 if { (eval echo configure:7526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7597 if { (eval echo configure:7598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7526 rm -rf conftest* | 7598 rm -rf conftest* |
7527 eval "ac_cv_func_$ac_func=yes" | 7599 eval "ac_cv_func_$ac_func=yes" |
7528 else | 7600 else |
7529 echo "configure: failed program was:" >&5 | 7601 echo "configure: failed program was:" >&5 |
7530 cat conftest.$ac_ext >&5 | 7602 cat conftest.$ac_ext >&5 |
7553 echo " xemacs will be linked with \"realpath.o\"" | 7625 echo " xemacs will be linked with \"realpath.o\"" |
7554 fi ;; | 7626 fi ;; |
7555 esac | 7627 esac |
7556 | 7628 |
7557 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7629 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7558 echo "configure:7559: checking whether netdb declares h_errno" >&5 | 7630 echo "configure:7631: checking whether netdb declares h_errno" >&5 |
7559 cat > conftest.$ac_ext <<EOF | 7631 cat > conftest.$ac_ext <<EOF |
7560 #line 7561 "configure" | 7632 #line 7633 "configure" |
7561 #include "confdefs.h" | 7633 #include "confdefs.h" |
7562 #include <netdb.h> | 7634 #include <netdb.h> |
7563 int main() { | 7635 int main() { |
7564 return h_errno; | 7636 return h_errno; |
7565 ; return 0; } | 7637 ; return 0; } |
7566 EOF | 7638 EOF |
7567 if { (eval echo configure:7568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7639 if { (eval echo configure:7640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7568 rm -rf conftest* | 7640 rm -rf conftest* |
7569 echo "$ac_t""yes" 1>&6 | 7641 echo "$ac_t""yes" 1>&6 |
7570 { test "$extra_verbose" = "yes" && cat << \EOF | 7642 { test "$extra_verbose" = "yes" && cat << \EOF |
7571 Defining HAVE_H_ERRNO | 7643 Defining HAVE_H_ERRNO |
7572 EOF | 7644 EOF |
7582 echo "$ac_t""no" 1>&6 | 7654 echo "$ac_t""no" 1>&6 |
7583 fi | 7655 fi |
7584 rm -f conftest* | 7656 rm -f conftest* |
7585 | 7657 |
7586 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7658 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7587 echo "configure:7588: checking for sigsetjmp" >&5 | 7659 echo "configure:7660: checking for sigsetjmp" >&5 |
7588 cat > conftest.$ac_ext <<EOF | 7660 cat > conftest.$ac_ext <<EOF |
7589 #line 7590 "configure" | 7661 #line 7662 "configure" |
7590 #include "confdefs.h" | 7662 #include "confdefs.h" |
7591 #include <setjmp.h> | 7663 #include <setjmp.h> |
7592 int main() { | 7664 int main() { |
7593 sigjmp_buf bar; sigsetjmp (bar, 0); | 7665 sigjmp_buf bar; sigsetjmp (bar, 0); |
7594 ; return 0; } | 7666 ; return 0; } |
7595 EOF | 7667 EOF |
7596 if { (eval echo configure:7597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7668 if { (eval echo configure:7669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7597 rm -rf conftest* | 7669 rm -rf conftest* |
7598 echo "$ac_t""yes" 1>&6 | 7670 echo "$ac_t""yes" 1>&6 |
7599 { test "$extra_verbose" = "yes" && cat << \EOF | 7671 { test "$extra_verbose" = "yes" && cat << \EOF |
7600 Defining HAVE_SIGSETJMP | 7672 Defining HAVE_SIGSETJMP |
7601 EOF | 7673 EOF |
7611 echo "$ac_t""no" 1>&6 | 7683 echo "$ac_t""no" 1>&6 |
7612 fi | 7684 fi |
7613 rm -f conftest* | 7685 rm -f conftest* |
7614 | 7686 |
7615 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7687 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7616 echo "configure:7617: checking whether localtime caches TZ" >&5 | 7688 echo "configure:7689: checking whether localtime caches TZ" >&5 |
7617 | 7689 |
7618 if test "$ac_cv_func_tzset" = "yes"; then | 7690 if test "$ac_cv_func_tzset" = "yes"; then |
7619 cat > conftest.$ac_ext <<EOF | 7691 cat > conftest.$ac_ext <<EOF |
7620 #line 7621 "configure" | 7692 #line 7693 "configure" |
7621 #include "confdefs.h" | 7693 #include "confdefs.h" |
7622 #include <time.h> | 7694 #include <time.h> |
7623 #if STDC_HEADERS | 7695 #if STDC_HEADERS |
7624 # include <stdlib.h> | 7696 # include <stdlib.h> |
7625 #endif | 7697 #endif |
7650 if (localtime (&now)->tm_hour != hour_unset) | 7722 if (localtime (&now)->tm_hour != hour_unset) |
7651 exit (1); | 7723 exit (1); |
7652 exit (0); | 7724 exit (0); |
7653 } | 7725 } |
7654 EOF | 7726 EOF |
7655 if { (eval echo configure:7656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7656 then | 7728 then |
7657 emacs_cv_localtime_cache=no | 7729 emacs_cv_localtime_cache=no |
7658 else | 7730 else |
7659 echo "configure: failed program was:" >&5 | 7731 echo "configure: failed program was:" >&5 |
7660 cat conftest.$ac_ext >&5 | 7732 cat conftest.$ac_ext >&5 |
7679 | 7751 |
7680 fi | 7752 fi |
7681 | 7753 |
7682 if test "$HAVE_TIMEVAL" = "yes"; then | 7754 if test "$HAVE_TIMEVAL" = "yes"; then |
7683 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7755 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7684 echo "configure:7685: checking whether gettimeofday cannot accept two arguments" >&5 | 7756 echo "configure:7757: checking whether gettimeofday cannot accept two arguments" >&5 |
7685 cat > conftest.$ac_ext <<EOF | 7757 cat > conftest.$ac_ext <<EOF |
7686 #line 7687 "configure" | 7758 #line 7759 "configure" |
7687 #include "confdefs.h" | 7759 #include "confdefs.h" |
7688 | 7760 |
7689 #ifdef TIME_WITH_SYS_TIME | 7761 #ifdef TIME_WITH_SYS_TIME |
7690 #include <sys/time.h> | 7762 #include <sys/time.h> |
7691 #include <time.h> | 7763 #include <time.h> |
7703 struct timezone dummy; | 7775 struct timezone dummy; |
7704 gettimeofday (&time, &dummy); | 7776 gettimeofday (&time, &dummy); |
7705 | 7777 |
7706 ; return 0; } | 7778 ; return 0; } |
7707 EOF | 7779 EOF |
7708 if { (eval echo configure:7709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7780 if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7709 rm -rf conftest* | 7781 rm -rf conftest* |
7710 echo "$ac_t""no" 1>&6 | 7782 echo "$ac_t""no" 1>&6 |
7711 else | 7783 else |
7712 echo "configure: failed program was:" >&5 | 7784 echo "configure: failed program was:" >&5 |
7713 cat conftest.$ac_ext >&5 | 7785 cat conftest.$ac_ext >&5 |
7725 rm -f conftest* | 7797 rm -f conftest* |
7726 fi | 7798 fi |
7727 | 7799 |
7728 | 7800 |
7729 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7801 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7730 echo "configure:7731: checking for inline" >&5 | 7802 echo "configure:7803: checking for inline" >&5 |
7731 | 7803 |
7732 ac_cv_c_inline=no | 7804 ac_cv_c_inline=no |
7733 for ac_kw in inline __inline__ __inline; do | 7805 for ac_kw in inline __inline__ __inline; do |
7734 cat > conftest.$ac_ext <<EOF | 7806 cat > conftest.$ac_ext <<EOF |
7735 #line 7736 "configure" | 7807 #line 7808 "configure" |
7736 #include "confdefs.h" | 7808 #include "confdefs.h" |
7737 | 7809 |
7738 int main() { | 7810 int main() { |
7739 } $ac_kw foo() { | 7811 } $ac_kw foo() { |
7740 ; return 0; } | 7812 ; return 0; } |
7741 EOF | 7813 EOF |
7742 if { (eval echo configure:7743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7814 if { (eval echo configure:7815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7743 rm -rf conftest* | 7815 rm -rf conftest* |
7744 ac_cv_c_inline=$ac_kw; break | 7816 ac_cv_c_inline=$ac_kw; break |
7745 else | 7817 else |
7746 echo "configure: failed program was:" >&5 | 7818 echo "configure: failed program was:" >&5 |
7747 cat conftest.$ac_ext >&5 | 7819 cat conftest.$ac_ext >&5 |
7787 | 7859 |
7788 | 7860 |
7789 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7861 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7790 # for constant arguments. Useless! | 7862 # for constant arguments. Useless! |
7791 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7863 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7792 echo "configure:7793: checking for working alloca.h" >&5 | 7864 echo "configure:7865: checking for working alloca.h" >&5 |
7793 | 7865 |
7794 cat > conftest.$ac_ext <<EOF | 7866 cat > conftest.$ac_ext <<EOF |
7795 #line 7796 "configure" | 7867 #line 7868 "configure" |
7796 #include "confdefs.h" | 7868 #include "confdefs.h" |
7797 #include <alloca.h> | 7869 #include <alloca.h> |
7798 int main() { | 7870 int main() { |
7799 char *p = alloca(2 * sizeof(int)); | 7871 char *p = alloca(2 * sizeof(int)); |
7800 ; return 0; } | 7872 ; return 0; } |
7801 EOF | 7873 EOF |
7802 if { (eval echo configure:7803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7874 if { (eval echo configure:7875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7803 rm -rf conftest* | 7875 rm -rf conftest* |
7804 ac_cv_header_alloca_h=yes | 7876 ac_cv_header_alloca_h=yes |
7805 else | 7877 else |
7806 echo "configure: failed program was:" >&5 | 7878 echo "configure: failed program was:" >&5 |
7807 cat conftest.$ac_ext >&5 | 7879 cat conftest.$ac_ext >&5 |
7821 } | 7893 } |
7822 | 7894 |
7823 fi | 7895 fi |
7824 | 7896 |
7825 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7897 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7826 echo "configure:7827: checking for alloca" >&5 | 7898 echo "configure:7899: checking for alloca" >&5 |
7827 | 7899 |
7828 cat > conftest.$ac_ext <<EOF | 7900 cat > conftest.$ac_ext <<EOF |
7829 #line 7830 "configure" | 7901 #line 7902 "configure" |
7830 #include "confdefs.h" | 7902 #include "confdefs.h" |
7831 | 7903 |
7832 #ifdef __GNUC__ | 7904 #ifdef __GNUC__ |
7833 # define alloca __builtin_alloca | 7905 # define alloca __builtin_alloca |
7834 #else | 7906 #else |
7847 | 7919 |
7848 int main() { | 7920 int main() { |
7849 char *p = (char *) alloca(1); | 7921 char *p = (char *) alloca(1); |
7850 ; return 0; } | 7922 ; return 0; } |
7851 EOF | 7923 EOF |
7852 if { (eval echo configure:7853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7853 rm -rf conftest* | 7925 rm -rf conftest* |
7854 ac_cv_func_alloca_works=yes | 7926 ac_cv_func_alloca_works=yes |
7855 else | 7927 else |
7856 echo "configure: failed program was:" >&5 | 7928 echo "configure: failed program was:" >&5 |
7857 cat conftest.$ac_ext >&5 | 7929 cat conftest.$ac_ext >&5 |
7886 EOF | 7958 EOF |
7887 } | 7959 } |
7888 | 7960 |
7889 | 7961 |
7890 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7962 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7891 echo "configure:7892: checking whether alloca needs Cray hooks" >&5 | 7963 echo "configure:7964: checking whether alloca needs Cray hooks" >&5 |
7892 | 7964 |
7893 cat > conftest.$ac_ext <<EOF | 7965 cat > conftest.$ac_ext <<EOF |
7894 #line 7895 "configure" | 7966 #line 7967 "configure" |
7895 #include "confdefs.h" | 7967 #include "confdefs.h" |
7896 #if defined(CRAY) && ! defined(CRAY2) | 7968 #if defined(CRAY) && ! defined(CRAY2) |
7897 webecray | 7969 webecray |
7898 #else | 7970 #else |
7899 wenotbecray | 7971 wenotbecray |
7913 | 7985 |
7914 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7986 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7915 if test $ac_cv_os_cray = yes; then | 7987 if test $ac_cv_os_cray = yes; then |
7916 for ac_func in _getb67 GETB67 getb67; do | 7988 for ac_func in _getb67 GETB67 getb67; do |
7917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7918 echo "configure:7919: checking for $ac_func" >&5 | 7990 echo "configure:7991: checking for $ac_func" >&5 |
7919 | 7991 |
7920 cat > conftest.$ac_ext <<EOF | 7992 cat > conftest.$ac_ext <<EOF |
7921 #line 7922 "configure" | 7993 #line 7994 "configure" |
7922 #include "confdefs.h" | 7994 #include "confdefs.h" |
7923 /* System header to define __stub macros and hopefully few prototypes, | 7995 /* System header to define __stub macros and hopefully few prototypes, |
7924 which can conflict with char $ac_func(); below. */ | 7996 which can conflict with char $ac_func(); below. */ |
7925 #include <assert.h> | 7997 #include <assert.h> |
7926 /* Override any gcc2 internal prototype to avoid an error. */ | 7998 /* Override any gcc2 internal prototype to avoid an error. */ |
7939 $ac_func(); | 8011 $ac_func(); |
7940 #endif | 8012 #endif |
7941 | 8013 |
7942 ; return 0; } | 8014 ; return 0; } |
7943 EOF | 8015 EOF |
7944 if { (eval echo configure:7945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8016 if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7945 rm -rf conftest* | 8017 rm -rf conftest* |
7946 eval "ac_cv_func_$ac_func=yes" | 8018 eval "ac_cv_func_$ac_func=yes" |
7947 else | 8019 else |
7948 echo "configure: failed program was:" >&5 | 8020 echo "configure: failed program was:" >&5 |
7949 cat conftest.$ac_ext >&5 | 8021 cat conftest.$ac_ext >&5 |
7969 | 8041 |
7970 done | 8042 done |
7971 fi | 8043 fi |
7972 | 8044 |
7973 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8045 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
7974 echo "configure:7975: checking stack direction for C alloca" >&5 | 8046 echo "configure:8047: checking stack direction for C alloca" >&5 |
7975 | 8047 |
7976 cat > conftest.$ac_ext <<EOF | 8048 cat > conftest.$ac_ext <<EOF |
7977 #line 7978 "configure" | 8049 #line 8050 "configure" |
7978 #include "confdefs.h" | 8050 #include "confdefs.h" |
7979 find_stack_direction () | 8051 find_stack_direction () |
7980 { | 8052 { |
7981 static char *addr = 0; | 8053 static char *addr = 0; |
7982 auto char dummy; | 8054 auto char dummy; |
7991 main () | 8063 main () |
7992 { | 8064 { |
7993 exit (find_stack_direction() < 0); | 8065 exit (find_stack_direction() < 0); |
7994 } | 8066 } |
7995 EOF | 8067 EOF |
7996 if { (eval echo configure:7997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8068 if { (eval echo configure:8069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7997 then | 8069 then |
7998 ac_cv_c_stack_direction=1 | 8070 ac_cv_c_stack_direction=1 |
7999 else | 8071 else |
8000 echo "configure: failed program was:" >&5 | 8072 echo "configure: failed program was:" >&5 |
8001 cat conftest.$ac_ext >&5 | 8073 cat conftest.$ac_ext >&5 |
8019 echo " xemacs will be linked with \"$ALLOCA\"" | 8091 echo " xemacs will be linked with \"$ALLOCA\"" |
8020 fi | 8092 fi |
8021 | 8093 |
8022 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8094 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8023 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8095 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8024 echo "configure:8025: checking for vfork.h" >&5 | 8096 echo "configure:8097: checking for vfork.h" >&5 |
8025 | 8097 |
8026 cat > conftest.$ac_ext <<EOF | 8098 cat > conftest.$ac_ext <<EOF |
8027 #line 8028 "configure" | 8099 #line 8100 "configure" |
8028 #include "confdefs.h" | 8100 #include "confdefs.h" |
8029 #include <vfork.h> | 8101 #include <vfork.h> |
8030 EOF | 8102 EOF |
8031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8032 { (eval echo configure:8033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8104 { (eval echo configure:8105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8033 ac_err=`grep -v '^ *+' conftest.out` | 8105 ac_err=`grep -v '^ *+' conftest.out` |
8034 if test -z "$ac_err"; then | 8106 if test -z "$ac_err"; then |
8035 rm -rf conftest* | 8107 rm -rf conftest* |
8036 eval "ac_cv_header_$ac_safe=yes" | 8108 eval "ac_cv_header_$ac_safe=yes" |
8037 else | 8109 else |
8055 else | 8127 else |
8056 echo "$ac_t""no" 1>&6 | 8128 echo "$ac_t""no" 1>&6 |
8057 fi | 8129 fi |
8058 | 8130 |
8059 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8131 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8060 echo "configure:8061: checking for working vfork" >&5 | 8132 echo "configure:8133: checking for working vfork" >&5 |
8061 | 8133 |
8062 cat > conftest.$ac_ext <<EOF | 8134 cat > conftest.$ac_ext <<EOF |
8063 #line 8064 "configure" | 8135 #line 8136 "configure" |
8064 #include "confdefs.h" | 8136 #include "confdefs.h" |
8065 /* Thanks to Paul Eggert for this test. */ | 8137 /* Thanks to Paul Eggert for this test. */ |
8066 #include <stdio.h> | 8138 #include <stdio.h> |
8067 #include <sys/types.h> | 8139 #include <sys/types.h> |
8068 #include <sys/stat.h> | 8140 #include <sys/stat.h> |
8153 || fstat(fileno(stdout), &st) != 0 | 8225 || fstat(fileno(stdout), &st) != 0 |
8154 ); | 8226 ); |
8155 } | 8227 } |
8156 } | 8228 } |
8157 EOF | 8229 EOF |
8158 if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8230 if { (eval echo configure:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8159 then | 8231 then |
8160 ac_cv_func_vfork_works=yes | 8232 ac_cv_func_vfork_works=yes |
8161 else | 8233 else |
8162 echo "configure: failed program was:" >&5 | 8234 echo "configure: failed program was:" >&5 |
8163 cat conftest.$ac_ext >&5 | 8235 cat conftest.$ac_ext >&5 |
8178 | 8250 |
8179 fi | 8251 fi |
8180 | 8252 |
8181 | 8253 |
8182 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8254 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8183 echo "configure:8184: checking for working strcoll" >&5 | 8255 echo "configure:8256: checking for working strcoll" >&5 |
8184 | 8256 |
8185 cat > conftest.$ac_ext <<EOF | 8257 cat > conftest.$ac_ext <<EOF |
8186 #line 8187 "configure" | 8258 #line 8259 "configure" |
8187 #include "confdefs.h" | 8259 #include "confdefs.h" |
8188 #include <string.h> | 8260 #include <string.h> |
8189 main () | 8261 main () |
8190 { | 8262 { |
8191 exit (strcoll ("abc", "def") >= 0 || | 8263 exit (strcoll ("abc", "def") >= 0 || |
8192 strcoll ("ABC", "DEF") >= 0 || | 8264 strcoll ("ABC", "DEF") >= 0 || |
8193 strcoll ("123", "456") >= 0); | 8265 strcoll ("123", "456") >= 0); |
8194 } | 8266 } |
8195 EOF | 8267 EOF |
8196 if { (eval echo configure:8197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8268 if { (eval echo configure:8269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8197 then | 8269 then |
8198 ac_cv_func_strcoll_works=yes | 8270 ac_cv_func_strcoll_works=yes |
8199 else | 8271 else |
8200 echo "configure: failed program was:" >&5 | 8272 echo "configure: failed program was:" >&5 |
8201 cat conftest.$ac_ext >&5 | 8273 cat conftest.$ac_ext >&5 |
8218 | 8290 |
8219 | 8291 |
8220 for ac_func in getpgrp | 8292 for ac_func in getpgrp |
8221 do | 8293 do |
8222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8223 echo "configure:8224: checking for $ac_func" >&5 | 8295 echo "configure:8296: checking for $ac_func" >&5 |
8224 | 8296 |
8225 cat > conftest.$ac_ext <<EOF | 8297 cat > conftest.$ac_ext <<EOF |
8226 #line 8227 "configure" | 8298 #line 8299 "configure" |
8227 #include "confdefs.h" | 8299 #include "confdefs.h" |
8228 /* System header to define __stub macros and hopefully few prototypes, | 8300 /* System header to define __stub macros and hopefully few prototypes, |
8229 which can conflict with char $ac_func(); below. */ | 8301 which can conflict with char $ac_func(); below. */ |
8230 #include <assert.h> | 8302 #include <assert.h> |
8231 /* Override any gcc2 internal prototype to avoid an error. */ | 8303 /* Override any gcc2 internal prototype to avoid an error. */ |
8244 $ac_func(); | 8316 $ac_func(); |
8245 #endif | 8317 #endif |
8246 | 8318 |
8247 ; return 0; } | 8319 ; return 0; } |
8248 EOF | 8320 EOF |
8249 if { (eval echo configure:8250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8250 rm -rf conftest* | 8322 rm -rf conftest* |
8251 eval "ac_cv_func_$ac_func=yes" | 8323 eval "ac_cv_func_$ac_func=yes" |
8252 else | 8324 else |
8253 echo "configure: failed program was:" >&5 | 8325 echo "configure: failed program was:" >&5 |
8254 cat conftest.$ac_ext >&5 | 8326 cat conftest.$ac_ext >&5 |
8272 echo "$ac_t""no" 1>&6 | 8344 echo "$ac_t""no" 1>&6 |
8273 fi | 8345 fi |
8274 done | 8346 done |
8275 | 8347 |
8276 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8348 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8277 echo "configure:8278: checking whether getpgrp takes no argument" >&5 | 8349 echo "configure:8350: checking whether getpgrp takes no argument" >&5 |
8278 | 8350 |
8279 cat > conftest.$ac_ext <<EOF | 8351 cat > conftest.$ac_ext <<EOF |
8280 #line 8281 "configure" | 8352 #line 8353 "configure" |
8281 #include "confdefs.h" | 8353 #include "confdefs.h" |
8282 | 8354 |
8283 /* | 8355 /* |
8284 * If this system has a BSD-style getpgrp(), | 8356 * If this system has a BSD-style getpgrp(), |
8285 * which takes a pid argument, exit unsuccessfully. | 8357 * which takes a pid argument, exit unsuccessfully. |
8330 exit(s>>8); | 8402 exit(s>>8); |
8331 } | 8403 } |
8332 } | 8404 } |
8333 | 8405 |
8334 EOF | 8406 EOF |
8335 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8336 then | 8408 then |
8337 ac_cv_func_getpgrp_void=yes | 8409 ac_cv_func_getpgrp_void=yes |
8338 else | 8410 else |
8339 echo "configure: failed program was:" >&5 | 8411 echo "configure: failed program was:" >&5 |
8340 cat conftest.$ac_ext >&5 | 8412 cat conftest.$ac_ext >&5 |
8356 | 8428 |
8357 fi | 8429 fi |
8358 | 8430 |
8359 | 8431 |
8360 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8432 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8361 echo "configure:8362: checking for working mmap" >&5 | 8433 echo "configure:8434: checking for working mmap" >&5 |
8362 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8434 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8363 cat > conftest.$ac_ext <<EOF | 8435 cat > conftest.$ac_ext <<EOF |
8364 #line 8365 "configure" | 8436 #line 8437 "configure" |
8365 #include "confdefs.h" | 8437 #include "confdefs.h" |
8366 #include <stdio.h> | 8438 #include <stdio.h> |
8367 #include <unistd.h> | 8439 #include <unistd.h> |
8368 #include <fcntl.h> | 8440 #include <fcntl.h> |
8369 #include <sys/mman.h> | 8441 #include <sys/mman.h> |
8392 return 0; | 8464 return 0; |
8393 perror ("conftest: mmap failed"); | 8465 perror ("conftest: mmap failed"); |
8394 return 1; | 8466 return 1; |
8395 } | 8467 } |
8396 EOF | 8468 EOF |
8397 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8469 if { (eval echo configure:8470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8398 then | 8470 then |
8399 have_mmap=yes | 8471 have_mmap=yes |
8400 else | 8472 else |
8401 echo "configure: failed program was:" >&5 | 8473 echo "configure: failed program was:" >&5 |
8402 cat conftest.$ac_ext >&5 | 8474 cat conftest.$ac_ext >&5 |
8426 } | 8498 } |
8427 | 8499 |
8428 | 8500 |
8429 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8501 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8430 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8502 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8431 echo "configure:8432: checking for termios.h" >&5 | 8503 echo "configure:8504: checking for termios.h" >&5 |
8432 | 8504 |
8433 cat > conftest.$ac_ext <<EOF | 8505 cat > conftest.$ac_ext <<EOF |
8434 #line 8435 "configure" | 8506 #line 8507 "configure" |
8435 #include "confdefs.h" | 8507 #include "confdefs.h" |
8436 #include <termios.h> | 8508 #include <termios.h> |
8437 EOF | 8509 EOF |
8438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8439 { (eval echo configure:8440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8511 { (eval echo configure:8512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8440 ac_err=`grep -v '^ *+' conftest.out` | 8512 ac_err=`grep -v '^ *+' conftest.out` |
8441 if test -z "$ac_err"; then | 8513 if test -z "$ac_err"; then |
8442 rm -rf conftest* | 8514 rm -rf conftest* |
8443 eval "ac_cv_header_$ac_safe=yes" | 8515 eval "ac_cv_header_$ac_safe=yes" |
8444 else | 8516 else |
8477 | 8549 |
8478 else | 8550 else |
8479 echo "$ac_t""no" 1>&6 | 8551 echo "$ac_t""no" 1>&6 |
8480 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8552 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8481 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8553 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8482 echo "configure:8483: checking for termio.h" >&5 | 8554 echo "configure:8555: checking for termio.h" >&5 |
8483 | 8555 |
8484 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
8485 #line 8486 "configure" | 8557 #line 8558 "configure" |
8486 #include "confdefs.h" | 8558 #include "confdefs.h" |
8487 #include <termio.h> | 8559 #include <termio.h> |
8488 EOF | 8560 EOF |
8489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8490 { (eval echo configure:8491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8491 ac_err=`grep -v '^ *+' conftest.out` | 8563 ac_err=`grep -v '^ *+' conftest.out` |
8492 if test -z "$ac_err"; then | 8564 if test -z "$ac_err"; then |
8493 rm -rf conftest* | 8565 rm -rf conftest* |
8494 eval "ac_cv_header_$ac_safe=yes" | 8566 eval "ac_cv_header_$ac_safe=yes" |
8495 else | 8567 else |
8517 fi | 8589 fi |
8518 | 8590 |
8519 | 8591 |
8520 | 8592 |
8521 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8593 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8522 echo "configure:8523: checking for socket" >&5 | 8594 echo "configure:8595: checking for socket" >&5 |
8523 | 8595 |
8524 cat > conftest.$ac_ext <<EOF | 8596 cat > conftest.$ac_ext <<EOF |
8525 #line 8526 "configure" | 8597 #line 8598 "configure" |
8526 #include "confdefs.h" | 8598 #include "confdefs.h" |
8527 /* System header to define __stub macros and hopefully few prototypes, | 8599 /* System header to define __stub macros and hopefully few prototypes, |
8528 which can conflict with char socket(); below. */ | 8600 which can conflict with char socket(); below. */ |
8529 #include <assert.h> | 8601 #include <assert.h> |
8530 /* Override any gcc2 internal prototype to avoid an error. */ | 8602 /* Override any gcc2 internal prototype to avoid an error. */ |
8543 socket(); | 8615 socket(); |
8544 #endif | 8616 #endif |
8545 | 8617 |
8546 ; return 0; } | 8618 ; return 0; } |
8547 EOF | 8619 EOF |
8548 if { (eval echo configure:8549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8549 rm -rf conftest* | 8621 rm -rf conftest* |
8550 eval "ac_cv_func_socket=yes" | 8622 eval "ac_cv_func_socket=yes" |
8551 else | 8623 else |
8552 echo "configure: failed program was:" >&5 | 8624 echo "configure: failed program was:" >&5 |
8553 cat conftest.$ac_ext >&5 | 8625 cat conftest.$ac_ext >&5 |
8558 | 8630 |
8559 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8631 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8560 echo "$ac_t""yes" 1>&6 | 8632 echo "$ac_t""yes" 1>&6 |
8561 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8633 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8562 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8634 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8563 echo "configure:8564: checking for netinet/in.h" >&5 | 8635 echo "configure:8636: checking for netinet/in.h" >&5 |
8564 | 8636 |
8565 cat > conftest.$ac_ext <<EOF | 8637 cat > conftest.$ac_ext <<EOF |
8566 #line 8567 "configure" | 8638 #line 8639 "configure" |
8567 #include "confdefs.h" | 8639 #include "confdefs.h" |
8568 #include <netinet/in.h> | 8640 #include <netinet/in.h> |
8569 EOF | 8641 EOF |
8570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8571 { (eval echo configure:8572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8643 { (eval echo configure:8644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8572 ac_err=`grep -v '^ *+' conftest.out` | 8644 ac_err=`grep -v '^ *+' conftest.out` |
8573 if test -z "$ac_err"; then | 8645 if test -z "$ac_err"; then |
8574 rm -rf conftest* | 8646 rm -rf conftest* |
8575 eval "ac_cv_header_$ac_safe=yes" | 8647 eval "ac_cv_header_$ac_safe=yes" |
8576 else | 8648 else |
8583 rm -f conftest* | 8655 rm -f conftest* |
8584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8585 echo "$ac_t""yes" 1>&6 | 8657 echo "$ac_t""yes" 1>&6 |
8586 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8658 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8587 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8659 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8588 echo "configure:8589: checking for arpa/inet.h" >&5 | 8660 echo "configure:8661: checking for arpa/inet.h" >&5 |
8589 | 8661 |
8590 cat > conftest.$ac_ext <<EOF | 8662 cat > conftest.$ac_ext <<EOF |
8591 #line 8592 "configure" | 8663 #line 8664 "configure" |
8592 #include "confdefs.h" | 8664 #include "confdefs.h" |
8593 #include <arpa/inet.h> | 8665 #include <arpa/inet.h> |
8594 EOF | 8666 EOF |
8595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8667 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8596 { (eval echo configure:8597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8668 { (eval echo configure:8669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8597 ac_err=`grep -v '^ *+' conftest.out` | 8669 ac_err=`grep -v '^ *+' conftest.out` |
8598 if test -z "$ac_err"; then | 8670 if test -z "$ac_err"; then |
8599 rm -rf conftest* | 8671 rm -rf conftest* |
8600 eval "ac_cv_header_$ac_safe=yes" | 8672 eval "ac_cv_header_$ac_safe=yes" |
8601 else | 8673 else |
8616 #define HAVE_SOCKETS 1 | 8688 #define HAVE_SOCKETS 1 |
8617 EOF | 8689 EOF |
8618 } | 8690 } |
8619 | 8691 |
8620 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8692 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8621 echo "configure:8622: checking "for sun_len member in struct sockaddr_un"" >&5 | 8693 echo "configure:8694: checking "for sun_len member in struct sockaddr_un"" >&5 |
8622 cat > conftest.$ac_ext <<EOF | 8694 cat > conftest.$ac_ext <<EOF |
8623 #line 8624 "configure" | 8695 #line 8696 "configure" |
8624 #include "confdefs.h" | 8696 #include "confdefs.h" |
8625 | 8697 |
8626 #include <sys/types.h> | 8698 #include <sys/types.h> |
8627 #include <sys/socket.h> | 8699 #include <sys/socket.h> |
8628 #include <sys/un.h> | 8700 #include <sys/un.h> |
8629 | 8701 |
8630 int main() { | 8702 int main() { |
8631 static struct sockaddr_un x; x.sun_len = 1; | 8703 static struct sockaddr_un x; x.sun_len = 1; |
8632 ; return 0; } | 8704 ; return 0; } |
8633 EOF | 8705 EOF |
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8706 if { (eval echo configure:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8635 rm -rf conftest* | 8707 rm -rf conftest* |
8636 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8708 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8637 Defining HAVE_SOCKADDR_SUN_LEN | 8709 Defining HAVE_SOCKADDR_SUN_LEN |
8638 EOF | 8710 EOF |
8639 cat >> confdefs.h <<\EOF | 8711 cat >> confdefs.h <<\EOF |
8660 echo "$ac_t""no" 1>&6 | 8732 echo "$ac_t""no" 1>&6 |
8661 fi | 8733 fi |
8662 | 8734 |
8663 | 8735 |
8664 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8736 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8665 echo "configure:8666: checking for msgget" >&5 | 8737 echo "configure:8738: checking for msgget" >&5 |
8666 | 8738 |
8667 cat > conftest.$ac_ext <<EOF | 8739 cat > conftest.$ac_ext <<EOF |
8668 #line 8669 "configure" | 8740 #line 8741 "configure" |
8669 #include "confdefs.h" | 8741 #include "confdefs.h" |
8670 /* System header to define __stub macros and hopefully few prototypes, | 8742 /* System header to define __stub macros and hopefully few prototypes, |
8671 which can conflict with char msgget(); below. */ | 8743 which can conflict with char msgget(); below. */ |
8672 #include <assert.h> | 8744 #include <assert.h> |
8673 /* Override any gcc2 internal prototype to avoid an error. */ | 8745 /* Override any gcc2 internal prototype to avoid an error. */ |
8686 msgget(); | 8758 msgget(); |
8687 #endif | 8759 #endif |
8688 | 8760 |
8689 ; return 0; } | 8761 ; return 0; } |
8690 EOF | 8762 EOF |
8691 if { (eval echo configure:8692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8692 rm -rf conftest* | 8764 rm -rf conftest* |
8693 eval "ac_cv_func_msgget=yes" | 8765 eval "ac_cv_func_msgget=yes" |
8694 else | 8766 else |
8695 echo "configure: failed program was:" >&5 | 8767 echo "configure: failed program was:" >&5 |
8696 cat conftest.$ac_ext >&5 | 8768 cat conftest.$ac_ext >&5 |
8701 | 8773 |
8702 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8774 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8703 echo "$ac_t""yes" 1>&6 | 8775 echo "$ac_t""yes" 1>&6 |
8704 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8776 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8705 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8777 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8706 echo "configure:8707: checking for sys/ipc.h" >&5 | 8778 echo "configure:8779: checking for sys/ipc.h" >&5 |
8707 | 8779 |
8708 cat > conftest.$ac_ext <<EOF | 8780 cat > conftest.$ac_ext <<EOF |
8709 #line 8710 "configure" | 8781 #line 8782 "configure" |
8710 #include "confdefs.h" | 8782 #include "confdefs.h" |
8711 #include <sys/ipc.h> | 8783 #include <sys/ipc.h> |
8712 EOF | 8784 EOF |
8713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8714 { (eval echo configure:8715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8786 { (eval echo configure:8787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8715 ac_err=`grep -v '^ *+' conftest.out` | 8787 ac_err=`grep -v '^ *+' conftest.out` |
8716 if test -z "$ac_err"; then | 8788 if test -z "$ac_err"; then |
8717 rm -rf conftest* | 8789 rm -rf conftest* |
8718 eval "ac_cv_header_$ac_safe=yes" | 8790 eval "ac_cv_header_$ac_safe=yes" |
8719 else | 8791 else |
8726 rm -f conftest* | 8798 rm -f conftest* |
8727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8799 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8728 echo "$ac_t""yes" 1>&6 | 8800 echo "$ac_t""yes" 1>&6 |
8729 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8801 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8730 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8802 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8731 echo "configure:8732: checking for sys/msg.h" >&5 | 8803 echo "configure:8804: checking for sys/msg.h" >&5 |
8732 | 8804 |
8733 cat > conftest.$ac_ext <<EOF | 8805 cat > conftest.$ac_ext <<EOF |
8734 #line 8735 "configure" | 8806 #line 8807 "configure" |
8735 #include "confdefs.h" | 8807 #include "confdefs.h" |
8736 #include <sys/msg.h> | 8808 #include <sys/msg.h> |
8737 EOF | 8809 EOF |
8738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8739 { (eval echo configure:8740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8811 { (eval echo configure:8812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8740 ac_err=`grep -v '^ *+' conftest.out` | 8812 ac_err=`grep -v '^ *+' conftest.out` |
8741 if test -z "$ac_err"; then | 8813 if test -z "$ac_err"; then |
8742 rm -rf conftest* | 8814 rm -rf conftest* |
8743 eval "ac_cv_header_$ac_safe=yes" | 8815 eval "ac_cv_header_$ac_safe=yes" |
8744 else | 8816 else |
8772 fi | 8844 fi |
8773 | 8845 |
8774 | 8846 |
8775 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8847 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8776 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8848 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8777 echo "configure:8778: checking for dirent.h" >&5 | 8849 echo "configure:8850: checking for dirent.h" >&5 |
8778 | 8850 |
8779 cat > conftest.$ac_ext <<EOF | 8851 cat > conftest.$ac_ext <<EOF |
8780 #line 8781 "configure" | 8852 #line 8853 "configure" |
8781 #include "confdefs.h" | 8853 #include "confdefs.h" |
8782 #include <dirent.h> | 8854 #include <dirent.h> |
8783 EOF | 8855 EOF |
8784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8785 { (eval echo configure:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8857 { (eval echo configure:8858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8786 ac_err=`grep -v '^ *+' conftest.out` | 8858 ac_err=`grep -v '^ *+' conftest.out` |
8787 if test -z "$ac_err"; then | 8859 if test -z "$ac_err"; then |
8788 rm -rf conftest* | 8860 rm -rf conftest* |
8789 eval "ac_cv_header_$ac_safe=yes" | 8861 eval "ac_cv_header_$ac_safe=yes" |
8790 else | 8862 else |
8807 | 8879 |
8808 else | 8880 else |
8809 echo "$ac_t""no" 1>&6 | 8881 echo "$ac_t""no" 1>&6 |
8810 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8882 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8811 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8883 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8812 echo "configure:8813: checking for sys/dir.h" >&5 | 8884 echo "configure:8885: checking for sys/dir.h" >&5 |
8813 | 8885 |
8814 cat > conftest.$ac_ext <<EOF | 8886 cat > conftest.$ac_ext <<EOF |
8815 #line 8816 "configure" | 8887 #line 8888 "configure" |
8816 #include "confdefs.h" | 8888 #include "confdefs.h" |
8817 #include <sys/dir.h> | 8889 #include <sys/dir.h> |
8818 EOF | 8890 EOF |
8819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8820 { (eval echo configure:8821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8892 { (eval echo configure:8893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8821 ac_err=`grep -v '^ *+' conftest.out` | 8893 ac_err=`grep -v '^ *+' conftest.out` |
8822 if test -z "$ac_err"; then | 8894 if test -z "$ac_err"; then |
8823 rm -rf conftest* | 8895 rm -rf conftest* |
8824 eval "ac_cv_header_$ac_safe=yes" | 8896 eval "ac_cv_header_$ac_safe=yes" |
8825 else | 8897 else |
8848 fi | 8920 fi |
8849 | 8921 |
8850 | 8922 |
8851 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8923 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8852 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8924 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8853 echo "configure:8854: checking for nlist.h" >&5 | 8925 echo "configure:8926: checking for nlist.h" >&5 |
8854 | 8926 |
8855 cat > conftest.$ac_ext <<EOF | 8927 cat > conftest.$ac_ext <<EOF |
8856 #line 8857 "configure" | 8928 #line 8929 "configure" |
8857 #include "confdefs.h" | 8929 #include "confdefs.h" |
8858 #include <nlist.h> | 8930 #include <nlist.h> |
8859 EOF | 8931 EOF |
8860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8861 { (eval echo configure:8862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8933 { (eval echo configure:8934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8862 ac_err=`grep -v '^ *+' conftest.out` | 8934 ac_err=`grep -v '^ *+' conftest.out` |
8863 if test -z "$ac_err"; then | 8935 if test -z "$ac_err"; then |
8864 rm -rf conftest* | 8936 rm -rf conftest* |
8865 eval "ac_cv_header_$ac_safe=yes" | 8937 eval "ac_cv_header_$ac_safe=yes" |
8866 else | 8938 else |
8886 fi | 8958 fi |
8887 | 8959 |
8888 | 8960 |
8889 | 8961 |
8890 echo "checking "for sound support"" 1>&6 | 8962 echo "checking "for sound support"" 1>&6 |
8891 echo "configure:8892: checking "for sound support"" >&5 | 8963 echo "configure:8964: checking "for sound support"" >&5 |
8892 case "$with_sound" in | 8964 case "$with_sound" in |
8893 native | both ) with_native_sound=yes;; | 8965 native | both ) with_native_sound=yes;; |
8894 nas | no ) with_native_sound=no;; | 8966 nas | no ) with_native_sound=no;; |
8895 esac | 8967 esac |
8896 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8968 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8897 | 8969 |
8898 if test "$with_native_sound" != "no"; then | 8970 if test "$with_native_sound" != "no"; then |
8899 if test -n "$native_sound_lib"; then | 8971 if test -n "$native_sound_lib"; then |
8900 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8972 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8901 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8973 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8902 echo "configure:8903: checking for multimedia/audio_device.h" >&5 | 8974 echo "configure:8975: checking for multimedia/audio_device.h" >&5 |
8903 | 8975 |
8904 cat > conftest.$ac_ext <<EOF | 8976 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 8977 #line 8978 "configure" |
8906 #include "confdefs.h" | 8978 #include "confdefs.h" |
8907 #include <multimedia/audio_device.h> | 8979 #include <multimedia/audio_device.h> |
8908 EOF | 8980 EOF |
8909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8981 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8910 { (eval echo configure:8911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8982 { (eval echo configure:8983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8911 ac_err=`grep -v '^ *+' conftest.out` | 8983 ac_err=`grep -v '^ *+' conftest.out` |
8912 if test -z "$ac_err"; then | 8984 if test -z "$ac_err"; then |
8913 rm -rf conftest* | 8985 rm -rf conftest* |
8914 eval "ac_cv_header_$ac_safe=yes" | 8986 eval "ac_cv_header_$ac_safe=yes" |
8915 else | 8987 else |
8953 case "$canonical" in | 9025 case "$canonical" in |
8954 *-sgi-* ) | 9026 *-sgi-* ) |
8955 if test -z "$native_sound_lib"; then | 9027 if test -z "$native_sound_lib"; then |
8956 | 9028 |
8957 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9029 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
8958 echo "configure:8959: checking for ALopenport in -laudio" >&5 | 9030 echo "configure:9031: checking for ALopenport in -laudio" >&5 |
8959 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9031 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
8960 | 9032 |
8961 xe_check_libs=" -laudio " | 9033 xe_check_libs=" -laudio " |
8962 cat > conftest.$ac_ext <<EOF | 9034 cat > conftest.$ac_ext <<EOF |
8963 #line 8964 "configure" | 9035 #line 9036 "configure" |
8964 #include "confdefs.h" | 9036 #include "confdefs.h" |
8965 /* Override any gcc2 internal prototype to avoid an error. */ | 9037 /* Override any gcc2 internal prototype to avoid an error. */ |
8966 /* We use char because int might match the return type of a gcc2 | 9038 /* We use char because int might match the return type of a gcc2 |
8967 builtin and then its argument prototype would still apply. */ | 9039 builtin and then its argument prototype would still apply. */ |
8968 char ALopenport(); | 9040 char ALopenport(); |
8969 | 9041 |
8970 int main() { | 9042 int main() { |
8971 ALopenport() | 9043 ALopenport() |
8972 ; return 0; } | 9044 ; return 0; } |
8973 EOF | 9045 EOF |
8974 if { (eval echo configure:8975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8975 rm -rf conftest* | 9047 rm -rf conftest* |
8976 eval "ac_cv_lib_$ac_lib_var=yes" | 9048 eval "ac_cv_lib_$ac_lib_var=yes" |
8977 else | 9049 else |
8978 echo "configure: failed program was:" >&5 | 9050 echo "configure: failed program was:" >&5 |
8979 cat conftest.$ac_ext >&5 | 9051 cat conftest.$ac_ext >&5 |
9000 fi ;; | 9072 fi ;; |
9001 hppa*-hp-hpux* ) | 9073 hppa*-hp-hpux* ) |
9002 if test -z "$native_sound_lib"; then | 9074 if test -z "$native_sound_lib"; then |
9003 | 9075 |
9004 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9005 echo "configure:9006: checking for AOpenAudio in -lAlib" >&5 | 9077 echo "configure:9078: checking for AOpenAudio in -lAlib" >&5 |
9006 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9078 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9007 | 9079 |
9008 xe_check_libs=" -lAlib " | 9080 xe_check_libs=" -lAlib " |
9009 cat > conftest.$ac_ext <<EOF | 9081 cat > conftest.$ac_ext <<EOF |
9010 #line 9011 "configure" | 9082 #line 9083 "configure" |
9011 #include "confdefs.h" | 9083 #include "confdefs.h" |
9012 /* Override any gcc2 internal prototype to avoid an error. */ | 9084 /* Override any gcc2 internal prototype to avoid an error. */ |
9013 /* We use char because int might match the return type of a gcc2 | 9085 /* We use char because int might match the return type of a gcc2 |
9014 builtin and then its argument prototype would still apply. */ | 9086 builtin and then its argument prototype would still apply. */ |
9015 char AOpenAudio(); | 9087 char AOpenAudio(); |
9016 | 9088 |
9017 int main() { | 9089 int main() { |
9018 AOpenAudio() | 9090 AOpenAudio() |
9019 ; return 0; } | 9091 ; return 0; } |
9020 EOF | 9092 EOF |
9021 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9022 rm -rf conftest* | 9094 rm -rf conftest* |
9023 eval "ac_cv_lib_$ac_lib_var=yes" | 9095 eval "ac_cv_lib_$ac_lib_var=yes" |
9024 else | 9096 else |
9025 echo "configure: failed program was:" >&5 | 9097 echo "configure: failed program was:" >&5 |
9026 cat conftest.$ac_ext >&5 | 9098 cat conftest.$ac_ext >&5 |
9054 | 9126 |
9055 if test -z "$sound_found"; then | 9127 if test -z "$sound_found"; then |
9056 for dir in "machine" "sys" "linux"; do | 9128 for dir in "machine" "sys" "linux"; do |
9057 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9129 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9058 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9130 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9059 echo "configure:9060: checking for ${dir}/soundcard.h" >&5 | 9131 echo "configure:9132: checking for ${dir}/soundcard.h" >&5 |
9060 | 9132 |
9061 cat > conftest.$ac_ext <<EOF | 9133 cat > conftest.$ac_ext <<EOF |
9062 #line 9063 "configure" | 9134 #line 9135 "configure" |
9063 #include "confdefs.h" | 9135 #include "confdefs.h" |
9064 #include <${dir}/soundcard.h> | 9136 #include <${dir}/soundcard.h> |
9065 EOF | 9137 EOF |
9066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9067 { (eval echo configure:9068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9068 ac_err=`grep -v '^ *+' conftest.out` | 9140 ac_err=`grep -v '^ *+' conftest.out` |
9069 if test -z "$ac_err"; then | 9141 if test -z "$ac_err"; then |
9070 rm -rf conftest* | 9142 rm -rf conftest* |
9071 eval "ac_cv_header_$ac_safe=yes" | 9143 eval "ac_cv_header_$ac_safe=yes" |
9072 else | 9144 else |
9132 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9204 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9133 echo " xemacs will be linked with \"nas.o\"" | 9205 echo " xemacs will be linked with \"nas.o\"" |
9134 fi | 9206 fi |
9135 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9207 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9136 cat > conftest.$ac_ext <<EOF | 9208 cat > conftest.$ac_ext <<EOF |
9137 #line 9138 "configure" | 9209 #line 9210 "configure" |
9138 #include "confdefs.h" | 9210 #include "confdefs.h" |
9139 #include <audio/Xtutil.h> | 9211 #include <audio/Xtutil.h> |
9140 EOF | 9212 EOF |
9141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9142 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9214 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9159 | 9231 |
9160 test -z "$with_tty" && with_tty=yes | 9232 test -z "$with_tty" && with_tty=yes |
9161 | 9233 |
9162 if test "$with_tty" = "yes" ; then | 9234 if test "$with_tty" = "yes" ; then |
9163 echo "checking for TTY-related features" 1>&6 | 9235 echo "checking for TTY-related features" 1>&6 |
9164 echo "configure:9165: checking for TTY-related features" >&5 | 9236 echo "configure:9237: checking for TTY-related features" >&5 |
9165 { test "$extra_verbose" = "yes" && cat << \EOF | 9237 { test "$extra_verbose" = "yes" && cat << \EOF |
9166 Defining HAVE_TTY | 9238 Defining HAVE_TTY |
9167 EOF | 9239 EOF |
9168 cat >> confdefs.h <<\EOF | 9240 cat >> confdefs.h <<\EOF |
9169 #define HAVE_TTY 1 | 9241 #define HAVE_TTY 1 |
9175 fi | 9247 fi |
9176 | 9248 |
9177 if test -z "$with_ncurses"; then | 9249 if test -z "$with_ncurses"; then |
9178 | 9250 |
9179 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9251 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9180 echo "configure:9181: checking for tgetent in -lncurses" >&5 | 9252 echo "configure:9253: checking for tgetent in -lncurses" >&5 |
9181 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9253 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9182 | 9254 |
9183 xe_check_libs=" -lncurses " | 9255 xe_check_libs=" -lncurses " |
9184 cat > conftest.$ac_ext <<EOF | 9256 cat > conftest.$ac_ext <<EOF |
9185 #line 9186 "configure" | 9257 #line 9258 "configure" |
9186 #include "confdefs.h" | 9258 #include "confdefs.h" |
9187 /* Override any gcc2 internal prototype to avoid an error. */ | 9259 /* Override any gcc2 internal prototype to avoid an error. */ |
9188 /* We use char because int might match the return type of a gcc2 | 9260 /* We use char because int might match the return type of a gcc2 |
9189 builtin and then its argument prototype would still apply. */ | 9261 builtin and then its argument prototype would still apply. */ |
9190 char tgetent(); | 9262 char tgetent(); |
9191 | 9263 |
9192 int main() { | 9264 int main() { |
9193 tgetent() | 9265 tgetent() |
9194 ; return 0; } | 9266 ; return 0; } |
9195 EOF | 9267 EOF |
9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9268 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9197 rm -rf conftest* | 9269 rm -rf conftest* |
9198 eval "ac_cv_lib_$ac_lib_var=yes" | 9270 eval "ac_cv_lib_$ac_lib_var=yes" |
9199 else | 9271 else |
9200 echo "configure: failed program was:" >&5 | 9272 echo "configure: failed program was:" >&5 |
9201 cat conftest.$ac_ext >&5 | 9273 cat conftest.$ac_ext >&5 |
9224 EOF | 9296 EOF |
9225 } | 9297 } |
9226 | 9298 |
9227 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9299 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9228 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9300 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9229 echo "configure:9230: checking for ncurses/curses.h" >&5 | 9301 echo "configure:9302: checking for ncurses/curses.h" >&5 |
9230 | 9302 |
9231 cat > conftest.$ac_ext <<EOF | 9303 cat > conftest.$ac_ext <<EOF |
9232 #line 9233 "configure" | 9304 #line 9305 "configure" |
9233 #include "confdefs.h" | 9305 #include "confdefs.h" |
9234 #include <ncurses/curses.h> | 9306 #include <ncurses/curses.h> |
9235 EOF | 9307 EOF |
9236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9237 { (eval echo configure:9238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9309 { (eval echo configure:9310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9238 ac_err=`grep -v '^ *+' conftest.out` | 9310 ac_err=`grep -v '^ *+' conftest.out` |
9239 if test -z "$ac_err"; then | 9311 if test -z "$ac_err"; then |
9240 rm -rf conftest* | 9312 rm -rf conftest* |
9241 eval "ac_cv_header_$ac_safe=yes" | 9313 eval "ac_cv_header_$ac_safe=yes" |
9242 else | 9314 else |
9254 echo "$ac_t""no" 1>&6 | 9326 echo "$ac_t""no" 1>&6 |
9255 fi | 9327 fi |
9256 | 9328 |
9257 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9329 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9258 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9330 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9259 echo "configure:9260: checking for ncurses/term.h" >&5 | 9331 echo "configure:9332: checking for ncurses/term.h" >&5 |
9260 | 9332 |
9261 cat > conftest.$ac_ext <<EOF | 9333 cat > conftest.$ac_ext <<EOF |
9262 #line 9263 "configure" | 9334 #line 9335 "configure" |
9263 #include "confdefs.h" | 9335 #include "confdefs.h" |
9264 #include <ncurses/term.h> | 9336 #include <ncurses/term.h> |
9265 EOF | 9337 EOF |
9266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9267 { (eval echo configure:9268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9339 { (eval echo configure:9340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9268 ac_err=`grep -v '^ *+' conftest.out` | 9340 ac_err=`grep -v '^ *+' conftest.out` |
9269 if test -z "$ac_err"; then | 9341 if test -z "$ac_err"; then |
9270 rm -rf conftest* | 9342 rm -rf conftest* |
9271 eval "ac_cv_header_$ac_safe=yes" | 9343 eval "ac_cv_header_$ac_safe=yes" |
9272 else | 9344 else |
9292 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9364 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9293 save_c_switch_site="$c_switch_site" | 9365 save_c_switch_site="$c_switch_site" |
9294 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9366 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9295 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9367 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9296 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9368 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9297 echo "configure:9298: checking for ncurses/curses.h" >&5 | 9369 echo "configure:9370: checking for ncurses/curses.h" >&5 |
9298 | 9370 |
9299 cat > conftest.$ac_ext <<EOF | 9371 cat > conftest.$ac_ext <<EOF |
9300 #line 9301 "configure" | 9372 #line 9373 "configure" |
9301 #include "confdefs.h" | 9373 #include "confdefs.h" |
9302 #include <ncurses/curses.h> | 9374 #include <ncurses/curses.h> |
9303 EOF | 9375 EOF |
9304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9305 { (eval echo configure:9306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9377 { (eval echo configure:9378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9306 ac_err=`grep -v '^ *+' conftest.out` | 9378 ac_err=`grep -v '^ *+' conftest.out` |
9307 if test -z "$ac_err"; then | 9379 if test -z "$ac_err"; then |
9308 rm -rf conftest* | 9380 rm -rf conftest* |
9309 eval "ac_cv_header_$ac_safe=yes" | 9381 eval "ac_cv_header_$ac_safe=yes" |
9310 else | 9382 else |
9335 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9407 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9336 else | 9408 else |
9337 for lib in curses termlib termcap; do | 9409 for lib in curses termlib termcap; do |
9338 | 9410 |
9339 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9411 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9340 echo "configure:9341: checking for tgetent in -l$lib" >&5 | 9412 echo "configure:9413: checking for tgetent in -l$lib" >&5 |
9341 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9413 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9342 | 9414 |
9343 xe_check_libs=" -l$lib " | 9415 xe_check_libs=" -l$lib " |
9344 cat > conftest.$ac_ext <<EOF | 9416 cat > conftest.$ac_ext <<EOF |
9345 #line 9346 "configure" | 9417 #line 9418 "configure" |
9346 #include "confdefs.h" | 9418 #include "confdefs.h" |
9347 /* Override any gcc2 internal prototype to avoid an error. */ | 9419 /* Override any gcc2 internal prototype to avoid an error. */ |
9348 /* We use char because int might match the return type of a gcc2 | 9420 /* We use char because int might match the return type of a gcc2 |
9349 builtin and then its argument prototype would still apply. */ | 9421 builtin and then its argument prototype would still apply. */ |
9350 char tgetent(); | 9422 char tgetent(); |
9351 | 9423 |
9352 int main() { | 9424 int main() { |
9353 tgetent() | 9425 tgetent() |
9354 ; return 0; } | 9426 ; return 0; } |
9355 EOF | 9427 EOF |
9356 if { (eval echo configure:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9428 if { (eval echo configure:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9357 rm -rf conftest* | 9429 rm -rf conftest* |
9358 eval "ac_cv_lib_$ac_lib_var=yes" | 9430 eval "ac_cv_lib_$ac_lib_var=yes" |
9359 else | 9431 else |
9360 echo "configure: failed program was:" >&5 | 9432 echo "configure: failed program was:" >&5 |
9361 cat conftest.$ac_ext >&5 | 9433 cat conftest.$ac_ext >&5 |
9382 if test -n "$libs_termcap"; then | 9454 if test -n "$libs_termcap"; then |
9383 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9455 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9384 else | 9456 else |
9385 | 9457 |
9386 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9458 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9387 echo "configure:9388: checking for tgetent in -lcurses" >&5 | 9459 echo "configure:9460: checking for tgetent in -lcurses" >&5 |
9388 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9460 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9389 | 9461 |
9390 xe_check_libs=" -lcurses " | 9462 xe_check_libs=" -lcurses " |
9391 cat > conftest.$ac_ext <<EOF | 9463 cat > conftest.$ac_ext <<EOF |
9392 #line 9393 "configure" | 9464 #line 9465 "configure" |
9393 #include "confdefs.h" | 9465 #include "confdefs.h" |
9394 /* Override any gcc2 internal prototype to avoid an error. */ | 9466 /* Override any gcc2 internal prototype to avoid an error. */ |
9395 /* We use char because int might match the return type of a gcc2 | 9467 /* We use char because int might match the return type of a gcc2 |
9396 builtin and then its argument prototype would still apply. */ | 9468 builtin and then its argument prototype would still apply. */ |
9397 char tgetent(); | 9469 char tgetent(); |
9398 | 9470 |
9399 int main() { | 9471 int main() { |
9400 tgetent() | 9472 tgetent() |
9401 ; return 0; } | 9473 ; return 0; } |
9402 EOF | 9474 EOF |
9403 if { (eval echo configure:9404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9475 if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9404 rm -rf conftest* | 9476 rm -rf conftest* |
9405 eval "ac_cv_lib_$ac_lib_var=yes" | 9477 eval "ac_cv_lib_$ac_lib_var=yes" |
9406 else | 9478 else |
9407 echo "configure: failed program was:" >&5 | 9479 echo "configure: failed program was:" >&5 |
9408 cat conftest.$ac_ext >&5 | 9480 cat conftest.$ac_ext >&5 |
9416 echo "$ac_t""yes" 1>&6 | 9488 echo "$ac_t""yes" 1>&6 |
9417 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9489 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9418 else | 9490 else |
9419 echo "$ac_t""no" 1>&6 | 9491 echo "$ac_t""no" 1>&6 |
9420 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9492 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9421 echo "configure:9422: checking for tgetent in -ltermcap" >&5 | 9493 echo "configure:9494: checking for tgetent in -ltermcap" >&5 |
9422 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9494 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9423 | 9495 |
9424 xe_check_libs=" -ltermcap " | 9496 xe_check_libs=" -ltermcap " |
9425 cat > conftest.$ac_ext <<EOF | 9497 cat > conftest.$ac_ext <<EOF |
9426 #line 9427 "configure" | 9498 #line 9499 "configure" |
9427 #include "confdefs.h" | 9499 #include "confdefs.h" |
9428 /* Override any gcc2 internal prototype to avoid an error. */ | 9500 /* Override any gcc2 internal prototype to avoid an error. */ |
9429 /* We use char because int might match the return type of a gcc2 | 9501 /* We use char because int might match the return type of a gcc2 |
9430 builtin and then its argument prototype would still apply. */ | 9502 builtin and then its argument prototype would still apply. */ |
9431 char tgetent(); | 9503 char tgetent(); |
9432 | 9504 |
9433 int main() { | 9505 int main() { |
9434 tgetent() | 9506 tgetent() |
9435 ; return 0; } | 9507 ; return 0; } |
9436 EOF | 9508 EOF |
9437 if { (eval echo configure:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9509 if { (eval echo configure:9510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9438 rm -rf conftest* | 9510 rm -rf conftest* |
9439 eval "ac_cv_lib_$ac_lib_var=yes" | 9511 eval "ac_cv_lib_$ac_lib_var=yes" |
9440 else | 9512 else |
9441 echo "configure: failed program was:" >&5 | 9513 echo "configure: failed program was:" >&5 |
9442 cat conftest.$ac_ext >&5 | 9514 cat conftest.$ac_ext >&5 |
9480 } | 9552 } |
9481 | 9553 |
9482 | 9554 |
9483 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9555 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9484 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9556 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9485 echo "configure:9486: checking for gpm.h" >&5 | 9557 echo "configure:9558: checking for gpm.h" >&5 |
9486 | 9558 |
9487 cat > conftest.$ac_ext <<EOF | 9559 cat > conftest.$ac_ext <<EOF |
9488 #line 9489 "configure" | 9560 #line 9561 "configure" |
9489 #include "confdefs.h" | 9561 #include "confdefs.h" |
9490 #include <gpm.h> | 9562 #include <gpm.h> |
9491 EOF | 9563 EOF |
9492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9493 { (eval echo configure:9494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9565 { (eval echo configure:9566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9494 ac_err=`grep -v '^ *+' conftest.out` | 9566 ac_err=`grep -v '^ *+' conftest.out` |
9495 if test -z "$ac_err"; then | 9567 if test -z "$ac_err"; then |
9496 rm -rf conftest* | 9568 rm -rf conftest* |
9497 eval "ac_cv_header_$ac_safe=yes" | 9569 eval "ac_cv_header_$ac_safe=yes" |
9498 else | 9570 else |
9511 with_gpm=no | 9583 with_gpm=no |
9512 fi | 9584 fi |
9513 } | 9585 } |
9514 test -z "$with_gpm" && { | 9586 test -z "$with_gpm" && { |
9515 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9587 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9516 echo "configure:9517: checking for Gpm_Open in -lgpm" >&5 | 9588 echo "configure:9589: checking for Gpm_Open in -lgpm" >&5 |
9517 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9589 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9518 | 9590 |
9519 xe_check_libs=" -lgpm " | 9591 xe_check_libs=" -lgpm " |
9520 cat > conftest.$ac_ext <<EOF | 9592 cat > conftest.$ac_ext <<EOF |
9521 #line 9522 "configure" | 9593 #line 9594 "configure" |
9522 #include "confdefs.h" | 9594 #include "confdefs.h" |
9523 /* Override any gcc2 internal prototype to avoid an error. */ | 9595 /* Override any gcc2 internal prototype to avoid an error. */ |
9524 /* We use char because int might match the return type of a gcc2 | 9596 /* We use char because int might match the return type of a gcc2 |
9525 builtin and then its argument prototype would still apply. */ | 9597 builtin and then its argument prototype would still apply. */ |
9526 char Gpm_Open(); | 9598 char Gpm_Open(); |
9527 | 9599 |
9528 int main() { | 9600 int main() { |
9529 Gpm_Open() | 9601 Gpm_Open() |
9530 ; return 0; } | 9602 ; return 0; } |
9531 EOF | 9603 EOF |
9532 if { (eval echo configure:9533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9533 rm -rf conftest* | 9605 rm -rf conftest* |
9534 eval "ac_cv_lib_$ac_lib_var=yes" | 9606 eval "ac_cv_lib_$ac_lib_var=yes" |
9535 else | 9607 else |
9536 echo "configure: failed program was:" >&5 | 9608 echo "configure: failed program was:" >&5 |
9537 cat conftest.$ac_ext >&5 | 9609 cat conftest.$ac_ext >&5 |
9576 echo " xemacs will be linked with \"event-unixoid.o\"" | 9648 echo " xemacs will be linked with \"event-unixoid.o\"" |
9577 fi | 9649 fi |
9578 | 9650 |
9579 | 9651 |
9580 echo "checking for database support" 1>&6 | 9652 echo "checking for database support" 1>&6 |
9581 echo "configure:9582: checking for database support" >&5 | 9653 echo "configure:9654: checking for database support" >&5 |
9582 | 9654 |
9583 if test "$with_database_gnudbm" != "no"; then | 9655 if test "$with_database_gnudbm" != "no"; then |
9584 | 9656 |
9585 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9657 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9586 echo "configure:9587: checking for dbm_open in -lgdbm" >&5 | 9658 echo "configure:9659: checking for dbm_open in -lgdbm" >&5 |
9587 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9659 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9588 | 9660 |
9589 xe_check_libs=" -lgdbm " | 9661 xe_check_libs=" -lgdbm " |
9590 cat > conftest.$ac_ext <<EOF | 9662 cat > conftest.$ac_ext <<EOF |
9591 #line 9592 "configure" | 9663 #line 9664 "configure" |
9592 #include "confdefs.h" | 9664 #include "confdefs.h" |
9593 /* Override any gcc2 internal prototype to avoid an error. */ | 9665 /* Override any gcc2 internal prototype to avoid an error. */ |
9594 /* We use char because int might match the return type of a gcc2 | 9666 /* We use char because int might match the return type of a gcc2 |
9595 builtin and then its argument prototype would still apply. */ | 9667 builtin and then its argument prototype would still apply. */ |
9596 char dbm_open(); | 9668 char dbm_open(); |
9597 | 9669 |
9598 int main() { | 9670 int main() { |
9599 dbm_open() | 9671 dbm_open() |
9600 ; return 0; } | 9672 ; return 0; } |
9601 EOF | 9673 EOF |
9602 if { (eval echo configure:9603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9674 if { (eval echo configure:9675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9603 rm -rf conftest* | 9675 rm -rf conftest* |
9604 eval "ac_cv_lib_$ac_lib_var=yes" | 9676 eval "ac_cv_lib_$ac_lib_var=yes" |
9605 else | 9677 else |
9606 echo "configure: failed program was:" >&5 | 9678 echo "configure: failed program was:" >&5 |
9607 cat conftest.$ac_ext >&5 | 9679 cat conftest.$ac_ext >&5 |
9619 fi | 9691 fi |
9620 | 9692 |
9621 | 9693 |
9622 if test "$with_database_gnudbm" != "yes"; then | 9694 if test "$with_database_gnudbm" != "yes"; then |
9623 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9695 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9624 echo "configure:9625: checking for dbm_open" >&5 | 9696 echo "configure:9697: checking for dbm_open" >&5 |
9625 | 9697 |
9626 cat > conftest.$ac_ext <<EOF | 9698 cat > conftest.$ac_ext <<EOF |
9627 #line 9628 "configure" | 9699 #line 9700 "configure" |
9628 #include "confdefs.h" | 9700 #include "confdefs.h" |
9629 /* System header to define __stub macros and hopefully few prototypes, | 9701 /* System header to define __stub macros and hopefully few prototypes, |
9630 which can conflict with char dbm_open(); below. */ | 9702 which can conflict with char dbm_open(); below. */ |
9631 #include <assert.h> | 9703 #include <assert.h> |
9632 /* Override any gcc2 internal prototype to avoid an error. */ | 9704 /* Override any gcc2 internal prototype to avoid an error. */ |
9645 dbm_open(); | 9717 dbm_open(); |
9646 #endif | 9718 #endif |
9647 | 9719 |
9648 ; return 0; } | 9720 ; return 0; } |
9649 EOF | 9721 EOF |
9650 if { (eval echo configure:9651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9722 if { (eval echo configure:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9651 rm -rf conftest* | 9723 rm -rf conftest* |
9652 eval "ac_cv_func_dbm_open=yes" | 9724 eval "ac_cv_func_dbm_open=yes" |
9653 else | 9725 else |
9654 echo "configure: failed program was:" >&5 | 9726 echo "configure: failed program was:" >&5 |
9655 cat conftest.$ac_ext >&5 | 9727 cat conftest.$ac_ext >&5 |
9681 fi | 9753 fi |
9682 fi | 9754 fi |
9683 | 9755 |
9684 if test "$with_database_dbm" != "no"; then | 9756 if test "$with_database_dbm" != "no"; then |
9685 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9757 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9686 echo "configure:9687: checking for dbm_open" >&5 | 9758 echo "configure:9759: checking for dbm_open" >&5 |
9687 | 9759 |
9688 cat > conftest.$ac_ext <<EOF | 9760 cat > conftest.$ac_ext <<EOF |
9689 #line 9690 "configure" | 9761 #line 9762 "configure" |
9690 #include "confdefs.h" | 9762 #include "confdefs.h" |
9691 /* System header to define __stub macros and hopefully few prototypes, | 9763 /* System header to define __stub macros and hopefully few prototypes, |
9692 which can conflict with char dbm_open(); below. */ | 9764 which can conflict with char dbm_open(); below. */ |
9693 #include <assert.h> | 9765 #include <assert.h> |
9694 /* Override any gcc2 internal prototype to avoid an error. */ | 9766 /* Override any gcc2 internal prototype to avoid an error. */ |
9707 dbm_open(); | 9779 dbm_open(); |
9708 #endif | 9780 #endif |
9709 | 9781 |
9710 ; return 0; } | 9782 ; return 0; } |
9711 EOF | 9783 EOF |
9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9784 if { (eval echo configure:9785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9713 rm -rf conftest* | 9785 rm -rf conftest* |
9714 eval "ac_cv_func_dbm_open=yes" | 9786 eval "ac_cv_func_dbm_open=yes" |
9715 else | 9787 else |
9716 echo "configure: failed program was:" >&5 | 9788 echo "configure: failed program was:" >&5 |
9717 cat conftest.$ac_ext >&5 | 9789 cat conftest.$ac_ext >&5 |
9728 fi | 9800 fi |
9729 | 9801 |
9730 if test "$need_libdbm" != "no"; then | 9802 if test "$need_libdbm" != "no"; then |
9731 | 9803 |
9732 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9804 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9733 echo "configure:9734: checking for dbm_open in -ldbm" >&5 | 9805 echo "configure:9806: checking for dbm_open in -ldbm" >&5 |
9734 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9806 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9735 | 9807 |
9736 xe_check_libs=" -ldbm " | 9808 xe_check_libs=" -ldbm " |
9737 cat > conftest.$ac_ext <<EOF | 9809 cat > conftest.$ac_ext <<EOF |
9738 #line 9739 "configure" | 9810 #line 9811 "configure" |
9739 #include "confdefs.h" | 9811 #include "confdefs.h" |
9740 /* Override any gcc2 internal prototype to avoid an error. */ | 9812 /* Override any gcc2 internal prototype to avoid an error. */ |
9741 /* We use char because int might match the return type of a gcc2 | 9813 /* We use char because int might match the return type of a gcc2 |
9742 builtin and then its argument prototype would still apply. */ | 9814 builtin and then its argument prototype would still apply. */ |
9743 char dbm_open(); | 9815 char dbm_open(); |
9744 | 9816 |
9745 int main() { | 9817 int main() { |
9746 dbm_open() | 9818 dbm_open() |
9747 ; return 0; } | 9819 ; return 0; } |
9748 EOF | 9820 EOF |
9749 if { (eval echo configure:9750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9821 if { (eval echo configure:9822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9750 rm -rf conftest* | 9822 rm -rf conftest* |
9751 eval "ac_cv_lib_$ac_lib_var=yes" | 9823 eval "ac_cv_lib_$ac_lib_var=yes" |
9752 else | 9824 else |
9753 echo "configure: failed program was:" >&5 | 9825 echo "configure: failed program was:" >&5 |
9754 cat conftest.$ac_ext >&5 | 9826 cat conftest.$ac_ext >&5 |
9781 fi | 9853 fi |
9782 fi | 9854 fi |
9783 | 9855 |
9784 if test "$with_database_berkdb" != "no"; then | 9856 if test "$with_database_berkdb" != "no"; then |
9785 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9857 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9786 echo "configure:9787: checking for dbopen" >&5 | 9858 echo "configure:9859: checking for dbopen" >&5 |
9787 | 9859 |
9788 cat > conftest.$ac_ext <<EOF | 9860 cat > conftest.$ac_ext <<EOF |
9789 #line 9790 "configure" | 9861 #line 9862 "configure" |
9790 #include "confdefs.h" | 9862 #include "confdefs.h" |
9791 /* System header to define __stub macros and hopefully few prototypes, | 9863 /* System header to define __stub macros and hopefully few prototypes, |
9792 which can conflict with char dbopen(); below. */ | 9864 which can conflict with char dbopen(); below. */ |
9793 #include <assert.h> | 9865 #include <assert.h> |
9794 /* Override any gcc2 internal prototype to avoid an error. */ | 9866 /* Override any gcc2 internal prototype to avoid an error. */ |
9807 dbopen(); | 9879 dbopen(); |
9808 #endif | 9880 #endif |
9809 | 9881 |
9810 ; return 0; } | 9882 ; return 0; } |
9811 EOF | 9883 EOF |
9812 if { (eval echo configure:9813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9884 if { (eval echo configure:9885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9813 rm -rf conftest* | 9885 rm -rf conftest* |
9814 eval "ac_cv_func_dbopen=yes" | 9886 eval "ac_cv_func_dbopen=yes" |
9815 else | 9887 else |
9816 echo "configure: failed program was:" >&5 | 9888 echo "configure: failed program was:" >&5 |
9817 cat conftest.$ac_ext >&5 | 9889 cat conftest.$ac_ext >&5 |
9828 fi | 9900 fi |
9829 | 9901 |
9830 if test "$need_libdb" != "no"; then | 9902 if test "$need_libdb" != "no"; then |
9831 | 9903 |
9832 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9904 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9833 echo "configure:9834: checking for dbopen in -ldb" >&5 | 9905 echo "configure:9906: checking for dbopen in -ldb" >&5 |
9834 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9906 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9835 | 9907 |
9836 xe_check_libs=" -ldb " | 9908 xe_check_libs=" -ldb " |
9837 cat > conftest.$ac_ext <<EOF | 9909 cat > conftest.$ac_ext <<EOF |
9838 #line 9839 "configure" | 9910 #line 9911 "configure" |
9839 #include "confdefs.h" | 9911 #include "confdefs.h" |
9840 /* Override any gcc2 internal prototype to avoid an error. */ | 9912 /* Override any gcc2 internal prototype to avoid an error. */ |
9841 /* We use char because int might match the return type of a gcc2 | 9913 /* We use char because int might match the return type of a gcc2 |
9842 builtin and then its argument prototype would still apply. */ | 9914 builtin and then its argument prototype would still apply. */ |
9843 char dbopen(); | 9915 char dbopen(); |
9844 | 9916 |
9845 int main() { | 9917 int main() { |
9846 dbopen() | 9918 dbopen() |
9847 ; return 0; } | 9919 ; return 0; } |
9848 EOF | 9920 EOF |
9849 if { (eval echo configure:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9921 if { (eval echo configure:9922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9850 rm -rf conftest* | 9922 rm -rf conftest* |
9851 eval "ac_cv_lib_$ac_lib_var=yes" | 9923 eval "ac_cv_lib_$ac_lib_var=yes" |
9852 else | 9924 else |
9853 echo "configure: failed program was:" >&5 | 9925 echo "configure: failed program was:" >&5 |
9854 cat conftest.$ac_ext >&5 | 9926 cat conftest.$ac_ext >&5 |
9868 | 9940 |
9869 fi | 9941 fi |
9870 if test "$with_database_berkdb" = "yes"; then | 9942 if test "$with_database_berkdb" = "yes"; then |
9871 for path in "db/db.h" "db.h"; do | 9943 for path in "db/db.h" "db.h"; do |
9872 cat > conftest.$ac_ext <<EOF | 9944 cat > conftest.$ac_ext <<EOF |
9873 #line 9874 "configure" | 9945 #line 9946 "configure" |
9874 #include "confdefs.h" | 9946 #include "confdefs.h" |
9875 #ifdef HAVE_INTTYPES_H | 9947 #ifdef HAVE_INTTYPES_H |
9876 #define __BIT_TYPES_DEFINED__ | 9948 #define __BIT_TYPES_DEFINED__ |
9877 #include <inttypes.h> | 9949 #include <inttypes.h> |
9878 typedef uint8_t u_int8_t; | 9950 typedef uint8_t u_int8_t; |
9886 | 9958 |
9887 int main() { | 9959 int main() { |
9888 | 9960 |
9889 ; return 0; } | 9961 ; return 0; } |
9890 EOF | 9962 EOF |
9891 if { (eval echo configure:9892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9963 if { (eval echo configure:9964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9892 rm -rf conftest* | 9964 rm -rf conftest* |
9893 db_h_path="$path"; break | 9965 db_h_path="$path"; break |
9894 else | 9966 else |
9895 echo "configure: failed program was:" >&5 | 9967 echo "configure: failed program was:" >&5 |
9896 cat conftest.$ac_ext >&5 | 9968 cat conftest.$ac_ext >&5 |
9938 fi | 10010 fi |
9939 | 10011 |
9940 if test "$with_socks" = "yes"; then | 10012 if test "$with_socks" = "yes"; then |
9941 | 10013 |
9942 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10014 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9943 echo "configure:9944: checking for SOCKSinit in -lsocks" >&5 | 10015 echo "configure:10016: checking for SOCKSinit in -lsocks" >&5 |
9944 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10016 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9945 | 10017 |
9946 xe_check_libs=" -lsocks " | 10018 xe_check_libs=" -lsocks " |
9947 cat > conftest.$ac_ext <<EOF | 10019 cat > conftest.$ac_ext <<EOF |
9948 #line 9949 "configure" | 10020 #line 10021 "configure" |
9949 #include "confdefs.h" | 10021 #include "confdefs.h" |
9950 /* Override any gcc2 internal prototype to avoid an error. */ | 10022 /* Override any gcc2 internal prototype to avoid an error. */ |
9951 /* We use char because int might match the return type of a gcc2 | 10023 /* We use char because int might match the return type of a gcc2 |
9952 builtin and then its argument prototype would still apply. */ | 10024 builtin and then its argument prototype would still apply. */ |
9953 char SOCKSinit(); | 10025 char SOCKSinit(); |
9954 | 10026 |
9955 int main() { | 10027 int main() { |
9956 SOCKSinit() | 10028 SOCKSinit() |
9957 ; return 0; } | 10029 ; return 0; } |
9958 EOF | 10030 EOF |
9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9960 rm -rf conftest* | 10032 rm -rf conftest* |
9961 eval "ac_cv_lib_$ac_lib_var=yes" | 10033 eval "ac_cv_lib_$ac_lib_var=yes" |
9962 else | 10034 else |
9963 echo "configure: failed program was:" >&5 | 10035 echo "configure: failed program was:" >&5 |
9964 cat conftest.$ac_ext >&5 | 10036 cat conftest.$ac_ext >&5 |