Mercurial > hg > xemacs-beta
comparison configure @ 267:966663fcf606 r20-5b32
Import from CVS: tag r20-5b32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:26:29 +0200 |
parents | 8efd647ea9ca |
children | b2472a1930f2 |
comparison
equal
deleted
inserted
replaced
266:18d185df8c54 | 267:966663fcf606 |
---|---|
59 target=NONE | 59 target=NONE |
60 verbose= | 60 verbose= |
61 x_includes=NONE | 61 x_includes=NONE |
62 x_libraries=NONE | 62 x_libraries=NONE |
63 CDPATH=.; export CDPATH | 63 CDPATH=.; export CDPATH |
64 package_path=NONE | |
65 | 64 |
66 if test -n "$ZSH_VERSION"; then | 65 if test -n "$ZSH_VERSION"; then |
67 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO | 66 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO |
68 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH | 67 setopt GLOB_SUBST NO_HUP INTERACTIVE_COMMENTS KSH_ARRAYS NO_MULTIOS NO_NOMATCH |
69 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS | 68 setopt RM_STAR_SILENT POSIX_BUILTINS SH_FILE_EXPANSION SH_GLOB SH_OPTION_LETTERS |
223 infopath='/usr/local/lib/texmf/doc/info:/usr/local/lib/texmf/info:/usr/lib/texmf/doc/info:/usr/lib/texmf/info:/usr/local/info:/usr/info' | 222 infopath='/usr/local/lib/texmf/doc/info:/usr/local/lib/texmf/info:/usr/lib/texmf/doc/info:/usr/lib/texmf/info:/usr/local/info:/usr/info' |
224 infopath_user_defined='no' | 223 infopath_user_defined='no' |
225 lispdir='${datadir}/xemacs-${version}/lisp' | 224 lispdir='${datadir}/xemacs-${version}/lisp' |
226 lispdir_user_defined='no' | 225 lispdir_user_defined='no' |
227 sitelispdir='${datadir}/xemacs/site-lisp' | 226 sitelispdir='${datadir}/xemacs/site-lisp' |
227 sitelispdir_user_defined='no' | |
228 packagepath='~/.xemacs::${datadir}/xemacs/mule-packages:${datadir}/xemacs-${version}/mule-packages:${datadir}/xemacs/packages:${datadir}/xemacs-${version}/packages' | |
229 packagepath_user_defined='no' | |
228 etcdir='${datadir}/xemacs-${version}/etc' | 230 etcdir='${datadir}/xemacs-${version}/etc' |
229 etcdir_user_defined='no' | 231 etcdir_user_defined='no' |
230 lockdir='${statedir}/xemacs/lock' | 232 lockdir='${statedir}/xemacs/lock' |
231 lockdir_user_defined='no' | 233 lockdir_user_defined='no' |
232 archlibdir='${libdir}/xemacs-${version}/${configuration}' | 234 archlibdir='${libdir}/xemacs-${version}/${configuration}' |
233 archlibdir_user_defined='no' | 235 archlibdir_user_defined='no' |
236 with_site_lisp='yes' | |
234 with_menubars='' | 237 with_menubars='' |
235 with_scrollbars='' | 238 with_scrollbars='' |
236 with_dialogs='' | 239 with_dialogs='' |
237 with_file_coding='' | 240 with_file_coding='' |
238 const_is_losing='yes' | 241 const_is_losing='yes' |
365 compiler | \ | 368 compiler | \ |
366 cflags | \ | 369 cflags | \ |
367 puresize | \ | 370 puresize | \ |
368 cache_file | \ | 371 cache_file | \ |
369 native_sound_lib | \ | 372 native_sound_lib | \ |
370 package_path | \ | 373 site_lisp | \ |
371 x_includes | \ | 374 x_includes | \ |
372 x_libraries | \ | 375 x_libraries | \ |
373 site_includes | \ | 376 site_includes | \ |
374 site_libraries | \ | 377 site_libraries | \ |
375 site_prefixes | \ | 378 site_prefixes | \ |
482 eval "$opt=\"$val\"" | 485 eval "$opt=\"$val\"" |
483 ;; | 486 ;; |
484 | 487 |
485 "error_checking" ) | 488 "error_checking" ) |
486 | 489 |
487 for x in `echo "$val" | sed -e 's/,/ /'` ; do | 490 for x in `echo "$val" | sed -e 's/,/ /g'` ; do |
488 case "$x" in | 491 case "$x" in |
489 n | no | non | none ) new_default=no ;; | 492 n | no | non | none ) new_default=no ;; |
490 a | al | all ) new_default=yes ;; | 493 a | al | all ) new_default=yes ;; |
491 | 494 |
492 extents ) error_check_extents=yes ;; | 495 extents ) error_check_extents=yes ;; |
506 | 509 |
507 * ) bogus_error_check=yes ;; | 510 * ) bogus_error_check=yes ;; |
508 esac | 511 esac |
509 if test "$bogus_error_check" -o \ | 512 if test "$bogus_error_check" -o \ |
510 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | 513 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then |
511 if test $error_check_default = yes ; then | 514 if test "$error_check_default" = yes ; then |
512 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', and \`nomalloc'." | 515 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', and \`nomalloc'." |
513 else | 516 else |
514 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', and \`malloc'." | 517 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', and \`malloc'." |
515 fi | 518 fi |
516 (echo "$progname: Usage error:" | 519 (echo "$progname: Usage error:" |
530 ;; | 533 ;; |
531 | 534 |
532 | 535 |
533 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 536 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
534 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ | 537 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ |
535 archlibdir | sitelispdir | docdir ) | 538 archlibdir | sitelispdir | docdir | packagepath ) |
536 if test "$valomitted" = "yes"; then | 539 if test "$valomitted" = "yes"; then |
537 if test "$#" = 0; then | 540 if test "$#" = 0; then |
538 (echo "$progname: Usage error:" | 541 (echo "$progname: Usage error:" |
539 echo " " "The \`--$optname' option requires a value." | 542 echo " " "The \`--$optname' option requires a value." |
540 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; | 543 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; |
543 fi | 546 fi |
544 eval "$opt=\"$val\"" | 547 eval "$opt=\"$val\"" |
545 | 548 |
546 case "$opt" in | 549 case "$opt" in |
547 lispdir ) lispdir_user_defined=yes ;; | 550 lispdir ) lispdir_user_defined=yes ;; |
551 sitelispdir ) sitelispdir_user_defined=yes ;; | |
548 etcdir ) etcdir_user_defined=yes ;; | 552 etcdir ) etcdir_user_defined=yes ;; |
549 infodir ) infodir_user_defined=yes ;; | 553 infodir ) infodir_user_defined=yes ;; |
550 infopath ) infopath_user_defined=yes ;; | 554 infopath ) infopath_user_defined=yes ;; |
555 packagepath ) packagepath_user_defined=yes ;; | |
551 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;; | 556 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;; |
552 statedir | lockdir ) lockdir_user_defined=yes ;; | 557 statedir | lockdir ) lockdir_user_defined=yes ;; |
553 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;; | 558 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;; |
554 esac | 559 esac |
555 ;; | 560 ;; |
640 ;; | 645 ;; |
641 esac | 646 esac |
642 | 647 |
643 if test -z "$configuration"; then | 648 if test -z "$configuration"; then |
644 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 649 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
645 echo "configure:646: checking "host system type"" >&5 | 650 echo "configure:651: checking "host system type"" >&5 |
646 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | 651 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ |
647 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | 652 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then |
648 echo "$ac_t""$configuration" 1>&6 | 653 echo "$ac_t""$configuration" 1>&6 |
649 else | 654 else |
650 echo "$ac_t""unknown" 1>&6 | 655 echo "$ac_t""unknown" 1>&6 |
654 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 659 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
655 fi | 660 fi |
656 fi | 661 fi |
657 | 662 |
658 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 663 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
659 echo "configure:660: checking whether ln -s works" >&5 | 664 echo "configure:665: checking whether ln -s works" >&5 |
660 | 665 |
661 rm -f conftestdata | 666 rm -f conftestdata |
662 if ln -s X conftestdata 2>/dev/null | 667 if ln -s X conftestdata 2>/dev/null |
663 then | 668 then |
664 rm -f conftestdata | 669 rm -f conftestdata |
831 } | 836 } |
832 | 837 |
833 | 838 |
834 | 839 |
835 echo "checking "the configuration name"" 1>&6 | 840 echo "checking "the configuration name"" 1>&6 |
836 echo "configure:837: checking "the configuration name"" >&5 | 841 echo "configure:842: checking "the configuration name"" >&5 |
837 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 842 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
838 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 843 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
839 exit $? | 844 exit $? |
840 fi | 845 fi |
841 | 846 |
1288 xe_save_CFLAGS="$CFLAGS" | 1293 xe_save_CFLAGS="$CFLAGS" |
1289 | 1294 |
1290 # Extract the first word of "gcc", so it can be a program name with args. | 1295 # Extract the first word of "gcc", so it can be a program name with args. |
1291 set dummy gcc; ac_word=$2 | 1296 set dummy gcc; ac_word=$2 |
1292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1293 echo "configure:1294: checking for $ac_word" >&5 | 1298 echo "configure:1299: checking for $ac_word" >&5 |
1294 | 1299 |
1295 if test -n "$CC"; then | 1300 if test -n "$CC"; then |
1296 ac_cv_prog_CC="$CC" # Let the user override the test. | 1301 ac_cv_prog_CC="$CC" # Let the user override the test. |
1297 else | 1302 else |
1298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1314 | 1319 |
1315 if test -z "$CC"; then | 1320 if test -z "$CC"; then |
1316 # Extract the first word of "cc", so it can be a program name with args. | 1321 # Extract the first word of "cc", so it can be a program name with args. |
1317 set dummy cc; ac_word=$2 | 1322 set dummy cc; ac_word=$2 |
1318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1319 echo "configure:1320: checking for $ac_word" >&5 | 1324 echo "configure:1325: checking for $ac_word" >&5 |
1320 | 1325 |
1321 if test -n "$CC"; then | 1326 if test -n "$CC"; then |
1322 ac_cv_prog_CC="$CC" # Let the user override the test. | 1327 ac_cv_prog_CC="$CC" # Let the user override the test. |
1323 else | 1328 else |
1324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1359 | 1364 |
1360 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1365 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1361 fi | 1366 fi |
1362 | 1367 |
1363 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1368 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1364 echo "configure:1365: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1369 echo "configure:1370: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1365 | 1370 |
1366 ac_ext=c | 1371 ac_ext=c |
1367 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1372 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1368 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1373 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1369 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1374 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1371 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1376 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1372 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1377 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1373 cross_compiling=no | 1378 cross_compiling=no |
1374 | 1379 |
1375 cat > conftest.$ac_ext <<EOF | 1380 cat > conftest.$ac_ext <<EOF |
1376 #line 1377 "configure" | 1381 #line 1382 "configure" |
1377 #include "confdefs.h" | 1382 #include "confdefs.h" |
1378 main(){return(0);} | 1383 main(){return(0);} |
1379 EOF | 1384 EOF |
1380 if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1385 if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1381 ac_cv_prog_cc_works=yes | 1386 ac_cv_prog_cc_works=yes |
1382 # If we can't run a trivial program, we are probably using a cross compiler. | 1387 # If we can't run a trivial program, we are probably using a cross compiler. |
1383 if (./conftest; exit) 2>/dev/null; then | 1388 if (./conftest; exit) 2>/dev/null; then |
1384 ac_cv_prog_cc_cross=no | 1389 ac_cv_prog_cc_cross=no |
1385 else | 1390 else |
1395 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1400 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1396 if test $ac_cv_prog_cc_works = no; then | 1401 if test $ac_cv_prog_cc_works = no; then |
1397 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1402 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1398 fi | 1403 fi |
1399 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1404 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1400 echo "configure:1401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1405 echo "configure:1406: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1401 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1406 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1402 cross_compiling=$ac_cv_prog_cc_cross | 1407 cross_compiling=$ac_cv_prog_cc_cross |
1403 | 1408 |
1404 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1409 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1405 echo "configure:1406: checking whether we are using GNU C" >&5 | 1410 echo "configure:1411: checking whether we are using GNU C" >&5 |
1406 | 1411 |
1407 cat > conftest.c <<EOF | 1412 cat > conftest.c <<EOF |
1408 #ifdef __GNUC__ | 1413 #ifdef __GNUC__ |
1409 yes; | 1414 yes; |
1410 #endif | 1415 #endif |
1411 EOF | 1416 EOF |
1412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1417 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1413 ac_cv_prog_gcc=yes | 1418 ac_cv_prog_gcc=yes |
1414 else | 1419 else |
1415 ac_cv_prog_gcc=no | 1420 ac_cv_prog_gcc=no |
1416 fi | 1421 fi |
1417 | 1422 |
1421 GCC=yes | 1426 GCC=yes |
1422 ac_test_CFLAGS="${CFLAGS+set}" | 1427 ac_test_CFLAGS="${CFLAGS+set}" |
1423 ac_save_CFLAGS="$CFLAGS" | 1428 ac_save_CFLAGS="$CFLAGS" |
1424 CFLAGS= | 1429 CFLAGS= |
1425 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1430 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1426 echo "configure:1427: checking whether ${CC-cc} accepts -g" >&5 | 1431 echo "configure:1432: checking whether ${CC-cc} accepts -g" >&5 |
1427 | 1432 |
1428 echo 'void f(){}' > conftest.c | 1433 echo 'void f(){}' > conftest.c |
1429 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1434 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1430 ac_cv_prog_cc_g=yes | 1435 ac_cv_prog_cc_g=yes |
1431 else | 1436 else |
1450 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1455 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1451 CC=${NON_GNU_CC-cc} | 1456 CC=${NON_GNU_CC-cc} |
1452 # Extract the first word of "gcc", so it can be a program name with args. | 1457 # Extract the first word of "gcc", so it can be a program name with args. |
1453 set dummy gcc; ac_word=$2 | 1458 set dummy gcc; ac_word=$2 |
1454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1455 echo "configure:1456: checking for $ac_word" >&5 | 1460 echo "configure:1461: checking for $ac_word" >&5 |
1456 | 1461 |
1457 if test -n "$CC"; then | 1462 if test -n "$CC"; then |
1458 ac_cv_prog_CC="$CC" # Let the user override the test. | 1463 ac_cv_prog_CC="$CC" # Let the user override the test. |
1459 else | 1464 else |
1460 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1476 | 1481 |
1477 if test -z "$CC"; then | 1482 if test -z "$CC"; then |
1478 # Extract the first word of "cc", so it can be a program name with args. | 1483 # Extract the first word of "cc", so it can be a program name with args. |
1479 set dummy cc; ac_word=$2 | 1484 set dummy cc; ac_word=$2 |
1480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1485 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1481 echo "configure:1482: checking for $ac_word" >&5 | 1486 echo "configure:1487: checking for $ac_word" >&5 |
1482 | 1487 |
1483 if test -n "$CC"; then | 1488 if test -n "$CC"; then |
1484 ac_cv_prog_CC="$CC" # Let the user override the test. | 1489 ac_cv_prog_CC="$CC" # Let the user override the test. |
1485 else | 1490 else |
1486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1521 | 1526 |
1522 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1527 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1523 fi | 1528 fi |
1524 | 1529 |
1525 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1530 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1526 echo "configure:1527: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1531 echo "configure:1532: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1527 | 1532 |
1528 ac_ext=c | 1533 ac_ext=c |
1529 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1534 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1530 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1535 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1531 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1536 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1533 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1538 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1534 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1539 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1535 cross_compiling=no | 1540 cross_compiling=no |
1536 | 1541 |
1537 cat > conftest.$ac_ext <<EOF | 1542 cat > conftest.$ac_ext <<EOF |
1538 #line 1539 "configure" | 1543 #line 1544 "configure" |
1539 #include "confdefs.h" | 1544 #include "confdefs.h" |
1540 main(){return(0);} | 1545 main(){return(0);} |
1541 EOF | 1546 EOF |
1542 if { (eval echo configure:1543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1547 if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1543 ac_cv_prog_cc_works=yes | 1548 ac_cv_prog_cc_works=yes |
1544 # If we can't run a trivial program, we are probably using a cross compiler. | 1549 # If we can't run a trivial program, we are probably using a cross compiler. |
1545 if (./conftest; exit) 2>/dev/null; then | 1550 if (./conftest; exit) 2>/dev/null; then |
1546 ac_cv_prog_cc_cross=no | 1551 ac_cv_prog_cc_cross=no |
1547 else | 1552 else |
1557 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1562 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1558 if test $ac_cv_prog_cc_works = no; then | 1563 if test $ac_cv_prog_cc_works = no; then |
1559 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1564 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1560 fi | 1565 fi |
1561 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1566 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1562 echo "configure:1563: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1567 echo "configure:1568: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1563 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1568 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1564 cross_compiling=$ac_cv_prog_cc_cross | 1569 cross_compiling=$ac_cv_prog_cc_cross |
1565 | 1570 |
1566 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1571 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1567 echo "configure:1568: checking whether we are using GNU C" >&5 | 1572 echo "configure:1573: checking whether we are using GNU C" >&5 |
1568 | 1573 |
1569 cat > conftest.c <<EOF | 1574 cat > conftest.c <<EOF |
1570 #ifdef __GNUC__ | 1575 #ifdef __GNUC__ |
1571 yes; | 1576 yes; |
1572 #endif | 1577 #endif |
1573 EOF | 1578 EOF |
1574 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1579 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1575 ac_cv_prog_gcc=yes | 1580 ac_cv_prog_gcc=yes |
1576 else | 1581 else |
1577 ac_cv_prog_gcc=no | 1582 ac_cv_prog_gcc=no |
1578 fi | 1583 fi |
1579 | 1584 |
1583 GCC=yes | 1588 GCC=yes |
1584 ac_test_CFLAGS="${CFLAGS+set}" | 1589 ac_test_CFLAGS="${CFLAGS+set}" |
1585 ac_save_CFLAGS="$CFLAGS" | 1590 ac_save_CFLAGS="$CFLAGS" |
1586 CFLAGS= | 1591 CFLAGS= |
1587 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1592 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1588 echo "configure:1589: checking whether ${CC-cc} accepts -g" >&5 | 1593 echo "configure:1594: checking whether ${CC-cc} accepts -g" >&5 |
1589 | 1594 |
1590 echo 'void f(){}' > conftest.c | 1595 echo 'void f(){}' > conftest.c |
1591 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1596 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1592 ac_cv_prog_cc_g=yes | 1597 ac_cv_prog_cc_g=yes |
1593 else | 1598 else |
1612 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1617 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1613 CC=gcc | 1618 CC=gcc |
1614 # Extract the first word of "gcc", so it can be a program name with args. | 1619 # Extract the first word of "gcc", so it can be a program name with args. |
1615 set dummy gcc; ac_word=$2 | 1620 set dummy gcc; ac_word=$2 |
1616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1617 echo "configure:1618: checking for $ac_word" >&5 | 1622 echo "configure:1623: checking for $ac_word" >&5 |
1618 | 1623 |
1619 if test -n "$CC"; then | 1624 if test -n "$CC"; then |
1620 ac_cv_prog_CC="$CC" # Let the user override the test. | 1625 ac_cv_prog_CC="$CC" # Let the user override the test. |
1621 else | 1626 else |
1622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1638 | 1643 |
1639 if test -z "$CC"; then | 1644 if test -z "$CC"; then |
1640 # Extract the first word of "cc", so it can be a program name with args. | 1645 # Extract the first word of "cc", so it can be a program name with args. |
1641 set dummy cc; ac_word=$2 | 1646 set dummy cc; ac_word=$2 |
1642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1643 echo "configure:1644: checking for $ac_word" >&5 | 1648 echo "configure:1649: checking for $ac_word" >&5 |
1644 | 1649 |
1645 if test -n "$CC"; then | 1650 if test -n "$CC"; then |
1646 ac_cv_prog_CC="$CC" # Let the user override the test. | 1651 ac_cv_prog_CC="$CC" # Let the user override the test. |
1647 else | 1652 else |
1648 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1683 | 1688 |
1684 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1689 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1685 fi | 1690 fi |
1686 | 1691 |
1687 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1692 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1688 echo "configure:1689: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1693 echo "configure:1694: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1689 | 1694 |
1690 ac_ext=c | 1695 ac_ext=c |
1691 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1696 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1692 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1697 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1693 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1698 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1695 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1700 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1696 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1701 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1697 cross_compiling=no | 1702 cross_compiling=no |
1698 | 1703 |
1699 cat > conftest.$ac_ext <<EOF | 1704 cat > conftest.$ac_ext <<EOF |
1700 #line 1701 "configure" | 1705 #line 1706 "configure" |
1701 #include "confdefs.h" | 1706 #include "confdefs.h" |
1702 main(){return(0);} | 1707 main(){return(0);} |
1703 EOF | 1708 EOF |
1704 if { (eval echo configure:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1709 if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1705 ac_cv_prog_cc_works=yes | 1710 ac_cv_prog_cc_works=yes |
1706 # If we can't run a trivial program, we are probably using a cross compiler. | 1711 # If we can't run a trivial program, we are probably using a cross compiler. |
1707 if (./conftest; exit) 2>/dev/null; then | 1712 if (./conftest; exit) 2>/dev/null; then |
1708 ac_cv_prog_cc_cross=no | 1713 ac_cv_prog_cc_cross=no |
1709 else | 1714 else |
1719 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1724 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1720 if test $ac_cv_prog_cc_works = no; then | 1725 if test $ac_cv_prog_cc_works = no; then |
1721 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1726 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1722 fi | 1727 fi |
1723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1728 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1724 echo "configure:1725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1729 echo "configure:1730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1725 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1730 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1726 cross_compiling=$ac_cv_prog_cc_cross | 1731 cross_compiling=$ac_cv_prog_cc_cross |
1727 | 1732 |
1728 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1733 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1729 echo "configure:1730: checking whether we are using GNU C" >&5 | 1734 echo "configure:1735: checking whether we are using GNU C" >&5 |
1730 | 1735 |
1731 cat > conftest.c <<EOF | 1736 cat > conftest.c <<EOF |
1732 #ifdef __GNUC__ | 1737 #ifdef __GNUC__ |
1733 yes; | 1738 yes; |
1734 #endif | 1739 #endif |
1735 EOF | 1740 EOF |
1736 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1741 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1737 ac_cv_prog_gcc=yes | 1742 ac_cv_prog_gcc=yes |
1738 else | 1743 else |
1739 ac_cv_prog_gcc=no | 1744 ac_cv_prog_gcc=no |
1740 fi | 1745 fi |
1741 | 1746 |
1745 GCC=yes | 1750 GCC=yes |
1746 ac_test_CFLAGS="${CFLAGS+set}" | 1751 ac_test_CFLAGS="${CFLAGS+set}" |
1747 ac_save_CFLAGS="$CFLAGS" | 1752 ac_save_CFLAGS="$CFLAGS" |
1748 CFLAGS= | 1753 CFLAGS= |
1749 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1754 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1750 echo "configure:1751: checking whether ${CC-cc} accepts -g" >&5 | 1755 echo "configure:1756: checking whether ${CC-cc} accepts -g" >&5 |
1751 | 1756 |
1752 echo 'void f(){}' > conftest.c | 1757 echo 'void f(){}' > conftest.c |
1753 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1758 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1754 ac_cv_prog_cc_g=yes | 1759 ac_cv_prog_cc_g=yes |
1755 else | 1760 else |
1778 test -n "$CPP" -a -d "$CPP" && CPP= | 1783 test -n "$CPP" -a -d "$CPP" && CPP= |
1779 | 1784 |
1780 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1785 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1781 | 1786 |
1782 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1787 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1783 echo "configure:1784: checking how to run the C preprocessor" >&5 | 1788 echo "configure:1789: checking how to run the C preprocessor" >&5 |
1784 # On Suns, sometimes $CPP names a directory. | 1789 # On Suns, sometimes $CPP names a directory. |
1785 if test -n "$CPP" && test -d "$CPP"; then | 1790 if test -n "$CPP" && test -d "$CPP"; then |
1786 CPP= | 1791 CPP= |
1787 fi | 1792 fi |
1788 if test -z "$CPP"; then | 1793 if test -z "$CPP"; then |
1791 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1796 # substituted into the Makefile and "${CC-cc}" will confuse make. |
1792 CPP="${CC-cc} -E" | 1797 CPP="${CC-cc} -E" |
1793 # On the NeXT, cc -E runs the code through the compiler's parser, | 1798 # On the NeXT, cc -E runs the code through the compiler's parser, |
1794 # not just through cpp. | 1799 # not just through cpp. |
1795 cat > conftest.$ac_ext <<EOF | 1800 cat > conftest.$ac_ext <<EOF |
1796 #line 1797 "configure" | 1801 #line 1802 "configure" |
1797 #include "confdefs.h" | 1802 #include "confdefs.h" |
1798 #include <assert.h> | 1803 #include <assert.h> |
1799 Syntax Error | 1804 Syntax Error |
1800 EOF | 1805 EOF |
1801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1802 { (eval echo configure:1803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1807 { (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1803 ac_err=`grep -v '^ *+' conftest.out` | 1808 ac_err=`grep -v '^ *+' conftest.out` |
1804 if test -z "$ac_err"; then | 1809 if test -z "$ac_err"; then |
1805 : | 1810 : |
1806 else | 1811 else |
1807 echo "$ac_err" >&5 | 1812 echo "$ac_err" >&5 |
1808 echo "configure: failed program was:" >&5 | 1813 echo "configure: failed program was:" >&5 |
1809 cat conftest.$ac_ext >&5 | 1814 cat conftest.$ac_ext >&5 |
1810 rm -rf conftest* | 1815 rm -rf conftest* |
1811 CPP="${CC-cc} -E -traditional-cpp" | 1816 CPP="${CC-cc} -E -traditional-cpp" |
1812 cat > conftest.$ac_ext <<EOF | 1817 cat > conftest.$ac_ext <<EOF |
1813 #line 1814 "configure" | 1818 #line 1819 "configure" |
1814 #include "confdefs.h" | 1819 #include "confdefs.h" |
1815 #include <assert.h> | 1820 #include <assert.h> |
1816 Syntax Error | 1821 Syntax Error |
1817 EOF | 1822 EOF |
1818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1819 { (eval echo configure:1820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1824 { (eval echo configure:1825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1820 ac_err=`grep -v '^ *+' conftest.out` | 1825 ac_err=`grep -v '^ *+' conftest.out` |
1821 if test -z "$ac_err"; then | 1826 if test -z "$ac_err"; then |
1822 : | 1827 : |
1823 else | 1828 else |
1824 echo "$ac_err" >&5 | 1829 echo "$ac_err" >&5 |
1837 fi | 1842 fi |
1838 echo "$ac_t""$CPP" 1>&6 | 1843 echo "$ac_t""$CPP" 1>&6 |
1839 | 1844 |
1840 | 1845 |
1841 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1846 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
1842 echo "configure:1843: checking for AIX" >&5 | 1847 echo "configure:1848: checking for AIX" >&5 |
1843 cat > conftest.$ac_ext <<EOF | 1848 cat > conftest.$ac_ext <<EOF |
1844 #line 1845 "configure" | 1849 #line 1850 "configure" |
1845 #include "confdefs.h" | 1850 #include "confdefs.h" |
1846 #ifdef _AIX | 1851 #ifdef _AIX |
1847 yes | 1852 yes |
1848 #endif | 1853 #endif |
1849 | 1854 |
1866 rm -f conftest* | 1871 rm -f conftest* |
1867 | 1872 |
1868 | 1873 |
1869 | 1874 |
1870 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 1875 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
1871 echo "configure:1872: checking for GNU libc" >&5 | 1876 echo "configure:1877: checking for GNU libc" >&5 |
1872 cat > conftest.$ac_ext <<EOF | 1877 cat > conftest.$ac_ext <<EOF |
1873 #line 1874 "configure" | 1878 #line 1879 "configure" |
1874 #include "confdefs.h" | 1879 #include "confdefs.h" |
1875 #include <features.h> | 1880 #include <features.h> |
1876 int main() { | 1881 int main() { |
1877 | 1882 |
1878 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1883 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
1880 ******* ======= ******** &&&&&&&& | 1885 ******* ======= ******** &&&&&&&& |
1881 #endif | 1886 #endif |
1882 | 1887 |
1883 ; return 0; } | 1888 ; return 0; } |
1884 EOF | 1889 EOF |
1885 if { (eval echo configure:1886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1890 if { (eval echo configure:1891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1886 rm -rf conftest* | 1891 rm -rf conftest* |
1887 have_glibc=yes | 1892 have_glibc=yes |
1888 else | 1893 else |
1889 echo "configure: failed program was:" >&5 | 1894 echo "configure: failed program was:" >&5 |
1890 cat conftest.$ac_ext >&5 | 1895 cat conftest.$ac_ext >&5 |
1893 fi | 1898 fi |
1894 rm -f conftest* | 1899 rm -f conftest* |
1895 echo "$ac_t""$have_glibc" 1>&6 | 1900 echo "$ac_t""$have_glibc" 1>&6 |
1896 | 1901 |
1897 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1902 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
1898 echo "configure:1899: checking whether we are using SunPro C" >&5 | 1903 echo "configure:1904: checking whether we are using SunPro C" >&5 |
1899 cat > conftest.$ac_ext <<EOF | 1904 cat > conftest.$ac_ext <<EOF |
1900 #line 1901 "configure" | 1905 #line 1906 "configure" |
1901 #include "confdefs.h" | 1906 #include "confdefs.h" |
1902 | 1907 |
1903 int main() { | 1908 int main() { |
1904 #ifndef __SUNPRO_C | 1909 #ifndef __SUNPRO_C |
1905 #error Not a SunPro compiler :-( | 1910 #error Not a SunPro compiler :-( |
1906 ******* ======= ******** &&&&&&&& | 1911 ******* ======= ******** &&&&&&&& |
1907 #endif | 1912 #endif |
1908 | 1913 |
1909 ; return 0; } | 1914 ; return 0; } |
1910 EOF | 1915 EOF |
1911 if { (eval echo configure:1912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1916 if { (eval echo configure:1917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1912 rm -rf conftest* | 1917 rm -rf conftest* |
1913 __sunpro_c=yes | 1918 __sunpro_c=yes |
1914 else | 1919 else |
1915 echo "configure: failed program was:" >&5 | 1920 echo "configure: failed program was:" >&5 |
1916 cat conftest.$ac_ext >&5 | 1921 cat conftest.$ac_ext >&5 |
2182 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2187 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2183 echo " xemacs will be linked with \"$unexec\"" | 2188 echo " xemacs will be linked with \"$unexec\"" |
2184 fi | 2189 fi |
2185 | 2190 |
2186 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2191 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2187 echo "configure:2188: checking for dynodump" >&5 | 2192 echo "configure:2193: checking for dynodump" >&5 |
2188 if test "$unexec" != "unexsol2.o"; then | 2193 if test "$unexec" != "unexsol2.o"; then |
2189 echo "$ac_t""no" 1>&6 | 2194 echo "$ac_t""no" 1>&6 |
2190 else | 2195 else |
2191 echo "$ac_t""yes" 1>&6 | 2196 echo "$ac_t""yes" 1>&6 |
2192 { test "$extra_verbose" = "yes" && cat << \EOF | 2197 { test "$extra_verbose" = "yes" && cat << \EOF |
2280 esac | 2285 esac |
2281 fi | 2286 fi |
2282 | 2287 |
2283 if test "$add_runtime_path" = "yes"; then | 2288 if test "$add_runtime_path" = "yes"; then |
2284 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2289 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2285 echo "configure:2286: checking "for runtime libraries flag"" >&5 | 2290 echo "configure:2291: checking "for runtime libraries flag"" >&5 |
2286 dash_r="" | 2291 dash_r="" |
2287 for try_dash_r in "-R" "-R " "-rpath "; do | 2292 for try_dash_r in "-R" "-R " "-rpath "; do |
2288 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2293 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2289 cat > conftest.$ac_ext <<EOF | 2294 cat > conftest.$ac_ext <<EOF |
2290 #line 2291 "configure" | 2295 #line 2296 "configure" |
2291 #include "confdefs.h" | 2296 #include "confdefs.h" |
2292 | 2297 |
2293 int main() { | 2298 int main() { |
2294 | 2299 |
2295 ; return 0; } | 2300 ; return 0; } |
2296 EOF | 2301 EOF |
2297 if { (eval echo configure:2298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2302 if { (eval echo configure:2303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2298 rm -rf conftest* | 2303 rm -rf conftest* |
2299 dash_r="$try_dash_r" | 2304 dash_r="$try_dash_r" |
2300 else | 2305 else |
2301 echo "configure: failed program was:" >&5 | 2306 echo "configure: failed program was:" >&5 |
2302 cat conftest.$ac_ext >&5 | 2307 cat conftest.$ac_ext >&5 |
2379 else | 2384 else |
2380 doug_lea_malloc=no | 2385 doug_lea_malloc=no |
2381 fi | 2386 fi |
2382 after_morecore_hook_exists=yes | 2387 after_morecore_hook_exists=yes |
2383 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2388 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2384 echo "configure:2385: checking for malloc_get_state" >&5 | 2389 echo "configure:2390: checking for malloc_get_state" >&5 |
2385 | 2390 |
2386 cat > conftest.$ac_ext <<EOF | 2391 cat > conftest.$ac_ext <<EOF |
2387 #line 2388 "configure" | 2392 #line 2393 "configure" |
2388 #include "confdefs.h" | 2393 #include "confdefs.h" |
2389 /* System header to define __stub macros and hopefully few prototypes, | 2394 /* System header to define __stub macros and hopefully few prototypes, |
2390 which can conflict with char malloc_get_state(); below. */ | 2395 which can conflict with char malloc_get_state(); below. */ |
2391 #include <assert.h> | 2396 #include <assert.h> |
2392 /* Override any gcc2 internal prototype to avoid an error. */ | 2397 /* Override any gcc2 internal prototype to avoid an error. */ |
2405 malloc_get_state(); | 2410 malloc_get_state(); |
2406 #endif | 2411 #endif |
2407 | 2412 |
2408 ; return 0; } | 2413 ; return 0; } |
2409 EOF | 2414 EOF |
2410 if { (eval echo configure:2411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2415 if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2411 rm -rf conftest* | 2416 rm -rf conftest* |
2412 eval "ac_cv_func_malloc_get_state=yes" | 2417 eval "ac_cv_func_malloc_get_state=yes" |
2413 else | 2418 else |
2414 echo "configure: failed program was:" >&5 | 2419 echo "configure: failed program was:" >&5 |
2415 cat conftest.$ac_ext >&5 | 2420 cat conftest.$ac_ext >&5 |
2425 echo "$ac_t""no" 1>&6 | 2430 echo "$ac_t""no" 1>&6 |
2426 doug_lea_malloc=no | 2431 doug_lea_malloc=no |
2427 fi | 2432 fi |
2428 | 2433 |
2429 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2434 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2430 echo "configure:2431: checking for malloc_set_state" >&5 | 2435 echo "configure:2436: checking for malloc_set_state" >&5 |
2431 | 2436 |
2432 cat > conftest.$ac_ext <<EOF | 2437 cat > conftest.$ac_ext <<EOF |
2433 #line 2434 "configure" | 2438 #line 2439 "configure" |
2434 #include "confdefs.h" | 2439 #include "confdefs.h" |
2435 /* System header to define __stub macros and hopefully few prototypes, | 2440 /* System header to define __stub macros and hopefully few prototypes, |
2436 which can conflict with char malloc_set_state(); below. */ | 2441 which can conflict with char malloc_set_state(); below. */ |
2437 #include <assert.h> | 2442 #include <assert.h> |
2438 /* Override any gcc2 internal prototype to avoid an error. */ | 2443 /* Override any gcc2 internal prototype to avoid an error. */ |
2451 malloc_set_state(); | 2456 malloc_set_state(); |
2452 #endif | 2457 #endif |
2453 | 2458 |
2454 ; return 0; } | 2459 ; return 0; } |
2455 EOF | 2460 EOF |
2456 if { (eval echo configure:2457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2461 if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2457 rm -rf conftest* | 2462 rm -rf conftest* |
2458 eval "ac_cv_func_malloc_set_state=yes" | 2463 eval "ac_cv_func_malloc_set_state=yes" |
2459 else | 2464 else |
2460 echo "configure: failed program was:" >&5 | 2465 echo "configure: failed program was:" >&5 |
2461 cat conftest.$ac_ext >&5 | 2466 cat conftest.$ac_ext >&5 |
2471 echo "$ac_t""no" 1>&6 | 2476 echo "$ac_t""no" 1>&6 |
2472 doug_lea_malloc=no | 2477 doug_lea_malloc=no |
2473 fi | 2478 fi |
2474 | 2479 |
2475 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2480 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
2476 echo "configure:2477: checking whether __after_morecore_hook exists" >&5 | 2481 echo "configure:2482: checking whether __after_morecore_hook exists" >&5 |
2477 cat > conftest.$ac_ext <<EOF | 2482 cat > conftest.$ac_ext <<EOF |
2478 #line 2479 "configure" | 2483 #line 2484 "configure" |
2479 #include "confdefs.h" | 2484 #include "confdefs.h" |
2480 extern void (* __after_morecore_hook)(); | 2485 extern void (* __after_morecore_hook)(); |
2481 int main() { | 2486 int main() { |
2482 __after_morecore_hook = 0 | 2487 __after_morecore_hook = 0 |
2483 ; return 0; } | 2488 ; return 0; } |
2484 EOF | 2489 EOF |
2485 if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2486 rm -rf conftest* | 2491 rm -rf conftest* |
2487 echo "$ac_t""yes" 1>&6 | 2492 echo "$ac_t""yes" 1>&6 |
2488 else | 2493 else |
2489 echo "configure: failed program was:" >&5 | 2494 echo "configure: failed program was:" >&5 |
2490 cat conftest.$ac_ext >&5 | 2495 cat conftest.$ac_ext >&5 |
2542 fi | 2547 fi |
2543 with_minimal_tagbits=yes | 2548 with_minimal_tagbits=yes |
2544 fi | 2549 fi |
2545 | 2550 |
2546 | 2551 |
2552 | |
2553 | |
2547 # Extract the first word of "ranlib", so it can be a program name with args. | 2554 # Extract the first word of "ranlib", so it can be a program name with args. |
2548 set dummy ranlib; ac_word=$2 | 2555 set dummy ranlib; ac_word=$2 |
2549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2550 echo "configure:2551: checking for $ac_word" >&5 | 2557 echo "configure:2558: checking for $ac_word" >&5 |
2551 | 2558 |
2552 if test -n "$RANLIB"; then | 2559 if test -n "$RANLIB"; then |
2553 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2554 else | 2561 else |
2555 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2562 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2598 # AIX /bin/install | 2605 # AIX /bin/install |
2599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2601 # ./install, which can be erroneously created by make from ./install.sh. | 2608 # ./install, which can be erroneously created by make from ./install.sh. |
2602 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2609 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2603 echo "configure:2604: checking for a BSD compatible install" >&5 | 2610 echo "configure:2611: checking for a BSD compatible install" >&5 |
2604 if test -z "$INSTALL"; then | 2611 if test -z "$INSTALL"; then |
2605 | 2612 |
2606 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2613 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2607 for ac_dir in $PATH; do | 2614 for ac_dir in $PATH; do |
2608 # Account for people who put trailing slashes in PATH elements. | 2615 # Account for people who put trailing slashes in PATH elements. |
2649 for ac_prog in 'bison -y' byacc | 2656 for ac_prog in 'bison -y' byacc |
2650 do | 2657 do |
2651 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2658 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2652 set dummy $ac_prog; ac_word=$2 | 2659 set dummy $ac_prog; ac_word=$2 |
2653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2654 echo "configure:2655: checking for $ac_word" >&5 | 2661 echo "configure:2662: checking for $ac_word" >&5 |
2655 | 2662 |
2656 if test -n "$YACC"; then | 2663 if test -n "$YACC"; then |
2657 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2664 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2658 else | 2665 else |
2659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2680 | 2687 |
2681 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2688 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2682 do | 2689 do |
2683 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2684 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2685 echo "configure:2686: checking for $ac_hdr" >&5 | 2692 echo "configure:2693: checking for $ac_hdr" >&5 |
2686 | 2693 |
2687 cat > conftest.$ac_ext <<EOF | 2694 cat > conftest.$ac_ext <<EOF |
2688 #line 2689 "configure" | 2695 #line 2696 "configure" |
2689 #include "confdefs.h" | 2696 #include "confdefs.h" |
2690 #include <$ac_hdr> | 2697 #include <$ac_hdr> |
2691 EOF | 2698 EOF |
2692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2693 { (eval echo configure:2694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2700 { (eval echo configure:2701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2694 ac_err=`grep -v '^ *+' conftest.out` | 2701 ac_err=`grep -v '^ *+' conftest.out` |
2695 if test -z "$ac_err"; then | 2702 if test -z "$ac_err"; then |
2696 rm -rf conftest* | 2703 rm -rf conftest* |
2697 eval "ac_cv_header_$ac_safe=yes" | 2704 eval "ac_cv_header_$ac_safe=yes" |
2698 else | 2705 else |
2721 | 2728 |
2722 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2729 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2723 do | 2730 do |
2724 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2725 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2726 echo "configure:2727: checking for $ac_hdr" >&5 | 2733 echo "configure:2734: checking for $ac_hdr" >&5 |
2727 | 2734 |
2728 cat > conftest.$ac_ext <<EOF | 2735 cat > conftest.$ac_ext <<EOF |
2729 #line 2730 "configure" | 2736 #line 2737 "configure" |
2730 #include "confdefs.h" | 2737 #include "confdefs.h" |
2731 #include <$ac_hdr> | 2738 #include <$ac_hdr> |
2732 EOF | 2739 EOF |
2733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2734 { (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2741 { (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2735 ac_err=`grep -v '^ *+' conftest.out` | 2742 ac_err=`grep -v '^ *+' conftest.out` |
2736 if test -z "$ac_err"; then | 2743 if test -z "$ac_err"; then |
2737 rm -rf conftest* | 2744 rm -rf conftest* |
2738 eval "ac_cv_header_$ac_safe=yes" | 2745 eval "ac_cv_header_$ac_safe=yes" |
2739 else | 2746 else |
2762 | 2769 |
2763 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 2770 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
2764 do | 2771 do |
2765 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2766 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2767 echo "configure:2768: checking for $ac_hdr" >&5 | 2774 echo "configure:2775: checking for $ac_hdr" >&5 |
2768 | 2775 |
2769 cat > conftest.$ac_ext <<EOF | 2776 cat > conftest.$ac_ext <<EOF |
2770 #line 2771 "configure" | 2777 #line 2778 "configure" |
2771 #include "confdefs.h" | 2778 #include "confdefs.h" |
2772 #include <$ac_hdr> | 2779 #include <$ac_hdr> |
2773 EOF | 2780 EOF |
2774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2775 { (eval echo configure:2776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2782 { (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2776 ac_err=`grep -v '^ *+' conftest.out` | 2783 ac_err=`grep -v '^ *+' conftest.out` |
2777 if test -z "$ac_err"; then | 2784 if test -z "$ac_err"; then |
2778 rm -rf conftest* | 2785 rm -rf conftest* |
2779 eval "ac_cv_header_$ac_safe=yes" | 2786 eval "ac_cv_header_$ac_safe=yes" |
2780 else | 2787 else |
2800 echo "$ac_t""no" 1>&6 | 2807 echo "$ac_t""no" 1>&6 |
2801 fi | 2808 fi |
2802 done | 2809 done |
2803 | 2810 |
2804 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2811 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2805 echo "configure:2806: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2812 echo "configure:2813: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2806 | 2813 |
2807 cat > conftest.$ac_ext <<EOF | 2814 cat > conftest.$ac_ext <<EOF |
2808 #line 2809 "configure" | 2815 #line 2816 "configure" |
2809 #include "confdefs.h" | 2816 #include "confdefs.h" |
2810 #include <sys/types.h> | 2817 #include <sys/types.h> |
2811 #include <sys/wait.h> | 2818 #include <sys/wait.h> |
2812 #ifndef WEXITSTATUS | 2819 #ifndef WEXITSTATUS |
2813 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2820 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2819 int s; | 2826 int s; |
2820 wait (&s); | 2827 wait (&s); |
2821 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2828 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2822 ; return 0; } | 2829 ; return 0; } |
2823 EOF | 2830 EOF |
2824 if { (eval echo configure:2825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2831 if { (eval echo configure:2832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2825 rm -rf conftest* | 2832 rm -rf conftest* |
2826 ac_cv_header_sys_wait_h=yes | 2833 ac_cv_header_sys_wait_h=yes |
2827 else | 2834 else |
2828 echo "configure: failed program was:" >&5 | 2835 echo "configure: failed program was:" >&5 |
2829 cat conftest.$ac_ext >&5 | 2836 cat conftest.$ac_ext >&5 |
2843 } | 2850 } |
2844 | 2851 |
2845 fi | 2852 fi |
2846 | 2853 |
2847 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2854 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2848 echo "configure:2849: checking for ANSI C header files" >&5 | 2855 echo "configure:2856: checking for ANSI C header files" >&5 |
2849 | 2856 |
2850 cat > conftest.$ac_ext <<EOF | 2857 cat > conftest.$ac_ext <<EOF |
2851 #line 2852 "configure" | 2858 #line 2859 "configure" |
2852 #include "confdefs.h" | 2859 #include "confdefs.h" |
2853 #include <stdlib.h> | 2860 #include <stdlib.h> |
2854 #include <stdarg.h> | 2861 #include <stdarg.h> |
2855 #include <string.h> | 2862 #include <string.h> |
2856 #include <float.h> | 2863 #include <float.h> |
2857 EOF | 2864 EOF |
2858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2859 { (eval echo configure:2860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2866 { (eval echo configure:2867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2860 ac_err=`grep -v '^ *+' conftest.out` | 2867 ac_err=`grep -v '^ *+' conftest.out` |
2861 if test -z "$ac_err"; then | 2868 if test -z "$ac_err"; then |
2862 rm -rf conftest* | 2869 rm -rf conftest* |
2863 ac_cv_header_stdc=yes | 2870 ac_cv_header_stdc=yes |
2864 else | 2871 else |
2871 rm -f conftest* | 2878 rm -f conftest* |
2872 | 2879 |
2873 if test $ac_cv_header_stdc = yes; then | 2880 if test $ac_cv_header_stdc = yes; then |
2874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2875 cat > conftest.$ac_ext <<EOF | 2882 cat > conftest.$ac_ext <<EOF |
2876 #line 2877 "configure" | 2883 #line 2884 "configure" |
2877 #include "confdefs.h" | 2884 #include "confdefs.h" |
2878 #include <string.h> | 2885 #include <string.h> |
2879 EOF | 2886 EOF |
2880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2881 egrep "memchr" >/dev/null 2>&1; then | 2888 egrep "memchr" >/dev/null 2>&1; then |
2889 fi | 2896 fi |
2890 | 2897 |
2891 if test $ac_cv_header_stdc = yes; then | 2898 if test $ac_cv_header_stdc = yes; then |
2892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2893 cat > conftest.$ac_ext <<EOF | 2900 cat > conftest.$ac_ext <<EOF |
2894 #line 2895 "configure" | 2901 #line 2902 "configure" |
2895 #include "confdefs.h" | 2902 #include "confdefs.h" |
2896 #include <stdlib.h> | 2903 #include <stdlib.h> |
2897 EOF | 2904 EOF |
2898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2899 egrep "free" >/dev/null 2>&1; then | 2906 egrep "free" >/dev/null 2>&1; then |
2907 fi | 2914 fi |
2908 | 2915 |
2909 if test $ac_cv_header_stdc = yes; then | 2916 if test $ac_cv_header_stdc = yes; then |
2910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2911 cat > conftest.$ac_ext <<EOF | 2918 cat > conftest.$ac_ext <<EOF |
2912 #line 2913 "configure" | 2919 #line 2920 "configure" |
2913 #include "confdefs.h" | 2920 #include "confdefs.h" |
2914 #include <ctype.h> | 2921 #include <ctype.h> |
2915 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2922 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2916 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2923 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2917 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2918 int main () { int i; for (i = 0; i < 256; i++) | 2925 int main () { int i; for (i = 0; i < 256; i++) |
2919 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2926 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2920 exit (0); } | 2927 exit (0); } |
2921 | 2928 |
2922 EOF | 2929 EOF |
2923 if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2930 if { (eval echo configure:2931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2924 then | 2931 then |
2925 : | 2932 : |
2926 else | 2933 else |
2927 echo "configure: failed program was:" >&5 | 2934 echo "configure: failed program was:" >&5 |
2928 cat conftest.$ac_ext >&5 | 2935 cat conftest.$ac_ext >&5 |
2943 } | 2950 } |
2944 | 2951 |
2945 fi | 2952 fi |
2946 | 2953 |
2947 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2954 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2948 echo "configure:2949: checking whether time.h and sys/time.h may both be included" >&5 | 2955 echo "configure:2956: checking whether time.h and sys/time.h may both be included" >&5 |
2949 | 2956 |
2950 cat > conftest.$ac_ext <<EOF | 2957 cat > conftest.$ac_ext <<EOF |
2951 #line 2952 "configure" | 2958 #line 2959 "configure" |
2952 #include "confdefs.h" | 2959 #include "confdefs.h" |
2953 #include <sys/types.h> | 2960 #include <sys/types.h> |
2954 #include <sys/time.h> | 2961 #include <sys/time.h> |
2955 #include <time.h> | 2962 #include <time.h> |
2956 int main() { | 2963 int main() { |
2957 struct tm *tp; | 2964 struct tm *tp; |
2958 ; return 0; } | 2965 ; return 0; } |
2959 EOF | 2966 EOF |
2960 if { (eval echo configure:2961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2967 if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2961 rm -rf conftest* | 2968 rm -rf conftest* |
2962 ac_cv_header_time=yes | 2969 ac_cv_header_time=yes |
2963 else | 2970 else |
2964 echo "configure: failed program was:" >&5 | 2971 echo "configure: failed program was:" >&5 |
2965 cat conftest.$ac_ext >&5 | 2972 cat conftest.$ac_ext >&5 |
2979 } | 2986 } |
2980 | 2987 |
2981 fi | 2988 fi |
2982 | 2989 |
2983 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2990 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2984 echo "configure:2985: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2991 echo "configure:2992: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2985 | 2992 |
2986 cat > conftest.$ac_ext <<EOF | 2993 cat > conftest.$ac_ext <<EOF |
2987 #line 2988 "configure" | 2994 #line 2995 "configure" |
2988 #include "confdefs.h" | 2995 #include "confdefs.h" |
2989 #include <sys/types.h> | 2996 #include <sys/types.h> |
2990 #include <signal.h> | 2997 #include <signal.h> |
2991 /* NetBSD declares sys_siglist in unistd.h. */ | 2998 /* NetBSD declares sys_siglist in unistd.h. */ |
2992 #ifdef HAVE_UNISTD_H | 2999 #ifdef HAVE_UNISTD_H |
2994 #endif | 3001 #endif |
2995 int main() { | 3002 int main() { |
2996 char *msg = *(sys_siglist + 1); | 3003 char *msg = *(sys_siglist + 1); |
2997 ; return 0; } | 3004 ; return 0; } |
2998 EOF | 3005 EOF |
2999 if { (eval echo configure:3000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3006 if { (eval echo configure:3007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3000 rm -rf conftest* | 3007 rm -rf conftest* |
3001 ac_cv_decl_sys_siglist=yes | 3008 ac_cv_decl_sys_siglist=yes |
3002 else | 3009 else |
3003 echo "configure: failed program was:" >&5 | 3010 echo "configure: failed program was:" >&5 |
3004 cat conftest.$ac_ext >&5 | 3011 cat conftest.$ac_ext >&5 |
3019 | 3026 |
3020 fi | 3027 fi |
3021 | 3028 |
3022 | 3029 |
3023 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3030 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3024 echo "configure:3025: checking for struct utimbuf" >&5 | 3031 echo "configure:3032: checking for struct utimbuf" >&5 |
3025 cat > conftest.$ac_ext <<EOF | 3032 cat > conftest.$ac_ext <<EOF |
3026 #line 3027 "configure" | 3033 #line 3034 "configure" |
3027 #include "confdefs.h" | 3034 #include "confdefs.h" |
3028 #ifdef TIME_WITH_SYS_TIME | 3035 #ifdef TIME_WITH_SYS_TIME |
3029 #include <sys/time.h> | 3036 #include <sys/time.h> |
3030 #include <time.h> | 3037 #include <time.h> |
3031 #else | 3038 #else |
3040 #endif | 3047 #endif |
3041 int main() { | 3048 int main() { |
3042 static struct utimbuf x; x.actime = x.modtime; | 3049 static struct utimbuf x; x.actime = x.modtime; |
3043 ; return 0; } | 3050 ; return 0; } |
3044 EOF | 3051 EOF |
3045 if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3052 if { (eval echo configure:3053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3046 rm -rf conftest* | 3053 rm -rf conftest* |
3047 echo "$ac_t""yes" 1>&6 | 3054 echo "$ac_t""yes" 1>&6 |
3048 { test "$extra_verbose" = "yes" && cat << \EOF | 3055 { test "$extra_verbose" = "yes" && cat << \EOF |
3049 Defining HAVE_STRUCT_UTIMBUF | 3056 Defining HAVE_STRUCT_UTIMBUF |
3050 EOF | 3057 EOF |
3060 echo "$ac_t""no" 1>&6 | 3067 echo "$ac_t""no" 1>&6 |
3061 fi | 3068 fi |
3062 rm -f conftest* | 3069 rm -f conftest* |
3063 | 3070 |
3064 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3071 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3065 echo "configure:3066: checking return type of signal handlers" >&5 | 3072 echo "configure:3073: checking return type of signal handlers" >&5 |
3066 | 3073 |
3067 cat > conftest.$ac_ext <<EOF | 3074 cat > conftest.$ac_ext <<EOF |
3068 #line 3069 "configure" | 3075 #line 3076 "configure" |
3069 #include "confdefs.h" | 3076 #include "confdefs.h" |
3070 #include <sys/types.h> | 3077 #include <sys/types.h> |
3071 #include <signal.h> | 3078 #include <signal.h> |
3072 #ifdef signal | 3079 #ifdef signal |
3073 #undef signal | 3080 #undef signal |
3080 | 3087 |
3081 int main() { | 3088 int main() { |
3082 int i; | 3089 int i; |
3083 ; return 0; } | 3090 ; return 0; } |
3084 EOF | 3091 EOF |
3085 if { (eval echo configure:3086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3092 if { (eval echo configure:3093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3086 rm -rf conftest* | 3093 rm -rf conftest* |
3087 ac_cv_type_signal=void | 3094 ac_cv_type_signal=void |
3088 else | 3095 else |
3089 echo "configure: failed program was:" >&5 | 3096 echo "configure: failed program was:" >&5 |
3090 cat conftest.$ac_ext >&5 | 3097 cat conftest.$ac_ext >&5 |
3102 EOF | 3109 EOF |
3103 } | 3110 } |
3104 | 3111 |
3105 | 3112 |
3106 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3113 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3107 echo "configure:3108: checking for size_t" >&5 | 3114 echo "configure:3115: checking for size_t" >&5 |
3108 | 3115 |
3109 cat > conftest.$ac_ext <<EOF | 3116 cat > conftest.$ac_ext <<EOF |
3110 #line 3111 "configure" | 3117 #line 3118 "configure" |
3111 #include "confdefs.h" | 3118 #include "confdefs.h" |
3112 #include <sys/types.h> | 3119 #include <sys/types.h> |
3113 #if STDC_HEADERS | 3120 #if STDC_HEADERS |
3114 #include <stdlib.h> | 3121 #include <stdlib.h> |
3115 #include <stddef.h> | 3122 #include <stddef.h> |
3136 } | 3143 } |
3137 | 3144 |
3138 fi | 3145 fi |
3139 | 3146 |
3140 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3147 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3141 echo "configure:3142: checking for pid_t" >&5 | 3148 echo "configure:3149: checking for pid_t" >&5 |
3142 | 3149 |
3143 cat > conftest.$ac_ext <<EOF | 3150 cat > conftest.$ac_ext <<EOF |
3144 #line 3145 "configure" | 3151 #line 3152 "configure" |
3145 #include "confdefs.h" | 3152 #include "confdefs.h" |
3146 #include <sys/types.h> | 3153 #include <sys/types.h> |
3147 #if STDC_HEADERS | 3154 #if STDC_HEADERS |
3148 #include <stdlib.h> | 3155 #include <stdlib.h> |
3149 #include <stddef.h> | 3156 #include <stddef.h> |
3170 } | 3177 } |
3171 | 3178 |
3172 fi | 3179 fi |
3173 | 3180 |
3174 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3181 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3175 echo "configure:3176: checking for uid_t in sys/types.h" >&5 | 3182 echo "configure:3183: checking for uid_t in sys/types.h" >&5 |
3176 | 3183 |
3177 cat > conftest.$ac_ext <<EOF | 3184 cat > conftest.$ac_ext <<EOF |
3178 #line 3179 "configure" | 3185 #line 3186 "configure" |
3179 #include "confdefs.h" | 3186 #include "confdefs.h" |
3180 #include <sys/types.h> | 3187 #include <sys/types.h> |
3181 EOF | 3188 EOF |
3182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3183 egrep "uid_t" >/dev/null 2>&1; then | 3190 egrep "uid_t" >/dev/null 2>&1; then |
3209 } | 3216 } |
3210 | 3217 |
3211 fi | 3218 fi |
3212 | 3219 |
3213 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3220 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3214 echo "configure:3215: checking for mode_t" >&5 | 3221 echo "configure:3222: checking for mode_t" >&5 |
3215 | 3222 |
3216 cat > conftest.$ac_ext <<EOF | 3223 cat > conftest.$ac_ext <<EOF |
3217 #line 3218 "configure" | 3224 #line 3225 "configure" |
3218 #include "confdefs.h" | 3225 #include "confdefs.h" |
3219 #include <sys/types.h> | 3226 #include <sys/types.h> |
3220 #if STDC_HEADERS | 3227 #if STDC_HEADERS |
3221 #include <stdlib.h> | 3228 #include <stdlib.h> |
3222 #include <stddef.h> | 3229 #include <stddef.h> |
3243 } | 3250 } |
3244 | 3251 |
3245 fi | 3252 fi |
3246 | 3253 |
3247 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3254 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3248 echo "configure:3249: checking for off_t" >&5 | 3255 echo "configure:3256: checking for off_t" >&5 |
3249 | 3256 |
3250 cat > conftest.$ac_ext <<EOF | 3257 cat > conftest.$ac_ext <<EOF |
3251 #line 3252 "configure" | 3258 #line 3259 "configure" |
3252 #include "confdefs.h" | 3259 #include "confdefs.h" |
3253 #include <sys/types.h> | 3260 #include <sys/types.h> |
3254 #if STDC_HEADERS | 3261 #if STDC_HEADERS |
3255 #include <stdlib.h> | 3262 #include <stdlib.h> |
3256 #include <stddef.h> | 3263 #include <stddef.h> |
3278 | 3285 |
3279 fi | 3286 fi |
3280 | 3287 |
3281 | 3288 |
3282 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3289 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3283 echo "configure:3284: checking for struct timeval" >&5 | 3290 echo "configure:3291: checking for struct timeval" >&5 |
3284 cat > conftest.$ac_ext <<EOF | 3291 cat > conftest.$ac_ext <<EOF |
3285 #line 3286 "configure" | 3292 #line 3293 "configure" |
3286 #include "confdefs.h" | 3293 #include "confdefs.h" |
3287 #ifdef TIME_WITH_SYS_TIME | 3294 #ifdef TIME_WITH_SYS_TIME |
3288 #include <sys/time.h> | 3295 #include <sys/time.h> |
3289 #include <time.h> | 3296 #include <time.h> |
3290 #else | 3297 #else |
3296 #endif | 3303 #endif |
3297 int main() { | 3304 int main() { |
3298 static struct timeval x; x.tv_sec = x.tv_usec; | 3305 static struct timeval x; x.tv_sec = x.tv_usec; |
3299 ; return 0; } | 3306 ; return 0; } |
3300 EOF | 3307 EOF |
3301 if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3308 if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3302 rm -rf conftest* | 3309 rm -rf conftest* |
3303 echo "$ac_t""yes" 1>&6 | 3310 echo "$ac_t""yes" 1>&6 |
3304 HAVE_TIMEVAL=yes | 3311 HAVE_TIMEVAL=yes |
3305 { test "$extra_verbose" = "yes" && cat << \EOF | 3312 { test "$extra_verbose" = "yes" && cat << \EOF |
3306 Defining HAVE_TIMEVAL | 3313 Defining HAVE_TIMEVAL |
3318 HAVE_TIMEVAL=no | 3325 HAVE_TIMEVAL=no |
3319 fi | 3326 fi |
3320 rm -f conftest* | 3327 rm -f conftest* |
3321 | 3328 |
3322 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3329 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3323 echo "configure:3324: checking whether struct tm is in sys/time.h or time.h" >&5 | 3330 echo "configure:3331: checking whether struct tm is in sys/time.h or time.h" >&5 |
3324 | 3331 |
3325 cat > conftest.$ac_ext <<EOF | 3332 cat > conftest.$ac_ext <<EOF |
3326 #line 3327 "configure" | 3333 #line 3334 "configure" |
3327 #include "confdefs.h" | 3334 #include "confdefs.h" |
3328 #include <sys/types.h> | 3335 #include <sys/types.h> |
3329 #include <time.h> | 3336 #include <time.h> |
3330 int main() { | 3337 int main() { |
3331 struct tm *tp; tp->tm_sec; | 3338 struct tm *tp; tp->tm_sec; |
3332 ; return 0; } | 3339 ; return 0; } |
3333 EOF | 3340 EOF |
3334 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3335 rm -rf conftest* | 3342 rm -rf conftest* |
3336 ac_cv_struct_tm=time.h | 3343 ac_cv_struct_tm=time.h |
3337 else | 3344 else |
3338 echo "configure: failed program was:" >&5 | 3345 echo "configure: failed program was:" >&5 |
3339 cat conftest.$ac_ext >&5 | 3346 cat conftest.$ac_ext >&5 |
3353 } | 3360 } |
3354 | 3361 |
3355 fi | 3362 fi |
3356 | 3363 |
3357 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3364 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3358 echo "configure:3359: checking for tm_zone in struct tm" >&5 | 3365 echo "configure:3366: checking for tm_zone in struct tm" >&5 |
3359 | 3366 |
3360 cat > conftest.$ac_ext <<EOF | 3367 cat > conftest.$ac_ext <<EOF |
3361 #line 3362 "configure" | 3368 #line 3369 "configure" |
3362 #include "confdefs.h" | 3369 #include "confdefs.h" |
3363 #include <sys/types.h> | 3370 #include <sys/types.h> |
3364 #include <$ac_cv_struct_tm> | 3371 #include <$ac_cv_struct_tm> |
3365 int main() { | 3372 int main() { |
3366 struct tm tm; tm.tm_zone; | 3373 struct tm tm; tm.tm_zone; |
3367 ; return 0; } | 3374 ; return 0; } |
3368 EOF | 3375 EOF |
3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3376 if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3370 rm -rf conftest* | 3377 rm -rf conftest* |
3371 ac_cv_struct_tm_zone=yes | 3378 ac_cv_struct_tm_zone=yes |
3372 else | 3379 else |
3373 echo "configure: failed program was:" >&5 | 3380 echo "configure: failed program was:" >&5 |
3374 cat conftest.$ac_ext >&5 | 3381 cat conftest.$ac_ext >&5 |
3387 EOF | 3394 EOF |
3388 } | 3395 } |
3389 | 3396 |
3390 else | 3397 else |
3391 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3398 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3392 echo "configure:3393: checking for tzname" >&5 | 3399 echo "configure:3400: checking for tzname" >&5 |
3393 | 3400 |
3394 cat > conftest.$ac_ext <<EOF | 3401 cat > conftest.$ac_ext <<EOF |
3395 #line 3396 "configure" | 3402 #line 3403 "configure" |
3396 #include "confdefs.h" | 3403 #include "confdefs.h" |
3397 #include <time.h> | 3404 #include <time.h> |
3398 #ifndef tzname /* For SGI. */ | 3405 #ifndef tzname /* For SGI. */ |
3399 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3406 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3400 #endif | 3407 #endif |
3401 int main() { | 3408 int main() { |
3402 atoi(*tzname); | 3409 atoi(*tzname); |
3403 ; return 0; } | 3410 ; return 0; } |
3404 EOF | 3411 EOF |
3405 if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3406 rm -rf conftest* | 3413 rm -rf conftest* |
3407 ac_cv_var_tzname=yes | 3414 ac_cv_var_tzname=yes |
3408 else | 3415 else |
3409 echo "configure: failed program was:" >&5 | 3416 echo "configure: failed program was:" >&5 |
3410 cat conftest.$ac_ext >&5 | 3417 cat conftest.$ac_ext >&5 |
3426 fi | 3433 fi |
3427 fi | 3434 fi |
3428 | 3435 |
3429 | 3436 |
3430 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3437 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3431 echo "configure:3432: checking for working const" >&5 | 3438 echo "configure:3439: checking for working const" >&5 |
3432 | 3439 |
3433 cat > conftest.$ac_ext <<EOF | 3440 cat > conftest.$ac_ext <<EOF |
3434 #line 3435 "configure" | 3441 #line 3442 "configure" |
3435 #include "confdefs.h" | 3442 #include "confdefs.h" |
3436 | 3443 |
3437 int main() { | 3444 int main() { |
3438 | 3445 |
3439 /* Ultrix mips cc rejects this. */ | 3446 /* Ultrix mips cc rejects this. */ |
3478 const int foo = 10; | 3485 const int foo = 10; |
3479 } | 3486 } |
3480 | 3487 |
3481 ; return 0; } | 3488 ; return 0; } |
3482 EOF | 3489 EOF |
3483 if { (eval echo configure:3484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3484 rm -rf conftest* | 3491 rm -rf conftest* |
3485 ac_cv_c_const=yes | 3492 ac_cv_c_const=yes |
3486 else | 3493 else |
3487 echo "configure: failed program was:" >&5 | 3494 echo "configure: failed program was:" >&5 |
3488 cat conftest.$ac_ext >&5 | 3495 cat conftest.$ac_ext >&5 |
3503 | 3510 |
3504 fi | 3511 fi |
3505 | 3512 |
3506 | 3513 |
3507 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3514 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3508 echo "configure:3509: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3515 echo "configure:3516: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3509 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3516 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3510 | 3517 |
3511 cat > conftestmake <<\EOF | 3518 cat > conftestmake <<\EOF |
3512 all: | 3519 all: |
3513 @echo 'ac_maketemp="${MAKE}"' | 3520 @echo 'ac_maketemp="${MAKE}"' |
3528 SET_MAKE="MAKE=${MAKE-make}" | 3535 SET_MAKE="MAKE=${MAKE-make}" |
3529 fi | 3536 fi |
3530 | 3537 |
3531 | 3538 |
3532 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3539 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3533 echo "configure:3534: checking whether byte ordering is bigendian" >&5 | 3540 echo "configure:3541: checking whether byte ordering is bigendian" >&5 |
3534 | 3541 |
3535 ac_cv_c_bigendian=unknown | 3542 ac_cv_c_bigendian=unknown |
3536 # See if sys/param.h defines the BYTE_ORDER macro. | 3543 # See if sys/param.h defines the BYTE_ORDER macro. |
3537 cat > conftest.$ac_ext <<EOF | 3544 cat > conftest.$ac_ext <<EOF |
3538 #line 3539 "configure" | 3545 #line 3546 "configure" |
3539 #include "confdefs.h" | 3546 #include "confdefs.h" |
3540 #include <sys/types.h> | 3547 #include <sys/types.h> |
3541 #include <sys/param.h> | 3548 #include <sys/param.h> |
3542 int main() { | 3549 int main() { |
3543 | 3550 |
3544 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3551 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3545 bogus endian macros | 3552 bogus endian macros |
3546 #endif | 3553 #endif |
3547 ; return 0; } | 3554 ; return 0; } |
3548 EOF | 3555 EOF |
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3550 rm -rf conftest* | 3557 rm -rf conftest* |
3551 # It does; now see whether it defined to BIG_ENDIAN or not. | 3558 # It does; now see whether it defined to BIG_ENDIAN or not. |
3552 cat > conftest.$ac_ext <<EOF | 3559 cat > conftest.$ac_ext <<EOF |
3553 #line 3554 "configure" | 3560 #line 3561 "configure" |
3554 #include "confdefs.h" | 3561 #include "confdefs.h" |
3555 #include <sys/types.h> | 3562 #include <sys/types.h> |
3556 #include <sys/param.h> | 3563 #include <sys/param.h> |
3557 int main() { | 3564 int main() { |
3558 | 3565 |
3559 #if BYTE_ORDER != BIG_ENDIAN | 3566 #if BYTE_ORDER != BIG_ENDIAN |
3560 not big endian | 3567 not big endian |
3561 #endif | 3568 #endif |
3562 ; return 0; } | 3569 ; return 0; } |
3563 EOF | 3570 EOF |
3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3565 rm -rf conftest* | 3572 rm -rf conftest* |
3566 ac_cv_c_bigendian=yes | 3573 ac_cv_c_bigendian=yes |
3567 else | 3574 else |
3568 echo "configure: failed program was:" >&5 | 3575 echo "configure: failed program was:" >&5 |
3569 cat conftest.$ac_ext >&5 | 3576 cat conftest.$ac_ext >&5 |
3576 cat conftest.$ac_ext >&5 | 3583 cat conftest.$ac_ext >&5 |
3577 fi | 3584 fi |
3578 rm -f conftest* | 3585 rm -f conftest* |
3579 if test $ac_cv_c_bigendian = unknown; then | 3586 if test $ac_cv_c_bigendian = unknown; then |
3580 cat > conftest.$ac_ext <<EOF | 3587 cat > conftest.$ac_ext <<EOF |
3581 #line 3582 "configure" | 3588 #line 3589 "configure" |
3582 #include "confdefs.h" | 3589 #include "confdefs.h" |
3583 main () { | 3590 main () { |
3584 /* Are we little or big endian? From Harbison&Steele. */ | 3591 /* Are we little or big endian? From Harbison&Steele. */ |
3585 union | 3592 union |
3586 { | 3593 { |
3589 } u; | 3596 } u; |
3590 u.l = 1; | 3597 u.l = 1; |
3591 exit (u.c[sizeof (long) - 1] == 1); | 3598 exit (u.c[sizeof (long) - 1] == 1); |
3592 } | 3599 } |
3593 EOF | 3600 EOF |
3594 if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3601 if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3595 then | 3602 then |
3596 ac_cv_c_bigendian=no | 3603 ac_cv_c_bigendian=no |
3597 else | 3604 else |
3598 echo "configure: failed program was:" >&5 | 3605 echo "configure: failed program was:" >&5 |
3599 cat conftest.$ac_ext >&5 | 3606 cat conftest.$ac_ext >&5 |
3615 | 3622 |
3616 fi | 3623 fi |
3617 | 3624 |
3618 | 3625 |
3619 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3626 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3620 echo "configure:3621: checking size of short" >&5 | 3627 echo "configure:3628: checking size of short" >&5 |
3621 | 3628 |
3622 cat > conftest.$ac_ext <<EOF | 3629 cat > conftest.$ac_ext <<EOF |
3623 #line 3624 "configure" | 3630 #line 3631 "configure" |
3624 #include "confdefs.h" | 3631 #include "confdefs.h" |
3625 #include <stdio.h> | 3632 #include <stdio.h> |
3626 main() | 3633 main() |
3627 { | 3634 { |
3628 FILE *f=fopen("conftestval", "w"); | 3635 FILE *f=fopen("conftestval", "w"); |
3629 if (!f) exit(1); | 3636 if (!f) exit(1); |
3630 fprintf(f, "%d\n", sizeof(short)); | 3637 fprintf(f, "%d\n", sizeof(short)); |
3631 exit(0); | 3638 exit(0); |
3632 } | 3639 } |
3633 EOF | 3640 EOF |
3634 if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3635 then | 3642 then |
3636 ac_cv_sizeof_short=`cat conftestval` | 3643 ac_cv_sizeof_short=`cat conftestval` |
3637 else | 3644 else |
3638 echo "configure: failed program was:" >&5 | 3645 echo "configure: failed program was:" >&5 |
3639 cat conftest.$ac_ext >&5 | 3646 cat conftest.$ac_ext >&5 |
3656 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3663 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3657 echo "*** PANIC *** Please examine config.log for compilation errors." | 3664 echo "*** PANIC *** Please examine config.log for compilation errors." |
3658 exit 1 | 3665 exit 1 |
3659 fi | 3666 fi |
3660 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3667 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3661 echo "configure:3662: checking size of int" >&5 | 3668 echo "configure:3669: checking size of int" >&5 |
3662 | 3669 |
3663 cat > conftest.$ac_ext <<EOF | 3670 cat > conftest.$ac_ext <<EOF |
3664 #line 3665 "configure" | 3671 #line 3672 "configure" |
3665 #include "confdefs.h" | 3672 #include "confdefs.h" |
3666 #include <stdio.h> | 3673 #include <stdio.h> |
3667 main() | 3674 main() |
3668 { | 3675 { |
3669 FILE *f=fopen("conftestval", "w"); | 3676 FILE *f=fopen("conftestval", "w"); |
3670 if (!f) exit(1); | 3677 if (!f) exit(1); |
3671 fprintf(f, "%d\n", sizeof(int)); | 3678 fprintf(f, "%d\n", sizeof(int)); |
3672 exit(0); | 3679 exit(0); |
3673 } | 3680 } |
3674 EOF | 3681 EOF |
3675 if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3682 if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3676 then | 3683 then |
3677 ac_cv_sizeof_int=`cat conftestval` | 3684 ac_cv_sizeof_int=`cat conftestval` |
3678 else | 3685 else |
3679 echo "configure: failed program was:" >&5 | 3686 echo "configure: failed program was:" >&5 |
3680 cat conftest.$ac_ext >&5 | 3687 cat conftest.$ac_ext >&5 |
3691 EOF | 3698 EOF |
3692 } | 3699 } |
3693 | 3700 |
3694 | 3701 |
3695 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3702 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3696 echo "configure:3697: checking size of long" >&5 | 3703 echo "configure:3704: checking size of long" >&5 |
3697 | 3704 |
3698 cat > conftest.$ac_ext <<EOF | 3705 cat > conftest.$ac_ext <<EOF |
3699 #line 3700 "configure" | 3706 #line 3707 "configure" |
3700 #include "confdefs.h" | 3707 #include "confdefs.h" |
3701 #include <stdio.h> | 3708 #include <stdio.h> |
3702 main() | 3709 main() |
3703 { | 3710 { |
3704 FILE *f=fopen("conftestval", "w"); | 3711 FILE *f=fopen("conftestval", "w"); |
3705 if (!f) exit(1); | 3712 if (!f) exit(1); |
3706 fprintf(f, "%d\n", sizeof(long)); | 3713 fprintf(f, "%d\n", sizeof(long)); |
3707 exit(0); | 3714 exit(0); |
3708 } | 3715 } |
3709 EOF | 3716 EOF |
3710 if { (eval echo configure:3711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3717 if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3711 then | 3718 then |
3712 ac_cv_sizeof_long=`cat conftestval` | 3719 ac_cv_sizeof_long=`cat conftestval` |
3713 else | 3720 else |
3714 echo "configure: failed program was:" >&5 | 3721 echo "configure: failed program was:" >&5 |
3715 cat conftest.$ac_ext >&5 | 3722 cat conftest.$ac_ext >&5 |
3726 EOF | 3733 EOF |
3727 } | 3734 } |
3728 | 3735 |
3729 | 3736 |
3730 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3737 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3731 echo "configure:3732: checking size of long long" >&5 | 3738 echo "configure:3739: checking size of long long" >&5 |
3732 | 3739 |
3733 cat > conftest.$ac_ext <<EOF | 3740 cat > conftest.$ac_ext <<EOF |
3734 #line 3735 "configure" | 3741 #line 3742 "configure" |
3735 #include "confdefs.h" | 3742 #include "confdefs.h" |
3736 #include <stdio.h> | 3743 #include <stdio.h> |
3737 main() | 3744 main() |
3738 { | 3745 { |
3739 FILE *f=fopen("conftestval", "w"); | 3746 FILE *f=fopen("conftestval", "w"); |
3740 if (!f) exit(1); | 3747 if (!f) exit(1); |
3741 fprintf(f, "%d\n", sizeof(long long)); | 3748 fprintf(f, "%d\n", sizeof(long long)); |
3742 exit(0); | 3749 exit(0); |
3743 } | 3750 } |
3744 EOF | 3751 EOF |
3745 if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3752 if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3746 then | 3753 then |
3747 ac_cv_sizeof_long_long=`cat conftestval` | 3754 ac_cv_sizeof_long_long=`cat conftestval` |
3748 else | 3755 else |
3749 echo "configure: failed program was:" >&5 | 3756 echo "configure: failed program was:" >&5 |
3750 cat conftest.$ac_ext >&5 | 3757 cat conftest.$ac_ext >&5 |
3761 EOF | 3768 EOF |
3762 } | 3769 } |
3763 | 3770 |
3764 | 3771 |
3765 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3772 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3766 echo "configure:3767: checking size of void *" >&5 | 3773 echo "configure:3774: checking size of void *" >&5 |
3767 | 3774 |
3768 cat > conftest.$ac_ext <<EOF | 3775 cat > conftest.$ac_ext <<EOF |
3769 #line 3770 "configure" | 3776 #line 3777 "configure" |
3770 #include "confdefs.h" | 3777 #include "confdefs.h" |
3771 #include <stdio.h> | 3778 #include <stdio.h> |
3772 main() | 3779 main() |
3773 { | 3780 { |
3774 FILE *f=fopen("conftestval", "w"); | 3781 FILE *f=fopen("conftestval", "w"); |
3775 if (!f) exit(1); | 3782 if (!f) exit(1); |
3776 fprintf(f, "%d\n", sizeof(void *)); | 3783 fprintf(f, "%d\n", sizeof(void *)); |
3777 exit(0); | 3784 exit(0); |
3778 } | 3785 } |
3779 EOF | 3786 EOF |
3780 if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3787 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3781 then | 3788 then |
3782 ac_cv_sizeof_void_p=`cat conftestval` | 3789 ac_cv_sizeof_void_p=`cat conftestval` |
3783 else | 3790 else |
3784 echo "configure: failed program was:" >&5 | 3791 echo "configure: failed program was:" >&5 |
3785 cat conftest.$ac_ext >&5 | 3792 cat conftest.$ac_ext >&5 |
3797 } | 3804 } |
3798 | 3805 |
3799 | 3806 |
3800 | 3807 |
3801 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3808 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3802 echo "configure:3803: checking for long file names" >&5 | 3809 echo "configure:3810: checking for long file names" >&5 |
3803 | 3810 |
3804 ac_cv_sys_long_file_names=yes | 3811 ac_cv_sys_long_file_names=yes |
3805 # Test for long file names in all the places we know might matter: | 3812 # Test for long file names in all the places we know might matter: |
3806 # . the current directory, where building will happen | 3813 # . the current directory, where building will happen |
3807 # $prefix/lib where we will be installing things | 3814 # $prefix/lib where we will be installing things |
3844 fi | 3851 fi |
3845 | 3852 |
3846 | 3853 |
3847 | 3854 |
3848 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3855 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3849 echo "configure:3850: checking for sin in -lm" >&5 | 3856 echo "configure:3857: checking for sin in -lm" >&5 |
3850 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3857 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3851 | 3858 |
3852 xe_check_libs=" -lm " | 3859 xe_check_libs=" -lm " |
3853 cat > conftest.$ac_ext <<EOF | 3860 cat > conftest.$ac_ext <<EOF |
3854 #line 3855 "configure" | 3861 #line 3862 "configure" |
3855 #include "confdefs.h" | 3862 #include "confdefs.h" |
3856 /* Override any gcc2 internal prototype to avoid an error. */ | 3863 /* Override any gcc2 internal prototype to avoid an error. */ |
3857 /* We use char because int might match the return type of a gcc2 | 3864 /* We use char because int might match the return type of a gcc2 |
3858 builtin and then its argument prototype would still apply. */ | 3865 builtin and then its argument prototype would still apply. */ |
3859 char sin(); | 3866 char sin(); |
3860 | 3867 |
3861 int main() { | 3868 int main() { |
3862 sin() | 3869 sin() |
3863 ; return 0; } | 3870 ; return 0; } |
3864 EOF | 3871 EOF |
3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3872 if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3866 rm -rf conftest* | 3873 rm -rf conftest* |
3867 eval "ac_cv_lib_$ac_lib_var=yes" | 3874 eval "ac_cv_lib_$ac_lib_var=yes" |
3868 else | 3875 else |
3869 echo "configure: failed program was:" >&5 | 3876 echo "configure: failed program was:" >&5 |
3870 cat conftest.$ac_ext >&5 | 3877 cat conftest.$ac_ext >&5 |
3902 EOF | 3909 EOF |
3903 } | 3910 } |
3904 | 3911 |
3905 | 3912 |
3906 cat > conftest.$ac_ext <<EOF | 3913 cat > conftest.$ac_ext <<EOF |
3907 #line 3908 "configure" | 3914 #line 3915 "configure" |
3908 #include "confdefs.h" | 3915 #include "confdefs.h" |
3909 #include <math.h> | 3916 #include <math.h> |
3910 int main() { | 3917 int main() { |
3911 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 3918 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
3912 ; return 0; } | 3919 ; return 0; } |
3913 EOF | 3920 EOF |
3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3921 if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3915 rm -rf conftest* | 3922 rm -rf conftest* |
3916 { test "$extra_verbose" = "yes" && cat << \EOF | 3923 { test "$extra_verbose" = "yes" && cat << \EOF |
3917 Defining HAVE_INVERSE_HYPERBOLIC | 3924 Defining HAVE_INVERSE_HYPERBOLIC |
3918 EOF | 3925 EOF |
3919 cat >> confdefs.h <<\EOF | 3926 cat >> confdefs.h <<\EOF |
3926 cat conftest.$ac_ext >&5 | 3933 cat conftest.$ac_ext >&5 |
3927 fi | 3934 fi |
3928 rm -f conftest* | 3935 rm -f conftest* |
3929 | 3936 |
3930 echo "checking type of mail spool file locking" 1>&6 | 3937 echo "checking type of mail spool file locking" 1>&6 |
3931 echo "configure:3932: checking type of mail spool file locking" >&5 | 3938 echo "configure:3939: checking type of mail spool file locking" >&5 |
3932 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3939 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3933 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3940 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3934 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3941 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3935 Defining REAL_MAIL_USE_LOCKF | 3942 Defining REAL_MAIL_USE_LOCKF |
3936 EOF | 3943 EOF |
3950 else mail_locking="dot-locking" | 3957 else mail_locking="dot-locking" |
3951 fi | 3958 fi |
3952 | 3959 |
3953 | 3960 |
3954 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3961 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3955 echo "configure:3956: checking for kstat_open in -lkstat" >&5 | 3962 echo "configure:3963: checking for kstat_open in -lkstat" >&5 |
3956 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3963 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3957 | 3964 |
3958 xe_check_libs=" -lkstat " | 3965 xe_check_libs=" -lkstat " |
3959 cat > conftest.$ac_ext <<EOF | 3966 cat > conftest.$ac_ext <<EOF |
3960 #line 3961 "configure" | 3967 #line 3968 "configure" |
3961 #include "confdefs.h" | 3968 #include "confdefs.h" |
3962 /* Override any gcc2 internal prototype to avoid an error. */ | 3969 /* Override any gcc2 internal prototype to avoid an error. */ |
3963 /* We use char because int might match the return type of a gcc2 | 3970 /* We use char because int might match the return type of a gcc2 |
3964 builtin and then its argument prototype would still apply. */ | 3971 builtin and then its argument prototype would still apply. */ |
3965 char kstat_open(); | 3972 char kstat_open(); |
3966 | 3973 |
3967 int main() { | 3974 int main() { |
3968 kstat_open() | 3975 kstat_open() |
3969 ; return 0; } | 3976 ; return 0; } |
3970 EOF | 3977 EOF |
3971 if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3978 if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3972 rm -rf conftest* | 3979 rm -rf conftest* |
3973 eval "ac_cv_lib_$ac_lib_var=yes" | 3980 eval "ac_cv_lib_$ac_lib_var=yes" |
3974 else | 3981 else |
3975 echo "configure: failed program was:" >&5 | 3982 echo "configure: failed program was:" >&5 |
3976 cat conftest.$ac_ext >&5 | 3983 cat conftest.$ac_ext >&5 |
4000 | 4007 |
4001 | 4008 |
4002 | 4009 |
4003 | 4010 |
4004 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4011 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4005 echo "configure:4006: checking for kvm_read in -lkvm" >&5 | 4012 echo "configure:4013: checking for kvm_read in -lkvm" >&5 |
4006 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4013 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4007 | 4014 |
4008 xe_check_libs=" -lkvm " | 4015 xe_check_libs=" -lkvm " |
4009 cat > conftest.$ac_ext <<EOF | 4016 cat > conftest.$ac_ext <<EOF |
4010 #line 4011 "configure" | 4017 #line 4018 "configure" |
4011 #include "confdefs.h" | 4018 #include "confdefs.h" |
4012 /* Override any gcc2 internal prototype to avoid an error. */ | 4019 /* Override any gcc2 internal prototype to avoid an error. */ |
4013 /* We use char because int might match the return type of a gcc2 | 4020 /* We use char because int might match the return type of a gcc2 |
4014 builtin and then its argument prototype would still apply. */ | 4021 builtin and then its argument prototype would still apply. */ |
4015 char kvm_read(); | 4022 char kvm_read(); |
4016 | 4023 |
4017 int main() { | 4024 int main() { |
4018 kvm_read() | 4025 kvm_read() |
4019 ; return 0; } | 4026 ; return 0; } |
4020 EOF | 4027 EOF |
4021 if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4028 if { (eval echo configure:4029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4022 rm -rf conftest* | 4029 rm -rf conftest* |
4023 eval "ac_cv_lib_$ac_lib_var=yes" | 4030 eval "ac_cv_lib_$ac_lib_var=yes" |
4024 else | 4031 else |
4025 echo "configure: failed program was:" >&5 | 4032 echo "configure: failed program was:" >&5 |
4026 cat conftest.$ac_ext >&5 | 4033 cat conftest.$ac_ext >&5 |
4050 | 4057 |
4051 | 4058 |
4052 | 4059 |
4053 | 4060 |
4054 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4061 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4055 echo "configure:4056: checking for cma_open in -lpthreads" >&5 | 4062 echo "configure:4063: checking for cma_open in -lpthreads" >&5 |
4056 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4063 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4057 | 4064 |
4058 xe_check_libs=" -lpthreads " | 4065 xe_check_libs=" -lpthreads " |
4059 cat > conftest.$ac_ext <<EOF | 4066 cat > conftest.$ac_ext <<EOF |
4060 #line 4061 "configure" | 4067 #line 4068 "configure" |
4061 #include "confdefs.h" | 4068 #include "confdefs.h" |
4062 /* Override any gcc2 internal prototype to avoid an error. */ | 4069 /* Override any gcc2 internal prototype to avoid an error. */ |
4063 /* We use char because int might match the return type of a gcc2 | 4070 /* We use char because int might match the return type of a gcc2 |
4064 builtin and then its argument prototype would still apply. */ | 4071 builtin and then its argument prototype would still apply. */ |
4065 char cma_open(); | 4072 char cma_open(); |
4066 | 4073 |
4067 int main() { | 4074 int main() { |
4068 cma_open() | 4075 cma_open() |
4069 ; return 0; } | 4076 ; return 0; } |
4070 EOF | 4077 EOF |
4071 if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4078 if { (eval echo configure:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4072 rm -rf conftest* | 4079 rm -rf conftest* |
4073 eval "ac_cv_lib_$ac_lib_var=yes" | 4080 eval "ac_cv_lib_$ac_lib_var=yes" |
4074 else | 4081 else |
4075 echo "configure: failed program was:" >&5 | 4082 echo "configure: failed program was:" >&5 |
4076 cat conftest.$ac_ext >&5 | 4083 cat conftest.$ac_ext >&5 |
4102 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 4109 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
4103 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 4110 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
4104 fi | 4111 fi |
4105 | 4112 |
4106 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4113 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4107 echo "configure:4108: checking whether the -xildoff compiler flag is required" >&5 | 4114 echo "configure:4115: checking whether the -xildoff compiler flag is required" >&5 |
4108 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4115 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4109 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4116 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4110 then echo "$ac_t""no" 1>&6; | 4117 then echo "$ac_t""no" 1>&6; |
4111 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 | 4118 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 |
4112 fi | 4119 fi |
4113 else echo "$ac_t""no" 1>&6 | 4120 else echo "$ac_t""no" 1>&6 |
4114 fi | 4121 fi |
4115 | 4122 |
4116 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4123 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4117 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4124 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4118 echo "configure:4119: checking for \"-z ignore\" linker flag" >&5 | 4125 echo "configure:4126: checking for \"-z ignore\" linker flag" >&5 |
4119 case "`ld -h 2>&1`" in | 4126 case "`ld -h 2>&1`" in |
4120 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4127 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4121 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4128 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4122 *) echo "$ac_t""no" 1>&6 ;; | 4129 *) echo "$ac_t""no" 1>&6 ;; |
4123 esac | 4130 esac |
4124 fi | 4131 fi |
4125 | 4132 |
4126 | 4133 |
4127 echo "checking "for specified window system"" 1>&6 | 4134 echo "checking "for specified window system"" 1>&6 |
4128 echo "configure:4129: checking "for specified window system"" >&5 | 4135 echo "configure:4136: checking "for specified window system"" >&5 |
4129 | 4136 |
4130 if test "$with_x11" != "no"; then | 4137 if test "$with_x11" != "no"; then |
4131 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4138 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4132 window_system=x11 with_x11=yes | 4139 window_system=x11 with_x11=yes |
4133 | 4140 |
4153 # If we find X, set shell vars x_includes and x_libraries to the | 4160 # If we find X, set shell vars x_includes and x_libraries to the |
4154 # paths, otherwise set no_x=yes. | 4161 # paths, otherwise set no_x=yes. |
4155 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4162 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4156 # --without-x overrides everything else, but does not touch the cache. | 4163 # --without-x overrides everything else, but does not touch the cache. |
4157 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4164 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4158 echo "configure:4159: checking for X" >&5 | 4165 echo "configure:4166: checking for X" >&5 |
4159 | 4166 |
4160 # Check whether --with-x or --without-x was given. | 4167 # Check whether --with-x or --without-x was given. |
4161 if test "${with_x+set}" = set; then | 4168 if test "${with_x+set}" = set; then |
4162 withval="$with_x" | 4169 withval="$with_x" |
4163 : | 4170 : |
4213 # Guess where to find include files, by looking for this one X11 .h file. | 4220 # Guess where to find include files, by looking for this one X11 .h file. |
4214 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4221 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4215 | 4222 |
4216 # First, try using that file with no special directory specified. | 4223 # First, try using that file with no special directory specified. |
4217 cat > conftest.$ac_ext <<EOF | 4224 cat > conftest.$ac_ext <<EOF |
4218 #line 4219 "configure" | 4225 #line 4226 "configure" |
4219 #include "confdefs.h" | 4226 #include "confdefs.h" |
4220 #include <$x_direct_test_include> | 4227 #include <$x_direct_test_include> |
4221 EOF | 4228 EOF |
4222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4223 { (eval echo configure:4224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4230 { (eval echo configure:4231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4224 ac_err=`grep -v '^ *+' conftest.out` | 4231 ac_err=`grep -v '^ *+' conftest.out` |
4225 if test -z "$ac_err"; then | 4232 if test -z "$ac_err"; then |
4226 rm -rf conftest* | 4233 rm -rf conftest* |
4227 # We can compile using X headers with no special include directory. | 4234 # We can compile using X headers with no special include directory. |
4228 ac_x_includes= | 4235 ac_x_includes= |
4287 # See if we find them without any special options. | 4294 # See if we find them without any special options. |
4288 # Don't add to $LIBS permanently. | 4295 # Don't add to $LIBS permanently. |
4289 ac_save_LIBS="$LIBS" | 4296 ac_save_LIBS="$LIBS" |
4290 LIBS="-l$x_direct_test_library $LIBS" | 4297 LIBS="-l$x_direct_test_library $LIBS" |
4291 cat > conftest.$ac_ext <<EOF | 4298 cat > conftest.$ac_ext <<EOF |
4292 #line 4293 "configure" | 4299 #line 4300 "configure" |
4293 #include "confdefs.h" | 4300 #include "confdefs.h" |
4294 | 4301 |
4295 int main() { | 4302 int main() { |
4296 ${x_direct_test_function}() | 4303 ${x_direct_test_function}() |
4297 ; return 0; } | 4304 ; return 0; } |
4298 EOF | 4305 EOF |
4299 if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4306 if { (eval echo configure:4307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4300 rm -rf conftest* | 4307 rm -rf conftest* |
4301 LIBS="$ac_save_LIBS" | 4308 LIBS="$ac_save_LIBS" |
4302 # We can link X programs with no special library path. | 4309 # We can link X programs with no special library path. |
4303 ac_x_libraries= | 4310 ac_x_libraries= |
4304 else | 4311 else |
4403 # For Solaris; some versions of Sun CC require a space after -R and | 4410 # For Solaris; some versions of Sun CC require a space after -R and |
4404 # others require no space. Words are not sufficient . . . . | 4411 # others require no space. Words are not sufficient . . . . |
4405 case "`(uname -sr) 2>/dev/null`" in | 4412 case "`(uname -sr) 2>/dev/null`" in |
4406 "SunOS 5"*) | 4413 "SunOS 5"*) |
4407 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4414 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4408 echo "configure:4409: checking whether -R must be followed by a space" >&5 | 4415 echo "configure:4416: checking whether -R must be followed by a space" >&5 |
4409 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4416 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4410 cat > conftest.$ac_ext <<EOF | 4417 cat > conftest.$ac_ext <<EOF |
4411 #line 4412 "configure" | 4418 #line 4419 "configure" |
4412 #include "confdefs.h" | 4419 #include "confdefs.h" |
4413 | 4420 |
4414 int main() { | 4421 int main() { |
4415 | 4422 |
4416 ; return 0; } | 4423 ; return 0; } |
4417 EOF | 4424 EOF |
4418 if { (eval echo configure:4419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4425 if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4419 rm -rf conftest* | 4426 rm -rf conftest* |
4420 ac_R_nospace=yes | 4427 ac_R_nospace=yes |
4421 else | 4428 else |
4422 echo "configure: failed program was:" >&5 | 4429 echo "configure: failed program was:" >&5 |
4423 cat conftest.$ac_ext >&5 | 4430 cat conftest.$ac_ext >&5 |
4429 echo "$ac_t""no" 1>&6 | 4436 echo "$ac_t""no" 1>&6 |
4430 X_LIBS="$X_LIBS -R$x_libraries" | 4437 X_LIBS="$X_LIBS -R$x_libraries" |
4431 else | 4438 else |
4432 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4439 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4433 cat > conftest.$ac_ext <<EOF | 4440 cat > conftest.$ac_ext <<EOF |
4434 #line 4435 "configure" | 4441 #line 4442 "configure" |
4435 #include "confdefs.h" | 4442 #include "confdefs.h" |
4436 | 4443 |
4437 int main() { | 4444 int main() { |
4438 | 4445 |
4439 ; return 0; } | 4446 ; return 0; } |
4440 EOF | 4447 EOF |
4441 if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4442 rm -rf conftest* | 4449 rm -rf conftest* |
4443 ac_R_space=yes | 4450 ac_R_space=yes |
4444 else | 4451 else |
4445 echo "configure: failed program was:" >&5 | 4452 echo "configure: failed program was:" >&5 |
4446 cat conftest.$ac_ext >&5 | 4453 cat conftest.$ac_ext >&5 |
4472 if test "$with_dnet" = "no" ; then | 4479 if test "$with_dnet" = "no" ; then |
4473 ac_cv_lib_dnet_dnet_ntoa=no | 4480 ac_cv_lib_dnet_dnet_ntoa=no |
4474 else | 4481 else |
4475 | 4482 |
4476 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4483 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4477 echo "configure:4478: checking for dnet_ntoa in -ldnet" >&5 | 4484 echo "configure:4485: checking for dnet_ntoa in -ldnet" >&5 |
4478 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4485 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4479 | 4486 |
4480 xe_check_libs=" -ldnet " | 4487 xe_check_libs=" -ldnet " |
4481 cat > conftest.$ac_ext <<EOF | 4488 cat > conftest.$ac_ext <<EOF |
4482 #line 4483 "configure" | 4489 #line 4490 "configure" |
4483 #include "confdefs.h" | 4490 #include "confdefs.h" |
4484 /* Override any gcc2 internal prototype to avoid an error. */ | 4491 /* Override any gcc2 internal prototype to avoid an error. */ |
4485 /* We use char because int might match the return type of a gcc2 | 4492 /* We use char because int might match the return type of a gcc2 |
4486 builtin and then its argument prototype would still apply. */ | 4493 builtin and then its argument prototype would still apply. */ |
4487 char dnet_ntoa(); | 4494 char dnet_ntoa(); |
4488 | 4495 |
4489 int main() { | 4496 int main() { |
4490 dnet_ntoa() | 4497 dnet_ntoa() |
4491 ; return 0; } | 4498 ; return 0; } |
4492 EOF | 4499 EOF |
4493 if { (eval echo configure:4494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4500 if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4494 rm -rf conftest* | 4501 rm -rf conftest* |
4495 eval "ac_cv_lib_$ac_lib_var=yes" | 4502 eval "ac_cv_lib_$ac_lib_var=yes" |
4496 else | 4503 else |
4497 echo "configure: failed program was:" >&5 | 4504 echo "configure: failed program was:" >&5 |
4498 cat conftest.$ac_ext >&5 | 4505 cat conftest.$ac_ext >&5 |
4512 fi | 4519 fi |
4513 | 4520 |
4514 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4521 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4515 | 4522 |
4516 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4523 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4517 echo "configure:4518: checking for dnet_ntoa in -ldnet_stub" >&5 | 4524 echo "configure:4525: checking for dnet_ntoa in -ldnet_stub" >&5 |
4518 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4525 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4519 | 4526 |
4520 xe_check_libs=" -ldnet_stub " | 4527 xe_check_libs=" -ldnet_stub " |
4521 cat > conftest.$ac_ext <<EOF | 4528 cat > conftest.$ac_ext <<EOF |
4522 #line 4523 "configure" | 4529 #line 4530 "configure" |
4523 #include "confdefs.h" | 4530 #include "confdefs.h" |
4524 /* Override any gcc2 internal prototype to avoid an error. */ | 4531 /* Override any gcc2 internal prototype to avoid an error. */ |
4525 /* We use char because int might match the return type of a gcc2 | 4532 /* We use char because int might match the return type of a gcc2 |
4526 builtin and then its argument prototype would still apply. */ | 4533 builtin and then its argument prototype would still apply. */ |
4527 char dnet_ntoa(); | 4534 char dnet_ntoa(); |
4528 | 4535 |
4529 int main() { | 4536 int main() { |
4530 dnet_ntoa() | 4537 dnet_ntoa() |
4531 ; return 0; } | 4538 ; return 0; } |
4532 EOF | 4539 EOF |
4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4540 if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4534 rm -rf conftest* | 4541 rm -rf conftest* |
4535 eval "ac_cv_lib_$ac_lib_var=yes" | 4542 eval "ac_cv_lib_$ac_lib_var=yes" |
4536 else | 4543 else |
4537 echo "configure: failed program was:" >&5 | 4544 echo "configure: failed program was:" >&5 |
4538 cat conftest.$ac_ext >&5 | 4545 cat conftest.$ac_ext >&5 |
4557 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4564 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4558 # needs -lnsl. | 4565 # needs -lnsl. |
4559 # The nsl library prevents programs from opening the X display | 4566 # The nsl library prevents programs from opening the X display |
4560 # on Irix 5.2, according to dickey@clark.net. | 4567 # on Irix 5.2, according to dickey@clark.net. |
4561 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4568 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4562 echo "configure:4563: checking for gethostbyname" >&5 | 4569 echo "configure:4570: checking for gethostbyname" >&5 |
4563 | 4570 |
4564 cat > conftest.$ac_ext <<EOF | 4571 cat > conftest.$ac_ext <<EOF |
4565 #line 4566 "configure" | 4572 #line 4573 "configure" |
4566 #include "confdefs.h" | 4573 #include "confdefs.h" |
4567 /* System header to define __stub macros and hopefully few prototypes, | 4574 /* System header to define __stub macros and hopefully few prototypes, |
4568 which can conflict with char gethostbyname(); below. */ | 4575 which can conflict with char gethostbyname(); below. */ |
4569 #include <assert.h> | 4576 #include <assert.h> |
4570 /* Override any gcc2 internal prototype to avoid an error. */ | 4577 /* Override any gcc2 internal prototype to avoid an error. */ |
4583 gethostbyname(); | 4590 gethostbyname(); |
4584 #endif | 4591 #endif |
4585 | 4592 |
4586 ; return 0; } | 4593 ; return 0; } |
4587 EOF | 4594 EOF |
4588 if { (eval echo configure:4589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4595 if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4589 rm -rf conftest* | 4596 rm -rf conftest* |
4590 eval "ac_cv_func_gethostbyname=yes" | 4597 eval "ac_cv_func_gethostbyname=yes" |
4591 else | 4598 else |
4592 echo "configure: failed program was:" >&5 | 4599 echo "configure: failed program was:" >&5 |
4593 cat conftest.$ac_ext >&5 | 4600 cat conftest.$ac_ext >&5 |
4604 fi | 4611 fi |
4605 | 4612 |
4606 if test $ac_cv_func_gethostbyname = no; then | 4613 if test $ac_cv_func_gethostbyname = no; then |
4607 | 4614 |
4608 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4615 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4609 echo "configure:4610: checking for gethostbyname in -lnsl" >&5 | 4616 echo "configure:4617: checking for gethostbyname in -lnsl" >&5 |
4610 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4617 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4611 | 4618 |
4612 xe_check_libs=" -lnsl " | 4619 xe_check_libs=" -lnsl " |
4613 cat > conftest.$ac_ext <<EOF | 4620 cat > conftest.$ac_ext <<EOF |
4614 #line 4615 "configure" | 4621 #line 4622 "configure" |
4615 #include "confdefs.h" | 4622 #include "confdefs.h" |
4616 /* Override any gcc2 internal prototype to avoid an error. */ | 4623 /* Override any gcc2 internal prototype to avoid an error. */ |
4617 /* We use char because int might match the return type of a gcc2 | 4624 /* We use char because int might match the return type of a gcc2 |
4618 builtin and then its argument prototype would still apply. */ | 4625 builtin and then its argument prototype would still apply. */ |
4619 char gethostbyname(); | 4626 char gethostbyname(); |
4620 | 4627 |
4621 int main() { | 4628 int main() { |
4622 gethostbyname() | 4629 gethostbyname() |
4623 ; return 0; } | 4630 ; return 0; } |
4624 EOF | 4631 EOF |
4625 if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4632 if { (eval echo configure:4633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4626 rm -rf conftest* | 4633 rm -rf conftest* |
4627 eval "ac_cv_lib_$ac_lib_var=yes" | 4634 eval "ac_cv_lib_$ac_lib_var=yes" |
4628 else | 4635 else |
4629 echo "configure: failed program was:" >&5 | 4636 echo "configure: failed program was:" >&5 |
4630 cat conftest.$ac_ext >&5 | 4637 cat conftest.$ac_ext >&5 |
4650 # on later versions), says simon@lia.di.epfl.ch: it contains | 4657 # on later versions), says simon@lia.di.epfl.ch: it contains |
4651 # gethostby* variants that don't use the nameserver (or something). | 4658 # gethostby* variants that don't use the nameserver (or something). |
4652 # -lsocket must be given before -lnsl if both are needed. | 4659 # -lsocket must be given before -lnsl if both are needed. |
4653 # We assume that if connect needs -lnsl, so does gethostbyname. | 4660 # We assume that if connect needs -lnsl, so does gethostbyname. |
4654 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4661 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4655 echo "configure:4656: checking for connect" >&5 | 4662 echo "configure:4663: checking for connect" >&5 |
4656 | 4663 |
4657 cat > conftest.$ac_ext <<EOF | 4664 cat > conftest.$ac_ext <<EOF |
4658 #line 4659 "configure" | 4665 #line 4666 "configure" |
4659 #include "confdefs.h" | 4666 #include "confdefs.h" |
4660 /* System header to define __stub macros and hopefully few prototypes, | 4667 /* System header to define __stub macros and hopefully few prototypes, |
4661 which can conflict with char connect(); below. */ | 4668 which can conflict with char connect(); below. */ |
4662 #include <assert.h> | 4669 #include <assert.h> |
4663 /* Override any gcc2 internal prototype to avoid an error. */ | 4670 /* Override any gcc2 internal prototype to avoid an error. */ |
4676 connect(); | 4683 connect(); |
4677 #endif | 4684 #endif |
4678 | 4685 |
4679 ; return 0; } | 4686 ; return 0; } |
4680 EOF | 4687 EOF |
4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4688 if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4682 rm -rf conftest* | 4689 rm -rf conftest* |
4683 eval "ac_cv_func_connect=yes" | 4690 eval "ac_cv_func_connect=yes" |
4684 else | 4691 else |
4685 echo "configure: failed program was:" >&5 | 4692 echo "configure: failed program was:" >&5 |
4686 cat conftest.$ac_ext >&5 | 4693 cat conftest.$ac_ext >&5 |
4699 if test $ac_cv_func_connect = no; then | 4706 if test $ac_cv_func_connect = no; then |
4700 | 4707 |
4701 xe_msg_checking="for connect in -lsocket" | 4708 xe_msg_checking="for connect in -lsocket" |
4702 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4709 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4703 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4710 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4704 echo "configure:4705: checking "$xe_msg_checking"" >&5 | 4711 echo "configure:4712: checking "$xe_msg_checking"" >&5 |
4705 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4712 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4706 | 4713 |
4707 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4714 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4708 cat > conftest.$ac_ext <<EOF | 4715 cat > conftest.$ac_ext <<EOF |
4709 #line 4710 "configure" | 4716 #line 4717 "configure" |
4710 #include "confdefs.h" | 4717 #include "confdefs.h" |
4711 /* Override any gcc2 internal prototype to avoid an error. */ | 4718 /* Override any gcc2 internal prototype to avoid an error. */ |
4712 /* We use char because int might match the return type of a gcc2 | 4719 /* We use char because int might match the return type of a gcc2 |
4713 builtin and then its argument prototype would still apply. */ | 4720 builtin and then its argument prototype would still apply. */ |
4714 char connect(); | 4721 char connect(); |
4715 | 4722 |
4716 int main() { | 4723 int main() { |
4717 connect() | 4724 connect() |
4718 ; return 0; } | 4725 ; return 0; } |
4719 EOF | 4726 EOF |
4720 if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4721 rm -rf conftest* | 4728 rm -rf conftest* |
4722 eval "ac_cv_lib_$ac_lib_var=yes" | 4729 eval "ac_cv_lib_$ac_lib_var=yes" |
4723 else | 4730 else |
4724 echo "configure: failed program was:" >&5 | 4731 echo "configure: failed program was:" >&5 |
4725 cat conftest.$ac_ext >&5 | 4732 cat conftest.$ac_ext >&5 |
4739 | 4746 |
4740 fi | 4747 fi |
4741 | 4748 |
4742 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4749 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4743 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4750 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4744 echo "configure:4745: checking for remove" >&5 | 4751 echo "configure:4752: checking for remove" >&5 |
4745 | 4752 |
4746 cat > conftest.$ac_ext <<EOF | 4753 cat > conftest.$ac_ext <<EOF |
4747 #line 4748 "configure" | 4754 #line 4755 "configure" |
4748 #include "confdefs.h" | 4755 #include "confdefs.h" |
4749 /* System header to define __stub macros and hopefully few prototypes, | 4756 /* System header to define __stub macros and hopefully few prototypes, |
4750 which can conflict with char remove(); below. */ | 4757 which can conflict with char remove(); below. */ |
4751 #include <assert.h> | 4758 #include <assert.h> |
4752 /* Override any gcc2 internal prototype to avoid an error. */ | 4759 /* Override any gcc2 internal prototype to avoid an error. */ |
4765 remove(); | 4772 remove(); |
4766 #endif | 4773 #endif |
4767 | 4774 |
4768 ; return 0; } | 4775 ; return 0; } |
4769 EOF | 4776 EOF |
4770 if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4777 if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4771 rm -rf conftest* | 4778 rm -rf conftest* |
4772 eval "ac_cv_func_remove=yes" | 4779 eval "ac_cv_func_remove=yes" |
4773 else | 4780 else |
4774 echo "configure: failed program was:" >&5 | 4781 echo "configure: failed program was:" >&5 |
4775 cat conftest.$ac_ext >&5 | 4782 cat conftest.$ac_ext >&5 |
4786 fi | 4793 fi |
4787 | 4794 |
4788 if test $ac_cv_func_remove = no; then | 4795 if test $ac_cv_func_remove = no; then |
4789 | 4796 |
4790 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4797 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4791 echo "configure:4792: checking for remove in -lposix" >&5 | 4798 echo "configure:4799: checking for remove in -lposix" >&5 |
4792 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4799 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4793 | 4800 |
4794 xe_check_libs=" -lposix " | 4801 xe_check_libs=" -lposix " |
4795 cat > conftest.$ac_ext <<EOF | 4802 cat > conftest.$ac_ext <<EOF |
4796 #line 4797 "configure" | 4803 #line 4804 "configure" |
4797 #include "confdefs.h" | 4804 #include "confdefs.h" |
4798 /* Override any gcc2 internal prototype to avoid an error. */ | 4805 /* Override any gcc2 internal prototype to avoid an error. */ |
4799 /* We use char because int might match the return type of a gcc2 | 4806 /* We use char because int might match the return type of a gcc2 |
4800 builtin and then its argument prototype would still apply. */ | 4807 builtin and then its argument prototype would still apply. */ |
4801 char remove(); | 4808 char remove(); |
4802 | 4809 |
4803 int main() { | 4810 int main() { |
4804 remove() | 4811 remove() |
4805 ; return 0; } | 4812 ; return 0; } |
4806 EOF | 4813 EOF |
4807 if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4808 rm -rf conftest* | 4815 rm -rf conftest* |
4809 eval "ac_cv_lib_$ac_lib_var=yes" | 4816 eval "ac_cv_lib_$ac_lib_var=yes" |
4810 else | 4817 else |
4811 echo "configure: failed program was:" >&5 | 4818 echo "configure: failed program was:" >&5 |
4812 cat conftest.$ac_ext >&5 | 4819 cat conftest.$ac_ext >&5 |
4826 | 4833 |
4827 fi | 4834 fi |
4828 | 4835 |
4829 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4836 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4830 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4837 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4831 echo "configure:4832: checking for shmat" >&5 | 4838 echo "configure:4839: checking for shmat" >&5 |
4832 | 4839 |
4833 cat > conftest.$ac_ext <<EOF | 4840 cat > conftest.$ac_ext <<EOF |
4834 #line 4835 "configure" | 4841 #line 4842 "configure" |
4835 #include "confdefs.h" | 4842 #include "confdefs.h" |
4836 /* System header to define __stub macros and hopefully few prototypes, | 4843 /* System header to define __stub macros and hopefully few prototypes, |
4837 which can conflict with char shmat(); below. */ | 4844 which can conflict with char shmat(); below. */ |
4838 #include <assert.h> | 4845 #include <assert.h> |
4839 /* Override any gcc2 internal prototype to avoid an error. */ | 4846 /* Override any gcc2 internal prototype to avoid an error. */ |
4852 shmat(); | 4859 shmat(); |
4853 #endif | 4860 #endif |
4854 | 4861 |
4855 ; return 0; } | 4862 ; return 0; } |
4856 EOF | 4863 EOF |
4857 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4858 rm -rf conftest* | 4865 rm -rf conftest* |
4859 eval "ac_cv_func_shmat=yes" | 4866 eval "ac_cv_func_shmat=yes" |
4860 else | 4867 else |
4861 echo "configure: failed program was:" >&5 | 4868 echo "configure: failed program was:" >&5 |
4862 cat conftest.$ac_ext >&5 | 4869 cat conftest.$ac_ext >&5 |
4873 fi | 4880 fi |
4874 | 4881 |
4875 if test $ac_cv_func_shmat = no; then | 4882 if test $ac_cv_func_shmat = no; then |
4876 | 4883 |
4877 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4884 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4878 echo "configure:4879: checking for shmat in -lipc" >&5 | 4885 echo "configure:4886: checking for shmat in -lipc" >&5 |
4879 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4886 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4880 | 4887 |
4881 xe_check_libs=" -lipc " | 4888 xe_check_libs=" -lipc " |
4882 cat > conftest.$ac_ext <<EOF | 4889 cat > conftest.$ac_ext <<EOF |
4883 #line 4884 "configure" | 4890 #line 4891 "configure" |
4884 #include "confdefs.h" | 4891 #include "confdefs.h" |
4885 /* Override any gcc2 internal prototype to avoid an error. */ | 4892 /* Override any gcc2 internal prototype to avoid an error. */ |
4886 /* We use char because int might match the return type of a gcc2 | 4893 /* We use char because int might match the return type of a gcc2 |
4887 builtin and then its argument prototype would still apply. */ | 4894 builtin and then its argument prototype would still apply. */ |
4888 char shmat(); | 4895 char shmat(); |
4889 | 4896 |
4890 int main() { | 4897 int main() { |
4891 shmat() | 4898 shmat() |
4892 ; return 0; } | 4899 ; return 0; } |
4893 EOF | 4900 EOF |
4894 if { (eval echo configure:4895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4901 if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4895 rm -rf conftest* | 4902 rm -rf conftest* |
4896 eval "ac_cv_lib_$ac_lib_var=yes" | 4903 eval "ac_cv_lib_$ac_lib_var=yes" |
4897 else | 4904 else |
4898 echo "configure: failed program was:" >&5 | 4905 echo "configure: failed program was:" >&5 |
4899 cat conftest.$ac_ext >&5 | 4906 cat conftest.$ac_ext >&5 |
4923 # These have to be linked with before -lX11, unlike the other | 4930 # These have to be linked with before -lX11, unlike the other |
4924 # libraries we check for below, so use a different variable. | 4931 # libraries we check for below, so use a different variable. |
4925 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4932 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4926 | 4933 |
4927 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4934 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4928 echo "configure:4929: checking for IceConnectionNumber in -lICE" >&5 | 4935 echo "configure:4936: checking for IceConnectionNumber in -lICE" >&5 |
4929 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4936 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4930 | 4937 |
4931 xe_check_libs=" -lICE " | 4938 xe_check_libs=" -lICE " |
4932 cat > conftest.$ac_ext <<EOF | 4939 cat > conftest.$ac_ext <<EOF |
4933 #line 4934 "configure" | 4940 #line 4941 "configure" |
4934 #include "confdefs.h" | 4941 #include "confdefs.h" |
4935 /* Override any gcc2 internal prototype to avoid an error. */ | 4942 /* Override any gcc2 internal prototype to avoid an error. */ |
4936 /* We use char because int might match the return type of a gcc2 | 4943 /* We use char because int might match the return type of a gcc2 |
4937 builtin and then its argument prototype would still apply. */ | 4944 builtin and then its argument prototype would still apply. */ |
4938 char IceConnectionNumber(); | 4945 char IceConnectionNumber(); |
4939 | 4946 |
4940 int main() { | 4947 int main() { |
4941 IceConnectionNumber() | 4948 IceConnectionNumber() |
4942 ; return 0; } | 4949 ; return 0; } |
4943 EOF | 4950 EOF |
4944 if { (eval echo configure:4945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4951 if { (eval echo configure:4952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4945 rm -rf conftest* | 4952 rm -rf conftest* |
4946 eval "ac_cv_lib_$ac_lib_var=yes" | 4953 eval "ac_cv_lib_$ac_lib_var=yes" |
4947 else | 4954 else |
4948 echo "configure: failed program was:" >&5 | 4955 echo "configure: failed program was:" >&5 |
4949 cat conftest.$ac_ext >&5 | 4956 cat conftest.$ac_ext >&5 |
5093 EOF | 5100 EOF |
5094 } | 5101 } |
5095 | 5102 |
5096 | 5103 |
5097 echo "checking for X defines extracted by xmkmf" 1>&6 | 5104 echo "checking for X defines extracted by xmkmf" 1>&6 |
5098 echo "configure:5099: checking for X defines extracted by xmkmf" >&5 | 5105 echo "configure:5106: checking for X defines extracted by xmkmf" >&5 |
5099 rm -fr conftestdir | 5106 rm -fr conftestdir |
5100 if mkdir conftestdir; then | 5107 if mkdir conftestdir; then |
5101 cd conftestdir | 5108 cd conftestdir |
5102 cat > Imakefile <<'EOF' | 5109 cat > Imakefile <<'EOF' |
5103 xetest: | 5110 xetest: |
5125 done | 5132 done |
5126 fi | 5133 fi |
5127 | 5134 |
5128 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5135 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5129 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5136 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5130 echo "configure:5131: checking for X11/Intrinsic.h" >&5 | 5137 echo "configure:5138: checking for X11/Intrinsic.h" >&5 |
5131 | 5138 |
5132 cat > conftest.$ac_ext <<EOF | 5139 cat > conftest.$ac_ext <<EOF |
5133 #line 5134 "configure" | 5140 #line 5141 "configure" |
5134 #include "confdefs.h" | 5141 #include "confdefs.h" |
5135 #include <X11/Intrinsic.h> | 5142 #include <X11/Intrinsic.h> |
5136 EOF | 5143 EOF |
5137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5138 { (eval echo configure:5139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5145 { (eval echo configure:5146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5139 ac_err=`grep -v '^ *+' conftest.out` | 5146 ac_err=`grep -v '^ *+' conftest.out` |
5140 if test -z "$ac_err"; then | 5147 if test -z "$ac_err"; then |
5141 rm -rf conftest* | 5148 rm -rf conftest* |
5142 eval "ac_cv_header_$ac_safe=yes" | 5149 eval "ac_cv_header_$ac_safe=yes" |
5143 else | 5150 else |
5157 fi | 5164 fi |
5158 | 5165 |
5159 | 5166 |
5160 | 5167 |
5161 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5168 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5162 echo "configure:5163: checking for XOpenDisplay in -lX11" >&5 | 5169 echo "configure:5170: checking for XOpenDisplay in -lX11" >&5 |
5163 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5170 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5164 | 5171 |
5165 xe_check_libs=" -lX11 " | 5172 xe_check_libs=" -lX11 " |
5166 cat > conftest.$ac_ext <<EOF | 5173 cat > conftest.$ac_ext <<EOF |
5167 #line 5168 "configure" | 5174 #line 5175 "configure" |
5168 #include "confdefs.h" | 5175 #include "confdefs.h" |
5169 /* Override any gcc2 internal prototype to avoid an error. */ | 5176 /* Override any gcc2 internal prototype to avoid an error. */ |
5170 /* We use char because int might match the return type of a gcc2 | 5177 /* We use char because int might match the return type of a gcc2 |
5171 builtin and then its argument prototype would still apply. */ | 5178 builtin and then its argument prototype would still apply. */ |
5172 char XOpenDisplay(); | 5179 char XOpenDisplay(); |
5173 | 5180 |
5174 int main() { | 5181 int main() { |
5175 XOpenDisplay() | 5182 XOpenDisplay() |
5176 ; return 0; } | 5183 ; return 0; } |
5177 EOF | 5184 EOF |
5178 if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5179 rm -rf conftest* | 5186 rm -rf conftest* |
5180 eval "ac_cv_lib_$ac_lib_var=yes" | 5187 eval "ac_cv_lib_$ac_lib_var=yes" |
5181 else | 5188 else |
5182 echo "configure: failed program was:" >&5 | 5189 echo "configure: failed program was:" >&5 |
5183 cat conftest.$ac_ext >&5 | 5190 cat conftest.$ac_ext >&5 |
5198 if test "$have_lib_x11" != "yes"; then | 5205 if test "$have_lib_x11" != "yes"; then |
5199 | 5206 |
5200 xe_msg_checking="for XGetFontProperty in -lX11" | 5207 xe_msg_checking="for XGetFontProperty in -lX11" |
5201 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5208 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5202 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5209 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5203 echo "configure:5204: checking "$xe_msg_checking"" >&5 | 5210 echo "configure:5211: checking "$xe_msg_checking"" >&5 |
5204 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5211 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5205 | 5212 |
5206 xe_check_libs=" -lX11 -b i486-linuxaout" | 5213 xe_check_libs=" -lX11 -b i486-linuxaout" |
5207 cat > conftest.$ac_ext <<EOF | 5214 cat > conftest.$ac_ext <<EOF |
5208 #line 5209 "configure" | 5215 #line 5216 "configure" |
5209 #include "confdefs.h" | 5216 #include "confdefs.h" |
5210 /* Override any gcc2 internal prototype to avoid an error. */ | 5217 /* Override any gcc2 internal prototype to avoid an error. */ |
5211 /* We use char because int might match the return type of a gcc2 | 5218 /* We use char because int might match the return type of a gcc2 |
5212 builtin and then its argument prototype would still apply. */ | 5219 builtin and then its argument prototype would still apply. */ |
5213 char XGetFontProperty(); | 5220 char XGetFontProperty(); |
5214 | 5221 |
5215 int main() { | 5222 int main() { |
5216 XGetFontProperty() | 5223 XGetFontProperty() |
5217 ; return 0; } | 5224 ; return 0; } |
5218 EOF | 5225 EOF |
5219 if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5226 if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5220 rm -rf conftest* | 5227 rm -rf conftest* |
5221 eval "ac_cv_lib_$ac_lib_var=yes" | 5228 eval "ac_cv_lib_$ac_lib_var=yes" |
5222 else | 5229 else |
5223 echo "configure: failed program was:" >&5 | 5230 echo "configure: failed program was:" >&5 |
5224 cat conftest.$ac_ext >&5 | 5231 cat conftest.$ac_ext >&5 |
5241 libs_x="-lX11" | 5248 libs_x="-lX11" |
5242 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5249 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5243 | 5250 |
5244 | 5251 |
5245 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5252 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5246 echo "configure:5247: checking for XShapeSelectInput in -lXext" >&5 | 5253 echo "configure:5254: checking for XShapeSelectInput in -lXext" >&5 |
5247 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5254 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5248 | 5255 |
5249 xe_check_libs=" -lXext " | 5256 xe_check_libs=" -lXext " |
5250 cat > conftest.$ac_ext <<EOF | 5257 cat > conftest.$ac_ext <<EOF |
5251 #line 5252 "configure" | 5258 #line 5259 "configure" |
5252 #include "confdefs.h" | 5259 #include "confdefs.h" |
5253 /* Override any gcc2 internal prototype to avoid an error. */ | 5260 /* Override any gcc2 internal prototype to avoid an error. */ |
5254 /* We use char because int might match the return type of a gcc2 | 5261 /* We use char because int might match the return type of a gcc2 |
5255 builtin and then its argument prototype would still apply. */ | 5262 builtin and then its argument prototype would still apply. */ |
5256 char XShapeSelectInput(); | 5263 char XShapeSelectInput(); |
5257 | 5264 |
5258 int main() { | 5265 int main() { |
5259 XShapeSelectInput() | 5266 XShapeSelectInput() |
5260 ; return 0; } | 5267 ; return 0; } |
5261 EOF | 5268 EOF |
5262 if { (eval echo configure:5263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5269 if { (eval echo configure:5270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5263 rm -rf conftest* | 5270 rm -rf conftest* |
5264 eval "ac_cv_lib_$ac_lib_var=yes" | 5271 eval "ac_cv_lib_$ac_lib_var=yes" |
5265 else | 5272 else |
5266 echo "configure: failed program was:" >&5 | 5273 echo "configure: failed program was:" >&5 |
5267 cat conftest.$ac_ext >&5 | 5274 cat conftest.$ac_ext >&5 |
5280 | 5287 |
5281 | 5288 |
5282 | 5289 |
5283 | 5290 |
5284 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5291 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5285 echo "configure:5286: checking for XtOpenDisplay in -lXt" >&5 | 5292 echo "configure:5293: checking for XtOpenDisplay in -lXt" >&5 |
5286 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5293 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5287 | 5294 |
5288 xe_check_libs=" -lXt " | 5295 xe_check_libs=" -lXt " |
5289 cat > conftest.$ac_ext <<EOF | 5296 cat > conftest.$ac_ext <<EOF |
5290 #line 5291 "configure" | 5297 #line 5298 "configure" |
5291 #include "confdefs.h" | 5298 #include "confdefs.h" |
5292 /* Override any gcc2 internal prototype to avoid an error. */ | 5299 /* Override any gcc2 internal prototype to avoid an error. */ |
5293 /* We use char because int might match the return type of a gcc2 | 5300 /* We use char because int might match the return type of a gcc2 |
5294 builtin and then its argument prototype would still apply. */ | 5301 builtin and then its argument prototype would still apply. */ |
5295 char XtOpenDisplay(); | 5302 char XtOpenDisplay(); |
5296 | 5303 |
5297 int main() { | 5304 int main() { |
5298 XtOpenDisplay() | 5305 XtOpenDisplay() |
5299 ; return 0; } | 5306 ; return 0; } |
5300 EOF | 5307 EOF |
5301 if { (eval echo configure:5302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5308 if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5302 rm -rf conftest* | 5309 rm -rf conftest* |
5303 eval "ac_cv_lib_$ac_lib_var=yes" | 5310 eval "ac_cv_lib_$ac_lib_var=yes" |
5304 else | 5311 else |
5305 echo "configure: failed program was:" >&5 | 5312 echo "configure: failed program was:" >&5 |
5306 cat conftest.$ac_ext >&5 | 5313 cat conftest.$ac_ext >&5 |
5319 fi | 5326 fi |
5320 | 5327 |
5321 | 5328 |
5322 | 5329 |
5323 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5330 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5324 echo "configure:5325: checking the version of X11 being used" >&5 | 5331 echo "configure:5332: checking the version of X11 being used" >&5 |
5325 cat > conftest.$ac_ext <<EOF | 5332 cat > conftest.$ac_ext <<EOF |
5326 #line 5327 "configure" | 5333 #line 5334 "configure" |
5327 #include "confdefs.h" | 5334 #include "confdefs.h" |
5328 #include <X11/Intrinsic.h> | 5335 #include <X11/Intrinsic.h> |
5329 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5336 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5330 EOF | 5337 EOF |
5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5338 if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5332 then | 5339 then |
5333 ./conftest foobar; x11_release=$? | 5340 ./conftest foobar; x11_release=$? |
5334 else | 5341 else |
5335 echo "configure: failed program was:" >&5 | 5342 echo "configure: failed program was:" >&5 |
5336 cat conftest.$ac_ext >&5 | 5343 cat conftest.$ac_ext >&5 |
5350 | 5357 |
5351 for ac_hdr in X11/Xlocale.h | 5358 for ac_hdr in X11/Xlocale.h |
5352 do | 5359 do |
5353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5360 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5361 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5355 echo "configure:5356: checking for $ac_hdr" >&5 | 5362 echo "configure:5363: checking for $ac_hdr" >&5 |
5356 | 5363 |
5357 cat > conftest.$ac_ext <<EOF | 5364 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5365 #line 5366 "configure" |
5359 #include "confdefs.h" | 5366 #include "confdefs.h" |
5360 #include <$ac_hdr> | 5367 #include <$ac_hdr> |
5361 EOF | 5368 EOF |
5362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5363 { (eval echo configure:5364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5370 { (eval echo configure:5371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5364 ac_err=`grep -v '^ *+' conftest.out` | 5371 ac_err=`grep -v '^ *+' conftest.out` |
5365 if test -z "$ac_err"; then | 5372 if test -z "$ac_err"; then |
5366 rm -rf conftest* | 5373 rm -rf conftest* |
5367 eval "ac_cv_header_$ac_safe=yes" | 5374 eval "ac_cv_header_$ac_safe=yes" |
5368 else | 5375 else |
5389 fi | 5396 fi |
5390 done | 5397 done |
5391 | 5398 |
5392 | 5399 |
5393 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5400 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5394 echo "configure:5395: checking for XFree86" >&5 | 5401 echo "configure:5402: checking for XFree86" >&5 |
5395 if test -d "/usr/X386/include" -o \ | 5402 if test -d "/usr/X386/include" -o \ |
5396 -f "/etc/XF86Config" -o \ | 5403 -f "/etc/XF86Config" -o \ |
5397 -f "/etc/X11/XF86Config" -o \ | 5404 -f "/etc/X11/XF86Config" -o \ |
5398 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5405 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5399 echo "$ac_t""yes" 1>&6 | 5406 echo "$ac_t""yes" 1>&6 |
5409 echo "$ac_t""no" 1>&6 | 5416 echo "$ac_t""no" 1>&6 |
5410 fi | 5417 fi |
5411 | 5418 |
5412 test -z "$with_xmu" && { | 5419 test -z "$with_xmu" && { |
5413 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5420 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5414 echo "configure:5415: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5421 echo "configure:5422: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5415 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5422 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5416 | 5423 |
5417 xe_check_libs=" -lXmu " | 5424 xe_check_libs=" -lXmu " |
5418 cat > conftest.$ac_ext <<EOF | 5425 cat > conftest.$ac_ext <<EOF |
5419 #line 5420 "configure" | 5426 #line 5427 "configure" |
5420 #include "confdefs.h" | 5427 #include "confdefs.h" |
5421 /* Override any gcc2 internal prototype to avoid an error. */ | 5428 /* Override any gcc2 internal prototype to avoid an error. */ |
5422 /* We use char because int might match the return type of a gcc2 | 5429 /* We use char because int might match the return type of a gcc2 |
5423 builtin and then its argument prototype would still apply. */ | 5430 builtin and then its argument prototype would still apply. */ |
5424 char XmuReadBitmapDataFromFile(); | 5431 char XmuReadBitmapDataFromFile(); |
5425 | 5432 |
5426 int main() { | 5433 int main() { |
5427 XmuReadBitmapDataFromFile() | 5434 XmuReadBitmapDataFromFile() |
5428 ; return 0; } | 5435 ; return 0; } |
5429 EOF | 5436 EOF |
5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5431 rm -rf conftest* | 5438 rm -rf conftest* |
5432 eval "ac_cv_lib_$ac_lib_var=yes" | 5439 eval "ac_cv_lib_$ac_lib_var=yes" |
5433 else | 5440 else |
5434 echo "configure: failed program was:" >&5 | 5441 echo "configure: failed program was:" >&5 |
5435 cat conftest.$ac_ext >&5 | 5442 cat conftest.$ac_ext >&5 |
5464 | 5471 |
5465 fi | 5472 fi |
5466 | 5473 |
5467 | 5474 |
5468 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5475 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5469 echo "configure:5470: checking for main in -lXbsd" >&5 | 5476 echo "configure:5477: checking for main in -lXbsd" >&5 |
5470 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5477 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5471 | 5478 |
5472 xe_check_libs=" -lXbsd " | 5479 xe_check_libs=" -lXbsd " |
5473 cat > conftest.$ac_ext <<EOF | 5480 cat > conftest.$ac_ext <<EOF |
5474 #line 5475 "configure" | 5481 #line 5482 "configure" |
5475 #include "confdefs.h" | 5482 #include "confdefs.h" |
5476 | 5483 |
5477 int main() { | 5484 int main() { |
5478 main() | 5485 main() |
5479 ; return 0; } | 5486 ; return 0; } |
5480 EOF | 5487 EOF |
5481 if { (eval echo configure:5482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5488 if { (eval echo configure:5489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5482 rm -rf conftest* | 5489 rm -rf conftest* |
5483 eval "ac_cv_lib_$ac_lib_var=yes" | 5490 eval "ac_cv_lib_$ac_lib_var=yes" |
5484 else | 5491 else |
5485 echo "configure: failed program was:" >&5 | 5492 echo "configure: failed program was:" >&5 |
5486 cat conftest.$ac_ext >&5 | 5493 cat conftest.$ac_ext >&5 |
5504 fi | 5511 fi |
5505 | 5512 |
5506 fi | 5513 fi |
5507 if test "$with_msw" != "no"; then | 5514 if test "$with_msw" != "no"; then |
5508 echo "checking for MS-Windows" 1>&6 | 5515 echo "checking for MS-Windows" 1>&6 |
5509 echo "configure:5510: checking for MS-Windows" >&5 | 5516 echo "configure:5517: checking for MS-Windows" >&5 |
5510 | 5517 |
5511 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5518 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
5512 echo "configure:5513: checking for main in -lgdi32" >&5 | 5519 echo "configure:5520: checking for main in -lgdi32" >&5 |
5513 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5520 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
5514 | 5521 |
5515 xe_check_libs=" -lgdi32 " | 5522 xe_check_libs=" -lgdi32 " |
5516 cat > conftest.$ac_ext <<EOF | 5523 cat > conftest.$ac_ext <<EOF |
5517 #line 5518 "configure" | 5524 #line 5525 "configure" |
5518 #include "confdefs.h" | 5525 #include "confdefs.h" |
5519 | 5526 |
5520 int main() { | 5527 int main() { |
5521 main() | 5528 main() |
5522 ; return 0; } | 5529 ; return 0; } |
5523 EOF | 5530 EOF |
5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5531 if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5525 rm -rf conftest* | 5532 rm -rf conftest* |
5526 eval "ac_cv_lib_$ac_lib_var=yes" | 5533 eval "ac_cv_lib_$ac_lib_var=yes" |
5527 else | 5534 else |
5528 echo "configure: failed program was:" >&5 | 5535 echo "configure: failed program was:" >&5 |
5529 cat conftest.$ac_ext >&5 | 5536 cat conftest.$ac_ext >&5 |
5571 echo " xemacs will be linked with \"menubar-msw.o\"" | 5578 echo " xemacs will be linked with \"menubar-msw.o\"" |
5572 fi | 5579 fi |
5573 fi | 5580 fi |
5574 const_is_losing=no | 5581 const_is_losing=no |
5575 with_file_coding=yes | 5582 with_file_coding=yes |
5576 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o" && if test "$extra_verbose" = "yes"; then | 5583 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o" && if test "$extra_verbose" = "yes"; then |
5577 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o\"" | 5584 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o\"" |
5578 fi | 5585 fi |
5579 fi | 5586 fi |
5580 fi | 5587 fi |
5581 | 5588 |
5582 test -z "$window_system" && window_system="none" | 5589 test -z "$window_system" && window_system="none" |
5610 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5617 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5611 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5618 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5612 esac | 5619 esac |
5613 | 5620 |
5614 echo "checking for session-management option" 1>&6 | 5621 echo "checking for session-management option" 1>&6 |
5615 echo "configure:5616: checking for session-management option" >&5; | 5622 echo "configure:5623: checking for session-management option" >&5; |
5616 if test "$with_session" != "no"; then | 5623 if test "$with_session" != "no"; then |
5617 { test "$extra_verbose" = "yes" && cat << \EOF | 5624 { test "$extra_verbose" = "yes" && cat << \EOF |
5618 Defining HAVE_SESSION | 5625 Defining HAVE_SESSION |
5619 EOF | 5626 EOF |
5620 cat >> confdefs.h <<\EOF | 5627 cat >> confdefs.h <<\EOF |
5625 fi | 5632 fi |
5626 | 5633 |
5627 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5634 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5628 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5635 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5629 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5636 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5630 echo "configure:5631: checking for X11/Xauth.h" >&5 | 5637 echo "configure:5638: checking for X11/Xauth.h" >&5 |
5631 | 5638 |
5632 cat > conftest.$ac_ext <<EOF | 5639 cat > conftest.$ac_ext <<EOF |
5633 #line 5634 "configure" | 5640 #line 5641 "configure" |
5634 #include "confdefs.h" | 5641 #include "confdefs.h" |
5635 #include <X11/Xauth.h> | 5642 #include <X11/Xauth.h> |
5636 EOF | 5643 EOF |
5637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5638 { (eval echo configure:5639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5645 { (eval echo configure:5646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5639 ac_err=`grep -v '^ *+' conftest.out` | 5646 ac_err=`grep -v '^ *+' conftest.out` |
5640 if test -z "$ac_err"; then | 5647 if test -z "$ac_err"; then |
5641 rm -rf conftest* | 5648 rm -rf conftest* |
5642 eval "ac_cv_header_$ac_safe=yes" | 5649 eval "ac_cv_header_$ac_safe=yes" |
5643 else | 5650 else |
5656 with_xauth=no | 5663 with_xauth=no |
5657 fi | 5664 fi |
5658 } | 5665 } |
5659 test -z "$with_xauth" && { | 5666 test -z "$with_xauth" && { |
5660 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5667 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5661 echo "configure:5662: checking for XauGetAuthByAddr in -lXau" >&5 | 5668 echo "configure:5669: checking for XauGetAuthByAddr in -lXau" >&5 |
5662 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5669 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5663 | 5670 |
5664 xe_check_libs=" -lXau " | 5671 xe_check_libs=" -lXau " |
5665 cat > conftest.$ac_ext <<EOF | 5672 cat > conftest.$ac_ext <<EOF |
5666 #line 5667 "configure" | 5673 #line 5674 "configure" |
5667 #include "confdefs.h" | 5674 #include "confdefs.h" |
5668 /* Override any gcc2 internal prototype to avoid an error. */ | 5675 /* Override any gcc2 internal prototype to avoid an error. */ |
5669 /* We use char because int might match the return type of a gcc2 | 5676 /* We use char because int might match the return type of a gcc2 |
5670 builtin and then its argument prototype would still apply. */ | 5677 builtin and then its argument prototype would still apply. */ |
5671 char XauGetAuthByAddr(); | 5678 char XauGetAuthByAddr(); |
5672 | 5679 |
5673 int main() { | 5680 int main() { |
5674 XauGetAuthByAddr() | 5681 XauGetAuthByAddr() |
5675 ; return 0; } | 5682 ; return 0; } |
5676 EOF | 5683 EOF |
5677 if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5684 if { (eval echo configure:5685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5678 rm -rf conftest* | 5685 rm -rf conftest* |
5679 eval "ac_cv_lib_$ac_lib_var=yes" | 5686 eval "ac_cv_lib_$ac_lib_var=yes" |
5680 else | 5687 else |
5681 echo "configure: failed program was:" >&5 | 5688 echo "configure: failed program was:" >&5 |
5682 cat conftest.$ac_ext >&5 | 5689 cat conftest.$ac_ext >&5 |
5736 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5743 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5737 if test "$with_tooltalk" != "no" ; then | 5744 if test "$with_tooltalk" != "no" ; then |
5738 for dir in "" "Tt/" "desktop/" ; do | 5745 for dir in "" "Tt/" "desktop/" ; do |
5739 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5746 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5740 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5747 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5741 echo "configure:5742: checking for ${dir}tt_c.h" >&5 | 5748 echo "configure:5749: checking for ${dir}tt_c.h" >&5 |
5742 | 5749 |
5743 cat > conftest.$ac_ext <<EOF | 5750 cat > conftest.$ac_ext <<EOF |
5744 #line 5745 "configure" | 5751 #line 5752 "configure" |
5745 #include "confdefs.h" | 5752 #include "confdefs.h" |
5746 #include <${dir}tt_c.h> | 5753 #include <${dir}tt_c.h> |
5747 EOF | 5754 EOF |
5748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5749 { (eval echo configure:5750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5756 { (eval echo configure:5757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5750 ac_err=`grep -v '^ *+' conftest.out` | 5757 ac_err=`grep -v '^ *+' conftest.out` |
5751 if test -z "$ac_err"; then | 5758 if test -z "$ac_err"; then |
5752 rm -rf conftest* | 5759 rm -rf conftest* |
5753 eval "ac_cv_header_$ac_safe=yes" | 5760 eval "ac_cv_header_$ac_safe=yes" |
5754 else | 5761 else |
5773 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5780 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5774 | 5781 |
5775 xe_msg_checking="for tt_message_create in -ltt" | 5782 xe_msg_checking="for tt_message_create in -ltt" |
5776 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5783 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5777 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5784 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5778 echo "configure:5779: checking "$xe_msg_checking"" >&5 | 5785 echo "configure:5786: checking "$xe_msg_checking"" >&5 |
5779 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5786 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5780 | 5787 |
5781 xe_check_libs=" -ltt $extra_libs" | 5788 xe_check_libs=" -ltt $extra_libs" |
5782 cat > conftest.$ac_ext <<EOF | 5789 cat > conftest.$ac_ext <<EOF |
5783 #line 5784 "configure" | 5790 #line 5791 "configure" |
5784 #include "confdefs.h" | 5791 #include "confdefs.h" |
5785 /* Override any gcc2 internal prototype to avoid an error. */ | 5792 /* Override any gcc2 internal prototype to avoid an error. */ |
5786 /* We use char because int might match the return type of a gcc2 | 5793 /* We use char because int might match the return type of a gcc2 |
5787 builtin and then its argument prototype would still apply. */ | 5794 builtin and then its argument prototype would still apply. */ |
5788 char tt_message_create(); | 5795 char tt_message_create(); |
5789 | 5796 |
5790 int main() { | 5797 int main() { |
5791 tt_message_create() | 5798 tt_message_create() |
5792 ; return 0; } | 5799 ; return 0; } |
5793 EOF | 5800 EOF |
5794 if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5801 if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5795 rm -rf conftest* | 5802 rm -rf conftest* |
5796 eval "ac_cv_lib_$ac_lib_var=yes" | 5803 eval "ac_cv_lib_$ac_lib_var=yes" |
5797 else | 5804 else |
5798 echo "configure: failed program was:" >&5 | 5805 echo "configure: failed program was:" >&5 |
5799 cat conftest.$ac_ext >&5 | 5806 cat conftest.$ac_ext >&5 |
5838 fi | 5845 fi |
5839 fi | 5846 fi |
5840 | 5847 |
5841 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5848 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5842 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5849 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5843 echo "configure:5844: checking for Dt/Dt.h" >&5 | 5850 echo "configure:5851: checking for Dt/Dt.h" >&5 |
5844 | 5851 |
5845 cat > conftest.$ac_ext <<EOF | 5852 cat > conftest.$ac_ext <<EOF |
5846 #line 5847 "configure" | 5853 #line 5854 "configure" |
5847 #include "confdefs.h" | 5854 #include "confdefs.h" |
5848 #include <Dt/Dt.h> | 5855 #include <Dt/Dt.h> |
5849 EOF | 5856 EOF |
5850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5851 { (eval echo configure:5852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5858 { (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5852 ac_err=`grep -v '^ *+' conftest.out` | 5859 ac_err=`grep -v '^ *+' conftest.out` |
5853 if test -z "$ac_err"; then | 5860 if test -z "$ac_err"; then |
5854 rm -rf conftest* | 5861 rm -rf conftest* |
5855 eval "ac_cv_header_$ac_safe=yes" | 5862 eval "ac_cv_header_$ac_safe=yes" |
5856 else | 5863 else |
5869 with_cde=no | 5876 with_cde=no |
5870 fi | 5877 fi |
5871 } | 5878 } |
5872 test -z "$with_cde" && { | 5879 test -z "$with_cde" && { |
5873 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5880 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5874 echo "configure:5875: checking for DtDndDragStart in -lDtSvc" >&5 | 5881 echo "configure:5882: checking for DtDndDragStart in -lDtSvc" >&5 |
5875 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5882 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5876 | 5883 |
5877 xe_check_libs=" -lDtSvc " | 5884 xe_check_libs=" -lDtSvc " |
5878 cat > conftest.$ac_ext <<EOF | 5885 cat > conftest.$ac_ext <<EOF |
5879 #line 5880 "configure" | 5886 #line 5887 "configure" |
5880 #include "confdefs.h" | 5887 #include "confdefs.h" |
5881 /* Override any gcc2 internal prototype to avoid an error. */ | 5888 /* Override any gcc2 internal prototype to avoid an error. */ |
5882 /* We use char because int might match the return type of a gcc2 | 5889 /* We use char because int might match the return type of a gcc2 |
5883 builtin and then its argument prototype would still apply. */ | 5890 builtin and then its argument prototype would still apply. */ |
5884 char DtDndDragStart(); | 5891 char DtDndDragStart(); |
5885 | 5892 |
5886 int main() { | 5893 int main() { |
5887 DtDndDragStart() | 5894 DtDndDragStart() |
5888 ; return 0; } | 5895 ; return 0; } |
5889 EOF | 5896 EOF |
5890 if { (eval echo configure:5891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5891 rm -rf conftest* | 5898 rm -rf conftest* |
5892 eval "ac_cv_lib_$ac_lib_var=yes" | 5899 eval "ac_cv_lib_$ac_lib_var=yes" |
5893 else | 5900 else |
5894 echo "configure: failed program was:" >&5 | 5901 echo "configure: failed program was:" >&5 |
5895 cat conftest.$ac_ext >&5 | 5902 cat conftest.$ac_ext >&5 |
5922 with_tooltalk=yes # CDE requires Tooltalk | 5929 with_tooltalk=yes # CDE requires Tooltalk |
5923 need_motif=yes # CDE requires Motif | 5930 need_motif=yes # CDE requires Motif |
5924 fi | 5931 fi |
5925 | 5932 |
5926 echo "checking for LDAP" 1>&6 | 5933 echo "checking for LDAP" 1>&6 |
5927 echo "configure:5928: checking for LDAP" >&5 | 5934 echo "configure:5935: checking for LDAP" >&5 |
5928 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 5935 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
5929 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 5936 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
5930 echo "configure:5931: checking for ldap.h" >&5 | 5937 echo "configure:5938: checking for ldap.h" >&5 |
5931 | 5938 |
5932 cat > conftest.$ac_ext <<EOF | 5939 cat > conftest.$ac_ext <<EOF |
5933 #line 5934 "configure" | 5940 #line 5941 "configure" |
5934 #include "confdefs.h" | 5941 #include "confdefs.h" |
5935 #include <ldap.h> | 5942 #include <ldap.h> |
5936 EOF | 5943 EOF |
5937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5938 { (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5945 { (eval echo configure:5946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5939 ac_err=`grep -v '^ *+' conftest.out` | 5946 ac_err=`grep -v '^ *+' conftest.out` |
5940 if test -z "$ac_err"; then | 5947 if test -z "$ac_err"; then |
5941 rm -rf conftest* | 5948 rm -rf conftest* |
5942 eval "ac_cv_header_$ac_safe=yes" | 5949 eval "ac_cv_header_$ac_safe=yes" |
5943 else | 5950 else |
5956 with_ldap=no | 5963 with_ldap=no |
5957 fi | 5964 fi |
5958 } | 5965 } |
5959 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 5966 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
5960 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 5967 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
5961 echo "configure:5962: checking for lber.h" >&5 | 5968 echo "configure:5969: checking for lber.h" >&5 |
5962 | 5969 |
5963 cat > conftest.$ac_ext <<EOF | 5970 cat > conftest.$ac_ext <<EOF |
5964 #line 5965 "configure" | 5971 #line 5972 "configure" |
5965 #include "confdefs.h" | 5972 #include "confdefs.h" |
5966 #include <lber.h> | 5973 #include <lber.h> |
5967 EOF | 5974 EOF |
5968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5969 { (eval echo configure:5970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5976 { (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5970 ac_err=`grep -v '^ *+' conftest.out` | 5977 ac_err=`grep -v '^ *+' conftest.out` |
5971 if test -z "$ac_err"; then | 5978 if test -z "$ac_err"; then |
5972 rm -rf conftest* | 5979 rm -rf conftest* |
5973 eval "ac_cv_header_$ac_safe=yes" | 5980 eval "ac_cv_header_$ac_safe=yes" |
5974 else | 5981 else |
5989 } | 5996 } |
5990 test -z "$with_ldap" -o "$with_ldap" = "yes" && { | 5997 test -z "$with_ldap" -o "$with_ldap" = "yes" && { |
5991 xe_msg_checking="for ldap_open in -lldap" | 5998 xe_msg_checking="for ldap_open in -lldap" |
5992 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 5999 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
5993 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6000 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5994 echo "configure:5995: checking "$xe_msg_checking"" >&5 | 6001 echo "configure:6002: checking "$xe_msg_checking"" >&5 |
5995 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6002 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
5996 | 6003 |
5997 xe_check_libs=" -lldap -llber" | 6004 xe_check_libs=" -lldap -llber" |
5998 cat > conftest.$ac_ext <<EOF | 6005 cat > conftest.$ac_ext <<EOF |
5999 #line 6000 "configure" | 6006 #line 6007 "configure" |
6000 #include "confdefs.h" | 6007 #include "confdefs.h" |
6001 /* Override any gcc2 internal prototype to avoid an error. */ | 6008 /* Override any gcc2 internal prototype to avoid an error. */ |
6002 /* We use char because int might match the return type of a gcc2 | 6009 /* We use char because int might match the return type of a gcc2 |
6003 builtin and then its argument prototype would still apply. */ | 6010 builtin and then its argument prototype would still apply. */ |
6004 char ldap_open(); | 6011 char ldap_open(); |
6005 | 6012 |
6006 int main() { | 6013 int main() { |
6007 ldap_open() | 6014 ldap_open() |
6008 ; return 0; } | 6015 ; return 0; } |
6009 EOF | 6016 EOF |
6010 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6011 rm -rf conftest* | 6018 rm -rf conftest* |
6012 eval "ac_cv_lib_$ac_lib_var=yes" | 6019 eval "ac_cv_lib_$ac_lib_var=yes" |
6013 else | 6020 else |
6014 echo "configure: failed program was:" >&5 | 6021 echo "configure: failed program was:" >&5 |
6015 cat conftest.$ac_ext >&5 | 6022 cat conftest.$ac_ext >&5 |
6028 fi | 6035 fi |
6029 | 6036 |
6030 } | 6037 } |
6031 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { | 6038 test \( -z "$with_ldap" -o "$with_ldap" = "yes" \) -a "$with_umich_ldap" = "no" && { |
6032 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6039 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6033 echo "configure:6034: checking for ldap_set_option in -lldap10" >&5 | 6040 echo "configure:6041: checking for ldap_set_option in -lldap10" >&5 |
6034 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6041 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6035 | 6042 |
6036 xe_check_libs=" -lldap10 " | 6043 xe_check_libs=" -lldap10 " |
6037 cat > conftest.$ac_ext <<EOF | 6044 cat > conftest.$ac_ext <<EOF |
6038 #line 6039 "configure" | 6045 #line 6046 "configure" |
6039 #include "confdefs.h" | 6046 #include "confdefs.h" |
6040 /* Override any gcc2 internal prototype to avoid an error. */ | 6047 /* Override any gcc2 internal prototype to avoid an error. */ |
6041 /* We use char because int might match the return type of a gcc2 | 6048 /* We use char because int might match the return type of a gcc2 |
6042 builtin and then its argument prototype would still apply. */ | 6049 builtin and then its argument prototype would still apply. */ |
6043 char ldap_set_option(); | 6050 char ldap_set_option(); |
6044 | 6051 |
6045 int main() { | 6052 int main() { |
6046 ldap_set_option() | 6053 ldap_set_option() |
6047 ; return 0; } | 6054 ; return 0; } |
6048 EOF | 6055 EOF |
6049 if { (eval echo configure:6050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6050 rm -rf conftest* | 6057 rm -rf conftest* |
6051 eval "ac_cv_lib_$ac_lib_var=yes" | 6058 eval "ac_cv_lib_$ac_lib_var=yes" |
6052 else | 6059 else |
6053 echo "configure: failed program was:" >&5 | 6060 echo "configure: failed program was:" >&5 |
6054 cat conftest.$ac_ext >&5 | 6061 cat conftest.$ac_ext >&5 |
6128 | 6135 |
6129 | 6136 |
6130 if test "$with_x11" = "yes"; then | 6137 if test "$with_x11" = "yes"; then |
6131 | 6138 |
6132 echo "checking for X11 graphics libraries" 1>&6 | 6139 echo "checking for X11 graphics libraries" 1>&6 |
6133 echo "configure:6134: checking for X11 graphics libraries" >&5 | 6140 echo "configure:6141: checking for X11 graphics libraries" >&5 |
6134 | 6141 |
6135 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6142 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6136 echo "configure:6137: checking for Xpm - no older than 3.4f" >&5 | 6143 echo "configure:6144: checking for Xpm - no older than 3.4f" >&5 |
6137 xe_check_libs=-lXpm | 6144 xe_check_libs=-lXpm |
6138 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 6145 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
6139 #line 6140 "configure" | 6146 #line 6147 "configure" |
6140 #include "confdefs.h" | 6147 #include "confdefs.h" |
6141 #include <X11/xpm.h> | 6148 #include <X11/xpm.h> |
6142 int main(int c, char **v) { | 6149 int main(int c, char **v) { |
6143 return c == 1 ? 0 : | 6150 return c == 1 ? 0 : |
6144 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6151 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6145 XpmIncludeVersion < 30406 ? 2 : | 6152 XpmIncludeVersion < 30406 ? 2 : |
6146 0 ; | 6153 0 ; |
6147 } | 6154 } |
6148 EOF | 6155 EOF |
6149 if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
6150 then | 6157 then |
6151 ./conftest foobar; xpm_status=$?; | 6158 ./conftest foobar; xpm_status=$?; |
6152 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 6159 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
6153 else | 6160 else |
6154 echo "configure: failed program was:" >&5 | 6161 echo "configure: failed program was:" >&5 |
6182 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6189 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6183 fi | 6190 fi |
6184 | 6191 |
6185 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 6192 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6186 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 6193 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6187 echo "configure:6188: checking for compface.h" >&5 | 6194 echo "configure:6195: checking for compface.h" >&5 |
6188 | 6195 |
6189 cat > conftest.$ac_ext <<EOF | 6196 cat > conftest.$ac_ext <<EOF |
6190 #line 6191 "configure" | 6197 #line 6198 "configure" |
6191 #include "confdefs.h" | 6198 #include "confdefs.h" |
6192 #include <compface.h> | 6199 #include <compface.h> |
6193 EOF | 6200 EOF |
6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6195 { (eval echo configure:6196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6202 { (eval echo configure:6203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6196 ac_err=`grep -v '^ *+' conftest.out` | 6203 ac_err=`grep -v '^ *+' conftest.out` |
6197 if test -z "$ac_err"; then | 6204 if test -z "$ac_err"; then |
6198 rm -rf conftest* | 6205 rm -rf conftest* |
6199 eval "ac_cv_header_$ac_safe=yes" | 6206 eval "ac_cv_header_$ac_safe=yes" |
6200 else | 6207 else |
6213 with_xface=no | 6220 with_xface=no |
6214 fi | 6221 fi |
6215 } | 6222 } |
6216 test -z "$with_xface" && { | 6223 test -z "$with_xface" && { |
6217 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 6224 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6218 echo "configure:6219: checking for UnGenFace in -lcompface" >&5 | 6225 echo "configure:6226: checking for UnGenFace in -lcompface" >&5 |
6219 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 6226 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6220 | 6227 |
6221 xe_check_libs=" -lcompface " | 6228 xe_check_libs=" -lcompface " |
6222 cat > conftest.$ac_ext <<EOF | 6229 cat > conftest.$ac_ext <<EOF |
6223 #line 6224 "configure" | 6230 #line 6231 "configure" |
6224 #include "confdefs.h" | 6231 #include "confdefs.h" |
6225 /* Override any gcc2 internal prototype to avoid an error. */ | 6232 /* Override any gcc2 internal prototype to avoid an error. */ |
6226 /* We use char because int might match the return type of a gcc2 | 6233 /* We use char because int might match the return type of a gcc2 |
6227 builtin and then its argument prototype would still apply. */ | 6234 builtin and then its argument prototype would still apply. */ |
6228 char UnGenFace(); | 6235 char UnGenFace(); |
6229 | 6236 |
6230 int main() { | 6237 int main() { |
6231 UnGenFace() | 6238 UnGenFace() |
6232 ; return 0; } | 6239 ; return 0; } |
6233 EOF | 6240 EOF |
6234 if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6241 if { (eval echo configure:6242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6235 rm -rf conftest* | 6242 rm -rf conftest* |
6236 eval "ac_cv_lib_$ac_lib_var=yes" | 6243 eval "ac_cv_lib_$ac_lib_var=yes" |
6237 else | 6244 else |
6238 echo "configure: failed program was:" >&5 | 6245 echo "configure: failed program was:" >&5 |
6239 cat conftest.$ac_ext >&5 | 6246 cat conftest.$ac_ext >&5 |
6264 | 6271 |
6265 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 6272 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
6266 fi | 6273 fi |
6267 | 6274 |
6268 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 | 6275 echo $ac_n "checking for giflib - no older than 3.1""... $ac_c" 1>&6 |
6269 echo "configure:6270: checking for giflib - no older than 3.1" >&5 | 6276 echo "configure:6277: checking for giflib - no older than 3.1" >&5 |
6270 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 6277 test -z "$with_gif" && { ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
6271 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
6272 echo "configure:6273: checking for gif_lib.h" >&5 | 6279 echo "configure:6280: checking for gif_lib.h" >&5 |
6273 | 6280 |
6274 cat > conftest.$ac_ext <<EOF | 6281 cat > conftest.$ac_ext <<EOF |
6275 #line 6276 "configure" | 6282 #line 6283 "configure" |
6276 #include "confdefs.h" | 6283 #include "confdefs.h" |
6277 #include <gif_lib.h> | 6284 #include <gif_lib.h> |
6278 EOF | 6285 EOF |
6279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6280 { (eval echo configure:6281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6287 { (eval echo configure:6288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6281 ac_err=`grep -v '^ *+' conftest.out` | 6288 ac_err=`grep -v '^ *+' conftest.out` |
6282 if test -z "$ac_err"; then | 6289 if test -z "$ac_err"; then |
6283 rm -rf conftest* | 6290 rm -rf conftest* |
6284 eval "ac_cv_header_$ac_safe=yes" | 6291 eval "ac_cv_header_$ac_safe=yes" |
6285 else | 6292 else |
6298 with_gif=no | 6305 with_gif=no |
6299 fi | 6306 fi |
6300 } | 6307 } |
6301 test -z "$with_gif" && { | 6308 test -z "$with_gif" && { |
6302 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 | 6309 echo $ac_n "checking for GetGifError in -lgif""... $ac_c" 1>&6 |
6303 echo "configure:6304: checking for GetGifError in -lgif" >&5 | 6310 echo "configure:6311: checking for GetGifError in -lgif" >&5 |
6304 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` | 6311 ac_lib_var=`echo gif'_'GetGifError | sed 'y%./+-%__p_%'` |
6305 | 6312 |
6306 xe_check_libs=" -lgif " | 6313 xe_check_libs=" -lgif " |
6307 cat > conftest.$ac_ext <<EOF | 6314 cat > conftest.$ac_ext <<EOF |
6308 #line 6309 "configure" | 6315 #line 6316 "configure" |
6309 #include "confdefs.h" | 6316 #include "confdefs.h" |
6310 /* Override any gcc2 internal prototype to avoid an error. */ | 6317 /* Override any gcc2 internal prototype to avoid an error. */ |
6311 /* We use char because int might match the return type of a gcc2 | 6318 /* We use char because int might match the return type of a gcc2 |
6312 builtin and then its argument prototype would still apply. */ | 6319 builtin and then its argument prototype would still apply. */ |
6313 char GetGifError(); | 6320 char GetGifError(); |
6314 | 6321 |
6315 int main() { | 6322 int main() { |
6316 GetGifError() | 6323 GetGifError() |
6317 ; return 0; } | 6324 ; return 0; } |
6318 EOF | 6325 EOF |
6319 if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6326 if { (eval echo configure:6327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6320 rm -rf conftest* | 6327 rm -rf conftest* |
6321 eval "ac_cv_lib_$ac_lib_var=yes" | 6328 eval "ac_cv_lib_$ac_lib_var=yes" |
6322 else | 6329 else |
6323 echo "configure: failed program was:" >&5 | 6330 echo "configure: failed program was:" >&5 |
6324 cat conftest.$ac_ext >&5 | 6331 cat conftest.$ac_ext >&5 |
6350 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi | 6357 libs_x="-lgif $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi |
6351 fi | 6358 fi |
6352 | 6359 |
6353 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6360 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6354 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6361 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6355 echo "configure:6356: checking for jpeglib.h" >&5 | 6362 echo "configure:6363: checking for jpeglib.h" >&5 |
6356 | 6363 |
6357 cat > conftest.$ac_ext <<EOF | 6364 cat > conftest.$ac_ext <<EOF |
6358 #line 6359 "configure" | 6365 #line 6366 "configure" |
6359 #include "confdefs.h" | 6366 #include "confdefs.h" |
6360 #include <jpeglib.h> | 6367 #include <jpeglib.h> |
6361 EOF | 6368 EOF |
6362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6363 { (eval echo configure:6364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6370 { (eval echo configure:6371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6364 ac_err=`grep -v '^ *+' conftest.out` | 6371 ac_err=`grep -v '^ *+' conftest.out` |
6365 if test -z "$ac_err"; then | 6372 if test -z "$ac_err"; then |
6366 rm -rf conftest* | 6373 rm -rf conftest* |
6367 eval "ac_cv_header_$ac_safe=yes" | 6374 eval "ac_cv_header_$ac_safe=yes" |
6368 else | 6375 else |
6381 with_jpeg=no | 6388 with_jpeg=no |
6382 fi | 6389 fi |
6383 } | 6390 } |
6384 test -z "$with_jpeg" && { | 6391 test -z "$with_jpeg" && { |
6385 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6392 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6386 echo "configure:6387: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6393 echo "configure:6394: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6387 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6394 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6388 | 6395 |
6389 xe_check_libs=" -ljpeg " | 6396 xe_check_libs=" -ljpeg " |
6390 cat > conftest.$ac_ext <<EOF | 6397 cat > conftest.$ac_ext <<EOF |
6391 #line 6392 "configure" | 6398 #line 6399 "configure" |
6392 #include "confdefs.h" | 6399 #include "confdefs.h" |
6393 /* Override any gcc2 internal prototype to avoid an error. */ | 6400 /* Override any gcc2 internal prototype to avoid an error. */ |
6394 /* We use char because int might match the return type of a gcc2 | 6401 /* We use char because int might match the return type of a gcc2 |
6395 builtin and then its argument prototype would still apply. */ | 6402 builtin and then its argument prototype would still apply. */ |
6396 char jpeg_destroy_decompress(); | 6403 char jpeg_destroy_decompress(); |
6397 | 6404 |
6398 int main() { | 6405 int main() { |
6399 jpeg_destroy_decompress() | 6406 jpeg_destroy_decompress() |
6400 ; return 0; } | 6407 ; return 0; } |
6401 EOF | 6408 EOF |
6402 if { (eval echo configure:6403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6403 rm -rf conftest* | 6410 rm -rf conftest* |
6404 eval "ac_cv_lib_$ac_lib_var=yes" | 6411 eval "ac_cv_lib_$ac_lib_var=yes" |
6405 else | 6412 else |
6406 echo "configure: failed program was:" >&5 | 6413 echo "configure: failed program was:" >&5 |
6407 cat conftest.$ac_ext >&5 | 6414 cat conftest.$ac_ext >&5 |
6433 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6440 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6434 fi | 6441 fi |
6435 | 6442 |
6436 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6443 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6437 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6444 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6438 echo "configure:6439: checking for png.h" >&5 | 6445 echo "configure:6446: checking for png.h" >&5 |
6439 | 6446 |
6440 cat > conftest.$ac_ext <<EOF | 6447 cat > conftest.$ac_ext <<EOF |
6441 #line 6442 "configure" | 6448 #line 6449 "configure" |
6442 #include "confdefs.h" | 6449 #include "confdefs.h" |
6443 #include <png.h> | 6450 #include <png.h> |
6444 EOF | 6451 EOF |
6445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6446 { (eval echo configure:6447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6453 { (eval echo configure:6454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6447 ac_err=`grep -v '^ *+' conftest.out` | 6454 ac_err=`grep -v '^ *+' conftest.out` |
6448 if test -z "$ac_err"; then | 6455 if test -z "$ac_err"; then |
6449 rm -rf conftest* | 6456 rm -rf conftest* |
6450 eval "ac_cv_header_$ac_safe=yes" | 6457 eval "ac_cv_header_$ac_safe=yes" |
6451 else | 6458 else |
6463 echo "$ac_t""no" 1>&6 | 6470 echo "$ac_t""no" 1>&6 |
6464 with_png=no | 6471 with_png=no |
6465 fi | 6472 fi |
6466 } | 6473 } |
6467 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6474 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6468 echo "configure:6469: checking for pow" >&5 | 6475 echo "configure:6476: checking for pow" >&5 |
6469 | 6476 |
6470 cat > conftest.$ac_ext <<EOF | 6477 cat > conftest.$ac_ext <<EOF |
6471 #line 6472 "configure" | 6478 #line 6479 "configure" |
6472 #include "confdefs.h" | 6479 #include "confdefs.h" |
6473 /* System header to define __stub macros and hopefully few prototypes, | 6480 /* System header to define __stub macros and hopefully few prototypes, |
6474 which can conflict with char pow(); below. */ | 6481 which can conflict with char pow(); below. */ |
6475 #include <assert.h> | 6482 #include <assert.h> |
6476 /* Override any gcc2 internal prototype to avoid an error. */ | 6483 /* Override any gcc2 internal prototype to avoid an error. */ |
6489 pow(); | 6496 pow(); |
6490 #endif | 6497 #endif |
6491 | 6498 |
6492 ; return 0; } | 6499 ; return 0; } |
6493 EOF | 6500 EOF |
6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6501 if { (eval echo configure:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6495 rm -rf conftest* | 6502 rm -rf conftest* |
6496 eval "ac_cv_func_pow=yes" | 6503 eval "ac_cv_func_pow=yes" |
6497 else | 6504 else |
6498 echo "configure: failed program was:" >&5 | 6505 echo "configure: failed program was:" >&5 |
6499 cat conftest.$ac_ext >&5 | 6506 cat conftest.$ac_ext >&5 |
6511 fi | 6518 fi |
6512 } | 6519 } |
6513 if test "$with_png" != "no"; then | 6520 if test "$with_png" != "no"; then |
6514 for extra_libs in "" "-lz" "-lgz"; do | 6521 for extra_libs in "" "-lz" "-lgz"; do |
6515 | 6522 |
6516 xe_msg_checking="for png_read_image in -lpng" | 6523 xe_msg_checking="for png_set_strip_alpha in -lpng" |
6517 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6524 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6518 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6525 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6519 echo "configure:6520: checking "$xe_msg_checking"" >&5 | 6526 echo "configure:6527: checking "$xe_msg_checking"" >&5 |
6520 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6527 ac_lib_var=`echo png'_'png_set_strip_alpha | sed 'y%./+-%__p_%'` |
6521 | 6528 |
6522 xe_check_libs=" -lpng $extra_libs" | 6529 xe_check_libs=" -lpng $extra_libs" |
6523 cat > conftest.$ac_ext <<EOF | 6530 cat > conftest.$ac_ext <<EOF |
6524 #line 6525 "configure" | 6531 #line 6532 "configure" |
6525 #include "confdefs.h" | 6532 #include "confdefs.h" |
6526 /* Override any gcc2 internal prototype to avoid an error. */ | 6533 /* Override any gcc2 internal prototype to avoid an error. */ |
6527 /* We use char because int might match the return type of a gcc2 | 6534 /* We use char because int might match the return type of a gcc2 |
6528 builtin and then its argument prototype would still apply. */ | 6535 builtin and then its argument prototype would still apply. */ |
6529 char png_read_image(); | 6536 char png_set_strip_alpha(); |
6530 | 6537 |
6531 int main() { | 6538 int main() { |
6532 png_read_image() | 6539 png_set_strip_alpha() |
6533 ; return 0; } | 6540 ; return 0; } |
6534 EOF | 6541 EOF |
6535 if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6542 if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6536 rm -rf conftest* | 6543 rm -rf conftest* |
6537 eval "ac_cv_lib_$ac_lib_var=yes" | 6544 eval "ac_cv_lib_$ac_lib_var=yes" |
6538 else | 6545 else |
6539 echo "configure: failed program was:" >&5 | 6546 echo "configure: failed program was:" >&5 |
6540 cat conftest.$ac_ext >&5 | 6547 cat conftest.$ac_ext >&5 |
6572 for extra_libs in "" "-lz" "-lgz"; do | 6579 for extra_libs in "" "-lz" "-lgz"; do |
6573 | 6580 |
6574 xe_msg_checking="for TIFFReadScanline in -ltiff" | 6581 xe_msg_checking="for TIFFReadScanline in -ltiff" |
6575 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6582 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6576 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6583 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6577 echo "configure:6578: checking "$xe_msg_checking"" >&5 | 6584 echo "configure:6585: checking "$xe_msg_checking"" >&5 |
6578 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` | 6585 ac_lib_var=`echo tiff'_'TIFFReadScanline | sed 'y%./+-%__p_%'` |
6579 | 6586 |
6580 xe_check_libs=" -ltiff $extra_libs" | 6587 xe_check_libs=" -ltiff $extra_libs" |
6581 cat > conftest.$ac_ext <<EOF | 6588 cat > conftest.$ac_ext <<EOF |
6582 #line 6583 "configure" | 6589 #line 6590 "configure" |
6583 #include "confdefs.h" | 6590 #include "confdefs.h" |
6584 /* Override any gcc2 internal prototype to avoid an error. */ | 6591 /* Override any gcc2 internal prototype to avoid an error. */ |
6585 /* We use char because int might match the return type of a gcc2 | 6592 /* We use char because int might match the return type of a gcc2 |
6586 builtin and then its argument prototype would still apply. */ | 6593 builtin and then its argument prototype would still apply. */ |
6587 char TIFFReadScanline(); | 6594 char TIFFReadScanline(); |
6588 | 6595 |
6589 int main() { | 6596 int main() { |
6590 TIFFReadScanline() | 6597 TIFFReadScanline() |
6591 ; return 0; } | 6598 ; return 0; } |
6592 EOF | 6599 EOF |
6593 if { (eval echo configure:6594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6600 if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6594 rm -rf conftest* | 6601 rm -rf conftest* |
6595 eval "ac_cv_lib_$ac_lib_var=yes" | 6602 eval "ac_cv_lib_$ac_lib_var=yes" |
6596 else | 6603 else |
6597 echo "configure: failed program was:" >&5 | 6604 echo "configure: failed program was:" >&5 |
6598 cat conftest.$ac_ext >&5 | 6605 cat conftest.$ac_ext >&5 |
6626 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi | 6633 libs_x="$tiff_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tiff_libs\" to \$libs_x"; fi |
6627 fi | 6634 fi |
6628 | 6635 |
6629 | 6636 |
6630 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 6637 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6631 echo "configure:6632: checking for XawScrollbarSetThumb in -lXaw" >&5 | 6638 echo "configure:6639: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6632 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 6639 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6633 | 6640 |
6634 xe_check_libs=" -lXaw " | 6641 xe_check_libs=" -lXaw " |
6635 cat > conftest.$ac_ext <<EOF | 6642 cat > conftest.$ac_ext <<EOF |
6636 #line 6637 "configure" | 6643 #line 6644 "configure" |
6637 #include "confdefs.h" | 6644 #include "confdefs.h" |
6638 /* Override any gcc2 internal prototype to avoid an error. */ | 6645 /* Override any gcc2 internal prototype to avoid an error. */ |
6639 /* We use char because int might match the return type of a gcc2 | 6646 /* We use char because int might match the return type of a gcc2 |
6640 builtin and then its argument prototype would still apply. */ | 6647 builtin and then its argument prototype would still apply. */ |
6641 char XawScrollbarSetThumb(); | 6648 char XawScrollbarSetThumb(); |
6642 | 6649 |
6643 int main() { | 6650 int main() { |
6644 XawScrollbarSetThumb() | 6651 XawScrollbarSetThumb() |
6645 ; return 0; } | 6652 ; return 0; } |
6646 EOF | 6653 EOF |
6647 if { (eval echo configure:6648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6654 if { (eval echo configure:6655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6648 rm -rf conftest* | 6655 rm -rf conftest* |
6649 eval "ac_cv_lib_$ac_lib_var=yes" | 6656 eval "ac_cv_lib_$ac_lib_var=yes" |
6650 else | 6657 else |
6651 echo "configure: failed program was:" >&5 | 6658 echo "configure: failed program was:" >&5 |
6652 cat conftest.$ac_ext >&5 | 6659 cat conftest.$ac_ext >&5 |
6666 | 6673 |
6667 | 6674 |
6668 | 6675 |
6669 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6676 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6670 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6677 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6671 echo "configure:6672: checking for Xm/Xm.h" >&5 | 6678 echo "configure:6679: checking for Xm/Xm.h" >&5 |
6672 | 6679 |
6673 cat > conftest.$ac_ext <<EOF | 6680 cat > conftest.$ac_ext <<EOF |
6674 #line 6675 "configure" | 6681 #line 6682 "configure" |
6675 #include "confdefs.h" | 6682 #include "confdefs.h" |
6676 #include <Xm/Xm.h> | 6683 #include <Xm/Xm.h> |
6677 EOF | 6684 EOF |
6678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6679 { (eval echo configure:6680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6686 { (eval echo configure:6687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6680 ac_err=`grep -v '^ *+' conftest.out` | 6687 ac_err=`grep -v '^ *+' conftest.out` |
6681 if test -z "$ac_err"; then | 6688 if test -z "$ac_err"; then |
6682 rm -rf conftest* | 6689 rm -rf conftest* |
6683 eval "ac_cv_header_$ac_safe=yes" | 6690 eval "ac_cv_header_$ac_safe=yes" |
6684 else | 6691 else |
6691 rm -f conftest* | 6698 rm -f conftest* |
6692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6693 echo "$ac_t""yes" 1>&6 | 6700 echo "$ac_t""yes" 1>&6 |
6694 | 6701 |
6695 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6702 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6696 echo "configure:6697: checking for XmStringFree in -lXm" >&5 | 6703 echo "configure:6704: checking for XmStringFree in -lXm" >&5 |
6697 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6704 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6698 | 6705 |
6699 xe_check_libs=" -lXm " | 6706 xe_check_libs=" -lXm " |
6700 cat > conftest.$ac_ext <<EOF | 6707 cat > conftest.$ac_ext <<EOF |
6701 #line 6702 "configure" | 6708 #line 6709 "configure" |
6702 #include "confdefs.h" | 6709 #include "confdefs.h" |
6703 /* Override any gcc2 internal prototype to avoid an error. */ | 6710 /* Override any gcc2 internal prototype to avoid an error. */ |
6704 /* We use char because int might match the return type of a gcc2 | 6711 /* We use char because int might match the return type of a gcc2 |
6705 builtin and then its argument prototype would still apply. */ | 6712 builtin and then its argument prototype would still apply. */ |
6706 char XmStringFree(); | 6713 char XmStringFree(); |
6707 | 6714 |
6708 int main() { | 6715 int main() { |
6709 XmStringFree() | 6716 XmStringFree() |
6710 ; return 0; } | 6717 ; return 0; } |
6711 EOF | 6718 EOF |
6712 if { (eval echo configure:6713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6713 rm -rf conftest* | 6720 rm -rf conftest* |
6714 eval "ac_cv_lib_$ac_lib_var=yes" | 6721 eval "ac_cv_lib_$ac_lib_var=yes" |
6715 else | 6722 else |
6716 echo "configure: failed program was:" >&5 | 6723 echo "configure: failed program was:" >&5 |
6717 cat conftest.$ac_ext >&5 | 6724 cat conftest.$ac_ext >&5 |
6998 fi | 7005 fi |
6999 fi | 7006 fi |
7000 | 7007 |
7001 if test "$with_mule" = "yes" ; then | 7008 if test "$with_mule" = "yes" ; then |
7002 echo "checking for Mule-related features" 1>&6 | 7009 echo "checking for Mule-related features" 1>&6 |
7003 echo "configure:7004: checking for Mule-related features" >&5 | 7010 echo "configure:7011: checking for Mule-related features" >&5 |
7004 { test "$extra_verbose" = "yes" && cat << \EOF | 7011 { test "$extra_verbose" = "yes" && cat << \EOF |
7005 Defining MULE | 7012 Defining MULE |
7006 EOF | 7013 EOF |
7007 cat >> confdefs.h <<\EOF | 7014 cat >> confdefs.h <<\EOF |
7008 #define MULE 1 | 7015 #define MULE 1 |
7023 | 7030 |
7024 for ac_hdr in libintl.h | 7031 for ac_hdr in libintl.h |
7025 do | 7032 do |
7026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7033 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7034 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7028 echo "configure:7029: checking for $ac_hdr" >&5 | 7035 echo "configure:7036: checking for $ac_hdr" >&5 |
7029 | 7036 |
7030 cat > conftest.$ac_ext <<EOF | 7037 cat > conftest.$ac_ext <<EOF |
7031 #line 7032 "configure" | 7038 #line 7039 "configure" |
7032 #include "confdefs.h" | 7039 #include "confdefs.h" |
7033 #include <$ac_hdr> | 7040 #include <$ac_hdr> |
7034 EOF | 7041 EOF |
7035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7036 { (eval echo configure:7037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7043 { (eval echo configure:7044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7037 ac_err=`grep -v '^ *+' conftest.out` | 7044 ac_err=`grep -v '^ *+' conftest.out` |
7038 if test -z "$ac_err"; then | 7045 if test -z "$ac_err"; then |
7039 rm -rf conftest* | 7046 rm -rf conftest* |
7040 eval "ac_cv_header_$ac_safe=yes" | 7047 eval "ac_cv_header_$ac_safe=yes" |
7041 else | 7048 else |
7062 fi | 7069 fi |
7063 done | 7070 done |
7064 | 7071 |
7065 | 7072 |
7066 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7073 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7067 echo "configure:7068: checking for strerror in -lintl" >&5 | 7074 echo "configure:7075: checking for strerror in -lintl" >&5 |
7068 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7075 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7069 | 7076 |
7070 xe_check_libs=" -lintl " | 7077 xe_check_libs=" -lintl " |
7071 cat > conftest.$ac_ext <<EOF | 7078 cat > conftest.$ac_ext <<EOF |
7072 #line 7073 "configure" | 7079 #line 7080 "configure" |
7073 #include "confdefs.h" | 7080 #include "confdefs.h" |
7074 /* Override any gcc2 internal prototype to avoid an error. */ | 7081 /* Override any gcc2 internal prototype to avoid an error. */ |
7075 /* We use char because int might match the return type of a gcc2 | 7082 /* We use char because int might match the return type of a gcc2 |
7076 builtin and then its argument prototype would still apply. */ | 7083 builtin and then its argument prototype would still apply. */ |
7077 char strerror(); | 7084 char strerror(); |
7078 | 7085 |
7079 int main() { | 7086 int main() { |
7080 strerror() | 7087 strerror() |
7081 ; return 0; } | 7088 ; return 0; } |
7082 EOF | 7089 EOF |
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7084 rm -rf conftest* | 7091 rm -rf conftest* |
7085 eval "ac_cv_lib_$ac_lib_var=yes" | 7092 eval "ac_cv_lib_$ac_lib_var=yes" |
7086 else | 7093 else |
7087 echo "configure: failed program was:" >&5 | 7094 echo "configure: failed program was:" >&5 |
7088 cat conftest.$ac_ext >&5 | 7095 cat conftest.$ac_ext >&5 |
7111 fi | 7118 fi |
7112 | 7119 |
7113 | 7120 |
7114 | 7121 |
7115 echo "checking for Mule input methods" 1>&6 | 7122 echo "checking for Mule input methods" 1>&6 |
7116 echo "configure:7117: checking for Mule input methods" >&5 | 7123 echo "configure:7124: checking for Mule input methods" >&5 |
7117 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 7124 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
7118 case "$with_xim" in "" | "yes" ) | 7125 case "$with_xim" in "" | "yes" ) |
7119 echo "checking for XIM" 1>&6 | 7126 echo "checking for XIM" 1>&6 |
7120 echo "configure:7121: checking for XIM" >&5 | 7127 echo "configure:7128: checking for XIM" >&5 |
7121 | 7128 |
7122 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7129 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7123 echo "configure:7124: checking for XmImMbLookupString in -lXm" >&5 | 7130 echo "configure:7131: checking for XmImMbLookupString in -lXm" >&5 |
7124 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7131 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7125 | 7132 |
7126 xe_check_libs=" -lXm " | 7133 xe_check_libs=" -lXm " |
7127 cat > conftest.$ac_ext <<EOF | 7134 cat > conftest.$ac_ext <<EOF |
7128 #line 7129 "configure" | 7135 #line 7136 "configure" |
7129 #include "confdefs.h" | 7136 #include "confdefs.h" |
7130 /* Override any gcc2 internal prototype to avoid an error. */ | 7137 /* Override any gcc2 internal prototype to avoid an error. */ |
7131 /* We use char because int might match the return type of a gcc2 | 7138 /* We use char because int might match the return type of a gcc2 |
7132 builtin and then its argument prototype would still apply. */ | 7139 builtin and then its argument prototype would still apply. */ |
7133 char XmImMbLookupString(); | 7140 char XmImMbLookupString(); |
7134 | 7141 |
7135 int main() { | 7142 int main() { |
7136 XmImMbLookupString() | 7143 XmImMbLookupString() |
7137 ; return 0; } | 7144 ; return 0; } |
7138 EOF | 7145 EOF |
7139 if { (eval echo configure:7140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7146 if { (eval echo configure:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7140 rm -rf conftest* | 7147 rm -rf conftest* |
7141 eval "ac_cv_lib_$ac_lib_var=yes" | 7148 eval "ac_cv_lib_$ac_lib_var=yes" |
7142 else | 7149 else |
7143 echo "configure: failed program was:" >&5 | 7150 echo "configure: failed program was:" >&5 |
7144 cat conftest.$ac_ext >&5 | 7151 cat conftest.$ac_ext >&5 |
7199 fi | 7206 fi |
7200 fi | 7207 fi |
7201 | 7208 |
7202 if test "$with_xfs" = "yes" ; then | 7209 if test "$with_xfs" = "yes" ; then |
7203 echo "checking for XFontSet" 1>&6 | 7210 echo "checking for XFontSet" 1>&6 |
7204 echo "configure:7205: checking for XFontSet" >&5 | 7211 echo "configure:7212: checking for XFontSet" >&5 |
7205 | 7212 |
7206 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7213 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7207 echo "configure:7208: checking for XmbDrawString in -lX11" >&5 | 7214 echo "configure:7215: checking for XmbDrawString in -lX11" >&5 |
7208 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7215 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7209 | 7216 |
7210 xe_check_libs=" -lX11 " | 7217 xe_check_libs=" -lX11 " |
7211 cat > conftest.$ac_ext <<EOF | 7218 cat > conftest.$ac_ext <<EOF |
7212 #line 7213 "configure" | 7219 #line 7220 "configure" |
7213 #include "confdefs.h" | 7220 #include "confdefs.h" |
7214 /* Override any gcc2 internal prototype to avoid an error. */ | 7221 /* Override any gcc2 internal prototype to avoid an error. */ |
7215 /* We use char because int might match the return type of a gcc2 | 7222 /* We use char because int might match the return type of a gcc2 |
7216 builtin and then its argument prototype would still apply. */ | 7223 builtin and then its argument prototype would still apply. */ |
7217 char XmbDrawString(); | 7224 char XmbDrawString(); |
7218 | 7225 |
7219 int main() { | 7226 int main() { |
7220 XmbDrawString() | 7227 XmbDrawString() |
7221 ; return 0; } | 7228 ; return 0; } |
7222 EOF | 7229 EOF |
7223 if { (eval echo configure:7224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7230 if { (eval echo configure:7231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7224 rm -rf conftest* | 7231 rm -rf conftest* |
7225 eval "ac_cv_lib_$ac_lib_var=yes" | 7232 eval "ac_cv_lib_$ac_lib_var=yes" |
7226 else | 7233 else |
7227 echo "configure: failed program was:" >&5 | 7234 echo "configure: failed program was:" >&5 |
7228 cat conftest.$ac_ext >&5 | 7235 cat conftest.$ac_ext >&5 |
7258 fi | 7265 fi |
7259 fi | 7266 fi |
7260 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7267 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7261 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7268 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7262 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7269 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7263 echo "configure:7264: checking for wnn/jllib.h" >&5 | 7270 echo "configure:7271: checking for wnn/jllib.h" >&5 |
7264 | 7271 |
7265 cat > conftest.$ac_ext <<EOF | 7272 cat > conftest.$ac_ext <<EOF |
7266 #line 7267 "configure" | 7273 #line 7274 "configure" |
7267 #include "confdefs.h" | 7274 #include "confdefs.h" |
7268 #include <wnn/jllib.h> | 7275 #include <wnn/jllib.h> |
7269 EOF | 7276 EOF |
7270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7271 { (eval echo configure:7272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7278 { (eval echo configure:7279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7272 ac_err=`grep -v '^ *+' conftest.out` | 7279 ac_err=`grep -v '^ *+' conftest.out` |
7273 if test -z "$ac_err"; then | 7280 if test -z "$ac_err"; then |
7274 rm -rf conftest* | 7281 rm -rf conftest* |
7275 eval "ac_cv_header_$ac_safe=yes" | 7282 eval "ac_cv_header_$ac_safe=yes" |
7276 else | 7283 else |
7291 } | 7298 } |
7292 if test "$with_wnn" != "no"; then | 7299 if test "$with_wnn" != "no"; then |
7293 for ac_func in crypt | 7300 for ac_func in crypt |
7294 do | 7301 do |
7295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7296 echo "configure:7297: checking for $ac_func" >&5 | 7303 echo "configure:7304: checking for $ac_func" >&5 |
7297 | 7304 |
7298 cat > conftest.$ac_ext <<EOF | 7305 cat > conftest.$ac_ext <<EOF |
7299 #line 7300 "configure" | 7306 #line 7307 "configure" |
7300 #include "confdefs.h" | 7307 #include "confdefs.h" |
7301 /* System header to define __stub macros and hopefully few prototypes, | 7308 /* System header to define __stub macros and hopefully few prototypes, |
7302 which can conflict with char $ac_func(); below. */ | 7309 which can conflict with char $ac_func(); below. */ |
7303 #include <assert.h> | 7310 #include <assert.h> |
7304 /* Override any gcc2 internal prototype to avoid an error. */ | 7311 /* Override any gcc2 internal prototype to avoid an error. */ |
7317 $ac_func(); | 7324 $ac_func(); |
7318 #endif | 7325 #endif |
7319 | 7326 |
7320 ; return 0; } | 7327 ; return 0; } |
7321 EOF | 7328 EOF |
7322 if { (eval echo configure:7323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7329 if { (eval echo configure:7330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7323 rm -rf conftest* | 7330 rm -rf conftest* |
7324 eval "ac_cv_func_$ac_func=yes" | 7331 eval "ac_cv_func_$ac_func=yes" |
7325 else | 7332 else |
7326 echo "configure: failed program was:" >&5 | 7333 echo "configure: failed program was:" >&5 |
7327 cat conftest.$ac_ext >&5 | 7334 cat conftest.$ac_ext >&5 |
7346 fi | 7353 fi |
7347 done | 7354 done |
7348 | 7355 |
7349 test "$ac_cv_func_crypt" != "yes" && { | 7356 test "$ac_cv_func_crypt" != "yes" && { |
7350 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7357 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7351 echo "configure:7352: checking for crypt in -lcrypt" >&5 | 7358 echo "configure:7359: checking for crypt in -lcrypt" >&5 |
7352 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7359 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7353 | 7360 |
7354 xe_check_libs=" -lcrypt " | 7361 xe_check_libs=" -lcrypt " |
7355 cat > conftest.$ac_ext <<EOF | 7362 cat > conftest.$ac_ext <<EOF |
7356 #line 7357 "configure" | 7363 #line 7364 "configure" |
7357 #include "confdefs.h" | 7364 #include "confdefs.h" |
7358 /* Override any gcc2 internal prototype to avoid an error. */ | 7365 /* Override any gcc2 internal prototype to avoid an error. */ |
7359 /* We use char because int might match the return type of a gcc2 | 7366 /* We use char because int might match the return type of a gcc2 |
7360 builtin and then its argument prototype would still apply. */ | 7367 builtin and then its argument prototype would still apply. */ |
7361 char crypt(); | 7368 char crypt(); |
7362 | 7369 |
7363 int main() { | 7370 int main() { |
7364 crypt() | 7371 crypt() |
7365 ; return 0; } | 7372 ; return 0; } |
7366 EOF | 7373 EOF |
7367 if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7368 rm -rf conftest* | 7375 rm -rf conftest* |
7369 eval "ac_cv_lib_$ac_lib_var=yes" | 7376 eval "ac_cv_lib_$ac_lib_var=yes" |
7370 else | 7377 else |
7371 echo "configure: failed program was:" >&5 | 7378 echo "configure: failed program was:" >&5 |
7372 cat conftest.$ac_ext >&5 | 7379 cat conftest.$ac_ext >&5 |
7396 | 7403 |
7397 } | 7404 } |
7398 fi | 7405 fi |
7399 test -z "$with_wnn" && { | 7406 test -z "$with_wnn" && { |
7400 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7407 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7401 echo "configure:7402: checking for jl_dic_list_e in -lwnn" >&5 | 7408 echo "configure:7409: checking for jl_dic_list_e in -lwnn" >&5 |
7402 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7409 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7403 | 7410 |
7404 xe_check_libs=" -lwnn " | 7411 xe_check_libs=" -lwnn " |
7405 cat > conftest.$ac_ext <<EOF | 7412 cat > conftest.$ac_ext <<EOF |
7406 #line 7407 "configure" | 7413 #line 7414 "configure" |
7407 #include "confdefs.h" | 7414 #include "confdefs.h" |
7408 /* Override any gcc2 internal prototype to avoid an error. */ | 7415 /* Override any gcc2 internal prototype to avoid an error. */ |
7409 /* We use char because int might match the return type of a gcc2 | 7416 /* We use char because int might match the return type of a gcc2 |
7410 builtin and then its argument prototype would still apply. */ | 7417 builtin and then its argument prototype would still apply. */ |
7411 char jl_dic_list_e(); | 7418 char jl_dic_list_e(); |
7412 | 7419 |
7413 int main() { | 7420 int main() { |
7414 jl_dic_list_e() | 7421 jl_dic_list_e() |
7415 ; return 0; } | 7422 ; return 0; } |
7416 EOF | 7423 EOF |
7417 if { (eval echo configure:7418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7424 if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7418 rm -rf conftest* | 7425 rm -rf conftest* |
7419 eval "ac_cv_lib_$ac_lib_var=yes" | 7426 eval "ac_cv_lib_$ac_lib_var=yes" |
7420 else | 7427 else |
7421 echo "configure: failed program was:" >&5 | 7428 echo "configure: failed program was:" >&5 |
7422 cat conftest.$ac_ext >&5 | 7429 cat conftest.$ac_ext >&5 |
7449 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7456 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7450 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7457 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7451 fi | 7458 fi |
7452 | 7459 |
7453 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7460 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7454 echo "configure:7455: checking for jl_fi_dic_list in -lwnn" >&5 | 7461 echo "configure:7462: checking for jl_fi_dic_list in -lwnn" >&5 |
7455 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7462 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7456 | 7463 |
7457 xe_check_libs=" -lwnn " | 7464 xe_check_libs=" -lwnn " |
7458 cat > conftest.$ac_ext <<EOF | 7465 cat > conftest.$ac_ext <<EOF |
7459 #line 7460 "configure" | 7466 #line 7467 "configure" |
7460 #include "confdefs.h" | 7467 #include "confdefs.h" |
7461 /* Override any gcc2 internal prototype to avoid an error. */ | 7468 /* Override any gcc2 internal prototype to avoid an error. */ |
7462 /* We use char because int might match the return type of a gcc2 | 7469 /* We use char because int might match the return type of a gcc2 |
7463 builtin and then its argument prototype would still apply. */ | 7470 builtin and then its argument prototype would still apply. */ |
7464 char jl_fi_dic_list(); | 7471 char jl_fi_dic_list(); |
7465 | 7472 |
7466 int main() { | 7473 int main() { |
7467 jl_fi_dic_list() | 7474 jl_fi_dic_list() |
7468 ; return 0; } | 7475 ; return 0; } |
7469 EOF | 7476 EOF |
7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7477 if { (eval echo configure:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7471 rm -rf conftest* | 7478 rm -rf conftest* |
7472 eval "ac_cv_lib_$ac_lib_var=yes" | 7479 eval "ac_cv_lib_$ac_lib_var=yes" |
7473 else | 7480 else |
7474 echo "configure: failed program was:" >&5 | 7481 echo "configure: failed program was:" >&5 |
7475 cat conftest.$ac_ext >&5 | 7482 cat conftest.$ac_ext >&5 |
7495 EOF | 7502 EOF |
7496 } | 7503 } |
7497 | 7504 |
7498 fi | 7505 fi |
7499 | 7506 |
7500 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7507 canna_includes_found=no |
7508 if test "$with_canna" != "no"; then | |
7509 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | |
7510 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | |
7511 echo "configure:7512: checking for canna/jrkanji.h" >&5 | |
7512 | |
7513 cat > conftest.$ac_ext <<EOF | |
7514 #line 7515 "configure" | |
7515 #include "confdefs.h" | |
7516 #include <canna/jrkanji.h> | |
7517 EOF | |
7518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7519 { (eval echo configure:7520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7520 ac_err=`grep -v '^ *+' conftest.out` | |
7521 if test -z "$ac_err"; then | |
7522 rm -rf conftest* | |
7523 eval "ac_cv_header_$ac_safe=yes" | |
7524 else | |
7525 echo "$ac_err" >&5 | |
7526 echo "configure: failed program was:" >&5 | |
7527 cat conftest.$ac_ext >&5 | |
7528 rm -rf conftest* | |
7529 eval "ac_cv_header_$ac_safe=no" | |
7530 fi | |
7531 rm -f conftest* | |
7532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7533 echo "$ac_t""yes" 1>&6 | |
7534 canna_includes_found=yes | |
7535 else | |
7536 echo "$ac_t""no" 1>&6 | |
7537 fi | |
7538 | |
7539 fi | |
7540 if test "$canna_includes_found" = "no" -a "$with_canna" != "no" -a \ | |
7541 -d "/usr/local/canna/include"; then | |
7542 save_c_switch_site="$c_switch_site" | |
7543 c_switch_site="$c_switch_site -I/usr/local/canna/include" | |
7544 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | |
7545 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | |
7546 echo "configure:7547: checking for canna/jrkanji.h" >&5 | |
7547 | |
7548 cat > conftest.$ac_ext <<EOF | |
7549 #line 7550 "configure" | |
7550 #include "confdefs.h" | |
7551 #include <canna/jrkanji.h> | |
7552 EOF | |
7553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7554 { (eval echo configure:7555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7555 ac_err=`grep -v '^ *+' conftest.out` | |
7556 if test -z "$ac_err"; then | |
7557 rm -rf conftest* | |
7558 eval "ac_cv_header_$ac_safe=yes" | |
7559 else | |
7560 echo "$ac_err" >&5 | |
7561 echo "configure: failed program was:" >&5 | |
7562 cat conftest.$ac_ext >&5 | |
7563 rm -rf conftest* | |
7564 eval "ac_cv_header_$ac_safe=no" | |
7565 fi | |
7566 rm -f conftest* | |
7567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7568 echo "$ac_t""yes" 1>&6 | |
7569 canna_includes_found=yes | |
7570 else | |
7571 echo "$ac_t""no" 1>&6 | |
7572 fi | |
7573 | |
7574 if test "$canna_includes_found" != "yes"; then | |
7575 c_switch_site="$save_c_switch_site" | |
7576 with_canna="no" | |
7577 fi | |
7578 fi | |
7579 | |
7580 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | |
7501 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7581 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7502 echo "configure:7503: checking for canna/RK.h" >&5 | 7582 echo "configure:7583: checking for canna/RK.h" >&5 |
7503 | 7583 |
7504 cat > conftest.$ac_ext <<EOF | 7584 cat > conftest.$ac_ext <<EOF |
7505 #line 7506 "configure" | 7585 #line 7586 "configure" |
7506 #include "confdefs.h" | 7586 #include "confdefs.h" |
7507 #include <canna/RK.h> | 7587 #include <canna/RK.h> |
7508 EOF | 7588 EOF |
7509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7510 { (eval echo configure:7511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7590 { (eval echo configure:7591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7511 ac_err=`grep -v '^ *+' conftest.out` | 7591 ac_err=`grep -v '^ *+' conftest.out` |
7512 if test -z "$ac_err"; then | 7592 if test -z "$ac_err"; then |
7513 rm -rf conftest* | 7593 rm -rf conftest* |
7514 eval "ac_cv_header_$ac_safe=yes" | 7594 eval "ac_cv_header_$ac_safe=yes" |
7515 else | 7595 else |
7528 with_canna=no | 7608 with_canna=no |
7529 fi | 7609 fi |
7530 } | 7610 } |
7531 test -z "$with_canna" && { | 7611 test -z "$with_canna" && { |
7532 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7612 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7533 echo "configure:7534: checking for RkBgnBun in -lRKC" >&5 | 7613 echo "configure:7614: checking for RkBgnBun in -lRKC" >&5 |
7534 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7614 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7535 | 7615 |
7536 xe_check_libs=" -lRKC " | 7616 xe_check_libs=" -lRKC " |
7537 cat > conftest.$ac_ext <<EOF | 7617 cat > conftest.$ac_ext <<EOF |
7538 #line 7539 "configure" | 7618 #line 7619 "configure" |
7539 #include "confdefs.h" | 7619 #include "confdefs.h" |
7540 /* Override any gcc2 internal prototype to avoid an error. */ | 7620 /* Override any gcc2 internal prototype to avoid an error. */ |
7541 /* We use char because int might match the return type of a gcc2 | 7621 /* We use char because int might match the return type of a gcc2 |
7542 builtin and then its argument prototype would still apply. */ | 7622 builtin and then its argument prototype would still apply. */ |
7543 char RkBgnBun(); | 7623 char RkBgnBun(); |
7544 | 7624 |
7545 int main() { | 7625 int main() { |
7546 RkBgnBun() | 7626 RkBgnBun() |
7547 ; return 0; } | 7627 ; return 0; } |
7548 EOF | 7628 EOF |
7549 if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7629 if { (eval echo configure:7630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7550 rm -rf conftest* | 7630 rm -rf conftest* |
7551 eval "ac_cv_lib_$ac_lib_var=yes" | 7631 eval "ac_cv_lib_$ac_lib_var=yes" |
7552 else | 7632 else |
7553 echo "configure: failed program was:" >&5 | 7633 echo "configure: failed program was:" >&5 |
7554 cat conftest.$ac_ext >&5 | 7634 cat conftest.$ac_ext >&5 |
7567 fi | 7647 fi |
7568 | 7648 |
7569 } | 7649 } |
7570 test -z "$with_canna" && { | 7650 test -z "$with_canna" && { |
7571 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7651 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7572 echo "configure:7573: checking for jrKanjiControl in -lcanna" >&5 | 7652 echo "configure:7653: checking for jrKanjiControl in -lcanna" >&5 |
7573 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7653 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7574 | 7654 |
7575 xe_check_libs=" -lcanna " | 7655 xe_check_libs=" -lcanna " |
7576 cat > conftest.$ac_ext <<EOF | 7656 cat > conftest.$ac_ext <<EOF |
7577 #line 7578 "configure" | 7657 #line 7658 "configure" |
7578 #include "confdefs.h" | 7658 #include "confdefs.h" |
7579 /* Override any gcc2 internal prototype to avoid an error. */ | 7659 /* Override any gcc2 internal prototype to avoid an error. */ |
7580 /* We use char because int might match the return type of a gcc2 | 7660 /* We use char because int might match the return type of a gcc2 |
7581 builtin and then its argument prototype would still apply. */ | 7661 builtin and then its argument prototype would still apply. */ |
7582 char jrKanjiControl(); | 7662 char jrKanjiControl(); |
7583 | 7663 |
7584 int main() { | 7664 int main() { |
7585 jrKanjiControl() | 7665 jrKanjiControl() |
7586 ; return 0; } | 7666 ; return 0; } |
7587 EOF | 7667 EOF |
7588 if { (eval echo configure:7589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7668 if { (eval echo configure:7669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7589 rm -rf conftest* | 7669 rm -rf conftest* |
7590 eval "ac_cv_lib_$ac_lib_var=yes" | 7670 eval "ac_cv_lib_$ac_lib_var=yes" |
7591 else | 7671 else |
7592 echo "configure: failed program was:" >&5 | 7672 echo "configure: failed program was:" >&5 |
7593 cat conftest.$ac_ext >&5 | 7673 cat conftest.$ac_ext >&5 |
7632 | 7712 |
7633 if test "$need_motif" = "yes" ; then | 7713 if test "$need_motif" = "yes" ; then |
7634 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7714 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
7635 | 7715 |
7636 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7716 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
7637 echo "configure:7638: checking for layout_object_getvalue in -li18n" >&5 | 7717 echo "configure:7718: checking for layout_object_getvalue in -li18n" >&5 |
7638 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7718 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
7639 | 7719 |
7640 xe_check_libs=" -li18n " | 7720 xe_check_libs=" -li18n " |
7641 cat > conftest.$ac_ext <<EOF | 7721 cat > conftest.$ac_ext <<EOF |
7642 #line 7643 "configure" | 7722 #line 7723 "configure" |
7643 #include "confdefs.h" | 7723 #include "confdefs.h" |
7644 /* Override any gcc2 internal prototype to avoid an error. */ | 7724 /* Override any gcc2 internal prototype to avoid an error. */ |
7645 /* We use char because int might match the return type of a gcc2 | 7725 /* We use char because int might match the return type of a gcc2 |
7646 builtin and then its argument prototype would still apply. */ | 7726 builtin and then its argument prototype would still apply. */ |
7647 char layout_object_getvalue(); | 7727 char layout_object_getvalue(); |
7648 | 7728 |
7649 int main() { | 7729 int main() { |
7650 layout_object_getvalue() | 7730 layout_object_getvalue() |
7651 ; return 0; } | 7731 ; return 0; } |
7652 EOF | 7732 EOF |
7653 if { (eval echo configure:7654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7654 rm -rf conftest* | 7734 rm -rf conftest* |
7655 eval "ac_cv_lib_$ac_lib_var=yes" | 7735 eval "ac_cv_lib_$ac_lib_var=yes" |
7656 else | 7736 else |
7657 echo "configure: failed program was:" >&5 | 7737 echo "configure: failed program was:" >&5 |
7658 cat conftest.$ac_ext >&5 | 7738 cat conftest.$ac_ext >&5 |
7721 fi | 7801 fi |
7722 | 7802 |
7723 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 snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 7803 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 snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
7724 do | 7804 do |
7725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7726 echo "configure:7727: checking for $ac_func" >&5 | 7806 echo "configure:7807: checking for $ac_func" >&5 |
7727 | 7807 |
7728 cat > conftest.$ac_ext <<EOF | 7808 cat > conftest.$ac_ext <<EOF |
7729 #line 7730 "configure" | 7809 #line 7810 "configure" |
7730 #include "confdefs.h" | 7810 #include "confdefs.h" |
7731 /* System header to define __stub macros and hopefully few prototypes, | 7811 /* System header to define __stub macros and hopefully few prototypes, |
7732 which can conflict with char $ac_func(); below. */ | 7812 which can conflict with char $ac_func(); below. */ |
7733 #include <assert.h> | 7813 #include <assert.h> |
7734 /* Override any gcc2 internal prototype to avoid an error. */ | 7814 /* Override any gcc2 internal prototype to avoid an error. */ |
7747 $ac_func(); | 7827 $ac_func(); |
7748 #endif | 7828 #endif |
7749 | 7829 |
7750 ; return 0; } | 7830 ; return 0; } |
7751 EOF | 7831 EOF |
7752 if { (eval echo configure:7753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7753 rm -rf conftest* | 7833 rm -rf conftest* |
7754 eval "ac_cv_func_$ac_func=yes" | 7834 eval "ac_cv_func_$ac_func=yes" |
7755 else | 7835 else |
7756 echo "configure: failed program was:" >&5 | 7836 echo "configure: failed program was:" >&5 |
7757 cat conftest.$ac_ext >&5 | 7837 cat conftest.$ac_ext >&5 |
7784 fi ;; | 7864 fi ;; |
7785 * ) | 7865 * ) |
7786 for ac_func in realpath | 7866 for ac_func in realpath |
7787 do | 7867 do |
7788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7789 echo "configure:7790: checking for $ac_func" >&5 | 7869 echo "configure:7870: checking for $ac_func" >&5 |
7790 | 7870 |
7791 cat > conftest.$ac_ext <<EOF | 7871 cat > conftest.$ac_ext <<EOF |
7792 #line 7793 "configure" | 7872 #line 7873 "configure" |
7793 #include "confdefs.h" | 7873 #include "confdefs.h" |
7794 /* System header to define __stub macros and hopefully few prototypes, | 7874 /* System header to define __stub macros and hopefully few prototypes, |
7795 which can conflict with char $ac_func(); below. */ | 7875 which can conflict with char $ac_func(); below. */ |
7796 #include <assert.h> | 7876 #include <assert.h> |
7797 /* Override any gcc2 internal prototype to avoid an error. */ | 7877 /* Override any gcc2 internal prototype to avoid an error. */ |
7810 $ac_func(); | 7890 $ac_func(); |
7811 #endif | 7891 #endif |
7812 | 7892 |
7813 ; return 0; } | 7893 ; return 0; } |
7814 EOF | 7894 EOF |
7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7895 if { (eval echo configure:7896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7816 rm -rf conftest* | 7896 rm -rf conftest* |
7817 eval "ac_cv_func_$ac_func=yes" | 7897 eval "ac_cv_func_$ac_func=yes" |
7818 else | 7898 else |
7819 echo "configure: failed program was:" >&5 | 7899 echo "configure: failed program was:" >&5 |
7820 cat conftest.$ac_ext >&5 | 7900 cat conftest.$ac_ext >&5 |
7843 echo " xemacs will be linked with \"realpath.o\"" | 7923 echo " xemacs will be linked with \"realpath.o\"" |
7844 fi ;; | 7924 fi ;; |
7845 esac | 7925 esac |
7846 | 7926 |
7847 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7927 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7848 echo "configure:7849: checking whether netdb declares h_errno" >&5 | 7928 echo "configure:7929: checking whether netdb declares h_errno" >&5 |
7849 cat > conftest.$ac_ext <<EOF | 7929 cat > conftest.$ac_ext <<EOF |
7850 #line 7851 "configure" | 7930 #line 7931 "configure" |
7851 #include "confdefs.h" | 7931 #include "confdefs.h" |
7852 #include <netdb.h> | 7932 #include <netdb.h> |
7853 int main() { | 7933 int main() { |
7854 return h_errno; | 7934 return h_errno; |
7855 ; return 0; } | 7935 ; return 0; } |
7856 EOF | 7936 EOF |
7857 if { (eval echo configure:7858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7858 rm -rf conftest* | 7938 rm -rf conftest* |
7859 echo "$ac_t""yes" 1>&6 | 7939 echo "$ac_t""yes" 1>&6 |
7860 { test "$extra_verbose" = "yes" && cat << \EOF | 7940 { test "$extra_verbose" = "yes" && cat << \EOF |
7861 Defining HAVE_H_ERRNO | 7941 Defining HAVE_H_ERRNO |
7862 EOF | 7942 EOF |
7872 echo "$ac_t""no" 1>&6 | 7952 echo "$ac_t""no" 1>&6 |
7873 fi | 7953 fi |
7874 rm -f conftest* | 7954 rm -f conftest* |
7875 | 7955 |
7876 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7956 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7877 echo "configure:7878: checking for sigsetjmp" >&5 | 7957 echo "configure:7958: checking for sigsetjmp" >&5 |
7878 cat > conftest.$ac_ext <<EOF | 7958 cat > conftest.$ac_ext <<EOF |
7879 #line 7880 "configure" | 7959 #line 7960 "configure" |
7880 #include "confdefs.h" | 7960 #include "confdefs.h" |
7881 #include <setjmp.h> | 7961 #include <setjmp.h> |
7882 int main() { | 7962 int main() { |
7883 sigjmp_buf bar; sigsetjmp (bar, 0); | 7963 sigjmp_buf bar; sigsetjmp (bar, 0); |
7884 ; return 0; } | 7964 ; return 0; } |
7885 EOF | 7965 EOF |
7886 if { (eval echo configure:7887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7966 if { (eval echo configure:7967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7887 rm -rf conftest* | 7967 rm -rf conftest* |
7888 echo "$ac_t""yes" 1>&6 | 7968 echo "$ac_t""yes" 1>&6 |
7889 { test "$extra_verbose" = "yes" && cat << \EOF | 7969 { test "$extra_verbose" = "yes" && cat << \EOF |
7890 Defining HAVE_SIGSETJMP | 7970 Defining HAVE_SIGSETJMP |
7891 EOF | 7971 EOF |
7901 echo "$ac_t""no" 1>&6 | 7981 echo "$ac_t""no" 1>&6 |
7902 fi | 7982 fi |
7903 rm -f conftest* | 7983 rm -f conftest* |
7904 | 7984 |
7905 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7985 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7906 echo "configure:7907: checking whether localtime caches TZ" >&5 | 7986 echo "configure:7987: checking whether localtime caches TZ" >&5 |
7907 | 7987 |
7908 if test "$ac_cv_func_tzset" = "yes"; then | 7988 if test "$ac_cv_func_tzset" = "yes"; then |
7909 cat > conftest.$ac_ext <<EOF | 7989 cat > conftest.$ac_ext <<EOF |
7910 #line 7911 "configure" | 7990 #line 7991 "configure" |
7911 #include "confdefs.h" | 7991 #include "confdefs.h" |
7912 #include <time.h> | 7992 #include <time.h> |
7913 #if STDC_HEADERS | 7993 #if STDC_HEADERS |
7914 # include <stdlib.h> | 7994 # include <stdlib.h> |
7915 #endif | 7995 #endif |
7940 if (localtime (&now)->tm_hour != hour_unset) | 8020 if (localtime (&now)->tm_hour != hour_unset) |
7941 exit (1); | 8021 exit (1); |
7942 exit (0); | 8022 exit (0); |
7943 } | 8023 } |
7944 EOF | 8024 EOF |
7945 if { (eval echo configure:7946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7946 then | 8026 then |
7947 emacs_cv_localtime_cache=no | 8027 emacs_cv_localtime_cache=no |
7948 else | 8028 else |
7949 echo "configure: failed program was:" >&5 | 8029 echo "configure: failed program was:" >&5 |
7950 cat conftest.$ac_ext >&5 | 8030 cat conftest.$ac_ext >&5 |
7969 | 8049 |
7970 fi | 8050 fi |
7971 | 8051 |
7972 if test "$HAVE_TIMEVAL" = "yes"; then | 8052 if test "$HAVE_TIMEVAL" = "yes"; then |
7973 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 8053 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7974 echo "configure:7975: checking whether gettimeofday cannot accept two arguments" >&5 | 8054 echo "configure:8055: checking whether gettimeofday cannot accept two arguments" >&5 |
7975 cat > conftest.$ac_ext <<EOF | 8055 cat > conftest.$ac_ext <<EOF |
7976 #line 7977 "configure" | 8056 #line 8057 "configure" |
7977 #include "confdefs.h" | 8057 #include "confdefs.h" |
7978 | 8058 |
7979 #ifdef TIME_WITH_SYS_TIME | 8059 #ifdef TIME_WITH_SYS_TIME |
7980 #include <sys/time.h> | 8060 #include <sys/time.h> |
7981 #include <time.h> | 8061 #include <time.h> |
7993 struct timezone dummy; | 8073 struct timezone dummy; |
7994 gettimeofday (&time, &dummy); | 8074 gettimeofday (&time, &dummy); |
7995 | 8075 |
7996 ; return 0; } | 8076 ; return 0; } |
7997 EOF | 8077 EOF |
7998 if { (eval echo configure:7999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8078 if { (eval echo configure:8079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7999 rm -rf conftest* | 8079 rm -rf conftest* |
8000 echo "$ac_t""no" 1>&6 | 8080 echo "$ac_t""no" 1>&6 |
8001 else | 8081 else |
8002 echo "configure: failed program was:" >&5 | 8082 echo "configure: failed program was:" >&5 |
8003 cat conftest.$ac_ext >&5 | 8083 cat conftest.$ac_ext >&5 |
8015 rm -f conftest* | 8095 rm -f conftest* |
8016 fi | 8096 fi |
8017 | 8097 |
8018 | 8098 |
8019 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8099 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8020 echo "configure:8021: checking for inline" >&5 | 8100 echo "configure:8101: checking for inline" >&5 |
8021 | 8101 |
8022 ac_cv_c_inline=no | 8102 ac_cv_c_inline=no |
8023 for ac_kw in inline __inline__ __inline; do | 8103 for ac_kw in inline __inline__ __inline; do |
8024 cat > conftest.$ac_ext <<EOF | 8104 cat > conftest.$ac_ext <<EOF |
8025 #line 8026 "configure" | 8105 #line 8106 "configure" |
8026 #include "confdefs.h" | 8106 #include "confdefs.h" |
8027 | 8107 |
8028 int main() { | 8108 int main() { |
8029 } $ac_kw foo() { | 8109 } $ac_kw foo() { |
8030 ; return 0; } | 8110 ; return 0; } |
8031 EOF | 8111 EOF |
8032 if { (eval echo configure:8033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8112 if { (eval echo configure:8113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8033 rm -rf conftest* | 8113 rm -rf conftest* |
8034 ac_cv_c_inline=$ac_kw; break | 8114 ac_cv_c_inline=$ac_kw; break |
8035 else | 8115 else |
8036 echo "configure: failed program was:" >&5 | 8116 echo "configure: failed program was:" >&5 |
8037 cat conftest.$ac_ext >&5 | 8117 cat conftest.$ac_ext >&5 |
8077 | 8157 |
8078 | 8158 |
8079 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8159 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8080 # for constant arguments. Useless! | 8160 # for constant arguments. Useless! |
8081 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8161 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8082 echo "configure:8083: checking for working alloca.h" >&5 | 8162 echo "configure:8163: checking for working alloca.h" >&5 |
8083 | 8163 |
8084 cat > conftest.$ac_ext <<EOF | 8164 cat > conftest.$ac_ext <<EOF |
8085 #line 8086 "configure" | 8165 #line 8166 "configure" |
8086 #include "confdefs.h" | 8166 #include "confdefs.h" |
8087 #include <alloca.h> | 8167 #include <alloca.h> |
8088 int main() { | 8168 int main() { |
8089 char *p = alloca(2 * sizeof(int)); | 8169 char *p = alloca(2 * sizeof(int)); |
8090 ; return 0; } | 8170 ; return 0; } |
8091 EOF | 8171 EOF |
8092 if { (eval echo configure:8093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8172 if { (eval echo configure:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8093 rm -rf conftest* | 8173 rm -rf conftest* |
8094 ac_cv_header_alloca_h=yes | 8174 ac_cv_header_alloca_h=yes |
8095 else | 8175 else |
8096 echo "configure: failed program was:" >&5 | 8176 echo "configure: failed program was:" >&5 |
8097 cat conftest.$ac_ext >&5 | 8177 cat conftest.$ac_ext >&5 |
8111 } | 8191 } |
8112 | 8192 |
8113 fi | 8193 fi |
8114 | 8194 |
8115 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8195 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8116 echo "configure:8117: checking for alloca" >&5 | 8196 echo "configure:8197: checking for alloca" >&5 |
8117 | 8197 |
8118 cat > conftest.$ac_ext <<EOF | 8198 cat > conftest.$ac_ext <<EOF |
8119 #line 8120 "configure" | 8199 #line 8200 "configure" |
8120 #include "confdefs.h" | 8200 #include "confdefs.h" |
8121 | 8201 |
8122 #ifdef __GNUC__ | 8202 #ifdef __GNUC__ |
8123 # define alloca __builtin_alloca | 8203 # define alloca __builtin_alloca |
8124 #else | 8204 #else |
8137 | 8217 |
8138 int main() { | 8218 int main() { |
8139 char *p = (char *) alloca(1); | 8219 char *p = (char *) alloca(1); |
8140 ; return 0; } | 8220 ; return 0; } |
8141 EOF | 8221 EOF |
8142 if { (eval echo configure:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8222 if { (eval echo configure:8223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8143 rm -rf conftest* | 8223 rm -rf conftest* |
8144 ac_cv_func_alloca_works=yes | 8224 ac_cv_func_alloca_works=yes |
8145 else | 8225 else |
8146 echo "configure: failed program was:" >&5 | 8226 echo "configure: failed program was:" >&5 |
8147 cat conftest.$ac_ext >&5 | 8227 cat conftest.$ac_ext >&5 |
8176 EOF | 8256 EOF |
8177 } | 8257 } |
8178 | 8258 |
8179 | 8259 |
8180 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8260 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8181 echo "configure:8182: checking whether alloca needs Cray hooks" >&5 | 8261 echo "configure:8262: checking whether alloca needs Cray hooks" >&5 |
8182 | 8262 |
8183 cat > conftest.$ac_ext <<EOF | 8263 cat > conftest.$ac_ext <<EOF |
8184 #line 8185 "configure" | 8264 #line 8265 "configure" |
8185 #include "confdefs.h" | 8265 #include "confdefs.h" |
8186 #if defined(CRAY) && ! defined(CRAY2) | 8266 #if defined(CRAY) && ! defined(CRAY2) |
8187 webecray | 8267 webecray |
8188 #else | 8268 #else |
8189 wenotbecray | 8269 wenotbecray |
8203 | 8283 |
8204 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8284 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8205 if test $ac_cv_os_cray = yes; then | 8285 if test $ac_cv_os_cray = yes; then |
8206 for ac_func in _getb67 GETB67 getb67; do | 8286 for ac_func in _getb67 GETB67 getb67; do |
8207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8208 echo "configure:8209: checking for $ac_func" >&5 | 8288 echo "configure:8289: checking for $ac_func" >&5 |
8209 | 8289 |
8210 cat > conftest.$ac_ext <<EOF | 8290 cat > conftest.$ac_ext <<EOF |
8211 #line 8212 "configure" | 8291 #line 8292 "configure" |
8212 #include "confdefs.h" | 8292 #include "confdefs.h" |
8213 /* System header to define __stub macros and hopefully few prototypes, | 8293 /* System header to define __stub macros and hopefully few prototypes, |
8214 which can conflict with char $ac_func(); below. */ | 8294 which can conflict with char $ac_func(); below. */ |
8215 #include <assert.h> | 8295 #include <assert.h> |
8216 /* Override any gcc2 internal prototype to avoid an error. */ | 8296 /* Override any gcc2 internal prototype to avoid an error. */ |
8229 $ac_func(); | 8309 $ac_func(); |
8230 #endif | 8310 #endif |
8231 | 8311 |
8232 ; return 0; } | 8312 ; return 0; } |
8233 EOF | 8313 EOF |
8234 if { (eval echo configure:8235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8314 if { (eval echo configure:8315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8235 rm -rf conftest* | 8315 rm -rf conftest* |
8236 eval "ac_cv_func_$ac_func=yes" | 8316 eval "ac_cv_func_$ac_func=yes" |
8237 else | 8317 else |
8238 echo "configure: failed program was:" >&5 | 8318 echo "configure: failed program was:" >&5 |
8239 cat conftest.$ac_ext >&5 | 8319 cat conftest.$ac_ext >&5 |
8259 | 8339 |
8260 done | 8340 done |
8261 fi | 8341 fi |
8262 | 8342 |
8263 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8343 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8264 echo "configure:8265: checking stack direction for C alloca" >&5 | 8344 echo "configure:8345: checking stack direction for C alloca" >&5 |
8265 | 8345 |
8266 cat > conftest.$ac_ext <<EOF | 8346 cat > conftest.$ac_ext <<EOF |
8267 #line 8268 "configure" | 8347 #line 8348 "configure" |
8268 #include "confdefs.h" | 8348 #include "confdefs.h" |
8269 find_stack_direction () | 8349 find_stack_direction () |
8270 { | 8350 { |
8271 static char *addr = 0; | 8351 static char *addr = 0; |
8272 auto char dummy; | 8352 auto char dummy; |
8281 main () | 8361 main () |
8282 { | 8362 { |
8283 exit (find_stack_direction() < 0); | 8363 exit (find_stack_direction() < 0); |
8284 } | 8364 } |
8285 EOF | 8365 EOF |
8286 if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8366 if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8287 then | 8367 then |
8288 ac_cv_c_stack_direction=1 | 8368 ac_cv_c_stack_direction=1 |
8289 else | 8369 else |
8290 echo "configure: failed program was:" >&5 | 8370 echo "configure: failed program was:" >&5 |
8291 cat conftest.$ac_ext >&5 | 8371 cat conftest.$ac_ext >&5 |
8309 echo " xemacs will be linked with \"$ALLOCA\"" | 8389 echo " xemacs will be linked with \"$ALLOCA\"" |
8310 fi | 8390 fi |
8311 | 8391 |
8312 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8392 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8313 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8393 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8314 echo "configure:8315: checking for vfork.h" >&5 | 8394 echo "configure:8395: checking for vfork.h" >&5 |
8315 | 8395 |
8316 cat > conftest.$ac_ext <<EOF | 8396 cat > conftest.$ac_ext <<EOF |
8317 #line 8318 "configure" | 8397 #line 8398 "configure" |
8318 #include "confdefs.h" | 8398 #include "confdefs.h" |
8319 #include <vfork.h> | 8399 #include <vfork.h> |
8320 EOF | 8400 EOF |
8321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8322 { (eval echo configure:8323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8402 { (eval echo configure:8403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8323 ac_err=`grep -v '^ *+' conftest.out` | 8403 ac_err=`grep -v '^ *+' conftest.out` |
8324 if test -z "$ac_err"; then | 8404 if test -z "$ac_err"; then |
8325 rm -rf conftest* | 8405 rm -rf conftest* |
8326 eval "ac_cv_header_$ac_safe=yes" | 8406 eval "ac_cv_header_$ac_safe=yes" |
8327 else | 8407 else |
8345 else | 8425 else |
8346 echo "$ac_t""no" 1>&6 | 8426 echo "$ac_t""no" 1>&6 |
8347 fi | 8427 fi |
8348 | 8428 |
8349 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8429 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8350 echo "configure:8351: checking for working vfork" >&5 | 8430 echo "configure:8431: checking for working vfork" >&5 |
8351 | 8431 |
8352 cat > conftest.$ac_ext <<EOF | 8432 cat > conftest.$ac_ext <<EOF |
8353 #line 8354 "configure" | 8433 #line 8434 "configure" |
8354 #include "confdefs.h" | 8434 #include "confdefs.h" |
8355 /* Thanks to Paul Eggert for this test. */ | 8435 /* Thanks to Paul Eggert for this test. */ |
8356 #include <stdio.h> | 8436 #include <stdio.h> |
8357 #include <sys/types.h> | 8437 #include <sys/types.h> |
8358 #include <sys/stat.h> | 8438 #include <sys/stat.h> |
8443 || fstat(fileno(stdout), &st) != 0 | 8523 || fstat(fileno(stdout), &st) != 0 |
8444 ); | 8524 ); |
8445 } | 8525 } |
8446 } | 8526 } |
8447 EOF | 8527 EOF |
8448 if { (eval echo configure:8449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8528 if { (eval echo configure:8529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8449 then | 8529 then |
8450 ac_cv_func_vfork_works=yes | 8530 ac_cv_func_vfork_works=yes |
8451 else | 8531 else |
8452 echo "configure: failed program was:" >&5 | 8532 echo "configure: failed program was:" >&5 |
8453 cat conftest.$ac_ext >&5 | 8533 cat conftest.$ac_ext >&5 |
8468 | 8548 |
8469 fi | 8549 fi |
8470 | 8550 |
8471 | 8551 |
8472 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8552 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8473 echo "configure:8474: checking for working strcoll" >&5 | 8553 echo "configure:8554: checking for working strcoll" >&5 |
8474 | 8554 |
8475 cat > conftest.$ac_ext <<EOF | 8555 cat > conftest.$ac_ext <<EOF |
8476 #line 8477 "configure" | 8556 #line 8557 "configure" |
8477 #include "confdefs.h" | 8557 #include "confdefs.h" |
8478 #include <string.h> | 8558 #include <string.h> |
8479 main () | 8559 main () |
8480 { | 8560 { |
8481 exit (strcoll ("abc", "def") >= 0 || | 8561 exit (strcoll ("abc", "def") >= 0 || |
8482 strcoll ("ABC", "DEF") >= 0 || | 8562 strcoll ("ABC", "DEF") >= 0 || |
8483 strcoll ("123", "456") >= 0); | 8563 strcoll ("123", "456") >= 0); |
8484 } | 8564 } |
8485 EOF | 8565 EOF |
8486 if { (eval echo configure:8487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8566 if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8487 then | 8567 then |
8488 ac_cv_func_strcoll_works=yes | 8568 ac_cv_func_strcoll_works=yes |
8489 else | 8569 else |
8490 echo "configure: failed program was:" >&5 | 8570 echo "configure: failed program was:" >&5 |
8491 cat conftest.$ac_ext >&5 | 8571 cat conftest.$ac_ext >&5 |
8508 | 8588 |
8509 | 8589 |
8510 for ac_func in getpgrp | 8590 for ac_func in getpgrp |
8511 do | 8591 do |
8512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8513 echo "configure:8514: checking for $ac_func" >&5 | 8593 echo "configure:8594: checking for $ac_func" >&5 |
8514 | 8594 |
8515 cat > conftest.$ac_ext <<EOF | 8595 cat > conftest.$ac_ext <<EOF |
8516 #line 8517 "configure" | 8596 #line 8597 "configure" |
8517 #include "confdefs.h" | 8597 #include "confdefs.h" |
8518 /* System header to define __stub macros and hopefully few prototypes, | 8598 /* System header to define __stub macros and hopefully few prototypes, |
8519 which can conflict with char $ac_func(); below. */ | 8599 which can conflict with char $ac_func(); below. */ |
8520 #include <assert.h> | 8600 #include <assert.h> |
8521 /* Override any gcc2 internal prototype to avoid an error. */ | 8601 /* Override any gcc2 internal prototype to avoid an error. */ |
8534 $ac_func(); | 8614 $ac_func(); |
8535 #endif | 8615 #endif |
8536 | 8616 |
8537 ; return 0; } | 8617 ; return 0; } |
8538 EOF | 8618 EOF |
8539 if { (eval echo configure:8540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8619 if { (eval echo configure:8620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8540 rm -rf conftest* | 8620 rm -rf conftest* |
8541 eval "ac_cv_func_$ac_func=yes" | 8621 eval "ac_cv_func_$ac_func=yes" |
8542 else | 8622 else |
8543 echo "configure: failed program was:" >&5 | 8623 echo "configure: failed program was:" >&5 |
8544 cat conftest.$ac_ext >&5 | 8624 cat conftest.$ac_ext >&5 |
8562 echo "$ac_t""no" 1>&6 | 8642 echo "$ac_t""no" 1>&6 |
8563 fi | 8643 fi |
8564 done | 8644 done |
8565 | 8645 |
8566 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8646 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8567 echo "configure:8568: checking whether getpgrp takes no argument" >&5 | 8647 echo "configure:8648: checking whether getpgrp takes no argument" >&5 |
8568 | 8648 |
8569 cat > conftest.$ac_ext <<EOF | 8649 cat > conftest.$ac_ext <<EOF |
8570 #line 8571 "configure" | 8650 #line 8651 "configure" |
8571 #include "confdefs.h" | 8651 #include "confdefs.h" |
8572 | 8652 |
8573 /* | 8653 /* |
8574 * If this system has a BSD-style getpgrp(), | 8654 * If this system has a BSD-style getpgrp(), |
8575 * which takes a pid argument, exit unsuccessfully. | 8655 * which takes a pid argument, exit unsuccessfully. |
8620 exit(s>>8); | 8700 exit(s>>8); |
8621 } | 8701 } |
8622 } | 8702 } |
8623 | 8703 |
8624 EOF | 8704 EOF |
8625 if { (eval echo configure:8626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8705 if { (eval echo configure:8706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8626 then | 8706 then |
8627 ac_cv_func_getpgrp_void=yes | 8707 ac_cv_func_getpgrp_void=yes |
8628 else | 8708 else |
8629 echo "configure: failed program was:" >&5 | 8709 echo "configure: failed program was:" >&5 |
8630 cat conftest.$ac_ext >&5 | 8710 cat conftest.$ac_ext >&5 |
8646 | 8726 |
8647 fi | 8727 fi |
8648 | 8728 |
8649 | 8729 |
8650 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8651 echo "configure:8652: checking for working mmap" >&5 | 8731 echo "configure:8732: checking for working mmap" >&5 |
8652 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8732 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8653 cat > conftest.$ac_ext <<EOF | 8733 cat > conftest.$ac_ext <<EOF |
8654 #line 8655 "configure" | 8734 #line 8735 "configure" |
8655 #include "confdefs.h" | 8735 #include "confdefs.h" |
8656 #include <stdio.h> | 8736 #include <stdio.h> |
8657 #include <unistd.h> | 8737 #include <unistd.h> |
8658 #include <fcntl.h> | 8738 #include <fcntl.h> |
8659 #include <sys/mman.h> | 8739 #include <sys/mman.h> |
8682 return 0; | 8762 return 0; |
8683 perror ("conftest: mmap failed"); | 8763 perror ("conftest: mmap failed"); |
8684 return 1; | 8764 return 1; |
8685 } | 8765 } |
8686 EOF | 8766 EOF |
8687 if { (eval echo configure:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8767 if { (eval echo configure:8768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8688 then | 8768 then |
8689 have_mmap=yes | 8769 have_mmap=yes |
8690 else | 8770 else |
8691 echo "configure: failed program was:" >&5 | 8771 echo "configure: failed program was:" >&5 |
8692 cat conftest.$ac_ext >&5 | 8772 cat conftest.$ac_ext >&5 |
8716 } | 8796 } |
8717 | 8797 |
8718 | 8798 |
8719 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8799 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8720 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8800 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8721 echo "configure:8722: checking for termios.h" >&5 | 8801 echo "configure:8802: checking for termios.h" >&5 |
8722 | 8802 |
8723 cat > conftest.$ac_ext <<EOF | 8803 cat > conftest.$ac_ext <<EOF |
8724 #line 8725 "configure" | 8804 #line 8805 "configure" |
8725 #include "confdefs.h" | 8805 #include "confdefs.h" |
8726 #include <termios.h> | 8806 #include <termios.h> |
8727 EOF | 8807 EOF |
8728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8729 { (eval echo configure:8730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8809 { (eval echo configure:8810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8730 ac_err=`grep -v '^ *+' conftest.out` | 8810 ac_err=`grep -v '^ *+' conftest.out` |
8731 if test -z "$ac_err"; then | 8811 if test -z "$ac_err"; then |
8732 rm -rf conftest* | 8812 rm -rf conftest* |
8733 eval "ac_cv_header_$ac_safe=yes" | 8813 eval "ac_cv_header_$ac_safe=yes" |
8734 else | 8814 else |
8767 | 8847 |
8768 else | 8848 else |
8769 echo "$ac_t""no" 1>&6 | 8849 echo "$ac_t""no" 1>&6 |
8770 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8850 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8771 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8851 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8772 echo "configure:8773: checking for termio.h" >&5 | 8852 echo "configure:8853: checking for termio.h" >&5 |
8773 | 8853 |
8774 cat > conftest.$ac_ext <<EOF | 8854 cat > conftest.$ac_ext <<EOF |
8775 #line 8776 "configure" | 8855 #line 8856 "configure" |
8776 #include "confdefs.h" | 8856 #include "confdefs.h" |
8777 #include <termio.h> | 8857 #include <termio.h> |
8778 EOF | 8858 EOF |
8779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8780 { (eval echo configure:8781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8860 { (eval echo configure:8861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8781 ac_err=`grep -v '^ *+' conftest.out` | 8861 ac_err=`grep -v '^ *+' conftest.out` |
8782 if test -z "$ac_err"; then | 8862 if test -z "$ac_err"; then |
8783 rm -rf conftest* | 8863 rm -rf conftest* |
8784 eval "ac_cv_header_$ac_safe=yes" | 8864 eval "ac_cv_header_$ac_safe=yes" |
8785 else | 8865 else |
8807 fi | 8887 fi |
8808 | 8888 |
8809 | 8889 |
8810 | 8890 |
8811 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8891 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8812 echo "configure:8813: checking for socket" >&5 | 8892 echo "configure:8893: checking for socket" >&5 |
8813 | 8893 |
8814 cat > conftest.$ac_ext <<EOF | 8894 cat > conftest.$ac_ext <<EOF |
8815 #line 8816 "configure" | 8895 #line 8896 "configure" |
8816 #include "confdefs.h" | 8896 #include "confdefs.h" |
8817 /* System header to define __stub macros and hopefully few prototypes, | 8897 /* System header to define __stub macros and hopefully few prototypes, |
8818 which can conflict with char socket(); below. */ | 8898 which can conflict with char socket(); below. */ |
8819 #include <assert.h> | 8899 #include <assert.h> |
8820 /* Override any gcc2 internal prototype to avoid an error. */ | 8900 /* Override any gcc2 internal prototype to avoid an error. */ |
8833 socket(); | 8913 socket(); |
8834 #endif | 8914 #endif |
8835 | 8915 |
8836 ; return 0; } | 8916 ; return 0; } |
8837 EOF | 8917 EOF |
8838 if { (eval echo configure:8839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8918 if { (eval echo configure:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8839 rm -rf conftest* | 8919 rm -rf conftest* |
8840 eval "ac_cv_func_socket=yes" | 8920 eval "ac_cv_func_socket=yes" |
8841 else | 8921 else |
8842 echo "configure: failed program was:" >&5 | 8922 echo "configure: failed program was:" >&5 |
8843 cat conftest.$ac_ext >&5 | 8923 cat conftest.$ac_ext >&5 |
8848 | 8928 |
8849 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8929 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8850 echo "$ac_t""yes" 1>&6 | 8930 echo "$ac_t""yes" 1>&6 |
8851 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8931 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8852 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8932 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8853 echo "configure:8854: checking for netinet/in.h" >&5 | 8933 echo "configure:8934: checking for netinet/in.h" >&5 |
8854 | 8934 |
8855 cat > conftest.$ac_ext <<EOF | 8935 cat > conftest.$ac_ext <<EOF |
8856 #line 8857 "configure" | 8936 #line 8937 "configure" |
8857 #include "confdefs.h" | 8937 #include "confdefs.h" |
8858 #include <netinet/in.h> | 8938 #include <netinet/in.h> |
8859 EOF | 8939 EOF |
8860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8940 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; } | 8941 { (eval echo configure:8942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8862 ac_err=`grep -v '^ *+' conftest.out` | 8942 ac_err=`grep -v '^ *+' conftest.out` |
8863 if test -z "$ac_err"; then | 8943 if test -z "$ac_err"; then |
8864 rm -rf conftest* | 8944 rm -rf conftest* |
8865 eval "ac_cv_header_$ac_safe=yes" | 8945 eval "ac_cv_header_$ac_safe=yes" |
8866 else | 8946 else |
8873 rm -f conftest* | 8953 rm -f conftest* |
8874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8954 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8875 echo "$ac_t""yes" 1>&6 | 8955 echo "$ac_t""yes" 1>&6 |
8876 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8956 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8877 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8957 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8878 echo "configure:8879: checking for arpa/inet.h" >&5 | 8958 echo "configure:8959: checking for arpa/inet.h" >&5 |
8879 | 8959 |
8880 cat > conftest.$ac_ext <<EOF | 8960 cat > conftest.$ac_ext <<EOF |
8881 #line 8882 "configure" | 8961 #line 8962 "configure" |
8882 #include "confdefs.h" | 8962 #include "confdefs.h" |
8883 #include <arpa/inet.h> | 8963 #include <arpa/inet.h> |
8884 EOF | 8964 EOF |
8885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8886 { (eval echo configure:8887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8966 { (eval echo configure:8967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8887 ac_err=`grep -v '^ *+' conftest.out` | 8967 ac_err=`grep -v '^ *+' conftest.out` |
8888 if test -z "$ac_err"; then | 8968 if test -z "$ac_err"; then |
8889 rm -rf conftest* | 8969 rm -rf conftest* |
8890 eval "ac_cv_header_$ac_safe=yes" | 8970 eval "ac_cv_header_$ac_safe=yes" |
8891 else | 8971 else |
8906 #define HAVE_SOCKETS 1 | 8986 #define HAVE_SOCKETS 1 |
8907 EOF | 8987 EOF |
8908 } | 8988 } |
8909 | 8989 |
8910 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8990 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8911 echo "configure:8912: checking "for sun_len member in struct sockaddr_un"" >&5 | 8991 echo "configure:8992: checking "for sun_len member in struct sockaddr_un"" >&5 |
8912 cat > conftest.$ac_ext <<EOF | 8992 cat > conftest.$ac_ext <<EOF |
8913 #line 8914 "configure" | 8993 #line 8994 "configure" |
8914 #include "confdefs.h" | 8994 #include "confdefs.h" |
8915 | 8995 |
8916 #include <sys/types.h> | 8996 #include <sys/types.h> |
8917 #include <sys/socket.h> | 8997 #include <sys/socket.h> |
8918 #include <sys/un.h> | 8998 #include <sys/un.h> |
8919 | 8999 |
8920 int main() { | 9000 int main() { |
8921 static struct sockaddr_un x; x.sun_len = 1; | 9001 static struct sockaddr_un x; x.sun_len = 1; |
8922 ; return 0; } | 9002 ; return 0; } |
8923 EOF | 9003 EOF |
8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9004 if { (eval echo configure:9005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8925 rm -rf conftest* | 9005 rm -rf conftest* |
8926 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9006 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8927 Defining HAVE_SOCKADDR_SUN_LEN | 9007 Defining HAVE_SOCKADDR_SUN_LEN |
8928 EOF | 9008 EOF |
8929 cat >> confdefs.h <<\EOF | 9009 cat >> confdefs.h <<\EOF |
8937 rm -rf conftest* | 9017 rm -rf conftest* |
8938 echo "$ac_t""no" 1>&6 | 9018 echo "$ac_t""no" 1>&6 |
8939 fi | 9019 fi |
8940 rm -f conftest* | 9020 rm -f conftest* |
8941 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9021 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
8942 echo "configure:8943: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9022 echo "configure:9023: checking "for ip_mreq struct in netinet/in.h"" >&5 |
8943 cat > conftest.$ac_ext <<EOF | 9023 cat > conftest.$ac_ext <<EOF |
8944 #line 8945 "configure" | 9024 #line 9025 "configure" |
8945 #include "confdefs.h" | 9025 #include "confdefs.h" |
8946 | 9026 |
8947 #include <netinet/in.h> | 9027 #include <netinet/in.h> |
8948 | 9028 |
8949 int main() { | 9029 int main() { |
8950 static struct ip_mreq x; | 9030 static struct ip_mreq x; |
8951 ; return 0; } | 9031 ; return 0; } |
8952 EOF | 9032 EOF |
8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9033 if { (eval echo configure:9034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8954 rm -rf conftest* | 9034 rm -rf conftest* |
8955 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9035 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8956 Defining HAVE_MULTICAST | 9036 Defining HAVE_MULTICAST |
8957 EOF | 9037 EOF |
8958 cat >> confdefs.h <<\EOF | 9038 cat >> confdefs.h <<\EOF |
8979 echo "$ac_t""no" 1>&6 | 9059 echo "$ac_t""no" 1>&6 |
8980 fi | 9060 fi |
8981 | 9061 |
8982 | 9062 |
8983 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9063 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8984 echo "configure:8985: checking for msgget" >&5 | 9064 echo "configure:9065: checking for msgget" >&5 |
8985 | 9065 |
8986 cat > conftest.$ac_ext <<EOF | 9066 cat > conftest.$ac_ext <<EOF |
8987 #line 8988 "configure" | 9067 #line 9068 "configure" |
8988 #include "confdefs.h" | 9068 #include "confdefs.h" |
8989 /* System header to define __stub macros and hopefully few prototypes, | 9069 /* System header to define __stub macros and hopefully few prototypes, |
8990 which can conflict with char msgget(); below. */ | 9070 which can conflict with char msgget(); below. */ |
8991 #include <assert.h> | 9071 #include <assert.h> |
8992 /* Override any gcc2 internal prototype to avoid an error. */ | 9072 /* Override any gcc2 internal prototype to avoid an error. */ |
9005 msgget(); | 9085 msgget(); |
9006 #endif | 9086 #endif |
9007 | 9087 |
9008 ; return 0; } | 9088 ; return 0; } |
9009 EOF | 9089 EOF |
9010 if { (eval echo configure:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9090 if { (eval echo configure:9091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9011 rm -rf conftest* | 9091 rm -rf conftest* |
9012 eval "ac_cv_func_msgget=yes" | 9092 eval "ac_cv_func_msgget=yes" |
9013 else | 9093 else |
9014 echo "configure: failed program was:" >&5 | 9094 echo "configure: failed program was:" >&5 |
9015 cat conftest.$ac_ext >&5 | 9095 cat conftest.$ac_ext >&5 |
9020 | 9100 |
9021 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9101 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9022 echo "$ac_t""yes" 1>&6 | 9102 echo "$ac_t""yes" 1>&6 |
9023 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9103 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9024 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9104 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9025 echo "configure:9026: checking for sys/ipc.h" >&5 | 9105 echo "configure:9106: checking for sys/ipc.h" >&5 |
9026 | 9106 |
9027 cat > conftest.$ac_ext <<EOF | 9107 cat > conftest.$ac_ext <<EOF |
9028 #line 9029 "configure" | 9108 #line 9109 "configure" |
9029 #include "confdefs.h" | 9109 #include "confdefs.h" |
9030 #include <sys/ipc.h> | 9110 #include <sys/ipc.h> |
9031 EOF | 9111 EOF |
9032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9033 { (eval echo configure:9034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9113 { (eval echo configure:9114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9034 ac_err=`grep -v '^ *+' conftest.out` | 9114 ac_err=`grep -v '^ *+' conftest.out` |
9035 if test -z "$ac_err"; then | 9115 if test -z "$ac_err"; then |
9036 rm -rf conftest* | 9116 rm -rf conftest* |
9037 eval "ac_cv_header_$ac_safe=yes" | 9117 eval "ac_cv_header_$ac_safe=yes" |
9038 else | 9118 else |
9045 rm -f conftest* | 9125 rm -f conftest* |
9046 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9126 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9047 echo "$ac_t""yes" 1>&6 | 9127 echo "$ac_t""yes" 1>&6 |
9048 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9128 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9049 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9129 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9050 echo "configure:9051: checking for sys/msg.h" >&5 | 9130 echo "configure:9131: checking for sys/msg.h" >&5 |
9051 | 9131 |
9052 cat > conftest.$ac_ext <<EOF | 9132 cat > conftest.$ac_ext <<EOF |
9053 #line 9054 "configure" | 9133 #line 9134 "configure" |
9054 #include "confdefs.h" | 9134 #include "confdefs.h" |
9055 #include <sys/msg.h> | 9135 #include <sys/msg.h> |
9056 EOF | 9136 EOF |
9057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9058 { (eval echo configure:9059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9138 { (eval echo configure:9139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9059 ac_err=`grep -v '^ *+' conftest.out` | 9139 ac_err=`grep -v '^ *+' conftest.out` |
9060 if test -z "$ac_err"; then | 9140 if test -z "$ac_err"; then |
9061 rm -rf conftest* | 9141 rm -rf conftest* |
9062 eval "ac_cv_header_$ac_safe=yes" | 9142 eval "ac_cv_header_$ac_safe=yes" |
9063 else | 9143 else |
9091 fi | 9171 fi |
9092 | 9172 |
9093 | 9173 |
9094 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9174 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9095 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9175 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9096 echo "configure:9097: checking for dirent.h" >&5 | 9176 echo "configure:9177: checking for dirent.h" >&5 |
9097 | 9177 |
9098 cat > conftest.$ac_ext <<EOF | 9178 cat > conftest.$ac_ext <<EOF |
9099 #line 9100 "configure" | 9179 #line 9180 "configure" |
9100 #include "confdefs.h" | 9180 #include "confdefs.h" |
9101 #include <dirent.h> | 9181 #include <dirent.h> |
9102 EOF | 9182 EOF |
9103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9104 { (eval echo configure:9105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9105 ac_err=`grep -v '^ *+' conftest.out` | 9185 ac_err=`grep -v '^ *+' conftest.out` |
9106 if test -z "$ac_err"; then | 9186 if test -z "$ac_err"; then |
9107 rm -rf conftest* | 9187 rm -rf conftest* |
9108 eval "ac_cv_header_$ac_safe=yes" | 9188 eval "ac_cv_header_$ac_safe=yes" |
9109 else | 9189 else |
9126 | 9206 |
9127 else | 9207 else |
9128 echo "$ac_t""no" 1>&6 | 9208 echo "$ac_t""no" 1>&6 |
9129 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9209 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9130 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9210 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9131 echo "configure:9132: checking for sys/dir.h" >&5 | 9211 echo "configure:9212: checking for sys/dir.h" >&5 |
9132 | 9212 |
9133 cat > conftest.$ac_ext <<EOF | 9213 cat > conftest.$ac_ext <<EOF |
9134 #line 9135 "configure" | 9214 #line 9215 "configure" |
9135 #include "confdefs.h" | 9215 #include "confdefs.h" |
9136 #include <sys/dir.h> | 9216 #include <sys/dir.h> |
9137 EOF | 9217 EOF |
9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9219 { (eval echo configure:9220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9140 ac_err=`grep -v '^ *+' conftest.out` | 9220 ac_err=`grep -v '^ *+' conftest.out` |
9141 if test -z "$ac_err"; then | 9221 if test -z "$ac_err"; then |
9142 rm -rf conftest* | 9222 rm -rf conftest* |
9143 eval "ac_cv_header_$ac_safe=yes" | 9223 eval "ac_cv_header_$ac_safe=yes" |
9144 else | 9224 else |
9167 fi | 9247 fi |
9168 | 9248 |
9169 | 9249 |
9170 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9250 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9171 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9251 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9172 echo "configure:9173: checking for nlist.h" >&5 | 9252 echo "configure:9253: checking for nlist.h" >&5 |
9173 | 9253 |
9174 cat > conftest.$ac_ext <<EOF | 9254 cat > conftest.$ac_ext <<EOF |
9175 #line 9176 "configure" | 9255 #line 9256 "configure" |
9176 #include "confdefs.h" | 9256 #include "confdefs.h" |
9177 #include <nlist.h> | 9257 #include <nlist.h> |
9178 EOF | 9258 EOF |
9179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9180 { (eval echo configure:9181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9181 ac_err=`grep -v '^ *+' conftest.out` | 9261 ac_err=`grep -v '^ *+' conftest.out` |
9182 if test -z "$ac_err"; then | 9262 if test -z "$ac_err"; then |
9183 rm -rf conftest* | 9263 rm -rf conftest* |
9184 eval "ac_cv_header_$ac_safe=yes" | 9264 eval "ac_cv_header_$ac_safe=yes" |
9185 else | 9265 else |
9205 fi | 9285 fi |
9206 | 9286 |
9207 | 9287 |
9208 | 9288 |
9209 echo "checking "for sound support"" 1>&6 | 9289 echo "checking "for sound support"" 1>&6 |
9210 echo "configure:9211: checking "for sound support"" >&5 | 9290 echo "configure:9291: checking "for sound support"" >&5 |
9211 case "$with_sound" in | 9291 case "$with_sound" in |
9212 native | both ) with_native_sound=yes;; | 9292 native | both ) with_native_sound=yes;; |
9213 nas | no ) with_native_sound=no;; | 9293 nas | no ) with_native_sound=no;; |
9214 esac | 9294 esac |
9215 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9295 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9216 | 9296 |
9217 if test "$with_native_sound" != "no"; then | 9297 if test "$with_native_sound" != "no"; then |
9218 if test -n "$native_sound_lib"; then | 9298 if test -n "$native_sound_lib"; then |
9219 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9299 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9220 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9300 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9221 echo "configure:9222: checking for multimedia/audio_device.h" >&5 | 9301 echo "configure:9302: checking for multimedia/audio_device.h" >&5 |
9222 | 9302 |
9223 cat > conftest.$ac_ext <<EOF | 9303 cat > conftest.$ac_ext <<EOF |
9224 #line 9225 "configure" | 9304 #line 9305 "configure" |
9225 #include "confdefs.h" | 9305 #include "confdefs.h" |
9226 #include <multimedia/audio_device.h> | 9306 #include <multimedia/audio_device.h> |
9227 EOF | 9307 EOF |
9228 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" |
9229 { (eval echo configure:9230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9309 { (eval echo configure:9310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9230 ac_err=`grep -v '^ *+' conftest.out` | 9310 ac_err=`grep -v '^ *+' conftest.out` |
9231 if test -z "$ac_err"; then | 9311 if test -z "$ac_err"; then |
9232 rm -rf conftest* | 9312 rm -rf conftest* |
9233 eval "ac_cv_header_$ac_safe=yes" | 9313 eval "ac_cv_header_$ac_safe=yes" |
9234 else | 9314 else |
9272 case "$canonical" in | 9352 case "$canonical" in |
9273 *-sgi-* ) | 9353 *-sgi-* ) |
9274 if test -z "$native_sound_lib"; then | 9354 if test -z "$native_sound_lib"; then |
9275 | 9355 |
9276 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9356 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9277 echo "configure:9278: checking for ALopenport in -laudio" >&5 | 9357 echo "configure:9358: checking for ALopenport in -laudio" >&5 |
9278 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9358 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9279 | 9359 |
9280 xe_check_libs=" -laudio " | 9360 xe_check_libs=" -laudio " |
9281 cat > conftest.$ac_ext <<EOF | 9361 cat > conftest.$ac_ext <<EOF |
9282 #line 9283 "configure" | 9362 #line 9363 "configure" |
9283 #include "confdefs.h" | 9363 #include "confdefs.h" |
9284 /* Override any gcc2 internal prototype to avoid an error. */ | 9364 /* Override any gcc2 internal prototype to avoid an error. */ |
9285 /* We use char because int might match the return type of a gcc2 | 9365 /* We use char because int might match the return type of a gcc2 |
9286 builtin and then its argument prototype would still apply. */ | 9366 builtin and then its argument prototype would still apply. */ |
9287 char ALopenport(); | 9367 char ALopenport(); |
9288 | 9368 |
9289 int main() { | 9369 int main() { |
9290 ALopenport() | 9370 ALopenport() |
9291 ; return 0; } | 9371 ; return 0; } |
9292 EOF | 9372 EOF |
9293 if { (eval echo configure:9294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9373 if { (eval echo configure:9374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9294 rm -rf conftest* | 9374 rm -rf conftest* |
9295 eval "ac_cv_lib_$ac_lib_var=yes" | 9375 eval "ac_cv_lib_$ac_lib_var=yes" |
9296 else | 9376 else |
9297 echo "configure: failed program was:" >&5 | 9377 echo "configure: failed program was:" >&5 |
9298 cat conftest.$ac_ext >&5 | 9378 cat conftest.$ac_ext >&5 |
9319 fi ;; | 9399 fi ;; |
9320 hppa*-hp-hpux* ) | 9400 hppa*-hp-hpux* ) |
9321 if test -z "$native_sound_lib"; then | 9401 if test -z "$native_sound_lib"; then |
9322 | 9402 |
9323 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9403 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9324 echo "configure:9325: checking for AOpenAudio in -lAlib" >&5 | 9404 echo "configure:9405: checking for AOpenAudio in -lAlib" >&5 |
9325 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9405 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9326 | 9406 |
9327 xe_check_libs=" -lAlib " | 9407 xe_check_libs=" -lAlib " |
9328 cat > conftest.$ac_ext <<EOF | 9408 cat > conftest.$ac_ext <<EOF |
9329 #line 9330 "configure" | 9409 #line 9410 "configure" |
9330 #include "confdefs.h" | 9410 #include "confdefs.h" |
9331 /* Override any gcc2 internal prototype to avoid an error. */ | 9411 /* Override any gcc2 internal prototype to avoid an error. */ |
9332 /* We use char because int might match the return type of a gcc2 | 9412 /* We use char because int might match the return type of a gcc2 |
9333 builtin and then its argument prototype would still apply. */ | 9413 builtin and then its argument prototype would still apply. */ |
9334 char AOpenAudio(); | 9414 char AOpenAudio(); |
9335 | 9415 |
9336 int main() { | 9416 int main() { |
9337 AOpenAudio() | 9417 AOpenAudio() |
9338 ; return 0; } | 9418 ; return 0; } |
9339 EOF | 9419 EOF |
9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9420 if { (eval echo configure:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9341 rm -rf conftest* | 9421 rm -rf conftest* |
9342 eval "ac_cv_lib_$ac_lib_var=yes" | 9422 eval "ac_cv_lib_$ac_lib_var=yes" |
9343 else | 9423 else |
9344 echo "configure: failed program was:" >&5 | 9424 echo "configure: failed program was:" >&5 |
9345 cat conftest.$ac_ext >&5 | 9425 cat conftest.$ac_ext >&5 |
9373 | 9453 |
9374 if test -z "$sound_found"; then | 9454 if test -z "$sound_found"; then |
9375 for dir in "machine" "sys" "linux"; do | 9455 for dir in "machine" "sys" "linux"; do |
9376 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9456 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9377 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9457 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9378 echo "configure:9379: checking for ${dir}/soundcard.h" >&5 | 9458 echo "configure:9459: checking for ${dir}/soundcard.h" >&5 |
9379 | 9459 |
9380 cat > conftest.$ac_ext <<EOF | 9460 cat > conftest.$ac_ext <<EOF |
9381 #line 9382 "configure" | 9461 #line 9462 "configure" |
9382 #include "confdefs.h" | 9462 #include "confdefs.h" |
9383 #include <${dir}/soundcard.h> | 9463 #include <${dir}/soundcard.h> |
9384 EOF | 9464 EOF |
9385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9386 { (eval echo configure:9387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9466 { (eval echo configure:9467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9387 ac_err=`grep -v '^ *+' conftest.out` | 9467 ac_err=`grep -v '^ *+' conftest.out` |
9388 if test -z "$ac_err"; then | 9468 if test -z "$ac_err"; then |
9389 rm -rf conftest* | 9469 rm -rf conftest* |
9390 eval "ac_cv_header_$ac_safe=yes" | 9470 eval "ac_cv_header_$ac_safe=yes" |
9391 else | 9471 else |
9451 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9531 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
9452 echo " xemacs will be linked with \"nas.o\"" | 9532 echo " xemacs will be linked with \"nas.o\"" |
9453 fi | 9533 fi |
9454 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9534 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
9455 cat > conftest.$ac_ext <<EOF | 9535 cat > conftest.$ac_ext <<EOF |
9456 #line 9457 "configure" | 9536 #line 9537 "configure" |
9457 #include "confdefs.h" | 9537 #include "confdefs.h" |
9458 #include <audio/Xtutil.h> | 9538 #include <audio/Xtutil.h> |
9459 EOF | 9539 EOF |
9460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9461 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9541 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9478 | 9558 |
9479 test -z "$with_tty" && with_tty=yes | 9559 test -z "$with_tty" && with_tty=yes |
9480 | 9560 |
9481 if test "$with_tty" = "yes" ; then | 9561 if test "$with_tty" = "yes" ; then |
9482 echo "checking for TTY-related features" 1>&6 | 9562 echo "checking for TTY-related features" 1>&6 |
9483 echo "configure:9484: checking for TTY-related features" >&5 | 9563 echo "configure:9564: checking for TTY-related features" >&5 |
9484 { test "$extra_verbose" = "yes" && cat << \EOF | 9564 { test "$extra_verbose" = "yes" && cat << \EOF |
9485 Defining HAVE_TTY | 9565 Defining HAVE_TTY |
9486 EOF | 9566 EOF |
9487 cat >> confdefs.h <<\EOF | 9567 cat >> confdefs.h <<\EOF |
9488 #define HAVE_TTY 1 | 9568 #define HAVE_TTY 1 |
9494 fi | 9574 fi |
9495 | 9575 |
9496 if test -z "$with_ncurses"; then | 9576 if test -z "$with_ncurses"; then |
9497 | 9577 |
9498 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9578 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9499 echo "configure:9500: checking for tgetent in -lncurses" >&5 | 9579 echo "configure:9580: checking for tgetent in -lncurses" >&5 |
9500 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9580 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9501 | 9581 |
9502 xe_check_libs=" -lncurses " | 9582 xe_check_libs=" -lncurses " |
9503 cat > conftest.$ac_ext <<EOF | 9583 cat > conftest.$ac_ext <<EOF |
9504 #line 9505 "configure" | 9584 #line 9585 "configure" |
9505 #include "confdefs.h" | 9585 #include "confdefs.h" |
9506 /* Override any gcc2 internal prototype to avoid an error. */ | 9586 /* Override any gcc2 internal prototype to avoid an error. */ |
9507 /* We use char because int might match the return type of a gcc2 | 9587 /* We use char because int might match the return type of a gcc2 |
9508 builtin and then its argument prototype would still apply. */ | 9588 builtin and then its argument prototype would still apply. */ |
9509 char tgetent(); | 9589 char tgetent(); |
9510 | 9590 |
9511 int main() { | 9591 int main() { |
9512 tgetent() | 9592 tgetent() |
9513 ; return 0; } | 9593 ; return 0; } |
9514 EOF | 9594 EOF |
9515 if { (eval echo configure:9516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9516 rm -rf conftest* | 9596 rm -rf conftest* |
9517 eval "ac_cv_lib_$ac_lib_var=yes" | 9597 eval "ac_cv_lib_$ac_lib_var=yes" |
9518 else | 9598 else |
9519 echo "configure: failed program was:" >&5 | 9599 echo "configure: failed program was:" >&5 |
9520 cat conftest.$ac_ext >&5 | 9600 cat conftest.$ac_ext >&5 |
9543 EOF | 9623 EOF |
9544 } | 9624 } |
9545 | 9625 |
9546 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9626 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9547 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9627 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9548 echo "configure:9549: checking for ncurses/curses.h" >&5 | 9628 echo "configure:9629: checking for ncurses/curses.h" >&5 |
9549 | 9629 |
9550 cat > conftest.$ac_ext <<EOF | 9630 cat > conftest.$ac_ext <<EOF |
9551 #line 9552 "configure" | 9631 #line 9632 "configure" |
9552 #include "confdefs.h" | 9632 #include "confdefs.h" |
9553 #include <ncurses/curses.h> | 9633 #include <ncurses/curses.h> |
9554 EOF | 9634 EOF |
9555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9556 { (eval echo configure:9557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9636 { (eval echo configure:9637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9557 ac_err=`grep -v '^ *+' conftest.out` | 9637 ac_err=`grep -v '^ *+' conftest.out` |
9558 if test -z "$ac_err"; then | 9638 if test -z "$ac_err"; then |
9559 rm -rf conftest* | 9639 rm -rf conftest* |
9560 eval "ac_cv_header_$ac_safe=yes" | 9640 eval "ac_cv_header_$ac_safe=yes" |
9561 else | 9641 else |
9573 echo "$ac_t""no" 1>&6 | 9653 echo "$ac_t""no" 1>&6 |
9574 fi | 9654 fi |
9575 | 9655 |
9576 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9656 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9577 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9657 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9578 echo "configure:9579: checking for ncurses/term.h" >&5 | 9658 echo "configure:9659: checking for ncurses/term.h" >&5 |
9579 | 9659 |
9580 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9581 #line 9582 "configure" | 9661 #line 9662 "configure" |
9582 #include "confdefs.h" | 9662 #include "confdefs.h" |
9583 #include <ncurses/term.h> | 9663 #include <ncurses/term.h> |
9584 EOF | 9664 EOF |
9585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9586 { (eval echo configure:9587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9666 { (eval echo configure:9667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9587 ac_err=`grep -v '^ *+' conftest.out` | 9667 ac_err=`grep -v '^ *+' conftest.out` |
9588 if test -z "$ac_err"; then | 9668 if test -z "$ac_err"; then |
9589 rm -rf conftest* | 9669 rm -rf conftest* |
9590 eval "ac_cv_header_$ac_safe=yes" | 9670 eval "ac_cv_header_$ac_safe=yes" |
9591 else | 9671 else |
9611 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9691 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9612 save_c_switch_site="$c_switch_site" | 9692 save_c_switch_site="$c_switch_site" |
9613 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9693 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9614 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9694 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9615 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9695 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9616 echo "configure:9617: checking for ncurses/curses.h" >&5 | 9696 echo "configure:9697: checking for ncurses/curses.h" >&5 |
9617 | 9697 |
9618 cat > conftest.$ac_ext <<EOF | 9698 cat > conftest.$ac_ext <<EOF |
9619 #line 9620 "configure" | 9699 #line 9700 "configure" |
9620 #include "confdefs.h" | 9700 #include "confdefs.h" |
9621 #include <ncurses/curses.h> | 9701 #include <ncurses/curses.h> |
9622 EOF | 9702 EOF |
9623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9624 { (eval echo configure:9625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9704 { (eval echo configure:9705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9625 ac_err=`grep -v '^ *+' conftest.out` | 9705 ac_err=`grep -v '^ *+' conftest.out` |
9626 if test -z "$ac_err"; then | 9706 if test -z "$ac_err"; then |
9627 rm -rf conftest* | 9707 rm -rf conftest* |
9628 eval "ac_cv_header_$ac_safe=yes" | 9708 eval "ac_cv_header_$ac_safe=yes" |
9629 else | 9709 else |
9654 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9734 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9655 else | 9735 else |
9656 for lib in curses termlib termcap; do | 9736 for lib in curses termlib termcap; do |
9657 | 9737 |
9658 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9738 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9659 echo "configure:9660: checking for tgetent in -l$lib" >&5 | 9739 echo "configure:9740: checking for tgetent in -l$lib" >&5 |
9660 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9740 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9661 | 9741 |
9662 xe_check_libs=" -l$lib " | 9742 xe_check_libs=" -l$lib " |
9663 cat > conftest.$ac_ext <<EOF | 9743 cat > conftest.$ac_ext <<EOF |
9664 #line 9665 "configure" | 9744 #line 9745 "configure" |
9665 #include "confdefs.h" | 9745 #include "confdefs.h" |
9666 /* Override any gcc2 internal prototype to avoid an error. */ | 9746 /* Override any gcc2 internal prototype to avoid an error. */ |
9667 /* We use char because int might match the return type of a gcc2 | 9747 /* We use char because int might match the return type of a gcc2 |
9668 builtin and then its argument prototype would still apply. */ | 9748 builtin and then its argument prototype would still apply. */ |
9669 char tgetent(); | 9749 char tgetent(); |
9670 | 9750 |
9671 int main() { | 9751 int main() { |
9672 tgetent() | 9752 tgetent() |
9673 ; return 0; } | 9753 ; return 0; } |
9674 EOF | 9754 EOF |
9675 if { (eval echo configure:9676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9755 if { (eval echo configure:9756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9676 rm -rf conftest* | 9756 rm -rf conftest* |
9677 eval "ac_cv_lib_$ac_lib_var=yes" | 9757 eval "ac_cv_lib_$ac_lib_var=yes" |
9678 else | 9758 else |
9679 echo "configure: failed program was:" >&5 | 9759 echo "configure: failed program was:" >&5 |
9680 cat conftest.$ac_ext >&5 | 9760 cat conftest.$ac_ext >&5 |
9701 if test -n "$libs_termcap"; then | 9781 if test -n "$libs_termcap"; then |
9702 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9782 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9703 else | 9783 else |
9704 | 9784 |
9705 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9785 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9706 echo "configure:9707: checking for tgetent in -lcurses" >&5 | 9786 echo "configure:9787: checking for tgetent in -lcurses" >&5 |
9707 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9787 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9708 | 9788 |
9709 xe_check_libs=" -lcurses " | 9789 xe_check_libs=" -lcurses " |
9710 cat > conftest.$ac_ext <<EOF | 9790 cat > conftest.$ac_ext <<EOF |
9711 #line 9712 "configure" | 9791 #line 9792 "configure" |
9712 #include "confdefs.h" | 9792 #include "confdefs.h" |
9713 /* Override any gcc2 internal prototype to avoid an error. */ | 9793 /* Override any gcc2 internal prototype to avoid an error. */ |
9714 /* We use char because int might match the return type of a gcc2 | 9794 /* We use char because int might match the return type of a gcc2 |
9715 builtin and then its argument prototype would still apply. */ | 9795 builtin and then its argument prototype would still apply. */ |
9716 char tgetent(); | 9796 char tgetent(); |
9717 | 9797 |
9718 int main() { | 9798 int main() { |
9719 tgetent() | 9799 tgetent() |
9720 ; return 0; } | 9800 ; return 0; } |
9721 EOF | 9801 EOF |
9722 if { (eval echo configure:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9723 rm -rf conftest* | 9803 rm -rf conftest* |
9724 eval "ac_cv_lib_$ac_lib_var=yes" | 9804 eval "ac_cv_lib_$ac_lib_var=yes" |
9725 else | 9805 else |
9726 echo "configure: failed program was:" >&5 | 9806 echo "configure: failed program was:" >&5 |
9727 cat conftest.$ac_ext >&5 | 9807 cat conftest.$ac_ext >&5 |
9735 echo "$ac_t""yes" 1>&6 | 9815 echo "$ac_t""yes" 1>&6 |
9736 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9816 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9737 else | 9817 else |
9738 echo "$ac_t""no" 1>&6 | 9818 echo "$ac_t""no" 1>&6 |
9739 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9819 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9740 echo "configure:9741: checking for tgetent in -ltermcap" >&5 | 9820 echo "configure:9821: checking for tgetent in -ltermcap" >&5 |
9741 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9821 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9742 | 9822 |
9743 xe_check_libs=" -ltermcap " | 9823 xe_check_libs=" -ltermcap " |
9744 cat > conftest.$ac_ext <<EOF | 9824 cat > conftest.$ac_ext <<EOF |
9745 #line 9746 "configure" | 9825 #line 9826 "configure" |
9746 #include "confdefs.h" | 9826 #include "confdefs.h" |
9747 /* Override any gcc2 internal prototype to avoid an error. */ | 9827 /* Override any gcc2 internal prototype to avoid an error. */ |
9748 /* We use char because int might match the return type of a gcc2 | 9828 /* We use char because int might match the return type of a gcc2 |
9749 builtin and then its argument prototype would still apply. */ | 9829 builtin and then its argument prototype would still apply. */ |
9750 char tgetent(); | 9830 char tgetent(); |
9751 | 9831 |
9752 int main() { | 9832 int main() { |
9753 tgetent() | 9833 tgetent() |
9754 ; return 0; } | 9834 ; return 0; } |
9755 EOF | 9835 EOF |
9756 if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9757 rm -rf conftest* | 9837 rm -rf conftest* |
9758 eval "ac_cv_lib_$ac_lib_var=yes" | 9838 eval "ac_cv_lib_$ac_lib_var=yes" |
9759 else | 9839 else |
9760 echo "configure: failed program was:" >&5 | 9840 echo "configure: failed program was:" >&5 |
9761 cat conftest.$ac_ext >&5 | 9841 cat conftest.$ac_ext >&5 |
9799 } | 9879 } |
9800 | 9880 |
9801 | 9881 |
9802 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9882 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9803 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9883 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9804 echo "configure:9805: checking for gpm.h" >&5 | 9884 echo "configure:9885: checking for gpm.h" >&5 |
9805 | 9885 |
9806 cat > conftest.$ac_ext <<EOF | 9886 cat > conftest.$ac_ext <<EOF |
9807 #line 9808 "configure" | 9887 #line 9888 "configure" |
9808 #include "confdefs.h" | 9888 #include "confdefs.h" |
9809 #include <gpm.h> | 9889 #include <gpm.h> |
9810 EOF | 9890 EOF |
9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9892 { (eval echo configure:9893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9813 ac_err=`grep -v '^ *+' conftest.out` | 9893 ac_err=`grep -v '^ *+' conftest.out` |
9814 if test -z "$ac_err"; then | 9894 if test -z "$ac_err"; then |
9815 rm -rf conftest* | 9895 rm -rf conftest* |
9816 eval "ac_cv_header_$ac_safe=yes" | 9896 eval "ac_cv_header_$ac_safe=yes" |
9817 else | 9897 else |
9830 with_gpm=no | 9910 with_gpm=no |
9831 fi | 9911 fi |
9832 } | 9912 } |
9833 test -z "$with_gpm" && { | 9913 test -z "$with_gpm" && { |
9834 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9914 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9835 echo "configure:9836: checking for Gpm_Open in -lgpm" >&5 | 9915 echo "configure:9916: checking for Gpm_Open in -lgpm" >&5 |
9836 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9916 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9837 | 9917 |
9838 xe_check_libs=" -lgpm " | 9918 xe_check_libs=" -lgpm " |
9839 cat > conftest.$ac_ext <<EOF | 9919 cat > conftest.$ac_ext <<EOF |
9840 #line 9841 "configure" | 9920 #line 9921 "configure" |
9841 #include "confdefs.h" | 9921 #include "confdefs.h" |
9842 /* Override any gcc2 internal prototype to avoid an error. */ | 9922 /* Override any gcc2 internal prototype to avoid an error. */ |
9843 /* We use char because int might match the return type of a gcc2 | 9923 /* We use char because int might match the return type of a gcc2 |
9844 builtin and then its argument prototype would still apply. */ | 9924 builtin and then its argument prototype would still apply. */ |
9845 char Gpm_Open(); | 9925 char Gpm_Open(); |
9846 | 9926 |
9847 int main() { | 9927 int main() { |
9848 Gpm_Open() | 9928 Gpm_Open() |
9849 ; return 0; } | 9929 ; return 0; } |
9850 EOF | 9930 EOF |
9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9931 if { (eval echo configure:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9852 rm -rf conftest* | 9932 rm -rf conftest* |
9853 eval "ac_cv_lib_$ac_lib_var=yes" | 9933 eval "ac_cv_lib_$ac_lib_var=yes" |
9854 else | 9934 else |
9855 echo "configure: failed program was:" >&5 | 9935 echo "configure: failed program was:" >&5 |
9856 cat conftest.$ac_ext >&5 | 9936 cat conftest.$ac_ext >&5 |
9895 echo " xemacs will be linked with \"event-unixoid.o\"" | 9975 echo " xemacs will be linked with \"event-unixoid.o\"" |
9896 fi | 9976 fi |
9897 | 9977 |
9898 | 9978 |
9899 echo "checking for database support" 1>&6 | 9979 echo "checking for database support" 1>&6 |
9900 echo "configure:9901: checking for database support" >&5 | 9980 echo "configure:9981: checking for database support" >&5 |
9901 | 9981 |
9902 if test "$with_database_gnudbm" != "no"; then | 9982 if test "$with_database_gnudbm" != "no"; then |
9903 for ac_hdr in ndbm.h | 9983 for ac_hdr in ndbm.h |
9904 do | 9984 do |
9905 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9985 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9906 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9907 echo "configure:9908: checking for $ac_hdr" >&5 | 9987 echo "configure:9988: checking for $ac_hdr" >&5 |
9908 | 9988 |
9909 cat > conftest.$ac_ext <<EOF | 9989 cat > conftest.$ac_ext <<EOF |
9910 #line 9911 "configure" | 9990 #line 9991 "configure" |
9911 #include "confdefs.h" | 9991 #include "confdefs.h" |
9912 #include <$ac_hdr> | 9992 #include <$ac_hdr> |
9913 EOF | 9993 EOF |
9914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9915 { (eval echo configure:9916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9995 { (eval echo configure:9996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9916 ac_err=`grep -v '^ *+' conftest.out` | 9996 ac_err=`grep -v '^ *+' conftest.out` |
9917 if test -z "$ac_err"; then | 9997 if test -z "$ac_err"; then |
9918 rm -rf conftest* | 9998 rm -rf conftest* |
9919 eval "ac_cv_header_$ac_safe=yes" | 9999 eval "ac_cv_header_$ac_safe=yes" |
9920 else | 10000 else |
9942 done | 10022 done |
9943 | 10023 |
9944 if test "$have_ndbm_h" = "yes"; then | 10024 if test "$have_ndbm_h" = "yes"; then |
9945 | 10025 |
9946 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10026 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9947 echo "configure:9948: checking for dbm_open in -lgdbm" >&5 | 10027 echo "configure:10028: checking for dbm_open in -lgdbm" >&5 |
9948 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10028 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9949 | 10029 |
9950 xe_check_libs=" -lgdbm " | 10030 xe_check_libs=" -lgdbm " |
9951 cat > conftest.$ac_ext <<EOF | 10031 cat > conftest.$ac_ext <<EOF |
9952 #line 9953 "configure" | 10032 #line 10033 "configure" |
9953 #include "confdefs.h" | 10033 #include "confdefs.h" |
9954 /* Override any gcc2 internal prototype to avoid an error. */ | 10034 /* Override any gcc2 internal prototype to avoid an error. */ |
9955 /* We use char because int might match the return type of a gcc2 | 10035 /* We use char because int might match the return type of a gcc2 |
9956 builtin and then its argument prototype would still apply. */ | 10036 builtin and then its argument prototype would still apply. */ |
9957 char dbm_open(); | 10037 char dbm_open(); |
9958 | 10038 |
9959 int main() { | 10039 int main() { |
9960 dbm_open() | 10040 dbm_open() |
9961 ; return 0; } | 10041 ; return 0; } |
9962 EOF | 10042 EOF |
9963 if { (eval echo configure:9964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9964 rm -rf conftest* | 10044 rm -rf conftest* |
9965 eval "ac_cv_lib_$ac_lib_var=yes" | 10045 eval "ac_cv_lib_$ac_lib_var=yes" |
9966 else | 10046 else |
9967 echo "configure: failed program was:" >&5 | 10047 echo "configure: failed program was:" >&5 |
9968 cat conftest.$ac_ext >&5 | 10048 cat conftest.$ac_ext >&5 |
9981 | 10061 |
9982 | 10062 |
9983 fi | 10063 fi |
9984 if test "$with_database_gnudbm" != "yes"; then | 10064 if test "$with_database_gnudbm" != "yes"; then |
9985 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10065 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9986 echo "configure:9987: checking for dbm_open" >&5 | 10066 echo "configure:10067: checking for dbm_open" >&5 |
9987 | 10067 |
9988 cat > conftest.$ac_ext <<EOF | 10068 cat > conftest.$ac_ext <<EOF |
9989 #line 9990 "configure" | 10069 #line 10070 "configure" |
9990 #include "confdefs.h" | 10070 #include "confdefs.h" |
9991 /* System header to define __stub macros and hopefully few prototypes, | 10071 /* System header to define __stub macros and hopefully few prototypes, |
9992 which can conflict with char dbm_open(); below. */ | 10072 which can conflict with char dbm_open(); below. */ |
9993 #include <assert.h> | 10073 #include <assert.h> |
9994 /* Override any gcc2 internal prototype to avoid an error. */ | 10074 /* Override any gcc2 internal prototype to avoid an error. */ |
10007 dbm_open(); | 10087 dbm_open(); |
10008 #endif | 10088 #endif |
10009 | 10089 |
10010 ; return 0; } | 10090 ; return 0; } |
10011 EOF | 10091 EOF |
10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10092 if { (eval echo configure:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10013 rm -rf conftest* | 10093 rm -rf conftest* |
10014 eval "ac_cv_func_dbm_open=yes" | 10094 eval "ac_cv_func_dbm_open=yes" |
10015 else | 10095 else |
10016 echo "configure: failed program was:" >&5 | 10096 echo "configure: failed program was:" >&5 |
10017 cat conftest.$ac_ext >&5 | 10097 cat conftest.$ac_ext >&5 |
10043 fi | 10123 fi |
10044 fi | 10124 fi |
10045 | 10125 |
10046 if test "$with_database_dbm" != "no"; then | 10126 if test "$with_database_dbm" != "no"; then |
10047 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10127 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10048 echo "configure:10049: checking for dbm_open" >&5 | 10128 echo "configure:10129: checking for dbm_open" >&5 |
10049 | 10129 |
10050 cat > conftest.$ac_ext <<EOF | 10130 cat > conftest.$ac_ext <<EOF |
10051 #line 10052 "configure" | 10131 #line 10132 "configure" |
10052 #include "confdefs.h" | 10132 #include "confdefs.h" |
10053 /* System header to define __stub macros and hopefully few prototypes, | 10133 /* System header to define __stub macros and hopefully few prototypes, |
10054 which can conflict with char dbm_open(); below. */ | 10134 which can conflict with char dbm_open(); below. */ |
10055 #include <assert.h> | 10135 #include <assert.h> |
10056 /* Override any gcc2 internal prototype to avoid an error. */ | 10136 /* Override any gcc2 internal prototype to avoid an error. */ |
10069 dbm_open(); | 10149 dbm_open(); |
10070 #endif | 10150 #endif |
10071 | 10151 |
10072 ; return 0; } | 10152 ; return 0; } |
10073 EOF | 10153 EOF |
10074 if { (eval echo configure:10075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10154 if { (eval echo configure:10155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10075 rm -rf conftest* | 10155 rm -rf conftest* |
10076 eval "ac_cv_func_dbm_open=yes" | 10156 eval "ac_cv_func_dbm_open=yes" |
10077 else | 10157 else |
10078 echo "configure: failed program was:" >&5 | 10158 echo "configure: failed program was:" >&5 |
10079 cat conftest.$ac_ext >&5 | 10159 cat conftest.$ac_ext >&5 |
10090 fi | 10170 fi |
10091 | 10171 |
10092 if test "$need_libdbm" != "no"; then | 10172 if test "$need_libdbm" != "no"; then |
10093 | 10173 |
10094 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10174 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10095 echo "configure:10096: checking for dbm_open in -ldbm" >&5 | 10175 echo "configure:10176: checking for dbm_open in -ldbm" >&5 |
10096 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10176 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10097 | 10177 |
10098 xe_check_libs=" -ldbm " | 10178 xe_check_libs=" -ldbm " |
10099 cat > conftest.$ac_ext <<EOF | 10179 cat > conftest.$ac_ext <<EOF |
10100 #line 10101 "configure" | 10180 #line 10181 "configure" |
10101 #include "confdefs.h" | 10181 #include "confdefs.h" |
10102 /* Override any gcc2 internal prototype to avoid an error. */ | 10182 /* Override any gcc2 internal prototype to avoid an error. */ |
10103 /* We use char because int might match the return type of a gcc2 | 10183 /* We use char because int might match the return type of a gcc2 |
10104 builtin and then its argument prototype would still apply. */ | 10184 builtin and then its argument prototype would still apply. */ |
10105 char dbm_open(); | 10185 char dbm_open(); |
10106 | 10186 |
10107 int main() { | 10187 int main() { |
10108 dbm_open() | 10188 dbm_open() |
10109 ; return 0; } | 10189 ; return 0; } |
10110 EOF | 10190 EOF |
10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10191 if { (eval echo configure:10192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10112 rm -rf conftest* | 10192 rm -rf conftest* |
10113 eval "ac_cv_lib_$ac_lib_var=yes" | 10193 eval "ac_cv_lib_$ac_lib_var=yes" |
10114 else | 10194 else |
10115 echo "configure: failed program was:" >&5 | 10195 echo "configure: failed program was:" >&5 |
10116 cat conftest.$ac_ext >&5 | 10196 cat conftest.$ac_ext >&5 |
10143 fi | 10223 fi |
10144 fi | 10224 fi |
10145 | 10225 |
10146 if test "$with_database_berkdb" != "no"; then | 10226 if test "$with_database_berkdb" != "no"; then |
10147 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 10227 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
10148 echo "configure:10149: checking for dbopen" >&5 | 10228 echo "configure:10229: checking for dbopen" >&5 |
10149 | 10229 |
10150 cat > conftest.$ac_ext <<EOF | 10230 cat > conftest.$ac_ext <<EOF |
10151 #line 10152 "configure" | 10231 #line 10232 "configure" |
10152 #include "confdefs.h" | 10232 #include "confdefs.h" |
10153 /* System header to define __stub macros and hopefully few prototypes, | 10233 /* System header to define __stub macros and hopefully few prototypes, |
10154 which can conflict with char dbopen(); below. */ | 10234 which can conflict with char dbopen(); below. */ |
10155 #include <assert.h> | 10235 #include <assert.h> |
10156 /* Override any gcc2 internal prototype to avoid an error. */ | 10236 /* Override any gcc2 internal prototype to avoid an error. */ |
10169 dbopen(); | 10249 dbopen(); |
10170 #endif | 10250 #endif |
10171 | 10251 |
10172 ; return 0; } | 10252 ; return 0; } |
10173 EOF | 10253 EOF |
10174 if { (eval echo configure:10175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10254 if { (eval echo configure:10255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10175 rm -rf conftest* | 10255 rm -rf conftest* |
10176 eval "ac_cv_func_dbopen=yes" | 10256 eval "ac_cv_func_dbopen=yes" |
10177 else | 10257 else |
10178 echo "configure: failed program was:" >&5 | 10258 echo "configure: failed program was:" >&5 |
10179 cat conftest.$ac_ext >&5 | 10259 cat conftest.$ac_ext >&5 |
10190 fi | 10270 fi |
10191 | 10271 |
10192 if test "$need_libdb" != "no"; then | 10272 if test "$need_libdb" != "no"; then |
10193 | 10273 |
10194 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 10274 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
10195 echo "configure:10196: checking for dbopen in -ldb" >&5 | 10275 echo "configure:10276: checking for dbopen in -ldb" >&5 |
10196 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 10276 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
10197 | 10277 |
10198 xe_check_libs=" -ldb " | 10278 xe_check_libs=" -ldb " |
10199 cat > conftest.$ac_ext <<EOF | 10279 cat > conftest.$ac_ext <<EOF |
10200 #line 10201 "configure" | 10280 #line 10281 "configure" |
10201 #include "confdefs.h" | 10281 #include "confdefs.h" |
10202 /* Override any gcc2 internal prototype to avoid an error. */ | 10282 /* Override any gcc2 internal prototype to avoid an error. */ |
10203 /* We use char because int might match the return type of a gcc2 | 10283 /* We use char because int might match the return type of a gcc2 |
10204 builtin and then its argument prototype would still apply. */ | 10284 builtin and then its argument prototype would still apply. */ |
10205 char dbopen(); | 10285 char dbopen(); |
10206 | 10286 |
10207 int main() { | 10287 int main() { |
10208 dbopen() | 10288 dbopen() |
10209 ; return 0; } | 10289 ; return 0; } |
10210 EOF | 10290 EOF |
10211 if { (eval echo configure:10212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10212 rm -rf conftest* | 10292 rm -rf conftest* |
10213 eval "ac_cv_lib_$ac_lib_var=yes" | 10293 eval "ac_cv_lib_$ac_lib_var=yes" |
10214 else | 10294 else |
10215 echo "configure: failed program was:" >&5 | 10295 echo "configure: failed program was:" >&5 |
10216 cat conftest.$ac_ext >&5 | 10296 cat conftest.$ac_ext >&5 |
10230 | 10310 |
10231 fi | 10311 fi |
10232 if test "$with_database_berkdb" = "yes"; then | 10312 if test "$with_database_berkdb" = "yes"; then |
10233 for path in "db/db.h" "db.h"; do | 10313 for path in "db/db.h" "db.h"; do |
10234 cat > conftest.$ac_ext <<EOF | 10314 cat > conftest.$ac_ext <<EOF |
10235 #line 10236 "configure" | 10315 #line 10316 "configure" |
10236 #include "confdefs.h" | 10316 #include "confdefs.h" |
10237 #ifdef HAVE_INTTYPES_H | 10317 #ifdef HAVE_INTTYPES_H |
10238 #define __BIT_TYPES_DEFINED__ | 10318 #define __BIT_TYPES_DEFINED__ |
10239 #include <inttypes.h> | 10319 #include <inttypes.h> |
10240 typedef uint8_t u_int8_t; | 10320 typedef uint8_t u_int8_t; |
10248 | 10328 |
10249 int main() { | 10329 int main() { |
10250 | 10330 |
10251 ; return 0; } | 10331 ; return 0; } |
10252 EOF | 10332 EOF |
10253 if { (eval echo configure:10254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10333 if { (eval echo configure:10334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10254 rm -rf conftest* | 10334 rm -rf conftest* |
10255 db_h_path="$path"; break | 10335 db_h_path="$path"; break |
10256 else | 10336 else |
10257 echo "configure: failed program was:" >&5 | 10337 echo "configure: failed program was:" >&5 |
10258 cat conftest.$ac_ext >&5 | 10338 cat conftest.$ac_ext >&5 |
10300 fi | 10380 fi |
10301 | 10381 |
10302 if test "$with_socks" = "yes"; then | 10382 if test "$with_socks" = "yes"; then |
10303 | 10383 |
10304 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10384 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10305 echo "configure:10306: checking for SOCKSinit in -lsocks" >&5 | 10385 echo "configure:10386: checking for SOCKSinit in -lsocks" >&5 |
10306 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10386 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10307 | 10387 |
10308 xe_check_libs=" -lsocks " | 10388 xe_check_libs=" -lsocks " |
10309 cat > conftest.$ac_ext <<EOF | 10389 cat > conftest.$ac_ext <<EOF |
10310 #line 10311 "configure" | 10390 #line 10391 "configure" |
10311 #include "confdefs.h" | 10391 #include "confdefs.h" |
10312 /* Override any gcc2 internal prototype to avoid an error. */ | 10392 /* Override any gcc2 internal prototype to avoid an error. */ |
10313 /* We use char because int might match the return type of a gcc2 | 10393 /* We use char because int might match the return type of a gcc2 |
10314 builtin and then its argument prototype would still apply. */ | 10394 builtin and then its argument prototype would still apply. */ |
10315 char SOCKSinit(); | 10395 char SOCKSinit(); |
10316 | 10396 |
10317 int main() { | 10397 int main() { |
10318 SOCKSinit() | 10398 SOCKSinit() |
10319 ; return 0; } | 10399 ; return 0; } |
10320 EOF | 10400 EOF |
10321 if { (eval echo configure:10322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10322 rm -rf conftest* | 10402 rm -rf conftest* |
10323 eval "ac_cv_lib_$ac_lib_var=yes" | 10403 eval "ac_cv_lib_$ac_lib_var=yes" |
10324 else | 10404 else |
10325 echo "configure: failed program was:" >&5 | 10405 echo "configure: failed program was:" >&5 |
10326 cat conftest.$ac_ext >&5 | 10406 cat conftest.$ac_ext >&5 |
10373 | 10453 |
10374 for ac_hdr in dlfcn.h | 10454 for ac_hdr in dlfcn.h |
10375 do | 10455 do |
10376 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10377 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10378 echo "configure:10379: checking for $ac_hdr" >&5 | 10458 echo "configure:10459: checking for $ac_hdr" >&5 |
10379 | 10459 |
10380 cat > conftest.$ac_ext <<EOF | 10460 cat > conftest.$ac_ext <<EOF |
10381 #line 10382 "configure" | 10461 #line 10462 "configure" |
10382 #include "confdefs.h" | 10462 #include "confdefs.h" |
10383 #include <$ac_hdr> | 10463 #include <$ac_hdr> |
10384 EOF | 10464 EOF |
10385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10386 { (eval echo configure:10387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10466 { (eval echo configure:10467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10387 ac_err=`grep -v '^ *+' conftest.out` | 10467 ac_err=`grep -v '^ *+' conftest.out` |
10388 if test -z "$ac_err"; then | 10468 if test -z "$ac_err"; then |
10389 rm -rf conftest* | 10469 rm -rf conftest* |
10390 eval "ac_cv_header_$ac_safe=yes" | 10470 eval "ac_cv_header_$ac_safe=yes" |
10391 else | 10471 else |
10412 fi | 10492 fi |
10413 done | 10493 done |
10414 | 10494 |
10415 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10495 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10416 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 10496 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
10417 echo "configure:10418: checking for dlopen in -ldl" >&5 | 10497 echo "configure:10498: checking for dlopen in -ldl" >&5 |
10418 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 10498 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
10419 | 10499 |
10420 xe_check_libs=" -ldl " | 10500 xe_check_libs=" -ldl " |
10421 cat > conftest.$ac_ext <<EOF | 10501 cat > conftest.$ac_ext <<EOF |
10422 #line 10423 "configure" | 10502 #line 10503 "configure" |
10423 #include "confdefs.h" | 10503 #include "confdefs.h" |
10424 /* Override any gcc2 internal prototype to avoid an error. */ | 10504 /* Override any gcc2 internal prototype to avoid an error. */ |
10425 /* We use char because int might match the return type of a gcc2 | 10505 /* We use char because int might match the return type of a gcc2 |
10426 builtin and then its argument prototype would still apply. */ | 10506 builtin and then its argument prototype would still apply. */ |
10427 char dlopen(); | 10507 char dlopen(); |
10428 | 10508 |
10429 int main() { | 10509 int main() { |
10430 dlopen() | 10510 dlopen() |
10431 ; return 0; } | 10511 ; return 0; } |
10432 EOF | 10512 EOF |
10433 if { (eval echo configure:10434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10513 if { (eval echo configure:10514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10434 rm -rf conftest* | 10514 rm -rf conftest* |
10435 eval "ac_cv_lib_$ac_lib_var=yes" | 10515 eval "ac_cv_lib_$ac_lib_var=yes" |
10436 else | 10516 else |
10437 echo "configure: failed program was:" >&5 | 10517 echo "configure: failed program was:" >&5 |
10438 cat conftest.$ac_ext >&5 | 10518 cat conftest.$ac_ext >&5 |
10457 fi | 10537 fi |
10458 | 10538 |
10459 } | 10539 } |
10460 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10540 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10461 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 10541 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
10462 echo "configure:10463: checking for _dlopen in -lc" >&5 | 10542 echo "configure:10543: checking for _dlopen in -lc" >&5 |
10463 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 10543 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
10464 | 10544 |
10465 xe_check_libs=" -lc " | 10545 xe_check_libs=" -lc " |
10466 cat > conftest.$ac_ext <<EOF | 10546 cat > conftest.$ac_ext <<EOF |
10467 #line 10468 "configure" | 10547 #line 10548 "configure" |
10468 #include "confdefs.h" | 10548 #include "confdefs.h" |
10469 /* Override any gcc2 internal prototype to avoid an error. */ | 10549 /* Override any gcc2 internal prototype to avoid an error. */ |
10470 /* We use char because int might match the return type of a gcc2 | 10550 /* We use char because int might match the return type of a gcc2 |
10471 builtin and then its argument prototype would still apply. */ | 10551 builtin and then its argument prototype would still apply. */ |
10472 char _dlopen(); | 10552 char _dlopen(); |
10473 | 10553 |
10474 int main() { | 10554 int main() { |
10475 _dlopen() | 10555 _dlopen() |
10476 ; return 0; } | 10556 ; return 0; } |
10477 EOF | 10557 EOF |
10478 if { (eval echo configure:10479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10558 if { (eval echo configure:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10479 rm -rf conftest* | 10559 rm -rf conftest* |
10480 eval "ac_cv_lib_$ac_lib_var=yes" | 10560 eval "ac_cv_lib_$ac_lib_var=yes" |
10481 else | 10561 else |
10482 echo "configure: failed program was:" >&5 | 10562 echo "configure: failed program was:" >&5 |
10483 cat conftest.$ac_ext >&5 | 10563 cat conftest.$ac_ext >&5 |
10502 fi | 10582 fi |
10503 | 10583 |
10504 } | 10584 } |
10505 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 10585 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
10506 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 10586 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
10507 echo "configure:10508: checking for dlopen in -lc" >&5 | 10587 echo "configure:10588: checking for dlopen in -lc" >&5 |
10508 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 10588 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
10509 | 10589 |
10510 xe_check_libs=" -lc " | 10590 xe_check_libs=" -lc " |
10511 cat > conftest.$ac_ext <<EOF | 10591 cat > conftest.$ac_ext <<EOF |
10512 #line 10513 "configure" | 10592 #line 10593 "configure" |
10513 #include "confdefs.h" | 10593 #include "confdefs.h" |
10514 /* Override any gcc2 internal prototype to avoid an error. */ | 10594 /* Override any gcc2 internal prototype to avoid an error. */ |
10515 /* We use char because int might match the return type of a gcc2 | 10595 /* We use char because int might match the return type of a gcc2 |
10516 builtin and then its argument prototype would still apply. */ | 10596 builtin and then its argument prototype would still apply. */ |
10517 char dlopen(); | 10597 char dlopen(); |
10518 | 10598 |
10519 int main() { | 10599 int main() { |
10520 dlopen() | 10600 dlopen() |
10521 ; return 0; } | 10601 ; return 0; } |
10522 EOF | 10602 EOF |
10523 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10603 if { (eval echo configure:10604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10524 rm -rf conftest* | 10604 rm -rf conftest* |
10525 eval "ac_cv_lib_$ac_lib_var=yes" | 10605 eval "ac_cv_lib_$ac_lib_var=yes" |
10526 else | 10606 else |
10527 echo "configure: failed program was:" >&5 | 10607 echo "configure: failed program was:" >&5 |
10528 cat conftest.$ac_ext >&5 | 10608 cat conftest.$ac_ext >&5 |
10547 fi | 10627 fi |
10548 | 10628 |
10549 } | 10629 } |
10550 test -z "$with_shlib" && { | 10630 test -z "$with_shlib" && { |
10551 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 10631 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
10552 echo "configure:10553: checking for shl_load in -ldld" >&5 | 10632 echo "configure:10633: checking for shl_load in -ldld" >&5 |
10553 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 10633 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
10554 | 10634 |
10555 xe_check_libs=" -ldld " | 10635 xe_check_libs=" -ldld " |
10556 cat > conftest.$ac_ext <<EOF | 10636 cat > conftest.$ac_ext <<EOF |
10557 #line 10558 "configure" | 10637 #line 10638 "configure" |
10558 #include "confdefs.h" | 10638 #include "confdefs.h" |
10559 /* Override any gcc2 internal prototype to avoid an error. */ | 10639 /* Override any gcc2 internal prototype to avoid an error. */ |
10560 /* We use char because int might match the return type of a gcc2 | 10640 /* We use char because int might match the return type of a gcc2 |
10561 builtin and then its argument prototype would still apply. */ | 10641 builtin and then its argument prototype would still apply. */ |
10562 char shl_load(); | 10642 char shl_load(); |
10563 | 10643 |
10564 int main() { | 10644 int main() { |
10565 shl_load() | 10645 shl_load() |
10566 ; return 0; } | 10646 ; return 0; } |
10567 EOF | 10647 EOF |
10568 if { (eval echo configure:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10648 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10569 rm -rf conftest* | 10649 rm -rf conftest* |
10570 eval "ac_cv_lib_$ac_lib_var=yes" | 10650 eval "ac_cv_lib_$ac_lib_var=yes" |
10571 else | 10651 else |
10572 echo "configure: failed program was:" >&5 | 10652 echo "configure: failed program was:" >&5 |
10573 cat conftest.$ac_ext >&5 | 10653 cat conftest.$ac_ext >&5 |
10592 fi | 10672 fi |
10593 | 10673 |
10594 } | 10674 } |
10595 test -z "$with_shlib" && { | 10675 test -z "$with_shlib" && { |
10596 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 10676 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
10597 echo "configure:10598: checking for dld_init in -ldld" >&5 | 10677 echo "configure:10678: checking for dld_init in -ldld" >&5 |
10598 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 10678 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
10599 | 10679 |
10600 xe_check_libs=" -ldld " | 10680 xe_check_libs=" -ldld " |
10601 cat > conftest.$ac_ext <<EOF | 10681 cat > conftest.$ac_ext <<EOF |
10602 #line 10603 "configure" | 10682 #line 10683 "configure" |
10603 #include "confdefs.h" | 10683 #include "confdefs.h" |
10604 /* Override any gcc2 internal prototype to avoid an error. */ | 10684 /* Override any gcc2 internal prototype to avoid an error. */ |
10605 /* We use char because int might match the return type of a gcc2 | 10685 /* We use char because int might match the return type of a gcc2 |
10606 builtin and then its argument prototype would still apply. */ | 10686 builtin and then its argument prototype would still apply. */ |
10607 char dld_init(); | 10687 char dld_init(); |
10608 | 10688 |
10609 int main() { | 10689 int main() { |
10610 dld_init() | 10690 dld_init() |
10611 ; return 0; } | 10691 ; return 0; } |
10612 EOF | 10692 EOF |
10613 if { (eval echo configure:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10614 rm -rf conftest* | 10694 rm -rf conftest* |
10615 eval "ac_cv_lib_$ac_lib_var=yes" | 10695 eval "ac_cv_lib_$ac_lib_var=yes" |
10616 else | 10696 else |
10617 echo "configure: failed program was:" >&5 | 10697 echo "configure: failed program was:" >&5 |
10618 cat conftest.$ac_ext >&5 | 10698 cat conftest.$ac_ext >&5 |
10658 dll_lflags="-shared" | 10738 dll_lflags="-shared" |
10659 dll_cflags="-r" | 10739 dll_cflags="-r" |
10660 dll_oflags="-o " | 10740 dll_oflags="-o " |
10661 | 10741 |
10662 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 10742 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
10663 echo "configure:10664: checking how to build a shared library" >&5 | 10743 echo "configure:10744: checking how to build a shared library" >&5 |
10664 case `uname -rs` in | 10744 case `uname -rs` in |
10665 UNIX_SV*|UNIX_System_V*) | 10745 UNIX_SV*|UNIX_System_V*) |
10666 dll_lflags="-G" | 10746 dll_lflags="-G" |
10667 dll_cflags=-Kpic | 10747 dll_cflags=-Kpic |
10668 dll_ld="ld" | 10748 dll_ld="ld" |
10748 | 10828 |
10749 | 10829 |
10750 | 10830 |
10751 ld_dynamic_link_flags= | 10831 ld_dynamic_link_flags= |
10752 case "$opsys" in | 10832 case "$opsys" in |
10753 hpux*) ld_dynamic_link_flags="-E" ;; | 10833 hpux*) ld_dynamic_link_flags="-Wl,-E" ;; |
10754 linux*) ld_dynamic_link_flags="-rdynamic" ;; | 10834 linux*) ld_dynamic_link_flags="-rdynamic" ;; |
10755 *) ;; | 10835 *) ;; |
10756 esac | 10836 esac |
10757 fi | 10837 fi |
10758 | 10838 |
10924 | 11004 |
10925 | 11005 |
10926 | 11006 |
10927 | 11007 |
10928 | 11008 |
11009 | |
11010 | |
11011 | |
10929 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" | 11012 RECURSIVE_MAKE="\$(MAKE) \$(MFLAGS) CC='\$(CC)' CFLAGS='\$(CFLAGS)' LDFLAGS='\$(LDFLAGS)' CPPFLAGS='\$(CPPFLAGS)'" |
10930 | 11013 |
10931 | 11014 |
10932 | 11015 |
10933 | 11016 |
10934 | 11017 |
10935 | 11018 |
10936 | 11019 |
10937 | 11020 # The default is yes |
10938 if test "${package_path}" = "NONE" ; then | 11021 if test "$with_site_lisp" = "no"; then |
10939 package_path="~/.xemacs:${prefix}/lib/xemacs/packages" | 11022 { test "$extra_verbose" = "yes" && cat << \EOF |
10940 fi | 11023 Defining INHIBIT_SITE_LISP |
10941 package_path=`echo $package_path | sed 'y/ /:/'` | 11024 EOF |
10942 { test "$extra_verbose" = "yes" && cat << EOF | 11025 cat >> confdefs.h <<\EOF |
10943 Defining PACKAGE_PATH = "$package_path" | 11026 #define INHIBIT_SITE_LISP 1 |
10944 EOF | 11027 EOF |
10945 cat >> confdefs.h <<EOF | 11028 } |
10946 #define PACKAGE_PATH "$package_path" | 11029 |
10947 EOF | 11030 fi |
10948 } | |
10949 | |
10950 | 11031 |
10951 | 11032 |
10952 T="" | 11033 T="" |
10953 for W in $ac_configure_args; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 11034 for W in $ac_configure_args; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
10954 ac_configure_args="$T" | 11035 ac_configure_args="$T" |
11179 | 11260 |
11180 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. | 11261 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. |
11181 | 11262 |
11182 Where should the build process find the source code? $srcdir | 11263 Where should the build process find the source code? $srcdir |
11183 What installation prefix should install use? $prefix | 11264 What installation prefix should install use? $prefix |
11184 Where should XEmacs look for packages? $package_path | |
11185 What operating system and machine description files should XEmacs use? | 11265 What operating system and machine description files should XEmacs use? |
11186 \`$opsysfile' and \`$machfile' | 11266 \`$opsysfile' and \`$machfile' |
11187 What compiler should XEmacs be built with? $CC $CFLAGS | 11267 What compiler should XEmacs be built with? $CC $CFLAGS |
11188 Should XEmacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 11268 Should XEmacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} |
11189 Should XEmacs use the relocating allocator for buffers? $rel_alloc | 11269 Should XEmacs use the relocating allocator for buffers? $rel_alloc |
11284 echo " Clash detection will use \"$lockdir\" for locking files." | 11364 echo " Clash detection will use \"$lockdir\" for locking files." |
11285 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 11365 echo " movemail will use \"$mail_locking\" for locking mail spool files." |
11286 test "$with_pop" = yes && echo " Using POP for mail access" | 11366 test "$with_pop" = yes && echo " Using POP for mail access" |
11287 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" | 11367 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" |
11288 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host" | 11368 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host" |
11289 echo " The \`Info-default-directory-list' will be initialized from:" | |
11290 echo " INFOPATH=\"$infopath\"" | |
11291 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 11369 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
11292 test "$with_minimal_tagbits" != "no" -o "$with_gung" != "no" && \ | 11370 test "$with_minimal_tagbits" != "no" -o "$with_gung" != "no" && \ |
11293 echo " Using Lisp_Objects with minimal tagbits." | 11371 echo " Using Lisp_Objects with minimal tagbits." |
11294 test "$with_gung" != "no" && echo " Using indexed lrecord implementation." | 11372 test "$with_gung" != "no" && echo " Using indexed lrecord implementation." |
11295 test "$debug" = yes && echo " Compiling in extra code for debugging." | 11373 test "$debug" = yes && echo " Compiling in extra code for debugging." |
11442 s%@pkgdir@%$pkgdir%g | 11520 s%@pkgdir@%$pkgdir%g |
11443 s%@statedir@%$statedir%g | 11521 s%@statedir@%$statedir%g |
11444 s%@infodir_user_defined@%$infodir_user_defined%g | 11522 s%@infodir_user_defined@%$infodir_user_defined%g |
11445 s%@infopath@%$infopath%g | 11523 s%@infopath@%$infopath%g |
11446 s%@infopath_user_defined@%$infopath_user_defined%g | 11524 s%@infopath_user_defined@%$infopath_user_defined%g |
11525 s%@packagepath@%$packagepath%g | |
11526 s%@packagepath_user_defined@%$packagepath_user_defined%g | |
11447 s%@lispdir@%$lispdir%g | 11527 s%@lispdir@%$lispdir%g |
11448 s%@lispdir_user_defined@%$lispdir_user_defined%g | 11528 s%@lispdir_user_defined@%$lispdir_user_defined%g |
11449 s%@sitelispdir@%$sitelispdir%g | 11529 s%@sitelispdir@%$sitelispdir%g |
11530 s%@sitelispdir_user_defined@%$sitelispdir_user_defined%g | |
11450 s%@etcdir@%$etcdir%g | 11531 s%@etcdir@%$etcdir%g |
11451 s%@etcdir_user_defined@%$etcdir_user_defined%g | 11532 s%@etcdir_user_defined@%$etcdir_user_defined%g |
11452 s%@lockdir@%$lockdir%g | 11533 s%@lockdir@%$lockdir%g |
11453 s%@lockdir_user_defined@%$lockdir_user_defined%g | 11534 s%@lockdir_user_defined@%$lockdir_user_defined%g |
11454 s%@archlibdir@%$archlibdir%g | 11535 s%@archlibdir@%$archlibdir%g |