Mercurial > hg > xemacs-beta
comparison configure @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | 576fb035e263 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
12 ### Don't edit this script! | 12 ### Don't edit this script! |
13 ### This script was automatically generated by the `autoconf' program | 13 ### This script was automatically generated by the `autoconf' program |
14 ### from the file `./configure.in'. | 14 ### from the file `./configure.in'. |
15 ### To rebuild it, execute the command | 15 ### To rebuild it, execute the command |
16 ### autoconf | 16 ### autoconf |
17 ### in the this directory. You must have autoconf version 2.12 or later. | 17 ### in the this directory. You must have autoconf version 2.13 or later. |
18 | 18 |
19 ### This file is part of XEmacs. | 19 ### This file is part of XEmacs. |
20 | 20 |
21 ### XEmacs is free software; you can redistribute it and/or modify it | 21 ### XEmacs is free software; you can redistribute it and/or modify it |
22 ### under the terms of the GNU General Public License as published by | 22 ### under the terms of the GNU General Public License as published by |
90 infodir='${prefix}/info' | 90 infodir='${prefix}/info' |
91 mandir='${prefix}/man' | 91 mandir='${prefix}/man' |
92 | 92 |
93 subdirs= | 93 subdirs= |
94 MFLAGS= MAKEFLAGS= | 94 MFLAGS= MAKEFLAGS= |
95 SHELL=${CONFIG_SHELL-/bin/sh} | |
95 ac_max_here_lines=12 | 96 ac_max_here_lines=12 |
96 | 97 |
97 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 98 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
98 | 99 |
99 # File descriptor usage: | 100 # File descriptor usage: |
237 sitelispdir='${datadir}/${inststaticdir}/site-lisp' | 238 sitelispdir='${datadir}/${inststaticdir}/site-lisp' |
238 sitemoduledir='${datadir}/${inststaticdir}/site-modules' | 239 sitemoduledir='${datadir}/${inststaticdir}/site-modules' |
239 pkgdir='${datadir}/${instvardir}/lisp' | 240 pkgdir='${datadir}/${instvardir}/lisp' |
240 package_path='' | 241 package_path='' |
241 etcdir='${datadir}/${instvardir}/etc' | 242 etcdir='${datadir}/${instvardir}/etc' |
242 lockdir='${statedir}/${inststaticdir}/lock' | |
243 archlibdir='${datadir}/${instvardir}/${configuration}' | 243 archlibdir='${datadir}/${instvardir}/${configuration}' |
244 docdir='${archlibdir}' | 244 docdir='${archlibdir}' |
245 with_prefix='yes' | 245 with_prefix='yes' |
246 with_site_lisp='no' | 246 with_site_lisp='no' |
247 with_site_modules='yes' | 247 with_site_modules='yes' |
348 with_wnn6 | \ | 348 with_wnn6 | \ |
349 with_workshop | \ | 349 with_workshop | \ |
350 with_sparcworks | \ | 350 with_sparcworks | \ |
351 with_tooltalk | \ | 351 with_tooltalk | \ |
352 with_ldap | \ | 352 with_ldap | \ |
353 with_postgresql | \ | |
353 with_pop | \ | 354 with_pop | \ |
354 with_kerberos | \ | 355 with_kerberos | \ |
355 with_hesiod | \ | 356 with_hesiod | \ |
356 with_dnet | \ | 357 with_dnet | \ |
357 with_infodock | \ | 358 with_infodock | \ |
358 external_widget | \ | 359 external_widget | \ |
359 verbose | \ | 360 verbose | \ |
360 extra_verbose | \ | 361 extra_verbose | \ |
361 const_is_losing | \ | |
362 usage_tracking | \ | 362 usage_tracking | \ |
363 use_union_type | \ | 363 use_union_type | \ |
364 pdump | \ | 364 pdump | \ |
365 debug | \ | 365 debug | \ |
366 use_assertions | \ | 366 use_assertions | \ |
367 memory_usage_stats | \ | 367 memory_usage_stats | \ |
368 with_clash_detection | \ | 368 with_clash_detection | \ |
369 with_modules | \ | 369 with_modules | \ |
370 no_doc_file ) | 370 quick_build ) |
371 case "$val" in | 371 case "$val" in |
372 y | ye | yes ) val=yes ;; | 372 y | ye | yes ) val=yes ;; |
373 n | no ) val=no ;; | 373 n | no ) val=no ;; |
374 * ) (echo "$progname: Usage error:" | 374 * ) (echo "$progname: Usage error:" |
375 echo " " "The \`--$optname' option requires a boolean value: \`yes' or \`no'." | 375 echo " " "The \`--$optname' option requires a boolean value: \`yes' or \`no'." |
549 nomalloc ) error_check_malloc=no ;; | 549 nomalloc ) error_check_malloc=no ;; |
550 | 550 |
551 byte_code ) error_check_byte_code=yes ;; | 551 byte_code ) error_check_byte_code=yes ;; |
552 nobyte_code ) error_check_byte_code=no ;; | 552 nobyte_code ) error_check_byte_code=no ;; |
553 | 553 |
554 glyphs ) error_check_glyphs=yes ;; | |
555 noglyphs ) error_check_glyphs=no ;; | |
556 | |
554 * ) bogus_error_check=yes ;; | 557 * ) bogus_error_check=yes ;; |
555 esac | 558 esac |
556 if test "$bogus_error_check" -o \ | 559 if test "$bogus_error_check" -o \ |
557 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | 560 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then |
558 if test "$error_check_default" = yes ; then | 561 if test "$error_check_default" = yes ; then |
559 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', and \`nobyte-code'." | 562 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', \`noglyphs' and \`nobyte-code'." |
560 else | 563 else |
561 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', and \`byte-code'." | 564 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', \`glyphs' and \`byte-code'." |
562 fi | 565 fi |
563 (echo "$progname: Usage error:" | 566 (echo "$progname: Usage error:" |
564 echo " " "Valid types for the \`--$optname' option are: | 567 echo " " "Valid types for the \`--$optname' option are: |
565 $types." | 568 $types." |
566 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 569 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
569 error_check_typecheck=$new_default | 572 error_check_typecheck=$new_default |
570 error_check_bufpos=$new_default | 573 error_check_bufpos=$new_default |
571 error_check_gc=$new_default | 574 error_check_gc=$new_default |
572 error_check_malloc=$new_default | 575 error_check_malloc=$new_default |
573 error_check_byte_code=$new_default | 576 error_check_byte_code=$new_default |
577 error_check_glyphs=$new_default | |
574 new_default= # reset this | 578 new_default= # reset this |
575 fi | 579 fi |
576 echeck_notfirst=true | 580 echeck_notfirst=true |
577 done | 581 done |
578 ;; | 582 ;; |
579 | 583 |
580 | 584 |
581 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 585 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
582 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ | 586 mandir | infodir | infopath | lispdir | etcdir | pkgdir | \ |
583 archlibdir | docdir | package_path ) | 587 archlibdir | docdir | package_path ) |
584 if test "$valomitted" = "yes"; then | 588 if test "$valomitted" = "yes"; then |
585 if test "$#" = 0; then | 589 if test "$#" = 0; then |
586 (echo "$progname: Usage error:" | 590 (echo "$progname: Usage error:" |
587 echo " " "The \`--$optname' option requires a value." | 591 echo " " "The \`--$optname' option requires a value." |
687 cat >> confdefs.h <<\EOF | 691 cat >> confdefs.h <<\EOF |
688 #define ETCDIR_USER_DEFINED 1 | 692 #define ETCDIR_USER_DEFINED 1 |
689 EOF | 693 EOF |
690 } | 694 } |
691 ;; | 695 ;; |
692 statedir | lockdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
693 Defining LOCKDIR_USER_DEFINED | |
694 EOF | |
695 cat >> confdefs.h <<\EOF | |
696 #define LOCKDIR_USER_DEFINED 1 | |
697 EOF | |
698 } | |
699 ;; | |
700 docdir ) { test "$extra_verbose" = "yes" && cat << \EOF | 696 docdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
701 Defining DOCDIR_USER_DEFINED | 697 Defining DOCDIR_USER_DEFINED |
702 EOF | 698 EOF |
703 cat >> confdefs.h <<\EOF | 699 cat >> confdefs.h <<\EOF |
704 #define DOCDIR_USER_DEFINED 1 | 700 #define DOCDIR_USER_DEFINED 1 |
720 | 716 |
721 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; | 717 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; |
722 | 718 |
723 "with_menubars" | \ | 719 "with_menubars" | \ |
724 "with_scrollbars" | \ | 720 "with_scrollbars" | \ |
725 "with_dialogs" | \ | 721 "with_dialogs" | \ |
726 "with_widgets" ) | 722 "with_widgets" ) |
727 case "$val" in | 723 case "$val" in |
728 l | lu | luc | luci | lucid ) val=lucid ;; | 724 l | lu | luc | luci | lucid ) val=lucid ;; |
729 m | mo | mot | moti | motif ) val=motif ;; | 725 m | mo | mot | moti | motif ) val=motif ;; |
730 a | at | ath | athe | athen | athena ) val=athena ;; | 726 a | at | ath | athe | athen | athena ) val=athena ;; |
731 n | no | non | none ) val=no ;; | 727 n | no | non | none ) val=no ;; |
728 y | ye | yes ) val=yes ;; | |
732 * ) (echo "$progname: Usage error:" | 729 * ) (echo "$progname: Usage error:" |
733 echo " " "The \`--$optname' option must have one of these values: | 730 echo " " "The \`--$optname' option must have one of these values: |
734 \`lucid', \`motif', \`athena', or \`no'." | 731 \`lucid', \`motif', \`athena', \`yes', or \`no'." |
735 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 732 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
736 esac | 733 esac |
737 eval "$opt=\"$val\"" | 734 eval "$opt=\"$val\"" |
738 ;; | 735 ;; |
739 | 736 |
740 "use_minimal_tagbits" | \ | 737 "use_minimal_tagbits" | \ |
741 "use_indexed_lrecord_implementation" | \ | 738 "use_indexed_lrecord_implementation" | \ |
742 "run_in_place" | \ | 739 "run_in_place" | \ |
740 "const_is_losing" | \ | |
743 "with_gnu_make" ) | 741 "with_gnu_make" ) |
744 echo "configure: warning: Obsolete option \`--$optname' ignored." 1>&2 | 742 echo "configure: warning: Obsolete option \`--$optname' ignored." 1>&2 |
745 ;; | 743 ;; |
746 | 744 |
747 * ) (echo "$progname: Usage error:" | 745 * ) (echo "$progname: Usage error:" |
830 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 828 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
831 fi | 829 fi |
832 fi | 830 fi |
833 | 831 |
834 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 832 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
835 echo "configure:836: checking whether ln -s works" >&5 | 833 echo "configure:834: checking whether ln -s works" >&5 |
836 | 834 |
837 rm -f conftestdata | 835 rm -f conftestdata |
838 if ln -s X conftestdata 2>/dev/null | 836 if ln -s X conftestdata 2>/dev/null |
839 then | 837 then |
840 rm -f conftestdata | 838 rm -f conftestdata |
993 CPPFLAGS="$CPPFLAGS -DINFODOCK" | 991 CPPFLAGS="$CPPFLAGS -DINFODOCK" |
994 else | 992 else |
995 PROGNAME=xemacs | 993 PROGNAME=xemacs |
996 fi | 994 fi |
997 | 995 |
996 { test "$extra_verbose" = "yes" && cat << EOF | |
997 Defining EMACS_PROGNAME = "$PROGNAME" | |
998 EOF | |
999 cat >> confdefs.h <<EOF | |
1000 #define EMACS_PROGNAME "$PROGNAME" | |
1001 EOF | |
1002 } | |
1003 | |
1004 | |
998 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi | 1005 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi |
999 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1006 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1000 Defining ERROR_CHECK_EXTENTS | 1007 Defining ERROR_CHECK_EXTENTS |
1001 EOF | 1008 EOF |
1002 cat >> confdefs.h <<\EOF | 1009 cat >> confdefs.h <<\EOF |
1039 test "${error_check_byte_code=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1046 test "${error_check_byte_code=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1040 Defining ERROR_CHECK_BYTE_CODE | 1047 Defining ERROR_CHECK_BYTE_CODE |
1041 EOF | 1048 EOF |
1042 cat >> confdefs.h <<\EOF | 1049 cat >> confdefs.h <<\EOF |
1043 #define ERROR_CHECK_BYTE_CODE 1 | 1050 #define ERROR_CHECK_BYTE_CODE 1 |
1051 EOF | |
1052 } | |
1053 | |
1054 test "${error_check_glyphs=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | |
1055 Defining ERROR_CHECK_GLYPHS | |
1056 EOF | |
1057 cat >> confdefs.h <<\EOF | |
1058 #define ERROR_CHECK_GLYPHS 1 | |
1044 EOF | 1059 EOF |
1045 } | 1060 } |
1046 | 1061 |
1047 if test "${debug:=$beta}" = "yes"; then | 1062 if test "${debug:=$beta}" = "yes"; then |
1048 use_assertions=yes memory_usage_stats=yes | 1063 use_assertions=yes memory_usage_stats=yes |
1078 } | 1093 } |
1079 | 1094 |
1080 | 1095 |
1081 | 1096 |
1082 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1097 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1083 echo "configure:1084: checking "host system type"" >&5 | 1098 echo "configure:1099: checking "host system type"" >&5 |
1084 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1099 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1085 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1100 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1086 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1101 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1087 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1102 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1088 echo "$ac_t""$configuration" 1>&6 | 1103 echo "$ac_t""$configuration" 1>&6 |
1108 hppa-*-* ) machine=hp800 ;; | 1123 hppa-*-* ) machine=hp800 ;; |
1109 m88k-dg-* ) machine=aviion ;; | 1124 m88k-dg-* ) machine=aviion ;; |
1110 m68*-sony-* ) machine=news ;; | 1125 m68*-sony-* ) machine=news ;; |
1111 mips-sony-* ) machine=news-risc ;; | 1126 mips-sony-* ) machine=news-risc ;; |
1112 clipper-* ) machine=clipper ;; | 1127 clipper-* ) machine=clipper ;; |
1113 arm-* ) machine=arm ;; | 1128 arm* ) machine=arm ;; |
1114 armv34lb-* ) machine=arm ;; | |
1115 ns32k-* ) machine=ns32000 ;; | 1129 ns32k-* ) machine=ns32000 ;; |
1116 esac | 1130 esac |
1117 | 1131 |
1118 case "$canonical" in | 1132 case "$canonical" in |
1119 *-*-linux* ) opsys=linux ;; | 1133 *-*-linux* ) opsys=linux ;; |
1478 | 1492 |
1479 m68k-*-linux* ) machine=m68k opsys=linux ;; | 1493 m68k-*-linux* ) machine=m68k opsys=linux ;; |
1480 | 1494 |
1481 esac | 1495 esac |
1482 | 1496 |
1483 if test -z "$machine" -o -z "$opsys"; then | 1497 test -z "$machine" && machine=`echo $canonical | sed 's/-.*$//'` |
1484 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." | 1498 test -z "$opsys" && opsys=`echo $canonical | sed 's/^^-*-^-*-//'` |
1485 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." | 1499 |
1486 ) >&2 | 1500 if test -r "${srcdir}/src/m/${machine}.h"; then |
1487 exit 1 | 1501 machfile="m/${machine}.h" |
1488 fi | 1502 { test "$extra_verbose" = "yes" && cat << EOF |
1503 Defining config_machfile = "$machfile" | |
1504 EOF | |
1505 cat >> confdefs.h <<EOF | |
1506 #define config_machfile "$machfile" | |
1507 EOF | |
1508 } | |
1509 | |
1510 else | |
1511 echo "XEmacs has no builtin knowledge of \`$machine' machines." | |
1512 echo "Using configure-time autodetection only." | |
1513 fi | |
1514 | |
1515 if test -r "${srcdir}/src/s/${opsys}.h"; then | |
1516 opsysfile="s/${opsys}.h" | |
1517 { test "$extra_verbose" = "yes" && cat << EOF | |
1518 Defining config_opsysfile = "$opsysfile" | |
1519 EOF | |
1520 cat >> confdefs.h <<EOF | |
1521 #define config_opsysfile "$opsysfile" | |
1522 EOF | |
1523 } | |
1524 | |
1525 else | |
1526 echo "XEmacs has no builtin knowledge of \`$opsys' operating systems." | |
1527 echo "Using configure-time autodetection only." | |
1528 fi | |
1529 | |
1489 | 1530 |
1490 if test -z "$dynamic"; then | 1531 if test -z "$dynamic"; then |
1491 case "$opsys" in | 1532 case "$opsys" in |
1492 hpux* | sunos4* ) dynamic=no ;; | 1533 hpux* | sunos4* ) dynamic=no ;; |
1493 *) dynamic=yes ;; | 1534 *) dynamic=yes ;; |
1518 #define STACK_TRACE_EYE_CATCHER $stack_trace_eye_catcher | 1559 #define STACK_TRACE_EYE_CATCHER $stack_trace_eye_catcher |
1519 EOF | 1560 EOF |
1520 } | 1561 } |
1521 | 1562 |
1522 | 1563 |
1523 machfile="m/${machine}.h" | |
1524 opsysfile="s/${opsys}.h" | |
1525 | |
1526 | 1564 |
1527 test "$with_sparcworks" = "yes" && with_workshop=yes # compatibility alias | 1565 test "$with_sparcworks" = "yes" && with_workshop=yes # compatibility alias |
1528 if test "$with_workshop $with_tooltalk" = "yes no"; then | 1566 if test "$with_workshop $with_tooltalk" = "yes no"; then |
1529 (echo "$progname: Usage error:" | 1567 (echo "$progname: Usage error:" |
1530 echo " " "--with-workshop requires --with-tooltalk" | 1568 echo " " "--with-workshop requires --with-tooltalk" |
1545 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then | 1583 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then |
1546 echo " xemacs will be linked with \"sunpro.o\"" | 1584 echo " xemacs will be linked with \"sunpro.o\"" |
1547 fi | 1585 fi |
1548 fi | 1586 fi |
1549 | 1587 |
1550 if test "$with_clash_detection" = "yes"; then | 1588 if test "$with_clash_detection" != "no"; then |
1551 { test "$extra_verbose" = "yes" && cat << \EOF | 1589 { test "$extra_verbose" = "yes" && cat << \EOF |
1552 Defining CLASH_DETECTION | 1590 Defining CLASH_DETECTION |
1553 EOF | 1591 EOF |
1554 cat >> confdefs.h <<\EOF | 1592 cat >> confdefs.h <<\EOF |
1555 #define CLASH_DETECTION 1 | 1593 #define CLASH_DETECTION 1 |
1574 xe_save_CFLAGS="$CFLAGS" | 1612 xe_save_CFLAGS="$CFLAGS" |
1575 | 1613 |
1576 # Extract the first word of "gcc", so it can be a program name with args. | 1614 # Extract the first word of "gcc", so it can be a program name with args. |
1577 set dummy gcc; ac_word=$2 | 1615 set dummy gcc; ac_word=$2 |
1578 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1579 echo "configure:1580: checking for $ac_word" >&5 | 1617 echo "configure:1618: checking for $ac_word" >&5 |
1580 | 1618 |
1581 if test -n "$CC"; then | 1619 if test -n "$CC"; then |
1582 ac_cv_prog_CC="$CC" # Let the user override the test. | 1620 ac_cv_prog_CC="$CC" # Let the user override the test. |
1583 else | 1621 else |
1584 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1601 | 1639 |
1602 if test -z "$CC"; then | 1640 if test -z "$CC"; then |
1603 # Extract the first word of "cc", so it can be a program name with args. | 1641 # Extract the first word of "cc", so it can be a program name with args. |
1604 set dummy cc; ac_word=$2 | 1642 set dummy cc; ac_word=$2 |
1605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1643 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1606 echo "configure:1607: checking for $ac_word" >&5 | 1644 echo "configure:1645: checking for $ac_word" >&5 |
1607 | 1645 |
1608 if test -n "$CC"; then | 1646 if test -n "$CC"; then |
1609 ac_cv_prog_CC="$CC" # Let the user override the test. | 1647 ac_cv_prog_CC="$CC" # Let the user override the test. |
1610 else | 1648 else |
1611 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1649 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1649 case "`uname -s`" in | 1687 case "`uname -s`" in |
1650 *win32* | *WIN32*) | 1688 *win32* | *WIN32*) |
1651 # Extract the first word of "cl", so it can be a program name with args. | 1689 # Extract the first word of "cl", so it can be a program name with args. |
1652 set dummy cl; ac_word=$2 | 1690 set dummy cl; ac_word=$2 |
1653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1654 echo "configure:1655: checking for $ac_word" >&5 | 1692 echo "configure:1693: checking for $ac_word" >&5 |
1655 | 1693 |
1656 if test -n "$CC"; then | 1694 if test -n "$CC"; then |
1657 ac_cv_prog_CC="$CC" # Let the user override the test. | 1695 ac_cv_prog_CC="$CC" # Let the user override the test. |
1658 else | 1696 else |
1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1697 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1678 fi | 1716 fi |
1679 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1717 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1680 fi | 1718 fi |
1681 | 1719 |
1682 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1720 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1683 echo "configure:1684: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1721 echo "configure:1722: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1684 | 1722 |
1685 ac_ext=c | 1723 ac_ext=c |
1686 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1724 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1687 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1725 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1688 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1726 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1691 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1729 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1692 cross_compiling=no | 1730 cross_compiling=no |
1693 | 1731 |
1694 cat > conftest.$ac_ext << EOF | 1732 cat > conftest.$ac_ext << EOF |
1695 | 1733 |
1696 #line 1697 "configure" | 1734 #line 1735 "configure" |
1697 #include "confdefs.h" | 1735 #include "confdefs.h" |
1698 | 1736 |
1699 main(){return(0);} | 1737 main(){return(0);} |
1700 EOF | 1738 EOF |
1701 if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1702 ac_cv_prog_cc_works=yes | 1740 ac_cv_prog_cc_works=yes |
1703 # If we can't run a trivial program, we are probably using a cross compiler. | 1741 # If we can't run a trivial program, we are probably using a cross compiler. |
1704 if (./conftest; exit) 2>/dev/null; then | 1742 if (./conftest; exit) 2>/dev/null; then |
1705 ac_cv_prog_cc_cross=no | 1743 ac_cv_prog_cc_cross=no |
1706 else | 1744 else |
1724 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1762 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1725 if test $ac_cv_prog_cc_works = no; then | 1763 if test $ac_cv_prog_cc_works = no; then |
1726 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1764 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1727 fi | 1765 fi |
1728 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1766 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1729 echo "configure:1730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1767 echo "configure:1768: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1730 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1768 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1731 cross_compiling=$ac_cv_prog_cc_cross | 1769 cross_compiling=$ac_cv_prog_cc_cross |
1732 | 1770 |
1733 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1771 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1734 echo "configure:1735: checking whether we are using GNU C" >&5 | 1772 echo "configure:1773: checking whether we are using GNU C" >&5 |
1735 | 1773 |
1736 cat > conftest.c <<EOF | 1774 cat > conftest.c <<EOF |
1737 #ifdef __GNUC__ | 1775 #ifdef __GNUC__ |
1738 yes; | 1776 yes; |
1739 #endif | 1777 #endif |
1740 EOF | 1778 EOF |
1741 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1779 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1742 ac_cv_prog_gcc=yes | 1780 ac_cv_prog_gcc=yes |
1743 else | 1781 else |
1744 ac_cv_prog_gcc=no | 1782 ac_cv_prog_gcc=no |
1745 fi | 1783 fi |
1746 | 1784 |
1754 | 1792 |
1755 ac_test_CFLAGS="${CFLAGS+set}" | 1793 ac_test_CFLAGS="${CFLAGS+set}" |
1756 ac_save_CFLAGS="$CFLAGS" | 1794 ac_save_CFLAGS="$CFLAGS" |
1757 CFLAGS= | 1795 CFLAGS= |
1758 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1796 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1759 echo "configure:1760: checking whether ${CC-cc} accepts -g" >&5 | 1797 echo "configure:1798: checking whether ${CC-cc} accepts -g" >&5 |
1760 | 1798 |
1761 echo 'void f(){}' > conftest.c | 1799 echo 'void f(){}' > conftest.c |
1762 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1800 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1763 ac_cv_prog_cc_g=yes | 1801 ac_cv_prog_cc_g=yes |
1764 else | 1802 else |
1787 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1825 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1788 CC=${NON_GNU_CC-cc} | 1826 CC=${NON_GNU_CC-cc} |
1789 # Extract the first word of "gcc", so it can be a program name with args. | 1827 # Extract the first word of "gcc", so it can be a program name with args. |
1790 set dummy gcc; ac_word=$2 | 1828 set dummy gcc; ac_word=$2 |
1791 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1829 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1792 echo "configure:1793: checking for $ac_word" >&5 | 1830 echo "configure:1831: checking for $ac_word" >&5 |
1793 | 1831 |
1794 if test -n "$CC"; then | 1832 if test -n "$CC"; then |
1795 ac_cv_prog_CC="$CC" # Let the user override the test. | 1833 ac_cv_prog_CC="$CC" # Let the user override the test. |
1796 else | 1834 else |
1797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1835 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1814 | 1852 |
1815 if test -z "$CC"; then | 1853 if test -z "$CC"; then |
1816 # Extract the first word of "cc", so it can be a program name with args. | 1854 # Extract the first word of "cc", so it can be a program name with args. |
1817 set dummy cc; ac_word=$2 | 1855 set dummy cc; ac_word=$2 |
1818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1819 echo "configure:1820: checking for $ac_word" >&5 | 1857 echo "configure:1858: checking for $ac_word" >&5 |
1820 | 1858 |
1821 if test -n "$CC"; then | 1859 if test -n "$CC"; then |
1822 ac_cv_prog_CC="$CC" # Let the user override the test. | 1860 ac_cv_prog_CC="$CC" # Let the user override the test. |
1823 else | 1861 else |
1824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1862 case "`uname -s`" in | 1900 case "`uname -s`" in |
1863 *win32* | *WIN32*) | 1901 *win32* | *WIN32*) |
1864 # Extract the first word of "cl", so it can be a program name with args. | 1902 # Extract the first word of "cl", so it can be a program name with args. |
1865 set dummy cl; ac_word=$2 | 1903 set dummy cl; ac_word=$2 |
1866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1904 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1867 echo "configure:1868: checking for $ac_word" >&5 | 1905 echo "configure:1906: checking for $ac_word" >&5 |
1868 | 1906 |
1869 if test -n "$CC"; then | 1907 if test -n "$CC"; then |
1870 ac_cv_prog_CC="$CC" # Let the user override the test. | 1908 ac_cv_prog_CC="$CC" # Let the user override the test. |
1871 else | 1909 else |
1872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1910 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1891 fi | 1929 fi |
1892 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1930 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1893 fi | 1931 fi |
1894 | 1932 |
1895 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1933 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1896 echo "configure:1897: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1934 echo "configure:1935: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1897 | 1935 |
1898 ac_ext=c | 1936 ac_ext=c |
1899 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1937 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1900 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1938 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1901 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1939 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1904 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1942 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1905 cross_compiling=no | 1943 cross_compiling=no |
1906 | 1944 |
1907 cat > conftest.$ac_ext << EOF | 1945 cat > conftest.$ac_ext << EOF |
1908 | 1946 |
1909 #line 1910 "configure" | 1947 #line 1948 "configure" |
1910 #include "confdefs.h" | 1948 #include "confdefs.h" |
1911 | 1949 |
1912 main(){return(0);} | 1950 main(){return(0);} |
1913 EOF | 1951 EOF |
1914 if { (eval echo configure:1915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1952 if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1915 ac_cv_prog_cc_works=yes | 1953 ac_cv_prog_cc_works=yes |
1916 # If we can't run a trivial program, we are probably using a cross compiler. | 1954 # If we can't run a trivial program, we are probably using a cross compiler. |
1917 if (./conftest; exit) 2>/dev/null; then | 1955 if (./conftest; exit) 2>/dev/null; then |
1918 ac_cv_prog_cc_cross=no | 1956 ac_cv_prog_cc_cross=no |
1919 else | 1957 else |
1937 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1975 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1938 if test $ac_cv_prog_cc_works = no; then | 1976 if test $ac_cv_prog_cc_works = no; then |
1939 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1977 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1940 fi | 1978 fi |
1941 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1979 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1942 echo "configure:1943: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1980 echo "configure:1981: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1943 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1981 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1944 cross_compiling=$ac_cv_prog_cc_cross | 1982 cross_compiling=$ac_cv_prog_cc_cross |
1945 | 1983 |
1946 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1984 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1947 echo "configure:1948: checking whether we are using GNU C" >&5 | 1985 echo "configure:1986: checking whether we are using GNU C" >&5 |
1948 | 1986 |
1949 cat > conftest.c <<EOF | 1987 cat > conftest.c <<EOF |
1950 #ifdef __GNUC__ | 1988 #ifdef __GNUC__ |
1951 yes; | 1989 yes; |
1952 #endif | 1990 #endif |
1953 EOF | 1991 EOF |
1954 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1992 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1955 ac_cv_prog_gcc=yes | 1993 ac_cv_prog_gcc=yes |
1956 else | 1994 else |
1957 ac_cv_prog_gcc=no | 1995 ac_cv_prog_gcc=no |
1958 fi | 1996 fi |
1959 | 1997 |
1967 | 2005 |
1968 ac_test_CFLAGS="${CFLAGS+set}" | 2006 ac_test_CFLAGS="${CFLAGS+set}" |
1969 ac_save_CFLAGS="$CFLAGS" | 2007 ac_save_CFLAGS="$CFLAGS" |
1970 CFLAGS= | 2008 CFLAGS= |
1971 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2009 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1972 echo "configure:1973: checking whether ${CC-cc} accepts -g" >&5 | 2010 echo "configure:2011: checking whether ${CC-cc} accepts -g" >&5 |
1973 | 2011 |
1974 echo 'void f(){}' > conftest.c | 2012 echo 'void f(){}' > conftest.c |
1975 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2013 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1976 ac_cv_prog_cc_g=yes | 2014 ac_cv_prog_cc_g=yes |
1977 else | 2015 else |
2000 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2038 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2001 CC=gcc | 2039 CC=gcc |
2002 # Extract the first word of "gcc", so it can be a program name with args. | 2040 # Extract the first word of "gcc", so it can be a program name with args. |
2003 set dummy gcc; ac_word=$2 | 2041 set dummy gcc; ac_word=$2 |
2004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2042 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2005 echo "configure:2006: checking for $ac_word" >&5 | 2043 echo "configure:2044: checking for $ac_word" >&5 |
2006 | 2044 |
2007 if test -n "$CC"; then | 2045 if test -n "$CC"; then |
2008 ac_cv_prog_CC="$CC" # Let the user override the test. | 2046 ac_cv_prog_CC="$CC" # Let the user override the test. |
2009 else | 2047 else |
2010 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2048 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2027 | 2065 |
2028 if test -z "$CC"; then | 2066 if test -z "$CC"; then |
2029 # Extract the first word of "cc", so it can be a program name with args. | 2067 # Extract the first word of "cc", so it can be a program name with args. |
2030 set dummy cc; ac_word=$2 | 2068 set dummy cc; ac_word=$2 |
2031 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2032 echo "configure:2033: checking for $ac_word" >&5 | 2070 echo "configure:2071: checking for $ac_word" >&5 |
2033 | 2071 |
2034 if test -n "$CC"; then | 2072 if test -n "$CC"; then |
2035 ac_cv_prog_CC="$CC" # Let the user override the test. | 2073 ac_cv_prog_CC="$CC" # Let the user override the test. |
2036 else | 2074 else |
2037 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2075 case "`uname -s`" in | 2113 case "`uname -s`" in |
2076 *win32* | *WIN32*) | 2114 *win32* | *WIN32*) |
2077 # Extract the first word of "cl", so it can be a program name with args. | 2115 # Extract the first word of "cl", so it can be a program name with args. |
2078 set dummy cl; ac_word=$2 | 2116 set dummy cl; ac_word=$2 |
2079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2080 echo "configure:2081: checking for $ac_word" >&5 | 2118 echo "configure:2119: checking for $ac_word" >&5 |
2081 | 2119 |
2082 if test -n "$CC"; then | 2120 if test -n "$CC"; then |
2083 ac_cv_prog_CC="$CC" # Let the user override the test. | 2121 ac_cv_prog_CC="$CC" # Let the user override the test. |
2084 else | 2122 else |
2085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2104 fi | 2142 fi |
2105 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2143 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2106 fi | 2144 fi |
2107 | 2145 |
2108 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2146 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2109 echo "configure:2110: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2147 echo "configure:2148: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2110 | 2148 |
2111 ac_ext=c | 2149 ac_ext=c |
2112 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2150 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2113 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2151 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2114 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2152 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2117 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2155 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2118 cross_compiling=no | 2156 cross_compiling=no |
2119 | 2157 |
2120 cat > conftest.$ac_ext << EOF | 2158 cat > conftest.$ac_ext << EOF |
2121 | 2159 |
2122 #line 2123 "configure" | 2160 #line 2161 "configure" |
2123 #include "confdefs.h" | 2161 #include "confdefs.h" |
2124 | 2162 |
2125 main(){return(0);} | 2163 main(){return(0);} |
2126 EOF | 2164 EOF |
2127 if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2165 if { (eval echo configure:2166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2128 ac_cv_prog_cc_works=yes | 2166 ac_cv_prog_cc_works=yes |
2129 # If we can't run a trivial program, we are probably using a cross compiler. | 2167 # If we can't run a trivial program, we are probably using a cross compiler. |
2130 if (./conftest; exit) 2>/dev/null; then | 2168 if (./conftest; exit) 2>/dev/null; then |
2131 ac_cv_prog_cc_cross=no | 2169 ac_cv_prog_cc_cross=no |
2132 else | 2170 else |
2150 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2188 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2151 if test $ac_cv_prog_cc_works = no; then | 2189 if test $ac_cv_prog_cc_works = no; then |
2152 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2190 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2153 fi | 2191 fi |
2154 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2192 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2155 echo "configure:2156: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2193 echo "configure:2194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2156 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2194 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2157 cross_compiling=$ac_cv_prog_cc_cross | 2195 cross_compiling=$ac_cv_prog_cc_cross |
2158 | 2196 |
2159 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2197 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2160 echo "configure:2161: checking whether we are using GNU C" >&5 | 2198 echo "configure:2199: checking whether we are using GNU C" >&5 |
2161 | 2199 |
2162 cat > conftest.c <<EOF | 2200 cat > conftest.c <<EOF |
2163 #ifdef __GNUC__ | 2201 #ifdef __GNUC__ |
2164 yes; | 2202 yes; |
2165 #endif | 2203 #endif |
2166 EOF | 2204 EOF |
2167 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2205 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2168 ac_cv_prog_gcc=yes | 2206 ac_cv_prog_gcc=yes |
2169 else | 2207 else |
2170 ac_cv_prog_gcc=no | 2208 ac_cv_prog_gcc=no |
2171 fi | 2209 fi |
2172 | 2210 |
2180 | 2218 |
2181 ac_test_CFLAGS="${CFLAGS+set}" | 2219 ac_test_CFLAGS="${CFLAGS+set}" |
2182 ac_save_CFLAGS="$CFLAGS" | 2220 ac_save_CFLAGS="$CFLAGS" |
2183 CFLAGS= | 2221 CFLAGS= |
2184 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2222 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2185 echo "configure:2186: checking whether ${CC-cc} accepts -g" >&5 | 2223 echo "configure:2224: checking whether ${CC-cc} accepts -g" >&5 |
2186 | 2224 |
2187 echo 'void f(){}' > conftest.c | 2225 echo 'void f(){}' > conftest.c |
2188 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2226 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2189 ac_cv_prog_cc_g=yes | 2227 ac_cv_prog_cc_g=yes |
2190 else | 2228 else |
2217 test -n "$CPP" -a -d "$CPP" && CPP= | 2255 test -n "$CPP" -a -d "$CPP" && CPP= |
2218 | 2256 |
2219 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2257 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2220 | 2258 |
2221 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2259 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2222 echo "configure:2223: checking how to run the C preprocessor" >&5 | 2260 echo "configure:2261: checking how to run the C preprocessor" >&5 |
2223 # On Suns, sometimes $CPP names a directory. | 2261 # On Suns, sometimes $CPP names a directory. |
2224 if test -n "$CPP" && test -d "$CPP"; then | 2262 if test -n "$CPP" && test -d "$CPP"; then |
2225 CPP= | 2263 CPP= |
2226 fi | 2264 fi |
2227 if test -z "$CPP"; then | 2265 if test -z "$CPP"; then |
2230 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2268 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2231 CPP="${CC-cc} -E" | 2269 CPP="${CC-cc} -E" |
2232 # On the NeXT, cc -E runs the code through the compiler's parser, | 2270 # On the NeXT, cc -E runs the code through the compiler's parser, |
2233 # not just through cpp. | 2271 # not just through cpp. |
2234 cat > conftest.$ac_ext <<EOF | 2272 cat > conftest.$ac_ext <<EOF |
2235 #line 2236 "configure" | 2273 #line 2274 "configure" |
2236 #include "confdefs.h" | 2274 #include "confdefs.h" |
2237 #include <assert.h> | 2275 #include <assert.h> |
2238 Syntax Error | 2276 Syntax Error |
2239 EOF | 2277 EOF |
2240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2241 { (eval echo configure:2242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2279 { (eval echo configure:2280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2243 if test -z "$ac_err"; then | 2281 if test -z "$ac_err"; then |
2244 : | 2282 : |
2245 else | 2283 else |
2246 echo "$ac_err" >&5 | 2284 echo "$ac_err" >&5 |
2247 echo "configure: failed program was:" >&5 | 2285 echo "configure: failed program was:" >&5 |
2248 cat conftest.$ac_ext >&5 | 2286 cat conftest.$ac_ext >&5 |
2249 rm -rf conftest* | 2287 rm -rf conftest* |
2250 CPP="${CC-cc} -E -traditional-cpp" | 2288 CPP="${CC-cc} -E -traditional-cpp" |
2251 cat > conftest.$ac_ext <<EOF | 2289 cat > conftest.$ac_ext <<EOF |
2252 #line 2253 "configure" | 2290 #line 2291 "configure" |
2253 #include "confdefs.h" | 2291 #include "confdefs.h" |
2254 #include <assert.h> | 2292 #include <assert.h> |
2255 Syntax Error | 2293 Syntax Error |
2256 EOF | 2294 EOF |
2257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2258 { (eval echo configure:2259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2296 { (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2260 if test -z "$ac_err"; then | 2298 if test -z "$ac_err"; then |
2261 : | 2299 : |
2262 else | 2300 else |
2263 echo "$ac_err" >&5 | 2301 echo "$ac_err" >&5 |
2264 echo "configure: failed program was:" >&5 | 2302 echo "configure: failed program was:" >&5 |
2265 cat conftest.$ac_ext >&5 | 2303 cat conftest.$ac_ext >&5 |
2266 rm -rf conftest* | 2304 rm -rf conftest* |
2267 CPP="${CC-cc} -nologo -E" | 2305 CPP="${CC-cc} -nologo -E" |
2268 cat > conftest.$ac_ext <<EOF | 2306 cat > conftest.$ac_ext <<EOF |
2269 #line 2270 "configure" | 2307 #line 2308 "configure" |
2270 #include "confdefs.h" | 2308 #include "confdefs.h" |
2271 #include <assert.h> | 2309 #include <assert.h> |
2272 Syntax Error | 2310 Syntax Error |
2273 EOF | 2311 EOF |
2274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2275 { (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2313 { (eval echo configure:2314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2277 if test -z "$ac_err"; then | 2315 if test -z "$ac_err"; then |
2278 : | 2316 : |
2279 else | 2317 else |
2280 echo "$ac_err" >&5 | 2318 echo "$ac_err" >&5 |
2294 ac_cv_prog_CPP="$CPP" | 2332 ac_cv_prog_CPP="$CPP" |
2295 fi | 2333 fi |
2296 echo "$ac_t""$CPP" 1>&6 | 2334 echo "$ac_t""$CPP" 1>&6 |
2297 | 2335 |
2298 | 2336 |
2337 | |
2299 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2338 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2300 echo "configure:2301: checking for AIX" >&5 | 2339 echo "configure:2340: checking for AIX" >&5 |
2301 cat > conftest.$ac_ext <<EOF | 2340 cat > conftest.$ac_ext <<EOF |
2302 #line 2303 "configure" | 2341 #line 2342 "configure" |
2303 #include "confdefs.h" | 2342 #include "confdefs.h" |
2304 #ifdef _AIX | 2343 #ifdef _AIX |
2305 yes | 2344 yes |
2306 #endif | 2345 #endif |
2307 | 2346 |
2321 rm -rf conftest* | 2360 rm -rf conftest* |
2322 echo "$ac_t""no" 1>&6 | 2361 echo "$ac_t""no" 1>&6 |
2323 fi | 2362 fi |
2324 rm -f conftest* | 2363 rm -f conftest* |
2325 | 2364 |
2326 | 2365 |
2327 | 2366 |
2328 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2367 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2329 echo "configure:2330: checking for GNU libc" >&5 | 2368 echo "configure:2369: checking for GNU libc" >&5 |
2330 cat > conftest.$ac_ext <<EOF | 2369 cat > conftest.$ac_ext <<EOF |
2331 #line 2332 "configure" | 2370 #line 2371 "configure" |
2332 #include "confdefs.h" | 2371 #include "confdefs.h" |
2333 #include <features.h> | 2372 #include <features.h> |
2334 int main() { | 2373 int main() { |
2335 | 2374 |
2336 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2375 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2338 ******* ======= ******** &&&&&&&& | 2377 ******* ======= ******** &&&&&&&& |
2339 #endif | 2378 #endif |
2340 | 2379 |
2341 ; return 0; } | 2380 ; return 0; } |
2342 EOF | 2381 EOF |
2343 if { (eval echo configure:2344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2382 if { (eval echo configure:2383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2344 rm -rf conftest* | 2383 rm -rf conftest* |
2345 have_glibc=yes | 2384 have_glibc=yes |
2346 else | 2385 else |
2347 echo "configure: failed program was:" >&5 | 2386 echo "configure: failed program was:" >&5 |
2348 cat conftest.$ac_ext >&5 | 2387 cat conftest.$ac_ext >&5 |
2358 #define _GNU_SOURCE 1 | 2397 #define _GNU_SOURCE 1 |
2359 EOF | 2398 EOF |
2360 } | 2399 } |
2361 | 2400 |
2362 | 2401 |
2363 | 2402 case "$opsys" in |
2364 cat > conftest.$ac_ext <<EOF | 2403 sol2) |
2365 #line 2366 "configure" | 2404 { test "$extra_verbose" = "yes" && cat << \EOF |
2405 Defining __EXTENSIONS__ | |
2406 EOF | |
2407 cat >> confdefs.h <<\EOF | |
2408 #define __EXTENSIONS__ 1 | |
2409 EOF | |
2410 } | |
2411 | |
2412 if test "$os_release" -ge 55; then | |
2413 { test "$extra_verbose" = "yes" && cat << \EOF | |
2414 Defining _XOPEN_SOURCE = 500 | |
2415 EOF | |
2416 cat >> confdefs.h <<\EOF | |
2417 #define _XOPEN_SOURCE 500 | |
2418 EOF | |
2419 } | |
2420 | |
2421 { test "$extra_verbose" = "yes" && cat << \EOF | |
2422 Defining _XOPEN_SOURCE_EXTENDED | |
2423 EOF | |
2424 cat >> confdefs.h <<\EOF | |
2425 #define _XOPEN_SOURCE_EXTENDED 1 | |
2426 EOF | |
2427 } | |
2428 | |
2429 fi ;; | |
2430 linux) | |
2431 { test "$extra_verbose" = "yes" && cat << \EOF | |
2432 Defining _POSIX_C_SOURCE = 199506L | |
2433 EOF | |
2434 cat >> confdefs.h <<\EOF | |
2435 #define _POSIX_C_SOURCE 199506L | |
2436 EOF | |
2437 } | |
2438 | |
2439 { test "$extra_verbose" = "yes" && cat << \EOF | |
2440 Defining _XOPEN_SOURCE = 500 | |
2441 EOF | |
2442 cat >> confdefs.h <<\EOF | |
2443 #define _XOPEN_SOURCE 500 | |
2444 EOF | |
2445 } | |
2446 | |
2447 { test "$extra_verbose" = "yes" && cat << \EOF | |
2448 Defining _XOPEN_SOURCE_EXTENDED | |
2449 EOF | |
2450 cat >> confdefs.h <<\EOF | |
2451 #define _XOPEN_SOURCE_EXTENDED 1 | |
2452 EOF | |
2453 } | |
2454 | |
2455 ;; | |
2456 esac | |
2457 | |
2458 cat > conftest.$ac_ext <<EOF | |
2459 #line 2460 "configure" | |
2366 #include "confdefs.h" | 2460 #include "confdefs.h" |
2367 int main () { | 2461 int main () { |
2368 #if defined __SUNPRO_C | 2462 #if defined __SUNPRO_C |
2369 return 11; | 2463 return 11; |
2370 #elif defined __DECC | 2464 #elif defined __DECC |
2371 return 12; | 2465 return 12; |
2466 #elif defined __USLC__ && defined __SCO_VERSION__ | |
2467 return 13; | |
2372 #else | 2468 #else |
2373 return 0; | 2469 return 0; |
2374 #endif | 2470 #endif |
2375 } | 2471 } |
2376 EOF | 2472 EOF |
2377 if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2473 if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2378 then | 2474 then |
2379 : | 2475 : |
2380 else | 2476 else |
2381 conftest_rc="$?" | 2477 conftest_rc="$?" |
2382 echo "configure: failed program was:" >&5 | 2478 echo "configure: failed program was:" >&5 |
2383 cat conftest.$ac_ext >&5 | 2479 cat conftest.$ac_ext >&5 |
2384 rm -fr conftest* | 2480 rm -fr conftest* |
2385 case "$conftest_rc" in | 2481 case "$conftest_rc" in |
2386 11) echo "You appear to be using the SunPro C compiler."; __SUNPRO_C=yes ;; | 2482 11) echo "You appear to be using the SunPro C compiler."; __SUNPRO_C=yes ;; |
2387 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; | 2483 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; |
2484 13) echo "You appear to be using the SCO C compiler." ; __USLC__=yes ;; | |
2388 esac | 2485 esac |
2389 fi | 2486 fi |
2390 rm -fr conftest* | 2487 rm -fr conftest* |
2391 | 2488 |
2392 | 2489 |
2396 | 2493 |
2397 tempcname="conftest.c" | 2494 tempcname="conftest.c" |
2398 | 2495 |
2399 | 2496 |
2400 | 2497 |
2401 cat > $tempcname <<EOF | 2498 cat > $tempcname < confdefs.h |
2499 cat >> $tempcname <<EOF | |
2402 #define NOT_C_CODE | 2500 #define NOT_C_CODE |
2403 #define C_SWITCH_SITE | 2501 #define C_SWITCH_SITE |
2404 #define C_SWITCH_X_SITE | 2502 #define C_SWITCH_X_SITE |
2405 #define LD_SWITCH_SITE | 2503 #define LD_SWITCH_SITE |
2406 #define LD_SWITCH_X_SITE | 2504 #define LD_SWITCH_X_SITE |
2407 #define LD_SWITCH_X_SITE_AUX | 2505 #define LD_SWITCH_X_SITE_AUX |
2408 #define OS_RELEASE $os_release | 2506 #define OS_RELEASE $os_release |
2507 | |
2508 #ifdef config_opsysfile | |
2409 #include "$srcdir/src/$opsysfile" | 2509 #include "$srcdir/src/$opsysfile" |
2510 #endif | |
2511 | |
2512 #ifdef config_machfile | |
2410 #include "$srcdir/src/$machfile" | 2513 #include "$srcdir/src/$machfile" |
2514 #endif | |
2411 | 2515 |
2412 #ifndef LIBS_MACHINE | 2516 #ifndef LIBS_MACHINE |
2413 #define LIBS_MACHINE | 2517 #define LIBS_MACHINE |
2414 #endif | 2518 #endif |
2415 configure___ libs_machine=LIBS_MACHINE | 2519 configure___ libs_machine=LIBS_MACHINE |
2473 #define LD_SWITCH_SHARED "-c" | 2577 #define LD_SWITCH_SHARED "-c" |
2474 #endif | 2578 #endif |
2475 configure___ ld_switch_shared=LD_SWITCH_SHARED | 2579 configure___ ld_switch_shared=LD_SWITCH_SHARED |
2476 | 2580 |
2477 | 2581 |
2582 #define ORDINARY_LD "\$(CC) \$(CFLAGS)" | |
2583 configure___ ordinary_ld=ORDINARY_LD | |
2584 | |
2478 #ifdef ORDINARY_LINK | 2585 #ifdef ORDINARY_LINK |
2479 #define LD "\$(CC) \$(CFLAGS)" | 2586 #define LD ORDINARY_LD |
2480 #else /* no ORDINARY LINK */ | 2587 #else /* no ORDINARY LINK */ |
2481 #ifdef COFF_ENCAPSULATE | 2588 #ifdef COFF_ENCAPSULATE |
2482 #define LD "\$(CC) -nostdlib" | 2589 #define LD "\$(CC) -nostdlib" |
2483 #else /* not COFF_ENCAPSULATE */ | 2590 #else /* not COFF_ENCAPSULATE */ |
2484 #ifdef LINKER | 2591 #ifdef LINKER |
2565 eval `$CPP -Isrc $tempcname \ | 2672 eval `$CPP -Isrc $tempcname \ |
2566 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2673 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
2567 | 2674 |
2568 rm $tempcname | 2675 rm $tempcname |
2569 | 2676 |
2677 if test "$pdump" = "yes"; then | |
2678 ordinary_link="yes" | |
2679 ld="${ordinary_ld}" | |
2680 start_files= | |
2681 libs_standard= | |
2682 unexec= | |
2683 lib_gcc= | |
2684 fi | |
2685 | |
2570 test "$extra_verbose" = "yes" && \ | 2686 test "$extra_verbose" = "yes" && \ |
2571 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" | 2687 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" |
2572 | 2688 |
2573 case "$opsys" in mingw*) mingw_include=`eval "gcc -print-file-name=libc.a"` ; | 2689 case "$opsys" in mingw*) mingw_include=`eval "gcc -print-file-name=libc.a"` ; |
2574 mingw_include=`eval "dirname $mingw_include"` ; | 2690 mingw_include=`eval "dirname $mingw_include"` ; |
2576 c_switch_system="$c_switch_system $mingw_include" && if test "$extra_verbose" = "yes"; then echo " Appending \"$mingw_include\" to \$c_switch_system"; fi ;; | 2692 c_switch_system="$c_switch_system $mingw_include" && if test "$extra_verbose" = "yes"; then echo " Appending \"$mingw_include\" to \$c_switch_system"; fi ;; |
2577 esac | 2693 esac |
2578 | 2694 |
2579 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2695 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
2580 | 2696 |
2581 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std\" to \$c_switch_site"; fi | 2697 |
2698 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | |
2699 | |
2700 if test "$__USLC__" = yes; then | |
2701 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | |
2702 echo "configure:2703: checking for whether the -Kalloca compiler flag is needed" >&5 | |
2703 need_kalloca=no | |
2704 cat > conftest.$ac_ext <<EOF | |
2705 #line 2706 "configure" | |
2706 #include "confdefs.h" | |
2707 | |
2708 int main() { | |
2709 void *x = alloca(4); | |
2710 ; return 0; } | |
2711 EOF | |
2712 if { (eval echo configure:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
2713 rm -rf conftest* | |
2714 : | |
2715 else | |
2716 echo "configure: failed program was:" >&5 | |
2717 cat conftest.$ac_ext >&5 | |
2718 rm -rf conftest* | |
2719 | |
2720 xe_save_c_switch_system="$c_switch_system" | |
2721 c_switch_system="$c_switch_system -Kalloca" | |
2722 cat > conftest.$ac_ext <<EOF | |
2723 #line 2724 "configure" | |
2724 #include "confdefs.h" | |
2725 | |
2726 int main() { | |
2727 void *x = alloca(4); | |
2728 ; return 0; } | |
2729 EOF | |
2730 if { (eval echo configure:2731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
2731 rm -rf conftest* | |
2732 need_kalloca=yes | |
2733 else | |
2734 echo "configure: failed program was:" >&5 | |
2735 cat conftest.$ac_ext >&5 | |
2736 fi | |
2737 rm -f conftest* | |
2738 c_switch_system="$xe_save_c_switch_system" | |
2739 fi | |
2740 rm -f conftest* | |
2741 echo "$ac_t""$need_kalloca" 1>&6 | |
2742 test "$need_kalloca" = "yes" && c_switch_system="$c_switch_system -Kalloca" && if test "$extra_verbose" = "yes"; then echo " Appending \"-Kalloca\" to \$c_switch_system"; fi | |
2743 fi | |
2582 | 2744 |
2583 if test "$cflags_specified" = "no"; then | 2745 if test "$cflags_specified" = "no"; then |
2584 if test "$GCC" = "yes"; then | 2746 if test "$GCC" = "yes"; then |
2585 CFLAGS="-g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow" | 2747 CFLAGS="-g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow" |
2586 elif test "$__SUNPRO_C" = "yes"; then | 2748 elif test "$__SUNPRO_C" = "yes"; then |
2594 CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qinfo -qro -qmaxmem=20000" | 2756 CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qinfo -qro -qmaxmem=20000" |
2595 else | 2757 else |
2596 CFLAGS="-O" ; fi | 2758 CFLAGS="-O" ; fi |
2597 fi | 2759 fi |
2598 | 2760 |
2761 if test "$GCC" = "yes"; then | |
2762 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | |
2763 echo "configure:2764: checking for buggy gcc versions" >&5 | |
2764 GCC_VERSION=`$CC --version` | |
2765 case `uname -s`:`uname -m`:$GCC_VERSION in | |
2766 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | |
2767 case "$CFLAGS" in | |
2768 *-O2*|*-O3*) | |
2769 case "$CFLAGS" in | |
2770 *-fno-schedule-insns*) ;; | |
2771 *) | |
2772 echo "$ac_t""yes" 1>&6 | |
2773 echo "configure: warning: Don't use -O2 with gcc 2.8.1 and egcs 1.0 under SPARC architectures" 1>&2 | |
2774 echo "configure: warning: without also using -fno-schedule-insns." 1>&2 | |
2775 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; } | |
2776 ;; | |
2777 esac | |
2778 ;; | |
2779 esac | |
2780 ;; | |
2781 Linux:alpha:egcs-2.91.*) | |
2782 echo "$ac_t""yes" 1>&6 | |
2783 echo "configure: warning: There have been reports of egcs-1.1 not compiling XEmacs correctly on" 1>&2 | |
2784 echo "configure: warning: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." 1>&2 | |
2785 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; } | |
2786 ;; | |
2787 *:i*86*:2.7.2*) | |
2788 case "$GCC_VERSION" in | |
2789 2.7.2) | |
2790 case "$CFLAGS" in | |
2791 *-O2*|*-O3*) | |
2792 case "$CFLAGS" in | |
2793 *-fno-strength-reduce*) ;; | |
2794 *) | |
2795 echo "$ac_t""yes" 1>&6 | |
2796 echo "configure: warning: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" 1>&2 | |
2797 echo "configure: warning: -fno-strength-reduce." 1>&2 | |
2798 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; } | |
2799 ;; | |
2800 esac | |
2801 ;; | |
2802 esac | |
2803 ;; | |
2804 esac | |
2805 case "$CFLAGS" in | |
2806 *-fno-caller-saves*) ;; | |
2807 *) | |
2808 echo "$ac_t""yes" 1>&6 | |
2809 echo "configure: warning: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" 1>&2 | |
2810 echo "configure: warning: -fno-caller-saves." 1>&2 | |
2811 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; } | |
2812 ;; | |
2813 esac | |
2814 ;; | |
2815 esac | |
2816 echo "$ac_t""no" 1>&6 | |
2817 fi | |
2818 | |
2599 | 2819 |
2600 if test "$GCC" = "yes"; then | 2820 if test "$GCC" = "yes"; then |
2601 set x $ld_switch_system; shift; ld_switch_system="" | 2821 set x $ld_switch_system; shift; ld_switch_system="" |
2602 while test -n "$1"; do | 2822 while test -n "$1"; do |
2603 case $1 in | 2823 case $1 in |
2653 echo " xemacs will be linked with \"$objects_machine\"" | 2873 echo " xemacs will be linked with \"$objects_machine\"" |
2654 fi | 2874 fi |
2655 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$extra_verbose" = "yes"; then | 2875 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$extra_verbose" = "yes"; then |
2656 echo " xemacs will be linked with \"$objects_system\"" | 2876 echo " xemacs will be linked with \"$objects_system\"" |
2657 fi | 2877 fi |
2658 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2878 test -n "$unexec" && test ! "$pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2659 echo " xemacs will be linked with \"$unexec\"" | 2879 echo " xemacs will be linked with \"$unexec\"" |
2660 fi | 2880 fi |
2881 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | |
2882 echo " xemacs will be linked with \"dumper.o\"" | |
2883 fi | |
2661 | 2884 |
2662 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2885 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2663 echo "configure:2664: checking for dynodump" >&5 | 2886 echo "configure:2887: checking for dynodump" >&5 |
2664 if test "$unexec" != "unexsol2.o"; then | 2887 if test "$unexec" != "unexsol2.o"; then |
2665 echo "$ac_t""no" 1>&6 | 2888 echo "$ac_t""no" 1>&6 |
2666 else | 2889 else |
2667 echo "$ac_t""yes" 1>&6 | 2890 echo "$ac_t""yes" 1>&6 |
2668 { test "$extra_verbose" = "yes" && cat << \EOF | 2891 { test "$extra_verbose" = "yes" && cat << \EOF |
2696 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2919 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2697 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2920 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2698 done | 2921 done |
2699 | 2922 |
2700 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2923 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2701 echo "configure:2702: checking for terminateAndUnload in -lC" >&5 | 2924 echo "configure:2925: checking for terminateAndUnload in -lC" >&5 |
2702 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2925 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2703 | 2926 |
2704 xe_check_libs=" -lC " | 2927 xe_check_libs=" -lC " |
2705 cat > conftest.$ac_ext <<EOF | 2928 cat > conftest.$ac_ext <<EOF |
2706 #line 2707 "configure" | 2929 #line 2930 "configure" |
2707 #include "confdefs.h" | 2930 #include "confdefs.h" |
2708 /* Override any gcc2 internal prototype to avoid an error. */ | 2931 /* Override any gcc2 internal prototype to avoid an error. */ |
2709 /* We use char because int might match the return type of a gcc2 | 2932 /* We use char because int might match the return type of a gcc2 |
2710 builtin and then its argument prototype would still apply. */ | 2933 builtin and then its argument prototype would still apply. */ |
2711 char terminateAndUnload(); | 2934 char terminateAndUnload(); |
2712 | 2935 |
2713 int main() { | 2936 int main() { |
2714 terminateAndUnload() | 2937 terminateAndUnload() |
2715 ; return 0; } | 2938 ; return 0; } |
2716 EOF | 2939 EOF |
2717 if { (eval echo configure:2718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2940 if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2718 rm -rf conftest* | 2941 rm -rf conftest* |
2719 eval "ac_cv_lib_$ac_lib_var=yes" | 2942 eval "ac_cv_lib_$ac_lib_var=yes" |
2720 else | 2943 else |
2721 echo "configure: failed program was:" >&5 | 2944 echo "configure: failed program was:" >&5 |
2722 cat conftest.$ac_ext >&5 | 2945 cat conftest.$ac_ext >&5 |
2820 esac | 3043 esac |
2821 fi | 3044 fi |
2822 | 3045 |
2823 if test "$add_runtime_path" = "yes"; then | 3046 if test "$add_runtime_path" = "yes"; then |
2824 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3047 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2825 echo "configure:2826: checking "for runtime libraries flag"" >&5 | 3048 echo "configure:3049: checking "for runtime libraries flag"" >&5 |
2826 case "$opsys" in | 3049 case "$opsys" in |
2827 sol2 ) dash_r="-R" ;; | 3050 sol2 ) dash_r="-R" ;; |
2828 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3051 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2829 *) | 3052 *) |
2830 dash_r="" | 3053 dash_r="" |
2842 esac | 3065 esac |
2843 shift | 3066 shift |
2844 done | 3067 done |
2845 fi | 3068 fi |
2846 cat > conftest.$ac_ext <<EOF | 3069 cat > conftest.$ac_ext <<EOF |
2847 #line 2848 "configure" | 3070 #line 3071 "configure" |
2848 #include "confdefs.h" | 3071 #include "confdefs.h" |
2849 | 3072 |
2850 int main() { | 3073 int main() { |
2851 | 3074 |
2852 ; return 0; } | 3075 ; return 0; } |
2853 EOF | 3076 EOF |
2854 if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3077 if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2855 rm -rf conftest* | 3078 rm -rf conftest* |
2856 dash_r="$try_dash_r" | 3079 dash_r="$try_dash_r" |
2857 else | 3080 else |
2858 echo "configure: failed program was:" >&5 | 3081 echo "configure: failed program was:" >&5 |
2859 cat conftest.$ac_ext >&5 | 3082 cat conftest.$ac_ext >&5 |
2950 doug_lea_malloc=yes | 3173 doug_lea_malloc=yes |
2951 else | 3174 else |
2952 doug_lea_malloc=no | 3175 doug_lea_malloc=no |
2953 fi | 3176 fi |
2954 after_morecore_hook_exists=yes | 3177 after_morecore_hook_exists=yes |
2955 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | |
2956 echo "configure:2957: checking for malloc_get_state" >&5 | |
2957 | |
2958 cat > conftest.$ac_ext <<EOF | |
2959 #line 2960 "configure" | |
2960 #include "confdefs.h" | |
2961 /* System header to define __stub macros and hopefully few prototypes, | |
2962 which can conflict with char malloc_get_state(); below. */ | |
2963 #include <assert.h> | |
2964 /* Override any gcc2 internal prototype to avoid an error. */ | |
2965 /* We use char because int might match the return type of a gcc2 | |
2966 builtin and then its argument prototype would still apply. */ | |
2967 char malloc_get_state(); | |
2968 | |
2969 int main() { | |
2970 | |
2971 /* The GNU C library defines this for functions which it implements | |
2972 to always fail with ENOSYS. Some functions are actually named | |
2973 something starting with __ and the normal name is an alias. */ | |
2974 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) | |
2975 choke me | |
2976 #else | |
2977 malloc_get_state(); | |
2978 #endif | |
2979 | |
2980 ; return 0; } | |
2981 EOF | |
2982 if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
2983 rm -rf conftest* | |
2984 eval "ac_cv_func_malloc_get_state=yes" | |
2985 else | |
2986 echo "configure: failed program was:" >&5 | |
2987 cat conftest.$ac_ext >&5 | |
2988 rm -rf conftest* | |
2989 eval "ac_cv_func_malloc_get_state=no" | |
2990 fi | |
2991 rm -f conftest* | |
2992 | |
2993 if eval "test \"`echo '$ac_cv_func_'malloc_get_state`\" = yes"; then | |
2994 echo "$ac_t""yes" 1>&6 | |
2995 : | |
2996 else | |
2997 echo "$ac_t""no" 1>&6 | |
2998 doug_lea_malloc=no | |
2999 fi | |
3000 | |
3001 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3178 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3002 echo "configure:3003: checking for malloc_set_state" >&5 | 3179 echo "configure:3180: checking for malloc_set_state" >&5 |
3003 | 3180 |
3004 cat > conftest.$ac_ext <<EOF | 3181 cat > conftest.$ac_ext <<EOF |
3005 #line 3006 "configure" | 3182 #line 3183 "configure" |
3006 #include "confdefs.h" | 3183 #include "confdefs.h" |
3007 /* System header to define __stub macros and hopefully few prototypes, | 3184 /* System header to define __stub macros and hopefully few prototypes, |
3008 which can conflict with char malloc_set_state(); below. */ | 3185 which can conflict with char malloc_set_state(); below. */ |
3009 #include <assert.h> | 3186 #include <assert.h> |
3010 /* Override any gcc2 internal prototype to avoid an error. */ | 3187 /* Override any gcc2 internal prototype to avoid an error. */ |
3023 malloc_set_state(); | 3200 malloc_set_state(); |
3024 #endif | 3201 #endif |
3025 | 3202 |
3026 ; return 0; } | 3203 ; return 0; } |
3027 EOF | 3204 EOF |
3028 if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3205 if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3029 rm -rf conftest* | 3206 rm -rf conftest* |
3030 eval "ac_cv_func_malloc_set_state=yes" | 3207 eval "ac_cv_func_malloc_set_state=yes" |
3031 else | 3208 else |
3032 echo "configure: failed program was:" >&5 | 3209 echo "configure: failed program was:" >&5 |
3033 cat conftest.$ac_ext >&5 | 3210 cat conftest.$ac_ext >&5 |
3043 echo "$ac_t""no" 1>&6 | 3220 echo "$ac_t""no" 1>&6 |
3044 doug_lea_malloc=no | 3221 doug_lea_malloc=no |
3045 fi | 3222 fi |
3046 | 3223 |
3047 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3224 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3048 echo "configure:3049: checking whether __after_morecore_hook exists" >&5 | 3225 echo "configure:3226: checking whether __after_morecore_hook exists" >&5 |
3049 cat > conftest.$ac_ext <<EOF | 3226 cat > conftest.$ac_ext <<EOF |
3050 #line 3051 "configure" | 3227 #line 3228 "configure" |
3051 #include "confdefs.h" | 3228 #include "confdefs.h" |
3052 extern void (* __after_morecore_hook)(); | 3229 extern void (* __after_morecore_hook)(); |
3053 int main() { | 3230 int main() { |
3054 __after_morecore_hook = 0 | 3231 __after_morecore_hook = 0 |
3055 ; return 0; } | 3232 ; return 0; } |
3056 EOF | 3233 EOF |
3057 if { (eval echo configure:3058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3234 if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3058 rm -rf conftest* | 3235 rm -rf conftest* |
3059 echo "$ac_t""yes" 1>&6 | 3236 echo "$ac_t""yes" 1>&6 |
3060 else | 3237 else |
3061 echo "configure: failed program was:" >&5 | 3238 echo "configure: failed program was:" >&5 |
3062 cat conftest.$ac_ext >&5 | 3239 cat conftest.$ac_ext >&5 |
3066 fi | 3243 fi |
3067 rm -f conftest* | 3244 rm -f conftest* |
3068 if test "$system_malloc" = "yes" ; then | 3245 if test "$system_malloc" = "yes" ; then |
3069 GNU_MALLOC=no | 3246 GNU_MALLOC=no |
3070 GNU_MALLOC_reason=" | 3247 GNU_MALLOC_reason=" |
3071 (The GNU allocators don't work with this system configuration)." | 3248 - The GNU allocators don't work with this system configuration." |
3072 elif test "$with_system_malloc" = "yes" ; then | 3249 elif test "$with_system_malloc" = "yes" ; then |
3073 GNU_MALLOC=no | 3250 GNU_MALLOC=no |
3074 GNU_MALLOC_reason=" | 3251 GNU_MALLOC_reason=" |
3075 (User chose not to use GNU allocators)." | 3252 - User chose not to use GNU allocators." |
3076 elif test "$with_debug_malloc" = "yes" ; then | 3253 elif test "$with_debug_malloc" = "yes" ; then |
3077 GNU_MALLOC=no | 3254 GNU_MALLOC=no |
3078 GNU_MALLOC_reason=" | 3255 GNU_MALLOC_reason=" |
3079 (User chose to use Debugging Malloc)." | 3256 - User chose to use Debugging Malloc." |
3080 fi | 3257 fi |
3081 | 3258 |
3082 if test "$doug_lea_malloc" = "yes" ; then | 3259 if test "$doug_lea_malloc" = "yes" -a "$GNU_MALLOC" = "yes" ; then |
3083 if test "$GNU_MALLOC" = yes ; then | 3260 GNU_MALLOC_reason=" |
3084 GNU_MALLOC_reason=" | 3261 - Using Doug Lea's new malloc from the GNU C Library." |
3085 (Using Doug Lea's new malloc from the GNU C Library.)" | |
3086 fi | |
3087 { test "$extra_verbose" = "yes" && cat << \EOF | 3262 { test "$extra_verbose" = "yes" && cat << \EOF |
3088 Defining DOUG_LEA_MALLOC | 3263 Defining DOUG_LEA_MALLOC |
3089 EOF | 3264 EOF |
3090 cat >> confdefs.h <<\EOF | 3265 cat >> confdefs.h <<\EOF |
3091 #define DOUG_LEA_MALLOC 1 | 3266 #define DOUG_LEA_MALLOC 1 |
3092 EOF | 3267 EOF |
3093 } | 3268 } |
3094 | 3269 |
3095 if test "$after_morecore_hook_exists" = "no" ; then | 3270 if test "$after_morecore_hook_exists" = "no" ; then |
3096 GNU_MALLOC_reason=" | 3271 GNU_MALLOC_reason=" |
3097 (Using Doug Lea's new malloc from the Linux C Library.)" | 3272 - Using Doug Lea's new malloc from the Linux C Library." |
3098 { test "$extra_verbose" = "yes" && cat << \EOF | 3273 { test "$extra_verbose" = "yes" && cat << \EOF |
3099 Defining _NO_MALLOC_WARNING_ | 3274 Defining _NO_MALLOC_WARNING_ |
3100 EOF | 3275 EOF |
3101 cat >> confdefs.h <<\EOF | 3276 cat >> confdefs.h <<\EOF |
3102 #define _NO_MALLOC_WARNING_ 1 | 3277 #define _NO_MALLOC_WARNING_ 1 |
3103 EOF | 3278 EOF |
3104 } | 3279 } |
3105 | 3280 |
3106 fi | 3281 fi |
3107 use_minimal_tagbits=yes | |
3108 fi | 3282 fi |
3109 | 3283 |
3110 | 3284 |
3111 | 3285 |
3112 | 3286 |
3113 # Extract the first word of "ranlib", so it can be a program name with args. | 3287 # Extract the first word of "ranlib", so it can be a program name with args. |
3114 set dummy ranlib; ac_word=$2 | 3288 set dummy ranlib; ac_word=$2 |
3115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3116 echo "configure:3117: checking for $ac_word" >&5 | 3290 echo "configure:3291: checking for $ac_word" >&5 |
3117 | 3291 |
3118 if test -n "$RANLIB"; then | 3292 if test -n "$RANLIB"; then |
3119 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3120 else | 3294 else |
3121 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3340 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3341 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3342 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3169 # ./install, which can be erroneously created by make from ./install.sh. | 3343 # ./install, which can be erroneously created by make from ./install.sh. |
3170 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3344 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3171 echo "configure:3172: checking for a BSD compatible install" >&5 | 3345 echo "configure:3346: checking for a BSD compatible install" >&5 |
3172 if test -z "$INSTALL"; then | 3346 if test -z "$INSTALL"; then |
3173 | 3347 |
3174 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3348 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3175 for ac_dir in $PATH; do | 3349 for ac_dir in $PATH; do |
3176 # Account for people who put trailing slashes in PATH elements. | 3350 # Account for people who put trailing slashes in PATH elements. |
3220 for ac_prog in 'bison -y' byacc | 3394 for ac_prog in 'bison -y' byacc |
3221 do | 3395 do |
3222 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3396 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3223 set dummy $ac_prog; ac_word=$2 | 3397 set dummy $ac_prog; ac_word=$2 |
3224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3398 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3225 echo "configure:3226: checking for $ac_word" >&5 | 3399 echo "configure:3400: checking for $ac_word" >&5 |
3226 | 3400 |
3227 if test -n "$YACC"; then | 3401 if test -n "$YACC"; then |
3228 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3402 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3229 else | 3403 else |
3230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3248 test -n "$YACC" && break | 3422 test -n "$YACC" && break |
3249 done | 3423 done |
3250 test -n "$YACC" || YACC="yacc" | 3424 test -n "$YACC" || YACC="yacc" |
3251 | 3425 |
3252 | 3426 |
3253 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3427 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h utime.h |
3254 do | 3428 do |
3255 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3429 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3256 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3430 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3257 echo "configure:3258: checking for $ac_hdr" >&5 | 3431 echo "configure:3432: checking for $ac_hdr" >&5 |
3258 | 3432 |
3259 cat > conftest.$ac_ext <<EOF | 3433 cat > conftest.$ac_ext <<EOF |
3260 #line 3261 "configure" | 3434 #line 3435 "configure" |
3261 #include "confdefs.h" | 3435 #include "confdefs.h" |
3262 #include <$ac_hdr> | 3436 #include <$ac_hdr> |
3263 EOF | 3437 EOF |
3264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3265 { (eval echo configure:3266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3439 { (eval echo configure:3440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3267 if test -z "$ac_err"; then | 3441 if test -z "$ac_err"; then |
3268 rm -rf conftest* | 3442 rm -rf conftest* |
3269 eval "ac_cv_header_$ac_safe=yes" | 3443 eval "ac_cv_header_$ac_safe=yes" |
3270 else | 3444 else |
3289 else | 3463 else |
3290 echo "$ac_t""no" 1>&6 | 3464 echo "$ac_t""no" 1>&6 |
3291 fi | 3465 fi |
3292 done | 3466 done |
3293 | 3467 |
3294 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | |
3295 do | |
3296 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
3297 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
3298 echo "configure:3299: checking for $ac_hdr" >&5 | |
3299 | |
3300 cat > conftest.$ac_ext <<EOF | |
3301 #line 3302 "configure" | |
3302 #include "confdefs.h" | |
3303 #include <$ac_hdr> | |
3304 EOF | |
3305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
3306 { (eval echo configure:3307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
3307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
3308 if test -z "$ac_err"; then | |
3309 rm -rf conftest* | |
3310 eval "ac_cv_header_$ac_safe=yes" | |
3311 else | |
3312 echo "$ac_err" >&5 | |
3313 echo "configure: failed program was:" >&5 | |
3314 cat conftest.$ac_ext >&5 | |
3315 rm -rf conftest* | |
3316 eval "ac_cv_header_$ac_safe=no" | |
3317 fi | |
3318 rm -f conftest* | |
3319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
3320 echo "$ac_t""yes" 1>&6 | |
3321 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
3322 { test "$extra_verbose" = "yes" && cat << EOF | |
3323 Defining $ac_tr_hdr | |
3324 EOF | |
3325 cat >> confdefs.h <<EOF | |
3326 #define $ac_tr_hdr 1 | |
3327 EOF | |
3328 } | |
3329 | |
3330 else | |
3331 echo "$ac_t""no" 1>&6 | |
3332 fi | |
3333 done | |
3334 | |
3335 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | |
3336 do | |
3337 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
3338 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
3339 echo "configure:3340: checking for $ac_hdr" >&5 | |
3340 | |
3341 cat > conftest.$ac_ext <<EOF | |
3342 #line 3343 "configure" | |
3343 #include "confdefs.h" | |
3344 #include <$ac_hdr> | |
3345 EOF | |
3346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
3347 { (eval echo configure:3348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
3348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
3349 if test -z "$ac_err"; then | |
3350 rm -rf conftest* | |
3351 eval "ac_cv_header_$ac_safe=yes" | |
3352 else | |
3353 echo "$ac_err" >&5 | |
3354 echo "configure: failed program was:" >&5 | |
3355 cat conftest.$ac_ext >&5 | |
3356 rm -rf conftest* | |
3357 eval "ac_cv_header_$ac_safe=no" | |
3358 fi | |
3359 rm -f conftest* | |
3360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
3361 echo "$ac_t""yes" 1>&6 | |
3362 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
3363 { test "$extra_verbose" = "yes" && cat << EOF | |
3364 Defining $ac_tr_hdr | |
3365 EOF | |
3366 cat >> confdefs.h <<EOF | |
3367 #define $ac_tr_hdr 1 | |
3368 EOF | |
3369 } | |
3370 | |
3371 else | |
3372 echo "$ac_t""no" 1>&6 | |
3373 fi | |
3374 done | |
3375 | |
3376 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3468 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3377 echo "configure:3378: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3469 echo "configure:3470: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3378 | 3470 |
3379 cat > conftest.$ac_ext <<EOF | 3471 cat > conftest.$ac_ext <<EOF |
3380 #line 3381 "configure" | 3472 #line 3473 "configure" |
3381 #include "confdefs.h" | 3473 #include "confdefs.h" |
3382 #include <sys/types.h> | 3474 #include <sys/types.h> |
3383 #include <sys/wait.h> | 3475 #include <sys/wait.h> |
3384 #ifndef WEXITSTATUS | 3476 #ifndef WEXITSTATUS |
3385 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3477 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3391 int s; | 3483 int s; |
3392 wait (&s); | 3484 wait (&s); |
3393 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3485 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3394 ; return 0; } | 3486 ; return 0; } |
3395 EOF | 3487 EOF |
3396 if { (eval echo configure:3397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3488 if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3397 rm -rf conftest* | 3489 rm -rf conftest* |
3398 ac_cv_header_sys_wait_h=yes | 3490 ac_cv_header_sys_wait_h=yes |
3399 else | 3491 else |
3400 echo "configure: failed program was:" >&5 | 3492 echo "configure: failed program was:" >&5 |
3401 cat conftest.$ac_ext >&5 | 3493 cat conftest.$ac_ext >&5 |
3415 } | 3507 } |
3416 | 3508 |
3417 fi | 3509 fi |
3418 | 3510 |
3419 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3511 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3420 echo "configure:3421: checking for ANSI C header files" >&5 | 3512 echo "configure:3513: checking for ANSI C header files" >&5 |
3421 | 3513 |
3422 cat > conftest.$ac_ext <<EOF | 3514 cat > conftest.$ac_ext <<EOF |
3423 #line 3424 "configure" | 3515 #line 3516 "configure" |
3424 #include "confdefs.h" | 3516 #include "confdefs.h" |
3425 #include <stdlib.h> | 3517 #include <stdlib.h> |
3426 #include <stdarg.h> | 3518 #include <stdarg.h> |
3427 #include <string.h> | 3519 #include <string.h> |
3428 #include <float.h> | 3520 #include <float.h> |
3429 EOF | 3521 EOF |
3430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3431 { (eval echo configure:3432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3523 { (eval echo configure:3524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3433 if test -z "$ac_err"; then | 3525 if test -z "$ac_err"; then |
3434 rm -rf conftest* | 3526 rm -rf conftest* |
3435 ac_cv_header_stdc=yes | 3527 ac_cv_header_stdc=yes |
3436 else | 3528 else |
3443 rm -f conftest* | 3535 rm -f conftest* |
3444 | 3536 |
3445 if test $ac_cv_header_stdc = yes; then | 3537 if test $ac_cv_header_stdc = yes; then |
3446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3538 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3447 cat > conftest.$ac_ext <<EOF | 3539 cat > conftest.$ac_ext <<EOF |
3448 #line 3449 "configure" | 3540 #line 3541 "configure" |
3449 #include "confdefs.h" | 3541 #include "confdefs.h" |
3450 #include <string.h> | 3542 #include <string.h> |
3451 EOF | 3543 EOF |
3452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3453 egrep "memchr" >/dev/null 2>&1; then | 3545 egrep "memchr" >/dev/null 2>&1; then |
3461 fi | 3553 fi |
3462 | 3554 |
3463 if test $ac_cv_header_stdc = yes; then | 3555 if test $ac_cv_header_stdc = yes; then |
3464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3465 cat > conftest.$ac_ext <<EOF | 3557 cat > conftest.$ac_ext <<EOF |
3466 #line 3467 "configure" | 3558 #line 3559 "configure" |
3467 #include "confdefs.h" | 3559 #include "confdefs.h" |
3468 #include <stdlib.h> | 3560 #include <stdlib.h> |
3469 EOF | 3561 EOF |
3470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3471 egrep "free" >/dev/null 2>&1; then | 3563 egrep "free" >/dev/null 2>&1; then |
3479 fi | 3571 fi |
3480 | 3572 |
3481 if test $ac_cv_header_stdc = yes; then | 3573 if test $ac_cv_header_stdc = yes; then |
3482 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3483 cat > conftest.$ac_ext <<EOF | 3575 cat > conftest.$ac_ext <<EOF |
3484 #line 3485 "configure" | 3576 #line 3577 "configure" |
3485 #include "confdefs.h" | 3577 #include "confdefs.h" |
3486 #include <ctype.h> | 3578 #include <ctype.h> |
3487 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3579 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3488 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3580 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3489 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3490 int main () { int i; for (i = 0; i < 256; i++) | 3582 int main () { int i; for (i = 0; i < 256; i++) |
3491 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3583 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3492 exit (0); } | 3584 exit (0); } |
3493 | 3585 |
3494 EOF | 3586 EOF |
3495 if { (eval echo configure:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3587 if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3496 then | 3588 then |
3497 : | 3589 : |
3498 else | 3590 else |
3499 conftest_rc="$?" | 3591 conftest_rc="$?" |
3500 echo "configure: failed program was:" >&5 | 3592 echo "configure: failed program was:" >&5 |
3516 } | 3608 } |
3517 | 3609 |
3518 fi | 3610 fi |
3519 | 3611 |
3520 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3612 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3521 echo "configure:3522: checking whether time.h and sys/time.h may both be included" >&5 | 3613 echo "configure:3614: checking whether time.h and sys/time.h may both be included" >&5 |
3522 | 3614 |
3523 cat > conftest.$ac_ext <<EOF | 3615 cat > conftest.$ac_ext <<EOF |
3524 #line 3525 "configure" | 3616 #line 3617 "configure" |
3525 #include "confdefs.h" | 3617 #include "confdefs.h" |
3526 #include <sys/types.h> | 3618 #include <sys/types.h> |
3527 #include <sys/time.h> | 3619 #include <sys/time.h> |
3528 #include <time.h> | 3620 #include <time.h> |
3529 int main() { | 3621 int main() { |
3530 struct tm *tp; | 3622 struct tm *tp; |
3531 ; return 0; } | 3623 ; return 0; } |
3532 EOF | 3624 EOF |
3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3625 if { (eval echo configure:3626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3534 rm -rf conftest* | 3626 rm -rf conftest* |
3535 ac_cv_header_time=yes | 3627 ac_cv_header_time=yes |
3536 else | 3628 else |
3537 echo "configure: failed program was:" >&5 | 3629 echo "configure: failed program was:" >&5 |
3538 cat conftest.$ac_ext >&5 | 3630 cat conftest.$ac_ext >&5 |
3552 } | 3644 } |
3553 | 3645 |
3554 fi | 3646 fi |
3555 | 3647 |
3556 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3648 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3557 echo "configure:3558: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3649 echo "configure:3650: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3558 | 3650 |
3559 cat > conftest.$ac_ext <<EOF | 3651 cat > conftest.$ac_ext <<EOF |
3560 #line 3561 "configure" | 3652 #line 3653 "configure" |
3561 #include "confdefs.h" | 3653 #include "confdefs.h" |
3562 #include <sys/types.h> | 3654 #include <sys/types.h> |
3563 #include <signal.h> | 3655 #include <signal.h> |
3564 /* NetBSD declares sys_siglist in unistd.h. */ | 3656 /* NetBSD declares sys_siglist in unistd.h. */ |
3565 #ifdef HAVE_UNISTD_H | 3657 #ifdef HAVE_UNISTD_H |
3567 #endif | 3659 #endif |
3568 int main() { | 3660 int main() { |
3569 char *msg = *(sys_siglist + 1); | 3661 char *msg = *(sys_siglist + 1); |
3570 ; return 0; } | 3662 ; return 0; } |
3571 EOF | 3663 EOF |
3572 if { (eval echo configure:3573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3573 rm -rf conftest* | 3665 rm -rf conftest* |
3574 ac_cv_decl_sys_siglist=yes | 3666 ac_cv_decl_sys_siglist=yes |
3575 else | 3667 else |
3576 echo "configure: failed program was:" >&5 | 3668 echo "configure: failed program was:" >&5 |
3577 cat conftest.$ac_ext >&5 | 3669 cat conftest.$ac_ext >&5 |
3592 | 3684 |
3593 fi | 3685 fi |
3594 | 3686 |
3595 | 3687 |
3596 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3688 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3597 echo "configure:3598: checking for struct utimbuf" >&5 | 3689 echo "configure:3690: checking for struct utimbuf" >&5 |
3598 cat > conftest.$ac_ext <<EOF | 3690 cat > conftest.$ac_ext <<EOF |
3599 #line 3600 "configure" | 3691 #line 3692 "configure" |
3600 #include "confdefs.h" | 3692 #include "confdefs.h" |
3601 #ifdef TIME_WITH_SYS_TIME | 3693 #ifdef TIME_WITH_SYS_TIME |
3602 #include <sys/time.h> | 3694 #include <sys/time.h> |
3603 #include <time.h> | 3695 #include <time.h> |
3604 #else | 3696 #else |
3613 #endif | 3705 #endif |
3614 int main() { | 3706 int main() { |
3615 static struct utimbuf x; x.actime = x.modtime; | 3707 static struct utimbuf x; x.actime = x.modtime; |
3616 ; return 0; } | 3708 ; return 0; } |
3617 EOF | 3709 EOF |
3618 if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3710 if { (eval echo configure:3711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3619 rm -rf conftest* | 3711 rm -rf conftest* |
3620 echo "$ac_t""yes" 1>&6 | 3712 echo "$ac_t""yes" 1>&6 |
3621 { test "$extra_verbose" = "yes" && cat << \EOF | 3713 { test "$extra_verbose" = "yes" && cat << \EOF |
3622 Defining HAVE_STRUCT_UTIMBUF | 3714 Defining HAVE_STRUCT_UTIMBUF |
3623 EOF | 3715 EOF |
3633 echo "$ac_t""no" 1>&6 | 3725 echo "$ac_t""no" 1>&6 |
3634 fi | 3726 fi |
3635 rm -f conftest* | 3727 rm -f conftest* |
3636 | 3728 |
3637 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3729 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3638 echo "configure:3639: checking return type of signal handlers" >&5 | 3730 echo "configure:3731: checking return type of signal handlers" >&5 |
3639 | 3731 |
3640 cat > conftest.$ac_ext <<EOF | 3732 cat > conftest.$ac_ext <<EOF |
3641 #line 3642 "configure" | 3733 #line 3734 "configure" |
3642 #include "confdefs.h" | 3734 #include "confdefs.h" |
3643 #include <sys/types.h> | 3735 #include <sys/types.h> |
3644 #include <signal.h> | 3736 #include <signal.h> |
3645 #ifdef signal | 3737 #ifdef signal |
3646 #undef signal | 3738 #undef signal |
3653 | 3745 |
3654 int main() { | 3746 int main() { |
3655 int i; | 3747 int i; |
3656 ; return 0; } | 3748 ; return 0; } |
3657 EOF | 3749 EOF |
3658 if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3750 if { (eval echo configure:3751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3659 rm -rf conftest* | 3751 rm -rf conftest* |
3660 ac_cv_type_signal=void | 3752 ac_cv_type_signal=void |
3661 else | 3753 else |
3662 echo "configure: failed program was:" >&5 | 3754 echo "configure: failed program was:" >&5 |
3663 cat conftest.$ac_ext >&5 | 3755 cat conftest.$ac_ext >&5 |
3675 EOF | 3767 EOF |
3676 } | 3768 } |
3677 | 3769 |
3678 | 3770 |
3679 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3771 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3680 echo "configure:3681: checking for size_t" >&5 | 3772 echo "configure:3773: checking for size_t" >&5 |
3681 | 3773 |
3682 cat > conftest.$ac_ext <<EOF | 3774 cat > conftest.$ac_ext <<EOF |
3683 #line 3684 "configure" | 3775 #line 3776 "configure" |
3684 #include "confdefs.h" | 3776 #include "confdefs.h" |
3685 #include <sys/types.h> | 3777 #include <sys/types.h> |
3686 #if STDC_HEADERS | 3778 #if STDC_HEADERS |
3687 #include <stdlib.h> | 3779 #include <stdlib.h> |
3688 #include <stddef.h> | 3780 #include <stddef.h> |
3709 } | 3801 } |
3710 | 3802 |
3711 fi | 3803 fi |
3712 | 3804 |
3713 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3805 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3714 echo "configure:3715: checking for pid_t" >&5 | 3806 echo "configure:3807: checking for pid_t" >&5 |
3715 | 3807 |
3716 cat > conftest.$ac_ext <<EOF | 3808 cat > conftest.$ac_ext <<EOF |
3717 #line 3718 "configure" | 3809 #line 3810 "configure" |
3718 #include "confdefs.h" | 3810 #include "confdefs.h" |
3719 #include <sys/types.h> | 3811 #include <sys/types.h> |
3720 #if STDC_HEADERS | 3812 #if STDC_HEADERS |
3721 #include <stdlib.h> | 3813 #include <stdlib.h> |
3722 #include <stddef.h> | 3814 #include <stddef.h> |
3743 } | 3835 } |
3744 | 3836 |
3745 fi | 3837 fi |
3746 | 3838 |
3747 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3839 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3748 echo "configure:3749: checking for uid_t in sys/types.h" >&5 | 3840 echo "configure:3841: checking for uid_t in sys/types.h" >&5 |
3749 | 3841 |
3750 cat > conftest.$ac_ext <<EOF | 3842 cat > conftest.$ac_ext <<EOF |
3751 #line 3752 "configure" | 3843 #line 3844 "configure" |
3752 #include "confdefs.h" | 3844 #include "confdefs.h" |
3753 #include <sys/types.h> | 3845 #include <sys/types.h> |
3754 EOF | 3846 EOF |
3755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3756 egrep "uid_t" >/dev/null 2>&1; then | 3848 egrep "uid_t" >/dev/null 2>&1; then |
3782 } | 3874 } |
3783 | 3875 |
3784 fi | 3876 fi |
3785 | 3877 |
3786 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3878 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3787 echo "configure:3788: checking for mode_t" >&5 | 3879 echo "configure:3880: checking for mode_t" >&5 |
3788 | 3880 |
3789 cat > conftest.$ac_ext <<EOF | 3881 cat > conftest.$ac_ext <<EOF |
3790 #line 3791 "configure" | 3882 #line 3883 "configure" |
3791 #include "confdefs.h" | 3883 #include "confdefs.h" |
3792 #include <sys/types.h> | 3884 #include <sys/types.h> |
3793 #if STDC_HEADERS | 3885 #if STDC_HEADERS |
3794 #include <stdlib.h> | 3886 #include <stdlib.h> |
3795 #include <stddef.h> | 3887 #include <stddef.h> |
3816 } | 3908 } |
3817 | 3909 |
3818 fi | 3910 fi |
3819 | 3911 |
3820 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3912 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3821 echo "configure:3822: checking for off_t" >&5 | 3913 echo "configure:3914: checking for off_t" >&5 |
3822 | 3914 |
3823 cat > conftest.$ac_ext <<EOF | 3915 cat > conftest.$ac_ext <<EOF |
3824 #line 3825 "configure" | 3916 #line 3917 "configure" |
3825 #include "confdefs.h" | 3917 #include "confdefs.h" |
3826 #include <sys/types.h> | 3918 #include <sys/types.h> |
3827 #if STDC_HEADERS | 3919 #if STDC_HEADERS |
3828 #include <stdlib.h> | 3920 #include <stdlib.h> |
3829 #include <stddef.h> | 3921 #include <stddef.h> |
3850 } | 3942 } |
3851 | 3943 |
3852 fi | 3944 fi |
3853 | 3945 |
3854 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 3946 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
3855 echo "configure:3856: checking for ssize_t" >&5 | 3947 echo "configure:3948: checking for ssize_t" >&5 |
3856 | 3948 |
3857 cat > conftest.$ac_ext <<EOF | 3949 cat > conftest.$ac_ext <<EOF |
3858 #line 3859 "configure" | 3950 #line 3951 "configure" |
3859 #include "confdefs.h" | 3951 #include "confdefs.h" |
3860 #include <sys/types.h> | 3952 #include <sys/types.h> |
3861 #if STDC_HEADERS | 3953 #if STDC_HEADERS |
3862 #include <stdlib.h> | 3954 #include <stdlib.h> |
3863 #include <stddef.h> | 3955 #include <stddef.h> |
3884 } | 3976 } |
3885 | 3977 |
3886 fi | 3978 fi |
3887 | 3979 |
3888 | 3980 |
3981 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | |
3982 echo "configure:3983: checking for socklen_t" >&5 | |
3983 cat > conftest.$ac_ext <<EOF | |
3984 #line 3985 "configure" | |
3985 #include "confdefs.h" | |
3986 #include <sys/socket.h> | |
3987 socklen_t x; | |
3988 | |
3989 int main() { | |
3990 | |
3991 ; return 0; } | |
3992 EOF | |
3993 if { (eval echo configure:3994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3994 rm -rf conftest* | |
3995 echo "$ac_t""yes" 1>&6 | |
3996 else | |
3997 echo "configure: failed program was:" >&5 | |
3998 cat conftest.$ac_ext >&5 | |
3999 rm -rf conftest* | |
4000 | |
4001 cat > conftest.$ac_ext <<EOF | |
4002 #line 4003 "configure" | |
4003 #include "confdefs.h" | |
4004 #include <sys/socket.h> | |
4005 int accept (int, struct sockaddr *, size_t *); | |
4006 | |
4007 int main() { | |
4008 | |
4009 ; return 0; } | |
4010 EOF | |
4011 if { (eval echo configure:4012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4012 rm -rf conftest* | |
4013 | |
4014 echo "$ac_t""size_t" 1>&6 | |
4015 { test "$extra_verbose" = "yes" && cat << \EOF | |
4016 Defining socklen_t = size_t | |
4017 EOF | |
4018 cat >> confdefs.h <<\EOF | |
4019 #define socklen_t size_t | |
4020 EOF | |
4021 } | |
4022 | |
4023 else | |
4024 echo "configure: failed program was:" >&5 | |
4025 cat conftest.$ac_ext >&5 | |
4026 rm -rf conftest* | |
4027 | |
4028 echo "$ac_t""int" 1>&6 | |
4029 { test "$extra_verbose" = "yes" && cat << \EOF | |
4030 Defining socklen_t = int | |
4031 EOF | |
4032 cat >> confdefs.h <<\EOF | |
4033 #define socklen_t int | |
4034 EOF | |
4035 } | |
4036 | |
4037 fi | |
4038 rm -f conftest* | |
4039 fi | |
4040 rm -f conftest* | |
4041 | |
3889 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4042 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3890 echo "configure:3891: checking for struct timeval" >&5 | 4043 echo "configure:4044: checking for struct timeval" >&5 |
3891 cat > conftest.$ac_ext <<EOF | 4044 cat > conftest.$ac_ext <<EOF |
3892 #line 3893 "configure" | 4045 #line 4046 "configure" |
3893 #include "confdefs.h" | 4046 #include "confdefs.h" |
3894 #ifdef TIME_WITH_SYS_TIME | 4047 #ifdef TIME_WITH_SYS_TIME |
3895 #include <sys/time.h> | 4048 #include <sys/time.h> |
3896 #include <time.h> | 4049 #include <time.h> |
3897 #else | 4050 #else |
3903 #endif | 4056 #endif |
3904 int main() { | 4057 int main() { |
3905 static struct timeval x; x.tv_sec = x.tv_usec; | 4058 static struct timeval x; x.tv_sec = x.tv_usec; |
3906 ; return 0; } | 4059 ; return 0; } |
3907 EOF | 4060 EOF |
3908 if { (eval echo configure:3909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4061 if { (eval echo configure:4062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3909 rm -rf conftest* | 4062 rm -rf conftest* |
3910 echo "$ac_t""yes" 1>&6 | 4063 echo "$ac_t""yes" 1>&6 |
3911 HAVE_TIMEVAL=yes | 4064 HAVE_TIMEVAL=yes |
3912 { test "$extra_verbose" = "yes" && cat << \EOF | 4065 { test "$extra_verbose" = "yes" && cat << \EOF |
3913 Defining HAVE_TIMEVAL | 4066 Defining HAVE_TIMEVAL |
3925 HAVE_TIMEVAL=no | 4078 HAVE_TIMEVAL=no |
3926 fi | 4079 fi |
3927 rm -f conftest* | 4080 rm -f conftest* |
3928 | 4081 |
3929 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4082 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3930 echo "configure:3931: checking whether struct tm is in sys/time.h or time.h" >&5 | 4083 echo "configure:4084: checking whether struct tm is in sys/time.h or time.h" >&5 |
3931 | 4084 |
3932 cat > conftest.$ac_ext <<EOF | 4085 cat > conftest.$ac_ext <<EOF |
3933 #line 3934 "configure" | 4086 #line 4087 "configure" |
3934 #include "confdefs.h" | 4087 #include "confdefs.h" |
3935 #include <sys/types.h> | 4088 #include <sys/types.h> |
3936 #include <time.h> | 4089 #include <time.h> |
3937 int main() { | 4090 int main() { |
3938 struct tm *tp; tp->tm_sec; | 4091 struct tm *tp; tp->tm_sec; |
3939 ; return 0; } | 4092 ; return 0; } |
3940 EOF | 4093 EOF |
3941 if { (eval echo configure:3942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4094 if { (eval echo configure:4095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3942 rm -rf conftest* | 4095 rm -rf conftest* |
3943 ac_cv_struct_tm=time.h | 4096 ac_cv_struct_tm=time.h |
3944 else | 4097 else |
3945 echo "configure: failed program was:" >&5 | 4098 echo "configure: failed program was:" >&5 |
3946 cat conftest.$ac_ext >&5 | 4099 cat conftest.$ac_ext >&5 |
3960 } | 4113 } |
3961 | 4114 |
3962 fi | 4115 fi |
3963 | 4116 |
3964 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4117 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3965 echo "configure:3966: checking for tm_zone in struct tm" >&5 | 4118 echo "configure:4119: checking for tm_zone in struct tm" >&5 |
3966 | 4119 |
3967 cat > conftest.$ac_ext <<EOF | 4120 cat > conftest.$ac_ext <<EOF |
3968 #line 3969 "configure" | 4121 #line 4122 "configure" |
3969 #include "confdefs.h" | 4122 #include "confdefs.h" |
3970 #include <sys/types.h> | 4123 #include <sys/types.h> |
3971 #include <$ac_cv_struct_tm> | 4124 #include <$ac_cv_struct_tm> |
3972 int main() { | 4125 int main() { |
3973 struct tm tm; tm.tm_zone; | 4126 struct tm tm; tm.tm_zone; |
3974 ; return 0; } | 4127 ; return 0; } |
3975 EOF | 4128 EOF |
3976 if { (eval echo configure:3977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4129 if { (eval echo configure:4130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3977 rm -rf conftest* | 4130 rm -rf conftest* |
3978 ac_cv_struct_tm_zone=yes | 4131 ac_cv_struct_tm_zone=yes |
3979 else | 4132 else |
3980 echo "configure: failed program was:" >&5 | 4133 echo "configure: failed program was:" >&5 |
3981 cat conftest.$ac_ext >&5 | 4134 cat conftest.$ac_ext >&5 |
3994 EOF | 4147 EOF |
3995 } | 4148 } |
3996 | 4149 |
3997 else | 4150 else |
3998 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4151 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3999 echo "configure:4000: checking for tzname" >&5 | 4152 echo "configure:4153: checking for tzname" >&5 |
4000 | 4153 |
4001 cat > conftest.$ac_ext <<EOF | 4154 cat > conftest.$ac_ext <<EOF |
4002 #line 4003 "configure" | 4155 #line 4156 "configure" |
4003 #include "confdefs.h" | 4156 #include "confdefs.h" |
4004 #include <time.h> | 4157 #include <time.h> |
4005 #ifndef tzname /* For SGI. */ | 4158 #ifndef tzname /* For SGI. */ |
4006 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4159 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4007 #endif | 4160 #endif |
4008 int main() { | 4161 int main() { |
4009 atoi(*tzname); | 4162 atoi(*tzname); |
4010 ; return 0; } | 4163 ; return 0; } |
4011 EOF | 4164 EOF |
4012 if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4165 if { (eval echo configure:4166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4013 rm -rf conftest* | 4166 rm -rf conftest* |
4014 ac_cv_var_tzname=yes | 4167 ac_cv_var_tzname=yes |
4015 else | 4168 else |
4016 echo "configure: failed program was:" >&5 | 4169 echo "configure: failed program was:" >&5 |
4017 cat conftest.$ac_ext >&5 | 4170 cat conftest.$ac_ext >&5 |
4033 fi | 4186 fi |
4034 fi | 4187 fi |
4035 | 4188 |
4036 | 4189 |
4037 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4190 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4038 echo "configure:4039: checking for working const" >&5 | 4191 echo "configure:4192: checking for working const" >&5 |
4039 | 4192 |
4040 cat > conftest.$ac_ext <<EOF | 4193 cat > conftest.$ac_ext <<EOF |
4041 #line 4042 "configure" | 4194 #line 4195 "configure" |
4042 #include "confdefs.h" | 4195 #include "confdefs.h" |
4043 | 4196 |
4044 int main() { | 4197 int main() { |
4045 | 4198 |
4046 /* Ultrix mips cc rejects this. */ | 4199 /* Ultrix mips cc rejects this. */ |
4085 const int foo = 10; | 4238 const int foo = 10; |
4086 } | 4239 } |
4087 | 4240 |
4088 ; return 0; } | 4241 ; return 0; } |
4089 EOF | 4242 EOF |
4090 if { (eval echo configure:4091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4243 if { (eval echo configure:4244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4091 rm -rf conftest* | 4244 rm -rf conftest* |
4092 ac_cv_c_const=yes | 4245 ac_cv_c_const=yes |
4093 else | 4246 else |
4094 echo "configure: failed program was:" >&5 | 4247 echo "configure: failed program was:" >&5 |
4095 cat conftest.$ac_ext >&5 | 4248 cat conftest.$ac_ext >&5 |
4110 | 4263 |
4111 fi | 4264 fi |
4112 | 4265 |
4113 | 4266 |
4114 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4267 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4115 echo "configure:4116: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4268 echo "configure:4269: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4116 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4269 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4117 | 4270 |
4118 cat > conftestmake <<\EOF | 4271 cat > conftestmake <<\EOF |
4119 all: | 4272 all: |
4120 @echo 'ac_maketemp="${MAKE}"' | 4273 @echo 'ac_maketemp="${MAKE}"' |
4135 SET_MAKE="MAKE=${MAKE-make}" | 4288 SET_MAKE="MAKE=${MAKE-make}" |
4136 fi | 4289 fi |
4137 | 4290 |
4138 | 4291 |
4139 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4292 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4140 echo "configure:4141: checking whether byte ordering is bigendian" >&5 | 4293 echo "configure:4294: checking whether byte ordering is bigendian" >&5 |
4141 | 4294 |
4142 ac_cv_c_bigendian=unknown | 4295 ac_cv_c_bigendian=unknown |
4143 # See if sys/param.h defines the BYTE_ORDER macro. | 4296 # See if sys/param.h defines the BYTE_ORDER macro. |
4144 cat > conftest.$ac_ext <<EOF | 4297 cat > conftest.$ac_ext <<EOF |
4145 #line 4146 "configure" | 4298 #line 4299 "configure" |
4146 #include "confdefs.h" | 4299 #include "confdefs.h" |
4147 #include <sys/types.h> | 4300 #include <sys/types.h> |
4148 #include <sys/param.h> | 4301 #include <sys/param.h> |
4149 int main() { | 4302 int main() { |
4150 | 4303 |
4151 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4304 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4152 bogus endian macros | 4305 bogus endian macros |
4153 #endif | 4306 #endif |
4154 ; return 0; } | 4307 ; return 0; } |
4155 EOF | 4308 EOF |
4156 if { (eval echo configure:4157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4309 if { (eval echo configure:4310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4157 rm -rf conftest* | 4310 rm -rf conftest* |
4158 # It does; now see whether it defined to BIG_ENDIAN or not. | 4311 # It does; now see whether it defined to BIG_ENDIAN or not. |
4159 cat > conftest.$ac_ext <<EOF | 4312 cat > conftest.$ac_ext <<EOF |
4160 #line 4161 "configure" | 4313 #line 4314 "configure" |
4161 #include "confdefs.h" | 4314 #include "confdefs.h" |
4162 #include <sys/types.h> | 4315 #include <sys/types.h> |
4163 #include <sys/param.h> | 4316 #include <sys/param.h> |
4164 int main() { | 4317 int main() { |
4165 | 4318 |
4166 #if BYTE_ORDER != BIG_ENDIAN | 4319 #if BYTE_ORDER != BIG_ENDIAN |
4167 not big endian | 4320 not big endian |
4168 #endif | 4321 #endif |
4169 ; return 0; } | 4322 ; return 0; } |
4170 EOF | 4323 EOF |
4171 if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4324 if { (eval echo configure:4325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4172 rm -rf conftest* | 4325 rm -rf conftest* |
4173 ac_cv_c_bigendian=yes | 4326 ac_cv_c_bigendian=yes |
4174 else | 4327 else |
4175 echo "configure: failed program was:" >&5 | 4328 echo "configure: failed program was:" >&5 |
4176 cat conftest.$ac_ext >&5 | 4329 cat conftest.$ac_ext >&5 |
4183 cat conftest.$ac_ext >&5 | 4336 cat conftest.$ac_ext >&5 |
4184 fi | 4337 fi |
4185 rm -f conftest* | 4338 rm -f conftest* |
4186 if test $ac_cv_c_bigendian = unknown; then | 4339 if test $ac_cv_c_bigendian = unknown; then |
4187 cat > conftest.$ac_ext <<EOF | 4340 cat > conftest.$ac_ext <<EOF |
4188 #line 4189 "configure" | 4341 #line 4342 "configure" |
4189 #include "confdefs.h" | 4342 #include "confdefs.h" |
4190 main () { | 4343 main () { |
4191 /* Are we little or big endian? From Harbison&Steele. */ | 4344 /* Are we little or big endian? From Harbison&Steele. */ |
4192 union | 4345 union |
4193 { | 4346 { |
4196 } u; | 4349 } u; |
4197 u.l = 1; | 4350 u.l = 1; |
4198 exit (u.c[sizeof (long) - 1] == 1); | 4351 exit (u.c[sizeof (long) - 1] == 1); |
4199 } | 4352 } |
4200 EOF | 4353 EOF |
4201 if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4354 if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4202 then | 4355 then |
4203 ac_cv_c_bigendian=no | 4356 ac_cv_c_bigendian=no |
4204 else | 4357 else |
4205 conftest_rc="$?" | 4358 conftest_rc="$?" |
4206 echo "configure: failed program was:" >&5 | 4359 echo "configure: failed program was:" >&5 |
4223 | 4376 |
4224 fi | 4377 fi |
4225 | 4378 |
4226 | 4379 |
4227 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4380 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4228 echo "configure:4229: checking size of short" >&5 | 4381 echo "configure:4382: checking size of short" >&5 |
4229 | 4382 |
4230 cat > conftest.$ac_ext <<EOF | 4383 cat > conftest.$ac_ext <<EOF |
4231 #line 4232 "configure" | 4384 #line 4385 "configure" |
4232 #include "confdefs.h" | 4385 #include "confdefs.h" |
4233 #include <stdio.h> | 4386 #include <stdio.h> |
4234 main() | 4387 main() |
4235 { | 4388 { |
4236 FILE *f=fopen("conftestval", "w"); | 4389 FILE *f=fopen("conftestval", "w"); |
4237 if (!f) exit(1); | 4390 if (!f) exit(1); |
4238 fprintf(f, "%d\n", sizeof(short)); | 4391 fprintf(f, "%d\n", sizeof(short)); |
4239 exit(0); | 4392 exit(0); |
4240 } | 4393 } |
4241 EOF | 4394 EOF |
4242 if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4395 if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4243 then | 4396 then |
4244 ac_cv_sizeof_short=`cat conftestval` | 4397 ac_cv_sizeof_short=`cat conftestval` |
4245 else | 4398 else |
4246 conftest_rc="$?" | 4399 conftest_rc="$?" |
4247 echo "configure: failed program was:" >&5 | 4400 echo "configure: failed program was:" >&5 |
4265 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4418 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4266 echo "*** PANIC *** Please examine config.log for compilation errors." | 4419 echo "*** PANIC *** Please examine config.log for compilation errors." |
4267 exit 1 | 4420 exit 1 |
4268 fi | 4421 fi |
4269 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4422 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4270 echo "configure:4271: checking size of int" >&5 | 4423 echo "configure:4424: checking size of int" >&5 |
4271 | 4424 |
4272 cat > conftest.$ac_ext <<EOF | 4425 cat > conftest.$ac_ext <<EOF |
4273 #line 4274 "configure" | 4426 #line 4427 "configure" |
4274 #include "confdefs.h" | 4427 #include "confdefs.h" |
4275 #include <stdio.h> | 4428 #include <stdio.h> |
4276 main() | 4429 main() |
4277 { | 4430 { |
4278 FILE *f=fopen("conftestval", "w"); | 4431 FILE *f=fopen("conftestval", "w"); |
4279 if (!f) exit(1); | 4432 if (!f) exit(1); |
4280 fprintf(f, "%d\n", sizeof(int)); | 4433 fprintf(f, "%d\n", sizeof(int)); |
4281 exit(0); | 4434 exit(0); |
4282 } | 4435 } |
4283 EOF | 4436 EOF |
4284 if { (eval echo configure:4285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4285 then | 4438 then |
4286 ac_cv_sizeof_int=`cat conftestval` | 4439 ac_cv_sizeof_int=`cat conftestval` |
4287 else | 4440 else |
4288 conftest_rc="$?" | 4441 conftest_rc="$?" |
4289 echo "configure: failed program was:" >&5 | 4442 echo "configure: failed program was:" >&5 |
4301 EOF | 4454 EOF |
4302 } | 4455 } |
4303 | 4456 |
4304 | 4457 |
4305 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4458 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4306 echo "configure:4307: checking size of long" >&5 | 4459 echo "configure:4460: checking size of long" >&5 |
4307 | 4460 |
4308 cat > conftest.$ac_ext <<EOF | 4461 cat > conftest.$ac_ext <<EOF |
4309 #line 4310 "configure" | 4462 #line 4463 "configure" |
4310 #include "confdefs.h" | 4463 #include "confdefs.h" |
4311 #include <stdio.h> | 4464 #include <stdio.h> |
4312 main() | 4465 main() |
4313 { | 4466 { |
4314 FILE *f=fopen("conftestval", "w"); | 4467 FILE *f=fopen("conftestval", "w"); |
4315 if (!f) exit(1); | 4468 if (!f) exit(1); |
4316 fprintf(f, "%d\n", sizeof(long)); | 4469 fprintf(f, "%d\n", sizeof(long)); |
4317 exit(0); | 4470 exit(0); |
4318 } | 4471 } |
4319 EOF | 4472 EOF |
4320 if { (eval echo configure:4321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4473 if { (eval echo configure:4474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4321 then | 4474 then |
4322 ac_cv_sizeof_long=`cat conftestval` | 4475 ac_cv_sizeof_long=`cat conftestval` |
4323 else | 4476 else |
4324 conftest_rc="$?" | 4477 conftest_rc="$?" |
4325 echo "configure: failed program was:" >&5 | 4478 echo "configure: failed program was:" >&5 |
4337 EOF | 4490 EOF |
4338 } | 4491 } |
4339 | 4492 |
4340 | 4493 |
4341 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4494 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4342 echo "configure:4343: checking size of long long" >&5 | 4495 echo "configure:4496: checking size of long long" >&5 |
4343 | 4496 |
4344 cat > conftest.$ac_ext <<EOF | 4497 cat > conftest.$ac_ext <<EOF |
4345 #line 4346 "configure" | 4498 #line 4499 "configure" |
4346 #include "confdefs.h" | 4499 #include "confdefs.h" |
4347 #include <stdio.h> | 4500 #include <stdio.h> |
4348 main() | 4501 main() |
4349 { | 4502 { |
4350 FILE *f=fopen("conftestval", "w"); | 4503 FILE *f=fopen("conftestval", "w"); |
4351 if (!f) exit(1); | 4504 if (!f) exit(1); |
4352 fprintf(f, "%d\n", sizeof(long long)); | 4505 fprintf(f, "%d\n", sizeof(long long)); |
4353 exit(0); | 4506 exit(0); |
4354 } | 4507 } |
4355 EOF | 4508 EOF |
4356 if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4509 if { (eval echo configure:4510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4357 then | 4510 then |
4358 ac_cv_sizeof_long_long=`cat conftestval` | 4511 ac_cv_sizeof_long_long=`cat conftestval` |
4359 else | 4512 else |
4360 conftest_rc="$?" | 4513 conftest_rc="$?" |
4361 echo "configure: failed program was:" >&5 | 4514 echo "configure: failed program was:" >&5 |
4373 EOF | 4526 EOF |
4374 } | 4527 } |
4375 | 4528 |
4376 | 4529 |
4377 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4530 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4378 echo "configure:4379: checking size of void *" >&5 | 4531 echo "configure:4532: checking size of void *" >&5 |
4379 | 4532 |
4380 cat > conftest.$ac_ext <<EOF | 4533 cat > conftest.$ac_ext <<EOF |
4381 #line 4382 "configure" | 4534 #line 4535 "configure" |
4382 #include "confdefs.h" | 4535 #include "confdefs.h" |
4383 #include <stdio.h> | 4536 #include <stdio.h> |
4384 main() | 4537 main() |
4385 { | 4538 { |
4386 FILE *f=fopen("conftestval", "w"); | 4539 FILE *f=fopen("conftestval", "w"); |
4387 if (!f) exit(1); | 4540 if (!f) exit(1); |
4388 fprintf(f, "%d\n", sizeof(void *)); | 4541 fprintf(f, "%d\n", sizeof(void *)); |
4389 exit(0); | 4542 exit(0); |
4390 } | 4543 } |
4391 EOF | 4544 EOF |
4392 if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4545 if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4393 then | 4546 then |
4394 ac_cv_sizeof_void_p=`cat conftestval` | 4547 ac_cv_sizeof_void_p=`cat conftestval` |
4395 else | 4548 else |
4396 conftest_rc="$?" | 4549 conftest_rc="$?" |
4397 echo "configure: failed program was:" >&5 | 4550 echo "configure: failed program was:" >&5 |
4410 } | 4563 } |
4411 | 4564 |
4412 | 4565 |
4413 | 4566 |
4414 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4567 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4415 echo "configure:4416: checking for long file names" >&5 | 4568 echo "configure:4569: checking for long file names" >&5 |
4416 | 4569 |
4417 ac_cv_sys_long_file_names=yes | 4570 ac_cv_sys_long_file_names=yes |
4418 # Test for long file names in all the places we know might matter: | 4571 # Test for long file names in all the places we know might matter: |
4419 # . the current directory, where building will happen | 4572 # . the current directory, where building will happen |
4420 # $prefix/lib where we will be installing things | 4573 # $prefix/lib where we will be installing things |
4456 | 4609 |
4457 fi | 4610 fi |
4458 | 4611 |
4459 | 4612 |
4460 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4613 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4461 echo "configure:4462: checking for sin" >&5 | 4614 echo "configure:4615: checking for sin" >&5 |
4462 | 4615 |
4463 cat > conftest.$ac_ext <<EOF | 4616 cat > conftest.$ac_ext <<EOF |
4464 #line 4465 "configure" | 4617 #line 4618 "configure" |
4465 #include "confdefs.h" | 4618 #include "confdefs.h" |
4466 /* System header to define __stub macros and hopefully few prototypes, | 4619 /* System header to define __stub macros and hopefully few prototypes, |
4467 which can conflict with char sin(); below. */ | 4620 which can conflict with char sin(); below. */ |
4468 #include <assert.h> | 4621 #include <assert.h> |
4469 /* Override any gcc2 internal prototype to avoid an error. */ | 4622 /* Override any gcc2 internal prototype to avoid an error. */ |
4482 sin(); | 4635 sin(); |
4483 #endif | 4636 #endif |
4484 | 4637 |
4485 ; return 0; } | 4638 ; return 0; } |
4486 EOF | 4639 EOF |
4487 if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4640 if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4488 rm -rf conftest* | 4641 rm -rf conftest* |
4489 eval "ac_cv_func_sin=yes" | 4642 eval "ac_cv_func_sin=yes" |
4490 else | 4643 else |
4491 echo "configure: failed program was:" >&5 | 4644 echo "configure: failed program was:" >&5 |
4492 cat conftest.$ac_ext >&5 | 4645 cat conftest.$ac_ext >&5 |
4500 : | 4653 : |
4501 else | 4654 else |
4502 echo "$ac_t""no" 1>&6 | 4655 echo "$ac_t""no" 1>&6 |
4503 | 4656 |
4504 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4657 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4505 echo "configure:4506: checking for sin in -lm" >&5 | 4658 echo "configure:4659: checking for sin in -lm" >&5 |
4506 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4659 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4507 | 4660 |
4508 xe_check_libs=" -lm " | 4661 xe_check_libs=" -lm " |
4509 cat > conftest.$ac_ext <<EOF | 4662 cat > conftest.$ac_ext <<EOF |
4510 #line 4511 "configure" | 4663 #line 4664 "configure" |
4511 #include "confdefs.h" | 4664 #include "confdefs.h" |
4512 /* Override any gcc2 internal prototype to avoid an error. */ | 4665 /* Override any gcc2 internal prototype to avoid an error. */ |
4513 /* We use char because int might match the return type of a gcc2 | 4666 /* We use char because int might match the return type of a gcc2 |
4514 builtin and then its argument prototype would still apply. */ | 4667 builtin and then its argument prototype would still apply. */ |
4515 char sin(); | 4668 char sin(); |
4516 | 4669 |
4517 int main() { | 4670 int main() { |
4518 sin() | 4671 sin() |
4519 ; return 0; } | 4672 ; return 0; } |
4520 EOF | 4673 EOF |
4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4522 rm -rf conftest* | 4675 rm -rf conftest* |
4523 eval "ac_cv_lib_$ac_lib_var=yes" | 4676 eval "ac_cv_lib_$ac_lib_var=yes" |
4524 else | 4677 else |
4525 echo "configure: failed program was:" >&5 | 4678 echo "configure: failed program was:" >&5 |
4526 cat conftest.$ac_ext >&5 | 4679 cat conftest.$ac_ext >&5 |
4560 EOF | 4713 EOF |
4561 } | 4714 } |
4562 | 4715 |
4563 | 4716 |
4564 cat > conftest.$ac_ext <<EOF | 4717 cat > conftest.$ac_ext <<EOF |
4565 #line 4566 "configure" | 4718 #line 4719 "configure" |
4566 #include "confdefs.h" | 4719 #include "confdefs.h" |
4567 #include <math.h> | 4720 #include <math.h> |
4568 int main() { | 4721 int main() { |
4569 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4722 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4570 ; return 0; } | 4723 ; return 0; } |
4571 EOF | 4724 EOF |
4572 if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4573 rm -rf conftest* | 4726 rm -rf conftest* |
4574 { test "$extra_verbose" = "yes" && cat << \EOF | 4727 { test "$extra_verbose" = "yes" && cat << \EOF |
4575 Defining HAVE_INVERSE_HYPERBOLIC | 4728 Defining HAVE_INVERSE_HYPERBOLIC |
4576 EOF | 4729 EOF |
4577 cat >> confdefs.h <<\EOF | 4730 cat >> confdefs.h <<\EOF |
4584 cat conftest.$ac_ext >&5 | 4737 cat conftest.$ac_ext >&5 |
4585 fi | 4738 fi |
4586 rm -f conftest* | 4739 rm -f conftest* |
4587 | 4740 |
4588 echo "checking type of mail spool file locking" 1>&6 | 4741 echo "checking type of mail spool file locking" 1>&6 |
4589 echo "configure:4590: checking type of mail spool file locking" >&5 | 4742 echo "configure:4743: checking type of mail spool file locking" >&5 |
4590 for ac_func in lockf flock | 4743 for ac_func in lockf flock |
4591 do | 4744 do |
4592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4593 echo "configure:4594: checking for $ac_func" >&5 | 4746 echo "configure:4747: checking for $ac_func" >&5 |
4594 | 4747 |
4595 cat > conftest.$ac_ext <<EOF | 4748 cat > conftest.$ac_ext <<EOF |
4596 #line 4597 "configure" | 4749 #line 4750 "configure" |
4597 #include "confdefs.h" | 4750 #include "confdefs.h" |
4598 /* System header to define __stub macros and hopefully few prototypes, | 4751 /* System header to define __stub macros and hopefully few prototypes, |
4599 which can conflict with char $ac_func(); below. */ | 4752 which can conflict with char $ac_func(); below. */ |
4600 #include <assert.h> | 4753 #include <assert.h> |
4601 /* Override any gcc2 internal prototype to avoid an error. */ | 4754 /* Override any gcc2 internal prototype to avoid an error. */ |
4614 $ac_func(); | 4767 $ac_func(); |
4615 #endif | 4768 #endif |
4616 | 4769 |
4617 ; return 0; } | 4770 ; return 0; } |
4618 EOF | 4771 EOF |
4619 if { (eval echo configure:4620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4772 if { (eval echo configure:4773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4620 rm -rf conftest* | 4773 rm -rf conftest* |
4621 eval "ac_cv_func_$ac_func=yes" | 4774 eval "ac_cv_func_$ac_func=yes" |
4622 else | 4775 else |
4623 echo "configure: failed program was:" >&5 | 4776 echo "configure: failed program was:" >&5 |
4624 cat conftest.$ac_ext >&5 | 4777 cat conftest.$ac_ext >&5 |
4644 done | 4797 done |
4645 | 4798 |
4646 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4799 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4647 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4800 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4648 test -z "$mail_locking" -a "$mail_use_locking" = "yes" && mail_locking=locking | 4801 test -z "$mail_locking" -a "$mail_use_locking" = "yes" && mail_locking=locking |
4802 if test -z "$mail_locking"; then | |
4803 case "$opsys" in cygwin* | mingw*) | |
4804 mail_locking=pop ;; | |
4805 esac | |
4806 fi | |
4807 | |
4649 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4808 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4650 Defining MAIL_LOCK_LOCKF | 4809 Defining MAIL_LOCK_LOCKF |
4651 EOF | 4810 EOF |
4652 cat >> confdefs.h <<\EOF | 4811 cat >> confdefs.h <<\EOF |
4653 #define MAIL_LOCK_LOCKF 1 | 4812 #define MAIL_LOCK_LOCKF 1 |
4668 cat >> confdefs.h <<\EOF | 4827 cat >> confdefs.h <<\EOF |
4669 #define MAIL_LOCK_LOCKING 1 | 4828 #define MAIL_LOCK_LOCKING 1 |
4670 EOF | 4829 EOF |
4671 } | 4830 } |
4672 | 4831 |
4832 elif test "$mail_locking" = "pop"; then | |
4833 with_pop=yes | |
4834 mail_locking= | |
4673 else mail_locking="dot-locking"; { test "$extra_verbose" = "yes" && cat << \EOF | 4835 else mail_locking="dot-locking"; { test "$extra_verbose" = "yes" && cat << \EOF |
4674 Defining MAIL_LOCK_DOT | 4836 Defining MAIL_LOCK_DOT |
4675 EOF | 4837 EOF |
4676 cat >> confdefs.h <<\EOF | 4838 cat >> confdefs.h <<\EOF |
4677 #define MAIL_LOCK_DOT 1 | 4839 #define MAIL_LOCK_DOT 1 |
4687 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4849 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4688 | 4850 |
4689 case "$opsys" in decosf*) | 4851 case "$opsys" in decosf*) |
4690 | 4852 |
4691 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4853 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4692 echo "configure:4693: checking for cma_open in -lpthreads" >&5 | 4854 echo "configure:4855: checking for cma_open in -lpthreads" >&5 |
4693 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4855 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4694 | 4856 |
4695 xe_check_libs=" -lpthreads " | 4857 xe_check_libs=" -lpthreads " |
4696 cat > conftest.$ac_ext <<EOF | 4858 cat > conftest.$ac_ext <<EOF |
4697 #line 4698 "configure" | 4859 #line 4860 "configure" |
4698 #include "confdefs.h" | 4860 #include "confdefs.h" |
4699 /* Override any gcc2 internal prototype to avoid an error. */ | 4861 /* Override any gcc2 internal prototype to avoid an error. */ |
4700 /* We use char because int might match the return type of a gcc2 | 4862 /* We use char because int might match the return type of a gcc2 |
4701 builtin and then its argument prototype would still apply. */ | 4863 builtin and then its argument prototype would still apply. */ |
4702 char cma_open(); | 4864 char cma_open(); |
4703 | 4865 |
4704 int main() { | 4866 int main() { |
4705 cma_open() | 4867 cma_open() |
4706 ; return 0; } | 4868 ; return 0; } |
4707 EOF | 4869 EOF |
4708 if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4709 rm -rf conftest* | 4871 rm -rf conftest* |
4710 eval "ac_cv_lib_$ac_lib_var=yes" | 4872 eval "ac_cv_lib_$ac_lib_var=yes" |
4711 else | 4873 else |
4712 echo "configure: failed program was:" >&5 | 4874 echo "configure: failed program was:" >&5 |
4713 cat conftest.$ac_ext >&5 | 4875 cat conftest.$ac_ext >&5 |
4739 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4901 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4740 c_switch_site="$c_switch_site -threads" ;; | 4902 c_switch_site="$c_switch_site -threads" ;; |
4741 esac | 4903 esac |
4742 | 4904 |
4743 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4905 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4744 echo "configure:4745: checking whether the -xildoff compiler flag is required" >&5 | 4906 echo "configure:4907: checking whether the -xildoff compiler flag is required" >&5 |
4745 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4907 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4746 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4908 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4747 then echo "$ac_t""no" 1>&6; | 4909 then echo "$ac_t""no" 1>&6; |
4748 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 | 4910 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 |
4749 fi | 4911 fi |
4750 else echo "$ac_t""no" 1>&6 | 4912 else echo "$ac_t""no" 1>&6 |
4751 fi | 4913 fi |
4752 | 4914 |
4753 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4915 if test "$opsys" = "sol2"; then |
4754 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4916 if test "$os_release" -ge 56; then |
4755 echo "configure:4756: checking for \"-z ignore\" linker flag" >&5 | 4917 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4756 case "`ld -h 2>&1`" in | 4918 echo "configure:4919: checking for \"-z ignore\" linker flag" >&5 |
4757 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4919 case "`ld -h 2>&1`" in |
4758 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4920 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4759 *) echo "$ac_t""no" 1>&6 ;; | 4921 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4760 esac | 4922 *) echo "$ac_t""no" 1>&6 ;; |
4923 esac | |
4924 fi | |
4761 fi | 4925 fi |
4762 | 4926 |
4763 | 4927 |
4764 echo "checking "for specified window system"" 1>&6 | 4928 echo "checking "for specified window system"" 1>&6 |
4765 echo "configure:4766: checking "for specified window system"" >&5 | 4929 echo "configure:4930: checking "for specified window system"" >&5 |
4766 | 4930 |
4767 if test "$with_x11" != "no"; then | 4931 if test "$with_x11" != "no"; then |
4768 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4932 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4769 window_system=x11 with_x11=yes | 4933 window_system=x11 with_x11=yes |
4770 | 4934 |
4793 # If we find X, set shell vars x_includes and x_libraries to the | 4957 # If we find X, set shell vars x_includes and x_libraries to the |
4794 # paths, otherwise set no_x=yes. | 4958 # paths, otherwise set no_x=yes. |
4795 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4959 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4796 # --without-x overrides everything else, but does not touch the cache. | 4960 # --without-x overrides everything else, but does not touch the cache. |
4797 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4961 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4798 echo "configure:4799: checking for X" >&5 | 4962 echo "configure:4963: checking for X" >&5 |
4799 | 4963 |
4800 # Check whether --with-x or --without-x was given. | 4964 # Check whether --with-x or --without-x was given. |
4801 if test "${with_x+set}" = set; then | 4965 if test "${with_x+set}" = set; then |
4802 withval="$with_x" | 4966 withval="$with_x" |
4803 : | 4967 : |
4853 # Guess where to find include files, by looking for this one X11 .h file. | 5017 # Guess where to find include files, by looking for this one X11 .h file. |
4854 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5018 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4855 | 5019 |
4856 # First, try using that file with no special directory specified. | 5020 # First, try using that file with no special directory specified. |
4857 cat > conftest.$ac_ext <<EOF | 5021 cat > conftest.$ac_ext <<EOF |
4858 #line 4859 "configure" | 5022 #line 5023 "configure" |
4859 #include "confdefs.h" | 5023 #include "confdefs.h" |
4860 #include <$x_direct_test_include> | 5024 #include <$x_direct_test_include> |
4861 EOF | 5025 EOF |
4862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4863 { (eval echo configure:4864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5027 { (eval echo configure:5028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4865 if test -z "$ac_err"; then | 5029 if test -z "$ac_err"; then |
4866 rm -rf conftest* | 5030 rm -rf conftest* |
4867 # We can compile using X headers with no special include directory. | 5031 # We can compile using X headers with no special include directory. |
4868 ac_x_includes= | 5032 ac_x_includes= |
4927 # See if we find them without any special options. | 5091 # See if we find them without any special options. |
4928 # Don't add to $LIBS permanently. | 5092 # Don't add to $LIBS permanently. |
4929 ac_save_LIBS="$LIBS" | 5093 ac_save_LIBS="$LIBS" |
4930 LIBS="-l$x_direct_test_library $LIBS" | 5094 LIBS="-l$x_direct_test_library $LIBS" |
4931 cat > conftest.$ac_ext <<EOF | 5095 cat > conftest.$ac_ext <<EOF |
4932 #line 4933 "configure" | 5096 #line 5097 "configure" |
4933 #include "confdefs.h" | 5097 #include "confdefs.h" |
4934 | 5098 |
4935 int main() { | 5099 int main() { |
4936 ${x_direct_test_function}() | 5100 ${x_direct_test_function}() |
4937 ; return 0; } | 5101 ; return 0; } |
4938 EOF | 5102 EOF |
4939 if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5103 if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4940 rm -rf conftest* | 5104 rm -rf conftest* |
4941 LIBS="$ac_save_LIBS" | 5105 LIBS="$ac_save_LIBS" |
4942 # We can link X programs with no special library path. | 5106 # We can link X programs with no special library path. |
4943 ac_x_libraries= | 5107 ac_x_libraries= |
4944 else | 5108 else |
5043 # For Solaris; some versions of Sun CC require a space after -R and | 5207 # For Solaris; some versions of Sun CC require a space after -R and |
5044 # others require no space. Words are not sufficient . . . . | 5208 # others require no space. Words are not sufficient . . . . |
5045 case "`(uname -sr) 2>/dev/null`" in | 5209 case "`(uname -sr) 2>/dev/null`" in |
5046 "SunOS 5"*) | 5210 "SunOS 5"*) |
5047 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5211 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5048 echo "configure:5049: checking whether -R must be followed by a space" >&5 | 5212 echo "configure:5213: checking whether -R must be followed by a space" >&5 |
5049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5213 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5050 cat > conftest.$ac_ext <<EOF | 5214 cat > conftest.$ac_ext <<EOF |
5051 #line 5052 "configure" | 5215 #line 5216 "configure" |
5052 #include "confdefs.h" | 5216 #include "confdefs.h" |
5053 | 5217 |
5054 int main() { | 5218 int main() { |
5055 | 5219 |
5056 ; return 0; } | 5220 ; return 0; } |
5057 EOF | 5221 EOF |
5058 if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5222 if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5059 rm -rf conftest* | 5223 rm -rf conftest* |
5060 ac_R_nospace=yes | 5224 ac_R_nospace=yes |
5061 else | 5225 else |
5062 echo "configure: failed program was:" >&5 | 5226 echo "configure: failed program was:" >&5 |
5063 cat conftest.$ac_ext >&5 | 5227 cat conftest.$ac_ext >&5 |
5069 echo "$ac_t""no" 1>&6 | 5233 echo "$ac_t""no" 1>&6 |
5070 X_LIBS="$X_LIBS -R$x_libraries" | 5234 X_LIBS="$X_LIBS -R$x_libraries" |
5071 else | 5235 else |
5072 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5236 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5073 cat > conftest.$ac_ext <<EOF | 5237 cat > conftest.$ac_ext <<EOF |
5074 #line 5075 "configure" | 5238 #line 5239 "configure" |
5075 #include "confdefs.h" | 5239 #include "confdefs.h" |
5076 | 5240 |
5077 int main() { | 5241 int main() { |
5078 | 5242 |
5079 ; return 0; } | 5243 ; return 0; } |
5080 EOF | 5244 EOF |
5081 if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5245 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5082 rm -rf conftest* | 5246 rm -rf conftest* |
5083 ac_R_space=yes | 5247 ac_R_space=yes |
5084 else | 5248 else |
5085 echo "configure: failed program was:" >&5 | 5249 echo "configure: failed program was:" >&5 |
5086 cat conftest.$ac_ext >&5 | 5250 cat conftest.$ac_ext >&5 |
5112 if test "$with_dnet" = "no" ; then | 5276 if test "$with_dnet" = "no" ; then |
5113 ac_cv_lib_dnet_dnet_ntoa=no | 5277 ac_cv_lib_dnet_dnet_ntoa=no |
5114 else | 5278 else |
5115 | 5279 |
5116 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5280 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5117 echo "configure:5118: checking for dnet_ntoa in -ldnet" >&5 | 5281 echo "configure:5282: checking for dnet_ntoa in -ldnet" >&5 |
5118 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5282 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5119 | 5283 |
5120 xe_check_libs=" -ldnet " | 5284 xe_check_libs=" -ldnet " |
5121 cat > conftest.$ac_ext <<EOF | 5285 cat > conftest.$ac_ext <<EOF |
5122 #line 5123 "configure" | 5286 #line 5287 "configure" |
5123 #include "confdefs.h" | 5287 #include "confdefs.h" |
5124 /* Override any gcc2 internal prototype to avoid an error. */ | 5288 /* Override any gcc2 internal prototype to avoid an error. */ |
5125 /* We use char because int might match the return type of a gcc2 | 5289 /* We use char because int might match the return type of a gcc2 |
5126 builtin and then its argument prototype would still apply. */ | 5290 builtin and then its argument prototype would still apply. */ |
5127 char dnet_ntoa(); | 5291 char dnet_ntoa(); |
5128 | 5292 |
5129 int main() { | 5293 int main() { |
5130 dnet_ntoa() | 5294 dnet_ntoa() |
5131 ; return 0; } | 5295 ; return 0; } |
5132 EOF | 5296 EOF |
5133 if { (eval echo configure:5134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5134 rm -rf conftest* | 5298 rm -rf conftest* |
5135 eval "ac_cv_lib_$ac_lib_var=yes" | 5299 eval "ac_cv_lib_$ac_lib_var=yes" |
5136 else | 5300 else |
5137 echo "configure: failed program was:" >&5 | 5301 echo "configure: failed program was:" >&5 |
5138 cat conftest.$ac_ext >&5 | 5302 cat conftest.$ac_ext >&5 |
5152 fi | 5316 fi |
5153 | 5317 |
5154 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5318 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5155 | 5319 |
5156 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5320 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5157 echo "configure:5158: checking for dnet_ntoa in -ldnet_stub" >&5 | 5321 echo "configure:5322: checking for dnet_ntoa in -ldnet_stub" >&5 |
5158 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5322 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5159 | 5323 |
5160 xe_check_libs=" -ldnet_stub " | 5324 xe_check_libs=" -ldnet_stub " |
5161 cat > conftest.$ac_ext <<EOF | 5325 cat > conftest.$ac_ext <<EOF |
5162 #line 5163 "configure" | 5326 #line 5327 "configure" |
5163 #include "confdefs.h" | 5327 #include "confdefs.h" |
5164 /* Override any gcc2 internal prototype to avoid an error. */ | 5328 /* Override any gcc2 internal prototype to avoid an error. */ |
5165 /* We use char because int might match the return type of a gcc2 | 5329 /* We use char because int might match the return type of a gcc2 |
5166 builtin and then its argument prototype would still apply. */ | 5330 builtin and then its argument prototype would still apply. */ |
5167 char dnet_ntoa(); | 5331 char dnet_ntoa(); |
5168 | 5332 |
5169 int main() { | 5333 int main() { |
5170 dnet_ntoa() | 5334 dnet_ntoa() |
5171 ; return 0; } | 5335 ; return 0; } |
5172 EOF | 5336 EOF |
5173 if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5174 rm -rf conftest* | 5338 rm -rf conftest* |
5175 eval "ac_cv_lib_$ac_lib_var=yes" | 5339 eval "ac_cv_lib_$ac_lib_var=yes" |
5176 else | 5340 else |
5177 echo "configure: failed program was:" >&5 | 5341 echo "configure: failed program was:" >&5 |
5178 cat conftest.$ac_ext >&5 | 5342 cat conftest.$ac_ext >&5 |
5197 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5361 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5198 # needs -lnsl. | 5362 # needs -lnsl. |
5199 # The nsl library prevents programs from opening the X display | 5363 # The nsl library prevents programs from opening the X display |
5200 # on Irix 5.2, according to dickey@clark.net. | 5364 # on Irix 5.2, according to dickey@clark.net. |
5201 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5365 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5202 echo "configure:5203: checking for gethostbyname" >&5 | 5366 echo "configure:5367: checking for gethostbyname" >&5 |
5203 | 5367 |
5204 cat > conftest.$ac_ext <<EOF | 5368 cat > conftest.$ac_ext <<EOF |
5205 #line 5206 "configure" | 5369 #line 5370 "configure" |
5206 #include "confdefs.h" | 5370 #include "confdefs.h" |
5207 /* System header to define __stub macros and hopefully few prototypes, | 5371 /* System header to define __stub macros and hopefully few prototypes, |
5208 which can conflict with char gethostbyname(); below. */ | 5372 which can conflict with char gethostbyname(); below. */ |
5209 #include <assert.h> | 5373 #include <assert.h> |
5210 /* Override any gcc2 internal prototype to avoid an error. */ | 5374 /* Override any gcc2 internal prototype to avoid an error. */ |
5223 gethostbyname(); | 5387 gethostbyname(); |
5224 #endif | 5388 #endif |
5225 | 5389 |
5226 ; return 0; } | 5390 ; return 0; } |
5227 EOF | 5391 EOF |
5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5392 if { (eval echo configure:5393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5229 rm -rf conftest* | 5393 rm -rf conftest* |
5230 eval "ac_cv_func_gethostbyname=yes" | 5394 eval "ac_cv_func_gethostbyname=yes" |
5231 else | 5395 else |
5232 echo "configure: failed program was:" >&5 | 5396 echo "configure: failed program was:" >&5 |
5233 cat conftest.$ac_ext >&5 | 5397 cat conftest.$ac_ext >&5 |
5244 fi | 5408 fi |
5245 | 5409 |
5246 if test $ac_cv_func_gethostbyname = no; then | 5410 if test $ac_cv_func_gethostbyname = no; then |
5247 | 5411 |
5248 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5412 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5249 echo "configure:5250: checking for gethostbyname in -lnsl" >&5 | 5413 echo "configure:5414: checking for gethostbyname in -lnsl" >&5 |
5250 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5414 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5251 | 5415 |
5252 xe_check_libs=" -lnsl " | 5416 xe_check_libs=" -lnsl " |
5253 cat > conftest.$ac_ext <<EOF | 5417 cat > conftest.$ac_ext <<EOF |
5254 #line 5255 "configure" | 5418 #line 5419 "configure" |
5255 #include "confdefs.h" | 5419 #include "confdefs.h" |
5256 /* Override any gcc2 internal prototype to avoid an error. */ | 5420 /* Override any gcc2 internal prototype to avoid an error. */ |
5257 /* We use char because int might match the return type of a gcc2 | 5421 /* We use char because int might match the return type of a gcc2 |
5258 builtin and then its argument prototype would still apply. */ | 5422 builtin and then its argument prototype would still apply. */ |
5259 char gethostbyname(); | 5423 char gethostbyname(); |
5260 | 5424 |
5261 int main() { | 5425 int main() { |
5262 gethostbyname() | 5426 gethostbyname() |
5263 ; return 0; } | 5427 ; return 0; } |
5264 EOF | 5428 EOF |
5265 if { (eval echo configure:5266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5266 rm -rf conftest* | 5430 rm -rf conftest* |
5267 eval "ac_cv_lib_$ac_lib_var=yes" | 5431 eval "ac_cv_lib_$ac_lib_var=yes" |
5268 else | 5432 else |
5269 echo "configure: failed program was:" >&5 | 5433 echo "configure: failed program was:" >&5 |
5270 cat conftest.$ac_ext >&5 | 5434 cat conftest.$ac_ext >&5 |
5290 # on later versions), says simon@lia.di.epfl.ch: it contains | 5454 # on later versions), says simon@lia.di.epfl.ch: it contains |
5291 # gethostby* variants that don't use the nameserver (or something). | 5455 # gethostby* variants that don't use the nameserver (or something). |
5292 # -lsocket must be given before -lnsl if both are needed. | 5456 # -lsocket must be given before -lnsl if both are needed. |
5293 # We assume that if connect needs -lnsl, so does gethostbyname. | 5457 # We assume that if connect needs -lnsl, so does gethostbyname. |
5294 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5458 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5295 echo "configure:5296: checking for connect" >&5 | 5459 echo "configure:5460: checking for connect" >&5 |
5296 | 5460 |
5297 cat > conftest.$ac_ext <<EOF | 5461 cat > conftest.$ac_ext <<EOF |
5298 #line 5299 "configure" | 5462 #line 5463 "configure" |
5299 #include "confdefs.h" | 5463 #include "confdefs.h" |
5300 /* System header to define __stub macros and hopefully few prototypes, | 5464 /* System header to define __stub macros and hopefully few prototypes, |
5301 which can conflict with char connect(); below. */ | 5465 which can conflict with char connect(); below. */ |
5302 #include <assert.h> | 5466 #include <assert.h> |
5303 /* Override any gcc2 internal prototype to avoid an error. */ | 5467 /* Override any gcc2 internal prototype to avoid an error. */ |
5316 connect(); | 5480 connect(); |
5317 #endif | 5481 #endif |
5318 | 5482 |
5319 ; return 0; } | 5483 ; return 0; } |
5320 EOF | 5484 EOF |
5321 if { (eval echo configure:5322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5322 rm -rf conftest* | 5486 rm -rf conftest* |
5323 eval "ac_cv_func_connect=yes" | 5487 eval "ac_cv_func_connect=yes" |
5324 else | 5488 else |
5325 echo "configure: failed program was:" >&5 | 5489 echo "configure: failed program was:" >&5 |
5326 cat conftest.$ac_ext >&5 | 5490 cat conftest.$ac_ext >&5 |
5339 if test $ac_cv_func_connect = no; then | 5503 if test $ac_cv_func_connect = no; then |
5340 | 5504 |
5341 xe_msg_checking="for connect in -lsocket" | 5505 xe_msg_checking="for connect in -lsocket" |
5342 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5506 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5343 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5507 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5344 echo "configure:5345: checking "$xe_msg_checking"" >&5 | 5508 echo "configure:5509: checking "$xe_msg_checking"" >&5 |
5345 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5509 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5346 | 5510 |
5347 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5511 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5348 cat > conftest.$ac_ext <<EOF | 5512 cat > conftest.$ac_ext <<EOF |
5349 #line 5350 "configure" | 5513 #line 5514 "configure" |
5350 #include "confdefs.h" | 5514 #include "confdefs.h" |
5351 /* Override any gcc2 internal prototype to avoid an error. */ | 5515 /* Override any gcc2 internal prototype to avoid an error. */ |
5352 /* We use char because int might match the return type of a gcc2 | 5516 /* We use char because int might match the return type of a gcc2 |
5353 builtin and then its argument prototype would still apply. */ | 5517 builtin and then its argument prototype would still apply. */ |
5354 char connect(); | 5518 char connect(); |
5355 | 5519 |
5356 int main() { | 5520 int main() { |
5357 connect() | 5521 connect() |
5358 ; return 0; } | 5522 ; return 0; } |
5359 EOF | 5523 EOF |
5360 if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5361 rm -rf conftest* | 5525 rm -rf conftest* |
5362 eval "ac_cv_lib_$ac_lib_var=yes" | 5526 eval "ac_cv_lib_$ac_lib_var=yes" |
5363 else | 5527 else |
5364 echo "configure: failed program was:" >&5 | 5528 echo "configure: failed program was:" >&5 |
5365 cat conftest.$ac_ext >&5 | 5529 cat conftest.$ac_ext >&5 |
5379 | 5543 |
5380 fi | 5544 fi |
5381 | 5545 |
5382 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5546 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5383 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5547 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5384 echo "configure:5385: checking for remove" >&5 | 5548 echo "configure:5549: checking for remove" >&5 |
5385 | 5549 |
5386 cat > conftest.$ac_ext <<EOF | 5550 cat > conftest.$ac_ext <<EOF |
5387 #line 5388 "configure" | 5551 #line 5552 "configure" |
5388 #include "confdefs.h" | 5552 #include "confdefs.h" |
5389 /* System header to define __stub macros and hopefully few prototypes, | 5553 /* System header to define __stub macros and hopefully few prototypes, |
5390 which can conflict with char remove(); below. */ | 5554 which can conflict with char remove(); below. */ |
5391 #include <assert.h> | 5555 #include <assert.h> |
5392 /* Override any gcc2 internal prototype to avoid an error. */ | 5556 /* Override any gcc2 internal prototype to avoid an error. */ |
5405 remove(); | 5569 remove(); |
5406 #endif | 5570 #endif |
5407 | 5571 |
5408 ; return 0; } | 5572 ; return 0; } |
5409 EOF | 5573 EOF |
5410 if { (eval echo configure:5411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5574 if { (eval echo configure:5575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5411 rm -rf conftest* | 5575 rm -rf conftest* |
5412 eval "ac_cv_func_remove=yes" | 5576 eval "ac_cv_func_remove=yes" |
5413 else | 5577 else |
5414 echo "configure: failed program was:" >&5 | 5578 echo "configure: failed program was:" >&5 |
5415 cat conftest.$ac_ext >&5 | 5579 cat conftest.$ac_ext >&5 |
5426 fi | 5590 fi |
5427 | 5591 |
5428 if test $ac_cv_func_remove = no; then | 5592 if test $ac_cv_func_remove = no; then |
5429 | 5593 |
5430 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5594 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5431 echo "configure:5432: checking for remove in -lposix" >&5 | 5595 echo "configure:5596: checking for remove in -lposix" >&5 |
5432 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5596 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5433 | 5597 |
5434 xe_check_libs=" -lposix " | 5598 xe_check_libs=" -lposix " |
5435 cat > conftest.$ac_ext <<EOF | 5599 cat > conftest.$ac_ext <<EOF |
5436 #line 5437 "configure" | 5600 #line 5601 "configure" |
5437 #include "confdefs.h" | 5601 #include "confdefs.h" |
5438 /* Override any gcc2 internal prototype to avoid an error. */ | 5602 /* Override any gcc2 internal prototype to avoid an error. */ |
5439 /* We use char because int might match the return type of a gcc2 | 5603 /* We use char because int might match the return type of a gcc2 |
5440 builtin and then its argument prototype would still apply. */ | 5604 builtin and then its argument prototype would still apply. */ |
5441 char remove(); | 5605 char remove(); |
5442 | 5606 |
5443 int main() { | 5607 int main() { |
5444 remove() | 5608 remove() |
5445 ; return 0; } | 5609 ; return 0; } |
5446 EOF | 5610 EOF |
5447 if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5448 rm -rf conftest* | 5612 rm -rf conftest* |
5449 eval "ac_cv_lib_$ac_lib_var=yes" | 5613 eval "ac_cv_lib_$ac_lib_var=yes" |
5450 else | 5614 else |
5451 echo "configure: failed program was:" >&5 | 5615 echo "configure: failed program was:" >&5 |
5452 cat conftest.$ac_ext >&5 | 5616 cat conftest.$ac_ext >&5 |
5466 | 5630 |
5467 fi | 5631 fi |
5468 | 5632 |
5469 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5633 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5470 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5634 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5471 echo "configure:5472: checking for shmat" >&5 | 5635 echo "configure:5636: checking for shmat" >&5 |
5472 | 5636 |
5473 cat > conftest.$ac_ext <<EOF | 5637 cat > conftest.$ac_ext <<EOF |
5474 #line 5475 "configure" | 5638 #line 5639 "configure" |
5475 #include "confdefs.h" | 5639 #include "confdefs.h" |
5476 /* System header to define __stub macros and hopefully few prototypes, | 5640 /* System header to define __stub macros and hopefully few prototypes, |
5477 which can conflict with char shmat(); below. */ | 5641 which can conflict with char shmat(); below. */ |
5478 #include <assert.h> | 5642 #include <assert.h> |
5479 /* Override any gcc2 internal prototype to avoid an error. */ | 5643 /* Override any gcc2 internal prototype to avoid an error. */ |
5492 shmat(); | 5656 shmat(); |
5493 #endif | 5657 #endif |
5494 | 5658 |
5495 ; return 0; } | 5659 ; return 0; } |
5496 EOF | 5660 EOF |
5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5498 rm -rf conftest* | 5662 rm -rf conftest* |
5499 eval "ac_cv_func_shmat=yes" | 5663 eval "ac_cv_func_shmat=yes" |
5500 else | 5664 else |
5501 echo "configure: failed program was:" >&5 | 5665 echo "configure: failed program was:" >&5 |
5502 cat conftest.$ac_ext >&5 | 5666 cat conftest.$ac_ext >&5 |
5513 fi | 5677 fi |
5514 | 5678 |
5515 if test $ac_cv_func_shmat = no; then | 5679 if test $ac_cv_func_shmat = no; then |
5516 | 5680 |
5517 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5681 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5518 echo "configure:5519: checking for shmat in -lipc" >&5 | 5682 echo "configure:5683: checking for shmat in -lipc" >&5 |
5519 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5683 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5520 | 5684 |
5521 xe_check_libs=" -lipc " | 5685 xe_check_libs=" -lipc " |
5522 cat > conftest.$ac_ext <<EOF | 5686 cat > conftest.$ac_ext <<EOF |
5523 #line 5524 "configure" | 5687 #line 5688 "configure" |
5524 #include "confdefs.h" | 5688 #include "confdefs.h" |
5525 /* Override any gcc2 internal prototype to avoid an error. */ | 5689 /* Override any gcc2 internal prototype to avoid an error. */ |
5526 /* We use char because int might match the return type of a gcc2 | 5690 /* We use char because int might match the return type of a gcc2 |
5527 builtin and then its argument prototype would still apply. */ | 5691 builtin and then its argument prototype would still apply. */ |
5528 char shmat(); | 5692 char shmat(); |
5529 | 5693 |
5530 int main() { | 5694 int main() { |
5531 shmat() | 5695 shmat() |
5532 ; return 0; } | 5696 ; return 0; } |
5533 EOF | 5697 EOF |
5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5698 if { (eval echo configure:5699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5535 rm -rf conftest* | 5699 rm -rf conftest* |
5536 eval "ac_cv_lib_$ac_lib_var=yes" | 5700 eval "ac_cv_lib_$ac_lib_var=yes" |
5537 else | 5701 else |
5538 echo "configure: failed program was:" >&5 | 5702 echo "configure: failed program was:" >&5 |
5539 cat conftest.$ac_ext >&5 | 5703 cat conftest.$ac_ext >&5 |
5565 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5729 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5566 | 5730 |
5567 xe_msg_checking="for IceConnectionNumber in -lICE" | 5731 xe_msg_checking="for IceConnectionNumber in -lICE" |
5568 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5732 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5569 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5733 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5570 echo "configure:5571: checking "$xe_msg_checking"" >&5 | 5734 echo "configure:5735: checking "$xe_msg_checking"" >&5 |
5571 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5735 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5572 | 5736 |
5573 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5737 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5574 cat > conftest.$ac_ext <<EOF | 5738 cat > conftest.$ac_ext <<EOF |
5575 #line 5576 "configure" | 5739 #line 5740 "configure" |
5576 #include "confdefs.h" | 5740 #include "confdefs.h" |
5577 /* Override any gcc2 internal prototype to avoid an error. */ | 5741 /* Override any gcc2 internal prototype to avoid an error. */ |
5578 /* We use char because int might match the return type of a gcc2 | 5742 /* We use char because int might match the return type of a gcc2 |
5579 builtin and then its argument prototype would still apply. */ | 5743 builtin and then its argument prototype would still apply. */ |
5580 char IceConnectionNumber(); | 5744 char IceConnectionNumber(); |
5581 | 5745 |
5582 int main() { | 5746 int main() { |
5583 IceConnectionNumber() | 5747 IceConnectionNumber() |
5584 ; return 0; } | 5748 ; return 0; } |
5585 EOF | 5749 EOF |
5586 if { (eval echo configure:5587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5750 if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5587 rm -rf conftest* | 5751 rm -rf conftest* |
5588 eval "ac_cv_lib_$ac_lib_var=yes" | 5752 eval "ac_cv_lib_$ac_lib_var=yes" |
5589 else | 5753 else |
5590 echo "configure: failed program was:" >&5 | 5754 echo "configure: failed program was:" >&5 |
5591 cat conftest.$ac_ext >&5 | 5755 cat conftest.$ac_ext >&5 |
5656 X_CFLAGS="$X_CFLAGS -I${inc_dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-I${inc_dir}\" to \$X_CFLAGS"; fi | 5820 X_CFLAGS="$X_CFLAGS -I${inc_dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-I${inc_dir}\" to \$X_CFLAGS"; fi |
5657 esac | 5821 esac |
5658 break; fi | 5822 break; fi |
5659 done | 5823 done |
5660 | 5824 |
5661 if test "$GCC" = yes -a -d /usr/shlib; then X_LIBS="$X_LIBS -L/usr/shlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L/usr/shlib\" to \$X_LIBS"; fi; fi | 5825 case "$opsys" in |
5826 decosf*) if test "$GCC" = yes -a -d /usr/shlib; then X_LIBS="$X_LIBS -L/usr/shlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L/usr/shlib\" to \$X_LIBS"; fi; fi ;; | |
5827 esac | |
5662 | 5828 |
5663 ld_switch_x_site="$X_LIBS" | 5829 ld_switch_x_site="$X_LIBS" |
5664 | 5830 |
5665 | 5831 |
5666 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then | 5832 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then |
5750 EOF | 5916 EOF |
5751 } | 5917 } |
5752 | 5918 |
5753 | 5919 |
5754 echo "checking for X defines extracted by xmkmf" 1>&6 | 5920 echo "checking for X defines extracted by xmkmf" 1>&6 |
5755 echo "configure:5756: checking for X defines extracted by xmkmf" >&5 | 5921 echo "configure:5922: checking for X defines extracted by xmkmf" >&5 |
5756 rm -fr conftestdir | 5922 rm -fr conftestdir |
5757 if mkdir conftestdir; then | 5923 if mkdir conftestdir; then |
5758 cd conftestdir | 5924 cd conftestdir |
5759 cat > Imakefile <<'EOF' | 5925 cat > Imakefile <<'EOF' |
5760 xetest: | 5926 xetest: |
5765 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` | 5931 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` |
5766 fi | 5932 fi |
5767 cd .. | 5933 cd .. |
5768 rm -fr conftestdir | 5934 rm -fr conftestdir |
5769 for word in $xmkmf_defines; do | 5935 for word in $xmkmf_defines; do |
5770 case "$word" in | 5936 case "$word" in -D* ) |
5771 -D*=* ) ;; | 5937 sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'` |
5772 -D* ) word=`echo '' $word | sed -e 's:^ *-D::'` | 5938 case "$word" in |
5773 { test "$extra_verbose" = "yes" && cat << EOF | 5939 -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;; |
5774 Defining $word | 5940 * ) val=1 ;; |
5941 esac | |
5942 if grep "^#define $sym " confdefs.h >/dev/null; then :; else | |
5943 if test "$val" = "1" | |
5944 then { test "$extra_verbose" = "yes" && cat << EOF | |
5945 Defining $sym | |
5775 EOF | 5946 EOF |
5776 cat >> confdefs.h <<EOF | 5947 cat >> confdefs.h <<EOF |
5777 #define $word 1 | 5948 #define $sym 1 |
5778 EOF | 5949 EOF |
5779 } | 5950 } |
5780 ;; | 5951 |
5952 else { test "$extra_verbose" = "yes" && cat << EOF | |
5953 Defining $sym = $val | |
5954 EOF | |
5955 cat >> confdefs.h <<EOF | |
5956 #define $sym $val | |
5957 EOF | |
5958 } | |
5959 | |
5960 fi | |
5961 fi ;; | |
5781 esac | 5962 esac |
5782 done | 5963 done |
5783 fi | 5964 fi |
5784 | 5965 |
5785 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5966 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5786 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5967 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5787 echo "configure:5788: checking for X11/Intrinsic.h" >&5 | 5968 echo "configure:5969: checking for X11/Intrinsic.h" >&5 |
5788 | 5969 |
5789 cat > conftest.$ac_ext <<EOF | 5970 cat > conftest.$ac_ext <<EOF |
5790 #line 5791 "configure" | 5971 #line 5972 "configure" |
5791 #include "confdefs.h" | 5972 #include "confdefs.h" |
5792 #include <X11/Intrinsic.h> | 5973 #include <X11/Intrinsic.h> |
5793 EOF | 5974 EOF |
5794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5795 { (eval echo configure:5796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5976 { (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5797 if test -z "$ac_err"; then | 5978 if test -z "$ac_err"; then |
5798 rm -rf conftest* | 5979 rm -rf conftest* |
5799 eval "ac_cv_header_$ac_safe=yes" | 5980 eval "ac_cv_header_$ac_safe=yes" |
5800 else | 5981 else |
5814 fi | 5995 fi |
5815 | 5996 |
5816 | 5997 |
5817 | 5998 |
5818 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5999 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5819 echo "configure:5820: checking for XOpenDisplay in -lX11" >&5 | 6000 echo "configure:6001: checking for XOpenDisplay in -lX11" >&5 |
5820 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6001 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5821 | 6002 |
5822 xe_check_libs=" -lX11 " | 6003 xe_check_libs=" -lX11 " |
5823 cat > conftest.$ac_ext <<EOF | 6004 cat > conftest.$ac_ext <<EOF |
5824 #line 5825 "configure" | 6005 #line 6006 "configure" |
5825 #include "confdefs.h" | 6006 #include "confdefs.h" |
5826 /* Override any gcc2 internal prototype to avoid an error. */ | 6007 /* Override any gcc2 internal prototype to avoid an error. */ |
5827 /* We use char because int might match the return type of a gcc2 | 6008 /* We use char because int might match the return type of a gcc2 |
5828 builtin and then its argument prototype would still apply. */ | 6009 builtin and then its argument prototype would still apply. */ |
5829 char XOpenDisplay(); | 6010 char XOpenDisplay(); |
5830 | 6011 |
5831 int main() { | 6012 int main() { |
5832 XOpenDisplay() | 6013 XOpenDisplay() |
5833 ; return 0; } | 6014 ; return 0; } |
5834 EOF | 6015 EOF |
5835 if { (eval echo configure:5836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5836 rm -rf conftest* | 6017 rm -rf conftest* |
5837 eval "ac_cv_lib_$ac_lib_var=yes" | 6018 eval "ac_cv_lib_$ac_lib_var=yes" |
5838 else | 6019 else |
5839 echo "configure: failed program was:" >&5 | 6020 echo "configure: failed program was:" >&5 |
5840 cat conftest.$ac_ext >&5 | 6021 cat conftest.$ac_ext >&5 |
5855 if test "$have_lib_x11" != "yes"; then | 6036 if test "$have_lib_x11" != "yes"; then |
5856 | 6037 |
5857 xe_msg_checking="for XGetFontProperty in -lX11" | 6038 xe_msg_checking="for XGetFontProperty in -lX11" |
5858 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6039 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5859 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6040 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5860 echo "configure:5861: checking "$xe_msg_checking"" >&5 | 6041 echo "configure:6042: checking "$xe_msg_checking"" >&5 |
5861 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6042 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5862 | 6043 |
5863 xe_check_libs=" -lX11 -b i486-linuxaout" | 6044 xe_check_libs=" -lX11 -b i486-linuxaout" |
5864 cat > conftest.$ac_ext <<EOF | 6045 cat > conftest.$ac_ext <<EOF |
5865 #line 5866 "configure" | 6046 #line 6047 "configure" |
5866 #include "confdefs.h" | 6047 #include "confdefs.h" |
5867 /* Override any gcc2 internal prototype to avoid an error. */ | 6048 /* Override any gcc2 internal prototype to avoid an error. */ |
5868 /* We use char because int might match the return type of a gcc2 | 6049 /* We use char because int might match the return type of a gcc2 |
5869 builtin and then its argument prototype would still apply. */ | 6050 builtin and then its argument prototype would still apply. */ |
5870 char XGetFontProperty(); | 6051 char XGetFontProperty(); |
5871 | 6052 |
5872 int main() { | 6053 int main() { |
5873 XGetFontProperty() | 6054 XGetFontProperty() |
5874 ; return 0; } | 6055 ; return 0; } |
5875 EOF | 6056 EOF |
5876 if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6057 if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5877 rm -rf conftest* | 6058 rm -rf conftest* |
5878 eval "ac_cv_lib_$ac_lib_var=yes" | 6059 eval "ac_cv_lib_$ac_lib_var=yes" |
5879 else | 6060 else |
5880 echo "configure: failed program was:" >&5 | 6061 echo "configure: failed program was:" >&5 |
5881 cat conftest.$ac_ext >&5 | 6062 cat conftest.$ac_ext >&5 |
5898 libs_x="-lX11" | 6079 libs_x="-lX11" |
5899 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6080 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5900 | 6081 |
5901 | 6082 |
5902 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6083 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5903 echo "configure:5904: checking for XShapeSelectInput in -lXext" >&5 | 6084 echo "configure:6085: checking for XShapeSelectInput in -lXext" >&5 |
5904 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6085 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5905 | 6086 |
5906 xe_check_libs=" -lXext " | 6087 xe_check_libs=" -lXext " |
5907 cat > conftest.$ac_ext <<EOF | 6088 cat > conftest.$ac_ext <<EOF |
5908 #line 5909 "configure" | 6089 #line 6090 "configure" |
5909 #include "confdefs.h" | 6090 #include "confdefs.h" |
5910 /* Override any gcc2 internal prototype to avoid an error. */ | 6091 /* Override any gcc2 internal prototype to avoid an error. */ |
5911 /* We use char because int might match the return type of a gcc2 | 6092 /* We use char because int might match the return type of a gcc2 |
5912 builtin and then its argument prototype would still apply. */ | 6093 builtin and then its argument prototype would still apply. */ |
5913 char XShapeSelectInput(); | 6094 char XShapeSelectInput(); |
5914 | 6095 |
5915 int main() { | 6096 int main() { |
5916 XShapeSelectInput() | 6097 XShapeSelectInput() |
5917 ; return 0; } | 6098 ; return 0; } |
5918 EOF | 6099 EOF |
5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5920 rm -rf conftest* | 6101 rm -rf conftest* |
5921 eval "ac_cv_lib_$ac_lib_var=yes" | 6102 eval "ac_cv_lib_$ac_lib_var=yes" |
5922 else | 6103 else |
5923 echo "configure: failed program was:" >&5 | 6104 echo "configure: failed program was:" >&5 |
5924 cat conftest.$ac_ext >&5 | 6105 cat conftest.$ac_ext >&5 |
5937 | 6118 |
5938 | 6119 |
5939 | 6120 |
5940 | 6121 |
5941 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6122 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5942 echo "configure:5943: checking for XtOpenDisplay in -lXt" >&5 | 6123 echo "configure:6124: checking for XtOpenDisplay in -lXt" >&5 |
5943 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6124 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5944 | 6125 |
5945 xe_check_libs=" -lXt " | 6126 xe_check_libs=" -lXt " |
5946 cat > conftest.$ac_ext <<EOF | 6127 cat > conftest.$ac_ext <<EOF |
5947 #line 5948 "configure" | 6128 #line 6129 "configure" |
5948 #include "confdefs.h" | 6129 #include "confdefs.h" |
5949 /* Override any gcc2 internal prototype to avoid an error. */ | 6130 /* Override any gcc2 internal prototype to avoid an error. */ |
5950 /* We use char because int might match the return type of a gcc2 | 6131 /* We use char because int might match the return type of a gcc2 |
5951 builtin and then its argument prototype would still apply. */ | 6132 builtin and then its argument prototype would still apply. */ |
5952 char XtOpenDisplay(); | 6133 char XtOpenDisplay(); |
5953 | 6134 |
5954 int main() { | 6135 int main() { |
5955 XtOpenDisplay() | 6136 XtOpenDisplay() |
5956 ; return 0; } | 6137 ; return 0; } |
5957 EOF | 6138 EOF |
5958 if { (eval echo configure:5959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6139 if { (eval echo configure:6140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5959 rm -rf conftest* | 6140 rm -rf conftest* |
5960 eval "ac_cv_lib_$ac_lib_var=yes" | 6141 eval "ac_cv_lib_$ac_lib_var=yes" |
5961 else | 6142 else |
5962 echo "configure: failed program was:" >&5 | 6143 echo "configure: failed program was:" >&5 |
5963 cat conftest.$ac_ext >&5 | 6144 cat conftest.$ac_ext >&5 |
5976 fi | 6157 fi |
5977 | 6158 |
5978 | 6159 |
5979 | 6160 |
5980 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6161 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5981 echo "configure:5982: checking the version of X11 being used" >&5 | 6162 echo "configure:6163: checking the version of X11 being used" >&5 |
5982 cat > conftest.$ac_ext <<EOF | 6163 cat > conftest.$ac_ext <<EOF |
5983 #line 5984 "configure" | 6164 #line 6165 "configure" |
5984 #include "confdefs.h" | 6165 #include "confdefs.h" |
5985 #include <X11/Intrinsic.h> | 6166 #include <X11/Intrinsic.h> |
5986 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6167 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5987 EOF | 6168 EOF |
5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5989 then | 6170 then |
5990 ./conftest foobar; x11_release=$? | 6171 ./conftest foobar; x11_release=$? |
5991 else | 6172 else |
5992 conftest_rc="$?" | 6173 conftest_rc="$?" |
5993 echo "configure: failed program was:" >&5 | 6174 echo "configure: failed program was:" >&5 |
6004 #define THIS_IS_X11R${x11_release} 1 | 6185 #define THIS_IS_X11R${x11_release} 1 |
6005 EOF | 6186 EOF |
6006 } | 6187 } |
6007 | 6188 |
6008 | 6189 |
6190 if test "${x11_release}" = "4"; then | |
6191 case "$with_widgets" in | |
6192 "" | "no") with_widgets=no ;; | |
6193 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;; | |
6194 esac | |
6195 fi | |
6196 | |
6197 for ac_func in XConvertCase | |
6198 do | |
6199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
6200 echo "configure:6201: checking for $ac_func" >&5 | |
6201 | |
6202 cat > conftest.$ac_ext <<EOF | |
6203 #line 6204 "configure" | |
6204 #include "confdefs.h" | |
6205 /* System header to define __stub macros and hopefully few prototypes, | |
6206 which can conflict with char $ac_func(); below. */ | |
6207 #include <assert.h> | |
6208 /* Override any gcc2 internal prototype to avoid an error. */ | |
6209 /* We use char because int might match the return type of a gcc2 | |
6210 builtin and then its argument prototype would still apply. */ | |
6211 char $ac_func(); | |
6212 | |
6213 int main() { | |
6214 | |
6215 /* The GNU C library defines this for functions which it implements | |
6216 to always fail with ENOSYS. Some functions are actually named | |
6217 something starting with __ and the normal name is an alias. */ | |
6218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
6219 choke me | |
6220 #else | |
6221 $ac_func(); | |
6222 #endif | |
6223 | |
6224 ; return 0; } | |
6225 EOF | |
6226 if { (eval echo configure:6227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6227 rm -rf conftest* | |
6228 eval "ac_cv_func_$ac_func=yes" | |
6229 else | |
6230 echo "configure: failed program was:" >&5 | |
6231 cat conftest.$ac_ext >&5 | |
6232 rm -rf conftest* | |
6233 eval "ac_cv_func_$ac_func=no" | |
6234 fi | |
6235 rm -f conftest* | |
6236 | |
6237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
6238 echo "$ac_t""yes" 1>&6 | |
6239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
6240 { test "$extra_verbose" = "yes" && cat << EOF | |
6241 Defining $ac_tr_func | |
6242 EOF | |
6243 cat >> confdefs.h <<EOF | |
6244 #define $ac_tr_func 1 | |
6245 EOF | |
6246 } | |
6247 | |
6248 else | |
6249 echo "$ac_t""no" 1>&6 | |
6250 fi | |
6251 done | |
6252 | |
6253 | |
6009 for ac_hdr in X11/Xlocale.h | 6254 for ac_hdr in X11/Xlocale.h |
6010 do | 6255 do |
6011 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6256 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6013 echo "configure:6014: checking for $ac_hdr" >&5 | 6258 echo "configure:6259: checking for $ac_hdr" >&5 |
6014 | 6259 |
6015 cat > conftest.$ac_ext <<EOF | 6260 cat > conftest.$ac_ext <<EOF |
6016 #line 6017 "configure" | 6261 #line 6262 "configure" |
6017 #include "confdefs.h" | 6262 #include "confdefs.h" |
6018 #include <$ac_hdr> | 6263 #include <$ac_hdr> |
6019 EOF | 6264 EOF |
6020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6021 { (eval echo configure:6022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6266 { (eval echo configure:6267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6023 if test -z "$ac_err"; then | 6268 if test -z "$ac_err"; then |
6024 rm -rf conftest* | 6269 rm -rf conftest* |
6025 eval "ac_cv_header_$ac_safe=yes" | 6270 eval "ac_cv_header_$ac_safe=yes" |
6026 else | 6271 else |
6047 fi | 6292 fi |
6048 done | 6293 done |
6049 | 6294 |
6050 | 6295 |
6051 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 6296 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
6052 echo "configure:6053: checking for XFree86" >&5 | 6297 echo "configure:6298: checking for XFree86" >&5 |
6053 if test -d "/usr/X386/include" -o \ | 6298 if test -d "/usr/X386/include" -o \ |
6054 -f "/etc/XF86Config" -o \ | 6299 -f "/etc/XF86Config" -o \ |
6055 -f "/etc/X11/XF86Config" -o \ | 6300 -f "/etc/X11/XF86Config" -o \ |
6056 -f "/usr/X11R6/lib/X11/XF86Config"; then | 6301 -f "/usr/X11R6/lib/X11/XF86Config"; then |
6057 echo "$ac_t""yes" 1>&6 | 6302 echo "$ac_t""yes" 1>&6 |
6067 echo "$ac_t""no" 1>&6 | 6312 echo "$ac_t""no" 1>&6 |
6068 fi | 6313 fi |
6069 | 6314 |
6070 test -z "$with_xmu" && { | 6315 test -z "$with_xmu" && { |
6071 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6316 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6072 echo "configure:6073: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6317 echo "configure:6318: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6073 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6318 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6074 | 6319 |
6075 xe_check_libs=" -lXmu " | 6320 xe_check_libs=" -lXmu " |
6076 cat > conftest.$ac_ext <<EOF | 6321 cat > conftest.$ac_ext <<EOF |
6077 #line 6078 "configure" | 6322 #line 6323 "configure" |
6078 #include "confdefs.h" | 6323 #include "confdefs.h" |
6079 /* Override any gcc2 internal prototype to avoid an error. */ | 6324 /* Override any gcc2 internal prototype to avoid an error. */ |
6080 /* We use char because int might match the return type of a gcc2 | 6325 /* We use char because int might match the return type of a gcc2 |
6081 builtin and then its argument prototype would still apply. */ | 6326 builtin and then its argument prototype would still apply. */ |
6082 char XmuReadBitmapDataFromFile(); | 6327 char XmuReadBitmapDataFromFile(); |
6083 | 6328 |
6084 int main() { | 6329 int main() { |
6085 XmuReadBitmapDataFromFile() | 6330 XmuReadBitmapDataFromFile() |
6086 ; return 0; } | 6331 ; return 0; } |
6087 EOF | 6332 EOF |
6088 if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6333 if { (eval echo configure:6334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6089 rm -rf conftest* | 6334 rm -rf conftest* |
6090 eval "ac_cv_lib_$ac_lib_var=yes" | 6335 eval "ac_cv_lib_$ac_lib_var=yes" |
6091 else | 6336 else |
6092 echo "configure: failed program was:" >&5 | 6337 echo "configure: failed program was:" >&5 |
6093 cat conftest.$ac_ext >&5 | 6338 cat conftest.$ac_ext >&5 |
6122 | 6367 |
6123 fi | 6368 fi |
6124 | 6369 |
6125 | 6370 |
6126 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6371 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6127 echo "configure:6128: checking for main in -lXbsd" >&5 | 6372 echo "configure:6373: checking for main in -lXbsd" >&5 |
6128 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6373 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6129 | 6374 |
6130 xe_check_libs=" -lXbsd " | 6375 xe_check_libs=" -lXbsd " |
6131 cat > conftest.$ac_ext <<EOF | 6376 cat > conftest.$ac_ext <<EOF |
6132 #line 6133 "configure" | 6377 #line 6378 "configure" |
6133 #include "confdefs.h" | 6378 #include "confdefs.h" |
6134 | 6379 |
6135 int main() { | 6380 int main() { |
6136 main() | 6381 main() |
6137 ; return 0; } | 6382 ; return 0; } |
6138 EOF | 6383 EOF |
6139 if { (eval echo configure:6140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6140 rm -rf conftest* | 6385 rm -rf conftest* |
6141 eval "ac_cv_lib_$ac_lib_var=yes" | 6386 eval "ac_cv_lib_$ac_lib_var=yes" |
6142 else | 6387 else |
6143 echo "configure: failed program was:" >&5 | 6388 echo "configure: failed program was:" >&5 |
6144 cat conftest.$ac_ext >&5 | 6389 cat conftest.$ac_ext >&5 |
6171 fi | 6416 fi |
6172 | 6417 |
6173 fi | 6418 fi |
6174 if test "$with_msw" != "no"; then | 6419 if test "$with_msw" != "no"; then |
6175 echo "checking for MS-Windows" 1>&6 | 6420 echo "checking for MS-Windows" 1>&6 |
6176 echo "configure:6177: checking for MS-Windows" >&5 | 6421 echo "configure:6422: checking for MS-Windows" >&5 |
6177 | 6422 |
6178 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6423 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6179 echo "configure:6180: checking for main in -lgdi32" >&5 | 6424 echo "configure:6425: checking for main in -lgdi32" >&5 |
6180 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6425 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6181 | 6426 |
6182 xe_check_libs=" -lgdi32 " | 6427 xe_check_libs=" -lgdi32 " |
6183 cat > conftest.$ac_ext <<EOF | 6428 cat > conftest.$ac_ext <<EOF |
6184 #line 6185 "configure" | 6429 #line 6430 "configure" |
6185 #include "confdefs.h" | 6430 #include "confdefs.h" |
6186 | 6431 |
6187 int main() { | 6432 int main() { |
6188 main() | 6433 main() |
6189 ; return 0; } | 6434 ; return 0; } |
6190 EOF | 6435 EOF |
6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6192 rm -rf conftest* | 6437 rm -rf conftest* |
6193 eval "ac_cv_lib_$ac_lib_var=yes" | 6438 eval "ac_cv_lib_$ac_lib_var=yes" |
6194 else | 6439 else |
6195 echo "configure: failed program was:" >&5 | 6440 echo "configure: failed program was:" >&5 |
6196 cat conftest.$ac_ext >&5 | 6441 cat conftest.$ac_ext >&5 |
6216 #define HAVE_MS_WINDOWS 1 | 6461 #define HAVE_MS_WINDOWS 1 |
6217 EOF | 6462 EOF |
6218 } | 6463 } |
6219 | 6464 |
6220 install_pp="$blddir/lib-src/installexe.sh" | 6465 install_pp="$blddir/lib-src/installexe.sh" |
6221 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32 -lwinspool\" to \$libs_system"; fi | 6466 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool\" to \$libs_system"; fi |
6222 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi | 6467 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi |
6223 if test "$window_system" != x11; then | 6468 if test "$window_system" != x11; then |
6224 window_system=msw | 6469 window_system=msw |
6225 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | 6470 test "$with_scrollbars" != "no" && with_scrollbars=msw \ |
6226 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 6471 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
6252 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6497 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6253 echo " xemacs will be linked with \"dialog-msw.o\"" | 6498 echo " xemacs will be linked with \"dialog-msw.o\"" |
6254 fi | 6499 fi |
6255 fi | 6500 fi |
6256 cat > conftest.$ac_ext <<EOF | 6501 cat > conftest.$ac_ext <<EOF |
6257 #line 6258 "configure" | 6502 #line 6503 "configure" |
6258 #include "confdefs.h" | 6503 #include "confdefs.h" |
6259 #include <fcntl.h> | 6504 #include <fcntl.h> |
6260 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6505 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6261 EOF | 6506 EOF |
6262 if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6507 if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6263 then | 6508 then |
6264 { test "$extra_verbose" = "yes" && cat << \EOF | 6509 { test "$extra_verbose" = "yes" && cat << \EOF |
6265 Defining HAVE_MSG_SELECT | 6510 Defining HAVE_MSG_SELECT |
6266 EOF | 6511 EOF |
6267 cat >> confdefs.h <<\EOF | 6512 cat >> confdefs.h <<\EOF |
6273 conftest_rc="$?" | 6518 conftest_rc="$?" |
6274 echo "configure: failed program was:" >&5 | 6519 echo "configure: failed program was:" >&5 |
6275 cat conftest.$ac_ext >&5 | 6520 cat conftest.$ac_ext >&5 |
6276 fi | 6521 fi |
6277 rm -fr conftest* | 6522 rm -fr conftest* |
6278 const_is_losing=no | |
6279 with_file_coding=yes | 6523 with_file_coding=yes |
6280 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o" && if test "$extra_verbose" = "yes"; then | 6524 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o" && if test "$extra_verbose" = "yes"; then |
6281 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o\"" | 6525 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o\"" |
6282 fi | 6526 fi |
6283 fi | 6527 fi |
6319 fi | 6563 fi |
6320 eval "with_${feature}=no" | 6564 eval "with_${feature}=no" |
6321 done | 6565 done |
6322 fi | 6566 fi |
6323 | 6567 |
6568 if test "$with_x11" = "yes"; then | |
6569 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | |
6570 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | |
6571 echo "configure:6572: checking for X11/extensions/shape.h" >&5 | |
6572 | |
6573 cat > conftest.$ac_ext <<EOF | |
6574 #line 6575 "configure" | |
6575 #include "confdefs.h" | |
6576 #include <X11/extensions/shape.h> | |
6577 EOF | |
6578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6579 { (eval echo configure:6580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
6581 if test -z "$ac_err"; then | |
6582 rm -rf conftest* | |
6583 eval "ac_cv_header_$ac_safe=yes" | |
6584 else | |
6585 echo "$ac_err" >&5 | |
6586 echo "configure: failed program was:" >&5 | |
6587 cat conftest.$ac_ext >&5 | |
6588 rm -rf conftest* | |
6589 eval "ac_cv_header_$ac_safe=no" | |
6590 fi | |
6591 rm -f conftest* | |
6592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6593 echo "$ac_t""yes" 1>&6 | |
6594 | |
6595 { test "$extra_verbose" = "yes" && cat << \EOF | |
6596 Defining HAVE_BALLOON_HELP | |
6597 EOF | |
6598 cat >> confdefs.h <<\EOF | |
6599 #define HAVE_BALLOON_HELP 1 | |
6600 EOF | |
6601 } | |
6602 | |
6603 extra_objs="$extra_objs balloon_help.o balloon-x.o" && if test "$extra_verbose" = "yes"; then | |
6604 echo " xemacs will be linked with \"balloon_help.o balloon-x.o\"" | |
6605 fi | |
6606 else | |
6607 echo "$ac_t""no" 1>&6 | |
6608 fi | |
6609 | |
6610 fi | |
6611 | |
6324 bitmapdir= | 6612 bitmapdir= |
6325 | 6613 |
6326 case "$window_system" in | 6614 case "$window_system" in |
6327 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; | 6615 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; |
6328 msw ) HAVE_X_WINDOWS=no ; echo " Using MS-Windows." ;; | 6616 msw ) HAVE_X_WINDOWS=no ; echo " Using MS-Windows." ;; |
6333 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6621 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6334 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6622 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6335 esac | 6623 esac |
6336 | 6624 |
6337 echo "checking for WM_COMMAND option" 1>&6 | 6625 echo "checking for WM_COMMAND option" 1>&6 |
6338 echo "configure:6339: checking for WM_COMMAND option" >&5; | 6626 echo "configure:6627: checking for WM_COMMAND option" >&5; |
6339 if test "$with_wmcommand" != "no"; then | 6627 if test "$with_wmcommand" != "no"; then |
6340 { test "$extra_verbose" = "yes" && cat << \EOF | 6628 { test "$extra_verbose" = "yes" && cat << \EOF |
6341 Defining HAVE_WMCOMMAND | 6629 Defining HAVE_WMCOMMAND |
6342 EOF | 6630 EOF |
6343 cat >> confdefs.h <<\EOF | 6631 cat >> confdefs.h <<\EOF |
6348 fi | 6636 fi |
6349 | 6637 |
6350 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6638 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6351 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6639 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6352 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6640 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6353 echo "configure:6354: checking for X11/Xauth.h" >&5 | 6641 echo "configure:6642: checking for X11/Xauth.h" >&5 |
6354 | 6642 |
6355 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6356 #line 6357 "configure" | 6644 #line 6645 "configure" |
6357 #include "confdefs.h" | 6645 #include "confdefs.h" |
6358 #include <X11/Xauth.h> | 6646 #include <X11/Xauth.h> |
6359 EOF | 6647 EOF |
6360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6361 { (eval echo configure:6362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6649 { (eval echo configure:6650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6363 if test -z "$ac_err"; then | 6651 if test -z "$ac_err"; then |
6364 rm -rf conftest* | 6652 rm -rf conftest* |
6365 eval "ac_cv_header_$ac_safe=yes" | 6653 eval "ac_cv_header_$ac_safe=yes" |
6366 else | 6654 else |
6379 with_xauth=no | 6667 with_xauth=no |
6380 fi | 6668 fi |
6381 } | 6669 } |
6382 test -z "$with_xauth" && { | 6670 test -z "$with_xauth" && { |
6383 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6671 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6384 echo "configure:6385: checking for XauGetAuthByAddr in -lXau" >&5 | 6672 echo "configure:6673: checking for XauGetAuthByAddr in -lXau" >&5 |
6385 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6673 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6386 | 6674 |
6387 xe_check_libs=" -lXau " | 6675 xe_check_libs=" -lXau " |
6388 cat > conftest.$ac_ext <<EOF | 6676 cat > conftest.$ac_ext <<EOF |
6389 #line 6390 "configure" | 6677 #line 6678 "configure" |
6390 #include "confdefs.h" | 6678 #include "confdefs.h" |
6391 /* Override any gcc2 internal prototype to avoid an error. */ | 6679 /* Override any gcc2 internal prototype to avoid an error. */ |
6392 /* We use char because int might match the return type of a gcc2 | 6680 /* We use char because int might match the return type of a gcc2 |
6393 builtin and then its argument prototype would still apply. */ | 6681 builtin and then its argument prototype would still apply. */ |
6394 char XauGetAuthByAddr(); | 6682 char XauGetAuthByAddr(); |
6395 | 6683 |
6396 int main() { | 6684 int main() { |
6397 XauGetAuthByAddr() | 6685 XauGetAuthByAddr() |
6398 ; return 0; } | 6686 ; return 0; } |
6399 EOF | 6687 EOF |
6400 if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6688 if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6401 rm -rf conftest* | 6689 rm -rf conftest* |
6402 eval "ac_cv_lib_$ac_lib_var=yes" | 6690 eval "ac_cv_lib_$ac_lib_var=yes" |
6403 else | 6691 else |
6404 echo "configure: failed program was:" >&5 | 6692 echo "configure: failed program was:" >&5 |
6405 cat conftest.$ac_ext >&5 | 6693 cat conftest.$ac_ext >&5 |
6440 | 6728 |
6441 if test "$with_tooltalk" != "no" ; then | 6729 if test "$with_tooltalk" != "no" ; then |
6442 for dir in "" "Tt/" "desktop/" ; do | 6730 for dir in "" "Tt/" "desktop/" ; do |
6443 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6731 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6444 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6732 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6445 echo "configure:6446: checking for ${dir}tt_c.h" >&5 | 6733 echo "configure:6734: checking for ${dir}tt_c.h" >&5 |
6446 | 6734 |
6447 cat > conftest.$ac_ext <<EOF | 6735 cat > conftest.$ac_ext <<EOF |
6448 #line 6449 "configure" | 6736 #line 6737 "configure" |
6449 #include "confdefs.h" | 6737 #include "confdefs.h" |
6450 #include <${dir}tt_c.h> | 6738 #include <${dir}tt_c.h> |
6451 EOF | 6739 EOF |
6452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6453 { (eval echo configure:6454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6741 { (eval echo configure:6742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6455 if test -z "$ac_err"; then | 6743 if test -z "$ac_err"; then |
6456 rm -rf conftest* | 6744 rm -rf conftest* |
6457 eval "ac_cv_header_$ac_safe=yes" | 6745 eval "ac_cv_header_$ac_safe=yes" |
6458 else | 6746 else |
6463 eval "ac_cv_header_$ac_safe=no" | 6751 eval "ac_cv_header_$ac_safe=no" |
6464 fi | 6752 fi |
6465 rm -f conftest* | 6753 rm -f conftest* |
6466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6754 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6467 echo "$ac_t""yes" 1>&6 | 6755 echo "$ac_t""yes" 1>&6 |
6468 tt_c_h_path="${dir}tt_c.h"; break | 6756 tt_c_h_file="${dir}tt_c.h"; break |
6469 else | 6757 else |
6470 echo "$ac_t""no" 1>&6 | 6758 echo "$ac_t""no" 1>&6 |
6471 fi | 6759 fi |
6472 | 6760 |
6473 done | 6761 done |
6474 if test -z "$tt_c_h_path"; then | 6762 if test -z "$tt_c_h_file"; then |
6475 if test "$with_tooltalk" = "yes"; then | 6763 if test "$with_tooltalk" = "yes"; then |
6476 (echo "$progname: Usage error:" | 6764 (echo "$progname: Usage error:" |
6477 echo " " "Unable to find required tooltalk header files." | 6765 echo " " "Unable to find required tooltalk header files." |
6478 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 6766 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
6479 fi | 6767 fi |
6484 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6772 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6485 | 6773 |
6486 xe_msg_checking="for tt_message_create in -ltt" | 6774 xe_msg_checking="for tt_message_create in -ltt" |
6487 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6775 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6488 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6776 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6489 echo "configure:6490: checking "$xe_msg_checking"" >&5 | 6777 echo "configure:6778: checking "$xe_msg_checking"" >&5 |
6490 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6778 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6491 | 6779 |
6492 xe_check_libs=" -ltt $extra_libs" | 6780 xe_check_libs=" -ltt $extra_libs" |
6493 cat > conftest.$ac_ext <<EOF | 6781 cat > conftest.$ac_ext <<EOF |
6494 #line 6495 "configure" | 6782 #line 6783 "configure" |
6495 #include "confdefs.h" | 6783 #include "confdefs.h" |
6496 /* Override any gcc2 internal prototype to avoid an error. */ | 6784 /* Override any gcc2 internal prototype to avoid an error. */ |
6497 /* We use char because int might match the return type of a gcc2 | 6785 /* We use char because int might match the return type of a gcc2 |
6498 builtin and then its argument prototype would still apply. */ | 6786 builtin and then its argument prototype would still apply. */ |
6499 char tt_message_create(); | 6787 char tt_message_create(); |
6500 | 6788 |
6501 int main() { | 6789 int main() { |
6502 tt_message_create() | 6790 tt_message_create() |
6503 ; return 0; } | 6791 ; return 0; } |
6504 EOF | 6792 EOF |
6505 if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6793 if { (eval echo configure:6794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6506 rm -rf conftest* | 6794 rm -rf conftest* |
6507 eval "ac_cv_lib_$ac_lib_var=yes" | 6795 eval "ac_cv_lib_$ac_lib_var=yes" |
6508 else | 6796 else |
6509 echo "configure: failed program was:" >&5 | 6797 echo "configure: failed program was:" >&5 |
6510 cat conftest.$ac_ext >&5 | 6798 cat conftest.$ac_ext >&5 |
6542 #define TOOLTALK 1 | 6830 #define TOOLTALK 1 |
6543 EOF | 6831 EOF |
6544 } | 6832 } |
6545 | 6833 |
6546 { test "$extra_verbose" = "yes" && cat << EOF | 6834 { test "$extra_verbose" = "yes" && cat << EOF |
6547 Defining TT_C_H_PATH = "$tt_c_h_path" | 6835 Defining TT_C_H_FILE = "$tt_c_h_file" |
6548 EOF | 6836 EOF |
6549 cat >> confdefs.h <<EOF | 6837 cat >> confdefs.h <<EOF |
6550 #define TT_C_H_PATH "$tt_c_h_path" | 6838 #define TT_C_H_FILE "$tt_c_h_file" |
6551 EOF | 6839 EOF |
6552 } | 6840 } |
6553 | 6841 |
6554 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 6842 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
6555 extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then | 6843 extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then |
6557 fi | 6845 fi |
6558 fi | 6846 fi |
6559 | 6847 |
6560 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6848 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6561 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6849 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6562 echo "configure:6563: checking for Dt/Dt.h" >&5 | 6850 echo "configure:6851: checking for Dt/Dt.h" >&5 |
6563 | 6851 |
6564 cat > conftest.$ac_ext <<EOF | 6852 cat > conftest.$ac_ext <<EOF |
6565 #line 6566 "configure" | 6853 #line 6854 "configure" |
6566 #include "confdefs.h" | 6854 #include "confdefs.h" |
6567 #include <Dt/Dt.h> | 6855 #include <Dt/Dt.h> |
6568 EOF | 6856 EOF |
6569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6570 { (eval echo configure:6571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6858 { (eval echo configure:6859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6572 if test -z "$ac_err"; then | 6860 if test -z "$ac_err"; then |
6573 rm -rf conftest* | 6861 rm -rf conftest* |
6574 eval "ac_cv_header_$ac_safe=yes" | 6862 eval "ac_cv_header_$ac_safe=yes" |
6575 else | 6863 else |
6588 with_cde=no | 6876 with_cde=no |
6589 fi | 6877 fi |
6590 } | 6878 } |
6591 test -z "$with_cde" && { | 6879 test -z "$with_cde" && { |
6592 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6880 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6593 echo "configure:6594: checking for DtDndDragStart in -lDtSvc" >&5 | 6881 echo "configure:6882: checking for DtDndDragStart in -lDtSvc" >&5 |
6594 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6882 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6595 | 6883 |
6596 xe_check_libs=" -lDtSvc " | 6884 xe_check_libs=" -lDtSvc " |
6597 cat > conftest.$ac_ext <<EOF | 6885 cat > conftest.$ac_ext <<EOF |
6598 #line 6599 "configure" | 6886 #line 6887 "configure" |
6599 #include "confdefs.h" | 6887 #include "confdefs.h" |
6600 /* Override any gcc2 internal prototype to avoid an error. */ | 6888 /* Override any gcc2 internal prototype to avoid an error. */ |
6601 /* We use char because int might match the return type of a gcc2 | 6889 /* We use char because int might match the return type of a gcc2 |
6602 builtin and then its argument prototype would still apply. */ | 6890 builtin and then its argument prototype would still apply. */ |
6603 char DtDndDragStart(); | 6891 char DtDndDragStart(); |
6604 | 6892 |
6605 int main() { | 6893 int main() { |
6606 DtDndDragStart() | 6894 DtDndDragStart() |
6607 ; return 0; } | 6895 ; return 0; } |
6608 EOF | 6896 EOF |
6609 if { (eval echo configure:6610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6897 if { (eval echo configure:6898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6610 rm -rf conftest* | 6898 rm -rf conftest* |
6611 eval "ac_cv_lib_$ac_lib_var=yes" | 6899 eval "ac_cv_lib_$ac_lib_var=yes" |
6612 else | 6900 else |
6613 echo "configure: failed program was:" >&5 | 6901 echo "configure: failed program was:" >&5 |
6614 cat conftest.$ac_ext >&5 | 6902 cat conftest.$ac_ext >&5 |
6673 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6961 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6674 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6962 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6675 fi | 6963 fi |
6676 | 6964 |
6677 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6965 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6678 echo "configure:6679: checking if drag and drop API is needed" >&5 | 6966 echo "configure:6967: checking if drag and drop API is needed" >&5 |
6679 if test "$with_dragndrop" != "no" ; then | 6967 if test "$with_dragndrop" != "no" ; then |
6680 if test -n "$dragndrop_proto" ; then | 6968 if test -n "$dragndrop_proto" ; then |
6681 with_dragndrop=yes | 6969 with_dragndrop=yes |
6682 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6970 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6683 { test "$extra_verbose" = "yes" && cat << \EOF | 6971 { test "$extra_verbose" = "yes" && cat << \EOF |
6694 echo "$ac_t""no" 1>&6 | 6982 echo "$ac_t""no" 1>&6 |
6695 fi | 6983 fi |
6696 fi | 6984 fi |
6697 | 6985 |
6698 echo "checking for LDAP" 1>&6 | 6986 echo "checking for LDAP" 1>&6 |
6699 echo "configure:6700: checking for LDAP" >&5 | 6987 echo "configure:6988: checking for LDAP" >&5 |
6700 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6988 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6701 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6989 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6702 echo "configure:6703: checking for ldap.h" >&5 | 6990 echo "configure:6991: checking for ldap.h" >&5 |
6703 | 6991 |
6704 cat > conftest.$ac_ext <<EOF | 6992 cat > conftest.$ac_ext <<EOF |
6705 #line 6706 "configure" | 6993 #line 6994 "configure" |
6706 #include "confdefs.h" | 6994 #include "confdefs.h" |
6707 #include <ldap.h> | 6995 #include <ldap.h> |
6708 EOF | 6996 EOF |
6709 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" |
6710 { (eval echo configure:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6998 { (eval echo configure:6999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6712 if test -z "$ac_err"; then | 7000 if test -z "$ac_err"; then |
6713 rm -rf conftest* | 7001 rm -rf conftest* |
6714 eval "ac_cv_header_$ac_safe=yes" | 7002 eval "ac_cv_header_$ac_safe=yes" |
6715 else | 7003 else |
6728 with_ldap=no | 7016 with_ldap=no |
6729 fi | 7017 fi |
6730 } | 7018 } |
6731 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7019 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6732 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7020 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6733 echo "configure:6734: checking for lber.h" >&5 | 7021 echo "configure:7022: checking for lber.h" >&5 |
6734 | 7022 |
6735 cat > conftest.$ac_ext <<EOF | 7023 cat > conftest.$ac_ext <<EOF |
6736 #line 6737 "configure" | 7024 #line 7025 "configure" |
6737 #include "confdefs.h" | 7025 #include "confdefs.h" |
6738 #include <lber.h> | 7026 #include <lber.h> |
6739 EOF | 7027 EOF |
6740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6741 { (eval echo configure:6742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7029 { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6743 if test -z "$ac_err"; then | 7031 if test -z "$ac_err"; then |
6744 rm -rf conftest* | 7032 rm -rf conftest* |
6745 eval "ac_cv_header_$ac_safe=yes" | 7033 eval "ac_cv_header_$ac_safe=yes" |
6746 else | 7034 else |
6760 fi | 7048 fi |
6761 } | 7049 } |
6762 if test "$with_ldap" != "no"; then | 7050 if test "$with_ldap" != "no"; then |
6763 | 7051 |
6764 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7052 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6765 echo "configure:6766: checking for ldap_search in -lldap" >&5 | 7053 echo "configure:7054: checking for ldap_search in -lldap" >&5 |
6766 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7054 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6767 | 7055 |
6768 xe_check_libs=" -lldap " | 7056 xe_check_libs=" -lldap " |
6769 cat > conftest.$ac_ext <<EOF | 7057 cat > conftest.$ac_ext <<EOF |
6770 #line 6771 "configure" | 7058 #line 7059 "configure" |
6771 #include "confdefs.h" | 7059 #include "confdefs.h" |
6772 /* Override any gcc2 internal prototype to avoid an error. */ | 7060 /* Override any gcc2 internal prototype to avoid an error. */ |
6773 /* We use char because int might match the return type of a gcc2 | 7061 /* We use char because int might match the return type of a gcc2 |
6774 builtin and then its argument prototype would still apply. */ | 7062 builtin and then its argument prototype would still apply. */ |
6775 char ldap_search(); | 7063 char ldap_search(); |
6776 | 7064 |
6777 int main() { | 7065 int main() { |
6778 ldap_search() | 7066 ldap_search() |
6779 ; return 0; } | 7067 ; return 0; } |
6780 EOF | 7068 EOF |
6781 if { (eval echo configure:6782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7069 if { (eval echo configure:7070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6782 rm -rf conftest* | 7070 rm -rf conftest* |
6783 eval "ac_cv_lib_$ac_lib_var=yes" | 7071 eval "ac_cv_lib_$ac_lib_var=yes" |
6784 else | 7072 else |
6785 echo "configure: failed program was:" >&5 | 7073 echo "configure: failed program was:" >&5 |
6786 cat conftest.$ac_ext >&5 | 7074 cat conftest.$ac_ext >&5 |
6801 | 7089 |
6802 test "$with_ldap_nolber" = "no" && { | 7090 test "$with_ldap_nolber" = "no" && { |
6803 xe_msg_checking="for ldap_open in -lldap" | 7091 xe_msg_checking="for ldap_open in -lldap" |
6804 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7092 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6805 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7093 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6806 echo "configure:6807: checking "$xe_msg_checking"" >&5 | 7094 echo "configure:7095: checking "$xe_msg_checking"" >&5 |
6807 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7095 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6808 | 7096 |
6809 xe_check_libs=" -lldap -llber" | 7097 xe_check_libs=" -lldap -llber" |
6810 cat > conftest.$ac_ext <<EOF | 7098 cat > conftest.$ac_ext <<EOF |
6811 #line 6812 "configure" | 7099 #line 7100 "configure" |
6812 #include "confdefs.h" | 7100 #include "confdefs.h" |
6813 /* Override any gcc2 internal prototype to avoid an error. */ | 7101 /* Override any gcc2 internal prototype to avoid an error. */ |
6814 /* We use char because int might match the return type of a gcc2 | 7102 /* We use char because int might match the return type of a gcc2 |
6815 builtin and then its argument prototype would still apply. */ | 7103 builtin and then its argument prototype would still apply. */ |
6816 char ldap_open(); | 7104 char ldap_open(); |
6817 | 7105 |
6818 int main() { | 7106 int main() { |
6819 ldap_open() | 7107 ldap_open() |
6820 ; return 0; } | 7108 ; return 0; } |
6821 EOF | 7109 EOF |
6822 if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6823 rm -rf conftest* | 7111 rm -rf conftest* |
6824 eval "ac_cv_lib_$ac_lib_var=yes" | 7112 eval "ac_cv_lib_$ac_lib_var=yes" |
6825 else | 7113 else |
6826 echo "configure: failed program was:" >&5 | 7114 echo "configure: failed program was:" >&5 |
6827 cat conftest.$ac_ext >&5 | 7115 cat conftest.$ac_ext >&5 |
6842 } | 7130 } |
6843 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7131 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6844 xe_msg_checking="for ldap_open in -lldap" | 7132 xe_msg_checking="for ldap_open in -lldap" |
6845 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7133 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6846 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7134 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6847 echo "configure:6848: checking "$xe_msg_checking"" >&5 | 7135 echo "configure:7136: checking "$xe_msg_checking"" >&5 |
6848 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7136 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6849 | 7137 |
6850 xe_check_libs=" -lldap -llber -lkrb" | 7138 xe_check_libs=" -lldap -llber -lkrb" |
6851 cat > conftest.$ac_ext <<EOF | 7139 cat > conftest.$ac_ext <<EOF |
6852 #line 6853 "configure" | 7140 #line 7141 "configure" |
6853 #include "confdefs.h" | 7141 #include "confdefs.h" |
6854 /* Override any gcc2 internal prototype to avoid an error. */ | 7142 /* Override any gcc2 internal prototype to avoid an error. */ |
6855 /* We use char because int might match the return type of a gcc2 | 7143 /* We use char because int might match the return type of a gcc2 |
6856 builtin and then its argument prototype would still apply. */ | 7144 builtin and then its argument prototype would still apply. */ |
6857 char ldap_open(); | 7145 char ldap_open(); |
6858 | 7146 |
6859 int main() { | 7147 int main() { |
6860 ldap_open() | 7148 ldap_open() |
6861 ; return 0; } | 7149 ; return 0; } |
6862 EOF | 7150 EOF |
6863 if { (eval echo configure:6864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6864 rm -rf conftest* | 7152 rm -rf conftest* |
6865 eval "ac_cv_lib_$ac_lib_var=yes" | 7153 eval "ac_cv_lib_$ac_lib_var=yes" |
6866 else | 7154 else |
6867 echo "configure: failed program was:" >&5 | 7155 echo "configure: failed program was:" >&5 |
6868 cat conftest.$ac_ext >&5 | 7156 cat conftest.$ac_ext >&5 |
6883 } | 7171 } |
6884 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7172 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6885 xe_msg_checking="for ldap_open in -lldap" | 7173 xe_msg_checking="for ldap_open in -lldap" |
6886 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7174 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
6887 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7175 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6888 echo "configure:6889: checking "$xe_msg_checking"" >&5 | 7176 echo "configure:7177: checking "$xe_msg_checking"" >&5 |
6889 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7177 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6890 | 7178 |
6891 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7179 xe_check_libs=" -lldap -llber -lkrb -ldes" |
6892 cat > conftest.$ac_ext <<EOF | 7180 cat > conftest.$ac_ext <<EOF |
6893 #line 6894 "configure" | 7181 #line 7182 "configure" |
6894 #include "confdefs.h" | 7182 #include "confdefs.h" |
6895 /* Override any gcc2 internal prototype to avoid an error. */ | 7183 /* Override any gcc2 internal prototype to avoid an error. */ |
6896 /* We use char because int might match the return type of a gcc2 | 7184 /* We use char because int might match the return type of a gcc2 |
6897 builtin and then its argument prototype would still apply. */ | 7185 builtin and then its argument prototype would still apply. */ |
6898 char ldap_open(); | 7186 char ldap_open(); |
6899 | 7187 |
6900 int main() { | 7188 int main() { |
6901 ldap_open() | 7189 ldap_open() |
6902 ; return 0; } | 7190 ; return 0; } |
6903 EOF | 7191 EOF |
6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7192 if { (eval echo configure:7193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6905 rm -rf conftest* | 7193 rm -rf conftest* |
6906 eval "ac_cv_lib_$ac_lib_var=yes" | 7194 eval "ac_cv_lib_$ac_lib_var=yes" |
6907 else | 7195 else |
6908 echo "configure: failed program was:" >&5 | 7196 echo "configure: failed program was:" >&5 |
6909 cat conftest.$ac_ext >&5 | 7197 cat conftest.$ac_ext >&5 |
6950 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7238 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6951 fi | 7239 fi |
6952 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7240 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
6953 do | 7241 do |
6954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7242 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6955 echo "configure:6956: checking for $ac_func" >&5 | 7243 echo "configure:7244: checking for $ac_func" >&5 |
6956 | 7244 |
6957 cat > conftest.$ac_ext <<EOF | 7245 cat > conftest.$ac_ext <<EOF |
6958 #line 6959 "configure" | 7246 #line 7247 "configure" |
6959 #include "confdefs.h" | 7247 #include "confdefs.h" |
6960 /* System header to define __stub macros and hopefully few prototypes, | 7248 /* System header to define __stub macros and hopefully few prototypes, |
6961 which can conflict with char $ac_func(); below. */ | 7249 which can conflict with char $ac_func(); below. */ |
6962 #include <assert.h> | 7250 #include <assert.h> |
6963 /* Override any gcc2 internal prototype to avoid an error. */ | 7251 /* Override any gcc2 internal prototype to avoid an error. */ |
6976 $ac_func(); | 7264 $ac_func(); |
6977 #endif | 7265 #endif |
6978 | 7266 |
6979 ; return 0; } | 7267 ; return 0; } |
6980 EOF | 7268 EOF |
6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7269 if { (eval echo configure:7270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6982 rm -rf conftest* | 7270 rm -rf conftest* |
6983 eval "ac_cv_func_$ac_func=yes" | 7271 eval "ac_cv_func_$ac_func=yes" |
6984 else | 7272 else |
6985 echo "configure: failed program was:" >&5 | 7273 echo "configure: failed program was:" >&5 |
6986 cat conftest.$ac_ext >&5 | 7274 cat conftest.$ac_ext >&5 |
7005 fi | 7293 fi |
7006 done | 7294 done |
7007 | 7295 |
7008 fi | 7296 fi |
7009 | 7297 |
7298 if test "$with_postgresql" != "no"; then | |
7299 echo "checking for PostgreSQL" 1>&6 | |
7300 echo "configure:7301: checking for PostgreSQL" >&5 | |
7301 | |
7302 for header_dir in "" "pgsql/" "postgresql/"; do | |
7303 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7304 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | |
7305 echo "configure:7306: checking for ${header_dir}libpq-fe.h" >&5 | |
7306 | |
7307 cat > conftest.$ac_ext <<EOF | |
7308 #line 7309 "configure" | |
7309 #include "confdefs.h" | |
7310 #include <${header_dir}libpq-fe.h> | |
7311 EOF | |
7312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7313 { (eval echo configure:7314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7315 if test -z "$ac_err"; then | |
7316 rm -rf conftest* | |
7317 eval "ac_cv_header_$ac_safe=yes" | |
7318 else | |
7319 echo "$ac_err" >&5 | |
7320 echo "configure: failed program was:" >&5 | |
7321 cat conftest.$ac_ext >&5 | |
7322 rm -rf conftest* | |
7323 eval "ac_cv_header_$ac_safe=no" | |
7324 fi | |
7325 rm -f conftest* | |
7326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7327 echo "$ac_t""yes" 1>&6 | |
7328 libpq_fe_h_file=${header_dir}libpq-fe.h; break | |
7329 else | |
7330 echo "$ac_t""no" 1>&6 | |
7331 fi | |
7332 | |
7333 done | |
7334 | |
7335 test -n "$libpq_fe_h_file" && { | |
7336 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | |
7337 echo "configure:7338: checking for PQconnectdb in -lpq" >&5 | |
7338 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | |
7339 | |
7340 xe_check_libs=" -lpq " | |
7341 cat > conftest.$ac_ext <<EOF | |
7342 #line 7343 "configure" | |
7343 #include "confdefs.h" | |
7344 /* Override any gcc2 internal prototype to avoid an error. */ | |
7345 /* We use char because int might match the return type of a gcc2 | |
7346 builtin and then its argument prototype would still apply. */ | |
7347 char PQconnectdb(); | |
7348 | |
7349 int main() { | |
7350 PQconnectdb() | |
7351 ; return 0; } | |
7352 EOF | |
7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7354 rm -rf conftest* | |
7355 eval "ac_cv_lib_$ac_lib_var=yes" | |
7356 else | |
7357 echo "configure: failed program was:" >&5 | |
7358 cat conftest.$ac_ext >&5 | |
7359 rm -rf conftest* | |
7360 eval "ac_cv_lib_$ac_lib_var=no" | |
7361 fi | |
7362 rm -f conftest* | |
7363 xe_check_libs="" | |
7364 | |
7365 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7366 echo "$ac_t""yes" 1>&6 | |
7367 have_libpq=yes | |
7368 else | |
7369 echo "$ac_t""no" 1>&6 | |
7370 fi | |
7371 | |
7372 } | |
7373 | |
7374 if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes"; then | |
7375 with_postgresql=yes | |
7376 { test "$extra_verbose" = "yes" && cat << \EOF | |
7377 Defining HAVE_POSTGRESQL | |
7378 EOF | |
7379 cat >> confdefs.h <<\EOF | |
7380 #define HAVE_POSTGRESQL 1 | |
7381 EOF | |
7382 } | |
7383 | |
7384 | |
7385 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | |
7386 echo "configure:7387: checking for PQconnectStart in -lpq" >&5 | |
7387 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | |
7388 | |
7389 xe_check_libs=" -lpq " | |
7390 cat > conftest.$ac_ext <<EOF | |
7391 #line 7392 "configure" | |
7392 #include "confdefs.h" | |
7393 /* Override any gcc2 internal prototype to avoid an error. */ | |
7394 /* We use char because int might match the return type of a gcc2 | |
7395 builtin and then its argument prototype would still apply. */ | |
7396 char PQconnectStart(); | |
7397 | |
7398 int main() { | |
7399 PQconnectStart() | |
7400 ; return 0; } | |
7401 EOF | |
7402 if { (eval echo configure:7403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7403 rm -rf conftest* | |
7404 eval "ac_cv_lib_$ac_lib_var=yes" | |
7405 else | |
7406 echo "configure: failed program was:" >&5 | |
7407 cat conftest.$ac_ext >&5 | |
7408 rm -rf conftest* | |
7409 eval "ac_cv_lib_$ac_lib_var=no" | |
7410 fi | |
7411 rm -f conftest* | |
7412 xe_check_libs="" | |
7413 | |
7414 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7415 echo "$ac_t""yes" 1>&6 | |
7416 with_postgresqlv7=yes; | |
7417 { test "$extra_verbose" = "yes" && cat << \EOF | |
7418 Defining HAVE_POSTGRESQLV7 | |
7419 EOF | |
7420 cat >> confdefs.h <<\EOF | |
7421 #define HAVE_POSTGRESQLV7 1 | |
7422 EOF | |
7423 } | |
7424 | |
7425 else | |
7426 echo "$ac_t""no" 1>&6 | |
7427 fi | |
7428 | |
7429 | |
7430 { test "$extra_verbose" = "yes" && cat << EOF | |
7431 Defining LIBPQ_FE_H_FILE = "$libpq_fe_h_file" | |
7432 EOF | |
7433 cat >> confdefs.h <<EOF | |
7434 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" | |
7435 EOF | |
7436 } | |
7437 | |
7438 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi | |
7439 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then | |
7440 echo " xemacs will be linked with \"postgresql.o\"" | |
7441 fi | |
7442 elif test "$with_postgresql" = "yes"; then | |
7443 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } | |
7444 fi | |
7445 fi | |
7446 | |
7010 | 7447 |
7011 if test "$window_system" != "none"; then | 7448 if test "$window_system" != "none"; then |
7012 echo "checking for graphics libraries" 1>&6 | 7449 echo "checking for graphics libraries" 1>&6 |
7013 echo "configure:7014: checking for graphics libraries" >&5 | 7450 echo "configure:7451: checking for graphics libraries" >&5 |
7014 | 7451 |
7015 xpm_problem="" | 7452 xpm_problem="" |
7016 if test -z "$with_xpm"; then | 7453 if test -z "$with_xpm"; then |
7017 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7454 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7018 echo "configure:7019: checking for Xpm - no older than 3.4f" >&5 | 7455 echo "configure:7456: checking for Xpm - no older than 3.4f" >&5 |
7019 xe_check_libs=-lXpm | 7456 xe_check_libs=-lXpm |
7020 cat > conftest.$ac_ext <<EOF | 7457 cat > conftest.$ac_ext <<EOF |
7021 #line 7022 "configure" | 7458 #line 7459 "configure" |
7022 #include "confdefs.h" | 7459 #include "confdefs.h" |
7460 #define XPM_NUMBERS | |
7023 #include <X11/xpm.h> | 7461 #include <X11/xpm.h> |
7024 int main(int c, char **v) { | 7462 int main(int c, char **v) { |
7025 return c == 1 ? 0 : | 7463 return c == 1 ? 0 : |
7026 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7464 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7027 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7465 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7028 EOF | 7466 EOF |
7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7467 if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7030 then | 7468 then |
7031 ./conftest dummy_arg; xpm_status=$?; | 7469 ./conftest dummy_arg; xpm_status=$?; |
7032 if test "$xpm_status" = "0"; then | 7470 if test "$xpm_status" = "0"; then |
7033 with_xpm=yes; | 7471 with_xpm=yes; |
7034 else | 7472 else |
7066 EOF | 7504 EOF |
7067 } | 7505 } |
7068 | 7506 |
7069 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7507 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7070 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7508 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7071 echo "configure:7072: checking for \"FOR_MSW\" xpm" >&5 | 7509 echo "configure:7510: checking for \"FOR_MSW\" xpm" >&5 |
7072 xe_check_libs=-lXpm | 7510 xe_check_libs=-lXpm |
7073 cat > conftest.$ac_ext <<EOF | 7511 cat > conftest.$ac_ext <<EOF |
7074 #line 7075 "configure" | 7512 #line 7513 "configure" |
7075 #include "confdefs.h" | 7513 #include "confdefs.h" |
7076 | 7514 |
7077 int main() { | 7515 int main() { |
7078 XpmCreatePixmapFromData() | 7516 XpmCreatePixmapFromData() |
7079 ; return 0; } | 7517 ; return 0; } |
7080 EOF | 7518 EOF |
7081 if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7519 if { (eval echo configure:7520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7082 rm -rf conftest* | 7520 rm -rf conftest* |
7083 xpm_for_msw=no | 7521 xpm_for_msw=no |
7084 else | 7522 else |
7085 echo "configure: failed program was:" >&5 | 7523 echo "configure: failed program was:" >&5 |
7086 cat conftest.$ac_ext >&5 | 7524 cat conftest.$ac_ext >&5 |
7102 fi | 7540 fi |
7103 fi | 7541 fi |
7104 | 7542 |
7105 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7543 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7106 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7544 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7107 echo "configure:7108: checking for compface.h" >&5 | 7545 echo "configure:7546: checking for compface.h" >&5 |
7108 | 7546 |
7109 cat > conftest.$ac_ext <<EOF | 7547 cat > conftest.$ac_ext <<EOF |
7110 #line 7111 "configure" | 7548 #line 7549 "configure" |
7111 #include "confdefs.h" | 7549 #include "confdefs.h" |
7112 #include <compface.h> | 7550 #include <compface.h> |
7113 EOF | 7551 EOF |
7114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7115 { (eval echo configure:7116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7553 { (eval echo configure:7554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7117 if test -z "$ac_err"; then | 7555 if test -z "$ac_err"; then |
7118 rm -rf conftest* | 7556 rm -rf conftest* |
7119 eval "ac_cv_header_$ac_safe=yes" | 7557 eval "ac_cv_header_$ac_safe=yes" |
7120 else | 7558 else |
7133 with_xface=no | 7571 with_xface=no |
7134 fi | 7572 fi |
7135 } | 7573 } |
7136 test -z "$with_xface" && { | 7574 test -z "$with_xface" && { |
7137 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7575 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7138 echo "configure:7139: checking for UnGenFace in -lcompface" >&5 | 7576 echo "configure:7577: checking for UnGenFace in -lcompface" >&5 |
7139 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7577 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7140 | 7578 |
7141 xe_check_libs=" -lcompface " | 7579 xe_check_libs=" -lcompface " |
7142 cat > conftest.$ac_ext <<EOF | 7580 cat > conftest.$ac_ext <<EOF |
7143 #line 7144 "configure" | 7581 #line 7582 "configure" |
7144 #include "confdefs.h" | 7582 #include "confdefs.h" |
7145 /* Override any gcc2 internal prototype to avoid an error. */ | 7583 /* Override any gcc2 internal prototype to avoid an error. */ |
7146 /* We use char because int might match the return type of a gcc2 | 7584 /* We use char because int might match the return type of a gcc2 |
7147 builtin and then its argument prototype would still apply. */ | 7585 builtin and then its argument prototype would still apply. */ |
7148 char UnGenFace(); | 7586 char UnGenFace(); |
7149 | 7587 |
7150 int main() { | 7588 int main() { |
7151 UnGenFace() | 7589 UnGenFace() |
7152 ; return 0; } | 7590 ; return 0; } |
7153 EOF | 7591 EOF |
7154 if { (eval echo configure:7155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7592 if { (eval echo configure:7593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7155 rm -rf conftest* | 7593 rm -rf conftest* |
7156 eval "ac_cv_lib_$ac_lib_var=yes" | 7594 eval "ac_cv_lib_$ac_lib_var=yes" |
7157 else | 7595 else |
7158 echo "configure: failed program was:" >&5 | 7596 echo "configure: failed program was:" >&5 |
7159 cat conftest.$ac_ext >&5 | 7597 cat conftest.$ac_ext >&5 |
7201 fi | 7639 fi |
7202 | 7640 |
7203 if test "$with_png $with_tiff" != "no no"; then | 7641 if test "$with_png $with_tiff" != "no no"; then |
7204 | 7642 |
7205 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7643 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7206 echo "configure:7207: checking for inflate in -lc" >&5 | 7644 echo "configure:7645: checking for inflate in -lc" >&5 |
7207 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7645 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7208 | 7646 |
7209 xe_check_libs=" -lc " | 7647 xe_check_libs=" -lc " |
7210 cat > conftest.$ac_ext <<EOF | 7648 cat > conftest.$ac_ext <<EOF |
7211 #line 7212 "configure" | 7649 #line 7650 "configure" |
7212 #include "confdefs.h" | 7650 #include "confdefs.h" |
7213 /* Override any gcc2 internal prototype to avoid an error. */ | 7651 /* Override any gcc2 internal prototype to avoid an error. */ |
7214 /* We use char because int might match the return type of a gcc2 | 7652 /* We use char because int might match the return type of a gcc2 |
7215 builtin and then its argument prototype would still apply. */ | 7653 builtin and then its argument prototype would still apply. */ |
7216 char inflate(); | 7654 char inflate(); |
7217 | 7655 |
7218 int main() { | 7656 int main() { |
7219 inflate() | 7657 inflate() |
7220 ; return 0; } | 7658 ; return 0; } |
7221 EOF | 7659 EOF |
7222 if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7660 if { (eval echo configure:7661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7223 rm -rf conftest* | 7661 rm -rf conftest* |
7224 eval "ac_cv_lib_$ac_lib_var=yes" | 7662 eval "ac_cv_lib_$ac_lib_var=yes" |
7225 else | 7663 else |
7226 echo "configure: failed program was:" >&5 | 7664 echo "configure: failed program was:" >&5 |
7227 cat conftest.$ac_ext >&5 | 7665 cat conftest.$ac_ext >&5 |
7236 : | 7674 : |
7237 else | 7675 else |
7238 echo "$ac_t""no" 1>&6 | 7676 echo "$ac_t""no" 1>&6 |
7239 | 7677 |
7240 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7678 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7241 echo "configure:7242: checking for inflate in -lz" >&5 | 7679 echo "configure:7680: checking for inflate in -lz" >&5 |
7242 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7680 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7243 | 7681 |
7244 xe_check_libs=" -lz " | 7682 xe_check_libs=" -lz " |
7245 cat > conftest.$ac_ext <<EOF | 7683 cat > conftest.$ac_ext <<EOF |
7246 #line 7247 "configure" | 7684 #line 7685 "configure" |
7247 #include "confdefs.h" | 7685 #include "confdefs.h" |
7248 /* Override any gcc2 internal prototype to avoid an error. */ | 7686 /* Override any gcc2 internal prototype to avoid an error. */ |
7249 /* 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 |
7250 builtin and then its argument prototype would still apply. */ | 7688 builtin and then its argument prototype would still apply. */ |
7251 char inflate(); | 7689 char inflate(); |
7252 | 7690 |
7253 int main() { | 7691 int main() { |
7254 inflate() | 7692 inflate() |
7255 ; return 0; } | 7693 ; return 0; } |
7256 EOF | 7694 EOF |
7257 if { (eval echo configure:7258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7258 rm -rf conftest* | 7696 rm -rf conftest* |
7259 eval "ac_cv_lib_$ac_lib_var=yes" | 7697 eval "ac_cv_lib_$ac_lib_var=yes" |
7260 else | 7698 else |
7261 echo "configure: failed program was:" >&5 | 7699 echo "configure: failed program was:" >&5 |
7262 cat conftest.$ac_ext >&5 | 7700 cat conftest.$ac_ext >&5 |
7271 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7709 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7272 else | 7710 else |
7273 echo "$ac_t""no" 1>&6 | 7711 echo "$ac_t""no" 1>&6 |
7274 | 7712 |
7275 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7713 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7276 echo "configure:7277: checking for inflate in -lgz" >&5 | 7714 echo "configure:7715: checking for inflate in -lgz" >&5 |
7277 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7715 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7278 | 7716 |
7279 xe_check_libs=" -lgz " | 7717 xe_check_libs=" -lgz " |
7280 cat > conftest.$ac_ext <<EOF | 7718 cat > conftest.$ac_ext <<EOF |
7281 #line 7282 "configure" | 7719 #line 7720 "configure" |
7282 #include "confdefs.h" | 7720 #include "confdefs.h" |
7283 /* Override any gcc2 internal prototype to avoid an error. */ | 7721 /* Override any gcc2 internal prototype to avoid an error. */ |
7284 /* We use char because int might match the return type of a gcc2 | 7722 /* We use char because int might match the return type of a gcc2 |
7285 builtin and then its argument prototype would still apply. */ | 7723 builtin and then its argument prototype would still apply. */ |
7286 char inflate(); | 7724 char inflate(); |
7287 | 7725 |
7288 int main() { | 7726 int main() { |
7289 inflate() | 7727 inflate() |
7290 ; return 0; } | 7728 ; return 0; } |
7291 EOF | 7729 EOF |
7292 if { (eval echo configure:7293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7293 rm -rf conftest* | 7731 rm -rf conftest* |
7294 eval "ac_cv_lib_$ac_lib_var=yes" | 7732 eval "ac_cv_lib_$ac_lib_var=yes" |
7295 else | 7733 else |
7296 echo "configure: failed program was:" >&5 | 7734 echo "configure: failed program was:" >&5 |
7297 cat conftest.$ac_ext >&5 | 7735 cat conftest.$ac_ext >&5 |
7317 | 7755 |
7318 fi | 7756 fi |
7319 | 7757 |
7320 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7758 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7321 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7759 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7322 echo "configure:7323: checking for jpeglib.h" >&5 | 7760 echo "configure:7761: checking for jpeglib.h" >&5 |
7323 | 7761 |
7324 cat > conftest.$ac_ext <<EOF | 7762 cat > conftest.$ac_ext <<EOF |
7325 #line 7326 "configure" | 7763 #line 7764 "configure" |
7326 #include "confdefs.h" | 7764 #include "confdefs.h" |
7327 #include <jpeglib.h> | 7765 #include <jpeglib.h> |
7328 EOF | 7766 EOF |
7329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7330 { (eval echo configure:7331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7768 { (eval echo configure:7769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7332 if test -z "$ac_err"; then | 7770 if test -z "$ac_err"; then |
7333 rm -rf conftest* | 7771 rm -rf conftest* |
7334 eval "ac_cv_header_$ac_safe=yes" | 7772 eval "ac_cv_header_$ac_safe=yes" |
7335 else | 7773 else |
7348 with_jpeg=no | 7786 with_jpeg=no |
7349 fi | 7787 fi |
7350 } | 7788 } |
7351 test -z "$with_jpeg" && { | 7789 test -z "$with_jpeg" && { |
7352 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7790 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7353 echo "configure:7354: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7791 echo "configure:7792: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7354 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7792 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7355 | 7793 |
7356 xe_check_libs=" -ljpeg " | 7794 xe_check_libs=" -ljpeg " |
7357 cat > conftest.$ac_ext <<EOF | 7795 cat > conftest.$ac_ext <<EOF |
7358 #line 7359 "configure" | 7796 #line 7797 "configure" |
7359 #include "confdefs.h" | 7797 #include "confdefs.h" |
7360 /* Override any gcc2 internal prototype to avoid an error. */ | 7798 /* Override any gcc2 internal prototype to avoid an error. */ |
7361 /* We use char because int might match the return type of a gcc2 | 7799 /* We use char because int might match the return type of a gcc2 |
7362 builtin and then its argument prototype would still apply. */ | 7800 builtin and then its argument prototype would still apply. */ |
7363 char jpeg_destroy_decompress(); | 7801 char jpeg_destroy_decompress(); |
7364 | 7802 |
7365 int main() { | 7803 int main() { |
7366 jpeg_destroy_decompress() | 7804 jpeg_destroy_decompress() |
7367 ; return 0; } | 7805 ; return 0; } |
7368 EOF | 7806 EOF |
7369 if { (eval echo configure:7370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7807 if { (eval echo configure:7808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7370 rm -rf conftest* | 7808 rm -rf conftest* |
7371 eval "ac_cv_lib_$ac_lib_var=yes" | 7809 eval "ac_cv_lib_$ac_lib_var=yes" |
7372 else | 7810 else |
7373 echo "configure: failed program was:" >&5 | 7811 echo "configure: failed program was:" >&5 |
7374 cat conftest.$ac_ext >&5 | 7812 cat conftest.$ac_ext >&5 |
7400 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7838 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7401 fi | 7839 fi |
7402 | 7840 |
7403 png_problem="" | 7841 png_problem="" |
7404 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7842 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7405 echo "configure:7406: checking for pow" >&5 | 7843 echo "configure:7844: checking for pow" >&5 |
7406 | 7844 |
7407 cat > conftest.$ac_ext <<EOF | 7845 cat > conftest.$ac_ext <<EOF |
7408 #line 7409 "configure" | 7846 #line 7847 "configure" |
7409 #include "confdefs.h" | 7847 #include "confdefs.h" |
7410 /* System header to define __stub macros and hopefully few prototypes, | 7848 /* System header to define __stub macros and hopefully few prototypes, |
7411 which can conflict with char pow(); below. */ | 7849 which can conflict with char pow(); below. */ |
7412 #include <assert.h> | 7850 #include <assert.h> |
7413 /* Override any gcc2 internal prototype to avoid an error. */ | 7851 /* Override any gcc2 internal prototype to avoid an error. */ |
7426 pow(); | 7864 pow(); |
7427 #endif | 7865 #endif |
7428 | 7866 |
7429 ; return 0; } | 7867 ; return 0; } |
7430 EOF | 7868 EOF |
7431 if { (eval echo configure:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7869 if { (eval echo configure:7870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7432 rm -rf conftest* | 7870 rm -rf conftest* |
7433 eval "ac_cv_func_pow=yes" | 7871 eval "ac_cv_func_pow=yes" |
7434 else | 7872 else |
7435 echo "configure: failed program was:" >&5 | 7873 echo "configure: failed program was:" >&5 |
7436 cat conftest.$ac_ext >&5 | 7874 cat conftest.$ac_ext >&5 |
7447 with_png=no | 7885 with_png=no |
7448 fi | 7886 fi |
7449 } | 7887 } |
7450 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7888 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7451 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7889 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7452 echo "configure:7453: checking for png.h" >&5 | 7890 echo "configure:7891: checking for png.h" >&5 |
7453 | 7891 |
7454 cat > conftest.$ac_ext <<EOF | 7892 cat > conftest.$ac_ext <<EOF |
7455 #line 7456 "configure" | 7893 #line 7894 "configure" |
7456 #include "confdefs.h" | 7894 #include "confdefs.h" |
7457 #include <png.h> | 7895 #include <png.h> |
7458 EOF | 7896 EOF |
7459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7460 { (eval echo configure:7461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7898 { (eval echo configure:7899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7462 if test -z "$ac_err"; then | 7900 if test -z "$ac_err"; then |
7463 rm -rf conftest* | 7901 rm -rf conftest* |
7464 eval "ac_cv_header_$ac_safe=yes" | 7902 eval "ac_cv_header_$ac_safe=yes" |
7465 else | 7903 else |
7478 with_png=no | 7916 with_png=no |
7479 fi | 7917 fi |
7480 } | 7918 } |
7481 test -z "$with_png" && { | 7919 test -z "$with_png" && { |
7482 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7920 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7483 echo "configure:7484: checking for png_read_image in -lpng" >&5 | 7921 echo "configure:7922: checking for png_read_image in -lpng" >&5 |
7484 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7922 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7485 | 7923 |
7486 xe_check_libs=" -lpng " | 7924 xe_check_libs=" -lpng " |
7487 cat > conftest.$ac_ext <<EOF | 7925 cat > conftest.$ac_ext <<EOF |
7488 #line 7489 "configure" | 7926 #line 7927 "configure" |
7489 #include "confdefs.h" | 7927 #include "confdefs.h" |
7490 /* Override any gcc2 internal prototype to avoid an error. */ | 7928 /* Override any gcc2 internal prototype to avoid an error. */ |
7491 /* We use char because int might match the return type of a gcc2 | 7929 /* We use char because int might match the return type of a gcc2 |
7492 builtin and then its argument prototype would still apply. */ | 7930 builtin and then its argument prototype would still apply. */ |
7493 char png_read_image(); | 7931 char png_read_image(); |
7494 | 7932 |
7495 int main() { | 7933 int main() { |
7496 png_read_image() | 7934 png_read_image() |
7497 ; return 0; } | 7935 ; return 0; } |
7498 EOF | 7936 EOF |
7499 if { (eval echo configure:7500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7500 rm -rf conftest* | 7938 rm -rf conftest* |
7501 eval "ac_cv_lib_$ac_lib_var=yes" | 7939 eval "ac_cv_lib_$ac_lib_var=yes" |
7502 else | 7940 else |
7503 echo "configure: failed program was:" >&5 | 7941 echo "configure: failed program was:" >&5 |
7504 cat conftest.$ac_ext >&5 | 7942 cat conftest.$ac_ext >&5 |
7517 fi | 7955 fi |
7518 | 7956 |
7519 } | 7957 } |
7520 if test -z "$with_png"; then | 7958 if test -z "$with_png"; then |
7521 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7959 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7522 echo "configure:7523: checking for workable png version information" >&5 | 7960 echo "configure:7961: checking for workable png version information" >&5 |
7523 xe_check_libs="-lpng -lz" | 7961 xe_check_libs="-lpng -lz" |
7524 cat > conftest.$ac_ext <<EOF | 7962 cat > conftest.$ac_ext <<EOF |
7525 #line 7526 "configure" | 7963 #line 7964 "configure" |
7526 #include "confdefs.h" | 7964 #include "confdefs.h" |
7527 #include <png.h> | 7965 #include <png.h> |
7528 int main(int c, char **v) { | 7966 int main(int c, char **v) { |
7529 if (c == 1) return 0; | 7967 if (c == 1) return 0; |
7530 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7968 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7531 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7969 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7532 EOF | 7970 EOF |
7533 if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7971 if { (eval echo configure:7972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7534 then | 7972 then |
7535 ./conftest dummy_arg; png_status=$?; | 7973 ./conftest dummy_arg; png_status=$?; |
7536 if test "$png_status" = "0"; then | 7974 if test "$png_status" = "0"; then |
7537 with_png=yes; | 7975 with_png=yes; |
7538 else | 7976 else |
7571 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8009 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7572 fi | 8010 fi |
7573 | 8011 |
7574 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8012 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7575 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8013 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7576 echo "configure:7577: checking for tiffio.h" >&5 | 8014 echo "configure:8015: checking for tiffio.h" >&5 |
7577 | 8015 |
7578 cat > conftest.$ac_ext <<EOF | 8016 cat > conftest.$ac_ext <<EOF |
7579 #line 7580 "configure" | 8017 #line 8018 "configure" |
7580 #include "confdefs.h" | 8018 #include "confdefs.h" |
7581 #include <tiffio.h> | 8019 #include <tiffio.h> |
7582 EOF | 8020 EOF |
7583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7584 { (eval echo configure:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8022 { (eval echo configure:8023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7586 if test -z "$ac_err"; then | 8024 if test -z "$ac_err"; then |
7587 rm -rf conftest* | 8025 rm -rf conftest* |
7588 eval "ac_cv_header_$ac_safe=yes" | 8026 eval "ac_cv_header_$ac_safe=yes" |
7589 else | 8027 else |
7602 with_tiff=no | 8040 with_tiff=no |
7603 fi | 8041 fi |
7604 } | 8042 } |
7605 test -z "$with_tiff" && { | 8043 test -z "$with_tiff" && { |
7606 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8044 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7607 echo "configure:7608: checking for TIFFClientOpen in -ltiff" >&5 | 8045 echo "configure:8046: checking for TIFFClientOpen in -ltiff" >&5 |
7608 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8046 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7609 | 8047 |
7610 xe_check_libs=" -ltiff " | 8048 xe_check_libs=" -ltiff " |
7611 cat > conftest.$ac_ext <<EOF | 8049 cat > conftest.$ac_ext <<EOF |
7612 #line 7613 "configure" | 8050 #line 8051 "configure" |
7613 #include "confdefs.h" | 8051 #include "confdefs.h" |
7614 /* Override any gcc2 internal prototype to avoid an error. */ | 8052 /* Override any gcc2 internal prototype to avoid an error. */ |
7615 /* We use char because int might match the return type of a gcc2 | 8053 /* We use char because int might match the return type of a gcc2 |
7616 builtin and then its argument prototype would still apply. */ | 8054 builtin and then its argument prototype would still apply. */ |
7617 char TIFFClientOpen(); | 8055 char TIFFClientOpen(); |
7618 | 8056 |
7619 int main() { | 8057 int main() { |
7620 TIFFClientOpen() | 8058 TIFFClientOpen() |
7621 ; return 0; } | 8059 ; return 0; } |
7622 EOF | 8060 EOF |
7623 if { (eval echo configure:7624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7624 rm -rf conftest* | 8062 rm -rf conftest* |
7625 eval "ac_cv_lib_$ac_lib_var=yes" | 8063 eval "ac_cv_lib_$ac_lib_var=yes" |
7626 else | 8064 else |
7627 echo "configure: failed program was:" >&5 | 8065 echo "configure: failed program was:" >&5 |
7628 cat conftest.$ac_ext >&5 | 8066 cat conftest.$ac_ext >&5 |
7657 | 8095 |
7658 | 8096 |
7659 if test "$with_x11" = "yes"; then | 8097 if test "$with_x11" = "yes"; then |
7660 | 8098 |
7661 echo "checking for X11 graphics libraries" 1>&6 | 8099 echo "checking for X11 graphics libraries" 1>&6 |
7662 echo "configure:7663: checking for X11 graphics libraries" >&5 | 8100 echo "configure:8101: checking for X11 graphics libraries" >&5 |
7663 | 8101 |
7664 echo "checking for the Athena widgets" 1>&6 | 8102 echo "checking for the Athena widgets" 1>&6 |
7665 echo "configure:7666: checking for the Athena widgets" >&5 | 8103 echo "configure:8104: checking for the Athena widgets" >&5 |
7666 | 8104 |
7667 case "$with_athena" in | 8105 case "$with_athena" in |
7668 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8106 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
7669 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8107 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
7670 "next") athena_variant=neXtaw athena_3d=yes ;; | 8108 "next") athena_variant=neXtaw athena_3d=yes ;; |
7674 esac | 8112 esac |
7675 | 8113 |
7676 if test "$athena_3d" = "no"; then | 8114 if test "$athena_3d" = "no"; then |
7677 | 8115 |
7678 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8116 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
7679 echo "configure:7680: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8117 echo "configure:8118: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
7680 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8118 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7681 | 8119 |
7682 xe_check_libs=" -l$athena_variant " | 8120 xe_check_libs=" -l$athena_variant " |
7683 cat > conftest.$ac_ext <<EOF | 8121 cat > conftest.$ac_ext <<EOF |
7684 #line 7685 "configure" | 8122 #line 8123 "configure" |
7685 #include "confdefs.h" | 8123 #include "confdefs.h" |
7686 /* Override any gcc2 internal prototype to avoid an error. */ | 8124 /* Override any gcc2 internal prototype to avoid an error. */ |
7687 /* We use char because int might match the return type of a gcc2 | 8125 /* We use char because int might match the return type of a gcc2 |
7688 builtin and then its argument prototype would still apply. */ | 8126 builtin and then its argument prototype would still apply. */ |
7689 char XawScrollbarSetThumb(); | 8127 char XawScrollbarSetThumb(); |
7690 | 8128 |
7691 int main() { | 8129 int main() { |
7692 XawScrollbarSetThumb() | 8130 XawScrollbarSetThumb() |
7693 ; return 0; } | 8131 ; return 0; } |
7694 EOF | 8132 EOF |
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8133 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7696 rm -rf conftest* | 8134 rm -rf conftest* |
7697 eval "ac_cv_lib_$ac_lib_var=yes" | 8135 eval "ac_cv_lib_$ac_lib_var=yes" |
7698 else | 8136 else |
7699 echo "configure: failed program was:" >&5 | 8137 echo "configure: failed program was:" >&5 |
7700 cat conftest.$ac_ext >&5 | 8138 cat conftest.$ac_ext >&5 |
7706 | 8144 |
7707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7708 echo "$ac_t""yes" 1>&6 | 8146 echo "$ac_t""yes" 1>&6 |
7709 | 8147 |
7710 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8148 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
7711 echo "configure:7712: checking for threeDClassRec in -l$athena_variant" >&5 | 8149 echo "configure:8150: checking for threeDClassRec in -l$athena_variant" >&5 |
7712 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8150 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7713 | 8151 |
7714 xe_check_libs=" -l$athena_variant " | 8152 xe_check_libs=" -l$athena_variant " |
7715 cat > conftest.$ac_ext <<EOF | 8153 cat > conftest.$ac_ext <<EOF |
7716 #line 7717 "configure" | 8154 #line 8155 "configure" |
7717 #include "confdefs.h" | 8155 #include "confdefs.h" |
7718 /* Override any gcc2 internal prototype to avoid an error. */ | 8156 /* Override any gcc2 internal prototype to avoid an error. */ |
7719 /* We use char because int might match the return type of a gcc2 | 8157 /* We use char because int might match the return type of a gcc2 |
7720 builtin and then its argument prototype would still apply. */ | 8158 builtin and then its argument prototype would still apply. */ |
7721 char threeDClassRec(); | 8159 char threeDClassRec(); |
7722 | 8160 |
7723 int main() { | 8161 int main() { |
7724 threeDClassRec() | 8162 threeDClassRec() |
7725 ; return 0; } | 8163 ; return 0; } |
7726 EOF | 8164 EOF |
7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7728 rm -rf conftest* | 8166 rm -rf conftest* |
7729 eval "ac_cv_lib_$ac_lib_var=yes" | 8167 eval "ac_cv_lib_$ac_lib_var=yes" |
7730 else | 8168 else |
7731 echo "configure: failed program was:" >&5 | 8169 echo "configure: failed program was:" >&5 |
7732 cat conftest.$ac_ext >&5 | 8170 cat conftest.$ac_ext >&5 |
7753 | 8191 |
7754 | 8192 |
7755 else | 8193 else |
7756 | 8194 |
7757 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8195 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
7758 echo "configure:7759: checking for threeDClassRec in -l$athena_variant" >&5 | 8196 echo "configure:8197: checking for threeDClassRec in -l$athena_variant" >&5 |
7759 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8197 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7760 | 8198 |
7761 xe_check_libs=" -l$athena_variant " | 8199 xe_check_libs=" -l$athena_variant " |
7762 cat > conftest.$ac_ext <<EOF | 8200 cat > conftest.$ac_ext <<EOF |
7763 #line 7764 "configure" | 8201 #line 8202 "configure" |
7764 #include "confdefs.h" | 8202 #include "confdefs.h" |
7765 /* Override any gcc2 internal prototype to avoid an error. */ | 8203 /* Override any gcc2 internal prototype to avoid an error. */ |
7766 /* We use char because int might match the return type of a gcc2 | 8204 /* We use char because int might match the return type of a gcc2 |
7767 builtin and then its argument prototype would still apply. */ | 8205 builtin and then its argument prototype would still apply. */ |
7768 char threeDClassRec(); | 8206 char threeDClassRec(); |
7769 | 8207 |
7770 int main() { | 8208 int main() { |
7771 threeDClassRec() | 8209 threeDClassRec() |
7772 ; return 0; } | 8210 ; return 0; } |
7773 EOF | 8211 EOF |
7774 if { (eval echo configure:7775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8212 if { (eval echo configure:8213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7775 rm -rf conftest* | 8213 rm -rf conftest* |
7776 eval "ac_cv_lib_$ac_lib_var=yes" | 8214 eval "ac_cv_lib_$ac_lib_var=yes" |
7777 else | 8215 else |
7778 echo "configure: failed program was:" >&5 | 8216 echo "configure: failed program was:" >&5 |
7779 cat conftest.$ac_ext >&5 | 8217 cat conftest.$ac_ext >&5 |
7787 echo "$ac_t""yes" 1>&6 | 8225 echo "$ac_t""yes" 1>&6 |
7788 athena_lib=$athena_variant | 8226 athena_lib=$athena_variant |
7789 else | 8227 else |
7790 echo "$ac_t""no" 1>&6 | 8228 echo "$ac_t""no" 1>&6 |
7791 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8229 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
7792 echo "configure:7793: checking for threeDClassRec in -lXaw" >&5 | 8230 echo "configure:8231: checking for threeDClassRec in -lXaw" >&5 |
7793 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8231 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7794 | 8232 |
7795 xe_check_libs=" -lXaw " | 8233 xe_check_libs=" -lXaw " |
7796 cat > conftest.$ac_ext <<EOF | 8234 cat > conftest.$ac_ext <<EOF |
7797 #line 7798 "configure" | 8235 #line 8236 "configure" |
7798 #include "confdefs.h" | 8236 #include "confdefs.h" |
7799 /* Override any gcc2 internal prototype to avoid an error. */ | 8237 /* Override any gcc2 internal prototype to avoid an error. */ |
7800 /* We use char because int might match the return type of a gcc2 | 8238 /* We use char because int might match the return type of a gcc2 |
7801 builtin and then its argument prototype would still apply. */ | 8239 builtin and then its argument prototype would still apply. */ |
7802 char threeDClassRec(); | 8240 char threeDClassRec(); |
7803 | 8241 |
7804 int main() { | 8242 int main() { |
7805 threeDClassRec() | 8243 threeDClassRec() |
7806 ; return 0; } | 8244 ; return 0; } |
7807 EOF | 8245 EOF |
7808 if { (eval echo configure:7809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8246 if { (eval echo configure:8247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7809 rm -rf conftest* | 8247 rm -rf conftest* |
7810 eval "ac_cv_lib_$ac_lib_var=yes" | 8248 eval "ac_cv_lib_$ac_lib_var=yes" |
7811 else | 8249 else |
7812 echo "configure: failed program was:" >&5 | 8250 echo "configure: failed program was:" >&5 |
7813 cat conftest.$ac_ext >&5 | 8251 cat conftest.$ac_ext >&5 |
7834 fi | 8272 fi |
7835 | 8273 |
7836 if test "$athena_3d" = "no"; then | 8274 if test "$athena_3d" = "no"; then |
7837 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8275 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
7838 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8276 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
7839 echo "configure:7840: checking for X11/Xaw/ThreeD.h" >&5 | 8277 echo "configure:8278: checking for X11/Xaw/ThreeD.h" >&5 |
7840 | 8278 |
7841 cat > conftest.$ac_ext <<EOF | 8279 cat > conftest.$ac_ext <<EOF |
7842 #line 7843 "configure" | 8280 #line 8281 "configure" |
7843 #include "confdefs.h" | 8281 #include "confdefs.h" |
7844 #include <X11/Xaw/ThreeD.h> | 8282 #include <X11/Xaw/ThreeD.h> |
7845 EOF | 8283 EOF |
7846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7847 { (eval echo configure:7848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8285 { (eval echo configure:8286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7849 if test -z "$ac_err"; then | 8287 if test -z "$ac_err"; then |
7850 rm -rf conftest* | 8288 rm -rf conftest* |
7851 eval "ac_cv_header_$ac_safe=yes" | 8289 eval "ac_cv_header_$ac_safe=yes" |
7852 else | 8290 else |
7862 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8300 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
7863 else | 8301 else |
7864 echo "$ac_t""no" 1>&6 | 8302 echo "$ac_t""no" 1>&6 |
7865 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8303 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
7866 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8304 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
7867 echo "configure:7868: checking for X11/Xaw/XawInit.h" >&5 | 8305 echo "configure:8306: checking for X11/Xaw/XawInit.h" >&5 |
7868 | 8306 |
7869 cat > conftest.$ac_ext <<EOF | 8307 cat > conftest.$ac_ext <<EOF |
7870 #line 7871 "configure" | 8308 #line 8309 "configure" |
7871 #include "confdefs.h" | 8309 #include "confdefs.h" |
7872 #include <X11/Xaw/XawInit.h> | 8310 #include <X11/Xaw/XawInit.h> |
7873 EOF | 8311 EOF |
7874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7875 { (eval echo configure:7876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8313 { (eval echo configure:8314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7877 if test -z "$ac_err"; then | 8315 if test -z "$ac_err"; then |
7878 rm -rf conftest* | 8316 rm -rf conftest* |
7879 eval "ac_cv_header_$ac_safe=yes" | 8317 eval "ac_cv_header_$ac_safe=yes" |
7880 else | 8318 else |
7896 fi | 8334 fi |
7897 | 8335 |
7898 else | 8336 else |
7899 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8337 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
7900 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8338 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
7901 echo "configure:7902: checking for X11/$athena_variant/XawInit.h" >&5 | 8339 echo "configure:8340: checking for X11/$athena_variant/XawInit.h" >&5 |
7902 | 8340 |
7903 cat > conftest.$ac_ext <<EOF | 8341 cat > conftest.$ac_ext <<EOF |
7904 #line 7905 "configure" | 8342 #line 8343 "configure" |
7905 #include "confdefs.h" | 8343 #include "confdefs.h" |
7906 #include <X11/$athena_variant/XawInit.h> | 8344 #include <X11/$athena_variant/XawInit.h> |
7907 EOF | 8345 EOF |
7908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7909 { (eval echo configure:7910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8347 { (eval echo configure:8348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7911 if test -z "$ac_err"; then | 8349 if test -z "$ac_err"; then |
7912 rm -rf conftest* | 8350 rm -rf conftest* |
7913 eval "ac_cv_header_$ac_safe=yes" | 8351 eval "ac_cv_header_$ac_safe=yes" |
7914 else | 8352 else |
7921 rm -f conftest* | 8359 rm -f conftest* |
7922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7923 echo "$ac_t""yes" 1>&6 | 8361 echo "$ac_t""yes" 1>&6 |
7924 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8362 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
7925 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8363 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
7926 echo "configure:7927: checking for X11/$athena_variant/ThreeD.h" >&5 | 8364 echo "configure:8365: checking for X11/$athena_variant/ThreeD.h" >&5 |
7927 | 8365 |
7928 cat > conftest.$ac_ext <<EOF | 8366 cat > conftest.$ac_ext <<EOF |
7929 #line 7930 "configure" | 8367 #line 8368 "configure" |
7930 #include "confdefs.h" | 8368 #include "confdefs.h" |
7931 #include <X11/$athena_variant/ThreeD.h> | 8369 #include <X11/$athena_variant/ThreeD.h> |
7932 EOF | 8370 EOF |
7933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7934 { (eval echo configure:7935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8372 { (eval echo configure:8373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7936 if test -z "$ac_err"; then | 8374 if test -z "$ac_err"; then |
7937 rm -rf conftest* | 8375 rm -rf conftest* |
7938 eval "ac_cv_header_$ac_safe=yes" | 8376 eval "ac_cv_header_$ac_safe=yes" |
7939 else | 8377 else |
7957 | 8395 |
7958 | 8396 |
7959 if test -z "$athena_h_path"; then | 8397 if test -z "$athena_h_path"; then |
7960 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8398 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
7961 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8399 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
7962 echo "configure:7963: checking for $athena_variant/XawInit.h" >&5 | 8400 echo "configure:8401: checking for $athena_variant/XawInit.h" >&5 |
7963 | 8401 |
7964 cat > conftest.$ac_ext <<EOF | 8402 cat > conftest.$ac_ext <<EOF |
7965 #line 7966 "configure" | 8403 #line 8404 "configure" |
7966 #include "confdefs.h" | 8404 #include "confdefs.h" |
7967 #include <$athena_variant/XawInit.h> | 8405 #include <$athena_variant/XawInit.h> |
7968 EOF | 8406 EOF |
7969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7970 { (eval echo configure:7971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8408 { (eval echo configure:8409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7971 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7972 if test -z "$ac_err"; then | 8410 if test -z "$ac_err"; then |
7973 rm -rf conftest* | 8411 rm -rf conftest* |
7974 eval "ac_cv_header_$ac_safe=yes" | 8412 eval "ac_cv_header_$ac_safe=yes" |
7975 else | 8413 else |
7982 rm -f conftest* | 8420 rm -f conftest* |
7983 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7984 echo "$ac_t""yes" 1>&6 | 8422 echo "$ac_t""yes" 1>&6 |
7985 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8423 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
7986 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8424 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
7987 echo "configure:7988: checking for $athena_variant/ThreeD.h" >&5 | 8425 echo "configure:8426: checking for $athena_variant/ThreeD.h" >&5 |
7988 | 8426 |
7989 cat > conftest.$ac_ext <<EOF | 8427 cat > conftest.$ac_ext <<EOF |
7990 #line 7991 "configure" | 8428 #line 8429 "configure" |
7991 #include "confdefs.h" | 8429 #include "confdefs.h" |
7992 #include <$athena_variant/ThreeD.h> | 8430 #include <$athena_variant/ThreeD.h> |
7993 EOF | 8431 EOF |
7994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7995 { (eval echo configure:7996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8433 { (eval echo configure:8434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7997 if test -z "$ac_err"; then | 8435 if test -z "$ac_err"; then |
7998 rm -rf conftest* | 8436 rm -rf conftest* |
7999 eval "ac_cv_header_$ac_safe=yes" | 8437 eval "ac_cv_header_$ac_safe=yes" |
8000 else | 8438 else |
8019 fi | 8457 fi |
8020 | 8458 |
8021 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8459 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8022 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8460 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8023 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8461 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8024 echo "configure:8025: checking for X11/Xaw3d/XawInit.h" >&5 | 8462 echo "configure:8463: checking for X11/Xaw3d/XawInit.h" >&5 |
8025 | 8463 |
8026 cat > conftest.$ac_ext <<EOF | 8464 cat > conftest.$ac_ext <<EOF |
8027 #line 8028 "configure" | 8465 #line 8466 "configure" |
8028 #include "confdefs.h" | 8466 #include "confdefs.h" |
8029 #include <X11/Xaw3d/XawInit.h> | 8467 #include <X11/Xaw3d/XawInit.h> |
8030 EOF | 8468 EOF |
8031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8032 { (eval echo configure:8033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8470 { (eval echo configure:8471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8034 if test -z "$ac_err"; then | 8472 if test -z "$ac_err"; then |
8035 rm -rf conftest* | 8473 rm -rf conftest* |
8036 eval "ac_cv_header_$ac_safe=yes" | 8474 eval "ac_cv_header_$ac_safe=yes" |
8037 else | 8475 else |
8044 rm -f conftest* | 8482 rm -f conftest* |
8045 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8046 echo "$ac_t""yes" 1>&6 | 8484 echo "$ac_t""yes" 1>&6 |
8047 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8485 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8048 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8486 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8049 echo "configure:8050: checking for X11/Xaw3d/ThreeD.h" >&5 | 8487 echo "configure:8488: checking for X11/Xaw3d/ThreeD.h" >&5 |
8050 | 8488 |
8051 cat > conftest.$ac_ext <<EOF | 8489 cat > conftest.$ac_ext <<EOF |
8052 #line 8053 "configure" | 8490 #line 8491 "configure" |
8053 #include "confdefs.h" | 8491 #include "confdefs.h" |
8054 #include <X11/Xaw3d/ThreeD.h> | 8492 #include <X11/Xaw3d/ThreeD.h> |
8055 EOF | 8493 EOF |
8056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8057 { (eval echo configure:8058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8495 { (eval echo configure:8496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8059 if test -z "$ac_err"; then | 8497 if test -z "$ac_err"; then |
8060 rm -rf conftest* | 8498 rm -rf conftest* |
8061 eval "ac_cv_header_$ac_safe=yes" | 8499 eval "ac_cv_header_$ac_safe=yes" |
8062 else | 8500 else |
8084 fi | 8522 fi |
8085 | 8523 |
8086 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8524 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8087 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8525 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8088 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8526 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8089 echo "configure:8090: checking for Xaw3d/XawInit.h" >&5 | 8527 echo "configure:8528: checking for Xaw3d/XawInit.h" >&5 |
8090 | 8528 |
8091 cat > conftest.$ac_ext <<EOF | 8529 cat > conftest.$ac_ext <<EOF |
8092 #line 8093 "configure" | 8530 #line 8531 "configure" |
8093 #include "confdefs.h" | 8531 #include "confdefs.h" |
8094 #include <Xaw3d/XawInit.h> | 8532 #include <Xaw3d/XawInit.h> |
8095 EOF | 8533 EOF |
8096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8534 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8097 { (eval echo configure:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8535 { (eval echo configure:8536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8536 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8099 if test -z "$ac_err"; then | 8537 if test -z "$ac_err"; then |
8100 rm -rf conftest* | 8538 rm -rf conftest* |
8101 eval "ac_cv_header_$ac_safe=yes" | 8539 eval "ac_cv_header_$ac_safe=yes" |
8102 else | 8540 else |
8109 rm -f conftest* | 8547 rm -f conftest* |
8110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8548 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8111 echo "$ac_t""yes" 1>&6 | 8549 echo "$ac_t""yes" 1>&6 |
8112 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8550 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8113 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8551 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8114 echo "configure:8115: checking for Xaw3d/ThreeD.h" >&5 | 8552 echo "configure:8553: checking for Xaw3d/ThreeD.h" >&5 |
8115 | 8553 |
8116 cat > conftest.$ac_ext <<EOF | 8554 cat > conftest.$ac_ext <<EOF |
8117 #line 8118 "configure" | 8555 #line 8556 "configure" |
8118 #include "confdefs.h" | 8556 #include "confdefs.h" |
8119 #include <Xaw3d/ThreeD.h> | 8557 #include <Xaw3d/ThreeD.h> |
8120 EOF | 8558 EOF |
8121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8122 { (eval echo configure:8123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8560 { (eval echo configure:8561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8124 if test -z "$ac_err"; then | 8562 if test -z "$ac_err"; then |
8125 rm -rf conftest* | 8563 rm -rf conftest* |
8126 eval "ac_cv_header_$ac_safe=yes" | 8564 eval "ac_cv_header_$ac_safe=yes" |
8127 else | 8565 else |
8149 fi | 8587 fi |
8150 | 8588 |
8151 if test -z "$athena_h_path"; then | 8589 if test -z "$athena_h_path"; then |
8152 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8590 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8153 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8591 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8154 echo "configure:8155: checking for X11/Xaw/ThreeD.h" >&5 | 8592 echo "configure:8593: checking for X11/Xaw/ThreeD.h" >&5 |
8155 | 8593 |
8156 cat > conftest.$ac_ext <<EOF | 8594 cat > conftest.$ac_ext <<EOF |
8157 #line 8158 "configure" | 8595 #line 8596 "configure" |
8158 #include "confdefs.h" | 8596 #include "confdefs.h" |
8159 #include <X11/Xaw/ThreeD.h> | 8597 #include <X11/Xaw/ThreeD.h> |
8160 EOF | 8598 EOF |
8161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8162 { (eval echo configure:8163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8164 if test -z "$ac_err"; then | 8602 if test -z "$ac_err"; then |
8165 rm -rf conftest* | 8603 rm -rf conftest* |
8166 eval "ac_cv_header_$ac_safe=yes" | 8604 eval "ac_cv_header_$ac_safe=yes" |
8167 else | 8605 else |
8192 have_xaw=no | 8630 have_xaw=no |
8193 fi | 8631 fi |
8194 | 8632 |
8195 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8633 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
8196 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8634 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
8197 echo "configure:8198: checking for Xm/Xm.h" >&5 | 8635 echo "configure:8636: checking for Xm/Xm.h" >&5 |
8198 | 8636 |
8199 cat > conftest.$ac_ext <<EOF | 8637 cat > conftest.$ac_ext <<EOF |
8200 #line 8201 "configure" | 8638 #line 8639 "configure" |
8201 #include "confdefs.h" | 8639 #include "confdefs.h" |
8202 #include <Xm/Xm.h> | 8640 #include <Xm/Xm.h> |
8203 EOF | 8641 EOF |
8204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8205 { (eval echo configure:8206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8643 { (eval echo configure:8644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8207 if test -z "$ac_err"; then | 8645 if test -z "$ac_err"; then |
8208 rm -rf conftest* | 8646 rm -rf conftest* |
8209 eval "ac_cv_header_$ac_safe=yes" | 8647 eval "ac_cv_header_$ac_safe=yes" |
8210 else | 8648 else |
8217 rm -f conftest* | 8655 rm -f conftest* |
8218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8219 echo "$ac_t""yes" 1>&6 | 8657 echo "$ac_t""yes" 1>&6 |
8220 | 8658 |
8221 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8659 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
8222 echo "configure:8223: checking for XmStringFree in -lXm" >&5 | 8660 echo "configure:8661: checking for XmStringFree in -lXm" >&5 |
8223 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8661 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
8224 | 8662 |
8225 xe_check_libs=" -lXm " | 8663 xe_check_libs=" -lXm " |
8226 cat > conftest.$ac_ext <<EOF | 8664 cat > conftest.$ac_ext <<EOF |
8227 #line 8228 "configure" | 8665 #line 8666 "configure" |
8228 #include "confdefs.h" | 8666 #include "confdefs.h" |
8229 /* Override any gcc2 internal prototype to avoid an error. */ | 8667 /* Override any gcc2 internal prototype to avoid an error. */ |
8230 /* We use char because int might match the return type of a gcc2 | 8668 /* We use char because int might match the return type of a gcc2 |
8231 builtin and then its argument prototype would still apply. */ | 8669 builtin and then its argument prototype would still apply. */ |
8232 char XmStringFree(); | 8670 char XmStringFree(); |
8233 | 8671 |
8234 int main() { | 8672 int main() { |
8235 XmStringFree() | 8673 XmStringFree() |
8236 ; return 0; } | 8674 ; return 0; } |
8237 EOF | 8675 EOF |
8238 if { (eval echo configure:8239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8676 if { (eval echo configure:8677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8239 rm -rf conftest* | 8677 rm -rf conftest* |
8240 eval "ac_cv_lib_$ac_lib_var=yes" | 8678 eval "ac_cv_lib_$ac_lib_var=yes" |
8241 else | 8679 else |
8242 echo "configure: failed program was:" >&5 | 8680 echo "configure: failed program was:" >&5 |
8243 cat conftest.$ac_ext >&5 | 8681 cat conftest.$ac_ext >&5 |
8262 fi | 8700 fi |
8263 | 8701 |
8264 | 8702 |
8265 if test "$have_motif" = "yes"; then | 8703 if test "$have_motif" = "yes"; then |
8266 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8704 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
8267 echo "configure:8268: checking for Lesstif" >&5 | 8705 echo "configure:8706: checking for Lesstif" >&5 |
8268 cat > conftest.$ac_ext <<EOF | 8706 cat > conftest.$ac_ext <<EOF |
8269 #line 8270 "configure" | 8707 #line 8708 "configure" |
8270 #include "confdefs.h" | 8708 #include "confdefs.h" |
8271 #include <Xm/Xm.h> | 8709 #include <Xm/Xm.h> |
8272 #ifdef LESSTIF_VERSION | 8710 #ifdef LESSTIF_VERSION |
8273 yes | 8711 yes |
8274 #endif | 8712 #endif |
8318 | 8756 |
8319 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi | 8757 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi |
8320 | 8758 |
8321 libs_x="-l$athena_lib $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$athena_lib\" to \$libs_x"; fi | 8759 libs_x="-l$athena_lib $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$athena_lib\" to \$libs_x"; fi |
8322 | 8760 |
8323 { test "$extra_verbose" = "yes" && cat << EOF | 8761 { test "$extra_verbose" = "yes" && cat << EOF |
8324 Defining ATHENA_H_PATH = $athena_h_path | 8762 Defining ATHENA_Scrollbar_h_ = "$athena_h_path/Scrollbar.h" |
8325 EOF | 8763 EOF |
8326 cat >> confdefs.h <<EOF | 8764 cat >> confdefs.h <<EOF |
8327 #define ATHENA_H_PATH $athena_h_path | 8765 #define ATHENA_Scrollbar_h_ "$athena_h_path/Scrollbar.h" |
8766 EOF | |
8767 } | |
8768 | |
8769 { test "$extra_verbose" = "yes" && cat << EOF | |
8770 Defining ATHENA_Dialog_h_ = "$athena_h_path/Dialog.h" | |
8771 EOF | |
8772 cat >> confdefs.h <<EOF | |
8773 #define ATHENA_Dialog_h_ "$athena_h_path/Dialog.h" | |
8774 EOF | |
8775 } | |
8776 | |
8777 { test "$extra_verbose" = "yes" && cat << EOF | |
8778 Defining ATHENA_Form_h_ = "$athena_h_path/Form.h" | |
8779 EOF | |
8780 cat >> confdefs.h <<EOF | |
8781 #define ATHENA_Form_h_ "$athena_h_path/Form.h" | |
8782 EOF | |
8783 } | |
8784 | |
8785 { test "$extra_verbose" = "yes" && cat << EOF | |
8786 Defining ATHENA_Command_h_ = "$athena_h_path/Command.h" | |
8787 EOF | |
8788 cat >> confdefs.h <<EOF | |
8789 #define ATHENA_Command_h_ "$athena_h_path/Command.h" | |
8790 EOF | |
8791 } | |
8792 | |
8793 { test "$extra_verbose" = "yes" && cat << EOF | |
8794 Defining ATHENA_Label_h_ = "$athena_h_path/Label.h" | |
8795 EOF | |
8796 cat >> confdefs.h <<EOF | |
8797 #define ATHENA_Label_h_ "$athena_h_path/Label.h" | |
8798 EOF | |
8799 } | |
8800 | |
8801 { test "$extra_verbose" = "yes" && cat << EOF | |
8802 Defining ATHENA_LabelP_h_ = "$athena_h_path/LabelP.h" | |
8803 EOF | |
8804 cat >> confdefs.h <<EOF | |
8805 #define ATHENA_LabelP_h_ "$athena_h_path/LabelP.h" | |
8806 EOF | |
8807 } | |
8808 | |
8809 { test "$extra_verbose" = "yes" && cat << EOF | |
8810 Defining ATHENA_Toggle_h_ = "$athena_h_path/Toggle.h" | |
8811 EOF | |
8812 cat >> confdefs.h <<EOF | |
8813 #define ATHENA_Toggle_h_ "$athena_h_path/Toggle.h" | |
8814 EOF | |
8815 } | |
8816 | |
8817 { test "$extra_verbose" = "yes" && cat << EOF | |
8818 Defining ATHENA_ToggleP_h_ = "$athena_h_path/ToggleP.h" | |
8819 EOF | |
8820 cat >> confdefs.h <<EOF | |
8821 #define ATHENA_ToggleP_h_ "$athena_h_path/ToggleP.h" | |
8822 EOF | |
8823 } | |
8824 | |
8825 { test "$extra_verbose" = "yes" && cat << EOF | |
8826 Defining ATHENA_AsciiText_h_ = "$athena_h_path/AsciiText.h" | |
8827 EOF | |
8828 cat >> confdefs.h <<EOF | |
8829 #define ATHENA_AsciiText_h_ "$athena_h_path/AsciiText.h" | |
8830 EOF | |
8831 } | |
8832 | |
8833 { test "$extra_verbose" = "yes" && cat << EOF | |
8834 Defining ATHENA_XawInit_h_ = "$athena_h_path/XawInit.h" | |
8835 EOF | |
8836 cat >> confdefs.h <<EOF | |
8837 #define ATHENA_XawInit_h_ "$athena_h_path/XawInit.h" | |
8328 EOF | 8838 EOF |
8329 } | 8839 } |
8330 | 8840 |
8331 | 8841 |
8332 { test "$extra_verbose" = "yes" && cat << \EOF | 8842 { test "$extra_verbose" = "yes" && cat << \EOF |
8343 cat >> confdefs.h <<\EOF | 8853 cat >> confdefs.h <<\EOF |
8344 #define NEED_ATHENA 1 | 8854 #define NEED_ATHENA 1 |
8345 EOF | 8855 EOF |
8346 } | 8856 } |
8347 | 8857 |
8858 need_athena="yes" | |
8348 | 8859 |
8349 if test "$athena_3d" = "yes"; then | 8860 if test "$athena_3d" = "yes"; then |
8350 { test "$extra_verbose" = "yes" && cat << \EOF | 8861 { test "$extra_verbose" = "yes" && cat << \EOF |
8351 Defining HAVE_ATHENA_3D | 8862 Defining HAVE_ATHENA_3D |
8352 EOF | 8863 EOF |
8597 fi | 9108 fi |
8598 fi | 9109 fi |
8599 | 9110 |
8600 if test "$with_mule" = "yes" ; then | 9111 if test "$with_mule" = "yes" ; then |
8601 echo "checking for Mule-related features" 1>&6 | 9112 echo "checking for Mule-related features" 1>&6 |
8602 echo "configure:8603: checking for Mule-related features" >&5 | 9113 echo "configure:9114: checking for Mule-related features" >&5 |
8603 { test "$extra_verbose" = "yes" && cat << \EOF | 9114 { test "$extra_verbose" = "yes" && cat << \EOF |
8604 Defining MULE | 9115 Defining MULE |
8605 EOF | 9116 EOF |
8606 cat >> confdefs.h <<\EOF | 9117 cat >> confdefs.h <<\EOF |
8607 #define MULE 1 | 9118 #define MULE 1 |
8622 | 9133 |
8623 for ac_hdr in libintl.h | 9134 for ac_hdr in libintl.h |
8624 do | 9135 do |
8625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9136 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9137 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8627 echo "configure:8628: checking for $ac_hdr" >&5 | 9138 echo "configure:9139: checking for $ac_hdr" >&5 |
8628 | 9139 |
8629 cat > conftest.$ac_ext <<EOF | 9140 cat > conftest.$ac_ext <<EOF |
8630 #line 8631 "configure" | 9141 #line 9142 "configure" |
8631 #include "confdefs.h" | 9142 #include "confdefs.h" |
8632 #include <$ac_hdr> | 9143 #include <$ac_hdr> |
8633 EOF | 9144 EOF |
8634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8635 { (eval echo configure:8636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9146 { (eval echo configure:9147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8637 if test -z "$ac_err"; then | 9148 if test -z "$ac_err"; then |
8638 rm -rf conftest* | 9149 rm -rf conftest* |
8639 eval "ac_cv_header_$ac_safe=yes" | 9150 eval "ac_cv_header_$ac_safe=yes" |
8640 else | 9151 else |
8661 fi | 9172 fi |
8662 done | 9173 done |
8663 | 9174 |
8664 | 9175 |
8665 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9176 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
8666 echo "configure:8667: checking for strerror in -lintl" >&5 | 9177 echo "configure:9178: checking for strerror in -lintl" >&5 |
8667 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9178 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
8668 | 9179 |
8669 xe_check_libs=" -lintl " | 9180 xe_check_libs=" -lintl " |
8670 cat > conftest.$ac_ext <<EOF | 9181 cat > conftest.$ac_ext <<EOF |
8671 #line 8672 "configure" | 9182 #line 9183 "configure" |
8672 #include "confdefs.h" | 9183 #include "confdefs.h" |
8673 /* Override any gcc2 internal prototype to avoid an error. */ | 9184 /* Override any gcc2 internal prototype to avoid an error. */ |
8674 /* We use char because int might match the return type of a gcc2 | 9185 /* We use char because int might match the return type of a gcc2 |
8675 builtin and then its argument prototype would still apply. */ | 9186 builtin and then its argument prototype would still apply. */ |
8676 char strerror(); | 9187 char strerror(); |
8677 | 9188 |
8678 int main() { | 9189 int main() { |
8679 strerror() | 9190 strerror() |
8680 ; return 0; } | 9191 ; return 0; } |
8681 EOF | 9192 EOF |
8682 if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9193 if { (eval echo configure:9194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8683 rm -rf conftest* | 9194 rm -rf conftest* |
8684 eval "ac_cv_lib_$ac_lib_var=yes" | 9195 eval "ac_cv_lib_$ac_lib_var=yes" |
8685 else | 9196 else |
8686 echo "configure: failed program was:" >&5 | 9197 echo "configure: failed program was:" >&5 |
8687 cat conftest.$ac_ext >&5 | 9198 cat conftest.$ac_ext >&5 |
8710 fi | 9221 fi |
8711 | 9222 |
8712 | 9223 |
8713 | 9224 |
8714 echo "checking for Mule input methods" 1>&6 | 9225 echo "checking for Mule input methods" 1>&6 |
8715 echo "configure:8716: checking for Mule input methods" >&5 | 9226 echo "configure:9227: checking for Mule input methods" >&5 |
8716 case "$with_xim" in "" | "yes" ) | 9227 case "$with_xim" in "" | "yes" ) |
8717 echo "checking for XIM" 1>&6 | 9228 echo "checking for XIM" 1>&6 |
8718 echo "configure:8719: checking for XIM" >&5 | 9229 echo "configure:9230: checking for XIM" >&5 |
8719 | 9230 |
8720 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9231 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
8721 echo "configure:8722: checking for XOpenIM in -lX11" >&5 | 9232 echo "configure:9233: checking for XOpenIM in -lX11" >&5 |
8722 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9233 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
8723 | 9234 |
8724 xe_check_libs=" -lX11 " | 9235 xe_check_libs=" -lX11 " |
8725 cat > conftest.$ac_ext <<EOF | 9236 cat > conftest.$ac_ext <<EOF |
8726 #line 8727 "configure" | 9237 #line 9238 "configure" |
8727 #include "confdefs.h" | 9238 #include "confdefs.h" |
8728 /* Override any gcc2 internal prototype to avoid an error. */ | 9239 /* Override any gcc2 internal prototype to avoid an error. */ |
8729 /* We use char because int might match the return type of a gcc2 | 9240 /* We use char because int might match the return type of a gcc2 |
8730 builtin and then its argument prototype would still apply. */ | 9241 builtin and then its argument prototype would still apply. */ |
8731 char XOpenIM(); | 9242 char XOpenIM(); |
8732 | 9243 |
8733 int main() { | 9244 int main() { |
8734 XOpenIM() | 9245 XOpenIM() |
8735 ; return 0; } | 9246 ; return 0; } |
8736 EOF | 9247 EOF |
8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8738 rm -rf conftest* | 9249 rm -rf conftest* |
8739 eval "ac_cv_lib_$ac_lib_var=yes" | 9250 eval "ac_cv_lib_$ac_lib_var=yes" |
8740 else | 9251 else |
8741 echo "configure: failed program was:" >&5 | 9252 echo "configure: failed program was:" >&5 |
8742 cat conftest.$ac_ext >&5 | 9253 cat conftest.$ac_ext >&5 |
8756 | 9267 |
8757 | 9268 |
8758 if test "$have_motif $have_lesstif" = "yes no"; then | 9269 if test "$have_motif $have_lesstif" = "yes no"; then |
8759 | 9270 |
8760 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9271 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
8761 echo "configure:8762: checking for XmImMbLookupString in -lXm" >&5 | 9272 echo "configure:9273: checking for XmImMbLookupString in -lXm" >&5 |
8762 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9273 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
8763 | 9274 |
8764 xe_check_libs=" -lXm " | 9275 xe_check_libs=" -lXm " |
8765 cat > conftest.$ac_ext <<EOF | 9276 cat > conftest.$ac_ext <<EOF |
8766 #line 8767 "configure" | 9277 #line 9278 "configure" |
8767 #include "confdefs.h" | 9278 #include "confdefs.h" |
8768 /* Override any gcc2 internal prototype to avoid an error. */ | 9279 /* Override any gcc2 internal prototype to avoid an error. */ |
8769 /* We use char because int might match the return type of a gcc2 | 9280 /* We use char because int might match the return type of a gcc2 |
8770 builtin and then its argument prototype would still apply. */ | 9281 builtin and then its argument prototype would still apply. */ |
8771 char XmImMbLookupString(); | 9282 char XmImMbLookupString(); |
8772 | 9283 |
8773 int main() { | 9284 int main() { |
8774 XmImMbLookupString() | 9285 XmImMbLookupString() |
8775 ; return 0; } | 9286 ; return 0; } |
8776 EOF | 9287 EOF |
8777 if { (eval echo configure:8778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9288 if { (eval echo configure:9289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8778 rm -rf conftest* | 9289 rm -rf conftest* |
8779 eval "ac_cv_lib_$ac_lib_var=yes" | 9290 eval "ac_cv_lib_$ac_lib_var=yes" |
8780 else | 9291 else |
8781 echo "configure: failed program was:" >&5 | 9292 echo "configure: failed program was:" >&5 |
8782 cat conftest.$ac_ext >&5 | 9293 cat conftest.$ac_ext >&5 |
8837 fi | 9348 fi |
8838 fi | 9349 fi |
8839 | 9350 |
8840 if test "$with_xfs" = "yes" ; then | 9351 if test "$with_xfs" = "yes" ; then |
8841 echo "checking for XFontSet" 1>&6 | 9352 echo "checking for XFontSet" 1>&6 |
8842 echo "configure:8843: checking for XFontSet" >&5 | 9353 echo "configure:9354: checking for XFontSet" >&5 |
8843 | 9354 |
8844 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9355 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8845 echo "configure:8846: checking for XmbDrawString in -lX11" >&5 | 9356 echo "configure:9357: checking for XmbDrawString in -lX11" >&5 |
8846 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9357 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8847 | 9358 |
8848 xe_check_libs=" -lX11 " | 9359 xe_check_libs=" -lX11 " |
8849 cat > conftest.$ac_ext <<EOF | 9360 cat > conftest.$ac_ext <<EOF |
8850 #line 8851 "configure" | 9361 #line 9362 "configure" |
8851 #include "confdefs.h" | 9362 #include "confdefs.h" |
8852 /* Override any gcc2 internal prototype to avoid an error. */ | 9363 /* Override any gcc2 internal prototype to avoid an error. */ |
8853 /* We use char because int might match the return type of a gcc2 | 9364 /* We use char because int might match the return type of a gcc2 |
8854 builtin and then its argument prototype would still apply. */ | 9365 builtin and then its argument prototype would still apply. */ |
8855 char XmbDrawString(); | 9366 char XmbDrawString(); |
8856 | 9367 |
8857 int main() { | 9368 int main() { |
8858 XmbDrawString() | 9369 XmbDrawString() |
8859 ; return 0; } | 9370 ; return 0; } |
8860 EOF | 9371 EOF |
8861 if { (eval echo configure:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9372 if { (eval echo configure:9373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8862 rm -rf conftest* | 9373 rm -rf conftest* |
8863 eval "ac_cv_lib_$ac_lib_var=yes" | 9374 eval "ac_cv_lib_$ac_lib_var=yes" |
8864 else | 9375 else |
8865 echo "configure: failed program was:" >&5 | 9376 echo "configure: failed program was:" >&5 |
8866 cat conftest.$ac_ext >&5 | 9377 cat conftest.$ac_ext >&5 |
8896 fi | 9407 fi |
8897 fi | 9408 fi |
8898 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9409 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8899 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9410 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8900 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9411 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8901 echo "configure:8902: checking for wnn/jllib.h" >&5 | 9412 echo "configure:9413: checking for wnn/jllib.h" >&5 |
8902 | 9413 |
8903 cat > conftest.$ac_ext <<EOF | 9414 cat > conftest.$ac_ext <<EOF |
8904 #line 8905 "configure" | 9415 #line 9416 "configure" |
8905 #include "confdefs.h" | 9416 #include "confdefs.h" |
8906 #include <wnn/jllib.h> | 9417 #include <wnn/jllib.h> |
8907 EOF | 9418 EOF |
8908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8909 { (eval echo configure:8910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9420 { (eval echo configure:9421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8911 if test -z "$ac_err"; then | 9422 if test -z "$ac_err"; then |
8912 rm -rf conftest* | 9423 rm -rf conftest* |
8913 eval "ac_cv_header_$ac_safe=yes" | 9424 eval "ac_cv_header_$ac_safe=yes" |
8914 else | 9425 else |
8929 } | 9440 } |
8930 if test "$with_wnn" != "no"; then | 9441 if test "$with_wnn" != "no"; then |
8931 for ac_func in crypt | 9442 for ac_func in crypt |
8932 do | 9443 do |
8933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8934 echo "configure:8935: checking for $ac_func" >&5 | 9445 echo "configure:9446: checking for $ac_func" >&5 |
8935 | 9446 |
8936 cat > conftest.$ac_ext <<EOF | 9447 cat > conftest.$ac_ext <<EOF |
8937 #line 8938 "configure" | 9448 #line 9449 "configure" |
8938 #include "confdefs.h" | 9449 #include "confdefs.h" |
8939 /* System header to define __stub macros and hopefully few prototypes, | 9450 /* System header to define __stub macros and hopefully few prototypes, |
8940 which can conflict with char $ac_func(); below. */ | 9451 which can conflict with char $ac_func(); below. */ |
8941 #include <assert.h> | 9452 #include <assert.h> |
8942 /* Override any gcc2 internal prototype to avoid an error. */ | 9453 /* Override any gcc2 internal prototype to avoid an error. */ |
8955 $ac_func(); | 9466 $ac_func(); |
8956 #endif | 9467 #endif |
8957 | 9468 |
8958 ; return 0; } | 9469 ; return 0; } |
8959 EOF | 9470 EOF |
8960 if { (eval echo configure:8961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9471 if { (eval echo configure:9472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8961 rm -rf conftest* | 9472 rm -rf conftest* |
8962 eval "ac_cv_func_$ac_func=yes" | 9473 eval "ac_cv_func_$ac_func=yes" |
8963 else | 9474 else |
8964 echo "configure: failed program was:" >&5 | 9475 echo "configure: failed program was:" >&5 |
8965 cat conftest.$ac_ext >&5 | 9476 cat conftest.$ac_ext >&5 |
8984 fi | 9495 fi |
8985 done | 9496 done |
8986 | 9497 |
8987 test "$ac_cv_func_crypt" != "yes" && { | 9498 test "$ac_cv_func_crypt" != "yes" && { |
8988 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9499 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8989 echo "configure:8990: checking for crypt in -lcrypt" >&5 | 9500 echo "configure:9501: checking for crypt in -lcrypt" >&5 |
8990 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9501 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8991 | 9502 |
8992 xe_check_libs=" -lcrypt " | 9503 xe_check_libs=" -lcrypt " |
8993 cat > conftest.$ac_ext <<EOF | 9504 cat > conftest.$ac_ext <<EOF |
8994 #line 8995 "configure" | 9505 #line 9506 "configure" |
8995 #include "confdefs.h" | 9506 #include "confdefs.h" |
8996 /* Override any gcc2 internal prototype to avoid an error. */ | 9507 /* Override any gcc2 internal prototype to avoid an error. */ |
8997 /* We use char because int might match the return type of a gcc2 | 9508 /* We use char because int might match the return type of a gcc2 |
8998 builtin and then its argument prototype would still apply. */ | 9509 builtin and then its argument prototype would still apply. */ |
8999 char crypt(); | 9510 char crypt(); |
9000 | 9511 |
9001 int main() { | 9512 int main() { |
9002 crypt() | 9513 crypt() |
9003 ; return 0; } | 9514 ; return 0; } |
9004 EOF | 9515 EOF |
9005 if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9006 rm -rf conftest* | 9517 rm -rf conftest* |
9007 eval "ac_cv_lib_$ac_lib_var=yes" | 9518 eval "ac_cv_lib_$ac_lib_var=yes" |
9008 else | 9519 else |
9009 echo "configure: failed program was:" >&5 | 9520 echo "configure: failed program was:" >&5 |
9010 cat conftest.$ac_ext >&5 | 9521 cat conftest.$ac_ext >&5 |
9035 } | 9546 } |
9036 fi | 9547 fi |
9037 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9548 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9038 | 9549 |
9039 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9550 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9040 echo "configure:9041: checking for jl_dic_list_e in -lwnn" >&5 | 9551 echo "configure:9552: checking for jl_dic_list_e in -lwnn" >&5 |
9041 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9552 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9042 | 9553 |
9043 xe_check_libs=" -lwnn " | 9554 xe_check_libs=" -lwnn " |
9044 cat > conftest.$ac_ext <<EOF | 9555 cat > conftest.$ac_ext <<EOF |
9045 #line 9046 "configure" | 9556 #line 9557 "configure" |
9046 #include "confdefs.h" | 9557 #include "confdefs.h" |
9047 /* Override any gcc2 internal prototype to avoid an error. */ | 9558 /* Override any gcc2 internal prototype to avoid an error. */ |
9048 /* We use char because int might match the return type of a gcc2 | 9559 /* We use char because int might match the return type of a gcc2 |
9049 builtin and then its argument prototype would still apply. */ | 9560 builtin and then its argument prototype would still apply. */ |
9050 char jl_dic_list_e(); | 9561 char jl_dic_list_e(); |
9051 | 9562 |
9052 int main() { | 9563 int main() { |
9053 jl_dic_list_e() | 9564 jl_dic_list_e() |
9054 ; return 0; } | 9565 ; return 0; } |
9055 EOF | 9566 EOF |
9056 if { (eval echo configure:9057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9567 if { (eval echo configure:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9057 rm -rf conftest* | 9568 rm -rf conftest* |
9058 eval "ac_cv_lib_$ac_lib_var=yes" | 9569 eval "ac_cv_lib_$ac_lib_var=yes" |
9059 else | 9570 else |
9060 echo "configure: failed program was:" >&5 | 9571 echo "configure: failed program was:" >&5 |
9061 cat conftest.$ac_ext >&5 | 9572 cat conftest.$ac_ext >&5 |
9069 echo "$ac_t""yes" 1>&6 | 9580 echo "$ac_t""yes" 1>&6 |
9070 libwnn=wnn | 9581 libwnn=wnn |
9071 else | 9582 else |
9072 echo "$ac_t""no" 1>&6 | 9583 echo "$ac_t""no" 1>&6 |
9073 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9584 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
9074 echo "configure:9075: checking for jl_dic_list_e in -lwnn4" >&5 | 9585 echo "configure:9586: checking for jl_dic_list_e in -lwnn4" >&5 |
9075 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9586 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9076 | 9587 |
9077 xe_check_libs=" -lwnn4 " | 9588 xe_check_libs=" -lwnn4 " |
9078 cat > conftest.$ac_ext <<EOF | 9589 cat > conftest.$ac_ext <<EOF |
9079 #line 9080 "configure" | 9590 #line 9591 "configure" |
9080 #include "confdefs.h" | 9591 #include "confdefs.h" |
9081 /* Override any gcc2 internal prototype to avoid an error. */ | 9592 /* Override any gcc2 internal prototype to avoid an error. */ |
9082 /* We use char because int might match the return type of a gcc2 | 9593 /* We use char because int might match the return type of a gcc2 |
9083 builtin and then its argument prototype would still apply. */ | 9594 builtin and then its argument prototype would still apply. */ |
9084 char jl_dic_list_e(); | 9595 char jl_dic_list_e(); |
9085 | 9596 |
9086 int main() { | 9597 int main() { |
9087 jl_dic_list_e() | 9598 jl_dic_list_e() |
9088 ; return 0; } | 9599 ; return 0; } |
9089 EOF | 9600 EOF |
9090 if { (eval echo configure:9091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9091 rm -rf conftest* | 9602 rm -rf conftest* |
9092 eval "ac_cv_lib_$ac_lib_var=yes" | 9603 eval "ac_cv_lib_$ac_lib_var=yes" |
9093 else | 9604 else |
9094 echo "configure: failed program was:" >&5 | 9605 echo "configure: failed program was:" >&5 |
9095 cat conftest.$ac_ext >&5 | 9606 cat conftest.$ac_ext >&5 |
9103 echo "$ac_t""yes" 1>&6 | 9614 echo "$ac_t""yes" 1>&6 |
9104 libwnn=wnn4 | 9615 libwnn=wnn4 |
9105 else | 9616 else |
9106 echo "$ac_t""no" 1>&6 | 9617 echo "$ac_t""no" 1>&6 |
9107 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9618 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
9108 echo "configure:9109: checking for jl_dic_list_e in -lwnn6" >&5 | 9619 echo "configure:9620: checking for jl_dic_list_e in -lwnn6" >&5 |
9109 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9620 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9110 | 9621 |
9111 xe_check_libs=" -lwnn6 " | 9622 xe_check_libs=" -lwnn6 " |
9112 cat > conftest.$ac_ext <<EOF | 9623 cat > conftest.$ac_ext <<EOF |
9113 #line 9114 "configure" | 9624 #line 9625 "configure" |
9114 #include "confdefs.h" | 9625 #include "confdefs.h" |
9115 /* Override any gcc2 internal prototype to avoid an error. */ | 9626 /* Override any gcc2 internal prototype to avoid an error. */ |
9116 /* We use char because int might match the return type of a gcc2 | 9627 /* We use char because int might match the return type of a gcc2 |
9117 builtin and then its argument prototype would still apply. */ | 9628 builtin and then its argument prototype would still apply. */ |
9118 char jl_dic_list_e(); | 9629 char jl_dic_list_e(); |
9119 | 9630 |
9120 int main() { | 9631 int main() { |
9121 jl_dic_list_e() | 9632 jl_dic_list_e() |
9122 ; return 0; } | 9633 ; return 0; } |
9123 EOF | 9634 EOF |
9124 if { (eval echo configure:9125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9635 if { (eval echo configure:9636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9125 rm -rf conftest* | 9636 rm -rf conftest* |
9126 eval "ac_cv_lib_$ac_lib_var=yes" | 9637 eval "ac_cv_lib_$ac_lib_var=yes" |
9127 else | 9638 else |
9128 echo "configure: failed program was:" >&5 | 9639 echo "configure: failed program was:" >&5 |
9129 cat conftest.$ac_ext >&5 | 9640 cat conftest.$ac_ext >&5 |
9137 echo "$ac_t""yes" 1>&6 | 9648 echo "$ac_t""yes" 1>&6 |
9138 libwnn=wnn6 | 9649 libwnn=wnn6 |
9139 else | 9650 else |
9140 echo "$ac_t""no" 1>&6 | 9651 echo "$ac_t""no" 1>&6 |
9141 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9652 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
9142 echo "configure:9143: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9653 echo "configure:9654: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
9143 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9654 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
9144 | 9655 |
9145 xe_check_libs=" -lwnn6_fromsrc " | 9656 xe_check_libs=" -lwnn6_fromsrc " |
9146 cat > conftest.$ac_ext <<EOF | 9657 cat > conftest.$ac_ext <<EOF |
9147 #line 9148 "configure" | 9658 #line 9659 "configure" |
9148 #include "confdefs.h" | 9659 #include "confdefs.h" |
9149 /* Override any gcc2 internal prototype to avoid an error. */ | 9660 /* Override any gcc2 internal prototype to avoid an error. */ |
9150 /* We use char because int might match the return type of a gcc2 | 9661 /* We use char because int might match the return type of a gcc2 |
9151 builtin and then its argument prototype would still apply. */ | 9662 builtin and then its argument prototype would still apply. */ |
9152 char dic_list_e(); | 9663 char dic_list_e(); |
9153 | 9664 |
9154 int main() { | 9665 int main() { |
9155 dic_list_e() | 9666 dic_list_e() |
9156 ; return 0; } | 9667 ; return 0; } |
9157 EOF | 9668 EOF |
9158 if { (eval echo configure:9159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9669 if { (eval echo configure:9670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9159 rm -rf conftest* | 9670 rm -rf conftest* |
9160 eval "ac_cv_lib_$ac_lib_var=yes" | 9671 eval "ac_cv_lib_$ac_lib_var=yes" |
9161 else | 9672 else |
9162 echo "configure: failed program was:" >&5 | 9673 echo "configure: failed program was:" >&5 |
9163 cat conftest.$ac_ext >&5 | 9674 cat conftest.$ac_ext >&5 |
9201 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9712 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
9202 fi | 9713 fi |
9203 if test "$with_wnn6" != "no"; then | 9714 if test "$with_wnn6" != "no"; then |
9204 | 9715 |
9205 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9716 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
9206 echo "configure:9207: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9717 echo "configure:9718: checking for jl_fi_dic_list in -l$libwnn" >&5 |
9207 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9718 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
9208 | 9719 |
9209 xe_check_libs=" -l$libwnn " | 9720 xe_check_libs=" -l$libwnn " |
9210 cat > conftest.$ac_ext <<EOF | 9721 cat > conftest.$ac_ext <<EOF |
9211 #line 9212 "configure" | 9722 #line 9723 "configure" |
9212 #include "confdefs.h" | 9723 #include "confdefs.h" |
9213 /* Override any gcc2 internal prototype to avoid an error. */ | 9724 /* Override any gcc2 internal prototype to avoid an error. */ |
9214 /* We use char because int might match the return type of a gcc2 | 9725 /* We use char because int might match the return type of a gcc2 |
9215 builtin and then its argument prototype would still apply. */ | 9726 builtin and then its argument prototype would still apply. */ |
9216 char jl_fi_dic_list(); | 9727 char jl_fi_dic_list(); |
9217 | 9728 |
9218 int main() { | 9729 int main() { |
9219 jl_fi_dic_list() | 9730 jl_fi_dic_list() |
9220 ; return 0; } | 9731 ; return 0; } |
9221 EOF | 9732 EOF |
9222 if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9733 if { (eval echo configure:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9223 rm -rf conftest* | 9734 rm -rf conftest* |
9224 eval "ac_cv_lib_$ac_lib_var=yes" | 9735 eval "ac_cv_lib_$ac_lib_var=yes" |
9225 else | 9736 else |
9226 echo "configure: failed program was:" >&5 | 9737 echo "configure: failed program was:" >&5 |
9227 cat conftest.$ac_ext >&5 | 9738 cat conftest.$ac_ext >&5 |
9252 | 9763 |
9253 canna_includes_found=no | 9764 canna_includes_found=no |
9254 if test "$with_canna" != "no"; then | 9765 if test "$with_canna" != "no"; then |
9255 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9766 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9256 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9767 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9257 echo "configure:9258: checking for canna/jrkanji.h" >&5 | 9768 echo "configure:9769: checking for canna/jrkanji.h" >&5 |
9258 | 9769 |
9259 cat > conftest.$ac_ext <<EOF | 9770 cat > conftest.$ac_ext <<EOF |
9260 #line 9261 "configure" | 9771 #line 9772 "configure" |
9261 #include "confdefs.h" | 9772 #include "confdefs.h" |
9262 #include <canna/jrkanji.h> | 9773 #include <canna/jrkanji.h> |
9263 EOF | 9774 EOF |
9264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9265 { (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9776 { (eval echo configure:9777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9267 if test -z "$ac_err"; then | 9778 if test -z "$ac_err"; then |
9268 rm -rf conftest* | 9779 rm -rf conftest* |
9269 eval "ac_cv_header_$ac_safe=yes" | 9780 eval "ac_cv_header_$ac_safe=yes" |
9270 else | 9781 else |
9287 -d "/usr/local/canna/include"; then | 9798 -d "/usr/local/canna/include"; then |
9288 save_c_switch_site="$c_switch_site" | 9799 save_c_switch_site="$c_switch_site" |
9289 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9800 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
9290 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9801 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9291 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9802 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9292 echo "configure:9293: checking for canna/jrkanji.h" >&5 | 9803 echo "configure:9804: checking for canna/jrkanji.h" >&5 |
9293 | 9804 |
9294 cat > conftest.$ac_ext <<EOF | 9805 cat > conftest.$ac_ext <<EOF |
9295 #line 9296 "configure" | 9806 #line 9807 "configure" |
9296 #include "confdefs.h" | 9807 #include "confdefs.h" |
9297 #include <canna/jrkanji.h> | 9808 #include <canna/jrkanji.h> |
9298 EOF | 9809 EOF |
9299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9300 { (eval echo configure:9301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9811 { (eval echo configure:9812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9302 if test -z "$ac_err"; then | 9813 if test -z "$ac_err"; then |
9303 rm -rf conftest* | 9814 rm -rf conftest* |
9304 eval "ac_cv_header_$ac_safe=yes" | 9815 eval "ac_cv_header_$ac_safe=yes" |
9305 else | 9816 else |
9323 fi | 9834 fi |
9324 fi | 9835 fi |
9325 | 9836 |
9326 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9837 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
9327 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9838 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
9328 echo "configure:9329: checking for canna/RK.h" >&5 | 9839 echo "configure:9840: checking for canna/RK.h" >&5 |
9329 | 9840 |
9330 cat > conftest.$ac_ext <<EOF | 9841 cat > conftest.$ac_ext <<EOF |
9331 #line 9332 "configure" | 9842 #line 9843 "configure" |
9332 #include "confdefs.h" | 9843 #include "confdefs.h" |
9333 #include <canna/RK.h> | 9844 #include <canna/RK.h> |
9334 EOF | 9845 EOF |
9335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9336 { (eval echo configure:9337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9847 { (eval echo configure:9848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9338 if test -z "$ac_err"; then | 9849 if test -z "$ac_err"; then |
9339 rm -rf conftest* | 9850 rm -rf conftest* |
9340 eval "ac_cv_header_$ac_safe=yes" | 9851 eval "ac_cv_header_$ac_safe=yes" |
9341 else | 9852 else |
9354 with_canna=no | 9865 with_canna=no |
9355 fi | 9866 fi |
9356 } | 9867 } |
9357 test -z "$with_canna" && { | 9868 test -z "$with_canna" && { |
9358 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9869 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
9359 echo "configure:9360: checking for RkBgnBun in -lRKC" >&5 | 9870 echo "configure:9871: checking for RkBgnBun in -lRKC" >&5 |
9360 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9871 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
9361 | 9872 |
9362 xe_check_libs=" -lRKC " | 9873 xe_check_libs=" -lRKC " |
9363 cat > conftest.$ac_ext <<EOF | 9874 cat > conftest.$ac_ext <<EOF |
9364 #line 9365 "configure" | 9875 #line 9876 "configure" |
9365 #include "confdefs.h" | 9876 #include "confdefs.h" |
9366 /* Override any gcc2 internal prototype to avoid an error. */ | 9877 /* Override any gcc2 internal prototype to avoid an error. */ |
9367 /* We use char because int might match the return type of a gcc2 | 9878 /* We use char because int might match the return type of a gcc2 |
9368 builtin and then its argument prototype would still apply. */ | 9879 builtin and then its argument prototype would still apply. */ |
9369 char RkBgnBun(); | 9880 char RkBgnBun(); |
9370 | 9881 |
9371 int main() { | 9882 int main() { |
9372 RkBgnBun() | 9883 RkBgnBun() |
9373 ; return 0; } | 9884 ; return 0; } |
9374 EOF | 9885 EOF |
9375 if { (eval echo configure:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9376 rm -rf conftest* | 9887 rm -rf conftest* |
9377 eval "ac_cv_lib_$ac_lib_var=yes" | 9888 eval "ac_cv_lib_$ac_lib_var=yes" |
9378 else | 9889 else |
9379 echo "configure: failed program was:" >&5 | 9890 echo "configure: failed program was:" >&5 |
9380 cat conftest.$ac_ext >&5 | 9891 cat conftest.$ac_ext >&5 |
9393 fi | 9904 fi |
9394 | 9905 |
9395 } | 9906 } |
9396 test -z "$with_canna" && { | 9907 test -z "$with_canna" && { |
9397 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9908 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
9398 echo "configure:9399: checking for jrKanjiControl in -lcanna" >&5 | 9909 echo "configure:9910: checking for jrKanjiControl in -lcanna" >&5 |
9399 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9910 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
9400 | 9911 |
9401 xe_check_libs=" -lcanna " | 9912 xe_check_libs=" -lcanna " |
9402 cat > conftest.$ac_ext <<EOF | 9913 cat > conftest.$ac_ext <<EOF |
9403 #line 9404 "configure" | 9914 #line 9915 "configure" |
9404 #include "confdefs.h" | 9915 #include "confdefs.h" |
9405 /* Override any gcc2 internal prototype to avoid an error. */ | 9916 /* Override any gcc2 internal prototype to avoid an error. */ |
9406 /* We use char because int might match the return type of a gcc2 | 9917 /* We use char because int might match the return type of a gcc2 |
9407 builtin and then its argument prototype would still apply. */ | 9918 builtin and then its argument prototype would still apply. */ |
9408 char jrKanjiControl(); | 9919 char jrKanjiControl(); |
9409 | 9920 |
9410 int main() { | 9921 int main() { |
9411 jrKanjiControl() | 9922 jrKanjiControl() |
9412 ; return 0; } | 9923 ; return 0; } |
9413 EOF | 9924 EOF |
9414 if { (eval echo configure:9415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9925 if { (eval echo configure:9926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9415 rm -rf conftest* | 9926 rm -rf conftest* |
9416 eval "ac_cv_lib_$ac_lib_var=yes" | 9927 eval "ac_cv_lib_$ac_lib_var=yes" |
9417 else | 9928 else |
9418 echo "configure: failed program was:" >&5 | 9929 echo "configure: failed program was:" >&5 |
9419 cat conftest.$ac_ext >&5 | 9930 cat conftest.$ac_ext >&5 |
9458 | 9969 |
9459 if test "$need_motif" = "yes" ; then | 9970 if test "$need_motif" = "yes" ; then |
9460 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 9971 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
9461 | 9972 |
9462 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 9973 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
9463 echo "configure:9464: checking for layout_object_getvalue in -li18n" >&5 | 9974 echo "configure:9975: checking for layout_object_getvalue in -li18n" >&5 |
9464 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 9975 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
9465 | 9976 |
9466 xe_check_libs=" -li18n " | 9977 xe_check_libs=" -li18n " |
9467 cat > conftest.$ac_ext <<EOF | 9978 cat > conftest.$ac_ext <<EOF |
9468 #line 9469 "configure" | 9979 #line 9980 "configure" |
9469 #include "confdefs.h" | 9980 #include "confdefs.h" |
9470 /* Override any gcc2 internal prototype to avoid an error. */ | 9981 /* Override any gcc2 internal prototype to avoid an error. */ |
9471 /* We use char because int might match the return type of a gcc2 | 9982 /* We use char because int might match the return type of a gcc2 |
9472 builtin and then its argument prototype would still apply. */ | 9983 builtin and then its argument prototype would still apply. */ |
9473 char layout_object_getvalue(); | 9984 char layout_object_getvalue(); |
9474 | 9985 |
9475 int main() { | 9986 int main() { |
9476 layout_object_getvalue() | 9987 layout_object_getvalue() |
9477 ; return 0; } | 9988 ; return 0; } |
9478 EOF | 9989 EOF |
9479 if { (eval echo configure:9480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9990 if { (eval echo configure:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9480 rm -rf conftest* | 9991 rm -rf conftest* |
9481 eval "ac_cv_lib_$ac_lib_var=yes" | 9992 eval "ac_cv_lib_$ac_lib_var=yes" |
9482 else | 9993 else |
9483 echo "configure: failed program was:" >&5 | 9994 echo "configure: failed program was:" >&5 |
9484 cat conftest.$ac_ext >&5 | 9995 cat conftest.$ac_ext >&5 |
9557 fi | 10068 fi |
9558 fi | 10069 fi |
9559 | 10070 |
9560 fi | 10071 fi |
9561 | 10072 |
9562 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 10073 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo 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 stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask |
9563 do | 10074 do |
9564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9565 echo "configure:9566: checking for $ac_func" >&5 | 10076 echo "configure:10077: checking for $ac_func" >&5 |
9566 | 10077 |
9567 cat > conftest.$ac_ext <<EOF | 10078 cat > conftest.$ac_ext <<EOF |
9568 #line 9569 "configure" | 10079 #line 10080 "configure" |
9569 #include "confdefs.h" | 10080 #include "confdefs.h" |
9570 /* System header to define __stub macros and hopefully few prototypes, | 10081 /* System header to define __stub macros and hopefully few prototypes, |
9571 which can conflict with char $ac_func(); below. */ | 10082 which can conflict with char $ac_func(); below. */ |
9572 #include <assert.h> | 10083 #include <assert.h> |
9573 /* Override any gcc2 internal prototype to avoid an error. */ | 10084 /* Override any gcc2 internal prototype to avoid an error. */ |
9586 $ac_func(); | 10097 $ac_func(); |
9587 #endif | 10098 #endif |
9588 | 10099 |
9589 ; return 0; } | 10100 ; return 0; } |
9590 EOF | 10101 EOF |
9591 if { (eval echo configure:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9592 rm -rf conftest* | 10103 rm -rf conftest* |
9593 eval "ac_cv_func_$ac_func=yes" | 10104 eval "ac_cv_func_$ac_func=yes" |
9594 else | 10105 else |
9595 echo "configure: failed program was:" >&5 | 10106 echo "configure: failed program was:" >&5 |
9596 cat conftest.$ac_ext >&5 | 10107 cat conftest.$ac_ext >&5 |
9614 echo "$ac_t""no" 1>&6 | 10125 echo "$ac_t""no" 1>&6 |
9615 fi | 10126 fi |
9616 done | 10127 done |
9617 | 10128 |
9618 | 10129 |
9619 extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | 10130 for ac_func in getpt _getpt grantpt unlockpt ptsname killpg tcgetpgrp |
9620 echo " xemacs will be linked with \"realpath.o\"" | |
9621 fi | |
9622 | |
9623 for ac_func in getloadavg | |
9624 do | 10131 do |
9625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9626 echo "configure:9627: checking for $ac_func" >&5 | 10133 echo "configure:10134: checking for $ac_func" >&5 |
9627 | 10134 |
9628 cat > conftest.$ac_ext <<EOF | 10135 cat > conftest.$ac_ext <<EOF |
9629 #line 9630 "configure" | 10136 #line 10137 "configure" |
9630 #include "confdefs.h" | 10137 #include "confdefs.h" |
9631 /* System header to define __stub macros and hopefully few prototypes, | 10138 /* System header to define __stub macros and hopefully few prototypes, |
9632 which can conflict with char $ac_func(); below. */ | 10139 which can conflict with char $ac_func(); below. */ |
9633 #include <assert.h> | 10140 #include <assert.h> |
9634 /* Override any gcc2 internal prototype to avoid an error. */ | 10141 /* Override any gcc2 internal prototype to avoid an error. */ |
9647 $ac_func(); | 10154 $ac_func(); |
9648 #endif | 10155 #endif |
9649 | 10156 |
9650 ; return 0; } | 10157 ; return 0; } |
9651 EOF | 10158 EOF |
9652 if { (eval echo configure:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10159 if { (eval echo configure:10160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9653 rm -rf conftest* | 10160 rm -rf conftest* |
9654 eval "ac_cv_func_$ac_func=yes" | 10161 eval "ac_cv_func_$ac_func=yes" |
9655 else | 10162 else |
9656 echo "configure: failed program was:" >&5 | 10163 echo "configure: failed program was:" >&5 |
9657 cat conftest.$ac_ext >&5 | 10164 cat conftest.$ac_ext >&5 |
9675 echo "$ac_t""no" 1>&6 | 10182 echo "$ac_t""no" 1>&6 |
9676 fi | 10183 fi |
9677 done | 10184 done |
9678 | 10185 |
9679 | 10186 |
9680 if test "$ac_cv_func_getloadavg" != "yes" | 10187 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
9681 then | 10188 echo "configure:10189: checking for openpty" >&5 |
9682 extra_objs="$extra_objs getloadavg.o" && if test "$extra_verbose" = "yes"; then | 10189 |
10190 cat > conftest.$ac_ext <<EOF | |
10191 #line 10192 "configure" | |
10192 #include "confdefs.h" | |
10193 /* System header to define __stub macros and hopefully few prototypes, | |
10194 which can conflict with char openpty(); below. */ | |
10195 #include <assert.h> | |
10196 /* Override any gcc2 internal prototype to avoid an error. */ | |
10197 /* We use char because int might match the return type of a gcc2 | |
10198 builtin and then its argument prototype would still apply. */ | |
10199 char openpty(); | |
10200 | |
10201 int main() { | |
10202 | |
10203 /* The GNU C library defines this for functions which it implements | |
10204 to always fail with ENOSYS. Some functions are actually named | |
10205 something starting with __ and the normal name is an alias. */ | |
10206 #if defined (__stub_openpty) || defined (__stub___openpty) | |
10207 choke me | |
10208 #else | |
10209 openpty(); | |
10210 #endif | |
10211 | |
10212 ; return 0; } | |
10213 EOF | |
10214 if { (eval echo configure:10215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
10215 rm -rf conftest* | |
10216 eval "ac_cv_func_openpty=yes" | |
10217 else | |
10218 echo "configure: failed program was:" >&5 | |
10219 cat conftest.$ac_ext >&5 | |
10220 rm -rf conftest* | |
10221 eval "ac_cv_func_openpty=no" | |
10222 fi | |
10223 rm -f conftest* | |
10224 | |
10225 if eval "test \"`echo '$ac_cv_func_'openpty`\" = yes"; then | |
10226 echo "$ac_t""yes" 1>&6 | |
10227 have_openpty=yes | |
10228 else | |
10229 echo "$ac_t""no" 1>&6 | |
10230 | |
10231 | |
10232 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | |
10233 echo "configure:10234: checking for openpty in -lutil" >&5 | |
10234 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | |
10235 | |
10236 xe_check_libs=" -lutil " | |
10237 cat > conftest.$ac_ext <<EOF | |
10238 #line 10239 "configure" | |
10239 #include "confdefs.h" | |
10240 /* Override any gcc2 internal prototype to avoid an error. */ | |
10241 /* We use char because int might match the return type of a gcc2 | |
10242 builtin and then its argument prototype would still apply. */ | |
10243 char openpty(); | |
10244 | |
10245 int main() { | |
10246 openpty() | |
10247 ; return 0; } | |
10248 EOF | |
10249 if { (eval echo configure:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
10250 rm -rf conftest* | |
10251 eval "ac_cv_lib_$ac_lib_var=yes" | |
10252 else | |
10253 echo "configure: failed program was:" >&5 | |
10254 cat conftest.$ac_ext >&5 | |
10255 rm -rf conftest* | |
10256 eval "ac_cv_lib_$ac_lib_var=no" | |
10257 fi | |
10258 rm -f conftest* | |
10259 xe_check_libs="" | |
10260 | |
10261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
10262 echo "$ac_t""yes" 1>&6 | |
10263 have_openpty=yes need_libutil=yes | |
10264 else | |
10265 echo "$ac_t""no" 1>&6 | |
10266 fi | |
10267 | |
10268 | |
10269 fi | |
10270 | |
10271 if test "$have_openpty" = "yes"; then | |
10272 { test "$extra_verbose" = "yes" && cat << \EOF | |
10273 Defining HAVE_OPENPTY | |
10274 EOF | |
10275 cat >> confdefs.h <<\EOF | |
10276 #define HAVE_OPENPTY 1 | |
10277 EOF | |
10278 } | |
10279 | |
10280 for ac_hdr in pty.h libutil.h | |
10281 do | |
10282 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
10284 echo "configure:10285: checking for $ac_hdr" >&5 | |
10285 | |
10286 cat > conftest.$ac_ext <<EOF | |
10287 #line 10288 "configure" | |
10288 #include "confdefs.h" | |
10289 #include <$ac_hdr> | |
10290 EOF | |
10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
10294 if test -z "$ac_err"; then | |
10295 rm -rf conftest* | |
10296 eval "ac_cv_header_$ac_safe=yes" | |
10297 else | |
10298 echo "$ac_err" >&5 | |
10299 echo "configure: failed program was:" >&5 | |
10300 cat conftest.$ac_ext >&5 | |
10301 rm -rf conftest* | |
10302 eval "ac_cv_header_$ac_safe=no" | |
10303 fi | |
10304 rm -f conftest* | |
10305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10306 echo "$ac_t""yes" 1>&6 | |
10307 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10308 { test "$extra_verbose" = "yes" && cat << EOF | |
10309 Defining $ac_tr_hdr | |
10310 EOF | |
10311 cat >> confdefs.h <<EOF | |
10312 #define $ac_tr_hdr 1 | |
10313 EOF | |
10314 } | |
10315 | |
10316 else | |
10317 echo "$ac_t""no" 1>&6 | |
10318 fi | |
10319 done | |
10320 | |
10321 test "$need_libutil" = "yes" && libs_system="$libs_system -lutil" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lutil\" to \$libs_system"; fi | |
10322 fi | |
10323 | |
10324 for ac_hdr in sys/stropts.h | |
10325 do | |
10326 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10327 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
10328 echo "configure:10329: checking for $ac_hdr" >&5 | |
10329 | |
10330 cat > conftest.$ac_ext <<EOF | |
10331 #line 10332 "configure" | |
10332 #include "confdefs.h" | |
10333 #include <$ac_hdr> | |
10334 EOF | |
10335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
10336 { (eval echo configure:10337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
10337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
10338 if test -z "$ac_err"; then | |
10339 rm -rf conftest* | |
10340 eval "ac_cv_header_$ac_safe=yes" | |
10341 else | |
10342 echo "$ac_err" >&5 | |
10343 echo "configure: failed program was:" >&5 | |
10344 cat conftest.$ac_ext >&5 | |
10345 rm -rf conftest* | |
10346 eval "ac_cv_header_$ac_safe=no" | |
10347 fi | |
10348 rm -f conftest* | |
10349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10350 echo "$ac_t""yes" 1>&6 | |
10351 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10352 { test "$extra_verbose" = "yes" && cat << EOF | |
10353 Defining $ac_tr_hdr | |
10354 EOF | |
10355 cat >> confdefs.h <<EOF | |
10356 #define $ac_tr_hdr 1 | |
10357 EOF | |
10358 } | |
10359 | |
10360 else | |
10361 echo "$ac_t""no" 1>&6 | |
10362 fi | |
10363 done | |
10364 | |
10365 if test "$ac_cv_header_sys_stropts_h" = "yes"; then | |
10366 for ac_func in isastream | |
10367 do | |
10368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
10369 echo "configure:10370: checking for $ac_func" >&5 | |
10370 | |
10371 cat > conftest.$ac_ext <<EOF | |
10372 #line 10373 "configure" | |
10373 #include "confdefs.h" | |
10374 /* System header to define __stub macros and hopefully few prototypes, | |
10375 which can conflict with char $ac_func(); below. */ | |
10376 #include <assert.h> | |
10377 /* Override any gcc2 internal prototype to avoid an error. */ | |
10378 /* We use char because int might match the return type of a gcc2 | |
10379 builtin and then its argument prototype would still apply. */ | |
10380 char $ac_func(); | |
10381 | |
10382 int main() { | |
10383 | |
10384 /* The GNU C library defines this for functions which it implements | |
10385 to always fail with ENOSYS. Some functions are actually named | |
10386 something starting with __ and the normal name is an alias. */ | |
10387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10388 choke me | |
10389 #else | |
10390 $ac_func(); | |
10391 #endif | |
10392 | |
10393 ; return 0; } | |
10394 EOF | |
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
10396 rm -rf conftest* | |
10397 eval "ac_cv_func_$ac_func=yes" | |
10398 else | |
10399 echo "configure: failed program was:" >&5 | |
10400 cat conftest.$ac_ext >&5 | |
10401 rm -rf conftest* | |
10402 eval "ac_cv_func_$ac_func=no" | |
10403 fi | |
10404 rm -f conftest* | |
10405 | |
10406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10407 echo "$ac_t""yes" 1>&6 | |
10408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10409 { test "$extra_verbose" = "yes" && cat << EOF | |
10410 Defining $ac_tr_func | |
10411 EOF | |
10412 cat >> confdefs.h <<EOF | |
10413 #define $ac_tr_func 1 | |
10414 EOF | |
10415 } | |
10416 | |
10417 else | |
10418 echo "$ac_t""no" 1>&6 | |
10419 fi | |
10420 done | |
10421 | |
10422 for ac_hdr in sys/strtio.h | |
10423 do | |
10424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
10426 echo "configure:10427: checking for $ac_hdr" >&5 | |
10427 | |
10428 cat > conftest.$ac_ext <<EOF | |
10429 #line 10430 "configure" | |
10430 #include "confdefs.h" | |
10431 #include <$ac_hdr> | |
10432 EOF | |
10433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
10434 { (eval echo configure:10435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
10435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
10436 if test -z "$ac_err"; then | |
10437 rm -rf conftest* | |
10438 eval "ac_cv_header_$ac_safe=yes" | |
10439 else | |
10440 echo "$ac_err" >&5 | |
10441 echo "configure: failed program was:" >&5 | |
10442 cat conftest.$ac_ext >&5 | |
10443 rm -rf conftest* | |
10444 eval "ac_cv_header_$ac_safe=no" | |
10445 fi | |
10446 rm -f conftest* | |
10447 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10448 echo "$ac_t""yes" 1>&6 | |
10449 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10450 { test "$extra_verbose" = "yes" && cat << EOF | |
10451 Defining $ac_tr_hdr | |
10452 EOF | |
10453 cat >> confdefs.h <<EOF | |
10454 #define $ac_tr_hdr 1 | |
10455 EOF | |
10456 } | |
10457 | |
10458 else | |
10459 echo "$ac_t""no" 1>&6 | |
10460 fi | |
10461 done | |
10462 fi | |
10463 | |
10464 extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | |
10465 echo " xemacs will be linked with \"realpath.o\"" | |
10466 fi | |
10467 | |
10468 for ac_func in getloadavg | |
10469 do | |
10470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
10471 echo "configure:10472: checking for $ac_func" >&5 | |
10472 | |
10473 cat > conftest.$ac_ext <<EOF | |
10474 #line 10475 "configure" | |
10475 #include "confdefs.h" | |
10476 /* System header to define __stub macros and hopefully few prototypes, | |
10477 which can conflict with char $ac_func(); below. */ | |
10478 #include <assert.h> | |
10479 /* Override any gcc2 internal prototype to avoid an error. */ | |
10480 /* We use char because int might match the return type of a gcc2 | |
10481 builtin and then its argument prototype would still apply. */ | |
10482 char $ac_func(); | |
10483 | |
10484 int main() { | |
10485 | |
10486 /* The GNU C library defines this for functions which it implements | |
10487 to always fail with ENOSYS. Some functions are actually named | |
10488 something starting with __ and the normal name is an alias. */ | |
10489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
10490 choke me | |
10491 #else | |
10492 $ac_func(); | |
10493 #endif | |
10494 | |
10495 ; return 0; } | |
10496 EOF | |
10497 if { (eval echo configure:10498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
10498 rm -rf conftest* | |
10499 eval "ac_cv_func_$ac_func=yes" | |
10500 else | |
10501 echo "configure: failed program was:" >&5 | |
10502 cat conftest.$ac_ext >&5 | |
10503 rm -rf conftest* | |
10504 eval "ac_cv_func_$ac_func=no" | |
10505 fi | |
10506 rm -f conftest* | |
10507 | |
10508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
10509 echo "$ac_t""yes" 1>&6 | |
10510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
10511 { test "$extra_verbose" = "yes" && cat << EOF | |
10512 Defining $ac_tr_func | |
10513 EOF | |
10514 cat >> confdefs.h <<EOF | |
10515 #define $ac_tr_func 1 | |
10516 EOF | |
10517 } | |
10518 | |
10519 else | |
10520 echo "$ac_t""no" 1>&6 | |
10521 fi | |
10522 done | |
10523 | |
10524 | |
10525 if test "$ac_cv_func_getloadavg" = "yes"; then | |
10526 for ac_hdr in sys/loadavg.h | |
10527 do | |
10528 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10529 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
10530 echo "configure:10531: checking for $ac_hdr" >&5 | |
10531 | |
10532 cat > conftest.$ac_ext <<EOF | |
10533 #line 10534 "configure" | |
10534 #include "confdefs.h" | |
10535 #include <$ac_hdr> | |
10536 EOF | |
10537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
10538 { (eval echo configure:10539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
10539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
10540 if test -z "$ac_err"; then | |
10541 rm -rf conftest* | |
10542 eval "ac_cv_header_$ac_safe=yes" | |
10543 else | |
10544 echo "$ac_err" >&5 | |
10545 echo "configure: failed program was:" >&5 | |
10546 cat conftest.$ac_ext >&5 | |
10547 rm -rf conftest* | |
10548 eval "ac_cv_header_$ac_safe=no" | |
10549 fi | |
10550 rm -f conftest* | |
10551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10552 echo "$ac_t""yes" 1>&6 | |
10553 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10554 { test "$extra_verbose" = "yes" && cat << EOF | |
10555 Defining $ac_tr_hdr | |
10556 EOF | |
10557 cat >> confdefs.h <<EOF | |
10558 #define $ac_tr_hdr 1 | |
10559 EOF | |
10560 } | |
10561 | |
10562 else | |
10563 echo "$ac_t""no" 1>&6 | |
10564 fi | |
10565 done | |
10566 | |
10567 else | |
10568 extra_objs="$extra_objs getloadavg.o" && if test "$extra_verbose" = "yes"; then | |
9683 echo " xemacs will be linked with \"getloadavg.o\"" | 10569 echo " xemacs will be linked with \"getloadavg.o\"" |
9684 fi | 10570 fi |
9685 | 10571 |
9686 | 10572 |
9687 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10573 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
9688 echo "configure:9689: checking for kstat_open in -lkstat" >&5 | 10574 echo "configure:10575: checking for kstat_open in -lkstat" >&5 |
9689 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10575 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
9690 | 10576 |
9691 xe_check_libs=" -lkstat " | 10577 xe_check_libs=" -lkstat " |
9692 cat > conftest.$ac_ext <<EOF | 10578 cat > conftest.$ac_ext <<EOF |
9693 #line 9694 "configure" | 10579 #line 10580 "configure" |
9694 #include "confdefs.h" | 10580 #include "confdefs.h" |
9695 /* Override any gcc2 internal prototype to avoid an error. */ | 10581 /* Override any gcc2 internal prototype to avoid an error. */ |
9696 /* We use char because int might match the return type of a gcc2 | 10582 /* We use char because int might match the return type of a gcc2 |
9697 builtin and then its argument prototype would still apply. */ | 10583 builtin and then its argument prototype would still apply. */ |
9698 char kstat_open(); | 10584 char kstat_open(); |
9699 | 10585 |
9700 int main() { | 10586 int main() { |
9701 kstat_open() | 10587 kstat_open() |
9702 ; return 0; } | 10588 ; return 0; } |
9703 EOF | 10589 EOF |
9704 if { (eval echo configure:9705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10590 if { (eval echo configure:10591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9705 rm -rf conftest* | 10591 rm -rf conftest* |
9706 eval "ac_cv_lib_$ac_lib_var=yes" | 10592 eval "ac_cv_lib_$ac_lib_var=yes" |
9707 else | 10593 else |
9708 echo "configure: failed program was:" >&5 | 10594 echo "configure: failed program was:" >&5 |
9709 cat conftest.$ac_ext >&5 | 10595 cat conftest.$ac_ext >&5 |
9730 else | 10616 else |
9731 echo "$ac_t""no" 1>&6 | 10617 echo "$ac_t""no" 1>&6 |
9732 fi | 10618 fi |
9733 | 10619 |
9734 | 10620 |
10621 for ac_hdr in kstat.h | |
10622 do | |
10623 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
10624 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
10625 echo "configure:10626: checking for $ac_hdr" >&5 | |
10626 | |
10627 cat > conftest.$ac_ext <<EOF | |
10628 #line 10629 "configure" | |
10629 #include "confdefs.h" | |
10630 #include <$ac_hdr> | |
10631 EOF | |
10632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
10633 { (eval echo configure:10634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
10634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
10635 if test -z "$ac_err"; then | |
10636 rm -rf conftest* | |
10637 eval "ac_cv_header_$ac_safe=yes" | |
10638 else | |
10639 echo "$ac_err" >&5 | |
10640 echo "configure: failed program was:" >&5 | |
10641 cat conftest.$ac_ext >&5 | |
10642 rm -rf conftest* | |
10643 eval "ac_cv_header_$ac_safe=no" | |
10644 fi | |
10645 rm -f conftest* | |
10646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
10647 echo "$ac_t""yes" 1>&6 | |
10648 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
10649 { test "$extra_verbose" = "yes" && cat << EOF | |
10650 Defining $ac_tr_hdr | |
10651 EOF | |
10652 cat >> confdefs.h <<EOF | |
10653 #define $ac_tr_hdr 1 | |
10654 EOF | |
10655 } | |
10656 | |
10657 else | |
10658 echo "$ac_t""no" 1>&6 | |
10659 fi | |
10660 done | |
10661 | |
9735 | 10662 |
9736 | 10663 |
9737 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10664 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
9738 echo "configure:9739: checking for kvm_read in -lkvm" >&5 | 10665 echo "configure:10666: checking for kvm_read in -lkvm" >&5 |
9739 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10666 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
9740 | 10667 |
9741 xe_check_libs=" -lkvm " | 10668 xe_check_libs=" -lkvm " |
9742 cat > conftest.$ac_ext <<EOF | 10669 cat > conftest.$ac_ext <<EOF |
9743 #line 9744 "configure" | 10670 #line 10671 "configure" |
9744 #include "confdefs.h" | 10671 #include "confdefs.h" |
9745 /* Override any gcc2 internal prototype to avoid an error. */ | 10672 /* Override any gcc2 internal prototype to avoid an error. */ |
9746 /* We use char because int might match the return type of a gcc2 | 10673 /* We use char because int might match the return type of a gcc2 |
9747 builtin and then its argument prototype would still apply. */ | 10674 builtin and then its argument prototype would still apply. */ |
9748 char kvm_read(); | 10675 char kvm_read(); |
9749 | 10676 |
9750 int main() { | 10677 int main() { |
9751 kvm_read() | 10678 kvm_read() |
9752 ; return 0; } | 10679 ; return 0; } |
9753 EOF | 10680 EOF |
9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10681 if { (eval echo configure:10682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9755 rm -rf conftest* | 10682 rm -rf conftest* |
9756 eval "ac_cv_lib_$ac_lib_var=yes" | 10683 eval "ac_cv_lib_$ac_lib_var=yes" |
9757 else | 10684 else |
9758 echo "configure: failed program was:" >&5 | 10685 echo "configure: failed program was:" >&5 |
9759 cat conftest.$ac_ext >&5 | 10686 cat conftest.$ac_ext >&5 |
9783 | 10710 |
9784 | 10711 |
9785 fi | 10712 fi |
9786 | 10713 |
9787 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10714 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9788 echo "configure:9789: checking whether netdb declares h_errno" >&5 | 10715 echo "configure:10716: checking whether netdb declares h_errno" >&5 |
9789 cat > conftest.$ac_ext <<EOF | 10716 cat > conftest.$ac_ext <<EOF |
9790 #line 9791 "configure" | 10717 #line 10718 "configure" |
9791 #include "confdefs.h" | 10718 #include "confdefs.h" |
9792 #include <netdb.h> | 10719 #include <netdb.h> |
9793 int main() { | 10720 int main() { |
9794 return h_errno; | 10721 return h_errno; |
9795 ; return 0; } | 10722 ; return 0; } |
9796 EOF | 10723 EOF |
9797 if { (eval echo configure:9798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10724 if { (eval echo configure:10725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9798 rm -rf conftest* | 10725 rm -rf conftest* |
9799 echo "$ac_t""yes" 1>&6 | 10726 echo "$ac_t""yes" 1>&6 |
9800 { test "$extra_verbose" = "yes" && cat << \EOF | 10727 { test "$extra_verbose" = "yes" && cat << \EOF |
9801 Defining HAVE_H_ERRNO | 10728 Defining HAVE_H_ERRNO |
9802 EOF | 10729 EOF |
9812 echo "$ac_t""no" 1>&6 | 10739 echo "$ac_t""no" 1>&6 |
9813 fi | 10740 fi |
9814 rm -f conftest* | 10741 rm -f conftest* |
9815 | 10742 |
9816 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10743 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9817 echo "configure:9818: checking for sigsetjmp" >&5 | 10744 echo "configure:10745: checking for sigsetjmp" >&5 |
9818 cat > conftest.$ac_ext <<EOF | 10745 cat > conftest.$ac_ext <<EOF |
9819 #line 9820 "configure" | 10746 #line 10747 "configure" |
9820 #include "confdefs.h" | 10747 #include "confdefs.h" |
9821 #include <setjmp.h> | 10748 #include <setjmp.h> |
9822 int main() { | 10749 int main() { |
9823 sigjmp_buf bar; sigsetjmp (bar, 0); | 10750 sigjmp_buf bar; sigsetjmp (bar, 0); |
9824 ; return 0; } | 10751 ; return 0; } |
9825 EOF | 10752 EOF |
9826 if { (eval echo configure:9827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10753 if { (eval echo configure:10754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9827 rm -rf conftest* | 10754 rm -rf conftest* |
9828 echo "$ac_t""yes" 1>&6 | 10755 echo "$ac_t""yes" 1>&6 |
9829 { test "$extra_verbose" = "yes" && cat << \EOF | 10756 { test "$extra_verbose" = "yes" && cat << \EOF |
9830 Defining HAVE_SIGSETJMP | 10757 Defining HAVE_SIGSETJMP |
9831 EOF | 10758 EOF |
9841 echo "$ac_t""no" 1>&6 | 10768 echo "$ac_t""no" 1>&6 |
9842 fi | 10769 fi |
9843 rm -f conftest* | 10770 rm -f conftest* |
9844 | 10771 |
9845 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10772 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9846 echo "configure:9847: checking whether localtime caches TZ" >&5 | 10773 echo "configure:10774: checking whether localtime caches TZ" >&5 |
9847 | 10774 |
9848 if test "$ac_cv_func_tzset" = "yes"; then | 10775 if test "$ac_cv_func_tzset" = "yes"; then |
9849 cat > conftest.$ac_ext <<EOF | 10776 cat > conftest.$ac_ext <<EOF |
9850 #line 9851 "configure" | 10777 #line 10778 "configure" |
9851 #include "confdefs.h" | 10778 #include "confdefs.h" |
9852 #include <time.h> | 10779 #include <time.h> |
9853 #if STDC_HEADERS | 10780 #if STDC_HEADERS |
9854 # include <stdlib.h> | 10781 # include <stdlib.h> |
9855 #endif | 10782 #endif |
9880 if (localtime (&now)->tm_hour != hour_unset) | 10807 if (localtime (&now)->tm_hour != hour_unset) |
9881 exit (1); | 10808 exit (1); |
9882 exit (0); | 10809 exit (0); |
9883 } | 10810 } |
9884 EOF | 10811 EOF |
9885 if { (eval echo configure:9886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10812 if { (eval echo configure:10813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9886 then | 10813 then |
9887 emacs_cv_localtime_cache=no | 10814 emacs_cv_localtime_cache=no |
9888 else | 10815 else |
9889 conftest_rc="$?" | 10816 conftest_rc="$?" |
9890 echo "configure: failed program was:" >&5 | 10817 echo "configure: failed program was:" >&5 |
9910 | 10837 |
9911 fi | 10838 fi |
9912 | 10839 |
9913 if test "$HAVE_TIMEVAL" = "yes"; then | 10840 if test "$HAVE_TIMEVAL" = "yes"; then |
9914 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 10841 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9915 echo "configure:9916: checking whether gettimeofday accepts one or two arguments" >&5 | 10842 echo "configure:10843: checking whether gettimeofday accepts one or two arguments" >&5 |
9916 cat > conftest.$ac_ext <<EOF | 10843 cat > conftest.$ac_ext <<EOF |
9917 #line 9918 "configure" | 10844 #line 10845 "configure" |
9918 #include "confdefs.h" | 10845 #include "confdefs.h" |
9919 | 10846 |
9920 #ifdef TIME_WITH_SYS_TIME | 10847 #ifdef TIME_WITH_SYS_TIME |
9921 #include <sys/time.h> | 10848 #include <sys/time.h> |
9922 #include <time.h> | 10849 #include <time.h> |
9929 #endif | 10856 #endif |
9930 | 10857 |
9931 int main() { | 10858 int main() { |
9932 | 10859 |
9933 struct timeval time; | 10860 struct timeval time; |
9934 struct timezone dummy; | 10861 gettimeofday (&time, 0); |
9935 gettimeofday (&time, &dummy); | |
9936 | 10862 |
9937 ; return 0; } | 10863 ; return 0; } |
9938 EOF | 10864 EOF |
9939 if { (eval echo configure:9940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10865 if { (eval echo configure:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9940 rm -rf conftest* | 10866 rm -rf conftest* |
9941 echo "$ac_t""two" 1>&6 | 10867 echo "$ac_t""two" 1>&6 |
9942 else | 10868 else |
9943 echo "configure: failed program was:" >&5 | 10869 echo "configure: failed program was:" >&5 |
9944 cat conftest.$ac_ext >&5 | 10870 cat conftest.$ac_ext >&5 |
9956 rm -f conftest* | 10882 rm -f conftest* |
9957 fi | 10883 fi |
9958 | 10884 |
9959 | 10885 |
9960 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 10886 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9961 echo "configure:9962: checking for inline" >&5 | 10887 echo "configure:10888: checking for inline" >&5 |
9962 | 10888 |
9963 ac_cv_c_inline=no | 10889 ac_cv_c_inline=no |
9964 for ac_kw in inline __inline__ __inline; do | 10890 for ac_kw in inline __inline__ __inline; do |
9965 cat > conftest.$ac_ext <<EOF | 10891 cat > conftest.$ac_ext <<EOF |
9966 #line 9967 "configure" | 10892 #line 10893 "configure" |
9967 #include "confdefs.h" | 10893 #include "confdefs.h" |
9968 | 10894 |
9969 int main() { | 10895 int main() { |
9970 } $ac_kw foo() { | 10896 } $ac_kw foo() { |
9971 ; return 0; } | 10897 ; return 0; } |
9972 EOF | 10898 EOF |
9973 if { (eval echo configure:9974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10899 if { (eval echo configure:10900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9974 rm -rf conftest* | 10900 rm -rf conftest* |
9975 ac_cv_c_inline=$ac_kw; break | 10901 ac_cv_c_inline=$ac_kw; break |
9976 else | 10902 else |
9977 echo "configure: failed program was:" >&5 | 10903 echo "configure: failed program was:" >&5 |
9978 cat conftest.$ac_ext >&5 | 10904 cat conftest.$ac_ext >&5 |
10000 EOF | 10926 EOF |
10001 } | 10927 } |
10002 ;; | 10928 ;; |
10003 esac | 10929 esac |
10004 | 10930 |
10005 if test "$ac_cv_c_inline" != "no"; then | 10931 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
10006 { test "$extra_verbose" = "yes" && cat << \EOF | |
10007 Defining HAVE_INLINE | |
10008 EOF | |
10009 cat >> confdefs.h <<\EOF | |
10010 #define HAVE_INLINE 1 | |
10011 EOF | |
10012 } | |
10013 | |
10014 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | |
10015 echo " xemacs will be linked with \"inline.o\"" | 10932 echo " xemacs will be linked with \"inline.o\"" |
10016 fi | 10933 fi |
10017 fi | |
10018 | 10934 |
10019 | 10935 |
10020 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10936 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10021 # for constant arguments. Useless! | 10937 # for constant arguments. Useless! |
10022 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 10938 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
10023 echo "configure:10024: checking for working alloca.h" >&5 | 10939 echo "configure:10940: checking for working alloca.h" >&5 |
10024 | 10940 |
10025 cat > conftest.$ac_ext <<EOF | 10941 cat > conftest.$ac_ext <<EOF |
10026 #line 10027 "configure" | 10942 #line 10943 "configure" |
10027 #include "confdefs.h" | 10943 #include "confdefs.h" |
10028 #include <alloca.h> | 10944 #include <alloca.h> |
10029 int main() { | 10945 int main() { |
10030 char *p = alloca(2 * sizeof(int)); | 10946 char *p = alloca(2 * sizeof(int)); |
10031 ; return 0; } | 10947 ; return 0; } |
10032 EOF | 10948 EOF |
10033 if { (eval echo configure:10034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10949 if { (eval echo configure:10950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10034 rm -rf conftest* | 10950 rm -rf conftest* |
10035 ac_cv_header_alloca_h=yes | 10951 ac_cv_header_alloca_h=yes |
10036 else | 10952 else |
10037 echo "configure: failed program was:" >&5 | 10953 echo "configure: failed program was:" >&5 |
10038 cat conftest.$ac_ext >&5 | 10954 cat conftest.$ac_ext >&5 |
10052 } | 10968 } |
10053 | 10969 |
10054 fi | 10970 fi |
10055 | 10971 |
10056 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 10972 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
10057 echo "configure:10058: checking for alloca" >&5 | 10973 echo "configure:10974: checking for alloca" >&5 |
10058 | 10974 |
10059 cat > conftest.$ac_ext <<EOF | 10975 cat > conftest.$ac_ext <<EOF |
10060 #line 10061 "configure" | 10976 #line 10977 "configure" |
10061 #include "confdefs.h" | 10977 #include "confdefs.h" |
10062 | 10978 |
10063 #ifdef __GNUC__ | 10979 #ifdef __GNUC__ |
10064 # define alloca __builtin_alloca | 10980 # define alloca __builtin_alloca |
10065 #else | 10981 #else |
10083 | 10999 |
10084 int main() { | 11000 int main() { |
10085 char *p = (char *) alloca(1); | 11001 char *p = (char *) alloca(1); |
10086 ; return 0; } | 11002 ; return 0; } |
10087 EOF | 11003 EOF |
10088 if { (eval echo configure:10089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10089 rm -rf conftest* | 11005 rm -rf conftest* |
10090 ac_cv_func_alloca_works=yes | 11006 ac_cv_func_alloca_works=yes |
10091 else | 11007 else |
10092 echo "configure: failed program was:" >&5 | 11008 echo "configure: failed program was:" >&5 |
10093 cat conftest.$ac_ext >&5 | 11009 cat conftest.$ac_ext >&5 |
10122 EOF | 11038 EOF |
10123 } | 11039 } |
10124 | 11040 |
10125 | 11041 |
10126 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11042 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
10127 echo "configure:10128: checking whether alloca needs Cray hooks" >&5 | 11043 echo "configure:11044: checking whether alloca needs Cray hooks" >&5 |
10128 | 11044 |
10129 cat > conftest.$ac_ext <<EOF | 11045 cat > conftest.$ac_ext <<EOF |
10130 #line 10131 "configure" | 11046 #line 11047 "configure" |
10131 #include "confdefs.h" | 11047 #include "confdefs.h" |
10132 #if defined(CRAY) && ! defined(CRAY2) | 11048 #if defined(CRAY) && ! defined(CRAY2) |
10133 webecray | 11049 webecray |
10134 #else | 11050 #else |
10135 wenotbecray | 11051 wenotbecray |
10149 | 11065 |
10150 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11066 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
10151 if test $ac_cv_os_cray = yes; then | 11067 if test $ac_cv_os_cray = yes; then |
10152 for ac_func in _getb67 GETB67 getb67; do | 11068 for ac_func in _getb67 GETB67 getb67; do |
10153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10154 echo "configure:10155: checking for $ac_func" >&5 | 11070 echo "configure:11071: checking for $ac_func" >&5 |
10155 | 11071 |
10156 cat > conftest.$ac_ext <<EOF | 11072 cat > conftest.$ac_ext <<EOF |
10157 #line 10158 "configure" | 11073 #line 11074 "configure" |
10158 #include "confdefs.h" | 11074 #include "confdefs.h" |
10159 /* System header to define __stub macros and hopefully few prototypes, | 11075 /* System header to define __stub macros and hopefully few prototypes, |
10160 which can conflict with char $ac_func(); below. */ | 11076 which can conflict with char $ac_func(); below. */ |
10161 #include <assert.h> | 11077 #include <assert.h> |
10162 /* Override any gcc2 internal prototype to avoid an error. */ | 11078 /* Override any gcc2 internal prototype to avoid an error. */ |
10175 $ac_func(); | 11091 $ac_func(); |
10176 #endif | 11092 #endif |
10177 | 11093 |
10178 ; return 0; } | 11094 ; return 0; } |
10179 EOF | 11095 EOF |
10180 if { (eval echo configure:10181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11096 if { (eval echo configure:11097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10181 rm -rf conftest* | 11097 rm -rf conftest* |
10182 eval "ac_cv_func_$ac_func=yes" | 11098 eval "ac_cv_func_$ac_func=yes" |
10183 else | 11099 else |
10184 echo "configure: failed program was:" >&5 | 11100 echo "configure: failed program was:" >&5 |
10185 cat conftest.$ac_ext >&5 | 11101 cat conftest.$ac_ext >&5 |
10205 | 11121 |
10206 done | 11122 done |
10207 fi | 11123 fi |
10208 | 11124 |
10209 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11125 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
10210 echo "configure:10211: checking stack direction for C alloca" >&5 | 11126 echo "configure:11127: checking stack direction for C alloca" >&5 |
10211 | 11127 |
10212 cat > conftest.$ac_ext <<EOF | 11128 cat > conftest.$ac_ext <<EOF |
10213 #line 10214 "configure" | 11129 #line 11130 "configure" |
10214 #include "confdefs.h" | 11130 #include "confdefs.h" |
10215 find_stack_direction () | 11131 find_stack_direction () |
10216 { | 11132 { |
10217 static char *addr = 0; | 11133 static char *addr = 0; |
10218 auto char dummy; | 11134 auto char dummy; |
10227 main () | 11143 main () |
10228 { | 11144 { |
10229 exit (find_stack_direction() < 0); | 11145 exit (find_stack_direction() < 0); |
10230 } | 11146 } |
10231 EOF | 11147 EOF |
10232 if { (eval echo configure:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11148 if { (eval echo configure:11149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10233 then | 11149 then |
10234 ac_cv_c_stack_direction=1 | 11150 ac_cv_c_stack_direction=1 |
10235 else | 11151 else |
10236 conftest_rc="$?" | 11152 conftest_rc="$?" |
10237 echo "configure: failed program was:" >&5 | 11153 echo "configure: failed program was:" >&5 |
10256 echo " xemacs will be linked with \"$ALLOCA\"" | 11172 echo " xemacs will be linked with \"$ALLOCA\"" |
10257 fi | 11173 fi |
10258 | 11174 |
10259 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 11175 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
10260 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 11176 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
10261 echo "configure:10262: checking for vfork.h" >&5 | 11177 echo "configure:11178: checking for vfork.h" >&5 |
10262 | 11178 |
10263 cat > conftest.$ac_ext <<EOF | 11179 cat > conftest.$ac_ext <<EOF |
10264 #line 10265 "configure" | 11180 #line 11181 "configure" |
10265 #include "confdefs.h" | 11181 #include "confdefs.h" |
10266 #include <vfork.h> | 11182 #include <vfork.h> |
10267 EOF | 11183 EOF |
10268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10269 { (eval echo configure:10270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11185 { (eval echo configure:11186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10271 if test -z "$ac_err"; then | 11187 if test -z "$ac_err"; then |
10272 rm -rf conftest* | 11188 rm -rf conftest* |
10273 eval "ac_cv_header_$ac_safe=yes" | 11189 eval "ac_cv_header_$ac_safe=yes" |
10274 else | 11190 else |
10292 else | 11208 else |
10293 echo "$ac_t""no" 1>&6 | 11209 echo "$ac_t""no" 1>&6 |
10294 fi | 11210 fi |
10295 | 11211 |
10296 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 11212 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
10297 echo "configure:10298: checking for working vfork" >&5 | 11213 echo "configure:11214: checking for working vfork" >&5 |
10298 | 11214 |
10299 cat > conftest.$ac_ext <<EOF | 11215 cat > conftest.$ac_ext <<EOF |
10300 #line 10301 "configure" | 11216 #line 11217 "configure" |
10301 #include "confdefs.h" | 11217 #include "confdefs.h" |
10302 /* Thanks to Paul Eggert for this test. */ | 11218 /* Thanks to Paul Eggert for this test. */ |
10303 #include <stdio.h> | 11219 #include <stdio.h> |
10304 #include <sys/types.h> | 11220 #include <sys/types.h> |
10305 #include <sys/stat.h> | 11221 #include <sys/stat.h> |
10390 || fstat(fileno(stdout), &st) != 0 | 11306 || fstat(fileno(stdout), &st) != 0 |
10391 ); | 11307 ); |
10392 } | 11308 } |
10393 } | 11309 } |
10394 EOF | 11310 EOF |
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11311 if { (eval echo configure:11312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10396 then | 11312 then |
10397 ac_cv_func_vfork_works=yes | 11313 ac_cv_func_vfork_works=yes |
10398 else | 11314 else |
10399 conftest_rc="$?" | 11315 conftest_rc="$?" |
10400 echo "configure: failed program was:" >&5 | 11316 echo "configure: failed program was:" >&5 |
10416 | 11332 |
10417 fi | 11333 fi |
10418 | 11334 |
10419 | 11335 |
10420 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 11336 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
10421 echo "configure:10422: checking for working strcoll" >&5 | 11337 echo "configure:11338: checking for working strcoll" >&5 |
10422 | 11338 |
10423 cat > conftest.$ac_ext <<EOF | 11339 cat > conftest.$ac_ext <<EOF |
10424 #line 10425 "configure" | 11340 #line 11341 "configure" |
10425 #include "confdefs.h" | 11341 #include "confdefs.h" |
10426 #include <string.h> | 11342 #include <string.h> |
10427 main () | 11343 main () |
10428 { | 11344 { |
10429 exit (strcoll ("abc", "def") >= 0 || | 11345 exit (strcoll ("abc", "def") >= 0 || |
10430 strcoll ("ABC", "DEF") >= 0 || | 11346 strcoll ("ABC", "DEF") >= 0 || |
10431 strcoll ("123", "456") >= 0); | 11347 strcoll ("123", "456") >= 0); |
10432 } | 11348 } |
10433 EOF | 11349 EOF |
10434 if { (eval echo configure:10435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11350 if { (eval echo configure:11351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10435 then | 11351 then |
10436 ac_cv_func_strcoll_works=yes | 11352 ac_cv_func_strcoll_works=yes |
10437 else | 11353 else |
10438 conftest_rc="$?" | 11354 conftest_rc="$?" |
10439 echo "configure: failed program was:" >&5 | 11355 echo "configure: failed program was:" >&5 |
10457 | 11373 |
10458 | 11374 |
10459 for ac_func in getpgrp | 11375 for ac_func in getpgrp |
10460 do | 11376 do |
10461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10462 echo "configure:10463: checking for $ac_func" >&5 | 11378 echo "configure:11379: checking for $ac_func" >&5 |
10463 | 11379 |
10464 cat > conftest.$ac_ext <<EOF | 11380 cat > conftest.$ac_ext <<EOF |
10465 #line 10466 "configure" | 11381 #line 11382 "configure" |
10466 #include "confdefs.h" | 11382 #include "confdefs.h" |
10467 /* System header to define __stub macros and hopefully few prototypes, | 11383 /* System header to define __stub macros and hopefully few prototypes, |
10468 which can conflict with char $ac_func(); below. */ | 11384 which can conflict with char $ac_func(); below. */ |
10469 #include <assert.h> | 11385 #include <assert.h> |
10470 /* Override any gcc2 internal prototype to avoid an error. */ | 11386 /* Override any gcc2 internal prototype to avoid an error. */ |
10483 $ac_func(); | 11399 $ac_func(); |
10484 #endif | 11400 #endif |
10485 | 11401 |
10486 ; return 0; } | 11402 ; return 0; } |
10487 EOF | 11403 EOF |
10488 if { (eval echo configure:10489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11404 if { (eval echo configure:11405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10489 rm -rf conftest* | 11405 rm -rf conftest* |
10490 eval "ac_cv_func_$ac_func=yes" | 11406 eval "ac_cv_func_$ac_func=yes" |
10491 else | 11407 else |
10492 echo "configure: failed program was:" >&5 | 11408 echo "configure: failed program was:" >&5 |
10493 cat conftest.$ac_ext >&5 | 11409 cat conftest.$ac_ext >&5 |
10511 echo "$ac_t""no" 1>&6 | 11427 echo "$ac_t""no" 1>&6 |
10512 fi | 11428 fi |
10513 done | 11429 done |
10514 | 11430 |
10515 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 11431 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
10516 echo "configure:10517: checking whether getpgrp takes no argument" >&5 | 11432 echo "configure:11433: checking whether getpgrp takes no argument" >&5 |
10517 | 11433 |
10518 cat > conftest.$ac_ext <<EOF | 11434 cat > conftest.$ac_ext <<EOF |
10519 #line 10520 "configure" | 11435 #line 11436 "configure" |
10520 #include "confdefs.h" | 11436 #include "confdefs.h" |
10521 | 11437 |
10522 /* | 11438 /* |
10523 * If this system has a BSD-style getpgrp(), | 11439 * If this system has a BSD-style getpgrp(), |
10524 * which takes a pid argument, exit unsuccessfully. | 11440 * which takes a pid argument, exit unsuccessfully. |
10569 exit(s>>8); | 11485 exit(s>>8); |
10570 } | 11486 } |
10571 } | 11487 } |
10572 | 11488 |
10573 EOF | 11489 EOF |
10574 if { (eval echo configure:10575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11490 if { (eval echo configure:11491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10575 then | 11491 then |
10576 ac_cv_func_getpgrp_void=yes | 11492 ac_cv_func_getpgrp_void=yes |
10577 else | 11493 else |
10578 conftest_rc="$?" | 11494 conftest_rc="$?" |
10579 echo "configure: failed program was:" >&5 | 11495 echo "configure: failed program was:" >&5 |
10596 | 11512 |
10597 fi | 11513 fi |
10598 | 11514 |
10599 | 11515 |
10600 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 11516 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
10601 echo "configure:10602: checking for working mmap" >&5 | 11517 echo "configure:11518: checking for working mmap" >&5 |
10602 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 11518 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
10603 cat > conftest.$ac_ext <<EOF | 11519 cat > conftest.$ac_ext <<EOF |
10604 #line 10605 "configure" | 11520 #line 11521 "configure" |
10605 #include "confdefs.h" | 11521 #include "confdefs.h" |
10606 #include <stdio.h> | 11522 #include <stdio.h> |
10607 #include <unistd.h> | 11523 #include <unistd.h> |
10608 #include <fcntl.h> | 11524 #include <fcntl.h> |
10609 #include <sys/mman.h> | 11525 #include <sys/mman.h> |
10632 return 0; | 11548 return 0; |
10633 perror ("conftest: mmap failed"); | 11549 perror ("conftest: mmap failed"); |
10634 return 1; | 11550 return 1; |
10635 } | 11551 } |
10636 EOF | 11552 EOF |
10637 if { (eval echo configure:10638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11553 if { (eval echo configure:11554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10638 then | 11554 then |
10639 have_mmap=yes | 11555 have_mmap=yes |
10640 else | 11556 else |
10641 conftest_rc="$?" | 11557 conftest_rc="$?" |
10642 echo "configure: failed program was:" >&5 | 11558 echo "configure: failed program was:" >&5 |
10654 #define HAVE_MMAP 1 | 11570 #define HAVE_MMAP 1 |
10655 EOF | 11571 EOF |
10656 } | 11572 } |
10657 | 11573 |
10658 | 11574 |
10659 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 11575 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
10660 test "$rel_alloc" = "default" -a "$have_mmap" = "yes" && rel_alloc=yes | 11576 if test "$rel_alloc $have_mmap" = "default yes"; then |
11577 if test "$doug_lea_malloc" = "yes"; then | |
11578 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | |
11579 echo "configure:11580: checking for M_MMAP_THRESHOLD" >&5 | |
11580 cat > conftest.$ac_ext <<EOF | |
11581 #line 11582 "configure" | |
11582 #include "confdefs.h" | |
11583 #include <malloc.h> | |
11584 int main() { | |
11585 | |
11586 #ifndef M_MMAP_THRESHOLD | |
11587 #error No M_MMAP_THRESHOLD :-( | |
11588 !@+$%^&*_)(_ - unlikely to compile... | |
11589 #endif | |
11590 | |
11591 ; return 0; } | |
11592 EOF | |
11593 if { (eval echo configure:11594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
11594 rm -rf conftest* | |
11595 rel_alloc=no; echo "$ac_t""yes" 1>&6; | |
11596 else | |
11597 echo "configure: failed program was:" >&5 | |
11598 cat conftest.$ac_ext >&5 | |
11599 rm -rf conftest* | |
11600 rel_alloc=yes; echo "$ac_t""no" 1>&6; | |
11601 fi | |
11602 rm -f conftest* | |
11603 else | |
11604 rel_alloc=yes | |
11605 fi | |
11606 fi | |
10661 test "$rel_alloc" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 11607 test "$rel_alloc" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
10662 Defining REL_ALLOC | 11608 Defining REL_ALLOC |
10663 EOF | 11609 EOF |
10664 cat >> confdefs.h <<\EOF | 11610 cat >> confdefs.h <<\EOF |
10665 #define REL_ALLOC 1 | 11611 #define REL_ALLOC 1 |
10667 } | 11613 } |
10668 | 11614 |
10669 | 11615 |
10670 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11616 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10671 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11617 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10672 echo "configure:10673: checking for termios.h" >&5 | 11618 echo "configure:11619: checking for termios.h" >&5 |
10673 | 11619 |
10674 cat > conftest.$ac_ext <<EOF | 11620 cat > conftest.$ac_ext <<EOF |
10675 #line 10676 "configure" | 11621 #line 11622 "configure" |
10676 #include "confdefs.h" | 11622 #include "confdefs.h" |
10677 #include <termios.h> | 11623 #include <termios.h> |
10678 EOF | 11624 EOF |
10679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10680 { (eval echo configure:10681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11626 { (eval echo configure:11627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10682 if test -z "$ac_err"; then | 11628 if test -z "$ac_err"; then |
10683 rm -rf conftest* | 11629 rm -rf conftest* |
10684 eval "ac_cv_header_$ac_safe=yes" | 11630 eval "ac_cv_header_$ac_safe=yes" |
10685 else | 11631 else |
10718 | 11664 |
10719 else | 11665 else |
10720 echo "$ac_t""no" 1>&6 | 11666 echo "$ac_t""no" 1>&6 |
10721 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11667 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10722 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11668 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10723 echo "configure:10724: checking for termio.h" >&5 | 11669 echo "configure:11670: checking for termio.h" >&5 |
10724 | 11670 |
10725 cat > conftest.$ac_ext <<EOF | 11671 cat > conftest.$ac_ext <<EOF |
10726 #line 10727 "configure" | 11672 #line 11673 "configure" |
10727 #include "confdefs.h" | 11673 #include "confdefs.h" |
10728 #include <termio.h> | 11674 #include <termio.h> |
10729 EOF | 11675 EOF |
10730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10731 { (eval echo configure:10732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11677 { (eval echo configure:11678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10733 if test -z "$ac_err"; then | 11679 if test -z "$ac_err"; then |
10734 rm -rf conftest* | 11680 rm -rf conftest* |
10735 eval "ac_cv_header_$ac_safe=yes" | 11681 eval "ac_cv_header_$ac_safe=yes" |
10736 else | 11682 else |
10758 fi | 11704 fi |
10759 | 11705 |
10760 | 11706 |
10761 | 11707 |
10762 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11708 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10763 echo "configure:10764: checking for socket" >&5 | 11709 echo "configure:11710: checking for socket" >&5 |
10764 | 11710 |
10765 cat > conftest.$ac_ext <<EOF | 11711 cat > conftest.$ac_ext <<EOF |
10766 #line 10767 "configure" | 11712 #line 11713 "configure" |
10767 #include "confdefs.h" | 11713 #include "confdefs.h" |
10768 /* System header to define __stub macros and hopefully few prototypes, | 11714 /* System header to define __stub macros and hopefully few prototypes, |
10769 which can conflict with char socket(); below. */ | 11715 which can conflict with char socket(); below. */ |
10770 #include <assert.h> | 11716 #include <assert.h> |
10771 /* Override any gcc2 internal prototype to avoid an error. */ | 11717 /* Override any gcc2 internal prototype to avoid an error. */ |
10784 socket(); | 11730 socket(); |
10785 #endif | 11731 #endif |
10786 | 11732 |
10787 ; return 0; } | 11733 ; return 0; } |
10788 EOF | 11734 EOF |
10789 if { (eval echo configure:10790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11735 if { (eval echo configure:11736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10790 rm -rf conftest* | 11736 rm -rf conftest* |
10791 eval "ac_cv_func_socket=yes" | 11737 eval "ac_cv_func_socket=yes" |
10792 else | 11738 else |
10793 echo "configure: failed program was:" >&5 | 11739 echo "configure: failed program was:" >&5 |
10794 cat conftest.$ac_ext >&5 | 11740 cat conftest.$ac_ext >&5 |
10799 | 11745 |
10800 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11746 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10801 echo "$ac_t""yes" 1>&6 | 11747 echo "$ac_t""yes" 1>&6 |
10802 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11748 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10803 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11749 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10804 echo "configure:10805: checking for netinet/in.h" >&5 | 11750 echo "configure:11751: checking for netinet/in.h" >&5 |
10805 | 11751 |
10806 cat > conftest.$ac_ext <<EOF | 11752 cat > conftest.$ac_ext <<EOF |
10807 #line 10808 "configure" | 11753 #line 11754 "configure" |
10808 #include "confdefs.h" | 11754 #include "confdefs.h" |
10809 #include <netinet/in.h> | 11755 #include <netinet/in.h> |
10810 EOF | 11756 EOF |
10811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10812 { (eval echo configure:10813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11758 { (eval echo configure:11759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10814 if test -z "$ac_err"; then | 11760 if test -z "$ac_err"; then |
10815 rm -rf conftest* | 11761 rm -rf conftest* |
10816 eval "ac_cv_header_$ac_safe=yes" | 11762 eval "ac_cv_header_$ac_safe=yes" |
10817 else | 11763 else |
10824 rm -f conftest* | 11770 rm -f conftest* |
10825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10826 echo "$ac_t""yes" 1>&6 | 11772 echo "$ac_t""yes" 1>&6 |
10827 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11773 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10828 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11774 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10829 echo "configure:10830: checking for arpa/inet.h" >&5 | 11775 echo "configure:11776: checking for arpa/inet.h" >&5 |
10830 | 11776 |
10831 cat > conftest.$ac_ext <<EOF | 11777 cat > conftest.$ac_ext <<EOF |
10832 #line 10833 "configure" | 11778 #line 11779 "configure" |
10833 #include "confdefs.h" | 11779 #include "confdefs.h" |
10834 #include <arpa/inet.h> | 11780 #include <arpa/inet.h> |
10835 EOF | 11781 EOF |
10836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10837 { (eval echo configure:10838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11783 { (eval echo configure:11784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10839 if test -z "$ac_err"; then | 11785 if test -z "$ac_err"; then |
10840 rm -rf conftest* | 11786 rm -rf conftest* |
10841 eval "ac_cv_header_$ac_safe=yes" | 11787 eval "ac_cv_header_$ac_safe=yes" |
10842 else | 11788 else |
10857 #define HAVE_SOCKETS 1 | 11803 #define HAVE_SOCKETS 1 |
10858 EOF | 11804 EOF |
10859 } | 11805 } |
10860 | 11806 |
10861 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11807 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10862 echo "configure:10863: checking "for sun_len member in struct sockaddr_un"" >&5 | 11808 echo "configure:11809: checking "for sun_len member in struct sockaddr_un"" >&5 |
10863 cat > conftest.$ac_ext <<EOF | 11809 cat > conftest.$ac_ext <<EOF |
10864 #line 10865 "configure" | 11810 #line 11811 "configure" |
10865 #include "confdefs.h" | 11811 #include "confdefs.h" |
10866 | 11812 |
10867 #include <sys/types.h> | 11813 #include <sys/types.h> |
10868 #include <sys/socket.h> | 11814 #include <sys/socket.h> |
10869 #include <sys/un.h> | 11815 #include <sys/un.h> |
10870 | 11816 |
10871 int main() { | 11817 int main() { |
10872 static struct sockaddr_un x; x.sun_len = 1; | 11818 static struct sockaddr_un x; x.sun_len = 1; |
10873 ; return 0; } | 11819 ; return 0; } |
10874 EOF | 11820 EOF |
10875 if { (eval echo configure:10876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11821 if { (eval echo configure:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10876 rm -rf conftest* | 11822 rm -rf conftest* |
10877 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11823 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10878 Defining HAVE_SOCKADDR_SUN_LEN | 11824 Defining HAVE_SOCKADDR_SUN_LEN |
10879 EOF | 11825 EOF |
10880 cat >> confdefs.h <<\EOF | 11826 cat >> confdefs.h <<\EOF |
10888 rm -rf conftest* | 11834 rm -rf conftest* |
10889 echo "$ac_t""no" 1>&6 | 11835 echo "$ac_t""no" 1>&6 |
10890 fi | 11836 fi |
10891 rm -f conftest* | 11837 rm -f conftest* |
10892 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 11838 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10893 echo "configure:10894: checking "for ip_mreq struct in netinet/in.h"" >&5 | 11839 echo "configure:11840: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10894 cat > conftest.$ac_ext <<EOF | 11840 cat > conftest.$ac_ext <<EOF |
10895 #line 10896 "configure" | 11841 #line 11842 "configure" |
10896 #include "confdefs.h" | 11842 #include "confdefs.h" |
10897 | 11843 |
10898 #include <sys/types.h> | 11844 #include <sys/types.h> |
10899 #include <netinet/in.h> | 11845 #include <netinet/in.h> |
10900 | 11846 |
10901 int main() { | 11847 int main() { |
10902 static struct ip_mreq x; | 11848 static struct ip_mreq x; |
10903 ; return 0; } | 11849 ; return 0; } |
10904 EOF | 11850 EOF |
10905 if { (eval echo configure:10906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11851 if { (eval echo configure:11852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10906 rm -rf conftest* | 11852 rm -rf conftest* |
10907 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11853 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10908 Defining HAVE_MULTICAST | 11854 Defining HAVE_MULTICAST |
10909 EOF | 11855 EOF |
10910 cat >> confdefs.h <<\EOF | 11856 cat >> confdefs.h <<\EOF |
10931 echo "$ac_t""no" 1>&6 | 11877 echo "$ac_t""no" 1>&6 |
10932 fi | 11878 fi |
10933 | 11879 |
10934 | 11880 |
10935 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 11881 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10936 echo "configure:10937: checking for msgget" >&5 | 11882 echo "configure:11883: checking for msgget" >&5 |
10937 | 11883 |
10938 cat > conftest.$ac_ext <<EOF | 11884 cat > conftest.$ac_ext <<EOF |
10939 #line 10940 "configure" | 11885 #line 11886 "configure" |
10940 #include "confdefs.h" | 11886 #include "confdefs.h" |
10941 /* System header to define __stub macros and hopefully few prototypes, | 11887 /* System header to define __stub macros and hopefully few prototypes, |
10942 which can conflict with char msgget(); below. */ | 11888 which can conflict with char msgget(); below. */ |
10943 #include <assert.h> | 11889 #include <assert.h> |
10944 /* Override any gcc2 internal prototype to avoid an error. */ | 11890 /* Override any gcc2 internal prototype to avoid an error. */ |
10957 msgget(); | 11903 msgget(); |
10958 #endif | 11904 #endif |
10959 | 11905 |
10960 ; return 0; } | 11906 ; return 0; } |
10961 EOF | 11907 EOF |
10962 if { (eval echo configure:10963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11908 if { (eval echo configure:11909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10963 rm -rf conftest* | 11909 rm -rf conftest* |
10964 eval "ac_cv_func_msgget=yes" | 11910 eval "ac_cv_func_msgget=yes" |
10965 else | 11911 else |
10966 echo "configure: failed program was:" >&5 | 11912 echo "configure: failed program was:" >&5 |
10967 cat conftest.$ac_ext >&5 | 11913 cat conftest.$ac_ext >&5 |
10972 | 11918 |
10973 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 11919 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10974 echo "$ac_t""yes" 1>&6 | 11920 echo "$ac_t""yes" 1>&6 |
10975 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 11921 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10976 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 11922 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10977 echo "configure:10978: checking for sys/ipc.h" >&5 | 11923 echo "configure:11924: checking for sys/ipc.h" >&5 |
10978 | 11924 |
10979 cat > conftest.$ac_ext <<EOF | 11925 cat > conftest.$ac_ext <<EOF |
10980 #line 10981 "configure" | 11926 #line 11927 "configure" |
10981 #include "confdefs.h" | 11927 #include "confdefs.h" |
10982 #include <sys/ipc.h> | 11928 #include <sys/ipc.h> |
10983 EOF | 11929 EOF |
10984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10985 { (eval echo configure:10986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11931 { (eval echo configure:11932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10987 if test -z "$ac_err"; then | 11933 if test -z "$ac_err"; then |
10988 rm -rf conftest* | 11934 rm -rf conftest* |
10989 eval "ac_cv_header_$ac_safe=yes" | 11935 eval "ac_cv_header_$ac_safe=yes" |
10990 else | 11936 else |
10997 rm -f conftest* | 11943 rm -f conftest* |
10998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10999 echo "$ac_t""yes" 1>&6 | 11945 echo "$ac_t""yes" 1>&6 |
11000 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 11946 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
11001 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 11947 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
11002 echo "configure:11003: checking for sys/msg.h" >&5 | 11948 echo "configure:11949: checking for sys/msg.h" >&5 |
11003 | 11949 |
11004 cat > conftest.$ac_ext <<EOF | 11950 cat > conftest.$ac_ext <<EOF |
11005 #line 11006 "configure" | 11951 #line 11952 "configure" |
11006 #include "confdefs.h" | 11952 #include "confdefs.h" |
11007 #include <sys/msg.h> | 11953 #include <sys/msg.h> |
11008 EOF | 11954 EOF |
11009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11010 { (eval echo configure:11011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11956 { (eval echo configure:11957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11012 if test -z "$ac_err"; then | 11958 if test -z "$ac_err"; then |
11013 rm -rf conftest* | 11959 rm -rf conftest* |
11014 eval "ac_cv_header_$ac_safe=yes" | 11960 eval "ac_cv_header_$ac_safe=yes" |
11015 else | 11961 else |
11043 fi | 11989 fi |
11044 | 11990 |
11045 | 11991 |
11046 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 11992 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
11047 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 11993 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
11048 echo "configure:11049: checking for dirent.h" >&5 | 11994 echo "configure:11995: checking for dirent.h" >&5 |
11049 | 11995 |
11050 cat > conftest.$ac_ext <<EOF | 11996 cat > conftest.$ac_ext <<EOF |
11051 #line 11052 "configure" | 11997 #line 11998 "configure" |
11052 #include "confdefs.h" | 11998 #include "confdefs.h" |
11053 #include <dirent.h> | 11999 #include <dirent.h> |
11054 EOF | 12000 EOF |
11055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11056 { (eval echo configure:11057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12002 { (eval echo configure:12003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11058 if test -z "$ac_err"; then | 12004 if test -z "$ac_err"; then |
11059 rm -rf conftest* | 12005 rm -rf conftest* |
11060 eval "ac_cv_header_$ac_safe=yes" | 12006 eval "ac_cv_header_$ac_safe=yes" |
11061 else | 12007 else |
11078 | 12024 |
11079 else | 12025 else |
11080 echo "$ac_t""no" 1>&6 | 12026 echo "$ac_t""no" 1>&6 |
11081 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12027 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
11082 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12028 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
11083 echo "configure:11084: checking for sys/dir.h" >&5 | 12029 echo "configure:12030: checking for sys/dir.h" >&5 |
11084 | 12030 |
11085 cat > conftest.$ac_ext <<EOF | 12031 cat > conftest.$ac_ext <<EOF |
11086 #line 11087 "configure" | 12032 #line 12033 "configure" |
11087 #include "confdefs.h" | 12033 #include "confdefs.h" |
11088 #include <sys/dir.h> | 12034 #include <sys/dir.h> |
11089 EOF | 12035 EOF |
11090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11091 { (eval echo configure:11092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12037 { (eval echo configure:12038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11093 if test -z "$ac_err"; then | 12039 if test -z "$ac_err"; then |
11094 rm -rf conftest* | 12040 rm -rf conftest* |
11095 eval "ac_cv_header_$ac_safe=yes" | 12041 eval "ac_cv_header_$ac_safe=yes" |
11096 else | 12042 else |
11119 fi | 12065 fi |
11120 | 12066 |
11121 | 12067 |
11122 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12068 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
11123 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12069 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
11124 echo "configure:11125: checking for nlist.h" >&5 | 12070 echo "configure:12071: checking for nlist.h" >&5 |
11125 | 12071 |
11126 cat > conftest.$ac_ext <<EOF | 12072 cat > conftest.$ac_ext <<EOF |
11127 #line 11128 "configure" | 12073 #line 12074 "configure" |
11128 #include "confdefs.h" | 12074 #include "confdefs.h" |
11129 #include <nlist.h> | 12075 #include <nlist.h> |
11130 EOF | 12076 EOF |
11131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11132 { (eval echo configure:11133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12078 { (eval echo configure:12079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11134 if test -z "$ac_err"; then | 12080 if test -z "$ac_err"; then |
11135 rm -rf conftest* | 12081 rm -rf conftest* |
11136 eval "ac_cv_header_$ac_safe=yes" | 12082 eval "ac_cv_header_$ac_safe=yes" |
11137 else | 12083 else |
11157 fi | 12103 fi |
11158 | 12104 |
11159 | 12105 |
11160 | 12106 |
11161 echo "checking "for sound support"" 1>&6 | 12107 echo "checking "for sound support"" 1>&6 |
11162 echo "configure:11163: checking "for sound support"" >&5 | 12108 echo "configure:12109: checking "for sound support"" >&5 |
11163 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12109 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
11164 | 12110 |
11165 if test "$with_native_sound" != "no"; then | 12111 if test "$with_native_sound" != "no"; then |
11166 if test -n "$native_sound_lib"; then | 12112 if test -n "$native_sound_lib"; then |
11167 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12113 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
11168 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12114 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
11169 echo "configure:11170: checking for multimedia/audio_device.h" >&5 | 12115 echo "configure:12116: checking for multimedia/audio_device.h" >&5 |
11170 | 12116 |
11171 cat > conftest.$ac_ext <<EOF | 12117 cat > conftest.$ac_ext <<EOF |
11172 #line 11173 "configure" | 12118 #line 12119 "configure" |
11173 #include "confdefs.h" | 12119 #include "confdefs.h" |
11174 #include <multimedia/audio_device.h> | 12120 #include <multimedia/audio_device.h> |
11175 EOF | 12121 EOF |
11176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11177 { (eval echo configure:11178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12123 { (eval echo configure:12124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11179 if test -z "$ac_err"; then | 12125 if test -z "$ac_err"; then |
11180 rm -rf conftest* | 12126 rm -rf conftest* |
11181 eval "ac_cv_header_$ac_safe=yes" | 12127 eval "ac_cv_header_$ac_safe=yes" |
11182 else | 12128 else |
11220 case "$canonical" in | 12166 case "$canonical" in |
11221 *-sgi-* ) | 12167 *-sgi-* ) |
11222 if test -z "$native_sound_lib"; then | 12168 if test -z "$native_sound_lib"; then |
11223 | 12169 |
11224 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12170 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
11225 echo "configure:11226: checking for ALopenport in -laudio" >&5 | 12171 echo "configure:12172: checking for ALopenport in -laudio" >&5 |
11226 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12172 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
11227 | 12173 |
11228 xe_check_libs=" -laudio " | 12174 xe_check_libs=" -laudio " |
11229 cat > conftest.$ac_ext <<EOF | 12175 cat > conftest.$ac_ext <<EOF |
11230 #line 11231 "configure" | 12176 #line 12177 "configure" |
11231 #include "confdefs.h" | 12177 #include "confdefs.h" |
11232 /* Override any gcc2 internal prototype to avoid an error. */ | 12178 /* Override any gcc2 internal prototype to avoid an error. */ |
11233 /* We use char because int might match the return type of a gcc2 | 12179 /* We use char because int might match the return type of a gcc2 |
11234 builtin and then its argument prototype would still apply. */ | 12180 builtin and then its argument prototype would still apply. */ |
11235 char ALopenport(); | 12181 char ALopenport(); |
11236 | 12182 |
11237 int main() { | 12183 int main() { |
11238 ALopenport() | 12184 ALopenport() |
11239 ; return 0; } | 12185 ; return 0; } |
11240 EOF | 12186 EOF |
11241 if { (eval echo configure:11242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12187 if { (eval echo configure:12188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11242 rm -rf conftest* | 12188 rm -rf conftest* |
11243 eval "ac_cv_lib_$ac_lib_var=yes" | 12189 eval "ac_cv_lib_$ac_lib_var=yes" |
11244 else | 12190 else |
11245 echo "configure: failed program was:" >&5 | 12191 echo "configure: failed program was:" >&5 |
11246 cat conftest.$ac_ext >&5 | 12192 cat conftest.$ac_ext >&5 |
11267 fi ;; | 12213 fi ;; |
11268 hppa*-hp-hpux* ) | 12214 hppa*-hp-hpux* ) |
11269 if test -z "$native_sound_lib"; then | 12215 if test -z "$native_sound_lib"; then |
11270 | 12216 |
11271 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12217 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
11272 echo "configure:11273: checking for AOpenAudio in -lAlib" >&5 | 12218 echo "configure:12219: checking for AOpenAudio in -lAlib" >&5 |
11273 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12219 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
11274 | 12220 |
11275 xe_check_libs=" -lAlib " | 12221 xe_check_libs=" -lAlib " |
11276 cat > conftest.$ac_ext <<EOF | 12222 cat > conftest.$ac_ext <<EOF |
11277 #line 11278 "configure" | 12223 #line 12224 "configure" |
11278 #include "confdefs.h" | 12224 #include "confdefs.h" |
11279 /* Override any gcc2 internal prototype to avoid an error. */ | 12225 /* Override any gcc2 internal prototype to avoid an error. */ |
11280 /* We use char because int might match the return type of a gcc2 | 12226 /* We use char because int might match the return type of a gcc2 |
11281 builtin and then its argument prototype would still apply. */ | 12227 builtin and then its argument prototype would still apply. */ |
11282 char AOpenAudio(); | 12228 char AOpenAudio(); |
11283 | 12229 |
11284 int main() { | 12230 int main() { |
11285 AOpenAudio() | 12231 AOpenAudio() |
11286 ; return 0; } | 12232 ; return 0; } |
11287 EOF | 12233 EOF |
11288 if { (eval echo configure:11289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11289 rm -rf conftest* | 12235 rm -rf conftest* |
11290 eval "ac_cv_lib_$ac_lib_var=yes" | 12236 eval "ac_cv_lib_$ac_lib_var=yes" |
11291 else | 12237 else |
11292 echo "configure: failed program was:" >&5 | 12238 echo "configure: failed program was:" >&5 |
11293 cat conftest.$ac_ext >&5 | 12239 cat conftest.$ac_ext >&5 |
11321 | 12267 |
11322 if test -z "$sound_found"; then | 12268 if test -z "$sound_found"; then |
11323 for dir in "machine" "sys" "linux"; do | 12269 for dir in "machine" "sys" "linux"; do |
11324 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12270 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
11325 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12271 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
11326 echo "configure:11327: checking for ${dir}/soundcard.h" >&5 | 12272 echo "configure:12273: checking for ${dir}/soundcard.h" >&5 |
11327 | 12273 |
11328 cat > conftest.$ac_ext <<EOF | 12274 cat > conftest.$ac_ext <<EOF |
11329 #line 11330 "configure" | 12275 #line 12276 "configure" |
11330 #include "confdefs.h" | 12276 #include "confdefs.h" |
11331 #include <${dir}/soundcard.h> | 12277 #include <${dir}/soundcard.h> |
11332 EOF | 12278 EOF |
11333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11334 { (eval echo configure:11335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12280 { (eval echo configure:12281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11336 if test -z "$ac_err"; then | 12282 if test -z "$ac_err"; then |
11337 rm -rf conftest* | 12283 rm -rf conftest* |
11338 eval "ac_cv_header_$ac_safe=yes" | 12284 eval "ac_cv_header_$ac_safe=yes" |
11339 else | 12285 else |
11350 need_miscplay=yes | 12296 need_miscplay=yes |
11351 extra_objs="$extra_objs linuxplay.o" && if test "$extra_verbose" = "yes"; then | 12297 extra_objs="$extra_objs linuxplay.o" && if test "$extra_verbose" = "yes"; then |
11352 echo " xemacs will be linked with \"linuxplay.o\"" | 12298 echo " xemacs will be linked with \"linuxplay.o\"" |
11353 fi | 12299 fi |
11354 { test "$extra_verbose" = "yes" && cat << EOF | 12300 { test "$extra_verbose" = "yes" && cat << EOF |
11355 Defining SOUNDCARD_H_PATH = "${dir}/soundcard.h" | 12301 Defining SOUNDCARD_H_FILE = "${dir}/soundcard.h" |
11356 EOF | 12302 EOF |
11357 cat >> confdefs.h <<EOF | 12303 cat >> confdefs.h <<EOF |
11358 #define SOUNDCARD_H_PATH "${dir}/soundcard.h" | 12304 #define SOUNDCARD_H_FILE "${dir}/soundcard.h" |
11359 EOF | 12305 EOF |
11360 } | 12306 } |
11361 | 12307 |
11362 break | 12308 break |
11363 else | 12309 else |
11364 echo "$ac_t""no" 1>&6 | 12310 echo "$ac_t""no" 1>&6 |
11365 fi | 12311 fi |
11366 | 12312 |
11367 done | 12313 done |
12314 fi | |
12315 | |
12316 if test -z "$sound_found"; then | |
12317 if test "$with_msw" = "yes"; then | |
12318 sound_found=yes | |
12319 native_sound_lib= | |
12320 fi | |
11368 fi | 12321 fi |
11369 | 12322 |
11370 test "$sound_found" = "yes" && with_native_sound=yes | 12323 test "$sound_found" = "yes" && with_native_sound=yes |
11371 fi | 12324 fi |
11372 | 12325 |
11383 fi | 12336 fi |
11384 | 12337 |
11385 if test "$with_nas_sound" != "no"; then | 12338 if test "$with_nas_sound" != "no"; then |
11386 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 12339 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
11387 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 12340 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
11388 echo "configure:11389: checking for audio/audiolib.h" >&5 | 12341 echo "configure:12342: checking for audio/audiolib.h" >&5 |
11389 | 12342 |
11390 cat > conftest.$ac_ext <<EOF | 12343 cat > conftest.$ac_ext <<EOF |
11391 #line 11392 "configure" | 12344 #line 12345 "configure" |
11392 #include "confdefs.h" | 12345 #include "confdefs.h" |
11393 #include <audio/audiolib.h> | 12346 #include <audio/audiolib.h> |
11394 EOF | 12347 EOF |
11395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11396 { (eval echo configure:11397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12349 { (eval echo configure:12350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11398 if test -z "$ac_err"; then | 12351 if test -z "$ac_err"; then |
11399 rm -rf conftest* | 12352 rm -rf conftest* |
11400 eval "ac_cv_header_$ac_safe=yes" | 12353 eval "ac_cv_header_$ac_safe=yes" |
11401 else | 12354 else |
11409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11410 echo "$ac_t""yes" 1>&6 | 12363 echo "$ac_t""yes" 1>&6 |
11411 | 12364 |
11412 | 12365 |
11413 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 12366 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
11414 echo "configure:11415: checking for AuOpenServer in -laudio" >&5 | 12367 echo "configure:12368: checking for AuOpenServer in -laudio" >&5 |
11415 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 12368 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
11416 | 12369 |
11417 xe_check_libs=" -laudio " | 12370 xe_check_libs=" -laudio " |
11418 cat > conftest.$ac_ext <<EOF | 12371 cat > conftest.$ac_ext <<EOF |
11419 #line 11420 "configure" | 12372 #line 12373 "configure" |
11420 #include "confdefs.h" | 12373 #include "confdefs.h" |
11421 /* Override any gcc2 internal prototype to avoid an error. */ | 12374 /* Override any gcc2 internal prototype to avoid an error. */ |
11422 /* We use char because int might match the return type of a gcc2 | 12375 /* We use char because int might match the return type of a gcc2 |
11423 builtin and then its argument prototype would still apply. */ | 12376 builtin and then its argument prototype would still apply. */ |
11424 char AuOpenServer(); | 12377 char AuOpenServer(); |
11425 | 12378 |
11426 int main() { | 12379 int main() { |
11427 AuOpenServer() | 12380 AuOpenServer() |
11428 ; return 0; } | 12381 ; return 0; } |
11429 EOF | 12382 EOF |
11430 if { (eval echo configure:11431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12383 if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11431 rm -rf conftest* | 12384 rm -rf conftest* |
11432 eval "ac_cv_lib_$ac_lib_var=yes" | 12385 eval "ac_cv_lib_$ac_lib_var=yes" |
11433 else | 12386 else |
11434 echo "configure: failed program was:" >&5 | 12387 echo "configure: failed program was:" >&5 |
11435 cat conftest.$ac_ext >&5 | 12388 cat conftest.$ac_ext >&5 |
11464 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 12417 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
11465 echo " xemacs will be linked with \"nas.o\"" | 12418 echo " xemacs will be linked with \"nas.o\"" |
11466 fi | 12419 fi |
11467 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 12420 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
11468 cat > conftest.$ac_ext <<EOF | 12421 cat > conftest.$ac_ext <<EOF |
11469 #line 11470 "configure" | 12422 #line 12423 "configure" |
11470 #include "confdefs.h" | 12423 #include "confdefs.h" |
11471 #include <audio/Xtutil.h> | 12424 #include <audio/Xtutil.h> |
11472 EOF | 12425 EOF |
11473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11474 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 12427 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
11495 | 12448 |
11496 if test "$with_esd_sound" != "no"; then | 12449 if test "$with_esd_sound" != "no"; then |
11497 # Extract the first word of "esd-config", so it can be a program name with args. | 12450 # Extract the first word of "esd-config", so it can be a program name with args. |
11498 set dummy esd-config; ac_word=$2 | 12451 set dummy esd-config; ac_word=$2 |
11499 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 12452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
11500 echo "configure:11501: checking for $ac_word" >&5 | 12453 echo "configure:12454: checking for $ac_word" >&5 |
11501 | 12454 |
11502 if test -n "$have_esd_config"; then | 12455 if test -n "$have_esd_config"; then |
11503 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 12456 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
11504 else | 12457 else |
11505 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 12458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
11524 if test "$have_esd_config" = "yes"; then | 12477 if test "$have_esd_config" = "yes"; then |
11525 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 12478 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
11526 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 12479 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
11527 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 12480 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
11528 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 12481 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
11529 echo "configure:11530: checking for esd_play_stream" >&5 | 12482 echo "configure:12483: checking for esd_play_stream" >&5 |
11530 | 12483 |
11531 cat > conftest.$ac_ext <<EOF | 12484 cat > conftest.$ac_ext <<EOF |
11532 #line 11533 "configure" | 12485 #line 12486 "configure" |
11533 #include "confdefs.h" | 12486 #include "confdefs.h" |
11534 /* System header to define __stub macros and hopefully few prototypes, | 12487 /* System header to define __stub macros and hopefully few prototypes, |
11535 which can conflict with char esd_play_stream(); below. */ | 12488 which can conflict with char esd_play_stream(); below. */ |
11536 #include <assert.h> | 12489 #include <assert.h> |
11537 /* Override any gcc2 internal prototype to avoid an error. */ | 12490 /* Override any gcc2 internal prototype to avoid an error. */ |
11550 esd_play_stream(); | 12503 esd_play_stream(); |
11551 #endif | 12504 #endif |
11552 | 12505 |
11553 ; return 0; } | 12506 ; return 0; } |
11554 EOF | 12507 EOF |
11555 if { (eval echo configure:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12508 if { (eval echo configure:12509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11556 rm -rf conftest* | 12509 rm -rf conftest* |
11557 eval "ac_cv_func_esd_play_stream=yes" | 12510 eval "ac_cv_func_esd_play_stream=yes" |
11558 else | 12511 else |
11559 echo "configure: failed program was:" >&5 | 12512 echo "configure: failed program was:" >&5 |
11560 cat conftest.$ac_ext >&5 | 12513 cat conftest.$ac_ext >&5 |
11601 | 12554 |
11602 test -z "$with_tty" && with_tty=yes | 12555 test -z "$with_tty" && with_tty=yes |
11603 | 12556 |
11604 if test "$with_tty" = "yes" ; then | 12557 if test "$with_tty" = "yes" ; then |
11605 echo "checking for TTY-related features" 1>&6 | 12558 echo "checking for TTY-related features" 1>&6 |
11606 echo "configure:11607: checking for TTY-related features" >&5 | 12559 echo "configure:12560: checking for TTY-related features" >&5 |
11607 { test "$extra_verbose" = "yes" && cat << \EOF | 12560 { test "$extra_verbose" = "yes" && cat << \EOF |
11608 Defining HAVE_TTY | 12561 Defining HAVE_TTY |
11609 EOF | 12562 EOF |
11610 cat >> confdefs.h <<\EOF | 12563 cat >> confdefs.h <<\EOF |
11611 #define HAVE_TTY 1 | 12564 #define HAVE_TTY 1 |
11617 fi | 12570 fi |
11618 | 12571 |
11619 if test -z "$with_ncurses"; then | 12572 if test -z "$with_ncurses"; then |
11620 | 12573 |
11621 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 12574 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
11622 echo "configure:11623: checking for tgetent in -lncurses" >&5 | 12575 echo "configure:12576: checking for tgetent in -lncurses" >&5 |
11623 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 12576 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
11624 | 12577 |
11625 xe_check_libs=" -lncurses " | 12578 xe_check_libs=" -lncurses " |
11626 cat > conftest.$ac_ext <<EOF | 12579 cat > conftest.$ac_ext <<EOF |
11627 #line 11628 "configure" | 12580 #line 12581 "configure" |
11628 #include "confdefs.h" | 12581 #include "confdefs.h" |
11629 /* Override any gcc2 internal prototype to avoid an error. */ | 12582 /* Override any gcc2 internal prototype to avoid an error. */ |
11630 /* We use char because int might match the return type of a gcc2 | 12583 /* We use char because int might match the return type of a gcc2 |
11631 builtin and then its argument prototype would still apply. */ | 12584 builtin and then its argument prototype would still apply. */ |
11632 char tgetent(); | 12585 char tgetent(); |
11633 | 12586 |
11634 int main() { | 12587 int main() { |
11635 tgetent() | 12588 tgetent() |
11636 ; return 0; } | 12589 ; return 0; } |
11637 EOF | 12590 EOF |
11638 if { (eval echo configure:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12591 if { (eval echo configure:12592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11639 rm -rf conftest* | 12592 rm -rf conftest* |
11640 eval "ac_cv_lib_$ac_lib_var=yes" | 12593 eval "ac_cv_lib_$ac_lib_var=yes" |
11641 else | 12594 else |
11642 echo "configure: failed program was:" >&5 | 12595 echo "configure: failed program was:" >&5 |
11643 cat conftest.$ac_ext >&5 | 12596 cat conftest.$ac_ext >&5 |
11666 EOF | 12619 EOF |
11667 } | 12620 } |
11668 | 12621 |
11669 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12622 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11670 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12623 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11671 echo "configure:11672: checking for ncurses/curses.h" >&5 | 12624 echo "configure:12625: checking for ncurses/curses.h" >&5 |
11672 | 12625 |
11673 cat > conftest.$ac_ext <<EOF | 12626 cat > conftest.$ac_ext <<EOF |
11674 #line 11675 "configure" | 12627 #line 12628 "configure" |
11675 #include "confdefs.h" | 12628 #include "confdefs.h" |
11676 #include <ncurses/curses.h> | 12629 #include <ncurses/curses.h> |
11677 EOF | 12630 EOF |
11678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11679 { (eval echo configure:11680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12632 { (eval echo configure:12633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11681 if test -z "$ac_err"; then | 12634 if test -z "$ac_err"; then |
11682 rm -rf conftest* | 12635 rm -rf conftest* |
11683 eval "ac_cv_header_$ac_safe=yes" | 12636 eval "ac_cv_header_$ac_safe=yes" |
11684 else | 12637 else |
11689 eval "ac_cv_header_$ac_safe=no" | 12642 eval "ac_cv_header_$ac_safe=no" |
11690 fi | 12643 fi |
11691 rm -f conftest* | 12644 rm -f conftest* |
11692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11693 echo "$ac_t""yes" 1>&6 | 12646 echo "$ac_t""yes" 1>&6 |
11694 curses_h_path=ncurses/curses.h | 12647 curses_h_file=ncurses/curses.h |
11695 else | 12648 else |
11696 echo "$ac_t""no" 1>&6 | 12649 echo "$ac_t""no" 1>&6 |
11697 fi | 12650 fi |
11698 | 12651 |
11699 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12652 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
11700 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12653 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
11701 echo "configure:11702: checking for ncurses/term.h" >&5 | 12654 echo "configure:12655: checking for ncurses/term.h" >&5 |
11702 | 12655 |
11703 cat > conftest.$ac_ext <<EOF | 12656 cat > conftest.$ac_ext <<EOF |
11704 #line 11705 "configure" | 12657 #line 12658 "configure" |
11705 #include "confdefs.h" | 12658 #include "confdefs.h" |
11706 #include <ncurses/term.h> | 12659 #include <ncurses/term.h> |
11707 EOF | 12660 EOF |
11708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11709 { (eval echo configure:11710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12662 { (eval echo configure:12663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11711 if test -z "$ac_err"; then | 12664 if test -z "$ac_err"; then |
11712 rm -rf conftest* | 12665 rm -rf conftest* |
11713 eval "ac_cv_header_$ac_safe=yes" | 12666 eval "ac_cv_header_$ac_safe=yes" |
11714 else | 12667 else |
11719 eval "ac_cv_header_$ac_safe=no" | 12672 eval "ac_cv_header_$ac_safe=no" |
11720 fi | 12673 fi |
11721 rm -f conftest* | 12674 rm -f conftest* |
11722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12675 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11723 echo "$ac_t""yes" 1>&6 | 12676 echo "$ac_t""yes" 1>&6 |
11724 term_h_path=ncurses/term.h | 12677 term_h_file=ncurses/term.h |
11725 else | 12678 else |
11726 echo "$ac_t""no" 1>&6 | 12679 echo "$ac_t""no" 1>&6 |
11727 fi | 12680 fi |
11728 | 12681 |
11729 extra_objs="$extra_objs terminfo.o" && if test "$extra_verbose" = "yes"; then | 12682 extra_objs="$extra_objs terminfo.o" && if test "$extra_verbose" = "yes"; then |
11734 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12687 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
11735 save_c_switch_site="$c_switch_site" | 12688 save_c_switch_site="$c_switch_site" |
11736 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12689 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
11737 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12690 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11738 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12691 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11739 echo "configure:11740: checking for ncurses/curses.h" >&5 | 12692 echo "configure:12693: checking for ncurses/curses.h" >&5 |
11740 | 12693 |
11741 cat > conftest.$ac_ext <<EOF | 12694 cat > conftest.$ac_ext <<EOF |
11742 #line 11743 "configure" | 12695 #line 12696 "configure" |
11743 #include "confdefs.h" | 12696 #include "confdefs.h" |
11744 #include <ncurses/curses.h> | 12697 #include <ncurses/curses.h> |
11745 EOF | 12698 EOF |
11746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11747 { (eval echo configure:11748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12700 { (eval echo configure:12701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11749 if test -z "$ac_err"; then | 12702 if test -z "$ac_err"; then |
11750 rm -rf conftest* | 12703 rm -rf conftest* |
11751 eval "ac_cv_header_$ac_safe=yes" | 12704 eval "ac_cv_header_$ac_safe=yes" |
11752 else | 12705 else |
11757 eval "ac_cv_header_$ac_safe=no" | 12710 eval "ac_cv_header_$ac_safe=no" |
11758 fi | 12711 fi |
11759 rm -f conftest* | 12712 rm -f conftest* |
11760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11761 echo "$ac_t""yes" 1>&6 | 12714 echo "$ac_t""yes" 1>&6 |
11762 curses_h_path=ncurses/curses.h | 12715 curses_h_file=ncurses/curses.h |
11763 else | 12716 else |
11764 echo "$ac_t""no" 1>&6 | 12717 echo "$ac_t""no" 1>&6 |
11765 fi | 12718 fi |
11766 | 12719 |
11767 if test "$ac_cv_header_ncurses_curses_h" = "yes" | 12720 if test "$ac_cv_header_ncurses_curses_h" = "yes" |
11777 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12730 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11778 else | 12731 else |
11779 for lib in curses termlib termcap; do | 12732 for lib in curses termlib termcap; do |
11780 | 12733 |
11781 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12734 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11782 echo "configure:11783: checking for tgetent in -l$lib" >&5 | 12735 echo "configure:12736: checking for tgetent in -l$lib" >&5 |
11783 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12736 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11784 | 12737 |
11785 xe_check_libs=" -l$lib " | 12738 xe_check_libs=" -l$lib " |
11786 cat > conftest.$ac_ext <<EOF | 12739 cat > conftest.$ac_ext <<EOF |
11787 #line 11788 "configure" | 12740 #line 12741 "configure" |
11788 #include "confdefs.h" | 12741 #include "confdefs.h" |
11789 /* Override any gcc2 internal prototype to avoid an error. */ | 12742 /* Override any gcc2 internal prototype to avoid an error. */ |
11790 /* We use char because int might match the return type of a gcc2 | 12743 /* We use char because int might match the return type of a gcc2 |
11791 builtin and then its argument prototype would still apply. */ | 12744 builtin and then its argument prototype would still apply. */ |
11792 char tgetent(); | 12745 char tgetent(); |
11793 | 12746 |
11794 int main() { | 12747 int main() { |
11795 tgetent() | 12748 tgetent() |
11796 ; return 0; } | 12749 ; return 0; } |
11797 EOF | 12750 EOF |
11798 if { (eval echo configure:11799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12751 if { (eval echo configure:12752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11799 rm -rf conftest* | 12752 rm -rf conftest* |
11800 eval "ac_cv_lib_$ac_lib_var=yes" | 12753 eval "ac_cv_lib_$ac_lib_var=yes" |
11801 else | 12754 else |
11802 echo "configure: failed program was:" >&5 | 12755 echo "configure: failed program was:" >&5 |
11803 cat conftest.$ac_ext >&5 | 12756 cat conftest.$ac_ext >&5 |
11824 if test -n "$libs_termcap"; then | 12777 if test -n "$libs_termcap"; then |
11825 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12778 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11826 else | 12779 else |
11827 | 12780 |
11828 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12781 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11829 echo "configure:11830: checking for tgetent in -lcurses" >&5 | 12782 echo "configure:12783: checking for tgetent in -lcurses" >&5 |
11830 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12783 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11831 | 12784 |
11832 xe_check_libs=" -lcurses " | 12785 xe_check_libs=" -lcurses " |
11833 cat > conftest.$ac_ext <<EOF | 12786 cat > conftest.$ac_ext <<EOF |
11834 #line 11835 "configure" | 12787 #line 12788 "configure" |
11835 #include "confdefs.h" | 12788 #include "confdefs.h" |
11836 /* Override any gcc2 internal prototype to avoid an error. */ | 12789 /* Override any gcc2 internal prototype to avoid an error. */ |
11837 /* We use char because int might match the return type of a gcc2 | 12790 /* We use char because int might match the return type of a gcc2 |
11838 builtin and then its argument prototype would still apply. */ | 12791 builtin and then its argument prototype would still apply. */ |
11839 char tgetent(); | 12792 char tgetent(); |
11840 | 12793 |
11841 int main() { | 12794 int main() { |
11842 tgetent() | 12795 tgetent() |
11843 ; return 0; } | 12796 ; return 0; } |
11844 EOF | 12797 EOF |
11845 if { (eval echo configure:11846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12798 if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11846 rm -rf conftest* | 12799 rm -rf conftest* |
11847 eval "ac_cv_lib_$ac_lib_var=yes" | 12800 eval "ac_cv_lib_$ac_lib_var=yes" |
11848 else | 12801 else |
11849 echo "configure: failed program was:" >&5 | 12802 echo "configure: failed program was:" >&5 |
11850 cat conftest.$ac_ext >&5 | 12803 cat conftest.$ac_ext >&5 |
11858 echo "$ac_t""yes" 1>&6 | 12811 echo "$ac_t""yes" 1>&6 |
11859 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12812 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11860 else | 12813 else |
11861 echo "$ac_t""no" 1>&6 | 12814 echo "$ac_t""no" 1>&6 |
11862 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12815 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11863 echo "configure:11864: checking for tgetent in -ltermcap" >&5 | 12816 echo "configure:12817: checking for tgetent in -ltermcap" >&5 |
11864 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12817 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11865 | 12818 |
11866 xe_check_libs=" -ltermcap " | 12819 xe_check_libs=" -ltermcap " |
11867 cat > conftest.$ac_ext <<EOF | 12820 cat > conftest.$ac_ext <<EOF |
11868 #line 11869 "configure" | 12821 #line 12822 "configure" |
11869 #include "confdefs.h" | 12822 #include "confdefs.h" |
11870 /* Override any gcc2 internal prototype to avoid an error. */ | 12823 /* Override any gcc2 internal prototype to avoid an error. */ |
11871 /* We use char because int might match the return type of a gcc2 | 12824 /* We use char because int might match the return type of a gcc2 |
11872 builtin and then its argument prototype would still apply. */ | 12825 builtin and then its argument prototype would still apply. */ |
11873 char tgetent(); | 12826 char tgetent(); |
11874 | 12827 |
11875 int main() { | 12828 int main() { |
11876 tgetent() | 12829 tgetent() |
11877 ; return 0; } | 12830 ; return 0; } |
11878 EOF | 12831 EOF |
11879 if { (eval echo configure:11880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12832 if { (eval echo configure:12833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11880 rm -rf conftest* | 12833 rm -rf conftest* |
11881 eval "ac_cv_lib_$ac_lib_var=yes" | 12834 eval "ac_cv_lib_$ac_lib_var=yes" |
11882 else | 12835 else |
11883 echo "configure: failed program was:" >&5 | 12836 echo "configure: failed program was:" >&5 |
11884 cat conftest.$ac_ext >&5 | 12837 cat conftest.$ac_ext >&5 |
11904 | 12857 |
11905 fi | 12858 fi |
11906 fi | 12859 fi |
11907 fi | 12860 fi |
11908 { test "$extra_verbose" = "yes" && cat << EOF | 12861 { test "$extra_verbose" = "yes" && cat << EOF |
11909 Defining CURSES_H_PATH = "${curses_h_path-curses.h}" | 12862 Defining CURSES_H_FILE = "${curses_h_file-curses.h}" |
11910 EOF | 12863 EOF |
11911 cat >> confdefs.h <<EOF | 12864 cat >> confdefs.h <<EOF |
11912 #define CURSES_H_PATH "${curses_h_path-curses.h}" | 12865 #define CURSES_H_FILE "${curses_h_file-curses.h}" |
11913 EOF | 12866 EOF |
11914 } | 12867 } |
11915 | 12868 |
11916 { test "$extra_verbose" = "yes" && cat << EOF | 12869 { test "$extra_verbose" = "yes" && cat << EOF |
11917 Defining TERM_H_PATH = "${term_h_path-term.h}" | 12870 Defining TERM_H_FILE = "${term_h_file-term.h}" |
11918 EOF | 12871 EOF |
11919 cat >> confdefs.h <<EOF | 12872 cat >> confdefs.h <<EOF |
11920 #define TERM_H_PATH "${term_h_path-term.h}" | 12873 #define TERM_H_FILE "${term_h_file-term.h}" |
11921 EOF | 12874 EOF |
11922 } | 12875 } |
11923 | 12876 |
11924 | 12877 |
11925 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 12878 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11926 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 12879 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11927 echo "configure:11928: checking for gpm.h" >&5 | 12880 echo "configure:12881: checking for gpm.h" >&5 |
11928 | 12881 |
11929 cat > conftest.$ac_ext <<EOF | 12882 cat > conftest.$ac_ext <<EOF |
11930 #line 11931 "configure" | 12883 #line 12884 "configure" |
11931 #include "confdefs.h" | 12884 #include "confdefs.h" |
11932 #include <gpm.h> | 12885 #include <gpm.h> |
11933 EOF | 12886 EOF |
11934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11935 { (eval echo configure:11936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12888 { (eval echo configure:12889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11937 if test -z "$ac_err"; then | 12890 if test -z "$ac_err"; then |
11938 rm -rf conftest* | 12891 rm -rf conftest* |
11939 eval "ac_cv_header_$ac_safe=yes" | 12892 eval "ac_cv_header_$ac_safe=yes" |
11940 else | 12893 else |
11953 with_gpm=no | 12906 with_gpm=no |
11954 fi | 12907 fi |
11955 } | 12908 } |
11956 test -z "$with_gpm" && { | 12909 test -z "$with_gpm" && { |
11957 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 12910 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11958 echo "configure:11959: checking for Gpm_Open in -lgpm" >&5 | 12911 echo "configure:12912: checking for Gpm_Open in -lgpm" >&5 |
11959 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 12912 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11960 | 12913 |
11961 xe_check_libs=" -lgpm " | 12914 xe_check_libs=" -lgpm " |
11962 cat > conftest.$ac_ext <<EOF | 12915 cat > conftest.$ac_ext <<EOF |
11963 #line 11964 "configure" | 12916 #line 12917 "configure" |
11964 #include "confdefs.h" | 12917 #include "confdefs.h" |
11965 /* Override any gcc2 internal prototype to avoid an error. */ | 12918 /* Override any gcc2 internal prototype to avoid an error. */ |
11966 /* We use char because int might match the return type of a gcc2 | 12919 /* We use char because int might match the return type of a gcc2 |
11967 builtin and then its argument prototype would still apply. */ | 12920 builtin and then its argument prototype would still apply. */ |
11968 char Gpm_Open(); | 12921 char Gpm_Open(); |
11969 | 12922 |
11970 int main() { | 12923 int main() { |
11971 Gpm_Open() | 12924 Gpm_Open() |
11972 ; return 0; } | 12925 ; return 0; } |
11973 EOF | 12926 EOF |
11974 if { (eval echo configure:11975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12927 if { (eval echo configure:12928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11975 rm -rf conftest* | 12928 rm -rf conftest* |
11976 eval "ac_cv_lib_$ac_lib_var=yes" | 12929 eval "ac_cv_lib_$ac_lib_var=yes" |
11977 else | 12930 else |
11978 echo "configure: failed program was:" >&5 | 12931 echo "configure: failed program was:" >&5 |
11979 cat conftest.$ac_ext >&5 | 12932 cat conftest.$ac_ext >&5 |
12019 fi | 12972 fi |
12020 | 12973 |
12021 | 12974 |
12022 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 12975 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
12023 != "no no no" && echo "checking for database support" 1>&6 | 12976 != "no no no" && echo "checking for database support" 1>&6 |
12024 echo "configure:12025: checking for database support" >&5 | 12977 echo "configure:12978: checking for database support" >&5 |
12025 | 12978 |
12026 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 12979 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
12027 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 12980 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
12028 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 12981 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
12029 echo "configure:12030: checking for ndbm.h" >&5 | 12982 echo "configure:12983: checking for ndbm.h" >&5 |
12030 | 12983 |
12031 cat > conftest.$ac_ext <<EOF | 12984 cat > conftest.$ac_ext <<EOF |
12032 #line 12033 "configure" | 12985 #line 12986 "configure" |
12033 #include "confdefs.h" | 12986 #include "confdefs.h" |
12034 #include <ndbm.h> | 12987 #include <ndbm.h> |
12035 EOF | 12988 EOF |
12036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12037 { (eval echo configure:12038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12990 { (eval echo configure:12991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12039 if test -z "$ac_err"; then | 12992 if test -z "$ac_err"; then |
12040 rm -rf conftest* | 12993 rm -rf conftest* |
12041 eval "ac_cv_header_$ac_safe=yes" | 12994 eval "ac_cv_header_$ac_safe=yes" |
12042 else | 12995 else |
12062 fi | 13015 fi |
12063 | 13016 |
12064 if test "$with_database_gdbm" != "no"; then | 13017 if test "$with_database_gdbm" != "no"; then |
12065 | 13018 |
12066 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13019 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
12067 echo "configure:12068: checking for dbm_open in -lgdbm" >&5 | 13020 echo "configure:13021: checking for dbm_open in -lgdbm" >&5 |
12068 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13021 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12069 | 13022 |
12070 xe_check_libs=" -lgdbm " | 13023 xe_check_libs=" -lgdbm " |
12071 cat > conftest.$ac_ext <<EOF | 13024 cat > conftest.$ac_ext <<EOF |
12072 #line 12073 "configure" | 13025 #line 13026 "configure" |
12073 #include "confdefs.h" | 13026 #include "confdefs.h" |
12074 /* Override any gcc2 internal prototype to avoid an error. */ | 13027 /* Override any gcc2 internal prototype to avoid an error. */ |
12075 /* We use char because int might match the return type of a gcc2 | 13028 /* We use char because int might match the return type of a gcc2 |
12076 builtin and then its argument prototype would still apply. */ | 13029 builtin and then its argument prototype would still apply. */ |
12077 char dbm_open(); | 13030 char dbm_open(); |
12078 | 13031 |
12079 int main() { | 13032 int main() { |
12080 dbm_open() | 13033 dbm_open() |
12081 ; return 0; } | 13034 ; return 0; } |
12082 EOF | 13035 EOF |
12083 if { (eval echo configure:12084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13036 if { (eval echo configure:13037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12084 rm -rf conftest* | 13037 rm -rf conftest* |
12085 eval "ac_cv_lib_$ac_lib_var=yes" | 13038 eval "ac_cv_lib_$ac_lib_var=yes" |
12086 else | 13039 else |
12087 echo "configure: failed program was:" >&5 | 13040 echo "configure: failed program was:" >&5 |
12088 cat conftest.$ac_ext >&5 | 13041 cat conftest.$ac_ext >&5 |
12106 | 13059 |
12107 fi | 13060 fi |
12108 | 13061 |
12109 if test "$with_database_dbm" != "no"; then | 13062 if test "$with_database_dbm" != "no"; then |
12110 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13063 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
12111 echo "configure:12112: checking for dbm_open" >&5 | 13064 echo "configure:13065: checking for dbm_open" >&5 |
12112 | 13065 |
12113 cat > conftest.$ac_ext <<EOF | 13066 cat > conftest.$ac_ext <<EOF |
12114 #line 12115 "configure" | 13067 #line 13068 "configure" |
12115 #include "confdefs.h" | 13068 #include "confdefs.h" |
12116 /* System header to define __stub macros and hopefully few prototypes, | 13069 /* System header to define __stub macros and hopefully few prototypes, |
12117 which can conflict with char dbm_open(); below. */ | 13070 which can conflict with char dbm_open(); below. */ |
12118 #include <assert.h> | 13071 #include <assert.h> |
12119 /* Override any gcc2 internal prototype to avoid an error. */ | 13072 /* Override any gcc2 internal prototype to avoid an error. */ |
12132 dbm_open(); | 13085 dbm_open(); |
12133 #endif | 13086 #endif |
12134 | 13087 |
12135 ; return 0; } | 13088 ; return 0; } |
12136 EOF | 13089 EOF |
12137 if { (eval echo configure:12138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12138 rm -rf conftest* | 13091 rm -rf conftest* |
12139 eval "ac_cv_func_dbm_open=yes" | 13092 eval "ac_cv_func_dbm_open=yes" |
12140 else | 13093 else |
12141 echo "configure: failed program was:" >&5 | 13094 echo "configure: failed program was:" >&5 |
12142 cat conftest.$ac_ext >&5 | 13095 cat conftest.$ac_ext >&5 |
12151 else | 13104 else |
12152 echo "$ac_t""no" 1>&6 | 13105 echo "$ac_t""no" 1>&6 |
12153 | 13106 |
12154 | 13107 |
12155 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13108 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
12156 echo "configure:12157: checking for dbm_open in -ldbm" >&5 | 13109 echo "configure:13110: checking for dbm_open in -ldbm" >&5 |
12157 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13110 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12158 | 13111 |
12159 xe_check_libs=" -ldbm " | 13112 xe_check_libs=" -ldbm " |
12160 cat > conftest.$ac_ext <<EOF | 13113 cat > conftest.$ac_ext <<EOF |
12161 #line 12162 "configure" | 13114 #line 13115 "configure" |
12162 #include "confdefs.h" | 13115 #include "confdefs.h" |
12163 /* Override any gcc2 internal prototype to avoid an error. */ | 13116 /* Override any gcc2 internal prototype to avoid an error. */ |
12164 /* We use char because int might match the return type of a gcc2 | 13117 /* We use char because int might match the return type of a gcc2 |
12165 builtin and then its argument prototype would still apply. */ | 13118 builtin and then its argument prototype would still apply. */ |
12166 char dbm_open(); | 13119 char dbm_open(); |
12167 | 13120 |
12168 int main() { | 13121 int main() { |
12169 dbm_open() | 13122 dbm_open() |
12170 ; return 0; } | 13123 ; return 0; } |
12171 EOF | 13124 EOF |
12172 if { (eval echo configure:12173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13125 if { (eval echo configure:13126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12173 rm -rf conftest* | 13126 rm -rf conftest* |
12174 eval "ac_cv_lib_$ac_lib_var=yes" | 13127 eval "ac_cv_lib_$ac_lib_var=yes" |
12175 else | 13128 else |
12176 echo "configure: failed program was:" >&5 | 13129 echo "configure: failed program was:" >&5 |
12177 cat conftest.$ac_ext >&5 | 13130 cat conftest.$ac_ext >&5 |
12208 } | 13161 } |
12209 | 13162 |
12210 | 13163 |
12211 if test "$with_database_berkdb" != "no"; then | 13164 if test "$with_database_berkdb" != "no"; then |
12212 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13165 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
12213 echo "configure:12214: checking for Berkeley db.h" >&5 | 13166 echo "configure:13167: checking for Berkeley db.h" >&5 |
12214 for path in "db/db.h" "db.h"; do | 13167 for header in "db/db.h" "db.h"; do |
12215 cat > conftest.$ac_ext <<EOF | 13168 cat > conftest.$ac_ext <<EOF |
12216 #line 12217 "configure" | 13169 #line 13170 "configure" |
12217 #include "confdefs.h" | 13170 #include "confdefs.h" |
13171 | |
13172 #include <stdlib.h> | |
13173 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | |
12218 #ifdef HAVE_INTTYPES_H | 13174 #ifdef HAVE_INTTYPES_H |
12219 #define __BIT_TYPES_DEFINED__ | 13175 #define __BIT_TYPES_DEFINED__ |
12220 #include <inttypes.h> | 13176 #include <inttypes.h> |
12221 typedef uint8_t u_int8_t; | 13177 typedef uint8_t u_int8_t; |
12222 typedef uint16_t u_int16_t; | 13178 typedef uint16_t u_int16_t; |
12223 typedef uint32_t u_int32_t; | 13179 typedef uint32_t u_int32_t; |
12224 #ifdef WE_DONT_NEED_QUADS | 13180 #ifdef WE_DONT_NEED_QUADS |
12225 typedef uint64_t u_int64_t; | 13181 typedef uint64_t u_int64_t; |
12226 #endif | 13182 #endif |
12227 #endif | 13183 #endif |
12228 #include <$path> | 13184 #endif |
13185 #include <$header> | |
12229 | 13186 |
12230 int main() { | 13187 int main() { |
12231 | 13188 |
12232 ; return 0; } | 13189 ; return 0; } |
12233 EOF | 13190 EOF |
12234 if { (eval echo configure:12235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13191 if { (eval echo configure:13192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12235 rm -rf conftest* | 13192 rm -rf conftest* |
12236 db_h_path="$path"; break | 13193 db_h_file="$header"; break |
12237 else | 13194 else |
12238 echo "configure: failed program was:" >&5 | 13195 echo "configure: failed program was:" >&5 |
12239 cat conftest.$ac_ext >&5 | 13196 cat conftest.$ac_ext >&5 |
12240 fi | 13197 fi |
12241 rm -f conftest* | 13198 rm -f conftest* |
12242 done | 13199 done |
12243 if test -z "$db_h_path" | 13200 if test -z "$db_h_file" |
12244 then echo "$ac_t""no" 1>&6; with_database_berkdb=no | 13201 then echo "$ac_t""no" 1>&6; with_database_berkdb=no |
12245 else echo "$ac_t""$db_h_path" 1>&6 | 13202 else echo "$ac_t""$db_h_file" 1>&6 |
12246 fi | 13203 fi |
12247 | 13204 |
12248 if test "$with_database_berkdb" != "no"; then | 13205 if test "$with_database_berkdb" != "no"; then |
12249 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13206 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
12250 echo "configure:12251: checking for Berkeley DB version" >&5 | 13207 echo "configure:13208: checking for Berkeley DB version" >&5 |
12251 cat > conftest.$ac_ext <<EOF | 13208 cat > conftest.$ac_ext <<EOF |
12252 #line 12253 "configure" | 13209 #line 13210 "configure" |
12253 #include "confdefs.h" | 13210 #include "confdefs.h" |
12254 #include <$db_h_path> | 13211 #include <$db_h_file> |
12255 #if DB_VERSION_MAJOR > 1 | 13212 #if DB_VERSION_MAJOR > 1 |
12256 yes | 13213 yes |
12257 #endif | 13214 #endif |
12258 | 13215 |
12259 EOF | 13216 EOF |
12266 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13223 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
12267 fi | 13224 fi |
12268 rm -f conftest* | 13225 rm -f conftest* |
12269 | 13226 |
12270 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13227 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
12271 echo "configure:12272: checking for $dbfunc" >&5 | 13228 echo "configure:13229: checking for $dbfunc" >&5 |
12272 | 13229 |
12273 cat > conftest.$ac_ext <<EOF | 13230 cat > conftest.$ac_ext <<EOF |
12274 #line 12275 "configure" | 13231 #line 13232 "configure" |
12275 #include "confdefs.h" | 13232 #include "confdefs.h" |
12276 /* System header to define __stub macros and hopefully few prototypes, | 13233 /* System header to define __stub macros and hopefully few prototypes, |
12277 which can conflict with char $dbfunc(); below. */ | 13234 which can conflict with char $dbfunc(); below. */ |
12278 #include <assert.h> | 13235 #include <assert.h> |
12279 /* Override any gcc2 internal prototype to avoid an error. */ | 13236 /* Override any gcc2 internal prototype to avoid an error. */ |
12292 $dbfunc(); | 13249 $dbfunc(); |
12293 #endif | 13250 #endif |
12294 | 13251 |
12295 ; return 0; } | 13252 ; return 0; } |
12296 EOF | 13253 EOF |
12297 if { (eval echo configure:12298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13254 if { (eval echo configure:13255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12298 rm -rf conftest* | 13255 rm -rf conftest* |
12299 eval "ac_cv_func_$dbfunc=yes" | 13256 eval "ac_cv_func_$dbfunc=yes" |
12300 else | 13257 else |
12301 echo "configure: failed program was:" >&5 | 13258 echo "configure: failed program was:" >&5 |
12302 cat conftest.$ac_ext >&5 | 13259 cat conftest.$ac_ext >&5 |
12311 else | 13268 else |
12312 echo "$ac_t""no" 1>&6 | 13269 echo "$ac_t""no" 1>&6 |
12313 | 13270 |
12314 | 13271 |
12315 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13272 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
12316 echo "configure:12317: checking for $dbfunc in -ldb" >&5 | 13273 echo "configure:13274: checking for $dbfunc in -ldb" >&5 |
12317 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13274 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
12318 | 13275 |
12319 xe_check_libs=" -ldb " | 13276 xe_check_libs=" -ldb " |
12320 cat > conftest.$ac_ext <<EOF | 13277 cat > conftest.$ac_ext <<EOF |
12321 #line 12322 "configure" | 13278 #line 13279 "configure" |
12322 #include "confdefs.h" | 13279 #include "confdefs.h" |
12323 /* Override any gcc2 internal prototype to avoid an error. */ | 13280 /* Override any gcc2 internal prototype to avoid an error. */ |
12324 /* We use char because int might match the return type of a gcc2 | 13281 /* We use char because int might match the return type of a gcc2 |
12325 builtin and then its argument prototype would still apply. */ | 13282 builtin and then its argument prototype would still apply. */ |
12326 char $dbfunc(); | 13283 char $dbfunc(); |
12327 | 13284 |
12328 int main() { | 13285 int main() { |
12329 $dbfunc() | 13286 $dbfunc() |
12330 ; return 0; } | 13287 ; return 0; } |
12331 EOF | 13288 EOF |
12332 if { (eval echo configure:12333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13289 if { (eval echo configure:13290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12333 rm -rf conftest* | 13290 rm -rf conftest* |
12334 eval "ac_cv_lib_$ac_lib_var=yes" | 13291 eval "ac_cv_lib_$ac_lib_var=yes" |
12335 else | 13292 else |
12336 echo "configure: failed program was:" >&5 | 13293 echo "configure: failed program was:" >&5 |
12337 cat conftest.$ac_ext >&5 | 13294 cat conftest.$ac_ext >&5 |
12353 | 13310 |
12354 fi | 13311 fi |
12355 | 13312 |
12356 if test "$with_database_berkdb" = "yes"; then | 13313 if test "$with_database_berkdb" = "yes"; then |
12357 { test "$extra_verbose" = "yes" && cat << EOF | 13314 { test "$extra_verbose" = "yes" && cat << EOF |
12358 Defining DB_H_PATH = "$db_h_path" | 13315 Defining DB_H_FILE = "$db_h_file" |
12359 EOF | 13316 EOF |
12360 cat >> confdefs.h <<EOF | 13317 cat >> confdefs.h <<EOF |
12361 #define DB_H_PATH "$db_h_path" | 13318 #define DB_H_FILE "$db_h_file" |
12362 EOF | 13319 EOF |
12363 } | 13320 } |
12364 | 13321 |
12365 { test "$extra_verbose" = "yes" && cat << \EOF | 13322 { test "$extra_verbose" = "yes" && cat << \EOF |
12366 Defining HAVE_BERKELEY_DB | 13323 Defining HAVE_BERKELEY_DB |
12391 fi | 13348 fi |
12392 | 13349 |
12393 if test "$with_socks" = "yes"; then | 13350 if test "$with_socks" = "yes"; then |
12394 | 13351 |
12395 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 13352 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
12396 echo "configure:12397: checking for SOCKSinit in -lsocks" >&5 | 13353 echo "configure:13354: checking for SOCKSinit in -lsocks" >&5 |
12397 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 13354 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
12398 | 13355 |
12399 xe_check_libs=" -lsocks " | 13356 xe_check_libs=" -lsocks " |
12400 cat > conftest.$ac_ext <<EOF | 13357 cat > conftest.$ac_ext <<EOF |
12401 #line 12402 "configure" | 13358 #line 13359 "configure" |
12402 #include "confdefs.h" | 13359 #include "confdefs.h" |
12403 /* Override any gcc2 internal prototype to avoid an error. */ | 13360 /* Override any gcc2 internal prototype to avoid an error. */ |
12404 /* We use char because int might match the return type of a gcc2 | 13361 /* We use char because int might match the return type of a gcc2 |
12405 builtin and then its argument prototype would still apply. */ | 13362 builtin and then its argument prototype would still apply. */ |
12406 char SOCKSinit(); | 13363 char SOCKSinit(); |
12407 | 13364 |
12408 int main() { | 13365 int main() { |
12409 SOCKSinit() | 13366 SOCKSinit() |
12410 ; return 0; } | 13367 ; return 0; } |
12411 EOF | 13368 EOF |
12412 if { (eval echo configure:12413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13369 if { (eval echo configure:13370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12413 rm -rf conftest* | 13370 rm -rf conftest* |
12414 eval "ac_cv_lib_$ac_lib_var=yes" | 13371 eval "ac_cv_lib_$ac_lib_var=yes" |
12415 else | 13372 else |
12416 echo "configure: failed program was:" >&5 | 13373 echo "configure: failed program was:" >&5 |
12417 cat conftest.$ac_ext >&5 | 13374 cat conftest.$ac_ext >&5 |
12462 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 13419 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
12463 fi | 13420 fi |
12464 | 13421 |
12465 if test "$with_modules" != "no"; then | 13422 if test "$with_modules" != "no"; then |
12466 echo "checking for module support" 1>&6 | 13423 echo "checking for module support" 1>&6 |
12467 echo "configure:12468: checking for module support" >&5 | 13424 echo "configure:13425: checking for module support" >&5 |
12468 | 13425 |
12469 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 13426 if test "$with_msw" = "yes"; then |
13427 have_dl=yes; | |
13428 else | |
13429 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
12470 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 13430 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
12471 echo "configure:12472: checking for dlfcn.h" >&5 | 13431 echo "configure:13432: checking for dlfcn.h" >&5 |
12472 | 13432 |
12473 cat > conftest.$ac_ext <<EOF | 13433 cat > conftest.$ac_ext <<EOF |
12474 #line 12475 "configure" | 13434 #line 13435 "configure" |
12475 #include "confdefs.h" | 13435 #include "confdefs.h" |
12476 #include <dlfcn.h> | 13436 #include <dlfcn.h> |
12477 EOF | 13437 EOF |
12478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12479 { (eval echo configure:12480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13439 { (eval echo configure:13440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12481 if test -z "$ac_err"; then | 13441 if test -z "$ac_err"; then |
12482 rm -rf conftest* | 13442 rm -rf conftest* |
12483 eval "ac_cv_header_$ac_safe=yes" | 13443 eval "ac_cv_header_$ac_safe=yes" |
12484 else | 13444 else |
12490 fi | 13450 fi |
12491 rm -f conftest* | 13451 rm -f conftest* |
12492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13452 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12493 echo "$ac_t""yes" 1>&6 | 13453 echo "$ac_t""yes" 1>&6 |
12494 | 13454 |
12495 | 13455 |
12496 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 13456 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
12497 echo "configure:12498: checking for dlopen in -ldl" >&5 | 13457 echo "configure:13458: checking for dlopen in -ldl" >&5 |
12498 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 13458 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
12499 | 13459 |
12500 xe_check_libs=" -ldl " | 13460 xe_check_libs=" -ldl " |
12501 cat > conftest.$ac_ext <<EOF | 13461 cat > conftest.$ac_ext <<EOF |
12502 #line 12503 "configure" | 13462 #line 13463 "configure" |
12503 #include "confdefs.h" | 13463 #include "confdefs.h" |
12504 /* Override any gcc2 internal prototype to avoid an error. */ | 13464 /* Override any gcc2 internal prototype to avoid an error. */ |
12505 /* We use char because int might match the return type of a gcc2 | 13465 /* We use char because int might match the return type of a gcc2 |
12506 builtin and then its argument prototype would still apply. */ | 13466 builtin and then its argument prototype would still apply. */ |
12507 char dlopen(); | 13467 char dlopen(); |
12508 | 13468 |
12509 int main() { | 13469 int main() { |
12510 dlopen() | 13470 dlopen() |
12511 ; return 0; } | 13471 ; return 0; } |
12512 EOF | 13472 EOF |
12513 if { (eval echo configure:12514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13473 if { (eval echo configure:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12514 rm -rf conftest* | 13474 rm -rf conftest* |
12515 eval "ac_cv_lib_$ac_lib_var=yes" | 13475 eval "ac_cv_lib_$ac_lib_var=yes" |
12516 else | 13476 else |
12517 echo "configure: failed program was:" >&5 | 13477 echo "configure: failed program was:" >&5 |
12518 cat conftest.$ac_ext >&5 | 13478 cat conftest.$ac_ext >&5 |
12527 have_dl=yes libdl=dl | 13487 have_dl=yes libdl=dl |
12528 else | 13488 else |
12529 echo "$ac_t""no" 1>&6 | 13489 echo "$ac_t""no" 1>&6 |
12530 | 13490 |
12531 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 13491 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
12532 echo "configure:12533: checking for dlopen in -lc" >&5 | 13492 echo "configure:13493: checking for dlopen in -lc" >&5 |
12533 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 13493 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
12534 | 13494 |
12535 xe_check_libs=" -lc " | 13495 xe_check_libs=" -lc " |
12536 cat > conftest.$ac_ext <<EOF | 13496 cat > conftest.$ac_ext <<EOF |
12537 #line 12538 "configure" | 13497 #line 13498 "configure" |
12538 #include "confdefs.h" | 13498 #include "confdefs.h" |
12539 /* Override any gcc2 internal prototype to avoid an error. */ | 13499 /* Override any gcc2 internal prototype to avoid an error. */ |
12540 /* We use char because int might match the return type of a gcc2 | 13500 /* We use char because int might match the return type of a gcc2 |
12541 builtin and then its argument prototype would still apply. */ | 13501 builtin and then its argument prototype would still apply. */ |
12542 char dlopen(); | 13502 char dlopen(); |
12543 | 13503 |
12544 int main() { | 13504 int main() { |
12545 dlopen() | 13505 dlopen() |
12546 ; return 0; } | 13506 ; return 0; } |
12547 EOF | 13507 EOF |
12548 if { (eval echo configure:12549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13508 if { (eval echo configure:13509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12549 rm -rf conftest* | 13509 rm -rf conftest* |
12550 eval "ac_cv_lib_$ac_lib_var=yes" | 13510 eval "ac_cv_lib_$ac_lib_var=yes" |
12551 else | 13511 else |
12552 echo "configure: failed program was:" >&5 | 13512 echo "configure: failed program was:" >&5 |
12553 cat conftest.$ac_ext >&5 | 13513 cat conftest.$ac_ext >&5 |
12570 | 13530 |
12571 else | 13531 else |
12572 echo "$ac_t""no" 1>&6 | 13532 echo "$ac_t""no" 1>&6 |
12573 fi | 13533 fi |
12574 | 13534 |
12575 if test -n "$have_dl"; then | 13535 if test -n "$have_dl"; then |
12576 { test "$extra_verbose" = "yes" && cat << \EOF | 13536 { test "$extra_verbose" = "yes" && cat << \EOF |
12577 Defining HAVE_DLOPEN | 13537 Defining HAVE_DLOPEN |
12578 EOF | 13538 EOF |
12579 cat >> confdefs.h <<\EOF | 13539 cat >> confdefs.h <<\EOF |
12580 #define HAVE_DLOPEN 1 | 13540 #define HAVE_DLOPEN 1 |
12581 EOF | 13541 EOF |
12582 } | 13542 } |
12583 | 13543 |
12584 else | 13544 else |
12585 | 13545 |
12586 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 13546 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
12587 echo "configure:12588: checking for shl_load in -ldld" >&5 | 13547 echo "configure:13548: checking for shl_load in -ldld" >&5 |
12588 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 13548 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
12589 | 13549 |
12590 xe_check_libs=" -ldld " | 13550 xe_check_libs=" -ldld " |
12591 cat > conftest.$ac_ext <<EOF | 13551 cat > conftest.$ac_ext <<EOF |
12592 #line 12593 "configure" | 13552 #line 13553 "configure" |
12593 #include "confdefs.h" | 13553 #include "confdefs.h" |
12594 /* Override any gcc2 internal prototype to avoid an error. */ | 13554 /* Override any gcc2 internal prototype to avoid an error. */ |
12595 /* We use char because int might match the return type of a gcc2 | 13555 /* We use char because int might match the return type of a gcc2 |
12596 builtin and then its argument prototype would still apply. */ | 13556 builtin and then its argument prototype would still apply. */ |
12597 char shl_load(); | 13557 char shl_load(); |
12598 | 13558 |
12599 int main() { | 13559 int main() { |
12600 shl_load() | 13560 shl_load() |
12601 ; return 0; } | 13561 ; return 0; } |
12602 EOF | 13562 EOF |
12603 if { (eval echo configure:12604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13563 if { (eval echo configure:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12604 rm -rf conftest* | 13564 rm -rf conftest* |
12605 eval "ac_cv_lib_$ac_lib_var=yes" | 13565 eval "ac_cv_lib_$ac_lib_var=yes" |
12606 else | 13566 else |
12607 echo "configure: failed program was:" >&5 | 13567 echo "configure: failed program was:" >&5 |
12608 cat conftest.$ac_ext >&5 | 13568 cat conftest.$ac_ext >&5 |
12613 xe_check_libs="" | 13573 xe_check_libs="" |
12614 | 13574 |
12615 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 13575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
12616 echo "$ac_t""yes" 1>&6 | 13576 echo "$ac_t""yes" 1>&6 |
12617 libdl=dld have_dl=yes; | 13577 libdl=dld have_dl=yes; |
12618 { test "$extra_verbose" = "yes" && cat << \EOF | 13578 { test "$extra_verbose" = "yes" && cat << \EOF |
12619 Defining HAVE_SHL_LOAD | 13579 Defining HAVE_SHL_LOAD |
12620 EOF | 13580 EOF |
12621 cat >> confdefs.h <<\EOF | 13581 cat >> confdefs.h <<\EOF |
12622 #define HAVE_SHL_LOAD 1 | 13582 #define HAVE_SHL_LOAD 1 |
12623 EOF | 13583 EOF |
12625 | 13585 |
12626 else | 13586 else |
12627 echo "$ac_t""no" 1>&6 | 13587 echo "$ac_t""no" 1>&6 |
12628 | 13588 |
12629 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 13589 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
12630 echo "configure:12631: checking for dld_init in -ldld" >&5 | 13590 echo "configure:13591: checking for dld_init in -ldld" >&5 |
12631 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 13591 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
12632 | 13592 |
12633 xe_check_libs=" -ldld " | 13593 xe_check_libs=" -ldld " |
12634 cat > conftest.$ac_ext <<EOF | 13594 cat > conftest.$ac_ext <<EOF |
12635 #line 12636 "configure" | 13595 #line 13596 "configure" |
12636 #include "confdefs.h" | 13596 #include "confdefs.h" |
12637 /* Override any gcc2 internal prototype to avoid an error. */ | 13597 /* Override any gcc2 internal prototype to avoid an error. */ |
12638 /* We use char because int might match the return type of a gcc2 | 13598 /* We use char because int might match the return type of a gcc2 |
12639 builtin and then its argument prototype would still apply. */ | 13599 builtin and then its argument prototype would still apply. */ |
12640 char dld_init(); | 13600 char dld_init(); |
12641 | 13601 |
12642 int main() { | 13602 int main() { |
12643 dld_init() | 13603 dld_init() |
12644 ; return 0; } | 13604 ; return 0; } |
12645 EOF | 13605 EOF |
12646 if { (eval echo configure:12647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12647 rm -rf conftest* | 13607 rm -rf conftest* |
12648 eval "ac_cv_lib_$ac_lib_var=yes" | 13608 eval "ac_cv_lib_$ac_lib_var=yes" |
12649 else | 13609 else |
12650 echo "configure: failed program was:" >&5 | 13610 echo "configure: failed program was:" >&5 |
12651 cat conftest.$ac_ext >&5 | 13611 cat conftest.$ac_ext >&5 |
12656 xe_check_libs="" | 13616 xe_check_libs="" |
12657 | 13617 |
12658 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 13618 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
12659 echo "$ac_t""yes" 1>&6 | 13619 echo "$ac_t""yes" 1>&6 |
12660 libdl=dld have_dl=yes; | 13620 libdl=dld have_dl=yes; |
12661 { test "$extra_verbose" = "yes" && cat << \EOF | 13621 { test "$extra_verbose" = "yes" && cat << \EOF |
12662 Defining HAVE_DLD_INIT | 13622 Defining HAVE_DLD_INIT |
12663 EOF | 13623 EOF |
12664 cat >> confdefs.h <<\EOF | 13624 cat >> confdefs.h <<\EOF |
12665 #define HAVE_DLD_INIT 1 | 13625 #define HAVE_DLD_INIT 1 |
12666 EOF | 13626 EOF |
12672 | 13632 |
12673 | 13633 |
12674 fi | 13634 fi |
12675 | 13635 |
12676 | 13636 |
12677 fi | 13637 fi |
12678 | 13638 fi |
12679 if test -n "$have_dl"; then | 13639 if test -n "$have_dl"; then |
12680 | 13640 |
12681 dll_ld= | 13641 dll_ld= |
12682 dll_ldflags= | 13642 dll_ldflags= |
12683 dll_cflags= | 13643 dll_cflags= |
12686 ld_dynamic_link_flags= | 13646 ld_dynamic_link_flags= |
12687 xehost=$canonical | 13647 xehost=$canonical |
12688 xealias=$internal_configuration | 13648 xealias=$internal_configuration |
12689 | 13649 |
12690 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13650 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
12691 echo "configure:12692: checking how to build dynamic libraries for ${xehost}" >&5 | 13651 echo "configure:13652: checking how to build dynamic libraries for ${xehost}" >&5 |
12692 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13652 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
12693 case "$xehost" in | 13653 case "$xehost" in |
12694 *-*-linux-gnu*) ;; | 13654 *-*-linux-gnu*) ;; |
12695 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13655 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
12696 esac | 13656 esac |
12714 # Now see if the compiler is really GCC. | 13674 # Now see if the compiler is really GCC. |
12715 if test "$GCC" = "yes"; then | 13675 if test "$GCC" = "yes"; then |
12716 XEGCC=yes | 13676 XEGCC=yes |
12717 else | 13677 else |
12718 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13678 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
12719 echo "configure:12720: checking checking whether we are using GNU C" >&5 | 13679 echo "configure:13680: checking checking whether we are using GNU C" >&5 |
12720 cat > conftest.$ac_ext <<EOF | 13680 cat > conftest.$ac_ext <<EOF |
12721 #line 12722 "configure" | 13681 #line 13682 "configure" |
12722 #include "confdefs.h" | 13682 #include "confdefs.h" |
12723 | 13683 |
12724 #ifdef __GNUC__ | 13684 #ifdef __GNUC__ |
12725 yes; | 13685 yes; |
12726 #endif | 13686 #endif |
12738 | 13698 |
12739 echo "$ac_t""${XEGCC}" 1>&6 | 13699 echo "$ac_t""${XEGCC}" 1>&6 |
12740 fi | 13700 fi |
12741 | 13701 |
12742 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13702 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
12743 echo "configure:12744: checking how to produce PIC code" >&5 | 13703 echo "configure:13704: checking how to produce PIC code" >&5 |
12744 wl= | 13704 wl= |
12745 | 13705 |
12746 can_build_shared=yes | 13706 can_build_shared=yes |
12747 if test "$XEGCC" = yes; then | 13707 if test "$XEGCC" = yes; then |
12748 wl='-Wl,' | 13708 wl='-Wl,' |
12750 case "$xehost_os" in | 13710 case "$xehost_os" in |
12751 aix3* | aix4* | irix5* | irix6* | osf3* | osf4*) | 13711 aix3* | aix4* | irix5* | irix6* | osf3* | osf4*) |
12752 # PIC is the default for these OSes. | 13712 # PIC is the default for these OSes. |
12753 ;; | 13713 ;; |
12754 | 13714 |
12755 os2*) | 13715 aix3* | aix4* | os2*) |
12756 # We can build DLLs from non-PIC. | 13716 # We can build DLLs from non-PIC. |
12757 ;; | 13717 ;; |
12758 amigaos*) | 13718 amigaos*) |
12759 # FIXME: we need at least 68020 code to build shared libraries, but | 13719 # FIXME: we need at least 68020 code to build shared libraries, but |
12760 # adding the `-m68020' flag to GCC prevents building anything better, | 13720 # adding the `-m68020' flag to GCC prevents building anything better, |
12761 # like `-m68040'. | 13721 # like `-m68040'. |
12762 dll_cflags='-m68020 -resident32 -malways-restore-a4' | 13722 dll_cflags='-m68020 -resident32 -malways-restore-a4' |
12763 ;; | 13723 ;; |
13724 *cygwin* | *mingw* ) | |
13725 # PIC is the default | |
13726 ;; | |
12764 *) | 13727 *) |
12765 dll_cflags='-fPIC' | 13728 dll_cflags='-fPIC' |
12766 ;; | 13729 ;; |
12767 esac | 13730 esac |
12768 else | 13731 else |
12828 esac | 13791 esac |
12829 fi | 13792 fi |
12830 | 13793 |
12831 if test -n "$dll_cflags"; then | 13794 if test -n "$dll_cflags"; then |
12832 echo "$ac_t""${dll_cflags}" 1>&6 | 13795 echo "$ac_t""${dll_cflags}" 1>&6 |
12833 | 13796 |
12834 # Check to make sure the dll_cflags actually works. | 13797 # Check to make sure the dll_cflags actually works. |
12835 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13798 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12836 echo "configure:12837: checking if PIC flag ${dll_cflags} really works" >&5 | 13799 echo "configure:13800: checking if PIC flag ${dll_cflags} really works" >&5 |
12837 save_CFLAGS="$CFLAGS" | 13800 save_CFLAGS="$CFLAGS" |
12838 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13801 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12839 cat > conftest.$ac_ext <<EOF | 13802 cat > conftest.$ac_ext <<EOF |
12840 #line 12841 "configure" | 13803 #line 13804 "configure" |
12841 #include "confdefs.h" | 13804 #include "confdefs.h" |
12842 | 13805 |
12843 int main() { | 13806 int main() { |
12844 int x=0; | 13807 int x=0; |
12845 ; return 0; } | 13808 ; return 0; } |
12846 EOF | 13809 EOF |
12847 if { (eval echo configure:12848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13810 if { (eval echo configure:13811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12848 rm -rf conftest* | 13811 rm -rf conftest* |
12849 | 13812 |
12850 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13813 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12851 # reports no error. So, we need to grep stderr for (Bundled). | 13814 # reports no error. So, we need to grep stderr for (Bundled). |
12852 if grep '(Bundled)' config.log >/dev/null; then | 13815 if grep '(Bundled)' config.log >/dev/null; then |
12873 if test "$can_build_shared" = "yes"; then | 13836 if test "$can_build_shared" = "yes"; then |
12874 cc_produces_so=no | 13837 cc_produces_so=no |
12875 xldf= | 13838 xldf= |
12876 xcldf= | 13839 xcldf= |
12877 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13840 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12878 echo "configure:12879: checking if C compiler can produce shared libraries" >&5 | 13841 echo "configure:13842: checking if C compiler can produce shared libraries" >&5 |
12879 if test "$XEGCC" = yes; then | 13842 if test "$XEGCC" = yes; then |
12880 xcldf="-shared" | 13843 xcldf="-shared" |
12881 xldf="-shared" | 13844 xldf="-shared" |
12882 else # Not using GCC | 13845 else # Not using GCC |
12883 case "$xehost_os" in | 13846 case "$xehost_os" in |
12924 LDFLAGS="$xcldf $LDFLAGS" | 13887 LDFLAGS="$xcldf $LDFLAGS" |
12925 LIBS= | 13888 LIBS= |
12926 xe_libs= | 13889 xe_libs= |
12927 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 13890 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12928 cat > conftest.$ac_ext <<EOF | 13891 cat > conftest.$ac_ext <<EOF |
12929 #line 12930 "configure" | 13892 #line 13893 "configure" |
12930 #include "confdefs.h" | 13893 #include "confdefs.h" |
12931 | 13894 |
12932 int main() { | 13895 int main() { |
12933 int x=0; | 13896 int x=0; |
12934 ; return 0; } | 13897 ; return 0; } |
12935 EOF | 13898 EOF |
12936 if { (eval echo configure:12937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13899 if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12937 rm -rf conftest* | 13900 rm -rf conftest* |
12938 cc_produces_so=yes | 13901 cc_produces_so=yes |
12939 else | 13902 else |
12940 echo "configure: failed program was:" >&5 | 13903 echo "configure: failed program was:" >&5 |
12941 cat conftest.$ac_ext >&5 | 13904 cat conftest.$ac_ext >&5 |
12956 if test -z "$LTLD"; then | 13919 if test -z "$LTLD"; then |
12957 ac_prog=ld | 13920 ac_prog=ld |
12958 if test "$XEGCC" = yes; then | 13921 if test "$XEGCC" = yes; then |
12959 # Check if gcc -print-prog-name=ld gives a path. | 13922 # Check if gcc -print-prog-name=ld gives a path. |
12960 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 13923 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12961 echo "configure:12962: checking for ld used by GCC" >&5 | 13924 echo "configure:13925: checking for ld used by GCC" >&5 |
12962 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 13925 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12963 case "$ac_prog" in | 13926 case "$ac_prog" in |
12964 # Accept absolute paths. | 13927 # Accept absolute paths. |
12965 /*) | 13928 /*) |
12966 if test -z "$LTLD"; then | 13929 if test -z "$LTLD"; then |
12981 with_gnu_ld=unknown | 13944 with_gnu_ld=unknown |
12982 ;; | 13945 ;; |
12983 esac | 13946 esac |
12984 else | 13947 else |
12985 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 13948 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12986 echo "configure:12987: checking for GNU ld" >&5 | 13949 echo "configure:13950: checking for GNU ld" >&5 |
12987 fi | 13950 fi |
12988 | 13951 |
12989 if test -z "$LTLD"; then | 13952 if test -z "$LTLD"; then |
12990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 13953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12991 for ac_dir in $PATH; do | 13954 for ac_dir in $PATH; do |
13019 | 13982 |
13020 ld_dynamic_link_flags= | 13983 ld_dynamic_link_flags= |
13021 | 13984 |
13022 # Check to see if it really is or isn't GNU ld. | 13985 # Check to see if it really is or isn't GNU ld. |
13023 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 13986 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
13024 echo "configure:13025: checking if the linker is GNU ld" >&5 | 13987 echo "configure:13988: checking if the linker is GNU ld" >&5 |
13025 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 13988 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
13026 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 13989 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
13027 xe_gnu_ld=yes | 13990 xe_gnu_ld=yes |
13028 else | 13991 else |
13029 xe_gnu_ld=no | 13992 xe_gnu_ld=no |
13042 | 14005 |
13043 if test "$cc_produces_so" = "yes"; then | 14006 if test "$cc_produces_so" = "yes"; then |
13044 dll_ld=$CC | 14007 dll_ld=$CC |
13045 dll_ldflags=$xcldf | 14008 dll_ldflags=$xcldf |
13046 can_build_shared=yes | 14009 can_build_shared=yes |
14010 ld_shlibs=yes | |
13047 else | 14011 else |
13048 # OK - only NOW do we futz about with ld. | 14012 # OK - only NOW do we futz about with ld. |
13049 # See if the linker supports building shared libraries. | 14013 # See if the linker supports building shared libraries. |
13050 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14014 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
13051 echo "configure:13052: checking whether the linker supports shared libraries" >&5 | 14015 echo "configure:14016: checking whether the linker supports shared libraries" >&5 |
13052 dll_ld=$CC | 14016 dll_ld=$CC |
13053 dll_ldflags=$LDFLAGS | 14017 dll_ldflags=$LDFLAGS |
13054 ld_shlibs=yes | 14018 ld_shlibs=yes |
13055 can_build_shared=yes | 14019 can_build_shared=yes |
13056 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14020 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
13261 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14225 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
13262 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14226 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
13263 for ac_func in dlerror _dlerror | 14227 for ac_func in dlerror _dlerror |
13264 do | 14228 do |
13265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13266 echo "configure:13267: checking for $ac_func" >&5 | 14230 echo "configure:14231: checking for $ac_func" >&5 |
13267 | 14231 |
13268 cat > conftest.$ac_ext <<EOF | 14232 cat > conftest.$ac_ext <<EOF |
13269 #line 13270 "configure" | 14233 #line 14234 "configure" |
13270 #include "confdefs.h" | 14234 #include "confdefs.h" |
13271 /* System header to define __stub macros and hopefully few prototypes, | 14235 /* System header to define __stub macros and hopefully few prototypes, |
13272 which can conflict with char $ac_func(); below. */ | 14236 which can conflict with char $ac_func(); below. */ |
13273 #include <assert.h> | 14237 #include <assert.h> |
13274 /* Override any gcc2 internal prototype to avoid an error. */ | 14238 /* Override any gcc2 internal prototype to avoid an error. */ |
13287 $ac_func(); | 14251 $ac_func(); |
13288 #endif | 14252 #endif |
13289 | 14253 |
13290 ; return 0; } | 14254 ; return 0; } |
13291 EOF | 14255 EOF |
13292 if { (eval echo configure:13293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14256 if { (eval echo configure:14257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13293 rm -rf conftest* | 14257 rm -rf conftest* |
13294 eval "ac_cv_func_$ac_func=yes" | 14258 eval "ac_cv_func_$ac_func=yes" |
13295 else | 14259 else |
13296 echo "configure: failed program was:" >&5 | 14260 echo "configure: failed program was:" >&5 |
13297 cat conftest.$ac_ext >&5 | 14261 cat conftest.$ac_ext >&5 |
13326 with_modules=no | 14290 with_modules=no |
13327 fi | 14291 fi |
13328 fi | 14292 fi |
13329 | 14293 |
13330 cat > conftest.$ac_ext <<EOF | 14294 cat > conftest.$ac_ext <<EOF |
13331 #line 13332 "configure" | 14295 #line 14296 "configure" |
13332 #include "confdefs.h" | 14296 #include "confdefs.h" |
13333 int main(int c,char *v[]){return 0;} | 14297 int main(int c,char *v[]){return 0;} |
13334 EOF | 14298 EOF |
13335 if { (eval echo configure:13336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14299 if { (eval echo configure:14300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13336 then | 14300 then |
13337 : | 14301 : |
13338 else | 14302 else |
13339 conftest_rc="$?" | 14303 conftest_rc="$?" |
13340 echo "configure: failed program was:" >&5 | 14304 echo "configure: failed program was:" >&5 |
13626 done | 14590 done |
13627 | 14591 |
13628 | 14592 |
13629 | 14593 |
13630 | 14594 |
13631 LOCKDIR=$lockdir | |
13632 while true; do | |
13633 case "$LOCKDIR" in | |
13634 *\$* ) eval "LOCKDIR=$LOCKDIR" ;; | |
13635 *) break ;; | |
13636 esac | |
13637 done | |
13638 | |
13639 | |
13640 | |
13641 | |
13642 DOCDIR=$docdir | 14595 DOCDIR=$docdir |
13643 while true; do | 14596 while true; do |
13644 case "$DOCDIR" in | 14597 case "$DOCDIR" in |
13645 *\$* ) eval "DOCDIR=$DOCDIR" ;; | 14598 *\$* ) eval "DOCDIR=$DOCDIR" ;; |
13646 *) break ;; | 14599 *) break ;; |
13739 cat >> confdefs.h <<EOF | 14692 cat >> confdefs.h <<EOF |
13740 #define EMACS_CONFIG_OPTIONS "$ac_configure_args" | 14693 #define EMACS_CONFIG_OPTIONS "$ac_configure_args" |
13741 EOF | 14694 EOF |
13742 } | 14695 } |
13743 | 14696 |
13744 { test "$extra_verbose" = "yes" && cat << EOF | |
13745 Defining config_machfile = "$machfile" | |
13746 EOF | |
13747 cat >> confdefs.h <<EOF | |
13748 #define config_machfile "$machfile" | |
13749 EOF | |
13750 } | |
13751 | |
13752 { test "$extra_verbose" = "yes" && cat << EOF | |
13753 Defining config_opsysfile = "$opsysfile" | |
13754 EOF | |
13755 cat >> confdefs.h <<EOF | |
13756 #define config_opsysfile "$opsysfile" | |
13757 EOF | |
13758 } | |
13759 | |
13760 | 14697 |
13761 | 14698 |
13762 null_string="" | 14699 null_string="" |
13763 { test "$extra_verbose" = "yes" && cat << EOF | 14700 { test "$extra_verbose" = "yes" && cat << EOF |
13764 Defining LD_SWITCH_X_SITE = $null_string | 14701 Defining LD_SWITCH_X_SITE = $null_string |
13857 cat >> confdefs.h <<\EOF | 14794 cat >> confdefs.h <<\EOF |
13858 #define EXTERNAL_WIDGET 1 | 14795 #define EXTERNAL_WIDGET 1 |
13859 EOF | 14796 EOF |
13860 } | 14797 } |
13861 | 14798 |
13862 test "$no_doc_file" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 14799 test "$quick_build" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
13863 Defining NO_DOC_FILE | 14800 Defining QUICK_BUILD |
13864 EOF | 14801 EOF |
13865 cat >> confdefs.h <<\EOF | 14802 cat >> confdefs.h <<\EOF |
13866 #define NO_DOC_FILE 1 | 14803 #define QUICK_BUILD 1 |
13867 EOF | 14804 EOF |
13868 } | 14805 } |
13869 | 14806 |
13870 test "$with_purify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 14807 test "$with_purify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
13871 Defining PURIFY | 14808 Defining PURIFY |
13946 | 14883 |
13947 ( | 14884 ( |
13948 echo " | 14885 echo " |
13949 | 14886 |
13950 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. | 14887 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. |
13951 | 14888 " |
13952 Where should the build process find the source code? $srcdir | 14889 echo " |
13953 What installation prefix should install use? $prefix | 14890 Compilation / Installation:" |
13954 What operating system and machine description files should XEmacs use? | 14891 echo " Source code location: $srcdir" |
13955 \`$opsysfile' and \`$machfile' | 14892 echo " Installation prefix: $prefix" |
13956 What compiler should XEmacs be built with? $CC $CFLAGS | 14893 if test -n "$site_includes"; then |
13957 Should XEmacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 14894 echo " Additional header files: $site_includes" |
13958 Should XEmacs use the relocating allocator for buffers? $rel_alloc | 14895 fi |
13959 What window system should XEmacs use? ${window_system}" | 14896 if test -n "$site_libraries"; then |
14897 echo " Additional libraries: $site_libraries" | |
14898 fi | |
14899 if test -n "$site_prefixes"; then | |
14900 echo " Additional prefixes: $site_prefixes" | |
14901 fi | |
14902 if test -n "$runpath"; then | |
14903 echo " Runtime library search path: $runpath" | |
14904 fi | |
14905 | |
14906 if test -n "$opsysfile" | |
14907 then echo " Operating system description file: \`$opsysfile'" | |
14908 else echo " Not using any operating system description file" | |
14909 fi | |
14910 if test -n "$machfile" | |
14911 then echo " Machine description file: \`$machfile'" | |
14912 else echo " Not using any machine description file" | |
14913 fi | |
14914 | |
14915 echo " Compiler: $CC $CFLAGS" | |
14916 echo " Relocating allocator for buffers: $rel_alloc" | |
14917 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" | |
14918 | |
14919 echo " | |
14920 Window System:" | |
14921 if test "$with_msw" = "yes"; then | |
14922 echo " Compiling in support for the Microsoft window system." | |
14923 fi | |
13960 if test "$with_x11" = "yes"; then | 14924 if test "$with_x11" = "yes"; then |
13961 echo " Where do we find X Windows header files? $x_includes" | 14925 echo " Compiling in support for the X window system:" |
13962 echo " Where do we find X Windows libraries? $x_libraries" | 14926 echo " - X Windows headers location: $x_includes" |
13963 fi | 14927 echo " - X Windows libraries location: $x_libraries" |
13964 if test -n "$site_includes"; then | 14928 if test "$with_xauth" != yes; then |
13965 echo " Additional header files: $site_includes" | 14929 echo " - Xau (X authority) not available." |
13966 fi | 14930 fi |
13967 if test -n "$site_libraries"; then | 14931 if test "$with_xmu" != yes; then |
13968 echo " Additional libraries: $site_libraries" | 14932 echo " - Xmu library not available; substituting equivalent routines." |
13969 fi | 14933 fi |
13970 if test -n "$site_prefixes"; then | 14934 if test "$with_wmcommand" != no; then |
13971 echo " Additional prefixes: $site_prefixes" | 14935 echo " - Handling WM_COMMAND properly." |
13972 fi | 14936 fi |
13973 if test -n "$runpath"; then | 14937 fi |
13974 echo " Runtime library search path: $runpath" | 14938 if test "$need_athena" = "yes"; then |
13975 fi | 14939 echo " Compiling in support for the Athena widget set:" |
13976 if test "$have_xaw" = "yes"; then | 14940 echo " - Athena headers location: $athena_h_path" |
13977 echo " Athena library to link: $athena_lib" | 14941 echo " - Athena library to link: $athena_lib" |
13978 echo " Athena header include path: $athena_h_path" | 14942 fi |
13979 fi | 14943 case "$with_menubars" in |
13980 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 14944 lucid ) echo " Using Lucid menubars." ;; |
13981 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 14945 motif ) echo " Using Motif menubars." |
13982 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." | 14946 echo " *WARNING* The Motif menubar implementation is currently buggy." |
13983 if test "$with_xmu" != yes -a "$with_x11" = yes; then | 14947 echo " We recommend using the Lucid menubar instead." |
13984 echo " No Xmu; substituting equivalent routines." | 14948 echo " Re-run configure with --with-menubars='lucid'." ;; |
13985 fi | 14949 msw ) echo " Using MS-Windows menubars." ;; |
13986 | 14950 esac |
14951 case "$with_scrollbars" in | |
14952 lucid ) echo " Using Lucid scrollbars." ;; | |
14953 motif ) echo " Using Motif scrollbars." ;; | |
14954 athena ) echo " Using Athena scrollbars." ;; | |
14955 msw ) echo " Using MS-Windows scrollbars." ;; | |
14956 esac | |
14957 case "$with_dialogs" in | |
14958 motif ) echo " Using Motif dialog boxes." | |
14959 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | |
14960 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
14961 echo " We recommend using the Athena dialog boxes instead." | |
14962 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
14963 echo " Read the PROBLEMS file for more information." | |
14964 fi; fi ;; | |
14965 athena ) echo " Using Athena dialog boxes." ;; | |
14966 msw ) echo " Using MS-Windows dialog boxes." ;; | |
14967 esac | |
14968 case "$with_widgets" in | |
14969 motif ) echo " Using Motif native widgets." ;; | |
14970 athena ) echo " Using Athena native widgets." ;; | |
14971 msw ) echo " Using MS-Windows native widgets." ;; | |
14972 esac | |
14973 if test "$with_dragndrop" = yes; then | |
14974 echo " Compiling in support for Drag'n'Drop (EXPERIMENTAL)." | |
14975 echo " - Drag'n'Drop prototype: $dragndrop_proto." | |
14976 fi | |
14977 | |
14978 echo " | |
14979 TTY:" | |
14980 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | |
14981 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | |
14982 | |
14983 echo " | |
14984 Images:" | |
14985 test "$with_gif" = yes && echo " Compiling in support for GIF images (builtin)." | |
13987 if test "$with_xpm" = yes; then | 14986 if test "$with_xpm" = yes; then |
13988 echo " Compiling in support for XPM images." | 14987 echo " Compiling in support for XPM images." |
13989 elif test "$with_x11" = yes; then | 14988 elif test "$with_x11" = yes; then |
13990 echo " --------------------------------------------------------------------" | 14989 echo " WARNING: -----------------------------------------------------------" |
13991 echo " WARNING: Compiling without XPM support." | 14990 echo " WARNING: Compiling without XPM image support." |
13992 if test "$xpm_problem" != ""; then | 14991 if test "$xpm_problem" != ""; then |
13993 echo " Reason: $xpm_problem" | 14992 echo " Reason: $xpm_problem" |
13994 fi | 14993 fi |
13995 echo " WARNING: You should strongly consider installing XPM." | 14994 echo " WARNING: You should strongly consider installing XPM." |
13996 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 14995 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
13997 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | 14996 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" |
13998 echo " --------------------------------------------------------------------" | 14997 echo " WARNING: -----------------------------------------------------------" |
13999 fi | 14998 fi |
14000 if test "$with_png" = yes; then | 14999 if test "$with_png" = yes; then |
14001 echo " Compiling in support for PNG image handling." | 15000 echo " Compiling in support for PNG images." |
14002 elif test "$window_system" != "none"; then | 15001 elif test "$window_system" != "none"; then |
14003 echo " --------------------------------------------------------------------" | 15002 echo " WARNING: -----------------------------------------------------------" |
14004 echo " WARNING: Compiling without PNG image support." | 15003 echo " WARNING: Compiling without PNG image support." |
14005 if test "$png_problem" != ""; then | 15004 if test "$png_problem" != ""; then |
14006 echo " Reason: $png_problem" | 15005 echo " Reason: $png_problem" |
14007 fi | 15006 fi |
14008 echo " WARNING: You should strongly consider installing the PNG libraries." | 15007 echo " WARNING: You should strongly consider installing the PNG libraries." |
14009 echo " WARNING: Otherwise certain images and glyphs may not display." | 15008 echo " WARNING: Otherwise certain images and glyphs may not display." |
14010 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | 15009 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" |
14011 echo " --------------------------------------------------------------------" | 15010 echo " WARNING: -----------------------------------------------------------" |
14012 fi | 15011 fi |
14013 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." | 15012 test "$with_jpeg" = yes && echo " Compiling in support for JPEG images." |
14014 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." | 15013 test "$with_tiff" = yes && echo " Compiling in support for TIFF images." |
14015 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." | |
14016 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | 15014 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." |
14017 | 15015 |
14018 test "$with_native_sound" = yes && echo " Compiling in native sound support." | 15016 echo " |
14019 test "$with_nas_sound" = yes && echo " Compiling in network sound (NAS) support." | 15017 Sound:" |
14020 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously." | 15018 test "$with_native_sound" = yes && echo " Compiling in support for sound (native)." |
14021 test "$with_esd_sound" = yes && echo " Compiling in support for Enlightened Sound Daemon (ESD)." | 15019 test "$with_nas_sound" = yes && echo " Compiling in support for NAS (network audio system)." |
14022 | 15020 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously." |
14023 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 15021 test "$with_esd_sound" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)." |
15022 | |
15023 echo " | |
15024 Databases:" | |
15025 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley database." | |
14024 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 15026 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
14025 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | 15027 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." |
14026 | 15028 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
14027 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | 15029 if test "$with_postgresql" = yes; then |
14028 | 15030 echo " Compiling in support for PostgreSQL." |
14029 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 15031 echo " - Using PostgreSQL header file: $libpq_fe_h_file" |
14030 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 15032 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings." |
14031 | 15033 fi |
14032 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 15034 |
14033 test "$with_file_coding" = yes && echo " Compiling in File coding support." | 15035 echo " |
14034 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | 15036 Internationalization:" |
14035 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | 15037 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." |
14036 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." | 15038 test "$with_file_coding" = yes && echo " Compiling in support for file coding." |
14037 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." | 15039 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." |
14038 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | 15040 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." |
15041 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." | |
15042 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." | |
15043 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | |
14039 if test "$with_wnn" = yes; then | 15044 if test "$with_wnn" = yes; then |
14040 echo " Compiling in support for the WNN input method on Mule." | 15045 echo " Compiling in support for the WNN input method on Mule." |
14041 test "$with_wnn6" = yes && echo " Using WNN version 6." | 15046 test "$with_wnn6" = yes && echo " - Using WNN version 6." |
14042 fi | 15047 fi |
14043 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." | 15048 test "$with_i18n3" = yes && echo " Compiling in support for I18N level 3 (doesn't currently work)." |
14044 | 15049 |
14045 test "$with_cde" = yes && echo " Compiling in support for CDE." | 15050 echo " |
15051 Mail:" | |
15052 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." | |
15053 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." | |
15054 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." | |
15055 test -n "$mail_locking" && echo " Compiling in support for \"$mail_locking\" mail spool file locking method." | |
15056 | |
15057 echo " | |
15058 Other Features:" | |
14046 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 15059 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
14047 test "$with_offix" = yes && echo " Compiling in support for OffiX." | |
14048 test "$with_dragndrop" = yes && echo " Compiling in EXPERIMENTAL support for Drag'n'Drop ($dragndrop_proto )." | |
14049 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 15060 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
14050 test "$with_wmcommand" != no && echo " Compiling in support for proper WM_COMMAND handling." | 15061 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
14051 case "$with_menubars" in | 15062 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
14052 lucid ) echo " Using Lucid menubars." ;; | 15063 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
14053 motif ) echo " Using Motif menubars." | 15064 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
14054 echo " *WARNING* The Motif menubar implementation is currently buggy." | 15065 test "$pdump" = yes && echo " Using the new portable dumper." |
14055 echo " We recommend using the Lucid menubar instead." | 15066 test "$debug" = yes && echo " Compiling in support for extra debugging code." |
14056 echo " Re-run configure with --with-menubars='lucid'." ;; | 15067 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." |
14057 msw ) echo " Using MS-Windows menubars." ;; | 15068 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc $error_check_glyphs" \ |
14058 esac | 15069 != "no no no no no no"; then |
14059 case "$with_scrollbars" in | |
14060 lucid ) echo " Using Lucid scrollbars." ;; | |
14061 motif ) echo " Using Motif scrollbars." ;; | |
14062 athena ) echo " Using Athena scrollbars." ;; | |
14063 msw ) echo " Using MS-Windows scrollbars." ;; | |
14064 esac | |
14065 case "$with_widgets" in | |
14066 motif ) echo " Using Motif native widgets." ;; | |
14067 athena ) echo " Using Athena native widgets." ;; | |
14068 msw ) echo " Using MS-Windows native widgets." ;; | |
14069 esac | |
14070 case "$with_dialogs" in | |
14071 motif ) | |
14072 echo " Using Motif dialog boxes." | |
14073 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | |
14074 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
14075 echo " We recommend using the Athena dialog boxes instead." | |
14076 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
14077 echo " Read the PROBLEMS file for more information." | |
14078 fi; fi | |
14079 ;; | |
14080 athena ) echo " Using Athena dialog boxes." ;; | |
14081 msw ) echo " Using MS-Windows dialog boxes." ;; | |
14082 esac | |
14083 test "$with_modules" = "yes" && echo " Compiling in dynamic shared object module support." | |
14084 test "$with_clash_detection" = yes && \ | |
14085 echo " Clash detection will use \"$lockdir\" for locking files." | |
14086 echo " movemail will use \"$mail_locking\" for locking mail spool files." | |
14087 test "$with_pop" = yes && echo " Using POP for mail access." | |
14088 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." | |
14089 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." | |
14090 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | |
14091 test "$pdump" = yes && echo " Using the new portable dumper (wishful thinking)." | |
14092 test "$debug" = yes && echo " Compiling in extra code for debugging." | |
14093 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | |
14094 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ | |
14095 != "no no no no no"; then | |
14096 echo " WARNING: ---------------------------------------------------------" | 15070 echo " WARNING: ---------------------------------------------------------" |
14097 echo " WARNING: Compiling in support for runtime error checking." | 15071 echo " WARNING: Compiling in support for runtime error checking." |
14098 echo " WARNING: XEmacs will run noticeably more slowly as a result." | 15072 echo " WARNING: XEmacs will run noticeably more slowly as a result." |
14099 echo " WARNING: Error checking is on by default for XEmacs beta releases." | 15073 echo " WARNING: Error checking is on by default for XEmacs beta releases." |
14100 echo " WARNING: ---------------------------------------------------------" | 15074 echo " WARNING: ---------------------------------------------------------" |
14275 s%@SITEMODULEDIR_USER_DEFINED@%$SITEMODULEDIR_USER_DEFINED%g | 15249 s%@SITEMODULEDIR_USER_DEFINED@%$SITEMODULEDIR_USER_DEFINED%g |
14276 s%@SITEMODULEDIR@%$SITEMODULEDIR%g | 15250 s%@SITEMODULEDIR@%$SITEMODULEDIR%g |
14277 s%@etcdir@%$etcdir%g | 15251 s%@etcdir@%$etcdir%g |
14278 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g | 15252 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g |
14279 s%@ETCDIR@%$ETCDIR%g | 15253 s%@ETCDIR@%$ETCDIR%g |
14280 s%@lockdir@%$lockdir%g | |
14281 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g | |
14282 s%@LOCKDIR@%$LOCKDIR%g | |
14283 s%@docdir@%$docdir%g | 15254 s%@docdir@%$docdir%g |
14284 s%@DOCDIR_USER_DEFINED@%$DOCDIR_USER_DEFINED%g | 15255 s%@DOCDIR_USER_DEFINED@%$DOCDIR_USER_DEFINED%g |
14285 s%@DOCDIR@%$DOCDIR%g | 15256 s%@DOCDIR@%$DOCDIR%g |
14286 s%@archlibdir@%$archlibdir%g | 15257 s%@archlibdir@%$archlibdir%g |
14287 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g | 15258 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g |
14544 echo creating $dir/Makefile | 15515 echo creating $dir/Makefile |
14545 $CPP -I. -I${top_srcdir}/src junk.c \ | 15516 $CPP -I. -I${top_srcdir}/src junk.c \ |
14546 | sed -e 's/^\#.*//' \ | 15517 | sed -e 's/^\#.*//' \ |
14547 -e 's/^[ ][ ]*$//'\ | 15518 -e 's/^[ ][ ]*$//'\ |
14548 -e 's/^ / /' \ | 15519 -e 's/^ / /' \ |
14549 | sed -n -e '/^..*$/p' \ | 15520 -e '/^[ ]*$/d' \ |
14550 | sed '/^\"/ { | 15521 -e '/^\"/ { |
14551 s/\\\([\"]\)/\1/g | 15522 s/\\\([\"]\)/\1/g |
14552 s/^[ ]*\"// | 15523 s/^[ ]*\"// |
14553 s/\"[ ]*$// | 15524 s/\"[ ]*$// |
14554 }' > Makefile.new | 15525 }' > Makefile.new |
14555 chmod 444 Makefile.new | 15526 chmod 444 Makefile.new |
14558 echo creating $dir/GNUmakefile | 15529 echo creating $dir/GNUmakefile |
14559 $CPP -I. -I${top_srcdir}/src -DUSE_GNU_MAKE junk.c \ | 15530 $CPP -I. -I${top_srcdir}/src -DUSE_GNU_MAKE junk.c \ |
14560 | sed -e 's/^\#.*//' \ | 15531 | sed -e 's/^\#.*//' \ |
14561 -e 's/^[ ][ ]*$//'\ | 15532 -e 's/^[ ][ ]*$//'\ |
14562 -e 's/^ / /' \ | 15533 -e 's/^ / /' \ |
14563 | sed -n -e '/^..*$/p' \ | 15534 -e '/^[ ]*$/d' \ |
14564 | sed '/^\"/ { | 15535 -e '/^\"/ { |
14565 s/\\\([\"]\)/\1/g | 15536 s/\\\([\"]\)/\1/g |
14566 s/^[ ]*\"// | 15537 s/^[ ]*\"// |
14567 s/\"[ ]*$// | 15538 s/\"[ ]*$// |
14568 }' > Makefile.new | 15539 }' > Makefile.new |
14569 chmod 444 Makefile.new | 15540 chmod 444 Makefile.new |