Mercurial > hg > xemacs-beta
comparison configure @ 380:8626e4521993 r21-2-5
Import from CVS: tag r21-2-5
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:07:10 +0200 |
| parents | d883f39b8495 |
| children | bbff43aa5eb7 |
comparison
equal
deleted
inserted
replaced
| 379:76b7d63099ad | 380:8626e4521993 |
|---|---|
| 297 valomitted="no" val="no" ;; | 297 valomitted="no" val="no" ;; |
| 298 esac | 298 esac |
| 299 | 299 |
| 300 case "$opt" in | 300 case "$opt" in |
| 301 | 301 |
| 302 run_in_place | \ | 302 with_site_lisp | \ |
| 303 with_site_lisp | \ | |
| 304 with_x | \ | 303 with_x | \ |
| 305 with_x11 | \ | 304 with_x11 | \ |
| 306 with_msw | \ | 305 with_msw | \ |
| 307 with_gcc | \ | 306 with_gcc | \ |
| 308 with_gnu_make | \ | |
| 309 dynamic | \ | 307 dynamic | \ |
| 310 with_ncurses | \ | 308 with_ncurses | \ |
| 311 with_dnet | \ | 309 with_dnet | \ |
| 312 with_socks | \ | 310 with_socks | \ |
| 313 with_dragndrop | \ | 311 with_dragndrop | \ |
| 320 with_jpeg | \ | 318 with_jpeg | \ |
| 321 with_png | \ | 319 with_png | \ |
| 322 with_tiff | \ | 320 with_tiff | \ |
| 323 with_session | \ | 321 with_session | \ |
| 324 with_xmu | \ | 322 with_xmu | \ |
| 323 with_purify | \ | |
| 325 with_quantify | \ | 324 with_quantify | \ |
| 326 with_toolbars | \ | 325 with_toolbars | \ |
| 327 with_tty | \ | 326 with_tty | \ |
| 328 with_xfs | \ | 327 with_xfs | \ |
| 329 with_i18n3 | \ | 328 with_i18n3 | \ |
| 330 with_mule | \ | 329 with_mule | \ |
| 331 with_file_coding | \ | 330 with_file_coding| \ |
| 332 with_canna | \ | 331 with_canna | \ |
| 333 with_wnn | \ | 332 with_wnn | \ |
| 334 with_wnn6 | \ | 333 with_wnn6 | \ |
| 335 with_workshop | \ | 334 with_workshop | \ |
| 336 with_sparcworks | \ | 335 with_sparcworks | \ |
| 337 with_tooltalk | \ | 336 with_tooltalk | \ |
| 338 with_ldap | \ | 337 with_ldap | \ |
| 339 with_pop | \ | 338 with_pop | \ |
| 340 with_kerberos | \ | 339 with_kerberos | \ |
| 341 with_hesiod | \ | 340 with_hesiod | \ |
| 342 with_dnet | \ | 341 with_dnet | \ |
| 343 with_infodock | \ | 342 with_infodock | \ |
| 344 external_widget | \ | 343 external_widget | \ |
| 345 verbose | \ | 344 verbose | \ |
| 346 extra_verbose | \ | 345 extra_verbose | \ |
| 347 const_is_losing | \ | 346 const_is_losing | \ |
| 348 usage_tracking | \ | 347 usage_tracking | \ |
| 349 use_union_type | \ | 348 use_union_type | \ |
| 350 debug | \ | 349 debug | \ |
| 351 use_assertions | \ | 350 use_assertions | \ |
| 351 gung_ho | \ | |
| 352 use_minimal_tagbits | \ | 352 use_minimal_tagbits | \ |
| 353 use_indexed_lrecord_implementation | \ | 353 use_indexed_lrecord_implementation | \ |
| 354 gung_ho | \ | |
| 355 use_assertions | \ | |
| 356 memory_usage_stats | \ | 354 memory_usage_stats | \ |
| 357 with_clash_detection | \ | 355 with_clash_detection | \ |
| 358 with_shlib | \ | 356 with_shlib | \ |
| 359 no_doc_file ) | 357 no_doc_file ) |
| 360 case "$val" in | 358 case "$val" in |
| 361 y | ye | yes ) val=yes ;; | 359 y | ye | yes ) val=yes ;; |
| 362 n | no ) val=no ;; | 360 n | no ) val=no ;; |
| 363 * ) (echo "$progname: Usage error:" | 361 * ) (echo "$progname: Usage error:" |
| 364 echo " " "The \`--$optname' option requires a boolean value: \`yes' or \`no'." | 362 echo " " "The \`--$optname' option requires a boolean value: \`yes' or \`no'." |
| 365 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 363 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 366 esac | 364 esac |
| 367 eval "$opt=\"$val\"" ;; | 365 eval "$opt=\"$val\"" ;; |
| 368 | 366 |
| 369 | 367 |
| 370 srcdir | \ | 368 srcdir | \ |
| 371 compiler | \ | 369 compiler | \ |
| 372 cflags | \ | 370 cflags | \ |
| 374 cppflags | \ | 372 cppflags | \ |
| 375 libs | \ | 373 libs | \ |
| 376 ldflags | \ | 374 ldflags | \ |
| 377 puresize | \ | 375 puresize | \ |
| 378 cache_file | \ | 376 cache_file | \ |
| 379 native_sound_lib | \ | 377 native_sound_lib| \ |
| 380 site_lisp | \ | 378 site_lisp | \ |
| 381 x_includes | \ | 379 x_includes | \ |
| 382 x_libraries | \ | 380 x_libraries | \ |
| 383 site_includes | \ | 381 site_includes | \ |
| 384 site_libraries | \ | 382 site_libraries | \ |
| 423 d | db | dbm ) with_database_dbm=yes ;; | 421 d | db | dbm ) with_database_dbm=yes ;; |
| 424 g | gn | gnu | gnud | gnudb | gnudbm ) with_database_gnudbm=yes ;; | 422 g | gn | gnu | gnud | gnudb | gnudbm ) with_database_gnudbm=yes ;; |
| 425 * ) (echo "$progname: Usage error:" | 423 * ) (echo "$progname: Usage error:" |
| 426 echo " " "The \`--$optname' option value | 424 echo " " "The \`--$optname' option value |
| 427 must be either \`no' or a comma-separated list | 425 must be either \`no' or a comma-separated list |
| 428 of one or more of \`berkdb', \`dbm', or \`gnudbm'." | 426 of one or more of \`berkdb' and either \`dbm' or \`gnudbm'." |
| 429 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 427 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 430 esac | 428 esac |
| 431 done | 429 done |
| 432 if test "$with_database_dbm" = "yes" -a \ | 430 if test "$with_database_dbm" = "yes" -a \ |
| 433 "$with_database_gnudbm" = "yes"; then | 431 "$with_database_gnudbm" = "yes"; then |
| 464 \`motif', \`xlib', \`yes', or \`no'." | 462 \`motif', \`xlib', \`yes', or \`no'." |
| 465 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 463 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 466 esac | 464 esac |
| 467 eval "$opt=\"$val\"" | 465 eval "$opt=\"$val\"" |
| 468 ;; | 466 ;; |
| 469 | |
| 470 "with_xfs" ) | |
| 471 case "$val" in | |
| 472 y | ye | yes ) val=yes ;; | |
| 473 n | no | non | none ) val=no ;; | |
| 474 * ) (echo "$progname: Usage error:" | |
| 475 echo " " "The \`--$optname' option must have one of these values: | |
| 476 \`yes', or \`no'." | |
| 477 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
| 478 esac | |
| 479 eval "$opt=\"$val\"" | |
| 480 ;; | |
| 481 | 467 |
| 482 "mail_locking" ) | 468 "mail_locking" ) |
| 483 case "$val" in | 469 case "$val" in |
| 484 lockf ) val=lockf ;; | 470 lockf ) val=lockf ;; |
| 485 flock ) val=flock ;; | 471 flock ) val=flock ;; |
| 540 ;; | 526 ;; |
| 541 | 527 |
| 542 | 528 |
| 543 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 529 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
| 544 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ | 530 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ |
| 545 archlibdir | docdir | package_path ) | 531 archlibdir | docdir | package_path ) |
| 546 if test "$valomitted" = "yes"; then | 532 if test "$valomitted" = "yes"; then |
| 547 if test "$#" = 0; then | 533 if test "$#" = 0; then |
| 548 (echo "$progname: Usage error:" | 534 (echo "$progname: Usage error:" |
| 549 echo " " "The \`--$optname' option requires a value." | 535 echo " " "The \`--$optname' option requires a value." |
| 550 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; | 536 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; |
| 640 | 626 |
| 641 "no_create" ) ;; | 627 "no_create" ) ;; |
| 642 | 628 |
| 643 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; | 629 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; |
| 644 | 630 |
| 645 "with_menubars" | "with_scrollbars" | "with_dialogs" ) | 631 "with_menubars" | \ |
| 632 "with_scrollbars" | \ | |
| 633 "with_dialogs" ) | |
| 646 case "$val" in | 634 case "$val" in |
| 647 l | lu | luc | luci | lucid ) val=lucid ;; | 635 l | lu | luc | luci | lucid ) val=lucid ;; |
| 648 m | mo | mot | moti | motif ) val=motif ;; | 636 m | mo | mot | moti | motif ) val=motif ;; |
| 649 athena3d | athena-3d ) val=athena3d ;; | 637 athena3d | athena-3d ) val=athena3d ;; |
| 650 a | at | ath | athe | athen | athena ) val=athena ;; | 638 a | at | ath | athe | athen | athena ) val=athena ;; |
| 655 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 643 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 656 esac | 644 esac |
| 657 eval "$opt=\"$val\"" | 645 eval "$opt=\"$val\"" |
| 658 ;; | 646 ;; |
| 659 | 647 |
| 648 "run_in_place" | \ | |
| 649 "with_gnu_make" ) | |
| 650 echo "configure: warning: Obsolete option \`--$optname' ignored." 1>&2 | |
| 651 ;; | |
| 652 | |
| 660 * ) (echo "$progname: Usage error:" | 653 * ) (echo "$progname: Usage error:" |
| 661 echo " " "Unrecognized option: $arg" | 654 echo " " "Unrecognized option: $arg" |
| 662 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 655 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 663 | 656 |
| 664 esac | 657 esac |
| 681 | 674 |
| 682 eval set x "$quoted_arguments"; shift | 675 eval set x "$quoted_arguments"; shift |
| 683 | 676 |
| 684 test "$extra_verbose" = "yes" && verbose=yes | 677 test "$extra_verbose" = "yes" && verbose=yes |
| 685 | 678 |
| 686 case "$site_includes" in *:* ) site_includes="`echo '' $site_includes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 687 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 688 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 689 case "$site_runtime_libraries" in *:* ) site_runtime_libraries="`echo '' $site_runtime_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 690 | |
| 691 test -n "$with_x" && with_x11="$with_x" | 679 test -n "$with_x" && with_x11="$with_x" |
| 692 | 680 |
| 681 if test "$with_purify" = "yes" -o "$with_quantify" = "yes"; then | |
| 682 test "$with_system_malloc" = "default" && with_system_malloc=yes | |
| 683 fi | |
| 693 | 684 |
| 694 if test -n "$gung_ho"; then | 685 if test -n "$gung_ho"; then |
| 695 test -z "$use_minimal_tagbits" && use_minimal_tagbits="$gung_ho" | 686 test -z "$use_minimal_tagbits" && use_minimal_tagbits="$gung_ho" |
| 696 test -z "$use_indexed_lrecord_implementation" && \ | 687 test -z "$use_indexed_lrecord_implementation" && \ |
| 697 use_indexed_lrecord_implementation="$gung_ho" | 688 use_indexed_lrecord_implementation="$gung_ho" |
| 712 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 703 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 713 elif test "$with_tooltalk" = "no" ; then with_cde=no | 704 elif test "$with_tooltalk" = "no" ; then with_cde=no |
| 714 elif test "$with_cde" = "yes"; then with_tooltalk=yes | 705 elif test "$with_cde" = "yes"; then with_tooltalk=yes |
| 715 fi | 706 fi |
| 716 | 707 |
| 717 | |
| 718 if test "$run_in_place" = "yes"; then | |
| 719 echo "configure: warning: "The --run-in-place option is ignored because it is unnecessary."" 1>&2 | |
| 720 fi | |
| 721 | 708 |
| 722 case "$srcdir" in | 709 case "$srcdir" in |
| 723 | 710 |
| 724 "" ) | 711 "" ) |
| 725 for dir in "`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'`" "." ".." ; do | 712 for dir in "`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'`" "." ".." ; do |
| 752 fi | 739 fi |
| 753 ;; | 740 ;; |
| 754 esac | 741 esac |
| 755 | 742 |
| 756 if test -z "$configuration"; then | 743 if test -z "$configuration"; then |
| 757 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 744 configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess` |
| 758 echo "configure:759: checking "host system type"" >&5 | 745 if test -z "$configuration"; then |
| 759 if configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess | \ | |
| 760 sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ; then | |
| 761 echo "$ac_t""$configuration" 1>&6 | |
| 762 else | |
| 763 echo "$ac_t""unknown" 1>&6 | |
| 764 (echo "$progname: Usage error:" | 746 (echo "$progname: Usage error:" |
| 765 echo " " "XEmacs has not been ported to this host type. | 747 echo " " "XEmacs has not been ported to this host type. |
| 766 Try explicitly specifying the CONFIGURATION when rerunning configure." | 748 Try explicitly specifying the CONFIGURATION when rerunning configure." |
| 767 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 749 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 768 fi | 750 fi |
| 769 fi | 751 fi |
| 770 | 752 |
| 771 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 753 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 772 echo "configure:773: checking whether ln -s works" >&5 | 754 echo "configure:755: checking whether ln -s works" >&5 |
| 773 | 755 |
| 774 rm -f conftestdata | 756 rm -f conftestdata |
| 775 if ln -s X conftestdata 2>/dev/null | 757 if ln -s X conftestdata 2>/dev/null |
| 776 then | 758 then |
| 777 rm -f conftestdata | 759 rm -f conftestdata |
| 982 EOF | 964 EOF |
| 983 } | 965 } |
| 984 | 966 |
| 985 | 967 |
| 986 | 968 |
| 987 echo "checking "the configuration name"" 1>&6 | 969 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 988 echo "configure:989: checking "the configuration name"" >&5 | 970 echo "configure:971: checking "host system type"" >&5 |
| 989 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 971 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 990 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 972 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
| 991 exit $? | 973 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 992 fi | 974 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 975 echo "$ac_t""$configuration" 1>&6 | |
| 993 | 976 |
| 994 | 977 |
| 995 | 978 |
| 996 | 979 |
| 997 | 980 |
| 1010 hppa-*-* ) machine=hp800 ;; | 993 hppa-*-* ) machine=hp800 ;; |
| 1011 m88k-dg-* ) machine=aviion ;; | 994 m88k-dg-* ) machine=aviion ;; |
| 1012 m68*-sony-* ) machine=news ;; | 995 m68*-sony-* ) machine=news ;; |
| 1013 mips-sony-* ) machine=news-risc ;; | 996 mips-sony-* ) machine=news-risc ;; |
| 1014 clipper-* ) machine=clipper ;; | 997 clipper-* ) machine=clipper ;; |
| 998 arm-* ) machine=arm ;; | |
| 999 ns32k-* ) machine=ns32000 ;; | |
| 1015 esac | 1000 esac |
| 1016 | 1001 |
| 1017 case "$canonical" in | 1002 case "$canonical" in |
| 1018 *-*-linux* ) opsys=linux ;; | 1003 *-*-linux* ) opsys=linux ;; |
| 1019 *-*-netbsd* ) opsys=netbsd ;; | 1004 *-*-netbsd* ) opsys=netbsd ;; |
| 1072 esac | 1057 esac |
| 1073 ;; | 1058 ;; |
| 1074 | 1059 |
| 1075 *-*-openbsd* ) | 1060 *-*-openbsd* ) |
| 1076 case "${canonical}" in | 1061 case "${canonical}" in |
| 1077 alpha*-*-openbsd*) machine=alpha ;; | |
| 1078 i386-*-openbsd*) machine=intel386 ;; | 1062 i386-*-openbsd*) machine=intel386 ;; |
| 1079 m68k-*-openbsd*) machine=hp9000s300 ;; | 1063 m68k-*-openbsd*) machine=hp9000s300 ;; |
| 1080 mipsel-*-openbsd*) machine=pmax ;; | 1064 mipsel-*-openbsd*) machine=pmax ;; |
| 1081 ns32k-*-openbsd*) machine=ns32000 ;; | |
| 1082 sparc-*-openbsd*) machine=sparc ;; | |
| 1083 vax-*-openbsd*) machine=vax ;; | |
| 1084 esac | 1065 esac |
| 1085 ;; | 1066 ;; |
| 1086 | 1067 |
| 1087 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; | 1068 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; |
| 1088 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; | 1069 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; |
| 1375 esac | 1356 esac |
| 1376 ;; | 1357 ;; |
| 1377 | 1358 |
| 1378 m68k-*-linux* ) machine=m68k opsys=linux ;; | 1359 m68k-*-linux* ) machine=m68k opsys=linux ;; |
| 1379 | 1360 |
| 1380 arm-*-linux* ) machine=arm opsys=linux ;; | |
| 1381 | |
| 1382 esac | 1361 esac |
| 1383 | 1362 |
| 1384 if test -z "$machine" -o -z "$opsys"; then | 1363 if test -z "$machine" -o -z "$opsys"; then |
| 1385 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." | 1364 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." |
| 1386 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." | 1365 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." |
| 1475 xe_save_CFLAGS="$CFLAGS" | 1454 xe_save_CFLAGS="$CFLAGS" |
| 1476 | 1455 |
| 1477 # Extract the first word of "gcc", so it can be a program name with args. | 1456 # Extract the first word of "gcc", so it can be a program name with args. |
| 1478 set dummy gcc; ac_word=$2 | 1457 set dummy gcc; ac_word=$2 |
| 1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1480 echo "configure:1481: checking for $ac_word" >&5 | 1459 echo "configure:1460: checking for $ac_word" >&5 |
| 1481 | 1460 |
| 1482 if test -n "$CC"; then | 1461 if test -n "$CC"; then |
| 1483 ac_cv_prog_CC="$CC" # Let the user override the test. | 1462 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1484 else | 1463 else |
| 1485 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1501 | 1480 |
| 1502 if test -z "$CC"; then | 1481 if test -z "$CC"; then |
| 1503 # Extract the first word of "cc", so it can be a program name with args. | 1482 # Extract the first word of "cc", so it can be a program name with args. |
| 1504 set dummy cc; ac_word=$2 | 1483 set dummy cc; ac_word=$2 |
| 1505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1506 echo "configure:1507: checking for $ac_word" >&5 | 1485 echo "configure:1486: checking for $ac_word" >&5 |
| 1507 | 1486 |
| 1508 if test -n "$CC"; then | 1487 if test -n "$CC"; then |
| 1509 ac_cv_prog_CC="$CC" # Let the user override the test. | 1488 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1510 else | 1489 else |
| 1511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1490 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1546 | 1525 |
| 1547 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1526 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1548 fi | 1527 fi |
| 1549 | 1528 |
| 1550 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1529 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1551 echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1530 echo "configure:1531: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1552 | 1531 |
| 1553 ac_ext=c | 1532 ac_ext=c |
| 1554 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1533 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1555 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1534 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1556 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1535 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1558 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1537 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1559 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1538 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1560 cross_compiling=no | 1539 cross_compiling=no |
| 1561 | 1540 |
| 1562 cat > conftest.$ac_ext <<EOF | 1541 cat > conftest.$ac_ext <<EOF |
| 1563 #line 1564 "configure" | 1542 #line 1543 "configure" |
| 1564 #include "confdefs.h" | 1543 #include "confdefs.h" |
| 1565 main(){return(0);} | 1544 main(){return(0);} |
| 1566 EOF | 1545 EOF |
| 1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1546 if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1568 ac_cv_prog_cc_works=yes | 1547 ac_cv_prog_cc_works=yes |
| 1569 # If we can't run a trivial program, we are probably using a cross compiler. | 1548 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1570 if (./conftest; exit) 2>/dev/null; then | 1549 if (./conftest; exit) 2>/dev/null; then |
| 1571 ac_cv_prog_cc_cross=no | 1550 ac_cv_prog_cc_cross=no |
| 1572 else | 1551 else |
| 1582 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1561 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1583 if test $ac_cv_prog_cc_works = no; then | 1562 if test $ac_cv_prog_cc_works = no; then |
| 1584 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1563 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1585 fi | 1564 fi |
| 1586 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1565 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1587 echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1566 echo "configure:1567: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1588 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1567 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1589 cross_compiling=$ac_cv_prog_cc_cross | 1568 cross_compiling=$ac_cv_prog_cc_cross |
| 1590 | 1569 |
| 1591 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1570 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1592 echo "configure:1593: checking whether we are using GNU C" >&5 | 1571 echo "configure:1572: checking whether we are using GNU C" >&5 |
| 1593 | 1572 |
| 1594 cat > conftest.c <<EOF | 1573 cat > conftest.c <<EOF |
| 1595 #ifdef __GNUC__ | 1574 #ifdef __GNUC__ |
| 1596 yes; | 1575 yes; |
| 1597 #endif | 1576 #endif |
| 1598 EOF | 1577 EOF |
| 1599 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1578 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1600 ac_cv_prog_gcc=yes | 1579 ac_cv_prog_gcc=yes |
| 1601 else | 1580 else |
| 1602 ac_cv_prog_gcc=no | 1581 ac_cv_prog_gcc=no |
| 1603 fi | 1582 fi |
| 1604 | 1583 |
| 1608 GCC=yes | 1587 GCC=yes |
| 1609 ac_test_CFLAGS="${CFLAGS+set}" | 1588 ac_test_CFLAGS="${CFLAGS+set}" |
| 1610 ac_save_CFLAGS="$CFLAGS" | 1589 ac_save_CFLAGS="$CFLAGS" |
| 1611 CFLAGS= | 1590 CFLAGS= |
| 1612 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1591 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1613 echo "configure:1614: checking whether ${CC-cc} accepts -g" >&5 | 1592 echo "configure:1593: checking whether ${CC-cc} accepts -g" >&5 |
| 1614 | 1593 |
| 1615 echo 'void f(){}' > conftest.c | 1594 echo 'void f(){}' > conftest.c |
| 1616 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1595 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1617 ac_cv_prog_cc_g=yes | 1596 ac_cv_prog_cc_g=yes |
| 1618 else | 1597 else |
| 1637 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1616 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1638 CC=${NON_GNU_CC-cc} | 1617 CC=${NON_GNU_CC-cc} |
| 1639 # Extract the first word of "gcc", so it can be a program name with args. | 1618 # Extract the first word of "gcc", so it can be a program name with args. |
| 1640 set dummy gcc; ac_word=$2 | 1619 set dummy gcc; ac_word=$2 |
| 1641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1642 echo "configure:1643: checking for $ac_word" >&5 | 1621 echo "configure:1622: checking for $ac_word" >&5 |
| 1643 | 1622 |
| 1644 if test -n "$CC"; then | 1623 if test -n "$CC"; then |
| 1645 ac_cv_prog_CC="$CC" # Let the user override the test. | 1624 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1646 else | 1625 else |
| 1647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1663 | 1642 |
| 1664 if test -z "$CC"; then | 1643 if test -z "$CC"; then |
| 1665 # Extract the first word of "cc", so it can be a program name with args. | 1644 # Extract the first word of "cc", so it can be a program name with args. |
| 1666 set dummy cc; ac_word=$2 | 1645 set dummy cc; ac_word=$2 |
| 1667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1668 echo "configure:1669: checking for $ac_word" >&5 | 1647 echo "configure:1648: checking for $ac_word" >&5 |
| 1669 | 1648 |
| 1670 if test -n "$CC"; then | 1649 if test -n "$CC"; then |
| 1671 ac_cv_prog_CC="$CC" # Let the user override the test. | 1650 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1672 else | 1651 else |
| 1673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1708 | 1687 |
| 1709 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1688 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1710 fi | 1689 fi |
| 1711 | 1690 |
| 1712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1691 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1713 echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1692 echo "configure:1693: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1714 | 1693 |
| 1715 ac_ext=c | 1694 ac_ext=c |
| 1716 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1695 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1717 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1696 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1718 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1697 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1720 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1699 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1721 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1700 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1722 cross_compiling=no | 1701 cross_compiling=no |
| 1723 | 1702 |
| 1724 cat > conftest.$ac_ext <<EOF | 1703 cat > conftest.$ac_ext <<EOF |
| 1725 #line 1726 "configure" | 1704 #line 1705 "configure" |
| 1726 #include "confdefs.h" | 1705 #include "confdefs.h" |
| 1727 main(){return(0);} | 1706 main(){return(0);} |
| 1728 EOF | 1707 EOF |
| 1729 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1708 if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1730 ac_cv_prog_cc_works=yes | 1709 ac_cv_prog_cc_works=yes |
| 1731 # If we can't run a trivial program, we are probably using a cross compiler. | 1710 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1732 if (./conftest; exit) 2>/dev/null; then | 1711 if (./conftest; exit) 2>/dev/null; then |
| 1733 ac_cv_prog_cc_cross=no | 1712 ac_cv_prog_cc_cross=no |
| 1734 else | 1713 else |
| 1744 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1723 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1745 if test $ac_cv_prog_cc_works = no; then | 1724 if test $ac_cv_prog_cc_works = no; then |
| 1746 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1725 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1747 fi | 1726 fi |
| 1748 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1749 echo "configure:1750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1728 echo "configure:1729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1750 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1729 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1751 cross_compiling=$ac_cv_prog_cc_cross | 1730 cross_compiling=$ac_cv_prog_cc_cross |
| 1752 | 1731 |
| 1753 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1732 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1754 echo "configure:1755: checking whether we are using GNU C" >&5 | 1733 echo "configure:1734: checking whether we are using GNU C" >&5 |
| 1755 | 1734 |
| 1756 cat > conftest.c <<EOF | 1735 cat > conftest.c <<EOF |
| 1757 #ifdef __GNUC__ | 1736 #ifdef __GNUC__ |
| 1758 yes; | 1737 yes; |
| 1759 #endif | 1738 #endif |
| 1760 EOF | 1739 EOF |
| 1761 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1740 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1762 ac_cv_prog_gcc=yes | 1741 ac_cv_prog_gcc=yes |
| 1763 else | 1742 else |
| 1764 ac_cv_prog_gcc=no | 1743 ac_cv_prog_gcc=no |
| 1765 fi | 1744 fi |
| 1766 | 1745 |
| 1770 GCC=yes | 1749 GCC=yes |
| 1771 ac_test_CFLAGS="${CFLAGS+set}" | 1750 ac_test_CFLAGS="${CFLAGS+set}" |
| 1772 ac_save_CFLAGS="$CFLAGS" | 1751 ac_save_CFLAGS="$CFLAGS" |
| 1773 CFLAGS= | 1752 CFLAGS= |
| 1774 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1753 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1775 echo "configure:1776: checking whether ${CC-cc} accepts -g" >&5 | 1754 echo "configure:1755: checking whether ${CC-cc} accepts -g" >&5 |
| 1776 | 1755 |
| 1777 echo 'void f(){}' > conftest.c | 1756 echo 'void f(){}' > conftest.c |
| 1778 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1757 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1779 ac_cv_prog_cc_g=yes | 1758 ac_cv_prog_cc_g=yes |
| 1780 else | 1759 else |
| 1799 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1778 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 1800 CC=gcc | 1779 CC=gcc |
| 1801 # Extract the first word of "gcc", so it can be a program name with args. | 1780 # Extract the first word of "gcc", so it can be a program name with args. |
| 1802 set dummy gcc; ac_word=$2 | 1781 set dummy gcc; ac_word=$2 |
| 1803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1782 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1804 echo "configure:1805: checking for $ac_word" >&5 | 1783 echo "configure:1784: checking for $ac_word" >&5 |
| 1805 | 1784 |
| 1806 if test -n "$CC"; then | 1785 if test -n "$CC"; then |
| 1807 ac_cv_prog_CC="$CC" # Let the user override the test. | 1786 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1808 else | 1787 else |
| 1809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1825 | 1804 |
| 1826 if test -z "$CC"; then | 1805 if test -z "$CC"; then |
| 1827 # Extract the first word of "cc", so it can be a program name with args. | 1806 # Extract the first word of "cc", so it can be a program name with args. |
| 1828 set dummy cc; ac_word=$2 | 1807 set dummy cc; ac_word=$2 |
| 1829 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1830 echo "configure:1831: checking for $ac_word" >&5 | 1809 echo "configure:1810: checking for $ac_word" >&5 |
| 1831 | 1810 |
| 1832 if test -n "$CC"; then | 1811 if test -n "$CC"; then |
| 1833 ac_cv_prog_CC="$CC" # Let the user override the test. | 1812 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1834 else | 1813 else |
| 1835 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 1870 | 1849 |
| 1871 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1850 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1872 fi | 1851 fi |
| 1873 | 1852 |
| 1874 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1853 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1875 echo "configure:1876: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1854 echo "configure:1855: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1876 | 1855 |
| 1877 ac_ext=c | 1856 ac_ext=c |
| 1878 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1857 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1879 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1858 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1880 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1859 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1882 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1861 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
| 1883 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1862 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1884 cross_compiling=no | 1863 cross_compiling=no |
| 1885 | 1864 |
| 1886 cat > conftest.$ac_ext <<EOF | 1865 cat > conftest.$ac_ext <<EOF |
| 1887 #line 1888 "configure" | 1866 #line 1867 "configure" |
| 1888 #include "confdefs.h" | 1867 #include "confdefs.h" |
| 1889 main(){return(0);} | 1868 main(){return(0);} |
| 1890 EOF | 1869 EOF |
| 1891 if { (eval echo configure:1892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1870 if { (eval echo configure:1871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 1892 ac_cv_prog_cc_works=yes | 1871 ac_cv_prog_cc_works=yes |
| 1893 # If we can't run a trivial program, we are probably using a cross compiler. | 1872 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1894 if (./conftest; exit) 2>/dev/null; then | 1873 if (./conftest; exit) 2>/dev/null; then |
| 1895 ac_cv_prog_cc_cross=no | 1874 ac_cv_prog_cc_cross=no |
| 1896 else | 1875 else |
| 1906 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1885 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1907 if test $ac_cv_prog_cc_works = no; then | 1886 if test $ac_cv_prog_cc_works = no; then |
| 1908 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1887 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1909 fi | 1888 fi |
| 1910 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1889 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1911 echo "configure:1912: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1890 echo "configure:1891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1912 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1891 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1913 cross_compiling=$ac_cv_prog_cc_cross | 1892 cross_compiling=$ac_cv_prog_cc_cross |
| 1914 | 1893 |
| 1915 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1894 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1916 echo "configure:1917: checking whether we are using GNU C" >&5 | 1895 echo "configure:1896: checking whether we are using GNU C" >&5 |
| 1917 | 1896 |
| 1918 cat > conftest.c <<EOF | 1897 cat > conftest.c <<EOF |
| 1919 #ifdef __GNUC__ | 1898 #ifdef __GNUC__ |
| 1920 yes; | 1899 yes; |
| 1921 #endif | 1900 #endif |
| 1922 EOF | 1901 EOF |
| 1923 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1902 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1924 ac_cv_prog_gcc=yes | 1903 ac_cv_prog_gcc=yes |
| 1925 else | 1904 else |
| 1926 ac_cv_prog_gcc=no | 1905 ac_cv_prog_gcc=no |
| 1927 fi | 1906 fi |
| 1928 | 1907 |
| 1932 GCC=yes | 1911 GCC=yes |
| 1933 ac_test_CFLAGS="${CFLAGS+set}" | 1912 ac_test_CFLAGS="${CFLAGS+set}" |
| 1934 ac_save_CFLAGS="$CFLAGS" | 1913 ac_save_CFLAGS="$CFLAGS" |
| 1935 CFLAGS= | 1914 CFLAGS= |
| 1936 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1915 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1937 echo "configure:1938: checking whether ${CC-cc} accepts -g" >&5 | 1916 echo "configure:1917: checking whether ${CC-cc} accepts -g" >&5 |
| 1938 | 1917 |
| 1939 echo 'void f(){}' > conftest.c | 1918 echo 'void f(){}' > conftest.c |
| 1940 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1919 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1941 ac_cv_prog_cc_g=yes | 1920 ac_cv_prog_cc_g=yes |
| 1942 else | 1921 else |
| 1965 test -n "$CPP" -a -d "$CPP" && CPP= | 1944 test -n "$CPP" -a -d "$CPP" && CPP= |
| 1966 | 1945 |
| 1967 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1946 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 1968 | 1947 |
| 1969 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1948 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1970 echo "configure:1971: checking how to run the C preprocessor" >&5 | 1949 echo "configure:1950: checking how to run the C preprocessor" >&5 |
| 1971 # On Suns, sometimes $CPP names a directory. | 1950 # On Suns, sometimes $CPP names a directory. |
| 1972 if test -n "$CPP" && test -d "$CPP"; then | 1951 if test -n "$CPP" && test -d "$CPP"; then |
| 1973 CPP= | 1952 CPP= |
| 1974 fi | 1953 fi |
| 1975 if test -z "$CPP"; then | 1954 if test -z "$CPP"; then |
| 1978 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1957 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1979 CPP="${CC-cc} -E" | 1958 CPP="${CC-cc} -E" |
| 1980 # On the NeXT, cc -E runs the code through the compiler's parser, | 1959 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1981 # not just through cpp. | 1960 # not just through cpp. |
| 1982 cat > conftest.$ac_ext <<EOF | 1961 cat > conftest.$ac_ext <<EOF |
| 1983 #line 1984 "configure" | 1962 #line 1963 "configure" |
| 1984 #include "confdefs.h" | 1963 #include "confdefs.h" |
| 1985 #include <assert.h> | 1964 #include <assert.h> |
| 1986 Syntax Error | 1965 Syntax Error |
| 1987 EOF | 1966 EOF |
| 1988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1989 { (eval echo configure:1990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1968 { (eval echo configure:1969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1990 ac_err=`grep -v '^ *+' conftest.out` | 1969 ac_err=`grep -v '^ *+' conftest.out` |
| 1991 if test -z "$ac_err"; then | 1970 if test -z "$ac_err"; then |
| 1992 : | 1971 : |
| 1993 else | 1972 else |
| 1994 echo "$ac_err" >&5 | 1973 echo "$ac_err" >&5 |
| 1995 echo "configure: failed program was:" >&5 | 1974 echo "configure: failed program was:" >&5 |
| 1996 cat conftest.$ac_ext >&5 | 1975 cat conftest.$ac_ext >&5 |
| 1997 rm -rf conftest* | 1976 rm -rf conftest* |
| 1998 CPP="${CC-cc} -E -traditional-cpp" | 1977 CPP="${CC-cc} -E -traditional-cpp" |
| 1999 cat > conftest.$ac_ext <<EOF | 1978 cat > conftest.$ac_ext <<EOF |
| 2000 #line 2001 "configure" | 1979 #line 1980 "configure" |
| 2001 #include "confdefs.h" | 1980 #include "confdefs.h" |
| 2002 #include <assert.h> | 1981 #include <assert.h> |
| 2003 Syntax Error | 1982 Syntax Error |
| 2004 EOF | 1983 EOF |
| 2005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2006 { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1985 { (eval echo configure:1986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2007 ac_err=`grep -v '^ *+' conftest.out` | 1986 ac_err=`grep -v '^ *+' conftest.out` |
| 2008 if test -z "$ac_err"; then | 1987 if test -z "$ac_err"; then |
| 2009 : | 1988 : |
| 2010 else | 1989 else |
| 2011 echo "$ac_err" >&5 | 1990 echo "$ac_err" >&5 |
| 2024 fi | 2003 fi |
| 2025 echo "$ac_t""$CPP" 1>&6 | 2004 echo "$ac_t""$CPP" 1>&6 |
| 2026 | 2005 |
| 2027 | 2006 |
| 2028 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2007 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2029 echo "configure:2030: checking for AIX" >&5 | 2008 echo "configure:2009: checking for AIX" >&5 |
| 2030 cat > conftest.$ac_ext <<EOF | 2009 cat > conftest.$ac_ext <<EOF |
| 2031 #line 2032 "configure" | 2010 #line 2011 "configure" |
| 2032 #include "confdefs.h" | 2011 #include "confdefs.h" |
| 2033 #ifdef _AIX | 2012 #ifdef _AIX |
| 2034 yes | 2013 yes |
| 2035 #endif | 2014 #endif |
| 2036 | 2015 |
| 2053 rm -f conftest* | 2032 rm -f conftest* |
| 2054 | 2033 |
| 2055 | 2034 |
| 2056 | 2035 |
| 2057 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2036 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2058 echo "configure:2059: checking for GNU libc" >&5 | 2037 echo "configure:2038: checking for GNU libc" >&5 |
| 2059 cat > conftest.$ac_ext <<EOF | 2038 cat > conftest.$ac_ext <<EOF |
| 2060 #line 2061 "configure" | 2039 #line 2040 "configure" |
| 2061 #include "confdefs.h" | 2040 #include "confdefs.h" |
| 2062 #include <features.h> | 2041 #include <features.h> |
| 2063 int main() { | 2042 int main() { |
| 2064 | 2043 |
| 2065 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2044 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2067 ******* ======= ******** &&&&&&&& | 2046 ******* ======= ******** &&&&&&&& |
| 2068 #endif | 2047 #endif |
| 2069 | 2048 |
| 2070 ; return 0; } | 2049 ; return 0; } |
| 2071 EOF | 2050 EOF |
| 2072 if { (eval echo configure:2073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2051 if { (eval echo configure:2052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2073 rm -rf conftest* | 2052 rm -rf conftest* |
| 2074 have_glibc=yes | 2053 have_glibc=yes |
| 2075 else | 2054 else |
| 2076 echo "configure: failed program was:" >&5 | 2055 echo "configure: failed program was:" >&5 |
| 2077 cat conftest.$ac_ext >&5 | 2056 cat conftest.$ac_ext >&5 |
| 2089 } | 2068 } |
| 2090 | 2069 |
| 2091 | 2070 |
| 2092 | 2071 |
| 2093 cat > conftest.$ac_ext <<EOF | 2072 cat > conftest.$ac_ext <<EOF |
| 2094 #line 2095 "configure" | 2073 #line 2074 "configure" |
| 2095 #include "confdefs.h" | 2074 #include "confdefs.h" |
| 2096 int main () { | 2075 int main () { |
| 2097 #if defined __SUNPRO_C | 2076 #if defined __SUNPRO_C |
| 2098 return 11; | 2077 return 11; |
| 2099 #elif defined __DECC | 2078 #elif defined __DECC |
| 2101 #else | 2080 #else |
| 2102 return 0; | 2081 return 0; |
| 2103 #endif | 2082 #endif |
| 2104 } | 2083 } |
| 2105 EOF | 2084 EOF |
| 2106 if { (eval echo configure:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2085 if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2107 then | 2086 then |
| 2108 : | 2087 : |
| 2109 else | 2088 else |
| 2110 conftest_rc="$?" | 2089 conftest_rc="$?" |
| 2111 echo "configure: failed program was:" >&5 | 2090 echo "configure: failed program was:" >&5 |
| 2276 configure___ mail_use_lockf=no | 2255 configure___ mail_use_lockf=no |
| 2277 #endif | 2256 #endif |
| 2278 | 2257 |
| 2279 EOF | 2258 EOF |
| 2280 | 2259 |
| 2281 CPP=`eval "echo $CPP"` | 2260 CPP=`eval "echo $CPP $CPPFLAGS"` |
| 2282 eval `$CPP -Isrc $tempcname \ | 2261 eval `$CPP -Isrc $tempcname \ |
| 2283 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2262 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
| 2284 | 2263 |
| 2285 rm $tempcname | 2264 rm $tempcname |
| 2286 | 2265 |
| 2312 | 2291 |
| 2313 if test "$GCC" = "yes"; then | 2292 if test "$GCC" = "yes"; then |
| 2314 set x $ld_switch_system; shift; ld_switch_system="" | 2293 set x $ld_switch_system; shift; ld_switch_system="" |
| 2315 while test -n "$1"; do | 2294 while test -n "$1"; do |
| 2316 case $1 in | 2295 case $1 in |
| 2317 -L | -l | -u ) ld_switch_system="$ld_switch_system $1 $2"; shift ;; | 2296 -L | -l | -u ) ld_switch_system="$ld_switch_system $1 $2"; shift ;; |
| 2318 -L* | -l* | -u* | -Wl* ) ld_switch_system="$ld_switch_system $1" ;; | 2297 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_system="$ld_switch_system $1" ;; |
| 2319 -Xlinker* ) ;; | 2298 -Xlinker* ) ;; |
| 2320 * ) ld_switch_system="$ld_switch_system -Xlinker $1" ;; | 2299 * ) ld_switch_system="$ld_switch_system -Xlinker $1" ;; |
| 2321 esac | 2300 esac |
| 2322 shift | 2301 shift |
| 2323 done | 2302 done |
| 2325 | 2304 |
| 2326 if test "$GCC" = "yes"; then | 2305 if test "$GCC" = "yes"; then |
| 2327 set x $ld_switch_machine; shift; ld_switch_machine="" | 2306 set x $ld_switch_machine; shift; ld_switch_machine="" |
| 2328 while test -n "$1"; do | 2307 while test -n "$1"; do |
| 2329 case $1 in | 2308 case $1 in |
| 2330 -L | -l | -u ) ld_switch_machine="$ld_switch_machine $1 $2"; shift ;; | 2309 -L | -l | -u ) ld_switch_machine="$ld_switch_machine $1 $2"; shift ;; |
| 2331 -L* | -l* | -u* | -Wl* ) ld_switch_machine="$ld_switch_machine $1" ;; | 2310 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_machine="$ld_switch_machine $1" ;; |
| 2332 -Xlinker* ) ;; | 2311 -Xlinker* ) ;; |
| 2333 * ) ld_switch_machine="$ld_switch_machine -Xlinker $1" ;; | 2312 * ) ld_switch_machine="$ld_switch_machine -Xlinker $1" ;; |
| 2334 esac | 2313 esac |
| 2335 shift | 2314 shift |
| 2336 done | 2315 done |
| 2338 | 2317 |
| 2339 if test "$GCC" = "yes"; then | 2318 if test "$GCC" = "yes"; then |
| 2340 set x $LDFLAGS; shift; LDFLAGS="" | 2319 set x $LDFLAGS; shift; LDFLAGS="" |
| 2341 while test -n "$1"; do | 2320 while test -n "$1"; do |
| 2342 case $1 in | 2321 case $1 in |
| 2343 -L | -l | -u ) LDFLAGS="$LDFLAGS $1 $2"; shift ;; | 2322 -L | -l | -u ) LDFLAGS="$LDFLAGS $1 $2"; shift ;; |
| 2344 -L* | -l* | -u* | -Wl* ) LDFLAGS="$LDFLAGS $1" ;; | 2323 -L* | -l* | -u* | -Wl* | -pg ) LDFLAGS="$LDFLAGS $1" ;; |
| 2345 -Xlinker* ) ;; | 2324 -Xlinker* ) ;; |
| 2346 * ) LDFLAGS="$LDFLAGS -Xlinker $1" ;; | 2325 * ) LDFLAGS="$LDFLAGS -Xlinker $1" ;; |
| 2347 esac | 2326 esac |
| 2348 shift | 2327 shift |
| 2349 done | 2328 done |
| 2351 | 2330 |
| 2352 if test "$GCC" = "yes"; then | 2331 if test "$GCC" = "yes"; then |
| 2353 set x $ld_call_shared; shift; ld_call_shared="" | 2332 set x $ld_call_shared; shift; ld_call_shared="" |
| 2354 while test -n "$1"; do | 2333 while test -n "$1"; do |
| 2355 case $1 in | 2334 case $1 in |
| 2356 -L | -l | -u ) ld_call_shared="$ld_call_shared $1 $2"; shift ;; | 2335 -L | -l | -u ) ld_call_shared="$ld_call_shared $1 $2"; shift ;; |
| 2357 -L* | -l* | -u* | -Wl* ) ld_call_shared="$ld_call_shared $1" ;; | 2336 -L* | -l* | -u* | -Wl* | -pg ) ld_call_shared="$ld_call_shared $1" ;; |
| 2358 -Xlinker* ) ;; | 2337 -Xlinker* ) ;; |
| 2359 * ) ld_call_shared="$ld_call_shared -Xlinker $1" ;; | 2338 * ) ld_call_shared="$ld_call_shared -Xlinker $1" ;; |
| 2360 esac | 2339 esac |
| 2361 shift | 2340 shift |
| 2362 done | 2341 done |
| 2371 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2350 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
| 2372 echo " xemacs will be linked with \"$unexec\"" | 2351 echo " xemacs will be linked with \"$unexec\"" |
| 2373 fi | 2352 fi |
| 2374 | 2353 |
| 2375 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2354 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2376 echo "configure:2377: checking for dynodump" >&5 | 2355 echo "configure:2356: checking for dynodump" >&5 |
| 2377 if test "$unexec" != "unexsol2.o"; then | 2356 if test "$unexec" != "unexsol2.o"; then |
| 2378 echo "$ac_t""no" 1>&6 | 2357 echo "$ac_t""no" 1>&6 |
| 2379 else | 2358 else |
| 2380 echo "$ac_t""yes" 1>&6 | 2359 echo "$ac_t""yes" 1>&6 |
| 2381 { test "$extra_verbose" = "yes" && cat << \EOF | 2360 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2409 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2388 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2410 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2389 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2411 done | 2390 done |
| 2412 | 2391 |
| 2413 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2392 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 2414 echo "configure:2415: checking for terminateAndUnload in -lC" >&5 | 2393 echo "configure:2394: checking for terminateAndUnload in -lC" >&5 |
| 2415 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2394 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 2416 | 2395 |
| 2417 xe_check_libs=" -lC " | 2396 xe_check_libs=" -lC " |
| 2418 cat > conftest.$ac_ext <<EOF | 2397 cat > conftest.$ac_ext <<EOF |
| 2419 #line 2420 "configure" | 2398 #line 2399 "configure" |
| 2420 #include "confdefs.h" | 2399 #include "confdefs.h" |
| 2421 /* Override any gcc2 internal prototype to avoid an error. */ | 2400 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2422 /* We use char because int might match the return type of a gcc2 | 2401 /* We use char because int might match the return type of a gcc2 |
| 2423 builtin and then its argument prototype would still apply. */ | 2402 builtin and then its argument prototype would still apply. */ |
| 2424 char terminateAndUnload(); | 2403 char terminateAndUnload(); |
| 2425 | 2404 |
| 2426 int main() { | 2405 int main() { |
| 2427 terminateAndUnload() | 2406 terminateAndUnload() |
| 2428 ; return 0; } | 2407 ; return 0; } |
| 2429 EOF | 2408 EOF |
| 2430 if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2409 if { (eval echo configure:2410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2431 rm -rf conftest* | 2410 rm -rf conftest* |
| 2432 eval "ac_cv_lib_$ac_lib_var=yes" | 2411 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2433 else | 2412 else |
| 2434 echo "configure: failed program was:" >&5 | 2413 echo "configure: failed program was:" >&5 |
| 2435 cat conftest.$ac_ext >&5 | 2414 cat conftest.$ac_ext >&5 |
| 2463 | 2442 |
| 2464 | 2443 |
| 2465 | 2444 |
| 2466 | 2445 |
| 2467 | 2446 |
| 2468 if test -n "$site_prefixes"; then | 2447 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
| 2469 for arg in $site_prefixes; do | |
| 2470 case "$arg" in | |
| 2471 -* ) ;; | |
| 2472 * ) argi="-I${arg}/include" ; argl="-L${arg}/lib" ;; | |
| 2473 esac | |
| 2474 c_switch_site="$c_switch_site $argi" && if test "$extra_verbose" = "yes"; then echo " Appending \"$argi\" to \$c_switch_site"; fi | |
| 2475 ld_switch_site="$ld_switch_site $argl" && if test "$extra_verbose" = "yes"; then echo " Appending \"$argl\" to \$ld_switch_site"; fi | |
| 2476 done | |
| 2477 fi | |
| 2478 | |
| 2479 if test -n "$site_libraries"; then | 2448 if test -n "$site_libraries"; then |
| 2480 for arg in $site_libraries; do | 2449 for arg in $site_libraries; do |
| 2481 case "$arg" in -* ) ;; * ) arg="-L${arg}" ;; esac | 2450 case "$arg" in |
| 2451 -* ) ;; | |
| 2452 * ) test -d "$arg" || \ | |
| 2453 { echo "Invalid site library \`$arg': no such directory" >&2; exit 1; } | |
| 2454 arg="-L${arg}" ;; | |
| 2455 esac | |
| 2482 ld_switch_site="$ld_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$ld_switch_site"; fi | 2456 ld_switch_site="$ld_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$ld_switch_site"; fi |
| 2483 done | 2457 done |
| 2484 fi | 2458 fi |
| 2485 | 2459 |
| 2460 case "$site_includes" in *:* ) site_includes="`echo '' $site_includes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 2486 if test -n "$site_includes"; then | 2461 if test -n "$site_includes"; then |
| 2487 for arg in $site_includes; do | 2462 for arg in $site_includes; do |
| 2488 case "$arg" in -* ) ;; * ) arg="-I${arg}" ;; esac | 2463 case "$arg" in |
| 2464 -* ) ;; | |
| 2465 * ) test -d "$arg" || \ | |
| 2466 { echo "Invalid site include \`$arg': no such directory" >&2; exit 1; } | |
| 2467 arg="-I${arg}" ;; | |
| 2468 esac | |
| 2489 c_switch_site="$c_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$c_switch_site"; fi | 2469 c_switch_site="$c_switch_site $arg" && if test "$extra_verbose" = "yes"; then echo " Appending \"$arg\" to \$c_switch_site"; fi |
| 2470 done | |
| 2471 fi | |
| 2472 | |
| 2473 case "$site_prefixes" in *:* ) site_prefixes="`echo '' $site_prefixes | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 2474 if test -n "$site_prefixes"; then | |
| 2475 for dir in $site_prefixes; do | |
| 2476 inc_dir="${dir}/include" | |
| 2477 lib_dir="${dir}/lib" | |
| 2478 if test ! -d "$dir"; then | |
| 2479 { echo "Invalid site prefix \`$dir': no such directory" >&2; exit 1; } | |
| 2480 elif test ! -d "$inc_dir"; then | |
| 2481 { echo "Invalid site prefix \`$dir': no such directory \`$inc_dir'" >&2; exit 1; } | |
| 2482 elif test ! -d "$lib_dir"; then | |
| 2483 { echo "Invalid site prefix \`$dir': no such directory \`$lib_dir'" >&2; exit 1; } | |
| 2484 else | |
| 2485 c_switch_site="$c_switch_site "-I$inc_dir"" && if test "$extra_verbose" = "yes"; then echo " Appending \""-I$inc_dir"\" to \$c_switch_site"; fi | |
| 2486 ld_switch_site="$ld_switch_site "-L$lib_dir"" && if test "$extra_verbose" = "yes"; then echo " Appending \""-L$lib_dir"\" to \$ld_switch_site"; fi | |
| 2487 fi | |
| 2490 done | 2488 done |
| 2491 fi | 2489 fi |
| 2492 | 2490 |
| 2493 | 2491 |
| 2494 for dir in "/usr/ccs/lib"; do | 2492 for dir in "/usr/ccs/lib"; do |
| 2495 test -d "$dir" && ld_switch_site="$ld_switch_site -L${dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L${dir}\" to \$ld_switch_site"; fi | 2493 test -d "$dir" && ld_switch_site="$ld_switch_site -L${dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L${dir}\" to \$ld_switch_site"; fi |
| 2496 done | 2494 done |
| 2497 | 2495 |
| 2496 case "$site_runtime_libraries" in *:* ) site_runtime_libraries="`echo '' $site_runtime_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | |
| 2498 if test -n "$site_runtime_libraries"; then | 2497 if test -n "$site_runtime_libraries"; then |
| 2499 LD_RUN_PATH="`echo $site_runtime_libraries | sed -e 's/ */:/g'`" | 2498 LD_RUN_PATH="`echo $site_runtime_libraries | sed -e 's/ */:/g'`" |
| 2500 export LD_RUN_PATH | 2499 export LD_RUN_PATH |
| 2501 fi | 2500 fi |
| 2502 | 2501 |
| 2509 esac | 2508 esac |
| 2510 fi | 2509 fi |
| 2511 | 2510 |
| 2512 if test "$add_runtime_path" = "yes"; then | 2511 if test "$add_runtime_path" = "yes"; then |
| 2513 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2512 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 2514 echo "configure:2515: checking "for runtime libraries flag"" >&5 | 2513 echo "configure:2514: checking "for runtime libraries flag"" >&5 |
| 2515 case "$opsys" in | 2514 case "$opsys" in |
| 2516 sol2 ) dash_r="-R" ;; | 2515 sol2 ) dash_r="-R" ;; |
| 2517 decosf* | linux* ) dash_r="-rpath " ;; | 2516 decosf* | linux* ) dash_r="-rpath " ;; |
| 2518 *) | 2517 *) |
| 2519 dash_r="" | 2518 dash_r="" |
| 2522 | 2521 |
| 2523 if test "$GCC" = "yes"; then | 2522 if test "$GCC" = "yes"; then |
| 2524 set x $xe_check_libs; shift; xe_check_libs="" | 2523 set x $xe_check_libs; shift; xe_check_libs="" |
| 2525 while test -n "$1"; do | 2524 while test -n "$1"; do |
| 2526 case $1 in | 2525 case $1 in |
| 2527 -L | -l | -u ) xe_check_libs="$xe_check_libs $1 $2"; shift ;; | 2526 -L | -l | -u ) xe_check_libs="$xe_check_libs $1 $2"; shift ;; |
| 2528 -L* | -l* | -u* | -Wl* ) xe_check_libs="$xe_check_libs $1" ;; | 2527 -L* | -l* | -u* | -Wl* | -pg ) xe_check_libs="$xe_check_libs $1" ;; |
| 2529 -Xlinker* ) ;; | 2528 -Xlinker* ) ;; |
| 2530 * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;; | 2529 * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;; |
| 2531 esac | 2530 esac |
| 2532 shift | 2531 shift |
| 2533 done | 2532 done |
| 2534 fi | 2533 fi |
| 2535 cat > conftest.$ac_ext <<EOF | 2534 cat > conftest.$ac_ext <<EOF |
| 2536 #line 2537 "configure" | 2535 #line 2536 "configure" |
| 2537 #include "confdefs.h" | 2536 #include "confdefs.h" |
| 2538 | 2537 |
| 2539 int main() { | 2538 int main() { |
| 2540 | 2539 |
| 2541 ; return 0; } | 2540 ; return 0; } |
| 2542 EOF | 2541 EOF |
| 2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2542 if { (eval echo configure:2543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2544 rm -rf conftest* | 2543 rm -rf conftest* |
| 2545 dash_r="$try_dash_r" | 2544 dash_r="$try_dash_r" |
| 2546 else | 2545 else |
| 2547 echo "configure: failed program was:" >&5 | 2546 echo "configure: failed program was:" >&5 |
| 2548 cat conftest.$ac_ext >&5 | 2547 cat conftest.$ac_ext >&5 |
| 2617 | 2616 |
| 2618 if test "$GCC" = "yes"; then | 2617 if test "$GCC" = "yes"; then |
| 2619 set x $ld_switch_run; shift; ld_switch_run="" | 2618 set x $ld_switch_run; shift; ld_switch_run="" |
| 2620 while test -n "$1"; do | 2619 while test -n "$1"; do |
| 2621 case $1 in | 2620 case $1 in |
| 2622 -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; | 2621 -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; |
| 2623 -L* | -l* | -u* | -Wl* ) ld_switch_run="$ld_switch_run $1" ;; | 2622 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; |
| 2624 -Xlinker* ) ;; | 2623 -Xlinker* ) ;; |
| 2625 * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; | 2624 * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; |
| 2626 esac | 2625 esac |
| 2627 shift | 2626 shift |
| 2628 done | 2627 done |
| 2639 else | 2638 else |
| 2640 doug_lea_malloc=no | 2639 doug_lea_malloc=no |
| 2641 fi | 2640 fi |
| 2642 after_morecore_hook_exists=yes | 2641 after_morecore_hook_exists=yes |
| 2643 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2642 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 2644 echo "configure:2645: checking for malloc_get_state" >&5 | 2643 echo "configure:2644: checking for malloc_get_state" >&5 |
| 2645 | 2644 |
| 2646 cat > conftest.$ac_ext <<EOF | 2645 cat > conftest.$ac_ext <<EOF |
| 2647 #line 2648 "configure" | 2646 #line 2647 "configure" |
| 2648 #include "confdefs.h" | 2647 #include "confdefs.h" |
| 2649 /* System header to define __stub macros and hopefully few prototypes, | 2648 /* System header to define __stub macros and hopefully few prototypes, |
| 2650 which can conflict with char malloc_get_state(); below. */ | 2649 which can conflict with char malloc_get_state(); below. */ |
| 2651 #include <assert.h> | 2650 #include <assert.h> |
| 2652 /* Override any gcc2 internal prototype to avoid an error. */ | 2651 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2665 malloc_get_state(); | 2664 malloc_get_state(); |
| 2666 #endif | 2665 #endif |
| 2667 | 2666 |
| 2668 ; return 0; } | 2667 ; return 0; } |
| 2669 EOF | 2668 EOF |
| 2670 if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2669 if { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2671 rm -rf conftest* | 2670 rm -rf conftest* |
| 2672 eval "ac_cv_func_malloc_get_state=yes" | 2671 eval "ac_cv_func_malloc_get_state=yes" |
| 2673 else | 2672 else |
| 2674 echo "configure: failed program was:" >&5 | 2673 echo "configure: failed program was:" >&5 |
| 2675 cat conftest.$ac_ext >&5 | 2674 cat conftest.$ac_ext >&5 |
| 2685 echo "$ac_t""no" 1>&6 | 2684 echo "$ac_t""no" 1>&6 |
| 2686 doug_lea_malloc=no | 2685 doug_lea_malloc=no |
| 2687 fi | 2686 fi |
| 2688 | 2687 |
| 2689 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2688 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 2690 echo "configure:2691: checking for malloc_set_state" >&5 | 2689 echo "configure:2690: checking for malloc_set_state" >&5 |
| 2691 | 2690 |
| 2692 cat > conftest.$ac_ext <<EOF | 2691 cat > conftest.$ac_ext <<EOF |
| 2693 #line 2694 "configure" | 2692 #line 2693 "configure" |
| 2694 #include "confdefs.h" | 2693 #include "confdefs.h" |
| 2695 /* System header to define __stub macros and hopefully few prototypes, | 2694 /* System header to define __stub macros and hopefully few prototypes, |
| 2696 which can conflict with char malloc_set_state(); below. */ | 2695 which can conflict with char malloc_set_state(); below. */ |
| 2697 #include <assert.h> | 2696 #include <assert.h> |
| 2698 /* Override any gcc2 internal prototype to avoid an error. */ | 2697 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2711 malloc_set_state(); | 2710 malloc_set_state(); |
| 2712 #endif | 2711 #endif |
| 2713 | 2712 |
| 2714 ; return 0; } | 2713 ; return 0; } |
| 2715 EOF | 2714 EOF |
| 2716 if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2715 if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2717 rm -rf conftest* | 2716 rm -rf conftest* |
| 2718 eval "ac_cv_func_malloc_set_state=yes" | 2717 eval "ac_cv_func_malloc_set_state=yes" |
| 2719 else | 2718 else |
| 2720 echo "configure: failed program was:" >&5 | 2719 echo "configure: failed program was:" >&5 |
| 2721 cat conftest.$ac_ext >&5 | 2720 cat conftest.$ac_ext >&5 |
| 2731 echo "$ac_t""no" 1>&6 | 2730 echo "$ac_t""no" 1>&6 |
| 2732 doug_lea_malloc=no | 2731 doug_lea_malloc=no |
| 2733 fi | 2732 fi |
| 2734 | 2733 |
| 2735 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 2734 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 2736 echo "configure:2737: checking whether __after_morecore_hook exists" >&5 | 2735 echo "configure:2736: checking whether __after_morecore_hook exists" >&5 |
| 2737 cat > conftest.$ac_ext <<EOF | 2736 cat > conftest.$ac_ext <<EOF |
| 2738 #line 2739 "configure" | 2737 #line 2738 "configure" |
| 2739 #include "confdefs.h" | 2738 #include "confdefs.h" |
| 2740 extern void (* __after_morecore_hook)(); | 2739 extern void (* __after_morecore_hook)(); |
| 2741 int main() { | 2740 int main() { |
| 2742 __after_morecore_hook = 0 | 2741 __after_morecore_hook = 0 |
| 2743 ; return 0; } | 2742 ; return 0; } |
| 2744 EOF | 2743 EOF |
| 2745 if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 2746 rm -rf conftest* | 2745 rm -rf conftest* |
| 2747 echo "$ac_t""yes" 1>&6 | 2746 echo "$ac_t""yes" 1>&6 |
| 2748 else | 2747 else |
| 2749 echo "configure: failed program was:" >&5 | 2748 echo "configure: failed program was:" >&5 |
| 2750 cat conftest.$ac_ext >&5 | 2749 cat conftest.$ac_ext >&5 |
| 2799 | 2798 |
| 2800 | 2799 |
| 2801 # Extract the first word of "ranlib", so it can be a program name with args. | 2800 # Extract the first word of "ranlib", so it can be a program name with args. |
| 2802 set dummy ranlib; ac_word=$2 | 2801 set dummy ranlib; ac_word=$2 |
| 2803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2802 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2804 echo "configure:2805: checking for $ac_word" >&5 | 2803 echo "configure:2804: checking for $ac_word" >&5 |
| 2805 | 2804 |
| 2806 if test -n "$RANLIB"; then | 2805 if test -n "$RANLIB"; then |
| 2807 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2806 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 2808 else | 2807 else |
| 2809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2808 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2852 # AIX /bin/install | 2851 # AIX /bin/install |
| 2853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2852 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2853 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2855 # ./install, which can be erroneously created by make from ./install.sh. | 2854 # ./install, which can be erroneously created by make from ./install.sh. |
| 2856 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2855 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2857 echo "configure:2858: checking for a BSD compatible install" >&5 | 2856 echo "configure:2857: checking for a BSD compatible install" >&5 |
| 2858 if test -z "$INSTALL"; then | 2857 if test -z "$INSTALL"; then |
| 2859 | 2858 |
| 2860 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2859 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
| 2861 for ac_dir in $PATH; do | 2860 for ac_dir in $PATH; do |
| 2862 # Account for people who put trailing slashes in PATH elements. | 2861 # Account for people who put trailing slashes in PATH elements. |
| 2903 for ac_prog in 'bison -y' byacc | 2902 for ac_prog in 'bison -y' byacc |
| 2904 do | 2903 do |
| 2905 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2904 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2906 set dummy $ac_prog; ac_word=$2 | 2905 set dummy $ac_prog; ac_word=$2 |
| 2907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2908 echo "configure:2909: checking for $ac_word" >&5 | 2907 echo "configure:2908: checking for $ac_word" >&5 |
| 2909 | 2908 |
| 2910 if test -n "$YACC"; then | 2909 if test -n "$YACC"; then |
| 2911 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2910 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 2912 else | 2911 else |
| 2913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2912 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2934 | 2933 |
| 2935 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2934 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
| 2936 do | 2935 do |
| 2937 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2936 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2938 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2937 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2939 echo "configure:2940: checking for $ac_hdr" >&5 | 2938 echo "configure:2939: checking for $ac_hdr" >&5 |
| 2940 | 2939 |
| 2941 cat > conftest.$ac_ext <<EOF | 2940 cat > conftest.$ac_ext <<EOF |
| 2942 #line 2943 "configure" | 2941 #line 2942 "configure" |
| 2943 #include "confdefs.h" | 2942 #include "confdefs.h" |
| 2944 #include <$ac_hdr> | 2943 #include <$ac_hdr> |
| 2945 EOF | 2944 EOF |
| 2946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2947 { (eval echo configure:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2946 { (eval echo configure:2947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2948 ac_err=`grep -v '^ *+' conftest.out` | 2947 ac_err=`grep -v '^ *+' conftest.out` |
| 2949 if test -z "$ac_err"; then | 2948 if test -z "$ac_err"; then |
| 2950 rm -rf conftest* | 2949 rm -rf conftest* |
| 2951 eval "ac_cv_header_$ac_safe=yes" | 2950 eval "ac_cv_header_$ac_safe=yes" |
| 2952 else | 2951 else |
| 2975 | 2974 |
| 2976 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 2975 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
| 2977 do | 2976 do |
| 2978 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2977 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2979 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2978 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2980 echo "configure:2981: checking for $ac_hdr" >&5 | 2979 echo "configure:2980: checking for $ac_hdr" >&5 |
| 2981 | 2980 |
| 2982 cat > conftest.$ac_ext <<EOF | 2981 cat > conftest.$ac_ext <<EOF |
| 2983 #line 2984 "configure" | 2982 #line 2983 "configure" |
| 2984 #include "confdefs.h" | 2983 #include "confdefs.h" |
| 2985 #include <$ac_hdr> | 2984 #include <$ac_hdr> |
| 2986 EOF | 2985 EOF |
| 2987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2988 { (eval echo configure:2989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2987 { (eval echo configure:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2989 ac_err=`grep -v '^ *+' conftest.out` | 2988 ac_err=`grep -v '^ *+' conftest.out` |
| 2990 if test -z "$ac_err"; then | 2989 if test -z "$ac_err"; then |
| 2991 rm -rf conftest* | 2990 rm -rf conftest* |
| 2992 eval "ac_cv_header_$ac_safe=yes" | 2991 eval "ac_cv_header_$ac_safe=yes" |
| 2993 else | 2992 else |
| 3012 else | 3011 else |
| 3013 echo "$ac_t""no" 1>&6 | 3012 echo "$ac_t""no" 1>&6 |
| 3014 fi | 3013 fi |
| 3015 done | 3014 done |
| 3016 | 3015 |
| 3017 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3016 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
| 3018 do | 3017 do |
| 3019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3018 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3019 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3021 echo "configure:3022: checking for $ac_hdr" >&5 | 3020 echo "configure:3021: checking for $ac_hdr" >&5 |
| 3022 | 3021 |
| 3023 cat > conftest.$ac_ext <<EOF | 3022 cat > conftest.$ac_ext <<EOF |
| 3024 #line 3025 "configure" | 3023 #line 3024 "configure" |
| 3025 #include "confdefs.h" | 3024 #include "confdefs.h" |
| 3026 #include <$ac_hdr> | 3025 #include <$ac_hdr> |
| 3027 EOF | 3026 EOF |
| 3028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3029 { (eval echo configure:3030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3028 { (eval echo configure:3029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3030 ac_err=`grep -v '^ *+' conftest.out` | 3029 ac_err=`grep -v '^ *+' conftest.out` |
| 3031 if test -z "$ac_err"; then | 3030 if test -z "$ac_err"; then |
| 3032 rm -rf conftest* | 3031 rm -rf conftest* |
| 3033 eval "ac_cv_header_$ac_safe=yes" | 3032 eval "ac_cv_header_$ac_safe=yes" |
| 3034 else | 3033 else |
| 3054 echo "$ac_t""no" 1>&6 | 3053 echo "$ac_t""no" 1>&6 |
| 3055 fi | 3054 fi |
| 3056 done | 3055 done |
| 3057 | 3056 |
| 3058 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3057 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3059 echo "configure:3060: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3058 echo "configure:3059: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3060 | 3059 |
| 3061 cat > conftest.$ac_ext <<EOF | 3060 cat > conftest.$ac_ext <<EOF |
| 3062 #line 3063 "configure" | 3061 #line 3062 "configure" |
| 3063 #include "confdefs.h" | 3062 #include "confdefs.h" |
| 3064 #include <sys/types.h> | 3063 #include <sys/types.h> |
| 3065 #include <sys/wait.h> | 3064 #include <sys/wait.h> |
| 3066 #ifndef WEXITSTATUS | 3065 #ifndef WEXITSTATUS |
| 3067 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3066 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3073 int s; | 3072 int s; |
| 3074 wait (&s); | 3073 wait (&s); |
| 3075 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3074 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3076 ; return 0; } | 3075 ; return 0; } |
| 3077 EOF | 3076 EOF |
| 3078 if { (eval echo configure:3079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3077 if { (eval echo configure:3078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3079 rm -rf conftest* | 3078 rm -rf conftest* |
| 3080 ac_cv_header_sys_wait_h=yes | 3079 ac_cv_header_sys_wait_h=yes |
| 3081 else | 3080 else |
| 3082 echo "configure: failed program was:" >&5 | 3081 echo "configure: failed program was:" >&5 |
| 3083 cat conftest.$ac_ext >&5 | 3082 cat conftest.$ac_ext >&5 |
| 3097 } | 3096 } |
| 3098 | 3097 |
| 3099 fi | 3098 fi |
| 3100 | 3099 |
| 3101 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3100 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3102 echo "configure:3103: checking for ANSI C header files" >&5 | 3101 echo "configure:3102: checking for ANSI C header files" >&5 |
| 3103 | 3102 |
| 3104 cat > conftest.$ac_ext <<EOF | 3103 cat > conftest.$ac_ext <<EOF |
| 3105 #line 3106 "configure" | 3104 #line 3105 "configure" |
| 3106 #include "confdefs.h" | 3105 #include "confdefs.h" |
| 3107 #include <stdlib.h> | 3106 #include <stdlib.h> |
| 3108 #include <stdarg.h> | 3107 #include <stdarg.h> |
| 3109 #include <string.h> | 3108 #include <string.h> |
| 3110 #include <float.h> | 3109 #include <float.h> |
| 3111 EOF | 3110 EOF |
| 3112 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3113 { (eval echo configure:3114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3112 { (eval echo configure:3113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3114 ac_err=`grep -v '^ *+' conftest.out` | 3113 ac_err=`grep -v '^ *+' conftest.out` |
| 3115 if test -z "$ac_err"; then | 3114 if test -z "$ac_err"; then |
| 3116 rm -rf conftest* | 3115 rm -rf conftest* |
| 3117 ac_cv_header_stdc=yes | 3116 ac_cv_header_stdc=yes |
| 3118 else | 3117 else |
| 3125 rm -f conftest* | 3124 rm -f conftest* |
| 3126 | 3125 |
| 3127 if test $ac_cv_header_stdc = yes; then | 3126 if test $ac_cv_header_stdc = yes; then |
| 3128 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3127 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3129 cat > conftest.$ac_ext <<EOF | 3128 cat > conftest.$ac_ext <<EOF |
| 3130 #line 3131 "configure" | 3129 #line 3130 "configure" |
| 3131 #include "confdefs.h" | 3130 #include "confdefs.h" |
| 3132 #include <string.h> | 3131 #include <string.h> |
| 3133 EOF | 3132 EOF |
| 3134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3135 egrep "memchr" >/dev/null 2>&1; then | 3134 egrep "memchr" >/dev/null 2>&1; then |
| 3143 fi | 3142 fi |
| 3144 | 3143 |
| 3145 if test $ac_cv_header_stdc = yes; then | 3144 if test $ac_cv_header_stdc = yes; then |
| 3146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3145 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3147 cat > conftest.$ac_ext <<EOF | 3146 cat > conftest.$ac_ext <<EOF |
| 3148 #line 3149 "configure" | 3147 #line 3148 "configure" |
| 3149 #include "confdefs.h" | 3148 #include "confdefs.h" |
| 3150 #include <stdlib.h> | 3149 #include <stdlib.h> |
| 3151 EOF | 3150 EOF |
| 3152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3153 egrep "free" >/dev/null 2>&1; then | 3152 egrep "free" >/dev/null 2>&1; then |
| 3161 fi | 3160 fi |
| 3162 | 3161 |
| 3163 if test $ac_cv_header_stdc = yes; then | 3162 if test $ac_cv_header_stdc = yes; then |
| 3164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3163 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3165 cat > conftest.$ac_ext <<EOF | 3164 cat > conftest.$ac_ext <<EOF |
| 3166 #line 3167 "configure" | 3165 #line 3166 "configure" |
| 3167 #include "confdefs.h" | 3166 #include "confdefs.h" |
| 3168 #include <ctype.h> | 3167 #include <ctype.h> |
| 3169 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3168 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3170 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3169 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3172 int main () { int i; for (i = 0; i < 256; i++) | 3171 int main () { int i; for (i = 0; i < 256; i++) |
| 3173 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3172 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3174 exit (0); } | 3173 exit (0); } |
| 3175 | 3174 |
| 3176 EOF | 3175 EOF |
| 3177 if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3176 if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3178 then | 3177 then |
| 3179 : | 3178 : |
| 3180 else | 3179 else |
| 3181 conftest_rc="$?" | 3180 conftest_rc="$?" |
| 3182 echo "configure: failed program was:" >&5 | 3181 echo "configure: failed program was:" >&5 |
| 3198 } | 3197 } |
| 3199 | 3198 |
| 3200 fi | 3199 fi |
| 3201 | 3200 |
| 3202 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3201 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3203 echo "configure:3204: checking whether time.h and sys/time.h may both be included" >&5 | 3202 echo "configure:3203: checking whether time.h and sys/time.h may both be included" >&5 |
| 3204 | 3203 |
| 3205 cat > conftest.$ac_ext <<EOF | 3204 cat > conftest.$ac_ext <<EOF |
| 3206 #line 3207 "configure" | 3205 #line 3206 "configure" |
| 3207 #include "confdefs.h" | 3206 #include "confdefs.h" |
| 3208 #include <sys/types.h> | 3207 #include <sys/types.h> |
| 3209 #include <sys/time.h> | 3208 #include <sys/time.h> |
| 3210 #include <time.h> | 3209 #include <time.h> |
| 3211 int main() { | 3210 int main() { |
| 3212 struct tm *tp; | 3211 struct tm *tp; |
| 3213 ; return 0; } | 3212 ; return 0; } |
| 3214 EOF | 3213 EOF |
| 3215 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3216 rm -rf conftest* | 3215 rm -rf conftest* |
| 3217 ac_cv_header_time=yes | 3216 ac_cv_header_time=yes |
| 3218 else | 3217 else |
| 3219 echo "configure: failed program was:" >&5 | 3218 echo "configure: failed program was:" >&5 |
| 3220 cat conftest.$ac_ext >&5 | 3219 cat conftest.$ac_ext >&5 |
| 3234 } | 3233 } |
| 3235 | 3234 |
| 3236 fi | 3235 fi |
| 3237 | 3236 |
| 3238 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3237 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3239 echo "configure:3240: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3238 echo "configure:3239: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3240 | 3239 |
| 3241 cat > conftest.$ac_ext <<EOF | 3240 cat > conftest.$ac_ext <<EOF |
| 3242 #line 3243 "configure" | 3241 #line 3242 "configure" |
| 3243 #include "confdefs.h" | 3242 #include "confdefs.h" |
| 3244 #include <sys/types.h> | 3243 #include <sys/types.h> |
| 3245 #include <signal.h> | 3244 #include <signal.h> |
| 3246 /* NetBSD declares sys_siglist in unistd.h. */ | 3245 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3247 #ifdef HAVE_UNISTD_H | 3246 #ifdef HAVE_UNISTD_H |
| 3249 #endif | 3248 #endif |
| 3250 int main() { | 3249 int main() { |
| 3251 char *msg = *(sys_siglist + 1); | 3250 char *msg = *(sys_siglist + 1); |
| 3252 ; return 0; } | 3251 ; return 0; } |
| 3253 EOF | 3252 EOF |
| 3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3253 if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3255 rm -rf conftest* | 3254 rm -rf conftest* |
| 3256 ac_cv_decl_sys_siglist=yes | 3255 ac_cv_decl_sys_siglist=yes |
| 3257 else | 3256 else |
| 3258 echo "configure: failed program was:" >&5 | 3257 echo "configure: failed program was:" >&5 |
| 3259 cat conftest.$ac_ext >&5 | 3258 cat conftest.$ac_ext >&5 |
| 3274 | 3273 |
| 3275 fi | 3274 fi |
| 3276 | 3275 |
| 3277 | 3276 |
| 3278 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3277 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 3279 echo "configure:3280: checking for struct utimbuf" >&5 | 3278 echo "configure:3279: checking for struct utimbuf" >&5 |
| 3280 cat > conftest.$ac_ext <<EOF | 3279 cat > conftest.$ac_ext <<EOF |
| 3281 #line 3282 "configure" | 3280 #line 3281 "configure" |
| 3282 #include "confdefs.h" | 3281 #include "confdefs.h" |
| 3283 #ifdef TIME_WITH_SYS_TIME | 3282 #ifdef TIME_WITH_SYS_TIME |
| 3284 #include <sys/time.h> | 3283 #include <sys/time.h> |
| 3285 #include <time.h> | 3284 #include <time.h> |
| 3286 #else | 3285 #else |
| 3295 #endif | 3294 #endif |
| 3296 int main() { | 3295 int main() { |
| 3297 static struct utimbuf x; x.actime = x.modtime; | 3296 static struct utimbuf x; x.actime = x.modtime; |
| 3298 ; return 0; } | 3297 ; return 0; } |
| 3299 EOF | 3298 EOF |
| 3300 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3301 rm -rf conftest* | 3300 rm -rf conftest* |
| 3302 echo "$ac_t""yes" 1>&6 | 3301 echo "$ac_t""yes" 1>&6 |
| 3303 { test "$extra_verbose" = "yes" && cat << \EOF | 3302 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3304 Defining HAVE_STRUCT_UTIMBUF | 3303 Defining HAVE_STRUCT_UTIMBUF |
| 3305 EOF | 3304 EOF |
| 3315 echo "$ac_t""no" 1>&6 | 3314 echo "$ac_t""no" 1>&6 |
| 3316 fi | 3315 fi |
| 3317 rm -f conftest* | 3316 rm -f conftest* |
| 3318 | 3317 |
| 3319 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3318 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3320 echo "configure:3321: checking return type of signal handlers" >&5 | 3319 echo "configure:3320: checking return type of signal handlers" >&5 |
| 3321 | 3320 |
| 3322 cat > conftest.$ac_ext <<EOF | 3321 cat > conftest.$ac_ext <<EOF |
| 3323 #line 3324 "configure" | 3322 #line 3323 "configure" |
| 3324 #include "confdefs.h" | 3323 #include "confdefs.h" |
| 3325 #include <sys/types.h> | 3324 #include <sys/types.h> |
| 3326 #include <signal.h> | 3325 #include <signal.h> |
| 3327 #ifdef signal | 3326 #ifdef signal |
| 3328 #undef signal | 3327 #undef signal |
| 3335 | 3334 |
| 3336 int main() { | 3335 int main() { |
| 3337 int i; | 3336 int i; |
| 3338 ; return 0; } | 3337 ; return 0; } |
| 3339 EOF | 3338 EOF |
| 3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3339 if { (eval echo configure:3340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3341 rm -rf conftest* | 3340 rm -rf conftest* |
| 3342 ac_cv_type_signal=void | 3341 ac_cv_type_signal=void |
| 3343 else | 3342 else |
| 3344 echo "configure: failed program was:" >&5 | 3343 echo "configure: failed program was:" >&5 |
| 3345 cat conftest.$ac_ext >&5 | 3344 cat conftest.$ac_ext >&5 |
| 3357 EOF | 3356 EOF |
| 3358 } | 3357 } |
| 3359 | 3358 |
| 3360 | 3359 |
| 3361 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3360 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3362 echo "configure:3363: checking for size_t" >&5 | 3361 echo "configure:3362: checking for size_t" >&5 |
| 3363 | 3362 |
| 3364 cat > conftest.$ac_ext <<EOF | 3363 cat > conftest.$ac_ext <<EOF |
| 3365 #line 3366 "configure" | 3364 #line 3365 "configure" |
| 3366 #include "confdefs.h" | 3365 #include "confdefs.h" |
| 3367 #include <sys/types.h> | 3366 #include <sys/types.h> |
| 3368 #if STDC_HEADERS | 3367 #if STDC_HEADERS |
| 3369 #include <stdlib.h> | 3368 #include <stdlib.h> |
| 3370 #include <stddef.h> | 3369 #include <stddef.h> |
| 3391 } | 3390 } |
| 3392 | 3391 |
| 3393 fi | 3392 fi |
| 3394 | 3393 |
| 3395 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3394 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3396 echo "configure:3397: checking for pid_t" >&5 | 3395 echo "configure:3396: checking for pid_t" >&5 |
| 3397 | 3396 |
| 3398 cat > conftest.$ac_ext <<EOF | 3397 cat > conftest.$ac_ext <<EOF |
| 3399 #line 3400 "configure" | 3398 #line 3399 "configure" |
| 3400 #include "confdefs.h" | 3399 #include "confdefs.h" |
| 3401 #include <sys/types.h> | 3400 #include <sys/types.h> |
| 3402 #if STDC_HEADERS | 3401 #if STDC_HEADERS |
| 3403 #include <stdlib.h> | 3402 #include <stdlib.h> |
| 3404 #include <stddef.h> | 3403 #include <stddef.h> |
| 3425 } | 3424 } |
| 3426 | 3425 |
| 3427 fi | 3426 fi |
| 3428 | 3427 |
| 3429 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3428 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3430 echo "configure:3431: checking for uid_t in sys/types.h" >&5 | 3429 echo "configure:3430: checking for uid_t in sys/types.h" >&5 |
| 3431 | 3430 |
| 3432 cat > conftest.$ac_ext <<EOF | 3431 cat > conftest.$ac_ext <<EOF |
| 3433 #line 3434 "configure" | 3432 #line 3433 "configure" |
| 3434 #include "confdefs.h" | 3433 #include "confdefs.h" |
| 3435 #include <sys/types.h> | 3434 #include <sys/types.h> |
| 3436 EOF | 3435 EOF |
| 3437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3438 egrep "uid_t" >/dev/null 2>&1; then | 3437 egrep "uid_t" >/dev/null 2>&1; then |
| 3464 } | 3463 } |
| 3465 | 3464 |
| 3466 fi | 3465 fi |
| 3467 | 3466 |
| 3468 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3467 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3469 echo "configure:3470: checking for mode_t" >&5 | 3468 echo "configure:3469: checking for mode_t" >&5 |
| 3470 | 3469 |
| 3471 cat > conftest.$ac_ext <<EOF | 3470 cat > conftest.$ac_ext <<EOF |
| 3472 #line 3473 "configure" | 3471 #line 3472 "configure" |
| 3473 #include "confdefs.h" | 3472 #include "confdefs.h" |
| 3474 #include <sys/types.h> | 3473 #include <sys/types.h> |
| 3475 #if STDC_HEADERS | 3474 #if STDC_HEADERS |
| 3476 #include <stdlib.h> | 3475 #include <stdlib.h> |
| 3477 #include <stddef.h> | 3476 #include <stddef.h> |
| 3498 } | 3497 } |
| 3499 | 3498 |
| 3500 fi | 3499 fi |
| 3501 | 3500 |
| 3502 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3501 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3503 echo "configure:3504: checking for off_t" >&5 | 3502 echo "configure:3503: checking for off_t" >&5 |
| 3504 | 3503 |
| 3505 cat > conftest.$ac_ext <<EOF | 3504 cat > conftest.$ac_ext <<EOF |
| 3506 #line 3507 "configure" | 3505 #line 3506 "configure" |
| 3507 #include "confdefs.h" | 3506 #include "confdefs.h" |
| 3508 #include <sys/types.h> | 3507 #include <sys/types.h> |
| 3509 #if STDC_HEADERS | 3508 #if STDC_HEADERS |
| 3510 #include <stdlib.h> | 3509 #include <stdlib.h> |
| 3511 #include <stddef.h> | 3510 #include <stddef.h> |
| 3533 | 3532 |
| 3534 fi | 3533 fi |
| 3535 | 3534 |
| 3536 | 3535 |
| 3537 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3536 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 3538 echo "configure:3539: checking for struct timeval" >&5 | 3537 echo "configure:3538: checking for struct timeval" >&5 |
| 3539 cat > conftest.$ac_ext <<EOF | 3538 cat > conftest.$ac_ext <<EOF |
| 3540 #line 3541 "configure" | 3539 #line 3540 "configure" |
| 3541 #include "confdefs.h" | 3540 #include "confdefs.h" |
| 3542 #ifdef TIME_WITH_SYS_TIME | 3541 #ifdef TIME_WITH_SYS_TIME |
| 3543 #include <sys/time.h> | 3542 #include <sys/time.h> |
| 3544 #include <time.h> | 3543 #include <time.h> |
| 3545 #else | 3544 #else |
| 3551 #endif | 3550 #endif |
| 3552 int main() { | 3551 int main() { |
| 3553 static struct timeval x; x.tv_sec = x.tv_usec; | 3552 static struct timeval x; x.tv_sec = x.tv_usec; |
| 3554 ; return 0; } | 3553 ; return 0; } |
| 3555 EOF | 3554 EOF |
| 3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3555 if { (eval echo configure:3556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3557 rm -rf conftest* | 3556 rm -rf conftest* |
| 3558 echo "$ac_t""yes" 1>&6 | 3557 echo "$ac_t""yes" 1>&6 |
| 3559 HAVE_TIMEVAL=yes | 3558 HAVE_TIMEVAL=yes |
| 3560 { test "$extra_verbose" = "yes" && cat << \EOF | 3559 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3561 Defining HAVE_TIMEVAL | 3560 Defining HAVE_TIMEVAL |
| 3573 HAVE_TIMEVAL=no | 3572 HAVE_TIMEVAL=no |
| 3574 fi | 3573 fi |
| 3575 rm -f conftest* | 3574 rm -f conftest* |
| 3576 | 3575 |
| 3577 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3576 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 3578 echo "configure:3579: checking whether struct tm is in sys/time.h or time.h" >&5 | 3577 echo "configure:3578: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 3579 | 3578 |
| 3580 cat > conftest.$ac_ext <<EOF | 3579 cat > conftest.$ac_ext <<EOF |
| 3581 #line 3582 "configure" | 3580 #line 3581 "configure" |
| 3582 #include "confdefs.h" | 3581 #include "confdefs.h" |
| 3583 #include <sys/types.h> | 3582 #include <sys/types.h> |
| 3584 #include <time.h> | 3583 #include <time.h> |
| 3585 int main() { | 3584 int main() { |
| 3586 struct tm *tp; tp->tm_sec; | 3585 struct tm *tp; tp->tm_sec; |
| 3587 ; return 0; } | 3586 ; return 0; } |
| 3588 EOF | 3587 EOF |
| 3589 if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3588 if { (eval echo configure:3589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3590 rm -rf conftest* | 3589 rm -rf conftest* |
| 3591 ac_cv_struct_tm=time.h | 3590 ac_cv_struct_tm=time.h |
| 3592 else | 3591 else |
| 3593 echo "configure: failed program was:" >&5 | 3592 echo "configure: failed program was:" >&5 |
| 3594 cat conftest.$ac_ext >&5 | 3593 cat conftest.$ac_ext >&5 |
| 3608 } | 3607 } |
| 3609 | 3608 |
| 3610 fi | 3609 fi |
| 3611 | 3610 |
| 3612 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3611 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 3613 echo "configure:3614: checking for tm_zone in struct tm" >&5 | 3612 echo "configure:3613: checking for tm_zone in struct tm" >&5 |
| 3614 | 3613 |
| 3615 cat > conftest.$ac_ext <<EOF | 3614 cat > conftest.$ac_ext <<EOF |
| 3616 #line 3617 "configure" | 3615 #line 3616 "configure" |
| 3617 #include "confdefs.h" | 3616 #include "confdefs.h" |
| 3618 #include <sys/types.h> | 3617 #include <sys/types.h> |
| 3619 #include <$ac_cv_struct_tm> | 3618 #include <$ac_cv_struct_tm> |
| 3620 int main() { | 3619 int main() { |
| 3621 struct tm tm; tm.tm_zone; | 3620 struct tm tm; tm.tm_zone; |
| 3622 ; return 0; } | 3621 ; return 0; } |
| 3623 EOF | 3622 EOF |
| 3624 if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3623 if { (eval echo configure:3624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3625 rm -rf conftest* | 3624 rm -rf conftest* |
| 3626 ac_cv_struct_tm_zone=yes | 3625 ac_cv_struct_tm_zone=yes |
| 3627 else | 3626 else |
| 3628 echo "configure: failed program was:" >&5 | 3627 echo "configure: failed program was:" >&5 |
| 3629 cat conftest.$ac_ext >&5 | 3628 cat conftest.$ac_ext >&5 |
| 3642 EOF | 3641 EOF |
| 3643 } | 3642 } |
| 3644 | 3643 |
| 3645 else | 3644 else |
| 3646 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3645 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 3647 echo "configure:3648: checking for tzname" >&5 | 3646 echo "configure:3647: checking for tzname" >&5 |
| 3648 | 3647 |
| 3649 cat > conftest.$ac_ext <<EOF | 3648 cat > conftest.$ac_ext <<EOF |
| 3650 #line 3651 "configure" | 3649 #line 3650 "configure" |
| 3651 #include "confdefs.h" | 3650 #include "confdefs.h" |
| 3652 #include <time.h> | 3651 #include <time.h> |
| 3653 #ifndef tzname /* For SGI. */ | 3652 #ifndef tzname /* For SGI. */ |
| 3654 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3653 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 3655 #endif | 3654 #endif |
| 3656 int main() { | 3655 int main() { |
| 3657 atoi(*tzname); | 3656 atoi(*tzname); |
| 3658 ; return 0; } | 3657 ; return 0; } |
| 3659 EOF | 3658 EOF |
| 3660 if { (eval echo configure:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3659 if { (eval echo configure:3660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 3661 rm -rf conftest* | 3660 rm -rf conftest* |
| 3662 ac_cv_var_tzname=yes | 3661 ac_cv_var_tzname=yes |
| 3663 else | 3662 else |
| 3664 echo "configure: failed program was:" >&5 | 3663 echo "configure: failed program was:" >&5 |
| 3665 cat conftest.$ac_ext >&5 | 3664 cat conftest.$ac_ext >&5 |
| 3681 fi | 3680 fi |
| 3682 fi | 3681 fi |
| 3683 | 3682 |
| 3684 | 3683 |
| 3685 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3684 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3686 echo "configure:3687: checking for working const" >&5 | 3685 echo "configure:3686: checking for working const" >&5 |
| 3687 | 3686 |
| 3688 cat > conftest.$ac_ext <<EOF | 3687 cat > conftest.$ac_ext <<EOF |
| 3689 #line 3690 "configure" | 3688 #line 3689 "configure" |
| 3690 #include "confdefs.h" | 3689 #include "confdefs.h" |
| 3691 | 3690 |
| 3692 int main() { | 3691 int main() { |
| 3693 | 3692 |
| 3694 /* Ultrix mips cc rejects this. */ | 3693 /* Ultrix mips cc rejects this. */ |
| 3733 const int foo = 10; | 3732 const int foo = 10; |
| 3734 } | 3733 } |
| 3735 | 3734 |
| 3736 ; return 0; } | 3735 ; return 0; } |
| 3737 EOF | 3736 EOF |
| 3738 if { (eval echo configure:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3737 if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3739 rm -rf conftest* | 3738 rm -rf conftest* |
| 3740 ac_cv_c_const=yes | 3739 ac_cv_c_const=yes |
| 3741 else | 3740 else |
| 3742 echo "configure: failed program was:" >&5 | 3741 echo "configure: failed program was:" >&5 |
| 3743 cat conftest.$ac_ext >&5 | 3742 cat conftest.$ac_ext >&5 |
| 3758 | 3757 |
| 3759 fi | 3758 fi |
| 3760 | 3759 |
| 3761 | 3760 |
| 3762 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3761 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3763 echo "configure:3764: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3762 echo "configure:3763: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3764 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3763 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3765 | 3764 |
| 3766 cat > conftestmake <<\EOF | 3765 cat > conftestmake <<\EOF |
| 3767 all: | 3766 all: |
| 3768 @echo 'ac_maketemp="${MAKE}"' | 3767 @echo 'ac_maketemp="${MAKE}"' |
| 3783 SET_MAKE="MAKE=${MAKE-make}" | 3782 SET_MAKE="MAKE=${MAKE-make}" |
| 3784 fi | 3783 fi |
| 3785 | 3784 |
| 3786 | 3785 |
| 3787 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3786 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 3788 echo "configure:3789: checking whether byte ordering is bigendian" >&5 | 3787 echo "configure:3788: checking whether byte ordering is bigendian" >&5 |
| 3789 | 3788 |
| 3790 ac_cv_c_bigendian=unknown | 3789 ac_cv_c_bigendian=unknown |
| 3791 # See if sys/param.h defines the BYTE_ORDER macro. | 3790 # See if sys/param.h defines the BYTE_ORDER macro. |
| 3792 cat > conftest.$ac_ext <<EOF | 3791 cat > conftest.$ac_ext <<EOF |
| 3793 #line 3794 "configure" | 3792 #line 3793 "configure" |
| 3794 #include "confdefs.h" | 3793 #include "confdefs.h" |
| 3795 #include <sys/types.h> | 3794 #include <sys/types.h> |
| 3796 #include <sys/param.h> | 3795 #include <sys/param.h> |
| 3797 int main() { | 3796 int main() { |
| 3798 | 3797 |
| 3799 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3798 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 3800 bogus endian macros | 3799 bogus endian macros |
| 3801 #endif | 3800 #endif |
| 3802 ; return 0; } | 3801 ; return 0; } |
| 3803 EOF | 3802 EOF |
| 3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3805 rm -rf conftest* | 3804 rm -rf conftest* |
| 3806 # It does; now see whether it defined to BIG_ENDIAN or not. | 3805 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 3807 cat > conftest.$ac_ext <<EOF | 3806 cat > conftest.$ac_ext <<EOF |
| 3808 #line 3809 "configure" | 3807 #line 3808 "configure" |
| 3809 #include "confdefs.h" | 3808 #include "confdefs.h" |
| 3810 #include <sys/types.h> | 3809 #include <sys/types.h> |
| 3811 #include <sys/param.h> | 3810 #include <sys/param.h> |
| 3812 int main() { | 3811 int main() { |
| 3813 | 3812 |
| 3814 #if BYTE_ORDER != BIG_ENDIAN | 3813 #if BYTE_ORDER != BIG_ENDIAN |
| 3815 not big endian | 3814 not big endian |
| 3816 #endif | 3815 #endif |
| 3817 ; return 0; } | 3816 ; return 0; } |
| 3818 EOF | 3817 EOF |
| 3819 if { (eval echo configure:3820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3818 if { (eval echo configure:3819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3820 rm -rf conftest* | 3819 rm -rf conftest* |
| 3821 ac_cv_c_bigendian=yes | 3820 ac_cv_c_bigendian=yes |
| 3822 else | 3821 else |
| 3823 echo "configure: failed program was:" >&5 | 3822 echo "configure: failed program was:" >&5 |
| 3824 cat conftest.$ac_ext >&5 | 3823 cat conftest.$ac_ext >&5 |
| 3831 cat conftest.$ac_ext >&5 | 3830 cat conftest.$ac_ext >&5 |
| 3832 fi | 3831 fi |
| 3833 rm -f conftest* | 3832 rm -f conftest* |
| 3834 if test $ac_cv_c_bigendian = unknown; then | 3833 if test $ac_cv_c_bigendian = unknown; then |
| 3835 cat > conftest.$ac_ext <<EOF | 3834 cat > conftest.$ac_ext <<EOF |
| 3836 #line 3837 "configure" | 3835 #line 3836 "configure" |
| 3837 #include "confdefs.h" | 3836 #include "confdefs.h" |
| 3838 main () { | 3837 main () { |
| 3839 /* Are we little or big endian? From Harbison&Steele. */ | 3838 /* Are we little or big endian? From Harbison&Steele. */ |
| 3840 union | 3839 union |
| 3841 { | 3840 { |
| 3844 } u; | 3843 } u; |
| 3845 u.l = 1; | 3844 u.l = 1; |
| 3846 exit (u.c[sizeof (long) - 1] == 1); | 3845 exit (u.c[sizeof (long) - 1] == 1); |
| 3847 } | 3846 } |
| 3848 EOF | 3847 EOF |
| 3849 if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3848 if { (eval echo configure:3849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3850 then | 3849 then |
| 3851 ac_cv_c_bigendian=no | 3850 ac_cv_c_bigendian=no |
| 3852 else | 3851 else |
| 3853 conftest_rc="$?" | 3852 conftest_rc="$?" |
| 3854 echo "configure: failed program was:" >&5 | 3853 echo "configure: failed program was:" >&5 |
| 3871 | 3870 |
| 3872 fi | 3871 fi |
| 3873 | 3872 |
| 3874 | 3873 |
| 3875 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3874 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 3876 echo "configure:3877: checking size of short" >&5 | 3875 echo "configure:3876: checking size of short" >&5 |
| 3877 | 3876 |
| 3878 cat > conftest.$ac_ext <<EOF | 3877 cat > conftest.$ac_ext <<EOF |
| 3879 #line 3880 "configure" | 3878 #line 3879 "configure" |
| 3880 #include "confdefs.h" | 3879 #include "confdefs.h" |
| 3881 #include <stdio.h> | 3880 #include <stdio.h> |
| 3882 main() | 3881 main() |
| 3883 { | 3882 { |
| 3884 FILE *f=fopen("conftestval", "w"); | 3883 FILE *f=fopen("conftestval", "w"); |
| 3885 if (!f) exit(1); | 3884 if (!f) exit(1); |
| 3886 fprintf(f, "%d\n", sizeof(short)); | 3885 fprintf(f, "%d\n", sizeof(short)); |
| 3887 exit(0); | 3886 exit(0); |
| 3888 } | 3887 } |
| 3889 EOF | 3888 EOF |
| 3890 if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3889 if { (eval echo configure:3890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3891 then | 3890 then |
| 3892 ac_cv_sizeof_short=`cat conftestval` | 3891 ac_cv_sizeof_short=`cat conftestval` |
| 3893 else | 3892 else |
| 3894 conftest_rc="$?" | 3893 conftest_rc="$?" |
| 3895 echo "configure: failed program was:" >&5 | 3894 echo "configure: failed program was:" >&5 |
| 3913 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3912 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 3914 echo "*** PANIC *** Please examine config.log for compilation errors." | 3913 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 3915 exit 1 | 3914 exit 1 |
| 3916 fi | 3915 fi |
| 3917 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3916 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 3918 echo "configure:3919: checking size of int" >&5 | 3917 echo "configure:3918: checking size of int" >&5 |
| 3919 | 3918 |
| 3920 cat > conftest.$ac_ext <<EOF | 3919 cat > conftest.$ac_ext <<EOF |
| 3921 #line 3922 "configure" | 3920 #line 3921 "configure" |
| 3922 #include "confdefs.h" | 3921 #include "confdefs.h" |
| 3923 #include <stdio.h> | 3922 #include <stdio.h> |
| 3924 main() | 3923 main() |
| 3925 { | 3924 { |
| 3926 FILE *f=fopen("conftestval", "w"); | 3925 FILE *f=fopen("conftestval", "w"); |
| 3927 if (!f) exit(1); | 3926 if (!f) exit(1); |
| 3928 fprintf(f, "%d\n", sizeof(int)); | 3927 fprintf(f, "%d\n", sizeof(int)); |
| 3929 exit(0); | 3928 exit(0); |
| 3930 } | 3929 } |
| 3931 EOF | 3930 EOF |
| 3932 if { (eval echo configure:3933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3931 if { (eval echo configure:3932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3933 then | 3932 then |
| 3934 ac_cv_sizeof_int=`cat conftestval` | 3933 ac_cv_sizeof_int=`cat conftestval` |
| 3935 else | 3934 else |
| 3936 conftest_rc="$?" | 3935 conftest_rc="$?" |
| 3937 echo "configure: failed program was:" >&5 | 3936 echo "configure: failed program was:" >&5 |
| 3949 EOF | 3948 EOF |
| 3950 } | 3949 } |
| 3951 | 3950 |
| 3952 | 3951 |
| 3953 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3952 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 3954 echo "configure:3955: checking size of long" >&5 | 3953 echo "configure:3954: checking size of long" >&5 |
| 3955 | 3954 |
| 3956 cat > conftest.$ac_ext <<EOF | 3955 cat > conftest.$ac_ext <<EOF |
| 3957 #line 3958 "configure" | 3956 #line 3957 "configure" |
| 3958 #include "confdefs.h" | 3957 #include "confdefs.h" |
| 3959 #include <stdio.h> | 3958 #include <stdio.h> |
| 3960 main() | 3959 main() |
| 3961 { | 3960 { |
| 3962 FILE *f=fopen("conftestval", "w"); | 3961 FILE *f=fopen("conftestval", "w"); |
| 3963 if (!f) exit(1); | 3962 if (!f) exit(1); |
| 3964 fprintf(f, "%d\n", sizeof(long)); | 3963 fprintf(f, "%d\n", sizeof(long)); |
| 3965 exit(0); | 3964 exit(0); |
| 3966 } | 3965 } |
| 3967 EOF | 3966 EOF |
| 3968 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3967 if { (eval echo configure:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3969 then | 3968 then |
| 3970 ac_cv_sizeof_long=`cat conftestval` | 3969 ac_cv_sizeof_long=`cat conftestval` |
| 3971 else | 3970 else |
| 3972 conftest_rc="$?" | 3971 conftest_rc="$?" |
| 3973 echo "configure: failed program was:" >&5 | 3972 echo "configure: failed program was:" >&5 |
| 3985 EOF | 3984 EOF |
| 3986 } | 3985 } |
| 3987 | 3986 |
| 3988 | 3987 |
| 3989 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3988 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 3990 echo "configure:3991: checking size of long long" >&5 | 3989 echo "configure:3990: checking size of long long" >&5 |
| 3991 | 3990 |
| 3992 cat > conftest.$ac_ext <<EOF | 3991 cat > conftest.$ac_ext <<EOF |
| 3993 #line 3994 "configure" | 3992 #line 3993 "configure" |
| 3994 #include "confdefs.h" | 3993 #include "confdefs.h" |
| 3995 #include <stdio.h> | 3994 #include <stdio.h> |
| 3996 main() | 3995 main() |
| 3997 { | 3996 { |
| 3998 FILE *f=fopen("conftestval", "w"); | 3997 FILE *f=fopen("conftestval", "w"); |
| 3999 if (!f) exit(1); | 3998 if (!f) exit(1); |
| 4000 fprintf(f, "%d\n", sizeof(long long)); | 3999 fprintf(f, "%d\n", sizeof(long long)); |
| 4001 exit(0); | 4000 exit(0); |
| 4002 } | 4001 } |
| 4003 EOF | 4002 EOF |
| 4004 if { (eval echo configure:4005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4003 if { (eval echo configure:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4005 then | 4004 then |
| 4006 ac_cv_sizeof_long_long=`cat conftestval` | 4005 ac_cv_sizeof_long_long=`cat conftestval` |
| 4007 else | 4006 else |
| 4008 conftest_rc="$?" | 4007 conftest_rc="$?" |
| 4009 echo "configure: failed program was:" >&5 | 4008 echo "configure: failed program was:" >&5 |
| 4021 EOF | 4020 EOF |
| 4022 } | 4021 } |
| 4023 | 4022 |
| 4024 | 4023 |
| 4025 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4024 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4026 echo "configure:4027: checking size of void *" >&5 | 4025 echo "configure:4026: checking size of void *" >&5 |
| 4027 | 4026 |
| 4028 cat > conftest.$ac_ext <<EOF | 4027 cat > conftest.$ac_ext <<EOF |
| 4029 #line 4030 "configure" | 4028 #line 4029 "configure" |
| 4030 #include "confdefs.h" | 4029 #include "confdefs.h" |
| 4031 #include <stdio.h> | 4030 #include <stdio.h> |
| 4032 main() | 4031 main() |
| 4033 { | 4032 { |
| 4034 FILE *f=fopen("conftestval", "w"); | 4033 FILE *f=fopen("conftestval", "w"); |
| 4035 if (!f) exit(1); | 4034 if (!f) exit(1); |
| 4036 fprintf(f, "%d\n", sizeof(void *)); | 4035 fprintf(f, "%d\n", sizeof(void *)); |
| 4037 exit(0); | 4036 exit(0); |
| 4038 } | 4037 } |
| 4039 EOF | 4038 EOF |
| 4040 if { (eval echo configure:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4039 if { (eval echo configure:4040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4041 then | 4040 then |
| 4042 ac_cv_sizeof_void_p=`cat conftestval` | 4041 ac_cv_sizeof_void_p=`cat conftestval` |
| 4043 else | 4042 else |
| 4044 conftest_rc="$?" | 4043 conftest_rc="$?" |
| 4045 echo "configure: failed program was:" >&5 | 4044 echo "configure: failed program was:" >&5 |
| 4058 } | 4057 } |
| 4059 | 4058 |
| 4060 | 4059 |
| 4061 | 4060 |
| 4062 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4061 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4063 echo "configure:4064: checking for long file names" >&5 | 4062 echo "configure:4063: checking for long file names" >&5 |
| 4064 | 4063 |
| 4065 ac_cv_sys_long_file_names=yes | 4064 ac_cv_sys_long_file_names=yes |
| 4066 # Test for long file names in all the places we know might matter: | 4065 # Test for long file names in all the places we know might matter: |
| 4067 # . the current directory, where building will happen | 4066 # . the current directory, where building will happen |
| 4068 # $prefix/lib where we will be installing things | 4067 # $prefix/lib where we will be installing things |
| 4105 fi | 4104 fi |
| 4106 | 4105 |
| 4107 | 4106 |
| 4108 | 4107 |
| 4109 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4108 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4110 echo "configure:4111: checking for sin in -lm" >&5 | 4109 echo "configure:4110: checking for sin in -lm" >&5 |
| 4111 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4110 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4112 | 4111 |
| 4113 xe_check_libs=" -lm " | 4112 xe_check_libs=" -lm " |
| 4114 cat > conftest.$ac_ext <<EOF | 4113 cat > conftest.$ac_ext <<EOF |
| 4115 #line 4116 "configure" | 4114 #line 4115 "configure" |
| 4116 #include "confdefs.h" | 4115 #include "confdefs.h" |
| 4117 /* Override any gcc2 internal prototype to avoid an error. */ | 4116 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4118 /* We use char because int might match the return type of a gcc2 | 4117 /* We use char because int might match the return type of a gcc2 |
| 4119 builtin and then its argument prototype would still apply. */ | 4118 builtin and then its argument prototype would still apply. */ |
| 4120 char sin(); | 4119 char sin(); |
| 4121 | 4120 |
| 4122 int main() { | 4121 int main() { |
| 4123 sin() | 4122 sin() |
| 4124 ; return 0; } | 4123 ; return 0; } |
| 4125 EOF | 4124 EOF |
| 4126 if { (eval echo configure:4127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4125 if { (eval echo configure:4126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4127 rm -rf conftest* | 4126 rm -rf conftest* |
| 4128 eval "ac_cv_lib_$ac_lib_var=yes" | 4127 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4129 else | 4128 else |
| 4130 echo "configure: failed program was:" >&5 | 4129 echo "configure: failed program was:" >&5 |
| 4131 cat conftest.$ac_ext >&5 | 4130 cat conftest.$ac_ext >&5 |
| 4163 EOF | 4162 EOF |
| 4164 } | 4163 } |
| 4165 | 4164 |
| 4166 | 4165 |
| 4167 cat > conftest.$ac_ext <<EOF | 4166 cat > conftest.$ac_ext <<EOF |
| 4168 #line 4169 "configure" | 4167 #line 4168 "configure" |
| 4169 #include "confdefs.h" | 4168 #include "confdefs.h" |
| 4170 #include <math.h> | 4169 #include <math.h> |
| 4171 int main() { | 4170 int main() { |
| 4172 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4171 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4173 ; return 0; } | 4172 ; return 0; } |
| 4174 EOF | 4173 EOF |
| 4175 if { (eval echo configure:4176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4174 if { (eval echo configure:4175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4176 rm -rf conftest* | 4175 rm -rf conftest* |
| 4177 { test "$extra_verbose" = "yes" && cat << \EOF | 4176 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4178 Defining HAVE_INVERSE_HYPERBOLIC | 4177 Defining HAVE_INVERSE_HYPERBOLIC |
| 4179 EOF | 4178 EOF |
| 4180 cat >> confdefs.h <<\EOF | 4179 cat >> confdefs.h <<\EOF |
| 4187 cat conftest.$ac_ext >&5 | 4186 cat conftest.$ac_ext >&5 |
| 4188 fi | 4187 fi |
| 4189 rm -f conftest* | 4188 rm -f conftest* |
| 4190 | 4189 |
| 4191 echo "checking type of mail spool file locking" 1>&6 | 4190 echo "checking type of mail spool file locking" 1>&6 |
| 4192 echo "configure:4193: checking type of mail spool file locking" >&5 | 4191 echo "configure:4192: checking type of mail spool file locking" >&5 |
| 4193 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4192 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
| 4194 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4193 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
| 4195 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4194 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
| 4196 Defining REAL_MAIL_USE_LOCKF | 4195 Defining REAL_MAIL_USE_LOCKF |
| 4197 EOF | 4196 EOF |
| 4211 else mail_locking="dot-locking" | 4210 else mail_locking="dot-locking" |
| 4212 fi | 4211 fi |
| 4213 | 4212 |
| 4214 | 4213 |
| 4215 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 4214 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 4216 echo "configure:4217: checking for kstat_open in -lkstat" >&5 | 4215 echo "configure:4216: checking for kstat_open in -lkstat" >&5 |
| 4217 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 4216 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 4218 | 4217 |
| 4219 xe_check_libs=" -lkstat " | 4218 xe_check_libs=" -lkstat " |
| 4220 cat > conftest.$ac_ext <<EOF | 4219 cat > conftest.$ac_ext <<EOF |
| 4221 #line 4222 "configure" | 4220 #line 4221 "configure" |
| 4222 #include "confdefs.h" | 4221 #include "confdefs.h" |
| 4223 /* Override any gcc2 internal prototype to avoid an error. */ | 4222 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4224 /* We use char because int might match the return type of a gcc2 | 4223 /* We use char because int might match the return type of a gcc2 |
| 4225 builtin and then its argument prototype would still apply. */ | 4224 builtin and then its argument prototype would still apply. */ |
| 4226 char kstat_open(); | 4225 char kstat_open(); |
| 4227 | 4226 |
| 4228 int main() { | 4227 int main() { |
| 4229 kstat_open() | 4228 kstat_open() |
| 4230 ; return 0; } | 4229 ; return 0; } |
| 4231 EOF | 4230 EOF |
| 4232 if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4231 if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4233 rm -rf conftest* | 4232 rm -rf conftest* |
| 4234 eval "ac_cv_lib_$ac_lib_var=yes" | 4233 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4235 else | 4234 else |
| 4236 echo "configure: failed program was:" >&5 | 4235 echo "configure: failed program was:" >&5 |
| 4237 cat conftest.$ac_ext >&5 | 4236 cat conftest.$ac_ext >&5 |
| 4261 | 4260 |
| 4262 | 4261 |
| 4263 | 4262 |
| 4264 | 4263 |
| 4265 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 4264 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 4266 echo "configure:4267: checking for kvm_read in -lkvm" >&5 | 4265 echo "configure:4266: checking for kvm_read in -lkvm" >&5 |
| 4267 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 4266 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 4268 | 4267 |
| 4269 xe_check_libs=" -lkvm " | 4268 xe_check_libs=" -lkvm " |
| 4270 cat > conftest.$ac_ext <<EOF | 4269 cat > conftest.$ac_ext <<EOF |
| 4271 #line 4272 "configure" | 4270 #line 4271 "configure" |
| 4272 #include "confdefs.h" | 4271 #include "confdefs.h" |
| 4273 /* Override any gcc2 internal prototype to avoid an error. */ | 4272 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4274 /* We use char because int might match the return type of a gcc2 | 4273 /* We use char because int might match the return type of a gcc2 |
| 4275 builtin and then its argument prototype would still apply. */ | 4274 builtin and then its argument prototype would still apply. */ |
| 4276 char kvm_read(); | 4275 char kvm_read(); |
| 4277 | 4276 |
| 4278 int main() { | 4277 int main() { |
| 4279 kvm_read() | 4278 kvm_read() |
| 4280 ; return 0; } | 4279 ; return 0; } |
| 4281 EOF | 4280 EOF |
| 4282 if { (eval echo configure:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4283 rm -rf conftest* | 4282 rm -rf conftest* |
| 4284 eval "ac_cv_lib_$ac_lib_var=yes" | 4283 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4285 else | 4284 else |
| 4286 echo "configure: failed program was:" >&5 | 4285 echo "configure: failed program was:" >&5 |
| 4287 cat conftest.$ac_ext >&5 | 4286 cat conftest.$ac_ext >&5 |
| 4312 | 4311 |
| 4313 | 4312 |
| 4314 case "$opsys" in decosf*) | 4313 case "$opsys" in decosf*) |
| 4315 | 4314 |
| 4316 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4315 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4317 echo "configure:4318: checking for cma_open in -lpthreads" >&5 | 4316 echo "configure:4317: checking for cma_open in -lpthreads" >&5 |
| 4318 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4317 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4319 | 4318 |
| 4320 xe_check_libs=" -lpthreads " | 4319 xe_check_libs=" -lpthreads " |
| 4321 cat > conftest.$ac_ext <<EOF | 4320 cat > conftest.$ac_ext <<EOF |
| 4322 #line 4323 "configure" | 4321 #line 4322 "configure" |
| 4323 #include "confdefs.h" | 4322 #include "confdefs.h" |
| 4324 /* Override any gcc2 internal prototype to avoid an error. */ | 4323 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4325 /* We use char because int might match the return type of a gcc2 | 4324 /* We use char because int might match the return type of a gcc2 |
| 4326 builtin and then its argument prototype would still apply. */ | 4325 builtin and then its argument prototype would still apply. */ |
| 4327 char cma_open(); | 4326 char cma_open(); |
| 4328 | 4327 |
| 4329 int main() { | 4328 int main() { |
| 4330 cma_open() | 4329 cma_open() |
| 4331 ; return 0; } | 4330 ; return 0; } |
| 4332 EOF | 4331 EOF |
| 4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4332 if { (eval echo configure:4333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4334 rm -rf conftest* | 4333 rm -rf conftest* |
| 4335 eval "ac_cv_lib_$ac_lib_var=yes" | 4334 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4336 else | 4335 else |
| 4337 echo "configure: failed program was:" >&5 | 4336 echo "configure: failed program was:" >&5 |
| 4338 cat conftest.$ac_ext >&5 | 4337 cat conftest.$ac_ext >&5 |
| 4364 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4363 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4365 c_switch_site="$c_switch_site -threads" ;; | 4364 c_switch_site="$c_switch_site -threads" ;; |
| 4366 esac | 4365 esac |
| 4367 | 4366 |
| 4368 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4367 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4369 echo "configure:4370: checking whether the -xildoff compiler flag is required" >&5 | 4368 echo "configure:4369: checking whether the -xildoff compiler flag is required" >&5 |
| 4370 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4369 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4371 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4370 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4372 then echo "$ac_t""no" 1>&6; | 4371 then echo "$ac_t""no" 1>&6; |
| 4373 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 | 4372 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 |
| 4374 fi | 4373 fi |
| 4375 else echo "$ac_t""no" 1>&6 | 4374 else echo "$ac_t""no" 1>&6 |
| 4376 fi | 4375 fi |
| 4377 | 4376 |
| 4378 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4377 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
| 4379 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4378 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4380 echo "configure:4381: checking for \"-z ignore\" linker flag" >&5 | 4379 echo "configure:4380: checking for \"-z ignore\" linker flag" >&5 |
| 4381 case "`ld -h 2>&1`" in | 4380 case "`ld -h 2>&1`" in |
| 4382 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4381 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4383 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4382 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4384 *) echo "$ac_t""no" 1>&6 ;; | 4383 *) echo "$ac_t""no" 1>&6 ;; |
| 4385 esac | 4384 esac |
| 4386 fi | 4385 fi |
| 4387 | 4386 |
| 4388 | 4387 |
| 4389 echo "checking "for specified window system"" 1>&6 | 4388 echo "checking "for specified window system"" 1>&6 |
| 4390 echo "configure:4391: checking "for specified window system"" >&5 | 4389 echo "configure:4390: checking "for specified window system"" >&5 |
| 4391 | 4390 |
| 4392 if test "$with_x11" != "no"; then | 4391 if test "$with_x11" != "no"; then |
| 4393 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4392 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4394 window_system=x11 with_x11=yes | 4393 window_system=x11 with_x11=yes |
| 4395 | 4394 |
| 4418 # If we find X, set shell vars x_includes and x_libraries to the | 4417 # If we find X, set shell vars x_includes and x_libraries to the |
| 4419 # paths, otherwise set no_x=yes. | 4418 # paths, otherwise set no_x=yes. |
| 4420 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4419 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4421 # --without-x overrides everything else, but does not touch the cache. | 4420 # --without-x overrides everything else, but does not touch the cache. |
| 4422 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4421 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4423 echo "configure:4424: checking for X" >&5 | 4422 echo "configure:4423: checking for X" >&5 |
| 4424 | 4423 |
| 4425 # Check whether --with-x or --without-x was given. | 4424 # Check whether --with-x or --without-x was given. |
| 4426 if test "${with_x+set}" = set; then | 4425 if test "${with_x+set}" = set; then |
| 4427 withval="$with_x" | 4426 withval="$with_x" |
| 4428 : | 4427 : |
| 4478 # Guess where to find include files, by looking for this one X11 .h file. | 4477 # Guess where to find include files, by looking for this one X11 .h file. |
| 4479 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4478 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 4480 | 4479 |
| 4481 # First, try using that file with no special directory specified. | 4480 # First, try using that file with no special directory specified. |
| 4482 cat > conftest.$ac_ext <<EOF | 4481 cat > conftest.$ac_ext <<EOF |
| 4483 #line 4484 "configure" | 4482 #line 4483 "configure" |
| 4484 #include "confdefs.h" | 4483 #include "confdefs.h" |
| 4485 #include <$x_direct_test_include> | 4484 #include <$x_direct_test_include> |
| 4486 EOF | 4485 EOF |
| 4487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4488 { (eval echo configure:4489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4487 { (eval echo configure:4488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4489 ac_err=`grep -v '^ *+' conftest.out` | 4488 ac_err=`grep -v '^ *+' conftest.out` |
| 4490 if test -z "$ac_err"; then | 4489 if test -z "$ac_err"; then |
| 4491 rm -rf conftest* | 4490 rm -rf conftest* |
| 4492 # We can compile using X headers with no special include directory. | 4491 # We can compile using X headers with no special include directory. |
| 4493 ac_x_includes= | 4492 ac_x_includes= |
| 4552 # See if we find them without any special options. | 4551 # See if we find them without any special options. |
| 4553 # Don't add to $LIBS permanently. | 4552 # Don't add to $LIBS permanently. |
| 4554 ac_save_LIBS="$LIBS" | 4553 ac_save_LIBS="$LIBS" |
| 4555 LIBS="-l$x_direct_test_library $LIBS" | 4554 LIBS="-l$x_direct_test_library $LIBS" |
| 4556 cat > conftest.$ac_ext <<EOF | 4555 cat > conftest.$ac_ext <<EOF |
| 4557 #line 4558 "configure" | 4556 #line 4557 "configure" |
| 4558 #include "confdefs.h" | 4557 #include "confdefs.h" |
| 4559 | 4558 |
| 4560 int main() { | 4559 int main() { |
| 4561 ${x_direct_test_function}() | 4560 ${x_direct_test_function}() |
| 4562 ; return 0; } | 4561 ; return 0; } |
| 4563 EOF | 4562 EOF |
| 4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4563 if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4565 rm -rf conftest* | 4564 rm -rf conftest* |
| 4566 LIBS="$ac_save_LIBS" | 4565 LIBS="$ac_save_LIBS" |
| 4567 # We can link X programs with no special library path. | 4566 # We can link X programs with no special library path. |
| 4568 ac_x_libraries= | 4567 ac_x_libraries= |
| 4569 else | 4568 else |
| 4668 # For Solaris; some versions of Sun CC require a space after -R and | 4667 # For Solaris; some versions of Sun CC require a space after -R and |
| 4669 # others require no space. Words are not sufficient . . . . | 4668 # others require no space. Words are not sufficient . . . . |
| 4670 case "`(uname -sr) 2>/dev/null`" in | 4669 case "`(uname -sr) 2>/dev/null`" in |
| 4671 "SunOS 5"*) | 4670 "SunOS 5"*) |
| 4672 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4671 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 4673 echo "configure:4674: checking whether -R must be followed by a space" >&5 | 4672 echo "configure:4673: checking whether -R must be followed by a space" >&5 |
| 4674 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4673 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 4675 cat > conftest.$ac_ext <<EOF | 4674 cat > conftest.$ac_ext <<EOF |
| 4676 #line 4677 "configure" | 4675 #line 4676 "configure" |
| 4677 #include "confdefs.h" | 4676 #include "confdefs.h" |
| 4678 | 4677 |
| 4679 int main() { | 4678 int main() { |
| 4680 | 4679 |
| 4681 ; return 0; } | 4680 ; return 0; } |
| 4682 EOF | 4681 EOF |
| 4683 if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4682 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4684 rm -rf conftest* | 4683 rm -rf conftest* |
| 4685 ac_R_nospace=yes | 4684 ac_R_nospace=yes |
| 4686 else | 4685 else |
| 4687 echo "configure: failed program was:" >&5 | 4686 echo "configure: failed program was:" >&5 |
| 4688 cat conftest.$ac_ext >&5 | 4687 cat conftest.$ac_ext >&5 |
| 4694 echo "$ac_t""no" 1>&6 | 4693 echo "$ac_t""no" 1>&6 |
| 4695 X_LIBS="$X_LIBS -R$x_libraries" | 4694 X_LIBS="$X_LIBS -R$x_libraries" |
| 4696 else | 4695 else |
| 4697 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4696 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 4698 cat > conftest.$ac_ext <<EOF | 4697 cat > conftest.$ac_ext <<EOF |
| 4699 #line 4700 "configure" | 4698 #line 4699 "configure" |
| 4700 #include "confdefs.h" | 4699 #include "confdefs.h" |
| 4701 | 4700 |
| 4702 int main() { | 4701 int main() { |
| 4703 | 4702 |
| 4704 ; return 0; } | 4703 ; return 0; } |
| 4705 EOF | 4704 EOF |
| 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4707 rm -rf conftest* | 4706 rm -rf conftest* |
| 4708 ac_R_space=yes | 4707 ac_R_space=yes |
| 4709 else | 4708 else |
| 4710 echo "configure: failed program was:" >&5 | 4709 echo "configure: failed program was:" >&5 |
| 4711 cat conftest.$ac_ext >&5 | 4710 cat conftest.$ac_ext >&5 |
| 4737 if test "$with_dnet" = "no" ; then | 4736 if test "$with_dnet" = "no" ; then |
| 4738 ac_cv_lib_dnet_dnet_ntoa=no | 4737 ac_cv_lib_dnet_dnet_ntoa=no |
| 4739 else | 4738 else |
| 4740 | 4739 |
| 4741 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4740 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 4742 echo "configure:4743: checking for dnet_ntoa in -ldnet" >&5 | 4741 echo "configure:4742: checking for dnet_ntoa in -ldnet" >&5 |
| 4743 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4742 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4744 | 4743 |
| 4745 xe_check_libs=" -ldnet " | 4744 xe_check_libs=" -ldnet " |
| 4746 cat > conftest.$ac_ext <<EOF | 4745 cat > conftest.$ac_ext <<EOF |
| 4747 #line 4748 "configure" | 4746 #line 4747 "configure" |
| 4748 #include "confdefs.h" | 4747 #include "confdefs.h" |
| 4749 /* Override any gcc2 internal prototype to avoid an error. */ | 4748 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4750 /* We use char because int might match the return type of a gcc2 | 4749 /* We use char because int might match the return type of a gcc2 |
| 4751 builtin and then its argument prototype would still apply. */ | 4750 builtin and then its argument prototype would still apply. */ |
| 4752 char dnet_ntoa(); | 4751 char dnet_ntoa(); |
| 4753 | 4752 |
| 4754 int main() { | 4753 int main() { |
| 4755 dnet_ntoa() | 4754 dnet_ntoa() |
| 4756 ; return 0; } | 4755 ; return 0; } |
| 4757 EOF | 4756 EOF |
| 4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4757 if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4759 rm -rf conftest* | 4758 rm -rf conftest* |
| 4760 eval "ac_cv_lib_$ac_lib_var=yes" | 4759 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4761 else | 4760 else |
| 4762 echo "configure: failed program was:" >&5 | 4761 echo "configure: failed program was:" >&5 |
| 4763 cat conftest.$ac_ext >&5 | 4762 cat conftest.$ac_ext >&5 |
| 4777 fi | 4776 fi |
| 4778 | 4777 |
| 4779 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4778 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 4780 | 4779 |
| 4781 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4780 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 4782 echo "configure:4783: checking for dnet_ntoa in -ldnet_stub" >&5 | 4781 echo "configure:4782: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 4783 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4782 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 4784 | 4783 |
| 4785 xe_check_libs=" -ldnet_stub " | 4784 xe_check_libs=" -ldnet_stub " |
| 4786 cat > conftest.$ac_ext <<EOF | 4785 cat > conftest.$ac_ext <<EOF |
| 4787 #line 4788 "configure" | 4786 #line 4787 "configure" |
| 4788 #include "confdefs.h" | 4787 #include "confdefs.h" |
| 4789 /* Override any gcc2 internal prototype to avoid an error. */ | 4788 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4790 /* We use char because int might match the return type of a gcc2 | 4789 /* We use char because int might match the return type of a gcc2 |
| 4791 builtin and then its argument prototype would still apply. */ | 4790 builtin and then its argument prototype would still apply. */ |
| 4792 char dnet_ntoa(); | 4791 char dnet_ntoa(); |
| 4793 | 4792 |
| 4794 int main() { | 4793 int main() { |
| 4795 dnet_ntoa() | 4794 dnet_ntoa() |
| 4796 ; return 0; } | 4795 ; return 0; } |
| 4797 EOF | 4796 EOF |
| 4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4797 if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4799 rm -rf conftest* | 4798 rm -rf conftest* |
| 4800 eval "ac_cv_lib_$ac_lib_var=yes" | 4799 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4801 else | 4800 else |
| 4802 echo "configure: failed program was:" >&5 | 4801 echo "configure: failed program was:" >&5 |
| 4803 cat conftest.$ac_ext >&5 | 4802 cat conftest.$ac_ext >&5 |
| 4822 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4821 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 4823 # needs -lnsl. | 4822 # needs -lnsl. |
| 4824 # The nsl library prevents programs from opening the X display | 4823 # The nsl library prevents programs from opening the X display |
| 4825 # on Irix 5.2, according to dickey@clark.net. | 4824 # on Irix 5.2, according to dickey@clark.net. |
| 4826 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4825 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 4827 echo "configure:4828: checking for gethostbyname" >&5 | 4826 echo "configure:4827: checking for gethostbyname" >&5 |
| 4828 | 4827 |
| 4829 cat > conftest.$ac_ext <<EOF | 4828 cat > conftest.$ac_ext <<EOF |
| 4830 #line 4831 "configure" | 4829 #line 4830 "configure" |
| 4831 #include "confdefs.h" | 4830 #include "confdefs.h" |
| 4832 /* System header to define __stub macros and hopefully few prototypes, | 4831 /* System header to define __stub macros and hopefully few prototypes, |
| 4833 which can conflict with char gethostbyname(); below. */ | 4832 which can conflict with char gethostbyname(); below. */ |
| 4834 #include <assert.h> | 4833 #include <assert.h> |
| 4835 /* Override any gcc2 internal prototype to avoid an error. */ | 4834 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4848 gethostbyname(); | 4847 gethostbyname(); |
| 4849 #endif | 4848 #endif |
| 4850 | 4849 |
| 4851 ; return 0; } | 4850 ; return 0; } |
| 4852 EOF | 4851 EOF |
| 4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4854 rm -rf conftest* | 4853 rm -rf conftest* |
| 4855 eval "ac_cv_func_gethostbyname=yes" | 4854 eval "ac_cv_func_gethostbyname=yes" |
| 4856 else | 4855 else |
| 4857 echo "configure: failed program was:" >&5 | 4856 echo "configure: failed program was:" >&5 |
| 4858 cat conftest.$ac_ext >&5 | 4857 cat conftest.$ac_ext >&5 |
| 4869 fi | 4868 fi |
| 4870 | 4869 |
| 4871 if test $ac_cv_func_gethostbyname = no; then | 4870 if test $ac_cv_func_gethostbyname = no; then |
| 4872 | 4871 |
| 4873 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4872 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 4874 echo "configure:4875: checking for gethostbyname in -lnsl" >&5 | 4873 echo "configure:4874: checking for gethostbyname in -lnsl" >&5 |
| 4875 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4874 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 4876 | 4875 |
| 4877 xe_check_libs=" -lnsl " | 4876 xe_check_libs=" -lnsl " |
| 4878 cat > conftest.$ac_ext <<EOF | 4877 cat > conftest.$ac_ext <<EOF |
| 4879 #line 4880 "configure" | 4878 #line 4879 "configure" |
| 4880 #include "confdefs.h" | 4879 #include "confdefs.h" |
| 4881 /* Override any gcc2 internal prototype to avoid an error. */ | 4880 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4882 /* We use char because int might match the return type of a gcc2 | 4881 /* We use char because int might match the return type of a gcc2 |
| 4883 builtin and then its argument prototype would still apply. */ | 4882 builtin and then its argument prototype would still apply. */ |
| 4884 char gethostbyname(); | 4883 char gethostbyname(); |
| 4885 | 4884 |
| 4886 int main() { | 4885 int main() { |
| 4887 gethostbyname() | 4886 gethostbyname() |
| 4888 ; return 0; } | 4887 ; return 0; } |
| 4889 EOF | 4888 EOF |
| 4890 if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4889 if { (eval echo configure:4890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4891 rm -rf conftest* | 4890 rm -rf conftest* |
| 4892 eval "ac_cv_lib_$ac_lib_var=yes" | 4891 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4893 else | 4892 else |
| 4894 echo "configure: failed program was:" >&5 | 4893 echo "configure: failed program was:" >&5 |
| 4895 cat conftest.$ac_ext >&5 | 4894 cat conftest.$ac_ext >&5 |
| 4915 # on later versions), says simon@lia.di.epfl.ch: it contains | 4914 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 4916 # gethostby* variants that don't use the nameserver (or something). | 4915 # gethostby* variants that don't use the nameserver (or something). |
| 4917 # -lsocket must be given before -lnsl if both are needed. | 4916 # -lsocket must be given before -lnsl if both are needed. |
| 4918 # We assume that if connect needs -lnsl, so does gethostbyname. | 4917 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 4919 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4918 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 4920 echo "configure:4921: checking for connect" >&5 | 4919 echo "configure:4920: checking for connect" >&5 |
| 4921 | 4920 |
| 4922 cat > conftest.$ac_ext <<EOF | 4921 cat > conftest.$ac_ext <<EOF |
| 4923 #line 4924 "configure" | 4922 #line 4923 "configure" |
| 4924 #include "confdefs.h" | 4923 #include "confdefs.h" |
| 4925 /* System header to define __stub macros and hopefully few prototypes, | 4924 /* System header to define __stub macros and hopefully few prototypes, |
| 4926 which can conflict with char connect(); below. */ | 4925 which can conflict with char connect(); below. */ |
| 4927 #include <assert.h> | 4926 #include <assert.h> |
| 4928 /* Override any gcc2 internal prototype to avoid an error. */ | 4927 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4941 connect(); | 4940 connect(); |
| 4942 #endif | 4941 #endif |
| 4943 | 4942 |
| 4944 ; return 0; } | 4943 ; return 0; } |
| 4945 EOF | 4944 EOF |
| 4946 if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4947 rm -rf conftest* | 4946 rm -rf conftest* |
| 4948 eval "ac_cv_func_connect=yes" | 4947 eval "ac_cv_func_connect=yes" |
| 4949 else | 4948 else |
| 4950 echo "configure: failed program was:" >&5 | 4949 echo "configure: failed program was:" >&5 |
| 4951 cat conftest.$ac_ext >&5 | 4950 cat conftest.$ac_ext >&5 |
| 4964 if test $ac_cv_func_connect = no; then | 4963 if test $ac_cv_func_connect = no; then |
| 4965 | 4964 |
| 4966 xe_msg_checking="for connect in -lsocket" | 4965 xe_msg_checking="for connect in -lsocket" |
| 4967 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4966 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 4968 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4967 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 4969 echo "configure:4970: checking "$xe_msg_checking"" >&5 | 4968 echo "configure:4969: checking "$xe_msg_checking"" >&5 |
| 4970 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4969 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 4971 | 4970 |
| 4972 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4971 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 4973 cat > conftest.$ac_ext <<EOF | 4972 cat > conftest.$ac_ext <<EOF |
| 4974 #line 4975 "configure" | 4973 #line 4974 "configure" |
| 4975 #include "confdefs.h" | 4974 #include "confdefs.h" |
| 4976 /* Override any gcc2 internal prototype to avoid an error. */ | 4975 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4977 /* We use char because int might match the return type of a gcc2 | 4976 /* We use char because int might match the return type of a gcc2 |
| 4978 builtin and then its argument prototype would still apply. */ | 4977 builtin and then its argument prototype would still apply. */ |
| 4979 char connect(); | 4978 char connect(); |
| 4980 | 4979 |
| 4981 int main() { | 4980 int main() { |
| 4982 connect() | 4981 connect() |
| 4983 ; return 0; } | 4982 ; return 0; } |
| 4984 EOF | 4983 EOF |
| 4985 if { (eval echo configure:4986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 4986 rm -rf conftest* | 4985 rm -rf conftest* |
| 4987 eval "ac_cv_lib_$ac_lib_var=yes" | 4986 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4988 else | 4987 else |
| 4989 echo "configure: failed program was:" >&5 | 4988 echo "configure: failed program was:" >&5 |
| 4990 cat conftest.$ac_ext >&5 | 4989 cat conftest.$ac_ext >&5 |
| 5004 | 5003 |
| 5005 fi | 5004 fi |
| 5006 | 5005 |
| 5007 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5006 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 5008 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5007 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 5009 echo "configure:5010: checking for remove" >&5 | 5008 echo "configure:5009: checking for remove" >&5 |
| 5010 | 5009 |
| 5011 cat > conftest.$ac_ext <<EOF | 5010 cat > conftest.$ac_ext <<EOF |
| 5012 #line 5013 "configure" | 5011 #line 5012 "configure" |
| 5013 #include "confdefs.h" | 5012 #include "confdefs.h" |
| 5014 /* System header to define __stub macros and hopefully few prototypes, | 5013 /* System header to define __stub macros and hopefully few prototypes, |
| 5015 which can conflict with char remove(); below. */ | 5014 which can conflict with char remove(); below. */ |
| 5016 #include <assert.h> | 5015 #include <assert.h> |
| 5017 /* Override any gcc2 internal prototype to avoid an error. */ | 5016 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5030 remove(); | 5029 remove(); |
| 5031 #endif | 5030 #endif |
| 5032 | 5031 |
| 5033 ; return 0; } | 5032 ; return 0; } |
| 5034 EOF | 5033 EOF |
| 5035 if { (eval echo configure:5036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5034 if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5036 rm -rf conftest* | 5035 rm -rf conftest* |
| 5037 eval "ac_cv_func_remove=yes" | 5036 eval "ac_cv_func_remove=yes" |
| 5038 else | 5037 else |
| 5039 echo "configure: failed program was:" >&5 | 5038 echo "configure: failed program was:" >&5 |
| 5040 cat conftest.$ac_ext >&5 | 5039 cat conftest.$ac_ext >&5 |
| 5051 fi | 5050 fi |
| 5052 | 5051 |
| 5053 if test $ac_cv_func_remove = no; then | 5052 if test $ac_cv_func_remove = no; then |
| 5054 | 5053 |
| 5055 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5054 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 5056 echo "configure:5057: checking for remove in -lposix" >&5 | 5055 echo "configure:5056: checking for remove in -lposix" >&5 |
| 5057 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5056 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 5058 | 5057 |
| 5059 xe_check_libs=" -lposix " | 5058 xe_check_libs=" -lposix " |
| 5060 cat > conftest.$ac_ext <<EOF | 5059 cat > conftest.$ac_ext <<EOF |
| 5061 #line 5062 "configure" | 5060 #line 5061 "configure" |
| 5062 #include "confdefs.h" | 5061 #include "confdefs.h" |
| 5063 /* Override any gcc2 internal prototype to avoid an error. */ | 5062 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5064 /* We use char because int might match the return type of a gcc2 | 5063 /* We use char because int might match the return type of a gcc2 |
| 5065 builtin and then its argument prototype would still apply. */ | 5064 builtin and then its argument prototype would still apply. */ |
| 5066 char remove(); | 5065 char remove(); |
| 5067 | 5066 |
| 5068 int main() { | 5067 int main() { |
| 5069 remove() | 5068 remove() |
| 5070 ; return 0; } | 5069 ; return 0; } |
| 5071 EOF | 5070 EOF |
| 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5071 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5073 rm -rf conftest* | 5072 rm -rf conftest* |
| 5074 eval "ac_cv_lib_$ac_lib_var=yes" | 5073 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5075 else | 5074 else |
| 5076 echo "configure: failed program was:" >&5 | 5075 echo "configure: failed program was:" >&5 |
| 5077 cat conftest.$ac_ext >&5 | 5076 cat conftest.$ac_ext >&5 |
| 5091 | 5090 |
| 5092 fi | 5091 fi |
| 5093 | 5092 |
| 5094 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5093 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5095 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5094 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5096 echo "configure:5097: checking for shmat" >&5 | 5095 echo "configure:5096: checking for shmat" >&5 |
| 5097 | 5096 |
| 5098 cat > conftest.$ac_ext <<EOF | 5097 cat > conftest.$ac_ext <<EOF |
| 5099 #line 5100 "configure" | 5098 #line 5099 "configure" |
| 5100 #include "confdefs.h" | 5099 #include "confdefs.h" |
| 5101 /* System header to define __stub macros and hopefully few prototypes, | 5100 /* System header to define __stub macros and hopefully few prototypes, |
| 5102 which can conflict with char shmat(); below. */ | 5101 which can conflict with char shmat(); below. */ |
| 5103 #include <assert.h> | 5102 #include <assert.h> |
| 5104 /* Override any gcc2 internal prototype to avoid an error. */ | 5103 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5117 shmat(); | 5116 shmat(); |
| 5118 #endif | 5117 #endif |
| 5119 | 5118 |
| 5120 ; return 0; } | 5119 ; return 0; } |
| 5121 EOF | 5120 EOF |
| 5122 if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5121 if { (eval echo configure:5122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5123 rm -rf conftest* | 5122 rm -rf conftest* |
| 5124 eval "ac_cv_func_shmat=yes" | 5123 eval "ac_cv_func_shmat=yes" |
| 5125 else | 5124 else |
| 5126 echo "configure: failed program was:" >&5 | 5125 echo "configure: failed program was:" >&5 |
| 5127 cat conftest.$ac_ext >&5 | 5126 cat conftest.$ac_ext >&5 |
| 5138 fi | 5137 fi |
| 5139 | 5138 |
| 5140 if test $ac_cv_func_shmat = no; then | 5139 if test $ac_cv_func_shmat = no; then |
| 5141 | 5140 |
| 5142 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5141 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5143 echo "configure:5144: checking for shmat in -lipc" >&5 | 5142 echo "configure:5143: checking for shmat in -lipc" >&5 |
| 5144 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5143 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5145 | 5144 |
| 5146 xe_check_libs=" -lipc " | 5145 xe_check_libs=" -lipc " |
| 5147 cat > conftest.$ac_ext <<EOF | 5146 cat > conftest.$ac_ext <<EOF |
| 5148 #line 5149 "configure" | 5147 #line 5148 "configure" |
| 5149 #include "confdefs.h" | 5148 #include "confdefs.h" |
| 5150 /* Override any gcc2 internal prototype to avoid an error. */ | 5149 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5151 /* We use char because int might match the return type of a gcc2 | 5150 /* We use char because int might match the return type of a gcc2 |
| 5152 builtin and then its argument prototype would still apply. */ | 5151 builtin and then its argument prototype would still apply. */ |
| 5153 char shmat(); | 5152 char shmat(); |
| 5154 | 5153 |
| 5155 int main() { | 5154 int main() { |
| 5156 shmat() | 5155 shmat() |
| 5157 ; return 0; } | 5156 ; return 0; } |
| 5158 EOF | 5157 EOF |
| 5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5158 if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5160 rm -rf conftest* | 5159 rm -rf conftest* |
| 5161 eval "ac_cv_lib_$ac_lib_var=yes" | 5160 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5162 else | 5161 else |
| 5163 echo "configure: failed program was:" >&5 | 5162 echo "configure: failed program was:" >&5 |
| 5164 cat conftest.$ac_ext >&5 | 5163 cat conftest.$ac_ext >&5 |
| 5188 # These have to be linked with before -lX11, unlike the other | 5187 # These have to be linked with before -lX11, unlike the other |
| 5189 # libraries we check for below, so use a different variable. | 5188 # libraries we check for below, so use a different variable. |
| 5190 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5189 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5191 | 5190 |
| 5192 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 5191 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
| 5193 echo "configure:5194: checking for IceConnectionNumber in -lICE" >&5 | 5192 echo "configure:5193: checking for IceConnectionNumber in -lICE" >&5 |
| 5194 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5193 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5195 | 5194 |
| 5196 xe_check_libs=" -lICE " | 5195 xe_check_libs=" -lICE " |
| 5197 cat > conftest.$ac_ext <<EOF | 5196 cat > conftest.$ac_ext <<EOF |
| 5198 #line 5199 "configure" | 5197 #line 5198 "configure" |
| 5199 #include "confdefs.h" | 5198 #include "confdefs.h" |
| 5200 /* Override any gcc2 internal prototype to avoid an error. */ | 5199 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5201 /* We use char because int might match the return type of a gcc2 | 5200 /* We use char because int might match the return type of a gcc2 |
| 5202 builtin and then its argument prototype would still apply. */ | 5201 builtin and then its argument prototype would still apply. */ |
| 5203 char IceConnectionNumber(); | 5202 char IceConnectionNumber(); |
| 5204 | 5203 |
| 5205 int main() { | 5204 int main() { |
| 5206 IceConnectionNumber() | 5205 IceConnectionNumber() |
| 5207 ; return 0; } | 5206 ; return 0; } |
| 5208 EOF | 5207 EOF |
| 5209 if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5208 if { (eval echo configure:5209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5210 rm -rf conftest* | 5209 rm -rf conftest* |
| 5211 eval "ac_cv_lib_$ac_lib_var=yes" | 5210 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5212 else | 5211 else |
| 5213 echo "configure: failed program was:" >&5 | 5212 echo "configure: failed program was:" >&5 |
| 5214 cat conftest.$ac_ext >&5 | 5213 cat conftest.$ac_ext >&5 |
| 5332 | 5331 |
| 5333 if test "$GCC" = "yes"; then | 5332 if test "$GCC" = "yes"; then |
| 5334 set x $ld_switch_run; shift; ld_switch_run="" | 5333 set x $ld_switch_run; shift; ld_switch_run="" |
| 5335 while test -n "$1"; do | 5334 while test -n "$1"; do |
| 5336 case $1 in | 5335 case $1 in |
| 5337 -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; | 5336 -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; |
| 5338 -L* | -l* | -u* | -Wl* ) ld_switch_run="$ld_switch_run $1" ;; | 5337 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; |
| 5339 -Xlinker* ) ;; | 5338 -Xlinker* ) ;; |
| 5340 * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; | 5339 * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; |
| 5341 esac | 5340 esac |
| 5342 shift | 5341 shift |
| 5343 done | 5342 done |
| 5373 EOF | 5372 EOF |
| 5374 } | 5373 } |
| 5375 | 5374 |
| 5376 | 5375 |
| 5377 echo "checking for X defines extracted by xmkmf" 1>&6 | 5376 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5378 echo "configure:5379: checking for X defines extracted by xmkmf" >&5 | 5377 echo "configure:5378: checking for X defines extracted by xmkmf" >&5 |
| 5379 rm -fr conftestdir | 5378 rm -fr conftestdir |
| 5380 if mkdir conftestdir; then | 5379 if mkdir conftestdir; then |
| 5381 cd conftestdir | 5380 cd conftestdir |
| 5382 cat > Imakefile <<'EOF' | 5381 cat > Imakefile <<'EOF' |
| 5383 xetest: | 5382 xetest: |
| 5405 done | 5404 done |
| 5406 fi | 5405 fi |
| 5407 | 5406 |
| 5408 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5407 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5409 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5408 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5410 echo "configure:5411: checking for X11/Intrinsic.h" >&5 | 5409 echo "configure:5410: checking for X11/Intrinsic.h" >&5 |
| 5411 | 5410 |
| 5412 cat > conftest.$ac_ext <<EOF | 5411 cat > conftest.$ac_ext <<EOF |
| 5413 #line 5414 "configure" | 5412 #line 5413 "configure" |
| 5414 #include "confdefs.h" | 5413 #include "confdefs.h" |
| 5415 #include <X11/Intrinsic.h> | 5414 #include <X11/Intrinsic.h> |
| 5416 EOF | 5415 EOF |
| 5417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5418 { (eval echo configure:5419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5417 { (eval echo configure:5418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5419 ac_err=`grep -v '^ *+' conftest.out` | 5418 ac_err=`grep -v '^ *+' conftest.out` |
| 5420 if test -z "$ac_err"; then | 5419 if test -z "$ac_err"; then |
| 5421 rm -rf conftest* | 5420 rm -rf conftest* |
| 5422 eval "ac_cv_header_$ac_safe=yes" | 5421 eval "ac_cv_header_$ac_safe=yes" |
| 5423 else | 5422 else |
| 5437 fi | 5436 fi |
| 5438 | 5437 |
| 5439 | 5438 |
| 5440 | 5439 |
| 5441 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5440 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 5442 echo "configure:5443: checking for XOpenDisplay in -lX11" >&5 | 5441 echo "configure:5442: checking for XOpenDisplay in -lX11" >&5 |
| 5443 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5442 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 5444 | 5443 |
| 5445 xe_check_libs=" -lX11 " | 5444 xe_check_libs=" -lX11 " |
| 5446 cat > conftest.$ac_ext <<EOF | 5445 cat > conftest.$ac_ext <<EOF |
| 5447 #line 5448 "configure" | 5446 #line 5447 "configure" |
| 5448 #include "confdefs.h" | 5447 #include "confdefs.h" |
| 5449 /* Override any gcc2 internal prototype to avoid an error. */ | 5448 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5450 /* We use char because int might match the return type of a gcc2 | 5449 /* We use char because int might match the return type of a gcc2 |
| 5451 builtin and then its argument prototype would still apply. */ | 5450 builtin and then its argument prototype would still apply. */ |
| 5452 char XOpenDisplay(); | 5451 char XOpenDisplay(); |
| 5453 | 5452 |
| 5454 int main() { | 5453 int main() { |
| 5455 XOpenDisplay() | 5454 XOpenDisplay() |
| 5456 ; return 0; } | 5455 ; return 0; } |
| 5457 EOF | 5456 EOF |
| 5458 if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5457 if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5459 rm -rf conftest* | 5458 rm -rf conftest* |
| 5460 eval "ac_cv_lib_$ac_lib_var=yes" | 5459 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5461 else | 5460 else |
| 5462 echo "configure: failed program was:" >&5 | 5461 echo "configure: failed program was:" >&5 |
| 5463 cat conftest.$ac_ext >&5 | 5462 cat conftest.$ac_ext >&5 |
| 5478 if test "$have_lib_x11" != "yes"; then | 5477 if test "$have_lib_x11" != "yes"; then |
| 5479 | 5478 |
| 5480 xe_msg_checking="for XGetFontProperty in -lX11" | 5479 xe_msg_checking="for XGetFontProperty in -lX11" |
| 5481 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5480 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 5482 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5481 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5483 echo "configure:5484: checking "$xe_msg_checking"" >&5 | 5482 echo "configure:5483: checking "$xe_msg_checking"" >&5 |
| 5484 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5483 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 5485 | 5484 |
| 5486 xe_check_libs=" -lX11 -b i486-linuxaout" | 5485 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 5487 cat > conftest.$ac_ext <<EOF | 5486 cat > conftest.$ac_ext <<EOF |
| 5488 #line 5489 "configure" | 5487 #line 5488 "configure" |
| 5489 #include "confdefs.h" | 5488 #include "confdefs.h" |
| 5490 /* Override any gcc2 internal prototype to avoid an error. */ | 5489 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5491 /* We use char because int might match the return type of a gcc2 | 5490 /* We use char because int might match the return type of a gcc2 |
| 5492 builtin and then its argument prototype would still apply. */ | 5491 builtin and then its argument prototype would still apply. */ |
| 5493 char XGetFontProperty(); | 5492 char XGetFontProperty(); |
| 5494 | 5493 |
| 5495 int main() { | 5494 int main() { |
| 5496 XGetFontProperty() | 5495 XGetFontProperty() |
| 5497 ; return 0; } | 5496 ; return 0; } |
| 5498 EOF | 5497 EOF |
| 5499 if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5498 if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5500 rm -rf conftest* | 5499 rm -rf conftest* |
| 5501 eval "ac_cv_lib_$ac_lib_var=yes" | 5500 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5502 else | 5501 else |
| 5503 echo "configure: failed program was:" >&5 | 5502 echo "configure: failed program was:" >&5 |
| 5504 cat conftest.$ac_ext >&5 | 5503 cat conftest.$ac_ext >&5 |
| 5521 libs_x="-lX11" | 5520 libs_x="-lX11" |
| 5522 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5521 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 5523 | 5522 |
| 5524 | 5523 |
| 5525 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5524 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 5526 echo "configure:5527: checking for XShapeSelectInput in -lXext" >&5 | 5525 echo "configure:5526: checking for XShapeSelectInput in -lXext" >&5 |
| 5527 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5526 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 5528 | 5527 |
| 5529 xe_check_libs=" -lXext " | 5528 xe_check_libs=" -lXext " |
| 5530 cat > conftest.$ac_ext <<EOF | 5529 cat > conftest.$ac_ext <<EOF |
| 5531 #line 5532 "configure" | 5530 #line 5531 "configure" |
| 5532 #include "confdefs.h" | 5531 #include "confdefs.h" |
| 5533 /* Override any gcc2 internal prototype to avoid an error. */ | 5532 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5534 /* We use char because int might match the return type of a gcc2 | 5533 /* We use char because int might match the return type of a gcc2 |
| 5535 builtin and then its argument prototype would still apply. */ | 5534 builtin and then its argument prototype would still apply. */ |
| 5536 char XShapeSelectInput(); | 5535 char XShapeSelectInput(); |
| 5537 | 5536 |
| 5538 int main() { | 5537 int main() { |
| 5539 XShapeSelectInput() | 5538 XShapeSelectInput() |
| 5540 ; return 0; } | 5539 ; return 0; } |
| 5541 EOF | 5540 EOF |
| 5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5541 if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5543 rm -rf conftest* | 5542 rm -rf conftest* |
| 5544 eval "ac_cv_lib_$ac_lib_var=yes" | 5543 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5545 else | 5544 else |
| 5546 echo "configure: failed program was:" >&5 | 5545 echo "configure: failed program was:" >&5 |
| 5547 cat conftest.$ac_ext >&5 | 5546 cat conftest.$ac_ext >&5 |
| 5560 | 5559 |
| 5561 | 5560 |
| 5562 | 5561 |
| 5563 | 5562 |
| 5564 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5563 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 5565 echo "configure:5566: checking for XtOpenDisplay in -lXt" >&5 | 5564 echo "configure:5565: checking for XtOpenDisplay in -lXt" >&5 |
| 5566 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5565 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 5567 | 5566 |
| 5568 xe_check_libs=" -lXt " | 5567 xe_check_libs=" -lXt " |
| 5569 cat > conftest.$ac_ext <<EOF | 5568 cat > conftest.$ac_ext <<EOF |
| 5570 #line 5571 "configure" | 5569 #line 5570 "configure" |
| 5571 #include "confdefs.h" | 5570 #include "confdefs.h" |
| 5572 /* Override any gcc2 internal prototype to avoid an error. */ | 5571 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5573 /* We use char because int might match the return type of a gcc2 | 5572 /* We use char because int might match the return type of a gcc2 |
| 5574 builtin and then its argument prototype would still apply. */ | 5573 builtin and then its argument prototype would still apply. */ |
| 5575 char XtOpenDisplay(); | 5574 char XtOpenDisplay(); |
| 5576 | 5575 |
| 5577 int main() { | 5576 int main() { |
| 5578 XtOpenDisplay() | 5577 XtOpenDisplay() |
| 5579 ; return 0; } | 5578 ; return 0; } |
| 5580 EOF | 5579 EOF |
| 5581 if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5580 if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5582 rm -rf conftest* | 5581 rm -rf conftest* |
| 5583 eval "ac_cv_lib_$ac_lib_var=yes" | 5582 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5584 else | 5583 else |
| 5585 echo "configure: failed program was:" >&5 | 5584 echo "configure: failed program was:" >&5 |
| 5586 cat conftest.$ac_ext >&5 | 5585 cat conftest.$ac_ext >&5 |
| 5599 fi | 5598 fi |
| 5600 | 5599 |
| 5601 | 5600 |
| 5602 | 5601 |
| 5603 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5602 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 5604 echo "configure:5605: checking the version of X11 being used" >&5 | 5603 echo "configure:5604: checking the version of X11 being used" >&5 |
| 5605 cat > conftest.$ac_ext <<EOF | 5604 cat > conftest.$ac_ext <<EOF |
| 5606 #line 5607 "configure" | 5605 #line 5606 "configure" |
| 5607 #include "confdefs.h" | 5606 #include "confdefs.h" |
| 5608 #include <X11/Intrinsic.h> | 5607 #include <X11/Intrinsic.h> |
| 5609 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5608 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 5610 EOF | 5609 EOF |
| 5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5610 if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5612 then | 5611 then |
| 5613 ./conftest foobar; x11_release=$? | 5612 ./conftest foobar; x11_release=$? |
| 5614 else | 5613 else |
| 5615 conftest_rc="$?" | 5614 conftest_rc="$?" |
| 5616 echo "configure: failed program was:" >&5 | 5615 echo "configure: failed program was:" >&5 |
| 5631 | 5630 |
| 5632 for ac_hdr in X11/Xlocale.h | 5631 for ac_hdr in X11/Xlocale.h |
| 5633 do | 5632 do |
| 5634 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5633 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5634 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5636 echo "configure:5637: checking for $ac_hdr" >&5 | 5635 echo "configure:5636: checking for $ac_hdr" >&5 |
| 5637 | 5636 |
| 5638 cat > conftest.$ac_ext <<EOF | 5637 cat > conftest.$ac_ext <<EOF |
| 5639 #line 5640 "configure" | 5638 #line 5639 "configure" |
| 5640 #include "confdefs.h" | 5639 #include "confdefs.h" |
| 5641 #include <$ac_hdr> | 5640 #include <$ac_hdr> |
| 5642 EOF | 5641 EOF |
| 5643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5644 { (eval echo configure:5645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5643 { (eval echo configure:5644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5645 ac_err=`grep -v '^ *+' conftest.out` | 5644 ac_err=`grep -v '^ *+' conftest.out` |
| 5646 if test -z "$ac_err"; then | 5645 if test -z "$ac_err"; then |
| 5647 rm -rf conftest* | 5646 rm -rf conftest* |
| 5648 eval "ac_cv_header_$ac_safe=yes" | 5647 eval "ac_cv_header_$ac_safe=yes" |
| 5649 else | 5648 else |
| 5670 fi | 5669 fi |
| 5671 done | 5670 done |
| 5672 | 5671 |
| 5673 | 5672 |
| 5674 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5673 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
| 5675 echo "configure:5676: checking for XFree86" >&5 | 5674 echo "configure:5675: checking for XFree86" >&5 |
| 5676 if test -d "/usr/X386/include" -o \ | 5675 if test -d "/usr/X386/include" -o \ |
| 5677 -f "/etc/XF86Config" -o \ | 5676 -f "/etc/XF86Config" -o \ |
| 5678 -f "/etc/X11/XF86Config" -o \ | 5677 -f "/etc/X11/XF86Config" -o \ |
| 5679 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5678 -f "/usr/X11R6/lib/X11/XF86Config"; then |
| 5680 echo "$ac_t""yes" 1>&6 | 5679 echo "$ac_t""yes" 1>&6 |
| 5690 echo "$ac_t""no" 1>&6 | 5689 echo "$ac_t""no" 1>&6 |
| 5691 fi | 5690 fi |
| 5692 | 5691 |
| 5693 test -z "$with_xmu" && { | 5692 test -z "$with_xmu" && { |
| 5694 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5693 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 5695 echo "configure:5696: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5694 echo "configure:5695: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 5696 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5695 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 5697 | 5696 |
| 5698 xe_check_libs=" -lXmu " | 5697 xe_check_libs=" -lXmu " |
| 5699 cat > conftest.$ac_ext <<EOF | 5698 cat > conftest.$ac_ext <<EOF |
| 5700 #line 5701 "configure" | 5699 #line 5700 "configure" |
| 5701 #include "confdefs.h" | 5700 #include "confdefs.h" |
| 5702 /* Override any gcc2 internal prototype to avoid an error. */ | 5701 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5703 /* We use char because int might match the return type of a gcc2 | 5702 /* We use char because int might match the return type of a gcc2 |
| 5704 builtin and then its argument prototype would still apply. */ | 5703 builtin and then its argument prototype would still apply. */ |
| 5705 char XmuReadBitmapDataFromFile(); | 5704 char XmuReadBitmapDataFromFile(); |
| 5706 | 5705 |
| 5707 int main() { | 5706 int main() { |
| 5708 XmuReadBitmapDataFromFile() | 5707 XmuReadBitmapDataFromFile() |
| 5709 ; return 0; } | 5708 ; return 0; } |
| 5710 EOF | 5709 EOF |
| 5711 if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5710 if { (eval echo configure:5711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5712 rm -rf conftest* | 5711 rm -rf conftest* |
| 5713 eval "ac_cv_lib_$ac_lib_var=yes" | 5712 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5714 else | 5713 else |
| 5715 echo "configure: failed program was:" >&5 | 5714 echo "configure: failed program was:" >&5 |
| 5716 cat conftest.$ac_ext >&5 | 5715 cat conftest.$ac_ext >&5 |
| 5745 | 5744 |
| 5746 fi | 5745 fi |
| 5747 | 5746 |
| 5748 | 5747 |
| 5749 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5748 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 5750 echo "configure:5751: checking for main in -lXbsd" >&5 | 5749 echo "configure:5750: checking for main in -lXbsd" >&5 |
| 5751 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5750 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 5752 | 5751 |
| 5753 xe_check_libs=" -lXbsd " | 5752 xe_check_libs=" -lXbsd " |
| 5754 cat > conftest.$ac_ext <<EOF | 5753 cat > conftest.$ac_ext <<EOF |
| 5755 #line 5756 "configure" | 5754 #line 5755 "configure" |
| 5756 #include "confdefs.h" | 5755 #include "confdefs.h" |
| 5757 | 5756 |
| 5758 int main() { | 5757 int main() { |
| 5759 main() | 5758 main() |
| 5760 ; return 0; } | 5759 ; return 0; } |
| 5761 EOF | 5760 EOF |
| 5762 if { (eval echo configure:5763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5763 rm -rf conftest* | 5762 rm -rf conftest* |
| 5764 eval "ac_cv_lib_$ac_lib_var=yes" | 5763 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5765 else | 5764 else |
| 5766 echo "configure: failed program was:" >&5 | 5765 echo "configure: failed program was:" >&5 |
| 5767 cat conftest.$ac_ext >&5 | 5766 cat conftest.$ac_ext >&5 |
| 5794 fi | 5793 fi |
| 5795 | 5794 |
| 5796 fi | 5795 fi |
| 5797 if test "$with_msw" != "no"; then | 5796 if test "$with_msw" != "no"; then |
| 5798 echo "checking for MS-Windows" 1>&6 | 5797 echo "checking for MS-Windows" 1>&6 |
| 5799 echo "configure:5800: checking for MS-Windows" >&5 | 5798 echo "configure:5799: checking for MS-Windows" >&5 |
| 5800 | 5799 |
| 5801 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 5800 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 5802 echo "configure:5803: checking for main in -lgdi32" >&5 | 5801 echo "configure:5802: checking for main in -lgdi32" >&5 |
| 5803 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 5802 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 5804 | 5803 |
| 5805 xe_check_libs=" -lgdi32 " | 5804 xe_check_libs=" -lgdi32 " |
| 5806 cat > conftest.$ac_ext <<EOF | 5805 cat > conftest.$ac_ext <<EOF |
| 5807 #line 5808 "configure" | 5806 #line 5807 "configure" |
| 5808 #include "confdefs.h" | 5807 #include "confdefs.h" |
| 5809 | 5808 |
| 5810 int main() { | 5809 int main() { |
| 5811 main() | 5810 main() |
| 5812 ; return 0; } | 5811 ; return 0; } |
| 5813 EOF | 5812 EOF |
| 5814 if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 5815 rm -rf conftest* | 5814 rm -rf conftest* |
| 5816 eval "ac_cv_lib_$ac_lib_var=yes" | 5815 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5817 else | 5816 else |
| 5818 echo "configure: failed program was:" >&5 | 5817 echo "configure: failed program was:" >&5 |
| 5819 cat conftest.$ac_ext >&5 | 5818 cat conftest.$ac_ext >&5 |
| 5860 test "$with_dialogs" != "no" && with_dialogs=msw \ | 5859 test "$with_dialogs" != "no" && with_dialogs=msw \ |
| 5861 && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5860 && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5862 echo " xemacs will be linked with \"dialog-msw.o\"" | 5861 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 5863 fi | 5862 fi |
| 5864 else | 5863 else |
| 5865 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5864 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5866 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 5865 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
| 5867 fi | 5866 fi |
| 5868 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | 5867 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5869 echo " xemacs will be linked with \"menubar-msw.o\"" | 5868 echo " xemacs will be linked with \"menubar-msw.o\"" |
| 5870 fi | 5869 fi |
| 5871 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5870 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5872 echo " xemacs will be linked with \"toolbar-msw.o\"" | 5871 echo " xemacs will be linked with \"toolbar-msw.o\"" |
| 5873 fi | 5872 fi |
| 5874 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5873 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 5875 echo " xemacs will be linked with \"dialog-msw.o\"" | 5874 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 5876 fi | 5875 fi |
| 5877 fi | 5876 fi |
| 5878 cat > conftest.$ac_ext <<EOF | 5877 cat > conftest.$ac_ext <<EOF |
| 5879 #line 5880 "configure" | 5878 #line 5879 "configure" |
| 5880 #include "confdefs.h" | 5879 #include "confdefs.h" |
| 5881 #include <fcntl.h> | 5880 #include <fcntl.h> |
| 5882 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5881 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 5883 EOF | 5882 EOF |
| 5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5883 if { (eval echo configure:5884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 5885 then | 5884 then |
| 5886 { test "$extra_verbose" = "yes" && cat << \EOF | 5885 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5887 Defining HAVE_MSG_SELECT | 5886 Defining HAVE_MSG_SELECT |
| 5888 EOF | 5887 EOF |
| 5889 cat >> confdefs.h <<\EOF | 5888 cat >> confdefs.h <<\EOF |
| 5958 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5957 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 5959 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5958 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 5960 esac | 5959 esac |
| 5961 | 5960 |
| 5962 echo "checking for session-management option" 1>&6 | 5961 echo "checking for session-management option" 1>&6 |
| 5963 echo "configure:5964: checking for session-management option" >&5; | 5962 echo "configure:5963: checking for session-management option" >&5; |
| 5964 if test "$with_session" != "no"; then | 5963 if test "$with_session" != "no"; then |
| 5965 { test "$extra_verbose" = "yes" && cat << \EOF | 5964 { test "$extra_verbose" = "yes" && cat << \EOF |
| 5966 Defining HAVE_SESSION | 5965 Defining HAVE_SESSION |
| 5967 EOF | 5966 EOF |
| 5968 cat >> confdefs.h <<\EOF | 5967 cat >> confdefs.h <<\EOF |
| 5973 fi | 5972 fi |
| 5974 | 5973 |
| 5975 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5974 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 5976 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5975 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 5977 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5976 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 5978 echo "configure:5979: checking for X11/Xauth.h" >&5 | 5977 echo "configure:5978: checking for X11/Xauth.h" >&5 |
| 5979 | 5978 |
| 5980 cat > conftest.$ac_ext <<EOF | 5979 cat > conftest.$ac_ext <<EOF |
| 5981 #line 5982 "configure" | 5980 #line 5981 "configure" |
| 5982 #include "confdefs.h" | 5981 #include "confdefs.h" |
| 5983 #include <X11/Xauth.h> | 5982 #include <X11/Xauth.h> |
| 5984 EOF | 5983 EOF |
| 5985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5986 { (eval echo configure:5987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5985 { (eval echo configure:5986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5987 ac_err=`grep -v '^ *+' conftest.out` | 5986 ac_err=`grep -v '^ *+' conftest.out` |
| 5988 if test -z "$ac_err"; then | 5987 if test -z "$ac_err"; then |
| 5989 rm -rf conftest* | 5988 rm -rf conftest* |
| 5990 eval "ac_cv_header_$ac_safe=yes" | 5989 eval "ac_cv_header_$ac_safe=yes" |
| 5991 else | 5990 else |
| 6004 with_xauth=no | 6003 with_xauth=no |
| 6005 fi | 6004 fi |
| 6006 } | 6005 } |
| 6007 test -z "$with_xauth" && { | 6006 test -z "$with_xauth" && { |
| 6008 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6007 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 6009 echo "configure:6010: checking for XauGetAuthByAddr in -lXau" >&5 | 6008 echo "configure:6009: checking for XauGetAuthByAddr in -lXau" >&5 |
| 6010 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6009 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 6011 | 6010 |
| 6012 xe_check_libs=" -lXau " | 6011 xe_check_libs=" -lXau " |
| 6013 cat > conftest.$ac_ext <<EOF | 6012 cat > conftest.$ac_ext <<EOF |
| 6014 #line 6015 "configure" | 6013 #line 6014 "configure" |
| 6015 #include "confdefs.h" | 6014 #include "confdefs.h" |
| 6016 /* Override any gcc2 internal prototype to avoid an error. */ | 6015 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6017 /* We use char because int might match the return type of a gcc2 | 6016 /* We use char because int might match the return type of a gcc2 |
| 6018 builtin and then its argument prototype would still apply. */ | 6017 builtin and then its argument prototype would still apply. */ |
| 6019 char XauGetAuthByAddr(); | 6018 char XauGetAuthByAddr(); |
| 6020 | 6019 |
| 6021 int main() { | 6020 int main() { |
| 6022 XauGetAuthByAddr() | 6021 XauGetAuthByAddr() |
| 6023 ; return 0; } | 6022 ; return 0; } |
| 6024 EOF | 6023 EOF |
| 6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6024 if { (eval echo configure:6025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6026 rm -rf conftest* | 6025 rm -rf conftest* |
| 6027 eval "ac_cv_lib_$ac_lib_var=yes" | 6026 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6028 else | 6027 else |
| 6029 echo "configure: failed program was:" >&5 | 6028 echo "configure: failed program was:" >&5 |
| 6030 cat conftest.$ac_ext >&5 | 6029 cat conftest.$ac_ext >&5 |
| 6065 | 6064 |
| 6066 if test "$with_tooltalk" != "no" ; then | 6065 if test "$with_tooltalk" != "no" ; then |
| 6067 for dir in "" "Tt/" "desktop/" ; do | 6066 for dir in "" "Tt/" "desktop/" ; do |
| 6068 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6067 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 6069 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6068 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 6070 echo "configure:6071: checking for ${dir}tt_c.h" >&5 | 6069 echo "configure:6070: checking for ${dir}tt_c.h" >&5 |
| 6071 | 6070 |
| 6072 cat > conftest.$ac_ext <<EOF | 6071 cat > conftest.$ac_ext <<EOF |
| 6073 #line 6074 "configure" | 6072 #line 6073 "configure" |
| 6074 #include "confdefs.h" | 6073 #include "confdefs.h" |
| 6075 #include <${dir}tt_c.h> | 6074 #include <${dir}tt_c.h> |
| 6076 EOF | 6075 EOF |
| 6077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6078 { (eval echo configure:6079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6077 { (eval echo configure:6078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6079 ac_err=`grep -v '^ *+' conftest.out` | 6078 ac_err=`grep -v '^ *+' conftest.out` |
| 6080 if test -z "$ac_err"; then | 6079 if test -z "$ac_err"; then |
| 6081 rm -rf conftest* | 6080 rm -rf conftest* |
| 6082 eval "ac_cv_header_$ac_safe=yes" | 6081 eval "ac_cv_header_$ac_safe=yes" |
| 6083 else | 6082 else |
| 6109 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6108 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6110 | 6109 |
| 6111 xe_msg_checking="for tt_message_create in -ltt" | 6110 xe_msg_checking="for tt_message_create in -ltt" |
| 6112 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6111 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6113 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6112 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6114 echo "configure:6115: checking "$xe_msg_checking"" >&5 | 6113 echo "configure:6114: checking "$xe_msg_checking"" >&5 |
| 6115 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6114 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6116 | 6115 |
| 6117 xe_check_libs=" -ltt $extra_libs" | 6116 xe_check_libs=" -ltt $extra_libs" |
| 6118 cat > conftest.$ac_ext <<EOF | 6117 cat > conftest.$ac_ext <<EOF |
| 6119 #line 6120 "configure" | 6118 #line 6119 "configure" |
| 6120 #include "confdefs.h" | 6119 #include "confdefs.h" |
| 6121 /* Override any gcc2 internal prototype to avoid an error. */ | 6120 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6122 /* We use char because int might match the return type of a gcc2 | 6121 /* We use char because int might match the return type of a gcc2 |
| 6123 builtin and then its argument prototype would still apply. */ | 6122 builtin and then its argument prototype would still apply. */ |
| 6124 char tt_message_create(); | 6123 char tt_message_create(); |
| 6125 | 6124 |
| 6126 int main() { | 6125 int main() { |
| 6127 tt_message_create() | 6126 tt_message_create() |
| 6128 ; return 0; } | 6127 ; return 0; } |
| 6129 EOF | 6128 EOF |
| 6130 if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6129 if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6131 rm -rf conftest* | 6130 rm -rf conftest* |
| 6132 eval "ac_cv_lib_$ac_lib_var=yes" | 6131 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6133 else | 6132 else |
| 6134 echo "configure: failed program was:" >&5 | 6133 echo "configure: failed program was:" >&5 |
| 6135 cat conftest.$ac_ext >&5 | 6134 cat conftest.$ac_ext >&5 |
| 6182 fi | 6181 fi |
| 6183 fi | 6182 fi |
| 6184 | 6183 |
| 6185 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6184 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6186 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6185 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6187 echo "configure:6188: checking for Dt/Dt.h" >&5 | 6186 echo "configure:6187: checking for Dt/Dt.h" >&5 |
| 6188 | 6187 |
| 6189 cat > conftest.$ac_ext <<EOF | 6188 cat > conftest.$ac_ext <<EOF |
| 6190 #line 6191 "configure" | 6189 #line 6190 "configure" |
| 6191 #include "confdefs.h" | 6190 #include "confdefs.h" |
| 6192 #include <Dt/Dt.h> | 6191 #include <Dt/Dt.h> |
| 6193 EOF | 6192 EOF |
| 6194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6193 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; } | 6194 { (eval echo configure:6195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6196 ac_err=`grep -v '^ *+' conftest.out` | 6195 ac_err=`grep -v '^ *+' conftest.out` |
| 6197 if test -z "$ac_err"; then | 6196 if test -z "$ac_err"; then |
| 6198 rm -rf conftest* | 6197 rm -rf conftest* |
| 6199 eval "ac_cv_header_$ac_safe=yes" | 6198 eval "ac_cv_header_$ac_safe=yes" |
| 6200 else | 6199 else |
| 6213 with_cde=no | 6212 with_cde=no |
| 6214 fi | 6213 fi |
| 6215 } | 6214 } |
| 6216 test -z "$with_cde" && { | 6215 test -z "$with_cde" && { |
| 6217 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6216 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6218 echo "configure:6219: checking for DtDndDragStart in -lDtSvc" >&5 | 6217 echo "configure:6218: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6219 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6218 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6220 | 6219 |
| 6221 xe_check_libs=" -lDtSvc " | 6220 xe_check_libs=" -lDtSvc " |
| 6222 cat > conftest.$ac_ext <<EOF | 6221 cat > conftest.$ac_ext <<EOF |
| 6223 #line 6224 "configure" | 6222 #line 6223 "configure" |
| 6224 #include "confdefs.h" | 6223 #include "confdefs.h" |
| 6225 /* Override any gcc2 internal prototype to avoid an error. */ | 6224 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6226 /* We use char because int might match the return type of a gcc2 | 6225 /* We use char because int might match the return type of a gcc2 |
| 6227 builtin and then its argument prototype would still apply. */ | 6226 builtin and then its argument prototype would still apply. */ |
| 6228 char DtDndDragStart(); | 6227 char DtDndDragStart(); |
| 6229 | 6228 |
| 6230 int main() { | 6229 int main() { |
| 6231 DtDndDragStart() | 6230 DtDndDragStart() |
| 6232 ; return 0; } | 6231 ; return 0; } |
| 6233 EOF | 6232 EOF |
| 6234 if { (eval echo configure:6235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6233 if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6235 rm -rf conftest* | 6234 rm -rf conftest* |
| 6236 eval "ac_cv_lib_$ac_lib_var=yes" | 6235 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6237 else | 6236 else |
| 6238 echo "configure: failed program was:" >&5 | 6237 echo "configure: failed program was:" >&5 |
| 6239 cat conftest.$ac_ext >&5 | 6238 cat conftest.$ac_ext >&5 |
| 6298 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6297 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
| 6299 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6298 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 6300 fi | 6299 fi |
| 6301 | 6300 |
| 6302 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6301 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 6303 echo "configure:6304: checking if drag and drop API is needed" >&5 | 6302 echo "configure:6303: checking if drag and drop API is needed" >&5 |
| 6304 if test "$with_dragndrop" != "no" ; then | 6303 if test "$with_dragndrop" != "no" ; then |
| 6305 if test -n "$dragndrop_proto" ; then | 6304 if test -n "$dragndrop_proto" ; then |
| 6306 with_dragndrop=yes | 6305 with_dragndrop=yes |
| 6307 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6306 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 6308 { test "$extra_verbose" = "yes" && cat << \EOF | 6307 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6319 echo "$ac_t""no" 1>&6 | 6318 echo "$ac_t""no" 1>&6 |
| 6320 fi | 6319 fi |
| 6321 fi | 6320 fi |
| 6322 | 6321 |
| 6323 echo "checking for LDAP" 1>&6 | 6322 echo "checking for LDAP" 1>&6 |
| 6324 echo "configure:6325: checking for LDAP" >&5 | 6323 echo "configure:6324: checking for LDAP" >&5 |
| 6325 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6324 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 6326 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6325 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 6327 echo "configure:6328: checking for ldap.h" >&5 | 6326 echo "configure:6327: checking for ldap.h" >&5 |
| 6328 | 6327 |
| 6329 cat > conftest.$ac_ext <<EOF | 6328 cat > conftest.$ac_ext <<EOF |
| 6330 #line 6331 "configure" | 6329 #line 6330 "configure" |
| 6331 #include "confdefs.h" | 6330 #include "confdefs.h" |
| 6332 #include <ldap.h> | 6331 #include <ldap.h> |
| 6333 EOF | 6332 EOF |
| 6334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6335 { (eval echo configure:6336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6334 { (eval echo configure:6335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6336 ac_err=`grep -v '^ *+' conftest.out` | 6335 ac_err=`grep -v '^ *+' conftest.out` |
| 6337 if test -z "$ac_err"; then | 6336 if test -z "$ac_err"; then |
| 6338 rm -rf conftest* | 6337 rm -rf conftest* |
| 6339 eval "ac_cv_header_$ac_safe=yes" | 6338 eval "ac_cv_header_$ac_safe=yes" |
| 6340 else | 6339 else |
| 6353 with_ldap=no | 6352 with_ldap=no |
| 6354 fi | 6353 fi |
| 6355 } | 6354 } |
| 6356 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6355 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 6357 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6356 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 6358 echo "configure:6359: checking for lber.h" >&5 | 6357 echo "configure:6358: checking for lber.h" >&5 |
| 6359 | 6358 |
| 6360 cat > conftest.$ac_ext <<EOF | 6359 cat > conftest.$ac_ext <<EOF |
| 6361 #line 6362 "configure" | 6360 #line 6361 "configure" |
| 6362 #include "confdefs.h" | 6361 #include "confdefs.h" |
| 6363 #include <lber.h> | 6362 #include <lber.h> |
| 6364 EOF | 6363 EOF |
| 6365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6366 { (eval echo configure:6367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6365 { (eval echo configure:6366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6367 ac_err=`grep -v '^ *+' conftest.out` | 6366 ac_err=`grep -v '^ *+' conftest.out` |
| 6368 if test -z "$ac_err"; then | 6367 if test -z "$ac_err"; then |
| 6369 rm -rf conftest* | 6368 rm -rf conftest* |
| 6370 eval "ac_cv_header_$ac_safe=yes" | 6369 eval "ac_cv_header_$ac_safe=yes" |
| 6371 else | 6370 else |
| 6387 if test "$with_ldap" != "no"; then | 6386 if test "$with_ldap" != "no"; then |
| 6388 test -z "$with_umich_ldap" && { | 6387 test -z "$with_umich_ldap" && { |
| 6389 xe_msg_checking="for ldap_open in -lldap" | 6388 xe_msg_checking="for ldap_open in -lldap" |
| 6390 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6389 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 6391 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6390 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6392 echo "configure:6393: checking "$xe_msg_checking"" >&5 | 6391 echo "configure:6392: checking "$xe_msg_checking"" >&5 |
| 6393 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6392 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 6394 | 6393 |
| 6395 xe_check_libs=" -lldap -llber" | 6394 xe_check_libs=" -lldap -llber" |
| 6396 cat > conftest.$ac_ext <<EOF | 6395 cat > conftest.$ac_ext <<EOF |
| 6397 #line 6398 "configure" | 6396 #line 6397 "configure" |
| 6398 #include "confdefs.h" | 6397 #include "confdefs.h" |
| 6399 /* Override any gcc2 internal prototype to avoid an error. */ | 6398 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6400 /* We use char because int might match the return type of a gcc2 | 6399 /* We use char because int might match the return type of a gcc2 |
| 6401 builtin and then its argument prototype would still apply. */ | 6400 builtin and then its argument prototype would still apply. */ |
| 6402 char ldap_open(); | 6401 char ldap_open(); |
| 6403 | 6402 |
| 6404 int main() { | 6403 int main() { |
| 6405 ldap_open() | 6404 ldap_open() |
| 6406 ; return 0; } | 6405 ; return 0; } |
| 6407 EOF | 6406 EOF |
| 6408 if { (eval echo configure:6409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6407 if { (eval echo configure:6408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6409 rm -rf conftest* | 6408 rm -rf conftest* |
| 6410 eval "ac_cv_lib_$ac_lib_var=yes" | 6409 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6411 else | 6410 else |
| 6412 echo "configure: failed program was:" >&5 | 6411 echo "configure: failed program was:" >&5 |
| 6413 cat conftest.$ac_ext >&5 | 6412 cat conftest.$ac_ext >&5 |
| 6426 fi | 6425 fi |
| 6427 | 6426 |
| 6428 } | 6427 } |
| 6429 test "$with_umich_ldap" = "no" && { | 6428 test "$with_umich_ldap" = "no" && { |
| 6430 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6429 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
| 6431 echo "configure:6432: checking for ldap_set_option in -lldap10" >&5 | 6430 echo "configure:6431: checking for ldap_set_option in -lldap10" >&5 |
| 6432 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6431 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
| 6433 | 6432 |
| 6434 xe_check_libs=" -lldap10 " | 6433 xe_check_libs=" -lldap10 " |
| 6435 cat > conftest.$ac_ext <<EOF | 6434 cat > conftest.$ac_ext <<EOF |
| 6436 #line 6437 "configure" | 6435 #line 6436 "configure" |
| 6437 #include "confdefs.h" | 6436 #include "confdefs.h" |
| 6438 /* Override any gcc2 internal prototype to avoid an error. */ | 6437 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6439 /* We use char because int might match the return type of a gcc2 | 6438 /* We use char because int might match the return type of a gcc2 |
| 6440 builtin and then its argument prototype would still apply. */ | 6439 builtin and then its argument prototype would still apply. */ |
| 6441 char ldap_set_option(); | 6440 char ldap_set_option(); |
| 6442 | 6441 |
| 6443 int main() { | 6442 int main() { |
| 6444 ldap_set_option() | 6443 ldap_set_option() |
| 6445 ; return 0; } | 6444 ; return 0; } |
| 6446 EOF | 6445 EOF |
| 6447 if { (eval echo configure:6448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6446 if { (eval echo configure:6447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6448 rm -rf conftest* | 6447 rm -rf conftest* |
| 6449 eval "ac_cv_lib_$ac_lib_var=yes" | 6448 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6450 else | 6449 else |
| 6451 echo "configure: failed program was:" >&5 | 6450 echo "configure: failed program was:" >&5 |
| 6452 cat conftest.$ac_ext >&5 | 6451 cat conftest.$ac_ext >&5 |
| 6506 fi | 6505 fi |
| 6507 | 6506 |
| 6508 | 6507 |
| 6509 if test "$window_system" != "none"; then | 6508 if test "$window_system" != "none"; then |
| 6510 echo "checking for graphics libraries" 1>&6 | 6509 echo "checking for graphics libraries" 1>&6 |
| 6511 echo "configure:6512: checking for graphics libraries" >&5 | 6510 echo "configure:6511: checking for graphics libraries" >&5 |
| 6512 | 6511 |
| 6513 xpm_problem="" | 6512 xpm_problem="" |
| 6514 if test -z "$with_xpm"; then | 6513 if test -z "$with_xpm"; then |
| 6515 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6514 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 6516 echo "configure:6517: checking for Xpm - no older than 3.4f" >&5 | 6515 echo "configure:6516: checking for Xpm - no older than 3.4f" >&5 |
| 6517 xe_check_libs=-lXpm | 6516 xe_check_libs=-lXpm |
| 6518 cat > conftest.$ac_ext <<EOF | 6517 cat > conftest.$ac_ext <<EOF |
| 6519 #line 6520 "configure" | 6518 #line 6519 "configure" |
| 6520 #include "confdefs.h" | 6519 #include "confdefs.h" |
| 6521 #include <X11/xpm.h> | 6520 #include <X11/xpm.h> |
| 6522 int main(int c, char **v) { | 6521 int main(int c, char **v) { |
| 6523 return c == 1 ? 0 : | 6522 return c == 1 ? 0 : |
| 6524 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6523 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 6525 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6524 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 6526 EOF | 6525 EOF |
| 6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6526 if { (eval echo configure:6527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6528 then | 6527 then |
| 6529 ./conftest dummy_arg; xpm_status=$?; | 6528 ./conftest dummy_arg; xpm_status=$?; |
| 6530 if test "$xpm_status" = "0"; then | 6529 if test "$xpm_status" = "0"; then |
| 6531 with_xpm=yes; | 6530 with_xpm=yes; |
| 6532 else | 6531 else |
| 6564 EOF | 6563 EOF |
| 6565 } | 6564 } |
| 6566 | 6565 |
| 6567 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6566 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 6568 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6567 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 6569 echo "configure:6570: checking for \"FOR_MSW\" xpm" >&5 | 6568 echo "configure:6569: checking for \"FOR_MSW\" xpm" >&5 |
| 6570 xe_check_libs=-lXpm | 6569 xe_check_libs=-lXpm |
| 6571 cat > conftest.$ac_ext <<EOF | 6570 cat > conftest.$ac_ext <<EOF |
| 6572 #line 6573 "configure" | 6571 #line 6572 "configure" |
| 6573 #include "confdefs.h" | 6572 #include "confdefs.h" |
| 6574 | 6573 |
| 6575 int main() { | 6574 int main() { |
| 6576 XpmCreatePixmapFromData() | 6575 XpmCreatePixmapFromData() |
| 6577 ; return 0; } | 6576 ; return 0; } |
| 6578 EOF | 6577 EOF |
| 6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6578 if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6580 rm -rf conftest* | 6579 rm -rf conftest* |
| 6581 xpm_for_msw=no | 6580 xpm_for_msw=no |
| 6582 else | 6581 else |
| 6583 echo "configure: failed program was:" >&5 | 6582 echo "configure: failed program was:" >&5 |
| 6584 cat conftest.$ac_ext >&5 | 6583 cat conftest.$ac_ext >&5 |
| 6616 fi | 6615 fi |
| 6617 | 6616 |
| 6618 if test "$with_png $with_tiff" != "no no"; then | 6617 if test "$with_png $with_tiff" != "no no"; then |
| 6619 | 6618 |
| 6620 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6619 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 6621 echo "configure:6622: checking for inflate in -lc" >&5 | 6620 echo "configure:6621: checking for inflate in -lc" >&5 |
| 6622 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6621 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 6623 | 6622 |
| 6624 xe_check_libs=" -lc " | 6623 xe_check_libs=" -lc " |
| 6625 cat > conftest.$ac_ext <<EOF | 6624 cat > conftest.$ac_ext <<EOF |
| 6626 #line 6627 "configure" | 6625 #line 6626 "configure" |
| 6627 #include "confdefs.h" | 6626 #include "confdefs.h" |
| 6628 /* Override any gcc2 internal prototype to avoid an error. */ | 6627 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6629 /* We use char because int might match the return type of a gcc2 | 6628 /* We use char because int might match the return type of a gcc2 |
| 6630 builtin and then its argument prototype would still apply. */ | 6629 builtin and then its argument prototype would still apply. */ |
| 6631 char inflate(); | 6630 char inflate(); |
| 6632 | 6631 |
| 6633 int main() { | 6632 int main() { |
| 6634 inflate() | 6633 inflate() |
| 6635 ; return 0; } | 6634 ; return 0; } |
| 6636 EOF | 6635 EOF |
| 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6636 if { (eval echo configure:6637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6638 rm -rf conftest* | 6637 rm -rf conftest* |
| 6639 eval "ac_cv_lib_$ac_lib_var=yes" | 6638 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6640 else | 6639 else |
| 6641 echo "configure: failed program was:" >&5 | 6640 echo "configure: failed program was:" >&5 |
| 6642 cat conftest.$ac_ext >&5 | 6641 cat conftest.$ac_ext >&5 |
| 6651 : | 6650 : |
| 6652 else | 6651 else |
| 6653 echo "$ac_t""no" 1>&6 | 6652 echo "$ac_t""no" 1>&6 |
| 6654 | 6653 |
| 6655 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6654 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 6656 echo "configure:6657: checking for inflate in -lz" >&5 | 6655 echo "configure:6656: checking for inflate in -lz" >&5 |
| 6657 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6656 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 6658 | 6657 |
| 6659 xe_check_libs=" -lz " | 6658 xe_check_libs=" -lz " |
| 6660 cat > conftest.$ac_ext <<EOF | 6659 cat > conftest.$ac_ext <<EOF |
| 6661 #line 6662 "configure" | 6660 #line 6661 "configure" |
| 6662 #include "confdefs.h" | 6661 #include "confdefs.h" |
| 6663 /* Override any gcc2 internal prototype to avoid an error. */ | 6662 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6664 /* We use char because int might match the return type of a gcc2 | 6663 /* We use char because int might match the return type of a gcc2 |
| 6665 builtin and then its argument prototype would still apply. */ | 6664 builtin and then its argument prototype would still apply. */ |
| 6666 char inflate(); | 6665 char inflate(); |
| 6667 | 6666 |
| 6668 int main() { | 6667 int main() { |
| 6669 inflate() | 6668 inflate() |
| 6670 ; return 0; } | 6669 ; return 0; } |
| 6671 EOF | 6670 EOF |
| 6672 if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6671 if { (eval echo configure:6672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6673 rm -rf conftest* | 6672 rm -rf conftest* |
| 6674 eval "ac_cv_lib_$ac_lib_var=yes" | 6673 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6675 else | 6674 else |
| 6676 echo "configure: failed program was:" >&5 | 6675 echo "configure: failed program was:" >&5 |
| 6677 cat conftest.$ac_ext >&5 | 6676 cat conftest.$ac_ext >&5 |
| 6686 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6685 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 6687 else | 6686 else |
| 6688 echo "$ac_t""no" 1>&6 | 6687 echo "$ac_t""no" 1>&6 |
| 6689 | 6688 |
| 6690 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6689 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 6691 echo "configure:6692: checking for inflate in -lgz" >&5 | 6690 echo "configure:6691: checking for inflate in -lgz" >&5 |
| 6692 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6691 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 6693 | 6692 |
| 6694 xe_check_libs=" -lgz " | 6693 xe_check_libs=" -lgz " |
| 6695 cat > conftest.$ac_ext <<EOF | 6694 cat > conftest.$ac_ext <<EOF |
| 6696 #line 6697 "configure" | 6695 #line 6696 "configure" |
| 6697 #include "confdefs.h" | 6696 #include "confdefs.h" |
| 6698 /* Override any gcc2 internal prototype to avoid an error. */ | 6697 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6699 /* We use char because int might match the return type of a gcc2 | 6698 /* We use char because int might match the return type of a gcc2 |
| 6700 builtin and then its argument prototype would still apply. */ | 6699 builtin and then its argument prototype would still apply. */ |
| 6701 char inflate(); | 6700 char inflate(); |
| 6702 | 6701 |
| 6703 int main() { | 6702 int main() { |
| 6704 inflate() | 6703 inflate() |
| 6705 ; return 0; } | 6704 ; return 0; } |
| 6706 EOF | 6705 EOF |
| 6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6706 if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6708 rm -rf conftest* | 6707 rm -rf conftest* |
| 6709 eval "ac_cv_lib_$ac_lib_var=yes" | 6708 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6710 else | 6709 else |
| 6711 echo "configure: failed program was:" >&5 | 6710 echo "configure: failed program was:" >&5 |
| 6712 cat conftest.$ac_ext >&5 | 6711 cat conftest.$ac_ext >&5 |
| 6732 | 6731 |
| 6733 fi | 6732 fi |
| 6734 | 6733 |
| 6735 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6734 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 6736 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6735 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 6737 echo "configure:6738: checking for jpeglib.h" >&5 | 6736 echo "configure:6737: checking for jpeglib.h" >&5 |
| 6738 | 6737 |
| 6739 cat > conftest.$ac_ext <<EOF | 6738 cat > conftest.$ac_ext <<EOF |
| 6740 #line 6741 "configure" | 6739 #line 6740 "configure" |
| 6741 #include "confdefs.h" | 6740 #include "confdefs.h" |
| 6742 #include <jpeglib.h> | 6741 #include <jpeglib.h> |
| 6743 EOF | 6742 EOF |
| 6744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6745 { (eval echo configure:6746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6744 { (eval echo configure:6745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6746 ac_err=`grep -v '^ *+' conftest.out` | 6745 ac_err=`grep -v '^ *+' conftest.out` |
| 6747 if test -z "$ac_err"; then | 6746 if test -z "$ac_err"; then |
| 6748 rm -rf conftest* | 6747 rm -rf conftest* |
| 6749 eval "ac_cv_header_$ac_safe=yes" | 6748 eval "ac_cv_header_$ac_safe=yes" |
| 6750 else | 6749 else |
| 6763 with_jpeg=no | 6762 with_jpeg=no |
| 6764 fi | 6763 fi |
| 6765 } | 6764 } |
| 6766 test -z "$with_jpeg" && { | 6765 test -z "$with_jpeg" && { |
| 6767 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6766 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 6768 echo "configure:6769: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6767 echo "configure:6768: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 6769 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6768 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 6770 | 6769 |
| 6771 xe_check_libs=" -ljpeg " | 6770 xe_check_libs=" -ljpeg " |
| 6772 cat > conftest.$ac_ext <<EOF | 6771 cat > conftest.$ac_ext <<EOF |
| 6773 #line 6774 "configure" | 6772 #line 6773 "configure" |
| 6774 #include "confdefs.h" | 6773 #include "confdefs.h" |
| 6775 /* Override any gcc2 internal prototype to avoid an error. */ | 6774 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6776 /* We use char because int might match the return type of a gcc2 | 6775 /* We use char because int might match the return type of a gcc2 |
| 6777 builtin and then its argument prototype would still apply. */ | 6776 builtin and then its argument prototype would still apply. */ |
| 6778 char jpeg_destroy_decompress(); | 6777 char jpeg_destroy_decompress(); |
| 6779 | 6778 |
| 6780 int main() { | 6779 int main() { |
| 6781 jpeg_destroy_decompress() | 6780 jpeg_destroy_decompress() |
| 6782 ; return 0; } | 6781 ; return 0; } |
| 6783 EOF | 6782 EOF |
| 6784 if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6783 if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6785 rm -rf conftest* | 6784 rm -rf conftest* |
| 6786 eval "ac_cv_lib_$ac_lib_var=yes" | 6785 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6787 else | 6786 else |
| 6788 echo "configure: failed program was:" >&5 | 6787 echo "configure: failed program was:" >&5 |
| 6789 cat conftest.$ac_ext >&5 | 6788 cat conftest.$ac_ext >&5 |
| 6815 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6814 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 6816 fi | 6815 fi |
| 6817 | 6816 |
| 6818 png_problem="" | 6817 png_problem="" |
| 6819 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6818 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 6820 echo "configure:6821: checking for pow" >&5 | 6819 echo "configure:6820: checking for pow" >&5 |
| 6821 | 6820 |
| 6822 cat > conftest.$ac_ext <<EOF | 6821 cat > conftest.$ac_ext <<EOF |
| 6823 #line 6824 "configure" | 6822 #line 6823 "configure" |
| 6824 #include "confdefs.h" | 6823 #include "confdefs.h" |
| 6825 /* System header to define __stub macros and hopefully few prototypes, | 6824 /* System header to define __stub macros and hopefully few prototypes, |
| 6826 which can conflict with char pow(); below. */ | 6825 which can conflict with char pow(); below. */ |
| 6827 #include <assert.h> | 6826 #include <assert.h> |
| 6828 /* Override any gcc2 internal prototype to avoid an error. */ | 6827 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6841 pow(); | 6840 pow(); |
| 6842 #endif | 6841 #endif |
| 6843 | 6842 |
| 6844 ; return 0; } | 6843 ; return 0; } |
| 6845 EOF | 6844 EOF |
| 6846 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6845 if { (eval echo configure:6846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6847 rm -rf conftest* | 6846 rm -rf conftest* |
| 6848 eval "ac_cv_func_pow=yes" | 6847 eval "ac_cv_func_pow=yes" |
| 6849 else | 6848 else |
| 6850 echo "configure: failed program was:" >&5 | 6849 echo "configure: failed program was:" >&5 |
| 6851 cat conftest.$ac_ext >&5 | 6850 cat conftest.$ac_ext >&5 |
| 6862 with_png=no | 6861 with_png=no |
| 6863 fi | 6862 fi |
| 6864 } | 6863 } |
| 6865 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6864 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 6866 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6865 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 6867 echo "configure:6868: checking for png.h" >&5 | 6866 echo "configure:6867: checking for png.h" >&5 |
| 6868 | 6867 |
| 6869 cat > conftest.$ac_ext <<EOF | 6868 cat > conftest.$ac_ext <<EOF |
| 6870 #line 6871 "configure" | 6869 #line 6870 "configure" |
| 6871 #include "confdefs.h" | 6870 #include "confdefs.h" |
| 6872 #include <png.h> | 6871 #include <png.h> |
| 6873 EOF | 6872 EOF |
| 6874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6875 { (eval echo configure:6876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6874 { (eval echo configure:6875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6876 ac_err=`grep -v '^ *+' conftest.out` | 6875 ac_err=`grep -v '^ *+' conftest.out` |
| 6877 if test -z "$ac_err"; then | 6876 if test -z "$ac_err"; then |
| 6878 rm -rf conftest* | 6877 rm -rf conftest* |
| 6879 eval "ac_cv_header_$ac_safe=yes" | 6878 eval "ac_cv_header_$ac_safe=yes" |
| 6880 else | 6879 else |
| 6893 with_png=no | 6892 with_png=no |
| 6894 fi | 6893 fi |
| 6895 } | 6894 } |
| 6896 test -z "$with_png" && { | 6895 test -z "$with_png" && { |
| 6897 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6896 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 6898 echo "configure:6899: checking for png_read_image in -lpng" >&5 | 6897 echo "configure:6898: checking for png_read_image in -lpng" >&5 |
| 6899 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6898 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 6900 | 6899 |
| 6901 xe_check_libs=" -lpng " | 6900 xe_check_libs=" -lpng " |
| 6902 cat > conftest.$ac_ext <<EOF | 6901 cat > conftest.$ac_ext <<EOF |
| 6903 #line 6904 "configure" | 6902 #line 6903 "configure" |
| 6904 #include "confdefs.h" | 6903 #include "confdefs.h" |
| 6905 /* Override any gcc2 internal prototype to avoid an error. */ | 6904 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6906 /* We use char because int might match the return type of a gcc2 | 6905 /* We use char because int might match the return type of a gcc2 |
| 6907 builtin and then its argument prototype would still apply. */ | 6906 builtin and then its argument prototype would still apply. */ |
| 6908 char png_read_image(); | 6907 char png_read_image(); |
| 6909 | 6908 |
| 6910 int main() { | 6909 int main() { |
| 6911 png_read_image() | 6910 png_read_image() |
| 6912 ; return 0; } | 6911 ; return 0; } |
| 6913 EOF | 6912 EOF |
| 6914 if { (eval echo configure:6915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6913 if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6915 rm -rf conftest* | 6914 rm -rf conftest* |
| 6916 eval "ac_cv_lib_$ac_lib_var=yes" | 6915 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6917 else | 6916 else |
| 6918 echo "configure: failed program was:" >&5 | 6917 echo "configure: failed program was:" >&5 |
| 6919 cat conftest.$ac_ext >&5 | 6918 cat conftest.$ac_ext >&5 |
| 6932 fi | 6931 fi |
| 6933 | 6932 |
| 6934 } | 6933 } |
| 6935 if test -z "$with_png"; then | 6934 if test -z "$with_png"; then |
| 6936 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 6935 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 6937 echo "configure:6938: checking for workable png version information" >&5 | 6936 echo "configure:6937: checking for workable png version information" >&5 |
| 6938 xe_check_libs="-lpng -lz" | 6937 xe_check_libs="-lpng -lz" |
| 6939 cat > conftest.$ac_ext <<EOF | 6938 cat > conftest.$ac_ext <<EOF |
| 6940 #line 6941 "configure" | 6939 #line 6940 "configure" |
| 6941 #include "confdefs.h" | 6940 #include "confdefs.h" |
| 6942 #include <png.h> | 6941 #include <png.h> |
| 6943 int main(int c, char **v) { | 6942 int main(int c, char **v) { |
| 6944 if (c == 1) return 0; | 6943 if (c == 1) return 0; |
| 6945 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 6944 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 6946 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 6945 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 6947 EOF | 6946 EOF |
| 6948 if { (eval echo configure:6949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6947 if { (eval echo configure:6948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6949 then | 6948 then |
| 6950 ./conftest dummy_arg; png_status=$?; | 6949 ./conftest dummy_arg; png_status=$?; |
| 6951 if test "$png_status" = "0"; then | 6950 if test "$png_status" = "0"; then |
| 6952 with_png=yes; | 6951 with_png=yes; |
| 6953 else | 6952 else |
| 6986 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6985 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 6987 fi | 6986 fi |
| 6988 | 6987 |
| 6989 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6988 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 6990 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6989 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 6991 echo "configure:6992: checking for tiffio.h" >&5 | 6990 echo "configure:6991: checking for tiffio.h" >&5 |
| 6992 | 6991 |
| 6993 cat > conftest.$ac_ext <<EOF | 6992 cat > conftest.$ac_ext <<EOF |
| 6994 #line 6995 "configure" | 6993 #line 6994 "configure" |
| 6995 #include "confdefs.h" | 6994 #include "confdefs.h" |
| 6996 #include <tiffio.h> | 6995 #include <tiffio.h> |
| 6997 EOF | 6996 EOF |
| 6998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6999 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6998 { (eval echo configure:6999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7000 ac_err=`grep -v '^ *+' conftest.out` | 6999 ac_err=`grep -v '^ *+' conftest.out` |
| 7001 if test -z "$ac_err"; then | 7000 if test -z "$ac_err"; then |
| 7002 rm -rf conftest* | 7001 rm -rf conftest* |
| 7003 eval "ac_cv_header_$ac_safe=yes" | 7002 eval "ac_cv_header_$ac_safe=yes" |
| 7004 else | 7003 else |
| 7017 with_tiff=no | 7016 with_tiff=no |
| 7018 fi | 7017 fi |
| 7019 } | 7018 } |
| 7020 test -z "$with_tiff" && { | 7019 test -z "$with_tiff" && { |
| 7021 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7020 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 7022 echo "configure:7023: checking for TIFFClientOpen in -ltiff" >&5 | 7021 echo "configure:7022: checking for TIFFClientOpen in -ltiff" >&5 |
| 7023 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7022 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 7024 | 7023 |
| 7025 xe_check_libs=" -ltiff " | 7024 xe_check_libs=" -ltiff " |
| 7026 cat > conftest.$ac_ext <<EOF | 7025 cat > conftest.$ac_ext <<EOF |
| 7027 #line 7028 "configure" | 7026 #line 7027 "configure" |
| 7028 #include "confdefs.h" | 7027 #include "confdefs.h" |
| 7029 /* Override any gcc2 internal prototype to avoid an error. */ | 7028 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7030 /* We use char because int might match the return type of a gcc2 | 7029 /* We use char because int might match the return type of a gcc2 |
| 7031 builtin and then its argument prototype would still apply. */ | 7030 builtin and then its argument prototype would still apply. */ |
| 7032 char TIFFClientOpen(); | 7031 char TIFFClientOpen(); |
| 7033 | 7032 |
| 7034 int main() { | 7033 int main() { |
| 7035 TIFFClientOpen() | 7034 TIFFClientOpen() |
| 7036 ; return 0; } | 7035 ; return 0; } |
| 7037 EOF | 7036 EOF |
| 7038 if { (eval echo configure:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7037 if { (eval echo configure:7038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7039 rm -rf conftest* | 7038 rm -rf conftest* |
| 7040 eval "ac_cv_lib_$ac_lib_var=yes" | 7039 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7041 else | 7040 else |
| 7042 echo "configure: failed program was:" >&5 | 7041 echo "configure: failed program was:" >&5 |
| 7043 cat conftest.$ac_ext >&5 | 7042 cat conftest.$ac_ext >&5 |
| 7072 | 7071 |
| 7073 | 7072 |
| 7074 if test "$with_x11" = "yes"; then | 7073 if test "$with_x11" = "yes"; then |
| 7075 | 7074 |
| 7076 echo "checking for X11 graphics libraries" 1>&6 | 7075 echo "checking for X11 graphics libraries" 1>&6 |
| 7077 echo "configure:7078: checking for X11 graphics libraries" >&5 | 7076 echo "configure:7077: checking for X11 graphics libraries" >&5 |
| 7078 | 7077 |
| 7079 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7078 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 7080 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7079 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 7081 echo "configure:7082: checking for compface.h" >&5 | 7080 echo "configure:7081: checking for compface.h" >&5 |
| 7082 | 7081 |
| 7083 cat > conftest.$ac_ext <<EOF | 7082 cat > conftest.$ac_ext <<EOF |
| 7084 #line 7085 "configure" | 7083 #line 7084 "configure" |
| 7085 #include "confdefs.h" | 7084 #include "confdefs.h" |
| 7086 #include <compface.h> | 7085 #include <compface.h> |
| 7087 EOF | 7086 EOF |
| 7088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7089 { (eval echo configure:7090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7088 { (eval echo configure:7089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7090 ac_err=`grep -v '^ *+' conftest.out` | 7089 ac_err=`grep -v '^ *+' conftest.out` |
| 7091 if test -z "$ac_err"; then | 7090 if test -z "$ac_err"; then |
| 7092 rm -rf conftest* | 7091 rm -rf conftest* |
| 7093 eval "ac_cv_header_$ac_safe=yes" | 7092 eval "ac_cv_header_$ac_safe=yes" |
| 7094 else | 7093 else |
| 7107 with_xface=no | 7106 with_xface=no |
| 7108 fi | 7107 fi |
| 7109 } | 7108 } |
| 7110 test -z "$with_xface" && { | 7109 test -z "$with_xface" && { |
| 7111 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7110 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 7112 echo "configure:7113: checking for UnGenFace in -lcompface" >&5 | 7111 echo "configure:7112: checking for UnGenFace in -lcompface" >&5 |
| 7113 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7112 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 7114 | 7113 |
| 7115 xe_check_libs=" -lcompface " | 7114 xe_check_libs=" -lcompface " |
| 7116 cat > conftest.$ac_ext <<EOF | 7115 cat > conftest.$ac_ext <<EOF |
| 7117 #line 7118 "configure" | 7116 #line 7117 "configure" |
| 7118 #include "confdefs.h" | 7117 #include "confdefs.h" |
| 7119 /* Override any gcc2 internal prototype to avoid an error. */ | 7118 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7120 /* We use char because int might match the return type of a gcc2 | 7119 /* We use char because int might match the return type of a gcc2 |
| 7121 builtin and then its argument prototype would still apply. */ | 7120 builtin and then its argument prototype would still apply. */ |
| 7122 char UnGenFace(); | 7121 char UnGenFace(); |
| 7123 | 7122 |
| 7124 int main() { | 7123 int main() { |
| 7125 UnGenFace() | 7124 UnGenFace() |
| 7126 ; return 0; } | 7125 ; return 0; } |
| 7127 EOF | 7126 EOF |
| 7128 if { (eval echo configure:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7127 if { (eval echo configure:7128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7129 rm -rf conftest* | 7128 rm -rf conftest* |
| 7130 eval "ac_cv_lib_$ac_lib_var=yes" | 7129 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7131 else | 7130 else |
| 7132 echo "configure: failed program was:" >&5 | 7131 echo "configure: failed program was:" >&5 |
| 7133 cat conftest.$ac_ext >&5 | 7132 cat conftest.$ac_ext >&5 |
| 7159 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7158 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
| 7160 fi | 7159 fi |
| 7161 | 7160 |
| 7162 | 7161 |
| 7163 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7162 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
| 7164 echo "configure:7165: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7163 echo "configure:7164: checking for XawScrollbarSetThumb in -lXaw" >&5 |
| 7165 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7164 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 7166 | 7165 |
| 7167 xe_check_libs=" -lXaw " | 7166 xe_check_libs=" -lXaw " |
| 7168 cat > conftest.$ac_ext <<EOF | 7167 cat > conftest.$ac_ext <<EOF |
| 7169 #line 7170 "configure" | 7168 #line 7169 "configure" |
| 7170 #include "confdefs.h" | 7169 #include "confdefs.h" |
| 7171 /* Override any gcc2 internal prototype to avoid an error. */ | 7170 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7172 /* We use char because int might match the return type of a gcc2 | 7171 /* We use char because int might match the return type of a gcc2 |
| 7173 builtin and then its argument prototype would still apply. */ | 7172 builtin and then its argument prototype would still apply. */ |
| 7174 char XawScrollbarSetThumb(); | 7173 char XawScrollbarSetThumb(); |
| 7175 | 7174 |
| 7176 int main() { | 7175 int main() { |
| 7177 XawScrollbarSetThumb() | 7176 XawScrollbarSetThumb() |
| 7178 ; return 0; } | 7177 ; return 0; } |
| 7179 EOF | 7178 EOF |
| 7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7179 if { (eval echo configure:7180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7181 rm -rf conftest* | 7180 rm -rf conftest* |
| 7182 eval "ac_cv_lib_$ac_lib_var=yes" | 7181 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7183 else | 7182 else |
| 7184 echo "configure: failed program was:" >&5 | 7183 echo "configure: failed program was:" >&5 |
| 7185 cat conftest.$ac_ext >&5 | 7184 cat conftest.$ac_ext >&5 |
| 7199 | 7198 |
| 7200 | 7199 |
| 7201 | 7200 |
| 7202 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7201 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 7203 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7202 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 7204 echo "configure:7205: checking for Xm/Xm.h" >&5 | 7203 echo "configure:7204: checking for Xm/Xm.h" >&5 |
| 7205 | 7204 |
| 7206 cat > conftest.$ac_ext <<EOF | 7205 cat > conftest.$ac_ext <<EOF |
| 7207 #line 7208 "configure" | 7206 #line 7207 "configure" |
| 7208 #include "confdefs.h" | 7207 #include "confdefs.h" |
| 7209 #include <Xm/Xm.h> | 7208 #include <Xm/Xm.h> |
| 7210 EOF | 7209 EOF |
| 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7211 { (eval echo configure:7212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7213 ac_err=`grep -v '^ *+' conftest.out` | 7212 ac_err=`grep -v '^ *+' conftest.out` |
| 7214 if test -z "$ac_err"; then | 7213 if test -z "$ac_err"; then |
| 7215 rm -rf conftest* | 7214 rm -rf conftest* |
| 7216 eval "ac_cv_header_$ac_safe=yes" | 7215 eval "ac_cv_header_$ac_safe=yes" |
| 7217 else | 7216 else |
| 7224 rm -f conftest* | 7223 rm -f conftest* |
| 7225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7226 echo "$ac_t""yes" 1>&6 | 7225 echo "$ac_t""yes" 1>&6 |
| 7227 | 7226 |
| 7228 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7227 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 7229 echo "configure:7230: checking for XmStringFree in -lXm" >&5 | 7228 echo "configure:7229: checking for XmStringFree in -lXm" >&5 |
| 7230 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7229 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 7231 | 7230 |
| 7232 xe_check_libs=" -lXm " | 7231 xe_check_libs=" -lXm " |
| 7233 cat > conftest.$ac_ext <<EOF | 7232 cat > conftest.$ac_ext <<EOF |
| 7234 #line 7235 "configure" | 7233 #line 7234 "configure" |
| 7235 #include "confdefs.h" | 7234 #include "confdefs.h" |
| 7236 /* Override any gcc2 internal prototype to avoid an error. */ | 7235 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7237 /* We use char because int might match the return type of a gcc2 | 7236 /* We use char because int might match the return type of a gcc2 |
| 7238 builtin and then its argument prototype would still apply. */ | 7237 builtin and then its argument prototype would still apply. */ |
| 7239 char XmStringFree(); | 7238 char XmStringFree(); |
| 7240 | 7239 |
| 7241 int main() { | 7240 int main() { |
| 7242 XmStringFree() | 7241 XmStringFree() |
| 7243 ; return 0; } | 7242 ; return 0; } |
| 7244 EOF | 7243 EOF |
| 7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7244 if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7246 rm -rf conftest* | 7245 rm -rf conftest* |
| 7247 eval "ac_cv_lib_$ac_lib_var=yes" | 7246 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7248 else | 7247 else |
| 7249 echo "configure: failed program was:" >&5 | 7248 echo "configure: failed program was:" >&5 |
| 7250 cat conftest.$ac_ext >&5 | 7249 cat conftest.$ac_ext >&5 |
| 7269 fi | 7268 fi |
| 7270 | 7269 |
| 7271 | 7270 |
| 7272 if test "$have_motif" = "yes"; then | 7271 if test "$have_motif" = "yes"; then |
| 7273 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7272 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 7274 echo "configure:7275: checking for Lesstif" >&5 | 7273 echo "configure:7274: checking for Lesstif" >&5 |
| 7275 cat > conftest.$ac_ext <<EOF | 7274 cat > conftest.$ac_ext <<EOF |
| 7276 #line 7277 "configure" | 7275 #line 7276 "configure" |
| 7277 #include "confdefs.h" | 7276 #include "confdefs.h" |
| 7278 #include <Xm/Xm.h> | 7277 #include <Xm/Xm.h> |
| 7279 #ifdef LESSTIF_VERSION | 7278 #ifdef LESSTIF_VERSION |
| 7280 yes | 7279 yes |
| 7281 #endif | 7280 #endif |
| 7555 fi | 7554 fi |
| 7556 fi | 7555 fi |
| 7557 | 7556 |
| 7558 if test "$with_mule" = "yes" ; then | 7557 if test "$with_mule" = "yes" ; then |
| 7559 echo "checking for Mule-related features" 1>&6 | 7558 echo "checking for Mule-related features" 1>&6 |
| 7560 echo "configure:7561: checking for Mule-related features" >&5 | 7559 echo "configure:7560: checking for Mule-related features" >&5 |
| 7561 { test "$extra_verbose" = "yes" && cat << \EOF | 7560 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7562 Defining MULE | 7561 Defining MULE |
| 7563 EOF | 7562 EOF |
| 7564 cat >> confdefs.h <<\EOF | 7563 cat >> confdefs.h <<\EOF |
| 7565 #define MULE 1 | 7564 #define MULE 1 |
| 7580 | 7579 |
| 7581 for ac_hdr in libintl.h | 7580 for ac_hdr in libintl.h |
| 7582 do | 7581 do |
| 7583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 7584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 7585 echo "configure:7586: checking for $ac_hdr" >&5 | 7584 echo "configure:7585: checking for $ac_hdr" >&5 |
| 7586 | 7585 |
| 7587 cat > conftest.$ac_ext <<EOF | 7586 cat > conftest.$ac_ext <<EOF |
| 7588 #line 7589 "configure" | 7587 #line 7588 "configure" |
| 7589 #include "confdefs.h" | 7588 #include "confdefs.h" |
| 7590 #include <$ac_hdr> | 7589 #include <$ac_hdr> |
| 7591 EOF | 7590 EOF |
| 7592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7593 { (eval echo configure:7594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7592 { (eval echo configure:7593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7594 ac_err=`grep -v '^ *+' conftest.out` | 7593 ac_err=`grep -v '^ *+' conftest.out` |
| 7595 if test -z "$ac_err"; then | 7594 if test -z "$ac_err"; then |
| 7596 rm -rf conftest* | 7595 rm -rf conftest* |
| 7597 eval "ac_cv_header_$ac_safe=yes" | 7596 eval "ac_cv_header_$ac_safe=yes" |
| 7598 else | 7597 else |
| 7619 fi | 7618 fi |
| 7620 done | 7619 done |
| 7621 | 7620 |
| 7622 | 7621 |
| 7623 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7622 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 7624 echo "configure:7625: checking for strerror in -lintl" >&5 | 7623 echo "configure:7624: checking for strerror in -lintl" >&5 |
| 7625 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7624 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 7626 | 7625 |
| 7627 xe_check_libs=" -lintl " | 7626 xe_check_libs=" -lintl " |
| 7628 cat > conftest.$ac_ext <<EOF | 7627 cat > conftest.$ac_ext <<EOF |
| 7629 #line 7630 "configure" | 7628 #line 7629 "configure" |
| 7630 #include "confdefs.h" | 7629 #include "confdefs.h" |
| 7631 /* Override any gcc2 internal prototype to avoid an error. */ | 7630 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7632 /* We use char because int might match the return type of a gcc2 | 7631 /* We use char because int might match the return type of a gcc2 |
| 7633 builtin and then its argument prototype would still apply. */ | 7632 builtin and then its argument prototype would still apply. */ |
| 7634 char strerror(); | 7633 char strerror(); |
| 7635 | 7634 |
| 7636 int main() { | 7635 int main() { |
| 7637 strerror() | 7636 strerror() |
| 7638 ; return 0; } | 7637 ; return 0; } |
| 7639 EOF | 7638 EOF |
| 7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7639 if { (eval echo configure:7640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7641 rm -rf conftest* | 7640 rm -rf conftest* |
| 7642 eval "ac_cv_lib_$ac_lib_var=yes" | 7641 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7643 else | 7642 else |
| 7644 echo "configure: failed program was:" >&5 | 7643 echo "configure: failed program was:" >&5 |
| 7645 cat conftest.$ac_ext >&5 | 7644 cat conftest.$ac_ext >&5 |
| 7668 fi | 7667 fi |
| 7669 | 7668 |
| 7670 | 7669 |
| 7671 | 7670 |
| 7672 echo "checking for Mule input methods" 1>&6 | 7671 echo "checking for Mule input methods" 1>&6 |
| 7673 echo "configure:7674: checking for Mule input methods" >&5 | 7672 echo "configure:7673: checking for Mule input methods" >&5 |
| 7674 case "$with_xim" in "" | "yes" ) | 7673 case "$with_xim" in "" | "yes" ) |
| 7675 echo "checking for XIM" 1>&6 | 7674 echo "checking for XIM" 1>&6 |
| 7676 echo "configure:7677: checking for XIM" >&5 | 7675 echo "configure:7676: checking for XIM" >&5 |
| 7677 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7676 if test "$have_lesstif" = "yes"; then with_xim=xlib |
| 7678 else | 7677 else |
| 7679 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7678 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 7680 echo "configure:7681: checking for XmImMbLookupString in -lXm" >&5 | 7679 echo "configure:7680: checking for XmImMbLookupString in -lXm" >&5 |
| 7681 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7680 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 7682 | 7681 |
| 7683 xe_check_libs=" -lXm " | 7682 xe_check_libs=" -lXm " |
| 7684 cat > conftest.$ac_ext <<EOF | 7683 cat > conftest.$ac_ext <<EOF |
| 7685 #line 7686 "configure" | 7684 #line 7685 "configure" |
| 7686 #include "confdefs.h" | 7685 #include "confdefs.h" |
| 7687 /* Override any gcc2 internal prototype to avoid an error. */ | 7686 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7688 /* We use char because int might match the return type of a gcc2 | 7687 /* We use char because int might match the return type of a gcc2 |
| 7689 builtin and then its argument prototype would still apply. */ | 7688 builtin and then its argument prototype would still apply. */ |
| 7690 char XmImMbLookupString(); | 7689 char XmImMbLookupString(); |
| 7691 | 7690 |
| 7692 int main() { | 7691 int main() { |
| 7693 XmImMbLookupString() | 7692 XmImMbLookupString() |
| 7694 ; return 0; } | 7693 ; return 0; } |
| 7695 EOF | 7694 EOF |
| 7696 if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7697 rm -rf conftest* | 7696 rm -rf conftest* |
| 7698 eval "ac_cv_lib_$ac_lib_var=yes" | 7697 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7699 else | 7698 else |
| 7700 echo "configure: failed program was:" >&5 | 7699 echo "configure: failed program was:" >&5 |
| 7701 cat conftest.$ac_ext >&5 | 7700 cat conftest.$ac_ext >&5 |
| 7757 fi | 7756 fi |
| 7758 fi | 7757 fi |
| 7759 | 7758 |
| 7760 if test "$with_xfs" = "yes" ; then | 7759 if test "$with_xfs" = "yes" ; then |
| 7761 echo "checking for XFontSet" 1>&6 | 7760 echo "checking for XFontSet" 1>&6 |
| 7762 echo "configure:7763: checking for XFontSet" >&5 | 7761 echo "configure:7762: checking for XFontSet" >&5 |
| 7763 | 7762 |
| 7764 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7763 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 7765 echo "configure:7766: checking for XmbDrawString in -lX11" >&5 | 7764 echo "configure:7765: checking for XmbDrawString in -lX11" >&5 |
| 7766 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7765 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 7767 | 7766 |
| 7768 xe_check_libs=" -lX11 " | 7767 xe_check_libs=" -lX11 " |
| 7769 cat > conftest.$ac_ext <<EOF | 7768 cat > conftest.$ac_ext <<EOF |
| 7770 #line 7771 "configure" | 7769 #line 7770 "configure" |
| 7771 #include "confdefs.h" | 7770 #include "confdefs.h" |
| 7772 /* Override any gcc2 internal prototype to avoid an error. */ | 7771 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7773 /* We use char because int might match the return type of a gcc2 | 7772 /* We use char because int might match the return type of a gcc2 |
| 7774 builtin and then its argument prototype would still apply. */ | 7773 builtin and then its argument prototype would still apply. */ |
| 7775 char XmbDrawString(); | 7774 char XmbDrawString(); |
| 7776 | 7775 |
| 7777 int main() { | 7776 int main() { |
| 7778 XmbDrawString() | 7777 XmbDrawString() |
| 7779 ; return 0; } | 7778 ; return 0; } |
| 7780 EOF | 7779 EOF |
| 7781 if { (eval echo configure:7782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7780 if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7782 rm -rf conftest* | 7781 rm -rf conftest* |
| 7783 eval "ac_cv_lib_$ac_lib_var=yes" | 7782 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7784 else | 7783 else |
| 7785 echo "configure: failed program was:" >&5 | 7784 echo "configure: failed program was:" >&5 |
| 7786 cat conftest.$ac_ext >&5 | 7785 cat conftest.$ac_ext >&5 |
| 7816 fi | 7815 fi |
| 7817 fi | 7816 fi |
| 7818 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7817 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 7819 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7818 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 7820 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7819 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 7821 echo "configure:7822: checking for wnn/jllib.h" >&5 | 7820 echo "configure:7821: checking for wnn/jllib.h" >&5 |
| 7822 | 7821 |
| 7823 cat > conftest.$ac_ext <<EOF | 7822 cat > conftest.$ac_ext <<EOF |
| 7824 #line 7825 "configure" | 7823 #line 7824 "configure" |
| 7825 #include "confdefs.h" | 7824 #include "confdefs.h" |
| 7826 #include <wnn/jllib.h> | 7825 #include <wnn/jllib.h> |
| 7827 EOF | 7826 EOF |
| 7828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7829 { (eval echo configure:7830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7828 { (eval echo configure:7829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7830 ac_err=`grep -v '^ *+' conftest.out` | 7829 ac_err=`grep -v '^ *+' conftest.out` |
| 7831 if test -z "$ac_err"; then | 7830 if test -z "$ac_err"; then |
| 7832 rm -rf conftest* | 7831 rm -rf conftest* |
| 7833 eval "ac_cv_header_$ac_safe=yes" | 7832 eval "ac_cv_header_$ac_safe=yes" |
| 7834 else | 7833 else |
| 7849 } | 7848 } |
| 7850 if test "$with_wnn" != "no"; then | 7849 if test "$with_wnn" != "no"; then |
| 7851 for ac_func in crypt | 7850 for ac_func in crypt |
| 7852 do | 7851 do |
| 7853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7854 echo "configure:7855: checking for $ac_func" >&5 | 7853 echo "configure:7854: checking for $ac_func" >&5 |
| 7855 | 7854 |
| 7856 cat > conftest.$ac_ext <<EOF | 7855 cat > conftest.$ac_ext <<EOF |
| 7857 #line 7858 "configure" | 7856 #line 7857 "configure" |
| 7858 #include "confdefs.h" | 7857 #include "confdefs.h" |
| 7859 /* System header to define __stub macros and hopefully few prototypes, | 7858 /* System header to define __stub macros and hopefully few prototypes, |
| 7860 which can conflict with char $ac_func(); below. */ | 7859 which can conflict with char $ac_func(); below. */ |
| 7861 #include <assert.h> | 7860 #include <assert.h> |
| 7862 /* Override any gcc2 internal prototype to avoid an error. */ | 7861 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7875 $ac_func(); | 7874 $ac_func(); |
| 7876 #endif | 7875 #endif |
| 7877 | 7876 |
| 7878 ; return 0; } | 7877 ; return 0; } |
| 7879 EOF | 7878 EOF |
| 7880 if { (eval echo configure:7881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7879 if { (eval echo configure:7880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7881 rm -rf conftest* | 7880 rm -rf conftest* |
| 7882 eval "ac_cv_func_$ac_func=yes" | 7881 eval "ac_cv_func_$ac_func=yes" |
| 7883 else | 7882 else |
| 7884 echo "configure: failed program was:" >&5 | 7883 echo "configure: failed program was:" >&5 |
| 7885 cat conftest.$ac_ext >&5 | 7884 cat conftest.$ac_ext >&5 |
| 7904 fi | 7903 fi |
| 7905 done | 7904 done |
| 7906 | 7905 |
| 7907 test "$ac_cv_func_crypt" != "yes" && { | 7906 test "$ac_cv_func_crypt" != "yes" && { |
| 7908 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7907 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 7909 echo "configure:7910: checking for crypt in -lcrypt" >&5 | 7908 echo "configure:7909: checking for crypt in -lcrypt" >&5 |
| 7910 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7909 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 7911 | 7910 |
| 7912 xe_check_libs=" -lcrypt " | 7911 xe_check_libs=" -lcrypt " |
| 7913 cat > conftest.$ac_ext <<EOF | 7912 cat > conftest.$ac_ext <<EOF |
| 7914 #line 7915 "configure" | 7913 #line 7914 "configure" |
| 7915 #include "confdefs.h" | 7914 #include "confdefs.h" |
| 7916 /* Override any gcc2 internal prototype to avoid an error. */ | 7915 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7917 /* We use char because int might match the return type of a gcc2 | 7916 /* We use char because int might match the return type of a gcc2 |
| 7918 builtin and then its argument prototype would still apply. */ | 7917 builtin and then its argument prototype would still apply. */ |
| 7919 char crypt(); | 7918 char crypt(); |
| 7920 | 7919 |
| 7921 int main() { | 7920 int main() { |
| 7922 crypt() | 7921 crypt() |
| 7923 ; return 0; } | 7922 ; return 0; } |
| 7924 EOF | 7923 EOF |
| 7925 if { (eval echo configure:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7926 rm -rf conftest* | 7925 rm -rf conftest* |
| 7927 eval "ac_cv_lib_$ac_lib_var=yes" | 7926 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7928 else | 7927 else |
| 7929 echo "configure: failed program was:" >&5 | 7928 echo "configure: failed program was:" >&5 |
| 7930 cat conftest.$ac_ext >&5 | 7929 cat conftest.$ac_ext >&5 |
| 7955 } | 7954 } |
| 7956 fi | 7955 fi |
| 7957 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 7956 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 7958 | 7957 |
| 7959 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7958 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 7960 echo "configure:7961: checking for jl_dic_list_e in -lwnn" >&5 | 7959 echo "configure:7960: checking for jl_dic_list_e in -lwnn" >&5 |
| 7961 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7960 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7962 | 7961 |
| 7963 xe_check_libs=" -lwnn " | 7962 xe_check_libs=" -lwnn " |
| 7964 cat > conftest.$ac_ext <<EOF | 7963 cat > conftest.$ac_ext <<EOF |
| 7965 #line 7966 "configure" | 7964 #line 7965 "configure" |
| 7966 #include "confdefs.h" | 7965 #include "confdefs.h" |
| 7967 /* Override any gcc2 internal prototype to avoid an error. */ | 7966 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7968 /* We use char because int might match the return type of a gcc2 | 7967 /* We use char because int might match the return type of a gcc2 |
| 7969 builtin and then its argument prototype would still apply. */ | 7968 builtin and then its argument prototype would still apply. */ |
| 7970 char jl_dic_list_e(); | 7969 char jl_dic_list_e(); |
| 7971 | 7970 |
| 7972 int main() { | 7971 int main() { |
| 7973 jl_dic_list_e() | 7972 jl_dic_list_e() |
| 7974 ; return 0; } | 7973 ; return 0; } |
| 7975 EOF | 7974 EOF |
| 7976 if { (eval echo configure:7977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7975 if { (eval echo configure:7976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7977 rm -rf conftest* | 7976 rm -rf conftest* |
| 7978 eval "ac_cv_lib_$ac_lib_var=yes" | 7977 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7979 else | 7978 else |
| 7980 echo "configure: failed program was:" >&5 | 7979 echo "configure: failed program was:" >&5 |
| 7981 cat conftest.$ac_ext >&5 | 7980 cat conftest.$ac_ext >&5 |
| 7989 echo "$ac_t""yes" 1>&6 | 7988 echo "$ac_t""yes" 1>&6 |
| 7990 libwnn=wnn | 7989 libwnn=wnn |
| 7991 else | 7990 else |
| 7992 echo "$ac_t""no" 1>&6 | 7991 echo "$ac_t""no" 1>&6 |
| 7993 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 7992 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 7994 echo "configure:7995: checking for jl_dic_list_e in -lwnn4" >&5 | 7993 echo "configure:7994: checking for jl_dic_list_e in -lwnn4" >&5 |
| 7995 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7994 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 7996 | 7995 |
| 7997 xe_check_libs=" -lwnn4 " | 7996 xe_check_libs=" -lwnn4 " |
| 7998 cat > conftest.$ac_ext <<EOF | 7997 cat > conftest.$ac_ext <<EOF |
| 7999 #line 8000 "configure" | 7998 #line 7999 "configure" |
| 8000 #include "confdefs.h" | 7999 #include "confdefs.h" |
| 8001 /* Override any gcc2 internal prototype to avoid an error. */ | 8000 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8002 /* We use char because int might match the return type of a gcc2 | 8001 /* We use char because int might match the return type of a gcc2 |
| 8003 builtin and then its argument prototype would still apply. */ | 8002 builtin and then its argument prototype would still apply. */ |
| 8004 char jl_dic_list_e(); | 8003 char jl_dic_list_e(); |
| 8005 | 8004 |
| 8006 int main() { | 8005 int main() { |
| 8007 jl_dic_list_e() | 8006 jl_dic_list_e() |
| 8008 ; return 0; } | 8007 ; return 0; } |
| 8009 EOF | 8008 EOF |
| 8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8009 if { (eval echo configure:8010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8011 rm -rf conftest* | 8010 rm -rf conftest* |
| 8012 eval "ac_cv_lib_$ac_lib_var=yes" | 8011 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8013 else | 8012 else |
| 8014 echo "configure: failed program was:" >&5 | 8013 echo "configure: failed program was:" >&5 |
| 8015 cat conftest.$ac_ext >&5 | 8014 cat conftest.$ac_ext >&5 |
| 8023 echo "$ac_t""yes" 1>&6 | 8022 echo "$ac_t""yes" 1>&6 |
| 8024 libwnn=wnn4 | 8023 libwnn=wnn4 |
| 8025 else | 8024 else |
| 8026 echo "$ac_t""no" 1>&6 | 8025 echo "$ac_t""no" 1>&6 |
| 8027 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8026 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 8028 echo "configure:8029: checking for jl_dic_list_e in -lwnn6" >&5 | 8027 echo "configure:8028: checking for jl_dic_list_e in -lwnn6" >&5 |
| 8029 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8028 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 8030 | 8029 |
| 8031 xe_check_libs=" -lwnn6 " | 8030 xe_check_libs=" -lwnn6 " |
| 8032 cat > conftest.$ac_ext <<EOF | 8031 cat > conftest.$ac_ext <<EOF |
| 8033 #line 8034 "configure" | 8032 #line 8033 "configure" |
| 8034 #include "confdefs.h" | 8033 #include "confdefs.h" |
| 8035 /* Override any gcc2 internal prototype to avoid an error. */ | 8034 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8036 /* We use char because int might match the return type of a gcc2 | 8035 /* We use char because int might match the return type of a gcc2 |
| 8037 builtin and then its argument prototype would still apply. */ | 8036 builtin and then its argument prototype would still apply. */ |
| 8038 char jl_dic_list_e(); | 8037 char jl_dic_list_e(); |
| 8039 | 8038 |
| 8040 int main() { | 8039 int main() { |
| 8041 jl_dic_list_e() | 8040 jl_dic_list_e() |
| 8042 ; return 0; } | 8041 ; return 0; } |
| 8043 EOF | 8042 EOF |
| 8044 if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8045 rm -rf conftest* | 8044 rm -rf conftest* |
| 8046 eval "ac_cv_lib_$ac_lib_var=yes" | 8045 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8047 else | 8046 else |
| 8048 echo "configure: failed program was:" >&5 | 8047 echo "configure: failed program was:" >&5 |
| 8049 cat conftest.$ac_ext >&5 | 8048 cat conftest.$ac_ext >&5 |
| 8057 echo "$ac_t""yes" 1>&6 | 8056 echo "$ac_t""yes" 1>&6 |
| 8058 libwnn=wnn6 | 8057 libwnn=wnn6 |
| 8059 else | 8058 else |
| 8060 echo "$ac_t""no" 1>&6 | 8059 echo "$ac_t""no" 1>&6 |
| 8061 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8060 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 8062 echo "configure:8063: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8061 echo "configure:8062: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 8063 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8062 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 8064 | 8063 |
| 8065 xe_check_libs=" -lwnn6_fromsrc " | 8064 xe_check_libs=" -lwnn6_fromsrc " |
| 8066 cat > conftest.$ac_ext <<EOF | 8065 cat > conftest.$ac_ext <<EOF |
| 8067 #line 8068 "configure" | 8066 #line 8067 "configure" |
| 8068 #include "confdefs.h" | 8067 #include "confdefs.h" |
| 8069 /* Override any gcc2 internal prototype to avoid an error. */ | 8068 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8070 /* We use char because int might match the return type of a gcc2 | 8069 /* We use char because int might match the return type of a gcc2 |
| 8071 builtin and then its argument prototype would still apply. */ | 8070 builtin and then its argument prototype would still apply. */ |
| 8072 char dic_list_e(); | 8071 char dic_list_e(); |
| 8073 | 8072 |
| 8074 int main() { | 8073 int main() { |
| 8075 dic_list_e() | 8074 dic_list_e() |
| 8076 ; return 0; } | 8075 ; return 0; } |
| 8077 EOF | 8076 EOF |
| 8078 if { (eval echo configure:8079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8079 rm -rf conftest* | 8078 rm -rf conftest* |
| 8080 eval "ac_cv_lib_$ac_lib_var=yes" | 8079 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8081 else | 8080 else |
| 8082 echo "configure: failed program was:" >&5 | 8081 echo "configure: failed program was:" >&5 |
| 8083 cat conftest.$ac_ext >&5 | 8082 cat conftest.$ac_ext >&5 |
| 8121 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8120 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 8122 fi | 8121 fi |
| 8123 if test "$with_wnn6" != "no"; then | 8122 if test "$with_wnn6" != "no"; then |
| 8124 | 8123 |
| 8125 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8124 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 8126 echo "configure:8127: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8125 echo "configure:8126: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 8127 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8126 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 8128 | 8127 |
| 8129 xe_check_libs=" -l$libwnn " | 8128 xe_check_libs=" -l$libwnn " |
| 8130 cat > conftest.$ac_ext <<EOF | 8129 cat > conftest.$ac_ext <<EOF |
| 8131 #line 8132 "configure" | 8130 #line 8131 "configure" |
| 8132 #include "confdefs.h" | 8131 #include "confdefs.h" |
| 8133 /* Override any gcc2 internal prototype to avoid an error. */ | 8132 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8134 /* We use char because int might match the return type of a gcc2 | 8133 /* We use char because int might match the return type of a gcc2 |
| 8135 builtin and then its argument prototype would still apply. */ | 8134 builtin and then its argument prototype would still apply. */ |
| 8136 char jl_fi_dic_list(); | 8135 char jl_fi_dic_list(); |
| 8137 | 8136 |
| 8138 int main() { | 8137 int main() { |
| 8139 jl_fi_dic_list() | 8138 jl_fi_dic_list() |
| 8140 ; return 0; } | 8139 ; return 0; } |
| 8141 EOF | 8140 EOF |
| 8142 if { (eval echo configure:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8143 rm -rf conftest* | 8142 rm -rf conftest* |
| 8144 eval "ac_cv_lib_$ac_lib_var=yes" | 8143 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8145 else | 8144 else |
| 8146 echo "configure: failed program was:" >&5 | 8145 echo "configure: failed program was:" >&5 |
| 8147 cat conftest.$ac_ext >&5 | 8146 cat conftest.$ac_ext >&5 |
| 8172 | 8171 |
| 8173 canna_includes_found=no | 8172 canna_includes_found=no |
| 8174 if test "$with_canna" != "no"; then | 8173 if test "$with_canna" != "no"; then |
| 8175 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8174 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8176 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8175 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8177 echo "configure:8178: checking for canna/jrkanji.h" >&5 | 8176 echo "configure:8177: checking for canna/jrkanji.h" >&5 |
| 8178 | 8177 |
| 8179 cat > conftest.$ac_ext <<EOF | 8178 cat > conftest.$ac_ext <<EOF |
| 8180 #line 8181 "configure" | 8179 #line 8180 "configure" |
| 8181 #include "confdefs.h" | 8180 #include "confdefs.h" |
| 8182 #include <canna/jrkanji.h> | 8181 #include <canna/jrkanji.h> |
| 8183 EOF | 8182 EOF |
| 8184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8185 { (eval echo configure:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8184 { (eval echo configure:8185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8186 ac_err=`grep -v '^ *+' conftest.out` | 8185 ac_err=`grep -v '^ *+' conftest.out` |
| 8187 if test -z "$ac_err"; then | 8186 if test -z "$ac_err"; then |
| 8188 rm -rf conftest* | 8187 rm -rf conftest* |
| 8189 eval "ac_cv_header_$ac_safe=yes" | 8188 eval "ac_cv_header_$ac_safe=yes" |
| 8190 else | 8189 else |
| 8207 -d "/usr/local/canna/include"; then | 8206 -d "/usr/local/canna/include"; then |
| 8208 save_c_switch_site="$c_switch_site" | 8207 save_c_switch_site="$c_switch_site" |
| 8209 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8208 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 8210 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8209 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 8211 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8210 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 8212 echo "configure:8213: checking for canna/jrkanji.h" >&5 | 8211 echo "configure:8212: checking for canna/jrkanji.h" >&5 |
| 8213 | 8212 |
| 8214 cat > conftest.$ac_ext <<EOF | 8213 cat > conftest.$ac_ext <<EOF |
| 8215 #line 8216 "configure" | 8214 #line 8215 "configure" |
| 8216 #include "confdefs.h" | 8215 #include "confdefs.h" |
| 8217 #include <canna/jrkanji.h> | 8216 #include <canna/jrkanji.h> |
| 8218 EOF | 8217 EOF |
| 8219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8220 { (eval echo configure:8221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8219 { (eval echo configure:8220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8221 ac_err=`grep -v '^ *+' conftest.out` | 8220 ac_err=`grep -v '^ *+' conftest.out` |
| 8222 if test -z "$ac_err"; then | 8221 if test -z "$ac_err"; then |
| 8223 rm -rf conftest* | 8222 rm -rf conftest* |
| 8224 eval "ac_cv_header_$ac_safe=yes" | 8223 eval "ac_cv_header_$ac_safe=yes" |
| 8225 else | 8224 else |
| 8243 fi | 8242 fi |
| 8244 fi | 8243 fi |
| 8245 | 8244 |
| 8246 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8245 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 8247 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8246 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 8248 echo "configure:8249: checking for canna/RK.h" >&5 | 8247 echo "configure:8248: checking for canna/RK.h" >&5 |
| 8249 | 8248 |
| 8250 cat > conftest.$ac_ext <<EOF | 8249 cat > conftest.$ac_ext <<EOF |
| 8251 #line 8252 "configure" | 8250 #line 8251 "configure" |
| 8252 #include "confdefs.h" | 8251 #include "confdefs.h" |
| 8253 #include <canna/RK.h> | 8252 #include <canna/RK.h> |
| 8254 EOF | 8253 EOF |
| 8255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8256 { (eval echo configure:8257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8255 { (eval echo configure:8256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8257 ac_err=`grep -v '^ *+' conftest.out` | 8256 ac_err=`grep -v '^ *+' conftest.out` |
| 8258 if test -z "$ac_err"; then | 8257 if test -z "$ac_err"; then |
| 8259 rm -rf conftest* | 8258 rm -rf conftest* |
| 8260 eval "ac_cv_header_$ac_safe=yes" | 8259 eval "ac_cv_header_$ac_safe=yes" |
| 8261 else | 8260 else |
| 8274 with_canna=no | 8273 with_canna=no |
| 8275 fi | 8274 fi |
| 8276 } | 8275 } |
| 8277 test -z "$with_canna" && { | 8276 test -z "$with_canna" && { |
| 8278 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8277 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 8279 echo "configure:8280: checking for RkBgnBun in -lRKC" >&5 | 8278 echo "configure:8279: checking for RkBgnBun in -lRKC" >&5 |
| 8280 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8279 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 8281 | 8280 |
| 8282 xe_check_libs=" -lRKC " | 8281 xe_check_libs=" -lRKC " |
| 8283 cat > conftest.$ac_ext <<EOF | 8282 cat > conftest.$ac_ext <<EOF |
| 8284 #line 8285 "configure" | 8283 #line 8284 "configure" |
| 8285 #include "confdefs.h" | 8284 #include "confdefs.h" |
| 8286 /* Override any gcc2 internal prototype to avoid an error. */ | 8285 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8287 /* We use char because int might match the return type of a gcc2 | 8286 /* We use char because int might match the return type of a gcc2 |
| 8288 builtin and then its argument prototype would still apply. */ | 8287 builtin and then its argument prototype would still apply. */ |
| 8289 char RkBgnBun(); | 8288 char RkBgnBun(); |
| 8290 | 8289 |
| 8291 int main() { | 8290 int main() { |
| 8292 RkBgnBun() | 8291 RkBgnBun() |
| 8293 ; return 0; } | 8292 ; return 0; } |
| 8294 EOF | 8293 EOF |
| 8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8296 rm -rf conftest* | 8295 rm -rf conftest* |
| 8297 eval "ac_cv_lib_$ac_lib_var=yes" | 8296 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8298 else | 8297 else |
| 8299 echo "configure: failed program was:" >&5 | 8298 echo "configure: failed program was:" >&5 |
| 8300 cat conftest.$ac_ext >&5 | 8299 cat conftest.$ac_ext >&5 |
| 8313 fi | 8312 fi |
| 8314 | 8313 |
| 8315 } | 8314 } |
| 8316 test -z "$with_canna" && { | 8315 test -z "$with_canna" && { |
| 8317 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8316 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 8318 echo "configure:8319: checking for jrKanjiControl in -lcanna" >&5 | 8317 echo "configure:8318: checking for jrKanjiControl in -lcanna" >&5 |
| 8319 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8318 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 8320 | 8319 |
| 8321 xe_check_libs=" -lcanna " | 8320 xe_check_libs=" -lcanna " |
| 8322 cat > conftest.$ac_ext <<EOF | 8321 cat > conftest.$ac_ext <<EOF |
| 8323 #line 8324 "configure" | 8322 #line 8323 "configure" |
| 8324 #include "confdefs.h" | 8323 #include "confdefs.h" |
| 8325 /* Override any gcc2 internal prototype to avoid an error. */ | 8324 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8326 /* We use char because int might match the return type of a gcc2 | 8325 /* We use char because int might match the return type of a gcc2 |
| 8327 builtin and then its argument prototype would still apply. */ | 8326 builtin and then its argument prototype would still apply. */ |
| 8328 char jrKanjiControl(); | 8327 char jrKanjiControl(); |
| 8329 | 8328 |
| 8330 int main() { | 8329 int main() { |
| 8331 jrKanjiControl() | 8330 jrKanjiControl() |
| 8332 ; return 0; } | 8331 ; return 0; } |
| 8333 EOF | 8332 EOF |
| 8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8333 if { (eval echo configure:8334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8335 rm -rf conftest* | 8334 rm -rf conftest* |
| 8336 eval "ac_cv_lib_$ac_lib_var=yes" | 8335 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8337 else | 8336 else |
| 8338 echo "configure: failed program was:" >&5 | 8337 echo "configure: failed program was:" >&5 |
| 8339 cat conftest.$ac_ext >&5 | 8338 cat conftest.$ac_ext >&5 |
| 8378 | 8377 |
| 8379 if test "$need_motif" = "yes" ; then | 8378 if test "$need_motif" = "yes" ; then |
| 8380 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8379 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 8381 | 8380 |
| 8382 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8381 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 8383 echo "configure:8384: checking for layout_object_getvalue in -li18n" >&5 | 8382 echo "configure:8383: checking for layout_object_getvalue in -li18n" >&5 |
| 8384 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8383 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 8385 | 8384 |
| 8386 xe_check_libs=" -li18n " | 8385 xe_check_libs=" -li18n " |
| 8387 cat > conftest.$ac_ext <<EOF | 8386 cat > conftest.$ac_ext <<EOF |
| 8388 #line 8389 "configure" | 8387 #line 8388 "configure" |
| 8389 #include "confdefs.h" | 8388 #include "confdefs.h" |
| 8390 /* Override any gcc2 internal prototype to avoid an error. */ | 8389 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8391 /* We use char because int might match the return type of a gcc2 | 8390 /* We use char because int might match the return type of a gcc2 |
| 8392 builtin and then its argument prototype would still apply. */ | 8391 builtin and then its argument prototype would still apply. */ |
| 8393 char layout_object_getvalue(); | 8392 char layout_object_getvalue(); |
| 8394 | 8393 |
| 8395 int main() { | 8394 int main() { |
| 8396 layout_object_getvalue() | 8395 layout_object_getvalue() |
| 8397 ; return 0; } | 8396 ; return 0; } |
| 8398 EOF | 8397 EOF |
| 8399 if { (eval echo configure:8400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8398 if { (eval echo configure:8399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8400 rm -rf conftest* | 8399 rm -rf conftest* |
| 8401 eval "ac_cv_lib_$ac_lib_var=yes" | 8400 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8402 else | 8401 else |
| 8403 echo "configure: failed program was:" >&5 | 8402 echo "configure: failed program was:" >&5 |
| 8404 cat conftest.$ac_ext >&5 | 8403 cat conftest.$ac_ext >&5 |
| 8463 | 8462 |
| 8464 if test "$GCC" = "yes"; then | 8463 if test "$GCC" = "yes"; then |
| 8465 set x $ld_switch_run; shift; ld_switch_run="" | 8464 set x $ld_switch_run; shift; ld_switch_run="" |
| 8466 while test -n "$1"; do | 8465 while test -n "$1"; do |
| 8467 case $1 in | 8466 case $1 in |
| 8468 -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; | 8467 -L | -l | -u ) ld_switch_run="$ld_switch_run $1 $2"; shift ;; |
| 8469 -L* | -l* | -u* | -Wl* ) ld_switch_run="$ld_switch_run $1" ;; | 8468 -L* | -l* | -u* | -Wl* | -pg ) ld_switch_run="$ld_switch_run $1" ;; |
| 8470 -Xlinker* ) ;; | 8469 -Xlinker* ) ;; |
| 8471 * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; | 8470 * ) ld_switch_run="$ld_switch_run -Xlinker $1" ;; |
| 8472 esac | 8471 esac |
| 8473 shift | 8472 shift |
| 8474 done | 8473 done |
| 8480 fi | 8479 fi |
| 8481 | 8480 |
| 8482 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 | 8481 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 |
| 8483 do | 8482 do |
| 8484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8485 echo "configure:8486: checking for $ac_func" >&5 | 8484 echo "configure:8485: checking for $ac_func" >&5 |
| 8486 | 8485 |
| 8487 cat > conftest.$ac_ext <<EOF | 8486 cat > conftest.$ac_ext <<EOF |
| 8488 #line 8489 "configure" | 8487 #line 8488 "configure" |
| 8489 #include "confdefs.h" | 8488 #include "confdefs.h" |
| 8490 /* System header to define __stub macros and hopefully few prototypes, | 8489 /* System header to define __stub macros and hopefully few prototypes, |
| 8491 which can conflict with char $ac_func(); below. */ | 8490 which can conflict with char $ac_func(); below. */ |
| 8492 #include <assert.h> | 8491 #include <assert.h> |
| 8493 /* Override any gcc2 internal prototype to avoid an error. */ | 8492 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8506 $ac_func(); | 8505 $ac_func(); |
| 8507 #endif | 8506 #endif |
| 8508 | 8507 |
| 8509 ; return 0; } | 8508 ; return 0; } |
| 8510 EOF | 8509 EOF |
| 8511 if { (eval echo configure:8512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8510 if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8512 rm -rf conftest* | 8511 rm -rf conftest* |
| 8513 eval "ac_cv_func_$ac_func=yes" | 8512 eval "ac_cv_func_$ac_func=yes" |
| 8514 else | 8513 else |
| 8515 echo "configure: failed program was:" >&5 | 8514 echo "configure: failed program was:" >&5 |
| 8516 cat conftest.$ac_ext >&5 | 8515 cat conftest.$ac_ext >&5 |
| 8547 echo " xemacs will be linked with \"realpath.o\"" | 8546 echo " xemacs will be linked with \"realpath.o\"" |
| 8548 fi ;; | 8547 fi ;; |
| 8549 * ) for ac_func in realpath | 8548 * ) for ac_func in realpath |
| 8550 do | 8549 do |
| 8551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8552 echo "configure:8553: checking for $ac_func" >&5 | 8551 echo "configure:8552: checking for $ac_func" >&5 |
| 8553 | 8552 |
| 8554 cat > conftest.$ac_ext <<EOF | 8553 cat > conftest.$ac_ext <<EOF |
| 8555 #line 8556 "configure" | 8554 #line 8555 "configure" |
| 8556 #include "confdefs.h" | 8555 #include "confdefs.h" |
| 8557 /* System header to define __stub macros and hopefully few prototypes, | 8556 /* System header to define __stub macros and hopefully few prototypes, |
| 8558 which can conflict with char $ac_func(); below. */ | 8557 which can conflict with char $ac_func(); below. */ |
| 8559 #include <assert.h> | 8558 #include <assert.h> |
| 8560 /* Override any gcc2 internal prototype to avoid an error. */ | 8559 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8573 $ac_func(); | 8572 $ac_func(); |
| 8574 #endif | 8573 #endif |
| 8575 | 8574 |
| 8576 ; return 0; } | 8575 ; return 0; } |
| 8577 EOF | 8576 EOF |
| 8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8577 if { (eval echo configure:8578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8579 rm -rf conftest* | 8578 rm -rf conftest* |
| 8580 eval "ac_cv_func_$ac_func=yes" | 8579 eval "ac_cv_func_$ac_func=yes" |
| 8581 else | 8580 else |
| 8582 echo "configure: failed program was:" >&5 | 8581 echo "configure: failed program was:" >&5 |
| 8583 cat conftest.$ac_ext >&5 | 8582 cat conftest.$ac_ext >&5 |
| 8607 fi ;; | 8606 fi ;; |
| 8608 esac ;; | 8607 esac ;; |
| 8609 esac | 8608 esac |
| 8610 | 8609 |
| 8611 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8610 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 8612 echo "configure:8613: checking whether netdb declares h_errno" >&5 | 8611 echo "configure:8612: checking whether netdb declares h_errno" >&5 |
| 8613 cat > conftest.$ac_ext <<EOF | 8612 cat > conftest.$ac_ext <<EOF |
| 8614 #line 8615 "configure" | 8613 #line 8614 "configure" |
| 8615 #include "confdefs.h" | 8614 #include "confdefs.h" |
| 8616 #include <netdb.h> | 8615 #include <netdb.h> |
| 8617 int main() { | 8616 int main() { |
| 8618 return h_errno; | 8617 return h_errno; |
| 8619 ; return 0; } | 8618 ; return 0; } |
| 8620 EOF | 8619 EOF |
| 8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8622 rm -rf conftest* | 8621 rm -rf conftest* |
| 8623 echo "$ac_t""yes" 1>&6 | 8622 echo "$ac_t""yes" 1>&6 |
| 8624 { test "$extra_verbose" = "yes" && cat << \EOF | 8623 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8625 Defining HAVE_H_ERRNO | 8624 Defining HAVE_H_ERRNO |
| 8626 EOF | 8625 EOF |
| 8636 echo "$ac_t""no" 1>&6 | 8635 echo "$ac_t""no" 1>&6 |
| 8637 fi | 8636 fi |
| 8638 rm -f conftest* | 8637 rm -f conftest* |
| 8639 | 8638 |
| 8640 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8639 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 8641 echo "configure:8642: checking for sigsetjmp" >&5 | 8640 echo "configure:8641: checking for sigsetjmp" >&5 |
| 8642 cat > conftest.$ac_ext <<EOF | 8641 cat > conftest.$ac_ext <<EOF |
| 8643 #line 8644 "configure" | 8642 #line 8643 "configure" |
| 8644 #include "confdefs.h" | 8643 #include "confdefs.h" |
| 8645 #include <setjmp.h> | 8644 #include <setjmp.h> |
| 8646 int main() { | 8645 int main() { |
| 8647 sigjmp_buf bar; sigsetjmp (bar, 0); | 8646 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 8648 ; return 0; } | 8647 ; return 0; } |
| 8649 EOF | 8648 EOF |
| 8650 if { (eval echo configure:8651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8649 if { (eval echo configure:8650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8651 rm -rf conftest* | 8650 rm -rf conftest* |
| 8652 echo "$ac_t""yes" 1>&6 | 8651 echo "$ac_t""yes" 1>&6 |
| 8653 { test "$extra_verbose" = "yes" && cat << \EOF | 8652 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8654 Defining HAVE_SIGSETJMP | 8653 Defining HAVE_SIGSETJMP |
| 8655 EOF | 8654 EOF |
| 8665 echo "$ac_t""no" 1>&6 | 8664 echo "$ac_t""no" 1>&6 |
| 8666 fi | 8665 fi |
| 8667 rm -f conftest* | 8666 rm -f conftest* |
| 8668 | 8667 |
| 8669 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8668 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 8670 echo "configure:8671: checking whether localtime caches TZ" >&5 | 8669 echo "configure:8670: checking whether localtime caches TZ" >&5 |
| 8671 | 8670 |
| 8672 if test "$ac_cv_func_tzset" = "yes"; then | 8671 if test "$ac_cv_func_tzset" = "yes"; then |
| 8673 cat > conftest.$ac_ext <<EOF | 8672 cat > conftest.$ac_ext <<EOF |
| 8674 #line 8675 "configure" | 8673 #line 8674 "configure" |
| 8675 #include "confdefs.h" | 8674 #include "confdefs.h" |
| 8676 #include <time.h> | 8675 #include <time.h> |
| 8677 #if STDC_HEADERS | 8676 #if STDC_HEADERS |
| 8678 # include <stdlib.h> | 8677 # include <stdlib.h> |
| 8679 #endif | 8678 #endif |
| 8704 if (localtime (&now)->tm_hour != hour_unset) | 8703 if (localtime (&now)->tm_hour != hour_unset) |
| 8705 exit (1); | 8704 exit (1); |
| 8706 exit (0); | 8705 exit (0); |
| 8707 } | 8706 } |
| 8708 EOF | 8707 EOF |
| 8709 if { (eval echo configure:8710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8710 then | 8709 then |
| 8711 emacs_cv_localtime_cache=no | 8710 emacs_cv_localtime_cache=no |
| 8712 else | 8711 else |
| 8713 conftest_rc="$?" | 8712 conftest_rc="$?" |
| 8714 echo "configure: failed program was:" >&5 | 8713 echo "configure: failed program was:" >&5 |
| 8734 | 8733 |
| 8735 fi | 8734 fi |
| 8736 | 8735 |
| 8737 if test "$HAVE_TIMEVAL" = "yes"; then | 8736 if test "$HAVE_TIMEVAL" = "yes"; then |
| 8738 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8737 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 8739 echo "configure:8740: checking whether gettimeofday accepts one or two arguments" >&5 | 8738 echo "configure:8739: checking whether gettimeofday accepts one or two arguments" >&5 |
| 8740 cat > conftest.$ac_ext <<EOF | 8739 cat > conftest.$ac_ext <<EOF |
| 8741 #line 8742 "configure" | 8740 #line 8741 "configure" |
| 8742 #include "confdefs.h" | 8741 #include "confdefs.h" |
| 8743 | 8742 |
| 8744 #ifdef TIME_WITH_SYS_TIME | 8743 #ifdef TIME_WITH_SYS_TIME |
| 8745 #include <sys/time.h> | 8744 #include <sys/time.h> |
| 8746 #include <time.h> | 8745 #include <time.h> |
| 8758 struct timezone dummy; | 8757 struct timezone dummy; |
| 8759 gettimeofday (&time, &dummy); | 8758 gettimeofday (&time, &dummy); |
| 8760 | 8759 |
| 8761 ; return 0; } | 8760 ; return 0; } |
| 8762 EOF | 8761 EOF |
| 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8762 if { (eval echo configure:8763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8764 rm -rf conftest* | 8763 rm -rf conftest* |
| 8765 echo "$ac_t""two" 1>&6 | 8764 echo "$ac_t""two" 1>&6 |
| 8766 else | 8765 else |
| 8767 echo "configure: failed program was:" >&5 | 8766 echo "configure: failed program was:" >&5 |
| 8768 cat conftest.$ac_ext >&5 | 8767 cat conftest.$ac_ext >&5 |
| 8780 rm -f conftest* | 8779 rm -f conftest* |
| 8781 fi | 8780 fi |
| 8782 | 8781 |
| 8783 | 8782 |
| 8784 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8783 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 8785 echo "configure:8786: checking for inline" >&5 | 8784 echo "configure:8785: checking for inline" >&5 |
| 8786 | 8785 |
| 8787 ac_cv_c_inline=no | 8786 ac_cv_c_inline=no |
| 8788 for ac_kw in inline __inline__ __inline; do | 8787 for ac_kw in inline __inline__ __inline; do |
| 8789 cat > conftest.$ac_ext <<EOF | 8788 cat > conftest.$ac_ext <<EOF |
| 8790 #line 8791 "configure" | 8789 #line 8790 "configure" |
| 8791 #include "confdefs.h" | 8790 #include "confdefs.h" |
| 8792 | 8791 |
| 8793 int main() { | 8792 int main() { |
| 8794 } $ac_kw foo() { | 8793 } $ac_kw foo() { |
| 8795 ; return 0; } | 8794 ; return 0; } |
| 8796 EOF | 8795 EOF |
| 8797 if { (eval echo configure:8798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8796 if { (eval echo configure:8797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 8798 rm -rf conftest* | 8797 rm -rf conftest* |
| 8799 ac_cv_c_inline=$ac_kw; break | 8798 ac_cv_c_inline=$ac_kw; break |
| 8800 else | 8799 else |
| 8801 echo "configure: failed program was:" >&5 | 8800 echo "configure: failed program was:" >&5 |
| 8802 cat conftest.$ac_ext >&5 | 8801 cat conftest.$ac_ext >&5 |
| 8842 | 8841 |
| 8843 | 8842 |
| 8844 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8843 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 8845 # for constant arguments. Useless! | 8844 # for constant arguments. Useless! |
| 8846 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8845 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 8847 echo "configure:8848: checking for working alloca.h" >&5 | 8846 echo "configure:8847: checking for working alloca.h" >&5 |
| 8848 | 8847 |
| 8849 cat > conftest.$ac_ext <<EOF | 8848 cat > conftest.$ac_ext <<EOF |
| 8850 #line 8851 "configure" | 8849 #line 8850 "configure" |
| 8851 #include "confdefs.h" | 8850 #include "confdefs.h" |
| 8852 #include <alloca.h> | 8851 #include <alloca.h> |
| 8853 int main() { | 8852 int main() { |
| 8854 char *p = alloca(2 * sizeof(int)); | 8853 char *p = alloca(2 * sizeof(int)); |
| 8855 ; return 0; } | 8854 ; return 0; } |
| 8856 EOF | 8855 EOF |
| 8857 if { (eval echo configure:8858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8856 if { (eval echo configure:8857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8858 rm -rf conftest* | 8857 rm -rf conftest* |
| 8859 ac_cv_header_alloca_h=yes | 8858 ac_cv_header_alloca_h=yes |
| 8860 else | 8859 else |
| 8861 echo "configure: failed program was:" >&5 | 8860 echo "configure: failed program was:" >&5 |
| 8862 cat conftest.$ac_ext >&5 | 8861 cat conftest.$ac_ext >&5 |
| 8876 } | 8875 } |
| 8877 | 8876 |
| 8878 fi | 8877 fi |
| 8879 | 8878 |
| 8880 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8879 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 8881 echo "configure:8882: checking for alloca" >&5 | 8880 echo "configure:8881: checking for alloca" >&5 |
| 8882 | 8881 |
| 8883 cat > conftest.$ac_ext <<EOF | 8882 cat > conftest.$ac_ext <<EOF |
| 8884 #line 8885 "configure" | 8883 #line 8884 "configure" |
| 8885 #include "confdefs.h" | 8884 #include "confdefs.h" |
| 8886 | 8885 |
| 8887 #ifdef __GNUC__ | 8886 #ifdef __GNUC__ |
| 8888 # define alloca __builtin_alloca | 8887 # define alloca __builtin_alloca |
| 8889 #else | 8888 #else |
| 8902 | 8901 |
| 8903 int main() { | 8902 int main() { |
| 8904 char *p = (char *) alloca(1); | 8903 char *p = (char *) alloca(1); |
| 8905 ; return 0; } | 8904 ; return 0; } |
| 8906 EOF | 8905 EOF |
| 8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8906 if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8908 rm -rf conftest* | 8907 rm -rf conftest* |
| 8909 ac_cv_func_alloca_works=yes | 8908 ac_cv_func_alloca_works=yes |
| 8910 else | 8909 else |
| 8911 echo "configure: failed program was:" >&5 | 8910 echo "configure: failed program was:" >&5 |
| 8912 cat conftest.$ac_ext >&5 | 8911 cat conftest.$ac_ext >&5 |
| 8941 EOF | 8940 EOF |
| 8942 } | 8941 } |
| 8943 | 8942 |
| 8944 | 8943 |
| 8945 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8944 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 8946 echo "configure:8947: checking whether alloca needs Cray hooks" >&5 | 8945 echo "configure:8946: checking whether alloca needs Cray hooks" >&5 |
| 8947 | 8946 |
| 8948 cat > conftest.$ac_ext <<EOF | 8947 cat > conftest.$ac_ext <<EOF |
| 8949 #line 8950 "configure" | 8948 #line 8949 "configure" |
| 8950 #include "confdefs.h" | 8949 #include "confdefs.h" |
| 8951 #if defined(CRAY) && ! defined(CRAY2) | 8950 #if defined(CRAY) && ! defined(CRAY2) |
| 8952 webecray | 8951 webecray |
| 8953 #else | 8952 #else |
| 8954 wenotbecray | 8953 wenotbecray |
| 8968 | 8967 |
| 8969 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8968 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 8970 if test $ac_cv_os_cray = yes; then | 8969 if test $ac_cv_os_cray = yes; then |
| 8971 for ac_func in _getb67 GETB67 getb67; do | 8970 for ac_func in _getb67 GETB67 getb67; do |
| 8972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8973 echo "configure:8974: checking for $ac_func" >&5 | 8972 echo "configure:8973: checking for $ac_func" >&5 |
| 8974 | 8973 |
| 8975 cat > conftest.$ac_ext <<EOF | 8974 cat > conftest.$ac_ext <<EOF |
| 8976 #line 8977 "configure" | 8975 #line 8976 "configure" |
| 8977 #include "confdefs.h" | 8976 #include "confdefs.h" |
| 8978 /* System header to define __stub macros and hopefully few prototypes, | 8977 /* System header to define __stub macros and hopefully few prototypes, |
| 8979 which can conflict with char $ac_func(); below. */ | 8978 which can conflict with char $ac_func(); below. */ |
| 8980 #include <assert.h> | 8979 #include <assert.h> |
| 8981 /* Override any gcc2 internal prototype to avoid an error. */ | 8980 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8994 $ac_func(); | 8993 $ac_func(); |
| 8995 #endif | 8994 #endif |
| 8996 | 8995 |
| 8997 ; return 0; } | 8996 ; return 0; } |
| 8998 EOF | 8997 EOF |
| 8999 if { (eval echo configure:9000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8998 if { (eval echo configure:8999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9000 rm -rf conftest* | 8999 rm -rf conftest* |
| 9001 eval "ac_cv_func_$ac_func=yes" | 9000 eval "ac_cv_func_$ac_func=yes" |
| 9002 else | 9001 else |
| 9003 echo "configure: failed program was:" >&5 | 9002 echo "configure: failed program was:" >&5 |
| 9004 cat conftest.$ac_ext >&5 | 9003 cat conftest.$ac_ext >&5 |
| 9024 | 9023 |
| 9025 done | 9024 done |
| 9026 fi | 9025 fi |
| 9027 | 9026 |
| 9028 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9027 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 9029 echo "configure:9030: checking stack direction for C alloca" >&5 | 9028 echo "configure:9029: checking stack direction for C alloca" >&5 |
| 9030 | 9029 |
| 9031 cat > conftest.$ac_ext <<EOF | 9030 cat > conftest.$ac_ext <<EOF |
| 9032 #line 9033 "configure" | 9031 #line 9032 "configure" |
| 9033 #include "confdefs.h" | 9032 #include "confdefs.h" |
| 9034 find_stack_direction () | 9033 find_stack_direction () |
| 9035 { | 9034 { |
| 9036 static char *addr = 0; | 9035 static char *addr = 0; |
| 9037 auto char dummy; | 9036 auto char dummy; |
| 9046 main () | 9045 main () |
| 9047 { | 9046 { |
| 9048 exit (find_stack_direction() < 0); | 9047 exit (find_stack_direction() < 0); |
| 9049 } | 9048 } |
| 9050 EOF | 9049 EOF |
| 9051 if { (eval echo configure:9052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9052 then | 9051 then |
| 9053 ac_cv_c_stack_direction=1 | 9052 ac_cv_c_stack_direction=1 |
| 9054 else | 9053 else |
| 9055 conftest_rc="$?" | 9054 conftest_rc="$?" |
| 9056 echo "configure: failed program was:" >&5 | 9055 echo "configure: failed program was:" >&5 |
| 9075 echo " xemacs will be linked with \"$ALLOCA\"" | 9074 echo " xemacs will be linked with \"$ALLOCA\"" |
| 9076 fi | 9075 fi |
| 9077 | 9076 |
| 9078 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9077 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 9079 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9078 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 9080 echo "configure:9081: checking for vfork.h" >&5 | 9079 echo "configure:9080: checking for vfork.h" >&5 |
| 9081 | 9080 |
| 9082 cat > conftest.$ac_ext <<EOF | 9081 cat > conftest.$ac_ext <<EOF |
| 9083 #line 9084 "configure" | 9082 #line 9083 "configure" |
| 9084 #include "confdefs.h" | 9083 #include "confdefs.h" |
| 9085 #include <vfork.h> | 9084 #include <vfork.h> |
| 9086 EOF | 9085 EOF |
| 9087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9088 { (eval echo configure:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9087 { (eval echo configure:9088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9089 ac_err=`grep -v '^ *+' conftest.out` | 9088 ac_err=`grep -v '^ *+' conftest.out` |
| 9090 if test -z "$ac_err"; then | 9089 if test -z "$ac_err"; then |
| 9091 rm -rf conftest* | 9090 rm -rf conftest* |
| 9092 eval "ac_cv_header_$ac_safe=yes" | 9091 eval "ac_cv_header_$ac_safe=yes" |
| 9093 else | 9092 else |
| 9111 else | 9110 else |
| 9112 echo "$ac_t""no" 1>&6 | 9111 echo "$ac_t""no" 1>&6 |
| 9113 fi | 9112 fi |
| 9114 | 9113 |
| 9115 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9114 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 9116 echo "configure:9117: checking for working vfork" >&5 | 9115 echo "configure:9116: checking for working vfork" >&5 |
| 9117 | 9116 |
| 9118 cat > conftest.$ac_ext <<EOF | 9117 cat > conftest.$ac_ext <<EOF |
| 9119 #line 9120 "configure" | 9118 #line 9119 "configure" |
| 9120 #include "confdefs.h" | 9119 #include "confdefs.h" |
| 9121 /* Thanks to Paul Eggert for this test. */ | 9120 /* Thanks to Paul Eggert for this test. */ |
| 9122 #include <stdio.h> | 9121 #include <stdio.h> |
| 9123 #include <sys/types.h> | 9122 #include <sys/types.h> |
| 9124 #include <sys/stat.h> | 9123 #include <sys/stat.h> |
| 9209 || fstat(fileno(stdout), &st) != 0 | 9208 || fstat(fileno(stdout), &st) != 0 |
| 9210 ); | 9209 ); |
| 9211 } | 9210 } |
| 9212 } | 9211 } |
| 9213 EOF | 9212 EOF |
| 9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9215 then | 9214 then |
| 9216 ac_cv_func_vfork_works=yes | 9215 ac_cv_func_vfork_works=yes |
| 9217 else | 9216 else |
| 9218 conftest_rc="$?" | 9217 conftest_rc="$?" |
| 9219 echo "configure: failed program was:" >&5 | 9218 echo "configure: failed program was:" >&5 |
| 9235 | 9234 |
| 9236 fi | 9235 fi |
| 9237 | 9236 |
| 9238 | 9237 |
| 9239 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9238 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 9240 echo "configure:9241: checking for working strcoll" >&5 | 9239 echo "configure:9240: checking for working strcoll" >&5 |
| 9241 | 9240 |
| 9242 cat > conftest.$ac_ext <<EOF | 9241 cat > conftest.$ac_ext <<EOF |
| 9243 #line 9244 "configure" | 9242 #line 9243 "configure" |
| 9244 #include "confdefs.h" | 9243 #include "confdefs.h" |
| 9245 #include <string.h> | 9244 #include <string.h> |
| 9246 main () | 9245 main () |
| 9247 { | 9246 { |
| 9248 exit (strcoll ("abc", "def") >= 0 || | 9247 exit (strcoll ("abc", "def") >= 0 || |
| 9249 strcoll ("ABC", "DEF") >= 0 || | 9248 strcoll ("ABC", "DEF") >= 0 || |
| 9250 strcoll ("123", "456") >= 0); | 9249 strcoll ("123", "456") >= 0); |
| 9251 } | 9250 } |
| 9252 EOF | 9251 EOF |
| 9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9252 if { (eval echo configure:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9254 then | 9253 then |
| 9255 ac_cv_func_strcoll_works=yes | 9254 ac_cv_func_strcoll_works=yes |
| 9256 else | 9255 else |
| 9257 conftest_rc="$?" | 9256 conftest_rc="$?" |
| 9258 echo "configure: failed program was:" >&5 | 9257 echo "configure: failed program was:" >&5 |
| 9276 | 9275 |
| 9277 | 9276 |
| 9278 for ac_func in getpgrp | 9277 for ac_func in getpgrp |
| 9279 do | 9278 do |
| 9280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9281 echo "configure:9282: checking for $ac_func" >&5 | 9280 echo "configure:9281: checking for $ac_func" >&5 |
| 9282 | 9281 |
| 9283 cat > conftest.$ac_ext <<EOF | 9282 cat > conftest.$ac_ext <<EOF |
| 9284 #line 9285 "configure" | 9283 #line 9284 "configure" |
| 9285 #include "confdefs.h" | 9284 #include "confdefs.h" |
| 9286 /* System header to define __stub macros and hopefully few prototypes, | 9285 /* System header to define __stub macros and hopefully few prototypes, |
| 9287 which can conflict with char $ac_func(); below. */ | 9286 which can conflict with char $ac_func(); below. */ |
| 9288 #include <assert.h> | 9287 #include <assert.h> |
| 9289 /* Override any gcc2 internal prototype to avoid an error. */ | 9288 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9302 $ac_func(); | 9301 $ac_func(); |
| 9303 #endif | 9302 #endif |
| 9304 | 9303 |
| 9305 ; return 0; } | 9304 ; return 0; } |
| 9306 EOF | 9305 EOF |
| 9307 if { (eval echo configure:9308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9306 if { (eval echo configure:9307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9308 rm -rf conftest* | 9307 rm -rf conftest* |
| 9309 eval "ac_cv_func_$ac_func=yes" | 9308 eval "ac_cv_func_$ac_func=yes" |
| 9310 else | 9309 else |
| 9311 echo "configure: failed program was:" >&5 | 9310 echo "configure: failed program was:" >&5 |
| 9312 cat conftest.$ac_ext >&5 | 9311 cat conftest.$ac_ext >&5 |
| 9330 echo "$ac_t""no" 1>&6 | 9329 echo "$ac_t""no" 1>&6 |
| 9331 fi | 9330 fi |
| 9332 done | 9331 done |
| 9333 | 9332 |
| 9334 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9333 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 9335 echo "configure:9336: checking whether getpgrp takes no argument" >&5 | 9334 echo "configure:9335: checking whether getpgrp takes no argument" >&5 |
| 9336 | 9335 |
| 9337 cat > conftest.$ac_ext <<EOF | 9336 cat > conftest.$ac_ext <<EOF |
| 9338 #line 9339 "configure" | 9337 #line 9338 "configure" |
| 9339 #include "confdefs.h" | 9338 #include "confdefs.h" |
| 9340 | 9339 |
| 9341 /* | 9340 /* |
| 9342 * If this system has a BSD-style getpgrp(), | 9341 * If this system has a BSD-style getpgrp(), |
| 9343 * which takes a pid argument, exit unsuccessfully. | 9342 * which takes a pid argument, exit unsuccessfully. |
| 9388 exit(s>>8); | 9387 exit(s>>8); |
| 9389 } | 9388 } |
| 9390 } | 9389 } |
| 9391 | 9390 |
| 9392 EOF | 9391 EOF |
| 9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9392 if { (eval echo configure:9393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9394 then | 9393 then |
| 9395 ac_cv_func_getpgrp_void=yes | 9394 ac_cv_func_getpgrp_void=yes |
| 9396 else | 9395 else |
| 9397 conftest_rc="$?" | 9396 conftest_rc="$?" |
| 9398 echo "configure: failed program was:" >&5 | 9397 echo "configure: failed program was:" >&5 |
| 9415 | 9414 |
| 9416 fi | 9415 fi |
| 9417 | 9416 |
| 9418 | 9417 |
| 9419 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9420 echo "configure:9421: checking for working mmap" >&5 | 9419 echo "configure:9420: checking for working mmap" >&5 |
| 9421 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9420 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 9422 cat > conftest.$ac_ext <<EOF | 9421 cat > conftest.$ac_ext <<EOF |
| 9423 #line 9424 "configure" | 9422 #line 9423 "configure" |
| 9424 #include "confdefs.h" | 9423 #include "confdefs.h" |
| 9425 #include <stdio.h> | 9424 #include <stdio.h> |
| 9426 #include <unistd.h> | 9425 #include <unistd.h> |
| 9427 #include <fcntl.h> | 9426 #include <fcntl.h> |
| 9428 #include <sys/mman.h> | 9427 #include <sys/mman.h> |
| 9451 return 0; | 9450 return 0; |
| 9452 perror ("conftest: mmap failed"); | 9451 perror ("conftest: mmap failed"); |
| 9453 return 1; | 9452 return 1; |
| 9454 } | 9453 } |
| 9455 EOF | 9454 EOF |
| 9456 if { (eval echo configure:9457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9455 if { (eval echo configure:9456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9457 then | 9456 then |
| 9458 have_mmap=yes | 9457 have_mmap=yes |
| 9459 else | 9458 else |
| 9460 conftest_rc="$?" | 9459 conftest_rc="$?" |
| 9461 echo "configure: failed program was:" >&5 | 9460 echo "configure: failed program was:" >&5 |
| 9476 | 9475 |
| 9477 for ac_hdr in unistd.h | 9476 for ac_hdr in unistd.h |
| 9478 do | 9477 do |
| 9479 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9480 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9481 echo "configure:9482: checking for $ac_hdr" >&5 | 9480 echo "configure:9481: checking for $ac_hdr" >&5 |
| 9482 | 9481 |
| 9483 cat > conftest.$ac_ext <<EOF | 9482 cat > conftest.$ac_ext <<EOF |
| 9484 #line 9485 "configure" | 9483 #line 9484 "configure" |
| 9485 #include "confdefs.h" | 9484 #include "confdefs.h" |
| 9486 #include <$ac_hdr> | 9485 #include <$ac_hdr> |
| 9487 EOF | 9486 EOF |
| 9488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9489 { (eval echo configure:9490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9488 { (eval echo configure:9489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9490 ac_err=`grep -v '^ *+' conftest.out` | 9489 ac_err=`grep -v '^ *+' conftest.out` |
| 9491 if test -z "$ac_err"; then | 9490 if test -z "$ac_err"; then |
| 9492 rm -rf conftest* | 9491 rm -rf conftest* |
| 9493 eval "ac_cv_header_$ac_safe=yes" | 9492 eval "ac_cv_header_$ac_safe=yes" |
| 9494 else | 9493 else |
| 9516 done | 9515 done |
| 9517 | 9516 |
| 9518 for ac_func in getpagesize | 9517 for ac_func in getpagesize |
| 9519 do | 9518 do |
| 9520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9521 echo "configure:9522: checking for $ac_func" >&5 | 9520 echo "configure:9521: checking for $ac_func" >&5 |
| 9522 | 9521 |
| 9523 cat > conftest.$ac_ext <<EOF | 9522 cat > conftest.$ac_ext <<EOF |
| 9524 #line 9525 "configure" | 9523 #line 9524 "configure" |
| 9525 #include "confdefs.h" | 9524 #include "confdefs.h" |
| 9526 /* System header to define __stub macros and hopefully few prototypes, | 9525 /* System header to define __stub macros and hopefully few prototypes, |
| 9527 which can conflict with char $ac_func(); below. */ | 9526 which can conflict with char $ac_func(); below. */ |
| 9528 #include <assert.h> | 9527 #include <assert.h> |
| 9529 /* Override any gcc2 internal prototype to avoid an error. */ | 9528 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9542 $ac_func(); | 9541 $ac_func(); |
| 9543 #endif | 9542 #endif |
| 9544 | 9543 |
| 9545 ; return 0; } | 9544 ; return 0; } |
| 9546 EOF | 9545 EOF |
| 9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9548 rm -rf conftest* | 9547 rm -rf conftest* |
| 9549 eval "ac_cv_func_$ac_func=yes" | 9548 eval "ac_cv_func_$ac_func=yes" |
| 9550 else | 9549 else |
| 9551 echo "configure: failed program was:" >&5 | 9550 echo "configure: failed program was:" >&5 |
| 9552 cat conftest.$ac_ext >&5 | 9551 cat conftest.$ac_ext >&5 |
| 9570 echo "$ac_t""no" 1>&6 | 9569 echo "$ac_t""no" 1>&6 |
| 9571 fi | 9570 fi |
| 9572 done | 9571 done |
| 9573 | 9572 |
| 9574 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9573 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 9575 echo "configure:9576: checking for working mmap" >&5 | 9574 echo "configure:9575: checking for working mmap" >&5 |
| 9576 | 9575 |
| 9577 cat > conftest.$ac_ext <<EOF | 9576 cat > conftest.$ac_ext <<EOF |
| 9578 #line 9579 "configure" | 9577 #line 9578 "configure" |
| 9579 #include "confdefs.h" | 9578 #include "confdefs.h" |
| 9580 | 9579 |
| 9581 /* Thanks to Mike Haertel and Jim Avera for this test. | 9580 /* Thanks to Mike Haertel and Jim Avera for this test. |
| 9582 Here is a matrix of mmap possibilities: | 9581 Here is a matrix of mmap possibilities: |
| 9583 mmap private not fixed | 9582 mmap private not fixed |
| 9713 unlink("conftestmmap"); | 9712 unlink("conftestmmap"); |
| 9714 exit(0); | 9713 exit(0); |
| 9715 } | 9714 } |
| 9716 | 9715 |
| 9717 EOF | 9716 EOF |
| 9718 if { (eval echo configure:9719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9717 if { (eval echo configure:9718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9719 then | 9718 then |
| 9720 ac_cv_func_mmap_fixed_mapped=yes | 9719 ac_cv_func_mmap_fixed_mapped=yes |
| 9721 else | 9720 else |
| 9722 conftest_rc="$?" | 9721 conftest_rc="$?" |
| 9723 echo "configure: failed program was:" >&5 | 9722 echo "configure: failed program was:" >&5 |
| 9751 } | 9750 } |
| 9752 | 9751 |
| 9753 | 9752 |
| 9754 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9753 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 9755 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9754 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 9756 echo "configure:9757: checking for termios.h" >&5 | 9755 echo "configure:9756: checking for termios.h" >&5 |
| 9757 | 9756 |
| 9758 cat > conftest.$ac_ext <<EOF | 9757 cat > conftest.$ac_ext <<EOF |
| 9759 #line 9760 "configure" | 9758 #line 9759 "configure" |
| 9760 #include "confdefs.h" | 9759 #include "confdefs.h" |
| 9761 #include <termios.h> | 9760 #include <termios.h> |
| 9762 EOF | 9761 EOF |
| 9763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9764 { (eval echo configure:9765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9765 ac_err=`grep -v '^ *+' conftest.out` | 9764 ac_err=`grep -v '^ *+' conftest.out` |
| 9766 if test -z "$ac_err"; then | 9765 if test -z "$ac_err"; then |
| 9767 rm -rf conftest* | 9766 rm -rf conftest* |
| 9768 eval "ac_cv_header_$ac_safe=yes" | 9767 eval "ac_cv_header_$ac_safe=yes" |
| 9769 else | 9768 else |
| 9802 | 9801 |
| 9803 else | 9802 else |
| 9804 echo "$ac_t""no" 1>&6 | 9803 echo "$ac_t""no" 1>&6 |
| 9805 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9804 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 9806 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9805 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 9807 echo "configure:9808: checking for termio.h" >&5 | 9806 echo "configure:9807: checking for termio.h" >&5 |
| 9808 | 9807 |
| 9809 cat > conftest.$ac_ext <<EOF | 9808 cat > conftest.$ac_ext <<EOF |
| 9810 #line 9811 "configure" | 9809 #line 9810 "configure" |
| 9811 #include "confdefs.h" | 9810 #include "confdefs.h" |
| 9812 #include <termio.h> | 9811 #include <termio.h> |
| 9813 EOF | 9812 EOF |
| 9814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9815 { (eval echo configure:9816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9814 { (eval echo configure:9815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9816 ac_err=`grep -v '^ *+' conftest.out` | 9815 ac_err=`grep -v '^ *+' conftest.out` |
| 9817 if test -z "$ac_err"; then | 9816 if test -z "$ac_err"; then |
| 9818 rm -rf conftest* | 9817 rm -rf conftest* |
| 9819 eval "ac_cv_header_$ac_safe=yes" | 9818 eval "ac_cv_header_$ac_safe=yes" |
| 9820 else | 9819 else |
| 9842 fi | 9841 fi |
| 9843 | 9842 |
| 9844 | 9843 |
| 9845 | 9844 |
| 9846 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9845 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 9847 echo "configure:9848: checking for socket" >&5 | 9846 echo "configure:9847: checking for socket" >&5 |
| 9848 | 9847 |
| 9849 cat > conftest.$ac_ext <<EOF | 9848 cat > conftest.$ac_ext <<EOF |
| 9850 #line 9851 "configure" | 9849 #line 9850 "configure" |
| 9851 #include "confdefs.h" | 9850 #include "confdefs.h" |
| 9852 /* System header to define __stub macros and hopefully few prototypes, | 9851 /* System header to define __stub macros and hopefully few prototypes, |
| 9853 which can conflict with char socket(); below. */ | 9852 which can conflict with char socket(); below. */ |
| 9854 #include <assert.h> | 9853 #include <assert.h> |
| 9855 /* Override any gcc2 internal prototype to avoid an error. */ | 9854 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9868 socket(); | 9867 socket(); |
| 9869 #endif | 9868 #endif |
| 9870 | 9869 |
| 9871 ; return 0; } | 9870 ; return 0; } |
| 9872 EOF | 9871 EOF |
| 9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9872 if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9874 rm -rf conftest* | 9873 rm -rf conftest* |
| 9875 eval "ac_cv_func_socket=yes" | 9874 eval "ac_cv_func_socket=yes" |
| 9876 else | 9875 else |
| 9877 echo "configure: failed program was:" >&5 | 9876 echo "configure: failed program was:" >&5 |
| 9878 cat conftest.$ac_ext >&5 | 9877 cat conftest.$ac_ext >&5 |
| 9883 | 9882 |
| 9884 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9883 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 9885 echo "$ac_t""yes" 1>&6 | 9884 echo "$ac_t""yes" 1>&6 |
| 9886 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9885 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 9887 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9886 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 9888 echo "configure:9889: checking for netinet/in.h" >&5 | 9887 echo "configure:9888: checking for netinet/in.h" >&5 |
| 9889 | 9888 |
| 9890 cat > conftest.$ac_ext <<EOF | 9889 cat > conftest.$ac_ext <<EOF |
| 9891 #line 9892 "configure" | 9890 #line 9891 "configure" |
| 9892 #include "confdefs.h" | 9891 #include "confdefs.h" |
| 9893 #include <netinet/in.h> | 9892 #include <netinet/in.h> |
| 9894 EOF | 9893 EOF |
| 9895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9896 { (eval echo configure:9897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9895 { (eval echo configure:9896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9897 ac_err=`grep -v '^ *+' conftest.out` | 9896 ac_err=`grep -v '^ *+' conftest.out` |
| 9898 if test -z "$ac_err"; then | 9897 if test -z "$ac_err"; then |
| 9899 rm -rf conftest* | 9898 rm -rf conftest* |
| 9900 eval "ac_cv_header_$ac_safe=yes" | 9899 eval "ac_cv_header_$ac_safe=yes" |
| 9901 else | 9900 else |
| 9908 rm -f conftest* | 9907 rm -f conftest* |
| 9909 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9908 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 9910 echo "$ac_t""yes" 1>&6 | 9909 echo "$ac_t""yes" 1>&6 |
| 9911 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9910 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 9912 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9911 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 9913 echo "configure:9914: checking for arpa/inet.h" >&5 | 9912 echo "configure:9913: checking for arpa/inet.h" >&5 |
| 9914 | 9913 |
| 9915 cat > conftest.$ac_ext <<EOF | 9914 cat > conftest.$ac_ext <<EOF |
| 9916 #line 9917 "configure" | 9915 #line 9916 "configure" |
| 9917 #include "confdefs.h" | 9916 #include "confdefs.h" |
| 9918 #include <arpa/inet.h> | 9917 #include <arpa/inet.h> |
| 9919 EOF | 9918 EOF |
| 9920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9921 { (eval echo configure:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9920 { (eval echo configure:9921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9922 ac_err=`grep -v '^ *+' conftest.out` | 9921 ac_err=`grep -v '^ *+' conftest.out` |
| 9923 if test -z "$ac_err"; then | 9922 if test -z "$ac_err"; then |
| 9924 rm -rf conftest* | 9923 rm -rf conftest* |
| 9925 eval "ac_cv_header_$ac_safe=yes" | 9924 eval "ac_cv_header_$ac_safe=yes" |
| 9926 else | 9925 else |
| 9941 #define HAVE_SOCKETS 1 | 9940 #define HAVE_SOCKETS 1 |
| 9942 EOF | 9941 EOF |
| 9943 } | 9942 } |
| 9944 | 9943 |
| 9945 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9944 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 9946 echo "configure:9947: checking "for sun_len member in struct sockaddr_un"" >&5 | 9945 echo "configure:9946: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 9947 cat > conftest.$ac_ext <<EOF | 9946 cat > conftest.$ac_ext <<EOF |
| 9948 #line 9949 "configure" | 9947 #line 9948 "configure" |
| 9949 #include "confdefs.h" | 9948 #include "confdefs.h" |
| 9950 | 9949 |
| 9951 #include <sys/types.h> | 9950 #include <sys/types.h> |
| 9952 #include <sys/socket.h> | 9951 #include <sys/socket.h> |
| 9953 #include <sys/un.h> | 9952 #include <sys/un.h> |
| 9954 | 9953 |
| 9955 int main() { | 9954 int main() { |
| 9956 static struct sockaddr_un x; x.sun_len = 1; | 9955 static struct sockaddr_un x; x.sun_len = 1; |
| 9957 ; return 0; } | 9956 ; return 0; } |
| 9958 EOF | 9957 EOF |
| 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9960 rm -rf conftest* | 9959 rm -rf conftest* |
| 9961 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9960 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9962 Defining HAVE_SOCKADDR_SUN_LEN | 9961 Defining HAVE_SOCKADDR_SUN_LEN |
| 9963 EOF | 9962 EOF |
| 9964 cat >> confdefs.h <<\EOF | 9963 cat >> confdefs.h <<\EOF |
| 9972 rm -rf conftest* | 9971 rm -rf conftest* |
| 9973 echo "$ac_t""no" 1>&6 | 9972 echo "$ac_t""no" 1>&6 |
| 9974 fi | 9973 fi |
| 9975 rm -f conftest* | 9974 rm -f conftest* |
| 9976 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9975 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 9977 echo "configure:9978: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9976 echo "configure:9977: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 9978 cat > conftest.$ac_ext <<EOF | 9977 cat > conftest.$ac_ext <<EOF |
| 9979 #line 9980 "configure" | 9978 #line 9979 "configure" |
| 9980 #include "confdefs.h" | 9979 #include "confdefs.h" |
| 9981 | 9980 |
| 9982 #include <sys/types.h> | 9981 #include <sys/types.h> |
| 9983 #include <netinet/in.h> | 9982 #include <netinet/in.h> |
| 9984 | 9983 |
| 9985 int main() { | 9984 int main() { |
| 9986 static struct ip_mreq x; | 9985 static struct ip_mreq x; |
| 9987 ; return 0; } | 9986 ; return 0; } |
| 9988 EOF | 9987 EOF |
| 9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9988 if { (eval echo configure:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9990 rm -rf conftest* | 9989 rm -rf conftest* |
| 9991 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9990 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 9992 Defining HAVE_MULTICAST | 9991 Defining HAVE_MULTICAST |
| 9993 EOF | 9992 EOF |
| 9994 cat >> confdefs.h <<\EOF | 9993 cat >> confdefs.h <<\EOF |
| 10015 echo "$ac_t""no" 1>&6 | 10014 echo "$ac_t""no" 1>&6 |
| 10016 fi | 10015 fi |
| 10017 | 10016 |
| 10018 | 10017 |
| 10019 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10018 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 10020 echo "configure:10021: checking for msgget" >&5 | 10019 echo "configure:10020: checking for msgget" >&5 |
| 10021 | 10020 |
| 10022 cat > conftest.$ac_ext <<EOF | 10021 cat > conftest.$ac_ext <<EOF |
| 10023 #line 10024 "configure" | 10022 #line 10023 "configure" |
| 10024 #include "confdefs.h" | 10023 #include "confdefs.h" |
| 10025 /* System header to define __stub macros and hopefully few prototypes, | 10024 /* System header to define __stub macros and hopefully few prototypes, |
| 10026 which can conflict with char msgget(); below. */ | 10025 which can conflict with char msgget(); below. */ |
| 10027 #include <assert.h> | 10026 #include <assert.h> |
| 10028 /* Override any gcc2 internal prototype to avoid an error. */ | 10027 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10041 msgget(); | 10040 msgget(); |
| 10042 #endif | 10041 #endif |
| 10043 | 10042 |
| 10044 ; return 0; } | 10043 ; return 0; } |
| 10045 EOF | 10044 EOF |
| 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10045 if { (eval echo configure:10046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10047 rm -rf conftest* | 10046 rm -rf conftest* |
| 10048 eval "ac_cv_func_msgget=yes" | 10047 eval "ac_cv_func_msgget=yes" |
| 10049 else | 10048 else |
| 10050 echo "configure: failed program was:" >&5 | 10049 echo "configure: failed program was:" >&5 |
| 10051 cat conftest.$ac_ext >&5 | 10050 cat conftest.$ac_ext >&5 |
| 10056 | 10055 |
| 10057 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10056 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 10058 echo "$ac_t""yes" 1>&6 | 10057 echo "$ac_t""yes" 1>&6 |
| 10059 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10058 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 10060 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10059 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 10061 echo "configure:10062: checking for sys/ipc.h" >&5 | 10060 echo "configure:10061: checking for sys/ipc.h" >&5 |
| 10062 | 10061 |
| 10063 cat > conftest.$ac_ext <<EOF | 10062 cat > conftest.$ac_ext <<EOF |
| 10064 #line 10065 "configure" | 10063 #line 10064 "configure" |
| 10065 #include "confdefs.h" | 10064 #include "confdefs.h" |
| 10066 #include <sys/ipc.h> | 10065 #include <sys/ipc.h> |
| 10067 EOF | 10066 EOF |
| 10068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10069 { (eval echo configure:10070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10068 { (eval echo configure:10069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10070 ac_err=`grep -v '^ *+' conftest.out` | 10069 ac_err=`grep -v '^ *+' conftest.out` |
| 10071 if test -z "$ac_err"; then | 10070 if test -z "$ac_err"; then |
| 10072 rm -rf conftest* | 10071 rm -rf conftest* |
| 10073 eval "ac_cv_header_$ac_safe=yes" | 10072 eval "ac_cv_header_$ac_safe=yes" |
| 10074 else | 10073 else |
| 10081 rm -f conftest* | 10080 rm -f conftest* |
| 10082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10083 echo "$ac_t""yes" 1>&6 | 10082 echo "$ac_t""yes" 1>&6 |
| 10084 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10083 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 10085 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10084 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 10086 echo "configure:10087: checking for sys/msg.h" >&5 | 10085 echo "configure:10086: checking for sys/msg.h" >&5 |
| 10087 | 10086 |
| 10088 cat > conftest.$ac_ext <<EOF | 10087 cat > conftest.$ac_ext <<EOF |
| 10089 #line 10090 "configure" | 10088 #line 10089 "configure" |
| 10090 #include "confdefs.h" | 10089 #include "confdefs.h" |
| 10091 #include <sys/msg.h> | 10090 #include <sys/msg.h> |
| 10092 EOF | 10091 EOF |
| 10093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10094 { (eval echo configure:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10093 { (eval echo configure:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10095 ac_err=`grep -v '^ *+' conftest.out` | 10094 ac_err=`grep -v '^ *+' conftest.out` |
| 10096 if test -z "$ac_err"; then | 10095 if test -z "$ac_err"; then |
| 10097 rm -rf conftest* | 10096 rm -rf conftest* |
| 10098 eval "ac_cv_header_$ac_safe=yes" | 10097 eval "ac_cv_header_$ac_safe=yes" |
| 10099 else | 10098 else |
| 10127 fi | 10126 fi |
| 10128 | 10127 |
| 10129 | 10128 |
| 10130 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10129 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 10131 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10130 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 10132 echo "configure:10133: checking for dirent.h" >&5 | 10131 echo "configure:10132: checking for dirent.h" >&5 |
| 10133 | 10132 |
| 10134 cat > conftest.$ac_ext <<EOF | 10133 cat > conftest.$ac_ext <<EOF |
| 10135 #line 10136 "configure" | 10134 #line 10135 "configure" |
| 10136 #include "confdefs.h" | 10135 #include "confdefs.h" |
| 10137 #include <dirent.h> | 10136 #include <dirent.h> |
| 10138 EOF | 10137 EOF |
| 10139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10140 { (eval echo configure:10141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10139 { (eval echo configure:10140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10141 ac_err=`grep -v '^ *+' conftest.out` | 10140 ac_err=`grep -v '^ *+' conftest.out` |
| 10142 if test -z "$ac_err"; then | 10141 if test -z "$ac_err"; then |
| 10143 rm -rf conftest* | 10142 rm -rf conftest* |
| 10144 eval "ac_cv_header_$ac_safe=yes" | 10143 eval "ac_cv_header_$ac_safe=yes" |
| 10145 else | 10144 else |
| 10162 | 10161 |
| 10163 else | 10162 else |
| 10164 echo "$ac_t""no" 1>&6 | 10163 echo "$ac_t""no" 1>&6 |
| 10165 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10164 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 10166 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10165 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 10167 echo "configure:10168: checking for sys/dir.h" >&5 | 10166 echo "configure:10167: checking for sys/dir.h" >&5 |
| 10168 | 10167 |
| 10169 cat > conftest.$ac_ext <<EOF | 10168 cat > conftest.$ac_ext <<EOF |
| 10170 #line 10171 "configure" | 10169 #line 10170 "configure" |
| 10171 #include "confdefs.h" | 10170 #include "confdefs.h" |
| 10172 #include <sys/dir.h> | 10171 #include <sys/dir.h> |
| 10173 EOF | 10172 EOF |
| 10174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10175 { (eval echo configure:10176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10174 { (eval echo configure:10175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10176 ac_err=`grep -v '^ *+' conftest.out` | 10175 ac_err=`grep -v '^ *+' conftest.out` |
| 10177 if test -z "$ac_err"; then | 10176 if test -z "$ac_err"; then |
| 10178 rm -rf conftest* | 10177 rm -rf conftest* |
| 10179 eval "ac_cv_header_$ac_safe=yes" | 10178 eval "ac_cv_header_$ac_safe=yes" |
| 10180 else | 10179 else |
| 10203 fi | 10202 fi |
| 10204 | 10203 |
| 10205 | 10204 |
| 10206 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10205 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 10207 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10206 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 10208 echo "configure:10209: checking for nlist.h" >&5 | 10207 echo "configure:10208: checking for nlist.h" >&5 |
| 10209 | 10208 |
| 10210 cat > conftest.$ac_ext <<EOF | 10209 cat > conftest.$ac_ext <<EOF |
| 10211 #line 10212 "configure" | 10210 #line 10211 "configure" |
| 10212 #include "confdefs.h" | 10211 #include "confdefs.h" |
| 10213 #include <nlist.h> | 10212 #include <nlist.h> |
| 10214 EOF | 10213 EOF |
| 10215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10215 { (eval echo configure:10216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10217 ac_err=`grep -v '^ *+' conftest.out` | 10216 ac_err=`grep -v '^ *+' conftest.out` |
| 10218 if test -z "$ac_err"; then | 10217 if test -z "$ac_err"; then |
| 10219 rm -rf conftest* | 10218 rm -rf conftest* |
| 10220 eval "ac_cv_header_$ac_safe=yes" | 10219 eval "ac_cv_header_$ac_safe=yes" |
| 10221 else | 10220 else |
| 10241 fi | 10240 fi |
| 10242 | 10241 |
| 10243 | 10242 |
| 10244 | 10243 |
| 10245 echo "checking "for sound support"" 1>&6 | 10244 echo "checking "for sound support"" 1>&6 |
| 10246 echo "configure:10247: checking "for sound support"" >&5 | 10245 echo "configure:10246: checking "for sound support"" >&5 |
| 10247 case "$with_sound" in | 10246 case "$with_sound" in |
| 10248 native | both ) with_native_sound=yes;; | 10247 native | both ) with_native_sound=yes;; |
| 10249 nas | no ) with_native_sound=no;; | 10248 nas | no ) with_native_sound=no;; |
| 10250 esac | 10249 esac |
| 10251 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10250 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 10252 | 10251 |
| 10253 if test "$with_native_sound" != "no"; then | 10252 if test "$with_native_sound" != "no"; then |
| 10254 if test -n "$native_sound_lib"; then | 10253 if test -n "$native_sound_lib"; then |
| 10255 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10254 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 10256 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10255 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 10257 echo "configure:10258: checking for multimedia/audio_device.h" >&5 | 10256 echo "configure:10257: checking for multimedia/audio_device.h" >&5 |
| 10258 | 10257 |
| 10259 cat > conftest.$ac_ext <<EOF | 10258 cat > conftest.$ac_ext <<EOF |
| 10260 #line 10261 "configure" | 10259 #line 10260 "configure" |
| 10261 #include "confdefs.h" | 10260 #include "confdefs.h" |
| 10262 #include <multimedia/audio_device.h> | 10261 #include <multimedia/audio_device.h> |
| 10263 EOF | 10262 EOF |
| 10264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10265 { (eval echo configure:10266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10264 { (eval echo configure:10265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10266 ac_err=`grep -v '^ *+' conftest.out` | 10265 ac_err=`grep -v '^ *+' conftest.out` |
| 10267 if test -z "$ac_err"; then | 10266 if test -z "$ac_err"; then |
| 10268 rm -rf conftest* | 10267 rm -rf conftest* |
| 10269 eval "ac_cv_header_$ac_safe=yes" | 10268 eval "ac_cv_header_$ac_safe=yes" |
| 10270 else | 10269 else |
| 10308 case "$canonical" in | 10307 case "$canonical" in |
| 10309 *-sgi-* ) | 10308 *-sgi-* ) |
| 10310 if test -z "$native_sound_lib"; then | 10309 if test -z "$native_sound_lib"; then |
| 10311 | 10310 |
| 10312 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10311 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 10313 echo "configure:10314: checking for ALopenport in -laudio" >&5 | 10312 echo "configure:10313: checking for ALopenport in -laudio" >&5 |
| 10314 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10313 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 10315 | 10314 |
| 10316 xe_check_libs=" -laudio " | 10315 xe_check_libs=" -laudio " |
| 10317 cat > conftest.$ac_ext <<EOF | 10316 cat > conftest.$ac_ext <<EOF |
| 10318 #line 10319 "configure" | 10317 #line 10318 "configure" |
| 10319 #include "confdefs.h" | 10318 #include "confdefs.h" |
| 10320 /* Override any gcc2 internal prototype to avoid an error. */ | 10319 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10321 /* We use char because int might match the return type of a gcc2 | 10320 /* We use char because int might match the return type of a gcc2 |
| 10322 builtin and then its argument prototype would still apply. */ | 10321 builtin and then its argument prototype would still apply. */ |
| 10323 char ALopenport(); | 10322 char ALopenport(); |
| 10324 | 10323 |
| 10325 int main() { | 10324 int main() { |
| 10326 ALopenport() | 10325 ALopenport() |
| 10327 ; return 0; } | 10326 ; return 0; } |
| 10328 EOF | 10327 EOF |
| 10329 if { (eval echo configure:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10330 rm -rf conftest* | 10329 rm -rf conftest* |
| 10331 eval "ac_cv_lib_$ac_lib_var=yes" | 10330 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10332 else | 10331 else |
| 10333 echo "configure: failed program was:" >&5 | 10332 echo "configure: failed program was:" >&5 |
| 10334 cat conftest.$ac_ext >&5 | 10333 cat conftest.$ac_ext >&5 |
| 10355 fi ;; | 10354 fi ;; |
| 10356 hppa*-hp-hpux* ) | 10355 hppa*-hp-hpux* ) |
| 10357 if test -z "$native_sound_lib"; then | 10356 if test -z "$native_sound_lib"; then |
| 10358 | 10357 |
| 10359 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10358 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 10360 echo "configure:10361: checking for AOpenAudio in -lAlib" >&5 | 10359 echo "configure:10360: checking for AOpenAudio in -lAlib" >&5 |
| 10361 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10360 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 10362 | 10361 |
| 10363 xe_check_libs=" -lAlib " | 10362 xe_check_libs=" -lAlib " |
| 10364 cat > conftest.$ac_ext <<EOF | 10363 cat > conftest.$ac_ext <<EOF |
| 10365 #line 10366 "configure" | 10364 #line 10365 "configure" |
| 10366 #include "confdefs.h" | 10365 #include "confdefs.h" |
| 10367 /* Override any gcc2 internal prototype to avoid an error. */ | 10366 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10368 /* We use char because int might match the return type of a gcc2 | 10367 /* We use char because int might match the return type of a gcc2 |
| 10369 builtin and then its argument prototype would still apply. */ | 10368 builtin and then its argument prototype would still apply. */ |
| 10370 char AOpenAudio(); | 10369 char AOpenAudio(); |
| 10371 | 10370 |
| 10372 int main() { | 10371 int main() { |
| 10373 AOpenAudio() | 10372 AOpenAudio() |
| 10374 ; return 0; } | 10373 ; return 0; } |
| 10375 EOF | 10374 EOF |
| 10376 if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10375 if { (eval echo configure:10376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10377 rm -rf conftest* | 10376 rm -rf conftest* |
| 10378 eval "ac_cv_lib_$ac_lib_var=yes" | 10377 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10379 else | 10378 else |
| 10380 echo "configure: failed program was:" >&5 | 10379 echo "configure: failed program was:" >&5 |
| 10381 cat conftest.$ac_ext >&5 | 10380 cat conftest.$ac_ext >&5 |
| 10409 | 10408 |
| 10410 if test -z "$sound_found"; then | 10409 if test -z "$sound_found"; then |
| 10411 for dir in "machine" "sys" "linux"; do | 10410 for dir in "machine" "sys" "linux"; do |
| 10412 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10411 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 10413 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10412 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 10414 echo "configure:10415: checking for ${dir}/soundcard.h" >&5 | 10413 echo "configure:10414: checking for ${dir}/soundcard.h" >&5 |
| 10415 | 10414 |
| 10416 cat > conftest.$ac_ext <<EOF | 10415 cat > conftest.$ac_ext <<EOF |
| 10417 #line 10418 "configure" | 10416 #line 10417 "configure" |
| 10418 #include "confdefs.h" | 10417 #include "confdefs.h" |
| 10419 #include <${dir}/soundcard.h> | 10418 #include <${dir}/soundcard.h> |
| 10420 EOF | 10419 EOF |
| 10421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10422 { (eval echo configure:10423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10421 { (eval echo configure:10422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10423 ac_err=`grep -v '^ *+' conftest.out` | 10422 ac_err=`grep -v '^ *+' conftest.out` |
| 10424 if test -z "$ac_err"; then | 10423 if test -z "$ac_err"; then |
| 10425 rm -rf conftest* | 10424 rm -rf conftest* |
| 10426 eval "ac_cv_header_$ac_safe=yes" | 10425 eval "ac_cv_header_$ac_safe=yes" |
| 10427 else | 10426 else |
| 10487 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10486 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 10488 echo " xemacs will be linked with \"nas.o\"" | 10487 echo " xemacs will be linked with \"nas.o\"" |
| 10489 fi | 10488 fi |
| 10490 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10489 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 10491 cat > conftest.$ac_ext <<EOF | 10490 cat > conftest.$ac_ext <<EOF |
| 10492 #line 10493 "configure" | 10491 #line 10492 "configure" |
| 10493 #include "confdefs.h" | 10492 #include "confdefs.h" |
| 10494 #include <audio/Xtutil.h> | 10493 #include <audio/Xtutil.h> |
| 10495 EOF | 10494 EOF |
| 10496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10497 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10496 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 10514 | 10513 |
| 10515 test -z "$with_tty" && with_tty=yes | 10514 test -z "$with_tty" && with_tty=yes |
| 10516 | 10515 |
| 10517 if test "$with_tty" = "yes" ; then | 10516 if test "$with_tty" = "yes" ; then |
| 10518 echo "checking for TTY-related features" 1>&6 | 10517 echo "checking for TTY-related features" 1>&6 |
| 10519 echo "configure:10520: checking for TTY-related features" >&5 | 10518 echo "configure:10519: checking for TTY-related features" >&5 |
| 10520 { test "$extra_verbose" = "yes" && cat << \EOF | 10519 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10521 Defining HAVE_TTY | 10520 Defining HAVE_TTY |
| 10522 EOF | 10521 EOF |
| 10523 cat >> confdefs.h <<\EOF | 10522 cat >> confdefs.h <<\EOF |
| 10524 #define HAVE_TTY 1 | 10523 #define HAVE_TTY 1 |
| 10530 fi | 10529 fi |
| 10531 | 10530 |
| 10532 if test -z "$with_ncurses"; then | 10531 if test -z "$with_ncurses"; then |
| 10533 | 10532 |
| 10534 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10533 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 10535 echo "configure:10536: checking for tgetent in -lncurses" >&5 | 10534 echo "configure:10535: checking for tgetent in -lncurses" >&5 |
| 10536 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10535 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10537 | 10536 |
| 10538 xe_check_libs=" -lncurses " | 10537 xe_check_libs=" -lncurses " |
| 10539 cat > conftest.$ac_ext <<EOF | 10538 cat > conftest.$ac_ext <<EOF |
| 10540 #line 10541 "configure" | 10539 #line 10540 "configure" |
| 10541 #include "confdefs.h" | 10540 #include "confdefs.h" |
| 10542 /* Override any gcc2 internal prototype to avoid an error. */ | 10541 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10543 /* We use char because int might match the return type of a gcc2 | 10542 /* We use char because int might match the return type of a gcc2 |
| 10544 builtin and then its argument prototype would still apply. */ | 10543 builtin and then its argument prototype would still apply. */ |
| 10545 char tgetent(); | 10544 char tgetent(); |
| 10546 | 10545 |
| 10547 int main() { | 10546 int main() { |
| 10548 tgetent() | 10547 tgetent() |
| 10549 ; return 0; } | 10548 ; return 0; } |
| 10550 EOF | 10549 EOF |
| 10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10550 if { (eval echo configure:10551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10552 rm -rf conftest* | 10551 rm -rf conftest* |
| 10553 eval "ac_cv_lib_$ac_lib_var=yes" | 10552 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10554 else | 10553 else |
| 10555 echo "configure: failed program was:" >&5 | 10554 echo "configure: failed program was:" >&5 |
| 10556 cat conftest.$ac_ext >&5 | 10555 cat conftest.$ac_ext >&5 |
| 10579 EOF | 10578 EOF |
| 10580 } | 10579 } |
| 10581 | 10580 |
| 10582 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10581 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10583 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10582 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10584 echo "configure:10585: checking for ncurses/curses.h" >&5 | 10583 echo "configure:10584: checking for ncurses/curses.h" >&5 |
| 10585 | 10584 |
| 10586 cat > conftest.$ac_ext <<EOF | 10585 cat > conftest.$ac_ext <<EOF |
| 10587 #line 10588 "configure" | 10586 #line 10587 "configure" |
| 10588 #include "confdefs.h" | 10587 #include "confdefs.h" |
| 10589 #include <ncurses/curses.h> | 10588 #include <ncurses/curses.h> |
| 10590 EOF | 10589 EOF |
| 10591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10592 { (eval echo configure:10593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10591 { (eval echo configure:10592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10593 ac_err=`grep -v '^ *+' conftest.out` | 10592 ac_err=`grep -v '^ *+' conftest.out` |
| 10594 if test -z "$ac_err"; then | 10593 if test -z "$ac_err"; then |
| 10595 rm -rf conftest* | 10594 rm -rf conftest* |
| 10596 eval "ac_cv_header_$ac_safe=yes" | 10595 eval "ac_cv_header_$ac_safe=yes" |
| 10597 else | 10596 else |
| 10609 echo "$ac_t""no" 1>&6 | 10608 echo "$ac_t""no" 1>&6 |
| 10610 fi | 10609 fi |
| 10611 | 10610 |
| 10612 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10611 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 10613 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10612 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 10614 echo "configure:10615: checking for ncurses/term.h" >&5 | 10613 echo "configure:10614: checking for ncurses/term.h" >&5 |
| 10615 | 10614 |
| 10616 cat > conftest.$ac_ext <<EOF | 10615 cat > conftest.$ac_ext <<EOF |
| 10617 #line 10618 "configure" | 10616 #line 10617 "configure" |
| 10618 #include "confdefs.h" | 10617 #include "confdefs.h" |
| 10619 #include <ncurses/term.h> | 10618 #include <ncurses/term.h> |
| 10620 EOF | 10619 EOF |
| 10621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10622 { (eval echo configure:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10621 { (eval echo configure:10622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10623 ac_err=`grep -v '^ *+' conftest.out` | 10622 ac_err=`grep -v '^ *+' conftest.out` |
| 10624 if test -z "$ac_err"; then | 10623 if test -z "$ac_err"; then |
| 10625 rm -rf conftest* | 10624 rm -rf conftest* |
| 10626 eval "ac_cv_header_$ac_safe=yes" | 10625 eval "ac_cv_header_$ac_safe=yes" |
| 10627 else | 10626 else |
| 10647 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10646 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 10648 save_c_switch_site="$c_switch_site" | 10647 save_c_switch_site="$c_switch_site" |
| 10649 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10648 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 10650 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10649 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 10651 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10650 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 10652 echo "configure:10653: checking for ncurses/curses.h" >&5 | 10651 echo "configure:10652: checking for ncurses/curses.h" >&5 |
| 10653 | 10652 |
| 10654 cat > conftest.$ac_ext <<EOF | 10653 cat > conftest.$ac_ext <<EOF |
| 10655 #line 10656 "configure" | 10654 #line 10655 "configure" |
| 10656 #include "confdefs.h" | 10655 #include "confdefs.h" |
| 10657 #include <ncurses/curses.h> | 10656 #include <ncurses/curses.h> |
| 10658 EOF | 10657 EOF |
| 10659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10660 { (eval echo configure:10661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10659 { (eval echo configure:10660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10661 ac_err=`grep -v '^ *+' conftest.out` | 10660 ac_err=`grep -v '^ *+' conftest.out` |
| 10662 if test -z "$ac_err"; then | 10661 if test -z "$ac_err"; then |
| 10663 rm -rf conftest* | 10662 rm -rf conftest* |
| 10664 eval "ac_cv_header_$ac_safe=yes" | 10663 eval "ac_cv_header_$ac_safe=yes" |
| 10665 else | 10664 else |
| 10690 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10689 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10691 else | 10690 else |
| 10692 for lib in curses termlib termcap; do | 10691 for lib in curses termlib termcap; do |
| 10693 | 10692 |
| 10694 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10693 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 10695 echo "configure:10696: checking for tgetent in -l$lib" >&5 | 10694 echo "configure:10695: checking for tgetent in -l$lib" >&5 |
| 10696 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10695 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 10697 | 10696 |
| 10698 xe_check_libs=" -l$lib " | 10697 xe_check_libs=" -l$lib " |
| 10699 cat > conftest.$ac_ext <<EOF | 10698 cat > conftest.$ac_ext <<EOF |
| 10700 #line 10701 "configure" | 10699 #line 10700 "configure" |
| 10701 #include "confdefs.h" | 10700 #include "confdefs.h" |
| 10702 /* Override any gcc2 internal prototype to avoid an error. */ | 10701 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10703 /* We use char because int might match the return type of a gcc2 | 10702 /* We use char because int might match the return type of a gcc2 |
| 10704 builtin and then its argument prototype would still apply. */ | 10703 builtin and then its argument prototype would still apply. */ |
| 10705 char tgetent(); | 10704 char tgetent(); |
| 10706 | 10705 |
| 10707 int main() { | 10706 int main() { |
| 10708 tgetent() | 10707 tgetent() |
| 10709 ; return 0; } | 10708 ; return 0; } |
| 10710 EOF | 10709 EOF |
| 10711 if { (eval echo configure:10712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10710 if { (eval echo configure:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10712 rm -rf conftest* | 10711 rm -rf conftest* |
| 10713 eval "ac_cv_lib_$ac_lib_var=yes" | 10712 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10714 else | 10713 else |
| 10715 echo "configure: failed program was:" >&5 | 10714 echo "configure: failed program was:" >&5 |
| 10716 cat conftest.$ac_ext >&5 | 10715 cat conftest.$ac_ext >&5 |
| 10737 if test -n "$libs_termcap"; then | 10736 if test -n "$libs_termcap"; then |
| 10738 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10737 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 10739 else | 10738 else |
| 10740 | 10739 |
| 10741 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10740 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 10742 echo "configure:10743: checking for tgetent in -lcurses" >&5 | 10741 echo "configure:10742: checking for tgetent in -lcurses" >&5 |
| 10743 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10742 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 10744 | 10743 |
| 10745 xe_check_libs=" -lcurses " | 10744 xe_check_libs=" -lcurses " |
| 10746 cat > conftest.$ac_ext <<EOF | 10745 cat > conftest.$ac_ext <<EOF |
| 10747 #line 10748 "configure" | 10746 #line 10747 "configure" |
| 10748 #include "confdefs.h" | 10747 #include "confdefs.h" |
| 10749 /* Override any gcc2 internal prototype to avoid an error. */ | 10748 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10750 /* We use char because int might match the return type of a gcc2 | 10749 /* We use char because int might match the return type of a gcc2 |
| 10751 builtin and then its argument prototype would still apply. */ | 10750 builtin and then its argument prototype would still apply. */ |
| 10752 char tgetent(); | 10751 char tgetent(); |
| 10753 | 10752 |
| 10754 int main() { | 10753 int main() { |
| 10755 tgetent() | 10754 tgetent() |
| 10756 ; return 0; } | 10755 ; return 0; } |
| 10757 EOF | 10756 EOF |
| 10758 if { (eval echo configure:10759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10757 if { (eval echo configure:10758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10759 rm -rf conftest* | 10758 rm -rf conftest* |
| 10760 eval "ac_cv_lib_$ac_lib_var=yes" | 10759 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10761 else | 10760 else |
| 10762 echo "configure: failed program was:" >&5 | 10761 echo "configure: failed program was:" >&5 |
| 10763 cat conftest.$ac_ext >&5 | 10762 cat conftest.$ac_ext >&5 |
| 10771 echo "$ac_t""yes" 1>&6 | 10770 echo "$ac_t""yes" 1>&6 |
| 10772 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10771 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 10773 else | 10772 else |
| 10774 echo "$ac_t""no" 1>&6 | 10773 echo "$ac_t""no" 1>&6 |
| 10775 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10774 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 10776 echo "configure:10777: checking for tgetent in -ltermcap" >&5 | 10775 echo "configure:10776: checking for tgetent in -ltermcap" >&5 |
| 10777 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10776 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 10778 | 10777 |
| 10779 xe_check_libs=" -ltermcap " | 10778 xe_check_libs=" -ltermcap " |
| 10780 cat > conftest.$ac_ext <<EOF | 10779 cat > conftest.$ac_ext <<EOF |
| 10781 #line 10782 "configure" | 10780 #line 10781 "configure" |
| 10782 #include "confdefs.h" | 10781 #include "confdefs.h" |
| 10783 /* Override any gcc2 internal prototype to avoid an error. */ | 10782 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10784 /* We use char because int might match the return type of a gcc2 | 10783 /* We use char because int might match the return type of a gcc2 |
| 10785 builtin and then its argument prototype would still apply. */ | 10784 builtin and then its argument prototype would still apply. */ |
| 10786 char tgetent(); | 10785 char tgetent(); |
| 10787 | 10786 |
| 10788 int main() { | 10787 int main() { |
| 10789 tgetent() | 10788 tgetent() |
| 10790 ; return 0; } | 10789 ; return 0; } |
| 10791 EOF | 10790 EOF |
| 10792 if { (eval echo configure:10793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10791 if { (eval echo configure:10792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10793 rm -rf conftest* | 10792 rm -rf conftest* |
| 10794 eval "ac_cv_lib_$ac_lib_var=yes" | 10793 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10795 else | 10794 else |
| 10796 echo "configure: failed program was:" >&5 | 10795 echo "configure: failed program was:" >&5 |
| 10797 cat conftest.$ac_ext >&5 | 10796 cat conftest.$ac_ext >&5 |
| 10835 } | 10834 } |
| 10836 | 10835 |
| 10837 | 10836 |
| 10838 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10837 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 10839 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10838 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 10840 echo "configure:10841: checking for gpm.h" >&5 | 10839 echo "configure:10840: checking for gpm.h" >&5 |
| 10841 | 10840 |
| 10842 cat > conftest.$ac_ext <<EOF | 10841 cat > conftest.$ac_ext <<EOF |
| 10843 #line 10844 "configure" | 10842 #line 10843 "configure" |
| 10844 #include "confdefs.h" | 10843 #include "confdefs.h" |
| 10845 #include <gpm.h> | 10844 #include <gpm.h> |
| 10846 EOF | 10845 EOF |
| 10847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10848 { (eval echo configure:10849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10847 { (eval echo configure:10848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10849 ac_err=`grep -v '^ *+' conftest.out` | 10848 ac_err=`grep -v '^ *+' conftest.out` |
| 10850 if test -z "$ac_err"; then | 10849 if test -z "$ac_err"; then |
| 10851 rm -rf conftest* | 10850 rm -rf conftest* |
| 10852 eval "ac_cv_header_$ac_safe=yes" | 10851 eval "ac_cv_header_$ac_safe=yes" |
| 10853 else | 10852 else |
| 10866 with_gpm=no | 10865 with_gpm=no |
| 10867 fi | 10866 fi |
| 10868 } | 10867 } |
| 10869 test -z "$with_gpm" && { | 10868 test -z "$with_gpm" && { |
| 10870 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10869 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 10871 echo "configure:10872: checking for Gpm_Open in -lgpm" >&5 | 10870 echo "configure:10871: checking for Gpm_Open in -lgpm" >&5 |
| 10872 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10871 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 10873 | 10872 |
| 10874 xe_check_libs=" -lgpm " | 10873 xe_check_libs=" -lgpm " |
| 10875 cat > conftest.$ac_ext <<EOF | 10874 cat > conftest.$ac_ext <<EOF |
| 10876 #line 10877 "configure" | 10875 #line 10876 "configure" |
| 10877 #include "confdefs.h" | 10876 #include "confdefs.h" |
| 10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10877 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10879 /* We use char because int might match the return type of a gcc2 | 10878 /* We use char because int might match the return type of a gcc2 |
| 10880 builtin and then its argument prototype would still apply. */ | 10879 builtin and then its argument prototype would still apply. */ |
| 10881 char Gpm_Open(); | 10880 char Gpm_Open(); |
| 10882 | 10881 |
| 10883 int main() { | 10882 int main() { |
| 10884 Gpm_Open() | 10883 Gpm_Open() |
| 10885 ; return 0; } | 10884 ; return 0; } |
| 10886 EOF | 10885 EOF |
| 10887 if { (eval echo configure:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10886 if { (eval echo configure:10887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 10888 rm -rf conftest* | 10887 rm -rf conftest* |
| 10889 eval "ac_cv_lib_$ac_lib_var=yes" | 10888 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10890 else | 10889 else |
| 10891 echo "configure: failed program was:" >&5 | 10890 echo "configure: failed program was:" >&5 |
| 10892 cat conftest.$ac_ext >&5 | 10891 cat conftest.$ac_ext >&5 |
| 10931 echo " xemacs will be linked with \"event-unixoid.o\"" | 10930 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 10932 fi | 10931 fi |
| 10933 | 10932 |
| 10934 | 10933 |
| 10935 echo "checking for database support" 1>&6 | 10934 echo "checking for database support" 1>&6 |
| 10936 echo "configure:10937: checking for database support" >&5 | 10935 echo "configure:10936: checking for database support" >&5 |
| 10937 | 10936 |
| 10938 if test "$with_database_gnudbm" != "no"; then | 10937 if test "$with_database_gnudbm" != "no"; then |
| 10939 for ac_hdr in ndbm.h | 10938 for ac_hdr in ndbm.h |
| 10940 do | 10939 do |
| 10941 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10942 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10943 echo "configure:10944: checking for $ac_hdr" >&5 | 10942 echo "configure:10943: checking for $ac_hdr" >&5 |
| 10944 | 10943 |
| 10945 cat > conftest.$ac_ext <<EOF | 10944 cat > conftest.$ac_ext <<EOF |
| 10946 #line 10947 "configure" | 10945 #line 10946 "configure" |
| 10947 #include "confdefs.h" | 10946 #include "confdefs.h" |
| 10948 #include <$ac_hdr> | 10947 #include <$ac_hdr> |
| 10949 EOF | 10948 EOF |
| 10950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10951 { (eval echo configure:10952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10950 { (eval echo configure:10951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10952 ac_err=`grep -v '^ *+' conftest.out` | 10951 ac_err=`grep -v '^ *+' conftest.out` |
| 10953 if test -z "$ac_err"; then | 10952 if test -z "$ac_err"; then |
| 10954 rm -rf conftest* | 10953 rm -rf conftest* |
| 10955 eval "ac_cv_header_$ac_safe=yes" | 10954 eval "ac_cv_header_$ac_safe=yes" |
| 10956 else | 10955 else |
| 10978 done | 10977 done |
| 10979 | 10978 |
| 10980 if test "$have_ndbm_h" = "yes"; then | 10979 if test "$have_ndbm_h" = "yes"; then |
| 10981 | 10980 |
| 10982 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10981 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 10983 echo "configure:10984: checking for dbm_open in -lgdbm" >&5 | 10982 echo "configure:10983: checking for dbm_open in -lgdbm" >&5 |
| 10984 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10983 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 10985 | 10984 |
| 10986 xe_check_libs=" -lgdbm " | 10985 xe_check_libs=" -lgdbm " |
| 10987 cat > conftest.$ac_ext <<EOF | 10986 cat > conftest.$ac_ext <<EOF |
| 10988 #line 10989 "configure" | 10987 #line 10988 "configure" |
| 10989 #include "confdefs.h" | 10988 #include "confdefs.h" |
| 10990 /* Override any gcc2 internal prototype to avoid an error. */ | 10989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10991 /* We use char because int might match the return type of a gcc2 | 10990 /* We use char because int might match the return type of a gcc2 |
| 10992 builtin and then its argument prototype would still apply. */ | 10991 builtin and then its argument prototype would still apply. */ |
| 10993 char dbm_open(); | 10992 char dbm_open(); |
| 10994 | 10993 |
| 10995 int main() { | 10994 int main() { |
| 10996 dbm_open() | 10995 dbm_open() |
| 10997 ; return 0; } | 10996 ; return 0; } |
| 10998 EOF | 10997 EOF |
| 10999 if { (eval echo configure:11000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10998 if { (eval echo configure:10999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11000 rm -rf conftest* | 10999 rm -rf conftest* |
| 11001 eval "ac_cv_lib_$ac_lib_var=yes" | 11000 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11002 else | 11001 else |
| 11003 echo "configure: failed program was:" >&5 | 11002 echo "configure: failed program was:" >&5 |
| 11004 cat conftest.$ac_ext >&5 | 11003 cat conftest.$ac_ext >&5 |
| 11017 | 11016 |
| 11018 | 11017 |
| 11019 fi | 11018 fi |
| 11020 if test "$with_database_gnudbm" != "yes"; then | 11019 if test "$with_database_gnudbm" != "yes"; then |
| 11021 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11020 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 11022 echo "configure:11023: checking for dbm_open" >&5 | 11021 echo "configure:11022: checking for dbm_open" >&5 |
| 11023 | 11022 |
| 11024 cat > conftest.$ac_ext <<EOF | 11023 cat > conftest.$ac_ext <<EOF |
| 11025 #line 11026 "configure" | 11024 #line 11025 "configure" |
| 11026 #include "confdefs.h" | 11025 #include "confdefs.h" |
| 11027 /* System header to define __stub macros and hopefully few prototypes, | 11026 /* System header to define __stub macros and hopefully few prototypes, |
| 11028 which can conflict with char dbm_open(); below. */ | 11027 which can conflict with char dbm_open(); below. */ |
| 11029 #include <assert.h> | 11028 #include <assert.h> |
| 11030 /* Override any gcc2 internal prototype to avoid an error. */ | 11029 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11043 dbm_open(); | 11042 dbm_open(); |
| 11044 #endif | 11043 #endif |
| 11045 | 11044 |
| 11046 ; return 0; } | 11045 ; return 0; } |
| 11047 EOF | 11046 EOF |
| 11048 if { (eval echo configure:11049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11047 if { (eval echo configure:11048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11049 rm -rf conftest* | 11048 rm -rf conftest* |
| 11050 eval "ac_cv_func_dbm_open=yes" | 11049 eval "ac_cv_func_dbm_open=yes" |
| 11051 else | 11050 else |
| 11052 echo "configure: failed program was:" >&5 | 11051 echo "configure: failed program was:" >&5 |
| 11053 cat conftest.$ac_ext >&5 | 11052 cat conftest.$ac_ext >&5 |
| 11079 fi | 11078 fi |
| 11080 fi | 11079 fi |
| 11081 | 11080 |
| 11082 if test "$with_database_dbm" != "no"; then | 11081 if test "$with_database_dbm" != "no"; then |
| 11083 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11082 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 11084 echo "configure:11085: checking for dbm_open" >&5 | 11083 echo "configure:11084: checking for dbm_open" >&5 |
| 11085 | 11084 |
| 11086 cat > conftest.$ac_ext <<EOF | 11085 cat > conftest.$ac_ext <<EOF |
| 11087 #line 11088 "configure" | 11086 #line 11087 "configure" |
| 11088 #include "confdefs.h" | 11087 #include "confdefs.h" |
| 11089 /* System header to define __stub macros and hopefully few prototypes, | 11088 /* System header to define __stub macros and hopefully few prototypes, |
| 11090 which can conflict with char dbm_open(); below. */ | 11089 which can conflict with char dbm_open(); below. */ |
| 11091 #include <assert.h> | 11090 #include <assert.h> |
| 11092 /* Override any gcc2 internal prototype to avoid an error. */ | 11091 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11105 dbm_open(); | 11104 dbm_open(); |
| 11106 #endif | 11105 #endif |
| 11107 | 11106 |
| 11108 ; return 0; } | 11107 ; return 0; } |
| 11109 EOF | 11108 EOF |
| 11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11109 if { (eval echo configure:11110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11111 rm -rf conftest* | 11110 rm -rf conftest* |
| 11112 eval "ac_cv_func_dbm_open=yes" | 11111 eval "ac_cv_func_dbm_open=yes" |
| 11113 else | 11112 else |
| 11114 echo "configure: failed program was:" >&5 | 11113 echo "configure: failed program was:" >&5 |
| 11115 cat conftest.$ac_ext >&5 | 11114 cat conftest.$ac_ext >&5 |
| 11126 fi | 11125 fi |
| 11127 | 11126 |
| 11128 if test "$need_libdbm" != "no"; then | 11127 if test "$need_libdbm" != "no"; then |
| 11129 | 11128 |
| 11130 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11129 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 11131 echo "configure:11132: checking for dbm_open in -ldbm" >&5 | 11130 echo "configure:11131: checking for dbm_open in -ldbm" >&5 |
| 11132 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11131 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 11133 | 11132 |
| 11134 xe_check_libs=" -ldbm " | 11133 xe_check_libs=" -ldbm " |
| 11135 cat > conftest.$ac_ext <<EOF | 11134 cat > conftest.$ac_ext <<EOF |
| 11136 #line 11137 "configure" | 11135 #line 11136 "configure" |
| 11137 #include "confdefs.h" | 11136 #include "confdefs.h" |
| 11138 /* Override any gcc2 internal prototype to avoid an error. */ | 11137 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11139 /* We use char because int might match the return type of a gcc2 | 11138 /* We use char because int might match the return type of a gcc2 |
| 11140 builtin and then its argument prototype would still apply. */ | 11139 builtin and then its argument prototype would still apply. */ |
| 11141 char dbm_open(); | 11140 char dbm_open(); |
| 11142 | 11141 |
| 11143 int main() { | 11142 int main() { |
| 11144 dbm_open() | 11143 dbm_open() |
| 11145 ; return 0; } | 11144 ; return 0; } |
| 11146 EOF | 11145 EOF |
| 11147 if { (eval echo configure:11148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11146 if { (eval echo configure:11147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11148 rm -rf conftest* | 11147 rm -rf conftest* |
| 11149 eval "ac_cv_lib_$ac_lib_var=yes" | 11148 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11150 else | 11149 else |
| 11151 echo "configure: failed program was:" >&5 | 11150 echo "configure: failed program was:" >&5 |
| 11152 cat conftest.$ac_ext >&5 | 11151 cat conftest.$ac_ext >&5 |
| 11179 fi | 11178 fi |
| 11180 fi | 11179 fi |
| 11181 | 11180 |
| 11182 if test "$with_database_berkdb" != "no"; then | 11181 if test "$with_database_berkdb" != "no"; then |
| 11183 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11182 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 11184 echo "configure:11185: checking for Berkeley db.h" >&5 | 11183 echo "configure:11184: checking for Berkeley db.h" >&5 |
| 11185 for path in "db/db.h" "db.h"; do | 11184 for path in "db/db.h" "db.h"; do |
| 11186 cat > conftest.$ac_ext <<EOF | 11185 cat > conftest.$ac_ext <<EOF |
| 11187 #line 11188 "configure" | 11186 #line 11187 "configure" |
| 11188 #include "confdefs.h" | 11187 #include "confdefs.h" |
| 11189 #ifdef HAVE_INTTYPES_H | 11188 #ifdef HAVE_INTTYPES_H |
| 11190 #define __BIT_TYPES_DEFINED__ | 11189 #define __BIT_TYPES_DEFINED__ |
| 11191 #include <inttypes.h> | 11190 #include <inttypes.h> |
| 11192 typedef uint8_t u_int8_t; | 11191 typedef uint8_t u_int8_t; |
| 11200 | 11199 |
| 11201 int main() { | 11200 int main() { |
| 11202 | 11201 |
| 11203 ; return 0; } | 11202 ; return 0; } |
| 11204 EOF | 11203 EOF |
| 11205 if { (eval echo configure:11206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11204 if { (eval echo configure:11205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11206 rm -rf conftest* | 11205 rm -rf conftest* |
| 11207 db_h_path="$path"; break | 11206 db_h_path="$path"; break |
| 11208 else | 11207 else |
| 11209 echo "configure: failed program was:" >&5 | 11208 echo "configure: failed program was:" >&5 |
| 11210 cat conftest.$ac_ext >&5 | 11209 cat conftest.$ac_ext >&5 |
| 11216 else echo "$ac_t""$db_h_path" 1>&6 | 11215 else echo "$ac_t""$db_h_path" 1>&6 |
| 11217 fi | 11216 fi |
| 11218 | 11217 |
| 11219 if test "$with_database_berkdb" != "no"; then | 11218 if test "$with_database_berkdb" != "no"; then |
| 11220 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11219 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 11221 echo "configure:11222: checking for Berkeley DB version" >&5 | 11220 echo "configure:11221: checking for Berkeley DB version" >&5 |
| 11222 cat > conftest.$ac_ext <<EOF | 11221 cat > conftest.$ac_ext <<EOF |
| 11223 #line 11224 "configure" | 11222 #line 11223 "configure" |
| 11224 #include "confdefs.h" | 11223 #include "confdefs.h" |
| 11225 #include <$db_h_path> | 11224 #include <$db_h_path> |
| 11226 #if DB_VERSION_MAJOR > 1 | 11225 #if DB_VERSION_MAJOR > 1 |
| 11227 yes | 11226 yes |
| 11228 #endif | 11227 #endif |
| 11237 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11236 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 11238 fi | 11237 fi |
| 11239 rm -f conftest* | 11238 rm -f conftest* |
| 11240 | 11239 |
| 11241 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11240 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 11242 echo "configure:11243: checking for $dbfunc" >&5 | 11241 echo "configure:11242: checking for $dbfunc" >&5 |
| 11243 | 11242 |
| 11244 cat > conftest.$ac_ext <<EOF | 11243 cat > conftest.$ac_ext <<EOF |
| 11245 #line 11246 "configure" | 11244 #line 11245 "configure" |
| 11246 #include "confdefs.h" | 11245 #include "confdefs.h" |
| 11247 /* System header to define __stub macros and hopefully few prototypes, | 11246 /* System header to define __stub macros and hopefully few prototypes, |
| 11248 which can conflict with char $dbfunc(); below. */ | 11247 which can conflict with char $dbfunc(); below. */ |
| 11249 #include <assert.h> | 11248 #include <assert.h> |
| 11250 /* Override any gcc2 internal prototype to avoid an error. */ | 11249 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11263 $dbfunc(); | 11262 $dbfunc(); |
| 11264 #endif | 11263 #endif |
| 11265 | 11264 |
| 11266 ; return 0; } | 11265 ; return 0; } |
| 11267 EOF | 11266 EOF |
| 11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11267 if { (eval echo configure:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11269 rm -rf conftest* | 11268 rm -rf conftest* |
| 11270 eval "ac_cv_func_$dbfunc=yes" | 11269 eval "ac_cv_func_$dbfunc=yes" |
| 11271 else | 11270 else |
| 11272 echo "configure: failed program was:" >&5 | 11271 echo "configure: failed program was:" >&5 |
| 11273 cat conftest.$ac_ext >&5 | 11272 cat conftest.$ac_ext >&5 |
| 11282 else | 11281 else |
| 11283 echo "$ac_t""no" 1>&6 | 11282 echo "$ac_t""no" 1>&6 |
| 11284 | 11283 |
| 11285 | 11284 |
| 11286 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11285 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 11287 echo "configure:11288: checking for $dbfunc in -ldb" >&5 | 11286 echo "configure:11287: checking for $dbfunc in -ldb" >&5 |
| 11288 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11287 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 11289 | 11288 |
| 11290 xe_check_libs=" -ldb " | 11289 xe_check_libs=" -ldb " |
| 11291 cat > conftest.$ac_ext <<EOF | 11290 cat > conftest.$ac_ext <<EOF |
| 11292 #line 11293 "configure" | 11291 #line 11292 "configure" |
| 11293 #include "confdefs.h" | 11292 #include "confdefs.h" |
| 11294 /* Override any gcc2 internal prototype to avoid an error. */ | 11293 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11295 /* We use char because int might match the return type of a gcc2 | 11294 /* We use char because int might match the return type of a gcc2 |
| 11296 builtin and then its argument prototype would still apply. */ | 11295 builtin and then its argument prototype would still apply. */ |
| 11297 char $dbfunc(); | 11296 char $dbfunc(); |
| 11298 | 11297 |
| 11299 int main() { | 11298 int main() { |
| 11300 $dbfunc() | 11299 $dbfunc() |
| 11301 ; return 0; } | 11300 ; return 0; } |
| 11302 EOF | 11301 EOF |
| 11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11302 if { (eval echo configure:11303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11304 rm -rf conftest* | 11303 rm -rf conftest* |
| 11305 eval "ac_cv_lib_$ac_lib_var=yes" | 11304 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11306 else | 11305 else |
| 11307 echo "configure: failed program was:" >&5 | 11306 echo "configure: failed program was:" >&5 |
| 11308 cat conftest.$ac_ext >&5 | 11307 cat conftest.$ac_ext >&5 |
| 11362 fi | 11361 fi |
| 11363 | 11362 |
| 11364 if test "$with_socks" = "yes"; then | 11363 if test "$with_socks" = "yes"; then |
| 11365 | 11364 |
| 11366 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11365 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 11367 echo "configure:11368: checking for SOCKSinit in -lsocks" >&5 | 11366 echo "configure:11367: checking for SOCKSinit in -lsocks" >&5 |
| 11368 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11367 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 11369 | 11368 |
| 11370 xe_check_libs=" -lsocks " | 11369 xe_check_libs=" -lsocks " |
| 11371 cat > conftest.$ac_ext <<EOF | 11370 cat > conftest.$ac_ext <<EOF |
| 11372 #line 11373 "configure" | 11371 #line 11372 "configure" |
| 11373 #include "confdefs.h" | 11372 #include "confdefs.h" |
| 11374 /* Override any gcc2 internal prototype to avoid an error. */ | 11373 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11375 /* We use char because int might match the return type of a gcc2 | 11374 /* We use char because int might match the return type of a gcc2 |
| 11376 builtin and then its argument prototype would still apply. */ | 11375 builtin and then its argument prototype would still apply. */ |
| 11377 char SOCKSinit(); | 11376 char SOCKSinit(); |
| 11378 | 11377 |
| 11379 int main() { | 11378 int main() { |
| 11380 SOCKSinit() | 11379 SOCKSinit() |
| 11381 ; return 0; } | 11380 ; return 0; } |
| 11382 EOF | 11381 EOF |
| 11383 if { (eval echo configure:11384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11382 if { (eval echo configure:11383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11384 rm -rf conftest* | 11383 rm -rf conftest* |
| 11385 eval "ac_cv_lib_$ac_lib_var=yes" | 11384 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11386 else | 11385 else |
| 11387 echo "configure: failed program was:" >&5 | 11386 echo "configure: failed program was:" >&5 |
| 11388 cat conftest.$ac_ext >&5 | 11387 cat conftest.$ac_ext >&5 |
| 11437 | 11436 |
| 11438 for ac_hdr in dlfcn.h | 11437 for ac_hdr in dlfcn.h |
| 11439 do | 11438 do |
| 11440 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11439 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 11442 echo "configure:11443: checking for $ac_hdr" >&5 | 11441 echo "configure:11442: checking for $ac_hdr" >&5 |
| 11443 | 11442 |
| 11444 cat > conftest.$ac_ext <<EOF | 11443 cat > conftest.$ac_ext <<EOF |
| 11445 #line 11446 "configure" | 11444 #line 11445 "configure" |
| 11446 #include "confdefs.h" | 11445 #include "confdefs.h" |
| 11447 #include <$ac_hdr> | 11446 #include <$ac_hdr> |
| 11448 EOF | 11447 EOF |
| 11449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11450 { (eval echo configure:11451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11449 { (eval echo configure:11450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11451 ac_err=`grep -v '^ *+' conftest.out` | 11450 ac_err=`grep -v '^ *+' conftest.out` |
| 11452 if test -z "$ac_err"; then | 11451 if test -z "$ac_err"; then |
| 11453 rm -rf conftest* | 11452 rm -rf conftest* |
| 11454 eval "ac_cv_header_$ac_safe=yes" | 11453 eval "ac_cv_header_$ac_safe=yes" |
| 11455 else | 11454 else |
| 11476 fi | 11475 fi |
| 11477 done | 11476 done |
| 11478 | 11477 |
| 11479 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11478 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11480 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11479 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 11481 echo "configure:11482: checking for dlopen in -ldl" >&5 | 11480 echo "configure:11481: checking for dlopen in -ldl" >&5 |
| 11482 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11481 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| 11483 | 11482 |
| 11484 xe_check_libs=" -ldl " | 11483 xe_check_libs=" -ldl " |
| 11485 cat > conftest.$ac_ext <<EOF | 11484 cat > conftest.$ac_ext <<EOF |
| 11486 #line 11487 "configure" | 11485 #line 11486 "configure" |
| 11487 #include "confdefs.h" | 11486 #include "confdefs.h" |
| 11488 /* Override any gcc2 internal prototype to avoid an error. */ | 11487 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11489 /* We use char because int might match the return type of a gcc2 | 11488 /* We use char because int might match the return type of a gcc2 |
| 11490 builtin and then its argument prototype would still apply. */ | 11489 builtin and then its argument prototype would still apply. */ |
| 11491 char dlopen(); | 11490 char dlopen(); |
| 11492 | 11491 |
| 11493 int main() { | 11492 int main() { |
| 11494 dlopen() | 11493 dlopen() |
| 11495 ; return 0; } | 11494 ; return 0; } |
| 11496 EOF | 11495 EOF |
| 11497 if { (eval echo configure:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11496 if { (eval echo configure:11497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11498 rm -rf conftest* | 11497 rm -rf conftest* |
| 11499 eval "ac_cv_lib_$ac_lib_var=yes" | 11498 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11500 else | 11499 else |
| 11501 echo "configure: failed program was:" >&5 | 11500 echo "configure: failed program was:" >&5 |
| 11502 cat conftest.$ac_ext >&5 | 11501 cat conftest.$ac_ext >&5 |
| 11521 fi | 11520 fi |
| 11522 | 11521 |
| 11523 } | 11522 } |
| 11524 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11523 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11525 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11524 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
| 11526 echo "configure:11527: checking for _dlopen in -lc" >&5 | 11525 echo "configure:11526: checking for _dlopen in -lc" >&5 |
| 11527 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11526 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
| 11528 | 11527 |
| 11529 xe_check_libs=" -lc " | 11528 xe_check_libs=" -lc " |
| 11530 cat > conftest.$ac_ext <<EOF | 11529 cat > conftest.$ac_ext <<EOF |
| 11531 #line 11532 "configure" | 11530 #line 11531 "configure" |
| 11532 #include "confdefs.h" | 11531 #include "confdefs.h" |
| 11533 /* Override any gcc2 internal prototype to avoid an error. */ | 11532 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11534 /* We use char because int might match the return type of a gcc2 | 11533 /* We use char because int might match the return type of a gcc2 |
| 11535 builtin and then its argument prototype would still apply. */ | 11534 builtin and then its argument prototype would still apply. */ |
| 11536 char _dlopen(); | 11535 char _dlopen(); |
| 11537 | 11536 |
| 11538 int main() { | 11537 int main() { |
| 11539 _dlopen() | 11538 _dlopen() |
| 11540 ; return 0; } | 11539 ; return 0; } |
| 11541 EOF | 11540 EOF |
| 11542 if { (eval echo configure:11543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11541 if { (eval echo configure:11542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11543 rm -rf conftest* | 11542 rm -rf conftest* |
| 11544 eval "ac_cv_lib_$ac_lib_var=yes" | 11543 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11545 else | 11544 else |
| 11546 echo "configure: failed program was:" >&5 | 11545 echo "configure: failed program was:" >&5 |
| 11547 cat conftest.$ac_ext >&5 | 11546 cat conftest.$ac_ext >&5 |
| 11566 fi | 11565 fi |
| 11567 | 11566 |
| 11568 } | 11567 } |
| 11569 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11568 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
| 11570 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11569 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 11571 echo "configure:11572: checking for dlopen in -lc" >&5 | 11570 echo "configure:11571: checking for dlopen in -lc" >&5 |
| 11572 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11571 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
| 11573 | 11572 |
| 11574 xe_check_libs=" -lc " | 11573 xe_check_libs=" -lc " |
| 11575 cat > conftest.$ac_ext <<EOF | 11574 cat > conftest.$ac_ext <<EOF |
| 11576 #line 11577 "configure" | 11575 #line 11576 "configure" |
| 11577 #include "confdefs.h" | 11576 #include "confdefs.h" |
| 11578 /* Override any gcc2 internal prototype to avoid an error. */ | 11577 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11579 /* We use char because int might match the return type of a gcc2 | 11578 /* We use char because int might match the return type of a gcc2 |
| 11580 builtin and then its argument prototype would still apply. */ | 11579 builtin and then its argument prototype would still apply. */ |
| 11581 char dlopen(); | 11580 char dlopen(); |
| 11582 | 11581 |
| 11583 int main() { | 11582 int main() { |
| 11584 dlopen() | 11583 dlopen() |
| 11585 ; return 0; } | 11584 ; return 0; } |
| 11586 EOF | 11585 EOF |
| 11587 if { (eval echo configure:11588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11586 if { (eval echo configure:11587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11588 rm -rf conftest* | 11587 rm -rf conftest* |
| 11589 eval "ac_cv_lib_$ac_lib_var=yes" | 11588 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11590 else | 11589 else |
| 11591 echo "configure: failed program was:" >&5 | 11590 echo "configure: failed program was:" >&5 |
| 11592 cat conftest.$ac_ext >&5 | 11591 cat conftest.$ac_ext >&5 |
| 11611 fi | 11610 fi |
| 11612 | 11611 |
| 11613 } | 11612 } |
| 11614 test -z "$with_shlib" && { | 11613 test -z "$with_shlib" && { |
| 11615 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11614 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 11616 echo "configure:11617: checking for shl_load in -ldld" >&5 | 11615 echo "configure:11616: checking for shl_load in -ldld" >&5 |
| 11617 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11616 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 11618 | 11617 |
| 11619 xe_check_libs=" -ldld " | 11618 xe_check_libs=" -ldld " |
| 11620 cat > conftest.$ac_ext <<EOF | 11619 cat > conftest.$ac_ext <<EOF |
| 11621 #line 11622 "configure" | 11620 #line 11621 "configure" |
| 11622 #include "confdefs.h" | 11621 #include "confdefs.h" |
| 11623 /* Override any gcc2 internal prototype to avoid an error. */ | 11622 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11624 /* We use char because int might match the return type of a gcc2 | 11623 /* We use char because int might match the return type of a gcc2 |
| 11625 builtin and then its argument prototype would still apply. */ | 11624 builtin and then its argument prototype would still apply. */ |
| 11626 char shl_load(); | 11625 char shl_load(); |
| 11627 | 11626 |
| 11628 int main() { | 11627 int main() { |
| 11629 shl_load() | 11628 shl_load() |
| 11630 ; return 0; } | 11629 ; return 0; } |
| 11631 EOF | 11630 EOF |
| 11632 if { (eval echo configure:11633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11631 if { (eval echo configure:11632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11633 rm -rf conftest* | 11632 rm -rf conftest* |
| 11634 eval "ac_cv_lib_$ac_lib_var=yes" | 11633 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11635 else | 11634 else |
| 11636 echo "configure: failed program was:" >&5 | 11635 echo "configure: failed program was:" >&5 |
| 11637 cat conftest.$ac_ext >&5 | 11636 cat conftest.$ac_ext >&5 |
| 11656 fi | 11655 fi |
| 11657 | 11656 |
| 11658 } | 11657 } |
| 11659 test -z "$with_shlib" && { | 11658 test -z "$with_shlib" && { |
| 11660 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11659 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 11661 echo "configure:11662: checking for dld_init in -ldld" >&5 | 11660 echo "configure:11661: checking for dld_init in -ldld" >&5 |
| 11662 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11661 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 11663 | 11662 |
| 11664 xe_check_libs=" -ldld " | 11663 xe_check_libs=" -ldld " |
| 11665 cat > conftest.$ac_ext <<EOF | 11664 cat > conftest.$ac_ext <<EOF |
| 11666 #line 11667 "configure" | 11665 #line 11666 "configure" |
| 11667 #include "confdefs.h" | 11666 #include "confdefs.h" |
| 11668 /* Override any gcc2 internal prototype to avoid an error. */ | 11667 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11669 /* We use char because int might match the return type of a gcc2 | 11668 /* We use char because int might match the return type of a gcc2 |
| 11670 builtin and then its argument prototype would still apply. */ | 11669 builtin and then its argument prototype would still apply. */ |
| 11671 char dld_init(); | 11670 char dld_init(); |
| 11672 | 11671 |
| 11673 int main() { | 11672 int main() { |
| 11674 dld_init() | 11673 dld_init() |
| 11675 ; return 0; } | 11674 ; return 0; } |
| 11676 EOF | 11675 EOF |
| 11677 if { (eval echo configure:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11676 if { (eval echo configure:11677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11678 rm -rf conftest* | 11677 rm -rf conftest* |
| 11679 eval "ac_cv_lib_$ac_lib_var=yes" | 11678 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11680 else | 11679 else |
| 11681 echo "configure: failed program was:" >&5 | 11680 echo "configure: failed program was:" >&5 |
| 11682 cat conftest.$ac_ext >&5 | 11681 cat conftest.$ac_ext >&5 |
| 11722 dll_lflags="-shared" | 11721 dll_lflags="-shared" |
| 11723 dll_cflags="-r" | 11722 dll_cflags="-r" |
| 11724 dll_oflags="-o " | 11723 dll_oflags="-o " |
| 11725 | 11724 |
| 11726 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11725 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
| 11727 echo "configure:11728: checking how to build a shared library" >&5 | 11726 echo "configure:11727: checking how to build a shared library" >&5 |
| 11728 case `uname -rs` in | 11727 case `uname -rs` in |
| 11729 UNIX_SV*|UNIX_System_V*) | 11728 UNIX_SV*|UNIX_System_V*) |
| 11730 dll_lflags="-G" | 11729 dll_lflags="-G" |
| 11731 dll_cflags=-Kpic | 11730 dll_cflags=-Kpic |
| 11732 dll_ld="ld" | 11731 dll_ld="ld" |
| 11813 | 11812 |
| 11814 | 11813 |
| 11815 for ac_func in dlerror | 11814 for ac_func in dlerror |
| 11816 do | 11815 do |
| 11817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11818 echo "configure:11819: checking for $ac_func" >&5 | 11817 echo "configure:11818: checking for $ac_func" >&5 |
| 11819 | 11818 |
| 11820 cat > conftest.$ac_ext <<EOF | 11819 cat > conftest.$ac_ext <<EOF |
| 11821 #line 11822 "configure" | 11820 #line 11821 "configure" |
| 11822 #include "confdefs.h" | 11821 #include "confdefs.h" |
| 11823 /* System header to define __stub macros and hopefully few prototypes, | 11822 /* System header to define __stub macros and hopefully few prototypes, |
| 11824 which can conflict with char $ac_func(); below. */ | 11823 which can conflict with char $ac_func(); below. */ |
| 11825 #include <assert.h> | 11824 #include <assert.h> |
| 11826 /* Override any gcc2 internal prototype to avoid an error. */ | 11825 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11839 $ac_func(); | 11838 $ac_func(); |
| 11840 #endif | 11839 #endif |
| 11841 | 11840 |
| 11842 ; return 0; } | 11841 ; return 0; } |
| 11843 EOF | 11842 EOF |
| 11844 if { (eval echo configure:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11843 if { (eval echo configure:11844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 11845 rm -rf conftest* | 11844 rm -rf conftest* |
| 11846 eval "ac_cv_func_$ac_func=yes" | 11845 eval "ac_cv_func_$ac_func=yes" |
| 11847 else | 11846 else |
| 11848 echo "configure: failed program was:" >&5 | 11847 echo "configure: failed program was:" >&5 |
| 11849 cat conftest.$ac_ext >&5 | 11848 cat conftest.$ac_ext >&5 |
| 11875 *) ;; | 11874 *) ;; |
| 11876 esac | 11875 esac |
| 11877 fi | 11876 fi |
| 11878 | 11877 |
| 11879 cat > conftest.$ac_ext <<EOF | 11878 cat > conftest.$ac_ext <<EOF |
| 11880 #line 11881 "configure" | 11879 #line 11880 "configure" |
| 11881 #include "confdefs.h" | 11880 #include "confdefs.h" |
| 11882 int main(int c,char *v[]){return 0;} | 11881 int main(int c,char *v[]){return 0;} |
| 11883 EOF | 11882 EOF |
| 11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11885 then | 11884 then |
| 11886 : | 11885 : |
| 11887 else | 11886 else |
| 11888 conftest_rc="$?" | 11887 conftest_rc="$?" |
| 11889 echo "configure: failed program was:" >&5 | 11888 echo "configure: failed program was:" >&5 |
| 11978 ld_libs_all="$T" | 11977 ld_libs_all="$T" |
| 11979 | 11978 |
| 11980 | 11979 |
| 11981 | 11980 |
| 11982 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 11981 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
| 11983 internal_makefile_list="Makefile" | 11982 internal_makefile_list="Makefile.in" |
| 11984 SUBDIR_MAKEFILES='' | 11983 SUBDIR_MAKEFILES='' |
| 11985 test -d lock || mkdir lock | 11984 test -d lock || mkdir lock |
| 11986 for dir in $MAKE_SUBDIR; do | 11985 for dir in $MAKE_SUBDIR; do |
| 11987 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do | 11986 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do |
| 11988 test -d "$d" || mkdir "$d"; cd "$d" | 11987 test -d "$d" || mkdir "$d"; cd "$d" |
| 12169 | 12168 |
| 12170 | 12169 |
| 12171 | 12170 |
| 12172 | 12171 |
| 12173 | 12172 |
| 12174 # The default is yes | 12173 : ${XEMACS_CC:=$CC} |
| 12174 | |
| 12175 | |
| 12176 | |
| 12175 if test "$with_site_lisp" = "no"; then | 12177 if test "$with_site_lisp" = "no"; then |
| 12176 { test "$extra_verbose" = "yes" && cat << \EOF | 12178 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12177 Defining INHIBIT_SITE_LISP | 12179 Defining INHIBIT_SITE_LISP |
| 12178 EOF | 12180 EOF |
| 12179 cat >> confdefs.h <<\EOF | 12181 cat >> confdefs.h <<\EOF |
| 12329 cat >> confdefs.h <<\EOF | 12331 cat >> confdefs.h <<\EOF |
| 12330 #define EXTERNAL_WIDGET 1 | 12332 #define EXTERNAL_WIDGET 1 |
| 12331 EOF | 12333 EOF |
| 12332 } | 12334 } |
| 12333 | 12335 |
| 12334 test "$with_gnu_make" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
| 12335 Defining USE_GNU_MAKE | |
| 12336 EOF | |
| 12337 cat >> confdefs.h <<\EOF | |
| 12338 #define USE_GNU_MAKE 1 | |
| 12339 EOF | |
| 12340 } | |
| 12341 | |
| 12342 test "$no_doc_file" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 12336 test "$no_doc_file" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
| 12343 Defining NO_DOC_FILE | 12337 Defining NO_DOC_FILE |
| 12344 EOF | 12338 EOF |
| 12345 cat >> confdefs.h <<\EOF | 12339 cat >> confdefs.h <<\EOF |
| 12346 #define NO_DOC_FILE 1 | 12340 #define NO_DOC_FILE 1 |
| 12341 EOF | |
| 12342 } | |
| 12343 | |
| 12344 test "$with_purify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
| 12345 Defining PURIFY | |
| 12346 EOF | |
| 12347 cat >> confdefs.h <<\EOF | |
| 12348 #define PURIFY 1 | |
| 12347 EOF | 12349 EOF |
| 12348 } | 12350 } |
| 12349 | 12351 |
| 12350 test "$with_quantify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 12352 test "$with_quantify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
| 12351 Defining QUANTIFY | 12353 Defining QUANTIFY |
| 12470 case "$with_sound" in | 12472 case "$with_sound" in |
| 12471 nas ) echo " Compiling in network sound (NAS) support." ;; | 12473 nas ) echo " Compiling in network sound (NAS) support." ;; |
| 12472 native ) echo " Compiling in native sound support." ;; | 12474 native ) echo " Compiling in native sound support." ;; |
| 12473 both ) echo " Compiling in both network and native sound support." ;; | 12475 both ) echo " Compiling in both network and native sound support." ;; |
| 12474 esac | 12476 esac |
| 12475 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously" | 12477 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously." |
| 12476 | 12478 |
| 12477 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 12479 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
| 12478 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 12480 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
| 12479 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 12481 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
| 12480 | 12482 |
| 12524 esac | 12526 esac |
| 12525 test "$with_shlib" = "yes" && echo " Compiling in DLL support." | 12527 test "$with_shlib" = "yes" && echo " Compiling in DLL support." |
| 12526 test "$with_clash_detection" = yes && \ | 12528 test "$with_clash_detection" = yes && \ |
| 12527 echo " Clash detection will use \"$lockdir\" for locking files." | 12529 echo " Clash detection will use \"$lockdir\" for locking files." |
| 12528 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 12530 echo " movemail will use \"$mail_locking\" for locking mail spool files." |
| 12529 test "$with_pop" = yes && echo " Using POP for mail access" | 12531 test "$with_pop" = yes && echo " Using POP for mail access." |
| 12530 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" | 12532 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." |
| 12531 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host" | 12533 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." |
| 12532 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 12534 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
| 12533 test "$use_minimal_tagbits" = yes && echo " Using Lisp_Objects with minimal tagbits." | 12535 test "$use_minimal_tagbits" = yes && echo " Using Lisp_Objects with minimal tagbits." |
| 12534 test "$use_indexed_lrecord_implementation" = yes && echo " Using indexed lrecord implementation." | 12536 test "$use_indexed_lrecord_implementation" = yes && echo " Using indexed lrecord implementation." |
| 12535 test "$debug" = yes && echo " Compiling in extra code for debugging." | 12537 test "$debug" = yes && echo " Compiling in extra code for debugging." |
| 12536 test "$memory_usage_stats" = yes && echo " Compiling in code for checking XEmacs memory usage." | 12538 test "$memory_usage_stats" = yes && echo " Compiling in code for checking XEmacs memory usage." |
| 12548 echo "" | 12550 echo "" |
| 12549 | 12551 |
| 12550 echo '(setq Installation-string "' > Installation.el | 12552 echo '(setq Installation-string "' > Installation.el |
| 12551 sed 's/"/\\"/g' Installation >> Installation.el | 12553 sed 's/"/\\"/g' Installation >> Installation.el |
| 12552 echo '")' >> Installation.el | 12554 echo '")' >> Installation.el |
| 12553 | |
| 12554 | 12555 |
| 12555 | 12556 |
| 12556 # Remove any trailing slashes in these variables. | 12557 # Remove any trailing slashes in these variables. |
| 12557 test -n "$prefix" && | 12558 test -n "$prefix" && |
| 12558 prefix=`echo '' "$prefix" | sed -e 's:^ ::' -e 's,\([^/]\)/*$,\1,'` | 12559 prefix=`echo '' "$prefix" | sed -e 's:^ ::' -e 's,\([^/]\)/*$,\1,'` |
| 12729 s%@ld_libs_all@%$ld_libs_all%g | 12730 s%@ld_libs_all@%$ld_libs_all%g |
| 12730 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g | 12731 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g |
| 12731 s%@native_sound_lib@%$native_sound_lib%g | 12732 s%@native_sound_lib@%$native_sound_lib%g |
| 12732 s%@sound_cflags@%$sound_cflags%g | 12733 s%@sound_cflags@%$sound_cflags%g |
| 12733 s%@dynodump_arch@%$dynodump_arch%g | 12734 s%@dynodump_arch@%$dynodump_arch%g |
| 12735 s%@XEMACS_CC@%$XEMACS_CC%g | |
| 12734 s%@internal_makefile_list@%$internal_makefile_list%g | 12736 s%@internal_makefile_list@%$internal_makefile_list%g |
| 12735 | 12737 |
| 12736 CEOF | 12738 CEOF |
| 12737 EOF | 12739 EOF |
| 12738 | 12740 |
| 12940 fi; done | 12942 fi; done |
| 12941 | 12943 |
| 12942 EOF | 12944 EOF |
| 12943 cat >> $CONFIG_STATUS <<EOF | 12945 cat >> $CONFIG_STATUS <<EOF |
| 12944 CPP="$CPP" | 12946 CPP="$CPP" |
| 12945 CPPFLAGS="$CPPFLAGS" | |
| 12946 top_srcdir="$srcdir" | 12947 top_srcdir="$srcdir" |
| 12947 MAKE_SUBDIR="$MAKE_SUBDIR" | 12948 MAKE_SUBDIR="$MAKE_SUBDIR" |
| 12948 | 12949 |
| 12949 EOF | 12950 EOF |
| 12950 cat >> $CONFIG_STATUS <<\EOF | 12951 cat >> $CONFIG_STATUS <<\EOF |
| 12951 for dir in $MAKE_SUBDIR; do | 12952 for dir in . $MAKE_SUBDIR; do |
| 12952 echo creating $dir/Makefile | |
| 12953 ( | 12953 ( |
| 12954 cd $dir | 12954 cd $dir |
| 12955 rm -f junk.c | 12955 rm -f junk.c |
| 12956 < Makefile.in \ | 12956 < Makefile.in \ |
| 12957 sed -e '/^# Generated/d' \ | 12957 sed -e '/^# Generated/d' \ |
| 12959 -e 's/^ *# */#/' \ | 12959 -e 's/^ *# */#/' \ |
| 12960 -e '/^##/d' \ | 12960 -e '/^##/d' \ |
| 12961 -e '/^#/ { | 12961 -e '/^#/ { |
| 12962 p | 12962 p |
| 12963 d | 12963 d |
| 12964 }' -e '/./ { | 12964 }' \ |
| 12965 -e '/./ { | |
| 12965 s/\([\"]\)/\\\1/g | 12966 s/\([\"]\)/\\\1/g |
| 12966 s/^/"/ | 12967 s/^/"/ |
| 12967 s/$/"/ | 12968 s/$/"/ |
| 12968 }' > junk.c; | 12969 }' > junk.c; |
| 12969 $CPP -I. -I${top_srcdir}/src $CPPFLAGS junk.c > junk.cpp; | 12970 |
| 12970 < junk.cpp \ | 12971 |
| 12971 sed -e 's/^#.*//' \ | 12972 |
| 12972 -e 's/^[ ][ ]*$//' \ | 12973 echo creating $dir/Makefile |
| 12973 -e 's/^ / /' \ | 12974 $CPP -I. -I${top_srcdir}/src junk.c \ |
| 12974 | sed -n -e '/^..*$/p' \ | 12975 | sed -e 's/^\#.*//' \ |
| 12975 | sed '/^"/ { | 12976 -e 's/^[ ][ ]*$//'\ |
| 12976 s/\\\([\"]\)/\1/g | 12977 -e 's/^ / /' \ |
| 12977 s/^[ ]*"// | 12978 | sed -n -e '/^..*$/p' \ |
| 12978 s/"[ ]*$// | 12979 | sed '/^\"/ { |
| 12979 }' > Makefile.new | 12980 s/\\\([\"]\)/\1/g |
| 12981 s/^[ ]*\"// | |
| 12982 s/\"[ ]*$// | |
| 12983 }' > Makefile.new | |
| 12980 chmod 444 Makefile.new | 12984 chmod 444 Makefile.new |
| 12981 mv -f Makefile.new Makefile | 12985 mv -f Makefile.new Makefile |
| 12982 rm -f junk.c junk.cpp | 12986 |
| 12983 ) | 12987 echo creating $dir/GNUmakefile |
| 12988 $CPP -I. -I${top_srcdir}/src -DUSE_GNU_MAKE junk.c \ | |
| 12989 | sed -e 's/^\#.*//' \ | |
| 12990 -e 's/^[ ][ ]*$//'\ | |
| 12991 -e 's/^ / /' \ | |
| 12992 | sed -n -e '/^..*$/p' \ | |
| 12993 | sed '/^\"/ { | |
| 12994 s/\\\([\"]\)/\1/g | |
| 12995 s/^[ ]*\"// | |
| 12996 s/\"[ ]*$// | |
| 12997 }' > Makefile.new | |
| 12998 chmod 444 Makefile.new | |
| 12999 mv -f Makefile.new GNUmakefile | |
| 13000 | |
| 13001 rm -f junk.c | |
| 13002 ) | |
| 12984 done | 13003 done |
| 12985 | 13004 |
| 12986 sed < config.status >> lib-src/config.values \ | 13005 sed < config.status >> lib-src/config.values \ |
| 12987 -e '/{ac_dA}.*{ac_dB}.*{ac_dC}.*{ac_dD}$/!d' \ | 13006 -e '/{ac_dA}.*{ac_dB}.*{ac_dC}.*{ac_dD}$/!d' \ |
| 12988 -e 's/\${ac_dA}\(.*\)\${ac_dB}.*\${ac_dC}\(.*\)\${ac_dD}/\1 \2/' \ | 13007 -e 's/\${ac_dA}\(.*\)\${ac_dB}.*\${ac_dC}\(.*\)\${ac_dD}/\1 \2/' \ |
| 12993 exit 0 | 13012 exit 0 |
| 12994 EOF | 13013 EOF |
| 12995 chmod +x $CONFIG_STATUS | 13014 chmod +x $CONFIG_STATUS |
| 12996 rm -fr confdefs* $ac_clean_files | 13015 rm -fr confdefs* $ac_clean_files |
| 12997 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | 13016 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
| 12998 |
