aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Rost2002-11-07 17:33:03 +0000
committerMarkus Rost2002-11-07 17:33:03 +0000
commitc0d27fccebeaf82ec18619d1e0c525de6e3249cf (patch)
treec379d5c25645422f2119c0b402b23f7cec24e98b
parent65280ff31cf3856fa19d8fe38f461bfae67bcd46 (diff)
downloademacs-c0d27fccebeaf82ec18619d1e0c525de6e3249cf.tar.gz
emacs-c0d27fccebeaf82ec18619d1e0c525de6e3249cf.zip
Regenerated.
-rwxr-xr-xconfigure7484
1 files changed, 5521 insertions, 1963 deletions
diff --git a/configure b/configure
index 249676dfd53..302b70d2b14 100755
--- a/configure
+++ b/configure
@@ -1,24 +1,22 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52. 3# Generated by GNU Autoconf 2.53.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc. 6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 8# gives unlimited permission to copy, distribute and modify it.
9 9
10# Avoid depending upon Character Ranges. 10if expr a : '\(a\)' >/dev/null 2>&1; then
11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11 as_expr=expr
12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12else
13as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13 as_expr=false
14as_cr_digits='0123456789' 14fi
15as_cr_alnum=$as_cr_Letters$as_cr_digits
16 15
17# Sed expression to map a string onto a valid variable name.
18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
19 16
20# Sed expression to map a string onto a valid CPP name. 17## --------------------- ##
21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 18## M4sh Initialization. ##
19## --------------------- ##
22 20
23# Be Bourne compatible 21# Be Bourne compatible
24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -28,8 +26,165 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28 set -o posix 26 set -o posix
29fi 27fi
30 28
29# NLS nuisances.
30# Support unset when possible.
31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33else
34 as_unset=false
35fi
36
37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
31# Name of the executable. 63# Name of the executable.
32as_me=`echo "$0" |sed 's,.*[\\/],,'` 64as_me=`(basename "$0") 2>/dev/null ||
65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75# PATH needs CR, and LINENO needs CR and PATH.
76# Avoid depending upon Character Ranges.
77as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80as_cr_digits='0123456789'
81as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83# The user is always right.
84if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107for as_dir in $PATH
108do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147done
148;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179}
180
181
182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187esac
33 188
34if expr a : '\(a\)' >/dev/null 2>&1; then 189if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr 190 as_expr=expr
@@ -57,22 +212,12 @@ rm -f conf$$ conf$$.exe conf$$.file
57 212
58as_executable_p="test -f" 213as_executable_p="test -f"
59 214
60# Support unset when possible. 215# Sed expression to map a string onto a valid CPP name.
61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62 as_unset=unset 217
63else 218# Sed expression to map a string onto a valid variable name.
64 as_unset=false 219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
65fi
66 220
67# NLS nuisances.
68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76 221
77# IFS 222# IFS
78# We need space, tab and new line, in precisely that order. 223# We need space, tab and new line, in precisely that order.
@@ -81,7 +226,8 @@ as_nl='
81IFS=" $as_nl" 226IFS=" $as_nl"
82 227
83# CDPATH. 228# CDPATH.
84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
85 231
86# Name of the host. 232# Name of the host.
87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -96,7 +242,8 @@ exec 6>&1
96ac_default_prefix=/usr/local 242ac_default_prefix=/usr/local
97cross_compiling=no 243cross_compiling=no
98subdirs= 244subdirs=
99MFLAGS= MAKEFLAGS= 245MFLAGS=
246MAKEFLAGS=
100SHELL=${CONFIG_SHELL-/bin/sh} 247SHELL=${CONFIG_SHELL-/bin/sh}
101 248
102# Maximum number of lines to put in a shell here document. 249# Maximum number of lines to put in a shell here document.
@@ -104,6 +251,13 @@ SHELL=${CONFIG_SHELL-/bin/sh}
104# only ac_max_sed_lines should be used. 251# only ac_max_sed_lines should be used.
105: ${ac_max_here_lines=38} 252: ${ac_max_here_lines=38}
106 253
254# Identity of this package.
255PACKAGE_NAME=
256PACKAGE_TARNAME=
257PACKAGE_VERSION=
258PACKAGE_STRING=
259PACKAGE_BUGREPORT=
260
107ac_unique_file="src/lisp.h" 261ac_unique_file="src/lisp.h"
108# Factoring default headers for most tests. 262# Factoring default headers for most tests.
109ac_includes_default="\ 263ac_includes_default="\
@@ -142,6 +296,7 @@ ac_includes_default="\
142# include <unistd.h> 296# include <unistd.h>
143#endif" 297#endif"
144 298
299
145# Initialize some variables set by options. 300# Initialize some variables set by options.
146ac_init_help= 301ac_init_help=
147ac_init_version=false 302ac_init_version=false
@@ -180,13 +335,6 @@ oldincludedir='/usr/include'
180infodir='${prefix}/info' 335infodir='${prefix}/info'
181mandir='${prefix}/man' 336mandir='${prefix}/man'
182 337
183# Identity of this package.
184PACKAGE_NAME=
185PACKAGE_TARNAME=
186PACKAGE_VERSION=
187PACKAGE_STRING=
188PACKAGE_BUGREPORT=
189
190ac_prev= 338ac_prev=
191for ac_option 339for ac_option
192do 340do
@@ -319,7 +467,7 @@ do
319 with_fp=no ;; 467 with_fp=no ;;
320 468
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
322 | --no-cr | --no-c) 470 | --no-cr | --no-c | -n)
323 no_create=yes ;; 471 no_create=yes ;;
324 472
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
@@ -498,7 +646,7 @@ do
498 eval ac_val=$`echo $ac_var` 646 eval ac_val=$`echo $ac_var`
499 case $ac_val in 647 case $ac_val in
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };; 650 { (exit 1); exit 1; }; };;
503 esac 651 esac
504done 652done
@@ -510,18 +658,19 @@ do
510 eval ac_val=$`echo $ac_var` 658 eval ac_val=$`echo $ac_var`
511 case $ac_val in 659 case $ac_val in
512 [\\/$]* | ?:[\\/]* ) ;; 660 [\\/$]* | ?:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };; 662 { (exit 1); exit 1; }; };;
515 esac 663 esac
516done 664done
517 665
518# There might be people who depend on the old broken behavior: `$host' 666# There might be people who depend on the old broken behavior: `$host'
519# used to hold the argument of --host etc. 667# used to hold the argument of --host etc.
668# FIXME: To remove some day.
520build=$build_alias 669build=$build_alias
521host=$host_alias 670host=$host_alias
522target=$target_alias 671target=$target_alias
523 672
524# FIXME: should be removed in autoconf 3.0. 673# FIXME: To remove some day.
525if test "x$host_alias" != x; then 674if test "x$host_alias" != x; then
526 if test "x$build_alias" = x; then 675 if test "x$build_alias" = x; then
527 cross_compiling=maybe 676 cross_compiling=maybe
@@ -537,13 +686,23 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
537 686
538test "$silent" = yes && exec 6>/dev/null 687test "$silent" = yes && exec 6>/dev/null
539 688
689
540# Find the source files, if location was not specified. 690# Find the source files, if location was not specified.
541if test -z "$srcdir"; then 691if test -z "$srcdir"; then
542 ac_srcdir_defaulted=yes 692 ac_srcdir_defaulted=yes
543 # Try the directory containing this script, then its parent. 693 # Try the directory containing this script, then its parent.
544 ac_prog=$0 694 ac_confdir=`(dirname "$0") 2>/dev/null ||
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 695$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
700echo X"$0" |
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
705 s/.*/./; q'`
547 srcdir=$ac_confdir 706 srcdir=$ac_confdir
548 if test ! -r $srcdir/$ac_unique_file; then 707 if test ! -r $srcdir/$ac_unique_file; then
549 srcdir=.. 708 srcdir=..
@@ -553,10 +712,10 @@ else
553fi 712fi
554if test ! -r $srcdir/$ac_unique_file; then 713if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then 714 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; } 716 { (exit 1); exit 1; }; }
558 else 717 else
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2 718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
560 { (exit 1); exit 1; }; } 719 { (exit 1); exit 1; }; }
561 fi 720 fi
562fi 721fi
@@ -600,7 +759,7 @@ ac_cv_env_CPP_value=$CPP
600if test "$ac_init_help" = "long"; then 759if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing. 760 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh. 761 # This message is too long to be a string in the A/UX 3.1 sh.
603 cat <<EOF 762 cat <<_ACEOF
604\`configure' configures this package to adapt to many kinds of systems. 763\`configure' configures this package to adapt to many kinds of systems.
605 764
606Usage: $0 [OPTION]... [VAR=VALUE]... 765Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -621,9 +780,9 @@ Configuration:
621 -n, --no-create do not create output files 780 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
623 782
624EOF 783_ACEOF
625 784
626 cat <<EOF 785 cat <<_ACEOF
627Installation directories: 786Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX 787 --prefix=PREFIX install architecture-independent files in PREFIX
629 [$ac_default_prefix] 788 [$ac_default_prefix]
@@ -650,9 +809,9 @@ Fine tuning of the installation directories:
650 --oldincludedir=DIR C header files for non-gcc [/usr/include] 809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info] 810 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man] 811 --mandir=DIR man documentation [PREFIX/man]
653EOF 812_ACEOF
654 813
655 cat <<\EOF 814 cat <<\_ACEOF
656 815
657Program names: 816Program names:
658 --program-prefix=PREFIX prepend PREFIX to installed program names 817 --program-prefix=PREFIX prepend PREFIX to installed program names
@@ -665,13 +824,13 @@ X features:
665 824
666System types: 825System types:
667 --build=BUILD configure for building on BUILD [guessed] 826 --build=BUILD configure for building on BUILD [guessed]
668 --host=HOST build programs to run on HOST [BUILD] 827 --host=HOST cross-compile to build programs to run on HOST [BUILD]
669EOF 828_ACEOF
670fi 829fi
671 830
672if test -n "$ac_init_help"; then 831if test -n "$ac_init_help"; then
673 832
674 cat <<\EOF 833 cat <<\_ACEOF
675 834
676Optional Features: 835Optional Features:
677 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 836 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
@@ -711,40 +870,60 @@ Some influential environment variables:
711Use these variables to override the choices made by `configure' or to help 870Use these variables to override the choices made by `configure' or to help
712it to find libraries and programs with nonstandard names/locations. 871it to find libraries and programs with nonstandard names/locations.
713 872
714EOF 873_ACEOF
715fi 874fi
716 875
717if test "$ac_init_help" = "recursive"; then 876if test "$ac_init_help" = "recursive"; then
718 # If there are subdirs, report their specific --help. 877 # If there are subdirs, report their specific --help.
719 ac_popdir=`pwd` 878 ac_popdir=`pwd`
720 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
721 cd $ac_subdir 880 test -d $ac_dir || continue
722 # A "../" for each directory in /$ac_subdir. 881 ac_builddir=.
723 ac_dots=`echo $ac_subdir |
724 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
725
726 case $srcdir in
727 .) # No --srcdir option. We are building in place.
728 ac_sub_srcdir=$srcdir ;;
729 [\\/]* | ?:[\\/]* ) # Absolute path.
730 ac_sub_srcdir=$srcdir/$ac_subdir ;;
731 *) # Relative path.
732 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
733 esac
734 882
883if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887else
888 ac_dir_suffix= ac_top_builddir=
889fi
890
891case $srcdir in
892 .) # No --srcdir option. We are building in place.
893 ac_srcdir=.
894 if test -z "$ac_top_builddir"; then
895 ac_top_srcdir=.
896 else
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898 fi ;;
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
902 *) # Relative path.
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
905esac
906# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
907# absolute.
908ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
909ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
910ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
912
913 cd $ac_dir
735 # Check for guested configure; otherwise get Cygnus style configure. 914 # Check for guested configure; otherwise get Cygnus style configure.
736 if test -f $ac_sub_srcdir/configure.gnu; then 915 if test -f $ac_srcdir/configure.gnu; then
737 echo 916 echo
738 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 917 $SHELL $ac_srcdir/configure.gnu --help=recursive
739 elif test -f $ac_sub_srcdir/configure; then 918 elif test -f $ac_srcdir/configure; then
740 echo 919 echo
741 $SHELL $ac_sub_srcdir/configure --help=recursive 920 $SHELL $ac_srcdir/configure --help=recursive
742 elif test -f $ac_sub_srcdir/configure.ac || 921 elif test -f $ac_srcdir/configure.ac ||
743 test -f $ac_sub_srcdir/configure.in; then 922 test -f $ac_srcdir/configure.in; then
744 echo 923 echo
745 $ac_configure --help 924 $ac_configure --help
746 else 925 else
747 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
748 fi 927 fi
749 cd $ac_popdir 928 cd $ac_popdir
750 done 929 done
@@ -752,31 +931,31 @@ fi
752 931
753test -n "$ac_init_help" && exit 0 932test -n "$ac_init_help" && exit 0
754if $ac_init_version; then 933if $ac_init_version; then
755 cat <<\EOF 934 cat <<\_ACEOF
756 935
757Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 936Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
758Free Software Foundation, Inc. 937Free Software Foundation, Inc.
759This configure script is free software; the Free Software Foundation 938This configure script is free software; the Free Software Foundation
760gives unlimited permission to copy, distribute and modify it. 939gives unlimited permission to copy, distribute and modify it.
761EOF 940_ACEOF
762 exit 0 941 exit 0
763fi 942fi
764exec 5>config.log 943exec 5>config.log
765cat >&5 <<EOF 944cat >&5 <<_ACEOF
766This file contains any messages produced by compilers while 945This file contains any messages produced by compilers while
767running configure, to aid debugging if configure makes a mistake. 946running configure, to aid debugging if configure makes a mistake.
768 947
769It was created by $as_me, which was 948It was created by $as_me, which was
770generated by GNU Autoconf 2.52. Invocation command line was 949generated by GNU Autoconf 2.53. Invocation command line was
771 950
772 $ $0 $@ 951 $ $0 $@
773 952
774EOF 953_ACEOF
775{ 954{
776cat <<_ASUNAME 955cat <<_ASUNAME
777## ---------- ## 956## --------- ##
778## Platform. ## 957## Platform. ##
779## ---------- ## 958## --------- ##
780 959
781hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 960hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
782uname -m = `(uname -m) 2>/dev/null || echo unknown` 961uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -795,17 +974,27 @@ hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
795/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 974/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
796/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 975/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
797 976
798PATH = $PATH
799
800_ASUNAME 977_ASUNAME
978
979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
980for as_dir in $PATH
981do
982 IFS=$as_save_IFS
983 test -z "$as_dir" && as_dir=.
984 echo "PATH: $as_dir"
985done
986
801} >&5 987} >&5
802 988
803cat >&5 <<EOF 989cat >&5 <<_ACEOF
804## ------------ ## 990
805## Core tests. ## 991
806## ------------ ## 992## ----------- ##
993## Core tests. ##
994## ----------- ##
995
996_ACEOF
807 997
808EOF
809 998
810# Keep a trace of the command line. 999# Keep a trace of the command line.
811# Strip out --no-create and --no-recursion so they do not pile up. 1000# Strip out --no-create and --no-recursion so they do not pile up.
@@ -816,15 +1005,17 @@ for ac_arg
816do 1005do
817 case $ac_arg in 1006 case $ac_arg in
818 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
819 | --no-cr | --no-c) ;; 1008 | --no-cr | --no-c | -n ) continue ;;
820 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
821 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 continue ;;
822 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1012 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
823 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 1013 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
824 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1014 esac
825 ac_sep=" " ;; 1015 case " $ac_configure_args " in
826 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 1016 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
827 ac_sep=" " ;; 1017 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1018 ac_sep=" " ;;
828 esac 1019 esac
829 # Get rid of the leading space. 1020 # Get rid of the leading space.
830done 1021done
@@ -832,14 +1023,19 @@ done
832# When interrupted or exit'd, cleanup temporary files, and complete 1023# When interrupted or exit'd, cleanup temporary files, and complete
833# config.log. We remove comments because anyway the quotes in there 1024# config.log. We remove comments because anyway the quotes in there
834# would cause problems or look ugly. 1025# would cause problems or look ugly.
1026# WARNING: Be sure not to use single quotes in there, as some shells,
1027# such as our DU 5.0 friend, will then `close' the trap.
835trap 'exit_status=$? 1028trap 'exit_status=$?
836 # Save into config.log some information that might help in debugging. 1029 # Save into config.log some information that might help in debugging.
837 echo >&5 1030 {
838 echo "## ----------------- ##" >&5 1031 echo
839 echo "## Cache variables. ##" >&5 1032 cat <<\_ASBOX
840 echo "## ----------------- ##" >&5 1033## ---------------- ##
841 echo >&5 1034## Cache variables. ##
842 # The following way of writing the cache mishandles newlines in values, 1035## ---------------- ##
1036_ASBOX
1037 echo
1038 # The following way of writing the cache mishandles newlines in values,
843{ 1039{
844 (set) 2>&1 | 1040 (set) 2>&1 |
845 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1041 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
@@ -853,21 +1049,24 @@ trap 'exit_status=$?
853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
854 ;; 1050 ;;
855 esac; 1051 esac;
856} >&5 1052}
857 sed "/^$/d" confdefs.h >conftest.log 1053 echo
858 if test -s conftest.log; then 1054 if test -s confdefs.h; then
859 echo >&5 1055 cat <<\_ASBOX
860 echo "## ------------ ##" >&5 1056## ----------- ##
861 echo "## confdefs.h. ##" >&5 1057## confdefs.h. ##
862 echo "## ------------ ##" >&5 1058## ----------- ##
863 echo >&5 1059_ASBOX
864 cat conftest.log >&5 1060 echo
865 fi 1061 sed "/^$/d" confdefs.h
866 (echo; echo) >&5 1062 echo
867 test "$ac_signal" != 0 && 1063 fi
868 echo "$as_me: caught signal $ac_signal" >&5 1064 test "$ac_signal" != 0 &&
869 echo "$as_me: exit $exit_status" >&5 1065 echo "$as_me: caught signal $ac_signal"
870 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1066 echo "$as_me: exit $exit_status"
1067 } >&5
1068 rm -f core core.* *.core &&
1069 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
871 exit $exit_status 1070 exit $exit_status
872 ' 0 1071 ' 0
873for ac_signal in 1 2 13 15; do 1072for ac_signal in 1 2 13 15; do
@@ -880,6 +1079,33 @@ rm -rf conftest* confdefs.h
880# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1079# AIX cpp loses on an empty file, so make sure it contains at least a newline.
881echo >confdefs.h 1080echo >confdefs.h
882 1081
1082# Predefined preprocessor variables.
1083
1084cat >>confdefs.h <<_ACEOF
1085#define PACKAGE_NAME "$PACKAGE_NAME"
1086_ACEOF
1087
1088
1089cat >>confdefs.h <<_ACEOF
1090#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1091_ACEOF
1092
1093
1094cat >>confdefs.h <<_ACEOF
1095#define PACKAGE_VERSION "$PACKAGE_VERSION"
1096_ACEOF
1097
1098
1099cat >>confdefs.h <<_ACEOF
1100#define PACKAGE_STRING "$PACKAGE_STRING"
1101_ACEOF
1102
1103
1104cat >>confdefs.h <<_ACEOF
1105#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1106_ACEOF
1107
1108
883# Let the site file select an alternate cache file if it wants to. 1109# Let the site file select an alternate cache file if it wants to.
884# Prefer explicitly selected file to automatically selected ones. 1110# Prefer explicitly selected file to automatically selected ones.
885if test -z "$CONFIG_SITE"; then 1111if test -z "$CONFIG_SITE"; then
@@ -891,9 +1117,9 @@ if test -z "$CONFIG_SITE"; then
891fi 1117fi
892for ac_site_file in $CONFIG_SITE; do 1118for ac_site_file in $CONFIG_SITE; do
893 if test -r "$ac_site_file"; then 1119 if test -r "$ac_site_file"; then
894 { echo "$as_me:894: loading site script $ac_site_file" >&5 1120 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
895echo "$as_me: loading site script $ac_site_file" >&6;} 1121echo "$as_me: loading site script $ac_site_file" >&6;}
896 cat "$ac_site_file" >&5 1122 sed 's/^/| /' "$ac_site_file" >&5
897 . "$ac_site_file" 1123 . "$ac_site_file"
898 fi 1124 fi
899done 1125done
@@ -902,7 +1128,7 @@ if test -r "$cache_file"; then
902 # Some versions of bash will fail to source /dev/null (special 1128 # Some versions of bash will fail to source /dev/null (special
903 # files actually), so we avoid doing that. 1129 # files actually), so we avoid doing that.
904 if test -f "$cache_file"; then 1130 if test -f "$cache_file"; then
905 { echo "$as_me:905: loading cache $cache_file" >&5 1131 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
906echo "$as_me: loading cache $cache_file" >&6;} 1132echo "$as_me: loading cache $cache_file" >&6;}
907 case $cache_file in 1133 case $cache_file in
908 [\\/]* | ?:[\\/]* ) . $cache_file;; 1134 [\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -910,7 +1136,7 @@ echo "$as_me: loading cache $cache_file" >&6;}
910 esac 1136 esac
911 fi 1137 fi
912else 1138else
913 { echo "$as_me:913: creating cache $cache_file" >&5 1139 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
914echo "$as_me: creating cache $cache_file" >&6;} 1140echo "$as_me: creating cache $cache_file" >&6;}
915 >$cache_file 1141 >$cache_file
916fi 1142fi
@@ -926,42 +1152,42 @@ for ac_var in `(set) 2>&1 |
926 eval ac_new_val="\$ac_env_${ac_var}_value" 1152 eval ac_new_val="\$ac_env_${ac_var}_value"
927 case $ac_old_set,$ac_new_set in 1153 case $ac_old_set,$ac_new_set in
928 set,) 1154 set,)
929 { echo "$as_me:929: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1155 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
930echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1156echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
931 ac_cache_corrupted=: ;; 1157 ac_cache_corrupted=: ;;
932 ,set) 1158 ,set)
933 { echo "$as_me:933: error: \`$ac_var' was not set in the previous run" >&5 1159 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
934echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1160echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
935 ac_cache_corrupted=: ;; 1161 ac_cache_corrupted=: ;;
936 ,);; 1162 ,);;
937 *) 1163 *)
938 if test "x$ac_old_val" != "x$ac_new_val"; then 1164 if test "x$ac_old_val" != "x$ac_new_val"; then
939 { echo "$as_me:939: error: \`$ac_var' has changed since the previous run:" >&5 1165 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
940echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1166echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
941 { echo "$as_me:941: former value: $ac_old_val" >&5 1167 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
942echo "$as_me: former value: $ac_old_val" >&2;} 1168echo "$as_me: former value: $ac_old_val" >&2;}
943 { echo "$as_me:943: current value: $ac_new_val" >&5 1169 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
944echo "$as_me: current value: $ac_new_val" >&2;} 1170echo "$as_me: current value: $ac_new_val" >&2;}
945 ac_cache_corrupted=: 1171 ac_cache_corrupted=:
946 fi;; 1172 fi;;
947 esac 1173 esac
948 # Pass precious variables to config.status. It doesn't matter if 1174 # Pass precious variables to config.status.
949 # we pass some twice (in addition to the command line arguments).
950 if test "$ac_new_set" = set; then 1175 if test "$ac_new_set" = set; then
951 case $ac_new_val in 1176 case $ac_new_val in
952 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1177 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
953 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 1178 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
954 ac_configure_args="$ac_configure_args '$ac_arg'" 1179 *) ac_arg=$ac_var=$ac_new_val ;;
955 ;; 1180 esac
956 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 1181 case " $ac_configure_args " in
957 ;; 1182 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1183 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
958 esac 1184 esac
959 fi 1185 fi
960done 1186done
961if $ac_cache_corrupted; then 1187if $ac_cache_corrupted; then
962 { echo "$as_me:962: error: changes in the environment can compromise the build" >&5 1188 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
963echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1189echo "$as_me: error: changes in the environment can compromise the build" >&2;}
964 { { echo "$as_me:964: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1190 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
965echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1191echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
966 { (exit 1); exit 1; }; } 1192 { (exit 1); exit 1; }; }
967fi 1193fi
@@ -972,29 +1198,26 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
973ac_compiler_gnu=$ac_cv_c_compiler_gnu 1199ac_compiler_gnu=$ac_cv_c_compiler_gnu
974 1200
975case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1201
976 *c*,-n*) ECHO_N= ECHO_C=' 1202
977' ECHO_T=' ' ;; 1203
978 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1204
979 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1205
980esac 1206
981echo "#! $SHELL" >conftest.sh 1207
982echo "exit 0" >>conftest.sh 1208
983chmod +x conftest.sh 1209
984if { (echo "$as_me:984: PATH=\".;.\"; conftest.sh") >&5 1210
985 (PATH=".;."; conftest.sh) 2>&5 1211
986 ac_status=$? 1212
987 echo "$as_me:987: \$? = $ac_status" >&5 1213
988 (exit $ac_status); }; then 1214
989 ac_path_separator=';' 1215
990else 1216
991 ac_path_separator=:
992fi
993PATH_SEPARATOR="$ac_path_separator"
994rm -f conftest.sh
995 1217
996ac_config_headers="$ac_config_headers src/config.h:src/config.in" 1218ac_config_headers="$ac_config_headers src/config.h:src/config.in"
997 1219
1220
998test "$program_prefix" != NONE && 1221test "$program_prefix" != NONE &&
999 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1222 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1000# Use a double $ so make ignores it. 1223# Use a double $ so make ignores it.
@@ -1008,6 +1231,7 @@ _ACEOF
1008program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1231program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1009rm conftest.sed 1232rm conftest.sed
1010 1233
1234
1011lispdir='${datadir}/emacs/${version}/lisp' 1235lispdir='${datadir}/emacs/${version}/lisp'
1012locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1236locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1013'${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' 1237'${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
@@ -1019,6 +1243,7 @@ gamedir='${localstatedir}/games/emacs'
1019 1243
1020gameuser=games 1244gameuser=games
1021 1245
1246
1022# Check whether --with-gcc or --without-gcc was given. 1247# Check whether --with-gcc or --without-gcc was given.
1023if test "${with_gcc+set}" = set; then 1248if test "${with_gcc+set}" = set; then
1024 withval="$with_gcc" 1249 withval="$with_gcc"
@@ -1029,44 +1254,46 @@ fi;
1029if test "${with_pop+set}" = set; then 1254if test "${with_pop+set}" = set; then
1030 withval="$with_pop" 1255 withval="$with_pop"
1031 if test "$withval" = yes; then 1256 if test "$withval" = yes; then
1032 cat >>confdefs.h <<\EOF 1257 cat >>confdefs.h <<\_ACEOF
1033#define MAIL_USE_POP 1 1258#define MAIL_USE_POP 1
1034EOF 1259_ACEOF
1035 1260
1036else : 1261else :
1037fi 1262fi
1038else 1263else
1039 cat >>confdefs.h <<\EOF 1264 cat >>confdefs.h <<\_ACEOF
1040#define MAIL_USE_POP 1 1265#define MAIL_USE_POP 1
1041EOF 1266_ACEOF
1042 1267
1043fi; 1268fi;
1044 1269
1270
1045# Check whether --with-kerberos or --without-kerberos was given. 1271# Check whether --with-kerberos or --without-kerberos was given.
1046if test "${with_kerberos+set}" = set; then 1272if test "${with_kerberos+set}" = set; then
1047 withval="$with_kerberos" 1273 withval="$with_kerberos"
1048 cat >>confdefs.h <<\EOF 1274 cat >>confdefs.h <<\_ACEOF
1049#define KERBEROS 1 1275#define KERBEROS 1
1050EOF 1276_ACEOF
1051 1277
1052fi; 1278fi;
1053 1279
1280
1054# Check whether --with-kerberos5 or --without-kerberos5 was given. 1281# Check whether --with-kerberos5 or --without-kerberos5 was given.
1055if test "${with_kerberos5+set}" = set; then 1282if test "${with_kerberos5+set}" = set; then
1056 withval="$with_kerberos5" 1283 withval="$with_kerberos5"
1057 if test "${with_kerberos5+set}" = set; then 1284 if test "${with_kerberos5+set}" = set; then
1058 if test "${with_kerberos+set}" != set; then 1285 if test "${with_kerberos+set}" != set; then
1059 with_kerberos=yes 1286 with_kerberos=yes
1060 cat >>confdefs.h <<\EOF 1287 cat >>confdefs.h <<\_ACEOF
1061#define KERBEROS 1 1288#define KERBEROS 1
1062EOF 1289_ACEOF
1063 1290
1064 fi 1291 fi
1065fi 1292fi
1066 1293
1067cat >>confdefs.h <<\EOF 1294cat >>confdefs.h <<\_ACEOF
1068#define KERBEROS5 1 1295#define KERBEROS5 1
1069EOF 1296_ACEOF
1070 1297
1071fi; 1298fi;
1072 1299
@@ -1074,18 +1301,20 @@ fi;
1074if test "${with_hesiod+set}" = set; then 1301if test "${with_hesiod+set}" = set; then
1075 withval="$with_hesiod" 1302 withval="$with_hesiod"
1076 1303
1077cat >>confdefs.h <<\EOF 1304cat >>confdefs.h <<\_ACEOF
1078#define HESIOD 1 1305#define HESIOD 1
1079EOF 1306_ACEOF
1080 1307
1081fi; 1308fi;
1082 1309
1310
1083# Check whether --with-sound or --without-sound was given. 1311# Check whether --with-sound or --without-sound was given.
1084if test "${with_sound+set}" = set; then 1312if test "${with_sound+set}" = set; then
1085 withval="$with_sound" 1313 withval="$with_sound"
1086 1314
1087fi; 1315fi;
1088 1316
1317
1089# Check whether --with-x-toolkit or --without-x-toolkit was given. 1318# Check whether --with-x-toolkit or --without-x-toolkit was given.
1090if test "${with_x_toolkit+set}" = set; then 1319if test "${with_x_toolkit+set}" = set; then
1091 withval="$with_x_toolkit" 1320 withval="$with_x_toolkit"
@@ -1096,7 +1325,7 @@ if test "${with_x_toolkit+set}" = set; then
1096 a | at | ath | athe | athen | athena ) val=athena ;; 1325 a | at | ath | athe | athen | athena ) val=athena ;;
1097 m | mo | mot | moti | motif ) val=motif ;; 1326 m | mo | mot | moti | motif ) val=motif ;;
1098 * ) 1327 * )
1099{ { echo "$as_me:1099: error: \`--with-x-toolkit=$withval' is invalid\; 1328{ { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
1100this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1329this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1101Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 1330Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1102echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1331echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
@@ -1184,7 +1413,7 @@ esac
1184#### Check if the source directory already has a configured system in it. 1413#### Check if the source directory already has a configured system in it.
1185if test `pwd` != `(cd ${srcdir} && pwd)` \ 1414if test `pwd` != `(cd ${srcdir} && pwd)` \
1186 && test -f "${srcdir}/src/config.h" ; then 1415 && test -f "${srcdir}/src/config.h" ; then
1187 { echo "$as_me:1187: WARNING: The directory tree \`${srcdir}' is being used 1416 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
1188 as a build directory right now; it has been configured in its own 1417 as a build directory right now; it has been configured in its own
1189 right. To configure in another directory as well, you MUST 1418 right. To configure in another directory as well, you MUST
1190 use GNU make. If you do not have GNU make, then you must 1419 use GNU make. If you do not have GNU make, then you must
@@ -1229,7 +1458,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1229 fi 1458 fi
1230done 1459done
1231if test -z "$ac_aux_dir"; then 1460if test -z "$ac_aux_dir"; then
1232 { { echo "$as_me:1232: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1461 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1233echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1462echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1234 { (exit 1); exit 1; }; } 1463 { (exit 1); exit 1; }; }
1235fi 1464fi
@@ -1239,11 +1468,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1239 1468
1240# Make sure we can run config.sub. 1469# Make sure we can run config.sub.
1241$ac_config_sub sun4 >/dev/null 2>&1 || 1470$ac_config_sub sun4 >/dev/null 2>&1 ||
1242 { { echo "$as_me:1242: error: cannot run $ac_config_sub" >&5 1471 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1243echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1472echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1244 { (exit 1); exit 1; }; } 1473 { (exit 1); exit 1; }; }
1245 1474
1246echo "$as_me:1246: checking build system type" >&5 1475echo "$as_me:$LINENO: checking build system type" >&5
1247echo $ECHO_N "checking build system type... $ECHO_C" >&6 1476echo $ECHO_N "checking build system type... $ECHO_C" >&6
1248if test "${ac_cv_build+set}" = set; then 1477if test "${ac_cv_build+set}" = set; then
1249 echo $ECHO_N "(cached) $ECHO_C" >&6 1478 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1252,23 +1481,24 @@ else
1252test -z "$ac_cv_build_alias" && 1481test -z "$ac_cv_build_alias" &&
1253 ac_cv_build_alias=`$ac_config_guess` 1482 ac_cv_build_alias=`$ac_config_guess`
1254test -z "$ac_cv_build_alias" && 1483test -z "$ac_cv_build_alias" &&
1255 { { echo "$as_me:1255: error: cannot guess build type; you must specify one" >&5 1484 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1256echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1485echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1257 { (exit 1); exit 1; }; } 1486 { (exit 1); exit 1; }; }
1258ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1487ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1259 { { echo "$as_me:1259: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1488 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1260echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1489echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1261 { (exit 1); exit 1; }; } 1490 { (exit 1); exit 1; }; }
1262 1491
1263fi 1492fi
1264echo "$as_me:1264: result: $ac_cv_build" >&5 1493echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1265echo "${ECHO_T}$ac_cv_build" >&6 1494echo "${ECHO_T}$ac_cv_build" >&6
1266build=$ac_cv_build 1495build=$ac_cv_build
1267build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1496build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1268build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1497build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1269build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1498build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1270 1499
1271echo "$as_me:1271: checking host system type" >&5 1500
1501echo "$as_me:$LINENO: checking host system type" >&5
1272echo $ECHO_N "checking host system type... $ECHO_C" >&6 1502echo $ECHO_N "checking host system type... $ECHO_C" >&6
1273if test "${ac_cv_host+set}" = set; then 1503if test "${ac_cv_host+set}" = set; then
1274 echo $ECHO_N "(cached) $ECHO_C" >&6 1504 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1277,21 +1507,23 @@ else
1277test -z "$ac_cv_host_alias" && 1507test -z "$ac_cv_host_alias" &&
1278 ac_cv_host_alias=$ac_cv_build_alias 1508 ac_cv_host_alias=$ac_cv_build_alias
1279ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1509ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1280 { { echo "$as_me:1280: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1510 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1281echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1511echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1282 { (exit 1); exit 1; }; } 1512 { (exit 1); exit 1; }; }
1283 1513
1284fi 1514fi
1285echo "$as_me:1285: result: $ac_cv_host" >&5 1515echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1286echo "${ECHO_T}$ac_cv_host" >&6 1516echo "${ECHO_T}$ac_cv_host" >&6
1287host=$ac_cv_host 1517host=$ac_cv_host
1288host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1518host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1289host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1519host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1290host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1520host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1291 1521
1522
1292canonical=$host 1523canonical=$host
1293configuration=${host_alias-$host} 1524configuration=${host_alias-$host}
1294 1525
1526
1295### If you add support for a new configuration, add code to this 1527### If you add support for a new configuration, add code to this
1296### switch statement to recognize your configuration name and select 1528### switch statement to recognize your configuration name and select
1297### the appropriate operating system and machine description files. 1529### the appropriate operating system and machine description files.
@@ -2275,8 +2507,9 @@ if test x"${opsys}" = x; then
2275 esac 2507 esac
2276fi 2508fi
2277 2509
2510
2278if test $unported = yes; then 2511if test $unported = yes; then
2279 { { echo "$as_me:2279: error: Emacs hasn't been ported to \`${canonical}' systems. 2512 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2280Check \`etc/MACHINES' for recognized configuration names." >&5 2513Check \`etc/MACHINES' for recognized configuration names." >&5
2281echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2514echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2282Check \`etc/MACHINES' for recognized configuration names." >&2;} 2515Check \`etc/MACHINES' for recognized configuration names." >&2;}
@@ -2286,6 +2519,7 @@ fi
2286machfile="m/${machine}.h" 2519machfile="m/${machine}.h"
2287opsysfile="s/${opsys}.h" 2520opsysfile="s/${opsys}.h"
2288 2521
2522
2289#### Choose a compiler. 2523#### Choose a compiler.
2290test -n "$CC" && cc_specified=yes 2524test -n "$CC" && cc_specified=yes
2291 2525
@@ -2305,7 +2539,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305if test -n "$ac_tool_prefix"; then 2539if test -n "$ac_tool_prefix"; then
2306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2307set dummy ${ac_tool_prefix}gcc; ac_word=$2 2541set dummy ${ac_tool_prefix}gcc; ac_word=$2
2308echo "$as_me:2308: checking for $ac_word" >&5 2542echo "$as_me:$LINENO: checking for $ac_word" >&5
2309echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2310if test "${ac_cv_prog_CC+set}" = set; then 2544if test "${ac_cv_prog_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6 2545 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2313,25 +2547,28 @@ else
2313 if test -n "$CC"; then 2547 if test -n "$CC"; then
2314 ac_cv_prog_CC="$CC" # Let the user override the test. 2548 ac_cv_prog_CC="$CC" # Let the user override the test.
2315else 2549else
2316 ac_save_IFS=$IFS; IFS=$ac_path_separator 2550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317ac_dummy="$PATH" 2551for as_dir in $PATH
2318for ac_dir in $ac_dummy; do 2552do
2319 IFS=$ac_save_IFS 2553 IFS=$as_save_IFS
2320 test -z "$ac_dir" && ac_dir=. 2554 test -z "$as_dir" && as_dir=.
2321 $as_executable_p "$ac_dir/$ac_word" || continue 2555 for ac_exec_ext in '' $ac_executable_extensions; do
2322ac_cv_prog_CC="${ac_tool_prefix}gcc" 2556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323echo "$as_me:2323: found $ac_dir/$ac_word" >&5 2557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2324break 2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2560 fi
2561done
2325done 2562done
2326 2563
2327fi 2564fi
2328fi 2565fi
2329CC=$ac_cv_prog_CC 2566CC=$ac_cv_prog_CC
2330if test -n "$CC"; then 2567if test -n "$CC"; then
2331 echo "$as_me:2331: result: $CC" >&5 2568 echo "$as_me:$LINENO: result: $CC" >&5
2332echo "${ECHO_T}$CC" >&6 2569echo "${ECHO_T}$CC" >&6
2333else 2570else
2334 echo "$as_me:2334: result: no" >&5 2571 echo "$as_me:$LINENO: result: no" >&5
2335echo "${ECHO_T}no" >&6 2572echo "${ECHO_T}no" >&6
2336fi 2573fi
2337 2574
@@ -2340,7 +2577,7 @@ if test -z "$ac_cv_prog_CC"; then
2340 ac_ct_CC=$CC 2577 ac_ct_CC=$CC
2341 # Extract the first word of "gcc", so it can be a program name with args. 2578 # Extract the first word of "gcc", so it can be a program name with args.
2342set dummy gcc; ac_word=$2 2579set dummy gcc; ac_word=$2
2343echo "$as_me:2343: checking for $ac_word" >&5 2580echo "$as_me:$LINENO: checking for $ac_word" >&5
2344echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2345if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2582if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6 2583 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2348,25 +2585,28 @@ else
2348 if test -n "$ac_ct_CC"; then 2585 if test -n "$ac_ct_CC"; then
2349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2350else 2587else
2351 ac_save_IFS=$IFS; IFS=$ac_path_separator 2588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352ac_dummy="$PATH" 2589for as_dir in $PATH
2353for ac_dir in $ac_dummy; do 2590do
2354 IFS=$ac_save_IFS 2591 IFS=$as_save_IFS
2355 test -z "$ac_dir" && ac_dir=. 2592 test -z "$as_dir" && as_dir=.
2356 $as_executable_p "$ac_dir/$ac_word" || continue 2593 for ac_exec_ext in '' $ac_executable_extensions; do
2357ac_cv_prog_ac_ct_CC="gcc" 2594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358echo "$as_me:2358: found $ac_dir/$ac_word" >&5 2595 ac_cv_prog_ac_ct_CC="gcc"
2359break 2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 break 2
2598 fi
2599done
2360done 2600done
2361 2601
2362fi 2602fi
2363fi 2603fi
2364ac_ct_CC=$ac_cv_prog_ac_ct_CC 2604ac_ct_CC=$ac_cv_prog_ac_ct_CC
2365if test -n "$ac_ct_CC"; then 2605if test -n "$ac_ct_CC"; then
2366 echo "$as_me:2366: result: $ac_ct_CC" >&5 2606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2367echo "${ECHO_T}$ac_ct_CC" >&6 2607echo "${ECHO_T}$ac_ct_CC" >&6
2368else 2608else
2369 echo "$as_me:2369: result: no" >&5 2609 echo "$as_me:$LINENO: result: no" >&5
2370echo "${ECHO_T}no" >&6 2610echo "${ECHO_T}no" >&6
2371fi 2611fi
2372 2612
@@ -2379,7 +2619,7 @@ if test -z "$CC"; then
2379 if test -n "$ac_tool_prefix"; then 2619 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2381set dummy ${ac_tool_prefix}cc; ac_word=$2 2621set dummy ${ac_tool_prefix}cc; ac_word=$2
2382echo "$as_me:2382: checking for $ac_word" >&5 2622echo "$as_me:$LINENO: checking for $ac_word" >&5
2383echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2623echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2384if test "${ac_cv_prog_CC+set}" = set; then 2624if test "${ac_cv_prog_CC+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6 2625 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2387,25 +2627,28 @@ else
2387 if test -n "$CC"; then 2627 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test. 2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2389else 2629else
2390 ac_save_IFS=$IFS; IFS=$ac_path_separator 2630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391ac_dummy="$PATH" 2631for as_dir in $PATH
2392for ac_dir in $ac_dummy; do 2632do
2393 IFS=$ac_save_IFS 2633 IFS=$as_save_IFS
2394 test -z "$ac_dir" && ac_dir=. 2634 test -z "$as_dir" && as_dir=.
2395 $as_executable_p "$ac_dir/$ac_word" || continue 2635 for ac_exec_ext in '' $ac_executable_extensions; do
2396ac_cv_prog_CC="${ac_tool_prefix}cc" 2636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397echo "$as_me:2397: found $ac_dir/$ac_word" >&5 2637 ac_cv_prog_CC="${ac_tool_prefix}cc"
2398break 2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 break 2
2640 fi
2641done
2399done 2642done
2400 2643
2401fi 2644fi
2402fi 2645fi
2403CC=$ac_cv_prog_CC 2646CC=$ac_cv_prog_CC
2404if test -n "$CC"; then 2647if test -n "$CC"; then
2405 echo "$as_me:2405: result: $CC" >&5 2648 echo "$as_me:$LINENO: result: $CC" >&5
2406echo "${ECHO_T}$CC" >&6 2649echo "${ECHO_T}$CC" >&6
2407else 2650else
2408 echo "$as_me:2408: result: no" >&5 2651 echo "$as_me:$LINENO: result: no" >&5
2409echo "${ECHO_T}no" >&6 2652echo "${ECHO_T}no" >&6
2410fi 2653fi
2411 2654
@@ -2414,7 +2657,7 @@ if test -z "$ac_cv_prog_CC"; then
2414 ac_ct_CC=$CC 2657 ac_ct_CC=$CC
2415 # Extract the first word of "cc", so it can be a program name with args. 2658 # Extract the first word of "cc", so it can be a program name with args.
2416set dummy cc; ac_word=$2 2659set dummy cc; ac_word=$2
2417echo "$as_me:2417: checking for $ac_word" >&5 2660echo "$as_me:$LINENO: checking for $ac_word" >&5
2418echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2661echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2419if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2662if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6 2663 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2422,25 +2665,28 @@ else
2422 if test -n "$ac_ct_CC"; then 2665 if test -n "$ac_ct_CC"; then
2423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2424else 2667else
2425 ac_save_IFS=$IFS; IFS=$ac_path_separator 2668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426ac_dummy="$PATH" 2669for as_dir in $PATH
2427for ac_dir in $ac_dummy; do 2670do
2428 IFS=$ac_save_IFS 2671 IFS=$as_save_IFS
2429 test -z "$ac_dir" && ac_dir=. 2672 test -z "$as_dir" && as_dir=.
2430 $as_executable_p "$ac_dir/$ac_word" || continue 2673 for ac_exec_ext in '' $ac_executable_extensions; do
2431ac_cv_prog_ac_ct_CC="cc" 2674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432echo "$as_me:2432: found $ac_dir/$ac_word" >&5 2675 ac_cv_prog_ac_ct_CC="cc"
2433break 2676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 break 2
2678 fi
2679done
2434done 2680done
2435 2681
2436fi 2682fi
2437fi 2683fi
2438ac_ct_CC=$ac_cv_prog_ac_ct_CC 2684ac_ct_CC=$ac_cv_prog_ac_ct_CC
2439if test -n "$ac_ct_CC"; then 2685if test -n "$ac_ct_CC"; then
2440 echo "$as_me:2440: result: $ac_ct_CC" >&5 2686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2441echo "${ECHO_T}$ac_ct_CC" >&6 2687echo "${ECHO_T}$ac_ct_CC" >&6
2442else 2688else
2443 echo "$as_me:2443: result: no" >&5 2689 echo "$as_me:$LINENO: result: no" >&5
2444echo "${ECHO_T}no" >&6 2690echo "${ECHO_T}no" >&6
2445fi 2691fi
2446 2692
@@ -2453,7 +2699,7 @@ fi
2453if test -z "$CC"; then 2699if test -z "$CC"; then
2454 # Extract the first word of "cc", so it can be a program name with args. 2700 # Extract the first word of "cc", so it can be a program name with args.
2455set dummy cc; ac_word=$2 2701set dummy cc; ac_word=$2
2456echo "$as_me:2456: checking for $ac_word" >&5 2702echo "$as_me:$LINENO: checking for $ac_word" >&5
2457echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2703echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2458if test "${ac_cv_prog_CC+set}" = set; then 2704if test "${ac_cv_prog_CC+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6 2705 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2462,19 +2708,22 @@ else
2462 ac_cv_prog_CC="$CC" # Let the user override the test. 2708 ac_cv_prog_CC="$CC" # Let the user override the test.
2463else 2709else
2464 ac_prog_rejected=no 2710 ac_prog_rejected=no
2465 ac_save_IFS=$IFS; IFS=$ac_path_separator 2711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466ac_dummy="$PATH" 2712for as_dir in $PATH
2467for ac_dir in $ac_dummy; do 2713do
2468 IFS=$ac_save_IFS 2714 IFS=$as_save_IFS
2469 test -z "$ac_dir" && ac_dir=. 2715 test -z "$as_dir" && as_dir=.
2470 $as_executable_p "$ac_dir/$ac_word" || continue 2716 for ac_exec_ext in '' $ac_executable_extensions; do
2471if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_prog_rejected=yes 2718 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2473 continue 2719 ac_prog_rejected=yes
2474fi 2720 continue
2475ac_cv_prog_CC="cc" 2721 fi
2476echo "$as_me:2476: found $ac_dir/$ac_word" >&5 2722 ac_cv_prog_CC="cc"
2477break 2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726done
2478done 2727done
2479 2728
2480if test $ac_prog_rejected = yes; then 2729if test $ac_prog_rejected = yes; then
@@ -2486,7 +2735,7 @@ if test $ac_prog_rejected = yes; then
2486 # However, it has the same basename, so the bogon will be chosen 2735 # However, it has the same basename, so the bogon will be chosen
2487 # first if we set CC to just the basename; use the full file name. 2736 # first if we set CC to just the basename; use the full file name.
2488 shift 2737 shift
2489 set dummy "$ac_dir/$ac_word" ${1+"$@"} 2738 set dummy "$as_dir/$ac_word" ${1+"$@"}
2490 shift 2739 shift
2491 ac_cv_prog_CC="$@" 2740 ac_cv_prog_CC="$@"
2492 fi 2741 fi
@@ -2495,10 +2744,10 @@ fi
2495fi 2744fi
2496CC=$ac_cv_prog_CC 2745CC=$ac_cv_prog_CC
2497if test -n "$CC"; then 2746if test -n "$CC"; then
2498 echo "$as_me:2498: result: $CC" >&5 2747 echo "$as_me:$LINENO: result: $CC" >&5
2499echo "${ECHO_T}$CC" >&6 2748echo "${ECHO_T}$CC" >&6
2500else 2749else
2501 echo "$as_me:2501: result: no" >&5 2750 echo "$as_me:$LINENO: result: no" >&5
2502echo "${ECHO_T}no" >&6 2751echo "${ECHO_T}no" >&6
2503fi 2752fi
2504 2753
@@ -2509,7 +2758,7 @@ if test -z "$CC"; then
2509 do 2758 do
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2759 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2511set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2760set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2512echo "$as_me:2512: checking for $ac_word" >&5 2761echo "$as_me:$LINENO: checking for $ac_word" >&5
2513echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2762echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2514if test "${ac_cv_prog_CC+set}" = set; then 2763if test "${ac_cv_prog_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6 2764 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2517,25 +2766,28 @@ else
2517 if test -n "$CC"; then 2766 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test. 2767 ac_cv_prog_CC="$CC" # Let the user override the test.
2519else 2768else
2520 ac_save_IFS=$IFS; IFS=$ac_path_separator 2769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521ac_dummy="$PATH" 2770for as_dir in $PATH
2522for ac_dir in $ac_dummy; do 2771do
2523 IFS=$ac_save_IFS 2772 IFS=$as_save_IFS
2524 test -z "$ac_dir" && ac_dir=. 2773 test -z "$as_dir" && as_dir=.
2525 $as_executable_p "$ac_dir/$ac_word" || continue 2774 for ac_exec_ext in '' $ac_executable_extensions; do
2526ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527echo "$as_me:2527: found $ac_dir/$ac_word" >&5 2776 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2528break 2777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 break 2
2779 fi
2780done
2529done 2781done
2530 2782
2531fi 2783fi
2532fi 2784fi
2533CC=$ac_cv_prog_CC 2785CC=$ac_cv_prog_CC
2534if test -n "$CC"; then 2786if test -n "$CC"; then
2535 echo "$as_me:2535: result: $CC" >&5 2787 echo "$as_me:$LINENO: result: $CC" >&5
2536echo "${ECHO_T}$CC" >&6 2788echo "${ECHO_T}$CC" >&6
2537else 2789else
2538 echo "$as_me:2538: result: no" >&5 2790 echo "$as_me:$LINENO: result: no" >&5
2539echo "${ECHO_T}no" >&6 2791echo "${ECHO_T}no" >&6
2540fi 2792fi
2541 2793
@@ -2548,7 +2800,7 @@ if test -z "$CC"; then
2548do 2800do
2549 # Extract the first word of "$ac_prog", so it can be a program name with args. 2801 # Extract the first word of "$ac_prog", so it can be a program name with args.
2550set dummy $ac_prog; ac_word=$2 2802set dummy $ac_prog; ac_word=$2
2551echo "$as_me:2551: checking for $ac_word" >&5 2803echo "$as_me:$LINENO: checking for $ac_word" >&5
2552echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2804echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2553if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2805if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6 2806 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2556,25 +2808,28 @@ else
2556 if test -n "$ac_ct_CC"; then 2808 if test -n "$ac_ct_CC"; then
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2558else 2810else
2559 ac_save_IFS=$IFS; IFS=$ac_path_separator 2811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560ac_dummy="$PATH" 2812for as_dir in $PATH
2561for ac_dir in $ac_dummy; do 2813do
2562 IFS=$ac_save_IFS 2814 IFS=$as_save_IFS
2563 test -z "$ac_dir" && ac_dir=. 2815 test -z "$as_dir" && as_dir=.
2564 $as_executable_p "$ac_dir/$ac_word" || continue 2816 for ac_exec_ext in '' $ac_executable_extensions; do
2565ac_cv_prog_ac_ct_CC="$ac_prog" 2817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566echo "$as_me:2566: found $ac_dir/$ac_word" >&5 2818 ac_cv_prog_ac_ct_CC="$ac_prog"
2567break 2819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 break 2
2821 fi
2822done
2568done 2823done
2569 2824
2570fi 2825fi
2571fi 2826fi
2572ac_ct_CC=$ac_cv_prog_ac_ct_CC 2827ac_ct_CC=$ac_cv_prog_ac_ct_CC
2573if test -n "$ac_ct_CC"; then 2828if test -n "$ac_ct_CC"; then
2574 echo "$as_me:2574: result: $ac_ct_CC" >&5 2829 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2575echo "${ECHO_T}$ac_ct_CC" >&6 2830echo "${ECHO_T}$ac_ct_CC" >&6
2576else 2831else
2577 echo "$as_me:2577: result: no" >&5 2832 echo "$as_me:$LINENO: result: no" >&5
2578echo "${ECHO_T}no" >&6 2833echo "${ECHO_T}no" >&6
2579fi 2834fi
2580 2835
@@ -2586,34 +2841,41 @@ fi
2586 2841
2587fi 2842fi
2588 2843
2589test -z "$CC" && { { echo "$as_me:2589: error: no acceptable cc found in \$PATH" >&5 2844
2590echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2845test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2846echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2591 { (exit 1); exit 1; }; } 2847 { (exit 1); exit 1; }; }
2592 2848
2593# Provide some information about the compiler. 2849# Provide some information about the compiler.
2594echo "$as_me:2594:" \ 2850echo "$as_me:$LINENO:" \
2595 "checking for C compiler version" >&5 2851 "checking for C compiler version" >&5
2596ac_compiler=`set X $ac_compile; echo $2` 2852ac_compiler=`set X $ac_compile; echo $2`
2597{ (eval echo "$as_me:2597: \"$ac_compiler --version </dev/null >&5\"") >&5 2853{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2598 (eval $ac_compiler --version </dev/null >&5) 2>&5 2854 (eval $ac_compiler --version </dev/null >&5) 2>&5
2599 ac_status=$? 2855 ac_status=$?
2600 echo "$as_me:2600: \$? = $ac_status" >&5 2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } 2857 (exit $ac_status); }
2602{ (eval echo "$as_me:2602: \"$ac_compiler -v </dev/null >&5\"") >&5 2858{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2603 (eval $ac_compiler -v </dev/null >&5) 2>&5 2859 (eval $ac_compiler -v </dev/null >&5) 2>&5
2604 ac_status=$? 2860 ac_status=$?
2605 echo "$as_me:2605: \$? = $ac_status" >&5 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); } 2862 (exit $ac_status); }
2607{ (eval echo "$as_me:2607: \"$ac_compiler -V </dev/null >&5\"") >&5 2863{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2608 (eval $ac_compiler -V </dev/null >&5) 2>&5 2864 (eval $ac_compiler -V </dev/null >&5) 2>&5
2609 ac_status=$? 2865 ac_status=$?
2610 echo "$as_me:2610: \$? = $ac_status" >&5 2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); } 2867 (exit $ac_status); }
2612 2868
2613cat >conftest.$ac_ext <<_ACEOF 2869cat >conftest.$ac_ext <<_ACEOF
2614#line 2614 "configure" 2870#line $LINENO "configure"
2615#include "confdefs.h" 2871#include "confdefs.h"
2616 2872
2873#ifdef F77_DUMMY_MAIN
2874# ifdef __cplusplus
2875 extern "C"
2876# endif
2877 int F77_DUMMY_MAIN() { return 1; }
2878#endif
2617int 2879int
2618main () 2880main ()
2619{ 2881{
@@ -2627,22 +2889,26 @@ ac_clean_files="$ac_clean_files a.out a.exe"
2627# Try to create an executable without -o first, disregard a.out. 2889# Try to create an executable without -o first, disregard a.out.
2628# It will help us diagnose broken compilers, and finding out an intuition 2890# It will help us diagnose broken compilers, and finding out an intuition
2629# of exeext. 2891# of exeext.
2630echo "$as_me:2630: checking for C compiler default output" >&5 2892echo "$as_me:$LINENO: checking for C compiler default output" >&5
2631echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2893echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2632ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2894ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2633if { (eval echo "$as_me:2633: \"$ac_link_default\"") >&5 2895if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2634 (eval $ac_link_default) 2>&5 2896 (eval $ac_link_default) 2>&5
2635 ac_status=$? 2897 ac_status=$?
2636 echo "$as_me:2636: \$? = $ac_status" >&5 2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; then 2899 (exit $ac_status); }; then
2638 # Find the output, starting from the most likely. This scheme is 2900 # Find the output, starting from the most likely. This scheme is
2639# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2901# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2640# resort. 2902# resort.
2641for ac_file in `ls a.exe conftest.exe 2>/dev/null; 2903
2904# Be careful to initialize this variable, since it used to be cached.
2905# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2906ac_cv_exeext=
2907for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2642 ls a.out conftest 2>/dev/null; 2908 ls a.out conftest 2>/dev/null;
2643 ls a.* conftest.* 2>/dev/null`; do 2909 ls a.* conftest.* 2>/dev/null`; do
2644 case $ac_file in 2910 case $ac_file in
2645 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 2911 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2646 a.out ) # We found the default executable, but exeext='' is most 2912 a.out ) # We found the default executable, but exeext='' is most
2647 # certainly right. 2913 # certainly right.
2648 break;; 2914 break;;
@@ -2656,34 +2922,34 @@ done
2656else 2922else
2657 echo "$as_me: failed program was:" >&5 2923 echo "$as_me: failed program was:" >&5
2658cat conftest.$ac_ext >&5 2924cat conftest.$ac_ext >&5
2659{ { echo "$as_me:2659: error: C compiler cannot create executables" >&5 2925{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2660echo "$as_me: error: C compiler cannot create executables" >&2;} 2926echo "$as_me: error: C compiler cannot create executables" >&2;}
2661 { (exit 77); exit 77; }; } 2927 { (exit 77); exit 77; }; }
2662fi 2928fi
2663 2929
2664ac_exeext=$ac_cv_exeext 2930ac_exeext=$ac_cv_exeext
2665echo "$as_me:2665: result: $ac_file" >&5 2931echo "$as_me:$LINENO: result: $ac_file" >&5
2666echo "${ECHO_T}$ac_file" >&6 2932echo "${ECHO_T}$ac_file" >&6
2667 2933
2668# Check the compiler produces executables we can run. If not, either 2934# Check the compiler produces executables we can run. If not, either
2669# the compiler is broken, or we cross compile. 2935# the compiler is broken, or we cross compile.
2670echo "$as_me:2670: checking whether the C compiler works" >&5 2936echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2671echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2937echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2672# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2938# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2673# If not cross compiling, check that we can run a simple program. 2939# If not cross compiling, check that we can run a simple program.
2674if test "$cross_compiling" != yes; then 2940if test "$cross_compiling" != yes; then
2675 if { ac_try='./$ac_file' 2941 if { ac_try='./$ac_file'
2676 { (eval echo "$as_me:2676: \"$ac_try\"") >&5 2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677 (eval $ac_try) 2>&5 2943 (eval $ac_try) 2>&5
2678 ac_status=$? 2944 ac_status=$?
2679 echo "$as_me:2679: \$? = $ac_status" >&5 2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then 2946 (exit $ac_status); }; }; then
2681 cross_compiling=no 2947 cross_compiling=no
2682 else 2948 else
2683 if test "$cross_compiling" = maybe; then 2949 if test "$cross_compiling" = maybe; then
2684 cross_compiling=yes 2950 cross_compiling=yes
2685 else 2951 else
2686 { { echo "$as_me:2686: error: cannot run C compiled programs. 2952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2687If you meant to cross compile, use \`--host'." >&5 2953If you meant to cross compile, use \`--host'." >&5
2688echo "$as_me: error: cannot run C compiled programs. 2954echo "$as_me: error: cannot run C compiled programs.
2689If you meant to cross compile, use \`--host'." >&2;} 2955If you meant to cross compile, use \`--host'." >&2;}
@@ -2691,24 +2957,24 @@ If you meant to cross compile, use \`--host'." >&2;}
2691 fi 2957 fi
2692 fi 2958 fi
2693fi 2959fi
2694echo "$as_me:2694: result: yes" >&5 2960echo "$as_me:$LINENO: result: yes" >&5
2695echo "${ECHO_T}yes" >&6 2961echo "${ECHO_T}yes" >&6
2696 2962
2697rm -f a.out a.exe conftest$ac_cv_exeext 2963rm -f a.out a.exe conftest$ac_cv_exeext
2698ac_clean_files=$ac_clean_files_save 2964ac_clean_files=$ac_clean_files_save
2699# Check the compiler produces executables we can run. If not, either 2965# Check the compiler produces executables we can run. If not, either
2700# the compiler is broken, or we cross compile. 2966# the compiler is broken, or we cross compile.
2701echo "$as_me:2701: checking whether we are cross compiling" >&5 2967echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2702echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2968echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2703echo "$as_me:2703: result: $cross_compiling" >&5 2969echo "$as_me:$LINENO: result: $cross_compiling" >&5
2704echo "${ECHO_T}$cross_compiling" >&6 2970echo "${ECHO_T}$cross_compiling" >&6
2705 2971
2706echo "$as_me:2706: checking for executable suffix" >&5 2972echo "$as_me:$LINENO: checking for suffix of executables" >&5
2707echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 2973echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2708if { (eval echo "$as_me:2708: \"$ac_link\"") >&5 2974if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2709 (eval $ac_link) 2>&5 2975 (eval $ac_link) 2>&5
2710 ac_status=$? 2976 ac_status=$?
2711 echo "$as_me:2711: \$? = $ac_status" >&5 2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; then 2978 (exit $ac_status); }; then
2713 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2979 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2714# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2980# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
@@ -2724,27 +2990,33 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2724 esac 2990 esac
2725done 2991done
2726else 2992else
2727 { { echo "$as_me:2727: error: cannot compute EXEEXT: cannot compile and link" >&5 2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2728echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 2994echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2729 { (exit 1); exit 1; }; } 2995 { (exit 1); exit 1; }; }
2730fi 2996fi
2731 2997
2732rm -f conftest$ac_cv_exeext 2998rm -f conftest$ac_cv_exeext
2733echo "$as_me:2733: result: $ac_cv_exeext" >&5 2999echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2734echo "${ECHO_T}$ac_cv_exeext" >&6 3000echo "${ECHO_T}$ac_cv_exeext" >&6
2735 3001
2736rm -f conftest.$ac_ext 3002rm -f conftest.$ac_ext
2737EXEEXT=$ac_cv_exeext 3003EXEEXT=$ac_cv_exeext
2738ac_exeext=$EXEEXT 3004ac_exeext=$EXEEXT
2739echo "$as_me:2739: checking for object suffix" >&5 3005echo "$as_me:$LINENO: checking for suffix of object files" >&5
2740echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 3006echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2741if test "${ac_cv_objext+set}" = set; then 3007if test "${ac_cv_objext+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6 3008 echo $ECHO_N "(cached) $ECHO_C" >&6
2743else 3009else
2744 cat >conftest.$ac_ext <<_ACEOF 3010 cat >conftest.$ac_ext <<_ACEOF
2745#line 2745 "configure" 3011#line $LINENO "configure"
2746#include "confdefs.h" 3012#include "confdefs.h"
2747 3013
3014#ifdef F77_DUMMY_MAIN
3015# ifdef __cplusplus
3016 extern "C"
3017# endif
3018 int F77_DUMMY_MAIN() { return 1; }
3019#endif
2748int 3020int
2749main () 3021main ()
2750{ 3022{
@@ -2754,10 +3026,10 @@ main ()
2754} 3026}
2755_ACEOF 3027_ACEOF
2756rm -f conftest.o conftest.obj 3028rm -f conftest.o conftest.obj
2757if { (eval echo "$as_me:2757: \"$ac_compile\"") >&5 3029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>&5 3030 (eval $ac_compile) 2>&5
2759 ac_status=$? 3031 ac_status=$?
2760 echo "$as_me:2760: \$? = $ac_status" >&5 3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; then 3033 (exit $ac_status); }; then
2762 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3034 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2763 case $ac_file in 3035 case $ac_file in
@@ -2769,26 +3041,32 @@ done
2769else 3041else
2770 echo "$as_me: failed program was:" >&5 3042 echo "$as_me: failed program was:" >&5
2771cat conftest.$ac_ext >&5 3043cat conftest.$ac_ext >&5
2772{ { echo "$as_me:2772: error: cannot compute OBJEXT: cannot compile" >&5 3044{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2773echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 3045echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2774 { (exit 1); exit 1; }; } 3046 { (exit 1); exit 1; }; }
2775fi 3047fi
2776 3048
2777rm -f conftest.$ac_cv_objext conftest.$ac_ext 3049rm -f conftest.$ac_cv_objext conftest.$ac_ext
2778fi 3050fi
2779echo "$as_me:2779: result: $ac_cv_objext" >&5 3051echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2780echo "${ECHO_T}$ac_cv_objext" >&6 3052echo "${ECHO_T}$ac_cv_objext" >&6
2781OBJEXT=$ac_cv_objext 3053OBJEXT=$ac_cv_objext
2782ac_objext=$OBJEXT 3054ac_objext=$OBJEXT
2783echo "$as_me:2783: checking whether we are using the GNU C compiler" >&5 3055echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2784echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3056echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2785if test "${ac_cv_c_compiler_gnu+set}" = set; then 3057if test "${ac_cv_c_compiler_gnu+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6 3058 echo $ECHO_N "(cached) $ECHO_C" >&6
2787else 3059else
2788 cat >conftest.$ac_ext <<_ACEOF 3060 cat >conftest.$ac_ext <<_ACEOF
2789#line 2789 "configure" 3061#line $LINENO "configure"
2790#include "confdefs.h" 3062#include "confdefs.h"
2791 3063
3064#ifdef F77_DUMMY_MAIN
3065# ifdef __cplusplus
3066 extern "C"
3067# endif
3068 int F77_DUMMY_MAIN() { return 1; }
3069#endif
2792int 3070int
2793main () 3071main ()
2794{ 3072{
@@ -2801,16 +3079,16 @@ main ()
2801} 3079}
2802_ACEOF 3080_ACEOF
2803rm -f conftest.$ac_objext 3081rm -f conftest.$ac_objext
2804if { (eval echo "$as_me:2804: \"$ac_compile\"") >&5 3082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805 (eval $ac_compile) 2>&5 3083 (eval $ac_compile) 2>&5
2806 ac_status=$? 3084 ac_status=$?
2807 echo "$as_me:2807: \$? = $ac_status" >&5 3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } && 3086 (exit $ac_status); } &&
2809 { ac_try='test -s conftest.$ac_objext' 3087 { ac_try='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:2810: \"$ac_try\"") >&5 3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 (eval $ac_try) 2>&5 3089 (eval $ac_try) 2>&5
2812 ac_status=$? 3090 ac_status=$?
2813 echo "$as_me:2813: \$? = $ac_status" >&5 3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then 3092 (exit $ac_status); }; }; then
2815 ac_compiler_gnu=yes 3093 ac_compiler_gnu=yes
2816else 3094else
@@ -2822,21 +3100,27 @@ rm -f conftest.$ac_objext conftest.$ac_ext
2822ac_cv_c_compiler_gnu=$ac_compiler_gnu 3100ac_cv_c_compiler_gnu=$ac_compiler_gnu
2823 3101
2824fi 3102fi
2825echo "$as_me:2825: result: $ac_cv_c_compiler_gnu" >&5 3103echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2826echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3104echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2827GCC=`test $ac_compiler_gnu = yes && echo yes` 3105GCC=`test $ac_compiler_gnu = yes && echo yes`
2828ac_test_CFLAGS=${CFLAGS+set} 3106ac_test_CFLAGS=${CFLAGS+set}
2829ac_save_CFLAGS=$CFLAGS 3107ac_save_CFLAGS=$CFLAGS
2830CFLAGS="-g" 3108CFLAGS="-g"
2831echo "$as_me:2831: checking whether $CC accepts -g" >&5 3109echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2832echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3110echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2833if test "${ac_cv_prog_cc_g+set}" = set; then 3111if test "${ac_cv_prog_cc_g+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6 3112 echo $ECHO_N "(cached) $ECHO_C" >&6
2835else 3113else
2836 cat >conftest.$ac_ext <<_ACEOF 3114 cat >conftest.$ac_ext <<_ACEOF
2837#line 2837 "configure" 3115#line $LINENO "configure"
2838#include "confdefs.h" 3116#include "confdefs.h"
2839 3117
3118#ifdef F77_DUMMY_MAIN
3119# ifdef __cplusplus
3120 extern "C"
3121# endif
3122 int F77_DUMMY_MAIN() { return 1; }
3123#endif
2840int 3124int
2841main () 3125main ()
2842{ 3126{
@@ -2846,16 +3130,16 @@ main ()
2846} 3130}
2847_ACEOF 3131_ACEOF
2848rm -f conftest.$ac_objext 3132rm -f conftest.$ac_objext
2849if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5 3133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850 (eval $ac_compile) 2>&5 3134 (eval $ac_compile) 2>&5
2851 ac_status=$? 3135 ac_status=$?
2852 echo "$as_me:2852: \$? = $ac_status" >&5 3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && 3137 (exit $ac_status); } &&
2854 { ac_try='test -s conftest.$ac_objext' 3138 { ac_try='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:2855: \"$ac_try\"") >&5 3139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 (eval $ac_try) 2>&5 3140 (eval $ac_try) 2>&5
2857 ac_status=$? 3141 ac_status=$?
2858 echo "$as_me:2858: \$? = $ac_status" >&5 3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then 3143 (exit $ac_status); }; }; then
2860 ac_cv_prog_cc_g=yes 3144 ac_cv_prog_cc_g=yes
2861else 3145else
@@ -2865,7 +3149,7 @@ ac_cv_prog_cc_g=no
2865fi 3149fi
2866rm -f conftest.$ac_objext conftest.$ac_ext 3150rm -f conftest.$ac_objext conftest.$ac_ext
2867fi 3151fi
2868echo "$as_me:2868: result: $ac_cv_prog_cc_g" >&5 3152echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2869echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3153echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2870if test "$ac_test_CFLAGS" = set; then 3154if test "$ac_test_CFLAGS" = set; then
2871 CFLAGS=$ac_save_CFLAGS 3155 CFLAGS=$ac_save_CFLAGS
@@ -2892,16 +3176,16 @@ cat >conftest.$ac_ext <<_ACEOF
2892#endif 3176#endif
2893_ACEOF 3177_ACEOF
2894rm -f conftest.$ac_objext 3178rm -f conftest.$ac_objext
2895if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5 3179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2896 (eval $ac_compile) 2>&5 3180 (eval $ac_compile) 2>&5
2897 ac_status=$? 3181 ac_status=$?
2898 echo "$as_me:2898: \$? = $ac_status" >&5 3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && 3183 (exit $ac_status); } &&
2900 { ac_try='test -s conftest.$ac_objext' 3184 { ac_try='test -s conftest.$ac_objext'
2901 { (eval echo "$as_me:2901: \"$ac_try\"") >&5 3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 (eval $ac_try) 2>&5 3186 (eval $ac_try) 2>&5
2903 ac_status=$? 3187 ac_status=$?
2904 echo "$as_me:2904: \$? = $ac_status" >&5 3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then 3189 (exit $ac_status); }; }; then
2906 for ac_declaration in \ 3190 for ac_declaration in \
2907 ''\ 3191 ''\
@@ -2913,10 +3197,16 @@ if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5
2913 'void exit (int);' 3197 'void exit (int);'
2914do 3198do
2915 cat >conftest.$ac_ext <<_ACEOF 3199 cat >conftest.$ac_ext <<_ACEOF
2916#line 2916 "configure" 3200#line $LINENO "configure"
2917#include "confdefs.h" 3201#include "confdefs.h"
2918#include <stdlib.h> 3202#include <stdlib.h>
2919$ac_declaration 3203$ac_declaration
3204#ifdef F77_DUMMY_MAIN
3205# ifdef __cplusplus
3206 extern "C"
3207# endif
3208 int F77_DUMMY_MAIN() { return 1; }
3209#endif
2920int 3210int
2921main () 3211main ()
2922{ 3212{
@@ -2926,16 +3216,16 @@ exit (42);
2926} 3216}
2927_ACEOF 3217_ACEOF
2928rm -f conftest.$ac_objext 3218rm -f conftest.$ac_objext
2929if { (eval echo "$as_me:2929: \"$ac_compile\"") >&5 3219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930 (eval $ac_compile) 2>&5 3220 (eval $ac_compile) 2>&5
2931 ac_status=$? 3221 ac_status=$?
2932 echo "$as_me:2932: \$? = $ac_status" >&5 3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } && 3223 (exit $ac_status); } &&
2934 { ac_try='test -s conftest.$ac_objext' 3224 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:2935: \"$ac_try\"") >&5 3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 (eval $ac_try) 2>&5 3226 (eval $ac_try) 2>&5
2937 ac_status=$? 3227 ac_status=$?
2938 echo "$as_me:2938: \$? = $ac_status" >&5 3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then 3229 (exit $ac_status); }; }; then
2940 : 3230 :
2941else 3231else
@@ -2945,9 +3235,15 @@ continue
2945fi 3235fi
2946rm -f conftest.$ac_objext conftest.$ac_ext 3236rm -f conftest.$ac_objext conftest.$ac_ext
2947 cat >conftest.$ac_ext <<_ACEOF 3237 cat >conftest.$ac_ext <<_ACEOF
2948#line 2948 "configure" 3238#line $LINENO "configure"
2949#include "confdefs.h" 3239#include "confdefs.h"
2950$ac_declaration 3240$ac_declaration
3241#ifdef F77_DUMMY_MAIN
3242# ifdef __cplusplus
3243 extern "C"
3244# endif
3245 int F77_DUMMY_MAIN() { return 1; }
3246#endif
2951int 3247int
2952main () 3248main ()
2953{ 3249{
@@ -2957,16 +3253,16 @@ exit (42);
2957} 3253}
2958_ACEOF 3254_ACEOF
2959rm -f conftest.$ac_objext 3255rm -f conftest.$ac_objext
2960if { (eval echo "$as_me:2960: \"$ac_compile\"") >&5 3256if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2961 (eval $ac_compile) 2>&5 3257 (eval $ac_compile) 2>&5
2962 ac_status=$? 3258 ac_status=$?
2963 echo "$as_me:2963: \$? = $ac_status" >&5 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); } && 3260 (exit $ac_status); } &&
2965 { ac_try='test -s conftest.$ac_objext' 3261 { ac_try='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:2966: \"$ac_try\"") >&5 3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967 (eval $ac_try) 2>&5 3263 (eval $ac_try) 2>&5
2968 ac_status=$? 3264 ac_status=$?
2969 echo "$as_me:2969: \$? = $ac_status" >&5 3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then 3266 (exit $ac_status); }; }; then
2971 break 3267 break
2972else 3268else
@@ -2993,6 +3289,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3289ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994ac_compiler_gnu=$ac_cv_c_compiler_gnu 3290ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 3291
3292
2996# On Suns, sometimes $CPP names a directory. 3293# On Suns, sometimes $CPP names a directory.
2997if test -n "$CPP" && test -d "$CPP"; then 3294if test -n "$CPP" && test -d "$CPP"; then
2998 CPP= 3295 CPP=
@@ -3029,14 +3326,14 @@ fi
3029#### should make an entry in src/config.h, don't forget to add an 3326#### should make an entry in src/config.h, don't forget to add an
3030#### #undef clause to src/config.h.in for autoconf to modify. 3327#### #undef clause to src/config.h.in for autoconf to modify.
3031 3328
3032echo "$as_me:3032: checking whether ln -s works" >&5 3329echo "$as_me:$LINENO: checking whether ln -s works" >&5
3033echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3330echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3034LN_S=$as_ln_s 3331LN_S=$as_ln_s
3035if test "$LN_S" = "ln -s"; then 3332if test "$LN_S" = "ln -s"; then
3036 echo "$as_me:3036: result: yes" >&5 3333 echo "$as_me:$LINENO: result: yes" >&5
3037echo "${ECHO_T}yes" >&6 3334echo "${ECHO_T}yes" >&6
3038else 3335else
3039 echo "$as_me:3039: result: no, using $LN_S" >&5 3336 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3040echo "${ECHO_T}no, using $LN_S" >&6 3337echo "${ECHO_T}no, using $LN_S" >&6
3041fi 3338fi
3042 3339
@@ -3045,7 +3342,7 @@ ac_cpp='$CPP $CPPFLAGS'
3045ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047ac_compiler_gnu=$ac_cv_c_compiler_gnu 3344ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048echo "$as_me:3048: checking how to run the C preprocessor" >&5 3345echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3049echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3346echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3050# On Suns, sometimes $CPP names a directory. 3347# On Suns, sometimes $CPP names a directory.
3051if test -n "$CPP" && test -d "$CPP"; then 3348if test -n "$CPP" && test -d "$CPP"; then
@@ -3066,18 +3363,18 @@ do
3066 # On the NeXT, cc -E runs the code through the compiler's parser, 3363 # On the NeXT, cc -E runs the code through the compiler's parser,
3067 # not just through cpp. "Syntax error" is here to catch this case. 3364 # not just through cpp. "Syntax error" is here to catch this case.
3068 cat >conftest.$ac_ext <<_ACEOF 3365 cat >conftest.$ac_ext <<_ACEOF
3069#line 3069 "configure" 3366#line $LINENO "configure"
3070#include "confdefs.h" 3367#include "confdefs.h"
3071#include <assert.h> 3368#include <assert.h>
3072 Syntax error 3369 Syntax error
3073_ACEOF 3370_ACEOF
3074if { (eval echo "$as_me:3074: \"$ac_cpp conftest.$ac_ext\"") >&5 3371if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3076 ac_status=$? 3373 ac_status=$?
3077 egrep -v '^ *\+' conftest.er1 >conftest.err 3374 egrep -v '^ *\+' conftest.er1 >conftest.err
3078 rm -f conftest.er1 3375 rm -f conftest.er1
3079 cat conftest.err >&5 3376 cat conftest.err >&5
3080 echo "$as_me:3080: \$? = $ac_status" >&5 3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } >/dev/null; then 3378 (exit $ac_status); } >/dev/null; then
3082 if test -s conftest.err; then 3379 if test -s conftest.err; then
3083 ac_cpp_err=$ac_c_preproc_warn_flag 3380 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3100,17 +3397,17 @@ rm -f conftest.err conftest.$ac_ext
3100 # OK, works on sane cases. Now check whether non-existent headers 3397 # OK, works on sane cases. Now check whether non-existent headers
3101 # can be detected and how. 3398 # can be detected and how.
3102 cat >conftest.$ac_ext <<_ACEOF 3399 cat >conftest.$ac_ext <<_ACEOF
3103#line 3103 "configure" 3400#line $LINENO "configure"
3104#include "confdefs.h" 3401#include "confdefs.h"
3105#include <ac_nonexistent.h> 3402#include <ac_nonexistent.h>
3106_ACEOF 3403_ACEOF
3107if { (eval echo "$as_me:3107: \"$ac_cpp conftest.$ac_ext\"") >&5 3404if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3109 ac_status=$? 3406 ac_status=$?
3110 egrep -v '^ *\+' conftest.er1 >conftest.err 3407 egrep -v '^ *\+' conftest.er1 >conftest.err
3111 rm -f conftest.er1 3408 rm -f conftest.er1
3112 cat conftest.err >&5 3409 cat conftest.err >&5
3113 echo "$as_me:3113: \$? = $ac_status" >&5 3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev/null; then 3411 (exit $ac_status); } >/dev/null; then
3115 if test -s conftest.err; then 3412 if test -s conftest.err; then
3116 ac_cpp_err=$ac_c_preproc_warn_flag 3413 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3147,7 +3444,7 @@ fi
3147else 3444else
3148 ac_cv_prog_CPP=$CPP 3445 ac_cv_prog_CPP=$CPP
3149fi 3446fi
3150echo "$as_me:3150: result: $CPP" >&5 3447echo "$as_me:$LINENO: result: $CPP" >&5
3151echo "${ECHO_T}$CPP" >&6 3448echo "${ECHO_T}$CPP" >&6
3152ac_preproc_ok=false 3449ac_preproc_ok=false
3153for ac_c_preproc_warn_flag in '' yes 3450for ac_c_preproc_warn_flag in '' yes
@@ -3157,18 +3454,18 @@ do
3157 # On the NeXT, cc -E runs the code through the compiler's parser, 3454 # On the NeXT, cc -E runs the code through the compiler's parser,
3158 # not just through cpp. "Syntax error" is here to catch this case. 3455 # not just through cpp. "Syntax error" is here to catch this case.
3159 cat >conftest.$ac_ext <<_ACEOF 3456 cat >conftest.$ac_ext <<_ACEOF
3160#line 3160 "configure" 3457#line $LINENO "configure"
3161#include "confdefs.h" 3458#include "confdefs.h"
3162#include <assert.h> 3459#include <assert.h>
3163 Syntax error 3460 Syntax error
3164_ACEOF 3461_ACEOF
3165if { (eval echo "$as_me:3165: \"$ac_cpp conftest.$ac_ext\"") >&5 3462if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3167 ac_status=$? 3464 ac_status=$?
3168 egrep -v '^ *\+' conftest.er1 >conftest.err 3465 egrep -v '^ *\+' conftest.er1 >conftest.err
3169 rm -f conftest.er1 3466 rm -f conftest.er1
3170 cat conftest.err >&5 3467 cat conftest.err >&5
3171 echo "$as_me:3171: \$? = $ac_status" >&5 3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev/null; then 3469 (exit $ac_status); } >/dev/null; then
3173 if test -s conftest.err; then 3470 if test -s conftest.err; then
3174 ac_cpp_err=$ac_c_preproc_warn_flag 3471 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3191,17 +3488,17 @@ rm -f conftest.err conftest.$ac_ext
3191 # OK, works on sane cases. Now check whether non-existent headers 3488 # OK, works on sane cases. Now check whether non-existent headers
3192 # can be detected and how. 3489 # can be detected and how.
3193 cat >conftest.$ac_ext <<_ACEOF 3490 cat >conftest.$ac_ext <<_ACEOF
3194#line 3194 "configure" 3491#line $LINENO "configure"
3195#include "confdefs.h" 3492#include "confdefs.h"
3196#include <ac_nonexistent.h> 3493#include <ac_nonexistent.h>
3197_ACEOF 3494_ACEOF
3198if { (eval echo "$as_me:3198: \"$ac_cpp conftest.$ac_ext\"") >&5 3495if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3200 ac_status=$? 3497 ac_status=$?
3201 egrep -v '^ *\+' conftest.er1 >conftest.err 3498 egrep -v '^ *\+' conftest.er1 >conftest.err
3202 rm -f conftest.er1 3499 rm -f conftest.er1
3203 cat conftest.err >&5 3500 cat conftest.err >&5
3204 echo "$as_me:3204: \$? = $ac_status" >&5 3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } >/dev/null; then 3502 (exit $ac_status); } >/dev/null; then
3206 if test -s conftest.err; then 3503 if test -s conftest.err; then
3207 ac_cpp_err=$ac_c_preproc_warn_flag 3504 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3229,7 +3526,7 @@ rm -f conftest.err conftest.$ac_ext
3229if $ac_preproc_ok; then 3526if $ac_preproc_ok; then
3230 : 3527 :
3231else 3528else
3232 { { echo "$as_me:3232: error: C preprocessor \"$CPP\" fails sanity check" >&5 3529 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3233echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3530echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3234 { (exit 1); exit 1; }; } 3531 { (exit 1); exit 1; }; }
3235fi 3532fi
@@ -3252,43 +3549,48 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3252# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3549# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3253# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3550# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3254# ./install, which can be erroneously created by make from ./install.sh. 3551# ./install, which can be erroneously created by make from ./install.sh.
3255echo "$as_me:3255: checking for a BSD compatible install" >&5 3552echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3256echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 3553echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3257if test -z "$INSTALL"; then 3554if test -z "$INSTALL"; then
3258if test "${ac_cv_path_install+set}" = set; then 3555if test "${ac_cv_path_install+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6 3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3260else 3557else
3261 ac_save_IFS=$IFS; IFS=$ac_path_separator 3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for ac_dir in $PATH; do 3559for as_dir in $PATH
3263 IFS=$ac_save_IFS 3560do
3264 # Account for people who put trailing slashes in PATH elements. 3561 IFS=$as_save_IFS
3265 case $ac_dir/ in 3562 test -z "$as_dir" && as_dir=.
3266 / | ./ | .// | /cC/* \ 3563 # Account for people who put trailing slashes in PATH elements.
3267 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 3564case $as_dir/ in
3268 | /usr/ucb/* ) ;; 3565 ./ | .// | /cC/* | \
3269 *) 3566 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3270 # OSF1 and SCO ODT 3.0 have their own names for install. 3567 /usr/ucb/* ) ;;
3271 # Don't use installbsd from OSF since it installs stuff as root 3568 *)
3272 # by default. 3569 # OSF1 and SCO ODT 3.0 have their own names for install.
3273 for ac_prog in ginstall scoinst install; do 3570 # Don't use installbsd from OSF since it installs stuff as root
3274 if $as_executable_p "$ac_dir/$ac_prog"; then 3571 # by default.
3275 if test $ac_prog = install && 3572 for ac_prog in ginstall scoinst install; do
3276 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 3573 for ac_exec_ext in '' $ac_executable_extensions; do
3277 # AIX install. It has an incompatible calling convention. 3574 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3278 : 3575 if test $ac_prog = install &&
3279 elif test $ac_prog = install && 3576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3280 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 3577 # AIX install. It has an incompatible calling convention.
3281 # program-specific install script used by HP pwplus--don't use. 3578 :
3282 : 3579 elif test $ac_prog = install &&
3283 else 3580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3284 ac_cv_path_install="$ac_dir/$ac_prog -c" 3581 # program-specific install script used by HP pwplus--don't use.
3285 break 2 3582 :
3286 fi 3583 else
3287 fi 3584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3585 break 3
3586 fi
3587 fi
3288 done 3588 done
3289 ;; 3589 done
3290 esac 3590 ;;
3291 done 3591esac
3592done
3593
3292 3594
3293fi 3595fi
3294 if test "${ac_cv_path_install+set}" = set; then 3596 if test "${ac_cv_path_install+set}" = set; then
@@ -3301,7 +3603,7 @@ fi
3301 INSTALL=$ac_install_sh 3603 INSTALL=$ac_install_sh
3302 fi 3604 fi
3303fi 3605fi
3304echo "$as_me:3304: result: $INSTALL" >&5 3606echo "$as_me:$LINENO: result: $INSTALL" >&5
3305echo "${ECHO_T}$INSTALL" >&6 3607echo "${ECHO_T}$INSTALL" >&6
3306 3608
3307# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3609# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -3312,49 +3614,11 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3312 3614
3313test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3615test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3314 3616
3315for ac_prog in 'bison -y' byacc
3316do
3317 # Extract the first word of "$ac_prog", so it can be a program name with args.
3318set dummy $ac_prog; ac_word=$2
3319echo "$as_me:3319: checking for $ac_word" >&5
3320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3321if test "${ac_cv_prog_YACC+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3323else
3324 if test -n "$YACC"; then
3325 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3326else
3327 ac_save_IFS=$IFS; IFS=$ac_path_separator
3328ac_dummy="$PATH"
3329for ac_dir in $ac_dummy; do
3330 IFS=$ac_save_IFS
3331 test -z "$ac_dir" && ac_dir=.
3332 $as_executable_p "$ac_dir/$ac_word" || continue
3333ac_cv_prog_YACC="$ac_prog"
3334echo "$as_me:3334: found $ac_dir/$ac_word" >&5
3335break
3336done
3337
3338fi
3339fi
3340YACC=$ac_cv_prog_YACC
3341if test -n "$YACC"; then
3342 echo "$as_me:3342: result: $YACC" >&5
3343echo "${ECHO_T}$YACC" >&6
3344else
3345 echo "$as_me:3345: result: no" >&5
3346echo "${ECHO_T}no" >&6
3347fi
3348
3349 test -n "$YACC" && break
3350done
3351test -n "$YACC" || YACC="yacc"
3352
3353if test "x$RANLIB" = x; then 3617if test "x$RANLIB" = x; then
3354 if test -n "$ac_tool_prefix"; then 3618 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3619 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3356set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3620set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3357echo "$as_me:3357: checking for $ac_word" >&5 3621echo "$as_me:$LINENO: checking for $ac_word" >&5
3358echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3622echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359if test "${ac_cv_prog_RANLIB+set}" = set; then 3623if test "${ac_cv_prog_RANLIB+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6 3624 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3362,25 +3626,28 @@ else
3362 if test -n "$RANLIB"; then 3626 if test -n "$RANLIB"; then
3363 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3627 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3364else 3628else
3365 ac_save_IFS=$IFS; IFS=$ac_path_separator 3629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366ac_dummy="$PATH" 3630for as_dir in $PATH
3367for ac_dir in $ac_dummy; do 3631do
3368 IFS=$ac_save_IFS 3632 IFS=$as_save_IFS
3369 test -z "$ac_dir" && ac_dir=. 3633 test -z "$as_dir" && as_dir=.
3370 $as_executable_p "$ac_dir/$ac_word" || continue 3634 for ac_exec_ext in '' $ac_executable_extensions; do
3371ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372echo "$as_me:3372: found $ac_dir/$ac_word" >&5 3636 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3373break 3637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 break 2
3639 fi
3640done
3374done 3641done
3375 3642
3376fi 3643fi
3377fi 3644fi
3378RANLIB=$ac_cv_prog_RANLIB 3645RANLIB=$ac_cv_prog_RANLIB
3379if test -n "$RANLIB"; then 3646if test -n "$RANLIB"; then
3380 echo "$as_me:3380: result: $RANLIB" >&5 3647 echo "$as_me:$LINENO: result: $RANLIB" >&5
3381echo "${ECHO_T}$RANLIB" >&6 3648echo "${ECHO_T}$RANLIB" >&6
3382else 3649else
3383 echo "$as_me:3383: result: no" >&5 3650 echo "$as_me:$LINENO: result: no" >&5
3384echo "${ECHO_T}no" >&6 3651echo "${ECHO_T}no" >&6
3385fi 3652fi
3386 3653
@@ -3389,7 +3656,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
3389 ac_ct_RANLIB=$RANLIB 3656 ac_ct_RANLIB=$RANLIB
3390 # Extract the first word of "ranlib", so it can be a program name with args. 3657 # Extract the first word of "ranlib", so it can be a program name with args.
3391set dummy ranlib; ac_word=$2 3658set dummy ranlib; ac_word=$2
3392echo "$as_me:3392: checking for $ac_word" >&5 3659echo "$as_me:$LINENO: checking for $ac_word" >&5
3393echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3660echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3394if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3661if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3395 echo $ECHO_N "(cached) $ECHO_C" >&6 3662 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3397,15 +3664,18 @@ else
3397 if test -n "$ac_ct_RANLIB"; then 3664 if test -n "$ac_ct_RANLIB"; then
3398 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3665 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3399else 3666else
3400 ac_save_IFS=$IFS; IFS=$ac_path_separator 3667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401ac_dummy="$PATH" 3668for as_dir in $PATH
3402for ac_dir in $ac_dummy; do 3669do
3403 IFS=$ac_save_IFS 3670 IFS=$as_save_IFS
3404 test -z "$ac_dir" && ac_dir=. 3671 test -z "$as_dir" && as_dir=.
3405 $as_executable_p "$ac_dir/$ac_word" || continue 3672 for ac_exec_ext in '' $ac_executable_extensions; do
3406ac_cv_prog_ac_ct_RANLIB="ranlib" 3673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3407echo "$as_me:3407: found $ac_dir/$ac_word" >&5 3674 ac_cv_prog_ac_ct_RANLIB="ranlib"
3408break 3675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3677 fi
3678done
3409done 3679done
3410 3680
3411 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3681 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
@@ -3413,10 +3683,10 @@ fi
3413fi 3683fi
3414ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3684ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3415if test -n "$ac_ct_RANLIB"; then 3685if test -n "$ac_ct_RANLIB"; then
3416 echo "$as_me:3416: result: $ac_ct_RANLIB" >&5 3686 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3417echo "${ECHO_T}$ac_ct_RANLIB" >&6 3687echo "${ECHO_T}$ac_ct_RANLIB" >&6
3418else 3688else
3419 echo "$as_me:3419: result: no" >&5 3689 echo "$as_me:$LINENO: result: no" >&5
3420echo "${ECHO_T}no" >&6 3690echo "${ECHO_T}no" >&6
3421fi 3691fi
3422 3692
@@ -3427,6 +3697,7 @@ fi
3427 3697
3428fi 3698fi
3429 3699
3700
3430if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 3701if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
3431then 3702then
3432 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" 3703 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
@@ -3437,10 +3708,13 @@ then
3437 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS" 3708 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
3438fi 3709fi
3439 3710
3440echo "$as_me:3440: checking for AIX" >&5 3711
3712
3713
3714echo "$as_me:$LINENO: checking for AIX" >&5
3441echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3715echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3442cat >conftest.$ac_ext <<_ACEOF 3716cat >conftest.$ac_ext <<_ACEOF
3443#line 3443 "configure" 3717#line $LINENO "configure"
3444#include "confdefs.h" 3718#include "confdefs.h"
3445#ifdef _AIX 3719#ifdef _AIX
3446 yes 3720 yes
@@ -3449,21 +3723,23 @@ cat >conftest.$ac_ext <<_ACEOF
3449_ACEOF 3723_ACEOF
3450if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3724if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3451 egrep "yes" >/dev/null 2>&1; then 3725 egrep "yes" >/dev/null 2>&1; then
3452 echo "$as_me:3452: result: yes" >&5 3726 echo "$as_me:$LINENO: result: yes" >&5
3453echo "${ECHO_T}yes" >&6 3727echo "${ECHO_T}yes" >&6
3454cat >>confdefs.h <<\EOF 3728cat >>confdefs.h <<\_ACEOF
3455#define _ALL_SOURCE 1 3729#define _ALL_SOURCE 1
3456EOF 3730_ACEOF
3457 3731
3458else 3732else
3459 echo "$as_me:3459: result: no" >&5 3733 echo "$as_me:$LINENO: result: no" >&5
3460echo "${ECHO_T}no" >&6 3734echo "${ECHO_T}no" >&6
3461fi 3735fi
3462rm -f conftest* 3736rm -f conftest*
3463 3737
3738
3739
3464#### Extract some information from the operating system and machine files. 3740#### Extract some information from the operating system and machine files.
3465 3741
3466{ echo "$as_me:3466: checking the machine- and system-dependent files to find out 3742{ echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
3467 - which libraries the lib-src programs will want, and 3743 - which libraries the lib-src programs will want, and
3468 - whether the GNU malloc routines are usable..." >&5 3744 - whether the GNU malloc routines are usable..." >&5
3469echo "$as_me: checking the machine- and system-dependent files to find out 3745echo "$as_me: checking the machine- and system-dependent files to find out
@@ -3613,7 +3889,7 @@ if test "${enable_largefile+set}" = set; then
3613fi; 3889fi;
3614if test "$enable_largefile" != no; then 3890if test "$enable_largefile" != no; then
3615 3891
3616 echo "$as_me:3616: checking for special C compiler options needed for large files" >&5 3892 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3617echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3893echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3618if test "${ac_cv_sys_largefile_CC+set}" = set; then 3894if test "${ac_cv_sys_largefile_CC+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6 3895 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3625,7 +3901,7 @@ else
3625 # IRIX 6.2 and later do not support large files by default, 3901 # IRIX 6.2 and later do not support large files by default,
3626 # so use the C compiler's -n32 option if that helps. 3902 # so use the C compiler's -n32 option if that helps.
3627 cat >conftest.$ac_ext <<_ACEOF 3903 cat >conftest.$ac_ext <<_ACEOF
3628#line 3628 "configure" 3904#line $LINENO "configure"
3629#include "confdefs.h" 3905#include "confdefs.h"
3630#include <sys/types.h> 3906#include <sys/types.h>
3631 /* Check that off_t can represent 2**63 - 1 correctly. 3907 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3636,6 +3912,12 @@ else
3636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3912 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3637 && LARGE_OFF_T % 2147483647 == 1) 3913 && LARGE_OFF_T % 2147483647 == 1)
3638 ? 1 : -1]; 3914 ? 1 : -1];
3915#ifdef F77_DUMMY_MAIN
3916# ifdef __cplusplus
3917 extern "C"
3918# endif
3919 int F77_DUMMY_MAIN() { return 1; }
3920#endif
3639int 3921int
3640main () 3922main ()
3641{ 3923{
@@ -3645,16 +3927,16 @@ main ()
3645} 3927}
3646_ACEOF 3928_ACEOF
3647 rm -f conftest.$ac_objext 3929 rm -f conftest.$ac_objext
3648if { (eval echo "$as_me:3648: \"$ac_compile\"") >&5 3930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649 (eval $ac_compile) 2>&5 3931 (eval $ac_compile) 2>&5
3650 ac_status=$? 3932 ac_status=$?
3651 echo "$as_me:3651: \$? = $ac_status" >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && 3934 (exit $ac_status); } &&
3653 { ac_try='test -s conftest.$ac_objext' 3935 { ac_try='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:3654: \"$ac_try\"") >&5 3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 (eval $ac_try) 2>&5 3937 (eval $ac_try) 2>&5
3656 ac_status=$? 3938 ac_status=$?
3657 echo "$as_me:3657: \$? = $ac_status" >&5 3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then 3940 (exit $ac_status); }; }; then
3659 break 3941 break
3660else 3942else
@@ -3664,16 +3946,16 @@ fi
3664rm -f conftest.$ac_objext 3946rm -f conftest.$ac_objext
3665 CC="$CC -n32" 3947 CC="$CC -n32"
3666 rm -f conftest.$ac_objext 3948 rm -f conftest.$ac_objext
3667if { (eval echo "$as_me:3667: \"$ac_compile\"") >&5 3949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668 (eval $ac_compile) 2>&5 3950 (eval $ac_compile) 2>&5
3669 ac_status=$? 3951 ac_status=$?
3670 echo "$as_me:3670: \$? = $ac_status" >&5 3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } && 3953 (exit $ac_status); } &&
3672 { ac_try='test -s conftest.$ac_objext' 3954 { ac_try='test -s conftest.$ac_objext'
3673 { (eval echo "$as_me:3673: \"$ac_try\"") >&5 3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 (eval $ac_try) 2>&5 3956 (eval $ac_try) 2>&5
3675 ac_status=$? 3957 ac_status=$?
3676 echo "$as_me:3676: \$? = $ac_status" >&5 3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then 3959 (exit $ac_status); }; }; then
3678 ac_cv_sys_largefile_CC=' -n32'; break 3960 ac_cv_sys_largefile_CC=' -n32'; break
3679else 3961else
@@ -3687,13 +3969,13 @@ rm -f conftest.$ac_objext
3687 rm -f conftest.$ac_ext 3969 rm -f conftest.$ac_ext
3688 fi 3970 fi
3689fi 3971fi
3690echo "$as_me:3690: result: $ac_cv_sys_largefile_CC" >&5 3972echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3691echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3973echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3692 if test "$ac_cv_sys_largefile_CC" != no; then 3974 if test "$ac_cv_sys_largefile_CC" != no; then
3693 CC=$CC$ac_cv_sys_largefile_CC 3975 CC=$CC$ac_cv_sys_largefile_CC
3694 fi 3976 fi
3695 3977
3696 echo "$as_me:3696: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3978 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3697echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3979echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3698if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3980if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6 3981 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3701,7 +3983,7 @@ else
3701 while :; do 3983 while :; do
3702 ac_cv_sys_file_offset_bits=no 3984 ac_cv_sys_file_offset_bits=no
3703 cat >conftest.$ac_ext <<_ACEOF 3985 cat >conftest.$ac_ext <<_ACEOF
3704#line 3704 "configure" 3986#line $LINENO "configure"
3705#include "confdefs.h" 3987#include "confdefs.h"
3706#include <sys/types.h> 3988#include <sys/types.h>
3707 /* Check that off_t can represent 2**63 - 1 correctly. 3989 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3712,6 +3994,12 @@ else
3712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3713 && LARGE_OFF_T % 2147483647 == 1) 3995 && LARGE_OFF_T % 2147483647 == 1)
3714 ? 1 : -1]; 3996 ? 1 : -1];
3997#ifdef F77_DUMMY_MAIN
3998# ifdef __cplusplus
3999 extern "C"
4000# endif
4001 int F77_DUMMY_MAIN() { return 1; }
4002#endif
3715int 4003int
3716main () 4004main ()
3717{ 4005{
@@ -3721,16 +4009,16 @@ main ()
3721} 4009}
3722_ACEOF 4010_ACEOF
3723rm -f conftest.$ac_objext 4011rm -f conftest.$ac_objext
3724if { (eval echo "$as_me:3724: \"$ac_compile\"") >&5 4012if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3725 (eval $ac_compile) 2>&5 4013 (eval $ac_compile) 2>&5
3726 ac_status=$? 4014 ac_status=$?
3727 echo "$as_me:3727: \$? = $ac_status" >&5 4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } && 4016 (exit $ac_status); } &&
3729 { ac_try='test -s conftest.$ac_objext' 4017 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:3730: \"$ac_try\"") >&5 4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5 4019 (eval $ac_try) 2>&5
3732 ac_status=$? 4020 ac_status=$?
3733 echo "$as_me:3733: \$? = $ac_status" >&5 4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then 4022 (exit $ac_status); }; }; then
3735 break 4023 break
3736else 4024else
@@ -3739,7 +4027,7 @@ cat conftest.$ac_ext >&5
3739fi 4027fi
3740rm -f conftest.$ac_objext conftest.$ac_ext 4028rm -f conftest.$ac_objext conftest.$ac_ext
3741 cat >conftest.$ac_ext <<_ACEOF 4029 cat >conftest.$ac_ext <<_ACEOF
3742#line 3742 "configure" 4030#line $LINENO "configure"
3743#include "confdefs.h" 4031#include "confdefs.h"
3744#define _FILE_OFFSET_BITS 64 4032#define _FILE_OFFSET_BITS 64
3745#include <sys/types.h> 4033#include <sys/types.h>
@@ -3751,6 +4039,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext
3751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3752 && LARGE_OFF_T % 2147483647 == 1) 4040 && LARGE_OFF_T % 2147483647 == 1)
3753 ? 1 : -1]; 4041 ? 1 : -1];
4042#ifdef F77_DUMMY_MAIN
4043# ifdef __cplusplus
4044 extern "C"
4045# endif
4046 int F77_DUMMY_MAIN() { return 1; }
4047#endif
3754int 4048int
3755main () 4049main ()
3756{ 4050{
@@ -3760,16 +4054,16 @@ main ()
3760} 4054}
3761_ACEOF 4055_ACEOF
3762rm -f conftest.$ac_objext 4056rm -f conftest.$ac_objext
3763if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5 4057if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3764 (eval $ac_compile) 2>&5 4058 (eval $ac_compile) 2>&5
3765 ac_status=$? 4059 ac_status=$?
3766 echo "$as_me:3766: \$? = $ac_status" >&5 4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } && 4061 (exit $ac_status); } &&
3768 { ac_try='test -s conftest.$ac_objext' 4062 { ac_try='test -s conftest.$ac_objext'
3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5 4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5 4064 (eval $ac_try) 2>&5
3771 ac_status=$? 4065 ac_status=$?
3772 echo "$as_me:3772: \$? = $ac_status" >&5 4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then 4067 (exit $ac_status); }; }; then
3774 ac_cv_sys_file_offset_bits=64; break 4068 ac_cv_sys_file_offset_bits=64; break
3775else 4069else
@@ -3780,17 +4074,17 @@ rm -f conftest.$ac_objext conftest.$ac_ext
3780 break 4074 break
3781done 4075done
3782fi 4076fi
3783echo "$as_me:3783: result: $ac_cv_sys_file_offset_bits" >&5 4077echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3784echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 4078echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3785if test "$ac_cv_sys_file_offset_bits" != no; then 4079if test "$ac_cv_sys_file_offset_bits" != no; then
3786 4080
3787cat >>confdefs.h <<EOF 4081cat >>confdefs.h <<_ACEOF
3788#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 4082#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3789EOF 4083_ACEOF
3790 4084
3791fi 4085fi
3792rm -f conftest* 4086rm -f conftest*
3793 echo "$as_me:3793: checking for _LARGE_FILES value needed for large files" >&5 4087 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3794echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 4088echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3795if test "${ac_cv_sys_large_files+set}" = set; then 4089if test "${ac_cv_sys_large_files+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6 4090 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3798,7 +4092,7 @@ else
3798 while :; do 4092 while :; do
3799 ac_cv_sys_large_files=no 4093 ac_cv_sys_large_files=no
3800 cat >conftest.$ac_ext <<_ACEOF 4094 cat >conftest.$ac_ext <<_ACEOF
3801#line 3801 "configure" 4095#line $LINENO "configure"
3802#include "confdefs.h" 4096#include "confdefs.h"
3803#include <sys/types.h> 4097#include <sys/types.h>
3804 /* Check that off_t can represent 2**63 - 1 correctly. 4098 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3809,6 +4103,12 @@ else
3809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3810 && LARGE_OFF_T % 2147483647 == 1) 4104 && LARGE_OFF_T % 2147483647 == 1)
3811 ? 1 : -1]; 4105 ? 1 : -1];
4106#ifdef F77_DUMMY_MAIN
4107# ifdef __cplusplus
4108 extern "C"
4109# endif
4110 int F77_DUMMY_MAIN() { return 1; }
4111#endif
3812int 4112int
3813main () 4113main ()
3814{ 4114{
@@ -3818,16 +4118,16 @@ main ()
3818} 4118}
3819_ACEOF 4119_ACEOF
3820rm -f conftest.$ac_objext 4120rm -f conftest.$ac_objext
3821if { (eval echo "$as_me:3821: \"$ac_compile\"") >&5 4121if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3822 (eval $ac_compile) 2>&5 4122 (eval $ac_compile) 2>&5
3823 ac_status=$? 4123 ac_status=$?
3824 echo "$as_me:3824: \$? = $ac_status" >&5 4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } && 4125 (exit $ac_status); } &&
3826 { ac_try='test -s conftest.$ac_objext' 4126 { ac_try='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:3827: \"$ac_try\"") >&5 4127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 (eval $ac_try) 2>&5 4128 (eval $ac_try) 2>&5
3829 ac_status=$? 4129 ac_status=$?
3830 echo "$as_me:3830: \$? = $ac_status" >&5 4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then 4131 (exit $ac_status); }; }; then
3832 break 4132 break
3833else 4133else
@@ -3836,7 +4136,7 @@ cat conftest.$ac_ext >&5
3836fi 4136fi
3837rm -f conftest.$ac_objext conftest.$ac_ext 4137rm -f conftest.$ac_objext conftest.$ac_ext
3838 cat >conftest.$ac_ext <<_ACEOF 4138 cat >conftest.$ac_ext <<_ACEOF
3839#line 3839 "configure" 4139#line $LINENO "configure"
3840#include "confdefs.h" 4140#include "confdefs.h"
3841#define _LARGE_FILES 1 4141#define _LARGE_FILES 1
3842#include <sys/types.h> 4142#include <sys/types.h>
@@ -3848,6 +4148,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext
3848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3849 && LARGE_OFF_T % 2147483647 == 1) 4149 && LARGE_OFF_T % 2147483647 == 1)
3850 ? 1 : -1]; 4150 ? 1 : -1];
4151#ifdef F77_DUMMY_MAIN
4152# ifdef __cplusplus
4153 extern "C"
4154# endif
4155 int F77_DUMMY_MAIN() { return 1; }
4156#endif
3851int 4157int
3852main () 4158main ()
3853{ 4159{
@@ -3857,16 +4163,16 @@ main ()
3857} 4163}
3858_ACEOF 4164_ACEOF
3859rm -f conftest.$ac_objext 4165rm -f conftest.$ac_objext
3860if { (eval echo "$as_me:3860: \"$ac_compile\"") >&5 4166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3861 (eval $ac_compile) 2>&5 4167 (eval $ac_compile) 2>&5
3862 ac_status=$? 4168 ac_status=$?
3863 echo "$as_me:3863: \$? = $ac_status" >&5 4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } && 4170 (exit $ac_status); } &&
3865 { ac_try='test -s conftest.$ac_objext' 4171 { ac_try='test -s conftest.$ac_objext'
3866 { (eval echo "$as_me:3866: \"$ac_try\"") >&5 4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867 (eval $ac_try) 2>&5 4173 (eval $ac_try) 2>&5
3868 ac_status=$? 4174 ac_status=$?
3869 echo "$as_me:3869: \$? = $ac_status" >&5 4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; }; then 4176 (exit $ac_status); }; }; then
3871 ac_cv_sys_large_files=1; break 4177 ac_cv_sys_large_files=1; break
3872else 4178else
@@ -3877,41 +4183,279 @@ rm -f conftest.$ac_objext conftest.$ac_ext
3877 break 4183 break
3878done 4184done
3879fi 4185fi
3880echo "$as_me:3880: result: $ac_cv_sys_large_files" >&5 4186echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3881echo "${ECHO_T}$ac_cv_sys_large_files" >&6 4187echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3882if test "$ac_cv_sys_large_files" != no; then 4188if test "$ac_cv_sys_large_files" != no; then
3883 4189
3884cat >>confdefs.h <<EOF 4190cat >>confdefs.h <<_ACEOF
3885#define _LARGE_FILES $ac_cv_sys_large_files 4191#define _LARGE_FILES $ac_cv_sys_large_files
3886EOF 4192_ACEOF
3887 4193
3888fi 4194fi
3889rm -f conftest* 4195rm -f conftest*
3890fi 4196fi
3891 4197
4198
3892if test "${with_sound}" != "no"; then 4199if test "${with_sound}" != "no"; then
3893 # Sound support for GNU/Linux and the free BSDs. 4200 # Sound support for GNU/Linux and the free BSDs.
4201 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4202echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4203if test "${ac_cv_header_stdc+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4205else
4206 cat >conftest.$ac_ext <<_ACEOF
4207#line $LINENO "configure"
4208#include "confdefs.h"
4209#include <stdlib.h>
4210#include <stdarg.h>
4211#include <string.h>
4212#include <float.h>
3894 4213
3895for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 4214_ACEOF
4215if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4217 ac_status=$?
4218 egrep -v '^ *\+' conftest.er1 >conftest.err
4219 rm -f conftest.er1
4220 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } >/dev/null; then
4223 if test -s conftest.err; then
4224 ac_cpp_err=$ac_c_preproc_warn_flag
4225 else
4226 ac_cpp_err=
4227 fi
4228else
4229 ac_cpp_err=yes
4230fi
4231if test -z "$ac_cpp_err"; then
4232 ac_cv_header_stdc=yes
4233else
4234 echo "$as_me: failed program was:" >&5
4235 cat conftest.$ac_ext >&5
4236 ac_cv_header_stdc=no
4237fi
4238rm -f conftest.err conftest.$ac_ext
4239
4240if test $ac_cv_header_stdc = yes; then
4241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4242 cat >conftest.$ac_ext <<_ACEOF
4243#line $LINENO "configure"
4244#include "confdefs.h"
4245#include <string.h>
4246
4247_ACEOF
4248if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4249 egrep "memchr" >/dev/null 2>&1; then
4250 :
4251else
4252 ac_cv_header_stdc=no
4253fi
4254rm -f conftest*
4255
4256fi
4257
4258if test $ac_cv_header_stdc = yes; then
4259 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4260 cat >conftest.$ac_ext <<_ACEOF
4261#line $LINENO "configure"
4262#include "confdefs.h"
4263#include <stdlib.h>
4264
4265_ACEOF
4266if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4267 egrep "free" >/dev/null 2>&1; then
4268 :
4269else
4270 ac_cv_header_stdc=no
4271fi
4272rm -f conftest*
4273
4274fi
4275
4276if test $ac_cv_header_stdc = yes; then
4277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4278 if test "$cross_compiling" = yes; then
4279 :
4280else
4281 cat >conftest.$ac_ext <<_ACEOF
4282#line $LINENO "configure"
4283#include "confdefs.h"
4284#include <ctype.h>
4285#if ((' ' & 0x0FF) == 0x020)
4286# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4287# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4288#else
4289# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4290 || ('j' <= (c) && (c) <= 'r') \
4291 || ('s' <= (c) && (c) <= 'z'))
4292# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4293#endif
4294
4295#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4296int
4297main ()
4298{
4299 int i;
4300 for (i = 0; i < 256; i++)
4301 if (XOR (islower (i), ISLOWER (i))
4302 || toupper (i) != TOUPPER (i))
4303 exit(2);
4304 exit (0);
4305}
4306_ACEOF
4307rm -f conftest$ac_exeext
4308if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4309 (eval $ac_link) 2>&5
4310 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4314 (eval $ac_try) 2>&5
4315 ac_status=$?
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; }; then
4318 :
4319else
4320 echo "$as_me: program exited with status $ac_status" >&5
4321echo "$as_me: failed program was:" >&5
4322cat conftest.$ac_ext >&5
4323( exit $ac_status )
4324ac_cv_header_stdc=no
4325fi
4326rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4327fi
4328fi
4329fi
4330echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4331echo "${ECHO_T}$ac_cv_header_stdc" >&6
4332if test $ac_cv_header_stdc = yes; then
4333
4334cat >>confdefs.h <<\_ACEOF
4335#define STDC_HEADERS 1
4336_ACEOF
4337
4338fi
4339
4340# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4351 inttypes.h stdint.h unistd.h
3896do 4352do
3897as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4353as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3898echo "$as_me:3898: checking for $ac_header" >&5 4354echo "$as_me:$LINENO: checking for $ac_header" >&5
3899echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4355echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3900if eval "test \"\${$as_ac_Header+set}\" = set"; then 4356if eval "test \"\${$as_ac_Header+set}\" = set"; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6 4357 echo $ECHO_N "(cached) $ECHO_C" >&6
3902else 4358else
3903 cat >conftest.$ac_ext <<_ACEOF 4359 cat >conftest.$ac_ext <<_ACEOF
3904#line 3904 "configure" 4360#line $LINENO "configure"
3905#include "confdefs.h" 4361#include "confdefs.h"
4362$ac_includes_default
4363
3906#include <$ac_header> 4364#include <$ac_header>
3907_ACEOF 4365_ACEOF
3908if { (eval echo "$as_me:3908: \"$ac_cpp conftest.$ac_ext\"") >&5 4366rm -f conftest.$ac_objext
4367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4368 (eval $ac_compile) 2>&5
4369 ac_status=$?
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -s conftest.$ac_objext'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 (eval $ac_try) 2>&5
4375 ac_status=$?
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then
4378 eval "$as_ac_Header=yes"
4379else
4380 echo "$as_me: failed program was:" >&5
4381cat conftest.$ac_ext >&5
4382eval "$as_ac_Header=no"
4383fi
4384rm -f conftest.$ac_objext conftest.$ac_ext
4385fi
4386echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4387echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4388if test `eval echo '${'$as_ac_Header'}'` = yes; then
4389 cat >>confdefs.h <<_ACEOF
4390#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4391_ACEOF
4392
4393fi
4394
4395done
4396
4397
4398
4399
4400
4401for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
4402do
4403as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4404if eval "test \"\${$as_ac_Header+set}\" = set"; then
4405 echo "$as_me:$LINENO: checking for $ac_header" >&5
4406echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4407if eval "test \"\${$as_ac_Header+set}\" = set"; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4409fi
4410echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4411echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4412else
4413 # Is the header compilable?
4414echo "$as_me:$LINENO: checking $ac_header usability" >&5
4415echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4416cat >conftest.$ac_ext <<_ACEOF
4417#line $LINENO "configure"
4418#include "confdefs.h"
4419$ac_includes_default
4420#include <$ac_header>
4421_ACEOF
4422rm -f conftest.$ac_objext
4423if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4424 (eval $ac_compile) 2>&5
4425 ac_status=$?
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } &&
4428 { ac_try='test -s conftest.$ac_objext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 (eval $ac_try) 2>&5
4431 ac_status=$?
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_header_compiler=yes
4435else
4436 echo "$as_me: failed program was:" >&5
4437cat conftest.$ac_ext >&5
4438ac_header_compiler=no
4439fi
4440rm -f conftest.$ac_objext conftest.$ac_ext
4441echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4442echo "${ECHO_T}$ac_header_compiler" >&6
4443
4444# Is the header present?
4445echo "$as_me:$LINENO: checking $ac_header presence" >&5
4446echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4447cat >conftest.$ac_ext <<_ACEOF
4448#line $LINENO "configure"
4449#include "confdefs.h"
4450#include <$ac_header>
4451_ACEOF
4452if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3910 ac_status=$? 4454 ac_status=$?
3911 egrep -v '^ *\+' conftest.er1 >conftest.err 4455 egrep -v '^ *\+' conftest.er1 >conftest.err
3912 rm -f conftest.er1 4456 rm -f conftest.er1
3913 cat conftest.err >&5 4457 cat conftest.err >&5
3914 echo "$as_me:3914: \$? = $ac_status" >&5 4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } >/dev/null; then 4459 (exit $ac_status); } >/dev/null; then
3916 if test -s conftest.err; then 4460 if test -s conftest.err; then
3917 ac_cpp_err=$ac_c_preproc_warn_flag 4461 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3922,26 +4466,53 @@ else
3922 ac_cpp_err=yes 4466 ac_cpp_err=yes
3923fi 4467fi
3924if test -z "$ac_cpp_err"; then 4468if test -z "$ac_cpp_err"; then
3925 eval "$as_ac_Header=yes" 4469 ac_header_preproc=yes
3926else 4470else
3927 echo "$as_me: failed program was:" >&5 4471 echo "$as_me: failed program was:" >&5
3928 cat conftest.$ac_ext >&5 4472 cat conftest.$ac_ext >&5
3929 eval "$as_ac_Header=no" 4473 ac_header_preproc=no
3930fi 4474fi
3931rm -f conftest.err conftest.$ac_ext 4475rm -f conftest.err conftest.$ac_ext
4476echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4477echo "${ECHO_T}$ac_header_preproc" >&6
4478
4479# So? What about this header?
4480case $ac_header_compiler:$ac_header_preproc in
4481 yes:no )
4482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4483echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4485echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4486 no:yes )
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4488echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4490echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4492echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4493esac
4494echo "$as_me:$LINENO: checking for $ac_header" >&5
4495echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4496if eval "test \"\${$as_ac_Header+set}\" = set"; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4498else
4499 eval "$as_ac_Header=$ac_header_preproc"
3932fi 4500fi
3933echo "$as_me:3933: result: `eval echo '${'$as_ac_Header'}'`" >&5 4501echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3934echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4502echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4503
4504fi
3935if test `eval echo '${'$as_ac_Header'}'` = yes; then 4505if test `eval echo '${'$as_ac_Header'}'` = yes; then
3936 cat >>confdefs.h <<EOF 4506 cat >>confdefs.h <<_ACEOF
3937#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4507#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3938EOF 4508_ACEOF
3939 4509
3940fi 4510fi
4511
3941done 4512done
3942 4513
3943 # Emulation library used on NetBSD. 4514 # Emulation library used on NetBSD.
3944 echo "$as_me:3944: checking for _oss_ioctl in -lossaudio" >&5 4515 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
3945echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 4516echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3946if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 4517if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6 4518 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3949,7 +4520,7 @@ else
3949 ac_check_lib_save_LIBS=$LIBS 4520 ac_check_lib_save_LIBS=$LIBS
3950LIBS="-lossaudio $LIBS" 4521LIBS="-lossaudio $LIBS"
3951cat >conftest.$ac_ext <<_ACEOF 4522cat >conftest.$ac_ext <<_ACEOF
3952#line 3952 "configure" 4523#line $LINENO "configure"
3953#include "confdefs.h" 4524#include "confdefs.h"
3954 4525
3955/* Override any gcc2 internal prototype to avoid an error. */ 4526/* Override any gcc2 internal prototype to avoid an error. */
@@ -3959,6 +4530,12 @@ extern "C"
3959/* We use char because int might match the return type of a gcc2 4530/* We use char because int might match the return type of a gcc2
3960 builtin and then its argument prototype would still apply. */ 4531 builtin and then its argument prototype would still apply. */
3961char _oss_ioctl (); 4532char _oss_ioctl ();
4533#ifdef F77_DUMMY_MAIN
4534# ifdef __cplusplus
4535 extern "C"
4536# endif
4537 int F77_DUMMY_MAIN() { return 1; }
4538#endif
3962int 4539int
3963main () 4540main ()
3964{ 4541{
@@ -3968,16 +4545,16 @@ _oss_ioctl ();
3968} 4545}
3969_ACEOF 4546_ACEOF
3970rm -f conftest.$ac_objext conftest$ac_exeext 4547rm -f conftest.$ac_objext conftest$ac_exeext
3971if { (eval echo "$as_me:3971: \"$ac_link\"") >&5 4548if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3972 (eval $ac_link) 2>&5 4549 (eval $ac_link) 2>&5
3973 ac_status=$? 4550 ac_status=$?
3974 echo "$as_me:3974: \$? = $ac_status" >&5 4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } && 4552 (exit $ac_status); } &&
3976 { ac_try='test -s conftest$ac_exeext' 4553 { ac_try='test -s conftest$ac_exeext'
3977 { (eval echo "$as_me:3977: \"$ac_try\"") >&5 4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 (eval $ac_try) 2>&5 4555 (eval $ac_try) 2>&5
3979 ac_status=$? 4556 ac_status=$?
3980 echo "$as_me:3980: \$? = $ac_status" >&5 4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; }; then 4558 (exit $ac_status); }; }; then
3982 ac_cv_lib_ossaudio__oss_ioctl=yes 4559 ac_cv_lib_ossaudio__oss_ioctl=yes
3983else 4560else
@@ -3988,7 +4565,7 @@ fi
3988rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4565rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3989LIBS=$ac_check_lib_save_LIBS 4566LIBS=$ac_check_lib_save_LIBS
3990fi 4567fi
3991echo "$as_me:3991: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 4568echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3992echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 4569echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3993if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 4570if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3994 LIBSOUND=-lossaudio 4571 LIBSOUND=-lossaudio
@@ -3996,30 +4573,90 @@ else
3996 LIBSOUND= 4573 LIBSOUND=
3997fi 4574fi
3998 4575
4576
3999fi 4577fi
4000 4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4001for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 4599for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
4002 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 4600 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
4003 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 4601 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h pty.h sys/mman.h \
4602 sys/param.h
4004do 4603do
4005as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4604as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4006echo "$as_me:4006: checking for $ac_header" >&5 4605if eval "test \"\${$as_ac_Header+set}\" = set"; then
4606 echo "$as_me:$LINENO: checking for $ac_header" >&5
4007echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4607echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4008if eval "test \"\${$as_ac_Header+set}\" = set"; then 4608if eval "test \"\${$as_ac_Header+set}\" = set"; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6 4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4610fi
4611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4612echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4010else 4613else
4011 cat >conftest.$ac_ext <<_ACEOF 4614 # Is the header compilable?
4012#line 4012 "configure" 4615echo "$as_me:$LINENO: checking $ac_header usability" >&5
4616echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4617cat >conftest.$ac_ext <<_ACEOF
4618#line $LINENO "configure"
4619#include "confdefs.h"
4620$ac_includes_default
4621#include <$ac_header>
4622_ACEOF
4623rm -f conftest.$ac_objext
4624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625 (eval $ac_compile) 2>&5
4626 ac_status=$?
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try='test -s conftest.$ac_objext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4631 (eval $ac_try) 2>&5
4632 ac_status=$?
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4635 ac_header_compiler=yes
4636else
4637 echo "$as_me: failed program was:" >&5
4638cat conftest.$ac_ext >&5
4639ac_header_compiler=no
4640fi
4641rm -f conftest.$ac_objext conftest.$ac_ext
4642echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4643echo "${ECHO_T}$ac_header_compiler" >&6
4644
4645# Is the header present?
4646echo "$as_me:$LINENO: checking $ac_header presence" >&5
4647echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4648cat >conftest.$ac_ext <<_ACEOF
4649#line $LINENO "configure"
4013#include "confdefs.h" 4650#include "confdefs.h"
4014#include <$ac_header> 4651#include <$ac_header>
4015_ACEOF 4652_ACEOF
4016if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5 4653if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4018 ac_status=$? 4655 ac_status=$?
4019 egrep -v '^ *\+' conftest.er1 >conftest.err 4656 egrep -v '^ *\+' conftest.er1 >conftest.err
4020 rm -f conftest.er1 4657 rm -f conftest.er1
4021 cat conftest.err >&5 4658 cat conftest.err >&5
4022 echo "$as_me:4022: \$? = $ac_status" >&5 4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); } >/dev/null; then 4660 (exit $ac_status); } >/dev/null; then
4024 if test -s conftest.err; then 4661 if test -s conftest.err; then
4025 ac_cpp_err=$ac_c_preproc_warn_flag 4662 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4030,31 +4667,58 @@ else
4030 ac_cpp_err=yes 4667 ac_cpp_err=yes
4031fi 4668fi
4032if test -z "$ac_cpp_err"; then 4669if test -z "$ac_cpp_err"; then
4033 eval "$as_ac_Header=yes" 4670 ac_header_preproc=yes
4034else 4671else
4035 echo "$as_me: failed program was:" >&5 4672 echo "$as_me: failed program was:" >&5
4036 cat conftest.$ac_ext >&5 4673 cat conftest.$ac_ext >&5
4037 eval "$as_ac_Header=no" 4674 ac_header_preproc=no
4038fi 4675fi
4039rm -f conftest.err conftest.$ac_ext 4676rm -f conftest.err conftest.$ac_ext
4677echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4678echo "${ECHO_T}$ac_header_preproc" >&6
4679
4680# So? What about this header?
4681case $ac_header_compiler:$ac_header_preproc in
4682 yes:no )
4683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4684echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4686echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4687 no:yes )
4688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4689echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4691echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4693echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4694esac
4695echo "$as_me:$LINENO: checking for $ac_header" >&5
4696echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4697if eval "test \"\${$as_ac_Header+set}\" = set"; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4699else
4700 eval "$as_ac_Header=$ac_header_preproc"
4040fi 4701fi
4041echo "$as_me:4041: result: `eval echo '${'$as_ac_Header'}'`" >&5 4702echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4042echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4703echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4704
4705fi
4043if test `eval echo '${'$as_ac_Header'}'` = yes; then 4706if test `eval echo '${'$as_ac_Header'}'` = yes; then
4044 cat >>confdefs.h <<EOF 4707 cat >>confdefs.h <<_ACEOF
4045#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4708#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4046EOF 4709_ACEOF
4047 4710
4048fi 4711fi
4712
4049done 4713done
4050 4714
4051echo "$as_me:4051: checking for ANSI C header files" >&5 4715echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4052echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4716echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4053if test "${ac_cv_header_stdc+set}" = set; then 4717if test "${ac_cv_header_stdc+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6 4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4055else 4719else
4056 cat >conftest.$ac_ext <<_ACEOF 4720 cat >conftest.$ac_ext <<_ACEOF
4057#line 4057 "configure" 4721#line $LINENO "configure"
4058#include "confdefs.h" 4722#include "confdefs.h"
4059#include <stdlib.h> 4723#include <stdlib.h>
4060#include <stdarg.h> 4724#include <stdarg.h>
@@ -4062,13 +4726,13 @@ else
4062#include <float.h> 4726#include <float.h>
4063 4727
4064_ACEOF 4728_ACEOF
4065if { (eval echo "$as_me:4065: \"$ac_cpp conftest.$ac_ext\"") >&5 4729if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4067 ac_status=$? 4731 ac_status=$?
4068 egrep -v '^ *\+' conftest.er1 >conftest.err 4732 egrep -v '^ *\+' conftest.er1 >conftest.err
4069 rm -f conftest.er1 4733 rm -f conftest.er1
4070 cat conftest.err >&5 4734 cat conftest.err >&5
4071 echo "$as_me:4071: \$? = $ac_status" >&5 4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev/null; then 4736 (exit $ac_status); } >/dev/null; then
4073 if test -s conftest.err; then 4737 if test -s conftest.err; then
4074 ac_cpp_err=$ac_c_preproc_warn_flag 4738 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4090,7 +4754,7 @@ rm -f conftest.err conftest.$ac_ext
4090if test $ac_cv_header_stdc = yes; then 4754if test $ac_cv_header_stdc = yes; then
4091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4092 cat >conftest.$ac_ext <<_ACEOF 4756 cat >conftest.$ac_ext <<_ACEOF
4093#line 4093 "configure" 4757#line $LINENO "configure"
4094#include "confdefs.h" 4758#include "confdefs.h"
4095#include <string.h> 4759#include <string.h>
4096 4760
@@ -4108,7 +4772,7 @@ fi
4108if test $ac_cv_header_stdc = yes; then 4772if test $ac_cv_header_stdc = yes; then
4109 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4110 cat >conftest.$ac_ext <<_ACEOF 4774 cat >conftest.$ac_ext <<_ACEOF
4111#line 4111 "configure" 4775#line $LINENO "configure"
4112#include "confdefs.h" 4776#include "confdefs.h"
4113#include <stdlib.h> 4777#include <stdlib.h>
4114 4778
@@ -4129,7 +4793,7 @@ if test $ac_cv_header_stdc = yes; then
4129 : 4793 :
4130else 4794else
4131 cat >conftest.$ac_ext <<_ACEOF 4795 cat >conftest.$ac_ext <<_ACEOF
4132#line 4132 "configure" 4796#line $LINENO "configure"
4133#include "confdefs.h" 4797#include "confdefs.h"
4134#include <ctype.h> 4798#include <ctype.h>
4135#if ((' ' & 0x0FF) == 0x020) 4799#if ((' ' & 0x0FF) == 0x020)
@@ -4155,49 +4819,56 @@ main ()
4155} 4819}
4156_ACEOF 4820_ACEOF
4157rm -f conftest$ac_exeext 4821rm -f conftest$ac_exeext
4158if { (eval echo "$as_me:4158: \"$ac_link\"") >&5 4822if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>&5 4823 (eval $ac_link) 2>&5
4160 ac_status=$? 4824 ac_status=$?
4161 echo "$as_me:4161: \$? = $ac_status" >&5 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4163 { (eval echo "$as_me:4163: \"$ac_try\"") >&5 4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 (eval $ac_try) 2>&5 4828 (eval $ac_try) 2>&5
4165 ac_status=$? 4829 ac_status=$?
4166 echo "$as_me:4166: \$? = $ac_status" >&5 4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; }; then 4831 (exit $ac_status); }; }; then
4168 : 4832 :
4169else 4833else
4170 echo "$as_me: program exited with status $ac_status" >&5 4834 echo "$as_me: program exited with status $ac_status" >&5
4171echo "$as_me: failed program was:" >&5 4835echo "$as_me: failed program was:" >&5
4172cat conftest.$ac_ext >&5 4836cat conftest.$ac_ext >&5
4837( exit $ac_status )
4173ac_cv_header_stdc=no 4838ac_cv_header_stdc=no
4174fi 4839fi
4175rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4840rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4176fi 4841fi
4177fi 4842fi
4178fi 4843fi
4179echo "$as_me:4179: result: $ac_cv_header_stdc" >&5 4844echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4180echo "${ECHO_T}$ac_cv_header_stdc" >&6 4845echo "${ECHO_T}$ac_cv_header_stdc" >&6
4181if test $ac_cv_header_stdc = yes; then 4846if test $ac_cv_header_stdc = yes; then
4182 4847
4183cat >>confdefs.h <<\EOF 4848cat >>confdefs.h <<\_ACEOF
4184#define STDC_HEADERS 1 4849#define STDC_HEADERS 1
4185EOF 4850_ACEOF
4186 4851
4187fi 4852fi
4188 4853
4189echo "$as_me:4189: checking whether time.h and sys/time.h may both be included" >&5 4854echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4190echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4855echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4191if test "${ac_cv_header_time+set}" = set; then 4856if test "${ac_cv_header_time+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6 4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4193else 4858else
4194 cat >conftest.$ac_ext <<_ACEOF 4859 cat >conftest.$ac_ext <<_ACEOF
4195#line 4195 "configure" 4860#line $LINENO "configure"
4196#include "confdefs.h" 4861#include "confdefs.h"
4197#include <sys/types.h> 4862#include <sys/types.h>
4198#include <sys/time.h> 4863#include <sys/time.h>
4199#include <time.h> 4864#include <time.h>
4200 4865
4866#ifdef F77_DUMMY_MAIN
4867# ifdef __cplusplus
4868 extern "C"
4869# endif
4870 int F77_DUMMY_MAIN() { return 1; }
4871#endif
4201int 4872int
4202main () 4873main ()
4203{ 4874{
@@ -4208,16 +4879,16 @@ return 0;
4208} 4879}
4209_ACEOF 4880_ACEOF
4210rm -f conftest.$ac_objext 4881rm -f conftest.$ac_objext
4211if { (eval echo "$as_me:4211: \"$ac_compile\"") >&5 4882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4212 (eval $ac_compile) 2>&5 4883 (eval $ac_compile) 2>&5
4213 ac_status=$? 4884 ac_status=$?
4214 echo "$as_me:4214: \$? = $ac_status" >&5 4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && 4886 (exit $ac_status); } &&
4216 { ac_try='test -s conftest.$ac_objext' 4887 { ac_try='test -s conftest.$ac_objext'
4217 { (eval echo "$as_me:4217: \"$ac_try\"") >&5 4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 (eval $ac_try) 2>&5 4889 (eval $ac_try) 2>&5
4219 ac_status=$? 4890 ac_status=$?
4220 echo "$as_me:4220: \$? = $ac_status" >&5 4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; }; then 4892 (exit $ac_status); }; }; then
4222 ac_cv_header_time=yes 4893 ac_cv_header_time=yes
4223else 4894else
@@ -4227,23 +4898,23 @@ ac_cv_header_time=no
4227fi 4898fi
4228rm -f conftest.$ac_objext conftest.$ac_ext 4899rm -f conftest.$ac_objext conftest.$ac_ext
4229fi 4900fi
4230echo "$as_me:4230: result: $ac_cv_header_time" >&5 4901echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4231echo "${ECHO_T}$ac_cv_header_time" >&6 4902echo "${ECHO_T}$ac_cv_header_time" >&6
4232if test $ac_cv_header_time = yes; then 4903if test $ac_cv_header_time = yes; then
4233 4904
4234cat >>confdefs.h <<\EOF 4905cat >>confdefs.h <<\_ACEOF
4235#define TIME_WITH_SYS_TIME 1 4906#define TIME_WITH_SYS_TIME 1
4236EOF 4907_ACEOF
4237 4908
4238fi 4909fi
4239 4910
4240echo "$as_me:4240: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4911echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4241echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4912echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4242if test "${ac_cv_decl_sys_siglist+set}" = set; then 4913if test "${ac_cv_decl_sys_siglist+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6 4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4244else 4915else
4245 cat >conftest.$ac_ext <<_ACEOF 4916 cat >conftest.$ac_ext <<_ACEOF
4246#line 4246 "configure" 4917#line $LINENO "configure"
4247#include "confdefs.h" 4918#include "confdefs.h"
4248#include <sys/types.h> 4919#include <sys/types.h>
4249#include <signal.h> 4920#include <signal.h>
@@ -4252,6 +4923,12 @@ else
4252# include <unistd.h> 4923# include <unistd.h>
4253#endif 4924#endif
4254 4925
4926#ifdef F77_DUMMY_MAIN
4927# ifdef __cplusplus
4928 extern "C"
4929# endif
4930 int F77_DUMMY_MAIN() { return 1; }
4931#endif
4255int 4932int
4256main () 4933main ()
4257{ 4934{
@@ -4261,16 +4938,16 @@ char *msg = *(sys_siglist + 1);
4261} 4938}
4262_ACEOF 4939_ACEOF
4263rm -f conftest.$ac_objext 4940rm -f conftest.$ac_objext
4264if { (eval echo "$as_me:4264: \"$ac_compile\"") >&5 4941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4265 (eval $ac_compile) 2>&5 4942 (eval $ac_compile) 2>&5
4266 ac_status=$? 4943 ac_status=$?
4267 echo "$as_me:4267: \$? = $ac_status" >&5 4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); } && 4945 (exit $ac_status); } &&
4269 { ac_try='test -s conftest.$ac_objext' 4946 { ac_try='test -s conftest.$ac_objext'
4270 { (eval echo "$as_me:4270: \"$ac_try\"") >&5 4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 (eval $ac_try) 2>&5 4948 (eval $ac_try) 2>&5
4272 ac_status=$? 4949 ac_status=$?
4273 echo "$as_me:4273: \$? = $ac_status" >&5 4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then 4951 (exit $ac_status); }; }; then
4275 ac_cv_decl_sys_siglist=yes 4952 ac_cv_decl_sys_siglist=yes
4276else 4953else
@@ -4280,23 +4957,23 @@ ac_cv_decl_sys_siglist=no
4280fi 4957fi
4281rm -f conftest.$ac_objext conftest.$ac_ext 4958rm -f conftest.$ac_objext conftest.$ac_ext
4282fi 4959fi
4283echo "$as_me:4283: result: $ac_cv_decl_sys_siglist" >&5 4960echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
4284echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4961echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4285if test $ac_cv_decl_sys_siglist = yes; then 4962if test $ac_cv_decl_sys_siglist = yes; then
4286 4963
4287cat >>confdefs.h <<\EOF 4964cat >>confdefs.h <<\_ACEOF
4288#define SYS_SIGLIST_DECLARED 1 4965#define SYS_SIGLIST_DECLARED 1
4289EOF 4966_ACEOF
4290 4967
4291fi 4968fi
4292 4969
4293echo "$as_me:4293: checking for sys/wait.h that is POSIX.1 compatible" >&5 4970echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4294echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4971echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4295if test "${ac_cv_header_sys_wait_h+set}" = set; then 4972if test "${ac_cv_header_sys_wait_h+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6 4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4297else 4974else
4298 cat >conftest.$ac_ext <<_ACEOF 4975 cat >conftest.$ac_ext <<_ACEOF
4299#line 4299 "configure" 4976#line $LINENO "configure"
4300#include "confdefs.h" 4977#include "confdefs.h"
4301#include <sys/types.h> 4978#include <sys/types.h>
4302#include <sys/wait.h> 4979#include <sys/wait.h>
@@ -4307,6 +4984,12 @@ else
4307# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 4984# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4308#endif 4985#endif
4309 4986
4987#ifdef F77_DUMMY_MAIN
4988# ifdef __cplusplus
4989 extern "C"
4990# endif
4991 int F77_DUMMY_MAIN() { return 1; }
4992#endif
4310int 4993int
4311main () 4994main ()
4312{ 4995{
@@ -4318,16 +5001,16 @@ main ()
4318} 5001}
4319_ACEOF 5002_ACEOF
4320rm -f conftest.$ac_objext 5003rm -f conftest.$ac_objext
4321if { (eval echo "$as_me:4321: \"$ac_compile\"") >&5 5004if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4322 (eval $ac_compile) 2>&5 5005 (eval $ac_compile) 2>&5
4323 ac_status=$? 5006 ac_status=$?
4324 echo "$as_me:4324: \$? = $ac_status" >&5 5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); } && 5008 (exit $ac_status); } &&
4326 { ac_try='test -s conftest.$ac_objext' 5009 { ac_try='test -s conftest.$ac_objext'
4327 { (eval echo "$as_me:4327: \"$ac_try\"") >&5 5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 (eval $ac_try) 2>&5 5011 (eval $ac_try) 2>&5
4329 ac_status=$? 5012 ac_status=$?
4330 echo "$as_me:4330: \$? = $ac_status" >&5 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then 5014 (exit $ac_status); }; }; then
4332 ac_cv_header_sys_wait_h=yes 5015 ac_cv_header_sys_wait_h=yes
4333else 5016else
@@ -4337,23 +5020,24 @@ ac_cv_header_sys_wait_h=no
4337fi 5020fi
4338rm -f conftest.$ac_objext conftest.$ac_ext 5021rm -f conftest.$ac_objext conftest.$ac_ext
4339fi 5022fi
4340echo "$as_me:4340: result: $ac_cv_header_sys_wait_h" >&5 5023echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4341echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 5024echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4342if test $ac_cv_header_sys_wait_h = yes; then 5025if test $ac_cv_header_sys_wait_h = yes; then
4343 5026
4344cat >>confdefs.h <<\EOF 5027cat >>confdefs.h <<\_ACEOF
4345#define HAVE_SYS_WAIT_H 1 5028#define HAVE_SYS_WAIT_H 1
4346EOF 5029_ACEOF
4347 5030
4348fi 5031fi
4349 5032
4350echo "$as_me:4350: checking for struct utimbuf" >&5 5033
5034echo "$as_me:$LINENO: checking for struct utimbuf" >&5
4351echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 5035echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
4352if test "${emacs_cv_struct_utimbuf+set}" = set; then 5036if test "${emacs_cv_struct_utimbuf+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6 5037 echo $ECHO_N "(cached) $ECHO_C" >&6
4354else 5038else
4355 cat >conftest.$ac_ext <<_ACEOF 5039 cat >conftest.$ac_ext <<_ACEOF
4356#line 4356 "configure" 5040#line $LINENO "configure"
4357#include "confdefs.h" 5041#include "confdefs.h"
4358#ifdef TIME_WITH_SYS_TIME 5042#ifdef TIME_WITH_SYS_TIME
4359#include <sys/time.h> 5043#include <sys/time.h>
@@ -4368,6 +5052,12 @@ else
4368#ifdef HAVE_UTIME_H 5052#ifdef HAVE_UTIME_H
4369#include <utime.h> 5053#include <utime.h>
4370#endif 5054#endif
5055#ifdef F77_DUMMY_MAIN
5056# ifdef __cplusplus
5057 extern "C"
5058# endif
5059 int F77_DUMMY_MAIN() { return 1; }
5060#endif
4371int 5061int
4372main () 5062main ()
4373{ 5063{
@@ -4377,16 +5067,16 @@ static struct utimbuf x; x.actime = x.modtime;
4377} 5067}
4378_ACEOF 5068_ACEOF
4379rm -f conftest.$ac_objext 5069rm -f conftest.$ac_objext
4380if { (eval echo "$as_me:4380: \"$ac_compile\"") >&5 5070if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4381 (eval $ac_compile) 2>&5 5071 (eval $ac_compile) 2>&5
4382 ac_status=$? 5072 ac_status=$?
4383 echo "$as_me:4383: \$? = $ac_status" >&5 5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && 5074 (exit $ac_status); } &&
4385 { ac_try='test -s conftest.$ac_objext' 5075 { ac_try='test -s conftest.$ac_objext'
4386 { (eval echo "$as_me:4386: \"$ac_try\"") >&5 5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387 (eval $ac_try) 2>&5 5077 (eval $ac_try) 2>&5
4388 ac_status=$? 5078 ac_status=$?
4389 echo "$as_me:4389: \$? = $ac_status" >&5 5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; }; then 5080 (exit $ac_status); }; }; then
4391 emacs_cv_struct_utimbuf=yes 5081 emacs_cv_struct_utimbuf=yes
4392else 5082else
@@ -4396,23 +5086,23 @@ emacs_cv_struct_utimbuf=no
4396fi 5086fi
4397rm -f conftest.$ac_objext conftest.$ac_ext 5087rm -f conftest.$ac_objext conftest.$ac_ext
4398fi 5088fi
4399echo "$as_me:4399: result: $emacs_cv_struct_utimbuf" >&5 5089echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
4400echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 5090echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
4401if test $emacs_cv_struct_utimbuf = yes; then 5091if test $emacs_cv_struct_utimbuf = yes; then
4402 5092
4403cat >>confdefs.h <<\EOF 5093cat >>confdefs.h <<\_ACEOF
4404#define HAVE_STRUCT_UTIMBUF 1 5094#define HAVE_STRUCT_UTIMBUF 1
4405EOF 5095_ACEOF
4406 5096
4407fi 5097fi
4408 5098
4409echo "$as_me:4409: checking return type of signal handlers" >&5 5099echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4410echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 5100echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4411if test "${ac_cv_type_signal+set}" = set; then 5101if test "${ac_cv_type_signal+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6 5102 echo $ECHO_N "(cached) $ECHO_C" >&6
4413else 5103else
4414 cat >conftest.$ac_ext <<_ACEOF 5104 cat >conftest.$ac_ext <<_ACEOF
4415#line 4415 "configure" 5105#line $LINENO "configure"
4416#include "confdefs.h" 5106#include "confdefs.h"
4417#include <sys/types.h> 5107#include <sys/types.h>
4418#include <signal.h> 5108#include <signal.h>
@@ -4425,6 +5115,12 @@ extern "C" void (*signal (int, void (*)(int)))(int);
4425void (*signal ()) (); 5115void (*signal ()) ();
4426#endif 5116#endif
4427 5117
5118#ifdef F77_DUMMY_MAIN
5119# ifdef __cplusplus
5120 extern "C"
5121# endif
5122 int F77_DUMMY_MAIN() { return 1; }
5123#endif
4428int 5124int
4429main () 5125main ()
4430{ 5126{
@@ -4434,16 +5130,16 @@ int i;
4434} 5130}
4435_ACEOF 5131_ACEOF
4436rm -f conftest.$ac_objext 5132rm -f conftest.$ac_objext
4437if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5 5133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>&5 5134 (eval $ac_compile) 2>&5
4439 ac_status=$? 5135 ac_status=$?
4440 echo "$as_me:4440: \$? = $ac_status" >&5 5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && 5137 (exit $ac_status); } &&
4442 { ac_try='test -s conftest.$ac_objext' 5138 { ac_try='test -s conftest.$ac_objext'
4443 { (eval echo "$as_me:4443: \"$ac_try\"") >&5 5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4444 (eval $ac_try) 2>&5 5140 (eval $ac_try) 2>&5
4445 ac_status=$? 5141 ac_status=$?
4446 echo "$as_me:4446: \$? = $ac_status" >&5 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; }; then 5143 (exit $ac_status); }; }; then
4448 ac_cv_type_signal=void 5144 ac_cv_type_signal=void
4449else 5145else
@@ -4453,22 +5149,30 @@ ac_cv_type_signal=int
4453fi 5149fi
4454rm -f conftest.$ac_objext conftest.$ac_ext 5150rm -f conftest.$ac_objext conftest.$ac_ext
4455fi 5151fi
4456echo "$as_me:4456: result: $ac_cv_type_signal" >&5 5152echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4457echo "${ECHO_T}$ac_cv_type_signal" >&6 5153echo "${ECHO_T}$ac_cv_type_signal" >&6
4458 5154
4459cat >>confdefs.h <<EOF 5155cat >>confdefs.h <<_ACEOF
4460#define RETSIGTYPE $ac_cv_type_signal 5156#define RETSIGTYPE $ac_cv_type_signal
4461EOF 5157_ACEOF
5158
4462 5159
4463echo "$as_me:4463: checking for speed_t" >&5 5160
5161echo "$as_me:$LINENO: checking for speed_t" >&5
4464echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 5162echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
4465if test "${emacs_cv_speed_t+set}" = set; then 5163if test "${emacs_cv_speed_t+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6 5164 echo $ECHO_N "(cached) $ECHO_C" >&6
4467else 5165else
4468 cat >conftest.$ac_ext <<_ACEOF 5166 cat >conftest.$ac_ext <<_ACEOF
4469#line 4469 "configure" 5167#line $LINENO "configure"
4470#include "confdefs.h" 5168#include "confdefs.h"
4471#include <termios.h> 5169#include <termios.h>
5170#ifdef F77_DUMMY_MAIN
5171# ifdef __cplusplus
5172 extern "C"
5173# endif
5174 int F77_DUMMY_MAIN() { return 1; }
5175#endif
4472int 5176int
4473main () 5177main ()
4474{ 5178{
@@ -4478,16 +5182,16 @@ speed_t x = 1;
4478} 5182}
4479_ACEOF 5183_ACEOF
4480rm -f conftest.$ac_objext 5184rm -f conftest.$ac_objext
4481if { (eval echo "$as_me:4481: \"$ac_compile\"") >&5 5185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>&5 5186 (eval $ac_compile) 2>&5
4483 ac_status=$? 5187 ac_status=$?
4484 echo "$as_me:4484: \$? = $ac_status" >&5 5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } && 5189 (exit $ac_status); } &&
4486 { ac_try='test -s conftest.$ac_objext' 5190 { ac_try='test -s conftest.$ac_objext'
4487 { (eval echo "$as_me:4487: \"$ac_try\"") >&5 5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 (eval $ac_try) 2>&5 5192 (eval $ac_try) 2>&5
4489 ac_status=$? 5193 ac_status=$?
4490 echo "$as_me:4490: \$? = $ac_status" >&5 5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; }; then 5195 (exit $ac_status); }; }; then
4492 emacs_cv_speed_t=yes 5196 emacs_cv_speed_t=yes
4493else 5197else
@@ -4497,23 +5201,23 @@ emacs_cv_speed_t=no
4497fi 5201fi
4498rm -f conftest.$ac_objext conftest.$ac_ext 5202rm -f conftest.$ac_objext conftest.$ac_ext
4499fi 5203fi
4500echo "$as_me:4500: result: $emacs_cv_speed_t" >&5 5204echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
4501echo "${ECHO_T}$emacs_cv_speed_t" >&6 5205echo "${ECHO_T}$emacs_cv_speed_t" >&6
4502if test $emacs_cv_speed_t = yes; then 5206if test $emacs_cv_speed_t = yes; then
4503 5207
4504cat >>confdefs.h <<\EOF 5208cat >>confdefs.h <<\_ACEOF
4505#define HAVE_SPEED_T 1 5209#define HAVE_SPEED_T 1
4506EOF 5210_ACEOF
4507 5211
4508fi 5212fi
4509 5213
4510echo "$as_me:4510: checking for struct timeval" >&5 5214echo "$as_me:$LINENO: checking for struct timeval" >&5
4511echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 5215echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
4512if test "${emacs_cv_struct_timeval+set}" = set; then 5216if test "${emacs_cv_struct_timeval+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6 5217 echo $ECHO_N "(cached) $ECHO_C" >&6
4514else 5218else
4515 cat >conftest.$ac_ext <<_ACEOF 5219 cat >conftest.$ac_ext <<_ACEOF
4516#line 4516 "configure" 5220#line $LINENO "configure"
4517#include "confdefs.h" 5221#include "confdefs.h"
4518#ifdef TIME_WITH_SYS_TIME 5222#ifdef TIME_WITH_SYS_TIME
4519#include <sys/time.h> 5223#include <sys/time.h>
@@ -4525,6 +5229,12 @@ else
4525#include <time.h> 5229#include <time.h>
4526#endif 5230#endif
4527#endif 5231#endif
5232#ifdef F77_DUMMY_MAIN
5233# ifdef __cplusplus
5234 extern "C"
5235# endif
5236 int F77_DUMMY_MAIN() { return 1; }
5237#endif
4528int 5238int
4529main () 5239main ()
4530{ 5240{
@@ -4534,16 +5244,16 @@ static struct timeval x; x.tv_sec = x.tv_usec;
4534} 5244}
4535_ACEOF 5245_ACEOF
4536rm -f conftest.$ac_objext 5246rm -f conftest.$ac_objext
4537if { (eval echo "$as_me:4537: \"$ac_compile\"") >&5 5247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4538 (eval $ac_compile) 2>&5 5248 (eval $ac_compile) 2>&5
4539 ac_status=$? 5249 ac_status=$?
4540 echo "$as_me:4540: \$? = $ac_status" >&5 5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } && 5251 (exit $ac_status); } &&
4542 { ac_try='test -s conftest.$ac_objext' 5252 { ac_try='test -s conftest.$ac_objext'
4543 { (eval echo "$as_me:4543: \"$ac_try\"") >&5 5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4544 (eval $ac_try) 2>&5 5254 (eval $ac_try) 2>&5
4545 ac_status=$? 5255 ac_status=$?
4546 echo "$as_me:4546: \$? = $ac_status" >&5 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then 5257 (exit $ac_status); }; }; then
4548 emacs_cv_struct_timeval=yes 5258 emacs_cv_struct_timeval=yes
4549else 5259else
@@ -4553,26 +5263,32 @@ emacs_cv_struct_timeval=no
4553fi 5263fi
4554rm -f conftest.$ac_objext conftest.$ac_ext 5264rm -f conftest.$ac_objext conftest.$ac_ext
4555fi 5265fi
4556echo "$as_me:4556: result: $emacs_cv_struct_timeval" >&5 5266echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
4557echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 5267echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
4558HAVE_TIMEVAL=$emacs_cv_struct_timeval 5268HAVE_TIMEVAL=$emacs_cv_struct_timeval
4559if test $emacs_cv_struct_timeval = yes; then 5269if test $emacs_cv_struct_timeval = yes; then
4560 5270
4561cat >>confdefs.h <<\EOF 5271cat >>confdefs.h <<\_ACEOF
4562#define HAVE_TIMEVAL 1 5272#define HAVE_TIMEVAL 1
4563EOF 5273_ACEOF
4564 5274
4565fi 5275fi
4566 5276
4567echo "$as_me:4567: checking for struct exception" >&5 5277echo "$as_me:$LINENO: checking for struct exception" >&5
4568echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 5278echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
4569if test "${emacs_cv_struct_exception+set}" = set; then 5279if test "${emacs_cv_struct_exception+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 echo $ECHO_N "(cached) $ECHO_C" >&6
4571else 5281else
4572 cat >conftest.$ac_ext <<_ACEOF 5282 cat >conftest.$ac_ext <<_ACEOF
4573#line 4573 "configure" 5283#line $LINENO "configure"
4574#include "confdefs.h" 5284#include "confdefs.h"
4575#include <math.h> 5285#include <math.h>
5286#ifdef F77_DUMMY_MAIN
5287# ifdef __cplusplus
5288 extern "C"
5289# endif
5290 int F77_DUMMY_MAIN() { return 1; }
5291#endif
4576int 5292int
4577main () 5293main ()
4578{ 5294{
@@ -4582,16 +5298,16 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
4582} 5298}
4583_ACEOF 5299_ACEOF
4584rm -f conftest.$ac_objext 5300rm -f conftest.$ac_objext
4585if { (eval echo "$as_me:4585: \"$ac_compile\"") >&5 5301if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4586 (eval $ac_compile) 2>&5 5302 (eval $ac_compile) 2>&5
4587 ac_status=$? 5303 ac_status=$?
4588 echo "$as_me:4588: \$? = $ac_status" >&5 5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && 5305 (exit $ac_status); } &&
4590 { ac_try='test -s conftest.$ac_objext' 5306 { ac_try='test -s conftest.$ac_objext'
4591 { (eval echo "$as_me:4591: \"$ac_try\"") >&5 5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 (eval $ac_try) 2>&5 5308 (eval $ac_try) 2>&5
4593 ac_status=$? 5309 ac_status=$?
4594 echo "$as_me:4594: \$? = $ac_status" >&5 5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then 5311 (exit $ac_status); }; }; then
4596 emacs_cv_struct_exception=yes 5312 emacs_cv_struct_exception=yes
4597else 5313else
@@ -4601,28 +5317,34 @@ emacs_cv_struct_exception=no
4601fi 5317fi
4602rm -f conftest.$ac_objext conftest.$ac_ext 5318rm -f conftest.$ac_objext conftest.$ac_ext
4603fi 5319fi
4604echo "$as_me:4604: result: $emacs_cv_struct_exception" >&5 5320echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
4605echo "${ECHO_T}$emacs_cv_struct_exception" >&6 5321echo "${ECHO_T}$emacs_cv_struct_exception" >&6
4606HAVE_EXCEPTION=$emacs_cv_struct_exception 5322HAVE_EXCEPTION=$emacs_cv_struct_exception
4607if test $emacs_cv_struct_exception != yes; then 5323if test $emacs_cv_struct_exception != yes; then
4608 5324
4609cat >>confdefs.h <<\EOF 5325cat >>confdefs.h <<\_ACEOF
4610#define NO_MATHERR 1 5326#define NO_MATHERR 1
4611EOF 5327_ACEOF
4612 5328
4613fi 5329fi
4614 5330
4615echo "$as_me:4615: checking whether struct tm is in sys/time.h or time.h" >&5 5331echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4616echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5332echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4617if test "${ac_cv_struct_tm+set}" = set; then 5333if test "${ac_cv_struct_tm+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6 5334 echo $ECHO_N "(cached) $ECHO_C" >&6
4619else 5335else
4620 cat >conftest.$ac_ext <<_ACEOF 5336 cat >conftest.$ac_ext <<_ACEOF
4621#line 4621 "configure" 5337#line $LINENO "configure"
4622#include "confdefs.h" 5338#include "confdefs.h"
4623#include <sys/types.h> 5339#include <sys/types.h>
4624#include <time.h> 5340#include <time.h>
4625 5341
5342#ifdef F77_DUMMY_MAIN
5343# ifdef __cplusplus
5344 extern "C"
5345# endif
5346 int F77_DUMMY_MAIN() { return 1; }
5347#endif
4626int 5348int
4627main () 5349main ()
4628{ 5350{
@@ -4632,16 +5354,16 @@ struct tm *tp; tp->tm_sec;
4632} 5354}
4633_ACEOF 5355_ACEOF
4634rm -f conftest.$ac_objext 5356rm -f conftest.$ac_objext
4635if { (eval echo "$as_me:4635: \"$ac_compile\"") >&5 5357if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4636 (eval $ac_compile) 2>&5 5358 (eval $ac_compile) 2>&5
4637 ac_status=$? 5359 ac_status=$?
4638 echo "$as_me:4638: \$? = $ac_status" >&5 5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } && 5361 (exit $ac_status); } &&
4640 { ac_try='test -s conftest.$ac_objext' 5362 { ac_try='test -s conftest.$ac_objext'
4641 { (eval echo "$as_me:4641: \"$ac_try\"") >&5 5363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 (eval $ac_try) 2>&5 5364 (eval $ac_try) 2>&5
4643 ac_status=$? 5365 ac_status=$?
4644 echo "$as_me:4644: \$? = $ac_status" >&5 5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); }; }; then 5367 (exit $ac_status); }; }; then
4646 ac_cv_struct_tm=time.h 5368 ac_cv_struct_tm=time.h
4647else 5369else
@@ -4651,27 +5373,34 @@ ac_cv_struct_tm=sys/time.h
4651fi 5373fi
4652rm -f conftest.$ac_objext conftest.$ac_ext 5374rm -f conftest.$ac_objext conftest.$ac_ext
4653fi 5375fi
4654echo "$as_me:4654: result: $ac_cv_struct_tm" >&5 5376echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4655echo "${ECHO_T}$ac_cv_struct_tm" >&6 5377echo "${ECHO_T}$ac_cv_struct_tm" >&6
4656if test $ac_cv_struct_tm = sys/time.h; then 5378if test $ac_cv_struct_tm = sys/time.h; then
4657 5379
4658cat >>confdefs.h <<\EOF 5380cat >>confdefs.h <<\_ACEOF
4659#define TM_IN_SYS_TIME 1 5381#define TM_IN_SYS_TIME 1
4660EOF 5382_ACEOF
4661 5383
4662fi 5384fi
4663 5385
4664echo "$as_me:4664: checking for struct tm.tm_zone" >&5 5386echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
4665echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 5387echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
4666if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 5388if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6 5389 echo $ECHO_N "(cached) $ECHO_C" >&6
4668else 5390else
4669 cat >conftest.$ac_ext <<_ACEOF 5391 cat >conftest.$ac_ext <<_ACEOF
4670#line 4670 "configure" 5392#line $LINENO "configure"
4671#include "confdefs.h" 5393#include "confdefs.h"
4672#include <sys/types.h> 5394#include <sys/types.h>
4673#include <$ac_cv_struct_tm> 5395#include <$ac_cv_struct_tm>
4674 5396
5397
5398#ifdef F77_DUMMY_MAIN
5399# ifdef __cplusplus
5400 extern "C"
5401# endif
5402 int F77_DUMMY_MAIN() { return 1; }
5403#endif
4675int 5404int
4676main () 5405main ()
4677{ 5406{
@@ -4683,16 +5412,16 @@ return 0;
4683} 5412}
4684_ACEOF 5413_ACEOF
4685rm -f conftest.$ac_objext 5414rm -f conftest.$ac_objext
4686if { (eval echo "$as_me:4686: \"$ac_compile\"") >&5 5415if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4687 (eval $ac_compile) 2>&5 5416 (eval $ac_compile) 2>&5
4688 ac_status=$? 5417 ac_status=$?
4689 echo "$as_me:4689: \$? = $ac_status" >&5 5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } && 5419 (exit $ac_status); } &&
4691 { ac_try='test -s conftest.$ac_objext' 5420 { ac_try='test -s conftest.$ac_objext'
4692 { (eval echo "$as_me:4692: \"$ac_try\"") >&5 5421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693 (eval $ac_try) 2>&5 5422 (eval $ac_try) 2>&5
4694 ac_status=$? 5423 ac_status=$?
4695 echo "$as_me:4695: \$? = $ac_status" >&5 5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then 5425 (exit $ac_status); }; }; then
4697 ac_cv_member_struct_tm_tm_zone=yes 5426 ac_cv_member_struct_tm_tm_zone=yes
4698else 5427else
@@ -4702,36 +5431,43 @@ ac_cv_member_struct_tm_tm_zone=no
4702fi 5431fi
4703rm -f conftest.$ac_objext conftest.$ac_ext 5432rm -f conftest.$ac_objext conftest.$ac_ext
4704fi 5433fi
4705echo "$as_me:4705: result: $ac_cv_member_struct_tm_tm_zone" >&5 5434echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
4706echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 5435echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
4707if test $ac_cv_member_struct_tm_tm_zone = yes; then 5436if test $ac_cv_member_struct_tm_tm_zone = yes; then
4708 5437
4709cat >>confdefs.h <<EOF 5438cat >>confdefs.h <<_ACEOF
4710#define HAVE_STRUCT_TM_TM_ZONE 1 5439#define HAVE_STRUCT_TM_TM_ZONE 1
4711EOF 5440_ACEOF
5441
4712 5442
4713fi 5443fi
4714 5444
4715if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 5445if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
4716 5446
4717cat >>confdefs.h <<\EOF 5447cat >>confdefs.h <<\_ACEOF
4718#define HAVE_TM_ZONE 1 5448#define HAVE_TM_ZONE 1
4719EOF 5449_ACEOF
4720 5450
4721else 5451else
4722 echo "$as_me:4722: checking for tzname" >&5 5452 echo "$as_me:$LINENO: checking for tzname" >&5
4723echo $ECHO_N "checking for tzname... $ECHO_C" >&6 5453echo $ECHO_N "checking for tzname... $ECHO_C" >&6
4724if test "${ac_cv_var_tzname+set}" = set; then 5454if test "${ac_cv_var_tzname+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6 5455 echo $ECHO_N "(cached) $ECHO_C" >&6
4726else 5456else
4727 cat >conftest.$ac_ext <<_ACEOF 5457 cat >conftest.$ac_ext <<_ACEOF
4728#line 4728 "configure" 5458#line $LINENO "configure"
4729#include "confdefs.h" 5459#include "confdefs.h"
4730#include <time.h> 5460#include <time.h>
4731#ifndef tzname /* For SGI. */ 5461#ifndef tzname /* For SGI. */
4732extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 5462extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4733#endif 5463#endif
4734 5464
5465#ifdef F77_DUMMY_MAIN
5466# ifdef __cplusplus
5467 extern "C"
5468# endif
5469 int F77_DUMMY_MAIN() { return 1; }
5470#endif
4735int 5471int
4736main () 5472main ()
4737{ 5473{
@@ -4741,16 +5477,16 @@ atoi(*tzname);
4741} 5477}
4742_ACEOF 5478_ACEOF
4743rm -f conftest.$ac_objext conftest$ac_exeext 5479rm -f conftest.$ac_objext conftest$ac_exeext
4744if { (eval echo "$as_me:4744: \"$ac_link\"") >&5 5480if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4745 (eval $ac_link) 2>&5 5481 (eval $ac_link) 2>&5
4746 ac_status=$? 5482 ac_status=$?
4747 echo "$as_me:4747: \$? = $ac_status" >&5 5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } && 5484 (exit $ac_status); } &&
4749 { ac_try='test -s conftest$ac_exeext' 5485 { ac_try='test -s conftest$ac_exeext'
4750 { (eval echo "$as_me:4750: \"$ac_try\"") >&5 5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 (eval $ac_try) 2>&5 5487 (eval $ac_try) 2>&5
4752 ac_status=$? 5488 ac_status=$?
4753 echo "$as_me:4753: \$? = $ac_status" >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then 5490 (exit $ac_status); }; }; then
4755 ac_cv_var_tzname=yes 5491 ac_cv_var_tzname=yes
4756else 5492else
@@ -4760,27 +5496,33 @@ ac_cv_var_tzname=no
4760fi 5496fi
4761rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5497rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4762fi 5498fi
4763echo "$as_me:4763: result: $ac_cv_var_tzname" >&5 5499echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
4764echo "${ECHO_T}$ac_cv_var_tzname" >&6 5500echo "${ECHO_T}$ac_cv_var_tzname" >&6
4765 if test $ac_cv_var_tzname = yes; then 5501 if test $ac_cv_var_tzname = yes; then
4766 5502
4767cat >>confdefs.h <<\EOF 5503cat >>confdefs.h <<\_ACEOF
4768#define HAVE_TZNAME 1 5504#define HAVE_TZNAME 1
4769EOF 5505_ACEOF
4770 5506
4771 fi 5507 fi
4772fi 5508fi
4773 5509
4774echo "$as_me:4774: checking for struct tm.tm_gmtoff" >&5 5510echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
4775echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 5511echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
4776if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 5512if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6 5513 echo $ECHO_N "(cached) $ECHO_C" >&6
4778else 5514else
4779 cat >conftest.$ac_ext <<_ACEOF 5515 cat >conftest.$ac_ext <<_ACEOF
4780#line 4780 "configure" 5516#line $LINENO "configure"
4781#include "confdefs.h" 5517#include "confdefs.h"
4782#include <time.h> 5518#include <time.h>
4783 5519
5520#ifdef F77_DUMMY_MAIN
5521# ifdef __cplusplus
5522 extern "C"
5523# endif
5524 int F77_DUMMY_MAIN() { return 1; }
5525#endif
4784int 5526int
4785main () 5527main ()
4786{ 5528{
@@ -4792,16 +5534,16 @@ return 0;
4792} 5534}
4793_ACEOF 5535_ACEOF
4794rm -f conftest.$ac_objext 5536rm -f conftest.$ac_objext
4795if { (eval echo "$as_me:4795: \"$ac_compile\"") >&5 5537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4796 (eval $ac_compile) 2>&5 5538 (eval $ac_compile) 2>&5
4797 ac_status=$? 5539 ac_status=$?
4798 echo "$as_me:4798: \$? = $ac_status" >&5 5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } && 5541 (exit $ac_status); } &&
4800 { ac_try='test -s conftest.$ac_objext' 5542 { ac_try='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:4801: \"$ac_try\"") >&5 5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 (eval $ac_try) 2>&5 5544 (eval $ac_try) 2>&5
4803 ac_status=$? 5545 ac_status=$?
4804 echo "$as_me:4804: \$? = $ac_status" >&5 5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then 5547 (exit $ac_status); }; }; then
4806 ac_cv_member_struct_tm_tm_gmtoff=yes 5548 ac_cv_member_struct_tm_tm_gmtoff=yes
4807else 5549else
@@ -4811,17 +5553,19 @@ ac_cv_member_struct_tm_tm_gmtoff=no
4811fi 5553fi
4812rm -f conftest.$ac_objext conftest.$ac_ext 5554rm -f conftest.$ac_objext conftest.$ac_ext
4813fi 5555fi
4814echo "$as_me:4814: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 5556echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
4815echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 5557echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
4816if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 5558if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
4817 5559
4818cat >>confdefs.h <<\EOF 5560cat >>confdefs.h <<\_ACEOF
4819#define HAVE_TM_GMTOFF 1 5561#define HAVE_TM_GMTOFF 1
4820EOF 5562_ACEOF
4821 5563
4822fi 5564fi
4823 5565
4824echo "$as_me:4824: checking for $CC option to accept ANSI C" >&5 5566
5567
5568echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4825echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 5569echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4826if test "${ac_cv_prog_cc_stdc+set}" = set; then 5570if test "${ac_cv_prog_cc_stdc+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6 5571 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4829,7 +5573,7 @@ else
4829 ac_cv_prog_cc_stdc=no 5573 ac_cv_prog_cc_stdc=no
4830ac_save_CC=$CC 5574ac_save_CC=$CC
4831cat >conftest.$ac_ext <<_ACEOF 5575cat >conftest.$ac_ext <<_ACEOF
4832#line 4832 "configure" 5576#line $LINENO "configure"
4833#include "confdefs.h" 5577#include "confdefs.h"
4834#include <stdarg.h> 5578#include <stdarg.h>
4835#include <stdio.h> 5579#include <stdio.h>
@@ -4859,6 +5603,12 @@ struct s2 {int (*f) (double a);};
4859int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5603int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4860int argc; 5604int argc;
4861char **argv; 5605char **argv;
5606#ifdef F77_DUMMY_MAIN
5607# ifdef __cplusplus
5608 extern "C"
5609# endif
5610 int F77_DUMMY_MAIN() { return 1; }
5611#endif
4862int 5612int
4863main () 5613main ()
4864{ 5614{
@@ -4878,16 +5628,16 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
4878do 5628do
4879 CC="$ac_save_CC $ac_arg" 5629 CC="$ac_save_CC $ac_arg"
4880 rm -f conftest.$ac_objext 5630 rm -f conftest.$ac_objext
4881if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5 5631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4882 (eval $ac_compile) 2>&5 5632 (eval $ac_compile) 2>&5
4883 ac_status=$? 5633 ac_status=$?
4884 echo "$as_me:4884: \$? = $ac_status" >&5 5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } && 5635 (exit $ac_status); } &&
4886 { ac_try='test -s conftest.$ac_objext' 5636 { ac_try='test -s conftest.$ac_objext'
4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5 5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 (eval $ac_try) 2>&5 5638 (eval $ac_try) 2>&5
4889 ac_status=$? 5639 ac_status=$?
4890 echo "$as_me:4890: \$? = $ac_status" >&5 5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; }; then 5641 (exit $ac_status); }; }; then
4892 ac_cv_prog_cc_stdc=$ac_arg 5642 ac_cv_prog_cc_stdc=$ac_arg
4893break 5643break
@@ -4904,38 +5654,49 @@ fi
4904 5654
4905case "x$ac_cv_prog_cc_stdc" in 5655case "x$ac_cv_prog_cc_stdc" in
4906 x|xno) 5656 x|xno)
4907 echo "$as_me:4907: result: none needed" >&5 5657 echo "$as_me:$LINENO: result: none needed" >&5
4908echo "${ECHO_T}none needed" >&6 ;; 5658echo "${ECHO_T}none needed" >&6 ;;
4909 *) 5659 *)
4910 echo "$as_me:4910: result: $ac_cv_prog_cc_stdc" >&5 5660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4911echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5661echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4912 CC="$CC $ac_cv_prog_cc_stdc" ;; 5662 CC="$CC $ac_cv_prog_cc_stdc" ;;
4913esac 5663esac
4914 5664
4915echo "$as_me:4915: checking for function prototypes" >&5 5665echo "$as_me:$LINENO: checking for function prototypes" >&5
4916echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5666echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4917if test "$ac_cv_prog_cc_stdc" != no; then 5667if test "$ac_cv_prog_cc_stdc" != no; then
4918 echo "$as_me:4918: result: yes" >&5 5668 echo "$as_me:$LINENO: result: yes" >&5
4919echo "${ECHO_T}yes" >&6 5669echo "${ECHO_T}yes" >&6
4920 5670
4921cat >>confdefs.h <<\EOF 5671cat >>confdefs.h <<\_ACEOF
4922#define PROTOTYPES 1 5672#define PROTOTYPES 1
4923EOF 5673_ACEOF
5674
5675
5676cat >>confdefs.h <<\_ACEOF
5677#define __PROTOTYPES 1
5678_ACEOF
4924 5679
4925else 5680else
4926 echo "$as_me:4926: result: no" >&5 5681 echo "$as_me:$LINENO: result: no" >&5
4927echo "${ECHO_T}no" >&6 5682echo "${ECHO_T}no" >&6
4928fi 5683fi
4929 5684
4930echo "$as_me:4930: checking for working volatile" >&5 5685echo "$as_me:$LINENO: checking for working volatile" >&5
4931echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 5686echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4932if test "${ac_cv_c_volatile+set}" = set; then 5687if test "${ac_cv_c_volatile+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6 5688 echo $ECHO_N "(cached) $ECHO_C" >&6
4934else 5689else
4935 cat >conftest.$ac_ext <<_ACEOF 5690 cat >conftest.$ac_ext <<_ACEOF
4936#line 4936 "configure" 5691#line $LINENO "configure"
4937#include "confdefs.h" 5692#include "confdefs.h"
4938 5693
5694#ifdef F77_DUMMY_MAIN
5695# ifdef __cplusplus
5696 extern "C"
5697# endif
5698 int F77_DUMMY_MAIN() { return 1; }
5699#endif
4939int 5700int
4940main () 5701main ()
4941{ 5702{
@@ -4947,16 +5708,16 @@ int * volatile y;
4947} 5708}
4948_ACEOF 5709_ACEOF
4949rm -f conftest.$ac_objext 5710rm -f conftest.$ac_objext
4950if { (eval echo "$as_me:4950: \"$ac_compile\"") >&5 5711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>&5 5712 (eval $ac_compile) 2>&5
4952 ac_status=$? 5713 ac_status=$?
4953 echo "$as_me:4953: \$? = $ac_status" >&5 5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } && 5715 (exit $ac_status); } &&
4955 { ac_try='test -s conftest.$ac_objext' 5716 { ac_try='test -s conftest.$ac_objext'
4956 { (eval echo "$as_me:4956: \"$ac_try\"") >&5 5717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 (eval $ac_try) 2>&5 5718 (eval $ac_try) 2>&5
4958 ac_status=$? 5719 ac_status=$?
4959 echo "$as_me:4959: \$? = $ac_status" >&5 5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then 5721 (exit $ac_status); }; }; then
4961 ac_cv_c_volatile=yes 5722 ac_cv_c_volatile=yes
4962else 5723else
@@ -4966,25 +5727,31 @@ ac_cv_c_volatile=no
4966fi 5727fi
4967rm -f conftest.$ac_objext conftest.$ac_ext 5728rm -f conftest.$ac_objext conftest.$ac_ext
4968fi 5729fi
4969echo "$as_me:4969: result: $ac_cv_c_volatile" >&5 5730echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4970echo "${ECHO_T}$ac_cv_c_volatile" >&6 5731echo "${ECHO_T}$ac_cv_c_volatile" >&6
4971if test $ac_cv_c_volatile = no; then 5732if test $ac_cv_c_volatile = no; then
4972 5733
4973cat >>confdefs.h <<\EOF 5734cat >>confdefs.h <<\_ACEOF
4974#define volatile 5735#define volatile
4975EOF 5736_ACEOF
4976 5737
4977fi 5738fi
4978 5739
4979echo "$as_me:4979: checking for an ANSI C-conforming const" >&5 5740echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4980echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5741echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4981if test "${ac_cv_c_const+set}" = set; then 5742if test "${ac_cv_c_const+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6 5743 echo $ECHO_N "(cached) $ECHO_C" >&6
4983else 5744else
4984 cat >conftest.$ac_ext <<_ACEOF 5745 cat >conftest.$ac_ext <<_ACEOF
4985#line 4985 "configure" 5746#line $LINENO "configure"
4986#include "confdefs.h" 5747#include "confdefs.h"
4987 5748
5749#ifdef F77_DUMMY_MAIN
5750# ifdef __cplusplus
5751 extern "C"
5752# endif
5753 int F77_DUMMY_MAIN() { return 1; }
5754#endif
4988int 5755int
4989main () 5756main ()
4990{ 5757{
@@ -5040,16 +5807,16 @@ main ()
5040} 5807}
5041_ACEOF 5808_ACEOF
5042rm -f conftest.$ac_objext 5809rm -f conftest.$ac_objext
5043if { (eval echo "$as_me:5043: \"$ac_compile\"") >&5 5810if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5044 (eval $ac_compile) 2>&5 5811 (eval $ac_compile) 2>&5
5045 ac_status=$? 5812 ac_status=$?
5046 echo "$as_me:5046: \$? = $ac_status" >&5 5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } && 5814 (exit $ac_status); } &&
5048 { ac_try='test -s conftest.$ac_objext' 5815 { ac_try='test -s conftest.$ac_objext'
5049 { (eval echo "$as_me:5049: \"$ac_try\"") >&5 5816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 (eval $ac_try) 2>&5 5817 (eval $ac_try) 2>&5
5051 ac_status=$? 5818 ac_status=$?
5052 echo "$as_me:5052: \$? = $ac_status" >&5 5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; }; then 5820 (exit $ac_status); }; }; then
5054 ac_cv_c_const=yes 5821 ac_cv_c_const=yes
5055else 5822else
@@ -5059,25 +5826,31 @@ ac_cv_c_const=no
5059fi 5826fi
5060rm -f conftest.$ac_objext conftest.$ac_ext 5827rm -f conftest.$ac_objext conftest.$ac_ext
5061fi 5828fi
5062echo "$as_me:5062: result: $ac_cv_c_const" >&5 5829echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5063echo "${ECHO_T}$ac_cv_c_const" >&6 5830echo "${ECHO_T}$ac_cv_c_const" >&6
5064if test $ac_cv_c_const = no; then 5831if test $ac_cv_c_const = no; then
5065 5832
5066cat >>confdefs.h <<\EOF 5833cat >>confdefs.h <<\_ACEOF
5067#define const 5834#define const
5068EOF 5835_ACEOF
5069 5836
5070fi 5837fi
5071 5838
5072echo "$as_me:5072: checking for void * support" >&5 5839echo "$as_me:$LINENO: checking for void * support" >&5
5073echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5840echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5074if test "${emacs_cv_void_star+set}" = set; then 5841if test "${emacs_cv_void_star+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6 5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5076else 5843else
5077 cat >conftest.$ac_ext <<_ACEOF 5844 cat >conftest.$ac_ext <<_ACEOF
5078#line 5078 "configure" 5845#line $LINENO "configure"
5079#include "confdefs.h" 5846#include "confdefs.h"
5080 5847
5848#ifdef F77_DUMMY_MAIN
5849# ifdef __cplusplus
5850 extern "C"
5851# endif
5852 int F77_DUMMY_MAIN() { return 1; }
5853#endif
5081int 5854int
5082main () 5855main ()
5083{ 5856{
@@ -5087,16 +5860,16 @@ void * foo;
5087} 5860}
5088_ACEOF 5861_ACEOF
5089rm -f conftest.$ac_objext 5862rm -f conftest.$ac_objext
5090if { (eval echo "$as_me:5090: \"$ac_compile\"") >&5 5863if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>&5 5864 (eval $ac_compile) 2>&5
5092 ac_status=$? 5865 ac_status=$?
5093 echo "$as_me:5093: \$? = $ac_status" >&5 5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } && 5867 (exit $ac_status); } &&
5095 { ac_try='test -s conftest.$ac_objext' 5868 { ac_try='test -s conftest.$ac_objext'
5096 { (eval echo "$as_me:5096: \"$ac_try\"") >&5 5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 (eval $ac_try) 2>&5 5870 (eval $ac_try) 2>&5
5098 ac_status=$? 5871 ac_status=$?
5099 echo "$as_me:5099: \$? = $ac_status" >&5 5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); }; }; then 5873 (exit $ac_status); }; }; then
5101 emacs_cv_void_star=yes 5874 emacs_cv_void_star=yes
5102else 5875else
@@ -5106,30 +5879,31 @@ emacs_cv_void_star=no
5106fi 5879fi
5107rm -f conftest.$ac_objext conftest.$ac_ext 5880rm -f conftest.$ac_objext conftest.$ac_ext
5108fi 5881fi
5109echo "$as_me:5109: result: $emacs_cv_void_star" >&5 5882echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
5110echo "${ECHO_T}$emacs_cv_void_star" >&6 5883echo "${ECHO_T}$emacs_cv_void_star" >&6
5111if test $emacs_cv_void_star = yes; then 5884if test $emacs_cv_void_star = yes; then
5112 cat >>confdefs.h <<\EOF 5885 cat >>confdefs.h <<\_ACEOF
5113#define POINTER_TYPE void 5886#define POINTER_TYPE void
5114EOF 5887_ACEOF
5115 5888
5116else 5889else
5117 cat >>confdefs.h <<\EOF 5890 cat >>confdefs.h <<\_ACEOF
5118#define POINTER_TYPE char 5891#define POINTER_TYPE char
5119EOF 5892_ACEOF
5120 5893
5121fi 5894fi
5122 5895
5123echo "$as_me:5123: checking whether ${MAKE-make} sets \${MAKE}" >&5 5896
5897echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
5124echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5898echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5125set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5899set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5126if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5900if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6 5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5128else 5902else
5129 cat >conftest.make <<\EOF 5903 cat >conftest.make <<\_ACEOF
5130all: 5904all:
5131 @echo 'ac_maketemp="${MAKE}"' 5905 @echo 'ac_maketemp="${MAKE}"'
5132EOF 5906_ACEOF
5133# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5907# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5134eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 5908eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5135if test -n "$ac_maketemp"; then 5909if test -n "$ac_maketemp"; then
@@ -5140,16 +5914,17 @@ fi
5140rm -f conftest.make 5914rm -f conftest.make
5141fi 5915fi
5142if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5916if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5143 echo "$as_me:5143: result: yes" >&5 5917 echo "$as_me:$LINENO: result: yes" >&5
5144echo "${ECHO_T}yes" >&6 5918echo "${ECHO_T}yes" >&6
5145 SET_MAKE= 5919 SET_MAKE=
5146else 5920else
5147 echo "$as_me:5147: result: no" >&5 5921 echo "$as_me:$LINENO: result: no" >&5
5148echo "${ECHO_T}no" >&6 5922echo "${ECHO_T}no" >&6
5149 SET_MAKE="MAKE=${MAKE-make}" 5923 SET_MAKE="MAKE=${MAKE-make}"
5150fi 5924fi
5151 5925
5152echo "$as_me:5152: checking for long file names" >&5 5926
5927echo "$as_me:$LINENO: checking for long file names" >&5
5153echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5928echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5154if test "${ac_cv_sys_long_file_names+set}" = set; then 5929if test "${ac_cv_sys_long_file_names+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6 5930 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5188,21 +5963,23 @@ for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
5188 rm -rf $ac_xdir 2>/dev/null 5963 rm -rf $ac_xdir 2>/dev/null
5189done 5964done
5190fi 5965fi
5191echo "$as_me:5191: result: $ac_cv_sys_long_file_names" >&5 5966echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
5192echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5967echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
5193if test $ac_cv_sys_long_file_names = yes; then 5968if test $ac_cv_sys_long_file_names = yes; then
5194 5969
5195cat >>confdefs.h <<\EOF 5970cat >>confdefs.h <<\_ACEOF
5196#define HAVE_LONG_FILE_NAMES 1 5971#define HAVE_LONG_FILE_NAMES 1
5197EOF 5972_ACEOF
5198 5973
5199fi 5974fi
5200 5975
5976
5201#### Choose a window system. 5977#### Choose a window system.
5202 5978
5203echo "$as_me:5203: checking for X" >&5 5979echo "$as_me:$LINENO: checking for X" >&5
5204echo $ECHO_N "checking for X... $ECHO_C" >&6 5980echo $ECHO_N "checking for X... $ECHO_C" >&6
5205 5981
5982
5206# Check whether --with-x or --without-x was given. 5983# Check whether --with-x or --without-x was given.
5207if test "${with_x+set}" = set; then 5984if test "${with_x+set}" = set; then
5208 withval="$with_x" 5985 withval="$with_x"
@@ -5226,10 +6003,10 @@ rm -fr conftest.dir
5226if mkdir conftest.dir; then 6003if mkdir conftest.dir; then
5227 cd conftest.dir 6004 cd conftest.dir
5228 # Make sure to not put "make" in the Imakefile rules, since we grep it out. 6005 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5229 cat >Imakefile <<'EOF' 6006 cat >Imakefile <<'_ACEOF'
5230acfindx: 6007acfindx:
5231 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 6008 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5232EOF 6009_ACEOF
5233 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then 6010 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
5234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6011 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5235 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 6012 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
@@ -5297,17 +6074,17 @@ if test "$ac_x_includes" = no; then
5297 # Guess where to find include files, by looking for Intrinsic.h. 6074 # Guess where to find include files, by looking for Intrinsic.h.
5298 # First, try using that file with no special directory specified. 6075 # First, try using that file with no special directory specified.
5299 cat >conftest.$ac_ext <<_ACEOF 6076 cat >conftest.$ac_ext <<_ACEOF
5300#line 5300 "configure" 6077#line $LINENO "configure"
5301#include "confdefs.h" 6078#include "confdefs.h"
5302#include <X11/Intrinsic.h> 6079#include <X11/Intrinsic.h>
5303_ACEOF 6080_ACEOF
5304if { (eval echo "$as_me:5304: \"$ac_cpp conftest.$ac_ext\"") >&5 6081if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306 ac_status=$? 6083 ac_status=$?
5307 egrep -v '^ *\+' conftest.er1 >conftest.err 6084 egrep -v '^ *\+' conftest.er1 >conftest.err
5308 rm -f conftest.er1 6085 rm -f conftest.er1
5309 cat conftest.err >&5 6086 cat conftest.err >&5
5310 echo "$as_me:5310: \$? = $ac_status" >&5 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev/null; then 6088 (exit $ac_status); } >/dev/null; then
5312 if test -s conftest.err; then 6089 if test -s conftest.err; then
5313 ac_cpp_err=$ac_c_preproc_warn_flag 6090 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -5340,9 +6117,15 @@ if test "$ac_x_libraries" = no; then
5340 ac_save_LIBS=$LIBS 6117 ac_save_LIBS=$LIBS
5341 LIBS="-lXt $LIBS" 6118 LIBS="-lXt $LIBS"
5342 cat >conftest.$ac_ext <<_ACEOF 6119 cat >conftest.$ac_ext <<_ACEOF
5343#line 5343 "configure" 6120#line $LINENO "configure"
5344#include "confdefs.h" 6121#include "confdefs.h"
5345#include <X11/Intrinsic.h> 6122#include <X11/Intrinsic.h>
6123#ifdef F77_DUMMY_MAIN
6124# ifdef __cplusplus
6125 extern "C"
6126# endif
6127 int F77_DUMMY_MAIN() { return 1; }
6128#endif
5346int 6129int
5347main () 6130main ()
5348{ 6131{
@@ -5352,16 +6135,16 @@ XtMalloc (0)
5352} 6135}
5353_ACEOF 6136_ACEOF
5354rm -f conftest.$ac_objext conftest$ac_exeext 6137rm -f conftest.$ac_objext conftest$ac_exeext
5355if { (eval echo "$as_me:5355: \"$ac_link\"") >&5 6138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5356 (eval $ac_link) 2>&5 6139 (eval $ac_link) 2>&5
5357 ac_status=$? 6140 ac_status=$?
5358 echo "$as_me:5358: \$? = $ac_status" >&5 6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } && 6142 (exit $ac_status); } &&
5360 { ac_try='test -s conftest$ac_exeext' 6143 { ac_try='test -s conftest$ac_exeext'
5361 { (eval echo "$as_me:5361: \"$ac_try\"") >&5 6144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 (eval $ac_try) 2>&5 6145 (eval $ac_try) 2>&5
5363 ac_status=$? 6146 ac_status=$?
5364 echo "$as_me:5364: \$? = $ac_status" >&5 6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); }; }; then 6148 (exit $ac_status); }; }; then
5366 LIBS=$ac_save_LIBS 6149 LIBS=$ac_save_LIBS
5367# We can link X programs with no special library path. 6150# We can link X programs with no special library path.
@@ -5399,7 +6182,7 @@ fi
5399fi # $with_x != no 6182fi # $with_x != no
5400 6183
5401if test "$have_x" != yes; then 6184if test "$have_x" != yes; then
5402 echo "$as_me:5402: result: $have_x" >&5 6185 echo "$as_me:$LINENO: result: $have_x" >&5
5403echo "${ECHO_T}$have_x" >&6 6186echo "${ECHO_T}$have_x" >&6
5404 no_x=yes 6187 no_x=yes
5405else 6188else
@@ -5409,7 +6192,7 @@ else
5409 # Update the cache value to reflect the command line values. 6192 # Update the cache value to reflect the command line values.
5410 ac_cv_have_x="have_x=yes \ 6193 ac_cv_have_x="have_x=yes \
5411 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 6194 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5412 echo "$as_me:5412: result: libraries $x_libraries, headers $x_includes" >&5 6195 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5413echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 6196echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5414fi 6197fi
5415 6198
@@ -5507,13 +6290,13 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
5507# Assume not, until told otherwise. 6290# Assume not, until told otherwise.
5508GNU_MALLOC=yes 6291GNU_MALLOC=yes
5509doug_lea_malloc=yes 6292doug_lea_malloc=yes
5510echo "$as_me:5510: checking for malloc_get_state" >&5 6293echo "$as_me:$LINENO: checking for malloc_get_state" >&5
5511echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 6294echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
5512if test "${ac_cv_func_malloc_get_state+set}" = set; then 6295if test "${ac_cv_func_malloc_get_state+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6 6296 echo $ECHO_N "(cached) $ECHO_C" >&6
5514else 6297else
5515 cat >conftest.$ac_ext <<_ACEOF 6298 cat >conftest.$ac_ext <<_ACEOF
5516#line 5516 "configure" 6299#line $LINENO "configure"
5517#include "confdefs.h" 6300#include "confdefs.h"
5518/* System header to define __stub macros and hopefully few prototypes, 6301/* System header to define __stub macros and hopefully few prototypes,
5519 which can conflict with char malloc_get_state (); below. */ 6302 which can conflict with char malloc_get_state (); below. */
@@ -5527,6 +6310,12 @@ extern "C"
5527char malloc_get_state (); 6310char malloc_get_state ();
5528char (*f) (); 6311char (*f) ();
5529 6312
6313#ifdef F77_DUMMY_MAIN
6314# ifdef __cplusplus
6315 extern "C"
6316# endif
6317 int F77_DUMMY_MAIN() { return 1; }
6318#endif
5530int 6319int
5531main () 6320main ()
5532{ 6321{
@@ -5544,16 +6333,16 @@ f = malloc_get_state;
5544} 6333}
5545_ACEOF 6334_ACEOF
5546rm -f conftest.$ac_objext conftest$ac_exeext 6335rm -f conftest.$ac_objext conftest$ac_exeext
5547if { (eval echo "$as_me:5547: \"$ac_link\"") >&5 6336if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5548 (eval $ac_link) 2>&5 6337 (eval $ac_link) 2>&5
5549 ac_status=$? 6338 ac_status=$?
5550 echo "$as_me:5550: \$? = $ac_status" >&5 6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && 6340 (exit $ac_status); } &&
5552 { ac_try='test -s conftest$ac_exeext' 6341 { ac_try='test -s conftest$ac_exeext'
5553 { (eval echo "$as_me:5553: \"$ac_try\"") >&5 6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 (eval $ac_try) 2>&5 6343 (eval $ac_try) 2>&5
5555 ac_status=$? 6344 ac_status=$?
5556 echo "$as_me:5556: \$? = $ac_status" >&5 6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; }; then 6346 (exit $ac_status); }; }; then
5558 ac_cv_func_malloc_get_state=yes 6347 ac_cv_func_malloc_get_state=yes
5559else 6348else
@@ -5563,7 +6352,7 @@ ac_cv_func_malloc_get_state=no
5563fi 6352fi
5564rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6353rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5565fi 6354fi
5566echo "$as_me:5566: result: $ac_cv_func_malloc_get_state" >&5 6355echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
5567echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 6356echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
5568if test $ac_cv_func_malloc_get_state = yes; then 6357if test $ac_cv_func_malloc_get_state = yes; then
5569 : 6358 :
@@ -5571,13 +6360,13 @@ else
5571 doug_lea_malloc=no 6360 doug_lea_malloc=no
5572fi 6361fi
5573 6362
5574echo "$as_me:5574: checking for malloc_set_state" >&5 6363echo "$as_me:$LINENO: checking for malloc_set_state" >&5
5575echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 6364echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
5576if test "${ac_cv_func_malloc_set_state+set}" = set; then 6365if test "${ac_cv_func_malloc_set_state+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6 6366 echo $ECHO_N "(cached) $ECHO_C" >&6
5578else 6367else
5579 cat >conftest.$ac_ext <<_ACEOF 6368 cat >conftest.$ac_ext <<_ACEOF
5580#line 5580 "configure" 6369#line $LINENO "configure"
5581#include "confdefs.h" 6370#include "confdefs.h"
5582/* System header to define __stub macros and hopefully few prototypes, 6371/* System header to define __stub macros and hopefully few prototypes,
5583 which can conflict with char malloc_set_state (); below. */ 6372 which can conflict with char malloc_set_state (); below. */
@@ -5591,6 +6380,12 @@ extern "C"
5591char malloc_set_state (); 6380char malloc_set_state ();
5592char (*f) (); 6381char (*f) ();
5593 6382
6383#ifdef F77_DUMMY_MAIN
6384# ifdef __cplusplus
6385 extern "C"
6386# endif
6387 int F77_DUMMY_MAIN() { return 1; }
6388#endif
5594int 6389int
5595main () 6390main ()
5596{ 6391{
@@ -5608,16 +6403,16 @@ f = malloc_set_state;
5608} 6403}
5609_ACEOF 6404_ACEOF
5610rm -f conftest.$ac_objext conftest$ac_exeext 6405rm -f conftest.$ac_objext conftest$ac_exeext
5611if { (eval echo "$as_me:5611: \"$ac_link\"") >&5 6406if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5612 (eval $ac_link) 2>&5 6407 (eval $ac_link) 2>&5
5613 ac_status=$? 6408 ac_status=$?
5614 echo "$as_me:5614: \$? = $ac_status" >&5 6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } && 6410 (exit $ac_status); } &&
5616 { ac_try='test -s conftest$ac_exeext' 6411 { ac_try='test -s conftest$ac_exeext'
5617 { (eval echo "$as_me:5617: \"$ac_try\"") >&5 6412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 (eval $ac_try) 2>&5 6413 (eval $ac_try) 2>&5
5619 ac_status=$? 6414 ac_status=$?
5620 echo "$as_me:5620: \$? = $ac_status" >&5 6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; }; then 6416 (exit $ac_status); }; }; then
5622 ac_cv_func_malloc_set_state=yes 6417 ac_cv_func_malloc_set_state=yes
5623else 6418else
@@ -5627,7 +6422,7 @@ ac_cv_func_malloc_set_state=no
5627fi 6422fi
5628rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6423rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5629fi 6424fi
5630echo "$as_me:5630: result: $ac_cv_func_malloc_set_state" >&5 6425echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
5631echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 6426echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
5632if test $ac_cv_func_malloc_set_state = yes; then 6427if test $ac_cv_func_malloc_set_state = yes; then
5633 : 6428 :
@@ -5635,15 +6430,21 @@ else
5635 doug_lea_malloc=no 6430 doug_lea_malloc=no
5636fi 6431fi
5637 6432
5638echo "$as_me:5638: checking whether __after_morecore_hook exists" >&5 6433echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
5639echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 6434echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
5640if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 6435if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6 6436 echo $ECHO_N "(cached) $ECHO_C" >&6
5642else 6437else
5643 cat >conftest.$ac_ext <<_ACEOF 6438 cat >conftest.$ac_ext <<_ACEOF
5644#line 5644 "configure" 6439#line $LINENO "configure"
5645#include "confdefs.h" 6440#include "confdefs.h"
5646extern void (* __after_morecore_hook)(); 6441extern void (* __after_morecore_hook)();
6442#ifdef F77_DUMMY_MAIN
6443# ifdef __cplusplus
6444 extern "C"
6445# endif
6446 int F77_DUMMY_MAIN() { return 1; }
6447#endif
5647int 6448int
5648main () 6449main ()
5649{ 6450{
@@ -5653,16 +6454,16 @@ __after_morecore_hook = 0
5653} 6454}
5654_ACEOF 6455_ACEOF
5655rm -f conftest.$ac_objext conftest$ac_exeext 6456rm -f conftest.$ac_objext conftest$ac_exeext
5656if { (eval echo "$as_me:5656: \"$ac_link\"") >&5 6457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5657 (eval $ac_link) 2>&5 6458 (eval $ac_link) 2>&5
5658 ac_status=$? 6459 ac_status=$?
5659 echo "$as_me:5659: \$? = $ac_status" >&5 6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } && 6461 (exit $ac_status); } &&
5661 { ac_try='test -s conftest$ac_exeext' 6462 { ac_try='test -s conftest$ac_exeext'
5662 { (eval echo "$as_me:5662: \"$ac_try\"") >&5 6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663 (eval $ac_try) 2>&5 6464 (eval $ac_try) 2>&5
5664 ac_status=$? 6465 ac_status=$?
5665 echo "$as_me:5665: \$? = $ac_status" >&5 6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then 6467 (exit $ac_status); }; }; then
5667 emacs_cv_var___after_morecore_hook=yes 6468 emacs_cv_var___after_morecore_hook=yes
5668else 6469else
@@ -5672,7 +6473,7 @@ emacs_cv_var___after_morecore_hook=no
5672fi 6473fi
5673rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6474rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5674fi 6475fi
5675echo "$as_me:5675: result: $emacs_cv_var___after_morecore_hook" >&5 6476echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
5676echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 6477echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
5677if test $emacs_cv_var___after_morecore_hook = no; then 6478if test $emacs_cv_var___after_morecore_hook = no; then
5678 doug_lea_malloc=no 6479 doug_lea_malloc=no
@@ -5688,9 +6489,9 @@ if test "$doug_lea_malloc" = "yes" ; then
5688 (Using Doug Lea's new malloc from the GNU C Library.)" 6489 (Using Doug Lea's new malloc from the GNU C Library.)"
5689 fi 6490 fi
5690 6491
5691cat >>confdefs.h <<\EOF 6492cat >>confdefs.h <<\_ACEOF
5692#define DOUG_LEA_MALLOC 1 6493#define DOUG_LEA_MALLOC 1
5693EOF 6494_ACEOF
5694 6495
5695fi 6496fi
5696 6497
@@ -5698,73 +6499,67 @@ if test x"${REL_ALLOC}" = x; then
5698 REL_ALLOC=${GNU_MALLOC} 6499 REL_ALLOC=${GNU_MALLOC}
5699fi 6500fi
5700 6501
5701# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5702 6502
5703for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6503
5704 inttypes.h stdint.h unistd.h 6504
6505for ac_header in stdlib.h unistd.h
5705do 6506do
5706as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6507as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5707echo "$as_me:5707: checking for $ac_header" >&5 6508if eval "test \"\${$as_ac_Header+set}\" = set"; then
6509 echo "$as_me:$LINENO: checking for $ac_header" >&5
5708echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6510echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5709if eval "test \"\${$as_ac_Header+set}\" = set"; then 6511if eval "test \"\${$as_ac_Header+set}\" = set"; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6 6512 echo $ECHO_N "(cached) $ECHO_C" >&6
6513fi
6514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6515echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5711else 6516else
5712 cat >conftest.$ac_ext <<_ACEOF 6517 # Is the header compilable?
5713#line 5713 "configure" 6518echo "$as_me:$LINENO: checking $ac_header usability" >&5
6519echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6520cat >conftest.$ac_ext <<_ACEOF
6521#line $LINENO "configure"
5714#include "confdefs.h" 6522#include "confdefs.h"
5715$ac_includes_default 6523$ac_includes_default
5716#include <$ac_header> 6524#include <$ac_header>
5717_ACEOF 6525_ACEOF
5718rm -f conftest.$ac_objext 6526rm -f conftest.$ac_objext
5719if { (eval echo "$as_me:5719: \"$ac_compile\"") >&5 6527if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5720 (eval $ac_compile) 2>&5 6528 (eval $ac_compile) 2>&5
5721 ac_status=$? 6529 ac_status=$?
5722 echo "$as_me:5722: \$? = $ac_status" >&5 6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } && 6531 (exit $ac_status); } &&
5724 { ac_try='test -s conftest.$ac_objext' 6532 { ac_try='test -s conftest.$ac_objext'
5725 { (eval echo "$as_me:5725: \"$ac_try\"") >&5 6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5726 (eval $ac_try) 2>&5 6534 (eval $ac_try) 2>&5
5727 ac_status=$? 6535 ac_status=$?
5728 echo "$as_me:5728: \$? = $ac_status" >&5 6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; }; then 6537 (exit $ac_status); }; }; then
5730 eval "$as_ac_Header=yes" 6538 ac_header_compiler=yes
5731else 6539else
5732 echo "$as_me: failed program was:" >&5 6540 echo "$as_me: failed program was:" >&5
5733cat conftest.$ac_ext >&5 6541cat conftest.$ac_ext >&5
5734eval "$as_ac_Header=no" 6542ac_header_compiler=no
5735fi 6543fi
5736rm -f conftest.$ac_objext conftest.$ac_ext 6544rm -f conftest.$ac_objext conftest.$ac_ext
5737fi 6545echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5738echo "$as_me:5738: result: `eval echo '${'$as_ac_Header'}'`" >&5 6546echo "${ECHO_T}$ac_header_compiler" >&6
5739echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5740if test `eval echo '${'$as_ac_Header'}'` = yes; then
5741 cat >>confdefs.h <<EOF
5742#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5743EOF
5744 6547
5745fi 6548# Is the header present?
5746done 6549echo "$as_me:$LINENO: checking $ac_header presence" >&5
5747 6550echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5748for ac_header in stdlib.h unistd.h 6551cat >conftest.$ac_ext <<_ACEOF
5749do 6552#line $LINENO "configure"
5750as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5751echo "$as_me:5751: checking for $ac_header" >&5
5752echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5753if eval "test \"\${$as_ac_Header+set}\" = set"; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5755else
5756 cat >conftest.$ac_ext <<_ACEOF
5757#line 5757 "configure"
5758#include "confdefs.h" 6553#include "confdefs.h"
5759#include <$ac_header> 6554#include <$ac_header>
5760_ACEOF 6555_ACEOF
5761if { (eval echo "$as_me:5761: \"$ac_cpp conftest.$ac_ext\"") >&5 6556if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5763 ac_status=$? 6558 ac_status=$?
5764 egrep -v '^ *\+' conftest.er1 >conftest.err 6559 egrep -v '^ *\+' conftest.er1 >conftest.err
5765 rm -f conftest.er1 6560 rm -f conftest.er1
5766 cat conftest.err >&5 6561 cat conftest.err >&5
5767 echo "$as_me:5767: \$? = $ac_status" >&5 6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } >/dev/null; then 6563 (exit $ac_status); } >/dev/null; then
5769 if test -s conftest.err; then 6564 if test -s conftest.err; then
5770 ac_cpp_err=$ac_c_preproc_warn_flag 6565 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -5775,34 +6570,62 @@ else
5775 ac_cpp_err=yes 6570 ac_cpp_err=yes
5776fi 6571fi
5777if test -z "$ac_cpp_err"; then 6572if test -z "$ac_cpp_err"; then
5778 eval "$as_ac_Header=yes" 6573 ac_header_preproc=yes
5779else 6574else
5780 echo "$as_me: failed program was:" >&5 6575 echo "$as_me: failed program was:" >&5
5781 cat conftest.$ac_ext >&5 6576 cat conftest.$ac_ext >&5
5782 eval "$as_ac_Header=no" 6577 ac_header_preproc=no
5783fi 6578fi
5784rm -f conftest.err conftest.$ac_ext 6579rm -f conftest.err conftest.$ac_ext
6580echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6581echo "${ECHO_T}$ac_header_preproc" >&6
6582
6583# So? What about this header?
6584case $ac_header_compiler:$ac_header_preproc in
6585 yes:no )
6586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6587echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6589echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6590 no:yes )
6591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6592echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6594echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6596echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6597esac
6598echo "$as_me:$LINENO: checking for $ac_header" >&5
6599echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6600if eval "test \"\${$as_ac_Header+set}\" = set"; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6602else
6603 eval "$as_ac_Header=$ac_header_preproc"
5785fi 6604fi
5786echo "$as_me:5786: result: `eval echo '${'$as_ac_Header'}'`" >&5 6605echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5787echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6606echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6607
6608fi
5788if test `eval echo '${'$as_ac_Header'}'` = yes; then 6609if test `eval echo '${'$as_ac_Header'}'` = yes; then
5789 cat >>confdefs.h <<EOF 6610 cat >>confdefs.h <<_ACEOF
5790#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6611#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5791EOF 6612_ACEOF
5792 6613
5793fi 6614fi
6615
5794done 6616done
5795 6617
6618
5796for ac_func in getpagesize 6619for ac_func in getpagesize
5797do 6620do
5798as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6621as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5799echo "$as_me:5799: checking for $ac_func" >&5 6622echo "$as_me:$LINENO: checking for $ac_func" >&5
5800echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6623echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5801if eval "test \"\${$as_ac_var+set}\" = set"; then 6624if eval "test \"\${$as_ac_var+set}\" = set"; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6 6625 echo $ECHO_N "(cached) $ECHO_C" >&6
5803else 6626else
5804 cat >conftest.$ac_ext <<_ACEOF 6627 cat >conftest.$ac_ext <<_ACEOF
5805#line 5805 "configure" 6628#line $LINENO "configure"
5806#include "confdefs.h" 6629#include "confdefs.h"
5807/* System header to define __stub macros and hopefully few prototypes, 6630/* System header to define __stub macros and hopefully few prototypes,
5808 which can conflict with char $ac_func (); below. */ 6631 which can conflict with char $ac_func (); below. */
@@ -5816,6 +6639,12 @@ extern "C"
5816char $ac_func (); 6639char $ac_func ();
5817char (*f) (); 6640char (*f) ();
5818 6641
6642#ifdef F77_DUMMY_MAIN
6643# ifdef __cplusplus
6644 extern "C"
6645# endif
6646 int F77_DUMMY_MAIN() { return 1; }
6647#endif
5819int 6648int
5820main () 6649main ()
5821{ 6650{
@@ -5833,16 +6662,16 @@ f = $ac_func;
5833} 6662}
5834_ACEOF 6663_ACEOF
5835rm -f conftest.$ac_objext conftest$ac_exeext 6664rm -f conftest.$ac_objext conftest$ac_exeext
5836if { (eval echo "$as_me:5836: \"$ac_link\"") >&5 6665if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5837 (eval $ac_link) 2>&5 6666 (eval $ac_link) 2>&5
5838 ac_status=$? 6667 ac_status=$?
5839 echo "$as_me:5839: \$? = $ac_status" >&5 6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && 6669 (exit $ac_status); } &&
5841 { ac_try='test -s conftest$ac_exeext' 6670 { ac_try='test -s conftest$ac_exeext'
5842 { (eval echo "$as_me:5842: \"$ac_try\"") >&5 6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 (eval $ac_try) 2>&5 6672 (eval $ac_try) 2>&5
5844 ac_status=$? 6673 ac_status=$?
5845 echo "$as_me:5845: \$? = $ac_status" >&5 6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; }; then 6675 (exit $ac_status); }; }; then
5847 eval "$as_ac_var=yes" 6676 eval "$as_ac_var=yes"
5848else 6677else
@@ -5852,17 +6681,17 @@ eval "$as_ac_var=no"
5852fi 6681fi
5853rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6682rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5854fi 6683fi
5855echo "$as_me:5855: result: `eval echo '${'$as_ac_var'}'`" >&5 6684echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5856echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6685echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5857if test `eval echo '${'$as_ac_var'}'` = yes; then 6686if test `eval echo '${'$as_ac_var'}'` = yes; then
5858 cat >>confdefs.h <<EOF 6687 cat >>confdefs.h <<_ACEOF
5859#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6688#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5860EOF 6689_ACEOF
5861 6690
5862fi 6691fi
5863done 6692done
5864 6693
5865echo "$as_me:5865: checking for working mmap" >&5 6694echo "$as_me:$LINENO: checking for working mmap" >&5
5866echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 6695echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5867if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 6696if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6 6697 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5871,9 +6700,12 @@ else
5871 ac_cv_func_mmap_fixed_mapped=no 6700 ac_cv_func_mmap_fixed_mapped=no
5872else 6701else
5873 cat >conftest.$ac_ext <<_ACEOF 6702 cat >conftest.$ac_ext <<_ACEOF
5874#line 5874 "configure" 6703#line $LINENO "configure"
5875#include "confdefs.h" 6704#include "confdefs.h"
5876$ac_includes_default 6705$ac_includes_default
6706/* malloc might have been renamed as rpl_malloc. */
6707#undef malloc
6708
5877/* Thanks to Mike Haertel and Jim Avera for this test. 6709/* Thanks to Mike Haertel and Jim Avera for this test.
5878 Here is a matrix of mmap possibilities: 6710 Here is a matrix of mmap possibilities:
5879 mmap private not fixed 6711 mmap private not fixed
@@ -5889,7 +6721,7 @@ $ac_includes_default
5889 VM page cache was not coherent with the file system buffer cache 6721 VM page cache was not coherent with the file system buffer cache
5890 like early versions of FreeBSD and possibly contemporary NetBSD.) 6722 like early versions of FreeBSD and possibly contemporary NetBSD.)
5891 For shared mappings, we should conversely verify that changes get 6723 For shared mappings, we should conversely verify that changes get
5892 propogated back to all the places they're supposed to be. 6724 propagated back to all the places they're supposed to be.
5893 6725
5894 Grep wants private fixed already mapped. 6726 Grep wants private fixed already mapped.
5895 The main things grep needs to know about mmap are: 6727 The main things grep needs to know about mmap are:
@@ -5998,33 +6830,34 @@ main ()
5998} 6830}
5999_ACEOF 6831_ACEOF
6000rm -f conftest$ac_exeext 6832rm -f conftest$ac_exeext
6001if { (eval echo "$as_me:6001: \"$ac_link\"") >&5 6833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6002 (eval $ac_link) 2>&5 6834 (eval $ac_link) 2>&5
6003 ac_status=$? 6835 ac_status=$?
6004 echo "$as_me:6004: \$? = $ac_status" >&5 6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6006 { (eval echo "$as_me:6006: \"$ac_try\"") >&5 6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 (eval $ac_try) 2>&5 6839 (eval $ac_try) 2>&5
6008 ac_status=$? 6840 ac_status=$?
6009 echo "$as_me:6009: \$? = $ac_status" >&5 6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; }; then 6842 (exit $ac_status); }; }; then
6011 ac_cv_func_mmap_fixed_mapped=yes 6843 ac_cv_func_mmap_fixed_mapped=yes
6012else 6844else
6013 echo "$as_me: program exited with status $ac_status" >&5 6845 echo "$as_me: program exited with status $ac_status" >&5
6014echo "$as_me: failed program was:" >&5 6846echo "$as_me: failed program was:" >&5
6015cat conftest.$ac_ext >&5 6847cat conftest.$ac_ext >&5
6848( exit $ac_status )
6016ac_cv_func_mmap_fixed_mapped=no 6849ac_cv_func_mmap_fixed_mapped=no
6017fi 6850fi
6018rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6851rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6019fi 6852fi
6020fi 6853fi
6021echo "$as_me:6021: result: $ac_cv_func_mmap_fixed_mapped" >&5 6854echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6022echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6855echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6023if test $ac_cv_func_mmap_fixed_mapped = yes; then 6856if test $ac_cv_func_mmap_fixed_mapped = yes; then
6024 6857
6025cat >>confdefs.h <<\EOF 6858cat >>confdefs.h <<\_ACEOF
6026#define HAVE_MMAP 1 6859#define HAVE_MMAP 1
6027EOF 6860_ACEOF
6028 6861
6029fi 6862fi
6030rm -f conftest.mmap 6863rm -f conftest.mmap
@@ -6035,7 +6868,8 @@ fi
6035 6868
6036LIBS="$libsrc_libs $LIBS" 6869LIBS="$libsrc_libs $LIBS"
6037 6870
6038echo "$as_me:6038: checking for dnet_ntoa in -ldnet" >&5 6871
6872echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6039echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6873echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6040if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6874if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6 6875 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6043,7 +6877,7 @@ else
6043 ac_check_lib_save_LIBS=$LIBS 6877 ac_check_lib_save_LIBS=$LIBS
6044LIBS="-ldnet $LIBS" 6878LIBS="-ldnet $LIBS"
6045cat >conftest.$ac_ext <<_ACEOF 6879cat >conftest.$ac_ext <<_ACEOF
6046#line 6046 "configure" 6880#line $LINENO "configure"
6047#include "confdefs.h" 6881#include "confdefs.h"
6048 6882
6049/* Override any gcc2 internal prototype to avoid an error. */ 6883/* Override any gcc2 internal prototype to avoid an error. */
@@ -6053,6 +6887,12 @@ extern "C"
6053/* We use char because int might match the return type of a gcc2 6887/* We use char because int might match the return type of a gcc2
6054 builtin and then its argument prototype would still apply. */ 6888 builtin and then its argument prototype would still apply. */
6055char dnet_ntoa (); 6889char dnet_ntoa ();
6890#ifdef F77_DUMMY_MAIN
6891# ifdef __cplusplus
6892 extern "C"
6893# endif
6894 int F77_DUMMY_MAIN() { return 1; }
6895#endif
6056int 6896int
6057main () 6897main ()
6058{ 6898{
@@ -6062,16 +6902,16 @@ dnet_ntoa ();
6062} 6902}
6063_ACEOF 6903_ACEOF
6064rm -f conftest.$ac_objext conftest$ac_exeext 6904rm -f conftest.$ac_objext conftest$ac_exeext
6065if { (eval echo "$as_me:6065: \"$ac_link\"") >&5 6905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6066 (eval $ac_link) 2>&5 6906 (eval $ac_link) 2>&5
6067 ac_status=$? 6907 ac_status=$?
6068 echo "$as_me:6068: \$? = $ac_status" >&5 6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); } && 6909 (exit $ac_status); } &&
6070 { ac_try='test -s conftest$ac_exeext' 6910 { ac_try='test -s conftest$ac_exeext'
6071 { (eval echo "$as_me:6071: \"$ac_try\"") >&5 6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072 (eval $ac_try) 2>&5 6912 (eval $ac_try) 2>&5
6073 ac_status=$? 6913 ac_status=$?
6074 echo "$as_me:6074: \$? = $ac_status" >&5 6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; }; then 6915 (exit $ac_status); }; }; then
6076 ac_cv_lib_dnet_dnet_ntoa=yes 6916 ac_cv_lib_dnet_dnet_ntoa=yes
6077else 6917else
@@ -6082,18 +6922,19 @@ fi
6082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6922rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6083LIBS=$ac_check_lib_save_LIBS 6923LIBS=$ac_check_lib_save_LIBS
6084fi 6924fi
6085echo "$as_me:6085: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6925echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6086echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6926echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6087if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6927if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6088 cat >>confdefs.h <<EOF 6928 cat >>confdefs.h <<_ACEOF
6089#define HAVE_LIBDNET 1 6929#define HAVE_LIBDNET 1
6090EOF 6930_ACEOF
6091 6931
6092 LIBS="-ldnet $LIBS" 6932 LIBS="-ldnet $LIBS"
6093 6933
6094fi 6934fi
6095 6935
6096echo "$as_me:6096: checking for main in -lXbsd" >&5 6936
6937echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
6097echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6938echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6098if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6939if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6099 echo $ECHO_N "(cached) $ECHO_C" >&6 6940 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6101,9 +6942,16 @@ else
6101 ac_check_lib_save_LIBS=$LIBS 6942 ac_check_lib_save_LIBS=$LIBS
6102LIBS="-lXbsd $LIBS" 6943LIBS="-lXbsd $LIBS"
6103cat >conftest.$ac_ext <<_ACEOF 6944cat >conftest.$ac_ext <<_ACEOF
6104#line 6104 "configure" 6945#line $LINENO "configure"
6105#include "confdefs.h" 6946#include "confdefs.h"
6106 6947
6948
6949#ifdef F77_DUMMY_MAIN
6950# ifdef __cplusplus
6951 extern "C"
6952# endif
6953 int F77_DUMMY_MAIN() { return 1; }
6954#endif
6107int 6955int
6108main () 6956main ()
6109{ 6957{
@@ -6113,16 +6961,16 @@ main ();
6113} 6961}
6114_ACEOF 6962_ACEOF
6115rm -f conftest.$ac_objext conftest$ac_exeext 6963rm -f conftest.$ac_objext conftest$ac_exeext
6116if { (eval echo "$as_me:6116: \"$ac_link\"") >&5 6964if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6117 (eval $ac_link) 2>&5 6965 (eval $ac_link) 2>&5
6118 ac_status=$? 6966 ac_status=$?
6119 echo "$as_me:6119: \$? = $ac_status" >&5 6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); } && 6968 (exit $ac_status); } &&
6121 { ac_try='test -s conftest$ac_exeext' 6969 { ac_try='test -s conftest$ac_exeext'
6122 { (eval echo "$as_me:6122: \"$ac_try\"") >&5 6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 (eval $ac_try) 2>&5 6971 (eval $ac_try) 2>&5
6124 ac_status=$? 6972 ac_status=$?
6125 echo "$as_me:6125: \$? = $ac_status" >&5 6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then 6974 (exit $ac_status); }; }; then
6127 ac_cv_lib_Xbsd_main=yes 6975 ac_cv_lib_Xbsd_main=yes
6128else 6976else
@@ -6133,13 +6981,15 @@ fi
6133rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6981rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6134LIBS=$ac_check_lib_save_LIBS 6982LIBS=$ac_check_lib_save_LIBS
6135fi 6983fi
6136echo "$as_me:6136: result: $ac_cv_lib_Xbsd_main" >&5 6984echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
6137echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6985echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
6138if test $ac_cv_lib_Xbsd_main = yes; then 6986if test $ac_cv_lib_Xbsd_main = yes; then
6139 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6987 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
6140fi 6988fi
6141 6989
6142echo "$as_me:6142: checking for cma_open in -lpthreads" >&5 6990
6991
6992echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
6143echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6993echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
6144if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6994if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6 6995 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6147,7 +6997,7 @@ else
6147 ac_check_lib_save_LIBS=$LIBS 6997 ac_check_lib_save_LIBS=$LIBS
6148LIBS="-lpthreads $LIBS" 6998LIBS="-lpthreads $LIBS"
6149cat >conftest.$ac_ext <<_ACEOF 6999cat >conftest.$ac_ext <<_ACEOF
6150#line 6150 "configure" 7000#line $LINENO "configure"
6151#include "confdefs.h" 7001#include "confdefs.h"
6152 7002
6153/* Override any gcc2 internal prototype to avoid an error. */ 7003/* Override any gcc2 internal prototype to avoid an error. */
@@ -6157,6 +7007,12 @@ extern "C"
6157/* We use char because int might match the return type of a gcc2 7007/* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */ 7008 builtin and then its argument prototype would still apply. */
6159char cma_open (); 7009char cma_open ();
7010#ifdef F77_DUMMY_MAIN
7011# ifdef __cplusplus
7012 extern "C"
7013# endif
7014 int F77_DUMMY_MAIN() { return 1; }
7015#endif
6160int 7016int
6161main () 7017main ()
6162{ 7018{
@@ -6166,16 +7022,16 @@ cma_open ();
6166} 7022}
6167_ACEOF 7023_ACEOF
6168rm -f conftest.$ac_objext conftest$ac_exeext 7024rm -f conftest.$ac_objext conftest$ac_exeext
6169if { (eval echo "$as_me:6169: \"$ac_link\"") >&5 7025if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6170 (eval $ac_link) 2>&5 7026 (eval $ac_link) 2>&5
6171 ac_status=$? 7027 ac_status=$?
6172 echo "$as_me:6172: \$? = $ac_status" >&5 7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } && 7029 (exit $ac_status); } &&
6174 { ac_try='test -s conftest$ac_exeext' 7030 { ac_try='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:6175: \"$ac_try\"") >&5 7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 (eval $ac_try) 2>&5 7032 (eval $ac_try) 2>&5
6177 ac_status=$? 7033 ac_status=$?
6178 echo "$as_me:6178: \$? = $ac_status" >&5 7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then 7035 (exit $ac_status); }; }; then
6180 ac_cv_lib_pthreads_cma_open=yes 7036 ac_cv_lib_pthreads_cma_open=yes
6181else 7037else
@@ -6186,18 +7042,19 @@ fi
6186rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7042rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6187LIBS=$ac_check_lib_save_LIBS 7043LIBS=$ac_check_lib_save_LIBS
6188fi 7044fi
6189echo "$as_me:6189: result: $ac_cv_lib_pthreads_cma_open" >&5 7045echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
6190echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 7046echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
6191if test $ac_cv_lib_pthreads_cma_open = yes; then 7047if test $ac_cv_lib_pthreads_cma_open = yes; then
6192 cat >>confdefs.h <<EOF 7048 cat >>confdefs.h <<_ACEOF
6193#define HAVE_LIBPTHREADS 1 7049#define HAVE_LIBPTHREADS 1
6194EOF 7050_ACEOF
6195 7051
6196 LIBS="-lpthreads $LIBS" 7052 LIBS="-lpthreads $LIBS"
6197 7053
6198fi 7054fi
6199 7055
6200echo "$as_me:6200: checking for XFree86 in /usr/X386" >&5 7056
7057echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
6201echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 7058echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
6202if test -d /usr/X386/include; then 7059if test -d /usr/X386/include; then
6203 HAVE_XFREE386=yes 7060 HAVE_XFREE386=yes
@@ -6205,7 +7062,7 @@ if test -d /usr/X386/include; then
6205else 7062else
6206 HAVE_XFREE386=no 7063 HAVE_XFREE386=no
6207fi 7064fi
6208echo "$as_me:6208: result: $HAVE_XFREE386" >&5 7065echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
6209echo "${ECHO_T}$HAVE_XFREE386" >&6 7066echo "${ECHO_T}$HAVE_XFREE386" >&6
6210 7067
6211# Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 7068# Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
@@ -6231,12 +7088,18 @@ if test "${HAVE_X11}" = "yes"; then
6231 fi 7088 fi
6232 7089
6233 if test "${opsys}" = "gnu-linux"; then 7090 if test "${opsys}" = "gnu-linux"; then
6234 echo "$as_me:6234: checking whether X on GNU/Linux needs -b to link" >&5 7091 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
6235echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 7092echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6236 cat >conftest.$ac_ext <<_ACEOF 7093 cat >conftest.$ac_ext <<_ACEOF
6237#line 6237 "configure" 7094#line $LINENO "configure"
6238#include "confdefs.h" 7095#include "confdefs.h"
6239 7096
7097#ifdef F77_DUMMY_MAIN
7098# ifdef __cplusplus
7099 extern "C"
7100# endif
7101 int F77_DUMMY_MAIN() { return 1; }
7102#endif
6240int 7103int
6241main () 7104main ()
6242{ 7105{
@@ -6246,16 +7109,16 @@ XOpenDisplay ("foo");
6246} 7109}
6247_ACEOF 7110_ACEOF
6248rm -f conftest.$ac_objext conftest$ac_exeext 7111rm -f conftest.$ac_objext conftest$ac_exeext
6249if { (eval echo "$as_me:6249: \"$ac_link\"") >&5 7112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6250 (eval $ac_link) 2>&5 7113 (eval $ac_link) 2>&5
6251 ac_status=$? 7114 ac_status=$?
6252 echo "$as_me:6252: \$? = $ac_status" >&5 7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } && 7116 (exit $ac_status); } &&
6254 { ac_try='test -s conftest$ac_exeext' 7117 { ac_try='test -s conftest$ac_exeext'
6255 { (eval echo "$as_me:6255: \"$ac_try\"") >&5 7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 (eval $ac_try) 2>&5 7119 (eval $ac_try) 2>&5
6257 ac_status=$? 7120 ac_status=$?
6258 echo "$as_me:6258: \$? = $ac_status" >&5 7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); }; }; then 7122 (exit $ac_status); }; }; then
6260 xlinux_first_failure=no 7123 xlinux_first_failure=no
6261else 7124else
@@ -6274,9 +7137,15 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6274 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 7137 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6275 LIBS="$LIBS -b i486-linuxaout" 7138 LIBS="$LIBS -b i486-linuxaout"
6276 cat >conftest.$ac_ext <<_ACEOF 7139 cat >conftest.$ac_ext <<_ACEOF
6277#line 6277 "configure" 7140#line $LINENO "configure"
6278#include "confdefs.h" 7141#include "confdefs.h"
6279 7142
7143#ifdef F77_DUMMY_MAIN
7144# ifdef __cplusplus
7145 extern "C"
7146# endif
7147 int F77_DUMMY_MAIN() { return 1; }
7148#endif
6280int 7149int
6281main () 7150main ()
6282{ 7151{
@@ -6286,16 +7155,16 @@ XOpenDisplay ("foo");
6286} 7155}
6287_ACEOF 7156_ACEOF
6288rm -f conftest.$ac_objext conftest$ac_exeext 7157rm -f conftest.$ac_objext conftest$ac_exeext
6289if { (eval echo "$as_me:6289: \"$ac_link\"") >&5 7158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6290 (eval $ac_link) 2>&5 7159 (eval $ac_link) 2>&5
6291 ac_status=$? 7160 ac_status=$?
6292 echo "$as_me:6292: \$? = $ac_status" >&5 7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && 7162 (exit $ac_status); } &&
6294 { ac_try='test -s conftest$ac_exeext' 7163 { ac_try='test -s conftest$ac_exeext'
6295 { (eval echo "$as_me:6295: \"$ac_try\"") >&5 7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 (eval $ac_try) 2>&5 7165 (eval $ac_try) 2>&5
6297 ac_status=$? 7166 ac_status=$?
6298 echo "$as_me:6298: \$? = $ac_status" >&5 7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then 7168 (exit $ac_status); }; }; then
6300 xlinux_second_failure=no 7169 xlinux_second_failure=no
6301else 7170else
@@ -6311,27 +7180,33 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6311 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 7180 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6312 CPPFLAGS="$OLD_CPPFLAGS" 7181 CPPFLAGS="$OLD_CPPFLAGS"
6313 LIBS="$OLD_LIBS" 7182 LIBS="$OLD_LIBS"
6314 echo "$as_me:6314: result: no" >&5 7183 echo "$as_me:$LINENO: result: no" >&5
6315echo "${ECHO_T}no" >&6 7184echo "${ECHO_T}no" >&6
6316 else 7185 else
6317 echo "$as_me:6317: result: yes" >&5 7186 echo "$as_me:$LINENO: result: yes" >&5
6318echo "${ECHO_T}yes" >&6 7187echo "${ECHO_T}yes" >&6
6319 fi 7188 fi
6320 else 7189 else
6321 echo "$as_me:6321: result: no" >&5 7190 echo "$as_me:$LINENO: result: no" >&5
6322echo "${ECHO_T}no" >&6 7191echo "${ECHO_T}no" >&6
6323 fi 7192 fi
6324 fi 7193 fi
6325 7194
6326 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 7195 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6327 # header files included from there. 7196 # header files included from there.
6328 echo "$as_me:6328: checking for Xkb" >&5 7197 echo "$as_me:$LINENO: checking for Xkb" >&5
6329echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 7198echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6330 cat >conftest.$ac_ext <<_ACEOF 7199 cat >conftest.$ac_ext <<_ACEOF
6331#line 6331 "configure" 7200#line $LINENO "configure"
6332#include "confdefs.h" 7201#include "confdefs.h"
6333#include <X11/Xlib.h> 7202#include <X11/Xlib.h>
6334#include <X11/XKBlib.h> 7203#include <X11/XKBlib.h>
7204#ifdef F77_DUMMY_MAIN
7205# ifdef __cplusplus
7206 extern "C"
7207# endif
7208 int F77_DUMMY_MAIN() { return 1; }
7209#endif
6335int 7210int
6336main () 7211main ()
6337{ 7212{
@@ -6341,16 +7216,16 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
6341} 7216}
6342_ACEOF 7217_ACEOF
6343rm -f conftest.$ac_objext conftest$ac_exeext 7218rm -f conftest.$ac_objext conftest$ac_exeext
6344if { (eval echo "$as_me:6344: \"$ac_link\"") >&5 7219if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6345 (eval $ac_link) 2>&5 7220 (eval $ac_link) 2>&5
6346 ac_status=$? 7221 ac_status=$?
6347 echo "$as_me:6347: \$? = $ac_status" >&5 7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } && 7223 (exit $ac_status); } &&
6349 { ac_try='test -s conftest$ac_exeext' 7224 { ac_try='test -s conftest$ac_exeext'
6350 { (eval echo "$as_me:6350: \"$ac_try\"") >&5 7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 (eval $ac_try) 2>&5 7226 (eval $ac_try) 2>&5
6352 ac_status=$? 7227 ac_status=$?
6353 echo "$as_me:6353: \$? = $ac_status" >&5 7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then 7229 (exit $ac_status); }; }; then
6355 emacs_xkb=yes 7230 emacs_xkb=yes
6356else 7231else
@@ -6359,27 +7234,31 @@ cat conftest.$ac_ext >&5
6359emacs_xkb=no 7234emacs_xkb=no
6360fi 7235fi
6361rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7236rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6362 echo "$as_me:6362: result: $emacs_xkb" >&5 7237 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
6363echo "${ECHO_T}$emacs_xkb" >&6 7238echo "${ECHO_T}$emacs_xkb" >&6
6364 if test $emacs_xkb = yes; then 7239 if test $emacs_xkb = yes; then
6365 7240
6366cat >>confdefs.h <<\EOF 7241cat >>confdefs.h <<\_ACEOF
6367#define HAVE_XKBGETKEYBOARD 1 7242#define HAVE_XKBGETKEYBOARD 1
6368EOF 7243_ACEOF
6369 7244
6370 fi 7245 fi
6371 7246
7247
7248
7249
7250
6372for ac_func in XrmSetDatabase XScreenResourceString \ 7251for ac_func in XrmSetDatabase XScreenResourceString \
6373XScreenNumberOfScreen XSetWMProtocols 7252XScreenNumberOfScreen XSetWMProtocols
6374do 7253do
6375as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6376echo "$as_me:6376: checking for $ac_func" >&5 7255echo "$as_me:$LINENO: checking for $ac_func" >&5
6377echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6378if eval "test \"\${$as_ac_var+set}\" = set"; then 7257if eval "test \"\${$as_ac_var+set}\" = set"; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6 7258 echo $ECHO_N "(cached) $ECHO_C" >&6
6380else 7259else
6381 cat >conftest.$ac_ext <<_ACEOF 7260 cat >conftest.$ac_ext <<_ACEOF
6382#line 6382 "configure" 7261#line $LINENO "configure"
6383#include "confdefs.h" 7262#include "confdefs.h"
6384/* System header to define __stub macros and hopefully few prototypes, 7263/* System header to define __stub macros and hopefully few prototypes,
6385 which can conflict with char $ac_func (); below. */ 7264 which can conflict with char $ac_func (); below. */
@@ -6393,6 +7272,12 @@ extern "C"
6393char $ac_func (); 7272char $ac_func ();
6394char (*f) (); 7273char (*f) ();
6395 7274
7275#ifdef F77_DUMMY_MAIN
7276# ifdef __cplusplus
7277 extern "C"
7278# endif
7279 int F77_DUMMY_MAIN() { return 1; }
7280#endif
6396int 7281int
6397main () 7282main ()
6398{ 7283{
@@ -6410,16 +7295,16 @@ f = $ac_func;
6410} 7295}
6411_ACEOF 7296_ACEOF
6412rm -f conftest.$ac_objext conftest$ac_exeext 7297rm -f conftest.$ac_objext conftest$ac_exeext
6413if { (eval echo "$as_me:6413: \"$ac_link\"") >&5 7298if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6414 (eval $ac_link) 2>&5 7299 (eval $ac_link) 2>&5
6415 ac_status=$? 7300 ac_status=$?
6416 echo "$as_me:6416: \$? = $ac_status" >&5 7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } && 7302 (exit $ac_status); } &&
6418 { ac_try='test -s conftest$ac_exeext' 7303 { ac_try='test -s conftest$ac_exeext'
6419 { (eval echo "$as_me:6419: \"$ac_try\"") >&5 7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 (eval $ac_try) 2>&5 7305 (eval $ac_try) 2>&5
6421 ac_status=$? 7306 ac_status=$?
6422 echo "$as_me:6422: \$? = $ac_status" >&5 7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then 7308 (exit $ac_status); }; }; then
6424 eval "$as_ac_var=yes" 7309 eval "$as_ac_var=yes"
6425else 7310else
@@ -6429,12 +7314,12 @@ eval "$as_ac_var=no"
6429fi 7314fi
6430rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7315rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6431fi 7316fi
6432echo "$as_me:6432: result: `eval echo '${'$as_ac_var'}'`" >&5 7317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6433echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7318echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6434if test `eval echo '${'$as_ac_var'}'` = yes; then 7319if test `eval echo '${'$as_ac_var'}'` = yes; then
6435 cat >>confdefs.h <<EOF 7320 cat >>confdefs.h <<_ACEOF
6436#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7321#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6437EOF 7322_ACEOF
6438 7323
6439fi 7324fi
6440done 7325done
@@ -6442,15 +7327,21 @@ done
6442fi 7327fi
6443 7328
6444if test "${window_system}" = "x11"; then 7329if test "${window_system}" = "x11"; then
6445 echo "$as_me:6445: checking X11 version 6" >&5 7330 echo "$as_me:$LINENO: checking X11 version 6" >&5
6446echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 7331echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6447 if test "${emacs_cv_x11_version_6+set}" = set; then 7332 if test "${emacs_cv_x11_version_6+set}" = set; then
6448 echo $ECHO_N "(cached) $ECHO_C" >&6 7333 echo $ECHO_N "(cached) $ECHO_C" >&6
6449else 7334else
6450 cat >conftest.$ac_ext <<_ACEOF 7335 cat >conftest.$ac_ext <<_ACEOF
6451#line 6451 "configure" 7336#line $LINENO "configure"
6452#include "confdefs.h" 7337#include "confdefs.h"
6453#include <X11/Xlib.h> 7338#include <X11/Xlib.h>
7339#ifdef F77_DUMMY_MAIN
7340# ifdef __cplusplus
7341 extern "C"
7342# endif
7343 int F77_DUMMY_MAIN() { return 1; }
7344#endif
6454int 7345int
6455main () 7346main ()
6456{ 7347{
@@ -6463,16 +7354,16 @@ fail;
6463} 7354}
6464_ACEOF 7355_ACEOF
6465rm -f conftest.$ac_objext conftest$ac_exeext 7356rm -f conftest.$ac_objext conftest$ac_exeext
6466if { (eval echo "$as_me:6466: \"$ac_link\"") >&5 7357if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6467 (eval $ac_link) 2>&5 7358 (eval $ac_link) 2>&5
6468 ac_status=$? 7359 ac_status=$?
6469 echo "$as_me:6469: \$? = $ac_status" >&5 7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); } && 7361 (exit $ac_status); } &&
6471 { ac_try='test -s conftest$ac_exeext' 7362 { ac_try='test -s conftest$ac_exeext'
6472 { (eval echo "$as_me:6472: \"$ac_try\"") >&5 7363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5 7364 (eval $ac_try) 2>&5
6474 ac_status=$? 7365 ac_status=$?
6475 echo "$as_me:6475: \$? = $ac_status" >&5 7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then 7367 (exit $ac_status); }; }; then
6477 emacs_cv_x11_version_6=yes 7368 emacs_cv_x11_version_6=yes
6478else 7369else
@@ -6484,29 +7375,35 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6484fi 7375fi
6485 7376
6486 if test $emacs_cv_x11_version_6 = yes; then 7377 if test $emacs_cv_x11_version_6 = yes; then
6487 echo "$as_me:6487: result: 6 or newer" >&5 7378 echo "$as_me:$LINENO: result: 6 or newer" >&5
6488echo "${ECHO_T}6 or newer" >&6 7379echo "${ECHO_T}6 or newer" >&6
6489 7380
6490cat >>confdefs.h <<\EOF 7381cat >>confdefs.h <<\_ACEOF
6491#define HAVE_X11R6 1 7382#define HAVE_X11R6 1
6492EOF 7383_ACEOF
6493 7384
6494 else 7385 else
6495 echo "$as_me:6495: result: before 6" >&5 7386 echo "$as_me:$LINENO: result: before 6" >&5
6496echo "${ECHO_T}before 6" >&6 7387echo "${ECHO_T}before 6" >&6
6497 fi 7388 fi
6498fi 7389fi
6499 7390
6500if test "${window_system}" = "x11"; then 7391if test "${window_system}" = "x11"; then
6501 echo "$as_me:6501: checking X11 version 5" >&5 7392 echo "$as_me:$LINENO: checking X11 version 5" >&5
6502echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 7393echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6503 if test "${emacs_cv_x11_version_5+set}" = set; then 7394 if test "${emacs_cv_x11_version_5+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6 7395 echo $ECHO_N "(cached) $ECHO_C" >&6
6505else 7396else
6506 cat >conftest.$ac_ext <<_ACEOF 7397 cat >conftest.$ac_ext <<_ACEOF
6507#line 6507 "configure" 7398#line $LINENO "configure"
6508#include "confdefs.h" 7399#include "confdefs.h"
6509#include <X11/Xlib.h> 7400#include <X11/Xlib.h>
7401#ifdef F77_DUMMY_MAIN
7402# ifdef __cplusplus
7403 extern "C"
7404# endif
7405 int F77_DUMMY_MAIN() { return 1; }
7406#endif
6510int 7407int
6511main () 7408main ()
6512{ 7409{
@@ -6519,16 +7416,16 @@ fail;
6519} 7416}
6520_ACEOF 7417_ACEOF
6521rm -f conftest.$ac_objext conftest$ac_exeext 7418rm -f conftest.$ac_objext conftest$ac_exeext
6522if { (eval echo "$as_me:6522: \"$ac_link\"") >&5 7419if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6523 (eval $ac_link) 2>&5 7420 (eval $ac_link) 2>&5
6524 ac_status=$? 7421 ac_status=$?
6525 echo "$as_me:6525: \$? = $ac_status" >&5 7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } && 7423 (exit $ac_status); } &&
6527 { ac_try='test -s conftest$ac_exeext' 7424 { ac_try='test -s conftest$ac_exeext'
6528 { (eval echo "$as_me:6528: \"$ac_try\"") >&5 7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 (eval $ac_try) 2>&5 7426 (eval $ac_try) 2>&5
6530 ac_status=$? 7427 ac_status=$?
6531 echo "$as_me:6531: \$? = $ac_status" >&5 7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then 7429 (exit $ac_status); }; }; then
6533 emacs_cv_x11_version_5=yes 7430 emacs_cv_x11_version_5=yes
6534else 7431else
@@ -6540,34 +7437,40 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6540fi 7437fi
6541 7438
6542 if test $emacs_cv_x11_version_5 = yes; then 7439 if test $emacs_cv_x11_version_5 = yes; then
6543 echo "$as_me:6543: result: 5 or newer" >&5 7440 echo "$as_me:$LINENO: result: 5 or newer" >&5
6544echo "${ECHO_T}5 or newer" >&6 7441echo "${ECHO_T}5 or newer" >&6
6545 HAVE_X11R5=yes 7442 HAVE_X11R5=yes
6546 7443
6547cat >>confdefs.h <<\EOF 7444cat >>confdefs.h <<\_ACEOF
6548#define HAVE_X11R5 1 7445#define HAVE_X11R5 1
6549EOF 7446_ACEOF
6550 7447
6551 else 7448 else
6552 HAVE_X11R5=no 7449 HAVE_X11R5=no
6553 echo "$as_me:6553: result: before 5" >&5 7450 echo "$as_me:$LINENO: result: before 5" >&5
6554echo "${ECHO_T}before 5" >&6 7451echo "${ECHO_T}before 5" >&6
6555 fi 7452 fi
6556fi 7453fi
6557 7454
6558if test x"${USE_X_TOOLKIT}" = xmaybe; then 7455if test x"${USE_X_TOOLKIT}" = xmaybe; then
6559 if test x"${HAVE_X11R5}" = xyes; then 7456 if test x"${HAVE_X11R5}" = xyes; then
6560 echo "$as_me:6560: checking X11 version 5 with Xaw" >&5 7457 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
6561echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 7458echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6562 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 7459 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6563 echo $ECHO_N "(cached) $ECHO_C" >&6 7460 echo $ECHO_N "(cached) $ECHO_C" >&6
6564else 7461else
6565 cat >conftest.$ac_ext <<_ACEOF 7462 cat >conftest.$ac_ext <<_ACEOF
6566#line 6566 "configure" 7463#line $LINENO "configure"
6567#include "confdefs.h" 7464#include "confdefs.h"
6568 7465
6569#include <X11/Intrinsic.h> 7466#include <X11/Intrinsic.h>
6570#include <X11/Xaw/Simple.h> 7467#include <X11/Xaw/Simple.h>
7468#ifdef F77_DUMMY_MAIN
7469# ifdef __cplusplus
7470 extern "C"
7471# endif
7472 int F77_DUMMY_MAIN() { return 1; }
7473#endif
6571int 7474int
6572main () 7475main ()
6573{ 7476{
@@ -6577,16 +7480,16 @@ main ()
6577} 7480}
6578_ACEOF 7481_ACEOF
6579rm -f conftest.$ac_objext conftest$ac_exeext 7482rm -f conftest.$ac_objext conftest$ac_exeext
6580if { (eval echo "$as_me:6580: \"$ac_link\"") >&5 7483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6581 (eval $ac_link) 2>&5 7484 (eval $ac_link) 2>&5
6582 ac_status=$? 7485 ac_status=$?
6583 echo "$as_me:6583: \$? = $ac_status" >&5 7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } && 7487 (exit $ac_status); } &&
6585 { ac_try='test -s conftest$ac_exeext' 7488 { ac_try='test -s conftest$ac_exeext'
6586 { (eval echo "$as_me:6586: \"$ac_try\"") >&5 7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6587 (eval $ac_try) 2>&5 7490 (eval $ac_try) 2>&5
6588 ac_status=$? 7491 ac_status=$?
6589 echo "$as_me:6589: \$? = $ac_status" >&5 7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then 7493 (exit $ac_status); }; }; then
6591 emacs_cv_x11_version_5_with_xaw=yes 7494 emacs_cv_x11_version_5_with_xaw=yes
6592else 7495else
@@ -6598,11 +7501,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6598fi 7501fi
6599 7502
6600 if test $emacs_cv_x11_version_5_with_xaw = yes; then 7503 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6601 echo "$as_me:6601: result: 5 or newer, with Xaw; use toolkit by default" >&5 7504 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
6602echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 7505echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6603 USE_X_TOOLKIT=LUCID 7506 USE_X_TOOLKIT=LUCID
6604 else 7507 else
6605 echo "$as_me:6605: result: before 5 or no Xaw; do not use toolkit by default" >&5 7508 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
6606echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 7509echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6607 USE_X_TOOLKIT=none 7510 USE_X_TOOLKIT=none
6608 fi 7511 fi
@@ -6614,15 +7517,21 @@ fi
6614X_TOOLKIT_TYPE=$USE_X_TOOLKIT 7517X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6615 7518
6616if test "${USE_X_TOOLKIT}" != "none"; then 7519if test "${USE_X_TOOLKIT}" != "none"; then
6617 echo "$as_me:6617: checking X11 toolkit version" >&5 7520 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
6618echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 7521echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6619 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 7522 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6 7523 echo $ECHO_N "(cached) $ECHO_C" >&6
6621else 7524else
6622 cat >conftest.$ac_ext <<_ACEOF 7525 cat >conftest.$ac_ext <<_ACEOF
6623#line 6623 "configure" 7526#line $LINENO "configure"
6624#include "confdefs.h" 7527#include "confdefs.h"
6625#include <X11/Intrinsic.h> 7528#include <X11/Intrinsic.h>
7529#ifdef F77_DUMMY_MAIN
7530# ifdef __cplusplus
7531 extern "C"
7532# endif
7533 int F77_DUMMY_MAIN() { return 1; }
7534#endif
6626int 7535int
6627main () 7536main ()
6628{ 7537{
@@ -6635,16 +7544,16 @@ fail;
6635} 7544}
6636_ACEOF 7545_ACEOF
6637rm -f conftest.$ac_objext conftest$ac_exeext 7546rm -f conftest.$ac_objext conftest$ac_exeext
6638if { (eval echo "$as_me:6638: \"$ac_link\"") >&5 7547if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6639 (eval $ac_link) 2>&5 7548 (eval $ac_link) 2>&5
6640 ac_status=$? 7549 ac_status=$?
6641 echo "$as_me:6641: \$? = $ac_status" >&5 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } && 7551 (exit $ac_status); } &&
6643 { ac_try='test -s conftest$ac_exeext' 7552 { ac_try='test -s conftest$ac_exeext'
6644 { (eval echo "$as_me:6644: \"$ac_try\"") >&5 7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 (eval $ac_try) 2>&5 7554 (eval $ac_try) 2>&5
6646 ac_status=$? 7555 ac_status=$?
6647 echo "$as_me:6647: \$? = $ac_status" >&5 7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
6649 emacs_cv_x11_toolkit_version_6=yes 7558 emacs_cv_x11_toolkit_version_6=yes
6650else 7559else
@@ -6657,15 +7566,15 @@ fi
6657 7566
6658 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 7567 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6659 if test $emacs_cv_x11_toolkit_version_6 = yes; then 7568 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6660 echo "$as_me:6660: result: 6 or newer" >&5 7569 echo "$as_me:$LINENO: result: 6 or newer" >&5
6661echo "${ECHO_T}6 or newer" >&6 7570echo "${ECHO_T}6 or newer" >&6
6662 7571
6663cat >>confdefs.h <<\EOF 7572cat >>confdefs.h <<\_ACEOF
6664#define HAVE_X11XTR6 1 7573#define HAVE_X11XTR6 1
6665EOF 7574_ACEOF
6666 7575
6667 else 7576 else
6668 echo "$as_me:6668: result: before 6" >&5 7577 echo "$as_me:$LINENO: result: before 6" >&5
6669echo "${ECHO_T}before 6" >&6 7578echo "${ECHO_T}before 6" >&6
6670 fi 7579 fi
6671 7580
@@ -6676,7 +7585,7 @@ echo "${ECHO_T}before 6" >&6
6676 LIBS="-lXt $LIBS" 7585 LIBS="-lXt $LIBS"
6677 fi 7586 fi
6678 7587
6679echo "$as_me:6679: checking for XmuConvertStandardSelection in -lXmu" >&5 7588echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
6680echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 7589echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6681if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 7590if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6 7591 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6684,7 +7593,7 @@ else
6684 ac_check_lib_save_LIBS=$LIBS 7593 ac_check_lib_save_LIBS=$LIBS
6685LIBS="-lXmu $LIBS" 7594LIBS="-lXmu $LIBS"
6686cat >conftest.$ac_ext <<_ACEOF 7595cat >conftest.$ac_ext <<_ACEOF
6687#line 6687 "configure" 7596#line $LINENO "configure"
6688#include "confdefs.h" 7597#include "confdefs.h"
6689 7598
6690/* Override any gcc2 internal prototype to avoid an error. */ 7599/* Override any gcc2 internal prototype to avoid an error. */
@@ -6694,6 +7603,12 @@ extern "C"
6694/* We use char because int might match the return type of a gcc2 7603/* We use char because int might match the return type of a gcc2
6695 builtin and then its argument prototype would still apply. */ 7604 builtin and then its argument prototype would still apply. */
6696char XmuConvertStandardSelection (); 7605char XmuConvertStandardSelection ();
7606#ifdef F77_DUMMY_MAIN
7607# ifdef __cplusplus
7608 extern "C"
7609# endif
7610 int F77_DUMMY_MAIN() { return 1; }
7611#endif
6697int 7612int
6698main () 7613main ()
6699{ 7614{
@@ -6703,16 +7618,16 @@ XmuConvertStandardSelection ();
6703} 7618}
6704_ACEOF 7619_ACEOF
6705rm -f conftest.$ac_objext conftest$ac_exeext 7620rm -f conftest.$ac_objext conftest$ac_exeext
6706if { (eval echo "$as_me:6706: \"$ac_link\"") >&5 7621if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6707 (eval $ac_link) 2>&5 7622 (eval $ac_link) 2>&5
6708 ac_status=$? 7623 ac_status=$?
6709 echo "$as_me:6709: \$? = $ac_status" >&5 7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && 7625 (exit $ac_status); } &&
6711 { ac_try='test -s conftest$ac_exeext' 7626 { ac_try='test -s conftest$ac_exeext'
6712 { (eval echo "$as_me:6712: \"$ac_try\"") >&5 7627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 (eval $ac_try) 2>&5 7628 (eval $ac_try) 2>&5
6714 ac_status=$? 7629 ac_status=$?
6715 echo "$as_me:6715: \$? = $ac_status" >&5 7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; }; then 7631 (exit $ac_status); }; }; then
6717 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 7632 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6718else 7633else
@@ -6723,12 +7638,12 @@ fi
6723rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6724LIBS=$ac_check_lib_save_LIBS 7639LIBS=$ac_check_lib_save_LIBS
6725fi 7640fi
6726echo "$as_me:6726: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 7641echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6727echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 7642echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6728if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 7643if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6729 cat >>confdefs.h <<EOF 7644 cat >>confdefs.h <<_ACEOF
6730#define HAVE_LIBXMU 1 7645#define HAVE_LIBXMU 1
6731EOF 7646_ACEOF
6732 7647
6733 LIBS="-lXmu $LIBS" 7648 LIBS="-lXmu $LIBS"
6734 7649
@@ -6741,7 +7656,7 @@ fi
6741if test "${HAVE_X11}" = "yes"; then 7656if test "${HAVE_X11}" = "yes"; then
6742 if test "${USE_X_TOOLKIT}" != "none"; then 7657 if test "${USE_X_TOOLKIT}" != "none"; then
6743 7658
6744echo "$as_me:6744: checking for XShapeQueryExtension in -lXext" >&5 7659echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6745echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 7660echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6746if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 7661if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6 7662 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6749,7 +7664,7 @@ else
6749 ac_check_lib_save_LIBS=$LIBS 7664 ac_check_lib_save_LIBS=$LIBS
6750LIBS="-lXext $LIBS" 7665LIBS="-lXext $LIBS"
6751cat >conftest.$ac_ext <<_ACEOF 7666cat >conftest.$ac_ext <<_ACEOF
6752#line 6752 "configure" 7667#line $LINENO "configure"
6753#include "confdefs.h" 7668#include "confdefs.h"
6754 7669
6755/* Override any gcc2 internal prototype to avoid an error. */ 7670/* Override any gcc2 internal prototype to avoid an error. */
@@ -6759,6 +7674,12 @@ extern "C"
6759/* We use char because int might match the return type of a gcc2 7674/* We use char because int might match the return type of a gcc2
6760 builtin and then its argument prototype would still apply. */ 7675 builtin and then its argument prototype would still apply. */
6761char XShapeQueryExtension (); 7676char XShapeQueryExtension ();
7677#ifdef F77_DUMMY_MAIN
7678# ifdef __cplusplus
7679 extern "C"
7680# endif
7681 int F77_DUMMY_MAIN() { return 1; }
7682#endif
6762int 7683int
6763main () 7684main ()
6764{ 7685{
@@ -6768,16 +7689,16 @@ XShapeQueryExtension ();
6768} 7689}
6769_ACEOF 7690_ACEOF
6770rm -f conftest.$ac_objext conftest$ac_exeext 7691rm -f conftest.$ac_objext conftest$ac_exeext
6771if { (eval echo "$as_me:6771: \"$ac_link\"") >&5 7692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6772 (eval $ac_link) 2>&5 7693 (eval $ac_link) 2>&5
6773 ac_status=$? 7694 ac_status=$?
6774 echo "$as_me:6774: \$? = $ac_status" >&5 7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && 7696 (exit $ac_status); } &&
6776 { ac_try='test -s conftest$ac_exeext' 7697 { ac_try='test -s conftest$ac_exeext'
6777 { (eval echo "$as_me:6777: \"$ac_try\"") >&5 7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 (eval $ac_try) 2>&5 7699 (eval $ac_try) 2>&5
6779 ac_status=$? 7700 ac_status=$?
6780 echo "$as_me:6780: \$? = $ac_status" >&5 7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then 7702 (exit $ac_status); }; }; then
6782 ac_cv_lib_Xext_XShapeQueryExtension=yes 7703 ac_cv_lib_Xext_XShapeQueryExtension=yes
6783else 7704else
@@ -6788,12 +7709,12 @@ fi
6788rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7709rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6789LIBS=$ac_check_lib_save_LIBS 7710LIBS=$ac_check_lib_save_LIBS
6790fi 7711fi
6791echo "$as_me:6791: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 7712echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6792echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 7713echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6793if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 7714if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6794 cat >>confdefs.h <<EOF 7715 cat >>confdefs.h <<_ACEOF
6795#define HAVE_LIBXEXT 1 7716#define HAVE_LIBXEXT 1
6796EOF 7717_ACEOF
6797 7718
6798 LIBS="-lXext $LIBS" 7719 LIBS="-lXext $LIBS"
6799 7720
@@ -6803,7 +7724,7 @@ fi
6803fi 7724fi
6804 7725
6805if test "${USE_X_TOOLKIT}" = "MOTIF"; then 7726if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6806 echo "$as_me:6806: checking for LessTif where some systems put it" >&5 7727 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
6807echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 7728echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
6808if test "${emacs_cv_lesstif+set}" = set; then 7729if test "${emacs_cv_lesstif+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6 7730 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6816,9 +7737,15 @@ else
6816 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 7737 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
6817 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 7738 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
6818 cat >conftest.$ac_ext <<_ACEOF 7739 cat >conftest.$ac_ext <<_ACEOF
6819#line 6819 "configure" 7740#line $LINENO "configure"
6820#include "confdefs.h" 7741#include "confdefs.h"
6821#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 7742#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
7743#ifdef F77_DUMMY_MAIN
7744# ifdef __cplusplus
7745 extern "C"
7746# endif
7747 int F77_DUMMY_MAIN() { return 1; }
7748#endif
6822int 7749int
6823main () 7750main ()
6824{ 7751{
@@ -6828,16 +7755,16 @@ int x = 5;
6828} 7755}
6829_ACEOF 7756_ACEOF
6830rm -f conftest.$ac_objext 7757rm -f conftest.$ac_objext
6831if { (eval echo "$as_me:6831: \"$ac_compile\"") >&5 7758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6832 (eval $ac_compile) 2>&5 7759 (eval $ac_compile) 2>&5
6833 ac_status=$? 7760 ac_status=$?
6834 echo "$as_me:6834: \$? = $ac_status" >&5 7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); } && 7762 (exit $ac_status); } &&
6836 { ac_try='test -s conftest.$ac_objext' 7763 { ac_try='test -s conftest.$ac_objext'
6837 { (eval echo "$as_me:6837: \"$ac_try\"") >&5 7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6838 (eval $ac_try) 2>&5 7765 (eval $ac_try) 2>&5
6839 ac_status=$? 7766 ac_status=$?
6840 echo "$as_me:6840: \$? = $ac_status" >&5 7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then 7768 (exit $ac_status); }; }; then
6842 emacs_cv_lesstif=yes 7769 emacs_cv_lesstif=yes
6843else 7770else
@@ -6847,7 +7774,7 @@ emacs_cv_lesstif=no
6847fi 7774fi
6848rm -f conftest.$ac_objext conftest.$ac_ext 7775rm -f conftest.$ac_objext conftest.$ac_ext
6849fi 7776fi
6850echo "$as_me:6850: result: $emacs_cv_lesstif" >&5 7777echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
6851echo "${ECHO_T}$emacs_cv_lesstif" >&6 7778echo "${ECHO_T}$emacs_cv_lesstif" >&6
6852 if test $emacs_cv_lesstif = yes; then 7779 if test $emacs_cv_lesstif = yes; then
6853 # Make sure this -I option remains in CPPFLAGS after it is set 7780 # Make sure this -I option remains in CPPFLAGS after it is set
@@ -6861,15 +7788,21 @@ echo "${ECHO_T}$emacs_cv_lesstif" >&6
6861 CFLAGS=$OLD_CFLAGS 7788 CFLAGS=$OLD_CFLAGS
6862 CPPFLAGS=$OLD_CPPFLAGS 7789 CPPFLAGS=$OLD_CPPFLAGS
6863 fi 7790 fi
6864 echo "$as_me:6864: checking for Motif version 2.1" >&5 7791 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
6865echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 7792echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6866if test "${emacs_cv_motif_version_2_1+set}" = set; then 7793if test "${emacs_cv_motif_version_2_1+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6 7794 echo $ECHO_N "(cached) $ECHO_C" >&6
6868else 7795else
6869 cat >conftest.$ac_ext <<_ACEOF 7796 cat >conftest.$ac_ext <<_ACEOF
6870#line 6870 "configure" 7797#line $LINENO "configure"
6871#include "confdefs.h" 7798#include "confdefs.h"
6872#include <Xm/Xm.h> 7799#include <Xm/Xm.h>
7800#ifdef F77_DUMMY_MAIN
7801# ifdef __cplusplus
7802 extern "C"
7803# endif
7804 int F77_DUMMY_MAIN() { return 1; }
7805#endif
6873int 7806int
6874main () 7807main ()
6875{ 7808{
@@ -6883,16 +7816,16 @@ Motif version prior to 2.1.
6883} 7816}
6884_ACEOF 7817_ACEOF
6885rm -f conftest.$ac_objext 7818rm -f conftest.$ac_objext
6886if { (eval echo "$as_me:6886: \"$ac_compile\"") >&5 7819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>&5 7820 (eval $ac_compile) 2>&5
6888 ac_status=$? 7821 ac_status=$?
6889 echo "$as_me:6889: \$? = $ac_status" >&5 7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); } && 7823 (exit $ac_status); } &&
6891 { ac_try='test -s conftest.$ac_objext' 7824 { ac_try='test -s conftest.$ac_objext'
6892 { (eval echo "$as_me:6892: \"$ac_try\"") >&5 7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 (eval $ac_try) 2>&5 7826 (eval $ac_try) 2>&5
6894 ac_status=$? 7827 ac_status=$?
6895 echo "$as_me:6895: \$? = $ac_status" >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then 7829 (exit $ac_status); }; }; then
6897 emacs_cv_motif_version_2_1=yes 7830 emacs_cv_motif_version_2_1=yes
6898else 7831else
@@ -6902,17 +7835,17 @@ emacs_cv_motif_version_2_1=no
6902fi 7835fi
6903rm -f conftest.$ac_objext conftest.$ac_ext 7836rm -f conftest.$ac_objext conftest.$ac_ext
6904fi 7837fi
6905echo "$as_me:6905: result: $emacs_cv_motif_version_2_1" >&5 7838echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
6906echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 7839echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6907 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 7840 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6908 if test $emacs_cv_motif_version_2_1 = yes; then 7841 if test $emacs_cv_motif_version_2_1 = yes; then
6909 HAVE_LIBXP=no 7842 HAVE_LIBXP=no
6910 7843
6911cat >>confdefs.h <<\EOF 7844cat >>confdefs.h <<\_ACEOF
6912#define HAVE_MOTIF_2_1 1 7845#define HAVE_MOTIF_2_1 1
6913EOF 7846_ACEOF
6914 7847
6915 echo "$as_me:6915: checking for XpCreateContext in -lXp" >&5 7848 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
6916echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 7849echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6917if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 7850if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6918 echo $ECHO_N "(cached) $ECHO_C" >&6 7851 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6920,7 +7853,7 @@ else
6920 ac_check_lib_save_LIBS=$LIBS 7853 ac_check_lib_save_LIBS=$LIBS
6921LIBS="-lXp $LIBS" 7854LIBS="-lXp $LIBS"
6922cat >conftest.$ac_ext <<_ACEOF 7855cat >conftest.$ac_ext <<_ACEOF
6923#line 6923 "configure" 7856#line $LINENO "configure"
6924#include "confdefs.h" 7857#include "confdefs.h"
6925 7858
6926/* Override any gcc2 internal prototype to avoid an error. */ 7859/* Override any gcc2 internal prototype to avoid an error. */
@@ -6930,6 +7863,12 @@ extern "C"
6930/* We use char because int might match the return type of a gcc2 7863/* We use char because int might match the return type of a gcc2
6931 builtin and then its argument prototype would still apply. */ 7864 builtin and then its argument prototype would still apply. */
6932char XpCreateContext (); 7865char XpCreateContext ();
7866#ifdef F77_DUMMY_MAIN
7867# ifdef __cplusplus
7868 extern "C"
7869# endif
7870 int F77_DUMMY_MAIN() { return 1; }
7871#endif
6933int 7872int
6934main () 7873main ()
6935{ 7874{
@@ -6939,16 +7878,16 @@ XpCreateContext ();
6939} 7878}
6940_ACEOF 7879_ACEOF
6941rm -f conftest.$ac_objext conftest$ac_exeext 7880rm -f conftest.$ac_objext conftest$ac_exeext
6942if { (eval echo "$as_me:6942: \"$ac_link\"") >&5 7881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6943 (eval $ac_link) 2>&5 7882 (eval $ac_link) 2>&5
6944 ac_status=$? 7883 ac_status=$?
6945 echo "$as_me:6945: \$? = $ac_status" >&5 7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } && 7885 (exit $ac_status); } &&
6947 { ac_try='test -s conftest$ac_exeext' 7886 { ac_try='test -s conftest$ac_exeext'
6948 { (eval echo "$as_me:6948: \"$ac_try\"") >&5 7887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5 7888 (eval $ac_try) 2>&5
6950 ac_status=$? 7889 ac_status=$?
6951 echo "$as_me:6951: \$? = $ac_status" >&5 7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; }; then 7891 (exit $ac_status); }; }; then
6953 ac_cv_lib_Xp_XpCreateContext=yes 7892 ac_cv_lib_Xp_XpCreateContext=yes
6954else 7893else
@@ -6959,7 +7898,7 @@ fi
6959rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7898rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6960LIBS=$ac_check_lib_save_LIBS 7899LIBS=$ac_check_lib_save_LIBS
6961fi 7900fi
6962echo "$as_me:6962: result: $ac_cv_lib_Xp_XpCreateContext" >&5 7901echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6963echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 7902echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6964if test $ac_cv_lib_Xp_XpCreateContext = yes; then 7903if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6965 HAVE_LIBXP=yes 7904 HAVE_LIBXP=yes
@@ -6967,9 +7906,9 @@ fi
6967 7906
6968 if test ${HAVE_LIBXP} = yes; then 7907 if test ${HAVE_LIBXP} = yes; then
6969 7908
6970cat >>confdefs.h <<\EOF 7909cat >>confdefs.h <<\_ACEOF
6971#define HAVE_LIBXP 1 7910#define HAVE_LIBXP 1
6972EOF 7911_ACEOF
6973 7912
6974 fi 7913 fi
6975 fi 7914 fi
@@ -6979,23 +7918,61 @@ fi
6979HAVE_XAW3D=no 7918HAVE_XAW3D=no
6980if test "${HAVE_X11}" = "yes"; then 7919if test "${HAVE_X11}" = "yes"; then
6981 if test "${USE_X_TOOLKIT}" != "none"; then 7920 if test "${USE_X_TOOLKIT}" != "none"; then
6982 echo "$as_me:6982: checking for X11/Xaw3d/Scrollbar.h" >&5 7921 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
7922 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
6983echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 7923echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6984if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 7924if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6 7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7926fi
7927echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
7928echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
6986else 7929else
6987 cat >conftest.$ac_ext <<_ACEOF 7930 # Is the header compilable?
6988#line 6988 "configure" 7931echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5
7932echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6
7933cat >conftest.$ac_ext <<_ACEOF
7934#line $LINENO "configure"
6989#include "confdefs.h" 7935#include "confdefs.h"
7936$ac_includes_default
6990#include <X11/Xaw3d/Scrollbar.h> 7937#include <X11/Xaw3d/Scrollbar.h>
6991_ACEOF 7938_ACEOF
6992if { (eval echo "$as_me:6992: \"$ac_cpp conftest.$ac_ext\"") >&5 7939rm -f conftest.$ac_objext
7940if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7941 (eval $ac_compile) 2>&5
7942 ac_status=$?
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); } &&
7945 { ac_try='test -s conftest.$ac_objext'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 (eval $ac_try) 2>&5
7948 ac_status=$?
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; }; then
7951 ac_header_compiler=yes
7952else
7953 echo "$as_me: failed program was:" >&5
7954cat conftest.$ac_ext >&5
7955ac_header_compiler=no
7956fi
7957rm -f conftest.$ac_objext conftest.$ac_ext
7958echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7959echo "${ECHO_T}$ac_header_compiler" >&6
7960
7961# Is the header present?
7962echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h presence" >&5
7963echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6
7964cat >conftest.$ac_ext <<_ACEOF
7965#line $LINENO "configure"
7966#include "confdefs.h"
7967#include <X11/Xaw3d/Scrollbar.h>
7968_ACEOF
7969if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6994 ac_status=$? 7971 ac_status=$?
6995 egrep -v '^ *\+' conftest.er1 >conftest.err 7972 egrep -v '^ *\+' conftest.er1 >conftest.err
6996 rm -f conftest.er1 7973 rm -f conftest.er1
6997 cat conftest.err >&5 7974 cat conftest.err >&5
6998 echo "$as_me:6998: \$? = $ac_status" >&5 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } >/dev/null; then 7976 (exit $ac_status); } >/dev/null; then
7000 if test -s conftest.err; then 7977 if test -s conftest.err; then
7001 ac_cpp_err=$ac_c_preproc_warn_flag 7978 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7006,18 +7983,44 @@ else
7006 ac_cpp_err=yes 7983 ac_cpp_err=yes
7007fi 7984fi
7008if test -z "$ac_cpp_err"; then 7985if test -z "$ac_cpp_err"; then
7009 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes 7986 ac_header_preproc=yes
7010else 7987else
7011 echo "$as_me: failed program was:" >&5 7988 echo "$as_me: failed program was:" >&5
7012 cat conftest.$ac_ext >&5 7989 cat conftest.$ac_ext >&5
7013 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 7990 ac_header_preproc=no
7014fi 7991fi
7015rm -f conftest.err conftest.$ac_ext 7992rm -f conftest.err conftest.$ac_ext
7993echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7994echo "${ECHO_T}$ac_header_preproc" >&6
7995
7996# So? What about this header?
7997case $ac_header_compiler:$ac_header_preproc in
7998 yes:no )
7999 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&5
8000echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8001 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
8002echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
8003 no:yes )
8004 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&5
8005echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&2;}
8006 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&5
8007echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&2;}
8008 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
8009echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
8010esac
8011echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
8012echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
8013if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
8014 echo $ECHO_N "(cached) $ECHO_C" >&6
8015else
8016 ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc
7016fi 8017fi
7017echo "$as_me:7017: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 8018echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
7018echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 8019echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
8020
8021fi
7019if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 8022if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
7020 echo "$as_me:7020: checking for XawScrollbarSetThumb in -lXaw3d" >&5 8023 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
7021echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 8024echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
7022if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 8025if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
7023 echo $ECHO_N "(cached) $ECHO_C" >&6 8026 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7025,7 +8028,7 @@ else
7025 ac_check_lib_save_LIBS=$LIBS 8028 ac_check_lib_save_LIBS=$LIBS
7026LIBS="-lXaw3d $LIBS" 8029LIBS="-lXaw3d $LIBS"
7027cat >conftest.$ac_ext <<_ACEOF 8030cat >conftest.$ac_ext <<_ACEOF
7028#line 7028 "configure" 8031#line $LINENO "configure"
7029#include "confdefs.h" 8032#include "confdefs.h"
7030 8033
7031/* Override any gcc2 internal prototype to avoid an error. */ 8034/* Override any gcc2 internal prototype to avoid an error. */
@@ -7035,6 +8038,12 @@ extern "C"
7035/* We use char because int might match the return type of a gcc2 8038/* We use char because int might match the return type of a gcc2
7036 builtin and then its argument prototype would still apply. */ 8039 builtin and then its argument prototype would still apply. */
7037char XawScrollbarSetThumb (); 8040char XawScrollbarSetThumb ();
8041#ifdef F77_DUMMY_MAIN
8042# ifdef __cplusplus
8043 extern "C"
8044# endif
8045 int F77_DUMMY_MAIN() { return 1; }
8046#endif
7038int 8047int
7039main () 8048main ()
7040{ 8049{
@@ -7044,16 +8053,16 @@ XawScrollbarSetThumb ();
7044} 8053}
7045_ACEOF 8054_ACEOF
7046rm -f conftest.$ac_objext conftest$ac_exeext 8055rm -f conftest.$ac_objext conftest$ac_exeext
7047if { (eval echo "$as_me:7047: \"$ac_link\"") >&5 8056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7048 (eval $ac_link) 2>&5 8057 (eval $ac_link) 2>&5
7049 ac_status=$? 8058 ac_status=$?
7050 echo "$as_me:7050: \$? = $ac_status" >&5 8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } && 8060 (exit $ac_status); } &&
7052 { ac_try='test -s conftest$ac_exeext' 8061 { ac_try='test -s conftest$ac_exeext'
7053 { (eval echo "$as_me:7053: \"$ac_try\"") >&5 8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 (eval $ac_try) 2>&5 8063 (eval $ac_try) 2>&5
7055 ac_status=$? 8064 ac_status=$?
7056 echo "$as_me:7056: \$? = $ac_status" >&5 8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then 8066 (exit $ac_status); }; }; then
7058 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 8067 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7059else 8068else
@@ -7064,7 +8073,7 @@ fi
7064rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8073rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7065LIBS=$ac_check_lib_save_LIBS 8074LIBS=$ac_check_lib_save_LIBS
7066fi 8075fi
7067echo "$as_me:7067: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 8076echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7068echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 8077echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7069if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 8078if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7070 HAVE_XAW3D=yes 8079 HAVE_XAW3D=yes
@@ -7072,41 +8081,45 @@ fi
7072 8081
7073fi 8082fi
7074 8083
8084
7075 if test "${HAVE_XAW3D}" = "yes"; then 8085 if test "${HAVE_XAW3D}" = "yes"; then
7076 8086
7077cat >>confdefs.h <<\EOF 8087cat >>confdefs.h <<\_ACEOF
7078#define HAVE_XAW3D 1 8088#define HAVE_XAW3D 1
7079EOF 8089_ACEOF
7080 8090
7081 fi 8091 fi
7082 fi 8092 fi
7083fi 8093fi
7084 8094
8095
8096
7085USE_TOOLKIT_SCROLL_BARS=no 8097USE_TOOLKIT_SCROLL_BARS=no
7086if test "${with_toolkit_scroll_bars}" != "no"; then 8098if test "${with_toolkit_scroll_bars}" != "no"; then
7087 if test "${USE_X_TOOLKIT}" != "none"; then 8099 if test "${USE_X_TOOLKIT}" != "none"; then
7088 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 8100 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
7089 cat >>confdefs.h <<\EOF 8101 cat >>confdefs.h <<\_ACEOF
7090#define USE_TOOLKIT_SCROLL_BARS 1 8102#define USE_TOOLKIT_SCROLL_BARS 1
7091EOF 8103_ACEOF
7092 8104
7093 HAVE_XAW3D=no 8105 HAVE_XAW3D=no
7094 USE_TOOLKIT_SCROLL_BARS=yes 8106 USE_TOOLKIT_SCROLL_BARS=yes
7095 elif test "${HAVE_XAW3D}" = "yes"; then 8107 elif test "${HAVE_XAW3D}" = "yes"; then
7096 cat >>confdefs.h <<\EOF 8108 cat >>confdefs.h <<\_ACEOF
7097#define USE_TOOLKIT_SCROLL_BARS 1 8109#define USE_TOOLKIT_SCROLL_BARS 1
7098EOF 8110_ACEOF
7099 8111
7100 USE_TOOLKIT_SCROLL_BARS=yes 8112 USE_TOOLKIT_SCROLL_BARS=yes
7101 fi 8113 fi
7102 fi 8114 fi
7103fi 8115fi
7104 8116
8117
7105if test "${with_xim}" != "no"; then 8118if test "${with_xim}" != "no"; then
7106 8119
7107cat >>confdefs.h <<\EOF 8120cat >>confdefs.h <<\_ACEOF
7108#define USE_XIM 1 8121#define USE_XIM 1
7109EOF 8122_ACEOF
7110 8123
7111fi 8124fi
7112 8125
@@ -7114,23 +8127,61 @@ fi
7114HAVE_XPM=no 8127HAVE_XPM=no
7115if test "${HAVE_X11}" = "yes"; then 8128if test "${HAVE_X11}" = "yes"; then
7116 if test "${with_xpm}" != "no"; then 8129 if test "${with_xpm}" != "no"; then
7117 echo "$as_me:7117: checking for X11/xpm.h" >&5 8130 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8131 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
7118echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 8132echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7119if test "${ac_cv_header_X11_xpm_h+set}" = set; then 8133if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7120 echo $ECHO_N "(cached) $ECHO_C" >&6 8134 echo $ECHO_N "(cached) $ECHO_C" >&6
8135fi
8136echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8137echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7121else 8138else
7122 cat >conftest.$ac_ext <<_ACEOF 8139 # Is the header compilable?
7123#line 7123 "configure" 8140echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
8141echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
8142cat >conftest.$ac_ext <<_ACEOF
8143#line $LINENO "configure"
8144#include "confdefs.h"
8145$ac_includes_default
8146#include <X11/xpm.h>
8147_ACEOF
8148rm -f conftest.$ac_objext
8149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8150 (eval $ac_compile) 2>&5
8151 ac_status=$?
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } &&
8154 { ac_try='test -s conftest.$ac_objext'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 (eval $ac_try) 2>&5
8157 ac_status=$?
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; }; then
8160 ac_header_compiler=yes
8161else
8162 echo "$as_me: failed program was:" >&5
8163cat conftest.$ac_ext >&5
8164ac_header_compiler=no
8165fi
8166rm -f conftest.$ac_objext conftest.$ac_ext
8167echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8168echo "${ECHO_T}$ac_header_compiler" >&6
8169
8170# Is the header present?
8171echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
8172echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
8173cat >conftest.$ac_ext <<_ACEOF
8174#line $LINENO "configure"
7124#include "confdefs.h" 8175#include "confdefs.h"
7125#include <X11/xpm.h> 8176#include <X11/xpm.h>
7126_ACEOF 8177_ACEOF
7127if { (eval echo "$as_me:7127: \"$ac_cpp conftest.$ac_ext\"") >&5 8178if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7129 ac_status=$? 8180 ac_status=$?
7130 egrep -v '^ *\+' conftest.er1 >conftest.err 8181 egrep -v '^ *\+' conftest.er1 >conftest.err
7131 rm -f conftest.er1 8182 rm -f conftest.er1
7132 cat conftest.err >&5 8183 cat conftest.err >&5
7133 echo "$as_me:7133: \$? = $ac_status" >&5 8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); } >/dev/null; then 8185 (exit $ac_status); } >/dev/null; then
7135 if test -s conftest.err; then 8186 if test -s conftest.err; then
7136 ac_cpp_err=$ac_c_preproc_warn_flag 8187 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7141,18 +8192,44 @@ else
7141 ac_cpp_err=yes 8192 ac_cpp_err=yes
7142fi 8193fi
7143if test -z "$ac_cpp_err"; then 8194if test -z "$ac_cpp_err"; then
7144 ac_cv_header_X11_xpm_h=yes 8195 ac_header_preproc=yes
7145else 8196else
7146 echo "$as_me: failed program was:" >&5 8197 echo "$as_me: failed program was:" >&5
7147 cat conftest.$ac_ext >&5 8198 cat conftest.$ac_ext >&5
7148 ac_cv_header_X11_xpm_h=no 8199 ac_header_preproc=no
7149fi 8200fi
7150rm -f conftest.err conftest.$ac_ext 8201rm -f conftest.err conftest.$ac_ext
8202echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8203echo "${ECHO_T}$ac_header_preproc" >&6
8204
8205# So? What about this header?
8206case $ac_header_compiler:$ac_header_preproc in
8207 yes:no )
8208 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
8209echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8210 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8211echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
8212 no:yes )
8213 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
8214echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
8216echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
8217 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8218echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
8219esac
8220echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8221echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8222if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8224else
8225 ac_cv_header_X11_xpm_h=$ac_header_preproc
7151fi 8226fi
7152echo "$as_me:7152: result: $ac_cv_header_X11_xpm_h" >&5 8227echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
7153echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 8228echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8229
8230fi
7154if test $ac_cv_header_X11_xpm_h = yes; then 8231if test $ac_cv_header_X11_xpm_h = yes; then
7155 echo "$as_me:7155: checking for XpmReadFileToPixmap in -lXpm" >&5 8232 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
7156echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 8233echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7157if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 8234if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6 8235 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7160,7 +8237,7 @@ else
7160 ac_check_lib_save_LIBS=$LIBS 8237 ac_check_lib_save_LIBS=$LIBS
7161LIBS="-lXpm -lX11 $LIBS" 8238LIBS="-lXpm -lX11 $LIBS"
7162cat >conftest.$ac_ext <<_ACEOF 8239cat >conftest.$ac_ext <<_ACEOF
7163#line 7163 "configure" 8240#line $LINENO "configure"
7164#include "confdefs.h" 8241#include "confdefs.h"
7165 8242
7166/* Override any gcc2 internal prototype to avoid an error. */ 8243/* Override any gcc2 internal prototype to avoid an error. */
@@ -7170,6 +8247,12 @@ extern "C"
7170/* We use char because int might match the return type of a gcc2 8247/* We use char because int might match the return type of a gcc2
7171 builtin and then its argument prototype would still apply. */ 8248 builtin and then its argument prototype would still apply. */
7172char XpmReadFileToPixmap (); 8249char XpmReadFileToPixmap ();
8250#ifdef F77_DUMMY_MAIN
8251# ifdef __cplusplus
8252 extern "C"
8253# endif
8254 int F77_DUMMY_MAIN() { return 1; }
8255#endif
7173int 8256int
7174main () 8257main ()
7175{ 8258{
@@ -7179,16 +8262,16 @@ XpmReadFileToPixmap ();
7179} 8262}
7180_ACEOF 8263_ACEOF
7181rm -f conftest.$ac_objext conftest$ac_exeext 8264rm -f conftest.$ac_objext conftest$ac_exeext
7182if { (eval echo "$as_me:7182: \"$ac_link\"") >&5 8265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7183 (eval $ac_link) 2>&5 8266 (eval $ac_link) 2>&5
7184 ac_status=$? 8267 ac_status=$?
7185 echo "$as_me:7185: \$? = $ac_status" >&5 8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } && 8269 (exit $ac_status); } &&
7187 { ac_try='test -s conftest$ac_exeext' 8270 { ac_try='test -s conftest$ac_exeext'
7188 { (eval echo "$as_me:7188: \"$ac_try\"") >&5 8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 (eval $ac_try) 2>&5 8272 (eval $ac_try) 2>&5
7190 ac_status=$? 8273 ac_status=$?
7191 echo "$as_me:7191: \$? = $ac_status" >&5 8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then 8275 (exit $ac_status); }; }; then
7193 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 8276 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7194else 8277else
@@ -7199,7 +8282,7 @@ fi
7199rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7200LIBS=$ac_check_lib_save_LIBS 8283LIBS=$ac_check_lib_save_LIBS
7201fi 8284fi
7202echo "$as_me:7202: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 8285echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7203echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 8286echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7204if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 8287if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7205 HAVE_XPM=yes 8288 HAVE_XPM=yes
@@ -7207,11 +8290,12 @@ fi
7207 8290
7208fi 8291fi
7209 8292
8293
7210 if test "${HAVE_XPM}" = "yes"; then 8294 if test "${HAVE_XPM}" = "yes"; then
7211 echo "$as_me:7211: checking for XpmReturnAllocPixels preprocessor define" >&5 8295 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
7212echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 8296echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7213 cat >conftest.$ac_ext <<_ACEOF 8297 cat >conftest.$ac_ext <<_ACEOF
7214#line 7214 "configure" 8298#line $LINENO "configure"
7215#include "confdefs.h" 8299#include "confdefs.h"
7216#include "X11/xpm.h" 8300#include "X11/xpm.h"
7217#ifndef XpmReturnAllocPixels 8301#ifndef XpmReturnAllocPixels
@@ -7227,11 +8311,12 @@ else
7227fi 8311fi
7228rm -f conftest* 8312rm -f conftest*
7229 8313
8314
7230 if test "${HAVE_XPM}" = "yes"; then 8315 if test "${HAVE_XPM}" = "yes"; then
7231 echo "$as_me:7231: result: yes" >&5 8316 echo "$as_me:$LINENO: result: yes" >&5
7232echo "${ECHO_T}yes" >&6 8317echo "${ECHO_T}yes" >&6
7233 else 8318 else
7234 echo "$as_me:7234: result: no" >&5 8319 echo "$as_me:$LINENO: result: no" >&5
7235echo "${ECHO_T}no" >&6 8320echo "${ECHO_T}no" >&6
7236 fi 8321 fi
7237 fi 8322 fi
@@ -7239,9 +8324,9 @@ echo "${ECHO_T}no" >&6
7239 8324
7240 if test "${HAVE_XPM}" = "yes"; then 8325 if test "${HAVE_XPM}" = "yes"; then
7241 8326
7242cat >>confdefs.h <<\EOF 8327cat >>confdefs.h <<\_ACEOF
7243#define HAVE_XPM 1 8328#define HAVE_XPM 1
7244EOF 8329_ACEOF
7245 8330
7246 fi 8331 fi
7247fi 8332fi
@@ -7250,23 +8335,61 @@ fi
7250HAVE_JPEG=no 8335HAVE_JPEG=no
7251if test "${HAVE_X11}" = "yes"; then 8336if test "${HAVE_X11}" = "yes"; then
7252 if test "${with_jpeg}" != "no"; then 8337 if test "${with_jpeg}" != "no"; then
7253 echo "$as_me:7253: checking for jerror.h" >&5 8338 if test "${ac_cv_header_jerror_h+set}" = set; then
8339 echo "$as_me:$LINENO: checking for jerror.h" >&5
7254echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 8340echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7255if test "${ac_cv_header_jerror_h+set}" = set; then 8341if test "${ac_cv_header_jerror_h+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6 8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8343fi
8344echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
8345echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7257else 8346else
7258 cat >conftest.$ac_ext <<_ACEOF 8347 # Is the header compilable?
7259#line 7259 "configure" 8348echo "$as_me:$LINENO: checking jerror.h usability" >&5
8349echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
8350cat >conftest.$ac_ext <<_ACEOF
8351#line $LINENO "configure"
7260#include "confdefs.h" 8352#include "confdefs.h"
8353$ac_includes_default
7261#include <jerror.h> 8354#include <jerror.h>
7262_ACEOF 8355_ACEOF
7263if { (eval echo "$as_me:7263: \"$ac_cpp conftest.$ac_ext\"") >&5 8356rm -f conftest.$ac_objext
8357if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8358 (eval $ac_compile) 2>&5
8359 ac_status=$?
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } &&
8362 { ac_try='test -s conftest.$ac_objext'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 (eval $ac_try) 2>&5
8365 ac_status=$?
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; }; then
8368 ac_header_compiler=yes
8369else
8370 echo "$as_me: failed program was:" >&5
8371cat conftest.$ac_ext >&5
8372ac_header_compiler=no
8373fi
8374rm -f conftest.$ac_objext conftest.$ac_ext
8375echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8376echo "${ECHO_T}$ac_header_compiler" >&6
8377
8378# Is the header present?
8379echo "$as_me:$LINENO: checking jerror.h presence" >&5
8380echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
8381cat >conftest.$ac_ext <<_ACEOF
8382#line $LINENO "configure"
8383#include "confdefs.h"
8384#include <jerror.h>
8385_ACEOF
8386if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7265 ac_status=$? 8388 ac_status=$?
7266 egrep -v '^ *\+' conftest.er1 >conftest.err 8389 egrep -v '^ *\+' conftest.er1 >conftest.err
7267 rm -f conftest.er1 8390 rm -f conftest.er1
7268 cat conftest.err >&5 8391 cat conftest.err >&5
7269 echo "$as_me:7269: \$? = $ac_status" >&5 8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } >/dev/null; then 8393 (exit $ac_status); } >/dev/null; then
7271 if test -s conftest.err; then 8394 if test -s conftest.err; then
7272 ac_cpp_err=$ac_c_preproc_warn_flag 8395 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7277,18 +8400,44 @@ else
7277 ac_cpp_err=yes 8400 ac_cpp_err=yes
7278fi 8401fi
7279if test -z "$ac_cpp_err"; then 8402if test -z "$ac_cpp_err"; then
7280 ac_cv_header_jerror_h=yes 8403 ac_header_preproc=yes
7281else 8404else
7282 echo "$as_me: failed program was:" >&5 8405 echo "$as_me: failed program was:" >&5
7283 cat conftest.$ac_ext >&5 8406 cat conftest.$ac_ext >&5
7284 ac_cv_header_jerror_h=no 8407 ac_header_preproc=no
7285fi 8408fi
7286rm -f conftest.err conftest.$ac_ext 8409rm -f conftest.err conftest.$ac_ext
8410echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8411echo "${ECHO_T}$ac_header_preproc" >&6
8412
8413# So? What about this header?
8414case $ac_header_compiler:$ac_header_preproc in
8415 yes:no )
8416 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
8417echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8418 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
8419echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
8420 no:yes )
8421 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
8422echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
8423 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
8424echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
8425 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
8426echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
8427esac
8428echo "$as_me:$LINENO: checking for jerror.h" >&5
8429echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
8430if test "${ac_cv_header_jerror_h+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8432else
8433 ac_cv_header_jerror_h=$ac_header_preproc
7287fi 8434fi
7288echo "$as_me:7288: result: $ac_cv_header_jerror_h" >&5 8435echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
7289echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 8436echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
8437
8438fi
7290if test $ac_cv_header_jerror_h = yes; then 8439if test $ac_cv_header_jerror_h = yes; then
7291 echo "$as_me:7291: checking for jpeg_destroy_compress in -ljpeg" >&5 8440 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
7292echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 8441echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7293if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 8442if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6 8443 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7296,7 +8445,7 @@ else
7296 ac_check_lib_save_LIBS=$LIBS 8445 ac_check_lib_save_LIBS=$LIBS
7297LIBS="-ljpeg $LIBS" 8446LIBS="-ljpeg $LIBS"
7298cat >conftest.$ac_ext <<_ACEOF 8447cat >conftest.$ac_ext <<_ACEOF
7299#line 7299 "configure" 8448#line $LINENO "configure"
7300#include "confdefs.h" 8449#include "confdefs.h"
7301 8450
7302/* Override any gcc2 internal prototype to avoid an error. */ 8451/* Override any gcc2 internal prototype to avoid an error. */
@@ -7306,6 +8455,12 @@ extern "C"
7306/* We use char because int might match the return type of a gcc2 8455/* We use char because int might match the return type of a gcc2
7307 builtin and then its argument prototype would still apply. */ 8456 builtin and then its argument prototype would still apply. */
7308char jpeg_destroy_compress (); 8457char jpeg_destroy_compress ();
8458#ifdef F77_DUMMY_MAIN
8459# ifdef __cplusplus
8460 extern "C"
8461# endif
8462 int F77_DUMMY_MAIN() { return 1; }
8463#endif
7309int 8464int
7310main () 8465main ()
7311{ 8466{
@@ -7315,16 +8470,16 @@ jpeg_destroy_compress ();
7315} 8470}
7316_ACEOF 8471_ACEOF
7317rm -f conftest.$ac_objext conftest$ac_exeext 8472rm -f conftest.$ac_objext conftest$ac_exeext
7318if { (eval echo "$as_me:7318: \"$ac_link\"") >&5 8473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7319 (eval $ac_link) 2>&5 8474 (eval $ac_link) 2>&5
7320 ac_status=$? 8475 ac_status=$?
7321 echo "$as_me:7321: \$? = $ac_status" >&5 8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } && 8477 (exit $ac_status); } &&
7323 { ac_try='test -s conftest$ac_exeext' 8478 { ac_try='test -s conftest$ac_exeext'
7324 { (eval echo "$as_me:7324: \"$ac_try\"") >&5 8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 (eval $ac_try) 2>&5 8480 (eval $ac_try) 2>&5
7326 ac_status=$? 8481 ac_status=$?
7327 echo "$as_me:7327: \$? = $ac_status" >&5 8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; }; then 8483 (exit $ac_status); }; }; then
7329 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 8484 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7330else 8485else
@@ -7335,7 +8490,7 @@ fi
7335rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8490rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7336LIBS=$ac_check_lib_save_LIBS 8491LIBS=$ac_check_lib_save_LIBS
7337fi 8492fi
7338echo "$as_me:7338: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 8493echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7339echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 8494echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7340if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 8495if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7341 HAVE_JPEG=yes 8496 HAVE_JPEG=yes
@@ -7343,15 +8498,17 @@ fi
7343 8498
7344fi 8499fi
7345 8500
8501
7346 fi 8502 fi
7347 8503
8504
7348 if test "${HAVE_JPEG}" = "yes"; then 8505 if test "${HAVE_JPEG}" = "yes"; then
7349 cat >>confdefs.h <<\EOF 8506 cat >>confdefs.h <<\_ACEOF
7350#define HAVE_JPEG 1 8507#define HAVE_JPEG 1
7351EOF 8508_ACEOF
7352 8509
7353 cat >conftest.$ac_ext <<_ACEOF 8510 cat >conftest.$ac_ext <<_ACEOF
7354#line 7354 "configure" 8511#line $LINENO "configure"
7355#include "confdefs.h" 8512#include "confdefs.h"
7356 #include <jpeglib.h> 8513 #include <jpeglib.h>
7357 version=JPEG_LIB_VERSION 8514 version=JPEG_LIB_VERSION
@@ -7359,12 +8516,12 @@ EOF
7359_ACEOF 8516_ACEOF
7360if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8517if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7361 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then 8518 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
7362 cat >>confdefs.h <<\EOF 8519 cat >>confdefs.h <<\_ACEOF
7363#define HAVE_JPEG 1 8520#define HAVE_JPEG 1
7364EOF 8521_ACEOF
7365 8522
7366else 8523else
7367 { echo "$as_me:7367: WARNING: libjpeg found, but not version 6b or later" >&5 8524 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
7368echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 8525echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7369 HAVE_JPEG=no 8526 HAVE_JPEG=no
7370fi 8527fi
@@ -7377,23 +8534,61 @@ fi
7377HAVE_PNG=no 8534HAVE_PNG=no
7378if test "${HAVE_X11}" = "yes"; then 8535if test "${HAVE_X11}" = "yes"; then
7379 if test "${with_png}" != "no"; then 8536 if test "${with_png}" != "no"; then
7380 echo "$as_me:7380: checking for png.h" >&5 8537 if test "${ac_cv_header_png_h+set}" = set; then
8538 echo "$as_me:$LINENO: checking for png.h" >&5
7381echo $ECHO_N "checking for png.h... $ECHO_C" >&6 8539echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7382if test "${ac_cv_header_png_h+set}" = set; then 8540if test "${ac_cv_header_png_h+set}" = set; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6 8541 echo $ECHO_N "(cached) $ECHO_C" >&6
8542fi
8543echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
8544echo "${ECHO_T}$ac_cv_header_png_h" >&6
7384else 8545else
7385 cat >conftest.$ac_ext <<_ACEOF 8546 # Is the header compilable?
7386#line 7386 "configure" 8547echo "$as_me:$LINENO: checking png.h usability" >&5
8548echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
8549cat >conftest.$ac_ext <<_ACEOF
8550#line $LINENO "configure"
7387#include "confdefs.h" 8551#include "confdefs.h"
8552$ac_includes_default
7388#include <png.h> 8553#include <png.h>
7389_ACEOF 8554_ACEOF
7390if { (eval echo "$as_me:7390: \"$ac_cpp conftest.$ac_ext\"") >&5 8555rm -f conftest.$ac_objext
8556if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8557 (eval $ac_compile) 2>&5
8558 ac_status=$?
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } &&
8561 { ac_try='test -s conftest.$ac_objext'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 (eval $ac_try) 2>&5
8564 ac_status=$?
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }; }; then
8567 ac_header_compiler=yes
8568else
8569 echo "$as_me: failed program was:" >&5
8570cat conftest.$ac_ext >&5
8571ac_header_compiler=no
8572fi
8573rm -f conftest.$ac_objext conftest.$ac_ext
8574echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8575echo "${ECHO_T}$ac_header_compiler" >&6
8576
8577# Is the header present?
8578echo "$as_me:$LINENO: checking png.h presence" >&5
8579echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
8580cat >conftest.$ac_ext <<_ACEOF
8581#line $LINENO "configure"
8582#include "confdefs.h"
8583#include <png.h>
8584_ACEOF
8585if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7392 ac_status=$? 8587 ac_status=$?
7393 egrep -v '^ *\+' conftest.er1 >conftest.err 8588 egrep -v '^ *\+' conftest.er1 >conftest.err
7394 rm -f conftest.er1 8589 rm -f conftest.er1
7395 cat conftest.err >&5 8590 cat conftest.err >&5
7396 echo "$as_me:7396: \$? = $ac_status" >&5 8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } >/dev/null; then 8592 (exit $ac_status); } >/dev/null; then
7398 if test -s conftest.err; then 8593 if test -s conftest.err; then
7399 ac_cpp_err=$ac_c_preproc_warn_flag 8594 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7404,18 +8599,44 @@ else
7404 ac_cpp_err=yes 8599 ac_cpp_err=yes
7405fi 8600fi
7406if test -z "$ac_cpp_err"; then 8601if test -z "$ac_cpp_err"; then
7407 ac_cv_header_png_h=yes 8602 ac_header_preproc=yes
7408else 8603else
7409 echo "$as_me: failed program was:" >&5 8604 echo "$as_me: failed program was:" >&5
7410 cat conftest.$ac_ext >&5 8605 cat conftest.$ac_ext >&5
7411 ac_cv_header_png_h=no 8606 ac_header_preproc=no
7412fi 8607fi
7413rm -f conftest.err conftest.$ac_ext 8608rm -f conftest.err conftest.$ac_ext
8609echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8610echo "${ECHO_T}$ac_header_preproc" >&6
8611
8612# So? What about this header?
8613case $ac_header_compiler:$ac_header_preproc in
8614 yes:no )
8615 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
8616echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
8618echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
8619 no:yes )
8620 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
8621echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
8622 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
8623echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
8624 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
8625echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
8626esac
8627echo "$as_me:$LINENO: checking for png.h" >&5
8628echo $ECHO_N "checking for png.h... $ECHO_C" >&6
8629if test "${ac_cv_header_png_h+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631else
8632 ac_cv_header_png_h=$ac_header_preproc
7414fi 8633fi
7415echo "$as_me:7415: result: $ac_cv_header_png_h" >&5 8634echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
7416echo "${ECHO_T}$ac_cv_header_png_h" >&6 8635echo "${ECHO_T}$ac_cv_header_png_h" >&6
8636
8637fi
7417if test $ac_cv_header_png_h = yes; then 8638if test $ac_cv_header_png_h = yes; then
7418 echo "$as_me:7418: checking for png_get_channels in -lpng" >&5 8639 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
7419echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 8640echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7420if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 8641if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6 8642 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7423,7 +8644,7 @@ else
7423 ac_check_lib_save_LIBS=$LIBS 8644 ac_check_lib_save_LIBS=$LIBS
7424LIBS="-lpng -lz -lm $LIBS" 8645LIBS="-lpng -lz -lm $LIBS"
7425cat >conftest.$ac_ext <<_ACEOF 8646cat >conftest.$ac_ext <<_ACEOF
7426#line 7426 "configure" 8647#line $LINENO "configure"
7427#include "confdefs.h" 8648#include "confdefs.h"
7428 8649
7429/* Override any gcc2 internal prototype to avoid an error. */ 8650/* Override any gcc2 internal prototype to avoid an error. */
@@ -7433,6 +8654,12 @@ extern "C"
7433/* We use char because int might match the return type of a gcc2 8654/* We use char because int might match the return type of a gcc2
7434 builtin and then its argument prototype would still apply. */ 8655 builtin and then its argument prototype would still apply. */
7435char png_get_channels (); 8656char png_get_channels ();
8657#ifdef F77_DUMMY_MAIN
8658# ifdef __cplusplus
8659 extern "C"
8660# endif
8661 int F77_DUMMY_MAIN() { return 1; }
8662#endif
7436int 8663int
7437main () 8664main ()
7438{ 8665{
@@ -7442,16 +8669,16 @@ png_get_channels ();
7442} 8669}
7443_ACEOF 8670_ACEOF
7444rm -f conftest.$ac_objext conftest$ac_exeext 8671rm -f conftest.$ac_objext conftest$ac_exeext
7445if { (eval echo "$as_me:7445: \"$ac_link\"") >&5 8672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7446 (eval $ac_link) 2>&5 8673 (eval $ac_link) 2>&5
7447 ac_status=$? 8674 ac_status=$?
7448 echo "$as_me:7448: \$? = $ac_status" >&5 8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } && 8676 (exit $ac_status); } &&
7450 { ac_try='test -s conftest$ac_exeext' 8677 { ac_try='test -s conftest$ac_exeext'
7451 { (eval echo "$as_me:7451: \"$ac_try\"") >&5 8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 (eval $ac_try) 2>&5 8679 (eval $ac_try) 2>&5
7453 ac_status=$? 8680 ac_status=$?
7454 echo "$as_me:7454: \$? = $ac_status" >&5 8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; }; then 8682 (exit $ac_status); }; }; then
7456 ac_cv_lib_png_png_get_channels=yes 8683 ac_cv_lib_png_png_get_channels=yes
7457else 8684else
@@ -7462,7 +8689,7 @@ fi
7462rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8689rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7463LIBS=$ac_check_lib_save_LIBS 8690LIBS=$ac_check_lib_save_LIBS
7464fi 8691fi
7465echo "$as_me:7465: result: $ac_cv_lib_png_png_get_channels" >&5 8692echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
7466echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 8693echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7467if test $ac_cv_lib_png_png_get_channels = yes; then 8694if test $ac_cv_lib_png_png_get_channels = yes; then
7468 HAVE_PNG=yes 8695 HAVE_PNG=yes
@@ -7470,13 +8697,14 @@ fi
7470 8697
7471fi 8698fi
7472 8699
8700
7473 fi 8701 fi
7474 8702
7475 if test "${HAVE_PNG}" = "yes"; then 8703 if test "${HAVE_PNG}" = "yes"; then
7476 8704
7477cat >>confdefs.h <<\EOF 8705cat >>confdefs.h <<\_ACEOF
7478#define HAVE_PNG 1 8706#define HAVE_PNG 1
7479EOF 8707_ACEOF
7480 8708
7481 fi 8709 fi
7482fi 8710fi
@@ -7485,23 +8713,61 @@ fi
7485HAVE_TIFF=no 8713HAVE_TIFF=no
7486if test "${HAVE_X11}" = "yes"; then 8714if test "${HAVE_X11}" = "yes"; then
7487 if test "${with_tiff}" != "no"; then 8715 if test "${with_tiff}" != "no"; then
7488 echo "$as_me:7488: checking for tiffio.h" >&5 8716 if test "${ac_cv_header_tiffio_h+set}" = set; then
8717 echo "$as_me:$LINENO: checking for tiffio.h" >&5
7489echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 8718echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7490if test "${ac_cv_header_tiffio_h+set}" = set; then 8719if test "${ac_cv_header_tiffio_h+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6 8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8721fi
8722echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
8723echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7492else 8724else
7493 cat >conftest.$ac_ext <<_ACEOF 8725 # Is the header compilable?
7494#line 7494 "configure" 8726echo "$as_me:$LINENO: checking tiffio.h usability" >&5
8727echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
8728cat >conftest.$ac_ext <<_ACEOF
8729#line $LINENO "configure"
7495#include "confdefs.h" 8730#include "confdefs.h"
8731$ac_includes_default
7496#include <tiffio.h> 8732#include <tiffio.h>
7497_ACEOF 8733_ACEOF
7498if { (eval echo "$as_me:7498: \"$ac_cpp conftest.$ac_ext\"") >&5 8734rm -f conftest.$ac_objext
8735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8736 (eval $ac_compile) 2>&5
8737 ac_status=$?
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } &&
8740 { ac_try='test -s conftest.$ac_objext'
8741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8742 (eval $ac_try) 2>&5
8743 ac_status=$?
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; }; then
8746 ac_header_compiler=yes
8747else
8748 echo "$as_me: failed program was:" >&5
8749cat conftest.$ac_ext >&5
8750ac_header_compiler=no
8751fi
8752rm -f conftest.$ac_objext conftest.$ac_ext
8753echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8754echo "${ECHO_T}$ac_header_compiler" >&6
8755
8756# Is the header present?
8757echo "$as_me:$LINENO: checking tiffio.h presence" >&5
8758echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
8759cat >conftest.$ac_ext <<_ACEOF
8760#line $LINENO "configure"
8761#include "confdefs.h"
8762#include <tiffio.h>
8763_ACEOF
8764if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7500 ac_status=$? 8766 ac_status=$?
7501 egrep -v '^ *\+' conftest.er1 >conftest.err 8767 egrep -v '^ *\+' conftest.er1 >conftest.err
7502 rm -f conftest.er1 8768 rm -f conftest.er1
7503 cat conftest.err >&5 8769 cat conftest.err >&5
7504 echo "$as_me:7504: \$? = $ac_status" >&5 8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } >/dev/null; then 8771 (exit $ac_status); } >/dev/null; then
7506 if test -s conftest.err; then 8772 if test -s conftest.err; then
7507 ac_cpp_err=$ac_c_preproc_warn_flag 8773 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7512,21 +8778,47 @@ else
7512 ac_cpp_err=yes 8778 ac_cpp_err=yes
7513fi 8779fi
7514if test -z "$ac_cpp_err"; then 8780if test -z "$ac_cpp_err"; then
7515 ac_cv_header_tiffio_h=yes 8781 ac_header_preproc=yes
7516else 8782else
7517 echo "$as_me: failed program was:" >&5 8783 echo "$as_me: failed program was:" >&5
7518 cat conftest.$ac_ext >&5 8784 cat conftest.$ac_ext >&5
7519 ac_cv_header_tiffio_h=no 8785 ac_header_preproc=no
7520fi 8786fi
7521rm -f conftest.err conftest.$ac_ext 8787rm -f conftest.err conftest.$ac_ext
8788echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8789echo "${ECHO_T}$ac_header_preproc" >&6
8790
8791# So? What about this header?
8792case $ac_header_compiler:$ac_header_preproc in
8793 yes:no )
8794 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
8795echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
8797echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
8798 no:yes )
8799 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
8800echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
8801 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
8802echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
8803 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
8804echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
8805esac
8806echo "$as_me:$LINENO: checking for tiffio.h" >&5
8807echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
8808if test "${ac_cv_header_tiffio_h+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8810else
8811 ac_cv_header_tiffio_h=$ac_header_preproc
7522fi 8812fi
7523echo "$as_me:7523: result: $ac_cv_header_tiffio_h" >&5 8813echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
7524echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 8814echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
8815
8816fi
7525if test $ac_cv_header_tiffio_h = yes; then 8817if test $ac_cv_header_tiffio_h = yes; then
7526 tifflibs="-lz -lm" 8818 tifflibs="-lz -lm"
7527 # At least one tiff package requires the jpeg library. 8819 # At least one tiff package requires the jpeg library.
7528 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 8820 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7529 echo "$as_me:7529: checking for TIFFGetVersion in -ltiff" >&5 8821 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
7530echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 8822echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7531if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 8823if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7532 echo $ECHO_N "(cached) $ECHO_C" >&6 8824 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7534,7 +8826,7 @@ else
7534 ac_check_lib_save_LIBS=$LIBS 8826 ac_check_lib_save_LIBS=$LIBS
7535LIBS="-ltiff $tifflibs $LIBS" 8827LIBS="-ltiff $tifflibs $LIBS"
7536cat >conftest.$ac_ext <<_ACEOF 8828cat >conftest.$ac_ext <<_ACEOF
7537#line 7537 "configure" 8829#line $LINENO "configure"
7538#include "confdefs.h" 8830#include "confdefs.h"
7539 8831
7540/* Override any gcc2 internal prototype to avoid an error. */ 8832/* Override any gcc2 internal prototype to avoid an error. */
@@ -7544,6 +8836,12 @@ extern "C"
7544/* We use char because int might match the return type of a gcc2 8836/* We use char because int might match the return type of a gcc2
7545 builtin and then its argument prototype would still apply. */ 8837 builtin and then its argument prototype would still apply. */
7546char TIFFGetVersion (); 8838char TIFFGetVersion ();
8839#ifdef F77_DUMMY_MAIN
8840# ifdef __cplusplus
8841 extern "C"
8842# endif
8843 int F77_DUMMY_MAIN() { return 1; }
8844#endif
7547int 8845int
7548main () 8846main ()
7549{ 8847{
@@ -7553,16 +8851,16 @@ TIFFGetVersion ();
7553} 8851}
7554_ACEOF 8852_ACEOF
7555rm -f conftest.$ac_objext conftest$ac_exeext 8853rm -f conftest.$ac_objext conftest$ac_exeext
7556if { (eval echo "$as_me:7556: \"$ac_link\"") >&5 8854if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7557 (eval $ac_link) 2>&5 8855 (eval $ac_link) 2>&5
7558 ac_status=$? 8856 ac_status=$?
7559 echo "$as_me:7559: \$? = $ac_status" >&5 8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } && 8858 (exit $ac_status); } &&
7561 { ac_try='test -s conftest$ac_exeext' 8859 { ac_try='test -s conftest$ac_exeext'
7562 { (eval echo "$as_me:7562: \"$ac_try\"") >&5 8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 (eval $ac_try) 2>&5 8861 (eval $ac_try) 2>&5
7564 ac_status=$? 8862 ac_status=$?
7565 echo "$as_me:7565: \$? = $ac_status" >&5 8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then 8864 (exit $ac_status); }; }; then
7567 ac_cv_lib_tiff_TIFFGetVersion=yes 8865 ac_cv_lib_tiff_TIFFGetVersion=yes
7568else 8866else
@@ -7573,7 +8871,7 @@ fi
7573rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8871rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7574LIBS=$ac_check_lib_save_LIBS 8872LIBS=$ac_check_lib_save_LIBS
7575fi 8873fi
7576echo "$as_me:7576: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 8874echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7577echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 8875echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7578if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 8876if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7579 HAVE_TIFF=yes 8877 HAVE_TIFF=yes
@@ -7581,13 +8879,14 @@ fi
7581 8879
7582fi 8880fi
7583 8881
8882
7584 fi 8883 fi
7585 8884
7586 if test "${HAVE_TIFF}" = "yes"; then 8885 if test "${HAVE_TIFF}" = "yes"; then
7587 8886
7588cat >>confdefs.h <<\EOF 8887cat >>confdefs.h <<\_ACEOF
7589#define HAVE_TIFF 1 8888#define HAVE_TIFF 1
7590EOF 8889_ACEOF
7591 8890
7592 fi 8891 fi
7593fi 8892fi
@@ -7596,23 +8895,61 @@ fi
7596HAVE_GIF=no 8895HAVE_GIF=no
7597if test "${HAVE_X11}" = "yes"; then 8896if test "${HAVE_X11}" = "yes"; then
7598 if test "${with_gif}" != "no"; then 8897 if test "${with_gif}" != "no"; then
7599 echo "$as_me:7599: checking for gif_lib.h" >&5 8898 if test "${ac_cv_header_gif_lib_h+set}" = set; then
8899 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
7600echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 8900echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7601if test "${ac_cv_header_gif_lib_h+set}" = set; then 8901if test "${ac_cv_header_gif_lib_h+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6 8902 echo $ECHO_N "(cached) $ECHO_C" >&6
8903fi
8904echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
8905echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7603else 8906else
7604 cat >conftest.$ac_ext <<_ACEOF 8907 # Is the header compilable?
7605#line 7605 "configure" 8908echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
8909echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
8910cat >conftest.$ac_ext <<_ACEOF
8911#line $LINENO "configure"
8912#include "confdefs.h"
8913$ac_includes_default
8914#include <gif_lib.h>
8915_ACEOF
8916rm -f conftest.$ac_objext
8917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8918 (eval $ac_compile) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try='test -s conftest.$ac_objext'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; }; then
8928 ac_header_compiler=yes
8929else
8930 echo "$as_me: failed program was:" >&5
8931cat conftest.$ac_ext >&5
8932ac_header_compiler=no
8933fi
8934rm -f conftest.$ac_objext conftest.$ac_ext
8935echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8936echo "${ECHO_T}$ac_header_compiler" >&6
8937
8938# Is the header present?
8939echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
8940echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
8941cat >conftest.$ac_ext <<_ACEOF
8942#line $LINENO "configure"
7606#include "confdefs.h" 8943#include "confdefs.h"
7607#include <gif_lib.h> 8944#include <gif_lib.h>
7608_ACEOF 8945_ACEOF
7609if { (eval echo "$as_me:7609: \"$ac_cpp conftest.$ac_ext\"") >&5 8946if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7611 ac_status=$? 8948 ac_status=$?
7612 egrep -v '^ *\+' conftest.er1 >conftest.err 8949 egrep -v '^ *\+' conftest.er1 >conftest.err
7613 rm -f conftest.er1 8950 rm -f conftest.er1
7614 cat conftest.err >&5 8951 cat conftest.err >&5
7615 echo "$as_me:7615: \$? = $ac_status" >&5 8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); } >/dev/null; then 8953 (exit $ac_status); } >/dev/null; then
7617 if test -s conftest.err; then 8954 if test -s conftest.err; then
7618 ac_cpp_err=$ac_c_preproc_warn_flag 8955 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7623,20 +8960,46 @@ else
7623 ac_cpp_err=yes 8960 ac_cpp_err=yes
7624fi 8961fi
7625if test -z "$ac_cpp_err"; then 8962if test -z "$ac_cpp_err"; then
7626 ac_cv_header_gif_lib_h=yes 8963 ac_header_preproc=yes
7627else 8964else
7628 echo "$as_me: failed program was:" >&5 8965 echo "$as_me: failed program was:" >&5
7629 cat conftest.$ac_ext >&5 8966 cat conftest.$ac_ext >&5
7630 ac_cv_header_gif_lib_h=no 8967 ac_header_preproc=no
7631fi 8968fi
7632rm -f conftest.err conftest.$ac_ext 8969rm -f conftest.err conftest.$ac_ext
8970echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8971echo "${ECHO_T}$ac_header_preproc" >&6
8972
8973# So? What about this header?
8974case $ac_header_compiler:$ac_header_preproc in
8975 yes:no )
8976 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
8977echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8978 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
8979echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
8980 no:yes )
8981 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
8982echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
8983 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
8984echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
8985 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
8986echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
8987esac
8988echo "$as_me:$LINENO: checking for gif_lib.h" >&5
8989echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
8990if test "${ac_cv_header_gif_lib_h+set}" = set; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8992else
8993 ac_cv_header_gif_lib_h=$ac_header_preproc
7633fi 8994fi
7634echo "$as_me:7634: result: $ac_cv_header_gif_lib_h" >&5 8995echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
7635echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 8996echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
8997
8998fi
7636if test $ac_cv_header_gif_lib_h = yes; then 8999if test $ac_cv_header_gif_lib_h = yes; then
7637 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 9000 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7638# Earlier versions can crash Emacs. 9001# Earlier versions can crash Emacs.
7639 echo "$as_me:7639: checking for EGifPutExtensionLast in -lungif" >&5 9002 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
7640echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 9003echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7641if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 9004if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7642 echo $ECHO_N "(cached) $ECHO_C" >&6 9005 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7644,7 +9007,7 @@ else
7644 ac_check_lib_save_LIBS=$LIBS 9007 ac_check_lib_save_LIBS=$LIBS
7645LIBS="-lungif $LIBS" 9008LIBS="-lungif $LIBS"
7646cat >conftest.$ac_ext <<_ACEOF 9009cat >conftest.$ac_ext <<_ACEOF
7647#line 7647 "configure" 9010#line $LINENO "configure"
7648#include "confdefs.h" 9011#include "confdefs.h"
7649 9012
7650/* Override any gcc2 internal prototype to avoid an error. */ 9013/* Override any gcc2 internal prototype to avoid an error. */
@@ -7654,6 +9017,12 @@ extern "C"
7654/* We use char because int might match the return type of a gcc2 9017/* We use char because int might match the return type of a gcc2
7655 builtin and then its argument prototype would still apply. */ 9018 builtin and then its argument prototype would still apply. */
7656char EGifPutExtensionLast (); 9019char EGifPutExtensionLast ();
9020#ifdef F77_DUMMY_MAIN
9021# ifdef __cplusplus
9022 extern "C"
9023# endif
9024 int F77_DUMMY_MAIN() { return 1; }
9025#endif
7657int 9026int
7658main () 9027main ()
7659{ 9028{
@@ -7663,16 +9032,16 @@ EGifPutExtensionLast ();
7663} 9032}
7664_ACEOF 9033_ACEOF
7665rm -f conftest.$ac_objext conftest$ac_exeext 9034rm -f conftest.$ac_objext conftest$ac_exeext
7666if { (eval echo "$as_me:7666: \"$ac_link\"") >&5 9035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7667 (eval $ac_link) 2>&5 9036 (eval $ac_link) 2>&5
7668 ac_status=$? 9037 ac_status=$?
7669 echo "$as_me:7669: \$? = $ac_status" >&5 9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } && 9039 (exit $ac_status); } &&
7671 { ac_try='test -s conftest$ac_exeext' 9040 { ac_try='test -s conftest$ac_exeext'
7672 { (eval echo "$as_me:7672: \"$ac_try\"") >&5 9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 (eval $ac_try) 2>&5 9042 (eval $ac_try) 2>&5
7674 ac_status=$? 9043 ac_status=$?
7675 echo "$as_me:7675: \$? = $ac_status" >&5 9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then 9045 (exit $ac_status); }; }; then
7677 ac_cv_lib_ungif_EGifPutExtensionLast=yes 9046 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7678else 9047else
@@ -7683,7 +9052,7 @@ fi
7683rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9052rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7684LIBS=$ac_check_lib_save_LIBS 9053LIBS=$ac_check_lib_save_LIBS
7685fi 9054fi
7686echo "$as_me:7686: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 9055echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7687echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 9056echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7688if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 9057if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7689 HAVE_GIF=yes 9058 HAVE_GIF=yes
@@ -7691,13 +9060,14 @@ fi
7691 9060
7692fi 9061fi
7693 9062
9063
7694 fi 9064 fi
7695 9065
7696 if test "${HAVE_GIF}" = "yes"; then 9066 if test "${HAVE_GIF}" = "yes"; then
7697 9067
7698cat >>confdefs.h <<\EOF 9068cat >>confdefs.h <<\_ACEOF
7699#define HAVE_GIF 1 9069#define HAVE_GIF 1
7700EOF 9070_ACEOF
7701 9071
7702 fi 9072 fi
7703fi 9073fi
@@ -7705,23 +9075,61 @@ fi
7705### Use Mac OS X Carbon API to implement GUI. 9075### Use Mac OS X Carbon API to implement GUI.
7706HAVE_CARBON=no 9076HAVE_CARBON=no
7707if test "${with_carbon}" != "no"; then 9077if test "${with_carbon}" != "no"; then
7708 echo "$as_me:7708: checking for Carbon/Carbon.h" >&5 9078 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9079 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
7709echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 9080echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7710if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 9081if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6 9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9083fi
9084echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
9085echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7712else 9086else
7713 cat >conftest.$ac_ext <<_ACEOF 9087 # Is the header compilable?
7714#line 7714 "configure" 9088echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
9089echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
9090cat >conftest.$ac_ext <<_ACEOF
9091#line $LINENO "configure"
9092#include "confdefs.h"
9093$ac_includes_default
9094#include <Carbon/Carbon.h>
9095_ACEOF
9096rm -f conftest.$ac_objext
9097if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9098 (eval $ac_compile) 2>&5
9099 ac_status=$?
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } &&
9102 { ac_try='test -s conftest.$ac_objext'
9103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9104 (eval $ac_try) 2>&5
9105 ac_status=$?
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); }; }; then
9108 ac_header_compiler=yes
9109else
9110 echo "$as_me: failed program was:" >&5
9111cat conftest.$ac_ext >&5
9112ac_header_compiler=no
9113fi
9114rm -f conftest.$ac_objext conftest.$ac_ext
9115echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9116echo "${ECHO_T}$ac_header_compiler" >&6
9117
9118# Is the header present?
9119echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
9120echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
9121cat >conftest.$ac_ext <<_ACEOF
9122#line $LINENO "configure"
7715#include "confdefs.h" 9123#include "confdefs.h"
7716#include <Carbon/Carbon.h> 9124#include <Carbon/Carbon.h>
7717_ACEOF 9125_ACEOF
7718if { (eval echo "$as_me:7718: \"$ac_cpp conftest.$ac_ext\"") >&5 9126if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7720 ac_status=$? 9128 ac_status=$?
7721 egrep -v '^ *\+' conftest.er1 >conftest.err 9129 egrep -v '^ *\+' conftest.er1 >conftest.err
7722 rm -f conftest.er1 9130 rm -f conftest.er1
7723 cat conftest.err >&5 9131 cat conftest.err >&5
7724 echo "$as_me:7724: \$? = $ac_status" >&5 9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } >/dev/null; then 9133 (exit $ac_status); } >/dev/null; then
7726 if test -s conftest.err; then 9134 if test -s conftest.err; then
7727 ac_cpp_err=$ac_c_preproc_warn_flag 9135 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7732,50 +9140,115 @@ else
7732 ac_cpp_err=yes 9140 ac_cpp_err=yes
7733fi 9141fi
7734if test -z "$ac_cpp_err"; then 9142if test -z "$ac_cpp_err"; then
7735 ac_cv_header_Carbon_Carbon_h=yes 9143 ac_header_preproc=yes
7736else 9144else
7737 echo "$as_me: failed program was:" >&5 9145 echo "$as_me: failed program was:" >&5
7738 cat conftest.$ac_ext >&5 9146 cat conftest.$ac_ext >&5
7739 ac_cv_header_Carbon_Carbon_h=no 9147 ac_header_preproc=no
7740fi 9148fi
7741rm -f conftest.err conftest.$ac_ext 9149rm -f conftest.err conftest.$ac_ext
9150echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9151echo "${ECHO_T}$ac_header_preproc" >&6
9152
9153# So? What about this header?
9154case $ac_header_compiler:$ac_header_preproc in
9155 yes:no )
9156 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
9157echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9158 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
9159echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};;
9160 no:yes )
9161 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
9162echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
9164echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
9166echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};;
9167esac
9168echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
9169echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
9170if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9172else
9173 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
7742fi 9174fi
7743echo "$as_me:7743: result: $ac_cv_header_Carbon_Carbon_h" >&5 9175echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
7744echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 9176echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
9177
9178fi
7745if test $ac_cv_header_Carbon_Carbon_h = yes; then 9179if test $ac_cv_header_Carbon_Carbon_h = yes; then
7746 HAVE_CARBON=yes 9180 HAVE_CARBON=yes
7747fi 9181fi
7748 9182
9183
7749fi 9184fi
7750 9185
7751if test "${HAVE_CARBON}" = "yes"; then 9186if test "${HAVE_CARBON}" = "yes"; then
7752 9187
7753cat >>confdefs.h <<\EOF 9188cat >>confdefs.h <<\_ACEOF
7754#define HAVE_CARBON 1 9189#define HAVE_CARBON 1
7755EOF 9190_ACEOF
7756 9191
7757fi 9192fi
7758 9193
7759### Use session management (-lSM -lICE) if available 9194### Use session management (-lSM -lICE) if available
7760HAVE_X_SM=no 9195HAVE_X_SM=no
7761if test "${HAVE_X11}" = "yes"; then 9196if test "${HAVE_X11}" = "yes"; then
7762 echo "$as_me:7762: checking for X11/SM/SMlib.h" >&5 9197 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
9198 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
7763echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 9199echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7764if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 9200if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6 9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9202fi
9203echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
9204echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7766else 9205else
7767 cat >conftest.$ac_ext <<_ACEOF 9206 # Is the header compilable?
7768#line 7768 "configure" 9207echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
9208echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
9209cat >conftest.$ac_ext <<_ACEOF
9210#line $LINENO "configure"
7769#include "confdefs.h" 9211#include "confdefs.h"
9212$ac_includes_default
7770#include <X11/SM/SMlib.h> 9213#include <X11/SM/SMlib.h>
7771_ACEOF 9214_ACEOF
7772if { (eval echo "$as_me:7772: \"$ac_cpp conftest.$ac_ext\"") >&5 9215rm -f conftest.$ac_objext
9216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9217 (eval $ac_compile) 2>&5
9218 ac_status=$?
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } &&
9221 { ac_try='test -s conftest.$ac_objext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 (eval $ac_try) 2>&5
9224 ac_status=$?
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9227 ac_header_compiler=yes
9228else
9229 echo "$as_me: failed program was:" >&5
9230cat conftest.$ac_ext >&5
9231ac_header_compiler=no
9232fi
9233rm -f conftest.$ac_objext conftest.$ac_ext
9234echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9235echo "${ECHO_T}$ac_header_compiler" >&6
9236
9237# Is the header present?
9238echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
9239echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
9240cat >conftest.$ac_ext <<_ACEOF
9241#line $LINENO "configure"
9242#include "confdefs.h"
9243#include <X11/SM/SMlib.h>
9244_ACEOF
9245if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7774 ac_status=$? 9247 ac_status=$?
7775 egrep -v '^ *\+' conftest.er1 >conftest.err 9248 egrep -v '^ *\+' conftest.er1 >conftest.err
7776 rm -f conftest.er1 9249 rm -f conftest.er1
7777 cat conftest.err >&5 9250 cat conftest.err >&5
7778 echo "$as_me:7778: \$? = $ac_status" >&5 9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } >/dev/null; then 9252 (exit $ac_status); } >/dev/null; then
7780 if test -s conftest.err; then 9253 if test -s conftest.err; then
7781 ac_cpp_err=$ac_c_preproc_warn_flag 9254 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7786,18 +9259,44 @@ else
7786 ac_cpp_err=yes 9259 ac_cpp_err=yes
7787fi 9260fi
7788if test -z "$ac_cpp_err"; then 9261if test -z "$ac_cpp_err"; then
7789 ac_cv_header_X11_SM_SMlib_h=yes 9262 ac_header_preproc=yes
7790else 9263else
7791 echo "$as_me: failed program was:" >&5 9264 echo "$as_me: failed program was:" >&5
7792 cat conftest.$ac_ext >&5 9265 cat conftest.$ac_ext >&5
7793 ac_cv_header_X11_SM_SMlib_h=no 9266 ac_header_preproc=no
7794fi 9267fi
7795rm -f conftest.err conftest.$ac_ext 9268rm -f conftest.err conftest.$ac_ext
9269echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9270echo "${ECHO_T}$ac_header_preproc" >&6
9271
9272# So? What about this header?
9273case $ac_header_compiler:$ac_header_preproc in
9274 yes:no )
9275 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9276echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9277 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
9278echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
9279 no:yes )
9280 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
9281echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
9283echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
9284 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
9285echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
9286esac
9287echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
9288echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
9289if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9291else
9292 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
7796fi 9293fi
7797echo "$as_me:7797: result: $ac_cv_header_X11_SM_SMlib_h" >&5 9294echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7798echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 9295echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
9296
9297fi
7799if test $ac_cv_header_X11_SM_SMlib_h = yes; then 9298if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7800 echo "$as_me:7800: checking for SmcOpenConnection in -lSM" >&5 9299 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
7801echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 9300echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7802if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 9301if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7803 echo $ECHO_N "(cached) $ECHO_C" >&6 9302 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7805,7 +9304,7 @@ else
7805 ac_check_lib_save_LIBS=$LIBS 9304 ac_check_lib_save_LIBS=$LIBS
7806LIBS="-lSM $LIBS" 9305LIBS="-lSM $LIBS"
7807cat >conftest.$ac_ext <<_ACEOF 9306cat >conftest.$ac_ext <<_ACEOF
7808#line 7808 "configure" 9307#line $LINENO "configure"
7809#include "confdefs.h" 9308#include "confdefs.h"
7810 9309
7811/* Override any gcc2 internal prototype to avoid an error. */ 9310/* Override any gcc2 internal prototype to avoid an error. */
@@ -7815,6 +9314,12 @@ extern "C"
7815/* We use char because int might match the return type of a gcc2 9314/* We use char because int might match the return type of a gcc2
7816 builtin and then its argument prototype would still apply. */ 9315 builtin and then its argument prototype would still apply. */
7817char SmcOpenConnection (); 9316char SmcOpenConnection ();
9317#ifdef F77_DUMMY_MAIN
9318# ifdef __cplusplus
9319 extern "C"
9320# endif
9321 int F77_DUMMY_MAIN() { return 1; }
9322#endif
7818int 9323int
7819main () 9324main ()
7820{ 9325{
@@ -7824,16 +9329,16 @@ SmcOpenConnection ();
7824} 9329}
7825_ACEOF 9330_ACEOF
7826rm -f conftest.$ac_objext conftest$ac_exeext 9331rm -f conftest.$ac_objext conftest$ac_exeext
7827if { (eval echo "$as_me:7827: \"$ac_link\"") >&5 9332if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7828 (eval $ac_link) 2>&5 9333 (eval $ac_link) 2>&5
7829 ac_status=$? 9334 ac_status=$?
7830 echo "$as_me:7830: \$? = $ac_status" >&5 9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); } && 9336 (exit $ac_status); } &&
7832 { ac_try='test -s conftest$ac_exeext' 9337 { ac_try='test -s conftest$ac_exeext'
7833 { (eval echo "$as_me:7833: \"$ac_try\"") >&5 9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 (eval $ac_try) 2>&5 9339 (eval $ac_try) 2>&5
7835 ac_status=$? 9340 ac_status=$?
7836 echo "$as_me:7836: \$? = $ac_status" >&5 9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then 9342 (exit $ac_status); }; }; then
7838 ac_cv_lib_SM_SmcOpenConnection=yes 9343 ac_cv_lib_SM_SmcOpenConnection=yes
7839else 9344else
@@ -7844,7 +9349,7 @@ fi
7844rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9349rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7845LIBS=$ac_check_lib_save_LIBS 9350LIBS=$ac_check_lib_save_LIBS
7846fi 9351fi
7847echo "$as_me:7847: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 9352echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7848echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 9353echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7849if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 9354if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7850 HAVE_X_SM=yes 9355 HAVE_X_SM=yes
@@ -7854,11 +9359,13 @@ fi
7854 9359
7855fi 9360fi
7856 9361
9362
9363
7857 if test "${HAVE_X_SM}" = "yes"; then 9364 if test "${HAVE_X_SM}" = "yes"; then
7858 9365
7859cat >>confdefs.h <<\EOF 9366cat >>confdefs.h <<\_ACEOF
7860#define HAVE_X_SM 1 9367#define HAVE_X_SM 1
7861EOF 9368_ACEOF
7862 9369
7863 case "$LIBS" in 9370 case "$LIBS" in
7864 *-lSM*) ;; 9371 *-lSM*) ;;
@@ -7868,15 +9375,21 @@ EOF
7868fi 9375fi
7869 9376
7870# If netdb.h doesn't declare h_errno, we must declare it by hand. 9377# If netdb.h doesn't declare h_errno, we must declare it by hand.
7871echo "$as_me:7871: checking whether netdb declares h_errno" >&5 9378echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
7872echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 9379echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7873if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 9380if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7874 echo $ECHO_N "(cached) $ECHO_C" >&6 9381 echo $ECHO_N "(cached) $ECHO_C" >&6
7875else 9382else
7876 cat >conftest.$ac_ext <<_ACEOF 9383 cat >conftest.$ac_ext <<_ACEOF
7877#line 7877 "configure" 9384#line $LINENO "configure"
7878#include "confdefs.h" 9385#include "confdefs.h"
7879#include <netdb.h> 9386#include <netdb.h>
9387#ifdef F77_DUMMY_MAIN
9388# ifdef __cplusplus
9389 extern "C"
9390# endif
9391 int F77_DUMMY_MAIN() { return 1; }
9392#endif
7880int 9393int
7881main () 9394main ()
7882{ 9395{
@@ -7886,16 +9399,16 @@ return h_errno;
7886} 9399}
7887_ACEOF 9400_ACEOF
7888rm -f conftest.$ac_objext conftest$ac_exeext 9401rm -f conftest.$ac_objext conftest$ac_exeext
7889if { (eval echo "$as_me:7889: \"$ac_link\"") >&5 9402if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>&5 9403 (eval $ac_link) 2>&5
7891 ac_status=$? 9404 ac_status=$?
7892 echo "$as_me:7892: \$? = $ac_status" >&5 9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && 9406 (exit $ac_status); } &&
7894 { ac_try='test -s conftest$ac_exeext' 9407 { ac_try='test -s conftest$ac_exeext'
7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5 9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 (eval $ac_try) 2>&5 9409 (eval $ac_try) 2>&5
7897 ac_status=$? 9410 ac_status=$?
7898 echo "$as_me:7898: \$? = $ac_status" >&5 9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; }; then 9412 (exit $ac_status); }; }; then
7900 emacs_cv_netdb_declares_h_errno=yes 9413 emacs_cv_netdb_declares_h_errno=yes
7901else 9414else
@@ -7905,27 +9418,33 @@ emacs_cv_netdb_declares_h_errno=no
7905fi 9418fi
7906rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9419rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7907fi 9420fi
7908echo "$as_me:7908: result: $emacs_cv_netdb_declares_h_errno" >&5 9421echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
7909echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 9422echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7910if test $emacs_cv_netdb_declares_h_errno = yes; then 9423if test $emacs_cv_netdb_declares_h_errno = yes; then
7911 9424
7912cat >>confdefs.h <<\EOF 9425cat >>confdefs.h <<\_ACEOF
7913#define HAVE_H_ERRNO 1 9426#define HAVE_H_ERRNO 1
7914EOF 9427_ACEOF
7915 9428
7916fi 9429fi
7917 9430
7918# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 9431# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7919# for constant arguments. Useless! 9432# for constant arguments. Useless!
7920echo "$as_me:7920: checking for working alloca.h" >&5 9433echo "$as_me:$LINENO: checking for working alloca.h" >&5
7921echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 9434echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7922if test "${ac_cv_working_alloca_h+set}" = set; then 9435if test "${ac_cv_working_alloca_h+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6 9436 echo $ECHO_N "(cached) $ECHO_C" >&6
7924else 9437else
7925 cat >conftest.$ac_ext <<_ACEOF 9438 cat >conftest.$ac_ext <<_ACEOF
7926#line 7926 "configure" 9439#line $LINENO "configure"
7927#include "confdefs.h" 9440#include "confdefs.h"
7928#include <alloca.h> 9441#include <alloca.h>
9442#ifdef F77_DUMMY_MAIN
9443# ifdef __cplusplus
9444 extern "C"
9445# endif
9446 int F77_DUMMY_MAIN() { return 1; }
9447#endif
7929int 9448int
7930main () 9449main ()
7931{ 9450{
@@ -7935,16 +9454,16 @@ char *p = (char *) alloca (2 * sizeof (int));
7935} 9454}
7936_ACEOF 9455_ACEOF
7937rm -f conftest.$ac_objext conftest$ac_exeext 9456rm -f conftest.$ac_objext conftest$ac_exeext
7938if { (eval echo "$as_me:7938: \"$ac_link\"") >&5 9457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7939 (eval $ac_link) 2>&5 9458 (eval $ac_link) 2>&5
7940 ac_status=$? 9459 ac_status=$?
7941 echo "$as_me:7941: \$? = $ac_status" >&5 9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); } && 9461 (exit $ac_status); } &&
7943 { ac_try='test -s conftest$ac_exeext' 9462 { ac_try='test -s conftest$ac_exeext'
7944 { (eval echo "$as_me:7944: \"$ac_try\"") >&5 9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5 9464 (eval $ac_try) 2>&5
7946 ac_status=$? 9465 ac_status=$?
7947 echo "$as_me:7947: \$? = $ac_status" >&5 9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; }; then 9467 (exit $ac_status); }; }; then
7949 ac_cv_working_alloca_h=yes 9468 ac_cv_working_alloca_h=yes
7950else 9469else
@@ -7954,23 +9473,23 @@ ac_cv_working_alloca_h=no
7954fi 9473fi
7955rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9474rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7956fi 9475fi
7957echo "$as_me:7957: result: $ac_cv_working_alloca_h" >&5 9476echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7958echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 9477echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7959if test $ac_cv_working_alloca_h = yes; then 9478if test $ac_cv_working_alloca_h = yes; then
7960 9479
7961cat >>confdefs.h <<\EOF 9480cat >>confdefs.h <<\_ACEOF
7962#define HAVE_ALLOCA_H 1 9481#define HAVE_ALLOCA_H 1
7963EOF 9482_ACEOF
7964 9483
7965fi 9484fi
7966 9485
7967echo "$as_me:7967: checking for alloca" >&5 9486echo "$as_me:$LINENO: checking for alloca" >&5
7968echo $ECHO_N "checking for alloca... $ECHO_C" >&6 9487echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7969if test "${ac_cv_func_alloca_works+set}" = set; then 9488if test "${ac_cv_func_alloca_works+set}" = set; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6 9489 echo $ECHO_N "(cached) $ECHO_C" >&6
7971else 9490else
7972 cat >conftest.$ac_ext <<_ACEOF 9491 cat >conftest.$ac_ext <<_ACEOF
7973#line 7973 "configure" 9492#line $LINENO "configure"
7974#include "confdefs.h" 9493#include "confdefs.h"
7975#ifdef __GNUC__ 9494#ifdef __GNUC__
7976# define alloca __builtin_alloca 9495# define alloca __builtin_alloca
@@ -7993,6 +9512,12 @@ char *alloca ();
7993# endif 9512# endif
7994#endif 9513#endif
7995 9514
9515#ifdef F77_DUMMY_MAIN
9516# ifdef __cplusplus
9517 extern "C"
9518# endif
9519 int F77_DUMMY_MAIN() { return 1; }
9520#endif
7996int 9521int
7997main () 9522main ()
7998{ 9523{
@@ -8002,16 +9527,16 @@ char *p = (char *) alloca (1);
8002} 9527}
8003_ACEOF 9528_ACEOF
8004rm -f conftest.$ac_objext conftest$ac_exeext 9529rm -f conftest.$ac_objext conftest$ac_exeext
8005if { (eval echo "$as_me:8005: \"$ac_link\"") >&5 9530if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8006 (eval $ac_link) 2>&5 9531 (eval $ac_link) 2>&5
8007 ac_status=$? 9532 ac_status=$?
8008 echo "$as_me:8008: \$? = $ac_status" >&5 9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && 9534 (exit $ac_status); } &&
8010 { ac_try='test -s conftest$ac_exeext' 9535 { ac_try='test -s conftest$ac_exeext'
8011 { (eval echo "$as_me:8011: \"$ac_try\"") >&5 9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 (eval $ac_try) 2>&5 9537 (eval $ac_try) 2>&5
8013 ac_status=$? 9538 ac_status=$?
8014 echo "$as_me:8014: \$? = $ac_status" >&5 9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then 9540 (exit $ac_status); }; }; then
8016 ac_cv_func_alloca_works=yes 9541 ac_cv_func_alloca_works=yes
8017else 9542else
@@ -8021,14 +9546,14 @@ ac_cv_func_alloca_works=no
8021fi 9546fi
8022rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9547rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8023fi 9548fi
8024echo "$as_me:8024: result: $ac_cv_func_alloca_works" >&5 9549echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8025echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 9550echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8026 9551
8027if test $ac_cv_func_alloca_works = yes; then 9552if test $ac_cv_func_alloca_works = yes; then
8028 9553
8029cat >>confdefs.h <<\EOF 9554cat >>confdefs.h <<\_ACEOF
8030#define HAVE_ALLOCA 1 9555#define HAVE_ALLOCA 1
8031EOF 9556_ACEOF
8032 9557
8033else 9558else
8034 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 9559 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
@@ -8038,17 +9563,18 @@ else
8038 9563
8039ALLOCA=alloca.$ac_objext 9564ALLOCA=alloca.$ac_objext
8040 9565
8041cat >>confdefs.h <<\EOF 9566cat >>confdefs.h <<\_ACEOF
8042#define C_ALLOCA 1 9567#define C_ALLOCA 1
8043EOF 9568_ACEOF
9569
8044 9570
8045echo "$as_me:8045: checking whether \`alloca.c' needs Cray hooks" >&5 9571echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8046echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 9572echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8047if test "${ac_cv_os_cray+set}" = set; then 9573if test "${ac_cv_os_cray+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6 9574 echo $ECHO_N "(cached) $ECHO_C" >&6
8049else 9575else
8050 cat >conftest.$ac_ext <<_ACEOF 9576 cat >conftest.$ac_ext <<_ACEOF
8051#line 8051 "configure" 9577#line $LINENO "configure"
8052#include "confdefs.h" 9578#include "confdefs.h"
8053#if defined(CRAY) && ! defined(CRAY2) 9579#if defined(CRAY) && ! defined(CRAY2)
8054webecray 9580webecray
@@ -8066,18 +9592,18 @@ fi
8066rm -f conftest* 9592rm -f conftest*
8067 9593
8068fi 9594fi
8069echo "$as_me:8069: result: $ac_cv_os_cray" >&5 9595echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8070echo "${ECHO_T}$ac_cv_os_cray" >&6 9596echo "${ECHO_T}$ac_cv_os_cray" >&6
8071if test $ac_cv_os_cray = yes; then 9597if test $ac_cv_os_cray = yes; then
8072 for ac_func in _getb67 GETB67 getb67; do 9598 for ac_func in _getb67 GETB67 getb67; do
8073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8074echo "$as_me:8074: checking for $ac_func" >&5 9600echo "$as_me:$LINENO: checking for $ac_func" >&5
8075echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9601echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8076if eval "test \"\${$as_ac_var+set}\" = set"; then 9602if eval "test \"\${$as_ac_var+set}\" = set"; then
8077 echo $ECHO_N "(cached) $ECHO_C" >&6 9603 echo $ECHO_N "(cached) $ECHO_C" >&6
8078else 9604else
8079 cat >conftest.$ac_ext <<_ACEOF 9605 cat >conftest.$ac_ext <<_ACEOF
8080#line 8080 "configure" 9606#line $LINENO "configure"
8081#include "confdefs.h" 9607#include "confdefs.h"
8082/* System header to define __stub macros and hopefully few prototypes, 9608/* System header to define __stub macros and hopefully few prototypes,
8083 which can conflict with char $ac_func (); below. */ 9609 which can conflict with char $ac_func (); below. */
@@ -8091,6 +9617,12 @@ extern "C"
8091char $ac_func (); 9617char $ac_func ();
8092char (*f) (); 9618char (*f) ();
8093 9619
9620#ifdef F77_DUMMY_MAIN
9621# ifdef __cplusplus
9622 extern "C"
9623# endif
9624 int F77_DUMMY_MAIN() { return 1; }
9625#endif
8094int 9626int
8095main () 9627main ()
8096{ 9628{
@@ -8108,16 +9640,16 @@ f = $ac_func;
8108} 9640}
8109_ACEOF 9641_ACEOF
8110rm -f conftest.$ac_objext conftest$ac_exeext 9642rm -f conftest.$ac_objext conftest$ac_exeext
8111if { (eval echo "$as_me:8111: \"$ac_link\"") >&5 9643if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8112 (eval $ac_link) 2>&5 9644 (eval $ac_link) 2>&5
8113 ac_status=$? 9645 ac_status=$?
8114 echo "$as_me:8114: \$? = $ac_status" >&5 9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } && 9647 (exit $ac_status); } &&
8116 { ac_try='test -s conftest$ac_exeext' 9648 { ac_try='test -s conftest$ac_exeext'
8117 { (eval echo "$as_me:8117: \"$ac_try\"") >&5 9649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 (eval $ac_try) 2>&5 9650 (eval $ac_try) 2>&5
8119 ac_status=$? 9651 ac_status=$?
8120 echo "$as_me:8120: \$? = $ac_status" >&5 9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); }; }; then 9653 (exit $ac_status); }; }; then
8122 eval "$as_ac_var=yes" 9654 eval "$as_ac_var=yes"
8123else 9655else
@@ -8127,13 +9659,13 @@ eval "$as_ac_var=no"
8127fi 9659fi
8128rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9660rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8129fi 9661fi
8130echo "$as_me:8130: result: `eval echo '${'$as_ac_var'}'`" >&5 9662echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8131echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9663echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8132if test `eval echo '${'$as_ac_var'}'` = yes; then 9664if test `eval echo '${'$as_ac_var'}'` = yes; then
8133 9665
8134cat >>confdefs.h <<EOF 9666cat >>confdefs.h <<_ACEOF
8135#define CRAY_STACKSEG_END $ac_func 9667#define CRAY_STACKSEG_END $ac_func
8136EOF 9668_ACEOF
8137 9669
8138 break 9670 break
8139fi 9671fi
@@ -8141,7 +9673,7 @@ fi
8141 done 9673 done
8142fi 9674fi
8143 9675
8144echo "$as_me:8144: checking stack direction for C alloca" >&5 9676echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8145echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 9677echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8146if test "${ac_cv_c_stack_direction+set}" = set; then 9678if test "${ac_cv_c_stack_direction+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6 9679 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8150,7 +9682,7 @@ else
8150 ac_cv_c_stack_direction=0 9682 ac_cv_c_stack_direction=0
8151else 9683else
8152 cat >conftest.$ac_ext <<_ACEOF 9684 cat >conftest.$ac_ext <<_ACEOF
8153#line 8153 "configure" 9685#line $LINENO "configure"
8154#include "confdefs.h" 9686#include "confdefs.h"
8155int 9687int
8156find_stack_direction () 9688find_stack_direction ()
@@ -8173,39 +9705,42 @@ main ()
8173} 9705}
8174_ACEOF 9706_ACEOF
8175rm -f conftest$ac_exeext 9707rm -f conftest$ac_exeext
8176if { (eval echo "$as_me:8176: \"$ac_link\"") >&5 9708if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8177 (eval $ac_link) 2>&5 9709 (eval $ac_link) 2>&5
8178 ac_status=$? 9710 ac_status=$?
8179 echo "$as_me:8179: \$? = $ac_status" >&5 9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8181 { (eval echo "$as_me:8181: \"$ac_try\"") >&5 9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 (eval $ac_try) 2>&5 9714 (eval $ac_try) 2>&5
8183 ac_status=$? 9715 ac_status=$?
8184 echo "$as_me:8184: \$? = $ac_status" >&5 9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then 9717 (exit $ac_status); }; }; then
8186 ac_cv_c_stack_direction=1 9718 ac_cv_c_stack_direction=1
8187else 9719else
8188 echo "$as_me: program exited with status $ac_status" >&5 9720 echo "$as_me: program exited with status $ac_status" >&5
8189echo "$as_me: failed program was:" >&5 9721echo "$as_me: failed program was:" >&5
8190cat conftest.$ac_ext >&5 9722cat conftest.$ac_ext >&5
9723( exit $ac_status )
8191ac_cv_c_stack_direction=-1 9724ac_cv_c_stack_direction=-1
8192fi 9725fi
8193rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9726rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8194fi 9727fi
8195fi 9728fi
8196echo "$as_me:8196: result: $ac_cv_c_stack_direction" >&5 9729echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8197echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 9730echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8198 9731
8199cat >>confdefs.h <<EOF 9732cat >>confdefs.h <<_ACEOF
8200#define STACK_DIRECTION $ac_cv_c_stack_direction 9733#define STACK_DIRECTION $ac_cv_c_stack_direction
8201EOF 9734_ACEOF
9735
8202 9736
8203fi 9737fi
8204 9738
9739
8205# fmod, logb, and frexp are found in -lm on most systems. 9740# fmod, logb, and frexp are found in -lm on most systems.
8206# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 9741# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8207 9742
8208echo "$as_me:8208: checking for sqrt in -lm" >&5 9743echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
8209echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 9744echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8210if test "${ac_cv_lib_m_sqrt+set}" = set; then 9745if test "${ac_cv_lib_m_sqrt+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6 9746 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8213,7 +9748,7 @@ else
8213 ac_check_lib_save_LIBS=$LIBS 9748 ac_check_lib_save_LIBS=$LIBS
8214LIBS="-lm $LIBS" 9749LIBS="-lm $LIBS"
8215cat >conftest.$ac_ext <<_ACEOF 9750cat >conftest.$ac_ext <<_ACEOF
8216#line 8216 "configure" 9751#line $LINENO "configure"
8217#include "confdefs.h" 9752#include "confdefs.h"
8218 9753
8219/* Override any gcc2 internal prototype to avoid an error. */ 9754/* Override any gcc2 internal prototype to avoid an error. */
@@ -8223,6 +9758,12 @@ extern "C"
8223/* We use char because int might match the return type of a gcc2 9758/* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */ 9759 builtin and then its argument prototype would still apply. */
8225char sqrt (); 9760char sqrt ();
9761#ifdef F77_DUMMY_MAIN
9762# ifdef __cplusplus
9763 extern "C"
9764# endif
9765 int F77_DUMMY_MAIN() { return 1; }
9766#endif
8226int 9767int
8227main () 9768main ()
8228{ 9769{
@@ -8232,16 +9773,16 @@ sqrt ();
8232} 9773}
8233_ACEOF 9774_ACEOF
8234rm -f conftest.$ac_objext conftest$ac_exeext 9775rm -f conftest.$ac_objext conftest$ac_exeext
8235if { (eval echo "$as_me:8235: \"$ac_link\"") >&5 9776if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236 (eval $ac_link) 2>&5 9777 (eval $ac_link) 2>&5
8237 ac_status=$? 9778 ac_status=$?
8238 echo "$as_me:8238: \$? = $ac_status" >&5 9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } && 9780 (exit $ac_status); } &&
8240 { ac_try='test -s conftest$ac_exeext' 9781 { ac_try='test -s conftest$ac_exeext'
8241 { (eval echo "$as_me:8241: \"$ac_try\"") >&5 9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 (eval $ac_try) 2>&5 9783 (eval $ac_try) 2>&5
8243 ac_status=$? 9784 ac_status=$?
8244 echo "$as_me:8244: \$? = $ac_status" >&5 9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then 9786 (exit $ac_status); }; }; then
8246 ac_cv_lib_m_sqrt=yes 9787 ac_cv_lib_m_sqrt=yes
8247else 9788else
@@ -8252,20 +9793,21 @@ fi
8252rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9793rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8253LIBS=$ac_check_lib_save_LIBS 9794LIBS=$ac_check_lib_save_LIBS
8254fi 9795fi
8255echo "$as_me:8255: result: $ac_cv_lib_m_sqrt" >&5 9796echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
8256echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 9797echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8257if test $ac_cv_lib_m_sqrt = yes; then 9798if test $ac_cv_lib_m_sqrt = yes; then
8258 cat >>confdefs.h <<EOF 9799 cat >>confdefs.h <<_ACEOF
8259#define HAVE_LIBM 1 9800#define HAVE_LIBM 1
8260EOF 9801_ACEOF
8261 9802
8262 LIBS="-lm $LIBS" 9803 LIBS="-lm $LIBS"
8263 9804
8264fi 9805fi
8265 9806
9807
8266# Check for mail-locking functions in a "mail" library 9808# Check for mail-locking functions in a "mail" library
8267 9809
8268echo "$as_me:8268: checking for maillock in -lmail" >&5 9810echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
8269echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 9811echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8270if test "${ac_cv_lib_mail_maillock+set}" = set; then 9812if test "${ac_cv_lib_mail_maillock+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6 9813 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8273,7 +9815,7 @@ else
8273 ac_check_lib_save_LIBS=$LIBS 9815 ac_check_lib_save_LIBS=$LIBS
8274LIBS="-lmail $LIBS" 9816LIBS="-lmail $LIBS"
8275cat >conftest.$ac_ext <<_ACEOF 9817cat >conftest.$ac_ext <<_ACEOF
8276#line 8276 "configure" 9818#line $LINENO "configure"
8277#include "confdefs.h" 9819#include "confdefs.h"
8278 9820
8279/* Override any gcc2 internal prototype to avoid an error. */ 9821/* Override any gcc2 internal prototype to avoid an error. */
@@ -8283,6 +9825,12 @@ extern "C"
8283/* We use char because int might match the return type of a gcc2 9825/* We use char because int might match the return type of a gcc2
8284 builtin and then its argument prototype would still apply. */ 9826 builtin and then its argument prototype would still apply. */
8285char maillock (); 9827char maillock ();
9828#ifdef F77_DUMMY_MAIN
9829# ifdef __cplusplus
9830 extern "C"
9831# endif
9832 int F77_DUMMY_MAIN() { return 1; }
9833#endif
8286int 9834int
8287main () 9835main ()
8288{ 9836{
@@ -8292,16 +9840,16 @@ maillock ();
8292} 9840}
8293_ACEOF 9841_ACEOF
8294rm -f conftest.$ac_objext conftest$ac_exeext 9842rm -f conftest.$ac_objext conftest$ac_exeext
8295if { (eval echo "$as_me:8295: \"$ac_link\"") >&5 9843if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>&5 9844 (eval $ac_link) 2>&5
8297 ac_status=$? 9845 ac_status=$?
8298 echo "$as_me:8298: \$? = $ac_status" >&5 9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } && 9847 (exit $ac_status); } &&
8300 { ac_try='test -s conftest$ac_exeext' 9848 { ac_try='test -s conftest$ac_exeext'
8301 { (eval echo "$as_me:8301: \"$ac_try\"") >&5 9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 (eval $ac_try) 2>&5 9850 (eval $ac_try) 2>&5
8303 ac_status=$? 9851 ac_status=$?
8304 echo "$as_me:8304: \$? = $ac_status" >&5 9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then 9853 (exit $ac_status); }; }; then
8306 ac_cv_lib_mail_maillock=yes 9854 ac_cv_lib_mail_maillock=yes
8307else 9855else
@@ -8312,18 +9860,19 @@ fi
8312rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9860rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8313LIBS=$ac_check_lib_save_LIBS 9861LIBS=$ac_check_lib_save_LIBS
8314fi 9862fi
8315echo "$as_me:8315: result: $ac_cv_lib_mail_maillock" >&5 9863echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
8316echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 9864echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8317if test $ac_cv_lib_mail_maillock = yes; then 9865if test $ac_cv_lib_mail_maillock = yes; then
8318 cat >>confdefs.h <<EOF 9866 cat >>confdefs.h <<_ACEOF
8319#define HAVE_LIBMAIL 1 9867#define HAVE_LIBMAIL 1
8320EOF 9868_ACEOF
8321 9869
8322 LIBS="-lmail $LIBS" 9870 LIBS="-lmail $LIBS"
8323 9871
8324fi 9872fi
8325 9873
8326echo "$as_me:8326: checking for maillock in -llockfile" >&5 9874
9875echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
8327echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 9876echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8328if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 9877if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6 9878 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8331,7 +9880,7 @@ else
8331 ac_check_lib_save_LIBS=$LIBS 9880 ac_check_lib_save_LIBS=$LIBS
8332LIBS="-llockfile $LIBS" 9881LIBS="-llockfile $LIBS"
8333cat >conftest.$ac_ext <<_ACEOF 9882cat >conftest.$ac_ext <<_ACEOF
8334#line 8334 "configure" 9883#line $LINENO "configure"
8335#include "confdefs.h" 9884#include "confdefs.h"
8336 9885
8337/* Override any gcc2 internal prototype to avoid an error. */ 9886/* Override any gcc2 internal prototype to avoid an error. */
@@ -8341,6 +9890,12 @@ extern "C"
8341/* We use char because int might match the return type of a gcc2 9890/* We use char because int might match the return type of a gcc2
8342 builtin and then its argument prototype would still apply. */ 9891 builtin and then its argument prototype would still apply. */
8343char maillock (); 9892char maillock ();
9893#ifdef F77_DUMMY_MAIN
9894# ifdef __cplusplus
9895 extern "C"
9896# endif
9897 int F77_DUMMY_MAIN() { return 1; }
9898#endif
8344int 9899int
8345main () 9900main ()
8346{ 9901{
@@ -8350,16 +9905,16 @@ maillock ();
8350} 9905}
8351_ACEOF 9906_ACEOF
8352rm -f conftest.$ac_objext conftest$ac_exeext 9907rm -f conftest.$ac_objext conftest$ac_exeext
8353if { (eval echo "$as_me:8353: \"$ac_link\"") >&5 9908if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8354 (eval $ac_link) 2>&5 9909 (eval $ac_link) 2>&5
8355 ac_status=$? 9910 ac_status=$?
8356 echo "$as_me:8356: \$? = $ac_status" >&5 9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); } && 9912 (exit $ac_status); } &&
8358 { ac_try='test -s conftest$ac_exeext' 9913 { ac_try='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:8359: \"$ac_try\"") >&5 9914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 (eval $ac_try) 2>&5 9915 (eval $ac_try) 2>&5
8361 ac_status=$? 9916 ac_status=$?
8362 echo "$as_me:8362: \$? = $ac_status" >&5 9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then 9918 (exit $ac_status); }; }; then
8364 ac_cv_lib_lockfile_maillock=yes 9919 ac_cv_lib_lockfile_maillock=yes
8365else 9920else
@@ -8370,12 +9925,12 @@ fi
8370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9925rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8371LIBS=$ac_check_lib_save_LIBS 9926LIBS=$ac_check_lib_save_LIBS
8372fi 9927fi
8373echo "$as_me:8373: result: $ac_cv_lib_lockfile_maillock" >&5 9928echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
8374echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 9929echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8375if test $ac_cv_lib_lockfile_maillock = yes; then 9930if test $ac_cv_lib_lockfile_maillock = yes; then
8376 cat >>confdefs.h <<EOF 9931 cat >>confdefs.h <<_ACEOF
8377#define HAVE_LIBLOCKFILE 1 9932#define HAVE_LIBLOCKFILE 1
8378EOF 9933_ACEOF
8379 9934
8380 LIBS="-llockfile $LIBS" 9935 LIBS="-llockfile $LIBS"
8381 9936
@@ -8387,7 +9942,7 @@ fi
8387if test "$ac_cv_lib_lockfile_maillock" = no; then 9942if test "$ac_cv_lib_lockfile_maillock" = no; then
8388 # Extract the first word of "liblockfile.so", so it can be a program name with args. 9943 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8389set dummy liblockfile.so; ac_word=$2 9944set dummy liblockfile.so; ac_word=$2
8390echo "$as_me:8390: checking for $ac_word" >&5 9945echo "$as_me:$LINENO: checking for $ac_word" >&5
8391echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9946echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8392if test "${ac_cv_prog_liblockfile+set}" = set; then 9947if test "${ac_cv_prog_liblockfile+set}" = set; then
8393 echo $ECHO_N "(cached) $ECHO_C" >&6 9948 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8395,15 +9950,18 @@ else
8395 if test -n "$liblockfile"; then 9950 if test -n "$liblockfile"; then
8396 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 9951 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
8397else 9952else
8398 ac_save_IFS=$IFS; IFS=$ac_path_separator 9953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" 9954for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH
8400for ac_dir in $ac_dummy; do 9955do
8401 IFS=$ac_save_IFS 9956 IFS=$as_save_IFS
8402 test -z "$ac_dir" && ac_dir=. 9957 test -z "$as_dir" && as_dir=.
8403 $as_executable_p "$ac_dir/$ac_word" || continue 9958 for ac_exec_ext in '' $ac_executable_extensions; do
8404ac_cv_prog_liblockfile="yes" 9959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8405echo "$as_me:8405: found $ac_dir/$ac_word" >&5 9960 ac_cv_prog_liblockfile="yes"
8406break 9961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 break 2
9963 fi
9964done
8407done 9965done
8408 9966
8409 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 9967 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
@@ -8411,15 +9969,15 @@ fi
8411fi 9969fi
8412liblockfile=$ac_cv_prog_liblockfile 9970liblockfile=$ac_cv_prog_liblockfile
8413if test -n "$liblockfile"; then 9971if test -n "$liblockfile"; then
8414 echo "$as_me:8414: result: $liblockfile" >&5 9972 echo "$as_me:$LINENO: result: $liblockfile" >&5
8415echo "${ECHO_T}$liblockfile" >&6 9973echo "${ECHO_T}$liblockfile" >&6
8416else 9974else
8417 echo "$as_me:8417: result: no" >&5 9975 echo "$as_me:$LINENO: result: no" >&5
8418echo "${ECHO_T}no" >&6 9976echo "${ECHO_T}no" >&6
8419fi 9977fi
8420 9978
8421 if test $ac_cv_prog_liblockfile = yes; then 9979 if test $ac_cv_prog_liblockfile = yes; then
8422 { { echo "$as_me:8422: error: Shared liblockfile found but can't link against it. 9980 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
8423This probably means that movemail could lose mail. 9981This probably means that movemail could lose mail.
8424There may be a \`development' package to install containing liblockfile." >&5 9982There may be a \`development' package to install containing liblockfile." >&5
8425echo "$as_me: error: Shared liblockfile found but can't link against it. 9983echo "$as_me: error: Shared liblockfile found but can't link against it.
@@ -8427,9 +9985,9 @@ This probably means that movemail could lose mail.
8427There may be a \`development' package to install containing liblockfile." >&2;} 9985There may be a \`development' package to install containing liblockfile." >&2;}
8428 { (exit 1); exit 1; }; } 9986 { (exit 1); exit 1; }; }
8429 else 9987 else
8430cat >>confdefs.h <<\EOF 9988cat >>confdefs.h <<\_ACEOF
8431#define LIBMAIL -llockfile 9989#define LIBMAIL -llockfile
8432EOF 9990_ACEOF
8433 9991
8434 fi 9992 fi
8435 else : 9993 else :
@@ -8438,13 +9996,13 @@ fi
8438for ac_func in touchlock 9996for ac_func in touchlock
8439do 9997do
8440as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9998as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8441echo "$as_me:8441: checking for $ac_func" >&5 9999echo "$as_me:$LINENO: checking for $ac_func" >&5
8442echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10000echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8443if eval "test \"\${$as_ac_var+set}\" = set"; then 10001if eval "test \"\${$as_ac_var+set}\" = set"; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6 10002 echo $ECHO_N "(cached) $ECHO_C" >&6
8445else 10003else
8446 cat >conftest.$ac_ext <<_ACEOF 10004 cat >conftest.$ac_ext <<_ACEOF
8447#line 8447 "configure" 10005#line $LINENO "configure"
8448#include "confdefs.h" 10006#include "confdefs.h"
8449/* System header to define __stub macros and hopefully few prototypes, 10007/* System header to define __stub macros and hopefully few prototypes,
8450 which can conflict with char $ac_func (); below. */ 10008 which can conflict with char $ac_func (); below. */
@@ -8458,6 +10016,12 @@ extern "C"
8458char $ac_func (); 10016char $ac_func ();
8459char (*f) (); 10017char (*f) ();
8460 10018
10019#ifdef F77_DUMMY_MAIN
10020# ifdef __cplusplus
10021 extern "C"
10022# endif
10023 int F77_DUMMY_MAIN() { return 1; }
10024#endif
8461int 10025int
8462main () 10026main ()
8463{ 10027{
@@ -8475,16 +10039,16 @@ f = $ac_func;
8475} 10039}
8476_ACEOF 10040_ACEOF
8477rm -f conftest.$ac_objext conftest$ac_exeext 10041rm -f conftest.$ac_objext conftest$ac_exeext
8478if { (eval echo "$as_me:8478: \"$ac_link\"") >&5 10042if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8479 (eval $ac_link) 2>&5 10043 (eval $ac_link) 2>&5
8480 ac_status=$? 10044 ac_status=$?
8481 echo "$as_me:8481: \$? = $ac_status" >&5 10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } && 10046 (exit $ac_status); } &&
8483 { ac_try='test -s conftest$ac_exeext' 10047 { ac_try='test -s conftest$ac_exeext'
8484 { (eval echo "$as_me:8484: \"$ac_try\"") >&5 10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 (eval $ac_try) 2>&5 10049 (eval $ac_try) 2>&5
8486 ac_status=$? 10050 ac_status=$?
8487 echo "$as_me:8487: \$? = $ac_status" >&5 10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); }; }; then 10052 (exit $ac_status); }; }; then
8489 eval "$as_ac_var=yes" 10053 eval "$as_ac_var=yes"
8490else 10054else
@@ -8494,36 +10058,75 @@ eval "$as_ac_var=no"
8494fi 10058fi
8495rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10059rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8496fi 10060fi
8497echo "$as_me:8497: result: `eval echo '${'$as_ac_var'}'`" >&5 10061echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8498echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10062echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8499if test `eval echo '${'$as_ac_var'}'` = yes; then 10063if test `eval echo '${'$as_ac_var'}'` = yes; then
8500 cat >>confdefs.h <<EOF 10064 cat >>confdefs.h <<_ACEOF
8501#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10065#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8502EOF 10066_ACEOF
8503 10067
8504fi 10068fi
8505done 10069done
8506 10070
10071
8507for ac_header in maillock.h 10072for ac_header in maillock.h
8508do 10073do
8509as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10074as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8510echo "$as_me:8510: checking for $ac_header" >&5 10075if eval "test \"\${$as_ac_Header+set}\" = set"; then
10076 echo "$as_me:$LINENO: checking for $ac_header" >&5
8511echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10077echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8512if eval "test \"\${$as_ac_Header+set}\" = set"; then 10078if eval "test \"\${$as_ac_Header+set}\" = set"; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6 10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10080fi
10081echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10082echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8514else 10083else
8515 cat >conftest.$ac_ext <<_ACEOF 10084 # Is the header compilable?
8516#line 8516 "configure" 10085echo "$as_me:$LINENO: checking $ac_header usability" >&5
10086echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10087cat >conftest.$ac_ext <<_ACEOF
10088#line $LINENO "configure"
10089#include "confdefs.h"
10090$ac_includes_default
10091#include <$ac_header>
10092_ACEOF
10093rm -f conftest.$ac_objext
10094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10095 (eval $ac_compile) 2>&5
10096 ac_status=$?
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try='test -s conftest.$ac_objext'
10100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101 (eval $ac_try) 2>&5
10102 ac_status=$?
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); }; }; then
10105 ac_header_compiler=yes
10106else
10107 echo "$as_me: failed program was:" >&5
10108cat conftest.$ac_ext >&5
10109ac_header_compiler=no
10110fi
10111rm -f conftest.$ac_objext conftest.$ac_ext
10112echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10113echo "${ECHO_T}$ac_header_compiler" >&6
10114
10115# Is the header present?
10116echo "$as_me:$LINENO: checking $ac_header presence" >&5
10117echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10118cat >conftest.$ac_ext <<_ACEOF
10119#line $LINENO "configure"
8517#include "confdefs.h" 10120#include "confdefs.h"
8518#include <$ac_header> 10121#include <$ac_header>
8519_ACEOF 10122_ACEOF
8520if { (eval echo "$as_me:8520: \"$ac_cpp conftest.$ac_ext\"") >&5 10123if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8522 ac_status=$? 10125 ac_status=$?
8523 egrep -v '^ *\+' conftest.er1 >conftest.err 10126 egrep -v '^ *\+' conftest.er1 >conftest.err
8524 rm -f conftest.er1 10127 rm -f conftest.er1
8525 cat conftest.err >&5 10128 cat conftest.err >&5
8526 echo "$as_me:8526: \$? = $ac_status" >&5 10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } >/dev/null; then 10130 (exit $ac_status); } >/dev/null; then
8528 if test -s conftest.err; then 10131 if test -s conftest.err; then
8529 ac_cpp_err=$ac_c_preproc_warn_flag 10132 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8534,24 +10137,109 @@ else
8534 ac_cpp_err=yes 10137 ac_cpp_err=yes
8535fi 10138fi
8536if test -z "$ac_cpp_err"; then 10139if test -z "$ac_cpp_err"; then
8537 eval "$as_ac_Header=yes" 10140 ac_header_preproc=yes
8538else 10141else
8539 echo "$as_me: failed program was:" >&5 10142 echo "$as_me: failed program was:" >&5
8540 cat conftest.$ac_ext >&5 10143 cat conftest.$ac_ext >&5
8541 eval "$as_ac_Header=no" 10144 ac_header_preproc=no
8542fi 10145fi
8543rm -f conftest.err conftest.$ac_ext 10146rm -f conftest.err conftest.$ac_ext
10147echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10148echo "${ECHO_T}$ac_header_preproc" >&6
10149
10150# So? What about this header?
10151case $ac_header_compiler:$ac_header_preproc in
10152 yes:no )
10153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10154echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10156echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10157 no:yes )
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10159echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10161echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10163echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10164esac
10165echo "$as_me:$LINENO: checking for $ac_header" >&5
10166echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10167if eval "test \"\${$as_ac_Header+set}\" = set"; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10169else
10170 eval "$as_ac_Header=$ac_header_preproc"
8544fi 10171fi
8545echo "$as_me:8545: result: `eval echo '${'$as_ac_Header'}'`" >&5 10172echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8546echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10173echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10174
10175fi
8547if test `eval echo '${'$as_ac_Header'}'` = yes; then 10176if test `eval echo '${'$as_ac_Header'}'` = yes; then
8548 cat >>confdefs.h <<EOF 10177 cat >>confdefs.h <<_ACEOF
8549#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10178#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8550EOF 10179_ACEOF
8551 10180
8552fi 10181fi
10182
8553done 10183done
8554 10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
8555for ac_func in gethostname getdomainname dup2 \ 10243for ac_func in gethostname getdomainname dup2 \
8556rename closedir mkdir rmdir sysinfo \ 10244rename closedir mkdir rmdir sysinfo \
8557random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 10245random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
@@ -8559,16 +10247,16 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
8559utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 10247utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
8560__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 10248__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8561sendto recvfrom getsockopt setsockopt getsockname getpeername \ 10249sendto recvfrom getsockopt setsockopt getsockname getpeername \
8562gai_strerror mkstemp getline getdelim 10250gai_strerror mkstemp getline getdelim mremap memmove
8563do 10251do
8564as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10252as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8565echo "$as_me:8565: checking for $ac_func" >&5 10253echo "$as_me:$LINENO: checking for $ac_func" >&5
8566echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10254echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8567if eval "test \"\${$as_ac_var+set}\" = set"; then 10255if eval "test \"\${$as_ac_var+set}\" = set"; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6 10256 echo $ECHO_N "(cached) $ECHO_C" >&6
8569else 10257else
8570 cat >conftest.$ac_ext <<_ACEOF 10258 cat >conftest.$ac_ext <<_ACEOF
8571#line 8571 "configure" 10259#line $LINENO "configure"
8572#include "confdefs.h" 10260#include "confdefs.h"
8573/* System header to define __stub macros and hopefully few prototypes, 10261/* System header to define __stub macros and hopefully few prototypes,
8574 which can conflict with char $ac_func (); below. */ 10262 which can conflict with char $ac_func (); below. */
@@ -8582,6 +10270,12 @@ extern "C"
8582char $ac_func (); 10270char $ac_func ();
8583char (*f) (); 10271char (*f) ();
8584 10272
10273#ifdef F77_DUMMY_MAIN
10274# ifdef __cplusplus
10275 extern "C"
10276# endif
10277 int F77_DUMMY_MAIN() { return 1; }
10278#endif
8585int 10279int
8586main () 10280main ()
8587{ 10281{
@@ -8599,16 +10293,16 @@ f = $ac_func;
8599} 10293}
8600_ACEOF 10294_ACEOF
8601rm -f conftest.$ac_objext conftest$ac_exeext 10295rm -f conftest.$ac_objext conftest$ac_exeext
8602if { (eval echo "$as_me:8602: \"$ac_link\"") >&5 10296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8603 (eval $ac_link) 2>&5 10297 (eval $ac_link) 2>&5
8604 ac_status=$? 10298 ac_status=$?
8605 echo "$as_me:8605: \$? = $ac_status" >&5 10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } && 10300 (exit $ac_status); } &&
8607 { ac_try='test -s conftest$ac_exeext' 10301 { ac_try='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:8608: \"$ac_try\"") >&5 10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 (eval $ac_try) 2>&5 10303 (eval $ac_try) 2>&5
8610 ac_status=$? 10304 ac_status=$?
8611 echo "$as_me:8611: \$? = $ac_status" >&5 10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then 10306 (exit $ac_status); }; }; then
8613 eval "$as_ac_var=yes" 10307 eval "$as_ac_var=yes"
8614else 10308else
@@ -8618,36 +10312,76 @@ eval "$as_ac_var=no"
8618fi 10312fi
8619rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10313rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8620fi 10314fi
8621echo "$as_me:8621: result: `eval echo '${'$as_ac_var'}'`" >&5 10315echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8622echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10316echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8623if test `eval echo '${'$as_ac_var'}'` = yes; then 10317if test `eval echo '${'$as_ac_var'}'` = yes; then
8624 cat >>confdefs.h <<EOF 10318 cat >>confdefs.h <<_ACEOF
8625#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10319#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8626EOF 10320_ACEOF
8627 10321
8628fi 10322fi
8629done 10323done
8630 10324
10325
10326
8631for ac_header in sys/un.h 10327for ac_header in sys/un.h
8632do 10328do
8633as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10329as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8634echo "$as_me:8634: checking for $ac_header" >&5 10330if eval "test \"\${$as_ac_Header+set}\" = set"; then
10331 echo "$as_me:$LINENO: checking for $ac_header" >&5
8635echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10332echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8636if eval "test \"\${$as_ac_Header+set}\" = set"; then 10333if eval "test \"\${$as_ac_Header+set}\" = set"; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6 10334 echo $ECHO_N "(cached) $ECHO_C" >&6
10335fi
10336echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10337echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8638else 10338else
8639 cat >conftest.$ac_ext <<_ACEOF 10339 # Is the header compilable?
8640#line 8640 "configure" 10340echo "$as_me:$LINENO: checking $ac_header usability" >&5
10341echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10342cat >conftest.$ac_ext <<_ACEOF
10343#line $LINENO "configure"
10344#include "confdefs.h"
10345$ac_includes_default
10346#include <$ac_header>
10347_ACEOF
10348rm -f conftest.$ac_objext
10349if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10350 (eval $ac_compile) 2>&5
10351 ac_status=$?
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try='test -s conftest.$ac_objext'
10355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10356 (eval $ac_try) 2>&5
10357 ac_status=$?
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; }; then
10360 ac_header_compiler=yes
10361else
10362 echo "$as_me: failed program was:" >&5
10363cat conftest.$ac_ext >&5
10364ac_header_compiler=no
10365fi
10366rm -f conftest.$ac_objext conftest.$ac_ext
10367echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10368echo "${ECHO_T}$ac_header_compiler" >&6
10369
10370# Is the header present?
10371echo "$as_me:$LINENO: checking $ac_header presence" >&5
10372echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10373cat >conftest.$ac_ext <<_ACEOF
10374#line $LINENO "configure"
8641#include "confdefs.h" 10375#include "confdefs.h"
8642#include <$ac_header> 10376#include <$ac_header>
8643_ACEOF 10377_ACEOF
8644if { (eval echo "$as_me:8644: \"$ac_cpp conftest.$ac_ext\"") >&5 10378if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8646 ac_status=$? 10380 ac_status=$?
8647 egrep -v '^ *\+' conftest.er1 >conftest.err 10381 egrep -v '^ *\+' conftest.er1 >conftest.err
8648 rm -f conftest.er1 10382 rm -f conftest.er1
8649 cat conftest.err >&5 10383 cat conftest.err >&5
8650 echo "$as_me:8650: \$? = $ac_status" >&5 10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } >/dev/null; then 10385 (exit $ac_status); } >/dev/null; then
8652 if test -s conftest.err; then 10386 if test -s conftest.err; then
8653 ac_cpp_err=$ac_c_preproc_warn_flag 10387 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8658,44 +10392,112 @@ else
8658 ac_cpp_err=yes 10392 ac_cpp_err=yes
8659fi 10393fi
8660if test -z "$ac_cpp_err"; then 10394if test -z "$ac_cpp_err"; then
8661 eval "$as_ac_Header=yes" 10395 ac_header_preproc=yes
8662else 10396else
8663 echo "$as_me: failed program was:" >&5 10397 echo "$as_me: failed program was:" >&5
8664 cat conftest.$ac_ext >&5 10398 cat conftest.$ac_ext >&5
8665 eval "$as_ac_Header=no" 10399 ac_header_preproc=no
8666fi 10400fi
8667rm -f conftest.err conftest.$ac_ext 10401rm -f conftest.err conftest.$ac_ext
10402echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10403echo "${ECHO_T}$ac_header_preproc" >&6
10404
10405# So? What about this header?
10406case $ac_header_compiler:$ac_header_preproc in
10407 yes:no )
10408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10409echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10411echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10412 no:yes )
10413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10414echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10416echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10418echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10419esac
10420echo "$as_me:$LINENO: checking for $ac_header" >&5
10421echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10422if eval "test \"\${$as_ac_Header+set}\" = set"; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10424else
10425 eval "$as_ac_Header=$ac_header_preproc"
8668fi 10426fi
8669echo "$as_me:8669: result: `eval echo '${'$as_ac_Header'}'`" >&5 10427echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8670echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10428echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10429
10430fi
8671if test `eval echo '${'$as_ac_Header'}'` = yes; then 10431if test `eval echo '${'$as_ac_Header'}'` = yes; then
8672 cat >>confdefs.h <<EOF 10432 cat >>confdefs.h <<_ACEOF
8673#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10433#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8674EOF 10434_ACEOF
8675 10435
8676fi 10436fi
10437
8677done 10438done
8678 10439
10440
10441
10442
8679for ac_header in sys/time.h unistd.h 10443for ac_header in sys/time.h unistd.h
8680do 10444do
8681as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10445as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682echo "$as_me:8682: checking for $ac_header" >&5 10446if eval "test \"\${$as_ac_Header+set}\" = set"; then
10447 echo "$as_me:$LINENO: checking for $ac_header" >&5
8683echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10448echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8684if eval "test \"\${$as_ac_Header+set}\" = set"; then 10449if eval "test \"\${$as_ac_Header+set}\" = set"; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6 10450 echo $ECHO_N "(cached) $ECHO_C" >&6
10451fi
10452echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10453echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8686else 10454else
8687 cat >conftest.$ac_ext <<_ACEOF 10455 # Is the header compilable?
8688#line 8688 "configure" 10456echo "$as_me:$LINENO: checking $ac_header usability" >&5
10457echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10458cat >conftest.$ac_ext <<_ACEOF
10459#line $LINENO "configure"
8689#include "confdefs.h" 10460#include "confdefs.h"
10461$ac_includes_default
8690#include <$ac_header> 10462#include <$ac_header>
8691_ACEOF 10463_ACEOF
8692if { (eval echo "$as_me:8692: \"$ac_cpp conftest.$ac_ext\"") >&5 10464rm -f conftest.$ac_objext
10465if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10466 (eval $ac_compile) 2>&5
10467 ac_status=$?
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try='test -s conftest.$ac_objext'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10473 ac_status=$?
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; }; then
10476 ac_header_compiler=yes
10477else
10478 echo "$as_me: failed program was:" >&5
10479cat conftest.$ac_ext >&5
10480ac_header_compiler=no
10481fi
10482rm -f conftest.$ac_objext conftest.$ac_ext
10483echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10484echo "${ECHO_T}$ac_header_compiler" >&6
10485
10486# Is the header present?
10487echo "$as_me:$LINENO: checking $ac_header presence" >&5
10488echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10489cat >conftest.$ac_ext <<_ACEOF
10490#line $LINENO "configure"
10491#include "confdefs.h"
10492#include <$ac_header>
10493_ACEOF
10494if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8694 ac_status=$? 10496 ac_status=$?
8695 egrep -v '^ *\+' conftest.er1 >conftest.err 10497 egrep -v '^ *\+' conftest.er1 >conftest.err
8696 rm -f conftest.er1 10498 rm -f conftest.er1
8697 cat conftest.err >&5 10499 cat conftest.err >&5
8698 echo "$as_me:8698: \$? = $ac_status" >&5 10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } >/dev/null; then 10501 (exit $ac_status); } >/dev/null; then
8700 if test -s conftest.err; then 10502 if test -s conftest.err; then
8701 ac_cpp_err=$ac_c_preproc_warn_flag 10503 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8706,34 +10508,62 @@ else
8706 ac_cpp_err=yes 10508 ac_cpp_err=yes
8707fi 10509fi
8708if test -z "$ac_cpp_err"; then 10510if test -z "$ac_cpp_err"; then
8709 eval "$as_ac_Header=yes" 10511 ac_header_preproc=yes
8710else 10512else
8711 echo "$as_me: failed program was:" >&5 10513 echo "$as_me: failed program was:" >&5
8712 cat conftest.$ac_ext >&5 10514 cat conftest.$ac_ext >&5
8713 eval "$as_ac_Header=no" 10515 ac_header_preproc=no
8714fi 10516fi
8715rm -f conftest.err conftest.$ac_ext 10517rm -f conftest.err conftest.$ac_ext
10518echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10519echo "${ECHO_T}$ac_header_preproc" >&6
10520
10521# So? What about this header?
10522case $ac_header_compiler:$ac_header_preproc in
10523 yes:no )
10524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10525echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10527echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10528 no:yes )
10529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10530echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10532echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10534echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10535esac
10536echo "$as_me:$LINENO: checking for $ac_header" >&5
10537echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10538if eval "test \"\${$as_ac_Header+set}\" = set"; then
10539 echo $ECHO_N "(cached) $ECHO_C" >&6
10540else
10541 eval "$as_ac_Header=$ac_header_preproc"
8716fi 10542fi
8717echo "$as_me:8717: result: `eval echo '${'$as_ac_Header'}'`" >&5 10543echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8718echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10544echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10545
10546fi
8719if test `eval echo '${'$as_ac_Header'}'` = yes; then 10547if test `eval echo '${'$as_ac_Header'}'` = yes; then
8720 cat >>confdefs.h <<EOF 10548 cat >>confdefs.h <<_ACEOF
8721#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10549#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8722EOF 10550_ACEOF
8723 10551
8724fi 10552fi
10553
8725done 10554done
8726 10555
10556
8727for ac_func in alarm 10557for ac_func in alarm
8728do 10558do
8729as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10559as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8730echo "$as_me:8730: checking for $ac_func" >&5 10560echo "$as_me:$LINENO: checking for $ac_func" >&5
8731echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10561echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8732if eval "test \"\${$as_ac_var+set}\" = set"; then 10562if eval "test \"\${$as_ac_var+set}\" = set"; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6 10563 echo $ECHO_N "(cached) $ECHO_C" >&6
8734else 10564else
8735 cat >conftest.$ac_ext <<_ACEOF 10565 cat >conftest.$ac_ext <<_ACEOF
8736#line 8736 "configure" 10566#line $LINENO "configure"
8737#include "confdefs.h" 10567#include "confdefs.h"
8738/* System header to define __stub macros and hopefully few prototypes, 10568/* System header to define __stub macros and hopefully few prototypes,
8739 which can conflict with char $ac_func (); below. */ 10569 which can conflict with char $ac_func (); below. */
@@ -8747,6 +10577,12 @@ extern "C"
8747char $ac_func (); 10577char $ac_func ();
8748char (*f) (); 10578char (*f) ();
8749 10579
10580#ifdef F77_DUMMY_MAIN
10581# ifdef __cplusplus
10582 extern "C"
10583# endif
10584 int F77_DUMMY_MAIN() { return 1; }
10585#endif
8750int 10586int
8751main () 10587main ()
8752{ 10588{
@@ -8764,16 +10600,16 @@ f = $ac_func;
8764} 10600}
8765_ACEOF 10601_ACEOF
8766rm -f conftest.$ac_objext conftest$ac_exeext 10602rm -f conftest.$ac_objext conftest$ac_exeext
8767if { (eval echo "$as_me:8767: \"$ac_link\"") >&5 10603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8768 (eval $ac_link) 2>&5 10604 (eval $ac_link) 2>&5
8769 ac_status=$? 10605 ac_status=$?
8770 echo "$as_me:8770: \$? = $ac_status" >&5 10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); } && 10607 (exit $ac_status); } &&
8772 { ac_try='test -s conftest$ac_exeext' 10608 { ac_try='test -s conftest$ac_exeext'
8773 { (eval echo "$as_me:8773: \"$ac_try\"") >&5 10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774 (eval $ac_try) 2>&5 10610 (eval $ac_try) 2>&5
8775 ac_status=$? 10611 ac_status=$?
8776 echo "$as_me:8776: \$? = $ac_status" >&5 10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); }; }; then 10613 (exit $ac_status); }; }; then
8778 eval "$as_ac_var=yes" 10614 eval "$as_ac_var=yes"
8779else 10615else
@@ -8783,17 +10619,17 @@ eval "$as_ac_var=no"
8783fi 10619fi
8784rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10620rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8785fi 10621fi
8786echo "$as_me:8786: result: `eval echo '${'$as_ac_var'}'`" >&5 10622echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8787echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10623echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8788if test `eval echo '${'$as_ac_var'}'` = yes; then 10624if test `eval echo '${'$as_ac_var'}'` = yes; then
8789 cat >>confdefs.h <<EOF 10625 cat >>confdefs.h <<_ACEOF
8790#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10626#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8791EOF 10627_ACEOF
8792 10628
8793fi 10629fi
8794done 10630done
8795 10631
8796echo "$as_me:8796: checking for working mktime" >&5 10632echo "$as_me:$LINENO: checking for working mktime" >&5
8797echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 10633echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8798if test "${ac_cv_func_working_mktime+set}" = set; then 10634if test "${ac_cv_func_working_mktime+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6 10635 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8802,7 +10638,7 @@ else
8802 ac_cv_func_working_mktime=no 10638 ac_cv_func_working_mktime=no
8803else 10639else
8804 cat >conftest.$ac_ext <<_ACEOF 10640 cat >conftest.$ac_ext <<_ACEOF
8805#line 8805 "configure" 10641#line $LINENO "configure"
8806#include "confdefs.h" 10642#include "confdefs.h"
8807/* Test program from Paul Eggert and Tony Leneis. */ 10643/* Test program from Paul Eggert and Tony Leneis. */
8808#if TIME_WITH_SYS_TIME 10644#if TIME_WITH_SYS_TIME
@@ -8951,27 +10787,28 @@ main ()
8951} 10787}
8952_ACEOF 10788_ACEOF
8953rm -f conftest$ac_exeext 10789rm -f conftest$ac_exeext
8954if { (eval echo "$as_me:8954: \"$ac_link\"") >&5 10790if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8955 (eval $ac_link) 2>&5 10791 (eval $ac_link) 2>&5
8956 ac_status=$? 10792 ac_status=$?
8957 echo "$as_me:8957: \$? = $ac_status" >&5 10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8959 { (eval echo "$as_me:8959: \"$ac_try\"") >&5 10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 (eval $ac_try) 2>&5 10796 (eval $ac_try) 2>&5
8961 ac_status=$? 10797 ac_status=$?
8962 echo "$as_me:8962: \$? = $ac_status" >&5 10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); }; }; then 10799 (exit $ac_status); }; }; then
8964 ac_cv_func_working_mktime=yes 10800 ac_cv_func_working_mktime=yes
8965else 10801else
8966 echo "$as_me: program exited with status $ac_status" >&5 10802 echo "$as_me: program exited with status $ac_status" >&5
8967echo "$as_me: failed program was:" >&5 10803echo "$as_me: failed program was:" >&5
8968cat conftest.$ac_ext >&5 10804cat conftest.$ac_ext >&5
10805( exit $ac_status )
8969ac_cv_func_working_mktime=no 10806ac_cv_func_working_mktime=no
8970fi 10807fi
8971rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10808rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8972fi 10809fi
8973fi 10810fi
8974echo "$as_me:8974: result: $ac_cv_func_working_mktime" >&5 10811echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
8975echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 10812echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8976if test $ac_cv_func_working_mktime = no; then 10813if test $ac_cv_func_working_mktime = no; then
8977 LIBOBJS="$LIBOBJS mktime.$ac_objext" 10814 LIBOBJS="$LIBOBJS mktime.$ac_objext"
@@ -8979,9 +10816,9 @@ fi
8979 10816
8980if test "$ac_cv_func_working_mktime" = no; then 10817if test "$ac_cv_func_working_mktime" = no; then
8981 10818
8982cat >>confdefs.h <<\EOF 10819cat >>confdefs.h <<\_ACEOF
8983#define BROKEN_MKTIME 1 10820#define BROKEN_MKTIME 1
8984EOF 10821_ACEOF
8985 10822
8986fi 10823fi
8987 10824
@@ -8990,13 +10827,13 @@ ac_have_func=no # yes means we've found a way to get the load average.
8990ac_save_LIBS=$LIBS 10827ac_save_LIBS=$LIBS
8991 10828
8992# Check for getloadavg, but be sure not to touch the cache variable. 10829# Check for getloadavg, but be sure not to touch the cache variable.
8993(echo "$as_me:8993: checking for getloadavg" >&5 10830(echo "$as_me:$LINENO: checking for getloadavg" >&5
8994echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 10831echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8995if test "${ac_cv_func_getloadavg+set}" = set; then 10832if test "${ac_cv_func_getloadavg+set}" = set; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6 10833 echo $ECHO_N "(cached) $ECHO_C" >&6
8997else 10834else
8998 cat >conftest.$ac_ext <<_ACEOF 10835 cat >conftest.$ac_ext <<_ACEOF
8999#line 8999 "configure" 10836#line $LINENO "configure"
9000#include "confdefs.h" 10837#include "confdefs.h"
9001/* System header to define __stub macros and hopefully few prototypes, 10838/* System header to define __stub macros and hopefully few prototypes,
9002 which can conflict with char getloadavg (); below. */ 10839 which can conflict with char getloadavg (); below. */
@@ -9010,6 +10847,12 @@ extern "C"
9010char getloadavg (); 10847char getloadavg ();
9011char (*f) (); 10848char (*f) ();
9012 10849
10850#ifdef F77_DUMMY_MAIN
10851# ifdef __cplusplus
10852 extern "C"
10853# endif
10854 int F77_DUMMY_MAIN() { return 1; }
10855#endif
9013int 10856int
9014main () 10857main ()
9015{ 10858{
@@ -9027,16 +10870,16 @@ f = getloadavg;
9027} 10870}
9028_ACEOF 10871_ACEOF
9029rm -f conftest.$ac_objext conftest$ac_exeext 10872rm -f conftest.$ac_objext conftest$ac_exeext
9030if { (eval echo "$as_me:9030: \"$ac_link\"") >&5 10873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9031 (eval $ac_link) 2>&5 10874 (eval $ac_link) 2>&5
9032 ac_status=$? 10875 ac_status=$?
9033 echo "$as_me:9033: \$? = $ac_status" >&5 10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && 10877 (exit $ac_status); } &&
9035 { ac_try='test -s conftest$ac_exeext' 10878 { ac_try='test -s conftest$ac_exeext'
9036 { (eval echo "$as_me:9036: \"$ac_try\"") >&5 10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 (eval $ac_try) 2>&5 10880 (eval $ac_try) 2>&5
9038 ac_status=$? 10881 ac_status=$?
9039 echo "$as_me:9039: \$? = $ac_status" >&5 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; }; then 10883 (exit $ac_status); }; }; then
9041 ac_cv_func_getloadavg=yes 10884 ac_cv_func_getloadavg=yes
9042else 10885else
@@ -9046,7 +10889,7 @@ ac_cv_func_getloadavg=no
9046fi 10889fi
9047rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10890rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9048fi 10891fi
9049echo "$as_me:9049: result: $ac_cv_func_getloadavg" >&5 10892echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
9050echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 10893echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9051if test $ac_cv_func_getloadavg = yes; then 10894if test $ac_cv_func_getloadavg = yes; then
9052 exit 0 10895 exit 0
@@ -9060,13 +10903,13 @@ fi
9060for ac_func in pstat_getdynamic 10903for ac_func in pstat_getdynamic
9061do 10904do
9062as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10905as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9063echo "$as_me:9063: checking for $ac_func" >&5 10906echo "$as_me:$LINENO: checking for $ac_func" >&5
9064echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10907echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9065if eval "test \"\${$as_ac_var+set}\" = set"; then 10908if eval "test \"\${$as_ac_var+set}\" = set"; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6 10909 echo $ECHO_N "(cached) $ECHO_C" >&6
9067else 10910else
9068 cat >conftest.$ac_ext <<_ACEOF 10911 cat >conftest.$ac_ext <<_ACEOF
9069#line 9069 "configure" 10912#line $LINENO "configure"
9070#include "confdefs.h" 10913#include "confdefs.h"
9071/* System header to define __stub macros and hopefully few prototypes, 10914/* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char $ac_func (); below. */ 10915 which can conflict with char $ac_func (); below. */
@@ -9080,6 +10923,12 @@ extern "C"
9080char $ac_func (); 10923char $ac_func ();
9081char (*f) (); 10924char (*f) ();
9082 10925
10926#ifdef F77_DUMMY_MAIN
10927# ifdef __cplusplus
10928 extern "C"
10929# endif
10930 int F77_DUMMY_MAIN() { return 1; }
10931#endif
9083int 10932int
9084main () 10933main ()
9085{ 10934{
@@ -9097,16 +10946,16 @@ f = $ac_func;
9097} 10946}
9098_ACEOF 10947_ACEOF
9099rm -f conftest.$ac_objext conftest$ac_exeext 10948rm -f conftest.$ac_objext conftest$ac_exeext
9100if { (eval echo "$as_me:9100: \"$ac_link\"") >&5 10949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9101 (eval $ac_link) 2>&5 10950 (eval $ac_link) 2>&5
9102 ac_status=$? 10951 ac_status=$?
9103 echo "$as_me:9103: \$? = $ac_status" >&5 10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); } && 10953 (exit $ac_status); } &&
9105 { ac_try='test -s conftest$ac_exeext' 10954 { ac_try='test -s conftest$ac_exeext'
9106 { (eval echo "$as_me:9106: \"$ac_try\"") >&5 10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107 (eval $ac_try) 2>&5 10956 (eval $ac_try) 2>&5
9108 ac_status=$? 10957 ac_status=$?
9109 echo "$as_me:9109: \$? = $ac_status" >&5 10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then 10959 (exit $ac_status); }; }; then
9111 eval "$as_ac_var=yes" 10960 eval "$as_ac_var=yes"
9112else 10961else
@@ -9116,19 +10965,20 @@ eval "$as_ac_var=no"
9116fi 10965fi
9117rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10966rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9118fi 10967fi
9119echo "$as_me:9119: result: `eval echo '${'$as_ac_var'}'`" >&5 10968echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9120echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10969echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9121if test `eval echo '${'$as_ac_var'}'` = yes; then 10970if test `eval echo '${'$as_ac_var'}'` = yes; then
9122 cat >>confdefs.h <<EOF 10971 cat >>confdefs.h <<_ACEOF
9123#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10972#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9124EOF 10973_ACEOF
9125 10974
9126fi 10975fi
9127done 10976done
9128 10977
10978
9129# Solaris has libkstat which does not require root. 10979# Solaris has libkstat which does not require root.
9130 10980
9131echo "$as_me:9131: checking for kstat_open in -lkstat" >&5 10981echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
9132echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 10982echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9133if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 10983if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9134 echo $ECHO_N "(cached) $ECHO_C" >&6 10984 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9136,7 +10986,7 @@ else
9136 ac_check_lib_save_LIBS=$LIBS 10986 ac_check_lib_save_LIBS=$LIBS
9137LIBS="-lkstat $LIBS" 10987LIBS="-lkstat $LIBS"
9138cat >conftest.$ac_ext <<_ACEOF 10988cat >conftest.$ac_ext <<_ACEOF
9139#line 9139 "configure" 10989#line $LINENO "configure"
9140#include "confdefs.h" 10990#include "confdefs.h"
9141 10991
9142/* Override any gcc2 internal prototype to avoid an error. */ 10992/* Override any gcc2 internal prototype to avoid an error. */
@@ -9146,6 +10996,12 @@ extern "C"
9146/* We use char because int might match the return type of a gcc2 10996/* We use char because int might match the return type of a gcc2
9147 builtin and then its argument prototype would still apply. */ 10997 builtin and then its argument prototype would still apply. */
9148char kstat_open (); 10998char kstat_open ();
10999#ifdef F77_DUMMY_MAIN
11000# ifdef __cplusplus
11001 extern "C"
11002# endif
11003 int F77_DUMMY_MAIN() { return 1; }
11004#endif
9149int 11005int
9150main () 11006main ()
9151{ 11007{
@@ -9155,16 +11011,16 @@ kstat_open ();
9155} 11011}
9156_ACEOF 11012_ACEOF
9157rm -f conftest.$ac_objext conftest$ac_exeext 11013rm -f conftest.$ac_objext conftest$ac_exeext
9158if { (eval echo "$as_me:9158: \"$ac_link\"") >&5 11014if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9159 (eval $ac_link) 2>&5 11015 (eval $ac_link) 2>&5
9160 ac_status=$? 11016 ac_status=$?
9161 echo "$as_me:9161: \$? = $ac_status" >&5 11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } && 11018 (exit $ac_status); } &&
9163 { ac_try='test -s conftest$ac_exeext' 11019 { ac_try='test -s conftest$ac_exeext'
9164 { (eval echo "$as_me:9164: \"$ac_try\"") >&5 11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 (eval $ac_try) 2>&5 11021 (eval $ac_try) 2>&5
9166 ac_status=$? 11022 ac_status=$?
9167 echo "$as_me:9167: \$? = $ac_status" >&5 11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); }; }; then 11024 (exit $ac_status); }; }; then
9169 ac_cv_lib_kstat_kstat_open=yes 11025 ac_cv_lib_kstat_kstat_open=yes
9170else 11026else
@@ -9175,12 +11031,12 @@ fi
9175rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11031rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9176LIBS=$ac_check_lib_save_LIBS 11032LIBS=$ac_check_lib_save_LIBS
9177fi 11033fi
9178echo "$as_me:9178: result: $ac_cv_lib_kstat_kstat_open" >&5 11034echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
9179echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 11035echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9180if test $ac_cv_lib_kstat_kstat_open = yes; then 11036if test $ac_cv_lib_kstat_kstat_open = yes; then
9181 cat >>confdefs.h <<EOF 11037 cat >>confdefs.h <<_ACEOF
9182#define HAVE_LIBKSTAT 1 11038#define HAVE_LIBKSTAT 1
9183EOF 11039_ACEOF
9184 11040
9185 LIBS="-lkstat $LIBS" 11041 LIBS="-lkstat $LIBS"
9186 11042
@@ -9193,7 +11049,7 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
9193# to get the right answer into the cache. 11049# to get the right answer into the cache.
9194# For kstat on solaris, we need libelf to force the definition of SVR4 below. 11050# For kstat on solaris, we need libelf to force the definition of SVR4 below.
9195if test $ac_have_func = no; then 11051if test $ac_have_func = no; then
9196 echo "$as_me:9196: checking for elf_begin in -lelf" >&5 11052 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
9197echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 11053echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9198if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 11054if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6 11055 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9201,7 +11057,7 @@ else
9201 ac_check_lib_save_LIBS=$LIBS 11057 ac_check_lib_save_LIBS=$LIBS
9202LIBS="-lelf $LIBS" 11058LIBS="-lelf $LIBS"
9203cat >conftest.$ac_ext <<_ACEOF 11059cat >conftest.$ac_ext <<_ACEOF
9204#line 9204 "configure" 11060#line $LINENO "configure"
9205#include "confdefs.h" 11061#include "confdefs.h"
9206 11062
9207/* Override any gcc2 internal prototype to avoid an error. */ 11063/* Override any gcc2 internal prototype to avoid an error. */
@@ -9211,6 +11067,12 @@ extern "C"
9211/* We use char because int might match the return type of a gcc2 11067/* We use char because int might match the return type of a gcc2
9212 builtin and then its argument prototype would still apply. */ 11068 builtin and then its argument prototype would still apply. */
9213char elf_begin (); 11069char elf_begin ();
11070#ifdef F77_DUMMY_MAIN
11071# ifdef __cplusplus
11072 extern "C"
11073# endif
11074 int F77_DUMMY_MAIN() { return 1; }
11075#endif
9214int 11076int
9215main () 11077main ()
9216{ 11078{
@@ -9220,16 +11082,16 @@ elf_begin ();
9220} 11082}
9221_ACEOF 11083_ACEOF
9222rm -f conftest.$ac_objext conftest$ac_exeext 11084rm -f conftest.$ac_objext conftest$ac_exeext
9223if { (eval echo "$as_me:9223: \"$ac_link\"") >&5 11085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9224 (eval $ac_link) 2>&5 11086 (eval $ac_link) 2>&5
9225 ac_status=$? 11087 ac_status=$?
9226 echo "$as_me:9226: \$? = $ac_status" >&5 11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } && 11089 (exit $ac_status); } &&
9228 { ac_try='test -s conftest$ac_exeext' 11090 { ac_try='test -s conftest$ac_exeext'
9229 { (eval echo "$as_me:9229: \"$ac_try\"") >&5 11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 (eval $ac_try) 2>&5 11092 (eval $ac_try) 2>&5
9231 ac_status=$? 11093 ac_status=$?
9232 echo "$as_me:9232: \$? = $ac_status" >&5 11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then 11095 (exit $ac_status); }; }; then
9234 ac_cv_lib_elf_elf_begin=yes 11096 ac_cv_lib_elf_elf_begin=yes
9235else 11097else
@@ -9240,7 +11102,7 @@ fi
9240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11102rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9241LIBS=$ac_check_lib_save_LIBS 11103LIBS=$ac_check_lib_save_LIBS
9242fi 11104fi
9243echo "$as_me:9243: result: $ac_cv_lib_elf_elf_begin" >&5 11105echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
9244echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 11106echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9245if test $ac_cv_lib_elf_elf_begin = yes; then 11107if test $ac_cv_lib_elf_elf_begin = yes; then
9246 LIBS="-lelf $LIBS" 11108 LIBS="-lelf $LIBS"
@@ -9248,7 +11110,7 @@ fi
9248 11110
9249fi 11111fi
9250if test $ac_have_func = no; then 11112if test $ac_have_func = no; then
9251 echo "$as_me:9251: checking for kvm_open in -lkvm" >&5 11113 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
9252echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 11114echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9253if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 11115if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6 11116 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9256,7 +11118,7 @@ else
9256 ac_check_lib_save_LIBS=$LIBS 11118 ac_check_lib_save_LIBS=$LIBS
9257LIBS="-lkvm $LIBS" 11119LIBS="-lkvm $LIBS"
9258cat >conftest.$ac_ext <<_ACEOF 11120cat >conftest.$ac_ext <<_ACEOF
9259#line 9259 "configure" 11121#line $LINENO "configure"
9260#include "confdefs.h" 11122#include "confdefs.h"
9261 11123
9262/* Override any gcc2 internal prototype to avoid an error. */ 11124/* Override any gcc2 internal prototype to avoid an error. */
@@ -9266,6 +11128,12 @@ extern "C"
9266/* We use char because int might match the return type of a gcc2 11128/* We use char because int might match the return type of a gcc2
9267 builtin and then its argument prototype would still apply. */ 11129 builtin and then its argument prototype would still apply. */
9268char kvm_open (); 11130char kvm_open ();
11131#ifdef F77_DUMMY_MAIN
11132# ifdef __cplusplus
11133 extern "C"
11134# endif
11135 int F77_DUMMY_MAIN() { return 1; }
11136#endif
9269int 11137int
9270main () 11138main ()
9271{ 11139{
@@ -9275,16 +11143,16 @@ kvm_open ();
9275} 11143}
9276_ACEOF 11144_ACEOF
9277rm -f conftest.$ac_objext conftest$ac_exeext 11145rm -f conftest.$ac_objext conftest$ac_exeext
9278if { (eval echo "$as_me:9278: \"$ac_link\"") >&5 11146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9279 (eval $ac_link) 2>&5 11147 (eval $ac_link) 2>&5
9280 ac_status=$? 11148 ac_status=$?
9281 echo "$as_me:9281: \$? = $ac_status" >&5 11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } && 11150 (exit $ac_status); } &&
9283 { ac_try='test -s conftest$ac_exeext' 11151 { ac_try='test -s conftest$ac_exeext'
9284 { (eval echo "$as_me:9284: \"$ac_try\"") >&5 11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 (eval $ac_try) 2>&5 11153 (eval $ac_try) 2>&5
9286 ac_status=$? 11154 ac_status=$?
9287 echo "$as_me:9287: \$? = $ac_status" >&5 11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; }; then 11156 (exit $ac_status); }; }; then
9289 ac_cv_lib_kvm_kvm_open=yes 11157 ac_cv_lib_kvm_kvm_open=yes
9290else 11158else
@@ -9295,14 +11163,14 @@ fi
9295rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11163rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9296LIBS=$ac_check_lib_save_LIBS 11164LIBS=$ac_check_lib_save_LIBS
9297fi 11165fi
9298echo "$as_me:9298: result: $ac_cv_lib_kvm_kvm_open" >&5 11166echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
9299echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 11167echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9300if test $ac_cv_lib_kvm_kvm_open = yes; then 11168if test $ac_cv_lib_kvm_kvm_open = yes; then
9301 LIBS="-lkvm $LIBS" 11169 LIBS="-lkvm $LIBS"
9302fi 11170fi
9303 11171
9304 # Check for the 4.4BSD definition of getloadavg. 11172 # Check for the 4.4BSD definition of getloadavg.
9305 echo "$as_me:9305: checking for getloadavg in -lutil" >&5 11173 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
9306echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 11174echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9307if test "${ac_cv_lib_util_getloadavg+set}" = set; then 11175if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6 11176 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9310,7 +11178,7 @@ else
9310 ac_check_lib_save_LIBS=$LIBS 11178 ac_check_lib_save_LIBS=$LIBS
9311LIBS="-lutil $LIBS" 11179LIBS="-lutil $LIBS"
9312cat >conftest.$ac_ext <<_ACEOF 11180cat >conftest.$ac_ext <<_ACEOF
9313#line 9313 "configure" 11181#line $LINENO "configure"
9314#include "confdefs.h" 11182#include "confdefs.h"
9315 11183
9316/* Override any gcc2 internal prototype to avoid an error. */ 11184/* Override any gcc2 internal prototype to avoid an error. */
@@ -9320,6 +11188,12 @@ extern "C"
9320/* We use char because int might match the return type of a gcc2 11188/* We use char because int might match the return type of a gcc2
9321 builtin and then its argument prototype would still apply. */ 11189 builtin and then its argument prototype would still apply. */
9322char getloadavg (); 11190char getloadavg ();
11191#ifdef F77_DUMMY_MAIN
11192# ifdef __cplusplus
11193 extern "C"
11194# endif
11195 int F77_DUMMY_MAIN() { return 1; }
11196#endif
9323int 11197int
9324main () 11198main ()
9325{ 11199{
@@ -9329,16 +11203,16 @@ getloadavg ();
9329} 11203}
9330_ACEOF 11204_ACEOF
9331rm -f conftest.$ac_objext conftest$ac_exeext 11205rm -f conftest.$ac_objext conftest$ac_exeext
9332if { (eval echo "$as_me:9332: \"$ac_link\"") >&5 11206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9333 (eval $ac_link) 2>&5 11207 (eval $ac_link) 2>&5
9334 ac_status=$? 11208 ac_status=$?
9335 echo "$as_me:9335: \$? = $ac_status" >&5 11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); } && 11210 (exit $ac_status); } &&
9337 { ac_try='test -s conftest$ac_exeext' 11211 { ac_try='test -s conftest$ac_exeext'
9338 { (eval echo "$as_me:9338: \"$ac_try\"") >&5 11212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9339 (eval $ac_try) 2>&5 11213 (eval $ac_try) 2>&5
9340 ac_status=$? 11214 ac_status=$?
9341 echo "$as_me:9341: \$? = $ac_status" >&5 11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then 11216 (exit $ac_status); }; }; then
9343 ac_cv_lib_util_getloadavg=yes 11217 ac_cv_lib_util_getloadavg=yes
9344else 11218else
@@ -9349,7 +11223,7 @@ fi
9349rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11223rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9350LIBS=$ac_check_lib_save_LIBS 11224LIBS=$ac_check_lib_save_LIBS
9351fi 11225fi
9352echo "$as_me:9352: result: $ac_cv_lib_util_getloadavg" >&5 11226echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
9353echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 11227echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9354if test $ac_cv_lib_util_getloadavg = yes; then 11228if test $ac_cv_lib_util_getloadavg = yes; then
9355 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 11229 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
@@ -9362,7 +11236,7 @@ if test $ac_have_func = no; then
9362 # Since it is not a standard part of AIX, it might be installed locally. 11236 # Since it is not a standard part of AIX, it might be installed locally.
9363 ac_getloadavg_LIBS=$LIBS 11237 ac_getloadavg_LIBS=$LIBS
9364 LIBS="-L/usr/local/lib $LIBS" 11238 LIBS="-L/usr/local/lib $LIBS"
9365 echo "$as_me:9365: checking for getloadavg in -lgetloadavg" >&5 11239 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
9366echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 11240echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9367if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 11241if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6 11242 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9370,7 +11244,7 @@ else
9370 ac_check_lib_save_LIBS=$LIBS 11244 ac_check_lib_save_LIBS=$LIBS
9371LIBS="-lgetloadavg $LIBS" 11245LIBS="-lgetloadavg $LIBS"
9372cat >conftest.$ac_ext <<_ACEOF 11246cat >conftest.$ac_ext <<_ACEOF
9373#line 9373 "configure" 11247#line $LINENO "configure"
9374#include "confdefs.h" 11248#include "confdefs.h"
9375 11249
9376/* Override any gcc2 internal prototype to avoid an error. */ 11250/* Override any gcc2 internal prototype to avoid an error. */
@@ -9380,6 +11254,12 @@ extern "C"
9380/* We use char because int might match the return type of a gcc2 11254/* We use char because int might match the return type of a gcc2
9381 builtin and then its argument prototype would still apply. */ 11255 builtin and then its argument prototype would still apply. */
9382char getloadavg (); 11256char getloadavg ();
11257#ifdef F77_DUMMY_MAIN
11258# ifdef __cplusplus
11259 extern "C"
11260# endif
11261 int F77_DUMMY_MAIN() { return 1; }
11262#endif
9383int 11263int
9384main () 11264main ()
9385{ 11265{
@@ -9389,16 +11269,16 @@ getloadavg ();
9389} 11269}
9390_ACEOF 11270_ACEOF
9391rm -f conftest.$ac_objext conftest$ac_exeext 11271rm -f conftest.$ac_objext conftest$ac_exeext
9392if { (eval echo "$as_me:9392: \"$ac_link\"") >&5 11272if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9393 (eval $ac_link) 2>&5 11273 (eval $ac_link) 2>&5
9394 ac_status=$? 11274 ac_status=$?
9395 echo "$as_me:9395: \$? = $ac_status" >&5 11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } && 11276 (exit $ac_status); } &&
9397 { ac_try='test -s conftest$ac_exeext' 11277 { ac_try='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:9398: \"$ac_try\"") >&5 11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 (eval $ac_try) 2>&5 11279 (eval $ac_try) 2>&5
9400 ac_status=$? 11280 ac_status=$?
9401 echo "$as_me:9401: \$? = $ac_status" >&5 11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then 11282 (exit $ac_status); }; }; then
9403 ac_cv_lib_getloadavg_getloadavg=yes 11283 ac_cv_lib_getloadavg_getloadavg=yes
9404else 11284else
@@ -9409,7 +11289,7 @@ fi
9409rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11289rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9410LIBS=$ac_check_lib_save_LIBS 11290LIBS=$ac_check_lib_save_LIBS
9411fi 11291fi
9412echo "$as_me:9412: result: $ac_cv_lib_getloadavg_getloadavg" >&5 11292echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9413echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 11293echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9414if test $ac_cv_lib_getloadavg_getloadavg = yes; then 11294if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9415 LIBS="-lgetloadavg $LIBS" 11295 LIBS="-lgetloadavg $LIBS"
@@ -9425,13 +11305,13 @@ fi
9425for ac_func in getloadavg 11305for ac_func in getloadavg
9426do 11306do
9427as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11307as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9428echo "$as_me:9428: checking for $ac_func" >&5 11308echo "$as_me:$LINENO: checking for $ac_func" >&5
9429echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11309echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9430if eval "test \"\${$as_ac_var+set}\" = set"; then 11310if eval "test \"\${$as_ac_var+set}\" = set"; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6 11311 echo $ECHO_N "(cached) $ECHO_C" >&6
9432else 11312else
9433 cat >conftest.$ac_ext <<_ACEOF 11313 cat >conftest.$ac_ext <<_ACEOF
9434#line 9434 "configure" 11314#line $LINENO "configure"
9435#include "confdefs.h" 11315#include "confdefs.h"
9436/* System header to define __stub macros and hopefully few prototypes, 11316/* System header to define __stub macros and hopefully few prototypes,
9437 which can conflict with char $ac_func (); below. */ 11317 which can conflict with char $ac_func (); below. */
@@ -9445,6 +11325,12 @@ extern "C"
9445char $ac_func (); 11325char $ac_func ();
9446char (*f) (); 11326char (*f) ();
9447 11327
11328#ifdef F77_DUMMY_MAIN
11329# ifdef __cplusplus
11330 extern "C"
11331# endif
11332 int F77_DUMMY_MAIN() { return 1; }
11333#endif
9448int 11334int
9449main () 11335main ()
9450{ 11336{
@@ -9462,16 +11348,16 @@ f = $ac_func;
9462} 11348}
9463_ACEOF 11349_ACEOF
9464rm -f conftest.$ac_objext conftest$ac_exeext 11350rm -f conftest.$ac_objext conftest$ac_exeext
9465if { (eval echo "$as_me:9465: \"$ac_link\"") >&5 11351if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>&5 11352 (eval $ac_link) 2>&5
9467 ac_status=$? 11353 ac_status=$?
9468 echo "$as_me:9468: \$? = $ac_status" >&5 11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } && 11355 (exit $ac_status); } &&
9470 { ac_try='test -s conftest$ac_exeext' 11356 { ac_try='test -s conftest$ac_exeext'
9471 { (eval echo "$as_me:9471: \"$ac_try\"") >&5 11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9472 (eval $ac_try) 2>&5 11358 (eval $ac_try) 2>&5
9473 ac_status=$? 11359 ac_status=$?
9474 echo "$as_me:9474: \$? = $ac_status" >&5 11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; }; then 11361 (exit $ac_status); }; }; then
9476 eval "$as_ac_var=yes" 11362 eval "$as_ac_var=yes"
9477else 11363else
@@ -9481,39 +11367,77 @@ eval "$as_ac_var=no"
9481fi 11367fi
9482rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11368rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9483fi 11369fi
9484echo "$as_me:9484: result: `eval echo '${'$as_ac_var'}'`" >&5 11370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9485echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11371echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9486if test `eval echo '${'$as_ac_var'}'` = yes; then 11372if test `eval echo '${'$as_ac_var'}'` = yes; then
9487 cat >>confdefs.h <<EOF 11373 cat >>confdefs.h <<_ACEOF
9488#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11374#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9489EOF 11375_ACEOF
9490 11376
9491else 11377else
9492 LIBOBJS="$LIBOBJS getloadavg.$ac_objext" 11378 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
9493 11379
9494cat >>confdefs.h <<\EOF 11380cat >>confdefs.h <<\_ACEOF
9495#define C_GETLOADAVG 1 11381#define C_GETLOADAVG 1
9496EOF 11382_ACEOF
9497 11383
9498# Figure out what our getloadavg.c needs. 11384# Figure out what our getloadavg.c needs.
9499ac_have_func=no 11385ac_have_func=no
9500echo "$as_me:9500: checking for sys/dg_sys_info.h" >&5 11386if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11387 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
9501echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 11388echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9502if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 11389if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6 11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391fi
11392echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
11393echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9504else 11394else
9505 cat >conftest.$ac_ext <<_ACEOF 11395 # Is the header compilable?
9506#line 9506 "configure" 11396echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
11397echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
11398cat >conftest.$ac_ext <<_ACEOF
11399#line $LINENO "configure"
9507#include "confdefs.h" 11400#include "confdefs.h"
11401$ac_includes_default
9508#include <sys/dg_sys_info.h> 11402#include <sys/dg_sys_info.h>
9509_ACEOF 11403_ACEOF
9510if { (eval echo "$as_me:9510: \"$ac_cpp conftest.$ac_ext\"") >&5 11404rm -f conftest.$ac_objext
11405if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } &&
11410 { ac_try='test -s conftest.$ac_objext'
11411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11412 (eval $ac_try) 2>&5
11413 ac_status=$?
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); }; }; then
11416 ac_header_compiler=yes
11417else
11418 echo "$as_me: failed program was:" >&5
11419cat conftest.$ac_ext >&5
11420ac_header_compiler=no
11421fi
11422rm -f conftest.$ac_objext conftest.$ac_ext
11423echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11424echo "${ECHO_T}$ac_header_compiler" >&6
11425
11426# Is the header present?
11427echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
11428echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
11429cat >conftest.$ac_ext <<_ACEOF
11430#line $LINENO "configure"
11431#include "confdefs.h"
11432#include <sys/dg_sys_info.h>
11433_ACEOF
11434if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9512 ac_status=$? 11436 ac_status=$?
9513 egrep -v '^ *\+' conftest.er1 >conftest.err 11437 egrep -v '^ *\+' conftest.er1 >conftest.err
9514 rm -f conftest.er1 11438 rm -f conftest.er1
9515 cat conftest.err >&5 11439 cat conftest.err >&5
9516 echo "$as_me:9516: \$? = $ac_status" >&5 11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } >/dev/null; then 11441 (exit $ac_status); } >/dev/null; then
9518 if test -s conftest.err; then 11442 if test -s conftest.err; then
9519 ac_cpp_err=$ac_c_preproc_warn_flag 11443 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9524,24 +11448,51 @@ else
9524 ac_cpp_err=yes 11448 ac_cpp_err=yes
9525fi 11449fi
9526if test -z "$ac_cpp_err"; then 11450if test -z "$ac_cpp_err"; then
9527 ac_cv_header_sys_dg_sys_info_h=yes 11451 ac_header_preproc=yes
9528else 11452else
9529 echo "$as_me: failed program was:" >&5 11453 echo "$as_me: failed program was:" >&5
9530 cat conftest.$ac_ext >&5 11454 cat conftest.$ac_ext >&5
9531 ac_cv_header_sys_dg_sys_info_h=no 11455 ac_header_preproc=no
9532fi 11456fi
9533rm -f conftest.err conftest.$ac_ext 11457rm -f conftest.err conftest.$ac_ext
11458echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11459echo "${ECHO_T}$ac_header_preproc" >&6
11460
11461# So? What about this header?
11462case $ac_header_compiler:$ac_header_preproc in
11463 yes:no )
11464 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
11465echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
11467echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11468 no:yes )
11469 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
11470echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
11471 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
11472echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
11473 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
11474echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11475esac
11476echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
11477echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
11478if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480else
11481 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
9534fi 11482fi
9535echo "$as_me:9535: result: $ac_cv_header_sys_dg_sys_info_h" >&5 11483echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9536echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 11484echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
11485
11486fi
9537if test $ac_cv_header_sys_dg_sys_info_h = yes; then 11487if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9538 ac_have_func=yes 11488 ac_have_func=yes
9539 11489
9540cat >>confdefs.h <<\EOF 11490cat >>confdefs.h <<\_ACEOF
9541#define DGUX 1 11491#define DGUX 1
9542EOF 11492_ACEOF
9543 11493
9544echo "$as_me:9544: checking for dg_sys_info in -ldgc" >&5 11494
11495echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
9545echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 11496echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9546if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 11497if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9547 echo $ECHO_N "(cached) $ECHO_C" >&6 11498 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9549,7 +11500,7 @@ else
9549 ac_check_lib_save_LIBS=$LIBS 11500 ac_check_lib_save_LIBS=$LIBS
9550LIBS="-ldgc $LIBS" 11501LIBS="-ldgc $LIBS"
9551cat >conftest.$ac_ext <<_ACEOF 11502cat >conftest.$ac_ext <<_ACEOF
9552#line 9552 "configure" 11503#line $LINENO "configure"
9553#include "confdefs.h" 11504#include "confdefs.h"
9554 11505
9555/* Override any gcc2 internal prototype to avoid an error. */ 11506/* Override any gcc2 internal prototype to avoid an error. */
@@ -9559,6 +11510,12 @@ extern "C"
9559/* We use char because int might match the return type of a gcc2 11510/* We use char because int might match the return type of a gcc2
9560 builtin and then its argument prototype would still apply. */ 11511 builtin and then its argument prototype would still apply. */
9561char dg_sys_info (); 11512char dg_sys_info ();
11513#ifdef F77_DUMMY_MAIN
11514# ifdef __cplusplus
11515 extern "C"
11516# endif
11517 int F77_DUMMY_MAIN() { return 1; }
11518#endif
9562int 11519int
9563main () 11520main ()
9564{ 11521{
@@ -9568,16 +11525,16 @@ dg_sys_info ();
9568} 11525}
9569_ACEOF 11526_ACEOF
9570rm -f conftest.$ac_objext conftest$ac_exeext 11527rm -f conftest.$ac_objext conftest$ac_exeext
9571if { (eval echo "$as_me:9571: \"$ac_link\"") >&5 11528if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9572 (eval $ac_link) 2>&5 11529 (eval $ac_link) 2>&5
9573 ac_status=$? 11530 ac_status=$?
9574 echo "$as_me:9574: \$? = $ac_status" >&5 11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } && 11532 (exit $ac_status); } &&
9576 { ac_try='test -s conftest$ac_exeext' 11533 { ac_try='test -s conftest$ac_exeext'
9577 { (eval echo "$as_me:9577: \"$ac_try\"") >&5 11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 (eval $ac_try) 2>&5 11535 (eval $ac_try) 2>&5
9579 ac_status=$? 11536 ac_status=$?
9580 echo "$as_me:9580: \$? = $ac_status" >&5 11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; }; then 11538 (exit $ac_status); }; }; then
9582 ac_cv_lib_dgc_dg_sys_info=yes 11539 ac_cv_lib_dgc_dg_sys_info=yes
9583else 11540else
@@ -9588,12 +11545,12 @@ fi
9588rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11545rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9589LIBS=$ac_check_lib_save_LIBS 11546LIBS=$ac_check_lib_save_LIBS
9590fi 11547fi
9591echo "$as_me:9591: result: $ac_cv_lib_dgc_dg_sys_info" >&5 11548echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9592echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 11549echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9593if test $ac_cv_lib_dgc_dg_sys_info = yes; then 11550if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9594 cat >>confdefs.h <<EOF 11551 cat >>confdefs.h <<_ACEOF
9595#define HAVE_LIBDGC 1 11552#define HAVE_LIBDGC 1
9596EOF 11553_ACEOF
9597 11554
9598 LIBS="-ldgc $LIBS" 11555 LIBS="-ldgc $LIBS"
9599 11556
@@ -9601,23 +11558,63 @@ fi
9601 11558
9602fi 11559fi
9603 11560
9604echo "$as_me:9604: checking for locale.h" >&5 11561
11562
11563if test "${ac_cv_header_locale_h+set}" = set; then
11564 echo "$as_me:$LINENO: checking for locale.h" >&5
9605echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 11565echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9606if test "${ac_cv_header_locale_h+set}" = set; then 11566if test "${ac_cv_header_locale_h+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6 11567 echo $ECHO_N "(cached) $ECHO_C" >&6
11568fi
11569echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
11570echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9608else 11571else
9609 cat >conftest.$ac_ext <<_ACEOF 11572 # Is the header compilable?
9610#line 9610 "configure" 11573echo "$as_me:$LINENO: checking locale.h usability" >&5
11574echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
11575cat >conftest.$ac_ext <<_ACEOF
11576#line $LINENO "configure"
9611#include "confdefs.h" 11577#include "confdefs.h"
11578$ac_includes_default
9612#include <locale.h> 11579#include <locale.h>
9613_ACEOF 11580_ACEOF
9614if { (eval echo "$as_me:9614: \"$ac_cpp conftest.$ac_ext\"") >&5 11581rm -f conftest.$ac_objext
11582if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 (eval $ac_compile) 2>&5
11584 ac_status=$?
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } &&
11587 { ac_try='test -s conftest.$ac_objext'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11590 ac_status=$?
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; }; then
11593 ac_header_compiler=yes
11594else
11595 echo "$as_me: failed program was:" >&5
11596cat conftest.$ac_ext >&5
11597ac_header_compiler=no
11598fi
11599rm -f conftest.$ac_objext conftest.$ac_ext
11600echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11601echo "${ECHO_T}$ac_header_compiler" >&6
11602
11603# Is the header present?
11604echo "$as_me:$LINENO: checking locale.h presence" >&5
11605echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
11606cat >conftest.$ac_ext <<_ACEOF
11607#line $LINENO "configure"
11608#include "confdefs.h"
11609#include <locale.h>
11610_ACEOF
11611if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9616 ac_status=$? 11613 ac_status=$?
9617 egrep -v '^ *\+' conftest.er1 >conftest.err 11614 egrep -v '^ *\+' conftest.er1 >conftest.err
9618 rm -f conftest.er1 11615 rm -f conftest.er1
9619 cat conftest.err >&5 11616 cat conftest.err >&5
9620 echo "$as_me:9620: \$? = $ac_status" >&5 11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); } >/dev/null; then 11618 (exit $ac_status); } >/dev/null; then
9622 if test -s conftest.err; then 11619 if test -s conftest.err; then
9623 ac_cpp_err=$ac_c_preproc_warn_flag 11620 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9628,27 +11625,55 @@ else
9628 ac_cpp_err=yes 11625 ac_cpp_err=yes
9629fi 11626fi
9630if test -z "$ac_cpp_err"; then 11627if test -z "$ac_cpp_err"; then
9631 ac_cv_header_locale_h=yes 11628 ac_header_preproc=yes
9632else 11629else
9633 echo "$as_me: failed program was:" >&5 11630 echo "$as_me: failed program was:" >&5
9634 cat conftest.$ac_ext >&5 11631 cat conftest.$ac_ext >&5
9635 ac_cv_header_locale_h=no 11632 ac_header_preproc=no
9636fi 11633fi
9637rm -f conftest.err conftest.$ac_ext 11634rm -f conftest.err conftest.$ac_ext
11635echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11636echo "${ECHO_T}$ac_header_preproc" >&6
11637
11638# So? What about this header?
11639case $ac_header_compiler:$ac_header_preproc in
11640 yes:no )
11641 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
11642echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11643 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
11644echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11645 no:yes )
11646 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
11647echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
11649echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
11651echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11652esac
11653echo "$as_me:$LINENO: checking for locale.h" >&5
11654echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
11655if test "${ac_cv_header_locale_h+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11657else
11658 ac_cv_header_locale_h=$ac_header_preproc
9638fi 11659fi
9639echo "$as_me:9639: result: $ac_cv_header_locale_h" >&5 11660echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
9640echo "${ECHO_T}$ac_cv_header_locale_h" >&6 11661echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9641 11662
11663fi
11664
11665
11666
9642for ac_func in setlocale 11667for ac_func in setlocale
9643do 11668do
9644as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11669as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9645echo "$as_me:9645: checking for $ac_func" >&5 11670echo "$as_me:$LINENO: checking for $ac_func" >&5
9646echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11671echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9647if eval "test \"\${$as_ac_var+set}\" = set"; then 11672if eval "test \"\${$as_ac_var+set}\" = set"; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6 11673 echo $ECHO_N "(cached) $ECHO_C" >&6
9649else 11674else
9650 cat >conftest.$ac_ext <<_ACEOF 11675 cat >conftest.$ac_ext <<_ACEOF
9651#line 9651 "configure" 11676#line $LINENO "configure"
9652#include "confdefs.h" 11677#include "confdefs.h"
9653/* System header to define __stub macros and hopefully few prototypes, 11678/* System header to define __stub macros and hopefully few prototypes,
9654 which can conflict with char $ac_func (); below. */ 11679 which can conflict with char $ac_func (); below. */
@@ -9662,6 +11687,12 @@ extern "C"
9662char $ac_func (); 11687char $ac_func ();
9663char (*f) (); 11688char (*f) ();
9664 11689
11690#ifdef F77_DUMMY_MAIN
11691# ifdef __cplusplus
11692 extern "C"
11693# endif
11694 int F77_DUMMY_MAIN() { return 1; }
11695#endif
9665int 11696int
9666main () 11697main ()
9667{ 11698{
@@ -9679,16 +11710,16 @@ f = $ac_func;
9679} 11710}
9680_ACEOF 11711_ACEOF
9681rm -f conftest.$ac_objext conftest$ac_exeext 11712rm -f conftest.$ac_objext conftest$ac_exeext
9682if { (eval echo "$as_me:9682: \"$ac_link\"") >&5 11713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9683 (eval $ac_link) 2>&5 11714 (eval $ac_link) 2>&5
9684 ac_status=$? 11715 ac_status=$?
9685 echo "$as_me:9685: \$? = $ac_status" >&5 11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && 11717 (exit $ac_status); } &&
9687 { ac_try='test -s conftest$ac_exeext' 11718 { ac_try='test -s conftest$ac_exeext'
9688 { (eval echo "$as_me:9688: \"$ac_try\"") >&5 11719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 (eval $ac_try) 2>&5 11720 (eval $ac_try) 2>&5
9690 ac_status=$? 11721 ac_status=$?
9691 echo "$as_me:9691: \$? = $ac_status" >&5 11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then 11723 (exit $ac_status); }; }; then
9693 eval "$as_ac_var=yes" 11724 eval "$as_ac_var=yes"
9694else 11725else
@@ -9698,46 +11729,85 @@ eval "$as_ac_var=no"
9698fi 11729fi
9699rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11730rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9700fi 11731fi
9701echo "$as_me:9701: result: `eval echo '${'$as_ac_var'}'`" >&5 11732echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9702echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11733echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9703if test `eval echo '${'$as_ac_var'}'` = yes; then 11734if test `eval echo '${'$as_ac_var'}'` = yes; then
9704 cat >>confdefs.h <<EOF 11735 cat >>confdefs.h <<_ACEOF
9705#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11736#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9706EOF 11737_ACEOF
9707 11738
9708fi 11739fi
9709done 11740done
9710 11741
11742
9711# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 11743# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
9712# uses stabs), but it is still SVR4. We cannot check for <elf.h> because 11744# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
9713# Irix 4.0.5F has the header but not the library. 11745# Irix 4.0.5F has the header but not the library.
9714if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 11746if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
9715 ac_have_func=yes 11747 ac_have_func=yes
9716 11748
9717cat >>confdefs.h <<\EOF 11749cat >>confdefs.h <<\_ACEOF
9718#define SVR4 1 11750#define SVR4 1
9719EOF 11751_ACEOF
9720 11752
9721fi 11753fi
9722 11754
9723if test $ac_have_func = no; then 11755if test $ac_have_func = no; then
9724 echo "$as_me:9724: checking for inq_stats/cpustats.h" >&5 11756 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11757 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
9725echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 11758echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9726if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 11759if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6 11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11761fi
11762echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
11763echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9728else 11764else
9729 cat >conftest.$ac_ext <<_ACEOF 11765 # Is the header compilable?
9730#line 9730 "configure" 11766echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
11767echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
11768cat >conftest.$ac_ext <<_ACEOF
11769#line $LINENO "configure"
11770#include "confdefs.h"
11771$ac_includes_default
11772#include <inq_stats/cpustats.h>
11773_ACEOF
11774rm -f conftest.$ac_objext
11775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11776 (eval $ac_compile) 2>&5
11777 ac_status=$?
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -s conftest.$ac_objext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_header_compiler=yes
11787else
11788 echo "$as_me: failed program was:" >&5
11789cat conftest.$ac_ext >&5
11790ac_header_compiler=no
11791fi
11792rm -f conftest.$ac_objext conftest.$ac_ext
11793echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11794echo "${ECHO_T}$ac_header_compiler" >&6
11795
11796# Is the header present?
11797echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
11798echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
11799cat >conftest.$ac_ext <<_ACEOF
11800#line $LINENO "configure"
9731#include "confdefs.h" 11801#include "confdefs.h"
9732#include <inq_stats/cpustats.h> 11802#include <inq_stats/cpustats.h>
9733_ACEOF 11803_ACEOF
9734if { (eval echo "$as_me:9734: \"$ac_cpp conftest.$ac_ext\"") >&5 11804if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9736 ac_status=$? 11806 ac_status=$?
9737 egrep -v '^ *\+' conftest.er1 >conftest.err 11807 egrep -v '^ *\+' conftest.er1 >conftest.err
9738 rm -f conftest.er1 11808 rm -f conftest.er1
9739 cat conftest.err >&5 11809 cat conftest.err >&5
9740 echo "$as_me:9740: \$? = $ac_status" >&5 11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } >/dev/null; then 11811 (exit $ac_status); } >/dev/null; then
9742 if test -s conftest.err; then 11812 if test -s conftest.err; then
9743 ac_cpp_err=$ac_c_preproc_warn_flag 11813 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9748,49 +11818,115 @@ else
9748 ac_cpp_err=yes 11818 ac_cpp_err=yes
9749fi 11819fi
9750if test -z "$ac_cpp_err"; then 11820if test -z "$ac_cpp_err"; then
9751 ac_cv_header_inq_stats_cpustats_h=yes 11821 ac_header_preproc=yes
9752else 11822else
9753 echo "$as_me: failed program was:" >&5 11823 echo "$as_me: failed program was:" >&5
9754 cat conftest.$ac_ext >&5 11824 cat conftest.$ac_ext >&5
9755 ac_cv_header_inq_stats_cpustats_h=no 11825 ac_header_preproc=no
9756fi 11826fi
9757rm -f conftest.err conftest.$ac_ext 11827rm -f conftest.err conftest.$ac_ext
11828echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11829echo "${ECHO_T}$ac_header_preproc" >&6
11830
11831# So? What about this header?
11832case $ac_header_compiler:$ac_header_preproc in
11833 yes:no )
11834 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11835echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11836 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
11837echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11838 no:yes )
11839 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
11840echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
11841 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
11842echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
11843 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
11844echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11845esac
11846echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
11847echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
11848if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11849 echo $ECHO_N "(cached) $ECHO_C" >&6
11850else
11851 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
9758fi 11852fi
9759echo "$as_me:9759: result: $ac_cv_header_inq_stats_cpustats_h" >&5 11853echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9760echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 11854echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
11855
11856fi
9761if test $ac_cv_header_inq_stats_cpustats_h = yes; then 11857if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9762 ac_have_func=yes 11858 ac_have_func=yes
9763 11859
9764cat >>confdefs.h <<\EOF 11860cat >>confdefs.h <<\_ACEOF
9765#define UMAX 1 11861#define UMAX 1
9766EOF 11862_ACEOF
11863
9767 11864
9768cat >>confdefs.h <<\EOF 11865cat >>confdefs.h <<\_ACEOF
9769#define UMAX4_3 1 11866#define UMAX4_3 1
9770EOF 11867_ACEOF
9771 11868
9772fi 11869fi
9773 11870
11871
9774fi 11872fi
9775 11873
9776if test $ac_have_func = no; then 11874if test $ac_have_func = no; then
9777 echo "$as_me:9777: checking for sys/cpustats.h" >&5 11875 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11876 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
9778echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 11877echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9779if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 11878if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9780 echo $ECHO_N "(cached) $ECHO_C" >&6 11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11880fi
11881echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
11882echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9781else 11883else
9782 cat >conftest.$ac_ext <<_ACEOF 11884 # Is the header compilable?
9783#line 9783 "configure" 11885echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
11886echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
11887cat >conftest.$ac_ext <<_ACEOF
11888#line $LINENO "configure"
9784#include "confdefs.h" 11889#include "confdefs.h"
11890$ac_includes_default
9785#include <sys/cpustats.h> 11891#include <sys/cpustats.h>
9786_ACEOF 11892_ACEOF
9787if { (eval echo "$as_me:9787: \"$ac_cpp conftest.$ac_ext\"") >&5 11893rm -f conftest.$ac_objext
11894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11895 (eval $ac_compile) 2>&5
11896 ac_status=$?
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } &&
11899 { ac_try='test -s conftest.$ac_objext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11902 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11905 ac_header_compiler=yes
11906else
11907 echo "$as_me: failed program was:" >&5
11908cat conftest.$ac_ext >&5
11909ac_header_compiler=no
11910fi
11911rm -f conftest.$ac_objext conftest.$ac_ext
11912echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11913echo "${ECHO_T}$ac_header_compiler" >&6
11914
11915# Is the header present?
11916echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
11917echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
11918cat >conftest.$ac_ext <<_ACEOF
11919#line $LINENO "configure"
11920#include "confdefs.h"
11921#include <sys/cpustats.h>
11922_ACEOF
11923if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9789 ac_status=$? 11925 ac_status=$?
9790 egrep -v '^ *\+' conftest.er1 >conftest.err 11926 egrep -v '^ *\+' conftest.er1 >conftest.err
9791 rm -f conftest.er1 11927 rm -f conftest.er1
9792 cat conftest.err >&5 11928 cat conftest.err >&5
9793 echo "$as_me:9793: \$? = $ac_status" >&5 11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } >/dev/null; then 11930 (exit $ac_status); } >/dev/null; then
9795 if test -s conftest.err; then 11931 if test -s conftest.err; then
9796 ac_cpp_err=$ac_c_preproc_warn_flag 11932 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9801,23 +11937,50 @@ else
9801 ac_cpp_err=yes 11937 ac_cpp_err=yes
9802fi 11938fi
9803if test -z "$ac_cpp_err"; then 11939if test -z "$ac_cpp_err"; then
9804 ac_cv_header_sys_cpustats_h=yes 11940 ac_header_preproc=yes
9805else 11941else
9806 echo "$as_me: failed program was:" >&5 11942 echo "$as_me: failed program was:" >&5
9807 cat conftest.$ac_ext >&5 11943 cat conftest.$ac_ext >&5
9808 ac_cv_header_sys_cpustats_h=no 11944 ac_header_preproc=no
9809fi 11945fi
9810rm -f conftest.err conftest.$ac_ext 11946rm -f conftest.err conftest.$ac_ext
11947echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11948echo "${ECHO_T}$ac_header_preproc" >&6
11949
11950# So? What about this header?
11951case $ac_header_compiler:$ac_header_preproc in
11952 yes:no )
11953 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11954echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11956echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11957 no:yes )
11958 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
11959echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
11960 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
11961echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
11962 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11963echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11964esac
11965echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11966echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11967if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11969else
11970 ac_cv_header_sys_cpustats_h=$ac_header_preproc
9811fi 11971fi
9812echo "$as_me:9812: result: $ac_cv_header_sys_cpustats_h" >&5 11972echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
9813echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 11973echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11974
11975fi
9814if test $ac_cv_header_sys_cpustats_h = yes; then 11976if test $ac_cv_header_sys_cpustats_h = yes; then
9815 ac_have_func=yes; cat >>confdefs.h <<\EOF 11977 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
9816#define UMAX 1 11978#define UMAX 1
9817EOF 11979_ACEOF
9818 11980
9819fi 11981fi
9820 11982
11983
9821fi 11984fi
9822 11985
9823if test $ac_have_func = no; then 11986if test $ac_have_func = no; then
@@ -9825,23 +11988,61 @@ if test $ac_have_func = no; then
9825for ac_header in mach/mach.h 11988for ac_header in mach/mach.h
9826do 11989do
9827as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11990as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9828echo "$as_me:9828: checking for $ac_header" >&5 11991if eval "test \"\${$as_ac_Header+set}\" = set"; then
11992 echo "$as_me:$LINENO: checking for $ac_header" >&5
9829echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11993echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9830if eval "test \"\${$as_ac_Header+set}\" = set"; then 11994if eval "test \"\${$as_ac_Header+set}\" = set"; then
9831 echo $ECHO_N "(cached) $ECHO_C" >&6 11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996fi
11997echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11998echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9832else 11999else
9833 cat >conftest.$ac_ext <<_ACEOF 12000 # Is the header compilable?
9834#line 9834 "configure" 12001echo "$as_me:$LINENO: checking $ac_header usability" >&5
12002echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12003cat >conftest.$ac_ext <<_ACEOF
12004#line $LINENO "configure"
9835#include "confdefs.h" 12005#include "confdefs.h"
12006$ac_includes_default
9836#include <$ac_header> 12007#include <$ac_header>
9837_ACEOF 12008_ACEOF
9838if { (eval echo "$as_me:9838: \"$ac_cpp conftest.$ac_ext\"") >&5 12009rm -f conftest.$ac_objext
12010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12011 (eval $ac_compile) 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try='test -s conftest.$ac_objext'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12018 ac_status=$?
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; }; then
12021 ac_header_compiler=yes
12022else
12023 echo "$as_me: failed program was:" >&5
12024cat conftest.$ac_ext >&5
12025ac_header_compiler=no
12026fi
12027rm -f conftest.$ac_objext conftest.$ac_ext
12028echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12029echo "${ECHO_T}$ac_header_compiler" >&6
12030
12031# Is the header present?
12032echo "$as_me:$LINENO: checking $ac_header presence" >&5
12033echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12034cat >conftest.$ac_ext <<_ACEOF
12035#line $LINENO "configure"
12036#include "confdefs.h"
12037#include <$ac_header>
12038_ACEOF
12039if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9840 ac_status=$? 12041 ac_status=$?
9841 egrep -v '^ *\+' conftest.er1 >conftest.err 12042 egrep -v '^ *\+' conftest.er1 >conftest.err
9842 rm -f conftest.er1 12043 rm -f conftest.er1
9843 cat conftest.err >&5 12044 cat conftest.err >&5
9844 echo "$as_me:9844: \$? = $ac_status" >&5 12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } >/dev/null; then 12046 (exit $ac_status); } >/dev/null; then
9846 if test -s conftest.err; then 12047 if test -s conftest.err; then
9847 ac_cpp_err=$ac_c_preproc_warn_flag 12048 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9852,46 +12053,112 @@ else
9852 ac_cpp_err=yes 12053 ac_cpp_err=yes
9853fi 12054fi
9854if test -z "$ac_cpp_err"; then 12055if test -z "$ac_cpp_err"; then
9855 eval "$as_ac_Header=yes" 12056 ac_header_preproc=yes
9856else 12057else
9857 echo "$as_me: failed program was:" >&5 12058 echo "$as_me: failed program was:" >&5
9858 cat conftest.$ac_ext >&5 12059 cat conftest.$ac_ext >&5
9859 eval "$as_ac_Header=no" 12060 ac_header_preproc=no
9860fi 12061fi
9861rm -f conftest.err conftest.$ac_ext 12062rm -f conftest.err conftest.$ac_ext
12063echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12064echo "${ECHO_T}$ac_header_preproc" >&6
12065
12066# So? What about this header?
12067case $ac_header_compiler:$ac_header_preproc in
12068 yes:no )
12069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12070echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12072echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12073 no:yes )
12074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12075echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12077echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12079echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12080esac
12081echo "$as_me:$LINENO: checking for $ac_header" >&5
12082echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12083if eval "test \"\${$as_ac_Header+set}\" = set"; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085else
12086 eval "$as_ac_Header=$ac_header_preproc"
9862fi 12087fi
9863echo "$as_me:9863: result: `eval echo '${'$as_ac_Header'}'`" >&5 12088echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9864echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12089echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12090
12091fi
9865if test `eval echo '${'$as_ac_Header'}'` = yes; then 12092if test `eval echo '${'$as_ac_Header'}'` = yes; then
9866 cat >>confdefs.h <<EOF 12093 cat >>confdefs.h <<_ACEOF
9867#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12094#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9868EOF 12095_ACEOF
9869 12096
9870fi 12097fi
12098
9871done 12099done
9872 12100
9873fi 12101fi
9874 12102
12103
9875for ac_header in nlist.h 12104for ac_header in nlist.h
9876do 12105do
9877as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12106as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9878echo "$as_me:9878: checking for $ac_header" >&5 12107if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo "$as_me:$LINENO: checking for $ac_header" >&5
9879echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12109echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9880if eval "test \"\${$as_ac_Header+set}\" = set"; then 12110if eval "test \"\${$as_ac_Header+set}\" = set"; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6 12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12112fi
12113echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12114echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9882else 12115else
9883 cat >conftest.$ac_ext <<_ACEOF 12116 # Is the header compilable?
9884#line 9884 "configure" 12117echo "$as_me:$LINENO: checking $ac_header usability" >&5
12118echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12119cat >conftest.$ac_ext <<_ACEOF
12120#line $LINENO "configure"
9885#include "confdefs.h" 12121#include "confdefs.h"
12122$ac_includes_default
9886#include <$ac_header> 12123#include <$ac_header>
9887_ACEOF 12124_ACEOF
9888if { (eval echo "$as_me:9888: \"$ac_cpp conftest.$ac_ext\"") >&5 12125rm -f conftest.$ac_objext
12126if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12127 (eval $ac_compile) 2>&5
12128 ac_status=$?
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_header_compiler=yes
12138else
12139 echo "$as_me: failed program was:" >&5
12140cat conftest.$ac_ext >&5
12141ac_header_compiler=no
12142fi
12143rm -f conftest.$ac_objext conftest.$ac_ext
12144echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12145echo "${ECHO_T}$ac_header_compiler" >&6
12146
12147# Is the header present?
12148echo "$as_me:$LINENO: checking $ac_header presence" >&5
12149echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12150cat >conftest.$ac_ext <<_ACEOF
12151#line $LINENO "configure"
12152#include "confdefs.h"
12153#include <$ac_header>
12154_ACEOF
12155if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9890 ac_status=$? 12157 ac_status=$?
9891 egrep -v '^ *\+' conftest.er1 >conftest.err 12158 egrep -v '^ *\+' conftest.er1 >conftest.err
9892 rm -f conftest.er1 12159 rm -f conftest.er1
9893 cat conftest.err >&5 12160 cat conftest.err >&5
9894 echo "$as_me:9894: \$? = $ac_status" >&5 12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } >/dev/null; then 12162 (exit $ac_status); } >/dev/null; then
9896 if test -s conftest.err; then 12163 if test -s conftest.err; then
9897 ac_cpp_err=$ac_c_preproc_warn_flag 12164 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9902,30 +12169,62 @@ else
9902 ac_cpp_err=yes 12169 ac_cpp_err=yes
9903fi 12170fi
9904if test -z "$ac_cpp_err"; then 12171if test -z "$ac_cpp_err"; then
9905 eval "$as_ac_Header=yes" 12172 ac_header_preproc=yes
9906else 12173else
9907 echo "$as_me: failed program was:" >&5 12174 echo "$as_me: failed program was:" >&5
9908 cat conftest.$ac_ext >&5 12175 cat conftest.$ac_ext >&5
9909 eval "$as_ac_Header=no" 12176 ac_header_preproc=no
9910fi 12177fi
9911rm -f conftest.err conftest.$ac_ext 12178rm -f conftest.err conftest.$ac_ext
12179echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12180echo "${ECHO_T}$ac_header_preproc" >&6
12181
12182# So? What about this header?
12183case $ac_header_compiler:$ac_header_preproc in
12184 yes:no )
12185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12186echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12188echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12189 no:yes )
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12191echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12193echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12195echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12196esac
12197echo "$as_me:$LINENO: checking for $ac_header" >&5
12198echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12199if eval "test \"\${$as_ac_Header+set}\" = set"; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12201else
12202 eval "$as_ac_Header=$ac_header_preproc"
9912fi 12203fi
9913echo "$as_me:9913: result: `eval echo '${'$as_ac_Header'}'`" >&5 12204echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9914echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12205echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12206
12207fi
9915if test `eval echo '${'$as_ac_Header'}'` = yes; then 12208if test `eval echo '${'$as_ac_Header'}'` = yes; then
9916 cat >>confdefs.h <<EOF 12209 cat >>confdefs.h <<_ACEOF
9917#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12210#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9918EOF 12211_ACEOF
9919 echo "$as_me:9919: checking for struct nlist.n_un.n_name" >&5 12212 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
9920echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 12213echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9921if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 12214if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6 12215 echo $ECHO_N "(cached) $ECHO_C" >&6
9923else 12216else
9924 cat >conftest.$ac_ext <<_ACEOF 12217 cat >conftest.$ac_ext <<_ACEOF
9925#line 9925 "configure" 12218#line $LINENO "configure"
9926#include "confdefs.h" 12219#include "confdefs.h"
9927#include <nlist.h> 12220#include <nlist.h>
9928 12221
12222#ifdef F77_DUMMY_MAIN
12223# ifdef __cplusplus
12224 extern "C"
12225# endif
12226 int F77_DUMMY_MAIN() { return 1; }
12227#endif
9929int 12228int
9930main () 12229main ()
9931{ 12230{
@@ -9937,16 +12236,16 @@ return 0;
9937} 12236}
9938_ACEOF 12237_ACEOF
9939rm -f conftest.$ac_objext 12238rm -f conftest.$ac_objext
9940if { (eval echo "$as_me:9940: \"$ac_compile\"") >&5 12239if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9941 (eval $ac_compile) 2>&5 12240 (eval $ac_compile) 2>&5
9942 ac_status=$? 12241 ac_status=$?
9943 echo "$as_me:9943: \$? = $ac_status" >&5 12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } && 12243 (exit $ac_status); } &&
9945 { ac_try='test -s conftest.$ac_objext' 12244 { ac_try='test -s conftest.$ac_objext'
9946 { (eval echo "$as_me:9946: \"$ac_try\"") >&5 12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 (eval $ac_try) 2>&5 12246 (eval $ac_try) 2>&5
9948 ac_status=$? 12247 ac_status=$?
9949 echo "$as_me:9949: \$? = $ac_status" >&5 12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }; }; then 12249 (exit $ac_status); }; }; then
9951 ac_cv_member_struct_nlist_n_un_n_name=yes 12250 ac_cv_member_struct_nlist_n_un_n_name=yes
9952else 12251else
@@ -9956,34 +12255,38 @@ ac_cv_member_struct_nlist_n_un_n_name=no
9956fi 12255fi
9957rm -f conftest.$ac_objext conftest.$ac_ext 12256rm -f conftest.$ac_objext conftest.$ac_ext
9958fi 12257fi
9959echo "$as_me:9959: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 12258echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9960echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 12259echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9961if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 12260if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9962 12261
9963cat >>confdefs.h <<EOF 12262cat >>confdefs.h <<_ACEOF
9964#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 12263#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9965EOF 12264_ACEOF
12265
9966 12266
9967cat >>confdefs.h <<\EOF 12267cat >>confdefs.h <<\_ACEOF
9968#define NLIST_NAME_UNION 1 12268#define NLIST_NAME_UNION 1
9969EOF 12269_ACEOF
9970 12270
9971fi 12271fi
9972 12272
12273
9973fi 12274fi
12275
9974done 12276done
9975 12277
9976fi 12278fi
9977done 12279done
9978 12280
12281
9979# Some definitions of getloadavg require that the program be installed setgid. 12282# Some definitions of getloadavg require that the program be installed setgid.
9980echo "$as_me:9980: checking whether getloadavg requires setgid" >&5 12283echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
9981echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 12284echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9982if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 12285if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6 12286 echo $ECHO_N "(cached) $ECHO_C" >&6
9984else 12287else
9985 cat >conftest.$ac_ext <<_ACEOF 12288 cat >conftest.$ac_ext <<_ACEOF
9986#line 9986 "configure" 12289#line $LINENO "configure"
9987#include "confdefs.h" 12290#include "confdefs.h"
9988#include "$srcdir/getloadavg.c" 12291#include "$srcdir/getloadavg.c"
9989#ifdef LDAV_PRIVILEGED 12292#ifdef LDAV_PRIVILEGED
@@ -9999,21 +12302,21 @@ fi
9999rm -f conftest* 12302rm -f conftest*
10000 12303
10001fi 12304fi
10002echo "$as_me:10002: result: $ac_cv_func_getloadavg_setgid" >&5 12305echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
10003echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 12306echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
10004if test $ac_cv_func_getloadavg_setgid = yes; then 12307if test $ac_cv_func_getloadavg_setgid = yes; then
10005 NEED_SETGID=true 12308 NEED_SETGID=true
10006 12309
10007cat >>confdefs.h <<\EOF 12310cat >>confdefs.h <<\_ACEOF
10008#define GETLOADAVG_PRIVILEGED 1 12311#define GETLOADAVG_PRIVILEGED 1
10009EOF 12312_ACEOF
10010 12313
10011else 12314else
10012 NEED_SETGID=false 12315 NEED_SETGID=false
10013fi 12316fi
10014 12317
10015if test $ac_cv_func_getloadavg_setgid = yes; then 12318if test $ac_cv_func_getloadavg_setgid = yes; then
10016 echo "$as_me:10016: checking group of /dev/kmem" >&5 12319 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
10017echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 12320echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
10018if test "${ac_cv_group_kmem+set}" = set; then 12321if test "${ac_cv_group_kmem+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6 12322 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10028,7 +12331,7 @@ else
10028 / /s/.* //;p;'` 12331 / /s/.* //;p;'`
10029 12332
10030fi 12333fi
10031echo "$as_me:10031: result: $ac_cv_group_kmem" >&5 12334echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
10032echo "${ECHO_T}$ac_cv_group_kmem" >&6 12335echo "${ECHO_T}$ac_cv_group_kmem" >&6
10033 KMEM_GROUP=$ac_cv_group_kmem 12336 KMEM_GROUP=$ac_cv_group_kmem
10034fi 12337fi
@@ -10039,7 +12342,9 @@ else
10039fi 12342fi
10040LIBS=$ac_save_LIBS 12343LIBS=$ac_save_LIBS
10041 12344
10042echo "$as_me:10042: checking for _LARGEFILE_SOURCE value needed for large files" >&5 12345
12346
12347echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10043echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 12348echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
10044if test "${ac_cv_sys_largefile_source+set}" = set; then 12349if test "${ac_cv_sys_largefile_source+set}" = set; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6 12350 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10047,9 +12352,15 @@ else
10047 while :; do 12352 while :; do
10048 ac_cv_sys_largefile_source=no 12353 ac_cv_sys_largefile_source=no
10049 cat >conftest.$ac_ext <<_ACEOF 12354 cat >conftest.$ac_ext <<_ACEOF
10050#line 10050 "configure" 12355#line $LINENO "configure"
10051#include "confdefs.h" 12356#include "confdefs.h"
10052#include <stdio.h> 12357#include <stdio.h>
12358#ifdef F77_DUMMY_MAIN
12359# ifdef __cplusplus
12360 extern "C"
12361# endif
12362 int F77_DUMMY_MAIN() { return 1; }
12363#endif
10053int 12364int
10054main () 12365main ()
10055{ 12366{
@@ -10059,16 +12370,16 @@ return !fseeko;
10059} 12370}
10060_ACEOF 12371_ACEOF
10061rm -f conftest.$ac_objext 12372rm -f conftest.$ac_objext
10062if { (eval echo "$as_me:10062: \"$ac_compile\"") >&5 12373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10063 (eval $ac_compile) 2>&5 12374 (eval $ac_compile) 2>&5
10064 ac_status=$? 12375 ac_status=$?
10065 echo "$as_me:10065: \$? = $ac_status" >&5 12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); } && 12377 (exit $ac_status); } &&
10067 { ac_try='test -s conftest.$ac_objext' 12378 { ac_try='test -s conftest.$ac_objext'
10068 { (eval echo "$as_me:10068: \"$ac_try\"") >&5 12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5 12380 (eval $ac_try) 2>&5
10070 ac_status=$? 12381 ac_status=$?
10071 echo "$as_me:10071: \$? = $ac_status" >&5 12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then 12383 (exit $ac_status); }; }; then
10073 break 12384 break
10074else 12385else
@@ -10077,10 +12388,16 @@ cat conftest.$ac_ext >&5
10077fi 12388fi
10078rm -f conftest.$ac_objext conftest.$ac_ext 12389rm -f conftest.$ac_objext conftest.$ac_ext
10079 cat >conftest.$ac_ext <<_ACEOF 12390 cat >conftest.$ac_ext <<_ACEOF
10080#line 10080 "configure" 12391#line $LINENO "configure"
10081#include "confdefs.h" 12392#include "confdefs.h"
10082#define _LARGEFILE_SOURCE 1 12393#define _LARGEFILE_SOURCE 1
10083#include <stdio.h> 12394#include <stdio.h>
12395#ifdef F77_DUMMY_MAIN
12396# ifdef __cplusplus
12397 extern "C"
12398# endif
12399 int F77_DUMMY_MAIN() { return 1; }
12400#endif
10084int 12401int
10085main () 12402main ()
10086{ 12403{
@@ -10090,16 +12407,16 @@ return !fseeko;
10090} 12407}
10091_ACEOF 12408_ACEOF
10092rm -f conftest.$ac_objext 12409rm -f conftest.$ac_objext
10093if { (eval echo "$as_me:10093: \"$ac_compile\"") >&5 12410if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10094 (eval $ac_compile) 2>&5 12411 (eval $ac_compile) 2>&5
10095 ac_status=$? 12412 ac_status=$?
10096 echo "$as_me:10096: \$? = $ac_status" >&5 12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && 12414 (exit $ac_status); } &&
10098 { ac_try='test -s conftest.$ac_objext' 12415 { ac_try='test -s conftest.$ac_objext'
10099 { (eval echo "$as_me:10099: \"$ac_try\"") >&5 12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5 12417 (eval $ac_try) 2>&5
10101 ac_status=$? 12418 ac_status=$?
10102 echo "$as_me:10102: \$? = $ac_status" >&5 12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then 12420 (exit $ac_status); }; }; then
10104 ac_cv_sys_largefile_source=1; break 12421 ac_cv_sys_largefile_source=1; break
10105else 12422else
@@ -10110,13 +12427,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext
10110 break 12427 break
10111done 12428done
10112fi 12429fi
10113echo "$as_me:10113: result: $ac_cv_sys_largefile_source" >&5 12430echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
10114echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 12431echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10115if test "$ac_cv_sys_largefile_source" != no; then 12432if test "$ac_cv_sys_largefile_source" != no; then
10116 12433
10117cat >>confdefs.h <<EOF 12434cat >>confdefs.h <<_ACEOF
10118#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 12435#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10119EOF 12436_ACEOF
10120 12437
10121fi 12438fi
10122rm -f conftest* 12439rm -f conftest*
@@ -10124,15 +12441,21 @@ rm -f conftest*
10124# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 12441# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10125# in glibc 2.1.3, but that breaks too many other things. 12442# in glibc 2.1.3, but that breaks too many other things.
10126# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 12443# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10127echo "$as_me:10127: checking for fseeko" >&5 12444echo "$as_me:$LINENO: checking for fseeko" >&5
10128echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 12445echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10129if test "${ac_cv_func_fseeko+set}" = set; then 12446if test "${ac_cv_func_fseeko+set}" = set; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6 12447 echo $ECHO_N "(cached) $ECHO_C" >&6
10131else 12448else
10132 cat >conftest.$ac_ext <<_ACEOF 12449 cat >conftest.$ac_ext <<_ACEOF
10133#line 10133 "configure" 12450#line $LINENO "configure"
10134#include "confdefs.h" 12451#include "confdefs.h"
10135#include <stdio.h> 12452#include <stdio.h>
12453#ifdef F77_DUMMY_MAIN
12454# ifdef __cplusplus
12455 extern "C"
12456# endif
12457 int F77_DUMMY_MAIN() { return 1; }
12458#endif
10136int 12459int
10137main () 12460main ()
10138{ 12461{
@@ -10142,16 +12465,16 @@ return fseeko && fseeko (stdin, 0, 0);
10142} 12465}
10143_ACEOF 12466_ACEOF
10144rm -f conftest.$ac_objext conftest$ac_exeext 12467rm -f conftest.$ac_objext conftest$ac_exeext
10145if { (eval echo "$as_me:10145: \"$ac_link\"") >&5 12468if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10146 (eval $ac_link) 2>&5 12469 (eval $ac_link) 2>&5
10147 ac_status=$? 12470 ac_status=$?
10148 echo "$as_me:10148: \$? = $ac_status" >&5 12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } && 12472 (exit $ac_status); } &&
10150 { ac_try='test -s conftest$ac_exeext' 12473 { ac_try='test -s conftest$ac_exeext'
10151 { (eval echo "$as_me:10151: \"$ac_try\"") >&5 12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5 12475 (eval $ac_try) 2>&5
10153 ac_status=$? 12476 ac_status=$?
10154 echo "$as_me:10154: \$? = $ac_status" >&5 12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; }; then 12478 (exit $ac_status); }; }; then
10156 ac_cv_func_fseeko=yes 12479 ac_cv_func_fseeko=yes
10157else 12480else
@@ -10161,28 +12484,29 @@ ac_cv_func_fseeko=no
10161fi 12484fi
10162rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12485rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10163fi 12486fi
10164echo "$as_me:10164: result: $ac_cv_func_fseeko" >&5 12487echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
10165echo "${ECHO_T}$ac_cv_func_fseeko" >&6 12488echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10166if test $ac_cv_func_fseeko = yes; then 12489if test $ac_cv_func_fseeko = yes; then
10167 12490
10168cat >>confdefs.h <<\EOF 12491cat >>confdefs.h <<\_ACEOF
10169#define HAVE_FSEEKO 1 12492#define HAVE_FSEEKO 1
10170EOF 12493_ACEOF
10171 12494
10172fi 12495fi
10173 12496
12497
10174# UNIX98 PTYs. 12498# UNIX98 PTYs.
10175 12499
10176for ac_func in grantpt 12500for ac_func in grantpt
10177do 12501do
10178as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12502as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179echo "$as_me:10179: checking for $ac_func" >&5 12503echo "$as_me:$LINENO: checking for $ac_func" >&5
10180echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12504echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181if eval "test \"\${$as_ac_var+set}\" = set"; then 12505if eval "test \"\${$as_ac_var+set}\" = set"; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6 12506 echo $ECHO_N "(cached) $ECHO_C" >&6
10183else 12507else
10184 cat >conftest.$ac_ext <<_ACEOF 12508 cat >conftest.$ac_ext <<_ACEOF
10185#line 10185 "configure" 12509#line $LINENO "configure"
10186#include "confdefs.h" 12510#include "confdefs.h"
10187/* System header to define __stub macros and hopefully few prototypes, 12511/* System header to define __stub macros and hopefully few prototypes,
10188 which can conflict with char $ac_func (); below. */ 12512 which can conflict with char $ac_func (); below. */
@@ -10196,6 +12520,12 @@ extern "C"
10196char $ac_func (); 12520char $ac_func ();
10197char (*f) (); 12521char (*f) ();
10198 12522
12523#ifdef F77_DUMMY_MAIN
12524# ifdef __cplusplus
12525 extern "C"
12526# endif
12527 int F77_DUMMY_MAIN() { return 1; }
12528#endif
10199int 12529int
10200main () 12530main ()
10201{ 12531{
@@ -10213,16 +12543,16 @@ f = $ac_func;
10213} 12543}
10214_ACEOF 12544_ACEOF
10215rm -f conftest.$ac_objext conftest$ac_exeext 12545rm -f conftest.$ac_objext conftest$ac_exeext
10216if { (eval echo "$as_me:10216: \"$ac_link\"") >&5 12546if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10217 (eval $ac_link) 2>&5 12547 (eval $ac_link) 2>&5
10218 ac_status=$? 12548 ac_status=$?
10219 echo "$as_me:10219: \$? = $ac_status" >&5 12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } && 12550 (exit $ac_status); } &&
10221 { ac_try='test -s conftest$ac_exeext' 12551 { ac_try='test -s conftest$ac_exeext'
10222 { (eval echo "$as_me:10222: \"$ac_try\"") >&5 12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5 12553 (eval $ac_try) 2>&5
10224 ac_status=$? 12554 ac_status=$?
10225 echo "$as_me:10225: \$? = $ac_status" >&5 12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then 12556 (exit $ac_status); }; }; then
10227 eval "$as_ac_var=yes" 12557 eval "$as_ac_var=yes"
10228else 12558else
@@ -10232,28 +12562,29 @@ eval "$as_ac_var=no"
10232fi 12562fi
10233rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12563rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10234fi 12564fi
10235echo "$as_me:10235: result: `eval echo '${'$as_ac_var'}'`" >&5 12565echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10236echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12566echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10237if test `eval echo '${'$as_ac_var'}'` = yes; then 12567if test `eval echo '${'$as_ac_var'}'` = yes; then
10238 cat >>confdefs.h <<EOF 12568 cat >>confdefs.h <<_ACEOF
10239#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12569#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10240EOF 12570_ACEOF
10241 12571
10242fi 12572fi
10243done 12573done
10244 12574
12575
10245# PTY-related GNU extensions. 12576# PTY-related GNU extensions.
10246 12577
10247for ac_func in getpt 12578for ac_func in getpt
10248do 12579do
10249as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12580as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10250echo "$as_me:10250: checking for $ac_func" >&5 12581echo "$as_me:$LINENO: checking for $ac_func" >&5
10251echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12582echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10252if eval "test \"\${$as_ac_var+set}\" = set"; then 12583if eval "test \"\${$as_ac_var+set}\" = set"; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6 12584 echo $ECHO_N "(cached) $ECHO_C" >&6
10254else 12585else
10255 cat >conftest.$ac_ext <<_ACEOF 12586 cat >conftest.$ac_ext <<_ACEOF
10256#line 10256 "configure" 12587#line $LINENO "configure"
10257#include "confdefs.h" 12588#include "confdefs.h"
10258/* System header to define __stub macros and hopefully few prototypes, 12589/* System header to define __stub macros and hopefully few prototypes,
10259 which can conflict with char $ac_func (); below. */ 12590 which can conflict with char $ac_func (); below. */
@@ -10267,6 +12598,12 @@ extern "C"
10267char $ac_func (); 12598char $ac_func ();
10268char (*f) (); 12599char (*f) ();
10269 12600
12601#ifdef F77_DUMMY_MAIN
12602# ifdef __cplusplus
12603 extern "C"
12604# endif
12605 int F77_DUMMY_MAIN() { return 1; }
12606#endif
10270int 12607int
10271main () 12608main ()
10272{ 12609{
@@ -10284,16 +12621,16 @@ f = $ac_func;
10284} 12621}
10285_ACEOF 12622_ACEOF
10286rm -f conftest.$ac_objext conftest$ac_exeext 12623rm -f conftest.$ac_objext conftest$ac_exeext
10287if { (eval echo "$as_me:10287: \"$ac_link\"") >&5 12624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10288 (eval $ac_link) 2>&5 12625 (eval $ac_link) 2>&5
10289 ac_status=$? 12626 ac_status=$?
10290 echo "$as_me:10290: \$? = $ac_status" >&5 12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); } && 12628 (exit $ac_status); } &&
10292 { ac_try='test -s conftest$ac_exeext' 12629 { ac_try='test -s conftest$ac_exeext'
10293 { (eval echo "$as_me:10293: \"$ac_try\"") >&5 12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294 (eval $ac_try) 2>&5 12631 (eval $ac_try) 2>&5
10295 ac_status=$? 12632 ac_status=$?
10296 echo "$as_me:10296: \$? = $ac_status" >&5 12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); }; }; then 12634 (exit $ac_status); }; }; then
10298 eval "$as_ac_var=yes" 12635 eval "$as_ac_var=yes"
10299else 12636else
@@ -10303,22 +12640,23 @@ eval "$as_ac_var=no"
10303fi 12640fi
10304rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12641rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10305fi 12642fi
10306echo "$as_me:10306: result: `eval echo '${'$as_ac_var'}'`" >&5 12643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10307echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12644echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10308if test `eval echo '${'$as_ac_var'}'` = yes; then 12645if test `eval echo '${'$as_ac_var'}'` = yes; then
10309 cat >>confdefs.h <<EOF 12646 cat >>confdefs.h <<_ACEOF
10310#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12647#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10311EOF 12648_ACEOF
10312 12649
10313fi 12650fi
10314done 12651done
10315 12652
12653
10316# Check this now, so that we will NOT find the above functions in ncurses. 12654# Check this now, so that we will NOT find the above functions in ncurses.
10317# That is because we have not set up to link ncurses in lib-src. 12655# That is because we have not set up to link ncurses in lib-src.
10318# It's better to believe a function is not available 12656# It's better to believe a function is not available
10319# than to expect to find it in ncurses. 12657# than to expect to find it in ncurses.
10320 12658
10321echo "$as_me:10321: checking for tparm in -lncurses" >&5 12659echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
10322echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 12660echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10323if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 12661if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6 12662 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10326,7 +12664,7 @@ else
10326 ac_check_lib_save_LIBS=$LIBS 12664 ac_check_lib_save_LIBS=$LIBS
10327LIBS="-lncurses $LIBS" 12665LIBS="-lncurses $LIBS"
10328cat >conftest.$ac_ext <<_ACEOF 12666cat >conftest.$ac_ext <<_ACEOF
10329#line 10329 "configure" 12667#line $LINENO "configure"
10330#include "confdefs.h" 12668#include "confdefs.h"
10331 12669
10332/* Override any gcc2 internal prototype to avoid an error. */ 12670/* Override any gcc2 internal prototype to avoid an error. */
@@ -10336,6 +12674,12 @@ extern "C"
10336/* We use char because int might match the return type of a gcc2 12674/* We use char because int might match the return type of a gcc2
10337 builtin and then its argument prototype would still apply. */ 12675 builtin and then its argument prototype would still apply. */
10338char tparm (); 12676char tparm ();
12677#ifdef F77_DUMMY_MAIN
12678# ifdef __cplusplus
12679 extern "C"
12680# endif
12681 int F77_DUMMY_MAIN() { return 1; }
12682#endif
10339int 12683int
10340main () 12684main ()
10341{ 12685{
@@ -10345,16 +12689,16 @@ tparm ();
10345} 12689}
10346_ACEOF 12690_ACEOF
10347rm -f conftest.$ac_objext conftest$ac_exeext 12691rm -f conftest.$ac_objext conftest$ac_exeext
10348if { (eval echo "$as_me:10348: \"$ac_link\"") >&5 12692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10349 (eval $ac_link) 2>&5 12693 (eval $ac_link) 2>&5
10350 ac_status=$? 12694 ac_status=$?
10351 echo "$as_me:10351: \$? = $ac_status" >&5 12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } && 12696 (exit $ac_status); } &&
10353 { ac_try='test -s conftest$ac_exeext' 12697 { ac_try='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:10354: \"$ac_try\"") >&5 12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5 12699 (eval $ac_try) 2>&5
10356 ac_status=$? 12700 ac_status=$?
10357 echo "$as_me:10357: \$? = $ac_status" >&5 12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then 12702 (exit $ac_status); }; }; then
10359 ac_cv_lib_ncurses_tparm=yes 12703 ac_cv_lib_ncurses_tparm=yes
10360else 12704else
@@ -10365,28 +12709,29 @@ fi
10365rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12709rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10366LIBS=$ac_check_lib_save_LIBS 12710LIBS=$ac_check_lib_save_LIBS
10367fi 12711fi
10368echo "$as_me:10368: result: $ac_cv_lib_ncurses_tparm" >&5 12712echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
10369echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 12713echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10370if test $ac_cv_lib_ncurses_tparm = yes; then 12714if test $ac_cv_lib_ncurses_tparm = yes; then
10371 cat >>confdefs.h <<EOF 12715 cat >>confdefs.h <<_ACEOF
10372#define HAVE_LIBNCURSES 1 12716#define HAVE_LIBNCURSES 1
10373EOF 12717_ACEOF
10374 12718
10375 LIBS="-lncurses $LIBS" 12719 LIBS="-lncurses $LIBS"
10376 12720
10377fi 12721fi
10378 12722
12723
10379# Do we need the Hesiod library to provide the support routines? 12724# Do we need the Hesiod library to provide the support routines?
10380if test "$with_hesiod" = yes ; then 12725if test "$with_hesiod" = yes ; then
10381 # Don't set $LIBS here -- see comments above. 12726 # Don't set $LIBS here -- see comments above.
10382 resolv=no 12727 resolv=no
10383 echo "$as_me:10383: checking for res_send" >&5 12728 echo "$as_me:$LINENO: checking for res_send" >&5
10384echo $ECHO_N "checking for res_send... $ECHO_C" >&6 12729echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10385if test "${ac_cv_func_res_send+set}" = set; then 12730if test "${ac_cv_func_res_send+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6 12731 echo $ECHO_N "(cached) $ECHO_C" >&6
10387else 12732else
10388 cat >conftest.$ac_ext <<_ACEOF 12733 cat >conftest.$ac_ext <<_ACEOF
10389#line 10389 "configure" 12734#line $LINENO "configure"
10390#include "confdefs.h" 12735#include "confdefs.h"
10391/* System header to define __stub macros and hopefully few prototypes, 12736/* System header to define __stub macros and hopefully few prototypes,
10392 which can conflict with char res_send (); below. */ 12737 which can conflict with char res_send (); below. */
@@ -10400,6 +12745,12 @@ extern "C"
10400char res_send (); 12745char res_send ();
10401char (*f) (); 12746char (*f) ();
10402 12747
12748#ifdef F77_DUMMY_MAIN
12749# ifdef __cplusplus
12750 extern "C"
12751# endif
12752 int F77_DUMMY_MAIN() { return 1; }
12753#endif
10403int 12754int
10404main () 12755main ()
10405{ 12756{
@@ -10417,16 +12768,16 @@ f = res_send;
10417} 12768}
10418_ACEOF 12769_ACEOF
10419rm -f conftest.$ac_objext conftest$ac_exeext 12770rm -f conftest.$ac_objext conftest$ac_exeext
10420if { (eval echo "$as_me:10420: \"$ac_link\"") >&5 12771if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421 (eval $ac_link) 2>&5 12772 (eval $ac_link) 2>&5
10422 ac_status=$? 12773 ac_status=$?
10423 echo "$as_me:10423: \$? = $ac_status" >&5 12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } && 12775 (exit $ac_status); } &&
10425 { ac_try='test -s conftest$ac_exeext' 12776 { ac_try='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:10426: \"$ac_try\"") >&5 12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5 12778 (eval $ac_try) 2>&5
10428 ac_status=$? 12779 ac_status=$?
10429 echo "$as_me:10429: \$? = $ac_status" >&5 12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then 12781 (exit $ac_status); }; }; then
10431 ac_cv_func_res_send=yes 12782 ac_cv_func_res_send=yes
10432else 12783else
@@ -10436,18 +12787,18 @@ ac_cv_func_res_send=no
10436fi 12787fi
10437rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12788rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10438fi 12789fi
10439echo "$as_me:10439: result: $ac_cv_func_res_send" >&5 12790echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
10440echo "${ECHO_T}$ac_cv_func_res_send" >&6 12791echo "${ECHO_T}$ac_cv_func_res_send" >&6
10441if test $ac_cv_func_res_send = yes; then 12792if test $ac_cv_func_res_send = yes; then
10442 : 12793 :
10443else 12794else
10444 echo "$as_me:10444: checking for __res_send" >&5 12795 echo "$as_me:$LINENO: checking for __res_send" >&5
10445echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 12796echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10446if test "${ac_cv_func___res_send+set}" = set; then 12797if test "${ac_cv_func___res_send+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6 12798 echo $ECHO_N "(cached) $ECHO_C" >&6
10448else 12799else
10449 cat >conftest.$ac_ext <<_ACEOF 12800 cat >conftest.$ac_ext <<_ACEOF
10450#line 10450 "configure" 12801#line $LINENO "configure"
10451#include "confdefs.h" 12802#include "confdefs.h"
10452/* System header to define __stub macros and hopefully few prototypes, 12803/* System header to define __stub macros and hopefully few prototypes,
10453 which can conflict with char __res_send (); below. */ 12804 which can conflict with char __res_send (); below. */
@@ -10461,6 +12812,12 @@ extern "C"
10461char __res_send (); 12812char __res_send ();
10462char (*f) (); 12813char (*f) ();
10463 12814
12815#ifdef F77_DUMMY_MAIN
12816# ifdef __cplusplus
12817 extern "C"
12818# endif
12819 int F77_DUMMY_MAIN() { return 1; }
12820#endif
10464int 12821int
10465main () 12822main ()
10466{ 12823{
@@ -10478,16 +12835,16 @@ f = __res_send;
10478} 12835}
10479_ACEOF 12836_ACEOF
10480rm -f conftest.$ac_objext conftest$ac_exeext 12837rm -f conftest.$ac_objext conftest$ac_exeext
10481if { (eval echo "$as_me:10481: \"$ac_link\"") >&5 12838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>&5 12839 (eval $ac_link) 2>&5
10483 ac_status=$? 12840 ac_status=$?
10484 echo "$as_me:10484: \$? = $ac_status" >&5 12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && 12842 (exit $ac_status); } &&
10486 { ac_try='test -s conftest$ac_exeext' 12843 { ac_try='test -s conftest$ac_exeext'
10487 { (eval echo "$as_me:10487: \"$ac_try\"") >&5 12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5 12845 (eval $ac_try) 2>&5
10489 ac_status=$? 12846 ac_status=$?
10490 echo "$as_me:10490: \$? = $ac_status" >&5 12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; }; then 12848 (exit $ac_status); }; }; then
10492 ac_cv_func___res_send=yes 12849 ac_cv_func___res_send=yes
10493else 12850else
@@ -10497,12 +12854,12 @@ ac_cv_func___res_send=no
10497fi 12854fi
10498rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12855rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10499fi 12856fi
10500echo "$as_me:10500: result: $ac_cv_func___res_send" >&5 12857echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
10501echo "${ECHO_T}$ac_cv_func___res_send" >&6 12858echo "${ECHO_T}$ac_cv_func___res_send" >&6
10502if test $ac_cv_func___res_send = yes; then 12859if test $ac_cv_func___res_send = yes; then
10503 : 12860 :
10504else 12861else
10505 echo "$as_me:10505: checking for res_send in -lresolv" >&5 12862 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
10506echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 12863echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10507if test "${ac_cv_lib_resolv_res_send+set}" = set; then 12864if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6 12865 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10510,7 +12867,7 @@ else
10510 ac_check_lib_save_LIBS=$LIBS 12867 ac_check_lib_save_LIBS=$LIBS
10511LIBS="-lresolv $LIBS" 12868LIBS="-lresolv $LIBS"
10512cat >conftest.$ac_ext <<_ACEOF 12869cat >conftest.$ac_ext <<_ACEOF
10513#line 10513 "configure" 12870#line $LINENO "configure"
10514#include "confdefs.h" 12871#include "confdefs.h"
10515 12872
10516/* Override any gcc2 internal prototype to avoid an error. */ 12873/* Override any gcc2 internal prototype to avoid an error. */
@@ -10520,6 +12877,12 @@ extern "C"
10520/* We use char because int might match the return type of a gcc2 12877/* We use char because int might match the return type of a gcc2
10521 builtin and then its argument prototype would still apply. */ 12878 builtin and then its argument prototype would still apply. */
10522char res_send (); 12879char res_send ();
12880#ifdef F77_DUMMY_MAIN
12881# ifdef __cplusplus
12882 extern "C"
12883# endif
12884 int F77_DUMMY_MAIN() { return 1; }
12885#endif
10523int 12886int
10524main () 12887main ()
10525{ 12888{
@@ -10529,16 +12892,16 @@ res_send ();
10529} 12892}
10530_ACEOF 12893_ACEOF
10531rm -f conftest.$ac_objext conftest$ac_exeext 12894rm -f conftest.$ac_objext conftest$ac_exeext
10532if { (eval echo "$as_me:10532: \"$ac_link\"") >&5 12895if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10533 (eval $ac_link) 2>&5 12896 (eval $ac_link) 2>&5
10534 ac_status=$? 12897 ac_status=$?
10535 echo "$as_me:10535: \$? = $ac_status" >&5 12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && 12899 (exit $ac_status); } &&
10537 { ac_try='test -s conftest$ac_exeext' 12900 { ac_try='test -s conftest$ac_exeext'
10538 { (eval echo "$as_me:10538: \"$ac_try\"") >&5 12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5 12902 (eval $ac_try) 2>&5
10540 ac_status=$? 12903 ac_status=$?
10541 echo "$as_me:10541: \$? = $ac_status" >&5 12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then 12905 (exit $ac_status); }; }; then
10543 ac_cv_lib_resolv_res_send=yes 12906 ac_cv_lib_resolv_res_send=yes
10544else 12907else
@@ -10549,12 +12912,12 @@ fi
10549rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12912rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10550LIBS=$ac_check_lib_save_LIBS 12913LIBS=$ac_check_lib_save_LIBS
10551fi 12914fi
10552echo "$as_me:10552: result: $ac_cv_lib_resolv_res_send" >&5 12915echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
10553echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 12916echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10554if test $ac_cv_lib_resolv_res_send = yes; then 12917if test $ac_cv_lib_resolv_res_send = yes; then
10555 resolv=yes 12918 resolv=yes
10556else 12919else
10557 echo "$as_me:10557: checking for __res_send in -lresolv" >&5 12920 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
10558echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 12921echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10559if test "${ac_cv_lib_resolv___res_send+set}" = set; then 12922if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6 12923 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10562,7 +12925,7 @@ else
10562 ac_check_lib_save_LIBS=$LIBS 12925 ac_check_lib_save_LIBS=$LIBS
10563LIBS="-lresolv $LIBS" 12926LIBS="-lresolv $LIBS"
10564cat >conftest.$ac_ext <<_ACEOF 12927cat >conftest.$ac_ext <<_ACEOF
10565#line 10565 "configure" 12928#line $LINENO "configure"
10566#include "confdefs.h" 12929#include "confdefs.h"
10567 12930
10568/* Override any gcc2 internal prototype to avoid an error. */ 12931/* Override any gcc2 internal prototype to avoid an error. */
@@ -10572,6 +12935,12 @@ extern "C"
10572/* We use char because int might match the return type of a gcc2 12935/* We use char because int might match the return type of a gcc2
10573 builtin and then its argument prototype would still apply. */ 12936 builtin and then its argument prototype would still apply. */
10574char __res_send (); 12937char __res_send ();
12938#ifdef F77_DUMMY_MAIN
12939# ifdef __cplusplus
12940 extern "C"
12941# endif
12942 int F77_DUMMY_MAIN() { return 1; }
12943#endif
10575int 12944int
10576main () 12945main ()
10577{ 12946{
@@ -10581,16 +12950,16 @@ __res_send ();
10581} 12950}
10582_ACEOF 12951_ACEOF
10583rm -f conftest.$ac_objext conftest$ac_exeext 12952rm -f conftest.$ac_objext conftest$ac_exeext
10584if { (eval echo "$as_me:10584: \"$ac_link\"") >&5 12953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10585 (eval $ac_link) 2>&5 12954 (eval $ac_link) 2>&5
10586 ac_status=$? 12955 ac_status=$?
10587 echo "$as_me:10587: \$? = $ac_status" >&5 12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); } && 12957 (exit $ac_status); } &&
10589 { ac_try='test -s conftest$ac_exeext' 12958 { ac_try='test -s conftest$ac_exeext'
10590 { (eval echo "$as_me:10590: \"$ac_try\"") >&5 12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591 (eval $ac_try) 2>&5 12960 (eval $ac_try) 2>&5
10592 ac_status=$? 12961 ac_status=$?
10593 echo "$as_me:10593: \$? = $ac_status" >&5 12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }; }; then 12963 (exit $ac_status); }; }; then
10595 ac_cv_lib_resolv___res_send=yes 12964 ac_cv_lib_resolv___res_send=yes
10596else 12965else
@@ -10601,7 +12970,7 @@ fi
10601rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12970rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10602LIBS=$ac_check_lib_save_LIBS 12971LIBS=$ac_check_lib_save_LIBS
10603fi 12972fi
10604echo "$as_me:10604: result: $ac_cv_lib_resolv___res_send" >&5 12973echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
10605echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 12974echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10606if test $ac_cv_lib_resolv___res_send = yes; then 12975if test $ac_cv_lib_resolv___res_send = yes; then
10607 resolv=yes 12976 resolv=yes
@@ -10616,20 +12985,20 @@ fi
10616 if test "$resolv" = yes ; then 12985 if test "$resolv" = yes ; then
10617 RESOLVLIB=-lresolv 12986 RESOLVLIB=-lresolv
10618 12987
10619cat >>confdefs.h <<\EOF 12988cat >>confdefs.h <<\_ACEOF
10620#define HAVE_LIBRESOLV 1 12989#define HAVE_LIBRESOLV 1
10621EOF 12990_ACEOF
10622 12991
10623 else 12992 else
10624 RESOLVLIB= 12993 RESOLVLIB=
10625 fi 12994 fi
10626 echo "$as_me:10626: checking for hes_getmailhost" >&5 12995 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
10627echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 12996echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10628if test "${ac_cv_func_hes_getmailhost+set}" = set; then 12997if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6 12998 echo $ECHO_N "(cached) $ECHO_C" >&6
10630else 12999else
10631 cat >conftest.$ac_ext <<_ACEOF 13000 cat >conftest.$ac_ext <<_ACEOF
10632#line 10632 "configure" 13001#line $LINENO "configure"
10633#include "confdefs.h" 13002#include "confdefs.h"
10634/* System header to define __stub macros and hopefully few prototypes, 13003/* System header to define __stub macros and hopefully few prototypes,
10635 which can conflict with char hes_getmailhost (); below. */ 13004 which can conflict with char hes_getmailhost (); below. */
@@ -10643,6 +13012,12 @@ extern "C"
10643char hes_getmailhost (); 13012char hes_getmailhost ();
10644char (*f) (); 13013char (*f) ();
10645 13014
13015#ifdef F77_DUMMY_MAIN
13016# ifdef __cplusplus
13017 extern "C"
13018# endif
13019 int F77_DUMMY_MAIN() { return 1; }
13020#endif
10646int 13021int
10647main () 13022main ()
10648{ 13023{
@@ -10660,16 +13035,16 @@ f = hes_getmailhost;
10660} 13035}
10661_ACEOF 13036_ACEOF
10662rm -f conftest.$ac_objext conftest$ac_exeext 13037rm -f conftest.$ac_objext conftest$ac_exeext
10663if { (eval echo "$as_me:10663: \"$ac_link\"") >&5 13038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10664 (eval $ac_link) 2>&5 13039 (eval $ac_link) 2>&5
10665 ac_status=$? 13040 ac_status=$?
10666 echo "$as_me:10666: \$? = $ac_status" >&5 13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } && 13042 (exit $ac_status); } &&
10668 { ac_try='test -s conftest$ac_exeext' 13043 { ac_try='test -s conftest$ac_exeext'
10669 { (eval echo "$as_me:10669: \"$ac_try\"") >&5 13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5 13045 (eval $ac_try) 2>&5
10671 ac_status=$? 13046 ac_status=$?
10672 echo "$as_me:10672: \$? = $ac_status" >&5 13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; }; then 13048 (exit $ac_status); }; }; then
10674 ac_cv_func_hes_getmailhost=yes 13049 ac_cv_func_hes_getmailhost=yes
10675else 13050else
@@ -10679,12 +13054,12 @@ ac_cv_func_hes_getmailhost=no
10679fi 13054fi
10680rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13055rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10681fi 13056fi
10682echo "$as_me:10682: result: $ac_cv_func_hes_getmailhost" >&5 13057echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
10683echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 13058echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10684if test $ac_cv_func_hes_getmailhost = yes; then 13059if test $ac_cv_func_hes_getmailhost = yes; then
10685 : 13060 :
10686else 13061else
10687 echo "$as_me:10687: checking for hes_getmailhost in -lhesiod" >&5 13062 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
10688echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 13063echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10689if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 13064if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10690 echo $ECHO_N "(cached) $ECHO_C" >&6 13065 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10692,7 +13067,7 @@ else
10692 ac_check_lib_save_LIBS=$LIBS 13067 ac_check_lib_save_LIBS=$LIBS
10693LIBS="-lhesiod $RESOLVLIB $LIBS" 13068LIBS="-lhesiod $RESOLVLIB $LIBS"
10694cat >conftest.$ac_ext <<_ACEOF 13069cat >conftest.$ac_ext <<_ACEOF
10695#line 10695 "configure" 13070#line $LINENO "configure"
10696#include "confdefs.h" 13071#include "confdefs.h"
10697 13072
10698/* Override any gcc2 internal prototype to avoid an error. */ 13073/* Override any gcc2 internal prototype to avoid an error. */
@@ -10702,6 +13077,12 @@ extern "C"
10702/* We use char because int might match the return type of a gcc2 13077/* We use char because int might match the return type of a gcc2
10703 builtin and then its argument prototype would still apply. */ 13078 builtin and then its argument prototype would still apply. */
10704char hes_getmailhost (); 13079char hes_getmailhost ();
13080#ifdef F77_DUMMY_MAIN
13081# ifdef __cplusplus
13082 extern "C"
13083# endif
13084 int F77_DUMMY_MAIN() { return 1; }
13085#endif
10705int 13086int
10706main () 13087main ()
10707{ 13088{
@@ -10711,16 +13092,16 @@ hes_getmailhost ();
10711} 13092}
10712_ACEOF 13093_ACEOF
10713rm -f conftest.$ac_objext conftest$ac_exeext 13094rm -f conftest.$ac_objext conftest$ac_exeext
10714if { (eval echo "$as_me:10714: \"$ac_link\"") >&5 13095if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10715 (eval $ac_link) 2>&5 13096 (eval $ac_link) 2>&5
10716 ac_status=$? 13097 ac_status=$?
10717 echo "$as_me:10717: \$? = $ac_status" >&5 13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } && 13099 (exit $ac_status); } &&
10719 { ac_try='test -s conftest$ac_exeext' 13100 { ac_try='test -s conftest$ac_exeext'
10720 { (eval echo "$as_me:10720: \"$ac_try\"") >&5 13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5 13102 (eval $ac_try) 2>&5
10722 ac_status=$? 13103 ac_status=$?
10723 echo "$as_me:10723: \$? = $ac_status" >&5 13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then 13105 (exit $ac_status); }; }; then
10725 ac_cv_lib_hesiod_hes_getmailhost=yes 13106 ac_cv_lib_hesiod_hes_getmailhost=yes
10726else 13107else
@@ -10731,13 +13112,13 @@ fi
10731rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13112rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10732LIBS=$ac_check_lib_save_LIBS 13113LIBS=$ac_check_lib_save_LIBS
10733fi 13114fi
10734echo "$as_me:10734: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 13115echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10735echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 13116echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10736if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 13117if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10737 13118
10738cat >>confdefs.h <<\EOF 13119cat >>confdefs.h <<\_ACEOF
10739#define HAVE_LIBHESIOD 1 13120#define HAVE_LIBHESIOD 1
10740EOF 13121_ACEOF
10741 13122
10742else 13123else
10743 : 13124 :
@@ -10750,7 +13131,7 @@ fi
10750# These tell us which Kerberos-related libraries to use. 13131# These tell us which Kerberos-related libraries to use.
10751if test "${with_kerberos+set}" = set; then 13132if test "${with_kerberos+set}" = set; then
10752 13133
10753echo "$as_me:10753: checking for com_err in -lcom_err" >&5 13134echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
10754echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 13135echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10755if test "${ac_cv_lib_com_err_com_err+set}" = set; then 13136if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10756 echo $ECHO_N "(cached) $ECHO_C" >&6 13137 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10758,7 +13139,7 @@ else
10758 ac_check_lib_save_LIBS=$LIBS 13139 ac_check_lib_save_LIBS=$LIBS
10759LIBS="-lcom_err $LIBS" 13140LIBS="-lcom_err $LIBS"
10760cat >conftest.$ac_ext <<_ACEOF 13141cat >conftest.$ac_ext <<_ACEOF
10761#line 10761 "configure" 13142#line $LINENO "configure"
10762#include "confdefs.h" 13143#include "confdefs.h"
10763 13144
10764/* Override any gcc2 internal prototype to avoid an error. */ 13145/* Override any gcc2 internal prototype to avoid an error. */
@@ -10768,6 +13149,12 @@ extern "C"
10768/* We use char because int might match the return type of a gcc2 13149/* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */ 13150 builtin and then its argument prototype would still apply. */
10770char com_err (); 13151char com_err ();
13152#ifdef F77_DUMMY_MAIN
13153# ifdef __cplusplus
13154 extern "C"
13155# endif
13156 int F77_DUMMY_MAIN() { return 1; }
13157#endif
10771int 13158int
10772main () 13159main ()
10773{ 13160{
@@ -10777,16 +13164,16 @@ com_err ();
10777} 13164}
10778_ACEOF 13165_ACEOF
10779rm -f conftest.$ac_objext conftest$ac_exeext 13166rm -f conftest.$ac_objext conftest$ac_exeext
10780if { (eval echo "$as_me:10780: \"$ac_link\"") >&5 13167if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10781 (eval $ac_link) 2>&5 13168 (eval $ac_link) 2>&5
10782 ac_status=$? 13169 ac_status=$?
10783 echo "$as_me:10783: \$? = $ac_status" >&5 13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } && 13171 (exit $ac_status); } &&
10785 { ac_try='test -s conftest$ac_exeext' 13172 { ac_try='test -s conftest$ac_exeext'
10786 { (eval echo "$as_me:10786: \"$ac_try\"") >&5 13173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5 13174 (eval $ac_try) 2>&5
10788 ac_status=$? 13175 ac_status=$?
10789 echo "$as_me:10789: \$? = $ac_status" >&5 13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then 13177 (exit $ac_status); }; }; then
10791 ac_cv_lib_com_err_com_err=yes 13178 ac_cv_lib_com_err_com_err=yes
10792else 13179else
@@ -10797,18 +13184,19 @@ fi
10797rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13184rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10798LIBS=$ac_check_lib_save_LIBS 13185LIBS=$ac_check_lib_save_LIBS
10799fi 13186fi
10800echo "$as_me:10800: result: $ac_cv_lib_com_err_com_err" >&5 13187echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
10801echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 13188echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10802if test $ac_cv_lib_com_err_com_err = yes; then 13189if test $ac_cv_lib_com_err_com_err = yes; then
10803 cat >>confdefs.h <<EOF 13190 cat >>confdefs.h <<_ACEOF
10804#define HAVE_LIBCOM_ERR 1 13191#define HAVE_LIBCOM_ERR 1
10805EOF 13192_ACEOF
10806 13193
10807 LIBS="-lcom_err $LIBS" 13194 LIBS="-lcom_err $LIBS"
10808 13195
10809fi 13196fi
10810 13197
10811echo "$as_me:10811: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 13198
13199echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10812echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 13200echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10813if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 13201if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6 13202 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10816,7 +13204,7 @@ else
10816 ac_check_lib_save_LIBS=$LIBS 13204 ac_check_lib_save_LIBS=$LIBS
10817LIBS="-lk5crypto $LIBS" 13205LIBS="-lk5crypto $LIBS"
10818cat >conftest.$ac_ext <<_ACEOF 13206cat >conftest.$ac_ext <<_ACEOF
10819#line 10819 "configure" 13207#line $LINENO "configure"
10820#include "confdefs.h" 13208#include "confdefs.h"
10821 13209
10822/* Override any gcc2 internal prototype to avoid an error. */ 13210/* Override any gcc2 internal prototype to avoid an error. */
@@ -10826,6 +13214,12 @@ extern "C"
10826/* We use char because int might match the return type of a gcc2 13214/* We use char because int might match the return type of a gcc2
10827 builtin and then its argument prototype would still apply. */ 13215 builtin and then its argument prototype would still apply. */
10828char mit_des_cbc_encrypt (); 13216char mit_des_cbc_encrypt ();
13217#ifdef F77_DUMMY_MAIN
13218# ifdef __cplusplus
13219 extern "C"
13220# endif
13221 int F77_DUMMY_MAIN() { return 1; }
13222#endif
10829int 13223int
10830main () 13224main ()
10831{ 13225{
@@ -10835,16 +13229,16 @@ mit_des_cbc_encrypt ();
10835} 13229}
10836_ACEOF 13230_ACEOF
10837rm -f conftest.$ac_objext conftest$ac_exeext 13231rm -f conftest.$ac_objext conftest$ac_exeext
10838if { (eval echo "$as_me:10838: \"$ac_link\"") >&5 13232if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10839 (eval $ac_link) 2>&5 13233 (eval $ac_link) 2>&5
10840 ac_status=$? 13234 ac_status=$?
10841 echo "$as_me:10841: \$? = $ac_status" >&5 13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } && 13236 (exit $ac_status); } &&
10843 { ac_try='test -s conftest$ac_exeext' 13237 { ac_try='test -s conftest$ac_exeext'
10844 { (eval echo "$as_me:10844: \"$ac_try\"") >&5 13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5 13239 (eval $ac_try) 2>&5
10846 ac_status=$? 13240 ac_status=$?
10847 echo "$as_me:10847: \$? = $ac_status" >&5 13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then 13242 (exit $ac_status); }; }; then
10849 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 13243 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10850else 13244else
@@ -10855,18 +13249,19 @@ fi
10855rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13249rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10856LIBS=$ac_check_lib_save_LIBS 13250LIBS=$ac_check_lib_save_LIBS
10857fi 13251fi
10858echo "$as_me:10858: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 13252echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10859echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 13253echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10860if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 13254if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10861 cat >>confdefs.h <<EOF 13255 cat >>confdefs.h <<_ACEOF
10862#define HAVE_LIBK5CRYPTO 1 13256#define HAVE_LIBK5CRYPTO 1
10863EOF 13257_ACEOF
10864 13258
10865 LIBS="-lk5crypto $LIBS" 13259 LIBS="-lk5crypto $LIBS"
10866 13260
10867fi 13261fi
10868 13262
10869echo "$as_me:10869: checking for mit_des_cbc_encrypt in -lcrypto" >&5 13263
13264echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10870echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 13265echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10871if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 13266if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6 13267 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10874,7 +13269,7 @@ else
10874 ac_check_lib_save_LIBS=$LIBS 13269 ac_check_lib_save_LIBS=$LIBS
10875LIBS="-lcrypto $LIBS" 13270LIBS="-lcrypto $LIBS"
10876cat >conftest.$ac_ext <<_ACEOF 13271cat >conftest.$ac_ext <<_ACEOF
10877#line 10877 "configure" 13272#line $LINENO "configure"
10878#include "confdefs.h" 13273#include "confdefs.h"
10879 13274
10880/* Override any gcc2 internal prototype to avoid an error. */ 13275/* Override any gcc2 internal prototype to avoid an error. */
@@ -10884,6 +13279,12 @@ extern "C"
10884/* We use char because int might match the return type of a gcc2 13279/* We use char because int might match the return type of a gcc2
10885 builtin and then its argument prototype would still apply. */ 13280 builtin and then its argument prototype would still apply. */
10886char mit_des_cbc_encrypt (); 13281char mit_des_cbc_encrypt ();
13282#ifdef F77_DUMMY_MAIN
13283# ifdef __cplusplus
13284 extern "C"
13285# endif
13286 int F77_DUMMY_MAIN() { return 1; }
13287#endif
10887int 13288int
10888main () 13289main ()
10889{ 13290{
@@ -10893,16 +13294,16 @@ mit_des_cbc_encrypt ();
10893} 13294}
10894_ACEOF 13295_ACEOF
10895rm -f conftest.$ac_objext conftest$ac_exeext 13296rm -f conftest.$ac_objext conftest$ac_exeext
10896if { (eval echo "$as_me:10896: \"$ac_link\"") >&5 13297if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10897 (eval $ac_link) 2>&5 13298 (eval $ac_link) 2>&5
10898 ac_status=$? 13299 ac_status=$?
10899 echo "$as_me:10899: \$? = $ac_status" >&5 13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); } && 13301 (exit $ac_status); } &&
10901 { ac_try='test -s conftest$ac_exeext' 13302 { ac_try='test -s conftest$ac_exeext'
10902 { (eval echo "$as_me:10902: \"$ac_try\"") >&5 13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5 13304 (eval $ac_try) 2>&5
10904 ac_status=$? 13305 ac_status=$?
10905 echo "$as_me:10905: \$? = $ac_status" >&5 13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then 13307 (exit $ac_status); }; }; then
10907 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 13308 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10908else 13309else
@@ -10913,18 +13314,19 @@ fi
10913rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13314rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10914LIBS=$ac_check_lib_save_LIBS 13315LIBS=$ac_check_lib_save_LIBS
10915fi 13316fi
10916echo "$as_me:10916: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 13317echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10917echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 13318echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10918if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 13319if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10919 cat >>confdefs.h <<EOF 13320 cat >>confdefs.h <<_ACEOF
10920#define HAVE_LIBCRYPTO 1 13321#define HAVE_LIBCRYPTO 1
10921EOF 13322_ACEOF
10922 13323
10923 LIBS="-lcrypto $LIBS" 13324 LIBS="-lcrypto $LIBS"
10924 13325
10925fi 13326fi
10926 13327
10927echo "$as_me:10927: checking for krb5_init_context in -lkrb5" >&5 13328
13329echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
10928echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 13330echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10929if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 13331if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6 13332 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10932,7 +13334,7 @@ else
10932 ac_check_lib_save_LIBS=$LIBS 13334 ac_check_lib_save_LIBS=$LIBS
10933LIBS="-lkrb5 $LIBS" 13335LIBS="-lkrb5 $LIBS"
10934cat >conftest.$ac_ext <<_ACEOF 13336cat >conftest.$ac_ext <<_ACEOF
10935#line 10935 "configure" 13337#line $LINENO "configure"
10936#include "confdefs.h" 13338#include "confdefs.h"
10937 13339
10938/* Override any gcc2 internal prototype to avoid an error. */ 13340/* Override any gcc2 internal prototype to avoid an error. */
@@ -10942,6 +13344,12 @@ extern "C"
10942/* We use char because int might match the return type of a gcc2 13344/* We use char because int might match the return type of a gcc2
10943 builtin and then its argument prototype would still apply. */ 13345 builtin and then its argument prototype would still apply. */
10944char krb5_init_context (); 13346char krb5_init_context ();
13347#ifdef F77_DUMMY_MAIN
13348# ifdef __cplusplus
13349 extern "C"
13350# endif
13351 int F77_DUMMY_MAIN() { return 1; }
13352#endif
10945int 13353int
10946main () 13354main ()
10947{ 13355{
@@ -10951,16 +13359,16 @@ krb5_init_context ();
10951} 13359}
10952_ACEOF 13360_ACEOF
10953rm -f conftest.$ac_objext conftest$ac_exeext 13361rm -f conftest.$ac_objext conftest$ac_exeext
10954if { (eval echo "$as_me:10954: \"$ac_link\"") >&5 13362if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10955 (eval $ac_link) 2>&5 13363 (eval $ac_link) 2>&5
10956 ac_status=$? 13364 ac_status=$?
10957 echo "$as_me:10957: \$? = $ac_status" >&5 13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); } && 13366 (exit $ac_status); } &&
10959 { ac_try='test -s conftest$ac_exeext' 13367 { ac_try='test -s conftest$ac_exeext'
10960 { (eval echo "$as_me:10960: \"$ac_try\"") >&5 13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5 13369 (eval $ac_try) 2>&5
10962 ac_status=$? 13370 ac_status=$?
10963 echo "$as_me:10963: \$? = $ac_status" >&5 13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then 13372 (exit $ac_status); }; }; then
10965 ac_cv_lib_krb5_krb5_init_context=yes 13373 ac_cv_lib_krb5_krb5_init_context=yes
10966else 13374else
@@ -10971,12 +13379,12 @@ fi
10971rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13379rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10972LIBS=$ac_check_lib_save_LIBS 13380LIBS=$ac_check_lib_save_LIBS
10973fi 13381fi
10974echo "$as_me:10974: result: $ac_cv_lib_krb5_krb5_init_context" >&5 13382echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10975echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 13383echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10976if test $ac_cv_lib_krb5_krb5_init_context = yes; then 13384if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10977 cat >>confdefs.h <<EOF 13385 cat >>confdefs.h <<_ACEOF
10978#define HAVE_LIBKRB5 1 13386#define HAVE_LIBKRB5 1
10979EOF 13387_ACEOF
10980 13388
10981 LIBS="-lkrb5 $LIBS" 13389 LIBS="-lkrb5 $LIBS"
10982 13390
@@ -10984,7 +13392,7 @@ fi
10984 13392
10985 if test "${with_kerberos5+set}" != set; then 13393 if test "${with_kerberos5+set}" != set; then
10986 13394
10987echo "$as_me:10987: checking for des_cbc_encrypt in -ldes425" >&5 13395echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
10988echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 13396echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10989if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 13397if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10990 echo $ECHO_N "(cached) $ECHO_C" >&6 13398 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10992,7 +13400,7 @@ else
10992 ac_check_lib_save_LIBS=$LIBS 13400 ac_check_lib_save_LIBS=$LIBS
10993LIBS="-ldes425 $LIBS" 13401LIBS="-ldes425 $LIBS"
10994cat >conftest.$ac_ext <<_ACEOF 13402cat >conftest.$ac_ext <<_ACEOF
10995#line 10995 "configure" 13403#line $LINENO "configure"
10996#include "confdefs.h" 13404#include "confdefs.h"
10997 13405
10998/* Override any gcc2 internal prototype to avoid an error. */ 13406/* Override any gcc2 internal prototype to avoid an error. */
@@ -11002,6 +13410,12 @@ extern "C"
11002/* We use char because int might match the return type of a gcc2 13410/* We use char because int might match the return type of a gcc2
11003 builtin and then its argument prototype would still apply. */ 13411 builtin and then its argument prototype would still apply. */
11004char des_cbc_encrypt (); 13412char des_cbc_encrypt ();
13413#ifdef F77_DUMMY_MAIN
13414# ifdef __cplusplus
13415 extern "C"
13416# endif
13417 int F77_DUMMY_MAIN() { return 1; }
13418#endif
11005int 13419int
11006main () 13420main ()
11007{ 13421{
@@ -11011,16 +13425,16 @@ des_cbc_encrypt ();
11011} 13425}
11012_ACEOF 13426_ACEOF
11013rm -f conftest.$ac_objext conftest$ac_exeext 13427rm -f conftest.$ac_objext conftest$ac_exeext
11014if { (eval echo "$as_me:11014: \"$ac_link\"") >&5 13428if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11015 (eval $ac_link) 2>&5 13429 (eval $ac_link) 2>&5
11016 ac_status=$? 13430 ac_status=$?
11017 echo "$as_me:11017: \$? = $ac_status" >&5 13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } && 13432 (exit $ac_status); } &&
11019 { ac_try='test -s conftest$ac_exeext' 13433 { ac_try='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:11020: \"$ac_try\"") >&5 13434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5 13435 (eval $ac_try) 2>&5
11022 ac_status=$? 13436 ac_status=$?
11023 echo "$as_me:11023: \$? = $ac_status" >&5 13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then 13438 (exit $ac_status); }; }; then
11025 ac_cv_lib_des425_des_cbc_encrypt=yes 13439 ac_cv_lib_des425_des_cbc_encrypt=yes
11026else 13440else
@@ -11031,18 +13445,18 @@ fi
11031rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13445rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11032LIBS=$ac_check_lib_save_LIBS 13446LIBS=$ac_check_lib_save_LIBS
11033fi 13447fi
11034echo "$as_me:11034: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 13448echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
11035echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 13449echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
11036if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 13450if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
11037 cat >>confdefs.h <<EOF 13451 cat >>confdefs.h <<_ACEOF
11038#define HAVE_LIBDES425 1 13452#define HAVE_LIBDES425 1
11039EOF 13453_ACEOF
11040 13454
11041 LIBS="-ldes425 $LIBS" 13455 LIBS="-ldes425 $LIBS"
11042 13456
11043else 13457else
11044 13458
11045echo "$as_me:11045: checking for des_cbc_encrypt in -ldes" >&5 13459echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
11046echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 13460echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
11047if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 13461if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6 13462 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11050,7 +13464,7 @@ else
11050 ac_check_lib_save_LIBS=$LIBS 13464 ac_check_lib_save_LIBS=$LIBS
11051LIBS="-ldes $LIBS" 13465LIBS="-ldes $LIBS"
11052cat >conftest.$ac_ext <<_ACEOF 13466cat >conftest.$ac_ext <<_ACEOF
11053#line 11053 "configure" 13467#line $LINENO "configure"
11054#include "confdefs.h" 13468#include "confdefs.h"
11055 13469
11056/* Override any gcc2 internal prototype to avoid an error. */ 13470/* Override any gcc2 internal prototype to avoid an error. */
@@ -11060,6 +13474,12 @@ extern "C"
11060/* We use char because int might match the return type of a gcc2 13474/* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */ 13475 builtin and then its argument prototype would still apply. */
11062char des_cbc_encrypt (); 13476char des_cbc_encrypt ();
13477#ifdef F77_DUMMY_MAIN
13478# ifdef __cplusplus
13479 extern "C"
13480# endif
13481 int F77_DUMMY_MAIN() { return 1; }
13482#endif
11063int 13483int
11064main () 13484main ()
11065{ 13485{
@@ -11069,16 +13489,16 @@ des_cbc_encrypt ();
11069} 13489}
11070_ACEOF 13490_ACEOF
11071rm -f conftest.$ac_objext conftest$ac_exeext 13491rm -f conftest.$ac_objext conftest$ac_exeext
11072if { (eval echo "$as_me:11072: \"$ac_link\"") >&5 13492if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11073 (eval $ac_link) 2>&5 13493 (eval $ac_link) 2>&5
11074 ac_status=$? 13494 ac_status=$?
11075 echo "$as_me:11075: \$? = $ac_status" >&5 13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } && 13496 (exit $ac_status); } &&
11077 { ac_try='test -s conftest$ac_exeext' 13497 { ac_try='test -s conftest$ac_exeext'
11078 { (eval echo "$as_me:11078: \"$ac_try\"") >&5 13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5 13499 (eval $ac_try) 2>&5
11080 ac_status=$? 13500 ac_status=$?
11081 echo "$as_me:11081: \$? = $ac_status" >&5 13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; }; then 13502 (exit $ac_status); }; }; then
11083 ac_cv_lib_des_des_cbc_encrypt=yes 13503 ac_cv_lib_des_des_cbc_encrypt=yes
11084else 13504else
@@ -11089,12 +13509,12 @@ fi
11089rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13509rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11090LIBS=$ac_check_lib_save_LIBS 13510LIBS=$ac_check_lib_save_LIBS
11091fi 13511fi
11092echo "$as_me:11092: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 13512echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11093echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 13513echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11094if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 13514if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11095 cat >>confdefs.h <<EOF 13515 cat >>confdefs.h <<_ACEOF
11096#define HAVE_LIBDES 1 13516#define HAVE_LIBDES 1
11097EOF 13517_ACEOF
11098 13518
11099 LIBS="-ldes $LIBS" 13519 LIBS="-ldes $LIBS"
11100 13520
@@ -11102,7 +13522,8 @@ fi
11102 13522
11103fi 13523fi
11104 13524
11105echo "$as_me:11105: checking for krb_get_cred in -lkrb4" >&5 13525
13526echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
11106echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 13527echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11107if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 13528if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6 13529 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11110,7 +13531,7 @@ else
11110 ac_check_lib_save_LIBS=$LIBS 13531 ac_check_lib_save_LIBS=$LIBS
11111LIBS="-lkrb4 $LIBS" 13532LIBS="-lkrb4 $LIBS"
11112cat >conftest.$ac_ext <<_ACEOF 13533cat >conftest.$ac_ext <<_ACEOF
11113#line 11113 "configure" 13534#line $LINENO "configure"
11114#include "confdefs.h" 13535#include "confdefs.h"
11115 13536
11116/* Override any gcc2 internal prototype to avoid an error. */ 13537/* Override any gcc2 internal prototype to avoid an error. */
@@ -11120,6 +13541,12 @@ extern "C"
11120/* We use char because int might match the return type of a gcc2 13541/* We use char because int might match the return type of a gcc2
11121 builtin and then its argument prototype would still apply. */ 13542 builtin and then its argument prototype would still apply. */
11122char krb_get_cred (); 13543char krb_get_cred ();
13544#ifdef F77_DUMMY_MAIN
13545# ifdef __cplusplus
13546 extern "C"
13547# endif
13548 int F77_DUMMY_MAIN() { return 1; }
13549#endif
11123int 13550int
11124main () 13551main ()
11125{ 13552{
@@ -11129,16 +13556,16 @@ krb_get_cred ();
11129} 13556}
11130_ACEOF 13557_ACEOF
11131rm -f conftest.$ac_objext conftest$ac_exeext 13558rm -f conftest.$ac_objext conftest$ac_exeext
11132if { (eval echo "$as_me:11132: \"$ac_link\"") >&5 13559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11133 (eval $ac_link) 2>&5 13560 (eval $ac_link) 2>&5
11134 ac_status=$? 13561 ac_status=$?
11135 echo "$as_me:11135: \$? = $ac_status" >&5 13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && 13563 (exit $ac_status); } &&
11137 { ac_try='test -s conftest$ac_exeext' 13564 { ac_try='test -s conftest$ac_exeext'
11138 { (eval echo "$as_me:11138: \"$ac_try\"") >&5 13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139 (eval $ac_try) 2>&5 13566 (eval $ac_try) 2>&5
11140 ac_status=$? 13567 ac_status=$?
11141 echo "$as_me:11141: \$? = $ac_status" >&5 13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); }; }; then 13569 (exit $ac_status); }; }; then
11143 ac_cv_lib_krb4_krb_get_cred=yes 13570 ac_cv_lib_krb4_krb_get_cred=yes
11144else 13571else
@@ -11149,18 +13576,18 @@ fi
11149rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13576rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11150LIBS=$ac_check_lib_save_LIBS 13577LIBS=$ac_check_lib_save_LIBS
11151fi 13578fi
11152echo "$as_me:11152: result: $ac_cv_lib_krb4_krb_get_cred" >&5 13579echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11153echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 13580echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11154if test $ac_cv_lib_krb4_krb_get_cred = yes; then 13581if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11155 cat >>confdefs.h <<EOF 13582 cat >>confdefs.h <<_ACEOF
11156#define HAVE_LIBKRB4 1 13583#define HAVE_LIBKRB4 1
11157EOF 13584_ACEOF
11158 13585
11159 LIBS="-lkrb4 $LIBS" 13586 LIBS="-lkrb4 $LIBS"
11160 13587
11161else 13588else
11162 13589
11163echo "$as_me:11163: checking for krb_get_cred in -lkrb" >&5 13590echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
11164echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 13591echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11165if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 13592if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6 13593 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11168,7 +13595,7 @@ else
11168 ac_check_lib_save_LIBS=$LIBS 13595 ac_check_lib_save_LIBS=$LIBS
11169LIBS="-lkrb $LIBS" 13596LIBS="-lkrb $LIBS"
11170cat >conftest.$ac_ext <<_ACEOF 13597cat >conftest.$ac_ext <<_ACEOF
11171#line 11171 "configure" 13598#line $LINENO "configure"
11172#include "confdefs.h" 13599#include "confdefs.h"
11173 13600
11174/* Override any gcc2 internal prototype to avoid an error. */ 13601/* Override any gcc2 internal prototype to avoid an error. */
@@ -11178,6 +13605,12 @@ extern "C"
11178/* We use char because int might match the return type of a gcc2 13605/* We use char because int might match the return type of a gcc2
11179 builtin and then its argument prototype would still apply. */ 13606 builtin and then its argument prototype would still apply. */
11180char krb_get_cred (); 13607char krb_get_cred ();
13608#ifdef F77_DUMMY_MAIN
13609# ifdef __cplusplus
13610 extern "C"
13611# endif
13612 int F77_DUMMY_MAIN() { return 1; }
13613#endif
11181int 13614int
11182main () 13615main ()
11183{ 13616{
@@ -11187,16 +13620,16 @@ krb_get_cred ();
11187} 13620}
11188_ACEOF 13621_ACEOF
11189rm -f conftest.$ac_objext conftest$ac_exeext 13622rm -f conftest.$ac_objext conftest$ac_exeext
11190if { (eval echo "$as_me:11190: \"$ac_link\"") >&5 13623if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11191 (eval $ac_link) 2>&5 13624 (eval $ac_link) 2>&5
11192 ac_status=$? 13625 ac_status=$?
11193 echo "$as_me:11193: \$? = $ac_status" >&5 13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } && 13627 (exit $ac_status); } &&
11195 { ac_try='test -s conftest$ac_exeext' 13628 { ac_try='test -s conftest$ac_exeext'
11196 { (eval echo "$as_me:11196: \"$ac_try\"") >&5 13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5 13630 (eval $ac_try) 2>&5
11198 ac_status=$? 13631 ac_status=$?
11199 echo "$as_me:11199: \$? = $ac_status" >&5 13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then 13633 (exit $ac_status); }; }; then
11201 ac_cv_lib_krb_krb_get_cred=yes 13634 ac_cv_lib_krb_krb_get_cred=yes
11202else 13635else
@@ -11207,12 +13640,12 @@ fi
11207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13640rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11208LIBS=$ac_check_lib_save_LIBS 13641LIBS=$ac_check_lib_save_LIBS
11209fi 13642fi
11210echo "$as_me:11210: result: $ac_cv_lib_krb_krb_get_cred" >&5 13643echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
11211echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 13644echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11212if test $ac_cv_lib_krb_krb_get_cred = yes; then 13645if test $ac_cv_lib_krb_krb_get_cred = yes; then
11213 cat >>confdefs.h <<EOF 13646 cat >>confdefs.h <<_ACEOF
11214#define HAVE_LIBKRB 1 13647#define HAVE_LIBKRB 1
11215EOF 13648_ACEOF
11216 13649
11217 LIBS="-lkrb $LIBS" 13650 LIBS="-lkrb $LIBS"
11218 13651
@@ -11227,23 +13660,61 @@ fi
11227for ac_header in krb5.h 13660for ac_header in krb5.h
11228do 13661do
11229as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13662as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230echo "$as_me:11230: checking for $ac_header" >&5 13663if eval "test \"\${$as_ac_Header+set}\" = set"; then
13664 echo "$as_me:$LINENO: checking for $ac_header" >&5
11231echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13665echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11232if eval "test \"\${$as_ac_Header+set}\" = set"; then 13666if eval "test \"\${$as_ac_Header+set}\" = set"; then
11233 echo $ECHO_N "(cached) $ECHO_C" >&6 13667 echo $ECHO_N "(cached) $ECHO_C" >&6
13668fi
13669echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13670echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11234else 13671else
11235 cat >conftest.$ac_ext <<_ACEOF 13672 # Is the header compilable?
11236#line 11236 "configure" 13673echo "$as_me:$LINENO: checking $ac_header usability" >&5
13674echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13675cat >conftest.$ac_ext <<_ACEOF
13676#line $LINENO "configure"
11237#include "confdefs.h" 13677#include "confdefs.h"
13678$ac_includes_default
11238#include <$ac_header> 13679#include <$ac_header>
11239_ACEOF 13680_ACEOF
11240if { (eval echo "$as_me:11240: \"$ac_cpp conftest.$ac_ext\"") >&5 13681rm -f conftest.$ac_objext
13682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13683 (eval $ac_compile) 2>&5
13684 ac_status=$?
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } &&
13687 { ac_try='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13690 ac_status=$?
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_header_compiler=yes
13694else
13695 echo "$as_me: failed program was:" >&5
13696cat conftest.$ac_ext >&5
13697ac_header_compiler=no
13698fi
13699rm -f conftest.$ac_objext conftest.$ac_ext
13700echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13701echo "${ECHO_T}$ac_header_compiler" >&6
13702
13703# Is the header present?
13704echo "$as_me:$LINENO: checking $ac_header presence" >&5
13705echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13706cat >conftest.$ac_ext <<_ACEOF
13707#line $LINENO "configure"
13708#include "confdefs.h"
13709#include <$ac_header>
13710_ACEOF
13711if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11242 ac_status=$? 13713 ac_status=$?
11243 egrep -v '^ *\+' conftest.er1 >conftest.err 13714 egrep -v '^ *\+' conftest.er1 >conftest.err
11244 rm -f conftest.er1 13715 rm -f conftest.er1
11245 cat conftest.err >&5 13716 cat conftest.err >&5
11246 echo "$as_me:11246: \$? = $ac_status" >&5 13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } >/dev/null; then 13718 (exit $ac_status); } >/dev/null; then
11248 if test -s conftest.err; then 13719 if test -s conftest.err; then
11249 ac_cpp_err=$ac_c_preproc_warn_flag 13720 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11254,22 +13725,49 @@ else
11254 ac_cpp_err=yes 13725 ac_cpp_err=yes
11255fi 13726fi
11256if test -z "$ac_cpp_err"; then 13727if test -z "$ac_cpp_err"; then
11257 eval "$as_ac_Header=yes" 13728 ac_header_preproc=yes
11258else 13729else
11259 echo "$as_me: failed program was:" >&5 13730 echo "$as_me: failed program was:" >&5
11260 cat conftest.$ac_ext >&5 13731 cat conftest.$ac_ext >&5
11261 eval "$as_ac_Header=no" 13732 ac_header_preproc=no
11262fi 13733fi
11263rm -f conftest.err conftest.$ac_ext 13734rm -f conftest.err conftest.$ac_ext
13735echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13736echo "${ECHO_T}$ac_header_preproc" >&6
13737
13738# So? What about this header?
13739case $ac_header_compiler:$ac_header_preproc in
13740 yes:no )
13741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13742echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13744echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13745 no:yes )
13746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13747echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13749echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13751echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13752esac
13753echo "$as_me:$LINENO: checking for $ac_header" >&5
13754echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13755if eval "test \"\${$as_ac_Header+set}\" = set"; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13757else
13758 eval "$as_ac_Header=$ac_header_preproc"
11264fi 13759fi
11265echo "$as_me:11265: result: `eval echo '${'$as_ac_Header'}'`" >&5 13760echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11266echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13761echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13762
13763fi
11267if test `eval echo '${'$as_ac_Header'}'` = yes; then 13764if test `eval echo '${'$as_ac_Header'}'` = yes; then
11268 cat >>confdefs.h <<EOF 13765 cat >>confdefs.h <<_ACEOF
11269#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13766#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11270EOF 13767_ACEOF
11271 13768
11272fi 13769fi
13770
11273done 13771done
11274 13772
11275 else 13773 else
@@ -11277,23 +13775,61 @@ done
11277for ac_header in des.h 13775for ac_header in des.h
11278do 13776do
11279as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13777as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11280echo "$as_me:11280: checking for $ac_header" >&5 13778if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo "$as_me:$LINENO: checking for $ac_header" >&5
11281echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13780echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11282if eval "test \"\${$as_ac_Header+set}\" = set"; then 13781if eval "test \"\${$as_ac_Header+set}\" = set"; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6 13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13783fi
13784echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13785echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11284else 13786else
11285 cat >conftest.$ac_ext <<_ACEOF 13787 # Is the header compilable?
11286#line 11286 "configure" 13788echo "$as_me:$LINENO: checking $ac_header usability" >&5
13789echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13790cat >conftest.$ac_ext <<_ACEOF
13791#line $LINENO "configure"
11287#include "confdefs.h" 13792#include "confdefs.h"
13793$ac_includes_default
11288#include <$ac_header> 13794#include <$ac_header>
11289_ACEOF 13795_ACEOF
11290if { (eval echo "$as_me:11290: \"$ac_cpp conftest.$ac_ext\"") >&5 13796rm -f conftest.$ac_objext
13797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>&5
13799 ac_status=$?
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } &&
13802 { ac_try='test -s conftest.$ac_objext'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13805 ac_status=$?
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; }; then
13808 ac_header_compiler=yes
13809else
13810 echo "$as_me: failed program was:" >&5
13811cat conftest.$ac_ext >&5
13812ac_header_compiler=no
13813fi
13814rm -f conftest.$ac_objext conftest.$ac_ext
13815echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13816echo "${ECHO_T}$ac_header_compiler" >&6
13817
13818# Is the header present?
13819echo "$as_me:$LINENO: checking $ac_header presence" >&5
13820echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13821cat >conftest.$ac_ext <<_ACEOF
13822#line $LINENO "configure"
13823#include "confdefs.h"
13824#include <$ac_header>
13825_ACEOF
13826if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11292 ac_status=$? 13828 ac_status=$?
11293 egrep -v '^ *\+' conftest.er1 >conftest.err 13829 egrep -v '^ *\+' conftest.er1 >conftest.err
11294 rm -f conftest.er1 13830 rm -f conftest.er1
11295 cat conftest.err >&5 13831 cat conftest.err >&5
11296 echo "$as_me:11296: \$? = $ac_status" >&5 13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } >/dev/null; then 13833 (exit $ac_status); } >/dev/null; then
11298 if test -s conftest.err; then 13834 if test -s conftest.err; then
11299 ac_cpp_err=$ac_c_preproc_warn_flag 13835 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11304,43 +13840,107 @@ else
11304 ac_cpp_err=yes 13840 ac_cpp_err=yes
11305fi 13841fi
11306if test -z "$ac_cpp_err"; then 13842if test -z "$ac_cpp_err"; then
11307 eval "$as_ac_Header=yes" 13843 ac_header_preproc=yes
11308else 13844else
11309 echo "$as_me: failed program was:" >&5 13845 echo "$as_me: failed program was:" >&5
11310 cat conftest.$ac_ext >&5 13846 cat conftest.$ac_ext >&5
11311 eval "$as_ac_Header=no" 13847 ac_header_preproc=no
11312fi 13848fi
11313rm -f conftest.err conftest.$ac_ext 13849rm -f conftest.err conftest.$ac_ext
13850echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13851echo "${ECHO_T}$ac_header_preproc" >&6
13852
13853# So? What about this header?
13854case $ac_header_compiler:$ac_header_preproc in
13855 yes:no )
13856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13857echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13859echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13860 no:yes )
13861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13862echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13864echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13866echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13867esac
13868echo "$as_me:$LINENO: checking for $ac_header" >&5
13869echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13870if eval "test \"\${$as_ac_Header+set}\" = set"; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13872else
13873 eval "$as_ac_Header=$ac_header_preproc"
11314fi 13874fi
11315echo "$as_me:11315: result: `eval echo '${'$as_ac_Header'}'`" >&5 13875echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11316echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13876echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13877
13878fi
11317if test `eval echo '${'$as_ac_Header'}'` = yes; then 13879if test `eval echo '${'$as_ac_Header'}'` = yes; then
11318 cat >>confdefs.h <<EOF 13880 cat >>confdefs.h <<_ACEOF
11319#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13881#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11320EOF 13882_ACEOF
11321 13883
11322else 13884else
11323 13885
11324for ac_header in kerberosIV/des.h 13886for ac_header in kerberosIV/des.h
11325do 13887do
11326as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13888as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11327echo "$as_me:11327: checking for $ac_header" >&5 13889if eval "test \"\${$as_ac_Header+set}\" = set"; then
13890 echo "$as_me:$LINENO: checking for $ac_header" >&5
11328echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13891echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11329if eval "test \"\${$as_ac_Header+set}\" = set"; then 13892if eval "test \"\${$as_ac_Header+set}\" = set"; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6 13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13894fi
13895echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13896echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11331else 13897else
11332 cat >conftest.$ac_ext <<_ACEOF 13898 # Is the header compilable?
11333#line 11333 "configure" 13899echo "$as_me:$LINENO: checking $ac_header usability" >&5
13900echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13901cat >conftest.$ac_ext <<_ACEOF
13902#line $LINENO "configure"
13903#include "confdefs.h"
13904$ac_includes_default
13905#include <$ac_header>
13906_ACEOF
13907rm -f conftest.$ac_objext
13908if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13909 (eval $ac_compile) 2>&5
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try='test -s conftest.$ac_objext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13916 ac_status=$?
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_header_compiler=yes
13920else
13921 echo "$as_me: failed program was:" >&5
13922cat conftest.$ac_ext >&5
13923ac_header_compiler=no
13924fi
13925rm -f conftest.$ac_objext conftest.$ac_ext
13926echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13927echo "${ECHO_T}$ac_header_compiler" >&6
13928
13929# Is the header present?
13930echo "$as_me:$LINENO: checking $ac_header presence" >&5
13931echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13932cat >conftest.$ac_ext <<_ACEOF
13933#line $LINENO "configure"
11334#include "confdefs.h" 13934#include "confdefs.h"
11335#include <$ac_header> 13935#include <$ac_header>
11336_ACEOF 13936_ACEOF
11337if { (eval echo "$as_me:11337: \"$ac_cpp conftest.$ac_ext\"") >&5 13937if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11339 ac_status=$? 13939 ac_status=$?
11340 egrep -v '^ *\+' conftest.er1 >conftest.err 13940 egrep -v '^ *\+' conftest.er1 >conftest.err
11341 rm -f conftest.er1 13941 rm -f conftest.er1
11342 cat conftest.err >&5 13942 cat conftest.err >&5
11343 echo "$as_me:11343: \$? = $ac_status" >&5 13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); } >/dev/null; then 13944 (exit $ac_status); } >/dev/null; then
11345 if test -s conftest.err; then 13945 if test -s conftest.err; then
11346 ac_cpp_err=$ac_c_preproc_warn_flag 13946 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11351,43 +13951,107 @@ else
11351 ac_cpp_err=yes 13951 ac_cpp_err=yes
11352fi 13952fi
11353if test -z "$ac_cpp_err"; then 13953if test -z "$ac_cpp_err"; then
11354 eval "$as_ac_Header=yes" 13954 ac_header_preproc=yes
11355else 13955else
11356 echo "$as_me: failed program was:" >&5 13956 echo "$as_me: failed program was:" >&5
11357 cat conftest.$ac_ext >&5 13957 cat conftest.$ac_ext >&5
11358 eval "$as_ac_Header=no" 13958 ac_header_preproc=no
11359fi 13959fi
11360rm -f conftest.err conftest.$ac_ext 13960rm -f conftest.err conftest.$ac_ext
13961echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13962echo "${ECHO_T}$ac_header_preproc" >&6
13963
13964# So? What about this header?
13965case $ac_header_compiler:$ac_header_preproc in
13966 yes:no )
13967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13968echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13970echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13971 no:yes )
13972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13973echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13975echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13977echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13978esac
13979echo "$as_me:$LINENO: checking for $ac_header" >&5
13980echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13981if eval "test \"\${$as_ac_Header+set}\" = set"; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13983else
13984 eval "$as_ac_Header=$ac_header_preproc"
11361fi 13985fi
11362echo "$as_me:11362: result: `eval echo '${'$as_ac_Header'}'`" >&5 13986echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11363echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13987echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13988
13989fi
11364if test `eval echo '${'$as_ac_Header'}'` = yes; then 13990if test `eval echo '${'$as_ac_Header'}'` = yes; then
11365 cat >>confdefs.h <<EOF 13991 cat >>confdefs.h <<_ACEOF
11366#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13992#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11367EOF 13993_ACEOF
11368 13994
11369else 13995else
11370 13996
11371for ac_header in kerberos/des.h 13997for ac_header in kerberos/des.h
11372do 13998do
11373as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13999as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11374echo "$as_me:11374: checking for $ac_header" >&5 14000if eval "test \"\${$as_ac_Header+set}\" = set"; then
14001 echo "$as_me:$LINENO: checking for $ac_header" >&5
11375echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14002echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11376if eval "test \"\${$as_ac_Header+set}\" = set"; then 14003if eval "test \"\${$as_ac_Header+set}\" = set"; then
11377 echo $ECHO_N "(cached) $ECHO_C" >&6 14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14005fi
14006echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14007echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11378else 14008else
11379 cat >conftest.$ac_ext <<_ACEOF 14009 # Is the header compilable?
11380#line 11380 "configure" 14010echo "$as_me:$LINENO: checking $ac_header usability" >&5
14011echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14012cat >conftest.$ac_ext <<_ACEOF
14013#line $LINENO "configure"
11381#include "confdefs.h" 14014#include "confdefs.h"
14015$ac_includes_default
11382#include <$ac_header> 14016#include <$ac_header>
11383_ACEOF 14017_ACEOF
11384if { (eval echo "$as_me:11384: \"$ac_cpp conftest.$ac_ext\"") >&5 14018rm -f conftest.$ac_objext
14019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14020 (eval $ac_compile) 2>&5
14021 ac_status=$?
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try='test -s conftest.$ac_objext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 ac_header_compiler=yes
14031else
14032 echo "$as_me: failed program was:" >&5
14033cat conftest.$ac_ext >&5
14034ac_header_compiler=no
14035fi
14036rm -f conftest.$ac_objext conftest.$ac_ext
14037echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14038echo "${ECHO_T}$ac_header_compiler" >&6
14039
14040# Is the header present?
14041echo "$as_me:$LINENO: checking $ac_header presence" >&5
14042echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14043cat >conftest.$ac_ext <<_ACEOF
14044#line $LINENO "configure"
14045#include "confdefs.h"
14046#include <$ac_header>
14047_ACEOF
14048if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11386 ac_status=$? 14050 ac_status=$?
11387 egrep -v '^ *\+' conftest.er1 >conftest.err 14051 egrep -v '^ *\+' conftest.er1 >conftest.err
11388 rm -f conftest.er1 14052 rm -f conftest.er1
11389 cat conftest.err >&5 14053 cat conftest.err >&5
11390 echo "$as_me:11390: \$? = $ac_status" >&5 14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } >/dev/null; then 14055 (exit $ac_status); } >/dev/null; then
11392 if test -s conftest.err; then 14056 if test -s conftest.err; then
11393 ac_cpp_err=$ac_c_preproc_warn_flag 14057 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11398,50 +14062,118 @@ else
11398 ac_cpp_err=yes 14062 ac_cpp_err=yes
11399fi 14063fi
11400if test -z "$ac_cpp_err"; then 14064if test -z "$ac_cpp_err"; then
11401 eval "$as_ac_Header=yes" 14065 ac_header_preproc=yes
11402else 14066else
11403 echo "$as_me: failed program was:" >&5 14067 echo "$as_me: failed program was:" >&5
11404 cat conftest.$ac_ext >&5 14068 cat conftest.$ac_ext >&5
11405 eval "$as_ac_Header=no" 14069 ac_header_preproc=no
11406fi 14070fi
11407rm -f conftest.err conftest.$ac_ext 14071rm -f conftest.err conftest.$ac_ext
14072echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14073echo "${ECHO_T}$ac_header_preproc" >&6
14074
14075# So? What about this header?
14076case $ac_header_compiler:$ac_header_preproc in
14077 yes:no )
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14079echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14081echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14082 no:yes )
14083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14084echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14086echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14088echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14089esac
14090echo "$as_me:$LINENO: checking for $ac_header" >&5
14091echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14092if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094else
14095 eval "$as_ac_Header=$ac_header_preproc"
11408fi 14096fi
11409echo "$as_me:11409: result: `eval echo '${'$as_ac_Header'}'`" >&5 14097echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11410echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14098echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099
14100fi
11411if test `eval echo '${'$as_ac_Header'}'` = yes; then 14101if test `eval echo '${'$as_ac_Header'}'` = yes; then
11412 cat >>confdefs.h <<EOF 14102 cat >>confdefs.h <<_ACEOF
11413#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14103#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11414EOF 14104_ACEOF
11415 14105
11416fi 14106fi
14107
11417done 14108done
11418 14109
11419fi 14110fi
14111
11420done 14112done
11421 14113
11422fi 14114fi
14115
11423done 14116done
11424 14117
14118
11425for ac_header in krb.h 14119for ac_header in krb.h
11426do 14120do
11427as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14121as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11428echo "$as_me:11428: checking for $ac_header" >&5 14122if eval "test \"\${$as_ac_Header+set}\" = set"; then
14123 echo "$as_me:$LINENO: checking for $ac_header" >&5
11429echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14124echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11430if eval "test \"\${$as_ac_Header+set}\" = set"; then 14125if eval "test \"\${$as_ac_Header+set}\" = set"; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6 14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14127fi
14128echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14129echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11432else 14130else
11433 cat >conftest.$ac_ext <<_ACEOF 14131 # Is the header compilable?
11434#line 11434 "configure" 14132echo "$as_me:$LINENO: checking $ac_header usability" >&5
14133echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14134cat >conftest.$ac_ext <<_ACEOF
14135#line $LINENO "configure"
11435#include "confdefs.h" 14136#include "confdefs.h"
14137$ac_includes_default
11436#include <$ac_header> 14138#include <$ac_header>
11437_ACEOF 14139_ACEOF
11438if { (eval echo "$as_me:11438: \"$ac_cpp conftest.$ac_ext\"") >&5 14140rm -f conftest.$ac_objext
14141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14142 (eval $ac_compile) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_header_compiler=yes
14153else
14154 echo "$as_me: failed program was:" >&5
14155cat conftest.$ac_ext >&5
14156ac_header_compiler=no
14157fi
14158rm -f conftest.$ac_objext conftest.$ac_ext
14159echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14160echo "${ECHO_T}$ac_header_compiler" >&6
14161
14162# Is the header present?
14163echo "$as_me:$LINENO: checking $ac_header presence" >&5
14164echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14165cat >conftest.$ac_ext <<_ACEOF
14166#line $LINENO "configure"
14167#include "confdefs.h"
14168#include <$ac_header>
14169_ACEOF
14170if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11440 ac_status=$? 14172 ac_status=$?
11441 egrep -v '^ *\+' conftest.er1 >conftest.err 14173 egrep -v '^ *\+' conftest.er1 >conftest.err
11442 rm -f conftest.er1 14174 rm -f conftest.er1
11443 cat conftest.err >&5 14175 cat conftest.err >&5
11444 echo "$as_me:11444: \$? = $ac_status" >&5 14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } >/dev/null; then 14177 (exit $ac_status); } >/dev/null; then
11446 if test -s conftest.err; then 14178 if test -s conftest.err; then
11447 ac_cpp_err=$ac_c_preproc_warn_flag 14179 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11452,43 +14184,107 @@ else
11452 ac_cpp_err=yes 14184 ac_cpp_err=yes
11453fi 14185fi
11454if test -z "$ac_cpp_err"; then 14186if test -z "$ac_cpp_err"; then
11455 eval "$as_ac_Header=yes" 14187 ac_header_preproc=yes
11456else 14188else
11457 echo "$as_me: failed program was:" >&5 14189 echo "$as_me: failed program was:" >&5
11458 cat conftest.$ac_ext >&5 14190 cat conftest.$ac_ext >&5
11459 eval "$as_ac_Header=no" 14191 ac_header_preproc=no
11460fi 14192fi
11461rm -f conftest.err conftest.$ac_ext 14193rm -f conftest.err conftest.$ac_ext
14194echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14195echo "${ECHO_T}$ac_header_preproc" >&6
14196
14197# So? What about this header?
14198case $ac_header_compiler:$ac_header_preproc in
14199 yes:no )
14200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14201echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14203echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14204 no:yes )
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14206echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14208echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14210echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14211esac
14212echo "$as_me:$LINENO: checking for $ac_header" >&5
14213echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14214if eval "test \"\${$as_ac_Header+set}\" = set"; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216else
14217 eval "$as_ac_Header=$ac_header_preproc"
11462fi 14218fi
11463echo "$as_me:11463: result: `eval echo '${'$as_ac_Header'}'`" >&5 14219echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11464echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14220echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14221
14222fi
11465if test `eval echo '${'$as_ac_Header'}'` = yes; then 14223if test `eval echo '${'$as_ac_Header'}'` = yes; then
11466 cat >>confdefs.h <<EOF 14224 cat >>confdefs.h <<_ACEOF
11467#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14225#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11468EOF 14226_ACEOF
11469 14227
11470else 14228else
11471 14229
11472for ac_header in kerberosIV/krb.h 14230for ac_header in kerberosIV/krb.h
11473do 14231do
11474as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14232as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11475echo "$as_me:11475: checking for $ac_header" >&5 14233if eval "test \"\${$as_ac_Header+set}\" = set"; then
14234 echo "$as_me:$LINENO: checking for $ac_header" >&5
11476echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14235echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11477if eval "test \"\${$as_ac_Header+set}\" = set"; then 14236if eval "test \"\${$as_ac_Header+set}\" = set"; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6 14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14238fi
14239echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14240echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11479else 14241else
11480 cat >conftest.$ac_ext <<_ACEOF 14242 # Is the header compilable?
11481#line 11481 "configure" 14243echo "$as_me:$LINENO: checking $ac_header usability" >&5
14244echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14245cat >conftest.$ac_ext <<_ACEOF
14246#line $LINENO "configure"
11482#include "confdefs.h" 14247#include "confdefs.h"
14248$ac_includes_default
11483#include <$ac_header> 14249#include <$ac_header>
11484_ACEOF 14250_ACEOF
11485if { (eval echo "$as_me:11485: \"$ac_cpp conftest.$ac_ext\"") >&5 14251rm -f conftest.$ac_objext
14252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14253 (eval $ac_compile) 2>&5
14254 ac_status=$?
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14260 ac_status=$?
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 ac_header_compiler=yes
14264else
14265 echo "$as_me: failed program was:" >&5
14266cat conftest.$ac_ext >&5
14267ac_header_compiler=no
14268fi
14269rm -f conftest.$ac_objext conftest.$ac_ext
14270echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14271echo "${ECHO_T}$ac_header_compiler" >&6
14272
14273# Is the header present?
14274echo "$as_me:$LINENO: checking $ac_header presence" >&5
14275echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14276cat >conftest.$ac_ext <<_ACEOF
14277#line $LINENO "configure"
14278#include "confdefs.h"
14279#include <$ac_header>
14280_ACEOF
14281if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11487 ac_status=$? 14283 ac_status=$?
11488 egrep -v '^ *\+' conftest.er1 >conftest.err 14284 egrep -v '^ *\+' conftest.er1 >conftest.err
11489 rm -f conftest.er1 14285 rm -f conftest.er1
11490 cat conftest.err >&5 14286 cat conftest.err >&5
11491 echo "$as_me:11491: \$? = $ac_status" >&5 14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } >/dev/null; then 14288 (exit $ac_status); } >/dev/null; then
11493 if test -s conftest.err; then 14289 if test -s conftest.err; then
11494 ac_cpp_err=$ac_c_preproc_warn_flag 14290 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11499,43 +14295,107 @@ else
11499 ac_cpp_err=yes 14295 ac_cpp_err=yes
11500fi 14296fi
11501if test -z "$ac_cpp_err"; then 14297if test -z "$ac_cpp_err"; then
11502 eval "$as_ac_Header=yes" 14298 ac_header_preproc=yes
11503else 14299else
11504 echo "$as_me: failed program was:" >&5 14300 echo "$as_me: failed program was:" >&5
11505 cat conftest.$ac_ext >&5 14301 cat conftest.$ac_ext >&5
11506 eval "$as_ac_Header=no" 14302 ac_header_preproc=no
11507fi 14303fi
11508rm -f conftest.err conftest.$ac_ext 14304rm -f conftest.err conftest.$ac_ext
14305echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14306echo "${ECHO_T}$ac_header_preproc" >&6
14307
14308# So? What about this header?
14309case $ac_header_compiler:$ac_header_preproc in
14310 yes:no )
14311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14312echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14314echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14315 no:yes )
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14317echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14319echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14321echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14322esac
14323echo "$as_me:$LINENO: checking for $ac_header" >&5
14324echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14325if eval "test \"\${$as_ac_Header+set}\" = set"; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327else
14328 eval "$as_ac_Header=$ac_header_preproc"
11509fi 14329fi
11510echo "$as_me:11510: result: `eval echo '${'$as_ac_Header'}'`" >&5 14330echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11511echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14331echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14332
14333fi
11512if test `eval echo '${'$as_ac_Header'}'` = yes; then 14334if test `eval echo '${'$as_ac_Header'}'` = yes; then
11513 cat >>confdefs.h <<EOF 14335 cat >>confdefs.h <<_ACEOF
11514#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14336#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11515EOF 14337_ACEOF
11516 14338
11517else 14339else
11518 14340
11519for ac_header in kerberos/krb.h 14341for ac_header in kerberos/krb.h
11520do 14342do
11521as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14343as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11522echo "$as_me:11522: checking for $ac_header" >&5 14344if eval "test \"\${$as_ac_Header+set}\" = set"; then
14345 echo "$as_me:$LINENO: checking for $ac_header" >&5
11523echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14346echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11524if eval "test \"\${$as_ac_Header+set}\" = set"; then 14347if eval "test \"\${$as_ac_Header+set}\" = set"; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6 14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14349fi
14350echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14351echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11526else 14352else
11527 cat >conftest.$ac_ext <<_ACEOF 14353 # Is the header compilable?
11528#line 11528 "configure" 14354echo "$as_me:$LINENO: checking $ac_header usability" >&5
14355echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14356cat >conftest.$ac_ext <<_ACEOF
14357#line $LINENO "configure"
14358#include "confdefs.h"
14359$ac_includes_default
14360#include <$ac_header>
14361_ACEOF
14362rm -f conftest.$ac_objext
14363if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14364 (eval $ac_compile) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } &&
14368 { ac_try='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 ac_header_compiler=yes
14375else
14376 echo "$as_me: failed program was:" >&5
14377cat conftest.$ac_ext >&5
14378ac_header_compiler=no
14379fi
14380rm -f conftest.$ac_objext conftest.$ac_ext
14381echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14382echo "${ECHO_T}$ac_header_compiler" >&6
14383
14384# Is the header present?
14385echo "$as_me:$LINENO: checking $ac_header presence" >&5
14386echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14387cat >conftest.$ac_ext <<_ACEOF
14388#line $LINENO "configure"
11529#include "confdefs.h" 14389#include "confdefs.h"
11530#include <$ac_header> 14390#include <$ac_header>
11531_ACEOF 14391_ACEOF
11532if { (eval echo "$as_me:11532: \"$ac_cpp conftest.$ac_ext\"") >&5 14392if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11534 ac_status=$? 14394 ac_status=$?
11535 egrep -v '^ *\+' conftest.er1 >conftest.err 14395 egrep -v '^ *\+' conftest.er1 >conftest.err
11536 rm -f conftest.er1 14396 rm -f conftest.er1
11537 cat conftest.err >&5 14397 cat conftest.err >&5
11538 echo "$as_me:11538: \$? = $ac_status" >&5 14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } >/dev/null; then 14399 (exit $ac_status); } >/dev/null; then
11540 if test -s conftest.err; then 14400 if test -s conftest.err; then
11541 ac_cpp_err=$ac_c_preproc_warn_flag 14401 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11546,28 +14406,57 @@ else
11546 ac_cpp_err=yes 14406 ac_cpp_err=yes
11547fi 14407fi
11548if test -z "$ac_cpp_err"; then 14408if test -z "$ac_cpp_err"; then
11549 eval "$as_ac_Header=yes" 14409 ac_header_preproc=yes
11550else 14410else
11551 echo "$as_me: failed program was:" >&5 14411 echo "$as_me: failed program was:" >&5
11552 cat conftest.$ac_ext >&5 14412 cat conftest.$ac_ext >&5
11553 eval "$as_ac_Header=no" 14413 ac_header_preproc=no
11554fi 14414fi
11555rm -f conftest.err conftest.$ac_ext 14415rm -f conftest.err conftest.$ac_ext
14416echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14417echo "${ECHO_T}$ac_header_preproc" >&6
14418
14419# So? What about this header?
14420case $ac_header_compiler:$ac_header_preproc in
14421 yes:no )
14422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14423echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14425echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14426 no:yes )
14427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14428echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14430echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14432echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14433esac
14434echo "$as_me:$LINENO: checking for $ac_header" >&5
14435echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14436if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14438else
14439 eval "$as_ac_Header=$ac_header_preproc"
11556fi 14440fi
11557echo "$as_me:11557: result: `eval echo '${'$as_ac_Header'}'`" >&5 14441echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11558echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14442echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14443
14444fi
11559if test `eval echo '${'$as_ac_Header'}'` = yes; then 14445if test `eval echo '${'$as_ac_Header'}'` = yes; then
11560 cat >>confdefs.h <<EOF 14446 cat >>confdefs.h <<_ACEOF
11561#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14447#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11562EOF 14448_ACEOF
11563 14449
11564fi 14450fi
14451
11565done 14452done
11566 14453
11567fi 14454fi
14455
11568done 14456done
11569 14457
11570fi 14458fi
14459
11571done 14460done
11572 14461
11573 fi 14462 fi
@@ -11575,23 +14464,61 @@ done
11575for ac_header in com_err.h 14464for ac_header in com_err.h
11576do 14465do
11577as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14466as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11578echo "$as_me:11578: checking for $ac_header" >&5 14467if eval "test \"\${$as_ac_Header+set}\" = set"; then
14468 echo "$as_me:$LINENO: checking for $ac_header" >&5
11579echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14469echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11580if eval "test \"\${$as_ac_Header+set}\" = set"; then 14470if eval "test \"\${$as_ac_Header+set}\" = set"; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6 14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14472fi
14473echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14474echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11582else 14475else
11583 cat >conftest.$ac_ext <<_ACEOF 14476 # Is the header compilable?
11584#line 11584 "configure" 14477echo "$as_me:$LINENO: checking $ac_header usability" >&5
14478echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14479cat >conftest.$ac_ext <<_ACEOF
14480#line $LINENO "configure"
14481#include "confdefs.h"
14482$ac_includes_default
14483#include <$ac_header>
14484_ACEOF
14485rm -f conftest.$ac_objext
14486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14487 (eval $ac_compile) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try='test -s conftest.$ac_objext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 ac_header_compiler=yes
14498else
14499 echo "$as_me: failed program was:" >&5
14500cat conftest.$ac_ext >&5
14501ac_header_compiler=no
14502fi
14503rm -f conftest.$ac_objext conftest.$ac_ext
14504echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14505echo "${ECHO_T}$ac_header_compiler" >&6
14506
14507# Is the header present?
14508echo "$as_me:$LINENO: checking $ac_header presence" >&5
14509echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14510cat >conftest.$ac_ext <<_ACEOF
14511#line $LINENO "configure"
11585#include "confdefs.h" 14512#include "confdefs.h"
11586#include <$ac_header> 14513#include <$ac_header>
11587_ACEOF 14514_ACEOF
11588if { (eval echo "$as_me:11588: \"$ac_cpp conftest.$ac_ext\"") >&5 14515if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11590 ac_status=$? 14517 ac_status=$?
11591 egrep -v '^ *\+' conftest.er1 >conftest.err 14518 egrep -v '^ *\+' conftest.er1 >conftest.err
11592 rm -f conftest.er1 14519 rm -f conftest.er1
11593 cat conftest.err >&5 14520 cat conftest.err >&5
11594 echo "$as_me:11594: \$? = $ac_status" >&5 14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } >/dev/null; then 14522 (exit $ac_status); } >/dev/null; then
11596 if test -s conftest.err; then 14523 if test -s conftest.err; then
11597 ac_cpp_err=$ac_c_preproc_warn_flag 14524 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11602,22 +14529,49 @@ else
11602 ac_cpp_err=yes 14529 ac_cpp_err=yes
11603fi 14530fi
11604if test -z "$ac_cpp_err"; then 14531if test -z "$ac_cpp_err"; then
11605 eval "$as_ac_Header=yes" 14532 ac_header_preproc=yes
11606else 14533else
11607 echo "$as_me: failed program was:" >&5 14534 echo "$as_me: failed program was:" >&5
11608 cat conftest.$ac_ext >&5 14535 cat conftest.$ac_ext >&5
11609 eval "$as_ac_Header=no" 14536 ac_header_preproc=no
11610fi 14537fi
11611rm -f conftest.err conftest.$ac_ext 14538rm -f conftest.err conftest.$ac_ext
14539echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14540echo "${ECHO_T}$ac_header_preproc" >&6
14541
14542# So? What about this header?
14543case $ac_header_compiler:$ac_header_preproc in
14544 yes:no )
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14546echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14548echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14549 no:yes )
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14551echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14552 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14553echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14555echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14556esac
14557echo "$as_me:$LINENO: checking for $ac_header" >&5
14558echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14559if eval "test \"\${$as_ac_Header+set}\" = set"; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14561else
14562 eval "$as_ac_Header=$ac_header_preproc"
11612fi 14563fi
11613echo "$as_me:11613: result: `eval echo '${'$as_ac_Header'}'`" >&5 14564echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11614echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14565echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14566
14567fi
11615if test `eval echo '${'$as_ac_Header'}'` = yes; then 14568if test `eval echo '${'$as_ac_Header'}'` = yes; then
11616 cat >>confdefs.h <<EOF 14569 cat >>confdefs.h <<_ACEOF
11617#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14570#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11618EOF 14571_ACEOF
11619 14572
11620fi 14573fi
14574
11621done 14575done
11622 14576
11623fi 14577fi
@@ -11625,7 +14579,7 @@ fi
11625# Solaris requires -lintl if you want strerror (which calls dgettext) 14579# Solaris requires -lintl if you want strerror (which calls dgettext)
11626# to return localized messages. 14580# to return localized messages.
11627 14581
11628echo "$as_me:11628: checking for dgettext in -lintl" >&5 14582echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
11629echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 14583echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11630if test "${ac_cv_lib_intl_dgettext+set}" = set; then 14584if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11631 echo $ECHO_N "(cached) $ECHO_C" >&6 14585 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11633,7 +14587,7 @@ else
11633 ac_check_lib_save_LIBS=$LIBS 14587 ac_check_lib_save_LIBS=$LIBS
11634LIBS="-lintl $LIBS" 14588LIBS="-lintl $LIBS"
11635cat >conftest.$ac_ext <<_ACEOF 14589cat >conftest.$ac_ext <<_ACEOF
11636#line 11636 "configure" 14590#line $LINENO "configure"
11637#include "confdefs.h" 14591#include "confdefs.h"
11638 14592
11639/* Override any gcc2 internal prototype to avoid an error. */ 14593/* Override any gcc2 internal prototype to avoid an error. */
@@ -11643,6 +14597,12 @@ extern "C"
11643/* We use char because int might match the return type of a gcc2 14597/* We use char because int might match the return type of a gcc2
11644 builtin and then its argument prototype would still apply. */ 14598 builtin and then its argument prototype would still apply. */
11645char dgettext (); 14599char dgettext ();
14600#ifdef F77_DUMMY_MAIN
14601# ifdef __cplusplus
14602 extern "C"
14603# endif
14604 int F77_DUMMY_MAIN() { return 1; }
14605#endif
11646int 14606int
11647main () 14607main ()
11648{ 14608{
@@ -11652,16 +14612,16 @@ dgettext ();
11652} 14612}
11653_ACEOF 14613_ACEOF
11654rm -f conftest.$ac_objext conftest$ac_exeext 14614rm -f conftest.$ac_objext conftest$ac_exeext
11655if { (eval echo "$as_me:11655: \"$ac_link\"") >&5 14615if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11656 (eval $ac_link) 2>&5 14616 (eval $ac_link) 2>&5
11657 ac_status=$? 14617 ac_status=$?
11658 echo "$as_me:11658: \$? = $ac_status" >&5 14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && 14619 (exit $ac_status); } &&
11660 { ac_try='test -s conftest$ac_exeext' 14620 { ac_try='test -s conftest$ac_exeext'
11661 { (eval echo "$as_me:11661: \"$ac_try\"") >&5 14621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5 14622 (eval $ac_try) 2>&5
11663 ac_status=$? 14623 ac_status=$?
11664 echo "$as_me:11664: \$? = $ac_status" >&5 14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then 14625 (exit $ac_status); }; }; then
11666 ac_cv_lib_intl_dgettext=yes 14626 ac_cv_lib_intl_dgettext=yes
11667else 14627else
@@ -11672,18 +14632,19 @@ fi
11672rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14632rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11673LIBS=$ac_check_lib_save_LIBS 14633LIBS=$ac_check_lib_save_LIBS
11674fi 14634fi
11675echo "$as_me:11675: result: $ac_cv_lib_intl_dgettext" >&5 14635echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
11676echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 14636echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11677if test $ac_cv_lib_intl_dgettext = yes; then 14637if test $ac_cv_lib_intl_dgettext = yes; then
11678 cat >>confdefs.h <<EOF 14638 cat >>confdefs.h <<_ACEOF
11679#define HAVE_LIBINTL 1 14639#define HAVE_LIBINTL 1
11680EOF 14640_ACEOF
11681 14641
11682 LIBS="-lintl $LIBS" 14642 LIBS="-lintl $LIBS"
11683 14643
11684fi 14644fi
11685 14645
11686echo "$as_me:11686: checking whether localtime caches TZ" >&5 14646
14647echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
11687echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 14648echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11688if test "${emacs_cv_localtime_cache+set}" = set; then 14649if test "${emacs_cv_localtime_cache+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6 14650 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11694,7 +14655,7 @@ if test "$cross_compiling" = yes; then
11694emacs_cv_localtime_cache=yes 14655emacs_cv_localtime_cache=yes
11695else 14656else
11696 cat >conftest.$ac_ext <<_ACEOF 14657 cat >conftest.$ac_ext <<_ACEOF
11697#line 11697 "configure" 14658#line $LINENO "configure"
11698#include "confdefs.h" 14659#include "confdefs.h"
11699#include <time.h> 14660#include <time.h>
11700extern char **environ; 14661extern char **environ;
@@ -11727,21 +14688,22 @@ main()
11727} 14688}
11728_ACEOF 14689_ACEOF
11729rm -f conftest$ac_exeext 14690rm -f conftest$ac_exeext
11730if { (eval echo "$as_me:11730: \"$ac_link\"") >&5 14691if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11731 (eval $ac_link) 2>&5 14692 (eval $ac_link) 2>&5
11732 ac_status=$? 14693 ac_status=$?
11733 echo "$as_me:11733: \$? = $ac_status" >&5 14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11735 { (eval echo "$as_me:11735: \"$ac_try\"") >&5 14696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5 14697 (eval $ac_try) 2>&5
11737 ac_status=$? 14698 ac_status=$?
11738 echo "$as_me:11738: \$? = $ac_status" >&5 14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then 14700 (exit $ac_status); }; }; then
11740 emacs_cv_localtime_cache=no 14701 emacs_cv_localtime_cache=no
11741else 14702else
11742 echo "$as_me: program exited with status $ac_status" >&5 14703 echo "$as_me: program exited with status $ac_status" >&5
11743echo "$as_me: failed program was:" >&5 14704echo "$as_me: failed program was:" >&5
11744cat conftest.$ac_ext >&5 14705cat conftest.$ac_ext >&5
14706( exit $ac_status )
11745emacs_cv_localtime_cache=yes 14707emacs_cv_localtime_cache=yes
11746fi 14708fi
11747rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14709rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
@@ -11752,13 +14714,13 @@ else
11752 emacs_cv_localtime_cache=no 14714 emacs_cv_localtime_cache=no
11753fi 14715fi
11754fi 14716fi
11755echo "$as_me:11755: result: $emacs_cv_localtime_cache" >&5 14717echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
11756echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 14718echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11757if test $emacs_cv_localtime_cache = yes; then 14719if test $emacs_cv_localtime_cache = yes; then
11758 14720
11759cat >>confdefs.h <<\EOF 14721cat >>confdefs.h <<\_ACEOF
11760#define LOCALTIME_CACHE 1 14722#define LOCALTIME_CACHE 1
11761EOF 14723_ACEOF
11762 14724
11763fi 14725fi
11764 14726
@@ -11767,13 +14729,13 @@ if test "x$HAVE_TIMEVAL" = xyes; then
11767for ac_func in gettimeofday 14729for ac_func in gettimeofday
11768do 14730do
11769as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14731as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11770echo "$as_me:11770: checking for $ac_func" >&5 14732echo "$as_me:$LINENO: checking for $ac_func" >&5
11771echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 14733echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11772if eval "test \"\${$as_ac_var+set}\" = set"; then 14734if eval "test \"\${$as_ac_var+set}\" = set"; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6 14735 echo $ECHO_N "(cached) $ECHO_C" >&6
11774else 14736else
11775 cat >conftest.$ac_ext <<_ACEOF 14737 cat >conftest.$ac_ext <<_ACEOF
11776#line 11776 "configure" 14738#line $LINENO "configure"
11777#include "confdefs.h" 14739#include "confdefs.h"
11778/* System header to define __stub macros and hopefully few prototypes, 14740/* System header to define __stub macros and hopefully few prototypes,
11779 which can conflict with char $ac_func (); below. */ 14741 which can conflict with char $ac_func (); below. */
@@ -11787,6 +14749,12 @@ extern "C"
11787char $ac_func (); 14749char $ac_func ();
11788char (*f) (); 14750char (*f) ();
11789 14751
14752#ifdef F77_DUMMY_MAIN
14753# ifdef __cplusplus
14754 extern "C"
14755# endif
14756 int F77_DUMMY_MAIN() { return 1; }
14757#endif
11790int 14758int
11791main () 14759main ()
11792{ 14760{
@@ -11804,16 +14772,16 @@ f = $ac_func;
11804} 14772}
11805_ACEOF 14773_ACEOF
11806rm -f conftest.$ac_objext conftest$ac_exeext 14774rm -f conftest.$ac_objext conftest$ac_exeext
11807if { (eval echo "$as_me:11807: \"$ac_link\"") >&5 14775if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>&5 14776 (eval $ac_link) 2>&5
11809 ac_status=$? 14777 ac_status=$?
11810 echo "$as_me:11810: \$? = $ac_status" >&5 14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && 14779 (exit $ac_status); } &&
11812 { ac_try='test -s conftest$ac_exeext' 14780 { ac_try='test -s conftest$ac_exeext'
11813 { (eval echo "$as_me:11813: \"$ac_try\"") >&5 14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5 14782 (eval $ac_try) 2>&5
11815 ac_status=$? 14783 ac_status=$?
11816 echo "$as_me:11816: \$? = $ac_status" >&5 14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then 14785 (exit $ac_status); }; }; then
11818 eval "$as_ac_var=yes" 14786 eval "$as_ac_var=yes"
11819else 14787else
@@ -11823,24 +14791,24 @@ eval "$as_ac_var=no"
11823fi 14791fi
11824rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14792rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11825fi 14793fi
11826echo "$as_me:11826: result: `eval echo '${'$as_ac_var'}'`" >&5 14794echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11827echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 14795echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11828if test `eval echo '${'$as_ac_var'}'` = yes; then 14796if test `eval echo '${'$as_ac_var'}'` = yes; then
11829 cat >>confdefs.h <<EOF 14797 cat >>confdefs.h <<_ACEOF
11830#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14798#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11831EOF 14799_ACEOF
11832 14800
11833fi 14801fi
11834done 14802done
11835 14803
11836 if test $ac_cv_func_gettimeofday = yes; then 14804 if test $ac_cv_func_gettimeofday = yes; then
11837 echo "$as_me:11837: checking whether gettimeofday can accept two arguments" >&5 14805 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
11838echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 14806echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11839if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 14807if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6 14808 echo $ECHO_N "(cached) $ECHO_C" >&6
11841else 14809else
11842 cat >conftest.$ac_ext <<_ACEOF 14810 cat >conftest.$ac_ext <<_ACEOF
11843#line 11843 "configure" 14811#line $LINENO "configure"
11844#include "confdefs.h" 14812#include "confdefs.h"
11845 14813
11846#ifdef TIME_WITH_SYS_TIME 14814#ifdef TIME_WITH_SYS_TIME
@@ -11853,6 +14821,12 @@ else
11853#include <time.h> 14821#include <time.h>
11854#endif 14822#endif
11855#endif 14823#endif
14824#ifdef F77_DUMMY_MAIN
14825# ifdef __cplusplus
14826 extern "C"
14827# endif
14828 int F77_DUMMY_MAIN() { return 1; }
14829#endif
11856int 14830int
11857main () 14831main ()
11858{ 14832{
@@ -11863,16 +14837,16 @@ struct timeval time;
11863} 14837}
11864_ACEOF 14838_ACEOF
11865rm -f conftest.$ac_objext 14839rm -f conftest.$ac_objext
11866if { (eval echo "$as_me:11866: \"$ac_compile\"") >&5 14840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11867 (eval $ac_compile) 2>&5 14841 (eval $ac_compile) 2>&5
11868 ac_status=$? 14842 ac_status=$?
11869 echo "$as_me:11869: \$? = $ac_status" >&5 14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } && 14844 (exit $ac_status); } &&
11871 { ac_try='test -s conftest.$ac_objext' 14845 { ac_try='test -s conftest.$ac_objext'
11872 { (eval echo "$as_me:11872: \"$ac_try\"") >&5 14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5 14847 (eval $ac_try) 2>&5
11874 ac_status=$? 14848 ac_status=$?
11875 echo "$as_me:11875: \$? = $ac_status" >&5 14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; }; then 14850 (exit $ac_status); }; }; then
11877 emacs_cv_gettimeofday_two_arguments=yes 14851 emacs_cv_gettimeofday_two_arguments=yes
11878else 14852else
@@ -11882,28 +14856,34 @@ emacs_cv_gettimeofday_two_arguments=no
11882fi 14856fi
11883rm -f conftest.$ac_objext conftest.$ac_ext 14857rm -f conftest.$ac_objext conftest.$ac_ext
11884fi 14858fi
11885echo "$as_me:11885: result: $emacs_cv_gettimeofday_two_arguments" >&5 14859echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
11886echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 14860echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11887 if test $emacs_cv_gettimeofday_two_arguments = no; then 14861 if test $emacs_cv_gettimeofday_two_arguments = no; then
11888 14862
11889cat >>confdefs.h <<\EOF 14863cat >>confdefs.h <<\_ACEOF
11890#define GETTIMEOFDAY_ONE_ARGUMENT 1 14864#define GETTIMEOFDAY_ONE_ARGUMENT 1
11891EOF 14865_ACEOF
11892 14866
11893 fi 14867 fi
11894 fi 14868 fi
11895fi 14869fi
11896 14870
11897if test "$ac_cv_func_gettimeofday" = yes; then 14871if test "$ac_cv_func_gettimeofday" = yes; then
11898 echo "$as_me:11898: checking for struct timezone" >&5 14872 echo "$as_me:$LINENO: checking for struct timezone" >&5
11899echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 14873echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11900if test "${emacs_cv_struct_timezone+set}" = set; then 14874if test "${emacs_cv_struct_timezone+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6 14875 echo $ECHO_N "(cached) $ECHO_C" >&6
11902else 14876else
11903 cat >conftest.$ac_ext <<_ACEOF 14877 cat >conftest.$ac_ext <<_ACEOF
11904#line 11904 "configure" 14878#line $LINENO "configure"
11905#include "confdefs.h" 14879#include "confdefs.h"
11906#include <sys/time.h> 14880#include <sys/time.h>
14881#ifdef F77_DUMMY_MAIN
14882# ifdef __cplusplus
14883 extern "C"
14884# endif
14885 int F77_DUMMY_MAIN() { return 1; }
14886#endif
11907int 14887int
11908main () 14888main ()
11909{ 14889{
@@ -11913,22 +14893,22 @@ struct timezone tz;
11913} 14893}
11914_ACEOF 14894_ACEOF
11915rm -f conftest.$ac_objext 14895rm -f conftest.$ac_objext
11916if { (eval echo "$as_me:11916: \"$ac_compile\"") >&5 14896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11917 (eval $ac_compile) 2>&5 14897 (eval $ac_compile) 2>&5
11918 ac_status=$? 14898 ac_status=$?
11919 echo "$as_me:11919: \$? = $ac_status" >&5 14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } && 14900 (exit $ac_status); } &&
11921 { ac_try='test -s conftest.$ac_objext' 14901 { ac_try='test -s conftest.$ac_objext'
11922 { (eval echo "$as_me:11922: \"$ac_try\"") >&5 14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5 14903 (eval $ac_try) 2>&5
11924 ac_status=$? 14904 ac_status=$?
11925 echo "$as_me:11925: \$? = $ac_status" >&5 14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; }; then 14906 (exit $ac_status); }; }; then
11927 if test "$cross_compiling" = yes; then 14907 if test "$cross_compiling" = yes; then
11928 emacs_cv_struct_timezone=yes 14908 emacs_cv_struct_timezone=yes
11929else 14909else
11930 cat >conftest.$ac_ext <<_ACEOF 14910 cat >conftest.$ac_ext <<_ACEOF
11931#line 11931 "configure" 14911#line $LINENO "configure"
11932#include "confdefs.h" 14912#include "confdefs.h"
11933 14913
11934#ifdef TIME_WITH_SYS_TIME 14914#ifdef TIME_WITH_SYS_TIME
@@ -11948,21 +14928,22 @@ main () {
11948} 14928}
11949_ACEOF 14929_ACEOF
11950rm -f conftest$ac_exeext 14930rm -f conftest$ac_exeext
11951if { (eval echo "$as_me:11951: \"$ac_link\"") >&5 14931if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>&5 14932 (eval $ac_link) 2>&5
11953 ac_status=$? 14933 ac_status=$?
11954 echo "$as_me:11954: \$? = $ac_status" >&5 14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11956 { (eval echo "$as_me:11956: \"$ac_try\"") >&5 14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5 14937 (eval $ac_try) 2>&5
11958 ac_status=$? 14938 ac_status=$?
11959 echo "$as_me:11959: \$? = $ac_status" >&5 14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then 14940 (exit $ac_status); }; }; then
11961 emacs_cv_struct_timezone=yes 14941 emacs_cv_struct_timezone=yes
11962else 14942else
11963 echo "$as_me: program exited with status $ac_status" >&5 14943 echo "$as_me: program exited with status $ac_status" >&5
11964echo "$as_me: failed program was:" >&5 14944echo "$as_me: failed program was:" >&5
11965cat conftest.$ac_ext >&5 14945cat conftest.$ac_ext >&5
14946( exit $ac_status )
11966emacs_cv_struct_timezone=no 14947emacs_cv_struct_timezone=no
11967fi 14948fi
11968rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14949rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
@@ -11974,18 +14955,18 @@ emacs_cv_struct_timezone=no
11974fi 14955fi
11975rm -f conftest.$ac_objext conftest.$ac_ext 14956rm -f conftest.$ac_objext conftest.$ac_ext
11976fi 14957fi
11977echo "$as_me:11977: result: $emacs_cv_struct_timezone" >&5 14958echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
11978echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 14959echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11979fi 14960fi
11980 14961
11981ok_so_far=yes 14962ok_so_far=yes
11982echo "$as_me:11982: checking for socket" >&5 14963echo "$as_me:$LINENO: checking for socket" >&5
11983echo $ECHO_N "checking for socket... $ECHO_C" >&6 14964echo $ECHO_N "checking for socket... $ECHO_C" >&6
11984if test "${ac_cv_func_socket+set}" = set; then 14965if test "${ac_cv_func_socket+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 14966 echo $ECHO_N "(cached) $ECHO_C" >&6
11986else 14967else
11987 cat >conftest.$ac_ext <<_ACEOF 14968 cat >conftest.$ac_ext <<_ACEOF
11988#line 11988 "configure" 14969#line $LINENO "configure"
11989#include "confdefs.h" 14970#include "confdefs.h"
11990/* System header to define __stub macros and hopefully few prototypes, 14971/* System header to define __stub macros and hopefully few prototypes,
11991 which can conflict with char socket (); below. */ 14972 which can conflict with char socket (); below. */
@@ -11999,6 +14980,12 @@ extern "C"
11999char socket (); 14980char socket ();
12000char (*f) (); 14981char (*f) ();
12001 14982
14983#ifdef F77_DUMMY_MAIN
14984# ifdef __cplusplus
14985 extern "C"
14986# endif
14987 int F77_DUMMY_MAIN() { return 1; }
14988#endif
12002int 14989int
12003main () 14990main ()
12004{ 14991{
@@ -12016,16 +15003,16 @@ f = socket;
12016} 15003}
12017_ACEOF 15004_ACEOF
12018rm -f conftest.$ac_objext conftest$ac_exeext 15005rm -f conftest.$ac_objext conftest$ac_exeext
12019if { (eval echo "$as_me:12019: \"$ac_link\"") >&5 15006if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12020 (eval $ac_link) 2>&5 15007 (eval $ac_link) 2>&5
12021 ac_status=$? 15008 ac_status=$?
12022 echo "$as_me:12022: \$? = $ac_status" >&5 15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } && 15010 (exit $ac_status); } &&
12024 { ac_try='test -s conftest$ac_exeext' 15011 { ac_try='test -s conftest$ac_exeext'
12025 { (eval echo "$as_me:12025: \"$ac_try\"") >&5 15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5 15013 (eval $ac_try) 2>&5
12027 ac_status=$? 15014 ac_status=$?
12028 echo "$as_me:12028: \$? = $ac_status" >&5 15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then 15016 (exit $ac_status); }; }; then
12030 ac_cv_func_socket=yes 15017 ac_cv_func_socket=yes
12031else 15018else
@@ -12035,7 +15022,7 @@ ac_cv_func_socket=no
12035fi 15022fi
12036rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15023rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12037fi 15024fi
12038echo "$as_me:12038: result: $ac_cv_func_socket" >&5 15025echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
12039echo "${ECHO_T}$ac_cv_func_socket" >&6 15026echo "${ECHO_T}$ac_cv_func_socket" >&6
12040if test $ac_cv_func_socket = yes; then 15027if test $ac_cv_func_socket = yes; then
12041 : 15028 :
@@ -12044,23 +15031,61 @@ else
12044fi 15031fi
12045 15032
12046if test $ok_so_far = yes; then 15033if test $ok_so_far = yes; then
12047 echo "$as_me:12047: checking for netinet/in.h" >&5 15034 if test "${ac_cv_header_netinet_in_h+set}" = set; then
15035 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
12048echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 15036echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12049if test "${ac_cv_header_netinet_in_h+set}" = set; then 15037if test "${ac_cv_header_netinet_in_h+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6 15038 echo $ECHO_N "(cached) $ECHO_C" >&6
15039fi
15040echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
15041echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12051else 15042else
12052 cat >conftest.$ac_ext <<_ACEOF 15043 # Is the header compilable?
12053#line 12053 "configure" 15044echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
15045echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
15046cat >conftest.$ac_ext <<_ACEOF
15047#line $LINENO "configure"
15048#include "confdefs.h"
15049$ac_includes_default
15050#include <netinet/in.h>
15051_ACEOF
15052rm -f conftest.$ac_objext
15053if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15054 (eval $ac_compile) 2>&5
15055 ac_status=$?
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try='test -s conftest.$ac_objext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 ac_header_compiler=yes
15065else
15066 echo "$as_me: failed program was:" >&5
15067cat conftest.$ac_ext >&5
15068ac_header_compiler=no
15069fi
15070rm -f conftest.$ac_objext conftest.$ac_ext
15071echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15072echo "${ECHO_T}$ac_header_compiler" >&6
15073
15074# Is the header present?
15075echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
15076echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
15077cat >conftest.$ac_ext <<_ACEOF
15078#line $LINENO "configure"
12054#include "confdefs.h" 15079#include "confdefs.h"
12055#include <netinet/in.h> 15080#include <netinet/in.h>
12056_ACEOF 15081_ACEOF
12057if { (eval echo "$as_me:12057: \"$ac_cpp conftest.$ac_ext\"") >&5 15082if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12059 ac_status=$? 15084 ac_status=$?
12060 egrep -v '^ *\+' conftest.er1 >conftest.err 15085 egrep -v '^ *\+' conftest.er1 >conftest.err
12061 rm -f conftest.er1 15086 rm -f conftest.er1
12062 cat conftest.err >&5 15087 cat conftest.err >&5
12063 echo "$as_me:12063: \$? = $ac_status" >&5 15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } >/dev/null; then 15089 (exit $ac_status); } >/dev/null; then
12065 if test -s conftest.err; then 15090 if test -s conftest.err; then
12066 ac_cpp_err=$ac_c_preproc_warn_flag 15091 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12071,41 +15096,106 @@ else
12071 ac_cpp_err=yes 15096 ac_cpp_err=yes
12072fi 15097fi
12073if test -z "$ac_cpp_err"; then 15098if test -z "$ac_cpp_err"; then
12074 ac_cv_header_netinet_in_h=yes 15099 ac_header_preproc=yes
12075else 15100else
12076 echo "$as_me: failed program was:" >&5 15101 echo "$as_me: failed program was:" >&5
12077 cat conftest.$ac_ext >&5 15102 cat conftest.$ac_ext >&5
12078 ac_cv_header_netinet_in_h=no 15103 ac_header_preproc=no
12079fi 15104fi
12080rm -f conftest.err conftest.$ac_ext 15105rm -f conftest.err conftest.$ac_ext
15106echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15107echo "${ECHO_T}$ac_header_preproc" >&6
15108
15109# So? What about this header?
15110case $ac_header_compiler:$ac_header_preproc in
15111 yes:no )
15112 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
15113echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15114 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
15115echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
15116 no:yes )
15117 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
15118echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
15120echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
15122echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
15123esac
15124echo "$as_me:$LINENO: checking for netinet/in.h" >&5
15125echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
15126if test "${ac_cv_header_netinet_in_h+set}" = set; then
15127 echo $ECHO_N "(cached) $ECHO_C" >&6
15128else
15129 ac_cv_header_netinet_in_h=$ac_header_preproc
12081fi 15130fi
12082echo "$as_me:12082: result: $ac_cv_header_netinet_in_h" >&5 15131echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
12083echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 15132echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
15133
15134fi
12084if test $ac_cv_header_netinet_in_h = yes; then 15135if test $ac_cv_header_netinet_in_h = yes; then
12085 : 15136 :
12086else 15137else
12087 ok_so_far=no 15138 ok_so_far=no
12088fi 15139fi
12089 15140
15141
12090fi 15142fi
12091if test $ok_so_far = yes; then 15143if test $ok_so_far = yes; then
12092 echo "$as_me:12092: checking for arpa/inet.h" >&5 15144 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
15145 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
12093echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 15146echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12094if test "${ac_cv_header_arpa_inet_h+set}" = set; then 15147if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6 15148 echo $ECHO_N "(cached) $ECHO_C" >&6
15149fi
15150echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
15151echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12096else 15152else
12097 cat >conftest.$ac_ext <<_ACEOF 15153 # Is the header compilable?
12098#line 12098 "configure" 15154echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
15155echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
15156cat >conftest.$ac_ext <<_ACEOF
15157#line $LINENO "configure"
15158#include "confdefs.h"
15159$ac_includes_default
15160#include <arpa/inet.h>
15161_ACEOF
15162rm -f conftest.$ac_objext
15163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>&5
15165 ac_status=$?
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try='test -s conftest.$ac_objext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15171 ac_status=$?
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_header_compiler=yes
15175else
15176 echo "$as_me: failed program was:" >&5
15177cat conftest.$ac_ext >&5
15178ac_header_compiler=no
15179fi
15180rm -f conftest.$ac_objext conftest.$ac_ext
15181echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15182echo "${ECHO_T}$ac_header_compiler" >&6
15183
15184# Is the header present?
15185echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
15186echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
15187cat >conftest.$ac_ext <<_ACEOF
15188#line $LINENO "configure"
12099#include "confdefs.h" 15189#include "confdefs.h"
12100#include <arpa/inet.h> 15190#include <arpa/inet.h>
12101_ACEOF 15191_ACEOF
12102if { (eval echo "$as_me:12102: \"$ac_cpp conftest.$ac_ext\"") >&5 15192if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12104 ac_status=$? 15194 ac_status=$?
12105 egrep -v '^ *\+' conftest.er1 >conftest.err 15195 egrep -v '^ *\+' conftest.er1 >conftest.err
12106 rm -f conftest.er1 15196 rm -f conftest.er1
12107 cat conftest.err >&5 15197 cat conftest.err >&5
12108 echo "$as_me:12108: \$? = $ac_status" >&5 15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev/null; then 15199 (exit $ac_status); } >/dev/null; then
12110 if test -s conftest.err; then 15200 if test -s conftest.err; then
12111 ac_cpp_err=$ac_c_preproc_warn_flag 15201 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12116,63 +15206,96 @@ else
12116 ac_cpp_err=yes 15206 ac_cpp_err=yes
12117fi 15207fi
12118if test -z "$ac_cpp_err"; then 15208if test -z "$ac_cpp_err"; then
12119 ac_cv_header_arpa_inet_h=yes 15209 ac_header_preproc=yes
12120else 15210else
12121 echo "$as_me: failed program was:" >&5 15211 echo "$as_me: failed program was:" >&5
12122 cat conftest.$ac_ext >&5 15212 cat conftest.$ac_ext >&5
12123 ac_cv_header_arpa_inet_h=no 15213 ac_header_preproc=no
12124fi 15214fi
12125rm -f conftest.err conftest.$ac_ext 15215rm -f conftest.err conftest.$ac_ext
15216echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15217echo "${ECHO_T}$ac_header_preproc" >&6
15218
15219# So? What about this header?
15220case $ac_header_compiler:$ac_header_preproc in
15221 yes:no )
15222 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
15223echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15224 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
15225echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
15226 no:yes )
15227 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
15228echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
15230echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
15232echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
15233esac
15234echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
15235echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
15236if test "${ac_cv_header_arpa_inet_h+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15238else
15239 ac_cv_header_arpa_inet_h=$ac_header_preproc
12126fi 15240fi
12127echo "$as_me:12127: result: $ac_cv_header_arpa_inet_h" >&5 15241echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
12128echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 15242echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
15243
15244fi
12129if test $ac_cv_header_arpa_inet_h = yes; then 15245if test $ac_cv_header_arpa_inet_h = yes; then
12130 : 15246 :
12131else 15247else
12132 ok_so_far=no 15248 ok_so_far=no
12133fi 15249fi
12134 15250
15251
12135fi 15252fi
12136if test $ok_so_far = yes; then 15253if test $ok_so_far = yes; then
12137 15254
12138cat >>confdefs.h <<\EOF 15255cat >>confdefs.h <<\_ACEOF
12139#define HAVE_INET_SOCKETS 1 15256#define HAVE_INET_SOCKETS 1
12140EOF 15257_ACEOF
12141 15258
12142fi 15259fi
12143 15260
12144if test -f /usr/lpp/X11/bin/smt.exp; then 15261if test -f /usr/lpp/X11/bin/smt.exp; then
12145 15262
12146cat >>confdefs.h <<\EOF 15263cat >>confdefs.h <<\_ACEOF
12147#define HAVE_AIX_SMT_EXP 1 15264#define HAVE_AIX_SMT_EXP 1
12148EOF 15265_ACEOF
12149 15266
12150fi 15267fi
12151 15268
12152echo "$as_me:12152: checking whether system supports dynamic ptys" >&5 15269echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
12153echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 15270echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12154if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 15271if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12155 echo "$as_me:12155: result: yes" >&5 15272 echo "$as_me:$LINENO: result: yes" >&5
12156echo "${ECHO_T}yes" >&6 15273echo "${ECHO_T}yes" >&6
12157 15274
12158cat >>confdefs.h <<\EOF 15275cat >>confdefs.h <<\_ACEOF
12159#define HAVE_DEV_PTMX 1 15276#define HAVE_DEV_PTMX 1
12160EOF 15277_ACEOF
12161 15278
12162else 15279else
12163 echo "$as_me:12163: result: no" >&5 15280 echo "$as_me:$LINENO: result: no" >&5
12164echo "${ECHO_T}no" >&6 15281echo "${ECHO_T}no" >&6
12165fi 15282fi
12166 15283
12167echo "$as_me:12167: checking for pid_t" >&5 15284echo "$as_me:$LINENO: checking for pid_t" >&5
12168echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 15285echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12169if test "${ac_cv_type_pid_t+set}" = set; then 15286if test "${ac_cv_type_pid_t+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6 15287 echo $ECHO_N "(cached) $ECHO_C" >&6
12171else 15288else
12172 cat >conftest.$ac_ext <<_ACEOF 15289 cat >conftest.$ac_ext <<_ACEOF
12173#line 12173 "configure" 15290#line $LINENO "configure"
12174#include "confdefs.h" 15291#include "confdefs.h"
12175$ac_includes_default 15292$ac_includes_default
15293#ifdef F77_DUMMY_MAIN
15294# ifdef __cplusplus
15295 extern "C"
15296# endif
15297 int F77_DUMMY_MAIN() { return 1; }
15298#endif
12176int 15299int
12177main () 15300main ()
12178{ 15301{
@@ -12185,16 +15308,16 @@ if (sizeof (pid_t))
12185} 15308}
12186_ACEOF 15309_ACEOF
12187rm -f conftest.$ac_objext 15310rm -f conftest.$ac_objext
12188if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5 15311if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12189 (eval $ac_compile) 2>&5 15312 (eval $ac_compile) 2>&5
12190 ac_status=$? 15313 ac_status=$?
12191 echo "$as_me:12191: \$? = $ac_status" >&5 15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } && 15315 (exit $ac_status); } &&
12193 { ac_try='test -s conftest.$ac_objext' 15316 { ac_try='test -s conftest.$ac_objext'
12194 { (eval echo "$as_me:12194: \"$ac_try\"") >&5 15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5 15318 (eval $ac_try) 2>&5
12196 ac_status=$? 15319 ac_status=$?
12197 echo "$as_me:12197: \$? = $ac_status" >&5 15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then 15321 (exit $ac_status); }; }; then
12199 ac_cv_type_pid_t=yes 15322 ac_cv_type_pid_t=yes
12200else 15323else
@@ -12204,38 +15327,78 @@ ac_cv_type_pid_t=no
12204fi 15327fi
12205rm -f conftest.$ac_objext conftest.$ac_ext 15328rm -f conftest.$ac_objext conftest.$ac_ext
12206fi 15329fi
12207echo "$as_me:12207: result: $ac_cv_type_pid_t" >&5 15330echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12208echo "${ECHO_T}$ac_cv_type_pid_t" >&6 15331echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12209if test $ac_cv_type_pid_t = yes; then 15332if test $ac_cv_type_pid_t = yes; then
12210 : 15333 :
12211else 15334else
12212 15335
12213cat >>confdefs.h <<EOF 15336cat >>confdefs.h <<_ACEOF
12214#define pid_t int 15337#define pid_t int
12215EOF 15338_ACEOF
12216 15339
12217fi 15340fi
12218 15341
15342
15343
12219for ac_header in unistd.h vfork.h 15344for ac_header in unistd.h vfork.h
12220do 15345do
12221as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15346as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12222echo "$as_me:12222: checking for $ac_header" >&5 15347if eval "test \"\${$as_ac_Header+set}\" = set"; then
15348 echo "$as_me:$LINENO: checking for $ac_header" >&5
12223echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15349echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12224if eval "test \"\${$as_ac_Header+set}\" = set"; then 15350if eval "test \"\${$as_ac_Header+set}\" = set"; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6 15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15352fi
15353echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15354echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12226else 15355else
12227 cat >conftest.$ac_ext <<_ACEOF 15356 # Is the header compilable?
12228#line 12228 "configure" 15357echo "$as_me:$LINENO: checking $ac_header usability" >&5
15358echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15359cat >conftest.$ac_ext <<_ACEOF
15360#line $LINENO "configure"
15361#include "confdefs.h"
15362$ac_includes_default
15363#include <$ac_header>
15364_ACEOF
15365rm -f conftest.$ac_objext
15366if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15377 ac_header_compiler=yes
15378else
15379 echo "$as_me: failed program was:" >&5
15380cat conftest.$ac_ext >&5
15381ac_header_compiler=no
15382fi
15383rm -f conftest.$ac_objext conftest.$ac_ext
15384echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15385echo "${ECHO_T}$ac_header_compiler" >&6
15386
15387# Is the header present?
15388echo "$as_me:$LINENO: checking $ac_header presence" >&5
15389echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15390cat >conftest.$ac_ext <<_ACEOF
15391#line $LINENO "configure"
12229#include "confdefs.h" 15392#include "confdefs.h"
12230#include <$ac_header> 15393#include <$ac_header>
12231_ACEOF 15394_ACEOF
12232if { (eval echo "$as_me:12232: \"$ac_cpp conftest.$ac_ext\"") >&5 15395if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12234 ac_status=$? 15397 ac_status=$?
12235 egrep -v '^ *\+' conftest.er1 >conftest.err 15398 egrep -v '^ *\+' conftest.er1 >conftest.err
12236 rm -f conftest.er1 15399 rm -f conftest.er1
12237 cat conftest.err >&5 15400 cat conftest.err >&5
12238 echo "$as_me:12238: \$? = $ac_status" >&5 15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); } >/dev/null; then 15402 (exit $ac_status); } >/dev/null; then
12240 if test -s conftest.err; then 15403 if test -s conftest.err; then
12241 ac_cpp_err=$ac_c_preproc_warn_flag 15404 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12246,34 +15409,63 @@ else
12246 ac_cpp_err=yes 15409 ac_cpp_err=yes
12247fi 15410fi
12248if test -z "$ac_cpp_err"; then 15411if test -z "$ac_cpp_err"; then
12249 eval "$as_ac_Header=yes" 15412 ac_header_preproc=yes
12250else 15413else
12251 echo "$as_me: failed program was:" >&5 15414 echo "$as_me: failed program was:" >&5
12252 cat conftest.$ac_ext >&5 15415 cat conftest.$ac_ext >&5
12253 eval "$as_ac_Header=no" 15416 ac_header_preproc=no
12254fi 15417fi
12255rm -f conftest.err conftest.$ac_ext 15418rm -f conftest.err conftest.$ac_ext
15419echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15420echo "${ECHO_T}$ac_header_preproc" >&6
15421
15422# So? What about this header?
15423case $ac_header_compiler:$ac_header_preproc in
15424 yes:no )
15425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15426echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15428echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15429 no:yes )
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15431echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15433echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15435echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15436esac
15437echo "$as_me:$LINENO: checking for $ac_header" >&5
15438echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15439if eval "test \"\${$as_ac_Header+set}\" = set"; then
15440 echo $ECHO_N "(cached) $ECHO_C" >&6
15441else
15442 eval "$as_ac_Header=$ac_header_preproc"
12256fi 15443fi
12257echo "$as_me:12257: result: `eval echo '${'$as_ac_Header'}'`" >&5 15444echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12258echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 15445echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15446
15447fi
12259if test `eval echo '${'$as_ac_Header'}'` = yes; then 15448if test `eval echo '${'$as_ac_Header'}'` = yes; then
12260 cat >>confdefs.h <<EOF 15449 cat >>confdefs.h <<_ACEOF
12261#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15450#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12262EOF 15451_ACEOF
12263 15452
12264fi 15453fi
15454
12265done 15455done
12266 15456
15457
15458
12267for ac_func in fork vfork 15459for ac_func in fork vfork
12268do 15460do
12269as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15461as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12270echo "$as_me:12270: checking for $ac_func" >&5 15462echo "$as_me:$LINENO: checking for $ac_func" >&5
12271echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 15463echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12272if eval "test \"\${$as_ac_var+set}\" = set"; then 15464if eval "test \"\${$as_ac_var+set}\" = set"; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6 15465 echo $ECHO_N "(cached) $ECHO_C" >&6
12274else 15466else
12275 cat >conftest.$ac_ext <<_ACEOF 15467 cat >conftest.$ac_ext <<_ACEOF
12276#line 12276 "configure" 15468#line $LINENO "configure"
12277#include "confdefs.h" 15469#include "confdefs.h"
12278/* System header to define __stub macros and hopefully few prototypes, 15470/* System header to define __stub macros and hopefully few prototypes,
12279 which can conflict with char $ac_func (); below. */ 15471 which can conflict with char $ac_func (); below. */
@@ -12287,6 +15479,12 @@ extern "C"
12287char $ac_func (); 15479char $ac_func ();
12288char (*f) (); 15480char (*f) ();
12289 15481
15482#ifdef F77_DUMMY_MAIN
15483# ifdef __cplusplus
15484 extern "C"
15485# endif
15486 int F77_DUMMY_MAIN() { return 1; }
15487#endif
12290int 15488int
12291main () 15489main ()
12292{ 15490{
@@ -12304,16 +15502,16 @@ f = $ac_func;
12304} 15502}
12305_ACEOF 15503_ACEOF
12306rm -f conftest.$ac_objext conftest$ac_exeext 15504rm -f conftest.$ac_objext conftest$ac_exeext
12307if { (eval echo "$as_me:12307: \"$ac_link\"") >&5 15505if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12308 (eval $ac_link) 2>&5 15506 (eval $ac_link) 2>&5
12309 ac_status=$? 15507 ac_status=$?
12310 echo "$as_me:12310: \$? = $ac_status" >&5 15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } && 15509 (exit $ac_status); } &&
12312 { ac_try='test -s conftest$ac_exeext' 15510 { ac_try='test -s conftest$ac_exeext'
12313 { (eval echo "$as_me:12313: \"$ac_try\"") >&5 15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5 15512 (eval $ac_try) 2>&5
12315 ac_status=$? 15513 ac_status=$?
12316 echo "$as_me:12316: \$? = $ac_status" >&5 15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then 15515 (exit $ac_status); }; }; then
12318 eval "$as_ac_var=yes" 15516 eval "$as_ac_var=yes"
12319else 15517else
@@ -12323,19 +15521,19 @@ eval "$as_ac_var=no"
12323fi 15521fi
12324rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15522rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12325fi 15523fi
12326echo "$as_me:12326: result: `eval echo '${'$as_ac_var'}'`" >&5 15524echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12327echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 15525echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12328if test `eval echo '${'$as_ac_var'}'` = yes; then 15526if test `eval echo '${'$as_ac_var'}'` = yes; then
12329 cat >>confdefs.h <<EOF 15527 cat >>confdefs.h <<_ACEOF
12330#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15528#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12331EOF 15529_ACEOF
12332 15530
12333fi 15531fi
12334done 15532done
12335 15533
12336ac_cv_func_fork_works=$ac_cv_func_fork 15534ac_cv_func_fork_works=$ac_cv_func_fork
12337if test "x$ac_cv_func_fork" = xyes; then 15535if test "x$ac_cv_func_fork" = xyes; then
12338 echo "$as_me:12338: checking for working fork" >&5 15536 echo "$as_me:$LINENO: checking for working fork" >&5
12339echo $ECHO_N "checking for working fork... $ECHO_C" >&6 15537echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12340if test "${ac_cv_func_fork_works+set}" = set; then 15538if test "${ac_cv_func_fork_works+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6 15539 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12344,7 +15542,7 @@ else
12344 ac_cv_func_fork_works=cross 15542 ac_cv_func_fork_works=cross
12345else 15543else
12346 cat >conftest.$ac_ext <<_ACEOF 15544 cat >conftest.$ac_ext <<_ACEOF
12347/* By Rüdiger Kuhlmann. */ 15545/* By Ruediger Kuhlmann. */
12348 #include <sys/types.h> 15546 #include <sys/types.h>
12349 #if HAVE_UNISTD_H 15547 #if HAVE_UNISTD_H
12350 # include <unistd.h> 15548 # include <unistd.h>
@@ -12358,27 +15556,28 @@ else
12358 } 15556 }
12359_ACEOF 15557_ACEOF
12360rm -f conftest$ac_exeext 15558rm -f conftest$ac_exeext
12361if { (eval echo "$as_me:12361: \"$ac_link\"") >&5 15559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12362 (eval $ac_link) 2>&5 15560 (eval $ac_link) 2>&5
12363 ac_status=$? 15561 ac_status=$?
12364 echo "$as_me:12364: \$? = $ac_status" >&5 15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12366 { (eval echo "$as_me:12366: \"$ac_try\"") >&5 15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5 15565 (eval $ac_try) 2>&5
12368 ac_status=$? 15566 ac_status=$?
12369 echo "$as_me:12369: \$? = $ac_status" >&5 15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then 15568 (exit $ac_status); }; }; then
12371 ac_cv_func_fork_works=yes 15569 ac_cv_func_fork_works=yes
12372else 15570else
12373 echo "$as_me: program exited with status $ac_status" >&5 15571 echo "$as_me: program exited with status $ac_status" >&5
12374echo "$as_me: failed program was:" >&5 15572echo "$as_me: failed program was:" >&5
12375cat conftest.$ac_ext >&5 15573cat conftest.$ac_ext >&5
15574( exit $ac_status )
12376ac_cv_func_fork_works=no 15575ac_cv_func_fork_works=no
12377fi 15576fi
12378rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15577rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12379fi 15578fi
12380fi 15579fi
12381echo "$as_me:12381: result: $ac_cv_func_fork_works" >&5 15580echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
12382echo "${ECHO_T}$ac_cv_func_fork_works" >&6 15581echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12383 15582
12384fi 15583fi
@@ -12392,12 +15591,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then
12392 ac_cv_func_fork_works=yes 15591 ac_cv_func_fork_works=yes
12393 ;; 15592 ;;
12394 esac 15593 esac
12395 { echo "$as_me:12395: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 15594 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12396echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 15595echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12397fi 15596fi
12398ac_cv_func_vfork_works=$ac_cv_func_vfork 15597ac_cv_func_vfork_works=$ac_cv_func_vfork
12399if test "x$ac_cv_func_vfork" = xyes; then 15598if test "x$ac_cv_func_vfork" = xyes; then
12400 echo "$as_me:12400: checking for working vfork" >&5 15599 echo "$as_me:$LINENO: checking for working vfork" >&5
12401echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 15600echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12402if test "${ac_cv_func_vfork_works+set}" = set; then 15601if test "${ac_cv_func_vfork_works+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6 15602 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12406,7 +15605,7 @@ else
12406 ac_cv_func_vfork_works=cross 15605 ac_cv_func_vfork_works=cross
12407else 15606else
12408 cat >conftest.$ac_ext <<_ACEOF 15607 cat >conftest.$ac_ext <<_ACEOF
12409#line 12409 "configure" 15608#line $LINENO "configure"
12410#include "confdefs.h" 15609#include "confdefs.h"
12411/* Thanks to Paul Eggert for this test. */ 15610/* Thanks to Paul Eggert for this test. */
12412#include <stdio.h> 15611#include <stdio.h>
@@ -12503,67 +15702,74 @@ main ()
12503} 15702}
12504_ACEOF 15703_ACEOF
12505rm -f conftest$ac_exeext 15704rm -f conftest$ac_exeext
12506if { (eval echo "$as_me:12506: \"$ac_link\"") >&5 15705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12507 (eval $ac_link) 2>&5 15706 (eval $ac_link) 2>&5
12508 ac_status=$? 15707 ac_status=$?
12509 echo "$as_me:12509: \$? = $ac_status" >&5 15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12511 { (eval echo "$as_me:12511: \"$ac_try\"") >&5 15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5 15711 (eval $ac_try) 2>&5
12513 ac_status=$? 15712 ac_status=$?
12514 echo "$as_me:12514: \$? = $ac_status" >&5 15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then 15714 (exit $ac_status); }; }; then
12516 ac_cv_func_vfork_works=yes 15715 ac_cv_func_vfork_works=yes
12517else 15716else
12518 echo "$as_me: program exited with status $ac_status" >&5 15717 echo "$as_me: program exited with status $ac_status" >&5
12519echo "$as_me: failed program was:" >&5 15718echo "$as_me: failed program was:" >&5
12520cat conftest.$ac_ext >&5 15719cat conftest.$ac_ext >&5
15720( exit $ac_status )
12521ac_cv_func_vfork_works=no 15721ac_cv_func_vfork_works=no
12522fi 15722fi
12523rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15723rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12524fi 15724fi
12525fi 15725fi
12526echo "$as_me:12526: result: $ac_cv_func_vfork_works" >&5 15726echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
12527echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 15727echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12528 15728
12529fi; 15729fi;
12530if test "x$ac_cv_func_fork_works" = xcross; then 15730if test "x$ac_cv_func_fork_works" = xcross; then
12531 ac_cv_func_vfork_works=ac_cv_func_vfork 15731 ac_cv_func_vfork_works=ac_cv_func_vfork
12532 { echo "$as_me:12532: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 15732 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
12533echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 15733echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
12534fi 15734fi
12535 15735
12536if test "x$ac_cv_func_vfork_works" = xyes; then 15736if test "x$ac_cv_func_vfork_works" = xyes; then
12537 15737
12538cat >>confdefs.h <<\EOF 15738cat >>confdefs.h <<\_ACEOF
12539#define HAVE_WORKING_VFORK 1 15739#define HAVE_WORKING_VFORK 1
12540EOF 15740_ACEOF
12541 15741
12542else 15742else
12543 15743
12544cat >>confdefs.h <<\EOF 15744cat >>confdefs.h <<\_ACEOF
12545#define vfork fork 15745#define vfork fork
12546EOF 15746_ACEOF
12547 15747
12548fi 15748fi
12549if test "x$ac_cv_func_fork_works" = xyes; then 15749if test "x$ac_cv_func_fork_works" = xyes; then
12550 15750
12551cat >>confdefs.h <<\EOF 15751cat >>confdefs.h <<\_ACEOF
12552#define HAVE_WORKING_FORK 1 15752#define HAVE_WORKING_FORK 1
12553EOF 15753_ACEOF
12554 15754
12555fi 15755fi
12556 15756
12557# Fixme: This should be replaced when we have autoconf 2.14. 15757
12558echo "$as_me:12558: checking for size_t" >&5 15758echo "$as_me:$LINENO: checking for size_t" >&5
12559echo $ECHO_N "checking for size_t... $ECHO_C" >&6 15759echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12560if test "${ac_cv_type_size_t+set}" = set; then 15760if test "${ac_cv_type_size_t+set}" = set; then
12561 echo $ECHO_N "(cached) $ECHO_C" >&6 15761 echo $ECHO_N "(cached) $ECHO_C" >&6
12562else 15762else
12563 cat >conftest.$ac_ext <<_ACEOF 15763 cat >conftest.$ac_ext <<_ACEOF
12564#line 12564 "configure" 15764#line $LINENO "configure"
12565#include "confdefs.h" 15765#include "confdefs.h"
12566$ac_includes_default 15766$ac_includes_default
15767#ifdef F77_DUMMY_MAIN
15768# ifdef __cplusplus
15769 extern "C"
15770# endif
15771 int F77_DUMMY_MAIN() { return 1; }
15772#endif
12567int 15773int
12568main () 15774main ()
12569{ 15775{
@@ -12576,16 +15782,16 @@ if (sizeof (size_t))
12576} 15782}
12577_ACEOF 15783_ACEOF
12578rm -f conftest.$ac_objext 15784rm -f conftest.$ac_objext
12579if { (eval echo "$as_me:12579: \"$ac_compile\"") >&5 15785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12580 (eval $ac_compile) 2>&5 15786 (eval $ac_compile) 2>&5
12581 ac_status=$? 15787 ac_status=$?
12582 echo "$as_me:12582: \$? = $ac_status" >&5 15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } && 15789 (exit $ac_status); } &&
12584 { ac_try='test -s conftest.$ac_objext' 15790 { ac_try='test -s conftest.$ac_objext'
12585 { (eval echo "$as_me:12585: \"$ac_try\"") >&5 15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12586 (eval $ac_try) 2>&5 15792 (eval $ac_try) 2>&5
12587 ac_status=$? 15793 ac_status=$?
12588 echo "$as_me:12588: \$? = $ac_status" >&5 15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); }; }; then 15795 (exit $ac_status); }; }; then
12590 ac_cv_type_size_t=yes 15796 ac_cv_type_size_t=yes
12591else 15797else
@@ -12595,18 +15801,18 @@ ac_cv_type_size_t=no
12595fi 15801fi
12596rm -f conftest.$ac_objext conftest.$ac_ext 15802rm -f conftest.$ac_objext conftest.$ac_ext
12597fi 15803fi
12598echo "$as_me:12598: result: $ac_cv_type_size_t" >&5 15804echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12599echo "${ECHO_T}$ac_cv_type_size_t" >&6 15805echo "${ECHO_T}$ac_cv_type_size_t" >&6
12600if test $ac_cv_type_size_t = yes; then 15806if test $ac_cv_type_size_t = yes; then
12601 :
12602else
12603 15807
12604cat >>confdefs.h <<EOF 15808cat >>confdefs.h <<_ACEOF
12605#define size_t unsigned 15809#define HAVE_SIZE_T 1
12606EOF 15810_ACEOF
15811
12607 15812
12608fi 15813fi
12609 15814
15815
12610# Set up the CFLAGS for real compilation, so we can substitute it. 15816# Set up the CFLAGS for real compilation, so we can substitute it.
12611CFLAGS="$REAL_CFLAGS" 15817CFLAGS="$REAL_CFLAGS"
12612CPPFLAGS="$REAL_CPPFLAGS" 15818CPPFLAGS="$REAL_CPPFLAGS"
@@ -12615,7 +15821,7 @@ CPPFLAGS="$REAL_CPPFLAGS"
12615version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 15821version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12616 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 15822 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12617if test x"${version}" = x; then 15823if test x"${version}" = x; then
12618 { { echo "$as_me:12618: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 15824 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12619echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 15825echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12620 { (exit 1); exit 1; }; } 15826 { (exit 1); exit 1; }; }
12621fi 15827fi
@@ -12623,108 +15829,188 @@ fi
12623### Specify what sort of things we'll be editing into Makefile and config.h. 15829### Specify what sort of things we'll be editing into Makefile and config.h.
12624### Use configuration here uncanonicalized to avoid exceeding size limits. 15830### Use configuration here uncanonicalized to avoid exceeding size limits.
12625 15831
12626cat >>confdefs.h <<EOF 15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865cat >>confdefs.h <<_ACEOF
12627#define EMACS_CONFIGURATION "${canonical}" 15866#define EMACS_CONFIGURATION "${canonical}"
12628EOF 15867_ACEOF
15868
12629 15869
12630cat >>confdefs.h <<EOF 15870cat >>confdefs.h <<_ACEOF
12631#define EMACS_CONFIG_OPTIONS "${ac_configure_args}" 15871#define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
12632EOF 15872_ACEOF
12633 15873
12634cat >>confdefs.h <<EOF 15874
15875cat >>confdefs.h <<_ACEOF
12635#define config_machfile "${machfile}" 15876#define config_machfile "${machfile}"
12636EOF 15877_ACEOF
12637 15878
12638cat >>confdefs.h <<EOF 15879
15880cat >>confdefs.h <<_ACEOF
12639#define config_opsysfile "${opsysfile}" 15881#define config_opsysfile "${opsysfile}"
12640EOF 15882_ACEOF
12641 15883
12642cat >>confdefs.h <<EOF 15884
15885cat >>confdefs.h <<_ACEOF
12643#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} 15886#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
12644EOF 15887_ACEOF
12645 15888
12646cat >>confdefs.h <<EOF 15889
15890cat >>confdefs.h <<_ACEOF
12647#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} 15891#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
12648EOF 15892_ACEOF
12649 15893
12650cat >>confdefs.h <<EOF 15894
15895cat >>confdefs.h <<_ACEOF
12651#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} 15896#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
12652EOF 15897_ACEOF
12653 15898
12654cat >>confdefs.h <<EOF 15899
15900cat >>confdefs.h <<_ACEOF
12655#define UNEXEC_SRC ${UNEXEC_SRC} 15901#define UNEXEC_SRC ${UNEXEC_SRC}
12656EOF 15902_ACEOF
15903
12657 15904
12658if test "${HAVE_X_WINDOWS}" = "yes" ; then 15905if test "${HAVE_X_WINDOWS}" = "yes" ; then
12659 15906
12660cat >>confdefs.h <<\EOF 15907cat >>confdefs.h <<\_ACEOF
12661#define HAVE_X_WINDOWS 1 15908#define HAVE_X_WINDOWS 1
12662EOF 15909_ACEOF
12663 15910
12664fi 15911fi
12665if test "${USE_X_TOOLKIT}" != "none" ; then 15912if test "${USE_X_TOOLKIT}" != "none" ; then
12666 15913
12667cat >>confdefs.h <<\EOF 15914cat >>confdefs.h <<\_ACEOF
12668#define USE_X_TOOLKIT 1 15915#define USE_X_TOOLKIT 1
12669EOF 15916_ACEOF
12670 15917
12671fi 15918fi
12672if test "${HAVE_X11}" = "yes" ; then 15919if test "${HAVE_X11}" = "yes" ; then
12673 15920
12674cat >>confdefs.h <<\EOF 15921cat >>confdefs.h <<\_ACEOF
12675#define HAVE_X11 1 15922#define HAVE_X11 1
12676EOF 15923_ACEOF
12677 15924
12678fi 15925fi
12679if test "${HAVE_XFREE386}" = "yes" ; then 15926if test "${HAVE_XFREE386}" = "yes" ; then
12680 15927
12681cat >>confdefs.h <<\EOF 15928cat >>confdefs.h <<\_ACEOF
12682#define HAVE_XFREE386 1 15929#define HAVE_XFREE386 1
12683EOF 15930_ACEOF
12684 15931
12685fi 15932fi
12686if test "${HAVE_MENUS}" = "yes" ; then 15933if test "${HAVE_MENUS}" = "yes" ; then
12687 15934
12688cat >>confdefs.h <<\EOF 15935cat >>confdefs.h <<\_ACEOF
12689#define HAVE_MENUS 1 15936#define HAVE_MENUS 1
12690EOF 15937_ACEOF
12691 15938
12692fi 15939fi
12693if test "${GNU_MALLOC}" = "yes" ; then 15940if test "${GNU_MALLOC}" = "yes" ; then
12694 15941
12695cat >>confdefs.h <<\EOF 15942cat >>confdefs.h <<\_ACEOF
12696#define GNU_MALLOC 1 15943#define GNU_MALLOC 1
12697EOF 15944_ACEOF
12698 15945
12699fi 15946fi
12700if test "${REL_ALLOC}" = "yes" ; then 15947if test "${REL_ALLOC}" = "yes" ; then
12701 15948
12702cat >>confdefs.h <<\EOF 15949cat >>confdefs.h <<\_ACEOF
12703#define REL_ALLOC 1 15950#define REL_ALLOC 1
12704EOF 15951_ACEOF
12705 15952
12706fi 15953fi
12707 15954
15955
12708for ac_header in nlist.h 15956for ac_header in nlist.h
12709do 15957do
12710as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15958as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12711echo "$as_me:12711: checking for $ac_header" >&5 15959if eval "test \"\${$as_ac_Header+set}\" = set"; then
15960 echo "$as_me:$LINENO: checking for $ac_header" >&5
12712echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15961echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713if eval "test \"\${$as_ac_Header+set}\" = set"; then 15962if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6 15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15964fi
15965echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15966echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12715else 15967else
12716 cat >conftest.$ac_ext <<_ACEOF 15968 # Is the header compilable?
12717#line 12717 "configure" 15969echo "$as_me:$LINENO: checking $ac_header usability" >&5
15970echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15971cat >conftest.$ac_ext <<_ACEOF
15972#line $LINENO "configure"
15973#include "confdefs.h"
15974$ac_includes_default
15975#include <$ac_header>
15976_ACEOF
15977rm -f conftest.$ac_objext
15978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try='test -s conftest.$ac_objext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_header_compiler=yes
15990else
15991 echo "$as_me: failed program was:" >&5
15992cat conftest.$ac_ext >&5
15993ac_header_compiler=no
15994fi
15995rm -f conftest.$ac_objext conftest.$ac_ext
15996echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15997echo "${ECHO_T}$ac_header_compiler" >&6
15998
15999# Is the header present?
16000echo "$as_me:$LINENO: checking $ac_header presence" >&5
16001echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16002cat >conftest.$ac_ext <<_ACEOF
16003#line $LINENO "configure"
12718#include "confdefs.h" 16004#include "confdefs.h"
12719#include <$ac_header> 16005#include <$ac_header>
12720_ACEOF 16006_ACEOF
12721if { (eval echo "$as_me:12721: \"$ac_cpp conftest.$ac_ext\"") >&5 16007if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12723 ac_status=$? 16009 ac_status=$?
12724 egrep -v '^ *\+' conftest.er1 >conftest.err 16010 egrep -v '^ *\+' conftest.er1 >conftest.err
12725 rm -f conftest.er1 16011 rm -f conftest.er1
12726 cat conftest.err >&5 16012 cat conftest.err >&5
12727 echo "$as_me:12727: \$? = $ac_status" >&5 16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } >/dev/null; then 16014 (exit $ac_status); } >/dev/null; then
12729 if test -s conftest.err; then 16015 if test -s conftest.err; then
12730 ac_cpp_err=$ac_c_preproc_warn_flag 16016 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12735,28 +16021,60 @@ else
12735 ac_cpp_err=yes 16021 ac_cpp_err=yes
12736fi 16022fi
12737if test -z "$ac_cpp_err"; then 16023if test -z "$ac_cpp_err"; then
12738 eval "$as_ac_Header=yes" 16024 ac_header_preproc=yes
12739else 16025else
12740 echo "$as_me: failed program was:" >&5 16026 echo "$as_me: failed program was:" >&5
12741 cat conftest.$ac_ext >&5 16027 cat conftest.$ac_ext >&5
12742 eval "$as_ac_Header=no" 16028 ac_header_preproc=no
12743fi 16029fi
12744rm -f conftest.err conftest.$ac_ext 16030rm -f conftest.err conftest.$ac_ext
16031echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16032echo "${ECHO_T}$ac_header_preproc" >&6
16033
16034# So? What about this header?
16035case $ac_header_compiler:$ac_header_preproc in
16036 yes:no )
16037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16038echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16040echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16041 no:yes )
16042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16043echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16045echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16047echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16048esac
16049echo "$as_me:$LINENO: checking for $ac_header" >&5
16050echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16051if eval "test \"\${$as_ac_Header+set}\" = set"; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053else
16054 eval "$as_ac_Header=$ac_header_preproc"
12745fi 16055fi
12746echo "$as_me:12746: result: `eval echo '${'$as_ac_Header'}'`" >&5 16056echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12747echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16057echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16058
16059fi
12748if test `eval echo '${'$as_ac_Header'}'` = yes; then 16060if test `eval echo '${'$as_ac_Header'}'` = yes; then
12749 cat >>confdefs.h <<EOF 16061 cat >>confdefs.h <<_ACEOF
12750#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16062#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12751EOF 16063_ACEOF
12752 16064
12753cat >>confdefs.h <<\EOF 16065cat >>confdefs.h <<\_ACEOF
12754#define NLIST_STRUCT 1 16066#define NLIST_STRUCT 1
12755EOF 16067_ACEOF
12756 16068
12757fi 16069fi
16070
12758done 16071done
12759 16072
16073
16074
16075
16076
16077
12760#### Report on what we decided to do. 16078#### Report on what we decided to do.
12761echo " 16079echo "
12762Configured for \`${canonical}'. 16080Configured for \`${canonical}'.
@@ -12803,7 +16121,7 @@ test "${exec_prefix}" != NONE &&
12803## C preprocessor. 16121## C preprocessor.
12804 16122
12805cat >conftest.$ac_ext <<_ACEOF 16123cat >conftest.$ac_ext <<_ACEOF
12806#line 12806 "configure" 16124#line $LINENO "configure"
12807#include "confdefs.h" 16125#include "confdefs.h"
12808yes..yes 16126yes..yes
12809_ACEOF 16127_ACEOF
@@ -12815,6 +16133,7 @@ else
12815fi 16133fi
12816rm -f conftest* 16134rm -f conftest*
12817 16135
16136
12818ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" 16137ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"
12819ac_config_commands="$ac_config_commands default" 16138ac_config_commands="$ac_config_commands default"
12820cat >confcache <<\_ACEOF 16139cat >confcache <<\_ACEOF
@@ -12893,25 +16212,29 @@ fi
12893 16212
12894DEFS=-DHAVE_CONFIG_H 16213DEFS=-DHAVE_CONFIG_H
12895 16214
16215
12896: ${CONFIG_STATUS=./config.status} 16216: ${CONFIG_STATUS=./config.status}
12897ac_clean_files_save=$ac_clean_files 16217ac_clean_files_save=$ac_clean_files
12898ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16218ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12899{ echo "$as_me:12899: creating $CONFIG_STATUS" >&5 16219{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12900echo "$as_me: creating $CONFIG_STATUS" >&6;} 16220echo "$as_me: creating $CONFIG_STATUS" >&6;}
12901cat >$CONFIG_STATUS <<_ACEOF 16221cat >$CONFIG_STATUS <<_ACEOF
12902#! $SHELL 16222#! $SHELL
12903# Generated automatically by configure. 16223# Generated by $as_me.
12904# Run this file to recreate the current configuration. 16224# Run this file to recreate the current configuration.
12905# Compiler output produced by configure, useful for debugging 16225# Compiler output produced by configure, useful for debugging
12906# configure, is in config.log if it exists. 16226# configure, is in config.log if it exists.
12907 16227
12908debug=false 16228debug=false
12909SHELL=\${CONFIG_SHELL-$SHELL} 16229SHELL=\${CONFIG_SHELL-$SHELL}
12910ac_cs_invocation="\$0 \$@"
12911
12912_ACEOF 16230_ACEOF
12913 16231
12914cat >>$CONFIG_STATUS <<\_ACEOF 16232cat >>$CONFIG_STATUS <<\_ACEOF
16233
16234## --------------------- ##
16235## M4sh Initialization. ##
16236## --------------------- ##
16237
12915# Be Bourne compatible 16238# Be Bourne compatible
12916if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16239if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12917 emulate sh 16240 emulate sh
@@ -12920,8 +16243,167 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12920 set -o posix 16243 set -o posix
12921fi 16244fi
12922 16245
16246# NLS nuisances.
16247# Support unset when possible.
16248if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16249 as_unset=unset
16250else
16251 as_unset=false
16252fi
16253
16254(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
16255 { $as_unset LANG || test "${LANG+set}" != set; } ||
16256 { LANG=C; export LANG; }
16257(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
16258 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
16259 { LC_ALL=C; export LC_ALL; }
16260(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
16261 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
16262 { LC_TIME=C; export LC_TIME; }
16263(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
16264 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
16265 { LC_CTYPE=C; export LC_CTYPE; }
16266(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
16267 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
16268 { LANGUAGE=C; export LANGUAGE; }
16269(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
16270 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
16271 { LC_COLLATE=C; export LC_COLLATE; }
16272(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
16273 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
16274 { LC_NUMERIC=C; export LC_NUMERIC; }
16275(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
16276 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
16277 { LC_MESSAGES=C; export LC_MESSAGES; }
16278
16279
12923# Name of the executable. 16280# Name of the executable.
12924as_me=`echo "$0" |sed 's,.*[\\/],,'` 16281as_me=`(basename "$0") 2>/dev/null ||
16282$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16283 X"$0" : 'X\(//\)$' \| \
16284 X"$0" : 'X\(/\)$' \| \
16285 . : '\(.\)' 2>/dev/null ||
16286echo X/"$0" |
16287 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16288 /^X\/\(\/\/\)$/{ s//\1/; q; }
16289 /^X\/\(\/\).*/{ s//\1/; q; }
16290 s/.*/./; q'`
16291
16292# PATH needs CR, and LINENO needs CR and PATH.
16293# Avoid depending upon Character Ranges.
16294as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16295as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16296as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16297as_cr_digits='0123456789'
16298as_cr_alnum=$as_cr_Letters$as_cr_digits
16299
16300# The user is always right.
16301if test "${PATH_SEPARATOR+set}" != set; then
16302 echo "#! /bin/sh" >conftest.sh
16303 echo "exit 0" >>conftest.sh
16304 chmod +x conftest.sh
16305 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
16306 PATH_SEPARATOR=';'
16307 else
16308 PATH_SEPARATOR=:
16309 fi
16310 rm -f conftest.sh
16311fi
16312
16313
16314 as_lineno_1=$LINENO
16315 as_lineno_2=$LINENO
16316 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16317 test "x$as_lineno_1" != "x$as_lineno_2" &&
16318 test "x$as_lineno_3" = "x$as_lineno_2" || {
16319 # Find who we are. Look in the path if we contain no path at all
16320 # relative or not.
16321 case $0 in
16322 *[\\/]* ) as_myself=$0 ;;
16323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16324for as_dir in $PATH
16325do
16326 IFS=$as_save_IFS
16327 test -z "$as_dir" && as_dir=.
16328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16329done
16330
16331 ;;
16332 esac
16333 # We did not find ourselves, most probably we were run as `sh COMMAND'
16334 # in which case we are not to be found in the path.
16335 if test "x$as_myself" = x; then
16336 as_myself=$0
16337 fi
16338 if test ! -f "$as_myself"; then
16339 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16340echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16341 { (exit 1); exit 1; }; }
16342 fi
16343 case $CONFIG_SHELL in
16344 '')
16345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16346for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16347do
16348 IFS=$as_save_IFS
16349 test -z "$as_dir" && as_dir=.
16350 for as_base in sh bash ksh sh5; do
16351 case $as_dir in
16352 /*)
16353 if ("$as_dir/$as_base" -c '
16354 as_lineno_1=$LINENO
16355 as_lineno_2=$LINENO
16356 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16357 test "x$as_lineno_1" != "x$as_lineno_2" &&
16358 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16359 CONFIG_SHELL=$as_dir/$as_base
16360 export CONFIG_SHELL
16361 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16362 fi;;
16363 esac
16364 done
16365done
16366;;
16367 esac
16368
16369 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16370 # uniformly replaced by the line number. The first 'sed' inserts a
16371 # line-number line before each line; the second 'sed' does the real
16372 # work. The second script uses 'N' to pair each line-number line
16373 # with the numbered line, and appends trailing '-' during
16374 # substitution so that $LINENO is not a special case at line end.
16375 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16376 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16377 sed '=' <$as_myself |
16378 sed '
16379 N
16380 s,$,-,
16381 : loop
16382 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16383 t loop
16384 s,-$,,
16385 s,^['$as_cr_digits']*\n,,
16386 ' >$as_me.lineno &&
16387 chmod +x $as_me.lineno ||
16388 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16389echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16390 { (exit 1); exit 1; }; }
16391
16392 # Don't try to exec as it changes $[0], causing all sort of problems
16393 # (the dirname of $[0] is not the place where we might find the
16394 # original and so on. Autoconf is especially sensible to this).
16395 . ./$as_me.lineno
16396 # Exit status is that of the last command.
16397 exit
16398}
16399
16400
16401case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16402 *c*,-n*) ECHO_N= ECHO_C='
16403' ECHO_T=' ' ;;
16404 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
16405 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
16406esac
12925 16407
12926if expr a : '\(a\)' >/dev/null 2>&1; then 16408if expr a : '\(a\)' >/dev/null 2>&1; then
12927 as_expr=expr 16409 as_expr=expr
@@ -12949,22 +16431,12 @@ rm -f conf$$ conf$$.exe conf$$.file
12949 16431
12950as_executable_p="test -f" 16432as_executable_p="test -f"
12951 16433
12952# Support unset when possible. 16434# Sed expression to map a string onto a valid CPP name.
12953if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 16435as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
12954 as_unset=unset 16436
12955else 16437# Sed expression to map a string onto a valid variable name.
12956 as_unset=false 16438as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
12957fi
12958 16439
12959# NLS nuisances.
12960$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
12961$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
12962$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
12963$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
12964$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
12965$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
12966$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
12967$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
12968 16440
12969# IFS 16441# IFS
12970# We need space, tab and new line, in precisely that order. 16442# We need space, tab and new line, in precisely that order.
@@ -12973,10 +16445,34 @@ as_nl='
12973IFS=" $as_nl" 16445IFS=" $as_nl"
12974 16446
12975# CDPATH. 16447# CDPATH.
12976$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 16448$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
12977 16449
12978exec 6>&1 16450exec 6>&1
12979 16451
16452# Open the log real soon, to keep \$[0] and so on meaningful, and to
16453# report actual input values of CONFIG_FILES etc. instead of their
16454# values after options handling. Logging --version etc. is OK.
16455exec 5>>config.log
16456{
16457 echo
16458 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16459## Running $as_me. ##
16460_ASBOX
16461} >&5
16462cat >&5 <<_CSEOF
16463
16464This file was extended by $as_me, which was
16465generated by GNU Autoconf 2.53. Invocation command line was
16466
16467 CONFIG_FILES = $CONFIG_FILES
16468 CONFIG_HEADERS = $CONFIG_HEADERS
16469 CONFIG_LINKS = $CONFIG_LINKS
16470 CONFIG_COMMANDS = $CONFIG_COMMANDS
16471 $ $0 $@
16472
16473_CSEOF
16474echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16475echo >&5
12980_ACEOF 16476_ACEOF
12981 16477
12982# Files that config.status was made for. 16478# Files that config.status was made for.
@@ -12996,7 +16492,7 @@ if test -n "$ac_config_commands"; then
12996 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 16492 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12997fi 16493fi
12998 16494
12999cat >>$CONFIG_STATUS <<\EOF 16495cat >>$CONFIG_STATUS <<\_ACEOF
13000 16496
13001ac_cs_usage="\ 16497ac_cs_usage="\
13002\`$as_me' instantiates files from templates according to the 16498\`$as_me' instantiates files from templates according to the
@@ -13023,12 +16519,12 @@ Configuration commands:
13023$config_commands 16519$config_commands
13024 16520
13025Report bugs to <bug-autoconf@gnu.org>." 16521Report bugs to <bug-autoconf@gnu.org>."
13026EOF 16522_ACEOF
13027 16523
13028cat >>$CONFIG_STATUS <<EOF 16524cat >>$CONFIG_STATUS <<_ACEOF
13029ac_cs_version="\\ 16525ac_cs_version="\\
13030config.status 16526config.status
13031configured by $0, generated by GNU Autoconf 2.52, 16527configured by $0, generated by GNU Autoconf 2.53,
13032 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 16528 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13033 16529
13034Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 16530Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
@@ -13037,9 +16533,9 @@ This config.status script is free software; the Free Software Foundation
13037gives unlimited permission to copy, distribute and modify it." 16533gives unlimited permission to copy, distribute and modify it."
13038srcdir=$srcdir 16534srcdir=$srcdir
13039INSTALL="$INSTALL" 16535INSTALL="$INSTALL"
13040EOF 16536_ACEOF
13041 16537
13042cat >>$CONFIG_STATUS <<\EOF 16538cat >>$CONFIG_STATUS <<\_ACEOF
13043# If no file are specified by the user, then we need to provide default 16539# If no file are specified by the user, then we need to provide default
13044# value. By we need to know if files were specified by the user. 16540# value. By we need to know if files were specified by the user.
13045ac_need_defaults=: 16541ac_need_defaults=:
@@ -13061,18 +16557,18 @@ do
13061 16557
13062 case $1 in 16558 case $1 in
13063 # Handling of the options. 16559 # Handling of the options.
13064EOF 16560_ACEOF
13065cat >>$CONFIG_STATUS <<EOF 16561cat >>$CONFIG_STATUS <<_ACEOF
13066 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16562 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13067 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 16563 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
13068 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 16564 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
13069EOF 16565_ACEOF
13070cat >>$CONFIG_STATUS <<\EOF 16566cat >>$CONFIG_STATUS <<\_ACEOF
13071 --version | --vers* | -V ) 16567 --version | --vers* | -V )
13072 echo "$ac_cs_version"; exit 0 ;; 16568 echo "$ac_cs_version"; exit 0 ;;
13073 --he | --h) 16569 --he | --h)
13074 # Conflict between --help and --header 16570 # Conflict between --help and --header
13075 { { echo "$as_me:13075: error: ambiguous option: $1 16571 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13076Try \`$0 --help' for more information." >&5 16572Try \`$0 --help' for more information." >&5
13077echo "$as_me: error: ambiguous option: $1 16573echo "$as_me: error: ambiguous option: $1
13078Try \`$0 --help' for more information." >&2;} 16574Try \`$0 --help' for more information." >&2;}
@@ -13091,7 +16587,7 @@ Try \`$0 --help' for more information." >&2;}
13091 ac_need_defaults=false;; 16587 ac_need_defaults=false;;
13092 16588
13093 # This is an error. 16589 # This is an error.
13094 -*) { { echo "$as_me:13094: error: unrecognized option: $1 16590 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13095Try \`$0 --help' for more information." >&5 16591Try \`$0 --help' for more information." >&5
13096echo "$as_me: error: unrecognized option: $1 16592echo "$as_me: error: unrecognized option: $1
13097Try \`$0 --help' for more information." >&2;} 16593Try \`$0 --help' for more information." >&2;}
@@ -13103,34 +16599,20 @@ Try \`$0 --help' for more information." >&2;}
13103 shift 16599 shift
13104done 16600done
13105 16601
13106exec 5>>config.log
13107cat >&5 << _ACEOF
13108
13109## ----------------------- ##
13110## Running config.status. ##
13111## ----------------------- ##
13112
13113This file was extended by $as_me 2.52, executed with
13114 CONFIG_FILES = $CONFIG_FILES
13115 CONFIG_HEADERS = $CONFIG_HEADERS
13116 CONFIG_LINKS = $CONFIG_LINKS
13117 CONFIG_COMMANDS = $CONFIG_COMMANDS
13118 > $ac_cs_invocation
13119on `(hostname || uname -n) 2>/dev/null | sed 1q`
13120
13121_ACEOF 16602_ACEOF
13122EOF
13123 16603
13124cat >>$CONFIG_STATUS <<EOF 16604cat >>$CONFIG_STATUS <<_ACEOF
13125# 16605#
13126# INIT-COMMANDS section. 16606# INIT-COMMANDS section.
13127# 16607#
13128 16608
13129GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" 16609GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
13130 16610
13131EOF 16611_ACEOF
16612
16613
13132 16614
13133cat >>$CONFIG_STATUS <<\EOF 16615cat >>$CONFIG_STATUS <<\_ACEOF
13134for ac_config_target in $ac_config_targets 16616for ac_config_target in $ac_config_targets
13135do 16617do
13136 case "$ac_config_target" in 16618 case "$ac_config_target" in
@@ -13147,7 +16629,7 @@ do
13147 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 16629 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13148 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 16630 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13149 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 16631 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13150 *) { { echo "$as_me:13150: error: invalid argument: $ac_config_target" >&5 16632 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13151echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16633echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13152 { (exit 1); exit 1; }; };; 16634 { (exit 1); exit 1; }; };;
13153 esac 16635 esac
@@ -13185,9 +16667,9 @@ $debug ||
13185 { (exit 1); exit 1; } 16667 { (exit 1); exit 1; }
13186} 16668}
13187 16669
13188EOF 16670_ACEOF
13189 16671
13190cat >>$CONFIG_STATUS <<EOF 16672cat >>$CONFIG_STATUS <<_ACEOF
13191 16673
13192# 16674#
13193# CONFIG_FILES section. 16675# CONFIG_FILES section.
@@ -13200,6 +16682,12 @@ if test -n "\$CONFIG_FILES"; then
13200 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 16682 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13201 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 16683 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13202s,@SHELL@,$SHELL,;t t 16684s,@SHELL@,$SHELL,;t t
16685s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16686s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16687s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16688s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16689s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16690s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13203s,@exec_prefix@,$exec_prefix,;t t 16691s,@exec_prefix@,$exec_prefix,;t t
13204s,@prefix@,$prefix,;t t 16692s,@prefix@,$prefix,;t t
13205s,@program_transform_name@,$program_transform_name,;t t 16693s,@program_transform_name@,$program_transform_name,;t t
@@ -13215,19 +16703,13 @@ s,@includedir@,$includedir,;t t
13215s,@oldincludedir@,$oldincludedir,;t t 16703s,@oldincludedir@,$oldincludedir,;t t
13216s,@infodir@,$infodir,;t t 16704s,@infodir@,$infodir,;t t
13217s,@mandir@,$mandir,;t t 16705s,@mandir@,$mandir,;t t
13218s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13219s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13220s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13221s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13222s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13223s,@build_alias@,$build_alias,;t t 16706s,@build_alias@,$build_alias,;t t
13224s,@host_alias@,$host_alias,;t t 16707s,@host_alias@,$host_alias,;t t
13225s,@target_alias@,$target_alias,;t t 16708s,@target_alias@,$target_alias,;t t
16709s,@DEFS@,$DEFS,;t t
13226s,@ECHO_C@,$ECHO_C,;t t 16710s,@ECHO_C@,$ECHO_C,;t t
13227s,@ECHO_N@,$ECHO_N,;t t 16711s,@ECHO_N@,$ECHO_N,;t t
13228s,@ECHO_T@,$ECHO_T,;t t 16712s,@ECHO_T@,$ECHO_T,;t t
13229s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13230s,@DEFS@,$DEFS,;t t
13231s,@LIBS@,$LIBS,;t t 16713s,@LIBS@,$LIBS,;t t
13232s,@build@,$build,;t t 16714s,@build@,$build,;t t
13233s,@build_cpu@,$build_cpu,;t t 16715s,@build_cpu@,$build_cpu,;t t
@@ -13249,7 +16731,6 @@ s,@CPP@,$CPP,;t t
13249s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 16731s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13250s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 16732s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13251s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16733s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13252s,@YACC@,$YACC,;t t
13253s,@RANLIB@,$RANLIB,;t t 16734s,@RANLIB@,$RANLIB,;t t
13254s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16735s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13255s,@LIBSOUND@,$LIBSOUND,;t t 16736s,@LIBSOUND@,$LIBSOUND,;t t
@@ -13284,9 +16765,9 @@ s,@machfile@,$machfile,;t t
13284s,@opsysfile@,$opsysfile,;t t 16765s,@opsysfile@,$opsysfile,;t t
13285CEOF 16766CEOF
13286 16767
13287EOF 16768_ACEOF
13288 16769
13289 cat >>$CONFIG_STATUS <<\EOF 16770 cat >>$CONFIG_STATUS <<\_ACEOF
13290 # Split the substitutions into bite-sized pieces for seds with 16771 # Split the substitutions into bite-sized pieces for seds with
13291 # small command number limits, like on Digital OSF/1 and HP-UX. 16772 # small command number limits, like on Digital OSF/1 and HP-UX.
13292 ac_max_sed_lines=48 16773 ac_max_sed_lines=48
@@ -13325,8 +16806,8 @@ EOF
13325 fi 16806 fi
13326fi # test -n "$CONFIG_FILES" 16807fi # test -n "$CONFIG_FILES"
13327 16808
13328EOF 16809_ACEOF
13329cat >>$CONFIG_STATUS <<\EOF 16810cat >>$CONFIG_STATUS <<\_ACEOF
13330for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 16811for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13331 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 16812 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13332 case $ac_file in 16813 case $ac_file in
@@ -13340,7 +16821,8 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13340 esac 16821 esac
13341 16822
13342 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 16823 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13343 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16824 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16825$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13344 X"$ac_file" : 'X\(//\)[^/]' \| \ 16826 X"$ac_file" : 'X\(//\)[^/]' \| \
13345 X"$ac_file" : 'X\(//\)$' \| \ 16827 X"$ac_file" : 'X\(//\)$' \| \
13346 X"$ac_file" : 'X\(/\)' \| \ 16828 X"$ac_file" : 'X\(/\)' \| \
@@ -13351,8 +16833,7 @@ echo X"$ac_file" |
13351 /^X\(\/\/\)$/{ s//\1/; q; } 16833 /^X\(\/\/\)$/{ s//\1/; q; }
13352 /^X\(\/\).*/{ s//\1/; q; } 16834 /^X\(\/\).*/{ s//\1/; q; }
13353 s/.*/./; q'` 16835 s/.*/./; q'`
13354 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 16836 { case "$ac_dir" in
13355 { case "$ac_dir" in
13356 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 16837 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
13357 *) as_incr_dir=.;; 16838 *) as_incr_dir=.;;
13358esac 16839esac
@@ -13363,48 +16844,68 @@ for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13363 ?:) as_incr_dir=$as_mkdir_dir ;; 16844 ?:) as_incr_dir=$as_mkdir_dir ;;
13364 *) 16845 *)
13365 as_incr_dir=$as_incr_dir/$as_mkdir_dir 16846 as_incr_dir=$as_incr_dir/$as_mkdir_dir
13366 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 16847 test -d "$as_incr_dir" ||
16848 mkdir "$as_incr_dir" ||
16849 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16850echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16851 { (exit 1); exit 1; }; }
13367 ;; 16852 ;;
13368 esac 16853 esac
13369done; } 16854done; }
13370 16855
13371 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 16856 ac_builddir=.
13372 # A "../" for each directory in $ac_dir_suffix.
13373 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
13374 else
13375 ac_dir_suffix= ac_dots=
13376 fi
13377 16857
13378 case $srcdir in 16858if test "$ac_dir" != .; then
13379 .) ac_srcdir=. 16859 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13380 if test -z "$ac_dots"; then 16860 # A "../" for each directory in $ac_dir_suffix.
13381 ac_top_srcdir=. 16861 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13382 else 16862else
13383 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 16863 ac_dir_suffix= ac_top_builddir=
13384 fi ;; 16864fi
13385 [\\/]* | ?:[\\/]* ) 16865
13386 ac_srcdir=$srcdir$ac_dir_suffix; 16866case $srcdir in
13387 ac_top_srcdir=$srcdir ;; 16867 .) # No --srcdir option. We are building in place.
16868 ac_srcdir=.
16869 if test -z "$ac_top_builddir"; then
16870 ac_top_srcdir=.
16871 else
16872 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16873 fi ;;
16874 [\\/]* | ?:[\\/]* ) # Absolute path.
16875 ac_srcdir=$srcdir$ac_dir_suffix;
16876 ac_top_srcdir=$srcdir ;;
13388 *) # Relative path. 16877 *) # Relative path.
13389 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 16878 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13390 ac_top_srcdir=$ac_dots$srcdir ;; 16879 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13391 esac 16880esac
16881# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16882# absolute.
16883ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16884ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
16885ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16886ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16887
13392 16888
13393 case $INSTALL in 16889 case $INSTALL in
13394 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16890 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13395 *) ac_INSTALL=$ac_dots$INSTALL ;; 16891 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13396 esac 16892 esac
13397 16893
13398 if test x"$ac_file" != x-; then 16894 if test x"$ac_file" != x-; then
13399 { echo "$as_me:13399: creating $ac_file" >&5 16895 { echo "$as_me:$LINENO: creating $ac_file" >&5
13400echo "$as_me: creating $ac_file" >&6;} 16896echo "$as_me: creating $ac_file" >&6;}
13401 rm -f "$ac_file" 16897 rm -f "$ac_file"
13402 fi 16898 fi
13403 # Let's still pretend it is `configure' which instantiates (i.e., don't 16899 # Let's still pretend it is `configure' which instantiates (i.e., don't
13404 # use $as_me), people would be surprised to read: 16900 # use $as_me), people would be surprised to read:
13405 # /* config.h. Generated automatically by config.status. */ 16901 # /* config.h. Generated by config.status. */
13406 configure_input="Generated automatically from `echo $ac_file_in | 16902 if test x"$ac_file" = x-; then
13407 sed 's,.*/,,'` by configure." 16903 configure_input=
16904 else
16905 configure_input="$ac_file. "
16906 fi
16907 configure_input=$configure_input"Generated from `echo $ac_file_in |
16908 sed 's,.*/,,'` by configure."
13408 16909
13409 # First look for the input files in the build tree, otherwise in the 16910 # First look for the input files in the build tree, otherwise in the
13410 # src tree. 16911 # src tree.
@@ -13414,7 +16915,7 @@ echo "$as_me: creating $ac_file" >&6;}
13414 -) echo $tmp/stdin ;; 16915 -) echo $tmp/stdin ;;
13415 [\\/$]*) 16916 [\\/$]*)
13416 # Absolute (can't be DOS-style, as IFS=:) 16917 # Absolute (can't be DOS-style, as IFS=:)
13417 test -f "$f" || { { echo "$as_me:13417: error: cannot find input file: $f" >&5 16918 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13418echo "$as_me: error: cannot find input file: $f" >&2;} 16919echo "$as_me: error: cannot find input file: $f" >&2;}
13419 { (exit 1); exit 1; }; } 16920 { (exit 1); exit 1; }; }
13420 echo $f;; 16921 echo $f;;
@@ -13427,23 +16928,29 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
13427 echo $srcdir/$f 16928 echo $srcdir/$f
13428 else 16929 else
13429 # /dev/null tree 16930 # /dev/null tree
13430 { { echo "$as_me:13430: error: cannot find input file: $f" >&5 16931 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13431echo "$as_me: error: cannot find input file: $f" >&2;} 16932echo "$as_me: error: cannot find input file: $f" >&2;}
13432 { (exit 1); exit 1; }; } 16933 { (exit 1); exit 1; }; }
13433 fi;; 16934 fi;;
13434 esac 16935 esac
13435 done` || { (exit 1); exit 1; } 16936 done` || { (exit 1); exit 1; }
13436EOF 16937_ACEOF
13437cat >>$CONFIG_STATUS <<EOF 16938cat >>$CONFIG_STATUS <<_ACEOF
13438 sed "$ac_vpsub 16939 sed "$ac_vpsub
13439$extrasub 16940$extrasub
13440EOF 16941_ACEOF
13441cat >>$CONFIG_STATUS <<\EOF 16942cat >>$CONFIG_STATUS <<\_ACEOF
13442:t 16943:t
13443/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16944/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13444s,@configure_input@,$configure_input,;t t 16945s,@configure_input@,$configure_input,;t t
13445s,@srcdir@,$ac_srcdir,;t t 16946s,@srcdir@,$ac_srcdir,;t t
16947s,@abs_srcdir@,$ac_abs_srcdir,;t t
13446s,@top_srcdir@,$ac_top_srcdir,;t t 16948s,@top_srcdir@,$ac_top_srcdir,;t t
16949s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16950s,@builddir@,$ac_builddir,;t t
16951s,@abs_builddir@,$ac_abs_builddir,;t t
16952s,@top_builddir@,$ac_top_builddir,;t t
16953s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13447s,@INSTALL@,$ac_INSTALL,;t t 16954s,@INSTALL@,$ac_INSTALL,;t t
13448" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 16955" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13449 rm -f $tmp/stdin 16956 rm -f $tmp/stdin
@@ -13455,8 +16962,8 @@ s,@INSTALL@,$ac_INSTALL,;t t
13455 fi 16962 fi
13456 16963
13457done 16964done
13458EOF 16965_ACEOF
13459cat >>$CONFIG_STATUS <<\EOF 16966cat >>$CONFIG_STATUS <<\_ACEOF
13460 16967
13461# 16968#
13462# CONFIG_HEADER section. 16969# CONFIG_HEADER section.
@@ -13488,7 +16995,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13488 * ) ac_file_in=$ac_file.in ;; 16995 * ) ac_file_in=$ac_file.in ;;
13489 esac 16996 esac
13490 16997
13491 test x"$ac_file" != x- && { echo "$as_me:13491: creating $ac_file" >&5 16998 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13492echo "$as_me: creating $ac_file" >&6;} 16999echo "$as_me: creating $ac_file" >&6;}
13493 17000
13494 # First look for the input files in the build tree, otherwise in the 17001 # First look for the input files in the build tree, otherwise in the
@@ -13499,7 +17006,7 @@ echo "$as_me: creating $ac_file" >&6;}
13499 -) echo $tmp/stdin ;; 17006 -) echo $tmp/stdin ;;
13500 [\\/$]*) 17007 [\\/$]*)
13501 # Absolute (can't be DOS-style, as IFS=:) 17008 # Absolute (can't be DOS-style, as IFS=:)
13502 test -f "$f" || { { echo "$as_me:13502: error: cannot find input file: $f" >&5 17009 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13503echo "$as_me: error: cannot find input file: $f" >&2;} 17010echo "$as_me: error: cannot find input file: $f" >&2;}
13504 { (exit 1); exit 1; }; } 17011 { (exit 1); exit 1; }; }
13505 echo $f;; 17012 echo $f;;
@@ -13512,7 +17019,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
13512 echo $srcdir/$f 17019 echo $srcdir/$f
13513 else 17020 else
13514 # /dev/null tree 17021 # /dev/null tree
13515 { { echo "$as_me:13515: error: cannot find input file: $f" >&5 17022 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13516echo "$as_me: error: cannot find input file: $f" >&2;} 17023echo "$as_me: error: cannot find input file: $f" >&2;}
13517 { (exit 1); exit 1; }; } 17024 { (exit 1); exit 1; }; }
13518 fi;; 17025 fi;;
@@ -13521,7 +17028,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
13521 # Remove the trailing spaces. 17028 # Remove the trailing spaces.
13522 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 17029 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13523 17030
13524EOF 17031_ACEOF
13525 17032
13526# Transform confdefs.h into two sed scripts, `conftest.defines' and 17033# Transform confdefs.h into two sed scripts, `conftest.defines' and
13527# `conftest.undefs', that substitutes the proper values into 17034# `conftest.undefs', that substitutes the proper values into
@@ -13537,16 +17044,16 @@ rm -f conftest.defines conftest.undefs
13537# `end' is used to avoid that the second main sed command (meant for 17044# `end' is used to avoid that the second main sed command (meant for
13538# 0-ary CPP macros) applies to n-ary macro definitions. 17045# 0-ary CPP macros) applies to n-ary macro definitions.
13539# See the Autoconf documentation for `clear'. 17046# See the Autoconf documentation for `clear'.
13540cat >confdef2sed.sed <<\EOF 17047cat >confdef2sed.sed <<\_ACEOF
13541s/[\\&,]/\\&/g 17048s/[\\&,]/\\&/g
13542s,[\\$`],\\&,g 17049s,[\\$`],\\&,g
13543t clear 17050t clear
13544: clear 17051: clear
13545s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 17052s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13546t end 17053t end
13547s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 17054s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13548: end 17055: end
13549EOF 17056_ACEOF
13550# If some macros were called several times there might be several times 17057# If some macros were called several times there might be several times
13551# the same #defines, which is useless. Nevertheless, we may not want to 17058# the same #defines, which is useless. Nevertheless, we may not want to
13552# sort them, since we want the *last* AC-DEFINE to be honored. 17059# sort them, since we want the *last* AC-DEFINE to be honored.
@@ -13557,9 +17064,9 @@ rm -f confdef2sed.sed
13557# This sed command replaces #undef with comments. This is necessary, for 17064# This sed command replaces #undef with comments. This is necessary, for
13558# example, in the case of _POSIX_SOURCE, which is predefined and required 17065# example, in the case of _POSIX_SOURCE, which is predefined and required
13559# on some systems where configure will not decide to define it. 17066# on some systems where configure will not decide to define it.
13560cat >>conftest.undefs <<\EOF 17067cat >>conftest.undefs <<\_ACEOF
13561s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 17068s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13562EOF 17069_ACEOF
13563 17070
13564# Break up conftest.defines because some shells have a limit on the size 17071# Break up conftest.defines because some shells have a limit on the size
13565# of here documents, and old seds have small limits too (100 cmds). 17072# of here documents, and old seds have small limits too (100 cmds).
@@ -13616,23 +17123,24 @@ do
13616done 17123done
13617rm -f conftest.undefs 17124rm -f conftest.undefs
13618 17125
13619cat >>$CONFIG_STATUS <<\EOF 17126cat >>$CONFIG_STATUS <<\_ACEOF
13620 # Let's still pretend it is `configure' which instantiates (i.e., don't 17127 # Let's still pretend it is `configure' which instantiates (i.e., don't
13621 # use $as_me), people would be surprised to read: 17128 # use $as_me), people would be surprised to read:
13622 # /* config.h. Generated automatically by config.status. */ 17129 # /* config.h. Generated by config.status. */
13623 if test x"$ac_file" = x-; then 17130 if test x"$ac_file" = x-; then
13624 echo "/* Generated automatically by configure. */" >$tmp/config.h 17131 echo "/* Generated by configure. */" >$tmp/config.h
13625 else 17132 else
13626 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 17133 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13627 fi 17134 fi
13628 cat $tmp/in >>$tmp/config.h 17135 cat $tmp/in >>$tmp/config.h
13629 rm -f $tmp/in 17136 rm -f $tmp/in
13630 if test x"$ac_file" != x-; then 17137 if test x"$ac_file" != x-; then
13631 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 17138 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13632 { echo "$as_me:13632: $ac_file is unchanged" >&5 17139 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13633echo "$as_me: $ac_file is unchanged" >&6;} 17140echo "$as_me: $ac_file is unchanged" >&6;}
13634 else 17141 else
13635 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17142 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17143$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13636 X"$ac_file" : 'X\(//\)[^/]' \| \ 17144 X"$ac_file" : 'X\(//\)[^/]' \| \
13637 X"$ac_file" : 'X\(//\)$' \| \ 17145 X"$ac_file" : 'X\(//\)$' \| \
13638 X"$ac_file" : 'X\(/\)' \| \ 17146 X"$ac_file" : 'X\(/\)' \| \
@@ -13643,8 +17151,7 @@ echo X"$ac_file" |
13643 /^X\(\/\/\)$/{ s//\1/; q; } 17151 /^X\(\/\/\)$/{ s//\1/; q; }
13644 /^X\(\/\).*/{ s//\1/; q; } 17152 /^X\(\/\).*/{ s//\1/; q; }
13645 s/.*/./; q'` 17153 s/.*/./; q'`
13646 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 17154 { case "$ac_dir" in
13647 { case "$ac_dir" in
13648 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 17155 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
13649 *) as_incr_dir=.;; 17156 *) as_incr_dir=.;;
13650esac 17157esac
@@ -13655,12 +17162,15 @@ for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13655 ?:) as_incr_dir=$as_mkdir_dir ;; 17162 ?:) as_incr_dir=$as_mkdir_dir ;;
13656 *) 17163 *)
13657 as_incr_dir=$as_incr_dir/$as_mkdir_dir 17164 as_incr_dir=$as_incr_dir/$as_mkdir_dir
13658 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 17165 test -d "$as_incr_dir" ||
17166 mkdir "$as_incr_dir" ||
17167 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17168echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17169 { (exit 1); exit 1; }; }
13659 ;; 17170 ;;
13660 esac 17171 esac
13661done; } 17172done; }
13662 17173
13663 fi
13664 rm -f $ac_file 17174 rm -f $ac_file
13665 mv $tmp/config.h $ac_file 17175 mv $tmp/config.h $ac_file
13666 fi 17176 fi
@@ -13669,8 +17179,8 @@ done; }
13669 rm -f $tmp/config.h 17179 rm -f $tmp/config.h
13670 fi 17180 fi
13671done 17181done
13672EOF 17182_ACEOF
13673cat >>$CONFIG_STATUS <<\EOF 17183cat >>$CONFIG_STATUS <<\_ACEOF
13674 17184
13675# 17185#
13676# CONFIG_COMMANDS section. 17186# CONFIG_COMMANDS section.
@@ -13678,7 +17188,53 @@ cat >>$CONFIG_STATUS <<\EOF
13678for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 17188for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13679 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 17189 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13680 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 17190 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17191 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17192$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17193 X"$ac_dest" : 'X\(//\)[^/]' \| \
17194 X"$ac_dest" : 'X\(//\)$' \| \
17195 X"$ac_dest" : 'X\(/\)' \| \
17196 . : '\(.\)' 2>/dev/null ||
17197echo X"$ac_dest" |
17198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17200 /^X\(\/\/\)$/{ s//\1/; q; }
17201 /^X\(\/\).*/{ s//\1/; q; }
17202 s/.*/./; q'`
17203 ac_builddir=.
13681 17204
17205if test "$ac_dir" != .; then
17206 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17207 # A "../" for each directory in $ac_dir_suffix.
17208 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17209else
17210 ac_dir_suffix= ac_top_builddir=
17211fi
17212
17213case $srcdir in
17214 .) # No --srcdir option. We are building in place.
17215 ac_srcdir=.
17216 if test -z "$ac_top_builddir"; then
17217 ac_top_srcdir=.
17218 else
17219 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17220 fi ;;
17221 [\\/]* | ?:[\\/]* ) # Absolute path.
17222 ac_srcdir=$srcdir$ac_dir_suffix;
17223 ac_top_srcdir=$srcdir ;;
17224 *) # Relative path.
17225 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17226 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17227esac
17228# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17229# absolute.
17230ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17231ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
17232ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17233ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17234
17235
17236 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17237echo "$as_me: executing $ac_dest commands" >&6;}
13682 case $ac_dest in 17238 case $ac_dest in
13683 default ) 17239 default )
13684 17240
@@ -13755,15 +17311,16 @@ touch src/config.stamp
13755 ;; 17311 ;;
13756 esac 17312 esac
13757done 17313done
13758EOF 17314_ACEOF
13759 17315
13760cat >>$CONFIG_STATUS <<\EOF 17316cat >>$CONFIG_STATUS <<\_ACEOF
13761 17317
13762{ (exit 0); exit 0; } 17318{ (exit 0); exit 0; }
13763EOF 17319_ACEOF
13764chmod +x $CONFIG_STATUS 17320chmod +x $CONFIG_STATUS
13765ac_clean_files=$ac_clean_files_save 17321ac_clean_files=$ac_clean_files_save
13766 17322
17323
13767# configure is writing to config.log, and then calls config.status. 17324# configure is writing to config.log, and then calls config.status.
13768# config.status does its own redirection, appending to config.log. 17325# config.status does its own redirection, appending to config.log.
13769# Unfortunately, on DOS this fails, as config.log is still kept open 17326# Unfortunately, on DOS this fails, as config.log is still kept open
@@ -13782,3 +17339,4 @@ if test "$no_create" != yes; then
13782 $ac_cs_success || { (exit 1); exit 1; } 17339 $ac_cs_success || { (exit 1); exit 1; }
13783fi 17340fi
13784 17341
17342