aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2010-05-15 17:11:37 -0400
committerKen Raeburn2010-05-15 17:11:37 -0400
commit8c5ff6dd241db176fb178b4d84dbab93ad2475c9 (patch)
tree4c52177fac2371274af2370992edfb8353936e3c
parent2e9abc3d5340f07c181d3cbeba5d92d36dea5a34 (diff)
downloademacs-8c5ff6dd241db176fb178b4d84dbab93ad2475c9.tar.gz
emacs-8c5ff6dd241db176fb178b4d84dbab93ad2475c9.zip
Handle --version reasonably in CANNOT_DUMP configuration.
* src/emacs.c (emacs_version, emacs_copyright): New string variables. (Vemacs_version, Vemacs_copyright): New Lisp_Object variables. (syms_of_emacs): Defvar them, and initialize them from the C string variables. (main): If initialization hasn't been done, print initial version info from the C strings, instead of starting an interactive session. * lisp/version.el (emacs-copyright, emacs-version): Don't define here. * configure.in: Look for version string in its new place.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure19153
-rw-r--r--configure.in6
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/version.el6
-rw-r--r--src/ChangeLog10
-rw-r--r--src/config.in65
-rw-r--r--src/emacs.c69
8 files changed, 3380 insertions, 15938 deletions
diff --git a/ChangeLog b/ChangeLog
index 16dead8651e..68098657aeb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12010-05-15 Ken Raeburn <raeburn@raeburn.org>
2
3 * configure.in: Look for version string in its new location.
4
12010-05-15 Eli Zaretskii <eliz@gnu.org> 52010-05-15 Eli Zaretskii <eliz@gnu.org>
2 6
3 * config.bat: Remove support for DJGPP v1.x. 7 * config.bat: Remove support for DJGPP v1.x.
diff --git a/configure b/configure
index 426842fc41b..cb03170a3a7 100755
--- a/configure
+++ b/configure
@@ -1,18 +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 GNU Autoconf 2.62 for emacs 24.0.50. 3# Generated by GNU Autoconf 2.65 for emacs 24.0.50.
4#
4# 5#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Inc.
9#
10#
7# This configure script is free software; the Free Software Foundation 11# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 12# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 13## -------------------- ##
10## M4sh Initialization. ## 14## M4sh Initialization. ##
11## --------------------- ## 15## -------------------- ##
12 16
13# Be more Bourne compatible 17# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh 18DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 emulate sh 20 emulate sh
17 NULLCMD=: 21 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -20,23 +24,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 alias -g '${1+"$@"}'='"$@"' 24 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST 25 setopt NO_GLOB_SUBST
22else 26else
23 case `(set -o) 2>/dev/null` in 27 case `(set -o) 2>/dev/null` in #(
24 *posix*) set -o posix ;; 28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
25esac 32esac
26
27fi 33fi
28 34
29 35
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40as_nl=' 36as_nl='
41' 37'
42export as_nl 38export as_nl
@@ -44,7 +40,13 @@ export as_nl
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n' 50 as_echo='printf %s\n'
49 as_echo_n='printf %s' 51 as_echo_n='printf %s'
50else 52else
@@ -55,7 +57,7 @@ else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval 58 as_echo_n_body='eval
57 arg=$1; 59 arg=$1;
58 case $arg in 60 case $arg in #(
59 *"$as_nl"*) 61 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl"; 62 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -78,13 +80,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
78 } 80 }
79fi 81fi
80 82
81# Support unset when possible.
82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84else
85 as_unset=false
86fi
87
88 83
89# IFS 84# IFS
90# We need space, tab and new line, in precisely that order. Quoting is 85# We need space, tab and new line, in precisely that order. Quoting is
@@ -94,15 +89,15 @@ fi
94IFS=" "" $as_nl" 89IFS=" "" $as_nl"
95 90
96# Find who we are. Look in the path if we contain no directory separator. 91# Find who we are. Look in the path if we contain no directory separator.
97case $0 in 92case $0 in #((
98 *[\\/]* ) as_myself=$0 ;; 93 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH 95for as_dir in $PATH
101do 96do
102 IFS=$as_save_IFS 97 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=. 98 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105done 100 done
106IFS=$as_save_IFS 101IFS=$as_save_IFS
107 102
108 ;; 103 ;;
@@ -114,12 +109,16 @@ if test "x$as_myself" = x; then
114fi 109fi
115if test ! -f "$as_myself"; then 110if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; } 112 exit 1
118fi 113fi
119 114
120# Work around bugs in pre-3.0 UWIN ksh. 115# Unset variables that we do not need and which cause bugs (e.g. in
121for as_var in ENV MAIL MAILPATH 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 117# suppresses any "Segmentation fault" message there. '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done 122done
124PS1='$ ' 123PS1='$ '
125PS2='> ' 124PS2='> '
@@ -131,330 +130,299 @@ export LC_ALL
131LANGUAGE=C 130LANGUAGE=C
132export LANGUAGE 131export LANGUAGE
133 132
134# Required to use basename.
135if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138else
139 as_expr=false
140fi
141
142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144else
145 as_basename=false
146fi
147
148
149# Name of the executable.
150as_me=`$as_basename -- "$0" ||
151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154$as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
157 q
158 }
159 /^X\/\(\/\/\)$/{
160 s//\1/
161 q
162 }
163 /^X\/\(\/\).*/{
164 s//\1/
165 q
166 }
167 s/.*/./; q'`
168
169# CDPATH. 133# CDPATH.
170$as_unset CDPATH 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
171
172 135
173if test "x$CONFIG_SHELL" = x; then 136if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
175 as_have_required=yes 138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
176else 144else
177 as_have_required=no 145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
178fi 151fi
179 152"
180 if test $as_have_required = yes && (eval ": 153 as_required="as_fn_return () { (exit \$1); }
181(as_func_return () { 154as_fn_success () { as_fn_return 0; }
182 (exit \$1) 155as_fn_failure () { as_fn_return 1; }
183} 156as_fn_ret_success () { return 0; }
184as_func_success () { 157as_fn_ret_failure () { return 1; }
185 as_func_return 0
186}
187as_func_failure () {
188 as_func_return 1
189}
190as_func_ret_success () {
191 return 0
192}
193as_func_ret_failure () {
194 return 1
195}
196 158
197exitcode=0 159exitcode=0
198if as_func_success; then 160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
199 : 161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
200else 162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
201 exitcode=1 163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
202 echo as_func_success failed. 164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
203fi 165
204 166else
205if as_func_failure; then 167 exitcode=1; echo positional parameters were not saved.
206 exitcode=1 168fi
207 echo as_func_failure succeeded. 169test x\$exitcode = x0 || exit 1"
208fi 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
209 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
210if as_func_ret_success; then 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211 : 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
212else 174test \$(( 1 + 1 )) = 2 || exit 1"
213 exitcode=1 175 if (eval "$as_required") 2>/dev/null; then :
214 echo as_func_ret_success failed. 176 as_have_required=yes
215fi
216
217if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
220fi
221
222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 :
224else 177else
225 exitcode=1 178 as_have_required=no
226 echo positional parameters were not saved.
227fi 179fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
228 181
229test \$exitcode = 0) || { (exit 1); exit 1; }
230
231(
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236") 2> /dev/null; then
237 :
238else 182else
239 as_candidate_shells= 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184as_found=false
241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242do 186do
243 IFS=$as_save_IFS 187 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=. 188 test -z "$as_dir" && as_dir=.
245 case $as_dir in 189 as_found=:
190 case $as_dir in #(
246 /*) 191 /*)
247 for as_base in sh bash ksh sh5; do 192 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200fi
201fi
249 done;; 202 done;;
250 esac 203 esac
204 as_found=false
251done 205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
252IFS=$as_save_IFS 210IFS=$as_save_IFS
253 211
254 212
255 for as_shell in $as_candidate_shells $SHELL; do 213 if test "x$CONFIG_SHELL" != x; then :
256 # Try only shells that exist, to save several forks. 214 # We cannot yet assume a decent shell, so we have to provide a
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 215 # neutralization value for shells without unset; and this also
258 { ("$as_shell") 2> /dev/null <<\_ASEOF 216 # works around shells that cannot unset nonexistent variables.
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 217 BASH_ENV=/dev/null
260 emulate sh 218 ENV=/dev/null
261 NULLCMD=: 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269esac
270
271fi
272
273
274:
275_ASEOF
276}; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290esac
291
292fi
293
294
295:
296(as_func_return () {
297 (exit $1)
298}
299as_func_success () {
300 as_func_return 0
301}
302as_func_failure () {
303 as_func_return 1
304}
305as_func_ret_success () {
306 return 0
307}
308as_func_ret_failure () {
309 return 1
310}
311
312exitcode=0
313if as_func_success; then
314 :
315else
316 exitcode=1
317 echo as_func_success failed.
318fi
319
320if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
323fi
324
325if as_func_ret_success; then
326 :
327else
328 exitcode=1
329 echo as_func_ret_success failed.
330fi
331
332if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
335fi
336
337if ( set x; as_func_ret_success y && test x = "$1" ); then
338 :
339else
340 exitcode=1
341 echo positional parameters were not saved.
342fi
343
344test $exitcode = 0) || { (exit 1); exit 1; }
345
346(
347 as_lineno_1=$LINENO
348 as_lineno_2=$LINENO
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352_ASEOF
353}; then
354 break
355fi
356
357fi
358
359 done
360
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL 220 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi 222fi
368 223
369 224 if test x$as_have_required = xno; then :
370 if test $as_have_required = no; then 225 $as_echo "$0: This script requires a shell more modern than all"
371 echo This script requires a shell more modern than all the 226 $as_echo "$0: the shells that I found on your system."
372 echo shells that I found on your system. Please install a 227 if test x${ZSH_VERSION+set} = xset ; then
373 echo modern shell, or manually run the script under such a 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
374 echo shell if you do have one. 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
375 { (exit 1); exit 1; } 230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235 fi
236 exit 1
376fi 237fi
377
378
379fi 238fi
380
381fi 239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
382 245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254 { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
383 257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263 return $1
264} # as_fn_set_status
384 265
385(eval "as_func_return () { 266# as_fn_exit STATUS
386 (exit \$1) 267# -----------------
387} 268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
388as_func_success () { 269as_fn_exit ()
389 as_func_return 0 270{
390} 271 set +e
391as_func_failure () { 272 as_fn_set_status $1
392 as_func_return 1 273 exit $1
393} 274} # as_fn_exit
394as_func_ret_success () {
395 return 0
396}
397as_func_ret_failure () {
398 return 1
399}
400 275
401exitcode=0 276# as_fn_mkdir_p
402if as_func_success; then 277# -------------
403 : 278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
404else 334else
405 exitcode=1 335 as_fn_append ()
406 echo as_func_success failed. 336 {
407fi 337 eval $1=\$$1\$2
338 }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356fi # as_fn_arith
408 357
409if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
412fi
413 358
414if as_func_ret_success; then 359# as_fn_error ERROR [LINENO LOG_FD]
415 : 360# ---------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0.
364as_fn_error ()
365{
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
416else 378else
417 exitcode=1 379 as_expr=false
418 echo as_func_ret_success failed.
419fi 380fi
420 381
421if as_func_ret_failure; then 382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
422 exitcode=1 383 as_basename=basename
423 echo as_func_ret_failure succeeded. 384else
385 as_basename=false
424fi 386fi
425 387
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
427 : 389 as_dirname=dirname
428else 390else
429 exitcode=1 391 as_dirname=false
430 echo positional parameters were not saved.
431fi 392fi
432 393
433test \$exitcode = 0") || { 394as_me=`$as_basename -- "$0" ||
434 echo No shell found that supports shell functions. 395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
435 echo Please tell bug-autoconf@gnu.org about your system, 396 X"$0" : 'X\(//\)$' \| \
436 echo including any error possibly output before this message. 397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
437 echo This can help us improve future autoconf versions. 398$as_echo X/"$0" |
438 echo Configuration will now proceed without shell functions. 399 sed '/^.*\/\([^/][^/]*\)\/*$/{
439} 400 s//\1/
440 401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
441 412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
442 419
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447 420
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
450 # line-number line after each line using $LINENO; the second 'sed' 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
451 # does the real work. The second script uses 'N' to pair each 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
452 # line-number line with the line containing $LINENO, and appends 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n ' 426 sed -n '
459 p 427 p
460 /[$]LINENO/= 428 /[$]LINENO/=
@@ -471,8 +439,7 @@ test \$exitcode = 0") || {
471 s/-\n.*// 439 s/-\n.*//
472 ' >$as_me.lineno && 440 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" || 441 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475 { (exit 1); exit 1; }; }
476 443
477 # Don't try to exec as it changes $[0], causing all sort of problems 444 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the 445 # (the dirname of $[0] is not the place where we might find the
@@ -482,29 +449,18 @@ test \$exitcode = 0") || {
482 exit 449 exit
483} 450}
484 451
485
486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488else
489 as_dirname=false
490fi
491
492ECHO_C= ECHO_N= ECHO_T= 452ECHO_C= ECHO_N= ECHO_T=
493case `echo -n x` in 453case `echo -n x` in #(((((
494-n*) 454-n*)
495 case `echo 'x\c'` in 455 case `echo 'xy\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
498 esac;; 460 esac;;
499*) 461*)
500 ECHO_N='-n';; 462 ECHO_N='-n';;
501esac 463esac
502if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505else
506 as_expr=false
507fi
508 464
509rm -f conf$$ conf$$.exe conf$$.file 465rm -f conf$$ conf$$.exe conf$$.file
510if test -d conf$$.dir; then 466if test -d conf$$.dir; then
@@ -534,7 +490,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534rmdir conf$$.dir 2>/dev/null 490rmdir conf$$.dir 2>/dev/null
535 491
536if mkdir -p . 2>/dev/null; then 492if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=: 493 as_mkdir_p='mkdir -p "$as_dir"'
538else 494else
539 test -d ./-p && rmdir ./-p 495 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false 496 as_mkdir_p=false
@@ -553,10 +509,10 @@ else
553 if test -d "$1"; then 509 if test -d "$1"; then
554 test -d "$1/."; 510 test -d "$1/.";
555 else 511 else
556 case $1 in 512 case $1 in #(
557 -*)set "./$1";; 513 -*)set "./$1";;
558 esac; 514 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560 ???[sx]*):;;*)false;;esac;fi 516 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh 517 '\'' sh
562 ' 518 '
@@ -570,8 +526,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571 527
572 528
573 529test -n "$DJDIR" || exec 7<&0 </dev/null
574exec 7<&0 </dev/null 6>&1 530exec 6>&1
575 531
576# Name of the host. 532# Name of the host.
577# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -589,7 +545,6 @@ cross_compiling=no
589subdirs= 545subdirs=
590MFLAGS= 546MFLAGS=
591MAKEFLAGS= 547MAKEFLAGS=
592SHELL=${CONFIG_SHELL-/bin/sh}
593 548
594# Identity of this package. 549# Identity of this package.
595PACKAGE_NAME='emacs' 550PACKAGE_NAME='emacs'
@@ -597,6 +552,7 @@ PACKAGE_TARNAME='emacs'
597PACKAGE_VERSION='24.0.50' 552PACKAGE_VERSION='24.0.50'
598PACKAGE_STRING='emacs 24.0.50' 553PACKAGE_STRING='emacs 24.0.50'
599PACKAGE_BUGREPORT='' 554PACKAGE_BUGREPORT=''
555PACKAGE_URL=''
600 556
601ac_unique_file="src/lisp.h" 557ac_unique_file="src/lisp.h"
602# Factoring default headers for most tests. 558# Factoring default headers for most tests.
@@ -638,187 +594,188 @@ ac_includes_default="\
638ac_config_libobj_dir=src 594ac_config_libobj_dir=src
639ac_header_list= 595ac_header_list=
640ac_func_list= 596ac_func_list=
641ac_subst_vars='SHELL 597ac_subst_vars='LTLIBOBJS
642PATH_SEPARATOR
643PACKAGE_NAME
644PACKAGE_TARNAME
645PACKAGE_VERSION
646PACKAGE_STRING
647PACKAGE_BUGREPORT
648exec_prefix
649prefix
650program_transform_name
651bindir
652sbindir
653libexecdir
654datarootdir
655datadir
656sysconfdir
657sharedstatedir
658localstatedir
659includedir
660oldincludedir
661docdir
662infodir
663htmldir
664dvidir
665pdfdir
666psdir
667libdir
668localedir
669mandir
670DEFS
671ECHO_C
672ECHO_N
673ECHO_T
674LIBS
675build_alias
676host_alias
677target_alias
678MAINT
679build
680build_cpu
681build_vendor
682build_os
683host
684host_cpu
685host_vendor
686host_os
687CC
688CFLAGS
689LDFLAGS
690CPPFLAGS
691ac_ct_CC
692EXEEXT
693OBJEXT
694CPP
695GREP
696EGREP
697INSTALL_PROGRAM
698INSTALL_SCRIPT
699INSTALL_DATA
700RANLIB
701INSTALL_INFO
702GZIP_PROG
703MAKEINFO
704LD_SWITCH_SYSTEM
705C_SWITCH_MACHINE
706C_SWITCH_SYSTEM
707LIBS_SYSTEM
708CRT_DIR
709LIB_MATH
710START_FILES
711LIBSOUND
712PKG_CONFIG
713ALSA_CFLAGS
714ALSA_LIBS
715CFLAGS_SOUND
716SET_MAKE
717XMKMF
718LD_SWITCH_X_SITE_AUX
719LD_SWITCH_X_SITE_AUX_RPATH
720NS_IMPL_GNUSTEP_INC
721NS_OBJ
722NS_SUPPORT
723LIB_STANDARD
724HAVE_XSERVER
725RSVG_CFLAGS
726RSVG_LIBS
727GTK_CFLAGS
728GTK_LIBS
729GTK_OBJ
730DBUS_CFLAGS
731DBUS_LIBS
732DBUS_OBJ
733GCONF_CFLAGS
734GCONF_LIBS
735LIBSELINUX_LIBS
736LIBXTR6
737LIBXMU
738FONTCONFIG_CFLAGS
739FONTCONFIG_LIBS
740XFT_CFLAGS
741XFT_LIBS
742LIBOTF_CFLAGS
743LIBOTF_LIBS
744M17N_FLT_CFLAGS
745M17N_FLT_LIBS
746FONT_OBJ
747FREETYPE_CFLAGS
748FREETYPE_LIBS
749LIBXPM
750LIBJPEG
751LIBPNG
752LIBTIFF
753LIBGIF
754LIBGPM
755LIBXSM
756ALLOCA
757liblockfile
758LIBS_MAIL
759BLESSMAIL_TARGET
760LIBOBJS
761NEED_SETGID
762KMEM_GROUP
763GETLOADAVG_LIBS
764GETOPT_H
765GETOPTOBJS
766LIBS_TERMCAP
767TERMCAP_OBJ
768LIBHESIOD
769LIBRESOLV
770COM_ERRLIB
771CRYPTOLIB
772KRB5LIB
773DESLIB
774KRB4LIB
775version
776configuration
777canonical
778srcdir
779lispdir
780locallisppath
781lisppath
782x_default_search_path
783etcdir
784archlibdir
785bitmapdir
786gamedir
787gameuser
788unexec
789LD_SWITCH_X_SITE
790C_SWITCH_X_SITE
791C_SWITCH_X_SYSTEM
792X_TOOLKIT_TYPE
793machfile
794opsysfile
795ns_appdir
796ns_appbindir
797ns_appresdir
798ns_appsrc
799GNUSTEP_SYSTEM_HEADERS
800GNUSTEP_SYSTEM_LIBRARIES
801GNU_OBJC_CFLAGS
802OTHER_FILES
803XMENU_OBJ
804XOBJ
805WIDGET_OBJ
806TOOLKIT_LIBW
807LIBXT_OTHER
808OLDXMENU_TARGET
809OLDXMENU
810LIBXMENU
811LIBX_OTHER
812CYGWIN_OBJ
813PRE_ALLOC_OBJ
814POST_ALLOC_OBJ
815LD_SWITCH_SYSTEM_TEMACS
816LD_SWITCH_SYSTEM_EXTRA
817LIB_GCC
818MOUSE_SUPPORT
819TOOLTIP_SUPPORT
820WINDOW_SUPPORT 598WINDOW_SUPPORT
821LTLIBOBJS' 599TOOLTIP_SUPPORT
600MOUSE_SUPPORT
601LIB_GCC
602LD_SWITCH_SYSTEM_EXTRA
603LD_SWITCH_SYSTEM_TEMACS
604POST_ALLOC_OBJ
605PRE_ALLOC_OBJ
606CYGWIN_OBJ
607LIBX_OTHER
608LIBXMENU
609OLDXMENU
610OLDXMENU_TARGET
611LIBXT_OTHER
612TOOLKIT_LIBW
613WIDGET_OBJ
614XOBJ
615XMENU_OBJ
616OTHER_FILES
617GNU_OBJC_CFLAGS
618GNUSTEP_SYSTEM_LIBRARIES
619GNUSTEP_SYSTEM_HEADERS
620ns_appsrc
621ns_appresdir
622ns_appbindir
623ns_appdir
624opsysfile
625machfile
626X_TOOLKIT_TYPE
627C_SWITCH_X_SYSTEM
628C_SWITCH_X_SITE
629LD_SWITCH_X_SITE
630unexec
631gameuser
632gamedir
633bitmapdir
634archlibdir
635etcdir
636x_default_search_path
637lisppath
638locallisppath
639lispdir
640srcdir
641canonical
642configuration
643version
644KRB4LIB
645DESLIB
646KRB5LIB
647CRYPTOLIB
648COM_ERRLIB
649LIBRESOLV
650LIBHESIOD
651TERMCAP_OBJ
652LIBS_TERMCAP
653GETOPTOBJS
654GETOPT_H
655GETLOADAVG_LIBS
656KMEM_GROUP
657NEED_SETGID
658LIBOBJS
659BLESSMAIL_TARGET
660LIBS_MAIL
661liblockfile
662ALLOCA
663LIBXSM
664LIBGPM
665LIBGIF
666LIBTIFF
667LIBPNG
668LIBJPEG
669LIBXPM
670FREETYPE_LIBS
671FREETYPE_CFLAGS
672FONT_OBJ
673M17N_FLT_LIBS
674M17N_FLT_CFLAGS
675LIBOTF_LIBS
676LIBOTF_CFLAGS
677XFT_LIBS
678XFT_CFLAGS
679FONTCONFIG_LIBS
680FONTCONFIG_CFLAGS
681LIBXMU
682LIBXTR6
683LIBSELINUX_LIBS
684GCONF_LIBS
685GCONF_CFLAGS
686DBUS_OBJ
687DBUS_LIBS
688DBUS_CFLAGS
689GTK_OBJ
690GTK_LIBS
691GTK_CFLAGS
692RSVG_LIBS
693RSVG_CFLAGS
694HAVE_XSERVER
695LIB_STANDARD
696NS_SUPPORT
697NS_OBJ
698NS_IMPL_GNUSTEP_INC
699LD_SWITCH_X_SITE_AUX_RPATH
700LD_SWITCH_X_SITE_AUX
701XMKMF
702SET_MAKE
703CFLAGS_SOUND
704ALSA_LIBS
705ALSA_CFLAGS
706PKG_CONFIG
707LIBSOUND
708START_FILES
709LIB_MATH
710CRT_DIR
711LIBS_SYSTEM
712C_SWITCH_SYSTEM
713C_SWITCH_MACHINE
714LD_SWITCH_SYSTEM
715MAKEINFO
716GZIP_PROG
717INSTALL_INFO
718RANLIB
719INSTALL_DATA
720INSTALL_SCRIPT
721INSTALL_PROGRAM
722EGREP
723GREP
724CPP
725OBJEXT
726EXEEXT
727ac_ct_CC
728CPPFLAGS
729LDFLAGS
730CFLAGS
731CC
732host_os
733host_vendor
734host_cpu
735host
736build_os
737build_vendor
738build_cpu
739build
740MAINT
741target_alias
742host_alias
743build_alias
744LIBS
745ECHO_T
746ECHO_N
747ECHO_C
748DEFS
749mandir
750localedir
751libdir
752psdir
753pdfdir
754dvidir
755htmldir
756infodir
757docdir
758oldincludedir
759includedir
760localstatedir
761sharedstatedir
762sysconfdir
763datadir
764datarootdir
765libexecdir
766sbindir
767bindir
768program_transform_name
769prefix
770exec_prefix
771PACKAGE_URL
772PACKAGE_BUGREPORT
773PACKAGE_STRING
774PACKAGE_VERSION
775PACKAGE_TARNAME
776PACKAGE_NAME
777PATH_SEPARATOR
778SHELL'
822ac_subst_files='' 779ac_subst_files=''
823ac_user_opts=' 780ac_user_opts='
824enable_option_checking 781enable_option_checking
@@ -983,8 +940,7 @@ do
983 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 940 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
984 # Reject names that are not valid shell variable names. 941 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 943 as_fn_error "invalid feature name: $ac_useropt"
987 { (exit 1); exit 1; }; }
988 ac_useropt_orig=$ac_useropt 944 ac_useropt_orig=$ac_useropt
989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in 946 case $ac_user_opts in
@@ -1010,8 +966,7 @@ do
1010 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 966 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names. 967 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 969 as_fn_error "invalid feature name: $ac_useropt"
1014 { (exit 1); exit 1; }; }
1015 ac_useropt_orig=$ac_useropt 970 ac_useropt_orig=$ac_useropt
1016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in 972 case $ac_user_opts in
@@ -1215,8 +1170,7 @@ do
1215 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216 # Reject names that are not valid shell variable names. 1171 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1218 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1173 as_fn_error "invalid package name: $ac_useropt"
1219 { (exit 1); exit 1; }; }
1220 ac_useropt_orig=$ac_useropt 1174 ac_useropt_orig=$ac_useropt
1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in 1176 case $ac_user_opts in
@@ -1232,8 +1186,7 @@ do
1232 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names. 1187 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1189 as_fn_error "invalid package name: $ac_useropt"
1236 { (exit 1); exit 1; }; }
1237 ac_useropt_orig=$ac_useropt 1190 ac_useropt_orig=$ac_useropt
1238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in 1192 case $ac_user_opts in
@@ -1263,17 +1216,17 @@ do
1263 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1264 x_libraries=$ac_optarg ;; 1217 x_libraries=$ac_optarg ;;
1265 1218
1266 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1219 -*) as_fn_error "unrecognized option: \`$ac_option'
1267Try \`$0 --help' for more information." >&2 1220Try \`$0 --help' for more information."
1268 { (exit 1); exit 1; }; }
1269 ;; 1221 ;;
1270 1222
1271 *=*) 1223 *=*)
1272 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1273 # Reject names that are not valid shell variable names. 1225 # Reject names that are not valid shell variable names.
1274 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1226 case $ac_envvar in #(
1275 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1227 '' | [0-9]* | *[!_$as_cr_alnum]* )
1276 { (exit 1); exit 1; }; } 1228 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1229 esac
1277 eval $ac_envvar=\$ac_optarg 1230 eval $ac_envvar=\$ac_optarg
1278 export $ac_envvar ;; 1231 export $ac_envvar ;;
1279 1232
@@ -1290,16 +1243,14 @@ done
1290 1243
1291if test -n "$ac_prev"; then 1244if test -n "$ac_prev"; then
1292 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1245 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1293 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1246 as_fn_error "missing argument to $ac_option"
1294 { (exit 1); exit 1; }; }
1295fi 1247fi
1296 1248
1297if test -n "$ac_unrecognized_opts"; then 1249if test -n "$ac_unrecognized_opts"; then
1298 case $enable_option_checking in 1250 case $enable_option_checking in
1299 no) ;; 1251 no) ;;
1300 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1252 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1301 { (exit 1); exit 1; }; } ;; 1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1302 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 esac 1254 esac
1304fi 1255fi
1305 1256
@@ -1321,8 +1272,7 @@ do
1321 [\\/$]* | ?:[\\/]* ) continue;; 1272 [\\/$]* | ?:[\\/]* ) continue;;
1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323 esac 1274 esac
1324 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1275 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1325 { (exit 1); exit 1; }; }
1326done 1276done
1327 1277
1328# There might be people who depend on the old broken behavior: `$host' 1278# There might be people who depend on the old broken behavior: `$host'
@@ -1352,11 +1302,9 @@ test "$silent" = yes && exec 6>/dev/null
1352ac_pwd=`pwd` && test -n "$ac_pwd" && 1302ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353ac_ls_di=`ls -di .` && 1303ac_ls_di=`ls -di .` &&
1354ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1304ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1305 as_fn_error "working directory cannot be determined"
1356 { (exit 1); exit 1; }; }
1357test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1306test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1307 as_fn_error "pwd does not report name of working directory"
1359 { (exit 1); exit 1; }; }
1360 1308
1361 1309
1362# Find the source files, if location was not specified. 1310# Find the source files, if location was not specified.
@@ -1395,13 +1343,11 @@ else
1395fi 1343fi
1396if test ! -r "$srcdir/$ac_unique_file"; then 1344if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1346 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1399 { (exit 1); exit 1; }; }
1400fi 1347fi
1401ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1348ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1402ac_abs_confdir=`( 1349ac_abs_confdir=`(
1403 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1404 { (exit 1); exit 1; }; }
1405 pwd)` 1351 pwd)`
1406# When building in place, set srcdir=. 1352# When building in place, set srcdir=.
1407if test "$ac_abs_confdir" = "$ac_pwd"; then 1353if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1581,7 +1527,7 @@ Some influential environment variables:
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1527 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir> 1528 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library> 1529 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1530 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir> 1531 you have headers in a nonstandard directory <include dir>
1586 CPP C preprocessor 1532 CPP C preprocessor
1587 XMKMF Path to xmkmf, Makefile generator for X Window System 1533 XMKMF Path to xmkmf, Makefile generator for X Window System
@@ -1589,6 +1535,7 @@ Some influential environment variables:
1589Use these variables to override the choices made by `configure' or to help 1535Use these variables to override the choices made by `configure' or to help
1590it to find libraries and programs with nonstandard names/locations. 1536it to find libraries and programs with nonstandard names/locations.
1591 1537
1538Report bugs to the package provider.
1592_ACEOF 1539_ACEOF
1593ac_status=$? 1540ac_status=$?
1594fi 1541fi
@@ -1652,21 +1599,551 @@ test -n "$ac_init_help" && exit $ac_status
1652if $ac_init_version; then 1599if $ac_init_version; then
1653 cat <<\_ACEOF 1600 cat <<\_ACEOF
1654emacs configure 24.0.50 1601emacs configure 24.0.50
1655generated by GNU Autoconf 2.62 1602generated by GNU Autoconf 2.65
1656 1603
1657Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1604Copyright (C) 2009 Free Software Foundation, Inc.
16582002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1659This configure script is free software; the Free Software Foundation 1605This configure script is free software; the Free Software Foundation
1660gives unlimited permission to copy, distribute and modify it. 1606gives unlimited permission to copy, distribute and modify it.
1661_ACEOF 1607_ACEOF
1662 exit 1608 exit
1663fi 1609fi
1610
1611## ------------------------ ##
1612## Autoconf initialization. ##
1613## ------------------------ ##
1614
1615# ac_fn_c_try_compile LINENO
1616# --------------------------
1617# Try to compile conftest.$ac_ext, and return whether this succeeded.
1618ac_fn_c_try_compile ()
1619{
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 rm -f conftest.$ac_objext
1622 if { { ac_try="$ac_compile"
1623case "(($ac_try" in
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1626esac
1627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628$as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1630 ac_status=$?
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1635 fi
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.$ac_objext; then :
1641 ac_retval=0
1642else
1643 $as_echo "$as_me: failed program was:" >&5
1644sed 's/^/| /' conftest.$ac_ext >&5
1645
1646 ac_retval=1
1647fi
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 as_fn_set_status $ac_retval
1650
1651} # ac_fn_c_try_compile
1652
1653# ac_fn_c_try_link LINENO
1654# -----------------------
1655# Try to link conftest.$ac_ext, and return whether this succeeded.
1656ac_fn_c_try_link ()
1657{
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext conftest$ac_exeext
1660 if { { ac_try="$ac_link"
1661case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664esac
1665eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666$as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>conftest.err
1668 ac_status=$?
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1673 fi
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest$ac_exeext && {
1679 test "$cross_compiling" = yes ||
1680 $as_test_x conftest$ac_exeext
1681 }; then :
1682 ac_retval=0
1683else
1684 $as_echo "$as_me: failed program was:" >&5
1685sed 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=1
1688fi
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 as_fn_set_status $ac_retval
1696
1697} # ac_fn_c_try_link
1698
1699# ac_fn_c_try_cpp LINENO
1700# ----------------------
1701# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702ac_fn_c_try_cpp ()
1703{
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { { ac_try="$ac_cpp conftest.$ac_ext"
1706case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709esac
1710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711$as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1718 fi
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } >/dev/null && {
1721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 }; then :
1724 ac_retval=0
1725else
1726 $as_echo "$as_me: failed program was:" >&5
1727sed 's/^/| /' conftest.$ac_ext >&5
1728
1729 ac_retval=1
1730fi
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 as_fn_set_status $ac_retval
1733
1734} # ac_fn_c_try_cpp
1735
1736# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1737# -------------------------------------------------------
1738# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1739# the include files in INCLUDES and setting the cache variable VAR
1740# accordingly.
1741ac_fn_c_check_header_mongrel ()
1742{
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746$as_echo_n "checking for $2... " >&6; }
1747if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748 $as_echo_n "(cached) " >&6
1749fi
1750eval ac_res=\$$3
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752$as_echo "$ac_res" >&6; }
1753else
1754 # Is the header compilable?
1755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1756$as_echo_n "checking $2 usability... " >&6; }
1757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758/* end confdefs.h. */
1759$4
1760#include <$2>
1761_ACEOF
1762if ac_fn_c_try_compile "$LINENO"; then :
1763 ac_header_compiler=yes
1764else
1765 ac_header_compiler=no
1766fi
1767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1769$as_echo "$ac_header_compiler" >&6; }
1770
1771# Is the header present?
1772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1773$as_echo_n "checking $2 presence... " >&6; }
1774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775/* end confdefs.h. */
1776#include <$2>
1777_ACEOF
1778if ac_fn_c_try_cpp "$LINENO"; then :
1779 ac_header_preproc=yes
1780else
1781 ac_header_preproc=no
1782fi
1783rm -f conftest.err conftest.$ac_ext
1784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1785$as_echo "$ac_header_preproc" >&6; }
1786
1787# So? What about this header?
1788case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1789 yes:no: )
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1791$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1793$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1794 ;;
1795 no:yes:* )
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1797$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1799$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1801$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1803$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1805$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1806 ;;
1807esac
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809$as_echo_n "checking for $2... " >&6; }
1810if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1811 $as_echo_n "(cached) " >&6
1812else
1813 eval "$3=\$ac_header_compiler"
1814fi
1815eval ac_res=\$$3
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817$as_echo "$ac_res" >&6; }
1818fi
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820
1821} # ac_fn_c_check_header_mongrel
1822
1823# ac_fn_c_try_run LINENO
1824# ----------------------
1825# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1826# that executables *can* be run.
1827ac_fn_c_try_run ()
1828{
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 if { { ac_try="$ac_link"
1831case "(($ac_try" in
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1834esac
1835eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836$as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_link") 2>&5
1838 ac_status=$?
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1841 { { case "(($ac_try" in
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1844esac
1845eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846$as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_try") 2>&5
1848 ac_status=$?
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; }; }; then :
1851 ac_retval=0
1852else
1853 $as_echo "$as_me: program exited with status $ac_status" >&5
1854 $as_echo "$as_me: failed program was:" >&5
1855sed 's/^/| /' conftest.$ac_ext >&5
1856
1857 ac_retval=$ac_status
1858fi
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 as_fn_set_status $ac_retval
1862
1863} # ac_fn_c_try_run
1864
1865# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1866# -------------------------------------------------------
1867# Tests whether HEADER exists and can be compiled using the include files in
1868# INCLUDES, setting the cache variable VAR accordingly.
1869ac_fn_c_check_header_compile ()
1870{
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873$as_echo_n "checking for $2... " >&6; }
1874if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 $as_echo_n "(cached) " >&6
1876else
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878/* end confdefs.h. */
1879$4
1880#include <$2>
1881_ACEOF
1882if ac_fn_c_try_compile "$LINENO"; then :
1883 eval "$3=yes"
1884else
1885 eval "$3=no"
1886fi
1887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888fi
1889eval ac_res=\$$3
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891$as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893
1894} # ac_fn_c_check_header_compile
1895
1896# ac_fn_c_check_decl LINENO SYMBOL VAR
1897# ------------------------------------
1898# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1899ac_fn_c_check_decl ()
1900{
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1903$as_echo_n "checking whether $2 is declared... " >&6; }
1904if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905 $as_echo_n "(cached) " >&6
1906else
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908/* end confdefs.h. */
1909$4
1910int
1911main ()
1912{
1913#ifndef $2
1914 (void) $2;
1915#endif
1916
1917 ;
1918 return 0;
1919}
1920_ACEOF
1921if ac_fn_c_try_compile "$LINENO"; then :
1922 eval "$3=yes"
1923else
1924 eval "$3=no"
1925fi
1926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927fi
1928eval ac_res=\$$3
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930$as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932
1933} # ac_fn_c_check_decl
1934
1935# ac_fn_c_check_header_preproc LINENO HEADER VAR
1936# ----------------------------------------------
1937# Tests whether HEADER is present, setting the cache variable VAR accordingly.
1938ac_fn_c_check_header_preproc ()
1939{
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942$as_echo_n "checking for $2... " >&6; }
1943if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944 $as_echo_n "(cached) " >&6
1945else
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947/* end confdefs.h. */
1948#include <$2>
1949_ACEOF
1950if ac_fn_c_try_cpp "$LINENO"; then :
1951 eval "$3=yes"
1952else
1953 eval "$3=no"
1954fi
1955rm -f conftest.err conftest.$ac_ext
1956fi
1957eval ac_res=\$$3
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959$as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1961
1962} # ac_fn_c_check_header_preproc
1963
1964# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1965# ----------------------------------------------------
1966# Tries to find if the field MEMBER exists in type AGGR, after including
1967# INCLUDES, setting cache variable VAR accordingly.
1968ac_fn_c_check_member ()
1969{
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1972$as_echo_n "checking for $2.$3... " >&6; }
1973if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1975else
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977/* end confdefs.h. */
1978$5
1979int
1980main ()
1981{
1982static $2 ac_aggr;
1983if (ac_aggr.$3)
1984return 0;
1985 ;
1986 return 0;
1987}
1988_ACEOF
1989if ac_fn_c_try_compile "$LINENO"; then :
1990 eval "$4=yes"
1991else
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993/* end confdefs.h. */
1994$5
1995int
1996main ()
1997{
1998static $2 ac_aggr;
1999if (sizeof ac_aggr.$3)
2000return 0;
2001 ;
2002 return 0;
2003}
2004_ACEOF
2005if ac_fn_c_try_compile "$LINENO"; then :
2006 eval "$4=yes"
2007else
2008 eval "$4=no"
2009fi
2010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011fi
2012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013fi
2014eval ac_res=\$$4
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016$as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018
2019} # ac_fn_c_check_member
2020
2021# ac_fn_c_check_func LINENO FUNC VAR
2022# ----------------------------------
2023# Tests whether FUNC exists, setting the cache variable VAR accordingly
2024ac_fn_c_check_func ()
2025{
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028$as_echo_n "checking for $2... " >&6; }
2029if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2030 $as_echo_n "(cached) " >&6
2031else
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033/* end confdefs.h. */
2034/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2036#define $2 innocuous_$2
2037
2038/* System header to define __stub macros and hopefully few prototypes,
2039 which can conflict with char $2 (); below.
2040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2041 <limits.h> exists even on freestanding compilers. */
2042
2043#ifdef __STDC__
2044# include <limits.h>
2045#else
2046# include <assert.h>
2047#endif
2048
2049#undef $2
2050
2051/* Override any GCC internal prototype to avoid an error.
2052 Use char because int might match the return type of a GCC
2053 builtin and then its argument prototype would still apply. */
2054#ifdef __cplusplus
2055extern "C"
2056#endif
2057char $2 ();
2058/* The GNU C library defines this for functions which it implements
2059 to always fail with ENOSYS. Some functions are actually named
2060 something starting with __ and the normal name is an alias. */
2061#if defined __stub_$2 || defined __stub___$2
2062choke me
2063#endif
2064
2065int
2066main ()
2067{
2068return $2 ();
2069 ;
2070 return 0;
2071}
2072_ACEOF
2073if ac_fn_c_try_link "$LINENO"; then :
2074 eval "$3=yes"
2075else
2076 eval "$3=no"
2077fi
2078rm -f core conftest.err conftest.$ac_objext \
2079 conftest$ac_exeext conftest.$ac_ext
2080fi
2081eval ac_res=\$$3
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2083$as_echo "$ac_res" >&6; }
2084 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2085
2086} # ac_fn_c_check_func
2087
2088# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2089# -------------------------------------------
2090# Tests whether TYPE exists after having included INCLUDES, setting cache
2091# variable VAR accordingly.
2092ac_fn_c_check_type ()
2093{
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2096$as_echo_n "checking for $2... " >&6; }
2097if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2098 $as_echo_n "(cached) " >&6
2099else
2100 eval "$3=no"
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102/* end confdefs.h. */
2103$4
2104int
2105main ()
2106{
2107if (sizeof ($2))
2108 return 0;
2109 ;
2110 return 0;
2111}
2112_ACEOF
2113if ac_fn_c_try_compile "$LINENO"; then :
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115/* end confdefs.h. */
2116$4
2117int
2118main ()
2119{
2120if (sizeof (($2)))
2121 return 0;
2122 ;
2123 return 0;
2124}
2125_ACEOF
2126if ac_fn_c_try_compile "$LINENO"; then :
2127
2128else
2129 eval "$3=yes"
2130fi
2131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132fi
2133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134fi
2135eval ac_res=\$$3
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2137$as_echo "$ac_res" >&6; }
2138 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2139
2140} # ac_fn_c_check_type
1664cat >config.log <<_ACEOF 2141cat >config.log <<_ACEOF
1665This file contains any messages produced by compilers while 2142This file contains any messages produced by compilers while
1666running configure, to aid debugging if configure makes a mistake. 2143running configure, to aid debugging if configure makes a mistake.
1667 2144
1668It was created by emacs $as_me 24.0.50, which was 2145It was created by emacs $as_me 24.0.50, which was
1669generated by GNU Autoconf 2.62. Invocation command line was 2146generated by GNU Autoconf 2.65. Invocation command line was
1670 2147
1671 $ $0 $@ 2148 $ $0 $@
1672 2149
@@ -1702,8 +2179,8 @@ for as_dir in $PATH
1702do 2179do
1703 IFS=$as_save_IFS 2180 IFS=$as_save_IFS
1704 test -z "$as_dir" && as_dir=. 2181 test -z "$as_dir" && as_dir=.
1705 $as_echo "PATH: $as_dir" 2182 $as_echo "PATH: $as_dir"
1706done 2183 done
1707IFS=$as_save_IFS 2184IFS=$as_save_IFS
1708 2185
1709} >&5 2186} >&5
@@ -1740,9 +2217,9 @@ do
1740 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2217 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1741 esac 2218 esac
1742 case $ac_pass in 2219 case $ac_pass in
1743 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1744 2) 2221 2)
1745 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2222 as_fn_append ac_configure_args1 " '$ac_arg'"
1746 if test $ac_must_keep_next = true; then 2223 if test $ac_must_keep_next = true; then
1747 ac_must_keep_next=false # Got value, back to normal. 2224 ac_must_keep_next=false # Got value, back to normal.
1748 else 2225 else
@@ -1758,13 +2235,13 @@ do
1758 -* ) ac_must_keep_next=true ;; 2235 -* ) ac_must_keep_next=true ;;
1759 esac 2236 esac
1760 fi 2237 fi
1761 ac_configure_args="$ac_configure_args '$ac_arg'" 2238 as_fn_append ac_configure_args " '$ac_arg'"
1762 ;; 2239 ;;
1763 esac 2240 esac
1764 done 2241 done
1765done 2242done
1766$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 2243{ ac_configure_args0=; unset ac_configure_args0;}
1767$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2244{ ac_configure_args1=; unset ac_configure_args1;}
1768 2245
1769# When interrupted or exit'd, cleanup temporary files, and complete 2246# When interrupted or exit'd, cleanup temporary files, and complete
1770# config.log. We remove comments because anyway the quotes in there 2247# config.log. We remove comments because anyway the quotes in there
@@ -1789,13 +2266,13 @@ _ASBOX
1789 case $ac_val in #( 2266 case $ac_val in #(
1790 *${as_nl}*) 2267 *${as_nl}*)
1791 case $ac_var in #( 2268 case $ac_var in #(
1792 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2269 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1793$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2270$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1794 esac 2271 esac
1795 case $ac_var in #( 2272 case $ac_var in #(
1796 _ | IFS | as_nl) ;; #( 2273 _ | IFS | as_nl) ;; #(
1797 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2274 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1798 *) $as_unset $ac_var ;; 2275 *) { eval $ac_var=; unset $ac_var;} ;;
1799 esac ;; 2276 esac ;;
1800 esac 2277 esac
1801 done 2278 done
@@ -1867,39 +2344,41 @@ _ASBOX
1867 exit $exit_status 2344 exit $exit_status
1868' 0 2345' 0
1869for ac_signal in 1 2 13 15; do 2346for ac_signal in 1 2 13 15; do
1870 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2347 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1871done 2348done
1872ac_signal=0 2349ac_signal=0
1873 2350
1874# confdefs.h avoids OS command line length limits that DEFS can exceed. 2351# confdefs.h avoids OS command line length limits that DEFS can exceed.
1875rm -f -r conftest* confdefs.h 2352rm -f -r conftest* confdefs.h
1876 2353
2354$as_echo "/* confdefs.h */" > confdefs.h
2355
1877# Predefined preprocessor variables. 2356# Predefined preprocessor variables.
1878 2357
1879cat >>confdefs.h <<_ACEOF 2358cat >>confdefs.h <<_ACEOF
1880#define PACKAGE_NAME "$PACKAGE_NAME" 2359#define PACKAGE_NAME "$PACKAGE_NAME"
1881_ACEOF 2360_ACEOF
1882 2361
1883
1884cat >>confdefs.h <<_ACEOF 2362cat >>confdefs.h <<_ACEOF
1885#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2363#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1886_ACEOF 2364_ACEOF
1887 2365
1888
1889cat >>confdefs.h <<_ACEOF 2366cat >>confdefs.h <<_ACEOF
1890#define PACKAGE_VERSION "$PACKAGE_VERSION" 2367#define PACKAGE_VERSION "$PACKAGE_VERSION"
1891_ACEOF 2368_ACEOF
1892 2369
1893
1894cat >>confdefs.h <<_ACEOF 2370cat >>confdefs.h <<_ACEOF
1895#define PACKAGE_STRING "$PACKAGE_STRING" 2371#define PACKAGE_STRING "$PACKAGE_STRING"
1896_ACEOF 2372_ACEOF
1897 2373
1898
1899cat >>confdefs.h <<_ACEOF 2374cat >>confdefs.h <<_ACEOF
1900#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2375#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1901_ACEOF 2376_ACEOF
1902 2377
2378cat >>confdefs.h <<_ACEOF
2379#define PACKAGE_URL "$PACKAGE_URL"
2380_ACEOF
2381
1903 2382
1904# Let the site file select an alternate cache file if it wants to. 2383# Let the site file select an alternate cache file if it wants to.
1905# Prefer an explicitly selected file to automatically selected ones. 2384# Prefer an explicitly selected file to automatically selected ones.
@@ -1917,8 +2396,8 @@ fi
1917for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2396for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1918do 2397do
1919 test "x$ac_site_file" = xNONE && continue 2398 test "x$ac_site_file" = xNONE && continue
1920 if test -r "$ac_site_file"; then 2399 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1921 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1922$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2401$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1923 sed 's/^/| /' "$ac_site_file" >&5 2402 sed 's/^/| /' "$ac_site_file" >&5
1924 . "$ac_site_file" 2403 . "$ac_site_file"
@@ -1926,10 +2405,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1926done 2405done
1927 2406
1928if test -r "$cache_file"; then 2407if test -r "$cache_file"; then
1929 # Some versions of bash will fail to source /dev/null (special 2408 # Some versions of bash will fail to source /dev/null (special files
1930 # files actually), so we avoid doing that. 2409 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1931 if test -f "$cache_file"; then 2410 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1932 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2411 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1933$as_echo "$as_me: loading cache $cache_file" >&6;} 2412$as_echo "$as_me: loading cache $cache_file" >&6;}
1934 case $cache_file in 2413 case $cache_file in
1935 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2414 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -1937,14 +2416,16 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
1937 esac 2416 esac
1938 fi 2417 fi
1939else 2418else
1940 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1941$as_echo "$as_me: creating cache $cache_file" >&6;} 2420$as_echo "$as_me: creating cache $cache_file" >&6;}
1942 >$cache_file 2421 >$cache_file
1943fi 2422fi
1944 2423
1945ac_header_list="$ac_header_list sys/time.h" 2424as_fn_append ac_header_list " stdlib.h"
1946ac_header_list="$ac_header_list unistd.h" 2425as_fn_append ac_header_list " unistd.h"
1947ac_func_list="$ac_func_list alarm" 2426as_fn_append ac_header_list " sys/param.h"
2427as_fn_append ac_header_list " sys/time.h"
2428as_fn_append ac_func_list " alarm"
1948# Check that the precious variables saved in the cache have kept the same 2429# Check that the precious variables saved in the cache have kept the same
1949# value. 2430# value.
1950ac_cache_corrupted=false 2431ac_cache_corrupted=false
@@ -1955,11 +2436,11 @@ for ac_var in $ac_precious_vars; do
1955 eval ac_new_val=\$ac_env_${ac_var}_value 2436 eval ac_new_val=\$ac_env_${ac_var}_value
1956 case $ac_old_set,$ac_new_set in 2437 case $ac_old_set,$ac_new_set in
1957 set,) 2438 set,)
1958 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1959$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2440$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1960 ac_cache_corrupted=: ;; 2441 ac_cache_corrupted=: ;;
1961 ,set) 2442 ,set)
1962 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1963$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2444$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1964 ac_cache_corrupted=: ;; 2445 ac_cache_corrupted=: ;;
1965 ,);; 2446 ,);;
@@ -1969,17 +2450,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1969 ac_old_val_w=`echo x $ac_old_val` 2450 ac_old_val_w=`echo x $ac_old_val`
1970 ac_new_val_w=`echo x $ac_new_val` 2451 ac_new_val_w=`echo x $ac_new_val`
1971 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2452 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1972 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1973$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2454$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1974 ac_cache_corrupted=: 2455 ac_cache_corrupted=:
1975 else 2456 else
1976 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2457 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1977$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2458$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1978 eval $ac_var=\$ac_old_val 2459 eval $ac_var=\$ac_old_val
1979 fi 2460 fi
1980 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1981$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2462$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1982 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1983$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2464$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1984 fi;; 2465 fi;;
1985 esac 2466 esac
@@ -1991,41 +2472,20 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1991 esac 2472 esac
1992 case " $ac_configure_args " in 2473 case " $ac_configure_args " in
1993 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2474 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1994 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2475 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1995 esac 2476 esac
1996 fi 2477 fi
1997done 2478done
1998if $ac_cache_corrupted; then 2479if $ac_cache_corrupted; then
1999 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2000$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2483$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2001 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2484 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2002$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2003 { (exit 1); exit 1; }; }
2004fi 2485fi
2005 2486## -------------------- ##
2006 2487## Main body of script. ##
2007 2488## -------------------- ##
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029 2489
2030ac_ext=c 2490ac_ext=c
2031ac_cpp='$CPP $CPPFLAGS' 2491ac_cpp='$CPP $CPPFLAGS'
@@ -2064,39 +2524,33 @@ gameuser=games
2064 2524
2065 2525
2066# Check whether --with-pop was given. 2526# Check whether --with-pop was given.
2067if test "${with_pop+set}" = set; then 2527if test "${with_pop+set}" = set; then :
2068 withval=$with_pop; 2528 withval=$with_pop;
2069else 2529else
2070 with_pop=yes 2530 with_pop=yes
2071fi 2531fi
2072 2532
2073if test "$with_pop" = yes; then 2533if test "$with_pop" = yes; then
2074 cat >>confdefs.h <<\_ACEOF 2534 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h
2075#define MAIL_USE_POP 1
2076_ACEOF
2077 2535
2078fi 2536fi
2079 2537
2080 2538
2081
2082# Check whether --with-kerberos was given. 2539# Check whether --with-kerberos was given.
2083if test "${with_kerberos+set}" = set; then 2540if test "${with_kerberos+set}" = set; then :
2084 withval=$with_kerberos; 2541 withval=$with_kerberos;
2085else 2542else
2086 with_kerberos=no 2543 with_kerberos=no
2087fi 2544fi
2088 2545
2089if test "$with_kerberos" != no; then 2546if test "$with_kerberos" != no; then
2090 cat >>confdefs.h <<\_ACEOF 2547 $as_echo "#define KERBEROS 1" >>confdefs.h
2091#define KERBEROS 1
2092_ACEOF
2093 2548
2094fi 2549fi
2095 2550
2096 2551
2097
2098# Check whether --with-kerberos5 was given. 2552# Check whether --with-kerberos5 was given.
2099if test "${with_kerberos5+set}" = set; then 2553if test "${with_kerberos5+set}" = set; then :
2100 withval=$with_kerberos5; 2554 withval=$with_kerberos5;
2101else 2555else
2102 with_kerberos5=no 2556 with_kerberos5=no
@@ -2105,21 +2559,17 @@ fi
2105if test "${with_kerberos5}" != no; then 2559if test "${with_kerberos5}" != no; then
2106 if test "${with_kerberos}" = no; then 2560 if test "${with_kerberos}" = no; then
2107 with_kerberos=yes 2561 with_kerberos=yes
2108 cat >>confdefs.h <<\_ACEOF 2562 $as_echo "#define KERBEROS 1" >>confdefs.h
2109#define KERBEROS 1
2110_ACEOF
2111 2563
2112 fi 2564 fi
2113 2565
2114cat >>confdefs.h <<\_ACEOF 2566$as_echo "#define KERBEROS5 1" >>confdefs.h
2115#define KERBEROS5 1
2116_ACEOF
2117 2567
2118fi 2568fi
2119 2569
2120 2570
2121# Check whether --with-hesiod was given. 2571# Check whether --with-hesiod was given.
2122if test "${with_hesiod+set}" = set; then 2572if test "${with_hesiod+set}" = set; then :
2123 withval=$with_hesiod; 2573 withval=$with_hesiod;
2124else 2574else
2125 with_hesiod=no 2575 with_hesiod=no
@@ -2127,15 +2577,13 @@ fi
2127 2577
2128if test "$with_hesiod" != no; then 2578if test "$with_hesiod" != no; then
2129 2579
2130cat >>confdefs.h <<\_ACEOF 2580$as_echo "#define HESIOD 1" >>confdefs.h
2131#define HESIOD 1
2132_ACEOF
2133 2581
2134fi 2582fi
2135 2583
2136 2584
2137# Check whether --with-mmdf was given. 2585# Check whether --with-mmdf was given.
2138if test "${with_mmdf+set}" = set; then 2586if test "${with_mmdf+set}" = set; then :
2139 withval=$with_mmdf; 2587 withval=$with_mmdf;
2140else 2588else
2141 with_mmdf=no 2589 with_mmdf=no
@@ -2143,15 +2591,13 @@ fi
2143 2591
2144if test "$with_mmdf" != no; then 2592if test "$with_mmdf" != no; then
2145 2593
2146cat >>confdefs.h <<\_ACEOF 2594$as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h
2147#define MAIL_USE_MMDF 1
2148_ACEOF
2149 2595
2150fi 2596fi
2151 2597
2152 2598
2153# Check whether --with-mail-unlink was given. 2599# Check whether --with-mail-unlink was given.
2154if test "${with_mail_unlink+set}" = set; then 2600if test "${with_mail_unlink+set}" = set; then :
2155 withval=$with_mail_unlink; 2601 withval=$with_mail_unlink;
2156else 2602else
2157 with_mail_unlink=no 2603 with_mail_unlink=no
@@ -2159,15 +2605,13 @@ fi
2159 2605
2160if test "$with_mail_unlink" != no; then 2606if test "$with_mail_unlink" != no; then
2161 2607
2162cat >>confdefs.h <<\_ACEOF 2608$as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h
2163#define MAIL_UNLINK_SPOOL 1
2164_ACEOF
2165 2609
2166fi 2610fi
2167 2611
2168 2612
2169# Check whether --with-mailhost was given. 2613# Check whether --with-mailhost was given.
2170if test "${with_mailhost+set}" = set; then 2614if test "${with_mailhost+set}" = set; then :
2171 withval=$with_mailhost; 2615 withval=$with_mailhost;
2172cat >>confdefs.h <<_ACEOF 2616cat >>confdefs.h <<_ACEOF
2173#define MAILHOST "$withval" 2617#define MAILHOST "$withval"
@@ -2178,7 +2622,7 @@ fi
2178 2622
2179 2623
2180# Check whether --with-sound was given. 2624# Check whether --with-sound was given.
2181if test "${with_sound+set}" = set; then 2625if test "${with_sound+set}" = set; then :
2182 withval=$with_sound; 2626 withval=$with_sound;
2183else 2627else
2184 with_sound=yes 2628 with_sound=yes
@@ -2187,7 +2631,7 @@ fi
2187 2631
2188 2632
2189# Check whether --with-sync-input was given. 2633# Check whether --with-sync-input was given.
2190if test "${with_sync_input+set}" = set; then 2634if test "${with_sync_input+set}" = set; then :
2191 withval=$with_sync_input; 2635 withval=$with_sync_input;
2192else 2636else
2193 with_sync_input=yes 2637 with_sync_input=yes
@@ -2195,15 +2639,13 @@ fi
2195 2639
2196if test "$with_sync_input" = yes; then 2640if test "$with_sync_input" = yes; then
2197 2641
2198cat >>confdefs.h <<\_ACEOF 2642$as_echo "#define SYNC_INPUT 1" >>confdefs.h
2199#define SYNC_INPUT 1
2200_ACEOF
2201 2643
2202fi 2644fi
2203 2645
2204 2646
2205# Check whether --with-x-toolkit was given. 2647# Check whether --with-x-toolkit was given.
2206if test "${with_x_toolkit+set}" = set; then 2648if test "${with_x_toolkit+set}" = set; then :
2207 withval=$with_x_toolkit; case "${withval}" in 2649 withval=$with_x_toolkit; case "${withval}" in
2208 y | ye | yes ) val=gtk ;; 2650 y | ye | yes ) val=gtk ;;
2209 n | no ) val=no ;; 2651 n | no ) val=no ;;
@@ -2212,13 +2654,9 @@ if test "${with_x_toolkit+set}" = set; then
2212 m | mo | mot | moti | motif ) val=motif ;; 2654 m | mo | mot | moti | motif ) val=motif ;;
2213 g | gt | gtk ) val=gtk ;; 2655 g | gt | gtk ) val=gtk ;;
2214 * ) 2656 * )
2215{ { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; 2657as_fn_error "\`--with-x-toolkit=$withval' is invalid;
2216this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2658this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2217\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 2659\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2218$as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
2219this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2220\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
2221 { (exit 1); exit 1; }; }
2222 ;; 2660 ;;
2223 esac 2661 esac
2224 with_x_toolkit=$val 2662 with_x_toolkit=$val
@@ -2228,7 +2666,7 @@ fi
2228 2666
2229 2667
2230# Check whether --with-xpm was given. 2668# Check whether --with-xpm was given.
2231if test "${with_xpm+set}" = set; then 2669if test "${with_xpm+set}" = set; then :
2232 withval=$with_xpm; 2670 withval=$with_xpm;
2233else 2671else
2234 with_xpm=yes 2672 with_xpm=yes
@@ -2236,7 +2674,7 @@ fi
2236 2674
2237 2675
2238# Check whether --with-jpeg was given. 2676# Check whether --with-jpeg was given.
2239if test "${with_jpeg+set}" = set; then 2677if test "${with_jpeg+set}" = set; then :
2240 withval=$with_jpeg; 2678 withval=$with_jpeg;
2241else 2679else
2242 with_jpeg=yes 2680 with_jpeg=yes
@@ -2244,7 +2682,7 @@ fi
2244 2682
2245 2683
2246# Check whether --with-tiff was given. 2684# Check whether --with-tiff was given.
2247if test "${with_tiff+set}" = set; then 2685if test "${with_tiff+set}" = set; then :
2248 withval=$with_tiff; 2686 withval=$with_tiff;
2249else 2687else
2250 with_tiff=yes 2688 with_tiff=yes
@@ -2252,7 +2690,7 @@ fi
2252 2690
2253 2691
2254# Check whether --with-gif was given. 2692# Check whether --with-gif was given.
2255if test "${with_gif+set}" = set; then 2693if test "${with_gif+set}" = set; then :
2256 withval=$with_gif; 2694 withval=$with_gif;
2257else 2695else
2258 with_gif=yes 2696 with_gif=yes
@@ -2260,7 +2698,7 @@ fi
2260 2698
2261 2699
2262# Check whether --with-png was given. 2700# Check whether --with-png was given.
2263if test "${with_png+set}" = set; then 2701if test "${with_png+set}" = set; then :
2264 withval=$with_png; 2702 withval=$with_png;
2265else 2703else
2266 with_png=yes 2704 with_png=yes
@@ -2268,7 +2706,7 @@ fi
2268 2706
2269 2707
2270# Check whether --with-rsvg was given. 2708# Check whether --with-rsvg was given.
2271if test "${with_rsvg+set}" = set; then 2709if test "${with_rsvg+set}" = set; then :
2272 withval=$with_rsvg; 2710 withval=$with_rsvg;
2273else 2711else
2274 with_rsvg=yes 2712 with_rsvg=yes
@@ -2277,7 +2715,7 @@ fi
2277 2715
2278 2716
2279# Check whether --with-xft was given. 2717# Check whether --with-xft was given.
2280if test "${with_xft+set}" = set; then 2718if test "${with_xft+set}" = set; then :
2281 withval=$with_xft; 2719 withval=$with_xft;
2282else 2720else
2283 with_xft=yes 2721 with_xft=yes
@@ -2285,7 +2723,7 @@ fi
2285 2723
2286 2724
2287# Check whether --with-libotf was given. 2725# Check whether --with-libotf was given.
2288if test "${with_libotf+set}" = set; then 2726if test "${with_libotf+set}" = set; then :
2289 withval=$with_libotf; 2727 withval=$with_libotf;
2290else 2728else
2291 with_libotf=yes 2729 with_libotf=yes
@@ -2293,7 +2731,7 @@ fi
2293 2731
2294 2732
2295# Check whether --with-m17n-flt was given. 2733# Check whether --with-m17n-flt was given.
2296if test "${with_m17n_flt+set}" = set; then 2734if test "${with_m17n_flt+set}" = set; then :
2297 withval=$with_m17n_flt; 2735 withval=$with_m17n_flt;
2298else 2736else
2299 with_m17n_flt=yes 2737 with_m17n_flt=yes
@@ -2302,7 +2740,7 @@ fi
2302 2740
2303 2741
2304# Check whether --with-toolkit-scroll-bars was given. 2742# Check whether --with-toolkit-scroll-bars was given.
2305if test "${with_toolkit_scroll_bars+set}" = set; then 2743if test "${with_toolkit_scroll_bars+set}" = set; then :
2306 withval=$with_toolkit_scroll_bars; 2744 withval=$with_toolkit_scroll_bars;
2307else 2745else
2308 with_toolkit_scroll_bars=yes 2746 with_toolkit_scroll_bars=yes
@@ -2310,7 +2748,7 @@ fi
2310 2748
2311 2749
2312# Check whether --with-xaw3d was given. 2750# Check whether --with-xaw3d was given.
2313if test "${with_xaw3d+set}" = set; then 2751if test "${with_xaw3d+set}" = set; then :
2314 withval=$with_xaw3d; 2752 withval=$with_xaw3d;
2315else 2753else
2316 with_xaw3d=yes 2754 with_xaw3d=yes
@@ -2318,7 +2756,7 @@ fi
2318 2756
2319 2757
2320# Check whether --with-xim was given. 2758# Check whether --with-xim was given.
2321if test "${with_xim+set}" = set; then 2759if test "${with_xim+set}" = set; then :
2322 withval=$with_xim; 2760 withval=$with_xim;
2323else 2761else
2324 with_xim=yes 2762 with_xim=yes
@@ -2326,7 +2764,7 @@ fi
2326 2764
2327 2765
2328# Check whether --with-ns was given. 2766# Check whether --with-ns was given.
2329if test "${with_ns+set}" = set; then 2767if test "${with_ns+set}" = set; then :
2330 withval=$with_ns; 2768 withval=$with_ns;
2331else 2769else
2332 with_ns=no 2770 with_ns=no
@@ -2335,7 +2773,7 @@ fi
2335 2773
2336 2774
2337# Check whether --with-gpm was given. 2775# Check whether --with-gpm was given.
2338if test "${with_gpm+set}" = set; then 2776if test "${with_gpm+set}" = set; then :
2339 withval=$with_gpm; 2777 withval=$with_gpm;
2340else 2778else
2341 with_gpm=yes 2779 with_gpm=yes
@@ -2343,7 +2781,7 @@ fi
2343 2781
2344 2782
2345# Check whether --with-dbus was given. 2783# Check whether --with-dbus was given.
2346if test "${with_dbus+set}" = set; then 2784if test "${with_dbus+set}" = set; then :
2347 withval=$with_dbus; 2785 withval=$with_dbus;
2348else 2786else
2349 with_dbus=yes 2787 with_dbus=yes
@@ -2351,7 +2789,7 @@ fi
2351 2789
2352 2790
2353# Check whether --with-gconf was given. 2791# Check whether --with-gconf was given.
2354if test "${with_gconf+set}" = set; then 2792if test "${with_gconf+set}" = set; then :
2355 withval=$with_gconf; 2793 withval=$with_gconf;
2356else 2794else
2357 with_gconf=yes 2795 with_gconf=yes
@@ -2359,7 +2797,7 @@ fi
2359 2797
2360 2798
2361# Check whether --with-selinux was given. 2799# Check whether --with-selinux was given.
2362if test "${with_selinux+set}" = set; then 2800if test "${with_selinux+set}" = set; then :
2363 withval=$with_selinux; 2801 withval=$with_selinux;
2364else 2802else
2365 with_selinux=yes 2803 with_selinux=yes
@@ -2370,7 +2808,7 @@ fi
2370## a suitable makeinfo, and can live without the manuals. 2808## a suitable makeinfo, and can live without the manuals.
2371 2809
2372# Check whether --with-makeinfo was given. 2810# Check whether --with-makeinfo was given.
2373if test "${with_makeinfo+set}" = set; then 2811if test "${with_makeinfo+set}" = set; then :
2374 withval=$with_makeinfo; 2812 withval=$with_makeinfo;
2375else 2813else
2376 with_makeinfo=yes 2814 with_makeinfo=yes
@@ -2379,29 +2817,23 @@ fi
2379 2817
2380 2818
2381# Check whether --with-gtk was given. 2819# Check whether --with-gtk was given.
2382if test "${with_gtk+set}" = set; then 2820if test "${with_gtk+set}" = set; then :
2383 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to 2821 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to
2384specify a toolkit." >&5 2822specify a toolkit." "$LINENO" 5
2385$as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2386specify a toolkit." >&2;}
2387 { (exit 1); exit 1; }; }
2388fi 2823fi
2389 2824
2390 2825
2391 2826
2392# Check whether --with-gcc was given. 2827# Check whether --with-gcc was given.
2393if test "${with_gcc+set}" = set; then 2828if test "${with_gcc+set}" = set; then :
2394 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment 2829 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment
2395variable to specify a compiler." >&5 2830variable to specify a compiler." "$LINENO" 5
2396$as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2397variable to specify a compiler." >&2;}
2398 { (exit 1); exit 1; }; }
2399fi 2831fi
2400 2832
2401 2833
2402 2834
2403# Check whether --with-pkg-config-prog was given. 2835# Check whether --with-pkg-config-prog was given.
2404if test "${with_pkg_config_prog+set}" = set; then 2836if test "${with_pkg_config_prog+set}" = set; then :
2405 withval=$with_pkg_config_prog; 2837 withval=$with_pkg_config_prog;
2406fi 2838fi
2407 2839
@@ -2414,7 +2846,7 @@ fi
2414CRT_DIR= 2846CRT_DIR=
2415 2847
2416# Check whether --with-crt-dir was given. 2848# Check whether --with-crt-dir was given.
2417if test "${with_crt_dir+set}" = set; then 2849if test "${with_crt_dir+set}" = set; then :
2418 withval=$with_crt_dir; 2850 withval=$with_crt_dir;
2419fi 2851fi
2420 2852
@@ -2422,7 +2854,7 @@ CRT_DIR="${with_crt_dir}"
2422 2854
2423 2855
2424# Check whether --with-gnustep-conf was given. 2856# Check whether --with-gnustep-conf was given.
2425if test "${with_gnustep_conf+set}" = set; then 2857if test "${with_gnustep_conf+set}" = set; then :
2426 withval=$with_gnustep_conf; 2858 withval=$with_gnustep_conf;
2427fi 2859fi
2428 2860
@@ -2432,7 +2864,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \
2432 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf 2864 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf
2433 2865
2434# Check whether --enable-ns-self-contained was given. 2866# Check whether --enable-ns-self-contained was given.
2435if test "${enable_ns_self_contained+set}" = set; then 2867if test "${enable_ns_self_contained+set}" = set; then :
2436 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval 2868 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval
2437else 2869else
2438 EN_NS_SELF_CONTAINED=yes 2870 EN_NS_SELF_CONTAINED=yes
@@ -2440,7 +2872,7 @@ fi
2440 2872
2441 2873
2442# Check whether --enable-asserts was given. 2874# Check whether --enable-asserts was given.
2443if test "${enable_asserts+set}" = set; then 2875if test "${enable_asserts+set}" = set; then :
2444 enableval=$enable_asserts; USE_XASSERTS=$enableval 2876 enableval=$enable_asserts; USE_XASSERTS=$enableval
2445else 2877else
2446 USE_XASSERTS=no 2878 USE_XASSERTS=no
@@ -2448,7 +2880,7 @@ fi
2448 2880
2449 2881
2450# Check whether --enable-maintainer-mode was given. 2882# Check whether --enable-maintainer-mode was given.
2451if test "${enable_maintainer_mode+set}" = set; then 2883if test "${enable_maintainer_mode+set}" = set; then :
2452 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2884 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2453else 2885else
2454 USE_MAINTAINER_MODE=no 2886 USE_MAINTAINER_MODE=no
@@ -2462,7 +2894,7 @@ fi
2462 2894
2463 2895
2464# Check whether --enable-locallisppath was given. 2896# Check whether --enable-locallisppath was given.
2465if test "${enable_locallisppath+set}" = set; then 2897if test "${enable_locallisppath+set}" = set; then :
2466 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then 2898 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then
2467 locallisppath= 2899 locallisppath=
2468elif test "${enableval}" != "yes"; then 2900elif test "${enableval}" != "yes"; then
@@ -2472,7 +2904,7 @@ fi
2472 2904
2473 2905
2474# Check whether --enable-checking was given. 2906# Check whether --enable-checking was given.
2475if test "${enable_checking+set}" = set; then 2907if test "${enable_checking+set}" = set; then :
2476 enableval=$enable_checking; ac_checking_flags="${enableval}" 2908 enableval=$enable_checking; ac_checking_flags="${enableval}"
2477fi 2909fi
2478 2910
@@ -2500,58 +2932,44 @@ do
2500 stringfreelist) ac_gc_check_string_free_list=1 ;; 2932 stringfreelist) ac_gc_check_string_free_list=1 ;;
2501 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2933 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2502 conslist) ac_gc_check_cons_list=1 ;; 2934 conslist) ac_gc_check_cons_list=1 ;;
2503 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 2935 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;;
2504$as_echo "$as_me: error: unknown check category $check" >&2;}
2505 { (exit 1); exit 1; }; } ;;
2506 esac 2936 esac
2507done 2937done
2508IFS="$ac_save_IFS" 2938IFS="$ac_save_IFS"
2509 2939
2510if test x$ac_enable_checking != x ; then 2940if test x$ac_enable_checking != x ; then
2511 2941
2512cat >>confdefs.h <<\_ACEOF 2942$as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
2513#define ENABLE_CHECKING 1
2514_ACEOF
2515 2943
2516fi 2944fi
2517if test x$ac_gc_check_stringbytes != x ; then 2945if test x$ac_gc_check_stringbytes != x ; then
2518 2946
2519cat >>confdefs.h <<\_ACEOF 2947$as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h
2520#define GC_CHECK_STRING_BYTES 1
2521_ACEOF
2522 2948
2523fi 2949fi
2524if test x$ac_gc_check_stringoverrun != x ; then 2950if test x$ac_gc_check_stringoverrun != x ; then
2525 2951
2526cat >>confdefs.h <<\_ACEOF 2952$as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h
2527#define GC_CHECK_STRING_OVERRUN 1
2528_ACEOF
2529 2953
2530fi 2954fi
2531if test x$ac_gc_check_string_free_list != x ; then 2955if test x$ac_gc_check_string_free_list != x ; then
2532 2956
2533cat >>confdefs.h <<\_ACEOF 2957$as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h
2534#define GC_CHECK_STRING_FREE_LIST 1
2535_ACEOF
2536 2958
2537fi 2959fi
2538if test x$ac_xmalloc_overrun != x ; then 2960if test x$ac_xmalloc_overrun != x ; then
2539 2961
2540cat >>confdefs.h <<\_ACEOF 2962$as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h
2541#define XMALLOC_OVERRUN_CHECK 1
2542_ACEOF
2543 2963
2544fi 2964fi
2545if test x$ac_gc_check_cons_list != x ; then 2965if test x$ac_gc_check_cons_list != x ; then
2546 2966
2547cat >>confdefs.h <<\_ACEOF 2967$as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h
2548#define GC_CHECK_CONS_LIST 1
2549_ACEOF
2550 2968
2551fi 2969fi
2552 2970
2553# Check whether --enable-profiling was given. 2971# Check whether --enable-profiling was given.
2554if test "${enable_profiling+set}" = set; then 2972if test "${enable_profiling+set}" = set; then :
2555 enableval=$enable_profiling; ac_enable_profiling="${enableval}" 2973 enableval=$enable_profiling; ac_enable_profiling="${enableval}"
2556fi 2974fi
2557 2975
@@ -2564,7 +2982,7 @@ else
2564fi 2982fi
2565 2983
2566# Check whether --enable-autodepend was given. 2984# Check whether --enable-autodepend was given.
2567if test "${enable_autodepend+set}" = set; then 2985if test "${enable_autodepend+set}" = set; then :
2568 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" 2986 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}"
2569else 2987else
2570 ac_enable_autodepend=yes 2988 ac_enable_autodepend=yes
@@ -2598,7 +3016,7 @@ esac
2598#### Check if the source directory already has a configured system in it. 3016#### Check if the source directory already has a configured system in it.
2599if test `pwd` != `(cd ${srcdir} && pwd)` \ 3017if test `pwd` != `(cd ${srcdir} && pwd)` \
2600 && test -f "${srcdir}/src/config.h" ; then 3018 && test -f "${srcdir}/src/config.h" ; then
2601 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used 3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used
2602 as a build directory right now; it has been configured in its own 3020 as a build directory right now; it has been configured in its own
2603 right. To configure in another directory as well, you MUST 3021 right. To configure in another directory as well, you MUST
2604 use GNU make. If you do not have GNU make, then you must 3022 use GNU make. If you do not have GNU make, then you must
@@ -2619,24 +3037,16 @@ fi
2619 3037
2620ac_aux_dir= 3038ac_aux_dir=
2621for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3039for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2622 if test -f "$ac_dir/install-sh"; then 3040 for ac_t in install-sh install.sh shtool; do
2623 ac_aux_dir=$ac_dir 3041 if test -f "$ac_dir/$ac_t"; then
2624 ac_install_sh="$ac_aux_dir/install-sh -c" 3042 ac_aux_dir=$ac_dir
2625 break 3043 ac_install_sh="$ac_aux_dir/$ac_t -c"
2626 elif test -f "$ac_dir/install.sh"; then 3044 break 2
2627 ac_aux_dir=$ac_dir 3045 fi
2628 ac_install_sh="$ac_aux_dir/install.sh -c" 3046 done
2629 break
2630 elif test -f "$ac_dir/shtool"; then
2631 ac_aux_dir=$ac_dir
2632 ac_install_sh="$ac_aux_dir/shtool install -c"
2633 break
2634 fi
2635done 3047done
2636if test -z "$ac_aux_dir"; then 3048if test -z "$ac_aux_dir"; then
2637 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3049 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2638$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2639 { (exit 1); exit 1; }; }
2640fi 3050fi
2641 3051
2642# These three variables are undocumented and unsupported, 3052# These three variables are undocumented and unsupported,
@@ -2650,35 +3060,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2650 3060
2651# Make sure we can run config.sub. 3061# Make sure we can run config.sub.
2652$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3062$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2653 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3063 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2654$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2655 { (exit 1); exit 1; }; }
2656 3064
2657{ $as_echo "$as_me:$LINENO: checking build system type" >&5 3065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2658$as_echo_n "checking build system type... " >&6; } 3066$as_echo_n "checking build system type... " >&6; }
2659if test "${ac_cv_build+set}" = set; then 3067if test "${ac_cv_build+set}" = set; then :
2660 $as_echo_n "(cached) " >&6 3068 $as_echo_n "(cached) " >&6
2661else 3069else
2662 ac_build_alias=$build_alias 3070 ac_build_alias=$build_alias
2663test "x$ac_build_alias" = x && 3071test "x$ac_build_alias" = x &&
2664 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3072 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2665test "x$ac_build_alias" = x && 3073test "x$ac_build_alias" = x &&
2666 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3074 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2667$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2668 { (exit 1); exit 1; }; }
2669ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3075ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2670 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2671$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2672 { (exit 1); exit 1; }; }
2673 3077
2674fi 3078fi
2675{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2676$as_echo "$ac_cv_build" >&6; } 3080$as_echo "$ac_cv_build" >&6; }
2677case $ac_cv_build in 3081case $ac_cv_build in
2678*-*-*) ;; 3082*-*-*) ;;
2679*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3083*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2680$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2681 { (exit 1); exit 1; }; };;
2682esac 3084esac
2683build=$ac_cv_build 3085build=$ac_cv_build
2684ac_save_IFS=$IFS; IFS='-' 3086ac_save_IFS=$IFS; IFS='-'
@@ -2694,28 +3096,24 @@ IFS=$ac_save_IFS
2694case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3096case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2695 3097
2696 3098
2697{ $as_echo "$as_me:$LINENO: checking host system type" >&5 3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2698$as_echo_n "checking host system type... " >&6; } 3100$as_echo_n "checking host system type... " >&6; }
2699if test "${ac_cv_host+set}" = set; then 3101if test "${ac_cv_host+set}" = set; then :
2700 $as_echo_n "(cached) " >&6 3102 $as_echo_n "(cached) " >&6
2701else 3103else
2702 if test "x$host_alias" = x; then 3104 if test "x$host_alias" = x; then
2703 ac_cv_host=$ac_cv_build 3105 ac_cv_host=$ac_cv_build
2704else 3106else
2705 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3107 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2706 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3108 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2707$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2708 { (exit 1); exit 1; }; }
2709fi 3109fi
2710 3110
2711fi 3111fi
2712{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2713$as_echo "$ac_cv_host" >&6; } 3113$as_echo "$ac_cv_host" >&6; }
2714case $ac_cv_host in 3114case $ac_cv_host in
2715*-*-*) ;; 3115*-*-*) ;;
2716*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3116*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2717$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2718 { (exit 1); exit 1; }; };;
2719esac 3117esac
2720host=$ac_cv_host 3118host=$ac_cv_host
2721ac_save_IFS=$IFS; IFS='-' 3119ac_save_IFS=$IFS; IFS='-'
@@ -3014,11 +3412,8 @@ fi
3014 3412
3015 3413
3016if test $unported = yes; then 3414if test $unported = yes; then
3017 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. 3415 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems.
3018Check \`etc/MACHINES' for recognized configuration names." >&5 3416Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3019$as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
3020Check \`etc/MACHINES' for recognized configuration names." >&2;}
3021 { (exit 1); exit 1; }; }
3022fi 3417fi
3023 3418
3024machfile="m/${machine}.h" 3419machfile="m/${machine}.h"
@@ -3039,9 +3434,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039if test -n "$ac_tool_prefix"; then 3434if test -n "$ac_tool_prefix"; then
3040 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3041set dummy ${ac_tool_prefix}gcc; ac_word=$2 3436set dummy ${ac_tool_prefix}gcc; ac_word=$2
3042{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043$as_echo_n "checking for $ac_word... " >&6; } 3438$as_echo_n "checking for $ac_word... " >&6; }
3044if test "${ac_cv_prog_CC+set}" = set; then 3439if test "${ac_cv_prog_CC+set}" = set; then :
3045 $as_echo_n "(cached) " >&6 3440 $as_echo_n "(cached) " >&6
3046else 3441else
3047 if test -n "$CC"; then 3442 if test -n "$CC"; then
@@ -3052,24 +3447,24 @@ for as_dir in $PATH
3052do 3447do
3053 IFS=$as_save_IFS 3448 IFS=$as_save_IFS
3054 test -z "$as_dir" && as_dir=. 3449 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do 3450 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3058 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 break 2 3454 break 2
3060 fi 3455 fi
3061done 3456done
3062done 3457 done
3063IFS=$as_save_IFS 3458IFS=$as_save_IFS
3064 3459
3065fi 3460fi
3066fi 3461fi
3067CC=$ac_cv_prog_CC 3462CC=$ac_cv_prog_CC
3068if test -n "$CC"; then 3463if test -n "$CC"; then
3069 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070$as_echo "$CC" >&6; } 3465$as_echo "$CC" >&6; }
3071else 3466else
3072 { $as_echo "$as_me:$LINENO: result: no" >&5 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073$as_echo "no" >&6; } 3468$as_echo "no" >&6; }
3074fi 3469fi
3075 3470
@@ -3079,9 +3474,9 @@ if test -z "$ac_cv_prog_CC"; then
3079 ac_ct_CC=$CC 3474 ac_ct_CC=$CC
3080 # Extract the first word of "gcc", so it can be a program name with args. 3475 # Extract the first word of "gcc", so it can be a program name with args.
3081set dummy gcc; ac_word=$2 3476set dummy gcc; ac_word=$2
3082{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083$as_echo_n "checking for $ac_word... " >&6; } 3478$as_echo_n "checking for $ac_word... " >&6; }
3084if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3479if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3085 $as_echo_n "(cached) " >&6 3480 $as_echo_n "(cached) " >&6
3086else 3481else
3087 if test -n "$ac_ct_CC"; then 3482 if test -n "$ac_ct_CC"; then
@@ -3092,24 +3487,24 @@ for as_dir in $PATH
3092do 3487do
3093 IFS=$as_save_IFS 3488 IFS=$as_save_IFS
3094 test -z "$as_dir" && as_dir=. 3489 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do 3490 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097 ac_cv_prog_ac_ct_CC="gcc" 3492 ac_cv_prog_ac_ct_CC="gcc"
3098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 break 2 3494 break 2
3100 fi 3495 fi
3101done 3496done
3102done 3497 done
3103IFS=$as_save_IFS 3498IFS=$as_save_IFS
3104 3499
3105fi 3500fi
3106fi 3501fi
3107ac_ct_CC=$ac_cv_prog_ac_ct_CC 3502ac_ct_CC=$ac_cv_prog_ac_ct_CC
3108if test -n "$ac_ct_CC"; then 3503if test -n "$ac_ct_CC"; then
3109 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3110$as_echo "$ac_ct_CC" >&6; } 3505$as_echo "$ac_ct_CC" >&6; }
3111else 3506else
3112 { $as_echo "$as_me:$LINENO: result: no" >&5 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113$as_echo "no" >&6; } 3508$as_echo "no" >&6; }
3114fi 3509fi
3115 3510
@@ -3118,12 +3513,8 @@ fi
3118 else 3513 else
3119 case $cross_compiling:$ac_tool_warned in 3514 case $cross_compiling:$ac_tool_warned in
3120yes:) 3515yes:)
3121{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3516{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3122whose name does not start with the host triplet. If you think this 3517$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3123configuration is useful to you, please write to autoconf@gnu.org." >&5
3124$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3125whose name does not start with the host triplet. If you think this
3126configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3127ac_tool_warned=yes ;; 3518ac_tool_warned=yes ;;
3128esac 3519esac
3129 CC=$ac_ct_CC 3520 CC=$ac_ct_CC
@@ -3136,9 +3527,9 @@ if test -z "$CC"; then
3136 if test -n "$ac_tool_prefix"; then 3527 if test -n "$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3528 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3138set dummy ${ac_tool_prefix}cc; ac_word=$2 3529set dummy ${ac_tool_prefix}cc; ac_word=$2
3139{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140$as_echo_n "checking for $ac_word... " >&6; } 3531$as_echo_n "checking for $ac_word... " >&6; }
3141if test "${ac_cv_prog_CC+set}" = set; then 3532if test "${ac_cv_prog_CC+set}" = set; then :
3142 $as_echo_n "(cached) " >&6 3533 $as_echo_n "(cached) " >&6
3143else 3534else
3144 if test -n "$CC"; then 3535 if test -n "$CC"; then
@@ -3149,24 +3540,24 @@ for as_dir in $PATH
3149do 3540do
3150 IFS=$as_save_IFS 3541 IFS=$as_save_IFS
3151 test -z "$as_dir" && as_dir=. 3542 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do 3543 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_CC="${ac_tool_prefix}cc" 3545 ac_cv_prog_CC="${ac_tool_prefix}cc"
3155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 break 2 3547 break 2
3157 fi 3548 fi
3158done 3549done
3159done 3550 done
3160IFS=$as_save_IFS 3551IFS=$as_save_IFS
3161 3552
3162fi 3553fi
3163fi 3554fi
3164CC=$ac_cv_prog_CC 3555CC=$ac_cv_prog_CC
3165if test -n "$CC"; then 3556if test -n "$CC"; then
3166 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167$as_echo "$CC" >&6; } 3558$as_echo "$CC" >&6; }
3168else 3559else
3169 { $as_echo "$as_me:$LINENO: result: no" >&5 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170$as_echo "no" >&6; } 3561$as_echo "no" >&6; }
3171fi 3562fi
3172 3563
@@ -3176,9 +3567,9 @@ fi
3176if test -z "$CC"; then 3567if test -z "$CC"; then
3177 # Extract the first word of "cc", so it can be a program name with args. 3568 # Extract the first word of "cc", so it can be a program name with args.
3178set dummy cc; ac_word=$2 3569set dummy cc; ac_word=$2
3179{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180$as_echo_n "checking for $ac_word... " >&6; } 3571$as_echo_n "checking for $ac_word... " >&6; }
3181if test "${ac_cv_prog_CC+set}" = set; then 3572if test "${ac_cv_prog_CC+set}" = set; then :
3182 $as_echo_n "(cached) " >&6 3573 $as_echo_n "(cached) " >&6
3183else 3574else
3184 if test -n "$CC"; then 3575 if test -n "$CC"; then
@@ -3190,18 +3581,18 @@ for as_dir in $PATH
3190do 3581do
3191 IFS=$as_save_IFS 3582 IFS=$as_save_IFS
3192 test -z "$as_dir" && as_dir=. 3583 test -z "$as_dir" && as_dir=.
3193 for ac_exec_ext in '' $ac_executable_extensions; do 3584 for ac_exec_ext in '' $ac_executable_extensions; do
3194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3586 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3196 ac_prog_rejected=yes 3587 ac_prog_rejected=yes
3197 continue 3588 continue
3198 fi 3589 fi
3199 ac_cv_prog_CC="cc" 3590 ac_cv_prog_CC="cc"
3200 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 break 2 3592 break 2
3202 fi 3593 fi
3203done 3594done
3204done 3595 done
3205IFS=$as_save_IFS 3596IFS=$as_save_IFS
3206 3597
3207if test $ac_prog_rejected = yes; then 3598if test $ac_prog_rejected = yes; then
@@ -3220,10 +3611,10 @@ fi
3220fi 3611fi
3221CC=$ac_cv_prog_CC 3612CC=$ac_cv_prog_CC
3222if test -n "$CC"; then 3613if test -n "$CC"; then
3223 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3224$as_echo "$CC" >&6; } 3615$as_echo "$CC" >&6; }
3225else 3616else
3226 { $as_echo "$as_me:$LINENO: result: no" >&5 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227$as_echo "no" >&6; } 3618$as_echo "no" >&6; }
3228fi 3619fi
3229 3620
@@ -3235,9 +3626,9 @@ if test -z "$CC"; then
3235 do 3626 do
3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3237set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3628set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3238{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239$as_echo_n "checking for $ac_word... " >&6; } 3630$as_echo_n "checking for $ac_word... " >&6; }
3240if test "${ac_cv_prog_CC+set}" = set; then 3631if test "${ac_cv_prog_CC+set}" = set; then :
3241 $as_echo_n "(cached) " >&6 3632 $as_echo_n "(cached) " >&6
3242else 3633else
3243 if test -n "$CC"; then 3634 if test -n "$CC"; then
@@ -3248,24 +3639,24 @@ for as_dir in $PATH
3248do 3639do
3249 IFS=$as_save_IFS 3640 IFS=$as_save_IFS
3250 test -z "$as_dir" && as_dir=. 3641 test -z "$as_dir" && as_dir=.
3251 for ac_exec_ext in '' $ac_executable_extensions; do 3642 for ac_exec_ext in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3644 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 break 2 3646 break 2
3256 fi 3647 fi
3257done 3648done
3258done 3649 done
3259IFS=$as_save_IFS 3650IFS=$as_save_IFS
3260 3651
3261fi 3652fi
3262fi 3653fi
3263CC=$ac_cv_prog_CC 3654CC=$ac_cv_prog_CC
3264if test -n "$CC"; then 3655if test -n "$CC"; then
3265 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3266$as_echo "$CC" >&6; } 3657$as_echo "$CC" >&6; }
3267else 3658else
3268 { $as_echo "$as_me:$LINENO: result: no" >&5 3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269$as_echo "no" >&6; } 3660$as_echo "no" >&6; }
3270fi 3661fi
3271 3662
@@ -3279,9 +3670,9 @@ if test -z "$CC"; then
3279do 3670do
3280 # Extract the first word of "$ac_prog", so it can be a program name with args. 3671 # Extract the first word of "$ac_prog", so it can be a program name with args.
3281set dummy $ac_prog; ac_word=$2 3672set dummy $ac_prog; ac_word=$2
3282{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283$as_echo_n "checking for $ac_word... " >&6; } 3674$as_echo_n "checking for $ac_word... " >&6; }
3284if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3675if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3285 $as_echo_n "(cached) " >&6 3676 $as_echo_n "(cached) " >&6
3286else 3677else
3287 if test -n "$ac_ct_CC"; then 3678 if test -n "$ac_ct_CC"; then
@@ -3292,24 +3683,24 @@ for as_dir in $PATH
3292do 3683do
3293 IFS=$as_save_IFS 3684 IFS=$as_save_IFS
3294 test -z "$as_dir" && as_dir=. 3685 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do 3686 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3297 ac_cv_prog_ac_ct_CC="$ac_prog" 3688 ac_cv_prog_ac_ct_CC="$ac_prog"
3298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 break 2 3690 break 2
3300 fi 3691 fi
3301done 3692done
3302done 3693 done
3303IFS=$as_save_IFS 3694IFS=$as_save_IFS
3304 3695
3305fi 3696fi
3306fi 3697fi
3307ac_ct_CC=$ac_cv_prog_ac_ct_CC 3698ac_ct_CC=$ac_cv_prog_ac_ct_CC
3308if test -n "$ac_ct_CC"; then 3699if test -n "$ac_ct_CC"; then
3309 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3310$as_echo "$ac_ct_CC" >&6; } 3701$as_echo "$ac_ct_CC" >&6; }
3311else 3702else
3312 { $as_echo "$as_me:$LINENO: result: no" >&5 3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313$as_echo "no" >&6; } 3704$as_echo "no" >&6; }
3314fi 3705fi
3315 3706
@@ -3322,12 +3713,8 @@ done
3322 else 3713 else
3323 case $cross_compiling:$ac_tool_warned in 3714 case $cross_compiling:$ac_tool_warned in
3324yes:) 3715yes:)
3325{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3716{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3326whose name does not start with the host triplet. If you think this 3717$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3327configuration is useful to you, please write to autoconf@gnu.org." >&5
3328$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3329whose name does not start with the host triplet. If you think this
3330configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3331ac_tool_warned=yes ;; 3718ac_tool_warned=yes ;;
3332esac 3719esac
3333 CC=$ac_ct_CC 3720 CC=$ac_ct_CC
@@ -3337,55 +3724,37 @@ fi
3337fi 3724fi
3338 3725
3339 3726
3340test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3727test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3341See \`config.log' for more details." >&5 3728$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3342$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3729as_fn_error "no acceptable C compiler found in \$PATH
3343See \`config.log' for more details." >&2;} 3730See \`config.log' for more details." "$LINENO" 5; }
3344 { (exit 1); exit 1; }; }
3345 3731
3346# Provide some information about the compiler. 3732# Provide some information about the compiler.
3347$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3733$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3348set X $ac_compile 3734set X $ac_compile
3349ac_compiler=$2 3735ac_compiler=$2
3350{ (ac_try="$ac_compiler --version >&5" 3736for ac_option in --version -v -V -qversion; do
3351case "(($ac_try" in 3737 { { ac_try="$ac_compiler $ac_option >&5"
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3354esac
3355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3356$as_echo "$ac_try_echo") >&5
3357 (eval "$ac_compiler --version >&5") 2>&5
3358 ac_status=$?
3359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); }
3361{ (ac_try="$ac_compiler -v >&5"
3362case "(($ac_try" in
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3365esac
3366eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3367$as_echo "$ac_try_echo") >&5
3368 (eval "$ac_compiler -v >&5") 2>&5
3369 ac_status=$?
3370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }
3372{ (ac_try="$ac_compiler -V >&5"
3373case "(($ac_try" in 3738case "(($ac_try" in
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375 *) ac_try_echo=$ac_try;; 3740 *) ac_try_echo=$ac_try;;
3376esac 3741esac
3377eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378$as_echo "$ac_try_echo") >&5 3743$as_echo "$ac_try_echo"; } >&5
3379 (eval "$ac_compiler -V >&5") 2>&5 3744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3380 ac_status=$? 3745 ac_status=$?
3381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3746 if test -s conftest.err; then
3382 (exit $ac_status); } 3747 sed '10a\
3748... rest of stderr output deleted ...
3749 10q' conftest.err >conftest.er1
3750 cat conftest.er1 >&5
3751 fi
3752 rm -f conftest.er1 conftest.err
3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754 test $ac_status = 0; }
3755done
3383 3756
3384cat >conftest.$ac_ext <<_ACEOF 3757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385/* confdefs.h. */
3386_ACEOF
3387cat confdefs.h >>conftest.$ac_ext
3388cat >>conftest.$ac_ext <<_ACEOF
3389/* end confdefs.h. */ 3758/* end confdefs.h. */
3390 3759
3391int 3760int
@@ -3401,8 +3770,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3401# Try to create an executable without -o first, disregard a.out. 3770# Try to create an executable without -o first, disregard a.out.
3402# It will help us diagnose broken compilers, and finding out an intuition 3771# It will help us diagnose broken compilers, and finding out an intuition
3403# of exeext. 3772# of exeext.
3404{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3405$as_echo_n "checking for C compiler default output file name... " >&6; } 3774$as_echo_n "checking whether the C compiler works... " >&6; }
3406ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3775ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3407 3776
3408# The possible output files: 3777# The possible output files:
@@ -3418,17 +3787,17 @@ do
3418done 3787done
3419rm -f $ac_rmfiles 3788rm -f $ac_rmfiles
3420 3789
3421if { (ac_try="$ac_link_default" 3790if { { ac_try="$ac_link_default"
3422case "(($ac_try" in 3791case "(($ac_try" in
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;; 3793 *) ac_try_echo=$ac_try;;
3425esac 3794esac
3426eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427$as_echo "$ac_try_echo") >&5 3796$as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link_default") 2>&5 3797 (eval "$ac_link_default") 2>&5
3429 ac_status=$? 3798 ac_status=$?
3430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 (exit $ac_status); }; then 3800 test $ac_status = 0; }; then :
3432 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3433# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3802# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3434# in a Makefile. We should not override ac_cv_exeext if it was cached, 3803# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -3445,7 +3814,7 @@ do
3445 # certainly right. 3814 # certainly right.
3446 break;; 3815 break;;
3447 *.* ) 3816 *.* )
3448 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3449 then :; else 3818 then :; else
3450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3451 fi 3820 fi
@@ -3464,80 +3833,42 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3464else 3833else
3465 ac_file='' 3834 ac_file=''
3466fi 3835fi
3467 3836if test -z "$ac_file"; then :
3468{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469$as_echo "$ac_file" >&6; } 3838$as_echo "no" >&6; }
3470if test -z "$ac_file"; then 3839$as_echo "$as_me: failed program was:" >&5
3471 $as_echo "$as_me: failed program was:" >&5
3472sed 's/^/| /' conftest.$ac_ext >&5 3840sed 's/^/| /' conftest.$ac_ext >&5
3473 3841
3474{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3842{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475See \`config.log' for more details." >&5 3843$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476$as_echo "$as_me: error: C compiler cannot create executables 3844{ as_fn_set_status 77
3477See \`config.log' for more details." >&2;} 3845as_fn_error "C compiler cannot create executables
3478 { (exit 77); exit 77; }; } 3846See \`config.log' for more details." "$LINENO" 5; }; }
3847else
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3849$as_echo "yes" >&6; }
3479fi 3850fi
3480 3851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3852$as_echo_n "checking for C compiler default output file name... " >&6; }
3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3854$as_echo "$ac_file" >&6; }
3481ac_exeext=$ac_cv_exeext 3855ac_exeext=$ac_cv_exeext
3482 3856
3483# Check that the compiler produces executables we can run. If not, either
3484# the compiler is broken, or we cross compile.
3485{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3486$as_echo_n "checking whether the C compiler works... " >&6; }
3487# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3488# If not cross compiling, check that we can run a simple program.
3489if test "$cross_compiling" != yes; then
3490 if { ac_try='./$ac_file'
3491 { (case "(($ac_try" in
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3494esac
3495eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3496$as_echo "$ac_try_echo") >&5
3497 (eval "$ac_try") 2>&5
3498 ac_status=$?
3499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; }; then
3501 cross_compiling=no
3502 else
3503 if test "$cross_compiling" = maybe; then
3504 cross_compiling=yes
3505 else
3506 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3507If you meant to cross compile, use \`--host'.
3508See \`config.log' for more details." >&5
3509$as_echo "$as_me: error: cannot run C compiled programs.
3510If you meant to cross compile, use \`--host'.
3511See \`config.log' for more details." >&2;}
3512 { (exit 1); exit 1; }; }
3513 fi
3514 fi
3515fi
3516{ $as_echo "$as_me:$LINENO: result: yes" >&5
3517$as_echo "yes" >&6; }
3518
3519rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3857rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3520ac_clean_files=$ac_clean_files_save 3858ac_clean_files=$ac_clean_files_save
3521# Check that the compiler produces executables we can run. If not, either 3859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3522# the compiler is broken, or we cross compile.
3523{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3524$as_echo_n "checking whether we are cross compiling... " >&6; }
3525{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3526$as_echo "$cross_compiling" >&6; }
3527
3528{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3529$as_echo_n "checking for suffix of executables... " >&6; } 3860$as_echo_n "checking for suffix of executables... " >&6; }
3530if { (ac_try="$ac_link" 3861if { { ac_try="$ac_link"
3531case "(($ac_try" in 3862case "(($ac_try" in
3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;; 3864 *) ac_try_echo=$ac_try;;
3534esac 3865esac
3535eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3866eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536$as_echo "$ac_try_echo") >&5 3867$as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link") 2>&5 3868 (eval "$ac_link") 2>&5
3538 ac_status=$? 3869 ac_status=$?
3539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 (exit $ac_status); }; then 3871 test $ac_status = 0; }; then :
3541 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3872 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3542# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3873# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3543# work properly (i.e., refer to `conftest.exe'), while it won't with 3874# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3552,30 +3883,83 @@ for ac_file in conftest.exe conftest conftest.*; do
3552 esac 3883 esac
3553done 3884done
3554else 3885else
3555 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556See \`config.log' for more details." >&5 3887$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3888as_fn_error "cannot compute suffix of executables: cannot compile and link
3558See \`config.log' for more details." >&2;} 3889See \`config.log' for more details." "$LINENO" 5; }
3559 { (exit 1); exit 1; }; }
3560fi 3890fi
3561 3891rm -f conftest conftest$ac_cv_exeext
3562rm -f conftest$ac_cv_exeext 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3563{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3564$as_echo "$ac_cv_exeext" >&6; } 3893$as_echo "$ac_cv_exeext" >&6; }
3565 3894
3566rm -f conftest.$ac_ext 3895rm -f conftest.$ac_ext
3567EXEEXT=$ac_cv_exeext 3896EXEEXT=$ac_cv_exeext
3568ac_exeext=$EXEEXT 3897ac_exeext=$EXEEXT
3569{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899/* end confdefs.h. */
3900#include <stdio.h>
3901int
3902main ()
3903{
3904FILE *f = fopen ("conftest.out", "w");
3905 return ferror (f) || fclose (f) != 0;
3906
3907 ;
3908 return 0;
3909}
3910_ACEOF
3911ac_clean_files="$ac_clean_files conftest.out"
3912# Check that the compiler produces executables we can run. If not, either
3913# the compiler is broken, or we cross compile.
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3915$as_echo_n "checking whether we are cross compiling... " >&6; }
3916if test "$cross_compiling" != yes; then
3917 { { ac_try="$ac_link"
3918case "(($ac_try" in
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3921esac
3922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923$as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_link") 2>&5
3925 ac_status=$?
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }
3928 if { ac_try='./conftest$ac_cv_exeext'
3929 { { case "(($ac_try" in
3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931 *) ac_try_echo=$ac_try;;
3932esac
3933eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934$as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_try") 2>&5
3936 ac_status=$?
3937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938 test $ac_status = 0; }; }; then
3939 cross_compiling=no
3940 else
3941 if test "$cross_compiling" = maybe; then
3942 cross_compiling=yes
3943 else
3944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3945$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3946as_fn_error "cannot run C compiled programs.
3947If you meant to cross compile, use \`--host'.
3948See \`config.log' for more details." "$LINENO" 5; }
3949 fi
3950 fi
3951fi
3952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3953$as_echo "$cross_compiling" >&6; }
3954
3955rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3956ac_clean_files=$ac_clean_files_save
3957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3570$as_echo_n "checking for suffix of object files... " >&6; } 3958$as_echo_n "checking for suffix of object files... " >&6; }
3571if test "${ac_cv_objext+set}" = set; then 3959if test "${ac_cv_objext+set}" = set; then :
3572 $as_echo_n "(cached) " >&6 3960 $as_echo_n "(cached) " >&6
3573else 3961else
3574 cat >conftest.$ac_ext <<_ACEOF 3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575/* confdefs.h. */
3576_ACEOF
3577cat confdefs.h >>conftest.$ac_ext
3578cat >>conftest.$ac_ext <<_ACEOF
3579/* end confdefs.h. */ 3963/* end confdefs.h. */
3580 3964
3581int 3965int
@@ -3587,17 +3971,17 @@ main ()
3587} 3971}
3588_ACEOF 3972_ACEOF
3589rm -f conftest.o conftest.obj 3973rm -f conftest.o conftest.obj
3590if { (ac_try="$ac_compile" 3974if { { ac_try="$ac_compile"
3591case "(($ac_try" in 3975case "(($ac_try" in
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;; 3977 *) ac_try_echo=$ac_try;;
3594esac 3978esac
3595eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3979eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596$as_echo "$ac_try_echo") >&5 3980$as_echo "$ac_try_echo"; } >&5
3597 (eval "$ac_compile") 2>&5 3981 (eval "$ac_compile") 2>&5
3598 ac_status=$? 3982 ac_status=$?
3599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600 (exit $ac_status); }; then 3984 test $ac_status = 0; }; then :
3601 for ac_file in conftest.o conftest.obj conftest.*; do 3985 for ac_file in conftest.o conftest.obj conftest.*; do
3602 test -f "$ac_file" || continue; 3986 test -f "$ac_file" || continue;
3603 case $ac_file in 3987 case $ac_file in
@@ -3610,29 +3994,23 @@ else
3610 $as_echo "$as_me: failed program was:" >&5 3994 $as_echo "$as_me: failed program was:" >&5
3611sed 's/^/| /' conftest.$ac_ext >&5 3995sed 's/^/| /' conftest.$ac_ext >&5
3612 3996
3613{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3997{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614See \`config.log' for more details." >&5 3998$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3999as_fn_error "cannot compute suffix of object files: cannot compile
3616See \`config.log' for more details." >&2;} 4000See \`config.log' for more details." "$LINENO" 5; }
3617 { (exit 1); exit 1; }; }
3618fi 4001fi
3619
3620rm -f conftest.$ac_cv_objext conftest.$ac_ext 4002rm -f conftest.$ac_cv_objext conftest.$ac_ext
3621fi 4003fi
3622{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3623$as_echo "$ac_cv_objext" >&6; } 4005$as_echo "$ac_cv_objext" >&6; }
3624OBJEXT=$ac_cv_objext 4006OBJEXT=$ac_cv_objext
3625ac_objext=$OBJEXT 4007ac_objext=$OBJEXT
3626{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 4008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3627$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4009$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3628if test "${ac_cv_c_compiler_gnu+set}" = set; then 4010if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3629 $as_echo_n "(cached) " >&6 4011 $as_echo_n "(cached) " >&6
3630else 4012else
3631 cat >conftest.$ac_ext <<_ACEOF 4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632/* confdefs.h. */
3633_ACEOF
3634cat confdefs.h >>conftest.$ac_ext
3635cat >>conftest.$ac_ext <<_ACEOF
3636/* end confdefs.h. */ 4014/* end confdefs.h. */
3637 4015
3638int 4016int
@@ -3646,37 +4024,16 @@ main ()
3646 return 0; 4024 return 0;
3647} 4025}
3648_ACEOF 4026_ACEOF
3649rm -f conftest.$ac_objext 4027if ac_fn_c_try_compile "$LINENO"; then :
3650if { (ac_try="$ac_compile"
3651case "(($ac_try" in
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3654esac
3655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656$as_echo "$ac_try_echo") >&5
3657 (eval "$ac_compile") 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } && {
3664 test -z "$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 } && test -s conftest.$ac_objext; then
3667 ac_compiler_gnu=yes 4028 ac_compiler_gnu=yes
3668else 4029else
3669 $as_echo "$as_me: failed program was:" >&5 4030 ac_compiler_gnu=no
3670sed 's/^/| /' conftest.$ac_ext >&5
3671
3672 ac_compiler_gnu=no
3673fi 4031fi
3674
3675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676ac_cv_c_compiler_gnu=$ac_compiler_gnu 4033ac_cv_c_compiler_gnu=$ac_compiler_gnu
3677 4034
3678fi 4035fi
3679{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3680$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4037$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3681if test $ac_compiler_gnu = yes; then 4038if test $ac_compiler_gnu = yes; then
3682 GCC=yes 4039 GCC=yes
@@ -3685,20 +4042,16 @@ else
3685fi 4042fi
3686ac_test_CFLAGS=${CFLAGS+set} 4043ac_test_CFLAGS=${CFLAGS+set}
3687ac_save_CFLAGS=$CFLAGS 4044ac_save_CFLAGS=$CFLAGS
3688{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3689$as_echo_n "checking whether $CC accepts -g... " >&6; } 4046$as_echo_n "checking whether $CC accepts -g... " >&6; }
3690if test "${ac_cv_prog_cc_g+set}" = set; then 4047if test "${ac_cv_prog_cc_g+set}" = set; then :
3691 $as_echo_n "(cached) " >&6 4048 $as_echo_n "(cached) " >&6
3692else 4049else
3693 ac_save_c_werror_flag=$ac_c_werror_flag 4050 ac_save_c_werror_flag=$ac_c_werror_flag
3694 ac_c_werror_flag=yes 4051 ac_c_werror_flag=yes
3695 ac_cv_prog_cc_g=no 4052 ac_cv_prog_cc_g=no
3696 CFLAGS="-g" 4053 CFLAGS="-g"
3697 cat >conftest.$ac_ext <<_ACEOF 4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698/* confdefs.h. */
3699_ACEOF
3700cat confdefs.h >>conftest.$ac_ext
3701cat >>conftest.$ac_ext <<_ACEOF
3702/* end confdefs.h. */ 4055/* end confdefs.h. */
3703 4056
3704int 4057int
@@ -3709,35 +4062,11 @@ main ()
3709 return 0; 4062 return 0;
3710} 4063}
3711_ACEOF 4064_ACEOF
3712rm -f conftest.$ac_objext 4065if ac_fn_c_try_compile "$LINENO"; then :
3713if { (ac_try="$ac_compile"
3714case "(($ac_try" in
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3717esac
3718eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3719$as_echo "$ac_try_echo") >&5
3720 (eval "$ac_compile") 2>conftest.er1
3721 ac_status=$?
3722 grep -v '^ *+' conftest.er1 >conftest.err
3723 rm -f conftest.er1
3724 cat conftest.err >&5
3725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); } && {
3727 test -z "$ac_c_werror_flag" ||
3728 test ! -s conftest.err
3729 } && test -s conftest.$ac_objext; then
3730 ac_cv_prog_cc_g=yes 4066 ac_cv_prog_cc_g=yes
3731else 4067else
3732 $as_echo "$as_me: failed program was:" >&5 4068 CFLAGS=""
3733sed 's/^/| /' conftest.$ac_ext >&5 4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734
3735 CFLAGS=""
3736 cat >conftest.$ac_ext <<_ACEOF
3737/* confdefs.h. */
3738_ACEOF
3739cat confdefs.h >>conftest.$ac_ext
3740cat >>conftest.$ac_ext <<_ACEOF
3741/* end confdefs.h. */ 4070/* end confdefs.h. */
3742 4071
3743int 4072int
@@ -3748,36 +4077,12 @@ main ()
3748 return 0; 4077 return 0;
3749} 4078}
3750_ACEOF 4079_ACEOF
3751rm -f conftest.$ac_objext 4080if ac_fn_c_try_compile "$LINENO"; then :
3752if { (ac_try="$ac_compile"
3753case "(($ac_try" in
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3756esac
3757eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3758$as_echo "$ac_try_echo") >&5
3759 (eval "$ac_compile") 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } && {
3766 test -z "$ac_c_werror_flag" ||
3767 test ! -s conftest.err
3768 } && test -s conftest.$ac_objext; then
3769 :
3770else
3771 $as_echo "$as_me: failed program was:" >&5
3772sed 's/^/| /' conftest.$ac_ext >&5
3773 4081
3774 ac_c_werror_flag=$ac_save_c_werror_flag 4082else
4083 ac_c_werror_flag=$ac_save_c_werror_flag
3775 CFLAGS="-g" 4084 CFLAGS="-g"
3776 cat >conftest.$ac_ext <<_ACEOF 4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777/* confdefs.h. */
3778_ACEOF
3779cat confdefs.h >>conftest.$ac_ext
3780cat >>conftest.$ac_ext <<_ACEOF
3781/* end confdefs.h. */ 4086/* end confdefs.h. */
3782 4087
3783int 4088int
@@ -3788,42 +4093,17 @@ main ()
3788 return 0; 4093 return 0;
3789} 4094}
3790_ACEOF 4095_ACEOF
3791rm -f conftest.$ac_objext 4096if ac_fn_c_try_compile "$LINENO"; then :
3792if { (ac_try="$ac_compile"
3793case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796esac
3797eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3798$as_echo "$ac_try_echo") >&5
3799 (eval "$ac_compile") 2>conftest.er1
3800 ac_status=$?
3801 grep -v '^ *+' conftest.er1 >conftest.err
3802 rm -f conftest.er1
3803 cat conftest.err >&5
3804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } && {
3806 test -z "$ac_c_werror_flag" ||
3807 test ! -s conftest.err
3808 } && test -s conftest.$ac_objext; then
3809 ac_cv_prog_cc_g=yes 4097 ac_cv_prog_cc_g=yes
3810else
3811 $as_echo "$as_me: failed program was:" >&5
3812sed 's/^/| /' conftest.$ac_ext >&5
3813
3814
3815fi 4098fi
3816
3817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818fi 4100fi
3819
3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821fi 4102fi
3822
3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 ac_c_werror_flag=$ac_save_c_werror_flag 4104 ac_c_werror_flag=$ac_save_c_werror_flag
3825fi 4105fi
3826{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 4106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3827$as_echo "$ac_cv_prog_cc_g" >&6; } 4107$as_echo "$ac_cv_prog_cc_g" >&6; }
3828if test "$ac_test_CFLAGS" = set; then 4108if test "$ac_test_CFLAGS" = set; then
3829 CFLAGS=$ac_save_CFLAGS 4109 CFLAGS=$ac_save_CFLAGS
@@ -3840,18 +4120,14 @@ else
3840 CFLAGS= 4120 CFLAGS=
3841 fi 4121 fi
3842fi 4122fi
3843{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3844$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4124$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3845if test "${ac_cv_prog_cc_c89+set}" = set; then 4125if test "${ac_cv_prog_cc_c89+set}" = set; then :
3846 $as_echo_n "(cached) " >&6 4126 $as_echo_n "(cached) " >&6
3847else 4127else
3848 ac_cv_prog_cc_c89=no 4128 ac_cv_prog_cc_c89=no
3849ac_save_CC=$CC 4129ac_save_CC=$CC
3850cat >conftest.$ac_ext <<_ACEOF 4130cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851/* confdefs.h. */
3852_ACEOF
3853cat confdefs.h >>conftest.$ac_ext
3854cat >>conftest.$ac_ext <<_ACEOF
3855/* end confdefs.h. */ 4131/* end confdefs.h. */
3856#include <stdarg.h> 4132#include <stdarg.h>
3857#include <stdio.h> 4133#include <stdio.h>
@@ -3908,32 +4184,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4184 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3909do 4185do
3910 CC="$ac_save_CC $ac_arg" 4186 CC="$ac_save_CC $ac_arg"
3911 rm -f conftest.$ac_objext 4187 if ac_fn_c_try_compile "$LINENO"; then :
3912if { (ac_try="$ac_compile"
3913case "(($ac_try" in
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3916esac
3917eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3918$as_echo "$ac_try_echo") >&5
3919 (eval "$ac_compile") 2>conftest.er1
3920 ac_status=$?
3921 grep -v '^ *+' conftest.er1 >conftest.err
3922 rm -f conftest.er1
3923 cat conftest.err >&5
3924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } && {
3926 test -z "$ac_c_werror_flag" ||
3927 test ! -s conftest.err
3928 } && test -s conftest.$ac_objext; then
3929 ac_cv_prog_cc_c89=$ac_arg 4188 ac_cv_prog_cc_c89=$ac_arg
3930else
3931 $as_echo "$as_me: failed program was:" >&5
3932sed 's/^/| /' conftest.$ac_ext >&5
3933
3934
3935fi 4189fi
3936
3937rm -f core conftest.err conftest.$ac_objext 4190rm -f core conftest.err conftest.$ac_objext
3938 test "x$ac_cv_prog_cc_c89" != "xno" && break 4191 test "x$ac_cv_prog_cc_c89" != "xno" && break
3939done 4192done
@@ -3944,17 +4197,19 @@ fi
3944# AC_CACHE_VAL 4197# AC_CACHE_VAL
3945case "x$ac_cv_prog_cc_c89" in 4198case "x$ac_cv_prog_cc_c89" in
3946 x) 4199 x)
3947 { $as_echo "$as_me:$LINENO: result: none needed" >&5 4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3948$as_echo "none needed" >&6; } ;; 4201$as_echo "none needed" >&6; } ;;
3949 xno) 4202 xno)
3950 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3951$as_echo "unsupported" >&6; } ;; 4204$as_echo "unsupported" >&6; } ;;
3952 *) 4205 *)
3953 CC="$CC $ac_cv_prog_cc_c89" 4206 CC="$CC $ac_cv_prog_cc_c89"
3954 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3955$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4208$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3956esac 4209esac
4210if test "x$ac_cv_prog_cc_c89" != xno; then :
3957 4211
4212fi
3958 4213
3959ac_ext=c 4214ac_ext=c
3960ac_cpp='$CPP $CPPFLAGS' 4215ac_cpp='$CPP $CPPFLAGS'
@@ -3972,17 +4227,13 @@ fi
3972## using a Sun compiler, which needs -Xs to prevent whitespace. 4227## using a Sun compiler, which needs -Xs to prevent whitespace.
3973if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 4228if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
3974 test x"$CPP" = x; then 4229 test x"$CPP" = x; then
3975 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
3976$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 4231$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
3977 4232
3978if test "${emacs_cv_sunpro_c+set}" = set; then 4233if test "${emacs_cv_sunpro_c+set}" = set; then :
3979 $as_echo_n "(cached) " >&6 4234 $as_echo_n "(cached) " >&6
3980else 4235else
3981 cat >conftest.$ac_ext <<_ACEOF 4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982/* confdefs.h. */
3983_ACEOF
3984cat confdefs.h >>conftest.$ac_ext
3985cat >>conftest.$ac_ext <<_ACEOF
3986/* end confdefs.h. */ 4237/* end confdefs.h. */
3987 4238
3988int 4239int
@@ -3996,41 +4247,16 @@ fail;
3996 return 0; 4247 return 0;
3997} 4248}
3998_ACEOF 4249_ACEOF
3999rm -f conftest.$ac_objext conftest$ac_exeext 4250if ac_fn_c_try_link "$LINENO"; then :
4000if { (ac_try="$ac_link"
4001case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004esac
4005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4006$as_echo "$ac_try_echo") >&5
4007 (eval "$ac_link") 2>conftest.er1
4008 ac_status=$?
4009 grep -v '^ *+' conftest.er1 >conftest.err
4010 rm -f conftest.er1
4011 cat conftest.err >&5
4012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_c_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest$ac_exeext && {
4017 test "$cross_compiling" = yes ||
4018 $as_test_x conftest$ac_exeext
4019 }; then
4020 emacs_cv_sunpro_c=yes 4251 emacs_cv_sunpro_c=yes
4021else 4252else
4022 $as_echo "$as_me: failed program was:" >&5 4253 emacs_cv_sunpro_c=no
4023sed 's/^/| /' conftest.$ac_ext >&5
4024
4025 emacs_cv_sunpro_c=no
4026fi 4254fi
4027 4255rm -f core conftest.err conftest.$ac_objext \
4028rm -rf conftest.dSYM 4256 conftest$ac_exeext conftest.$ac_ext
4029rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4030 conftest$ac_exeext conftest.$ac_ext
4031fi 4257fi
4032 4258
4033 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5
4034$as_echo "$emacs_cv_sunpro_c" >&6; } 4260$as_echo "$emacs_cv_sunpro_c" >&6; }
4035 4261
4036 if test x"$emacs_cv_sunpro_c" = xyes; then 4262 if test x"$emacs_cv_sunpro_c" = xyes; then
@@ -4070,14 +4296,14 @@ ac_cpp='$CPP $CPPFLAGS'
4070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072ac_compiler_gnu=$ac_cv_c_compiler_gnu 4298ac_compiler_gnu=$ac_cv_c_compiler_gnu
4073{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4074$as_echo_n "checking how to run the C preprocessor... " >&6; } 4300$as_echo_n "checking how to run the C preprocessor... " >&6; }
4075# On Suns, sometimes $CPP names a directory. 4301# On Suns, sometimes $CPP names a directory.
4076if test -n "$CPP" && test -d "$CPP"; then 4302if test -n "$CPP" && test -d "$CPP"; then
4077 CPP= 4303 CPP=
4078fi 4304fi
4079if test -z "$CPP"; then 4305if test -z "$CPP"; then
4080 if test "${ac_cv_prog_CPP+set}" = set; then 4306 if test "${ac_cv_prog_CPP+set}" = set; then :
4081 $as_echo_n "(cached) " >&6 4307 $as_echo_n "(cached) " >&6
4082else 4308else
4083 # Double quotes because CPP needs to be expanded 4309 # Double quotes because CPP needs to be expanded
@@ -4092,11 +4318,7 @@ do
4092 # <limits.h> exists even on freestanding compilers. 4318 # <limits.h> exists even on freestanding compilers.
4093 # On the NeXT, cc -E runs the code through the compiler's parser, 4319 # On the NeXT, cc -E runs the code through the compiler's parser,
4094 # not just through cpp. "Syntax error" is here to catch this case. 4320 # not just through cpp. "Syntax error" is here to catch this case.
4095 cat >conftest.$ac_ext <<_ACEOF 4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096/* confdefs.h. */
4097_ACEOF
4098cat confdefs.h >>conftest.$ac_ext
4099cat >>conftest.$ac_ext <<_ACEOF
4100/* end confdefs.h. */ 4322/* end confdefs.h. */
4101#ifdef __STDC__ 4323#ifdef __STDC__
4102# include <limits.h> 4324# include <limits.h>
@@ -4105,78 +4327,34 @@ cat >>conftest.$ac_ext <<_ACEOF
4105#endif 4327#endif
4106 Syntax error 4328 Syntax error
4107_ACEOF 4329_ACEOF
4108if { (ac_try="$ac_cpp conftest.$ac_ext" 4330if ac_fn_c_try_cpp "$LINENO"; then :
4109case "(($ac_try" in
4110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4111 *) ac_try_echo=$ac_try;;
4112esac
4113eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4114$as_echo "$ac_try_echo") >&5
4115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4116 ac_status=$?
4117 grep -v '^ *+' conftest.er1 >conftest.err
4118 rm -f conftest.er1
4119 cat conftest.err >&5
4120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } >/dev/null && {
4122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4123 test ! -s conftest.err
4124 }; then
4125 :
4126else
4127 $as_echo "$as_me: failed program was:" >&5
4128sed 's/^/| /' conftest.$ac_ext >&5
4129 4331
4332else
4130 # Broken: fails on valid input. 4333 # Broken: fails on valid input.
4131continue 4334continue
4132fi 4335fi
4133
4134rm -f conftest.err conftest.$ac_ext 4336rm -f conftest.err conftest.$ac_ext
4135 4337
4136 # OK, works on sane cases. Now check whether nonexistent headers 4338 # OK, works on sane cases. Now check whether nonexistent headers
4137 # can be detected and how. 4339 # can be detected and how.
4138 cat >conftest.$ac_ext <<_ACEOF 4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139/* confdefs.h. */
4140_ACEOF
4141cat confdefs.h >>conftest.$ac_ext
4142cat >>conftest.$ac_ext <<_ACEOF
4143/* end confdefs.h. */ 4341/* end confdefs.h. */
4144#include <ac_nonexistent.h> 4342#include <ac_nonexistent.h>
4145_ACEOF 4343_ACEOF
4146if { (ac_try="$ac_cpp conftest.$ac_ext" 4344if ac_fn_c_try_cpp "$LINENO"; then :
4147case "(($ac_try" in
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4150esac
4151eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4152$as_echo "$ac_try_echo") >&5
4153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4154 ac_status=$?
4155 grep -v '^ *+' conftest.er1 >conftest.err
4156 rm -f conftest.er1
4157 cat conftest.err >&5
4158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } >/dev/null && {
4160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4161 test ! -s conftest.err
4162 }; then
4163 # Broken: success on invalid input. 4345 # Broken: success on invalid input.
4164continue 4346continue
4165else 4347else
4166 $as_echo "$as_me: failed program was:" >&5
4167sed 's/^/| /' conftest.$ac_ext >&5
4168
4169 # Passes both tests. 4348 # Passes both tests.
4170ac_preproc_ok=: 4349ac_preproc_ok=:
4171break 4350break
4172fi 4351fi
4173
4174rm -f conftest.err conftest.$ac_ext 4352rm -f conftest.err conftest.$ac_ext
4175 4353
4176done 4354done
4177# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4355# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4178rm -f conftest.err conftest.$ac_ext 4356rm -f conftest.err conftest.$ac_ext
4179if $ac_preproc_ok; then 4357if $ac_preproc_ok; then :
4180 break 4358 break
4181fi 4359fi
4182 4360
@@ -4188,7 +4366,7 @@ fi
4188else 4366else
4189 ac_cv_prog_CPP=$CPP 4367 ac_cv_prog_CPP=$CPP
4190fi 4368fi
4191{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 4369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4192$as_echo "$CPP" >&6; } 4370$as_echo "$CPP" >&6; }
4193ac_preproc_ok=false 4371ac_preproc_ok=false
4194for ac_c_preproc_warn_flag in '' yes 4372for ac_c_preproc_warn_flag in '' yes
@@ -4199,11 +4377,7 @@ do
4199 # <limits.h> exists even on freestanding compilers. 4377 # <limits.h> exists even on freestanding compilers.
4200 # On the NeXT, cc -E runs the code through the compiler's parser, 4378 # On the NeXT, cc -E runs the code through the compiler's parser,
4201 # not just through cpp. "Syntax error" is here to catch this case. 4379 # not just through cpp. "Syntax error" is here to catch this case.
4202 cat >conftest.$ac_ext <<_ACEOF 4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203/* confdefs.h. */
4204_ACEOF
4205cat confdefs.h >>conftest.$ac_ext
4206cat >>conftest.$ac_ext <<_ACEOF
4207/* end confdefs.h. */ 4381/* end confdefs.h. */
4208#ifdef __STDC__ 4382#ifdef __STDC__
4209# include <limits.h> 4383# include <limits.h>
@@ -4212,85 +4386,40 @@ cat >>conftest.$ac_ext <<_ACEOF
4212#endif 4386#endif
4213 Syntax error 4387 Syntax error
4214_ACEOF 4388_ACEOF
4215if { (ac_try="$ac_cpp conftest.$ac_ext" 4389if ac_fn_c_try_cpp "$LINENO"; then :
4216case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4219esac
4220eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4221$as_echo "$ac_try_echo") >&5
4222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4223 ac_status=$?
4224 grep -v '^ *+' conftest.er1 >conftest.err
4225 rm -f conftest.er1
4226 cat conftest.err >&5
4227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } >/dev/null && {
4229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4230 test ! -s conftest.err
4231 }; then
4232 :
4233else
4234 $as_echo "$as_me: failed program was:" >&5
4235sed 's/^/| /' conftest.$ac_ext >&5
4236 4390
4391else
4237 # Broken: fails on valid input. 4392 # Broken: fails on valid input.
4238continue 4393continue
4239fi 4394fi
4240
4241rm -f conftest.err conftest.$ac_ext 4395rm -f conftest.err conftest.$ac_ext
4242 4396
4243 # OK, works on sane cases. Now check whether nonexistent headers 4397 # OK, works on sane cases. Now check whether nonexistent headers
4244 # can be detected and how. 4398 # can be detected and how.
4245 cat >conftest.$ac_ext <<_ACEOF 4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246/* confdefs.h. */
4247_ACEOF
4248cat confdefs.h >>conftest.$ac_ext
4249cat >>conftest.$ac_ext <<_ACEOF
4250/* end confdefs.h. */ 4400/* end confdefs.h. */
4251#include <ac_nonexistent.h> 4401#include <ac_nonexistent.h>
4252_ACEOF 4402_ACEOF
4253if { (ac_try="$ac_cpp conftest.$ac_ext" 4403if ac_fn_c_try_cpp "$LINENO"; then :
4254case "(($ac_try" in
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4257esac
4258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4259$as_echo "$ac_try_echo") >&5
4260 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4261 ac_status=$?
4262 grep -v '^ *+' conftest.er1 >conftest.err
4263 rm -f conftest.er1
4264 cat conftest.err >&5
4265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } >/dev/null && {
4267 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4268 test ! -s conftest.err
4269 }; then
4270 # Broken: success on invalid input. 4404 # Broken: success on invalid input.
4271continue 4405continue
4272else 4406else
4273 $as_echo "$as_me: failed program was:" >&5
4274sed 's/^/| /' conftest.$ac_ext >&5
4275
4276 # Passes both tests. 4407 # Passes both tests.
4277ac_preproc_ok=: 4408ac_preproc_ok=:
4278break 4409break
4279fi 4410fi
4280
4281rm -f conftest.err conftest.$ac_ext 4411rm -f conftest.err conftest.$ac_ext
4282 4412
4283done 4413done
4284# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4414# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4285rm -f conftest.err conftest.$ac_ext 4415rm -f conftest.err conftest.$ac_ext
4286if $ac_preproc_ok; then 4416if $ac_preproc_ok; then :
4287 : 4417
4288else 4418else
4289 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4290See \`config.log' for more details." >&5 4420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4291$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4421as_fn_error "C preprocessor \"$CPP\" fails sanity check
4292See \`config.log' for more details." >&2;} 4422See \`config.log' for more details." "$LINENO" 5; }
4293 { (exit 1); exit 1; }; }
4294fi 4423fi
4295 4424
4296ac_ext=c 4425ac_ext=c
@@ -4300,9 +4429,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4300ac_compiler_gnu=$ac_cv_c_compiler_gnu 4429ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301 4430
4302 4431
4303{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4304$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4433$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4305if test "${ac_cv_path_GREP+set}" = set; then 4434if test "${ac_cv_path_GREP+set}" = set; then :
4306 $as_echo_n "(cached) " >&6 4435 $as_echo_n "(cached) " >&6
4307else 4436else
4308 if test -z "$GREP"; then 4437 if test -z "$GREP"; then
@@ -4313,7 +4442,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4313do 4442do
4314 IFS=$as_save_IFS 4443 IFS=$as_save_IFS
4315 test -z "$as_dir" && as_dir=. 4444 test -z "$as_dir" && as_dir=.
4316 for ac_prog in grep ggrep; do 4445 for ac_prog in grep ggrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do 4446 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4447 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4448 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -4333,7 +4462,7 @@ case `"$ac_path_GREP" --version 2>&1` in
4333 $as_echo 'GREP' >> "conftest.nl" 4462 $as_echo 'GREP' >> "conftest.nl"
4334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4463 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 ac_count=`expr $ac_count + 1` 4465 as_fn_arith $ac_count + 1 && ac_count=$as_val
4337 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4466 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4338 # Best one so far, save it but keep looking for a better one 4467 # Best one so far, save it but keep looking for a better one
4339 ac_cv_path_GREP="$ac_path_GREP" 4468 ac_cv_path_GREP="$ac_path_GREP"
@@ -4348,26 +4477,24 @@ esac
4348 $ac_path_GREP_found && break 3 4477 $ac_path_GREP_found && break 3
4349 done 4478 done
4350 done 4479 done
4351done 4480 done
4352IFS=$as_save_IFS 4481IFS=$as_save_IFS
4353 if test -z "$ac_cv_path_GREP"; then 4482 if test -z "$ac_cv_path_GREP"; then
4354 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4483 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4355$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4356 { (exit 1); exit 1; }; }
4357 fi 4484 fi
4358else 4485else
4359 ac_cv_path_GREP=$GREP 4486 ac_cv_path_GREP=$GREP
4360fi 4487fi
4361 4488
4362fi 4489fi
4363{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4364$as_echo "$ac_cv_path_GREP" >&6; } 4491$as_echo "$ac_cv_path_GREP" >&6; }
4365 GREP="$ac_cv_path_GREP" 4492 GREP="$ac_cv_path_GREP"
4366 4493
4367 4494
4368{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4369$as_echo_n "checking for egrep... " >&6; } 4496$as_echo_n "checking for egrep... " >&6; }
4370if test "${ac_cv_path_EGREP+set}" = set; then 4497if test "${ac_cv_path_EGREP+set}" = set; then :
4371 $as_echo_n "(cached) " >&6 4498 $as_echo_n "(cached) " >&6
4372else 4499else
4373 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4500 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4381,7 +4508,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4381do 4508do
4382 IFS=$as_save_IFS 4509 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=. 4510 test -z "$as_dir" && as_dir=.
4384 for ac_prog in egrep; do 4511 for ac_prog in egrep; do
4385 for ac_exec_ext in '' $ac_executable_extensions; do 4512 for ac_exec_ext in '' $ac_executable_extensions; do
4386 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4513 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4387 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4514 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -4401,7 +4528,7 @@ case `"$ac_path_EGREP" --version 2>&1` in
4401 $as_echo 'EGREP' >> "conftest.nl" 4528 $as_echo 'EGREP' >> "conftest.nl"
4402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4529 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4530 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4404 ac_count=`expr $ac_count + 1` 4531 as_fn_arith $ac_count + 1 && ac_count=$as_val
4405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4532 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4406 # Best one so far, save it but keep looking for a better one 4533 # Best one so far, save it but keep looking for a better one
4407 ac_cv_path_EGREP="$ac_path_EGREP" 4534 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -4416,12 +4543,10 @@ esac
4416 $ac_path_EGREP_found && break 3 4543 $ac_path_EGREP_found && break 3
4417 done 4544 done
4418 done 4545 done
4419done 4546 done
4420IFS=$as_save_IFS 4547IFS=$as_save_IFS
4421 if test -z "$ac_cv_path_EGREP"; then 4548 if test -z "$ac_cv_path_EGREP"; then
4422 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4549 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4423$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4424 { (exit 1); exit 1; }; }
4425 fi 4550 fi
4426else 4551else
4427 ac_cv_path_EGREP=$EGREP 4552 ac_cv_path_EGREP=$EGREP
@@ -4429,21 +4554,17 @@ fi
4429 4554
4430 fi 4555 fi
4431fi 4556fi
4432{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4433$as_echo "$ac_cv_path_EGREP" >&6; } 4558$as_echo "$ac_cv_path_EGREP" >&6; }
4434 EGREP="$ac_cv_path_EGREP" 4559 EGREP="$ac_cv_path_EGREP"
4435 4560
4436 4561
4437{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4438$as_echo_n "checking for ANSI C header files... " >&6; } 4563$as_echo_n "checking for ANSI C header files... " >&6; }
4439if test "${ac_cv_header_stdc+set}" = set; then 4564if test "${ac_cv_header_stdc+set}" = set; then :
4440 $as_echo_n "(cached) " >&6 4565 $as_echo_n "(cached) " >&6
4441else 4566else
4442 cat >conftest.$ac_ext <<_ACEOF 4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443/* confdefs.h. */
4444_ACEOF
4445cat confdefs.h >>conftest.$ac_ext
4446cat >>conftest.$ac_ext <<_ACEOF
4447/* end confdefs.h. */ 4568/* end confdefs.h. */
4448#include <stdlib.h> 4569#include <stdlib.h>
4449#include <stdarg.h> 4570#include <stdarg.h>
@@ -4458,48 +4579,23 @@ main ()
4458 return 0; 4579 return 0;
4459} 4580}
4460_ACEOF 4581_ACEOF
4461rm -f conftest.$ac_objext 4582if ac_fn_c_try_compile "$LINENO"; then :
4462if { (ac_try="$ac_compile"
4463case "(($ac_try" in
4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465 *) ac_try_echo=$ac_try;;
4466esac
4467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4468$as_echo "$ac_try_echo") >&5
4469 (eval "$ac_compile") 2>conftest.er1
4470 ac_status=$?
4471 grep -v '^ *+' conftest.er1 >conftest.err
4472 rm -f conftest.er1
4473 cat conftest.err >&5
4474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); } && {
4476 test -z "$ac_c_werror_flag" ||
4477 test ! -s conftest.err
4478 } && test -s conftest.$ac_objext; then
4479 ac_cv_header_stdc=yes 4583 ac_cv_header_stdc=yes
4480else 4584else
4481 $as_echo "$as_me: failed program was:" >&5 4585 ac_cv_header_stdc=no
4482sed 's/^/| /' conftest.$ac_ext >&5
4483
4484 ac_cv_header_stdc=no
4485fi 4586fi
4486
4487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488 4588
4489if test $ac_cv_header_stdc = yes; then 4589if test $ac_cv_header_stdc = yes; then
4490 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4491 cat >conftest.$ac_ext <<_ACEOF 4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492/* confdefs.h. */
4493_ACEOF
4494cat confdefs.h >>conftest.$ac_ext
4495cat >>conftest.$ac_ext <<_ACEOF
4496/* end confdefs.h. */ 4592/* end confdefs.h. */
4497#include <string.h> 4593#include <string.h>
4498 4594
4499_ACEOF 4595_ACEOF
4500if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4596if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4501 $EGREP "memchr" >/dev/null 2>&1; then 4597 $EGREP "memchr" >/dev/null 2>&1; then :
4502 : 4598
4503else 4599else
4504 ac_cv_header_stdc=no 4600 ac_cv_header_stdc=no
4505fi 4601fi
@@ -4509,18 +4605,14 @@ fi
4509 4605
4510if test $ac_cv_header_stdc = yes; then 4606if test $ac_cv_header_stdc = yes; then
4511 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4512 cat >conftest.$ac_ext <<_ACEOF 4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4513/* confdefs.h. */
4514_ACEOF
4515cat confdefs.h >>conftest.$ac_ext
4516cat >>conftest.$ac_ext <<_ACEOF
4517/* end confdefs.h. */ 4609/* end confdefs.h. */
4518#include <stdlib.h> 4610#include <stdlib.h>
4519 4611
4520_ACEOF 4612_ACEOF
4521if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4522 $EGREP "free" >/dev/null 2>&1; then 4614 $EGREP "free" >/dev/null 2>&1; then :
4523 : 4615
4524else 4616else
4525 ac_cv_header_stdc=no 4617 ac_cv_header_stdc=no
4526fi 4618fi
@@ -4530,14 +4622,10 @@ fi
4530 4622
4531if test $ac_cv_header_stdc = yes; then 4623if test $ac_cv_header_stdc = yes; then
4532 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4533 if test "$cross_compiling" = yes; then 4625 if test "$cross_compiling" = yes; then :
4534 : 4626 :
4535else 4627else
4536 cat >conftest.$ac_ext <<_ACEOF 4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537/* confdefs.h. */
4538_ACEOF
4539cat confdefs.h >>conftest.$ac_ext
4540cat >>conftest.$ac_ext <<_ACEOF
4541/* end confdefs.h. */ 4629/* end confdefs.h. */
4542#include <ctype.h> 4630#include <ctype.h>
4543#include <stdlib.h> 4631#include <stdlib.h>
@@ -4564,117 +4652,34 @@ main ()
4564 return 0; 4652 return 0;
4565} 4653}
4566_ACEOF 4654_ACEOF
4567rm -f conftest$ac_exeext 4655if ac_fn_c_try_run "$LINENO"; then :
4568if { (ac_try="$ac_link"
4569case "(($ac_try" in
4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4571 *) ac_try_echo=$ac_try;;
4572esac
4573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4574$as_echo "$ac_try_echo") >&5
4575 (eval "$ac_link") 2>&5
4576 ac_status=$?
4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4579 { (case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582esac
4583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4584$as_echo "$ac_try_echo") >&5
4585 (eval "$ac_try") 2>&5
4586 ac_status=$?
4587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }; }; then
4589 :
4590else
4591 $as_echo "$as_me: program exited with status $ac_status" >&5
4592$as_echo "$as_me: failed program was:" >&5
4593sed 's/^/| /' conftest.$ac_ext >&5
4594 4656
4595( exit $ac_status ) 4657else
4596ac_cv_header_stdc=no 4658 ac_cv_header_stdc=no
4597fi 4659fi
4598rm -rf conftest.dSYM 4660rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4599rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4661 conftest.$ac_objext conftest.beam conftest.$ac_ext
4600fi 4662fi
4601 4663
4602
4603fi 4664fi
4604fi 4665fi
4605{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4606$as_echo "$ac_cv_header_stdc" >&6; } 4667$as_echo "$ac_cv_header_stdc" >&6; }
4607if test $ac_cv_header_stdc = yes; then 4668if test $ac_cv_header_stdc = yes; then
4608 4669
4609cat >>confdefs.h <<\_ACEOF 4670$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4610#define STDC_HEADERS 1
4611_ACEOF
4612 4671
4613fi 4672fi
4614 4673
4615# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4674# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4675for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4626 inttypes.h stdint.h unistd.h 4676 inttypes.h stdint.h unistd.h
4627do 4677do :
4628as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4629{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4679ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4630$as_echo_n "checking for $ac_header... " >&6; } 4680"
4631if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4681eval as_val=\$$as_ac_Header
4632 $as_echo_n "(cached) " >&6 4682 if test "x$as_val" = x""yes; then :
4633else
4634 cat >conftest.$ac_ext <<_ACEOF
4635/* confdefs.h. */
4636_ACEOF
4637cat confdefs.h >>conftest.$ac_ext
4638cat >>conftest.$ac_ext <<_ACEOF
4639/* end confdefs.h. */
4640$ac_includes_default
4641
4642#include <$ac_header>
4643_ACEOF
4644rm -f conftest.$ac_objext
4645if { (ac_try="$ac_compile"
4646case "(($ac_try" in
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4649esac
4650eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4651$as_echo "$ac_try_echo") >&5
4652 (eval "$ac_compile") 2>conftest.er1
4653 ac_status=$?
4654 grep -v '^ *+' conftest.er1 >conftest.err
4655 rm -f conftest.er1
4656 cat conftest.err >&5
4657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } && {
4659 test -z "$ac_c_werror_flag" ||
4660 test ! -s conftest.err
4661 } && test -s conftest.$ac_objext; then
4662 eval "$as_ac_Header=yes"
4663else
4664 $as_echo "$as_me: failed program was:" >&5
4665sed 's/^/| /' conftest.$ac_ext >&5
4666
4667 eval "$as_ac_Header=no"
4668fi
4669
4670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671fi
4672ac_res=`eval 'as_val=${'$as_ac_Header'}
4673 $as_echo "$as_val"'`
4674 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4675$as_echo "$ac_res" >&6; }
4676if test `eval 'as_val=${'$as_ac_Header'}
4677 $as_echo "$as_val"'` = yes; then
4678 cat >>confdefs.h <<_ACEOF 4683 cat >>confdefs.h <<_ACEOF
4679#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4684#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4680_ACEOF 4685_ACEOF
@@ -4685,134 +4690,8 @@ done
4685 4690
4686 4691
4687 4692
4688 if test "${ac_cv_header_minix_config_h+set}" = set; then 4693 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4689 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4694if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4690$as_echo_n "checking for minix/config.h... " >&6; }
4691if test "${ac_cv_header_minix_config_h+set}" = set; then
4692 $as_echo_n "(cached) " >&6
4693fi
4694{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4695$as_echo "$ac_cv_header_minix_config_h" >&6; }
4696else
4697 # Is the header compilable?
4698{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4699$as_echo_n "checking minix/config.h usability... " >&6; }
4700cat >conftest.$ac_ext <<_ACEOF
4701/* confdefs.h. */
4702_ACEOF
4703cat confdefs.h >>conftest.$ac_ext
4704cat >>conftest.$ac_ext <<_ACEOF
4705/* end confdefs.h. */
4706$ac_includes_default
4707#include <minix/config.h>
4708_ACEOF
4709rm -f conftest.$ac_objext
4710if { (ac_try="$ac_compile"
4711case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4714esac
4715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4716$as_echo "$ac_try_echo") >&5
4717 (eval "$ac_compile") 2>conftest.er1
4718 ac_status=$?
4719 grep -v '^ *+' conftest.er1 >conftest.err
4720 rm -f conftest.er1
4721 cat conftest.err >&5
4722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } && {
4724 test -z "$ac_c_werror_flag" ||
4725 test ! -s conftest.err
4726 } && test -s conftest.$ac_objext; then
4727 ac_header_compiler=yes
4728else
4729 $as_echo "$as_me: failed program was:" >&5
4730sed 's/^/| /' conftest.$ac_ext >&5
4731
4732 ac_header_compiler=no
4733fi
4734
4735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4737$as_echo "$ac_header_compiler" >&6; }
4738
4739# Is the header present?
4740{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4741$as_echo_n "checking minix/config.h presence... " >&6; }
4742cat >conftest.$ac_ext <<_ACEOF
4743/* confdefs.h. */
4744_ACEOF
4745cat confdefs.h >>conftest.$ac_ext
4746cat >>conftest.$ac_ext <<_ACEOF
4747/* end confdefs.h. */
4748#include <minix/config.h>
4749_ACEOF
4750if { (ac_try="$ac_cpp conftest.$ac_ext"
4751case "(($ac_try" in
4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753 *) ac_try_echo=$ac_try;;
4754esac
4755eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4756$as_echo "$ac_try_echo") >&5
4757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4758 ac_status=$?
4759 grep -v '^ *+' conftest.er1 >conftest.err
4760 rm -f conftest.er1
4761 cat conftest.err >&5
4762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } >/dev/null && {
4764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4765 test ! -s conftest.err
4766 }; then
4767 ac_header_preproc=yes
4768else
4769 $as_echo "$as_me: failed program was:" >&5
4770sed 's/^/| /' conftest.$ac_ext >&5
4771
4772 ac_header_preproc=no
4773fi
4774
4775rm -f conftest.err conftest.$ac_ext
4776{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4777$as_echo "$ac_header_preproc" >&6; }
4778
4779# So? What about this header?
4780case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4781 yes:no: )
4782 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4783$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4784 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4785$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4786 ac_header_preproc=yes
4787 ;;
4788 no:yes:* )
4789 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4790$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4791 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4792$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4793 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4794$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4795 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4796$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4797 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4798$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4799 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4800$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4801
4802 ;;
4803esac
4804{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4805$as_echo_n "checking for minix/config.h... " >&6; }
4806if test "${ac_cv_header_minix_config_h+set}" = set; then
4807 $as_echo_n "(cached) " >&6
4808else
4809 ac_cv_header_minix_config_h=$ac_header_preproc
4810fi
4811{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4812$as_echo "$ac_cv_header_minix_config_h" >&6; }
4813
4814fi
4815if test $ac_cv_header_minix_config_h = yes; then
4816 MINIX=yes 4695 MINIX=yes
4817else 4696else
4818 MINIX= 4697 MINIX=
@@ -4821,34 +4700,23 @@ fi
4821 4700
4822 if test "$MINIX" = yes; then 4701 if test "$MINIX" = yes; then
4823 4702
4824cat >>confdefs.h <<\_ACEOF 4703$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4825#define _POSIX_SOURCE 1
4826_ACEOF
4827 4704
4828 4705
4829cat >>confdefs.h <<\_ACEOF 4706$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4830#define _POSIX_1_SOURCE 2
4831_ACEOF
4832 4707
4833 4708
4834cat >>confdefs.h <<\_ACEOF 4709$as_echo "#define _MINIX 1" >>confdefs.h
4835#define _MINIX 1
4836_ACEOF
4837 4710
4838 fi 4711 fi
4839 4712
4840 4713
4841 4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4842 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4843$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4715$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4844if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4716if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4845 $as_echo_n "(cached) " >&6 4717 $as_echo_n "(cached) " >&6
4846else 4718else
4847 cat >conftest.$ac_ext <<_ACEOF 4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848/* confdefs.h. */
4849_ACEOF
4850cat confdefs.h >>conftest.$ac_ext
4851cat >>conftest.$ac_ext <<_ACEOF
4852/* end confdefs.h. */ 4720/* end confdefs.h. */
4853 4721
4854# define __EXTENSIONS__ 1 4722# define __EXTENSIONS__ 1
@@ -4861,69 +4729,34 @@ main ()
4861 return 0; 4729 return 0;
4862} 4730}
4863_ACEOF 4731_ACEOF
4864rm -f conftest.$ac_objext 4732if ac_fn_c_try_compile "$LINENO"; then :
4865if { (ac_try="$ac_compile"
4866case "(($ac_try" in
4867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4868 *) ac_try_echo=$ac_try;;
4869esac
4870eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4871$as_echo "$ac_try_echo") >&5
4872 (eval "$ac_compile") 2>conftest.er1
4873 ac_status=$?
4874 grep -v '^ *+' conftest.er1 >conftest.err
4875 rm -f conftest.er1
4876 cat conftest.err >&5
4877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } && {
4879 test -z "$ac_c_werror_flag" ||
4880 test ! -s conftest.err
4881 } && test -s conftest.$ac_objext; then
4882 ac_cv_safe_to_define___extensions__=yes 4733 ac_cv_safe_to_define___extensions__=yes
4883else 4734else
4884 $as_echo "$as_me: failed program was:" >&5 4735 ac_cv_safe_to_define___extensions__=no
4885sed 's/^/| /' conftest.$ac_ext >&5
4886
4887 ac_cv_safe_to_define___extensions__=no
4888fi 4736fi
4889
4890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891fi 4738fi
4892{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4893$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4740$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4894 test $ac_cv_safe_to_define___extensions__ = yes && 4741 test $ac_cv_safe_to_define___extensions__ = yes &&
4895 cat >>confdefs.h <<\_ACEOF 4742 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4896#define __EXTENSIONS__ 1
4897_ACEOF
4898 4743
4899 cat >>confdefs.h <<\_ACEOF 4744 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4900#define _ALL_SOURCE 1
4901_ACEOF
4902 4745
4903 cat >>confdefs.h <<\_ACEOF 4746 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4904#define _GNU_SOURCE 1
4905_ACEOF
4906 4747
4907 cat >>confdefs.h <<\_ACEOF 4748 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4908#define _POSIX_PTHREAD_SEMANTICS 1
4909_ACEOF
4910 4749
4911 cat >>confdefs.h <<\_ACEOF 4750 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4912#define _TANDEM_SOURCE 1
4913_ACEOF
4914 4751
4915 4752
4916 4753
4917### Use -Wno-pointer-sign if the compiler supports it 4754### Use -Wno-pointer-sign if the compiler supports it
4918{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5
4919$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } 4756$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; }
4920SAVE_CFLAGS="$CFLAGS" 4757SAVE_CFLAGS="$CFLAGS"
4921CFLAGS="$CFLAGS -Wno-pointer-sign" 4758CFLAGS="$CFLAGS -Wno-pointer-sign"
4922cat >conftest.$ac_ext <<_ACEOF 4759cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923/* confdefs.h. */
4924_ACEOF
4925cat confdefs.h >>conftest.$ac_ext
4926cat >>conftest.$ac_ext <<_ACEOF
4927/* end confdefs.h. */ 4760/* end confdefs.h. */
4928 4761
4929int 4762int
@@ -4934,52 +4767,27 @@ main ()
4934 return 0; 4767 return 0;
4935} 4768}
4936_ACEOF 4769_ACEOF
4937rm -f conftest.$ac_objext 4770if ac_fn_c_try_compile "$LINENO"; then :
4938if { (ac_try="$ac_compile"
4939case "(($ac_try" in
4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941 *) ac_try_echo=$ac_try;;
4942esac
4943eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4944$as_echo "$ac_try_echo") >&5
4945 (eval "$ac_compile") 2>conftest.er1
4946 ac_status=$?
4947 grep -v '^ *+' conftest.er1 >conftest.err
4948 rm -f conftest.er1
4949 cat conftest.err >&5
4950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } && {
4952 test -z "$ac_c_werror_flag" ||
4953 test ! -s conftest.err
4954 } && test -s conftest.$ac_objext; then
4955 has_option=yes 4771 has_option=yes
4956else 4772else
4957 $as_echo "$as_me: failed program was:" >&5 4773 has_option=no
4958sed 's/^/| /' conftest.$ac_ext >&5
4959
4960 has_option=no
4961fi 4774fi
4962
4963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964if test $has_option = yes; then 4776if test $has_option = yes; then
4965 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4777 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4966fi 4778fi
4967{ $as_echo "$as_me:$LINENO: result: $has_option" >&5 4779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
4968$as_echo "$has_option" >&6; } 4780$as_echo "$has_option" >&6; }
4969CFLAGS="$SAVE_CFLAGS" 4781CFLAGS="$SAVE_CFLAGS"
4970unset has_option 4782unset has_option
4971unset SAVE_CFLAGS 4783unset SAVE_CFLAGS
4972 4784
4973### Use -Wdeclaration-after-statement if the compiler supports it 4785### Use -Wdeclaration-after-statement if the compiler supports it
4974{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 4786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5
4975$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } 4787$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; }
4976SAVE_CFLAGS="$CFLAGS" 4788SAVE_CFLAGS="$CFLAGS"
4977CFLAGS="$CFLAGS -Wdeclaration-after-statement" 4789CFLAGS="$CFLAGS -Wdeclaration-after-statement"
4978cat >conftest.$ac_ext <<_ACEOF 4790cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979/* confdefs.h. */
4980_ACEOF
4981cat confdefs.h >>conftest.$ac_ext
4982cat >>conftest.$ac_ext <<_ACEOF
4983/* end confdefs.h. */ 4791/* end confdefs.h. */
4984 4792
4985int 4793int
@@ -4990,37 +4798,16 @@ main ()
4990 return 0; 4798 return 0;
4991} 4799}
4992_ACEOF 4800_ACEOF
4993rm -f conftest.$ac_objext 4801if ac_fn_c_try_compile "$LINENO"; then :
4994if { (ac_try="$ac_compile"
4995case "(($ac_try" in
4996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4997 *) ac_try_echo=$ac_try;;
4998esac
4999eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5000$as_echo "$ac_try_echo") >&5
5001 (eval "$ac_compile") 2>conftest.er1
5002 ac_status=$?
5003 grep -v '^ *+' conftest.er1 >conftest.err
5004 rm -f conftest.er1
5005 cat conftest.err >&5
5006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); } && {
5008 test -z "$ac_c_werror_flag" ||
5009 test ! -s conftest.err
5010 } && test -s conftest.$ac_objext; then
5011 has_option=yes 4802 has_option=yes
5012else 4803else
5013 $as_echo "$as_me: failed program was:" >&5 4804 has_option=no
5014sed 's/^/| /' conftest.$ac_ext >&5
5015
5016 has_option=no
5017fi 4805fi
5018
5019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020if test $has_option = yes; then 4807if test $has_option = yes; then
5021 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" 4808 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH"
5022fi 4809fi
5023{ $as_echo "$as_me:$LINENO: result: $has_option" >&5 4810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
5024$as_echo "$has_option" >&6; } 4811$as_echo "$has_option" >&6; }
5025CFLAGS="$SAVE_CFLAGS" 4812CFLAGS="$SAVE_CFLAGS"
5026unset has_option 4813unset has_option
@@ -5033,14 +4820,14 @@ ac_cpp='$CPP $CPPFLAGS'
5033ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035ac_compiler_gnu=$ac_cv_c_compiler_gnu 4822ac_compiler_gnu=$ac_cv_c_compiler_gnu
5036{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5037$as_echo_n "checking how to run the C preprocessor... " >&6; } 4824$as_echo_n "checking how to run the C preprocessor... " >&6; }
5038# On Suns, sometimes $CPP names a directory. 4825# On Suns, sometimes $CPP names a directory.
5039if test -n "$CPP" && test -d "$CPP"; then 4826if test -n "$CPP" && test -d "$CPP"; then
5040 CPP= 4827 CPP=
5041fi 4828fi
5042if test -z "$CPP"; then 4829if test -z "$CPP"; then
5043 if test "${ac_cv_prog_CPP+set}" = set; then 4830 if test "${ac_cv_prog_CPP+set}" = set; then :
5044 $as_echo_n "(cached) " >&6 4831 $as_echo_n "(cached) " >&6
5045else 4832else
5046 # Double quotes because CPP needs to be expanded 4833 # Double quotes because CPP needs to be expanded
@@ -5055,11 +4842,7 @@ do
5055 # <limits.h> exists even on freestanding compilers. 4842 # <limits.h> exists even on freestanding compilers.
5056 # On the NeXT, cc -E runs the code through the compiler's parser, 4843 # On the NeXT, cc -E runs the code through the compiler's parser,
5057 # not just through cpp. "Syntax error" is here to catch this case. 4844 # not just through cpp. "Syntax error" is here to catch this case.
5058 cat >conftest.$ac_ext <<_ACEOF 4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059/* confdefs.h. */
5060_ACEOF
5061cat confdefs.h >>conftest.$ac_ext
5062cat >>conftest.$ac_ext <<_ACEOF
5063/* end confdefs.h. */ 4846/* end confdefs.h. */
5064#ifdef __STDC__ 4847#ifdef __STDC__
5065# include <limits.h> 4848# include <limits.h>
@@ -5068,78 +4851,34 @@ cat >>conftest.$ac_ext <<_ACEOF
5068#endif 4851#endif
5069 Syntax error 4852 Syntax error
5070_ACEOF 4853_ACEOF
5071if { (ac_try="$ac_cpp conftest.$ac_ext" 4854if ac_fn_c_try_cpp "$LINENO"; then :
5072case "(($ac_try" in
5073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5074 *) ac_try_echo=$ac_try;;
5075esac
5076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5077$as_echo "$ac_try_echo") >&5
5078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5079 ac_status=$?
5080 grep -v '^ *+' conftest.er1 >conftest.err
5081 rm -f conftest.er1
5082 cat conftest.err >&5
5083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } >/dev/null && {
5085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5086 test ! -s conftest.err
5087 }; then
5088 :
5089else
5090 $as_echo "$as_me: failed program was:" >&5
5091sed 's/^/| /' conftest.$ac_ext >&5
5092 4855
4856else
5093 # Broken: fails on valid input. 4857 # Broken: fails on valid input.
5094continue 4858continue
5095fi 4859fi
5096
5097rm -f conftest.err conftest.$ac_ext 4860rm -f conftest.err conftest.$ac_ext
5098 4861
5099 # OK, works on sane cases. Now check whether nonexistent headers 4862 # OK, works on sane cases. Now check whether nonexistent headers
5100 # can be detected and how. 4863 # can be detected and how.
5101 cat >conftest.$ac_ext <<_ACEOF 4864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102/* confdefs.h. */
5103_ACEOF
5104cat confdefs.h >>conftest.$ac_ext
5105cat >>conftest.$ac_ext <<_ACEOF
5106/* end confdefs.h. */ 4865/* end confdefs.h. */
5107#include <ac_nonexistent.h> 4866#include <ac_nonexistent.h>
5108_ACEOF 4867_ACEOF
5109if { (ac_try="$ac_cpp conftest.$ac_ext" 4868if ac_fn_c_try_cpp "$LINENO"; then :
5110case "(($ac_try" in
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5113esac
5114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5115$as_echo "$ac_try_echo") >&5
5116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5117 ac_status=$?
5118 grep -v '^ *+' conftest.er1 >conftest.err
5119 rm -f conftest.er1
5120 cat conftest.err >&5
5121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } >/dev/null && {
5123 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5124 test ! -s conftest.err
5125 }; then
5126 # Broken: success on invalid input. 4869 # Broken: success on invalid input.
5127continue 4870continue
5128else 4871else
5129 $as_echo "$as_me: failed program was:" >&5
5130sed 's/^/| /' conftest.$ac_ext >&5
5131
5132 # Passes both tests. 4872 # Passes both tests.
5133ac_preproc_ok=: 4873ac_preproc_ok=:
5134break 4874break
5135fi 4875fi
5136
5137rm -f conftest.err conftest.$ac_ext 4876rm -f conftest.err conftest.$ac_ext
5138 4877
5139done 4878done
5140# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4879# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5141rm -f conftest.err conftest.$ac_ext 4880rm -f conftest.err conftest.$ac_ext
5142if $ac_preproc_ok; then 4881if $ac_preproc_ok; then :
5143 break 4882 break
5144fi 4883fi
5145 4884
@@ -5151,7 +4890,7 @@ fi
5151else 4890else
5152 ac_cv_prog_CPP=$CPP 4891 ac_cv_prog_CPP=$CPP
5153fi 4892fi
5154{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 4893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5155$as_echo "$CPP" >&6; } 4894$as_echo "$CPP" >&6; }
5156ac_preproc_ok=false 4895ac_preproc_ok=false
5157for ac_c_preproc_warn_flag in '' yes 4896for ac_c_preproc_warn_flag in '' yes
@@ -5162,11 +4901,7 @@ do
5162 # <limits.h> exists even on freestanding compilers. 4901 # <limits.h> exists even on freestanding compilers.
5163 # On the NeXT, cc -E runs the code through the compiler's parser, 4902 # On the NeXT, cc -E runs the code through the compiler's parser,
5164 # not just through cpp. "Syntax error" is here to catch this case. 4903 # not just through cpp. "Syntax error" is here to catch this case.
5165 cat >conftest.$ac_ext <<_ACEOF 4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166/* confdefs.h. */
5167_ACEOF
5168cat confdefs.h >>conftest.$ac_ext
5169cat >>conftest.$ac_ext <<_ACEOF
5170/* end confdefs.h. */ 4905/* end confdefs.h. */
5171#ifdef __STDC__ 4906#ifdef __STDC__
5172# include <limits.h> 4907# include <limits.h>
@@ -5175,85 +4910,40 @@ cat >>conftest.$ac_ext <<_ACEOF
5175#endif 4910#endif
5176 Syntax error 4911 Syntax error
5177_ACEOF 4912_ACEOF
5178if { (ac_try="$ac_cpp conftest.$ac_ext" 4913if ac_fn_c_try_cpp "$LINENO"; then :
5179case "(($ac_try" in
5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5182esac
5183eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5184$as_echo "$ac_try_echo") >&5
5185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5186 ac_status=$?
5187 grep -v '^ *+' conftest.er1 >conftest.err
5188 rm -f conftest.er1
5189 cat conftest.err >&5
5190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); } >/dev/null && {
5192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5193 test ! -s conftest.err
5194 }; then
5195 :
5196else
5197 $as_echo "$as_me: failed program was:" >&5
5198sed 's/^/| /' conftest.$ac_ext >&5
5199 4914
4915else
5200 # Broken: fails on valid input. 4916 # Broken: fails on valid input.
5201continue 4917continue
5202fi 4918fi
5203
5204rm -f conftest.err conftest.$ac_ext 4919rm -f conftest.err conftest.$ac_ext
5205 4920
5206 # OK, works on sane cases. Now check whether nonexistent headers 4921 # OK, works on sane cases. Now check whether nonexistent headers
5207 # can be detected and how. 4922 # can be detected and how.
5208 cat >conftest.$ac_ext <<_ACEOF 4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5209/* confdefs.h. */
5210_ACEOF
5211cat confdefs.h >>conftest.$ac_ext
5212cat >>conftest.$ac_ext <<_ACEOF
5213/* end confdefs.h. */ 4924/* end confdefs.h. */
5214#include <ac_nonexistent.h> 4925#include <ac_nonexistent.h>
5215_ACEOF 4926_ACEOF
5216if { (ac_try="$ac_cpp conftest.$ac_ext" 4927if ac_fn_c_try_cpp "$LINENO"; then :
5217case "(($ac_try" in
5218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219 *) ac_try_echo=$ac_try;;
5220esac
5221eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5222$as_echo "$ac_try_echo") >&5
5223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5224 ac_status=$?
5225 grep -v '^ *+' conftest.er1 >conftest.err
5226 rm -f conftest.er1
5227 cat conftest.err >&5
5228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); } >/dev/null && {
5230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5231 test ! -s conftest.err
5232 }; then
5233 # Broken: success on invalid input. 4928 # Broken: success on invalid input.
5234continue 4929continue
5235else 4930else
5236 $as_echo "$as_me: failed program was:" >&5
5237sed 's/^/| /' conftest.$ac_ext >&5
5238
5239 # Passes both tests. 4931 # Passes both tests.
5240ac_preproc_ok=: 4932ac_preproc_ok=:
5241break 4933break
5242fi 4934fi
5243
5244rm -f conftest.err conftest.$ac_ext 4935rm -f conftest.err conftest.$ac_ext
5245 4936
5246done 4937done
5247# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4938# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5248rm -f conftest.err conftest.$ac_ext 4939rm -f conftest.err conftest.$ac_ext
5249if $ac_preproc_ok; then 4940if $ac_preproc_ok; then :
5250 : 4941
5251else 4942else
5252 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253See \`config.log' for more details." >&5 4944$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5254$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4945as_fn_error "C preprocessor \"$CPP\" fails sanity check
5255See \`config.log' for more details." >&2;} 4946See \`config.log' for more details." "$LINENO" 5; }
5256 { (exit 1); exit 1; }; }
5257fi 4947fi
5258 4948
5259ac_ext=c 4949ac_ext=c
@@ -5276,10 +4966,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5276# OS/2's system install, which has a completely different semantic 4966# OS/2's system install, which has a completely different semantic
5277# ./install, which can be erroneously created by make from ./install.sh. 4967# ./install, which can be erroneously created by make from ./install.sh.
5278# Reject install programs that cannot install multiple files. 4968# Reject install programs that cannot install multiple files.
5279{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5280$as_echo_n "checking for a BSD-compatible install... " >&6; } 4970$as_echo_n "checking for a BSD-compatible install... " >&6; }
5281if test -z "$INSTALL"; then 4971if test -z "$INSTALL"; then
5282if test "${ac_cv_path_install+set}" = set; then 4972if test "${ac_cv_path_install+set}" = set; then :
5283 $as_echo_n "(cached) " >&6 4973 $as_echo_n "(cached) " >&6
5284else 4974else
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5287,11 +4977,11 @@ for as_dir in $PATH
5287do 4977do
5288 IFS=$as_save_IFS 4978 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=. 4979 test -z "$as_dir" && as_dir=.
5290 # Account for people who put trailing slashes in PATH elements. 4980 # Account for people who put trailing slashes in PATH elements.
5291case $as_dir/ in 4981case $as_dir/ in #((
5292 ./ | .// | /cC/* | \ 4982 ./ | .// | /[cC]/* | \
5293 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4983 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5294 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4984 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5295 /usr/ucb/* ) ;; 4985 /usr/ucb/* ) ;;
5296 *) 4986 *)
5297 # OSF1 and SCO ODT 3.0 have their own names for install. 4987 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -5328,7 +5018,7 @@ case $as_dir/ in
5328 ;; 5018 ;;
5329esac 5019esac
5330 5020
5331done 5021 done
5332IFS=$as_save_IFS 5022IFS=$as_save_IFS
5333 5023
5334rm -rf conftest.one conftest.two conftest.dir 5024rm -rf conftest.one conftest.two conftest.dir
@@ -5344,7 +5034,7 @@ fi
5344 INSTALL=$ac_install_sh 5034 INSTALL=$ac_install_sh
5345 fi 5035 fi
5346fi 5036fi
5347{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 5037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5348$as_echo "$INSTALL" >&6; } 5038$as_echo "$INSTALL" >&6; }
5349 5039
5350# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5040# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -5359,9 +5049,9 @@ if test "x$RANLIB" = x; then
5359 if test -n "$ac_tool_prefix"; then 5049 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5050 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5361set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5051set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5362{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363$as_echo_n "checking for $ac_word... " >&6; } 5053$as_echo_n "checking for $ac_word... " >&6; }
5364if test "${ac_cv_prog_RANLIB+set}" = set; then 5054if test "${ac_cv_prog_RANLIB+set}" = set; then :
5365 $as_echo_n "(cached) " >&6 5055 $as_echo_n "(cached) " >&6
5366else 5056else
5367 if test -n "$RANLIB"; then 5057 if test -n "$RANLIB"; then
@@ -5372,24 +5062,24 @@ for as_dir in $PATH
5372do 5062do
5373 IFS=$as_save_IFS 5063 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=. 5064 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do 5065 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5377 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5067 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2 5069 break 2
5380 fi 5070 fi
5381done 5071done
5382done 5072 done
5383IFS=$as_save_IFS 5073IFS=$as_save_IFS
5384 5074
5385fi 5075fi
5386fi 5076fi
5387RANLIB=$ac_cv_prog_RANLIB 5077RANLIB=$ac_cv_prog_RANLIB
5388if test -n "$RANLIB"; then 5078if test -n "$RANLIB"; then
5389 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5390$as_echo "$RANLIB" >&6; } 5080$as_echo "$RANLIB" >&6; }
5391else 5081else
5392 { $as_echo "$as_me:$LINENO: result: no" >&5 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393$as_echo "no" >&6; } 5083$as_echo "no" >&6; }
5394fi 5084fi
5395 5085
@@ -5399,9 +5089,9 @@ if test -z "$ac_cv_prog_RANLIB"; then
5399 ac_ct_RANLIB=$RANLIB 5089 ac_ct_RANLIB=$RANLIB
5400 # Extract the first word of "ranlib", so it can be a program name with args. 5090 # Extract the first word of "ranlib", so it can be a program name with args.
5401set dummy ranlib; ac_word=$2 5091set dummy ranlib; ac_word=$2
5402{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403$as_echo_n "checking for $ac_word... " >&6; } 5093$as_echo_n "checking for $ac_word... " >&6; }
5404if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5094if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5405 $as_echo_n "(cached) " >&6 5095 $as_echo_n "(cached) " >&6
5406else 5096else
5407 if test -n "$ac_ct_RANLIB"; then 5097 if test -n "$ac_ct_RANLIB"; then
@@ -5412,24 +5102,24 @@ for as_dir in $PATH
5412do 5102do
5413 IFS=$as_save_IFS 5103 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=. 5104 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do 5105 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5417 ac_cv_prog_ac_ct_RANLIB="ranlib" 5107 ac_cv_prog_ac_ct_RANLIB="ranlib"
5418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2 5109 break 2
5420 fi 5110 fi
5421done 5111done
5422done 5112 done
5423IFS=$as_save_IFS 5113IFS=$as_save_IFS
5424 5114
5425fi 5115fi
5426fi 5116fi
5427ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5117ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5428if test -n "$ac_ct_RANLIB"; then 5118if test -n "$ac_ct_RANLIB"; then
5429 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5430$as_echo "$ac_ct_RANLIB" >&6; } 5120$as_echo "$ac_ct_RANLIB" >&6; }
5431else 5121else
5432 { $as_echo "$as_me:$LINENO: result: no" >&5 5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433$as_echo "no" >&6; } 5123$as_echo "no" >&6; }
5434fi 5124fi
5435 5125
@@ -5438,12 +5128,8 @@ fi
5438 else 5128 else
5439 case $cross_compiling:$ac_tool_warned in 5129 case $cross_compiling:$ac_tool_warned in
5440yes:) 5130yes:)
5441{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5131{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442whose name does not start with the host triplet. If you think this 5132$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443configuration is useful to you, please write to autoconf@gnu.org." >&5
5444$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5445whose name does not start with the host triplet. If you think this
5446configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5447ac_tool_warned=yes ;; 5133ac_tool_warned=yes ;;
5448esac 5134esac
5449 RANLIB=$ac_ct_RANLIB 5135 RANLIB=$ac_ct_RANLIB
@@ -5459,59 +5145,10 @@ fi
5459## explicit --build to `configure', but if everything else than the kernel 5145## explicit --build to `configure', but if everything else than the kernel
5460## is running in i386 mode, we can help them out. 5146## is running in i386 mode, we can help them out.
5461if test "$machine" = "amdx86-64"; then 5147if test "$machine" = "amdx86-64"; then
5462 { $as_echo "$as_me:$LINENO: checking whether i386 is declared" >&5 5148 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
5463$as_echo_n "checking whether i386 is declared... " >&6; } 5149if test "x$ac_cv_have_decl_i386" = x""yes; then :
5464if test "${ac_cv_have_decl_i386+set}" = set; then
5465 $as_echo_n "(cached) " >&6
5466else
5467 cat >conftest.$ac_ext <<_ACEOF
5468/* confdefs.h. */
5469_ACEOF
5470cat confdefs.h >>conftest.$ac_ext
5471cat >>conftest.$ac_ext <<_ACEOF
5472/* end confdefs.h. */
5473$ac_includes_default
5474int
5475main ()
5476{
5477#ifndef i386
5478 (void) i386;
5479#endif
5480 5150
5481 ;
5482 return 0;
5483}
5484_ACEOF
5485rm -f conftest.$ac_objext
5486if { (ac_try="$ac_compile"
5487case "(($ac_try" in
5488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;;
5490esac
5491eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5492$as_echo "$ac_try_echo") >&5
5493 (eval "$ac_compile") 2>conftest.er1
5494 ac_status=$?
5495 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1
5497 cat conftest.err >&5
5498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } && {
5500 test -z "$ac_c_werror_flag" ||
5501 test ! -s conftest.err
5502 } && test -s conftest.$ac_objext; then
5503 ac_cv_have_decl_i386=yes
5504else
5505 $as_echo "$as_me: failed program was:" >&5
5506sed 's/^/| /' conftest.$ac_ext >&5
5507
5508 ac_cv_have_decl_i386=no
5509fi
5510
5511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5512fi 5151fi
5513{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_i386" >&5
5514$as_echo "$ac_cv_have_decl_i386" >&6; }
5515 5152
5516 if test "$ac_cv_have_decl_i386" = "yes"; then 5153 if test "$ac_cv_have_decl_i386" = "yes"; then
5517 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` 5154 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'`
@@ -5522,9 +5159,9 @@ fi
5522 5159
5523# Extract the first word of "install-info", so it can be a program name with args. 5160# Extract the first word of "install-info", so it can be a program name with args.
5524set dummy install-info; ac_word=$2 5161set dummy install-info; ac_word=$2
5525{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526$as_echo_n "checking for $ac_word... " >&6; } 5163$as_echo_n "checking for $ac_word... " >&6; }
5527if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5164if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5528 $as_echo_n "(cached) " >&6 5165 $as_echo_n "(cached) " >&6
5529else 5166else
5530 case $INSTALL_INFO in 5167 case $INSTALL_INFO in
@@ -5537,14 +5174,14 @@ for as_dir in $PATH
5537do 5174do
5538 IFS=$as_save_IFS 5175 IFS=$as_save_IFS
5539 test -z "$as_dir" && as_dir=. 5176 test -z "$as_dir" && as_dir=.
5540 for ac_exec_ext in '' $ac_executable_extensions; do 5177 for ac_exec_ext in '' $ac_executable_extensions; do
5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5179 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5543 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 break 2 5181 break 2
5545 fi 5182 fi
5546done 5183done
5547done 5184 done
5548IFS=$as_save_IFS 5185IFS=$as_save_IFS
5549 5186
5550 ;; 5187 ;;
@@ -5552,19 +5189,19 @@ esac
5552fi 5189fi
5553INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5190INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5554if test -n "$INSTALL_INFO"; then 5191if test -n "$INSTALL_INFO"; then
5555 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5556$as_echo "$INSTALL_INFO" >&6; } 5193$as_echo "$INSTALL_INFO" >&6; }
5557else 5194else
5558 { $as_echo "$as_me:$LINENO: result: no" >&5 5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559$as_echo "no" >&6; } 5196$as_echo "no" >&6; }
5560fi 5197fi
5561 5198
5562 5199
5563# Extract the first word of "install-info", so it can be a program name with args. 5200# Extract the first word of "install-info", so it can be a program name with args.
5564set dummy install-info; ac_word=$2 5201set dummy install-info; ac_word=$2
5565{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566$as_echo_n "checking for $ac_word... " >&6; } 5203$as_echo_n "checking for $ac_word... " >&6; }
5567if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5204if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5568 $as_echo_n "(cached) " >&6 5205 $as_echo_n "(cached) " >&6
5569else 5206else
5570 case $INSTALL_INFO in 5207 case $INSTALL_INFO in
@@ -5577,14 +5214,14 @@ for as_dir in /usr/sbin
5577do 5214do
5578 IFS=$as_save_IFS 5215 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=. 5216 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do 5217 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5219 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2 5221 break 2
5585 fi 5222 fi
5586done 5223done
5587done 5224 done
5588IFS=$as_save_IFS 5225IFS=$as_save_IFS
5589 5226
5590 ;; 5227 ;;
@@ -5592,19 +5229,19 @@ esac
5592fi 5229fi
5593INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5230INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5594if test -n "$INSTALL_INFO"; then 5231if test -n "$INSTALL_INFO"; then
5595 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5596$as_echo "$INSTALL_INFO" >&6; } 5233$as_echo "$INSTALL_INFO" >&6; }
5597else 5234else
5598 { $as_echo "$as_me:$LINENO: result: no" >&5 5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599$as_echo "no" >&6; } 5236$as_echo "no" >&6; }
5600fi 5237fi
5601 5238
5602 5239
5603# Extract the first word of "install-info", so it can be a program name with args. 5240# Extract the first word of "install-info", so it can be a program name with args.
5604set dummy install-info; ac_word=$2 5241set dummy install-info; ac_word=$2
5605{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606$as_echo_n "checking for $ac_word... " >&6; } 5243$as_echo_n "checking for $ac_word... " >&6; }
5607if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5244if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5608 $as_echo_n "(cached) " >&6 5245 $as_echo_n "(cached) " >&6
5609else 5246else
5610 case $INSTALL_INFO in 5247 case $INSTALL_INFO in
@@ -5617,14 +5254,14 @@ for as_dir in /sbin
5617do 5254do
5618 IFS=$as_save_IFS 5255 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=. 5256 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do 5257 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5259 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5623 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2 5261 break 2
5625 fi 5262 fi
5626done 5263done
5627done 5264 done
5628IFS=$as_save_IFS 5265IFS=$as_save_IFS
5629 5266
5630 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" 5267 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":"
@@ -5633,19 +5270,19 @@ esac
5633fi 5270fi
5634INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5271INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5635if test -n "$INSTALL_INFO"; then 5272if test -n "$INSTALL_INFO"; then
5636 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5637$as_echo "$INSTALL_INFO" >&6; } 5274$as_echo "$INSTALL_INFO" >&6; }
5638else 5275else
5639 { $as_echo "$as_me:$LINENO: result: no" >&5 5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640$as_echo "no" >&6; } 5277$as_echo "no" >&6; }
5641fi 5278fi
5642 5279
5643 5280
5644# Extract the first word of "gzip", so it can be a program name with args. 5281# Extract the first word of "gzip", so it can be a program name with args.
5645set dummy gzip; ac_word=$2 5282set dummy gzip; ac_word=$2
5646{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647$as_echo_n "checking for $ac_word... " >&6; } 5284$as_echo_n "checking for $ac_word... " >&6; }
5648if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5285if test "${ac_cv_path_GZIP_PROG+set}" = set; then :
5649 $as_echo_n "(cached) " >&6 5286 $as_echo_n "(cached) " >&6
5650else 5287else
5651 case $GZIP_PROG in 5288 case $GZIP_PROG in
@@ -5658,14 +5295,14 @@ for as_dir in $PATH
5658do 5295do
5659 IFS=$as_save_IFS 5296 IFS=$as_save_IFS
5660 test -z "$as_dir" && as_dir=. 5297 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do 5298 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5663 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5300 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5664 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 break 2 5302 break 2
5666 fi 5303 fi
5667done 5304done
5668done 5305 done
5669IFS=$as_save_IFS 5306IFS=$as_save_IFS
5670 5307
5671 ;; 5308 ;;
@@ -5673,10 +5310,10 @@ esac
5673fi 5310fi
5674GZIP_PROG=$ac_cv_path_GZIP_PROG 5311GZIP_PROG=$ac_cv_path_GZIP_PROG
5675if test -n "$GZIP_PROG"; then 5312if test -n "$GZIP_PROG"; then
5676 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5
5677$as_echo "$GZIP_PROG" >&6; } 5314$as_echo "$GZIP_PROG" >&6; }
5678else 5315else
5679 { $as_echo "$as_me:$LINENO: result: no" >&5 5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680$as_echo "no" >&6; } 5317$as_echo "no" >&6; }
5681fi 5318fi
5682 5319
@@ -5686,9 +5323,9 @@ fi
5686## Need makeinfo >= 4.6 (?) to build the manuals. 5323## Need makeinfo >= 4.6 (?) to build the manuals.
5687# Extract the first word of "makeinfo", so it can be a program name with args. 5324# Extract the first word of "makeinfo", so it can be a program name with args.
5688set dummy makeinfo; ac_word=$2 5325set dummy makeinfo; ac_word=$2
5689{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690$as_echo_n "checking for $ac_word... " >&6; } 5327$as_echo_n "checking for $ac_word... " >&6; }
5691if test "${ac_cv_path_MAKEINFO+set}" = set; then 5328if test "${ac_cv_path_MAKEINFO+set}" = set; then :
5692 $as_echo_n "(cached) " >&6 5329 $as_echo_n "(cached) " >&6
5693else 5330else
5694 case $MAKEINFO in 5331 case $MAKEINFO in
@@ -5701,14 +5338,14 @@ for as_dir in $PATH
5701do 5338do
5702 IFS=$as_save_IFS 5339 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=. 5340 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do 5341 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5343 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2 5345 break 2
5709 fi 5346 fi
5710done 5347done
5711done 5348 done
5712IFS=$as_save_IFS 5349IFS=$as_save_IFS
5713 5350
5714 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" 5351 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
@@ -5717,10 +5354,10 @@ esac
5717fi 5354fi
5718MAKEINFO=$ac_cv_path_MAKEINFO 5355MAKEINFO=$ac_cv_path_MAKEINFO
5719if test -n "$MAKEINFO"; then 5356if test -n "$MAKEINFO"; then
5720 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5721$as_echo "$MAKEINFO" >&6; } 5358$as_echo "$MAKEINFO" >&6; }
5722else 5359else
5723 { $as_echo "$as_me:$LINENO: result: no" >&5 5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5724$as_echo "no" >&6; } 5361$as_echo "no" >&6; }
5725fi 5362fi
5726 5363
@@ -5743,15 +5380,10 @@ if test "$MAKEINFO" = "no"; then
5743 if test "x${with_makeinfo}" = "xno"; then 5380 if test "x${with_makeinfo}" = "xno"; then
5744 MAKEINFO=off 5381 MAKEINFO=off
5745 elif test ! -e $srcdir/info/emacs; then 5382 elif test ! -e $srcdir/info/emacs; then
5746 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your 5383 as_fn_error "You do not seem to have makeinfo >= 4.6, and your
5747source tree does not seem to have pre-built manuals in the \`info' directory.
5748Either install a suitable version of makeinfo, or re-run configure
5749with the \`--without-makeinfo' option to build without the manuals. " >&5
5750$as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5751source tree does not seem to have pre-built manuals in the \`info' directory. 5384source tree does not seem to have pre-built manuals in the \`info' directory.
5752Either install a suitable version of makeinfo, or re-run configure 5385Either install a suitable version of makeinfo, or re-run configure
5753with the \`--without-makeinfo' option to build without the manuals. " >&2;} 5386with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
5754 { (exit 1); exit 1; }; }
5755 fi 5387 fi
5756fi 5388fi
5757 5389
@@ -5774,50 +5406,26 @@ else
5774 LDFLAGS="$LDFLAGS -znocombreloc" 5406 LDFLAGS="$LDFLAGS -znocombreloc"
5775fi 5407fi
5776 5408
5777{ $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5
5778$as_echo_n "checking for -znocombreloc... " >&6; } 5410$as_echo_n "checking for -znocombreloc... " >&6; }
5779cat >conftest.$ac_ext <<_ACEOF 5411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412/* end confdefs.h. */
5780main(){return 0;} 5413main(){return 0;}
5781_ACEOF 5414_ACEOF
5782rm -f conftest.$ac_objext conftest$ac_exeext 5415if ac_fn_c_try_link "$LINENO"; then :
5783if { (ac_try="$ac_link" 5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5784case "(($ac_try" in
5785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5786 *) ac_try_echo=$ac_try;;
5787esac
5788eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5789$as_echo "$ac_try_echo") >&5
5790 (eval "$ac_link") 2>conftest.er1
5791 ac_status=$?
5792 grep -v '^ *+' conftest.er1 >conftest.err
5793 rm -f conftest.er1
5794 cat conftest.err >&5
5795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } && {
5797 test -z "$ac_c_werror_flag" ||
5798 test ! -s conftest.err
5799 } && test -s conftest$ac_exeext && {
5800 test "$cross_compiling" = yes ||
5801 $as_test_x conftest$ac_exeext
5802 }; then
5803 { $as_echo "$as_me:$LINENO: result: yes" >&5
5804$as_echo "yes" >&6; } 5417$as_echo "yes" >&6; }
5805else 5418else
5806 $as_echo "$as_me: failed program was:" >&5 5419 LDFLAGS=$late_LDFLAGS
5807sed 's/^/| /' conftest.$ac_ext >&5 5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808
5809 LDFLAGS=$late_LDFLAGS
5810 { $as_echo "$as_me:$LINENO: result: no" >&5
5811$as_echo "no" >&6; } 5421$as_echo "no" >&6; }
5812fi 5422fi
5813 5423rm -f core conftest.err conftest.$ac_objext \
5814rm -rf conftest.dSYM 5424 conftest$ac_exeext conftest.$ac_ext
5815rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5816 conftest$ac_exeext conftest.$ac_ext
5817 5425
5818#### Extract some information from the operating system and machine files. 5426#### Extract some information from the operating system and machine files.
5819 5427
5820{ $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 5428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out
5821 - which libraries the lib-src programs will want, and 5429 - which libraries the lib-src programs will want, and
5822 - whether the GNU malloc routines are usable..." >&5 5430 - whether the GNU malloc routines are usable..." >&5
5823$as_echo "$as_me: checking the machine- and system-dependent files to find out 5431$as_echo "$as_me: checking the machine- and system-dependent files to find out
@@ -5954,59 +5562,10 @@ esac
5954 5562
5955C_SWITCH_MACHINE= 5563C_SWITCH_MACHINE=
5956if test "$machine" = "alpha"; then 5564if test "$machine" = "alpha"; then
5957 { $as_echo "$as_me:$LINENO: checking whether __ELF__ is declared" >&5 5565 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
5958$as_echo_n "checking whether __ELF__ is declared... " >&6; } 5566if test "x$ac_cv_have_decl___ELF__" = x""yes; then :
5959if test "${ac_cv_have_decl___ELF__+set}" = set; then
5960 $as_echo_n "(cached) " >&6
5961else
5962 cat >conftest.$ac_ext <<_ACEOF
5963/* confdefs.h. */
5964_ACEOF
5965cat confdefs.h >>conftest.$ac_ext
5966cat >>conftest.$ac_ext <<_ACEOF
5967/* end confdefs.h. */
5968$ac_includes_default
5969int
5970main ()
5971{
5972#ifndef __ELF__
5973 (void) __ELF__;
5974#endif
5975 5567
5976 ;
5977 return 0;
5978}
5979_ACEOF
5980rm -f conftest.$ac_objext
5981if { (ac_try="$ac_compile"
5982case "(($ac_try" in
5983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5984 *) ac_try_echo=$ac_try;;
5985esac
5986eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5987$as_echo "$ac_try_echo") >&5
5988 (eval "$ac_compile") 2>conftest.er1
5989 ac_status=$?
5990 grep -v '^ *+' conftest.er1 >conftest.err
5991 rm -f conftest.er1
5992 cat conftest.err >&5
5993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } && {
5995 test -z "$ac_c_werror_flag" ||
5996 test ! -s conftest.err
5997 } && test -s conftest.$ac_objext; then
5998 ac_cv_have_decl___ELF__=yes
5999else
6000 $as_echo "$as_me: failed program was:" >&5
6001sed 's/^/| /' conftest.$ac_ext >&5
6002
6003 ac_cv_have_decl___ELF__=no
6004fi
6005
6006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6007fi 5568fi
6008{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___ELF__" >&5
6009$as_echo "$ac_cv_have_decl___ELF__" >&6; }
6010 5569
6011 if test "$ac_cv_have_decl___ELF__" = "yes"; then 5570 if test "$ac_cv_have_decl___ELF__" = "yes"; then
6012 ## With ELF, make sure that all common symbols get allocated to in the 5571 ## With ELF, make sure that all common symbols get allocated to in the
@@ -6017,9 +5576,7 @@ $as_echo "$ac_cv_have_decl___ELF__" >&6; }
6017 if test "x$GCC" = "xyes"; then 5576 if test "x$GCC" = "xyes"; then
6018 C_SWITCH_MACHINE="-fno-common" 5577 C_SWITCH_MACHINE="-fno-common"
6019 else 5578 else
6020 { { $as_echo "$as_me:$LINENO: error: What gives? Fix me if DEC Unix supports ELF now." >&5 5579 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
6021$as_echo "$as_me: error: What gives? Fix me if DEC Unix supports ELF now." >&2;}
6022 { (exit 1); exit 1; }; }
6023 fi 5580 fi
6024 fi 5581 fi
6025fi 5582fi
@@ -6065,15 +5622,15 @@ fi
6065 5622
6066 5623
6067# Check whether --enable-largefile was given. 5624# Check whether --enable-largefile was given.
6068if test "${enable_largefile+set}" = set; then 5625if test "${enable_largefile+set}" = set; then :
6069 enableval=$enable_largefile; 5626 enableval=$enable_largefile;
6070fi 5627fi
6071 5628
6072if test "$enable_largefile" != no; then 5629if test "$enable_largefile" != no; then
6073 5630
6074 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6075$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5632$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6076if test "${ac_cv_sys_largefile_CC+set}" = set; then 5633if test "${ac_cv_sys_largefile_CC+set}" = set; then :
6077 $as_echo_n "(cached) " >&6 5634 $as_echo_n "(cached) " >&6
6078else 5635else
6079 ac_cv_sys_largefile_CC=no 5636 ac_cv_sys_largefile_CC=no
@@ -6082,11 +5639,7 @@ else
6082 while :; do 5639 while :; do
6083 # IRIX 6.2 and later do not support large files by default, 5640 # IRIX 6.2 and later do not support large files by default,
6084 # so use the C compiler's -n32 option if that helps. 5641 # so use the C compiler's -n32 option if that helps.
6085 cat >conftest.$ac_ext <<_ACEOF 5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6086/* confdefs.h. */
6087_ACEOF
6088cat confdefs.h >>conftest.$ac_ext
6089cat >>conftest.$ac_ext <<_ACEOF
6090/* end confdefs.h. */ 5643/* end confdefs.h. */
6091#include <sys/types.h> 5644#include <sys/types.h>
6092 /* Check that off_t can represent 2**63 - 1 correctly. 5645 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6105,60 +5658,14 @@ main ()
6105 return 0; 5658 return 0;
6106} 5659}
6107_ACEOF 5660_ACEOF
6108 rm -f conftest.$ac_objext 5661 if ac_fn_c_try_compile "$LINENO"; then :
6109if { (ac_try="$ac_compile"
6110case "(($ac_try" in
6111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6112 *) ac_try_echo=$ac_try;;
6113esac
6114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6115$as_echo "$ac_try_echo") >&5
6116 (eval "$ac_compile") 2>conftest.er1
6117 ac_status=$?
6118 grep -v '^ *+' conftest.er1 >conftest.err
6119 rm -f conftest.er1
6120 cat conftest.err >&5
6121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } && {
6123 test -z "$ac_c_werror_flag" ||
6124 test ! -s conftest.err
6125 } && test -s conftest.$ac_objext; then
6126 break 5662 break
6127else
6128 $as_echo "$as_me: failed program was:" >&5
6129sed 's/^/| /' conftest.$ac_ext >&5
6130
6131
6132fi 5663fi
6133
6134rm -f core conftest.err conftest.$ac_objext 5664rm -f core conftest.err conftest.$ac_objext
6135 CC="$CC -n32" 5665 CC="$CC -n32"
6136 rm -f conftest.$ac_objext 5666 if ac_fn_c_try_compile "$LINENO"; then :
6137if { (ac_try="$ac_compile"
6138case "(($ac_try" in
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6141esac
6142eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6143$as_echo "$ac_try_echo") >&5
6144 (eval "$ac_compile") 2>conftest.er1
6145 ac_status=$?
6146 grep -v '^ *+' conftest.er1 >conftest.err
6147 rm -f conftest.er1
6148 cat conftest.err >&5
6149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); } && {
6151 test -z "$ac_c_werror_flag" ||
6152 test ! -s conftest.err
6153 } && test -s conftest.$ac_objext; then
6154 ac_cv_sys_largefile_CC=' -n32'; break 5667 ac_cv_sys_largefile_CC=' -n32'; break
6155else
6156 $as_echo "$as_me: failed program was:" >&5
6157sed 's/^/| /' conftest.$ac_ext >&5
6158
6159
6160fi 5668fi
6161
6162rm -f core conftest.err conftest.$ac_objext 5669rm -f core conftest.err conftest.$ac_objext
6163 break 5670 break
6164 done 5671 done
@@ -6166,23 +5673,19 @@ rm -f core conftest.err conftest.$ac_objext
6166 rm -f conftest.$ac_ext 5673 rm -f conftest.$ac_ext
6167 fi 5674 fi
6168fi 5675fi
6169{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6170$as_echo "$ac_cv_sys_largefile_CC" >&6; } 5677$as_echo "$ac_cv_sys_largefile_CC" >&6; }
6171 if test "$ac_cv_sys_largefile_CC" != no; then 5678 if test "$ac_cv_sys_largefile_CC" != no; then
6172 CC=$CC$ac_cv_sys_largefile_CC 5679 CC=$CC$ac_cv_sys_largefile_CC
6173 fi 5680 fi
6174 5681
6175 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6176$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5683$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6177if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5684if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
6178 $as_echo_n "(cached) " >&6 5685 $as_echo_n "(cached) " >&6
6179else 5686else
6180 while :; do 5687 while :; do
6181 cat >conftest.$ac_ext <<_ACEOF 5688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182/* confdefs.h. */
6183_ACEOF
6184cat confdefs.h >>conftest.$ac_ext
6185cat >>conftest.$ac_ext <<_ACEOF
6186/* end confdefs.h. */ 5689/* end confdefs.h. */
6187#include <sys/types.h> 5690#include <sys/types.h>
6188 /* Check that off_t can represent 2**63 - 1 correctly. 5691 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6201,38 +5704,11 @@ main ()
6201 return 0; 5704 return 0;
6202} 5705}
6203_ACEOF 5706_ACEOF
6204rm -f conftest.$ac_objext 5707if ac_fn_c_try_compile "$LINENO"; then :
6205if { (ac_try="$ac_compile"
6206case "(($ac_try" in
6207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6208 *) ac_try_echo=$ac_try;;
6209esac
6210eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6211$as_echo "$ac_try_echo") >&5
6212 (eval "$ac_compile") 2>conftest.er1
6213 ac_status=$?
6214 grep -v '^ *+' conftest.er1 >conftest.err
6215 rm -f conftest.er1
6216 cat conftest.err >&5
6217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && {
6219 test -z "$ac_c_werror_flag" ||
6220 test ! -s conftest.err
6221 } && test -s conftest.$ac_objext; then
6222 ac_cv_sys_file_offset_bits=no; break 5708 ac_cv_sys_file_offset_bits=no; break
6223else
6224 $as_echo "$as_me: failed program was:" >&5
6225sed 's/^/| /' conftest.$ac_ext >&5
6226
6227
6228fi 5709fi
6229
6230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6231 cat >conftest.$ac_ext <<_ACEOF 5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232/* confdefs.h. */
6233_ACEOF
6234cat confdefs.h >>conftest.$ac_ext
6235cat >>conftest.$ac_ext <<_ACEOF
6236/* end confdefs.h. */ 5712/* end confdefs.h. */
6237#define _FILE_OFFSET_BITS 64 5713#define _FILE_OFFSET_BITS 64
6238#include <sys/types.h> 5714#include <sys/types.h>
@@ -6252,38 +5728,15 @@ main ()
6252 return 0; 5728 return 0;
6253} 5729}
6254_ACEOF 5730_ACEOF
6255rm -f conftest.$ac_objext 5731if ac_fn_c_try_compile "$LINENO"; then :
6256if { (ac_try="$ac_compile"
6257case "(($ac_try" in
6258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6259 *) ac_try_echo=$ac_try;;
6260esac
6261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6262$as_echo "$ac_try_echo") >&5
6263 (eval "$ac_compile") 2>conftest.er1
6264 ac_status=$?
6265 grep -v '^ *+' conftest.er1 >conftest.err
6266 rm -f conftest.er1
6267 cat conftest.err >&5
6268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); } && {
6270 test -z "$ac_c_werror_flag" ||
6271 test ! -s conftest.err
6272 } && test -s conftest.$ac_objext; then
6273 ac_cv_sys_file_offset_bits=64; break 5732 ac_cv_sys_file_offset_bits=64; break
6274else
6275 $as_echo "$as_me: failed program was:" >&5
6276sed 's/^/| /' conftest.$ac_ext >&5
6277
6278
6279fi 5733fi
6280
6281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6282 ac_cv_sys_file_offset_bits=unknown 5735 ac_cv_sys_file_offset_bits=unknown
6283 break 5736 break
6284done 5737done
6285fi 5738fi
6286{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6287$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5740$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6288case $ac_cv_sys_file_offset_bits in #( 5741case $ac_cv_sys_file_offset_bits in #(
6289 no | unknown) ;; 5742 no | unknown) ;;
@@ -6295,17 +5748,13 @@ _ACEOF
6295esac 5748esac
6296rm -rf conftest* 5749rm -rf conftest*
6297 if test $ac_cv_sys_file_offset_bits = unknown; then 5750 if test $ac_cv_sys_file_offset_bits = unknown; then
6298 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6299$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5752$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6300if test "${ac_cv_sys_large_files+set}" = set; then 5753if test "${ac_cv_sys_large_files+set}" = set; then :
6301 $as_echo_n "(cached) " >&6 5754 $as_echo_n "(cached) " >&6
6302else 5755else
6303 while :; do 5756 while :; do
6304 cat >conftest.$ac_ext <<_ACEOF 5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305/* confdefs.h. */
6306_ACEOF
6307cat confdefs.h >>conftest.$ac_ext
6308cat >>conftest.$ac_ext <<_ACEOF
6309/* end confdefs.h. */ 5758/* end confdefs.h. */
6310#include <sys/types.h> 5759#include <sys/types.h>
6311 /* Check that off_t can represent 2**63 - 1 correctly. 5760 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6324,38 +5773,11 @@ main ()
6324 return 0; 5773 return 0;
6325} 5774}
6326_ACEOF 5775_ACEOF
6327rm -f conftest.$ac_objext 5776if ac_fn_c_try_compile "$LINENO"; then :
6328if { (ac_try="$ac_compile"
6329case "(($ac_try" in
6330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6331 *) ac_try_echo=$ac_try;;
6332esac
6333eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6334$as_echo "$ac_try_echo") >&5
6335 (eval "$ac_compile") 2>conftest.er1
6336 ac_status=$?
6337 grep -v '^ *+' conftest.er1 >conftest.err
6338 rm -f conftest.er1
6339 cat conftest.err >&5
6340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); } && {
6342 test -z "$ac_c_werror_flag" ||
6343 test ! -s conftest.err
6344 } && test -s conftest.$ac_objext; then
6345 ac_cv_sys_large_files=no; break 5777 ac_cv_sys_large_files=no; break
6346else
6347 $as_echo "$as_me: failed program was:" >&5
6348sed 's/^/| /' conftest.$ac_ext >&5
6349
6350
6351fi 5778fi
6352
6353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354 cat >conftest.$ac_ext <<_ACEOF 5780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355/* confdefs.h. */
6356_ACEOF
6357cat confdefs.h >>conftest.$ac_ext
6358cat >>conftest.$ac_ext <<_ACEOF
6359/* end confdefs.h. */ 5781/* end confdefs.h. */
6360#define _LARGE_FILES 1 5782#define _LARGE_FILES 1
6361#include <sys/types.h> 5783#include <sys/types.h>
@@ -6375,38 +5797,15 @@ main ()
6375 return 0; 5797 return 0;
6376} 5798}
6377_ACEOF 5799_ACEOF
6378rm -f conftest.$ac_objext 5800if ac_fn_c_try_compile "$LINENO"; then :
6379if { (ac_try="$ac_compile"
6380case "(($ac_try" in
6381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6382 *) ac_try_echo=$ac_try;;
6383esac
6384eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6385$as_echo "$ac_try_echo") >&5
6386 (eval "$ac_compile") 2>conftest.er1
6387 ac_status=$?
6388 grep -v '^ *+' conftest.er1 >conftest.err
6389 rm -f conftest.er1
6390 cat conftest.err >&5
6391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } && {
6393 test -z "$ac_c_werror_flag" ||
6394 test ! -s conftest.err
6395 } && test -s conftest.$ac_objext; then
6396 ac_cv_sys_large_files=1; break 5801 ac_cv_sys_large_files=1; break
6397else
6398 $as_echo "$as_me: failed program was:" >&5
6399sed 's/^/| /' conftest.$ac_ext >&5
6400
6401
6402fi 5802fi
6403
6404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405 ac_cv_sys_large_files=unknown 5804 ac_cv_sys_large_files=unknown
6406 break 5805 break
6407done 5806done
6408fi 5807fi
6409{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6410$as_echo "$ac_cv_sys_large_files" >&6; } 5809$as_echo "$ac_cv_sys_large_files" >&6; }
6411case $ac_cv_sys_large_files in #( 5810case $ac_cv_sys_large_files in #(
6412 no | unknown) ;; 5811 no | unknown) ;;
@@ -6452,9 +5851,7 @@ else
6452 ## Some platforms don't use any of these files, so it is not 5851 ## Some platforms don't use any of these files, so it is not
6453 ## appropriate to put this test outside the if block. 5852 ## appropriate to put this test outside the if block.
6454 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5853 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
6455 { { $as_echo "$as_me:$LINENO: error: crt*.o not found in specified location." >&5 5854 as_fn_error "crt*.o not found in specified location." "$LINENO" 5
6456$as_echo "$as_me: error: crt*.o not found in specified location." >&2;}
6457 { (exit 1); exit 1; }; }
6458 5855
6459fi 5856fi
6460 5857
@@ -6505,145 +5902,12 @@ esac
6505 5902
6506if test "${with_sound}" != "no"; then 5903if test "${with_sound}" != "no"; then
6507 # Sound support for GNU/Linux and the free BSDs. 5904 # Sound support for GNU/Linux and the free BSDs.
6508 5905 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
6509 5906do :
6510 5907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6511for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 5908ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6512do 5909eval as_val=\$$as_ac_Header
6513as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5910 if test "x$as_val" = x""yes; then :
6514if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6515 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6516$as_echo_n "checking for $ac_header... " >&6; }
6517if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6518 $as_echo_n "(cached) " >&6
6519fi
6520ac_res=`eval 'as_val=${'$as_ac_Header'}
6521 $as_echo "$as_val"'`
6522 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6523$as_echo "$ac_res" >&6; }
6524else
6525 # Is the header compilable?
6526{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6527$as_echo_n "checking $ac_header usability... " >&6; }
6528cat >conftest.$ac_ext <<_ACEOF
6529/* confdefs.h. */
6530_ACEOF
6531cat confdefs.h >>conftest.$ac_ext
6532cat >>conftest.$ac_ext <<_ACEOF
6533/* end confdefs.h. */
6534$ac_includes_default
6535#include <$ac_header>
6536_ACEOF
6537rm -f conftest.$ac_objext
6538if { (ac_try="$ac_compile"
6539case "(($ac_try" in
6540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6541 *) ac_try_echo=$ac_try;;
6542esac
6543eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6544$as_echo "$ac_try_echo") >&5
6545 (eval "$ac_compile") 2>conftest.er1
6546 ac_status=$?
6547 grep -v '^ *+' conftest.er1 >conftest.err
6548 rm -f conftest.er1
6549 cat conftest.err >&5
6550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); } && {
6552 test -z "$ac_c_werror_flag" ||
6553 test ! -s conftest.err
6554 } && test -s conftest.$ac_objext; then
6555 ac_header_compiler=yes
6556else
6557 $as_echo "$as_me: failed program was:" >&5
6558sed 's/^/| /' conftest.$ac_ext >&5
6559
6560 ac_header_compiler=no
6561fi
6562
6563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6564{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6565$as_echo "$ac_header_compiler" >&6; }
6566
6567# Is the header present?
6568{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6569$as_echo_n "checking $ac_header presence... " >&6; }
6570cat >conftest.$ac_ext <<_ACEOF
6571/* confdefs.h. */
6572_ACEOF
6573cat confdefs.h >>conftest.$ac_ext
6574cat >>conftest.$ac_ext <<_ACEOF
6575/* end confdefs.h. */
6576#include <$ac_header>
6577_ACEOF
6578if { (ac_try="$ac_cpp conftest.$ac_ext"
6579case "(($ac_try" in
6580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6581 *) ac_try_echo=$ac_try;;
6582esac
6583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6584$as_echo "$ac_try_echo") >&5
6585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6586 ac_status=$?
6587 grep -v '^ *+' conftest.er1 >conftest.err
6588 rm -f conftest.er1
6589 cat conftest.err >&5
6590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } >/dev/null && {
6592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6593 test ! -s conftest.err
6594 }; then
6595 ac_header_preproc=yes
6596else
6597 $as_echo "$as_me: failed program was:" >&5
6598sed 's/^/| /' conftest.$ac_ext >&5
6599
6600 ac_header_preproc=no
6601fi
6602
6603rm -f conftest.err conftest.$ac_ext
6604{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6605$as_echo "$ac_header_preproc" >&6; }
6606
6607# So? What about this header?
6608case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6609 yes:no: )
6610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6611$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6613$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6614 ac_header_preproc=yes
6615 ;;
6616 no:yes:* )
6617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6618$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6620$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6622$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6624$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6626$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6628$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6629
6630 ;;
6631esac
6632{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6633$as_echo_n "checking for $ac_header... " >&6; }
6634if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6635 $as_echo_n "(cached) " >&6
6636else
6637 eval "$as_ac_Header=\$ac_header_preproc"
6638fi
6639ac_res=`eval 'as_val=${'$as_ac_Header'}
6640 $as_echo "$as_val"'`
6641 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6642$as_echo "$ac_res" >&6; }
6643
6644fi
6645if test `eval 'as_val=${'$as_ac_Header'}
6646 $as_echo "$as_val"'` = yes; then
6647 cat >>confdefs.h <<_ACEOF 5911 cat >>confdefs.h <<_ACEOF
6648#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5912#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6649_ACEOF 5913_ACEOF
@@ -6653,18 +5917,14 @@ fi
6653done 5917done
6654 5918
6655 # Emulation library used on NetBSD. 5919 # Emulation library used on NetBSD.
6656 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6657$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 5921$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6658if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 5922if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
6659 $as_echo_n "(cached) " >&6 5923 $as_echo_n "(cached) " >&6
6660else 5924else
6661 ac_check_lib_save_LIBS=$LIBS 5925 ac_check_lib_save_LIBS=$LIBS
6662LIBS="-lossaudio $LIBS" 5926LIBS="-lossaudio $LIBS"
6663cat >conftest.$ac_ext <<_ACEOF 5927cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664/* confdefs.h. */
6665_ACEOF
6666cat confdefs.h >>conftest.$ac_ext
6667cat >>conftest.$ac_ext <<_ACEOF
6668/* end confdefs.h. */ 5928/* end confdefs.h. */
6669 5929
6670/* Override any GCC internal prototype to avoid an error. 5930/* Override any GCC internal prototype to avoid an error.
@@ -6682,43 +5942,18 @@ return _oss_ioctl ();
6682 return 0; 5942 return 0;
6683} 5943}
6684_ACEOF 5944_ACEOF
6685rm -f conftest.$ac_objext conftest$ac_exeext 5945if ac_fn_c_try_link "$LINENO"; then :
6686if { (ac_try="$ac_link"
6687case "(($ac_try" in
6688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6689 *) ac_try_echo=$ac_try;;
6690esac
6691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6692$as_echo "$ac_try_echo") >&5
6693 (eval "$ac_link") 2>conftest.er1
6694 ac_status=$?
6695 grep -v '^ *+' conftest.er1 >conftest.err
6696 rm -f conftest.er1
6697 cat conftest.err >&5
6698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } && {
6700 test -z "$ac_c_werror_flag" ||
6701 test ! -s conftest.err
6702 } && test -s conftest$ac_exeext && {
6703 test "$cross_compiling" = yes ||
6704 $as_test_x conftest$ac_exeext
6705 }; then
6706 ac_cv_lib_ossaudio__oss_ioctl=yes 5946 ac_cv_lib_ossaudio__oss_ioctl=yes
6707else 5947else
6708 $as_echo "$as_me: failed program was:" >&5 5948 ac_cv_lib_ossaudio__oss_ioctl=no
6709sed 's/^/| /' conftest.$ac_ext >&5
6710
6711 ac_cv_lib_ossaudio__oss_ioctl=no
6712fi 5949fi
6713 5950rm -f core conftest.err conftest.$ac_objext \
6714rm -rf conftest.dSYM 5951 conftest$ac_exeext conftest.$ac_ext
6715rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6716 conftest$ac_exeext conftest.$ac_ext
6717LIBS=$ac_check_lib_save_LIBS 5952LIBS=$ac_check_lib_save_LIBS
6718fi 5953fi
6719{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 5954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6720$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 5955$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6721if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 5956if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
6722 LIBSOUND=-lossaudio 5957 LIBSOUND=-lossaudio
6723else 5958else
6724 LIBSOUND= 5959 LIBSOUND=
@@ -6733,9 +5968,9 @@ fi
6733 5968
6734 # Extract the first word of "pkg-config", so it can be a program name with args. 5969 # Extract the first word of "pkg-config", so it can be a program name with args.
6735set dummy pkg-config; ac_word=$2 5970set dummy pkg-config; ac_word=$2
6736{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737$as_echo_n "checking for $ac_word... " >&6; } 5972$as_echo_n "checking for $ac_word... " >&6; }
6738if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5973if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6739 $as_echo_n "(cached) " >&6 5974 $as_echo_n "(cached) " >&6
6740else 5975else
6741 case $PKG_CONFIG in 5976 case $PKG_CONFIG in
@@ -6748,14 +5983,14 @@ for as_dir in $PATH
6748do 5983do
6749 IFS=$as_save_IFS 5984 IFS=$as_save_IFS
6750 test -z "$as_dir" && as_dir=. 5985 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do 5986 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5988 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6754 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 break 2 5990 break 2
6756 fi 5991 fi
6757done 5992done
6758done 5993 done
6759IFS=$as_save_IFS 5994IFS=$as_save_IFS
6760 5995
6761 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 5996 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -6764,10 +5999,10 @@ esac
6764fi 5999fi
6765PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6000PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6766if test -n "$PKG_CONFIG"; then 6001if test -n "$PKG_CONFIG"; then
6767 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6768$as_echo "$PKG_CONFIG" >&6; } 6003$as_echo "$PKG_CONFIG" >&6; }
6769else 6004else
6770 { $as_echo "$as_me:$LINENO: result: no" >&5 6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771$as_echo "no" >&6; } 6006$as_echo "no" >&6; }
6772fi 6007fi
6773 6008
@@ -6778,27 +6013,27 @@ fi
6778 else 6013 else
6779 PKG_CONFIG_MIN_VERSION=0.9.0 6014 PKG_CONFIG_MIN_VERSION=0.9.0
6780 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6015 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6781 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5
6782$as_echo_n "checking for $ALSA_MODULES... " >&6; } 6017$as_echo_n "checking for $ALSA_MODULES... " >&6; }
6783 6018
6784 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6019 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
6785 { $as_echo "$as_me:$LINENO: result: yes" >&5 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6786$as_echo "yes" >&6; } 6021$as_echo "yes" >&6; }
6787 succeeded=yes 6022 succeeded=yes
6788 6023
6789 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5
6790$as_echo_n "checking ALSA_CFLAGS... " >&6; } 6025$as_echo_n "checking ALSA_CFLAGS... " >&6; }
6791 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6026 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6792 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
6793$as_echo "$ALSA_CFLAGS" >&6; } 6028$as_echo "$ALSA_CFLAGS" >&6; }
6794 6029
6795 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5
6796$as_echo_n "checking ALSA_LIBS... " >&6; } 6031$as_echo_n "checking ALSA_LIBS... " >&6; }
6797 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6032 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6798 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
6799$as_echo "$ALSA_LIBS" >&6; } 6034$as_echo "$ALSA_LIBS" >&6; }
6800 else 6035 else
6801 { $as_echo "$as_me:$LINENO: result: no" >&5 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802$as_echo "no" >&6; } 6037$as_echo "no" >&6; }
6803 ALSA_CFLAGS="" 6038 ALSA_CFLAGS=""
6804 ALSA_LIBS="" 6039 ALSA_LIBS=""
@@ -6827,11 +6062,7 @@ $as_echo "no" >&6; }
6827 SAVE_LDFLAGS="$LDFLAGS" 6062 SAVE_LDFLAGS="$LDFLAGS"
6828 CFLAGS="$ALSA_CFLAGS $CFLAGS" 6063 CFLAGS="$ALSA_CFLAGS $CFLAGS"
6829 LDFLAGS="$ALSA_LIBS $LDFLAGS" 6064 LDFLAGS="$ALSA_LIBS $LDFLAGS"
6830 cat >conftest.$ac_ext <<_ACEOF 6065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831/* confdefs.h. */
6832_ACEOF
6833cat confdefs.h >>conftest.$ac_ext
6834cat >>conftest.$ac_ext <<_ACEOF
6835/* end confdefs.h. */ 6066/* end confdefs.h. */
6836#include <asoundlib.h> 6067#include <asoundlib.h>
6837int 6068int
@@ -6842,39 +6073,14 @@ snd_lib_error_set_handler (0);
6842 return 0; 6073 return 0;
6843} 6074}
6844_ACEOF 6075_ACEOF
6845rm -f conftest.$ac_objext 6076if ac_fn_c_try_compile "$LINENO"; then :
6846if { (ac_try="$ac_compile"
6847case "(($ac_try" in
6848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6849 *) ac_try_echo=$ac_try;;
6850esac
6851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6852$as_echo "$ac_try_echo") >&5
6853 (eval "$ac_compile") 2>conftest.er1
6854 ac_status=$?
6855 grep -v '^ *+' conftest.er1 >conftest.err
6856 rm -f conftest.er1
6857 cat conftest.err >&5
6858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && {
6860 test -z "$ac_c_werror_flag" ||
6861 test ! -s conftest.err
6862 } && test -s conftest.$ac_objext; then
6863 emacs_alsa_normal=yes 6077 emacs_alsa_normal=yes
6864else 6078else
6865 $as_echo "$as_me: failed program was:" >&5 6079 emacs_alsa_normal=no
6866sed 's/^/| /' conftest.$ac_ext >&5
6867
6868 emacs_alsa_normal=no
6869fi 6080fi
6870
6871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872 if test "$emacs_alsa_normal" != yes; then 6082 if test "$emacs_alsa_normal" != yes; then
6873 cat >conftest.$ac_ext <<_ACEOF 6083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874/* confdefs.h. */
6875_ACEOF
6876cat confdefs.h >>conftest.$ac_ext
6877cat >>conftest.$ac_ext <<_ACEOF
6878/* end confdefs.h. */ 6084/* end confdefs.h. */
6879#include <alsa/asoundlib.h> 6085#include <alsa/asoundlib.h>
6880int 6086int
@@ -6885,37 +6091,14 @@ snd_lib_error_set_handler (0);
6885 return 0; 6091 return 0;
6886} 6092}
6887_ACEOF 6093_ACEOF
6888rm -f conftest.$ac_objext 6094if ac_fn_c_try_compile "$LINENO"; then :
6889if { (ac_try="$ac_compile"
6890case "(($ac_try" in
6891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6892 *) ac_try_echo=$ac_try;;
6893esac
6894eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6895$as_echo "$ac_try_echo") >&5
6896 (eval "$ac_compile") 2>conftest.er1
6897 ac_status=$?
6898 grep -v '^ *+' conftest.er1 >conftest.err
6899 rm -f conftest.er1
6900 cat conftest.err >&5
6901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } && {
6903 test -z "$ac_c_werror_flag" ||
6904 test ! -s conftest.err
6905 } && test -s conftest.$ac_objext; then
6906 emacs_alsa_subdir=yes 6095 emacs_alsa_subdir=yes
6907else 6096else
6908 $as_echo "$as_me: failed program was:" >&5 6097 emacs_alsa_subdir=no
6909sed 's/^/| /' conftest.$ac_ext >&5
6910
6911 emacs_alsa_subdir=no
6912fi 6098fi
6913
6914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6915 if test "$emacs_alsa_subdir" != yes; then 6100 if test "$emacs_alsa_subdir" != yes; then
6916 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 6101 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6917$as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6918 { (exit 1); exit 1; }; }
6919 fi 6102 fi
6920 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6103 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6921 fi 6104 fi
@@ -6925,179 +6108,22 @@ $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See co
6925 LIBSOUND="$LIBSOUND $ALSA_LIBS" 6108 LIBSOUND="$LIBSOUND $ALSA_LIBS"
6926 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" 6109 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
6927 6110
6928cat >>confdefs.h <<\_ACEOF 6111$as_echo "#define HAVE_ALSA 1" >>confdefs.h
6929#define HAVE_ALSA 1
6930_ACEOF
6931 6112
6932 fi 6113 fi
6933 6114
6934fi 6115fi
6935 6116
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 6117for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
6962 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6118 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6963 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6119 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6964 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6120 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6965 sys/utsname.h pwd.h utmp.h 6121 sys/utsname.h pwd.h utmp.h
6966do 6122do :
6967as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6968if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6124ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6969 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6125eval as_val=\$$as_ac_Header
6970$as_echo_n "checking for $ac_header... " >&6; } 6126 if test "x$as_val" = x""yes; then :
6971if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6972 $as_echo_n "(cached) " >&6
6973fi
6974ac_res=`eval 'as_val=${'$as_ac_Header'}
6975 $as_echo "$as_val"'`
6976 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6977$as_echo "$ac_res" >&6; }
6978else
6979 # Is the header compilable?
6980{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6981$as_echo_n "checking $ac_header usability... " >&6; }
6982cat >conftest.$ac_ext <<_ACEOF
6983/* confdefs.h. */
6984_ACEOF
6985cat confdefs.h >>conftest.$ac_ext
6986cat >>conftest.$ac_ext <<_ACEOF
6987/* end confdefs.h. */
6988$ac_includes_default
6989#include <$ac_header>
6990_ACEOF
6991rm -f conftest.$ac_objext
6992if { (ac_try="$ac_compile"
6993case "(($ac_try" in
6994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6995 *) ac_try_echo=$ac_try;;
6996esac
6997eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6998$as_echo "$ac_try_echo") >&5
6999 (eval "$ac_compile") 2>conftest.er1
7000 ac_status=$?
7001 grep -v '^ *+' conftest.er1 >conftest.err
7002 rm -f conftest.er1
7003 cat conftest.err >&5
7004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } && {
7006 test -z "$ac_c_werror_flag" ||
7007 test ! -s conftest.err
7008 } && test -s conftest.$ac_objext; then
7009 ac_header_compiler=yes
7010else
7011 $as_echo "$as_me: failed program was:" >&5
7012sed 's/^/| /' conftest.$ac_ext >&5
7013
7014 ac_header_compiler=no
7015fi
7016
7017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7018{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7019$as_echo "$ac_header_compiler" >&6; }
7020
7021# Is the header present?
7022{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7023$as_echo_n "checking $ac_header presence... " >&6; }
7024cat >conftest.$ac_ext <<_ACEOF
7025/* confdefs.h. */
7026_ACEOF
7027cat confdefs.h >>conftest.$ac_ext
7028cat >>conftest.$ac_ext <<_ACEOF
7029/* end confdefs.h. */
7030#include <$ac_header>
7031_ACEOF
7032if { (ac_try="$ac_cpp conftest.$ac_ext"
7033case "(($ac_try" in
7034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7035 *) ac_try_echo=$ac_try;;
7036esac
7037eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7038$as_echo "$ac_try_echo") >&5
7039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7040 ac_status=$?
7041 grep -v '^ *+' conftest.er1 >conftest.err
7042 rm -f conftest.er1
7043 cat conftest.err >&5
7044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); } >/dev/null && {
7046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7047 test ! -s conftest.err
7048 }; then
7049 ac_header_preproc=yes
7050else
7051 $as_echo "$as_me: failed program was:" >&5
7052sed 's/^/| /' conftest.$ac_ext >&5
7053
7054 ac_header_preproc=no
7055fi
7056
7057rm -f conftest.err conftest.$ac_ext
7058{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7059$as_echo "$ac_header_preproc" >&6; }
7060
7061# So? What about this header?
7062case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7063 yes:no: )
7064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7065$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7067$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7068 ac_header_preproc=yes
7069 ;;
7070 no:yes:* )
7071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7072$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7074$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7076$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7077 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7078$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7079 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7080$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7082$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7083
7084 ;;
7085esac
7086{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7087$as_echo_n "checking for $ac_header... " >&6; }
7088if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089 $as_echo_n "(cached) " >&6
7090else
7091 eval "$as_ac_Header=\$ac_header_preproc"
7092fi
7093ac_res=`eval 'as_val=${'$as_ac_Header'}
7094 $as_echo "$as_val"'`
7095 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7096$as_echo "$ac_res" >&6; }
7097
7098fi
7099if test `eval 'as_val=${'$as_ac_Header'}
7100 $as_echo "$as_val"'` = yes; then
7101 cat >>confdefs.h <<_ACEOF 6127 cat >>confdefs.h <<_ACEOF
7102#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6128#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7103_ACEOF 6129_ACEOF
@@ -7107,13 +6133,9 @@ fi
7107done 6133done
7108 6134
7109 6135
7110{ $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 6136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5
7111$as_echo_n "checking if personality LINUX32 can be set... " >&6; } 6137$as_echo_n "checking if personality LINUX32 can be set... " >&6; }
7112cat >conftest.$ac_ext <<_ACEOF 6138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113/* confdefs.h. */
7114_ACEOF
7115cat confdefs.h >>conftest.$ac_ext
7116cat >>conftest.$ac_ext <<_ACEOF
7117/* end confdefs.h. */ 6139/* end confdefs.h. */
7118#include <sys/personality.h> 6140#include <sys/personality.h>
7119int 6141int
@@ -7124,112 +6146,39 @@ personality (PER_LINUX32)
7124 return 0; 6146 return 0;
7125} 6147}
7126_ACEOF 6148_ACEOF
7127rm -f conftest.$ac_objext 6149if ac_fn_c_try_compile "$LINENO"; then :
7128if { (ac_try="$ac_compile"
7129case "(($ac_try" in
7130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7131 *) ac_try_echo=$ac_try;;
7132esac
7133eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7134$as_echo "$ac_try_echo") >&5
7135 (eval "$ac_compile") 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest.$ac_objext; then
7145 emacs_cv_personality_linux32=yes 6150 emacs_cv_personality_linux32=yes
7146else 6151else
7147 $as_echo "$as_me: failed program was:" >&5 6152 emacs_cv_personality_linux32=no
7148sed 's/^/| /' conftest.$ac_ext >&5
7149
7150 emacs_cv_personality_linux32=no
7151fi 6153fi
7152
7153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7154{ $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 6155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5
7155$as_echo "$emacs_cv_personality_linux32" >&6; } 6156$as_echo "$emacs_cv_personality_linux32" >&6; }
7156 6157
7157if test $emacs_cv_personality_linux32 = yes; then 6158if test $emacs_cv_personality_linux32 = yes; then
7158 6159
7159cat >>confdefs.h <<\_ACEOF 6160$as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h
7160#define HAVE_PERSONALITY_LINUX32 1
7161_ACEOF
7162 6161
7163fi 6162fi
7164 6163
7165
7166for ac_header in term.h 6164for ac_header in term.h
7167do 6165do :
7168as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6166 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
7169{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6167if test "x$ac_cv_header_term_h" = x""yes; then :
7170$as_echo_n "checking for $ac_header... " >&6; }
7171if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7172 $as_echo_n "(cached) " >&6
7173else
7174 cat >conftest.$ac_ext <<_ACEOF
7175/* confdefs.h. */
7176_ACEOF
7177cat confdefs.h >>conftest.$ac_ext
7178cat >>conftest.$ac_ext <<_ACEOF
7179/* end confdefs.h. */
7180#include <$ac_header>
7181_ACEOF
7182if { (ac_try="$ac_cpp conftest.$ac_ext"
7183case "(($ac_try" in
7184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7185 *) ac_try_echo=$ac_try;;
7186esac
7187eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7188$as_echo "$ac_try_echo") >&5
7189 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7190 ac_status=$?
7191 grep -v '^ *+' conftest.er1 >conftest.err
7192 rm -f conftest.er1
7193 cat conftest.err >&5
7194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); } >/dev/null && {
7196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7197 test ! -s conftest.err
7198 }; then
7199 eval "$as_ac_Header=yes"
7200else
7201 $as_echo "$as_me: failed program was:" >&5
7202sed 's/^/| /' conftest.$ac_ext >&5
7203
7204 eval "$as_ac_Header=no"
7205fi
7206
7207rm -f conftest.err conftest.$ac_ext
7208fi
7209ac_res=`eval 'as_val=${'$as_ac_Header'}
7210 $as_echo "$as_val"'`
7211 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7212$as_echo "$ac_res" >&6; }
7213if test `eval 'as_val=${'$as_ac_Header'}
7214 $as_echo "$as_val"'` = yes; then
7215 cat >>confdefs.h <<_ACEOF 6168 cat >>confdefs.h <<_ACEOF
7216#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6169#define HAVE_TERM_H 1
7217_ACEOF 6170_ACEOF
7218 6171
7219fi 6172fi
7220 6173
7221done 6174done
7222 6175
7223{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7224$as_echo_n "checking for ANSI C header files... " >&6; } 6177$as_echo_n "checking for ANSI C header files... " >&6; }
7225if test "${ac_cv_header_stdc+set}" = set; then 6178if test "${ac_cv_header_stdc+set}" = set; then :
7226 $as_echo_n "(cached) " >&6 6179 $as_echo_n "(cached) " >&6
7227else 6180else
7228 cat >conftest.$ac_ext <<_ACEOF 6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229/* confdefs.h. */
7230_ACEOF
7231cat confdefs.h >>conftest.$ac_ext
7232cat >>conftest.$ac_ext <<_ACEOF
7233/* end confdefs.h. */ 6182/* end confdefs.h. */
7234#include <stdlib.h> 6183#include <stdlib.h>
7235#include <stdarg.h> 6184#include <stdarg.h>
@@ -7244,48 +6193,23 @@ main ()
7244 return 0; 6193 return 0;
7245} 6194}
7246_ACEOF 6195_ACEOF
7247rm -f conftest.$ac_objext 6196if ac_fn_c_try_compile "$LINENO"; then :
7248if { (ac_try="$ac_compile"
7249case "(($ac_try" in
7250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7251 *) ac_try_echo=$ac_try;;
7252esac
7253eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7254$as_echo "$ac_try_echo") >&5
7255 (eval "$ac_compile") 2>conftest.er1
7256 ac_status=$?
7257 grep -v '^ *+' conftest.er1 >conftest.err
7258 rm -f conftest.er1
7259 cat conftest.err >&5
7260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } && {
7262 test -z "$ac_c_werror_flag" ||
7263 test ! -s conftest.err
7264 } && test -s conftest.$ac_objext; then
7265 ac_cv_header_stdc=yes 6197 ac_cv_header_stdc=yes
7266else 6198else
7267 $as_echo "$as_me: failed program was:" >&5 6199 ac_cv_header_stdc=no
7268sed 's/^/| /' conftest.$ac_ext >&5
7269
7270 ac_cv_header_stdc=no
7271fi 6200fi
7272
7273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7274 6202
7275if test $ac_cv_header_stdc = yes; then 6203if test $ac_cv_header_stdc = yes; then
7276 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6204 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7277 cat >conftest.$ac_ext <<_ACEOF 6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278/* confdefs.h. */
7279_ACEOF
7280cat confdefs.h >>conftest.$ac_ext
7281cat >>conftest.$ac_ext <<_ACEOF
7282/* end confdefs.h. */ 6206/* end confdefs.h. */
7283#include <string.h> 6207#include <string.h>
7284 6208
7285_ACEOF 6209_ACEOF
7286if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6210if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7287 $EGREP "memchr" >/dev/null 2>&1; then 6211 $EGREP "memchr" >/dev/null 2>&1; then :
7288 : 6212
7289else 6213else
7290 ac_cv_header_stdc=no 6214 ac_cv_header_stdc=no
7291fi 6215fi
@@ -7295,18 +6219,14 @@ fi
7295 6219
7296if test $ac_cv_header_stdc = yes; then 6220if test $ac_cv_header_stdc = yes; then
7297 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6221 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7298 cat >conftest.$ac_ext <<_ACEOF 6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299/* confdefs.h. */
7300_ACEOF
7301cat confdefs.h >>conftest.$ac_ext
7302cat >>conftest.$ac_ext <<_ACEOF
7303/* end confdefs.h. */ 6223/* end confdefs.h. */
7304#include <stdlib.h> 6224#include <stdlib.h>
7305 6225
7306_ACEOF 6226_ACEOF
7307if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6227if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7308 $EGREP "free" >/dev/null 2>&1; then 6228 $EGREP "free" >/dev/null 2>&1; then :
7309 : 6229
7310else 6230else
7311 ac_cv_header_stdc=no 6231 ac_cv_header_stdc=no
7312fi 6232fi
@@ -7316,14 +6236,10 @@ fi
7316 6236
7317if test $ac_cv_header_stdc = yes; then 6237if test $ac_cv_header_stdc = yes; then
7318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6238 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7319 if test "$cross_compiling" = yes; then 6239 if test "$cross_compiling" = yes; then :
7320 : 6240 :
7321else 6241else
7322 cat >conftest.$ac_ext <<_ACEOF 6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7323/* confdefs.h. */
7324_ACEOF
7325cat confdefs.h >>conftest.$ac_ext
7326cat >>conftest.$ac_ext <<_ACEOF
7327/* end confdefs.h. */ 6243/* end confdefs.h. */
7328#include <ctype.h> 6244#include <ctype.h>
7329#include <stdlib.h> 6245#include <stdlib.h>
@@ -7350,64 +6266,31 @@ main ()
7350 return 0; 6266 return 0;
7351} 6267}
7352_ACEOF 6268_ACEOF
7353rm -f conftest$ac_exeext 6269if ac_fn_c_try_run "$LINENO"; then :
7354if { (ac_try="$ac_link"
7355case "(($ac_try" in
7356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7357 *) ac_try_echo=$ac_try;;
7358esac
7359eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7360$as_echo "$ac_try_echo") >&5
7361 (eval "$ac_link") 2>&5
7362 ac_status=$?
7363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7365 { (case "(($ac_try" in
7366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7367 *) ac_try_echo=$ac_try;;
7368esac
7369eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7370$as_echo "$ac_try_echo") >&5
7371 (eval "$ac_try") 2>&5
7372 ac_status=$?
7373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; }; then
7375 :
7376else
7377 $as_echo "$as_me: program exited with status $ac_status" >&5
7378$as_echo "$as_me: failed program was:" >&5
7379sed 's/^/| /' conftest.$ac_ext >&5
7380 6270
7381( exit $ac_status ) 6271else
7382ac_cv_header_stdc=no 6272 ac_cv_header_stdc=no
7383fi 6273fi
7384rm -rf conftest.dSYM 6274rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7385rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6275 conftest.$ac_objext conftest.beam conftest.$ac_ext
7386fi 6276fi
7387 6277
7388
7389fi 6278fi
7390fi 6279fi
7391{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7392$as_echo "$ac_cv_header_stdc" >&6; } 6281$as_echo "$ac_cv_header_stdc" >&6; }
7393if test $ac_cv_header_stdc = yes; then 6282if test $ac_cv_header_stdc = yes; then
7394 6283
7395cat >>confdefs.h <<\_ACEOF 6284$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7396#define STDC_HEADERS 1
7397_ACEOF
7398 6285
7399fi 6286fi
7400 6287
7401{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7402$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6289$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7403if test "${ac_cv_header_time+set}" = set; then 6290if test "${ac_cv_header_time+set}" = set; then :
7404 $as_echo_n "(cached) " >&6 6291 $as_echo_n "(cached) " >&6
7405else 6292else
7406 cat >conftest.$ac_ext <<_ACEOF 6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407/* confdefs.h. */
7408_ACEOF
7409cat confdefs.h >>conftest.$ac_ext
7410cat >>conftest.$ac_ext <<_ACEOF
7411/* end confdefs.h. */ 6294/* end confdefs.h. */
7412#include <sys/types.h> 6295#include <sys/types.h>
7413#include <sys/time.h> 6296#include <sys/time.h>
@@ -7422,202 +6305,57 @@ return 0;
7422 return 0; 6305 return 0;
7423} 6306}
7424_ACEOF 6307_ACEOF
7425rm -f conftest.$ac_objext 6308if ac_fn_c_try_compile "$LINENO"; then :
7426if { (ac_try="$ac_compile"
7427case "(($ac_try" in
7428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7429 *) ac_try_echo=$ac_try;;
7430esac
7431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7432$as_echo "$ac_try_echo") >&5
7433 (eval "$ac_compile") 2>conftest.er1
7434 ac_status=$?
7435 grep -v '^ *+' conftest.er1 >conftest.err
7436 rm -f conftest.er1
7437 cat conftest.err >&5
7438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } && {
7440 test -z "$ac_c_werror_flag" ||
7441 test ! -s conftest.err
7442 } && test -s conftest.$ac_objext; then
7443 ac_cv_header_time=yes 6309 ac_cv_header_time=yes
7444else 6310else
7445 $as_echo "$as_me: failed program was:" >&5 6311 ac_cv_header_time=no
7446sed 's/^/| /' conftest.$ac_ext >&5
7447
7448 ac_cv_header_time=no
7449fi 6312fi
7450
7451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7452fi 6314fi
7453{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7454$as_echo "$ac_cv_header_time" >&6; } 6316$as_echo "$ac_cv_header_time" >&6; }
7455if test $ac_cv_header_time = yes; then 6317if test $ac_cv_header_time = yes; then
7456 6318
7457cat >>confdefs.h <<\_ACEOF 6319$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7458#define TIME_WITH_SYS_TIME 1
7459_ACEOF
7460 6320
7461fi 6321fi
7462 6322
7463{ $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 6323ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
7464$as_echo_n "checking whether sys_siglist is declared... " >&6; } 6324if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then :
7465if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 6325 ac_have_decl=1
7466 $as_echo_n "(cached) " >&6
7467else 6326else
7468 cat >conftest.$ac_ext <<_ACEOF 6327 ac_have_decl=0
7469/* confdefs.h. */
7470_ACEOF
7471cat confdefs.h >>conftest.$ac_ext
7472cat >>conftest.$ac_ext <<_ACEOF
7473/* end confdefs.h. */
7474$ac_includes_default
7475int
7476main ()
7477{
7478#ifndef sys_siglist
7479 (void) sys_siglist;
7480#endif
7481
7482 ;
7483 return 0;
7484}
7485_ACEOF
7486rm -f conftest.$ac_objext
7487if { (ac_try="$ac_compile"
7488case "(($ac_try" in
7489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7490 *) ac_try_echo=$ac_try;;
7491esac
7492eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7493$as_echo "$ac_try_echo") >&5
7494 (eval "$ac_compile") 2>conftest.er1
7495 ac_status=$?
7496 grep -v '^ *+' conftest.er1 >conftest.err
7497 rm -f conftest.er1
7498 cat conftest.err >&5
7499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); } && {
7501 test -z "$ac_c_werror_flag" ||
7502 test ! -s conftest.err
7503 } && test -s conftest.$ac_objext; then
7504 ac_cv_have_decl_sys_siglist=yes
7505else
7506 $as_echo "$as_me: failed program was:" >&5
7507sed 's/^/| /' conftest.$ac_ext >&5
7508
7509 ac_cv_have_decl_sys_siglist=no
7510fi 6328fi
7511 6329
7512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7513fi
7514{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7515$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
7516if test $ac_cv_have_decl_sys_siglist = yes; then
7517
7518cat >>confdefs.h <<_ACEOF 6330cat >>confdefs.h <<_ACEOF
7519#define HAVE_DECL_SYS_SIGLIST 1 6331#define HAVE_DECL_SYS_SIGLIST $ac_have_decl
7520_ACEOF 6332_ACEOF
7521 6333
7522
7523else
7524 cat >>confdefs.h <<_ACEOF
7525#define HAVE_DECL_SYS_SIGLIST 0
7526_ACEOF
7527
7528
7529fi
7530
7531
7532if test $ac_cv_have_decl_sys_siglist != yes; then 6334if test $ac_cv_have_decl_sys_siglist != yes; then
7533 # For Tru64, at least: 6335 # For Tru64, at least:
7534 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 6336 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
7535$as_echo_n "checking whether __sys_siglist is declared... " >&6; } 6337if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then :
7536if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 6338 ac_have_decl=1
7537 $as_echo_n "(cached) " >&6
7538else
7539 cat >conftest.$ac_ext <<_ACEOF
7540/* confdefs.h. */
7541_ACEOF
7542cat confdefs.h >>conftest.$ac_ext
7543cat >>conftest.$ac_ext <<_ACEOF
7544/* end confdefs.h. */
7545$ac_includes_default
7546int
7547main ()
7548{
7549#ifndef __sys_siglist
7550 (void) __sys_siglist;
7551#endif
7552
7553 ;
7554 return 0;
7555}
7556_ACEOF
7557rm -f conftest.$ac_objext
7558if { (ac_try="$ac_compile"
7559case "(($ac_try" in
7560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7561 *) ac_try_echo=$ac_try;;
7562esac
7563eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7564$as_echo "$ac_try_echo") >&5
7565 (eval "$ac_compile") 2>conftest.er1
7566 ac_status=$?
7567 grep -v '^ *+' conftest.er1 >conftest.err
7568 rm -f conftest.er1
7569 cat conftest.err >&5
7570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } && {
7572 test -z "$ac_c_werror_flag" ||
7573 test ! -s conftest.err
7574 } && test -s conftest.$ac_objext; then
7575 ac_cv_have_decl___sys_siglist=yes
7576else 6339else
7577 $as_echo "$as_me: failed program was:" >&5 6340 ac_have_decl=0
7578sed 's/^/| /' conftest.$ac_ext >&5
7579
7580 ac_cv_have_decl___sys_siglist=no
7581fi 6341fi
7582 6342
7583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7584fi
7585{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7586$as_echo "$ac_cv_have_decl___sys_siglist" >&6; }
7587if test $ac_cv_have_decl___sys_siglist = yes; then
7588
7589cat >>confdefs.h <<_ACEOF 6343cat >>confdefs.h <<_ACEOF
7590#define HAVE_DECL___SYS_SIGLIST 1 6344#define HAVE_DECL___SYS_SIGLIST $ac_have_decl
7591_ACEOF 6345_ACEOF
7592 6346
7593
7594else
7595 cat >>confdefs.h <<_ACEOF
7596#define HAVE_DECL___SYS_SIGLIST 0
7597_ACEOF
7598
7599
7600fi
7601
7602
7603 if test $ac_cv_have_decl___sys_siglist = yes; then 6347 if test $ac_cv_have_decl___sys_siglist = yes; then
7604 6348
7605cat >>confdefs.h <<\_ACEOF 6349$as_echo "#define sys_siglist __sys_siglist" >>confdefs.h
7606#define sys_siglist __sys_siglist
7607_ACEOF
7608 6350
7609 fi 6351 fi
7610fi 6352fi
7611{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 6353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7612$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6354$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7613if test "${ac_cv_header_sys_wait_h+set}" = set; then 6355if test "${ac_cv_header_sys_wait_h+set}" = set; then :
7614 $as_echo_n "(cached) " >&6 6356 $as_echo_n "(cached) " >&6
7615else 6357else
7616 cat >conftest.$ac_ext <<_ACEOF 6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617/* confdefs.h. */
7618_ACEOF
7619cat confdefs.h >>conftest.$ac_ext
7620cat >>conftest.$ac_ext <<_ACEOF
7621/* end confdefs.h. */ 6359/* end confdefs.h. */
7622#include <sys/types.h> 6360#include <sys/types.h>
7623#include <sys/wait.h> 6361#include <sys/wait.h>
@@ -7638,55 +6376,28 @@ main ()
7638 return 0; 6376 return 0;
7639} 6377}
7640_ACEOF 6378_ACEOF
7641rm -f conftest.$ac_objext 6379if ac_fn_c_try_compile "$LINENO"; then :
7642if { (ac_try="$ac_compile"
7643case "(($ac_try" in
7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7645 *) ac_try_echo=$ac_try;;
7646esac
7647eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7648$as_echo "$ac_try_echo") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7650 ac_status=$?
7651 grep -v '^ *+' conftest.er1 >conftest.err
7652 rm -f conftest.er1
7653 cat conftest.err >&5
7654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.$ac_objext; then
7659 ac_cv_header_sys_wait_h=yes 6380 ac_cv_header_sys_wait_h=yes
7660else 6381else
7661 $as_echo "$as_me: failed program was:" >&5 6382 ac_cv_header_sys_wait_h=no
7662sed 's/^/| /' conftest.$ac_ext >&5
7663
7664 ac_cv_header_sys_wait_h=no
7665fi 6383fi
7666
7667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7668fi 6385fi
7669{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 6386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7670$as_echo "$ac_cv_header_sys_wait_h" >&6; } 6387$as_echo "$ac_cv_header_sys_wait_h" >&6; }
7671if test $ac_cv_header_sys_wait_h = yes; then 6388if test $ac_cv_header_sys_wait_h = yes; then
7672 6389
7673cat >>confdefs.h <<\_ACEOF 6390$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7674#define HAVE_SYS_WAIT_H 1
7675_ACEOF
7676 6391
7677fi 6392fi
7678 6393
7679 6394
7680{ $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
7681$as_echo_n "checking for struct utimbuf... " >&6; } 6396$as_echo_n "checking for struct utimbuf... " >&6; }
7682if test "${emacs_cv_struct_utimbuf+set}" = set; then 6397if test "${emacs_cv_struct_utimbuf+set}" = set; then :
7683 $as_echo_n "(cached) " >&6 6398 $as_echo_n "(cached) " >&6
7684else 6399else
7685 cat >conftest.$ac_ext <<_ACEOF 6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686/* confdefs.h. */
7687_ACEOF
7688cat confdefs.h >>conftest.$ac_ext
7689cat >>conftest.$ac_ext <<_ACEOF
7690/* end confdefs.h. */ 6401/* end confdefs.h. */
7691#ifdef TIME_WITH_SYS_TIME 6402#ifdef TIME_WITH_SYS_TIME
7692#include <sys/time.h> 6403#include <sys/time.h>
@@ -7709,54 +6420,27 @@ static struct utimbuf x; x.actime = x.modtime;
7709 return 0; 6420 return 0;
7710} 6421}
7711_ACEOF 6422_ACEOF
7712rm -f conftest.$ac_objext 6423if ac_fn_c_try_compile "$LINENO"; then :
7713if { (ac_try="$ac_compile"
7714case "(($ac_try" in
7715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7716 *) ac_try_echo=$ac_try;;
7717esac
7718eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7719$as_echo "$ac_try_echo") >&5
7720 (eval "$ac_compile") 2>conftest.er1
7721 ac_status=$?
7722 grep -v '^ *+' conftest.er1 >conftest.err
7723 rm -f conftest.er1
7724 cat conftest.err >&5
7725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); } && {
7727 test -z "$ac_c_werror_flag" ||
7728 test ! -s conftest.err
7729 } && test -s conftest.$ac_objext; then
7730 emacs_cv_struct_utimbuf=yes 6424 emacs_cv_struct_utimbuf=yes
7731else 6425else
7732 $as_echo "$as_me: failed program was:" >&5 6426 emacs_cv_struct_utimbuf=no
7733sed 's/^/| /' conftest.$ac_ext >&5
7734
7735 emacs_cv_struct_utimbuf=no
7736fi 6427fi
7737
7738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7739fi 6429fi
7740{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 6430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5
7741$as_echo "$emacs_cv_struct_utimbuf" >&6; } 6431$as_echo "$emacs_cv_struct_utimbuf" >&6; }
7742if test $emacs_cv_struct_utimbuf = yes; then 6432if test $emacs_cv_struct_utimbuf = yes; then
7743 6433
7744cat >>confdefs.h <<\_ACEOF 6434$as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h
7745#define HAVE_STRUCT_UTIMBUF 1
7746_ACEOF
7747 6435
7748fi 6436fi
7749 6437
7750{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7751$as_echo_n "checking return type of signal handlers... " >&6; } 6439$as_echo_n "checking return type of signal handlers... " >&6; }
7752if test "${ac_cv_type_signal+set}" = set; then 6440if test "${ac_cv_type_signal+set}" = set; then :
7753 $as_echo_n "(cached) " >&6 6441 $as_echo_n "(cached) " >&6
7754else 6442else
7755 cat >conftest.$ac_ext <<_ACEOF 6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756/* confdefs.h. */
7757_ACEOF
7758cat confdefs.h >>conftest.$ac_ext
7759cat >>conftest.$ac_ext <<_ACEOF
7760/* end confdefs.h. */ 6444/* end confdefs.h. */
7761#include <sys/types.h> 6445#include <sys/types.h>
7762#include <signal.h> 6446#include <signal.h>
@@ -7769,35 +6453,14 @@ return *(signal (0, 0)) (0) == 1;
7769 return 0; 6453 return 0;
7770} 6454}
7771_ACEOF 6455_ACEOF
7772rm -f conftest.$ac_objext 6456if ac_fn_c_try_compile "$LINENO"; then :
7773if { (ac_try="$ac_compile"
7774case "(($ac_try" in
7775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7776 *) ac_try_echo=$ac_try;;
7777esac
7778eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7779$as_echo "$ac_try_echo") >&5
7780 (eval "$ac_compile") 2>conftest.er1
7781 ac_status=$?
7782 grep -v '^ *+' conftest.er1 >conftest.err
7783 rm -f conftest.er1
7784 cat conftest.err >&5
7785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } && {
7787 test -z "$ac_c_werror_flag" ||
7788 test ! -s conftest.err
7789 } && test -s conftest.$ac_objext; then
7790 ac_cv_type_signal=int 6457 ac_cv_type_signal=int
7791else 6458else
7792 $as_echo "$as_me: failed program was:" >&5 6459 ac_cv_type_signal=void
7793sed 's/^/| /' conftest.$ac_ext >&5
7794
7795 ac_cv_type_signal=void
7796fi 6460fi
7797
7798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7799fi 6462fi
7800{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7801$as_echo "$ac_cv_type_signal" >&6; } 6464$as_echo "$ac_cv_type_signal" >&6; }
7802 6465
7803cat >>confdefs.h <<_ACEOF 6466cat >>confdefs.h <<_ACEOF
@@ -7806,16 +6469,12 @@ _ACEOF
7806 6469
7807 6470
7808 6471
7809{ $as_echo "$as_me:$LINENO: checking for speed_t" >&5 6472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
7810$as_echo_n "checking for speed_t... " >&6; } 6473$as_echo_n "checking for speed_t... " >&6; }
7811if test "${emacs_cv_speed_t+set}" = set; then 6474if test "${emacs_cv_speed_t+set}" = set; then :
7812 $as_echo_n "(cached) " >&6 6475 $as_echo_n "(cached) " >&6
7813else 6476else
7814 cat >conftest.$ac_ext <<_ACEOF 6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815/* confdefs.h. */
7816_ACEOF
7817cat confdefs.h >>conftest.$ac_ext
7818cat >>conftest.$ac_ext <<_ACEOF
7819/* end confdefs.h. */ 6478/* end confdefs.h. */
7820#include <termios.h> 6479#include <termios.h>
7821int 6480int
@@ -7826,54 +6485,27 @@ speed_t x = 1;
7826 return 0; 6485 return 0;
7827} 6486}
7828_ACEOF 6487_ACEOF
7829rm -f conftest.$ac_objext 6488if ac_fn_c_try_compile "$LINENO"; then :
7830if { (ac_try="$ac_compile"
7831case "(($ac_try" in
7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7833 *) ac_try_echo=$ac_try;;
7834esac
7835eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7836$as_echo "$ac_try_echo") >&5
7837 (eval "$ac_compile") 2>conftest.er1
7838 ac_status=$?
7839 grep -v '^ *+' conftest.er1 >conftest.err
7840 rm -f conftest.er1
7841 cat conftest.err >&5
7842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); } && {
7844 test -z "$ac_c_werror_flag" ||
7845 test ! -s conftest.err
7846 } && test -s conftest.$ac_objext; then
7847 emacs_cv_speed_t=yes 6489 emacs_cv_speed_t=yes
7848else 6490else
7849 $as_echo "$as_me: failed program was:" >&5 6491 emacs_cv_speed_t=no
7850sed 's/^/| /' conftest.$ac_ext >&5
7851
7852 emacs_cv_speed_t=no
7853fi 6492fi
7854
7855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7856fi 6494fi
7857{ $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 6495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5
7858$as_echo "$emacs_cv_speed_t" >&6; } 6496$as_echo "$emacs_cv_speed_t" >&6; }
7859if test $emacs_cv_speed_t = yes; then 6497if test $emacs_cv_speed_t = yes; then
7860 6498
7861cat >>confdefs.h <<\_ACEOF 6499$as_echo "#define HAVE_SPEED_T 1" >>confdefs.h
7862#define HAVE_SPEED_T 1
7863_ACEOF
7864 6500
7865fi 6501fi
7866 6502
7867{ $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 6503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
7868$as_echo_n "checking for struct timeval... " >&6; } 6504$as_echo_n "checking for struct timeval... " >&6; }
7869if test "${emacs_cv_struct_timeval+set}" = set; then 6505if test "${emacs_cv_struct_timeval+set}" = set; then :
7870 $as_echo_n "(cached) " >&6 6506 $as_echo_n "(cached) " >&6
7871else 6507else
7872 cat >conftest.$ac_ext <<_ACEOF 6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873/* confdefs.h. */
7874_ACEOF
7875cat confdefs.h >>conftest.$ac_ext
7876cat >>conftest.$ac_ext <<_ACEOF
7877/* end confdefs.h. */ 6509/* end confdefs.h. */
7878#ifdef TIME_WITH_SYS_TIME 6510#ifdef TIME_WITH_SYS_TIME
7879#include <sys/time.h> 6511#include <sys/time.h>
@@ -7893,55 +6525,28 @@ static struct timeval x; x.tv_sec = x.tv_usec;
7893 return 0; 6525 return 0;
7894} 6526}
7895_ACEOF 6527_ACEOF
7896rm -f conftest.$ac_objext 6528if ac_fn_c_try_compile "$LINENO"; then :
7897if { (ac_try="$ac_compile"
7898case "(($ac_try" in
7899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7900 *) ac_try_echo=$ac_try;;
7901esac
7902eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7903$as_echo "$ac_try_echo") >&5
7904 (eval "$ac_compile") 2>conftest.er1
7905 ac_status=$?
7906 grep -v '^ *+' conftest.er1 >conftest.err
7907 rm -f conftest.er1
7908 cat conftest.err >&5
7909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } && {
7911 test -z "$ac_c_werror_flag" ||
7912 test ! -s conftest.err
7913 } && test -s conftest.$ac_objext; then
7914 emacs_cv_struct_timeval=yes 6529 emacs_cv_struct_timeval=yes
7915else 6530else
7916 $as_echo "$as_me: failed program was:" >&5 6531 emacs_cv_struct_timeval=no
7917sed 's/^/| /' conftest.$ac_ext >&5
7918
7919 emacs_cv_struct_timeval=no
7920fi 6532fi
7921
7922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7923fi 6534fi
7924{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 6535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5
7925$as_echo "$emacs_cv_struct_timeval" >&6; } 6536$as_echo "$emacs_cv_struct_timeval" >&6; }
7926HAVE_TIMEVAL=$emacs_cv_struct_timeval 6537HAVE_TIMEVAL=$emacs_cv_struct_timeval
7927if test $emacs_cv_struct_timeval = yes; then 6538if test $emacs_cv_struct_timeval = yes; then
7928 6539
7929cat >>confdefs.h <<\_ACEOF 6540$as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h
7930#define HAVE_TIMEVAL 1
7931_ACEOF
7932 6541
7933fi 6542fi
7934 6543
7935{ $as_echo "$as_me:$LINENO: checking for struct exception" >&5 6544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
7936$as_echo_n "checking for struct exception... " >&6; } 6545$as_echo_n "checking for struct exception... " >&6; }
7937if test "${emacs_cv_struct_exception+set}" = set; then 6546if test "${emacs_cv_struct_exception+set}" = set; then :
7938 $as_echo_n "(cached) " >&6 6547 $as_echo_n "(cached) " >&6
7939else 6548else
7940 cat >conftest.$ac_ext <<_ACEOF 6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7941/* confdefs.h. */
7942_ACEOF
7943cat confdefs.h >>conftest.$ac_ext
7944cat >>conftest.$ac_ext <<_ACEOF
7945/* end confdefs.h. */ 6550/* end confdefs.h. */
7946#include <math.h> 6551#include <math.h>
7947int 6552int
@@ -7952,248 +6557,44 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
7952 return 0; 6557 return 0;
7953} 6558}
7954_ACEOF 6559_ACEOF
7955rm -f conftest.$ac_objext 6560if ac_fn_c_try_compile "$LINENO"; then :
7956if { (ac_try="$ac_compile"
7957case "(($ac_try" in
7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7959 *) ac_try_echo=$ac_try;;
7960esac
7961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7962$as_echo "$ac_try_echo") >&5
7963 (eval "$ac_compile") 2>conftest.er1
7964 ac_status=$?
7965 grep -v '^ *+' conftest.er1 >conftest.err
7966 rm -f conftest.er1
7967 cat conftest.err >&5
7968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } && {
7970 test -z "$ac_c_werror_flag" ||
7971 test ! -s conftest.err
7972 } && test -s conftest.$ac_objext; then
7973 emacs_cv_struct_exception=yes 6561 emacs_cv_struct_exception=yes
7974else 6562else
7975 $as_echo "$as_me: failed program was:" >&5 6563 emacs_cv_struct_exception=no
7976sed 's/^/| /' conftest.$ac_ext >&5
7977
7978 emacs_cv_struct_exception=no
7979fi 6564fi
7980
7981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7982fi 6566fi
7983{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 6567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5
7984$as_echo "$emacs_cv_struct_exception" >&6; } 6568$as_echo "$emacs_cv_struct_exception" >&6; }
7985HAVE_EXCEPTION=$emacs_cv_struct_exception 6569HAVE_EXCEPTION=$emacs_cv_struct_exception
7986if test $emacs_cv_struct_exception != yes; then 6570if test $emacs_cv_struct_exception != yes; then
7987 6571
7988cat >>confdefs.h <<\_ACEOF 6572$as_echo "#define NO_MATHERR 1" >>confdefs.h
7989#define NO_MATHERR 1
7990_ACEOF
7991 6573
7992fi 6574fi
7993 6575
7994
7995for ac_header in sys/socket.h 6576for ac_header in sys/socket.h
7996do 6577do :
7997as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6578 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
7998if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6579if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
7999 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8000$as_echo_n "checking for $ac_header... " >&6; }
8001if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8002 $as_echo_n "(cached) " >&6
8003fi
8004ac_res=`eval 'as_val=${'$as_ac_Header'}
8005 $as_echo "$as_val"'`
8006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8007$as_echo "$ac_res" >&6; }
8008else
8009 # Is the header compilable?
8010{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8011$as_echo_n "checking $ac_header usability... " >&6; }
8012cat >conftest.$ac_ext <<_ACEOF
8013/* confdefs.h. */
8014_ACEOF
8015cat confdefs.h >>conftest.$ac_ext
8016cat >>conftest.$ac_ext <<_ACEOF
8017/* end confdefs.h. */
8018$ac_includes_default
8019#include <$ac_header>
8020_ACEOF
8021rm -f conftest.$ac_objext
8022if { (ac_try="$ac_compile"
8023case "(($ac_try" in
8024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8025 *) ac_try_echo=$ac_try;;
8026esac
8027eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8028$as_echo "$ac_try_echo") >&5
8029 (eval "$ac_compile") 2>conftest.er1
8030 ac_status=$?
8031 grep -v '^ *+' conftest.er1 >conftest.err
8032 rm -f conftest.er1
8033 cat conftest.err >&5
8034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); } && {
8036 test -z "$ac_c_werror_flag" ||
8037 test ! -s conftest.err
8038 } && test -s conftest.$ac_objext; then
8039 ac_header_compiler=yes
8040else
8041 $as_echo "$as_me: failed program was:" >&5
8042sed 's/^/| /' conftest.$ac_ext >&5
8043
8044 ac_header_compiler=no
8045fi
8046
8047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8048{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8049$as_echo "$ac_header_compiler" >&6; }
8050
8051# Is the header present?
8052{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8053$as_echo_n "checking $ac_header presence... " >&6; }
8054cat >conftest.$ac_ext <<_ACEOF
8055/* confdefs.h. */
8056_ACEOF
8057cat confdefs.h >>conftest.$ac_ext
8058cat >>conftest.$ac_ext <<_ACEOF
8059/* end confdefs.h. */
8060#include <$ac_header>
8061_ACEOF
8062if { (ac_try="$ac_cpp conftest.$ac_ext"
8063case "(($ac_try" in
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8066esac
8067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8068$as_echo "$ac_try_echo") >&5
8069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8070 ac_status=$?
8071 grep -v '^ *+' conftest.er1 >conftest.err
8072 rm -f conftest.er1
8073 cat conftest.err >&5
8074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } >/dev/null && {
8076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8077 test ! -s conftest.err
8078 }; then
8079 ac_header_preproc=yes
8080else
8081 $as_echo "$as_me: failed program was:" >&5
8082sed 's/^/| /' conftest.$ac_ext >&5
8083
8084 ac_header_preproc=no
8085fi
8086
8087rm -f conftest.err conftest.$ac_ext
8088{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8089$as_echo "$ac_header_preproc" >&6; }
8090
8091# So? What about this header?
8092case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8093 yes:no: )
8094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8095$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8097$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8098 ac_header_preproc=yes
8099 ;;
8100 no:yes:* )
8101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8102$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8104$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8106$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8108$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8110$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8112$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8113
8114 ;;
8115esac
8116{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8117$as_echo_n "checking for $ac_header... " >&6; }
8118if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8119 $as_echo_n "(cached) " >&6
8120else
8121 eval "$as_ac_Header=\$ac_header_preproc"
8122fi
8123ac_res=`eval 'as_val=${'$as_ac_Header'}
8124 $as_echo "$as_val"'`
8125 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8126$as_echo "$ac_res" >&6; }
8127
8128fi
8129if test `eval 'as_val=${'$as_ac_Header'}
8130 $as_echo "$as_val"'` = yes; then
8131 cat >>confdefs.h <<_ACEOF 6580 cat >>confdefs.h <<_ACEOF
8132#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6581#define HAVE_SYS_SOCKET_H 1
8133_ACEOF 6582_ACEOF
8134 6583
8135fi 6584fi
8136 6585
8137done 6586done
8138 6587
8139
8140for ac_header in net/if.h 6588for ac_header in net/if.h
8141do 6589do :
8142as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6590 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default
8143{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8144$as_echo_n "checking for $ac_header... " >&6; }
8145if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8146 $as_echo_n "(cached) " >&6
8147else
8148 cat >conftest.$ac_ext <<_ACEOF
8149/* confdefs.h. */
8150_ACEOF
8151cat confdefs.h >>conftest.$ac_ext
8152cat >>conftest.$ac_ext <<_ACEOF
8153/* end confdefs.h. */
8154$ac_includes_default
8155#if HAVE_SYS_SOCKET_H 6591#if HAVE_SYS_SOCKET_H
8156#include <sys/socket.h> 6592#include <sys/socket.h>
8157#endif 6593#endif
8158 6594"
8159#include <$ac_header> 6595if test "x$ac_cv_header_net_if_h" = x""yes; then :
8160_ACEOF
8161rm -f conftest.$ac_objext
8162if { (ac_try="$ac_compile"
8163case "(($ac_try" in
8164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8165 *) ac_try_echo=$ac_try;;
8166esac
8167eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8168$as_echo "$ac_try_echo") >&5
8169 (eval "$ac_compile") 2>conftest.er1
8170 ac_status=$?
8171 grep -v '^ *+' conftest.er1 >conftest.err
8172 rm -f conftest.er1
8173 cat conftest.err >&5
8174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } && {
8176 test -z "$ac_c_werror_flag" ||
8177 test ! -s conftest.err
8178 } && test -s conftest.$ac_objext; then
8179 eval "$as_ac_Header=yes"
8180else
8181 $as_echo "$as_me: failed program was:" >&5
8182sed 's/^/| /' conftest.$ac_ext >&5
8183
8184 eval "$as_ac_Header=no"
8185fi
8186
8187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8188fi
8189ac_res=`eval 'as_val=${'$as_ac_Header'}
8190 $as_echo "$as_val"'`
8191 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8192$as_echo "$ac_res" >&6; }
8193if test `eval 'as_val=${'$as_ac_Header'}
8194 $as_echo "$as_val"'` = yes; then
8195 cat >>confdefs.h <<_ACEOF 6596 cat >>confdefs.h <<_ACEOF
8196#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6597#define HAVE_NET_IF_H 1
8197_ACEOF 6598_ACEOF
8198 6599
8199fi 6600fi
@@ -8201,16 +6602,12 @@ fi
8201done 6602done
8202 6603
8203 6604
8204{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8205$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6606$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8206if test "${ac_cv_struct_tm+set}" = set; then 6607if test "${ac_cv_struct_tm+set}" = set; then :
8207 $as_echo_n "(cached) " >&6 6608 $as_echo_n "(cached) " >&6
8208else 6609else
8209 cat >conftest.$ac_ext <<_ACEOF 6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210/* confdefs.h. */
8211_ACEOF
8212cat confdefs.h >>conftest.$ac_ext
8213cat >>conftest.$ac_ext <<_ACEOF
8214/* end confdefs.h. */ 6611/* end confdefs.h. */
8215#include <sys/types.h> 6612#include <sys/types.h>
8216#include <time.h> 6613#include <time.h>
@@ -8225,146 +6622,26 @@ struct tm tm;
8225 return 0; 6622 return 0;
8226} 6623}
8227_ACEOF 6624_ACEOF
8228rm -f conftest.$ac_objext 6625if ac_fn_c_try_compile "$LINENO"; then :
8229if { (ac_try="$ac_compile"
8230case "(($ac_try" in
8231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8232 *) ac_try_echo=$ac_try;;
8233esac
8234eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8235$as_echo "$ac_try_echo") >&5
8236 (eval "$ac_compile") 2>conftest.er1
8237 ac_status=$?
8238 grep -v '^ *+' conftest.er1 >conftest.err
8239 rm -f conftest.er1
8240 cat conftest.err >&5
8241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } && {
8243 test -z "$ac_c_werror_flag" ||
8244 test ! -s conftest.err
8245 } && test -s conftest.$ac_objext; then
8246 ac_cv_struct_tm=time.h 6626 ac_cv_struct_tm=time.h
8247else 6627else
8248 $as_echo "$as_me: failed program was:" >&5 6628 ac_cv_struct_tm=sys/time.h
8249sed 's/^/| /' conftest.$ac_ext >&5
8250
8251 ac_cv_struct_tm=sys/time.h
8252fi 6629fi
8253
8254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8255fi 6631fi
8256{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8257$as_echo "$ac_cv_struct_tm" >&6; } 6633$as_echo "$ac_cv_struct_tm" >&6; }
8258if test $ac_cv_struct_tm = sys/time.h; then 6634if test $ac_cv_struct_tm = sys/time.h; then
8259 6635
8260cat >>confdefs.h <<\_ACEOF 6636$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8261#define TM_IN_SYS_TIME 1
8262_ACEOF
8263 6637
8264fi 6638fi
8265 6639
8266{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 6640ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
8267$as_echo_n "checking for struct tm.tm_zone... " >&6; }
8268if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8269 $as_echo_n "(cached) " >&6
8270else
8271 cat >conftest.$ac_ext <<_ACEOF
8272/* confdefs.h. */
8273_ACEOF
8274cat confdefs.h >>conftest.$ac_ext
8275cat >>conftest.$ac_ext <<_ACEOF
8276/* end confdefs.h. */
8277#include <sys/types.h>
8278#include <$ac_cv_struct_tm> 6641#include <$ac_cv_struct_tm>
8279 6642
8280 6643"
8281int 6644if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
8282main ()
8283{
8284static struct tm ac_aggr;
8285if (ac_aggr.tm_zone)
8286return 0;
8287 ;
8288 return 0;
8289}
8290_ACEOF
8291rm -f conftest.$ac_objext
8292if { (ac_try="$ac_compile"
8293case "(($ac_try" in
8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8295 *) ac_try_echo=$ac_try;;
8296esac
8297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8298$as_echo "$ac_try_echo") >&5
8299 (eval "$ac_compile") 2>conftest.er1
8300 ac_status=$?
8301 grep -v '^ *+' conftest.er1 >conftest.err
8302 rm -f conftest.er1
8303 cat conftest.err >&5
8304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } && {
8306 test -z "$ac_c_werror_flag" ||
8307 test ! -s conftest.err
8308 } && test -s conftest.$ac_objext; then
8309 ac_cv_member_struct_tm_tm_zone=yes
8310else
8311 $as_echo "$as_me: failed program was:" >&5
8312sed 's/^/| /' conftest.$ac_ext >&5
8313
8314 cat >conftest.$ac_ext <<_ACEOF
8315/* confdefs.h. */
8316_ACEOF
8317cat confdefs.h >>conftest.$ac_ext
8318cat >>conftest.$ac_ext <<_ACEOF
8319/* end confdefs.h. */
8320#include <sys/types.h>
8321#include <$ac_cv_struct_tm>
8322
8323
8324int
8325main ()
8326{
8327static struct tm ac_aggr;
8328if (sizeof ac_aggr.tm_zone)
8329return 0;
8330 ;
8331 return 0;
8332}
8333_ACEOF
8334rm -f conftest.$ac_objext
8335if { (ac_try="$ac_compile"
8336case "(($ac_try" in
8337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8338 *) ac_try_echo=$ac_try;;
8339esac
8340eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8341$as_echo "$ac_try_echo") >&5
8342 (eval "$ac_compile") 2>conftest.er1
8343 ac_status=$?
8344 grep -v '^ *+' conftest.er1 >conftest.err
8345 rm -f conftest.er1
8346 cat conftest.err >&5
8347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } && {
8349 test -z "$ac_c_werror_flag" ||
8350 test ! -s conftest.err
8351 } && test -s conftest.$ac_objext; then
8352 ac_cv_member_struct_tm_tm_zone=yes
8353else
8354 $as_echo "$as_me: failed program was:" >&5
8355sed 's/^/| /' conftest.$ac_ext >&5
8356
8357 ac_cv_member_struct_tm_tm_zone=no
8358fi
8359
8360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8361fi
8362
8363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8364fi
8365{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8366$as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
8367if test $ac_cv_member_struct_tm_tm_zone = yes; then
8368 6645
8369cat >>confdefs.h <<_ACEOF 6646cat >>confdefs.h <<_ACEOF
8370#define HAVE_STRUCT_TM_TM_ZONE 1 6647#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -8375,91 +6652,27 @@ fi
8375 6652
8376if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 6653if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8377 6654
8378cat >>confdefs.h <<\_ACEOF 6655$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8379#define HAVE_TM_ZONE 1
8380_ACEOF
8381 6656
8382else 6657else
8383 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 6658 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8384$as_echo_n "checking whether tzname is declared... " >&6; } 6659"
8385if test "${ac_cv_have_decl_tzname+set}" = set; then 6660if test "x$ac_cv_have_decl_tzname" = x""yes; then :
8386 $as_echo_n "(cached) " >&6 6661 ac_have_decl=1
8387else
8388 cat >conftest.$ac_ext <<_ACEOF
8389/* confdefs.h. */
8390_ACEOF
8391cat confdefs.h >>conftest.$ac_ext
8392cat >>conftest.$ac_ext <<_ACEOF
8393/* end confdefs.h. */
8394#include <time.h>
8395
8396int
8397main ()
8398{
8399#ifndef tzname
8400 (void) tzname;
8401#endif
8402
8403 ;
8404 return 0;
8405}
8406_ACEOF
8407rm -f conftest.$ac_objext
8408if { (ac_try="$ac_compile"
8409case "(($ac_try" in
8410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8411 *) ac_try_echo=$ac_try;;
8412esac
8413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8414$as_echo "$ac_try_echo") >&5
8415 (eval "$ac_compile") 2>conftest.er1
8416 ac_status=$?
8417 grep -v '^ *+' conftest.er1 >conftest.err
8418 rm -f conftest.er1
8419 cat conftest.err >&5
8420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } && {
8422 test -z "$ac_c_werror_flag" ||
8423 test ! -s conftest.err
8424 } && test -s conftest.$ac_objext; then
8425 ac_cv_have_decl_tzname=yes
8426else 6662else
8427 $as_echo "$as_me: failed program was:" >&5 6663 ac_have_decl=0
8428sed 's/^/| /' conftest.$ac_ext >&5
8429
8430 ac_cv_have_decl_tzname=no
8431fi
8432
8433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8434fi 6664fi
8435{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
8436$as_echo "$ac_cv_have_decl_tzname" >&6; }
8437if test $ac_cv_have_decl_tzname = yes; then
8438 6665
8439cat >>confdefs.h <<_ACEOF 6666cat >>confdefs.h <<_ACEOF
8440#define HAVE_DECL_TZNAME 1 6667#define HAVE_DECL_TZNAME $ac_have_decl
8441_ACEOF
8442
8443
8444else
8445 cat >>confdefs.h <<_ACEOF
8446#define HAVE_DECL_TZNAME 0
8447_ACEOF 6668_ACEOF
8448 6669
8449 6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8450fi
8451
8452
8453 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
8454$as_echo_n "checking for tzname... " >&6; } 6671$as_echo_n "checking for tzname... " >&6; }
8455if test "${ac_cv_var_tzname+set}" = set; then 6672if test "${ac_cv_var_tzname+set}" = set; then :
8456 $as_echo_n "(cached) " >&6 6673 $as_echo_n "(cached) " >&6
8457else 6674else
8458 cat >conftest.$ac_ext <<_ACEOF 6675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459/* confdefs.h. */
8460_ACEOF
8461cat confdefs.h >>conftest.$ac_ext
8462cat >>conftest.$ac_ext <<_ACEOF
8463/* end confdefs.h. */ 6676/* end confdefs.h. */
8464#include <time.h> 6677#include <time.h>
8465#if !HAVE_DECL_TZNAME 6678#if !HAVE_DECL_TZNAME
@@ -8474,265 +6687,40 @@ return tzname[0][0];
8474 return 0; 6687 return 0;
8475} 6688}
8476_ACEOF 6689_ACEOF
8477rm -f conftest.$ac_objext conftest$ac_exeext 6690if ac_fn_c_try_link "$LINENO"; then :
8478if { (ac_try="$ac_link"
8479case "(($ac_try" in
8480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8481 *) ac_try_echo=$ac_try;;
8482esac
8483eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8484$as_echo "$ac_try_echo") >&5
8485 (eval "$ac_link") 2>conftest.er1
8486 ac_status=$?
8487 grep -v '^ *+' conftest.er1 >conftest.err
8488 rm -f conftest.er1
8489 cat conftest.err >&5
8490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } && {
8492 test -z "$ac_c_werror_flag" ||
8493 test ! -s conftest.err
8494 } && test -s conftest$ac_exeext && {
8495 test "$cross_compiling" = yes ||
8496 $as_test_x conftest$ac_exeext
8497 }; then
8498 ac_cv_var_tzname=yes 6691 ac_cv_var_tzname=yes
8499else 6692else
8500 $as_echo "$as_me: failed program was:" >&5 6693 ac_cv_var_tzname=no
8501sed 's/^/| /' conftest.$ac_ext >&5
8502
8503 ac_cv_var_tzname=no
8504fi 6694fi
8505 6695rm -f core conftest.err conftest.$ac_objext \
8506rm -rf conftest.dSYM 6696 conftest$ac_exeext conftest.$ac_ext
8507rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8508 conftest$ac_exeext conftest.$ac_ext
8509fi 6697fi
8510{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 6698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
8511$as_echo "$ac_cv_var_tzname" >&6; } 6699$as_echo "$ac_cv_var_tzname" >&6; }
8512 if test $ac_cv_var_tzname = yes; then 6700 if test $ac_cv_var_tzname = yes; then
8513 6701
8514cat >>confdefs.h <<\_ACEOF 6702$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
8515#define HAVE_TZNAME 1
8516_ACEOF
8517 6703
8518 fi 6704 fi
8519fi 6705fi
8520 6706
8521{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 6707ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
8522$as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } 6708"
8523if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 6709if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then :
8524 $as_echo_n "(cached) " >&6
8525else
8526 cat >conftest.$ac_ext <<_ACEOF
8527/* confdefs.h. */
8528_ACEOF
8529cat confdefs.h >>conftest.$ac_ext
8530cat >>conftest.$ac_ext <<_ACEOF
8531/* end confdefs.h. */
8532#include <time.h>
8533
8534int
8535main ()
8536{
8537static struct tm ac_aggr;
8538if (ac_aggr.tm_gmtoff)
8539return 0;
8540 ;
8541 return 0;
8542}
8543_ACEOF
8544rm -f conftest.$ac_objext
8545if { (ac_try="$ac_compile"
8546case "(($ac_try" in
8547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8548 *) ac_try_echo=$ac_try;;
8549esac
8550eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8551$as_echo "$ac_try_echo") >&5
8552 (eval "$ac_compile") 2>conftest.er1
8553 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1
8556 cat conftest.err >&5
8557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } && {
8559 test -z "$ac_c_werror_flag" ||
8560 test ! -s conftest.err
8561 } && test -s conftest.$ac_objext; then
8562 ac_cv_member_struct_tm_tm_gmtoff=yes
8563else
8564 $as_echo "$as_me: failed program was:" >&5
8565sed 's/^/| /' conftest.$ac_ext >&5
8566
8567 cat >conftest.$ac_ext <<_ACEOF
8568/* confdefs.h. */
8569_ACEOF
8570cat confdefs.h >>conftest.$ac_ext
8571cat >>conftest.$ac_ext <<_ACEOF
8572/* end confdefs.h. */
8573#include <time.h>
8574
8575int
8576main ()
8577{
8578static struct tm ac_aggr;
8579if (sizeof ac_aggr.tm_gmtoff)
8580return 0;
8581 ;
8582 return 0;
8583}
8584_ACEOF
8585rm -f conftest.$ac_objext
8586if { (ac_try="$ac_compile"
8587case "(($ac_try" in
8588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8589 *) ac_try_echo=$ac_try;;
8590esac
8591eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8592$as_echo "$ac_try_echo") >&5
8593 (eval "$ac_compile") 2>conftest.er1
8594 ac_status=$?
8595 grep -v '^ *+' conftest.er1 >conftest.err
8596 rm -f conftest.er1
8597 cat conftest.err >&5
8598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } && {
8600 test -z "$ac_c_werror_flag" ||
8601 test ! -s conftest.err
8602 } && test -s conftest.$ac_objext; then
8603 ac_cv_member_struct_tm_tm_gmtoff=yes
8604else
8605 $as_echo "$as_me: failed program was:" >&5
8606sed 's/^/| /' conftest.$ac_ext >&5
8607
8608 ac_cv_member_struct_tm_tm_gmtoff=no
8609fi
8610
8611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8612fi
8613
8614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8615fi
8616{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8617$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8618if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8619 6710
8620cat >>confdefs.h <<\_ACEOF 6711$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
8621#define HAVE_TM_GMTOFF 1
8622_ACEOF
8623 6712
8624fi 6713fi
8625 6714
8626{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 6715ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default
8627$as_echo_n "checking for struct ifreq.ifr_flags... " >&6; }
8628if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8629 $as_echo_n "(cached) " >&6
8630else
8631 cat >conftest.$ac_ext <<_ACEOF
8632/* confdefs.h. */
8633_ACEOF
8634cat confdefs.h >>conftest.$ac_ext
8635cat >>conftest.$ac_ext <<_ACEOF
8636/* end confdefs.h. */
8637$ac_includes_default
8638#if HAVE_SYS_SOCKET_H 6716#if HAVE_SYS_SOCKET_H
8639#include <sys/socket.h> 6717#include <sys/socket.h>
8640#endif 6718#endif
8641#if HAVE_NET_IF_H 6719#if HAVE_NET_IF_H
8642#include <net/if.h> 6720#include <net/if.h>
8643#endif 6721#endif
8644 6722"
8645int 6723if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then :
8646main ()
8647{
8648static struct ifreq ac_aggr;
8649if (ac_aggr.ifr_flags)
8650return 0;
8651 ;
8652 return 0;
8653}
8654_ACEOF
8655rm -f conftest.$ac_objext
8656if { (ac_try="$ac_compile"
8657case "(($ac_try" in
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8659 *) ac_try_echo=$ac_try;;
8660esac
8661eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8662$as_echo "$ac_try_echo") >&5
8663 (eval "$ac_compile") 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest.$ac_objext; then
8673 ac_cv_member_struct_ifreq_ifr_flags=yes
8674else
8675 $as_echo "$as_me: failed program was:" >&5
8676sed 's/^/| /' conftest.$ac_ext >&5
8677
8678 cat >conftest.$ac_ext <<_ACEOF
8679/* confdefs.h. */
8680_ACEOF
8681cat confdefs.h >>conftest.$ac_ext
8682cat >>conftest.$ac_ext <<_ACEOF
8683/* end confdefs.h. */
8684$ac_includes_default
8685#if HAVE_SYS_SOCKET_H
8686#include <sys/socket.h>
8687#endif
8688#if HAVE_NET_IF_H
8689#include <net/if.h>
8690#endif
8691
8692int
8693main ()
8694{
8695static struct ifreq ac_aggr;
8696if (sizeof ac_aggr.ifr_flags)
8697return 0;
8698 ;
8699 return 0;
8700}
8701_ACEOF
8702rm -f conftest.$ac_objext
8703if { (ac_try="$ac_compile"
8704case "(($ac_try" in
8705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8706 *) ac_try_echo=$ac_try;;
8707esac
8708eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8709$as_echo "$ac_try_echo") >&5
8710 (eval "$ac_compile") 2>conftest.er1
8711 ac_status=$?
8712 grep -v '^ *+' conftest.er1 >conftest.err
8713 rm -f conftest.er1
8714 cat conftest.err >&5
8715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } && {
8717 test -z "$ac_c_werror_flag" ||
8718 test ! -s conftest.err
8719 } && test -s conftest.$ac_objext; then
8720 ac_cv_member_struct_ifreq_ifr_flags=yes
8721else
8722 $as_echo "$as_me: failed program was:" >&5
8723sed 's/^/| /' conftest.$ac_ext >&5
8724
8725 ac_cv_member_struct_ifreq_ifr_flags=no
8726fi
8727
8728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8729fi
8730
8731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8732fi
8733{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8734$as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8735if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
8736 6724
8737cat >>confdefs.h <<_ACEOF 6725cat >>confdefs.h <<_ACEOF
8738#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 6726#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -8740,116 +6728,15 @@ _ACEOF
8740 6728
8741 6729
8742fi 6730fi
8743{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 6731ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default
8744$as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; }
8745if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8746 $as_echo_n "(cached) " >&6
8747else
8748 cat >conftest.$ac_ext <<_ACEOF
8749/* confdefs.h. */
8750_ACEOF
8751cat confdefs.h >>conftest.$ac_ext
8752cat >>conftest.$ac_ext <<_ACEOF
8753/* end confdefs.h. */
8754$ac_includes_default
8755#if HAVE_SYS_SOCKET_H
8756#include <sys/socket.h>
8757#endif
8758#if HAVE_NET_IF_H
8759#include <net/if.h>
8760#endif
8761
8762int
8763main ()
8764{
8765static struct ifreq ac_aggr;
8766if (ac_aggr.ifr_hwaddr)
8767return 0;
8768 ;
8769 return 0;
8770}
8771_ACEOF
8772rm -f conftest.$ac_objext
8773if { (ac_try="$ac_compile"
8774case "(($ac_try" in
8775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8776 *) ac_try_echo=$ac_try;;
8777esac
8778eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8779$as_echo "$ac_try_echo") >&5
8780 (eval "$ac_compile") 2>conftest.er1
8781 ac_status=$?
8782 grep -v '^ *+' conftest.er1 >conftest.err
8783 rm -f conftest.er1
8784 cat conftest.err >&5
8785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } && {
8787 test -z "$ac_c_werror_flag" ||
8788 test ! -s conftest.err
8789 } && test -s conftest.$ac_objext; then
8790 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8791else
8792 $as_echo "$as_me: failed program was:" >&5
8793sed 's/^/| /' conftest.$ac_ext >&5
8794
8795 cat >conftest.$ac_ext <<_ACEOF
8796/* confdefs.h. */
8797_ACEOF
8798cat confdefs.h >>conftest.$ac_ext
8799cat >>conftest.$ac_ext <<_ACEOF
8800/* end confdefs.h. */
8801$ac_includes_default
8802#if HAVE_SYS_SOCKET_H 6732#if HAVE_SYS_SOCKET_H
8803#include <sys/socket.h> 6733#include <sys/socket.h>
8804#endif 6734#endif
8805#if HAVE_NET_IF_H 6735#if HAVE_NET_IF_H
8806#include <net/if.h> 6736#include <net/if.h>
8807#endif 6737#endif
8808 6738"
8809int 6739if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then :
8810main ()
8811{
8812static struct ifreq ac_aggr;
8813if (sizeof ac_aggr.ifr_hwaddr)
8814return 0;
8815 ;
8816 return 0;
8817}
8818_ACEOF
8819rm -f conftest.$ac_objext
8820if { (ac_try="$ac_compile"
8821case "(($ac_try" in
8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823 *) ac_try_echo=$ac_try;;
8824esac
8825eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8826$as_echo "$ac_try_echo") >&5
8827 (eval "$ac_compile") 2>conftest.er1
8828 ac_status=$?
8829 grep -v '^ *+' conftest.er1 >conftest.err
8830 rm -f conftest.er1
8831 cat conftest.err >&5
8832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); } && {
8834 test -z "$ac_c_werror_flag" ||
8835 test ! -s conftest.err
8836 } && test -s conftest.$ac_objext; then
8837 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8838else
8839 $as_echo "$as_me: failed program was:" >&5
8840sed 's/^/| /' conftest.$ac_ext >&5
8841
8842 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8843fi
8844
8845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8846fi
8847
8848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8849fi
8850{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8851$as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8852if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
8853 6740
8854cat >>confdefs.h <<_ACEOF 6741cat >>confdefs.h <<_ACEOF
8855#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 6742#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -8857,116 +6744,15 @@ _ACEOF
8857 6744
8858 6745
8859fi 6746fi
8860{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 6747ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default
8861$as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; }
8862if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8863 $as_echo_n "(cached) " >&6
8864else
8865 cat >conftest.$ac_ext <<_ACEOF
8866/* confdefs.h. */
8867_ACEOF
8868cat confdefs.h >>conftest.$ac_ext
8869cat >>conftest.$ac_ext <<_ACEOF
8870/* end confdefs.h. */
8871$ac_includes_default
8872#if HAVE_SYS_SOCKET_H
8873#include <sys/socket.h>
8874#endif
8875#if HAVE_NET_IF_H
8876#include <net/if.h>
8877#endif
8878
8879int
8880main ()
8881{
8882static struct ifreq ac_aggr;
8883if (ac_aggr.ifr_netmask)
8884return 0;
8885 ;
8886 return 0;
8887}
8888_ACEOF
8889rm -f conftest.$ac_objext
8890if { (ac_try="$ac_compile"
8891case "(($ac_try" in
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8894esac
8895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8896$as_echo "$ac_try_echo") >&5
8897 (eval "$ac_compile") 2>conftest.er1
8898 ac_status=$?
8899 grep -v '^ *+' conftest.er1 >conftest.err
8900 rm -f conftest.er1
8901 cat conftest.err >&5
8902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } && {
8904 test -z "$ac_c_werror_flag" ||
8905 test ! -s conftest.err
8906 } && test -s conftest.$ac_objext; then
8907 ac_cv_member_struct_ifreq_ifr_netmask=yes
8908else
8909 $as_echo "$as_me: failed program was:" >&5
8910sed 's/^/| /' conftest.$ac_ext >&5
8911
8912 cat >conftest.$ac_ext <<_ACEOF
8913/* confdefs.h. */
8914_ACEOF
8915cat confdefs.h >>conftest.$ac_ext
8916cat >>conftest.$ac_ext <<_ACEOF
8917/* end confdefs.h. */
8918$ac_includes_default
8919#if HAVE_SYS_SOCKET_H 6748#if HAVE_SYS_SOCKET_H
8920#include <sys/socket.h> 6749#include <sys/socket.h>
8921#endif 6750#endif
8922#if HAVE_NET_IF_H 6751#if HAVE_NET_IF_H
8923#include <net/if.h> 6752#include <net/if.h>
8924#endif 6753#endif
8925 6754"
8926int 6755if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then :
8927main ()
8928{
8929static struct ifreq ac_aggr;
8930if (sizeof ac_aggr.ifr_netmask)
8931return 0;
8932 ;
8933 return 0;
8934}
8935_ACEOF
8936rm -f conftest.$ac_objext
8937if { (ac_try="$ac_compile"
8938case "(($ac_try" in
8939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8940 *) ac_try_echo=$ac_try;;
8941esac
8942eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8943$as_echo "$ac_try_echo") >&5
8944 (eval "$ac_compile") 2>conftest.er1
8945 ac_status=$?
8946 grep -v '^ *+' conftest.er1 >conftest.err
8947 rm -f conftest.er1
8948 cat conftest.err >&5
8949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); } && {
8951 test -z "$ac_c_werror_flag" ||
8952 test ! -s conftest.err
8953 } && test -s conftest.$ac_objext; then
8954 ac_cv_member_struct_ifreq_ifr_netmask=yes
8955else
8956 $as_echo "$as_me: failed program was:" >&5
8957sed 's/^/| /' conftest.$ac_ext >&5
8958
8959 ac_cv_member_struct_ifreq_ifr_netmask=no
8960fi
8961
8962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8963fi
8964
8965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8966fi
8967{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8968$as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8969if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
8970 6756
8971cat >>confdefs.h <<_ACEOF 6757cat >>confdefs.h <<_ACEOF
8972#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 6758#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -8974,116 +6760,15 @@ _ACEOF
8974 6760
8975 6761
8976fi 6762fi
8977{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 6763ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default
8978$as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; }
8979if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8980 $as_echo_n "(cached) " >&6
8981else
8982 cat >conftest.$ac_ext <<_ACEOF
8983/* confdefs.h. */
8984_ACEOF
8985cat confdefs.h >>conftest.$ac_ext
8986cat >>conftest.$ac_ext <<_ACEOF
8987/* end confdefs.h. */
8988$ac_includes_default
8989#if HAVE_SYS_SOCKET_H
8990#include <sys/socket.h>
8991#endif
8992#if HAVE_NET_IF_H
8993#include <net/if.h>
8994#endif
8995
8996int
8997main ()
8998{
8999static struct ifreq ac_aggr;
9000if (ac_aggr.ifr_broadaddr)
9001return 0;
9002 ;
9003 return 0;
9004}
9005_ACEOF
9006rm -f conftest.$ac_objext
9007if { (ac_try="$ac_compile"
9008case "(($ac_try" in
9009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9010 *) ac_try_echo=$ac_try;;
9011esac
9012eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9013$as_echo "$ac_try_echo") >&5
9014 (eval "$ac_compile") 2>conftest.er1
9015 ac_status=$?
9016 grep -v '^ *+' conftest.er1 >conftest.err
9017 rm -f conftest.er1
9018 cat conftest.err >&5
9019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); } && {
9021 test -z "$ac_c_werror_flag" ||
9022 test ! -s conftest.err
9023 } && test -s conftest.$ac_objext; then
9024 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
9025else
9026 $as_echo "$as_me: failed program was:" >&5
9027sed 's/^/| /' conftest.$ac_ext >&5
9028
9029 cat >conftest.$ac_ext <<_ACEOF
9030/* confdefs.h. */
9031_ACEOF
9032cat confdefs.h >>conftest.$ac_ext
9033cat >>conftest.$ac_ext <<_ACEOF
9034/* end confdefs.h. */
9035$ac_includes_default
9036#if HAVE_SYS_SOCKET_H 6764#if HAVE_SYS_SOCKET_H
9037#include <sys/socket.h> 6765#include <sys/socket.h>
9038#endif 6766#endif
9039#if HAVE_NET_IF_H 6767#if HAVE_NET_IF_H
9040#include <net/if.h> 6768#include <net/if.h>
9041#endif 6769#endif
9042 6770"
9043int 6771if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then :
9044main ()
9045{
9046static struct ifreq ac_aggr;
9047if (sizeof ac_aggr.ifr_broadaddr)
9048return 0;
9049 ;
9050 return 0;
9051}
9052_ACEOF
9053rm -f conftest.$ac_objext
9054if { (ac_try="$ac_compile"
9055case "(($ac_try" in
9056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9057 *) ac_try_echo=$ac_try;;
9058esac
9059eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9060$as_echo "$ac_try_echo") >&5
9061 (eval "$ac_compile") 2>conftest.er1
9062 ac_status=$?
9063 grep -v '^ *+' conftest.er1 >conftest.err
9064 rm -f conftest.er1
9065 cat conftest.err >&5
9066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } && {
9068 test -z "$ac_c_werror_flag" ||
9069 test ! -s conftest.err
9070 } && test -s conftest.$ac_objext; then
9071 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
9072else
9073 $as_echo "$as_me: failed program was:" >&5
9074sed 's/^/| /' conftest.$ac_ext >&5
9075
9076 ac_cv_member_struct_ifreq_ifr_broadaddr=no
9077fi
9078
9079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9080fi
9081
9082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9083fi
9084{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
9085$as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
9086if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
9087 6772
9088cat >>confdefs.h <<_ACEOF 6773cat >>confdefs.h <<_ACEOF
9089#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 6774#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -9091,116 +6776,15 @@ _ACEOF
9091 6776
9092 6777
9093fi 6778fi
9094{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 6779ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default
9095$as_echo_n "checking for struct ifreq.ifr_addr... " >&6; }
9096if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
9097 $as_echo_n "(cached) " >&6
9098else
9099 cat >conftest.$ac_ext <<_ACEOF
9100/* confdefs.h. */
9101_ACEOF
9102cat confdefs.h >>conftest.$ac_ext
9103cat >>conftest.$ac_ext <<_ACEOF
9104/* end confdefs.h. */
9105$ac_includes_default
9106#if HAVE_SYS_SOCKET_H 6780#if HAVE_SYS_SOCKET_H
9107#include <sys/socket.h> 6781#include <sys/socket.h>
9108#endif 6782#endif
9109#if HAVE_NET_IF_H 6783#if HAVE_NET_IF_H
9110#include <net/if.h> 6784#include <net/if.h>
9111#endif 6785#endif
9112 6786"
9113int 6787if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then :
9114main ()
9115{
9116static struct ifreq ac_aggr;
9117if (ac_aggr.ifr_addr)
9118return 0;
9119 ;
9120 return 0;
9121}
9122_ACEOF
9123rm -f conftest.$ac_objext
9124if { (ac_try="$ac_compile"
9125case "(($ac_try" in
9126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9127 *) ac_try_echo=$ac_try;;
9128esac
9129eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9130$as_echo "$ac_try_echo") >&5
9131 (eval "$ac_compile") 2>conftest.er1
9132 ac_status=$?
9133 grep -v '^ *+' conftest.er1 >conftest.err
9134 rm -f conftest.er1
9135 cat conftest.err >&5
9136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } && {
9138 test -z "$ac_c_werror_flag" ||
9139 test ! -s conftest.err
9140 } && test -s conftest.$ac_objext; then
9141 ac_cv_member_struct_ifreq_ifr_addr=yes
9142else
9143 $as_echo "$as_me: failed program was:" >&5
9144sed 's/^/| /' conftest.$ac_ext >&5
9145
9146 cat >conftest.$ac_ext <<_ACEOF
9147/* confdefs.h. */
9148_ACEOF
9149cat confdefs.h >>conftest.$ac_ext
9150cat >>conftest.$ac_ext <<_ACEOF
9151/* end confdefs.h. */
9152$ac_includes_default
9153#if HAVE_SYS_SOCKET_H
9154#include <sys/socket.h>
9155#endif
9156#if HAVE_NET_IF_H
9157#include <net/if.h>
9158#endif
9159
9160int
9161main ()
9162{
9163static struct ifreq ac_aggr;
9164if (sizeof ac_aggr.ifr_addr)
9165return 0;
9166 ;
9167 return 0;
9168}
9169_ACEOF
9170rm -f conftest.$ac_objext
9171if { (ac_try="$ac_compile"
9172case "(($ac_try" in
9173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9174 *) ac_try_echo=$ac_try;;
9175esac
9176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9177$as_echo "$ac_try_echo") >&5
9178 (eval "$ac_compile") 2>conftest.er1
9179 ac_status=$?
9180 grep -v '^ *+' conftest.er1 >conftest.err
9181 rm -f conftest.er1
9182 cat conftest.err >&5
9183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } && {
9185 test -z "$ac_c_werror_flag" ||
9186 test ! -s conftest.err
9187 } && test -s conftest.$ac_objext; then
9188 ac_cv_member_struct_ifreq_ifr_addr=yes
9189else
9190 $as_echo "$as_me: failed program was:" >&5
9191sed 's/^/| /' conftest.$ac_ext >&5
9192
9193 ac_cv_member_struct_ifreq_ifr_addr=no
9194fi
9195
9196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9197fi
9198
9199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9200fi
9201{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
9202$as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
9203if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
9204 6788
9205cat >>confdefs.h <<_ACEOF 6789cat >>confdefs.h <<_ACEOF
9206#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 6790#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -9211,36 +6795,28 @@ fi
9211 6795
9212 6796
9213 6797
9214{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 6798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
9215$as_echo_n "checking for function prototypes... " >&6; } 6799$as_echo_n "checking for function prototypes... " >&6; }
9216if test "$ac_cv_prog_cc_c89" != no; then 6800if test "$ac_cv_prog_cc_c89" != no; then
9217 { $as_echo "$as_me:$LINENO: result: yes" >&5 6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9218$as_echo "yes" >&6; } 6802$as_echo "yes" >&6; }
9219 6803
9220cat >>confdefs.h <<\_ACEOF 6804$as_echo "#define PROTOTYPES 1" >>confdefs.h
9221#define PROTOTYPES 1
9222_ACEOF
9223 6805
9224 6806
9225cat >>confdefs.h <<\_ACEOF 6807$as_echo "#define __PROTOTYPES 1" >>confdefs.h
9226#define __PROTOTYPES 1
9227_ACEOF
9228 6808
9229else 6809else
9230 { $as_echo "$as_me:$LINENO: result: no" >&5 6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231$as_echo "no" >&6; } 6811$as_echo "no" >&6; }
9232fi 6812fi
9233 6813
9234{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5 6814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9235$as_echo_n "checking for working volatile... " >&6; } 6815$as_echo_n "checking for working volatile... " >&6; }
9236if test "${ac_cv_c_volatile+set}" = set; then 6816if test "${ac_cv_c_volatile+set}" = set; then :
9237 $as_echo_n "(cached) " >&6 6817 $as_echo_n "(cached) " >&6
9238else 6818else
9239 cat >conftest.$ac_ext <<_ACEOF 6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240/* confdefs.h. */
9241_ACEOF
9242cat confdefs.h >>conftest.$ac_ext
9243cat >>conftest.$ac_ext <<_ACEOF
9244/* end confdefs.h. */ 6820/* end confdefs.h. */
9245 6821
9246int 6822int
@@ -9254,54 +6830,27 @@ return !x && !y;
9254 return 0; 6830 return 0;
9255} 6831}
9256_ACEOF 6832_ACEOF
9257rm -f conftest.$ac_objext 6833if ac_fn_c_try_compile "$LINENO"; then :
9258if { (ac_try="$ac_compile"
9259case "(($ac_try" in
9260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9261 *) ac_try_echo=$ac_try;;
9262esac
9263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9264$as_echo "$ac_try_echo") >&5
9265 (eval "$ac_compile") 2>conftest.er1
9266 ac_status=$?
9267 grep -v '^ *+' conftest.er1 >conftest.err
9268 rm -f conftest.er1
9269 cat conftest.err >&5
9270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); } && {
9272 test -z "$ac_c_werror_flag" ||
9273 test ! -s conftest.err
9274 } && test -s conftest.$ac_objext; then
9275 ac_cv_c_volatile=yes 6834 ac_cv_c_volatile=yes
9276else 6835else
9277 $as_echo "$as_me: failed program was:" >&5 6836 ac_cv_c_volatile=no
9278sed 's/^/| /' conftest.$ac_ext >&5
9279
9280 ac_cv_c_volatile=no
9281fi 6837fi
9282
9283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9284fi 6839fi
9285{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9286$as_echo "$ac_cv_c_volatile" >&6; } 6841$as_echo "$ac_cv_c_volatile" >&6; }
9287if test $ac_cv_c_volatile = no; then 6842if test $ac_cv_c_volatile = no; then
9288 6843
9289cat >>confdefs.h <<\_ACEOF 6844$as_echo "#define volatile /**/" >>confdefs.h
9290#define volatile /**/
9291_ACEOF
9292 6845
9293fi 6846fi
9294 6847
9295{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 6848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9296$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6849$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9297if test "${ac_cv_c_const+set}" = set; then 6850if test "${ac_cv_c_const+set}" = set; then :
9298 $as_echo_n "(cached) " >&6 6851 $as_echo_n "(cached) " >&6
9299else 6852else
9300 cat >conftest.$ac_ext <<_ACEOF 6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301/* confdefs.h. */
9302_ACEOF
9303cat confdefs.h >>conftest.$ac_ext
9304cat >>conftest.$ac_ext <<_ACEOF
9305/* end confdefs.h. */ 6854/* end confdefs.h. */
9306 6855
9307int 6856int
@@ -9361,54 +6910,27 @@ main ()
9361 return 0; 6910 return 0;
9362} 6911}
9363_ACEOF 6912_ACEOF
9364rm -f conftest.$ac_objext 6913if ac_fn_c_try_compile "$LINENO"; then :
9365if { (ac_try="$ac_compile"
9366case "(($ac_try" in
9367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9368 *) ac_try_echo=$ac_try;;
9369esac
9370eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9371$as_echo "$ac_try_echo") >&5
9372 (eval "$ac_compile") 2>conftest.er1
9373 ac_status=$?
9374 grep -v '^ *+' conftest.er1 >conftest.err
9375 rm -f conftest.er1
9376 cat conftest.err >&5
9377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && {
9379 test -z "$ac_c_werror_flag" ||
9380 test ! -s conftest.err
9381 } && test -s conftest.$ac_objext; then
9382 ac_cv_c_const=yes 6914 ac_cv_c_const=yes
9383else 6915else
9384 $as_echo "$as_me: failed program was:" >&5 6916 ac_cv_c_const=no
9385sed 's/^/| /' conftest.$ac_ext >&5
9386
9387 ac_cv_c_const=no
9388fi 6917fi
9389
9390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9391fi 6919fi
9392{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 6920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9393$as_echo "$ac_cv_c_const" >&6; } 6921$as_echo "$ac_cv_c_const" >&6; }
9394if test $ac_cv_c_const = no; then 6922if test $ac_cv_c_const = no; then
9395 6923
9396cat >>confdefs.h <<\_ACEOF 6924$as_echo "#define const /**/" >>confdefs.h
9397#define const /**/
9398_ACEOF
9399 6925
9400fi 6926fi
9401 6927
9402{ $as_echo "$as_me:$LINENO: checking for void * support" >&5 6928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
9403$as_echo_n "checking for void * support... " >&6; } 6929$as_echo_n "checking for void * support... " >&6; }
9404if test "${emacs_cv_void_star+set}" = set; then 6930if test "${emacs_cv_void_star+set}" = set; then :
9405 $as_echo_n "(cached) " >&6 6931 $as_echo_n "(cached) " >&6
9406else 6932else
9407 cat >conftest.$ac_ext <<_ACEOF 6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408/* confdefs.h. */
9409_ACEOF
9410cat confdefs.h >>conftest.$ac_ext
9411cat >>conftest.$ac_ext <<_ACEOF
9412/* end confdefs.h. */ 6934/* end confdefs.h. */
9413 6935
9414int 6936int
@@ -9419,57 +6941,31 @@ void * foo;
9419 return 0; 6941 return 0;
9420} 6942}
9421_ACEOF 6943_ACEOF
9422rm -f conftest.$ac_objext 6944if ac_fn_c_try_compile "$LINENO"; then :
9423if { (ac_try="$ac_compile"
9424case "(($ac_try" in
9425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9426 *) ac_try_echo=$ac_try;;
9427esac
9428eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9429$as_echo "$ac_try_echo") >&5
9430 (eval "$ac_compile") 2>conftest.er1
9431 ac_status=$?
9432 grep -v '^ *+' conftest.er1 >conftest.err
9433 rm -f conftest.er1
9434 cat conftest.err >&5
9435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); } && {
9437 test -z "$ac_c_werror_flag" ||
9438 test ! -s conftest.err
9439 } && test -s conftest.$ac_objext; then
9440 emacs_cv_void_star=yes 6945 emacs_cv_void_star=yes
9441else 6946else
9442 $as_echo "$as_me: failed program was:" >&5 6947 emacs_cv_void_star=no
9443sed 's/^/| /' conftest.$ac_ext >&5
9444
9445 emacs_cv_void_star=no
9446fi 6948fi
9447
9448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9449fi 6950fi
9450{ $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 6951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5
9451$as_echo "$emacs_cv_void_star" >&6; } 6952$as_echo "$emacs_cv_void_star" >&6; }
9452if test $emacs_cv_void_star = yes; then 6953if test $emacs_cv_void_star = yes; then
9453 cat >>confdefs.h <<\_ACEOF 6954 $as_echo "#define POINTER_TYPE void" >>confdefs.h
9454#define POINTER_TYPE void
9455_ACEOF
9456 6955
9457else 6956else
9458 cat >>confdefs.h <<\_ACEOF 6957 $as_echo "#define POINTER_TYPE char" >>confdefs.h
9459#define POINTER_TYPE char
9460_ACEOF
9461 6958
9462fi 6959fi
9463 6960
9464 6961
9465 6962
9466 6963
9467 6964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9468{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9469$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6965$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
9470set x ${MAKE-make} 6966set x ${MAKE-make}
9471ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6967ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9472if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 6968if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
9473 $as_echo_n "(cached) " >&6 6969 $as_echo_n "(cached) " >&6
9474else 6970else
9475 cat >conftest.make <<\_ACEOF 6971 cat >conftest.make <<\_ACEOF
@@ -9487,18 +6983,18 @@ esac
9487rm -f conftest.make 6983rm -f conftest.make
9488fi 6984fi
9489if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 6985if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
9490 { $as_echo "$as_me:$LINENO: result: yes" >&5 6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9491$as_echo "yes" >&6; } 6987$as_echo "yes" >&6; }
9492 SET_MAKE= 6988 SET_MAKE=
9493else 6989else
9494 { $as_echo "$as_me:$LINENO: result: no" >&5 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9495$as_echo "no" >&6; } 6991$as_echo "no" >&6; }
9496 SET_MAKE="MAKE=${MAKE-make}" 6992 SET_MAKE="MAKE=${MAKE-make}"
9497fi 6993fi
9498 6994
9499 6995
9500if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then 6996if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
9501 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5
9502$as_echo_n "checking whether we are using GNU Make... " >&6; } 6998$as_echo_n "checking whether we are using GNU Make... " >&6; }
9503 HAVE_GNU_MAKE=no 6999 HAVE_GNU_MAKE=no
9504 testval=`make --version 2>/dev/null | grep 'GNU Make'` 7000 testval=`make --version 2>/dev/null | grep 'GNU Make'`
@@ -9507,18 +7003,14 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; }
9507 else 7003 else
9508 ac_enable_autodepend=no 7004 ac_enable_autodepend=no
9509 fi 7005 fi
9510 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5
9511$as_echo "$HAVE_GNU_MAKE" >&6; } 7007$as_echo "$HAVE_GNU_MAKE" >&6; }
9512 if test $HAVE_GNU_MAKE = yes; then 7008 if test $HAVE_GNU_MAKE = yes; then
9513 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5
9514$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } 7010$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; }
9515 SAVE_CFLAGS="$CFLAGS" 7011 SAVE_CFLAGS="$CFLAGS"
9516 CFLAGS="$CFLAGS -MMD -MF deps.d" 7012 CFLAGS="$CFLAGS -MMD -MF deps.d"
9517 cat >conftest.$ac_ext <<_ACEOF 7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518/* confdefs.h. */
9519_ACEOF
9520cat confdefs.h >>conftest.$ac_ext
9521cat >>conftest.$ac_ext <<_ACEOF
9522/* end confdefs.h. */ 7014/* end confdefs.h. */
9523 7015
9524int 7016int
@@ -9529,51 +7021,28 @@ main ()
9529 return 0; 7021 return 0;
9530} 7022}
9531_ACEOF 7023_ACEOF
9532rm -f conftest.$ac_objext 7024if ac_fn_c_try_compile "$LINENO"; then :
9533if { (ac_try="$ac_compile"
9534case "(($ac_try" in
9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9537esac
9538eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9539$as_echo "$ac_try_echo") >&5
9540 (eval "$ac_compile") 2>conftest.er1
9541 ac_status=$?
9542 grep -v '^ *+' conftest.er1 >conftest.err
9543 rm -f conftest.er1
9544 cat conftest.err >&5
9545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } && {
9547 test -z "$ac_c_werror_flag" ||
9548 test ! -s conftest.err
9549 } && test -s conftest.$ac_objext; then
9550 :
9551else
9552 $as_echo "$as_me: failed program was:" >&5
9553sed 's/^/| /' conftest.$ac_ext >&5
9554 7025
9555 ac_enable_autodepend=no 7026else
7027 ac_enable_autodepend=no
9556fi 7028fi
9557
9558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9559 CFLAGS="$SAVE_CFLAGS" 7030 CFLAGS="$SAVE_CFLAGS"
9560 test -f deps.d || ac_enable_autodepend=no 7031 test -f deps.d || ac_enable_autodepend=no
9561 rm -rf deps.d 7032 rm -rf deps.d
9562 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5
9563$as_echo "$ac_enable_autodepend" >&6; } 7034$as_echo "$ac_enable_autodepend" >&6; }
9564 fi 7035 fi
9565 if test $ac_enable_autodepend = yes; then 7036 if test $ac_enable_autodepend = yes; then
9566 7037
9567cat >>confdefs.h <<\_ACEOF 7038$as_echo "#define AUTO_DEPEND 1" >>confdefs.h
9568#define AUTO_DEPEND 1
9569_ACEOF
9570 7039
9571 fi 7040 fi
9572fi 7041fi
9573 7042
9574{ $as_echo "$as_me:$LINENO: checking for long file names" >&5 7043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
9575$as_echo_n "checking for long file names... " >&6; } 7044$as_echo_n "checking for long file names... " >&6; }
9576if test "${ac_cv_sys_long_file_names+set}" = set; then 7045if test "${ac_cv_sys_long_file_names+set}" = set; then :
9577 $as_echo_n "(cached) " >&6 7046 $as_echo_n "(cached) " >&6
9578else 7047else
9579 ac_cv_sys_long_file_names=yes 7048 ac_cv_sys_long_file_names=yes
@@ -9603,25 +7072,23 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib
9603 test $ac_cv_sys_long_file_names = no && break 7072 test $ac_cv_sys_long_file_names = no && break
9604done 7073done
9605fi 7074fi
9606{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 7075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
9607$as_echo "$ac_cv_sys_long_file_names" >&6; } 7076$as_echo "$ac_cv_sys_long_file_names" >&6; }
9608if test $ac_cv_sys_long_file_names = yes; then 7077if test $ac_cv_sys_long_file_names = yes; then
9609 7078
9610cat >>confdefs.h <<\_ACEOF 7079$as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
9611#define HAVE_LONG_FILE_NAMES 1
9612_ACEOF
9613 7080
9614fi 7081fi
9615 7082
9616 7083
9617#### Choose a window system. 7084#### Choose a window system.
9618 7085
9619{ $as_echo "$as_me:$LINENO: checking for X" >&5 7086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9620$as_echo_n "checking for X... " >&6; } 7087$as_echo_n "checking for X... " >&6; }
9621 7088
9622 7089
9623# Check whether --with-x was given. 7090# Check whether --with-x was given.
9624if test "${with_x+set}" = set; then 7091if test "${with_x+set}" = set; then :
9625 withval=$with_x; 7092 withval=$with_x;
9626fi 7093fi
9627 7094
@@ -9631,10 +7098,8 @@ if test "x$with_x" = xno; then
9631 have_x=disabled 7098 have_x=disabled
9632else 7099else
9633 case $x_includes,$x_libraries in #( 7100 case $x_includes,$x_libraries in #(
9634 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 7101 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
9635$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} 7102 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
9636 { (exit 1); exit 1; }; };; #(
9637 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
9638 $as_echo_n "(cached) " >&6 7103 $as_echo_n "(cached) " >&6
9639else 7104else
9640 # One or both of the vars are not set, and there is no cached value. 7105 # One or both of the vars are not set, and there is no cached value.
@@ -9670,7 +7135,7 @@ _ACEOF
9670 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 7135 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9671 esac 7136 esac
9672 case $ac_im_usrlibdir in 7137 case $ac_im_usrlibdir in
9673 /usr/lib | /lib) ;; 7138 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9674 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 7139 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9675 esac 7140 esac
9676 fi 7141 fi
@@ -9682,21 +7147,25 @@ fi
9682# Check X11 before X11Rn because it is often a symlink to the current release. 7147# Check X11 before X11Rn because it is often a symlink to the current release.
9683ac_x_header_dirs=' 7148ac_x_header_dirs='
9684/usr/X11/include 7149/usr/X11/include
7150/usr/X11R7/include
9685/usr/X11R6/include 7151/usr/X11R6/include
9686/usr/X11R5/include 7152/usr/X11R5/include
9687/usr/X11R4/include 7153/usr/X11R4/include
9688 7154
9689/usr/include/X11 7155/usr/include/X11
7156/usr/include/X11R7
9690/usr/include/X11R6 7157/usr/include/X11R6
9691/usr/include/X11R5 7158/usr/include/X11R5
9692/usr/include/X11R4 7159/usr/include/X11R4
9693 7160
9694/usr/local/X11/include 7161/usr/local/X11/include
7162/usr/local/X11R7/include
9695/usr/local/X11R6/include 7163/usr/local/X11R6/include
9696/usr/local/X11R5/include 7164/usr/local/X11R5/include
9697/usr/local/X11R4/include 7165/usr/local/X11R4/include
9698 7166
9699/usr/local/include/X11 7167/usr/local/include/X11
7168/usr/local/include/X11R7
9700/usr/local/include/X11R6 7169/usr/local/include/X11R6
9701/usr/local/include/X11R5 7170/usr/local/include/X11R5
9702/usr/local/include/X11R4 7171/usr/local/include/X11R4
@@ -9718,37 +7187,14 @@ ac_x_header_dirs='
9718if test "$ac_x_includes" = no; then 7187if test "$ac_x_includes" = no; then
9719 # Guess where to find include files, by looking for Xlib.h. 7188 # Guess where to find include files, by looking for Xlib.h.
9720 # First, try using that file with no special directory specified. 7189 # First, try using that file with no special directory specified.
9721 cat >conftest.$ac_ext <<_ACEOF 7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722/* confdefs.h. */
9723_ACEOF
9724cat confdefs.h >>conftest.$ac_ext
9725cat >>conftest.$ac_ext <<_ACEOF
9726/* end confdefs.h. */ 7191/* end confdefs.h. */
9727#include <X11/Xlib.h> 7192#include <X11/Xlib.h>
9728_ACEOF 7193_ACEOF
9729if { (ac_try="$ac_cpp conftest.$ac_ext" 7194if ac_fn_c_try_cpp "$LINENO"; then :
9730case "(($ac_try" in
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9732 *) ac_try_echo=$ac_try;;
9733esac
9734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9735$as_echo "$ac_try_echo") >&5
9736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9737 ac_status=$?
9738 grep -v '^ *+' conftest.er1 >conftest.err
9739 rm -f conftest.er1
9740 cat conftest.err >&5
9741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } >/dev/null && {
9743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9744 test ! -s conftest.err
9745 }; then
9746 # We can compile using X headers with no special include directory. 7195 # We can compile using X headers with no special include directory.
9747ac_x_includes= 7196ac_x_includes=
9748else 7197else
9749 $as_echo "$as_me: failed program was:" >&5
9750sed 's/^/| /' conftest.$ac_ext >&5
9751
9752 for ac_dir in $ac_x_header_dirs; do 7198 for ac_dir in $ac_x_header_dirs; do
9753 if test -r "$ac_dir/X11/Xlib.h"; then 7199 if test -r "$ac_dir/X11/Xlib.h"; then
9754 ac_x_includes=$ac_dir 7200 ac_x_includes=$ac_dir
@@ -9756,7 +7202,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
9756 fi 7202 fi
9757done 7203done
9758fi 7204fi
9759
9760rm -f conftest.err conftest.$ac_ext 7205rm -f conftest.err conftest.$ac_ext
9761fi # $ac_x_includes = no 7206fi # $ac_x_includes = no
9762 7207
@@ -9766,11 +7211,7 @@ if test "$ac_x_libraries" = no; then
9766 # Don't add to $LIBS permanently. 7211 # Don't add to $LIBS permanently.
9767 ac_save_LIBS=$LIBS 7212 ac_save_LIBS=$LIBS
9768 LIBS="-lX11 $LIBS" 7213 LIBS="-lX11 $LIBS"
9769 cat >conftest.$ac_ext <<_ACEOF 7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770/* confdefs.h. */
9771_ACEOF
9772cat confdefs.h >>conftest.$ac_ext
9773cat >>conftest.$ac_ext <<_ACEOF
9774/* end confdefs.h. */ 7215/* end confdefs.h. */
9775#include <X11/Xlib.h> 7216#include <X11/Xlib.h>
9776int 7217int
@@ -9781,35 +7222,12 @@ XrmInitialize ()
9781 return 0; 7222 return 0;
9782} 7223}
9783_ACEOF 7224_ACEOF
9784rm -f conftest.$ac_objext conftest$ac_exeext 7225if ac_fn_c_try_link "$LINENO"; then :
9785if { (ac_try="$ac_link"
9786case "(($ac_try" in
9787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9788 *) ac_try_echo=$ac_try;;
9789esac
9790eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9791$as_echo "$ac_try_echo") >&5
9792 (eval "$ac_link") 2>conftest.er1
9793 ac_status=$?
9794 grep -v '^ *+' conftest.er1 >conftest.err
9795 rm -f conftest.er1
9796 cat conftest.err >&5
9797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } && {
9799 test -z "$ac_c_werror_flag" ||
9800 test ! -s conftest.err
9801 } && test -s conftest$ac_exeext && {
9802 test "$cross_compiling" = yes ||
9803 $as_test_x conftest$ac_exeext
9804 }; then
9805 LIBS=$ac_save_LIBS 7226 LIBS=$ac_save_LIBS
9806# We can link X programs with no special library path. 7227# We can link X programs with no special library path.
9807ac_x_libraries= 7228ac_x_libraries=
9808else 7229else
9809 $as_echo "$as_me: failed program was:" >&5 7230 LIBS=$ac_save_LIBS
9810sed 's/^/| /' conftest.$ac_ext >&5
9811
9812 LIBS=$ac_save_LIBS
9813for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 7231for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9814do 7232do
9815 # Don't even attempt the hair of trying to link an X program! 7233 # Don't even attempt the hair of trying to link an X program!
@@ -9821,10 +7239,8 @@ do
9821 done 7239 done
9822done 7240done
9823fi 7241fi
9824 7242rm -f core conftest.err conftest.$ac_objext \
9825rm -rf conftest.dSYM 7243 conftest$ac_exeext conftest.$ac_ext
9826rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9827 conftest$ac_exeext conftest.$ac_ext
9828fi # $ac_x_libraries = no 7244fi # $ac_x_libraries = no
9829 7245
9830case $ac_x_includes,$ac_x_libraries in #( 7246case $ac_x_includes,$ac_x_libraries in #(
@@ -9845,7 +7261,7 @@ fi
9845fi # $with_x != no 7261fi # $with_x != no
9846 7262
9847if test "$have_x" != yes; then 7263if test "$have_x" != yes; then
9848 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9849$as_echo "$have_x" >&6; } 7265$as_echo "$have_x" >&6; }
9850 no_x=yes 7266 no_x=yes
9851else 7267else
@@ -9856,7 +7272,7 @@ else
9856 ac_cv_have_x="have_x=yes\ 7272 ac_cv_have_x="have_x=yes\
9857 ac_x_includes='$x_includes'\ 7273 ac_x_includes='$x_includes'\
9858 ac_x_libraries='$x_libraries'" 7274 ac_x_libraries='$x_libraries'"
9859 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9860$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 7276$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9861fi 7277fi
9862 7278
@@ -9966,150 +7382,17 @@ shared=no
9966 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 7382 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
9967 LIB_STANDARD= 7383 LIB_STANDARD=
9968 fi 7384 fi
9969 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 7385 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
9970 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 7386if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
9971$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9972if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9973 $as_echo_n "(cached) " >&6
9974fi
9975{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9976$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9977else
9978 # Is the header compilable?
9979{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9980$as_echo_n "checking AppKit/AppKit.h usability... " >&6; }
9981cat >conftest.$ac_ext <<_ACEOF
9982/* confdefs.h. */
9983_ACEOF
9984cat confdefs.h >>conftest.$ac_ext
9985cat >>conftest.$ac_ext <<_ACEOF
9986/* end confdefs.h. */
9987$ac_includes_default
9988#include <AppKit/AppKit.h>
9989_ACEOF
9990rm -f conftest.$ac_objext
9991if { (ac_try="$ac_compile"
9992case "(($ac_try" in
9993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9994 *) ac_try_echo=$ac_try;;
9995esac
9996eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9997$as_echo "$ac_try_echo") >&5
9998 (eval "$ac_compile") 2>conftest.er1
9999 ac_status=$?
10000 grep -v '^ *+' conftest.er1 >conftest.err
10001 rm -f conftest.er1
10002 cat conftest.err >&5
10003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); } && {
10005 test -z "$ac_c_werror_flag" ||
10006 test ! -s conftest.err
10007 } && test -s conftest.$ac_objext; then
10008 ac_header_compiler=yes
10009else
10010 $as_echo "$as_me: failed program was:" >&5
10011sed 's/^/| /' conftest.$ac_ext >&5
10012
10013 ac_header_compiler=no
10014fi
10015
10016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10017{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10018$as_echo "$ac_header_compiler" >&6; }
10019
10020# Is the header present?
10021{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
10022$as_echo_n "checking AppKit/AppKit.h presence... " >&6; }
10023cat >conftest.$ac_ext <<_ACEOF
10024/* confdefs.h. */
10025_ACEOF
10026cat confdefs.h >>conftest.$ac_ext
10027cat >>conftest.$ac_ext <<_ACEOF
10028/* end confdefs.h. */
10029#include <AppKit/AppKit.h>
10030_ACEOF
10031if { (ac_try="$ac_cpp conftest.$ac_ext"
10032case "(($ac_try" in
10033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10034 *) ac_try_echo=$ac_try;;
10035esac
10036eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10037$as_echo "$ac_try_echo") >&5
10038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10039 ac_status=$?
10040 grep -v '^ *+' conftest.er1 >conftest.err
10041 rm -f conftest.er1
10042 cat conftest.err >&5
10043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } >/dev/null && {
10045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10046 test ! -s conftest.err
10047 }; then
10048 ac_header_preproc=yes
10049else
10050 $as_echo "$as_me: failed program was:" >&5
10051sed 's/^/| /' conftest.$ac_ext >&5
10052
10053 ac_header_preproc=no
10054fi
10055
10056rm -f conftest.err conftest.$ac_ext
10057{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10058$as_echo "$ac_header_preproc" >&6; }
10059
10060# So? What about this header?
10061case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10062 yes:no: )
10063 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
10064$as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10065 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
10066$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
10067 ac_header_preproc=yes
10068 ;;
10069 no:yes:* )
10070 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
10071$as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
10072 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
10073$as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
10074 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
10075$as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
10076 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
10077$as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
10078 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
10079$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
10080 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
10081$as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
10082
10083 ;;
10084esac
10085{ $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
10086$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
10087if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
10088 $as_echo_n "(cached) " >&6
10089else
10090 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
10091fi
10092{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
10093$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
10094
10095fi
10096if test $ac_cv_header_AppKit_AppKit_h = yes; then
10097 HAVE_NS=yes 7387 HAVE_NS=yes
10098else 7388else
10099 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include 7389 as_fn_error "\`--with-ns' was specified, but the include
10100 files are missing or cannot be compiled." >&5 7390 files are missing or cannot be compiled." "$LINENO" 5
10101$as_echo "$as_me: error: \`--with-ns' was specified, but the include
10102 files are missing or cannot be compiled." >&2;}
10103 { (exit 1); exit 1; }; }
10104fi 7391fi
10105 7392
10106 7393
10107 NS_HAVE_NSINTEGER=yes 7394 NS_HAVE_NSINTEGER=yes
10108 cat >conftest.$ac_ext <<_ACEOF 7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109/* confdefs.h. */
10110_ACEOF
10111cat confdefs.h >>conftest.$ac_ext
10112cat >>conftest.$ac_ext <<_ACEOF
10113/* end confdefs.h. */ 7396/* end confdefs.h. */
10114#include <Foundation/NSObjCRuntime.h> 7397#include <Foundation/NSObjCRuntime.h>
10115int 7398int
@@ -10120,32 +7403,11 @@ NSInteger i;
10120 return 0; 7403 return 0;
10121} 7404}
10122_ACEOF 7405_ACEOF
10123rm -f conftest.$ac_objext 7406if ac_fn_c_try_compile "$LINENO"; then :
10124if { (ac_try="$ac_compile"
10125case "(($ac_try" in
10126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10127 *) ac_try_echo=$ac_try;;
10128esac
10129eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10130$as_echo "$ac_try_echo") >&5
10131 (eval "$ac_compile") 2>conftest.er1
10132 ac_status=$?
10133 grep -v '^ *+' conftest.er1 >conftest.err
10134 rm -f conftest.er1
10135 cat conftest.err >&5
10136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); } && {
10138 test -z "$ac_c_werror_flag" ||
10139 test ! -s conftest.err
10140 } && test -s conftest.$ac_objext; then
10141 ns_have_nsinteger=yes 7407 ns_have_nsinteger=yes
10142else 7408else
10143 $as_echo "$as_me: failed program was:" >&5 7409 ns_have_nsinteger=no
10144sed 's/^/| /' conftest.$ac_ext >&5
10145
10146 ns_have_nsinteger=no
10147fi 7410fi
10148
10149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10150 if test $ns_have_nsinteger = no; then 7412 if test $ns_have_nsinteger = no; then
10151 NS_HAVE_NSINTEGER=no 7413 NS_HAVE_NSINTEGER=no
@@ -10196,9 +7458,9 @@ esac
10196if test "$window_system" = none && test "X$with_x" != "Xno"; then 7458if test "$window_system" = none && test "X$with_x" != "Xno"; then
10197 # Extract the first word of "X", so it can be a program name with args. 7459 # Extract the first word of "X", so it can be a program name with args.
10198set dummy X; ac_word=$2 7460set dummy X; ac_word=$2
10199{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10200$as_echo_n "checking for $ac_word... " >&6; } 7462$as_echo_n "checking for $ac_word... " >&6; }
10201if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then 7463if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then :
10202 $as_echo_n "(cached) " >&6 7464 $as_echo_n "(cached) " >&6
10203else 7465else
10204 if test -n "$HAVE_XSERVER"; then 7466 if test -n "$HAVE_XSERVER"; then
@@ -10209,14 +7471,14 @@ for as_dir in $PATH
10209do 7471do
10210 IFS=$as_save_IFS 7472 IFS=$as_save_IFS
10211 test -z "$as_dir" && as_dir=. 7473 test -z "$as_dir" && as_dir=.
10212 for ac_exec_ext in '' $ac_executable_extensions; do 7474 for ac_exec_ext in '' $ac_executable_extensions; do
10213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10214 ac_cv_prog_HAVE_XSERVER="true" 7476 ac_cv_prog_HAVE_XSERVER="true"
10215 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10216 break 2 7478 break 2
10217 fi 7479 fi
10218done 7480done
10219done 7481 done
10220IFS=$as_save_IFS 7482IFS=$as_save_IFS
10221 7483
10222 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 7484 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
@@ -10224,10 +7486,10 @@ fi
10224fi 7486fi
10225HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 7487HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
10226if test -n "$HAVE_XSERVER"; then 7488if test -n "$HAVE_XSERVER"; then
10227 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5
10228$as_echo "$HAVE_XSERVER" >&6; } 7490$as_echo "$HAVE_XSERVER" >&6; }
10229else 7491else
10230 { $as_echo "$as_me:$LINENO: result: no" >&5 7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10231$as_echo "no" >&6; } 7493$as_echo "no" >&6; }
10232fi 7494fi
10233 7495
@@ -10235,23 +7497,14 @@ fi
10235 if test "$HAVE_XSERVER" = true || 7497 if test "$HAVE_XSERVER" = true ||
10236 test -n "$DISPLAY" || 7498 test -n "$DISPLAY" ||
10237 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7499 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
10238 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries 7500 as_fn_error "You seem to be running X, but no X development libraries
10239were found. You should install the relevant development files for X
10240and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
10241sure you have development files for image handling, i.e.
10242tiff, gif, jpeg, png and xpm.
10243If you are sure you want Emacs compiled without X window support, pass
10244 --without-x
10245to configure." >&5
10246$as_echo "$as_me: error: You seem to be running X, but no X development libraries
10247were found. You should install the relevant development files for X 7501were found. You should install the relevant development files for X
10248and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7502and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
10249sure you have development files for image handling, i.e. 7503sure you have development files for image handling, i.e.
10250tiff, gif, jpeg, png and xpm. 7504tiff, gif, jpeg, png and xpm.
10251If you are sure you want Emacs compiled without X window support, pass 7505If you are sure you want Emacs compiled without X window support, pass
10252 --without-x 7506 --without-x
10253to configure." >&2;} 7507to configure." "$LINENO" 5
10254 { (exit 1); exit 1; }; }
10255 fi 7508 fi
10256fi 7509fi
10257 7510
@@ -10265,198 +7518,26 @@ esac
10265# Assume not, until told otherwise. 7518# Assume not, until told otherwise.
10266GNU_MALLOC=yes 7519GNU_MALLOC=yes
10267doug_lea_malloc=yes 7520doug_lea_malloc=yes
10268{ $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 7521ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
10269$as_echo_n "checking for malloc_get_state... " >&6; } 7522if test "x$ac_cv_func_malloc_get_state" = x""yes; then :
10270if test "${ac_cv_func_malloc_get_state+set}" = set; then
10271 $as_echo_n "(cached) " >&6
10272else
10273 cat >conftest.$ac_ext <<_ACEOF
10274/* confdefs.h. */
10275_ACEOF
10276cat confdefs.h >>conftest.$ac_ext
10277cat >>conftest.$ac_ext <<_ACEOF
10278/* end confdefs.h. */
10279/* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
10280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10281#define malloc_get_state innocuous_malloc_get_state
10282 7523
10283/* System header to define __stub macros and hopefully few prototypes,
10284 which can conflict with char malloc_get_state (); below.
10285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10286 <limits.h> exists even on freestanding compilers. */
10287
10288#ifdef __STDC__
10289# include <limits.h>
10290#else
10291# include <assert.h>
10292#endif
10293
10294#undef malloc_get_state
10295
10296/* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299#ifdef __cplusplus
10300extern "C"
10301#endif
10302char malloc_get_state ();
10303/* The GNU C library defines this for functions which it implements
10304 to always fail with ENOSYS. Some functions are actually named
10305 something starting with __ and the normal name is an alias. */
10306#if defined __stub_malloc_get_state || defined __stub___malloc_get_state
10307choke me
10308#endif
10309
10310int
10311main ()
10312{
10313return malloc_get_state ();
10314 ;
10315 return 0;
10316}
10317_ACEOF
10318rm -f conftest.$ac_objext conftest$ac_exeext
10319if { (ac_try="$ac_link"
10320case "(($ac_try" in
10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10322 *) ac_try_echo=$ac_try;;
10323esac
10324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10325$as_echo "$ac_try_echo") >&5
10326 (eval "$ac_link") 2>conftest.er1
10327 ac_status=$?
10328 grep -v '^ *+' conftest.er1 >conftest.err
10329 rm -f conftest.er1
10330 cat conftest.err >&5
10331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); } && {
10333 test -z "$ac_c_werror_flag" ||
10334 test ! -s conftest.err
10335 } && test -s conftest$ac_exeext && {
10336 test "$cross_compiling" = yes ||
10337 $as_test_x conftest$ac_exeext
10338 }; then
10339 ac_cv_func_malloc_get_state=yes
10340else
10341 $as_echo "$as_me: failed program was:" >&5
10342sed 's/^/| /' conftest.$ac_ext >&5
10343
10344 ac_cv_func_malloc_get_state=no
10345fi
10346
10347rm -rf conftest.dSYM
10348rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10349 conftest$ac_exeext conftest.$ac_ext
10350fi
10351{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
10352$as_echo "$ac_cv_func_malloc_get_state" >&6; }
10353if test $ac_cv_func_malloc_get_state = yes; then
10354 :
10355else 7524else
10356 doug_lea_malloc=no 7525 doug_lea_malloc=no
10357fi 7526fi
10358 7527
10359{ $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 7528ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
10360$as_echo_n "checking for malloc_set_state... " >&6; } 7529if test "x$ac_cv_func_malloc_set_state" = x""yes; then :
10361if test "${ac_cv_func_malloc_set_state+set}" = set; then
10362 $as_echo_n "(cached) " >&6
10363else
10364 cat >conftest.$ac_ext <<_ACEOF
10365/* confdefs.h. */
10366_ACEOF
10367cat confdefs.h >>conftest.$ac_ext
10368cat >>conftest.$ac_ext <<_ACEOF
10369/* end confdefs.h. */
10370/* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
10371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10372#define malloc_set_state innocuous_malloc_set_state
10373
10374/* System header to define __stub macros and hopefully few prototypes,
10375 which can conflict with char malloc_set_state (); below.
10376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10377 <limits.h> exists even on freestanding compilers. */
10378
10379#ifdef __STDC__
10380# include <limits.h>
10381#else
10382# include <assert.h>
10383#endif
10384
10385#undef malloc_set_state
10386
10387/* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10390#ifdef __cplusplus
10391extern "C"
10392#endif
10393char malloc_set_state ();
10394/* The GNU C library defines this for functions which it implements
10395 to always fail with ENOSYS. Some functions are actually named
10396 something starting with __ and the normal name is an alias. */
10397#if defined __stub_malloc_set_state || defined __stub___malloc_set_state
10398choke me
10399#endif
10400 7530
10401int
10402main ()
10403{
10404return malloc_set_state ();
10405 ;
10406 return 0;
10407}
10408_ACEOF
10409rm -f conftest.$ac_objext conftest$ac_exeext
10410if { (ac_try="$ac_link"
10411case "(($ac_try" in
10412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10413 *) ac_try_echo=$ac_try;;
10414esac
10415eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10416$as_echo "$ac_try_echo") >&5
10417 (eval "$ac_link") 2>conftest.er1
10418 ac_status=$?
10419 grep -v '^ *+' conftest.er1 >conftest.err
10420 rm -f conftest.er1
10421 cat conftest.err >&5
10422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } && {
10424 test -z "$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10426 } && test -s conftest$ac_exeext && {
10427 test "$cross_compiling" = yes ||
10428 $as_test_x conftest$ac_exeext
10429 }; then
10430 ac_cv_func_malloc_set_state=yes
10431else
10432 $as_echo "$as_me: failed program was:" >&5
10433sed 's/^/| /' conftest.$ac_ext >&5
10434
10435 ac_cv_func_malloc_set_state=no
10436fi
10437
10438rm -rf conftest.dSYM
10439rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10440 conftest$ac_exeext conftest.$ac_ext
10441fi
10442{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
10443$as_echo "$ac_cv_func_malloc_set_state" >&6; }
10444if test $ac_cv_func_malloc_set_state = yes; then
10445 :
10446else 7531else
10447 doug_lea_malloc=no 7532 doug_lea_malloc=no
10448fi 7533fi
10449 7534
10450{ $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 7535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
10451$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 7536$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
10452if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 7537if test "${emacs_cv_var___after_morecore_hook+set}" = set; then :
10453 $as_echo_n "(cached) " >&6 7538 $as_echo_n "(cached) " >&6
10454else 7539else
10455 cat >conftest.$ac_ext <<_ACEOF 7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456/* confdefs.h. */
10457_ACEOF
10458cat confdefs.h >>conftest.$ac_ext
10459cat >>conftest.$ac_ext <<_ACEOF
10460/* end confdefs.h. */ 7541/* end confdefs.h. */
10461extern void (* __after_morecore_hook)(); 7542extern void (* __after_morecore_hook)();
10462int 7543int
@@ -10467,40 +7548,15 @@ __after_morecore_hook = 0
10467 return 0; 7548 return 0;
10468} 7549}
10469_ACEOF 7550_ACEOF
10470rm -f conftest.$ac_objext conftest$ac_exeext 7551if ac_fn_c_try_link "$LINENO"; then :
10471if { (ac_try="$ac_link"
10472case "(($ac_try" in
10473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10474 *) ac_try_echo=$ac_try;;
10475esac
10476eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10477$as_echo "$ac_try_echo") >&5
10478 (eval "$ac_link") 2>conftest.er1
10479 ac_status=$?
10480 grep -v '^ *+' conftest.er1 >conftest.err
10481 rm -f conftest.er1
10482 cat conftest.err >&5
10483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); } && {
10485 test -z "$ac_c_werror_flag" ||
10486 test ! -s conftest.err
10487 } && test -s conftest$ac_exeext && {
10488 test "$cross_compiling" = yes ||
10489 $as_test_x conftest$ac_exeext
10490 }; then
10491 emacs_cv_var___after_morecore_hook=yes 7552 emacs_cv_var___after_morecore_hook=yes
10492else 7553else
10493 $as_echo "$as_me: failed program was:" >&5 7554 emacs_cv_var___after_morecore_hook=no
10494sed 's/^/| /' conftest.$ac_ext >&5
10495
10496 emacs_cv_var___after_morecore_hook=no
10497fi 7555fi
10498 7556rm -f core conftest.err conftest.$ac_objext \
10499rm -rf conftest.dSYM 7557 conftest$ac_exeext conftest.$ac_ext
10500rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10501 conftest$ac_exeext conftest.$ac_ext
10502fi 7558fi
10503{ $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 7559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5
10504$as_echo "$emacs_cv_var___after_morecore_hook" >&6; } 7560$as_echo "$emacs_cv_var___after_morecore_hook" >&6; }
10505if test $emacs_cv_var___after_morecore_hook = no; then 7561if test $emacs_cv_var___after_morecore_hook = no; then
10506 doug_lea_malloc=no 7562 doug_lea_malloc=no
@@ -10516,9 +7572,7 @@ if test "$doug_lea_malloc" = "yes" ; then
10516 (Using Doug Lea's new malloc from the GNU C Library.)" 7572 (Using Doug Lea's new malloc from the GNU C Library.)"
10517 fi 7573 fi
10518 7574
10519cat >>confdefs.h <<\_ACEOF 7575$as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h
10520#define DOUG_LEA_MALLOC 1
10521_ACEOF
10522 7576
10523fi 7577fi
10524 7578
@@ -10529,142 +7583,14 @@ fi
10529 7583
10530 7584
10531 7585
10532for ac_header in stdlib.h unistd.h
10533do
10534as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10535if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10536 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10537$as_echo_n "checking for $ac_header... " >&6; }
10538if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10539 $as_echo_n "(cached) " >&6
10540fi
10541ac_res=`eval 'as_val=${'$as_ac_Header'}
10542 $as_echo "$as_val"'`
10543 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10544$as_echo "$ac_res" >&6; }
10545else
10546 # Is the header compilable?
10547{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10548$as_echo_n "checking $ac_header usability... " >&6; }
10549cat >conftest.$ac_ext <<_ACEOF
10550/* confdefs.h. */
10551_ACEOF
10552cat confdefs.h >>conftest.$ac_ext
10553cat >>conftest.$ac_ext <<_ACEOF
10554/* end confdefs.h. */
10555$ac_includes_default
10556#include <$ac_header>
10557_ACEOF
10558rm -f conftest.$ac_objext
10559if { (ac_try="$ac_compile"
10560case "(($ac_try" in
10561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10562 *) ac_try_echo=$ac_try;;
10563esac
10564eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10565$as_echo "$ac_try_echo") >&5
10566 (eval "$ac_compile") 2>conftest.er1
10567 ac_status=$?
10568 grep -v '^ *+' conftest.er1 >conftest.err
10569 rm -f conftest.er1
10570 cat conftest.err >&5
10571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } && {
10573 test -z "$ac_c_werror_flag" ||
10574 test ! -s conftest.err
10575 } && test -s conftest.$ac_objext; then
10576 ac_header_compiler=yes
10577else
10578 $as_echo "$as_me: failed program was:" >&5
10579sed 's/^/| /' conftest.$ac_ext >&5
10580
10581 ac_header_compiler=no
10582fi
10583
10584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10585{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10586$as_echo "$ac_header_compiler" >&6; }
10587
10588# Is the header present?
10589{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10590$as_echo_n "checking $ac_header presence... " >&6; }
10591cat >conftest.$ac_ext <<_ACEOF
10592/* confdefs.h. */
10593_ACEOF
10594cat confdefs.h >>conftest.$ac_ext
10595cat >>conftest.$ac_ext <<_ACEOF
10596/* end confdefs.h. */
10597#include <$ac_header>
10598_ACEOF
10599if { (ac_try="$ac_cpp conftest.$ac_ext"
10600case "(($ac_try" in
10601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10602 *) ac_try_echo=$ac_try;;
10603esac
10604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10605$as_echo "$ac_try_echo") >&5
10606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10607 ac_status=$?
10608 grep -v '^ *+' conftest.er1 >conftest.err
10609 rm -f conftest.er1
10610 cat conftest.err >&5
10611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } >/dev/null && {
10613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10614 test ! -s conftest.err
10615 }; then
10616 ac_header_preproc=yes
10617else
10618 $as_echo "$as_me: failed program was:" >&5
10619sed 's/^/| /' conftest.$ac_ext >&5
10620
10621 ac_header_preproc=no
10622fi
10623
10624rm -f conftest.err conftest.$ac_ext
10625{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10626$as_echo "$ac_header_preproc" >&6; }
10627
10628# So? What about this header?
10629case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10630 yes:no: )
10631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10632$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10634$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10635 ac_header_preproc=yes
10636 ;;
10637 no:yes:* )
10638 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10639$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10641$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10642 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10643$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10644 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10645$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10647$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10649$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10650
10651 ;;
10652esac
10653{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10654$as_echo_n "checking for $ac_header... " >&6; }
10655if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10656 $as_echo_n "(cached) " >&6
10657else
10658 eval "$as_ac_Header=\$ac_header_preproc"
10659fi
10660ac_res=`eval 'as_val=${'$as_ac_Header'}
10661 $as_echo "$as_val"'`
10662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10663$as_echo "$ac_res" >&6; }
10664 7586
10665fi 7587 for ac_header in $ac_header_list
10666if test `eval 'as_val=${'$as_ac_Header'} 7588do :
10667 $as_echo "$as_val"'` = yes; then 7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7590ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7591"
7592eval as_val=\$$as_ac_Header
7593 if test "x$as_val" = x""yes; then :
10668 cat >>confdefs.h <<_ACEOF 7594 cat >>confdefs.h <<_ACEOF
10669#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7595#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10670_ACEOF 7596_ACEOF
@@ -10674,118 +7600,32 @@ fi
10674done 7600done
10675 7601
10676 7602
10677for ac_func in getpagesize
10678do
10679as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10680{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10681$as_echo_n "checking for $ac_func... " >&6; }
10682if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10683 $as_echo_n "(cached) " >&6
10684else
10685 cat >conftest.$ac_ext <<_ACEOF
10686/* confdefs.h. */
10687_ACEOF
10688cat confdefs.h >>conftest.$ac_ext
10689cat >>conftest.$ac_ext <<_ACEOF
10690/* end confdefs.h. */
10691/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10693#define $ac_func innocuous_$ac_func
10694
10695/* System header to define __stub macros and hopefully few prototypes,
10696 which can conflict with char $ac_func (); below.
10697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10698 <limits.h> exists even on freestanding compilers. */
10699 7603
10700#ifdef __STDC__
10701# include <limits.h>
10702#else
10703# include <assert.h>
10704#endif
10705 7604
10706#undef $ac_func
10707 7605
10708/* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10711#ifdef __cplusplus
10712extern "C"
10713#endif
10714char $ac_func ();
10715/* The GNU C library defines this for functions which it implements
10716 to always fail with ENOSYS. Some functions are actually named
10717 something starting with __ and the normal name is an alias. */
10718#if defined __stub_$ac_func || defined __stub___$ac_func
10719choke me
10720#endif
10721 7606
10722int
10723main ()
10724{
10725return $ac_func ();
10726 ;
10727 return 0;
10728}
10729_ACEOF
10730rm -f conftest.$ac_objext conftest$ac_exeext
10731if { (ac_try="$ac_link"
10732case "(($ac_try" in
10733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10734 *) ac_try_echo=$ac_try;;
10735esac
10736eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10737$as_echo "$ac_try_echo") >&5
10738 (eval "$ac_link") 2>conftest.er1
10739 ac_status=$?
10740 grep -v '^ *+' conftest.er1 >conftest.err
10741 rm -f conftest.er1
10742 cat conftest.err >&5
10743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } && {
10745 test -z "$ac_c_werror_flag" ||
10746 test ! -s conftest.err
10747 } && test -s conftest$ac_exeext && {
10748 test "$cross_compiling" = yes ||
10749 $as_test_x conftest$ac_exeext
10750 }; then
10751 eval "$as_ac_var=yes"
10752else
10753 $as_echo "$as_me: failed program was:" >&5
10754sed 's/^/| /' conftest.$ac_ext >&5
10755 7607
10756 eval "$as_ac_var=no"
10757fi
10758 7608
10759rm -rf conftest.dSYM 7609for ac_func in getpagesize
10760rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7610do :
10761 conftest$ac_exeext conftest.$ac_ext 7611 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
10762fi 7612if test "x$ac_cv_func_getpagesize" = x""yes; then :
10763ac_res=`eval 'as_val=${'$as_ac_var'}
10764 $as_echo "$as_val"'`
10765 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10766$as_echo "$ac_res" >&6; }
10767if test `eval 'as_val=${'$as_ac_var'}
10768 $as_echo "$as_val"'` = yes; then
10769 cat >>confdefs.h <<_ACEOF 7613 cat >>confdefs.h <<_ACEOF
10770#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7614#define HAVE_GETPAGESIZE 1
10771_ACEOF 7615_ACEOF
10772 7616
10773fi 7617fi
10774done 7618done
10775 7619
10776{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5 7620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
10777$as_echo_n "checking for working mmap... " >&6; } 7621$as_echo_n "checking for working mmap... " >&6; }
10778if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 7622if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
10779 $as_echo_n "(cached) " >&6 7623 $as_echo_n "(cached) " >&6
10780else 7624else
10781 if test "$cross_compiling" = yes; then 7625 if test "$cross_compiling" = yes; then :
10782 ac_cv_func_mmap_fixed_mapped=no 7626 ac_cv_func_mmap_fixed_mapped=no
10783else 7627else
10784 cat >conftest.$ac_ext <<_ACEOF 7628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785/* confdefs.h. */
10786_ACEOF
10787cat confdefs.h >>conftest.$ac_ext
10788cat >>conftest.$ac_ext <<_ACEOF
10789/* end confdefs.h. */ 7629/* end confdefs.h. */
10790$ac_includes_default 7630$ac_includes_default
10791/* malloc might have been renamed as rpl_malloc. */ 7631/* malloc might have been renamed as rpl_malloc. */
@@ -10822,11 +7662,6 @@ char *malloc ();
10822 7662
10823/* This mess was copied from the GNU getpagesize.h. */ 7663/* This mess was copied from the GNU getpagesize.h. */
10824#ifndef HAVE_GETPAGESIZE 7664#ifndef HAVE_GETPAGESIZE
10825/* Assume that all systems that can run configure have sys/param.h. */
10826# ifndef HAVE_SYS_PARAM_H
10827# define HAVE_SYS_PARAM_H 1
10828# endif
10829
10830# ifdef _SC_PAGESIZE 7665# ifdef _SC_PAGESIZE
10831# define getpagesize() sysconf(_SC_PAGESIZE) 7666# define getpagesize() sysconf(_SC_PAGESIZE)
10832# else /* no _SC_PAGESIZE */ 7667# else /* no _SC_PAGESIZE */
@@ -10861,8 +7696,9 @@ int
10861main () 7696main ()
10862{ 7697{
10863 char *data, *data2, *data3; 7698 char *data, *data2, *data3;
7699 const char *cdata2;
10864 int i, pagesize; 7700 int i, pagesize;
10865 int fd; 7701 int fd, fd2;
10866 7702
10867 pagesize = getpagesize (); 7703 pagesize = getpagesize ();
10868 7704
@@ -10875,27 +7711,41 @@ main ()
10875 umask (0); 7711 umask (0);
10876 fd = creat ("conftest.mmap", 0600); 7712 fd = creat ("conftest.mmap", 0600);
10877 if (fd < 0) 7713 if (fd < 0)
10878 return 1; 7714 return 2;
10879 if (write (fd, data, pagesize) != pagesize) 7715 if (write (fd, data, pagesize) != pagesize)
10880 return 1; 7716 return 3;
10881 close (fd); 7717 close (fd);
10882 7718
7719 /* Next, check that the tail of a page is zero-filled. File must have
7720 non-zero length, otherwise we risk SIGBUS for entire page. */
7721 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7722 if (fd2 < 0)
7723 return 4;
7724 cdata2 = "";
7725 if (write (fd2, cdata2, 1) != 1)
7726 return 5;
7727 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7728 if (data2 == MAP_FAILED)
7729 return 6;
7730 for (i = 0; i < pagesize; ++i)
7731 if (*(data2 + i))
7732 return 7;
7733 close (fd2);
7734 if (munmap (data2, pagesize))
7735 return 8;
7736
10883 /* Next, try to mmap the file at a fixed address which already has 7737 /* Next, try to mmap the file at a fixed address which already has
10884 something else allocated at it. If we can, also make sure that 7738 something else allocated at it. If we can, also make sure that
10885 we see the same garbage. */ 7739 we see the same garbage. */
10886 fd = open ("conftest.mmap", O_RDWR); 7740 fd = open ("conftest.mmap", O_RDWR);
10887 if (fd < 0) 7741 if (fd < 0)
10888 return 1; 7742 return 9;
10889 data2 = (char *) malloc (2 * pagesize);
10890 if (!data2)
10891 return 1;
10892 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
10893 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 7743 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10894 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 7744 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10895 return 1; 7745 return 10;
10896 for (i = 0; i < pagesize; ++i) 7746 for (i = 0; i < pagesize; ++i)
10897 if (*(data + i) != *(data2 + i)) 7747 if (*(data + i) != *(data2 + i))
10898 return 1; 7748 return 11;
10899 7749
10900 /* Finally, make sure that changes to the mapped area do not 7750 /* Finally, make sure that changes to the mapped area do not
10901 percolate back to the file as seen by read(). (This is a bug on 7751 percolate back to the file as seen by read(). (This is a bug on
@@ -10904,63 +7754,34 @@ main ()
10904 *(data2 + i) = *(data2 + i) + 1; 7754 *(data2 + i) = *(data2 + i) + 1;
10905 data3 = (char *) malloc (pagesize); 7755 data3 = (char *) malloc (pagesize);
10906 if (!data3) 7756 if (!data3)
10907 return 1; 7757 return 12;
10908 if (read (fd, data3, pagesize) != pagesize) 7758 if (read (fd, data3, pagesize) != pagesize)
10909 return 1; 7759 return 13;
10910 for (i = 0; i < pagesize; ++i) 7760 for (i = 0; i < pagesize; ++i)
10911 if (*(data + i) != *(data3 + i)) 7761 if (*(data + i) != *(data3 + i))
10912 return 1; 7762 return 14;
10913 close (fd); 7763 close (fd);
10914 return 0; 7764 return 0;
10915} 7765}
10916_ACEOF 7766_ACEOF
10917rm -f conftest$ac_exeext 7767if ac_fn_c_try_run "$LINENO"; then :
10918if { (ac_try="$ac_link"
10919case "(($ac_try" in
10920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10921 *) ac_try_echo=$ac_try;;
10922esac
10923eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10924$as_echo "$ac_try_echo") >&5
10925 (eval "$ac_link") 2>&5
10926 ac_status=$?
10927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10929 { (case "(($ac_try" in
10930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10931 *) ac_try_echo=$ac_try;;
10932esac
10933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10934$as_echo "$ac_try_echo") >&5
10935 (eval "$ac_try") 2>&5
10936 ac_status=$?
10937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); }; }; then
10939 ac_cv_func_mmap_fixed_mapped=yes 7768 ac_cv_func_mmap_fixed_mapped=yes
10940else 7769else
10941 $as_echo "$as_me: program exited with status $ac_status" >&5 7770 ac_cv_func_mmap_fixed_mapped=no
10942$as_echo "$as_me: failed program was:" >&5
10943sed 's/^/| /' conftest.$ac_ext >&5
10944
10945( exit $ac_status )
10946ac_cv_func_mmap_fixed_mapped=no
10947fi 7771fi
10948rm -rf conftest.dSYM 7772rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10949rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7773 conftest.$ac_objext conftest.beam conftest.$ac_ext
10950fi 7774fi
10951 7775
10952
10953fi 7776fi
10954{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 7777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
10955$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 7778$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
10956if test $ac_cv_func_mmap_fixed_mapped = yes; then 7779if test $ac_cv_func_mmap_fixed_mapped = yes; then
10957 7780
10958cat >>confdefs.h <<\_ACEOF 7781$as_echo "#define HAVE_MMAP 1" >>confdefs.h
10959#define HAVE_MMAP 1
10960_ACEOF
10961 7782
10962fi 7783fi
10963rm -f conftest.mmap 7784rm -f conftest.mmap conftest.txt
10964 7785
10965if test $use_mmap_for_buffers = yes; then 7786if test $use_mmap_for_buffers = yes; then
10966 REL_ALLOC=no 7787 REL_ALLOC=no
@@ -10968,19 +7789,14 @@ fi
10968 7789
10969LIBS="$LIBS_SYSTEM $LIBS" 7790LIBS="$LIBS_SYSTEM $LIBS"
10970 7791
10971 7792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10972{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10973$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 7793$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10974if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 7794if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
10975 $as_echo_n "(cached) " >&6 7795 $as_echo_n "(cached) " >&6
10976else 7796else
10977 ac_check_lib_save_LIBS=$LIBS 7797 ac_check_lib_save_LIBS=$LIBS
10978LIBS="-ldnet $LIBS" 7798LIBS="-ldnet $LIBS"
10979cat >conftest.$ac_ext <<_ACEOF 7799cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980/* confdefs.h. */
10981_ACEOF
10982cat confdefs.h >>conftest.$ac_ext
10983cat >>conftest.$ac_ext <<_ACEOF
10984/* end confdefs.h. */ 7800/* end confdefs.h. */
10985 7801
10986/* Override any GCC internal prototype to avoid an error. 7802/* Override any GCC internal prototype to avoid an error.
@@ -10998,43 +7814,18 @@ return dnet_ntoa ();
10998 return 0; 7814 return 0;
10999} 7815}
11000_ACEOF 7816_ACEOF
11001rm -f conftest.$ac_objext conftest$ac_exeext 7817if ac_fn_c_try_link "$LINENO"; then :
11002if { (ac_try="$ac_link"
11003case "(($ac_try" in
11004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11005 *) ac_try_echo=$ac_try;;
11006esac
11007eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11008$as_echo "$ac_try_echo") >&5
11009 (eval "$ac_link") 2>conftest.er1
11010 ac_status=$?
11011 grep -v '^ *+' conftest.er1 >conftest.err
11012 rm -f conftest.er1
11013 cat conftest.err >&5
11014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } && {
11016 test -z "$ac_c_werror_flag" ||
11017 test ! -s conftest.err
11018 } && test -s conftest$ac_exeext && {
11019 test "$cross_compiling" = yes ||
11020 $as_test_x conftest$ac_exeext
11021 }; then
11022 ac_cv_lib_dnet_dnet_ntoa=yes 7818 ac_cv_lib_dnet_dnet_ntoa=yes
11023else 7819else
11024 $as_echo "$as_me: failed program was:" >&5 7820 ac_cv_lib_dnet_dnet_ntoa=no
11025sed 's/^/| /' conftest.$ac_ext >&5
11026
11027 ac_cv_lib_dnet_dnet_ntoa=no
11028fi 7821fi
11029 7822rm -f core conftest.err conftest.$ac_objext \
11030rm -rf conftest.dSYM 7823 conftest$ac_exeext conftest.$ac_ext
11031rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11032 conftest$ac_exeext conftest.$ac_ext
11033LIBS=$ac_check_lib_save_LIBS 7824LIBS=$ac_check_lib_save_LIBS
11034fi 7825fi
11035{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 7826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11036$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 7827$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11037if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 7828if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
11038 cat >>confdefs.h <<_ACEOF 7829 cat >>confdefs.h <<_ACEOF
11039#define HAVE_LIBDNET 1 7830#define HAVE_LIBDNET 1
11040_ACEOF 7831_ACEOF
@@ -11044,18 +7835,14 @@ _ACEOF
11044fi 7835fi
11045 7836
11046 7837
11047{ $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 7838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
11048$as_echo_n "checking for main in -lXbsd... " >&6; } 7839$as_echo_n "checking for main in -lXbsd... " >&6; }
11049if test "${ac_cv_lib_Xbsd_main+set}" = set; then 7840if test "${ac_cv_lib_Xbsd_main+set}" = set; then :
11050 $as_echo_n "(cached) " >&6 7841 $as_echo_n "(cached) " >&6
11051else 7842else
11052 ac_check_lib_save_LIBS=$LIBS 7843 ac_check_lib_save_LIBS=$LIBS
11053LIBS="-lXbsd $LIBS" 7844LIBS="-lXbsd $LIBS"
11054cat >conftest.$ac_ext <<_ACEOF 7845cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055/* confdefs.h. */
11056_ACEOF
11057cat confdefs.h >>conftest.$ac_ext
11058cat >>conftest.$ac_ext <<_ACEOF
11059/* end confdefs.h. */ 7846/* end confdefs.h. */
11060 7847
11061 7848
@@ -11067,60 +7854,30 @@ return main ();
11067 return 0; 7854 return 0;
11068} 7855}
11069_ACEOF 7856_ACEOF
11070rm -f conftest.$ac_objext conftest$ac_exeext 7857if ac_fn_c_try_link "$LINENO"; then :
11071if { (ac_try="$ac_link"
11072case "(($ac_try" in
11073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11074 *) ac_try_echo=$ac_try;;
11075esac
11076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11077$as_echo "$ac_try_echo") >&5
11078 (eval "$ac_link") 2>conftest.er1
11079 ac_status=$?
11080 grep -v '^ *+' conftest.er1 >conftest.err
11081 rm -f conftest.er1
11082 cat conftest.err >&5
11083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); } && {
11085 test -z "$ac_c_werror_flag" ||
11086 test ! -s conftest.err
11087 } && test -s conftest$ac_exeext && {
11088 test "$cross_compiling" = yes ||
11089 $as_test_x conftest$ac_exeext
11090 }; then
11091 ac_cv_lib_Xbsd_main=yes 7858 ac_cv_lib_Xbsd_main=yes
11092else 7859else
11093 $as_echo "$as_me: failed program was:" >&5 7860 ac_cv_lib_Xbsd_main=no
11094sed 's/^/| /' conftest.$ac_ext >&5
11095
11096 ac_cv_lib_Xbsd_main=no
11097fi 7861fi
11098 7862rm -f core conftest.err conftest.$ac_objext \
11099rm -rf conftest.dSYM 7863 conftest$ac_exeext conftest.$ac_ext
11100rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11101 conftest$ac_exeext conftest.$ac_ext
11102LIBS=$ac_check_lib_save_LIBS 7864LIBS=$ac_check_lib_save_LIBS
11103fi 7865fi
11104{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 7866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
11105$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 7867$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
11106if test $ac_cv_lib_Xbsd_main = yes; then 7868if test "x$ac_cv_lib_Xbsd_main" = x""yes; then :
11107 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 7869 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
11108fi 7870fi
11109 7871
11110 7872
11111 7873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
11112{ $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
11113$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 7874$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
11114if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 7875if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then :
11115 $as_echo_n "(cached) " >&6 7876 $as_echo_n "(cached) " >&6
11116else 7877else
11117 ac_check_lib_save_LIBS=$LIBS 7878 ac_check_lib_save_LIBS=$LIBS
11118LIBS="-lpthreads $LIBS" 7879LIBS="-lpthreads $LIBS"
11119cat >conftest.$ac_ext <<_ACEOF 7880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120/* confdefs.h. */
11121_ACEOF
11122cat confdefs.h >>conftest.$ac_ext
11123cat >>conftest.$ac_ext <<_ACEOF
11124/* end confdefs.h. */ 7881/* end confdefs.h. */
11125 7882
11126/* Override any GCC internal prototype to avoid an error. 7883/* Override any GCC internal prototype to avoid an error.
@@ -11138,43 +7895,18 @@ return cma_open ();
11138 return 0; 7895 return 0;
11139} 7896}
11140_ACEOF 7897_ACEOF
11141rm -f conftest.$ac_objext conftest$ac_exeext 7898if ac_fn_c_try_link "$LINENO"; then :
11142if { (ac_try="$ac_link"
11143case "(($ac_try" in
11144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11145 *) ac_try_echo=$ac_try;;
11146esac
11147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11148$as_echo "$ac_try_echo") >&5
11149 (eval "$ac_link") 2>conftest.er1
11150 ac_status=$?
11151 grep -v '^ *+' conftest.er1 >conftest.err
11152 rm -f conftest.er1
11153 cat conftest.err >&5
11154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } && {
11156 test -z "$ac_c_werror_flag" ||
11157 test ! -s conftest.err
11158 } && test -s conftest$ac_exeext && {
11159 test "$cross_compiling" = yes ||
11160 $as_test_x conftest$ac_exeext
11161 }; then
11162 ac_cv_lib_pthreads_cma_open=yes 7899 ac_cv_lib_pthreads_cma_open=yes
11163else 7900else
11164 $as_echo "$as_me: failed program was:" >&5 7901 ac_cv_lib_pthreads_cma_open=no
11165sed 's/^/| /' conftest.$ac_ext >&5
11166
11167 ac_cv_lib_pthreads_cma_open=no
11168fi 7902fi
11169 7903rm -f core conftest.err conftest.$ac_objext \
11170rm -rf conftest.dSYM 7904 conftest$ac_exeext conftest.$ac_ext
11171rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11172 conftest$ac_exeext conftest.$ac_ext
11173LIBS=$ac_check_lib_save_LIBS 7905LIBS=$ac_check_lib_save_LIBS
11174fi 7906fi
11175{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 7907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
11176$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 7908$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
11177if test $ac_cv_lib_pthreads_cma_open = yes; then 7909if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then :
11178 cat >>confdefs.h <<_ACEOF 7910 cat >>confdefs.h <<_ACEOF
11179#define HAVE_LIBPTHREADS 1 7911#define HAVE_LIBPTHREADS 1
11180_ACEOF 7912_ACEOF
@@ -11199,9 +7931,9 @@ test "$opsys" = "aix4-2" && \
11199 7931
11200case ${host_os} in 7932case ${host_os} in
11201aix*) 7933aix*)
11202 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
11203$as_echo_n "checking for -bbigtoc option... " >&6; } 7935$as_echo_n "checking for -bbigtoc option... " >&6; }
11204if test "${gdb_cv_bigtoc+set}" = set; then 7936if test "${gdb_cv_bigtoc+set}" = set; then :
11205 $as_echo_n "(cached) " >&6 7937 $as_echo_n "(cached) " >&6
11206else 7938else
11207 7939
@@ -11211,11 +7943,7 @@ else
11211 esac 7943 esac
11212 7944
11213 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc 7945 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
11214 cat >conftest.$ac_ext <<_ACEOF 7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215/* confdefs.h. */
11216_ACEOF
11217cat confdefs.h >>conftest.$ac_ext
11218cat >>conftest.$ac_ext <<_ACEOF
11219/* end confdefs.h. */ 7947/* end confdefs.h. */
11220 7948
11221int 7949int
@@ -11226,41 +7954,16 @@ int i;
11226 return 0; 7954 return 0;
11227} 7955}
11228_ACEOF 7956_ACEOF
11229rm -f conftest.$ac_objext conftest$ac_exeext 7957if ac_fn_c_try_link "$LINENO"; then :
11230if { (ac_try="$ac_link"
11231case "(($ac_try" in
11232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11233 *) ac_try_echo=$ac_try;;
11234esac
11235eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11236$as_echo "$ac_try_echo") >&5
11237 (eval "$ac_link") 2>conftest.er1
11238 ac_status=$?
11239 grep -v '^ *+' conftest.er1 >conftest.err
11240 rm -f conftest.er1
11241 cat conftest.err >&5
11242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } && {
11244 test -z "$ac_c_werror_flag" ||
11245 test ! -s conftest.err
11246 } && test -s conftest$ac_exeext && {
11247 test "$cross_compiling" = yes ||
11248 $as_test_x conftest$ac_exeext
11249 }; then
11250 :
11251else
11252 $as_echo "$as_me: failed program was:" >&5
11253sed 's/^/| /' conftest.$ac_ext >&5
11254 7958
11255 gdb_cv_bigtoc= 7959else
7960 gdb_cv_bigtoc=
11256fi 7961fi
11257 7962rm -f core conftest.err conftest.$ac_objext \
11258rm -rf conftest.dSYM 7963 conftest$ac_exeext conftest.$ac_ext
11259rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11260 conftest$ac_exeext conftest.$ac_ext
11261 7964
11262fi 7965fi
11263{ $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 7966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5
11264$as_echo "$gdb_cv_bigtoc" >&6; } 7967$as_echo "$gdb_cv_bigtoc" >&6; }
11265 ;; 7968 ;;
11266esac 7969esac
@@ -11288,13 +7991,9 @@ if test "${HAVE_X11}" = "yes"; then
11288 fi 7991 fi
11289 7992
11290 if test "${opsys}" = "gnu-linux"; then 7993 if test "${opsys}" = "gnu-linux"; then
11291 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5
11292$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } 7995$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; }
11293 cat >conftest.$ac_ext <<_ACEOF 7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294/* confdefs.h. */
11295_ACEOF
11296cat confdefs.h >>conftest.$ac_ext
11297cat >>conftest.$ac_ext <<_ACEOF
11298/* end confdefs.h. */ 7997/* end confdefs.h. */
11299 7998
11300int 7999int
@@ -11305,38 +8004,13 @@ XOpenDisplay ("foo");
11305 return 0; 8004 return 0;
11306} 8005}
11307_ACEOF 8006_ACEOF
11308rm -f conftest.$ac_objext conftest$ac_exeext 8007if ac_fn_c_try_link "$LINENO"; then :
11309if { (ac_try="$ac_link"
11310case "(($ac_try" in
11311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11312 *) ac_try_echo=$ac_try;;
11313esac
11314eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11315$as_echo "$ac_try_echo") >&5
11316 (eval "$ac_link") 2>conftest.er1
11317 ac_status=$?
11318 grep -v '^ *+' conftest.er1 >conftest.err
11319 rm -f conftest.er1
11320 cat conftest.err >&5
11321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } && {
11323 test -z "$ac_c_werror_flag" ||
11324 test ! -s conftest.err
11325 } && test -s conftest$ac_exeext && {
11326 test "$cross_compiling" = yes ||
11327 $as_test_x conftest$ac_exeext
11328 }; then
11329 xlinux_first_failure=no 8008 xlinux_first_failure=no
11330else 8009else
11331 $as_echo "$as_me: failed program was:" >&5 8010 xlinux_first_failure=yes
11332sed 's/^/| /' conftest.$ac_ext >&5
11333
11334 xlinux_first_failure=yes
11335fi 8011fi
11336 8012rm -f core conftest.err conftest.$ac_objext \
11337rm -rf conftest.dSYM 8013 conftest$ac_exeext conftest.$ac_ext
11338rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11339 conftest$ac_exeext conftest.$ac_ext
11340 if test "${xlinux_first_failure}" = "yes"; then 8014 if test "${xlinux_first_failure}" = "yes"; then
11341 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 8015 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
11342 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 8016 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
@@ -11346,11 +8020,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11346 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 8020 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
11347 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 8021 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
11348 LIBS="$LIBS -b i486-linuxaout" 8022 LIBS="$LIBS -b i486-linuxaout"
11349 cat >conftest.$ac_ext <<_ACEOF 8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350/* confdefs.h. */
11351_ACEOF
11352cat confdefs.h >>conftest.$ac_ext
11353cat >>conftest.$ac_ext <<_ACEOF
11354/* end confdefs.h. */ 8024/* end confdefs.h. */
11355 8025
11356int 8026int
@@ -11361,38 +8031,13 @@ XOpenDisplay ("foo");
11361 return 0; 8031 return 0;
11362} 8032}
11363_ACEOF 8033_ACEOF
11364rm -f conftest.$ac_objext conftest$ac_exeext 8034if ac_fn_c_try_link "$LINENO"; then :
11365if { (ac_try="$ac_link"
11366case "(($ac_try" in
11367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11368 *) ac_try_echo=$ac_try;;
11369esac
11370eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11371$as_echo "$ac_try_echo") >&5
11372 (eval "$ac_link") 2>conftest.er1
11373 ac_status=$?
11374 grep -v '^ *+' conftest.er1 >conftest.err
11375 rm -f conftest.er1
11376 cat conftest.err >&5
11377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } && {
11379 test -z "$ac_c_werror_flag" ||
11380 test ! -s conftest.err
11381 } && test -s conftest$ac_exeext && {
11382 test "$cross_compiling" = yes ||
11383 $as_test_x conftest$ac_exeext
11384 }; then
11385 xlinux_second_failure=no 8035 xlinux_second_failure=no
11386else 8036else
11387 $as_echo "$as_me: failed program was:" >&5 8037 xlinux_second_failure=yes
11388sed 's/^/| /' conftest.$ac_ext >&5
11389
11390 xlinux_second_failure=yes
11391fi 8038fi
11392 8039rm -f core conftest.err conftest.$ac_objext \
11393rm -rf conftest.dSYM 8040 conftest$ac_exeext conftest.$ac_ext
11394rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11395 conftest$ac_exeext conftest.$ac_ext
11396 if test "${xlinux_second_failure}" = "yes"; then 8041 if test "${xlinux_second_failure}" = "yes"; then
11397 # If we get the same failure with -b, there is no use adding -b. 8042 # If we get the same failure with -b, there is no use adding -b.
11398 # So take it out. This plays safe. 8043 # So take it out. This plays safe.
@@ -11400,27 +8045,23 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11400 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 8045 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
11401 CPPFLAGS="$OLD_CPPFLAGS" 8046 CPPFLAGS="$OLD_CPPFLAGS"
11402 LIBS="$OLD_LIBS" 8047 LIBS="$OLD_LIBS"
11403 { $as_echo "$as_me:$LINENO: result: no" >&5 8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11404$as_echo "no" >&6; } 8049$as_echo "no" >&6; }
11405 else 8050 else
11406 { $as_echo "$as_me:$LINENO: result: yes" >&5 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11407$as_echo "yes" >&6; } 8052$as_echo "yes" >&6; }
11408 fi 8053 fi
11409 else 8054 else
11410 { $as_echo "$as_me:$LINENO: result: no" >&5 8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11411$as_echo "no" >&6; } 8056$as_echo "no" >&6; }
11412 fi 8057 fi
11413 fi 8058 fi
11414 8059
11415 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 8060 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
11416 # header files included from there. 8061 # header files included from there.
11417 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5
11418$as_echo_n "checking for Xkb... " >&6; } 8063$as_echo_n "checking for Xkb... " >&6; }
11419 cat >conftest.$ac_ext <<_ACEOF 8064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420/* confdefs.h. */
11421_ACEOF
11422cat confdefs.h >>conftest.$ac_ext
11423cat >>conftest.$ac_ext <<_ACEOF
11424/* end confdefs.h. */ 8065/* end confdefs.h. */
11425#include <X11/Xlib.h> 8066#include <X11/Xlib.h>
11426#include <X11/XKBlib.h> 8067#include <X11/XKBlib.h>
@@ -11432,145 +8073,28 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
11432 return 0; 8073 return 0;
11433} 8074}
11434_ACEOF 8075_ACEOF
11435rm -f conftest.$ac_objext conftest$ac_exeext 8076if ac_fn_c_try_link "$LINENO"; then :
11436if { (ac_try="$ac_link"
11437case "(($ac_try" in
11438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11439 *) ac_try_echo=$ac_try;;
11440esac
11441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11442$as_echo "$ac_try_echo") >&5
11443 (eval "$ac_link") 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } && {
11450 test -z "$ac_c_werror_flag" ||
11451 test ! -s conftest.err
11452 } && test -s conftest$ac_exeext && {
11453 test "$cross_compiling" = yes ||
11454 $as_test_x conftest$ac_exeext
11455 }; then
11456 emacs_xkb=yes 8077 emacs_xkb=yes
11457else 8078else
11458 $as_echo "$as_me: failed program was:" >&5 8079 emacs_xkb=no
11459sed 's/^/| /' conftest.$ac_ext >&5
11460
11461 emacs_xkb=no
11462fi 8080fi
11463 8081rm -f core conftest.err conftest.$ac_objext \
11464rm -rf conftest.dSYM 8082 conftest$ac_exeext conftest.$ac_ext
11465rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5
11466 conftest$ac_exeext conftest.$ac_ext
11467 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5
11468$as_echo "$emacs_xkb" >&6; } 8084$as_echo "$emacs_xkb" >&6; }
11469 if test $emacs_xkb = yes; then 8085 if test $emacs_xkb = yes; then
11470 8086
11471cat >>confdefs.h <<\_ACEOF 8087$as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h
11472#define HAVE_XKBGETKEYBOARD 1
11473_ACEOF
11474 8088
11475 fi 8089 fi
11476 8090
11477 8091 for ac_func in XrmSetDatabase XScreenResourceString \
11478
11479
11480
11481for ac_func in XrmSetDatabase XScreenResourceString \
11482XScreenNumberOfScreen XSetWMProtocols 8092XScreenNumberOfScreen XSetWMProtocols
11483do 8093do :
11484as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11485{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8095ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11486$as_echo_n "checking for $ac_func... " >&6; } 8096eval as_val=\$$as_ac_var
11487if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8097 if test "x$as_val" = x""yes; then :
11488 $as_echo_n "(cached) " >&6
11489else
11490 cat >conftest.$ac_ext <<_ACEOF
11491/* confdefs.h. */
11492_ACEOF
11493cat confdefs.h >>conftest.$ac_ext
11494cat >>conftest.$ac_ext <<_ACEOF
11495/* end confdefs.h. */
11496/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11498#define $ac_func innocuous_$ac_func
11499
11500/* System header to define __stub macros and hopefully few prototypes,
11501 which can conflict with char $ac_func (); below.
11502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11503 <limits.h> exists even on freestanding compilers. */
11504
11505#ifdef __STDC__
11506# include <limits.h>
11507#else
11508# include <assert.h>
11509#endif
11510
11511#undef $ac_func
11512
11513/* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516#ifdef __cplusplus
11517extern "C"
11518#endif
11519char $ac_func ();
11520/* The GNU C library defines this for functions which it implements
11521 to always fail with ENOSYS. Some functions are actually named
11522 something starting with __ and the normal name is an alias. */
11523#if defined __stub_$ac_func || defined __stub___$ac_func
11524choke me
11525#endif
11526
11527int
11528main ()
11529{
11530return $ac_func ();
11531 ;
11532 return 0;
11533}
11534_ACEOF
11535rm -f conftest.$ac_objext conftest$ac_exeext
11536if { (ac_try="$ac_link"
11537case "(($ac_try" in
11538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11539 *) ac_try_echo=$ac_try;;
11540esac
11541eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11542$as_echo "$ac_try_echo") >&5
11543 (eval "$ac_link") 2>conftest.er1
11544 ac_status=$?
11545 grep -v '^ *+' conftest.er1 >conftest.err
11546 rm -f conftest.er1
11547 cat conftest.err >&5
11548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); } && {
11550 test -z "$ac_c_werror_flag" ||
11551 test ! -s conftest.err
11552 } && test -s conftest$ac_exeext && {
11553 test "$cross_compiling" = yes ||
11554 $as_test_x conftest$ac_exeext
11555 }; then
11556 eval "$as_ac_var=yes"
11557else
11558 $as_echo "$as_me: failed program was:" >&5
11559sed 's/^/| /' conftest.$ac_ext >&5
11560
11561 eval "$as_ac_var=no"
11562fi
11563
11564rm -rf conftest.dSYM
11565rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11566 conftest$ac_exeext conftest.$ac_ext
11567fi
11568ac_res=`eval 'as_val=${'$as_ac_var'}
11569 $as_echo "$as_val"'`
11570 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11571$as_echo "$ac_res" >&6; }
11572if test `eval 'as_val=${'$as_ac_var'}
11573 $as_echo "$as_val"'` = yes; then
11574 cat >>confdefs.h <<_ACEOF 8098 cat >>confdefs.h <<_ACEOF
11575#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8099#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11576_ACEOF 8100_ACEOF
@@ -11581,16 +8105,12 @@ done
11581fi 8105fi
11582 8106
11583if test "${window_system}" = "x11"; then 8107if test "${window_system}" = "x11"; then
11584 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
11585$as_echo_n "checking X11 version 6... " >&6; } 8109$as_echo_n "checking X11 version 6... " >&6; }
11586 if test "${emacs_cv_x11_version_6+set}" = set; then 8110 if test "${emacs_cv_x11_version_6+set}" = set; then :
11587 $as_echo_n "(cached) " >&6 8111 $as_echo_n "(cached) " >&6
11588else 8112else
11589 cat >conftest.$ac_ext <<_ACEOF 8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590/* confdefs.h. */
11591_ACEOF
11592cat confdefs.h >>conftest.$ac_ext
11593cat >>conftest.$ac_ext <<_ACEOF
11594/* end confdefs.h. */ 8114/* end confdefs.h. */
11595#include <X11/Xlib.h> 8115#include <X11/Xlib.h>
11596int 8116int
@@ -11604,50 +8124,23 @@ fail;
11604 return 0; 8124 return 0;
11605} 8125}
11606_ACEOF 8126_ACEOF
11607rm -f conftest.$ac_objext conftest$ac_exeext 8127if ac_fn_c_try_link "$LINENO"; then :
11608if { (ac_try="$ac_link"
11609case "(($ac_try" in
11610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11611 *) ac_try_echo=$ac_try;;
11612esac
11613eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11614$as_echo "$ac_try_echo") >&5
11615 (eval "$ac_link") 2>conftest.er1
11616 ac_status=$?
11617 grep -v '^ *+' conftest.er1 >conftest.err
11618 rm -f conftest.er1
11619 cat conftest.err >&5
11620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } && {
11622 test -z "$ac_c_werror_flag" ||
11623 test ! -s conftest.err
11624 } && test -s conftest$ac_exeext && {
11625 test "$cross_compiling" = yes ||
11626 $as_test_x conftest$ac_exeext
11627 }; then
11628 emacs_cv_x11_version_6=yes 8128 emacs_cv_x11_version_6=yes
11629else 8129else
11630 $as_echo "$as_me: failed program was:" >&5 8130 emacs_cv_x11_version_6=no
11631sed 's/^/| /' conftest.$ac_ext >&5
11632
11633 emacs_cv_x11_version_6=no
11634fi 8131fi
11635 8132rm -f core conftest.err conftest.$ac_objext \
11636rm -rf conftest.dSYM 8133 conftest$ac_exeext conftest.$ac_ext
11637rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11638 conftest$ac_exeext conftest.$ac_ext
11639fi 8134fi
11640 8135
11641 if test $emacs_cv_x11_version_6 = yes; then 8136 if test $emacs_cv_x11_version_6 = yes; then
11642 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5
11643$as_echo "6 or newer" >&6; } 8138$as_echo "6 or newer" >&6; }
11644 8139
11645cat >>confdefs.h <<\_ACEOF 8140$as_echo "#define HAVE_X11R6 1" >>confdefs.h
11646#define HAVE_X11R6 1
11647_ACEOF
11648 8141
11649 else 8142 else
11650 { $as_echo "$as_me:$LINENO: result: before 6" >&5 8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5
11651$as_echo "before 6" >&6; } 8144$as_echo "before 6" >&6; }
11652 fi 8145 fi
11653fi 8146fi
@@ -11665,9 +8158,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
11665 8158
11666 # Extract the first word of "pkg-config", so it can be a program name with args. 8159 # Extract the first word of "pkg-config", so it can be a program name with args.
11667set dummy pkg-config; ac_word=$2 8160set dummy pkg-config; ac_word=$2
11668{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11669$as_echo_n "checking for $ac_word... " >&6; } 8162$as_echo_n "checking for $ac_word... " >&6; }
11670if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8163if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11671 $as_echo_n "(cached) " >&6 8164 $as_echo_n "(cached) " >&6
11672else 8165else
11673 case $PKG_CONFIG in 8166 case $PKG_CONFIG in
@@ -11680,14 +8173,14 @@ for as_dir in $PATH
11680do 8173do
11681 IFS=$as_save_IFS 8174 IFS=$as_save_IFS
11682 test -z "$as_dir" && as_dir=. 8175 test -z "$as_dir" && as_dir=.
11683 for ac_exec_ext in '' $ac_executable_extensions; do 8176 for ac_exec_ext in '' $ac_executable_extensions; do
11684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11685 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8178 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11686 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11687 break 2 8180 break 2
11688 fi 8181 fi
11689done 8182done
11690done 8183 done
11691IFS=$as_save_IFS 8184IFS=$as_save_IFS
11692 8185
11693 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8186 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -11696,10 +8189,10 @@ esac
11696fi 8189fi
11697PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8190PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11698if test -n "$PKG_CONFIG"; then 8191if test -n "$PKG_CONFIG"; then
11699 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11700$as_echo "$PKG_CONFIG" >&6; } 8193$as_echo "$PKG_CONFIG" >&6; }
11701else 8194else
11702 { $as_echo "$as_me:$LINENO: result: no" >&5 8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703$as_echo "no" >&6; } 8196$as_echo "no" >&6; }
11704fi 8197fi
11705 8198
@@ -11710,27 +8203,27 @@ fi
11710 else 8203 else
11711 PKG_CONFIG_MIN_VERSION=0.9.0 8204 PKG_CONFIG_MIN_VERSION=0.9.0
11712 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8205 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11713 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5
11714$as_echo_n "checking for $RSVG_MODULE... " >&6; } 8207$as_echo_n "checking for $RSVG_MODULE... " >&6; }
11715 8208
11716 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 8209 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
11717 { $as_echo "$as_me:$LINENO: result: yes" >&5 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11718$as_echo "yes" >&6; } 8211$as_echo "yes" >&6; }
11719 succeeded=yes 8212 succeeded=yes
11720 8213
11721 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5
11722$as_echo_n "checking RSVG_CFLAGS... " >&6; } 8215$as_echo_n "checking RSVG_CFLAGS... " >&6; }
11723 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 8216 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11724 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5
11725$as_echo "$RSVG_CFLAGS" >&6; } 8218$as_echo "$RSVG_CFLAGS" >&6; }
11726 8219
11727 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5
11728$as_echo_n "checking RSVG_LIBS... " >&6; } 8221$as_echo_n "checking RSVG_LIBS... " >&6; }
11729 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 8222 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11730 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5
11731$as_echo "$RSVG_LIBS" >&6; } 8224$as_echo "$RSVG_LIBS" >&6; }
11732 else 8225 else
11733 { $as_echo "$as_me:$LINENO: result: no" >&5 8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11734$as_echo "no" >&6; } 8227$as_echo "no" >&6; }
11735 RSVG_CFLAGS="" 8228 RSVG_CFLAGS=""
11736 RSVG_LIBS="" 8229 RSVG_LIBS=""
@@ -11760,9 +8253,7 @@ $as_echo "no" >&6; }
11760 if test ".${RSVG_CFLAGS}" != "."; then 8253 if test ".${RSVG_CFLAGS}" != "."; then
11761 HAVE_RSVG=yes 8254 HAVE_RSVG=yes
11762 8255
11763cat >>confdefs.h <<\_ACEOF 8256$as_echo "#define HAVE_RSVG 1" >>confdefs.h
11764#define HAVE_RSVG 1
11765_ACEOF
11766 8257
11767 CFLAGS="$CFLAGS $RSVG_CFLAGS" 8258 CFLAGS="$CFLAGS $RSVG_CFLAGS"
11768 LIBS="$RSVG_LIBS $LIBS" 8259 LIBS="$RSVG_LIBS $LIBS"
@@ -11782,9 +8273,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
11782 8273
11783 # Extract the first word of "pkg-config", so it can be a program name with args. 8274 # Extract the first word of "pkg-config", so it can be a program name with args.
11784set dummy pkg-config; ac_word=$2 8275set dummy pkg-config; ac_word=$2
11785{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11786$as_echo_n "checking for $ac_word... " >&6; } 8277$as_echo_n "checking for $ac_word... " >&6; }
11787if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8278if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11788 $as_echo_n "(cached) " >&6 8279 $as_echo_n "(cached) " >&6
11789else 8280else
11790 case $PKG_CONFIG in 8281 case $PKG_CONFIG in
@@ -11797,14 +8288,14 @@ for as_dir in $PATH
11797do 8288do
11798 IFS=$as_save_IFS 8289 IFS=$as_save_IFS
11799 test -z "$as_dir" && as_dir=. 8290 test -z "$as_dir" && as_dir=.
11800 for ac_exec_ext in '' $ac_executable_extensions; do 8291 for ac_exec_ext in '' $ac_executable_extensions; do
11801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11802 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8293 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11803 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11804 break 2 8295 break 2
11805 fi 8296 fi
11806done 8297done
11807done 8298 done
11808IFS=$as_save_IFS 8299IFS=$as_save_IFS
11809 8300
11810 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8301 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -11813,10 +8304,10 @@ esac
11813fi 8304fi
11814PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8305PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11815if test -n "$PKG_CONFIG"; then 8306if test -n "$PKG_CONFIG"; then
11816 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11817$as_echo "$PKG_CONFIG" >&6; } 8308$as_echo "$PKG_CONFIG" >&6; }
11818else 8309else
11819 { $as_echo "$as_me:$LINENO: result: no" >&5 8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11820$as_echo "no" >&6; } 8311$as_echo "no" >&6; }
11821fi 8312fi
11822 8313
@@ -11827,27 +8318,27 @@ fi
11827 else 8318 else
11828 PKG_CONFIG_MIN_VERSION=0.9.0 8319 PKG_CONFIG_MIN_VERSION=0.9.0
11829 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8320 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11830 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5
11831$as_echo_n "checking for $GTK_MODULES... " >&6; } 8322$as_echo_n "checking for $GTK_MODULES... " >&6; }
11832 8323
11833 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 8324 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
11834 { $as_echo "$as_me:$LINENO: result: yes" >&5 8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11835$as_echo "yes" >&6; } 8326$as_echo "yes" >&6; }
11836 succeeded=yes 8327 succeeded=yes
11837 8328
11838 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
11839$as_echo_n "checking GTK_CFLAGS... " >&6; } 8330$as_echo_n "checking GTK_CFLAGS... " >&6; }
11840 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 8331 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
11841 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
11842$as_echo "$GTK_CFLAGS" >&6; } 8333$as_echo "$GTK_CFLAGS" >&6; }
11843 8334
11844 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
11845$as_echo_n "checking GTK_LIBS... " >&6; } 8336$as_echo_n "checking GTK_LIBS... " >&6; }
11846 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 8337 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
11847 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
11848$as_echo "$GTK_LIBS" >&6; } 8339$as_echo "$GTK_LIBS" >&6; }
11849 else 8340 else
11850 { $as_echo "$as_me:$LINENO: result: no" >&5 8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851$as_echo "no" >&6; } 8342$as_echo "no" >&6; }
11852 GTK_CFLAGS="" 8343 GTK_CFLAGS=""
11853 GTK_LIBS="" 8344 GTK_LIBS=""
@@ -11872,9 +8363,7 @@ $as_echo "no" >&6; }
11872 fi 8363 fi
11873 8364
11874 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8365 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
11875 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 8366 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
11876$as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11877 { (exit 1); exit 1; }; }
11878 fi 8367 fi
11879fi 8368fi
11880 8369
@@ -11888,101 +8377,12 @@ if test x"$pkg_check_gtk" = xyes; then
11888 CFLAGS="$CFLAGS $GTK_CFLAGS" 8377 CFLAGS="$CFLAGS $GTK_CFLAGS"
11889 LIBS="$GTK_LIBS $LIBS" 8378 LIBS="$GTK_LIBS $LIBS"
11890 GTK_COMPILES=no 8379 GTK_COMPILES=no
11891 8380 for ac_func in gtk_main
11892for ac_func in gtk_main 8381do :
11893do 8382 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
11894as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8383if test "x$ac_cv_func_gtk_main" = x""yes; then :
11895{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11896$as_echo_n "checking for $ac_func... " >&6; }
11897if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11898 $as_echo_n "(cached) " >&6
11899else
11900 cat >conftest.$ac_ext <<_ACEOF
11901/* confdefs.h. */
11902_ACEOF
11903cat confdefs.h >>conftest.$ac_ext
11904cat >>conftest.$ac_ext <<_ACEOF
11905/* end confdefs.h. */
11906/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11908#define $ac_func innocuous_$ac_func
11909
11910/* System header to define __stub macros and hopefully few prototypes,
11911 which can conflict with char $ac_func (); below.
11912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11913 <limits.h> exists even on freestanding compilers. */
11914
11915#ifdef __STDC__
11916# include <limits.h>
11917#else
11918# include <assert.h>
11919#endif
11920
11921#undef $ac_func
11922
11923/* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11926#ifdef __cplusplus
11927extern "C"
11928#endif
11929char $ac_func ();
11930/* The GNU C library defines this for functions which it implements
11931 to always fail with ENOSYS. Some functions are actually named
11932 something starting with __ and the normal name is an alias. */
11933#if defined __stub_$ac_func || defined __stub___$ac_func
11934choke me
11935#endif
11936
11937int
11938main ()
11939{
11940return $ac_func ();
11941 ;
11942 return 0;
11943}
11944_ACEOF
11945rm -f conftest.$ac_objext conftest$ac_exeext
11946if { (ac_try="$ac_link"
11947case "(($ac_try" in
11948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11949 *) ac_try_echo=$ac_try;;
11950esac
11951eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11952$as_echo "$ac_try_echo") >&5
11953 (eval "$ac_link") 2>conftest.er1
11954 ac_status=$?
11955 grep -v '^ *+' conftest.er1 >conftest.err
11956 rm -f conftest.er1
11957 cat conftest.err >&5
11958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } && {
11960 test -z "$ac_c_werror_flag" ||
11961 test ! -s conftest.err
11962 } && test -s conftest$ac_exeext && {
11963 test "$cross_compiling" = yes ||
11964 $as_test_x conftest$ac_exeext
11965 }; then
11966 eval "$as_ac_var=yes"
11967else
11968 $as_echo "$as_me: failed program was:" >&5
11969sed 's/^/| /' conftest.$ac_ext >&5
11970
11971 eval "$as_ac_var=no"
11972fi
11973
11974rm -rf conftest.dSYM
11975rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11976 conftest$ac_exeext conftest.$ac_ext
11977fi
11978ac_res=`eval 'as_val=${'$as_ac_var'}
11979 $as_echo "$as_val"'`
11980 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11981$as_echo "$ac_res" >&6; }
11982if test `eval 'as_val=${'$as_ac_var'}
11983 $as_echo "$as_val"'` = yes; then
11984 cat >>confdefs.h <<_ACEOF 8384 cat >>confdefs.h <<_ACEOF
11985#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8385#define HAVE_GTK_MAIN 1
11986_ACEOF 8386_ACEOF
11987 GTK_COMPILES=yes 8387 GTK_COMPILES=yes
11988fi 8388fi
@@ -11990,23 +8390,19 @@ done
11990 8390
11991 if test "${GTK_COMPILES}" != "yes"; then 8391 if test "${GTK_COMPILES}" != "yes"; then
11992 if test "$USE_X_TOOLKIT" != "maybe"; then 8392 if test "$USE_X_TOOLKIT" != "maybe"; then
11993 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 8393 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
11994$as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11995 { (exit 1); exit 1; }; };
11996 fi 8394 fi
11997 else 8395 else
11998 HAVE_GTK=yes 8396 HAVE_GTK=yes
11999 8397
12000cat >>confdefs.h <<\_ACEOF 8398$as_echo "#define USE_GTK 1" >>confdefs.h
12001#define USE_GTK 1
12002_ACEOF
12003 8399
12004 GTK_OBJ=gtkutil.o 8400 GTK_OBJ=gtkutil.o
12005 USE_X_TOOLKIT=none 8401 USE_X_TOOLKIT=none
12006 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 8402 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
12007 : 8403 :
12008 else 8404 else
12009 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with 8405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with
12010 closing open displays. This is no problem if you just use 8406 closing open displays. This is no problem if you just use
12011 one display, but if you use more than one and close one of them 8407 one display, but if you use more than one and close one of them
12012 Emacs may crash." >&5 8408 Emacs may crash." >&5
@@ -12029,101 +8425,12 @@ if test "${HAVE_GTK}" = "yes"; then
12029 fi 8425 fi
12030 8426
12031 HAVE_GTK_MULTIDISPLAY=no 8427 HAVE_GTK_MULTIDISPLAY=no
12032 8428 for ac_func in gdk_display_open
12033for ac_func in gdk_display_open 8429do :
12034do 8430 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open"
12035as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8431if test "x$ac_cv_func_gdk_display_open" = x""yes; then :
12036{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12037$as_echo_n "checking for $ac_func... " >&6; }
12038if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12039 $as_echo_n "(cached) " >&6
12040else
12041 cat >conftest.$ac_ext <<_ACEOF
12042/* confdefs.h. */
12043_ACEOF
12044cat confdefs.h >>conftest.$ac_ext
12045cat >>conftest.$ac_ext <<_ACEOF
12046/* end confdefs.h. */
12047/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12049#define $ac_func innocuous_$ac_func
12050
12051/* System header to define __stub macros and hopefully few prototypes,
12052 which can conflict with char $ac_func (); below.
12053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12054 <limits.h> exists even on freestanding compilers. */
12055
12056#ifdef __STDC__
12057# include <limits.h>
12058#else
12059# include <assert.h>
12060#endif
12061
12062#undef $ac_func
12063
12064/* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067#ifdef __cplusplus
12068extern "C"
12069#endif
12070char $ac_func ();
12071/* The GNU C library defines this for functions which it implements
12072 to always fail with ENOSYS. Some functions are actually named
12073 something starting with __ and the normal name is an alias. */
12074#if defined __stub_$ac_func || defined __stub___$ac_func
12075choke me
12076#endif
12077
12078int
12079main ()
12080{
12081return $ac_func ();
12082 ;
12083 return 0;
12084}
12085_ACEOF
12086rm -f conftest.$ac_objext conftest$ac_exeext
12087if { (ac_try="$ac_link"
12088case "(($ac_try" in
12089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12090 *) ac_try_echo=$ac_try;;
12091esac
12092eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12093$as_echo "$ac_try_echo") >&5
12094 (eval "$ac_link") 2>conftest.er1
12095 ac_status=$?
12096 grep -v '^ *+' conftest.er1 >conftest.err
12097 rm -f conftest.er1
12098 cat conftest.err >&5
12099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } && {
12101 test -z "$ac_c_werror_flag" ||
12102 test ! -s conftest.err
12103 } && test -s conftest$ac_exeext && {
12104 test "$cross_compiling" = yes ||
12105 $as_test_x conftest$ac_exeext
12106 }; then
12107 eval "$as_ac_var=yes"
12108else
12109 $as_echo "$as_me: failed program was:" >&5
12110sed 's/^/| /' conftest.$ac_ext >&5
12111
12112 eval "$as_ac_var=no"
12113fi
12114
12115rm -rf conftest.dSYM
12116rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12117 conftest$ac_exeext conftest.$ac_ext
12118fi
12119ac_res=`eval 'as_val=${'$as_ac_var'}
12120 $as_echo "$as_val"'`
12121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12122$as_echo "$ac_res" >&6; }
12123if test `eval 'as_val=${'$as_ac_var'}
12124 $as_echo "$as_val"'` = yes; then
12125 cat >>confdefs.h <<_ACEOF 8432 cat >>confdefs.h <<_ACEOF
12126#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8433#define HAVE_GDK_DISPLAY_OPEN 1
12127_ACEOF 8434_ACEOF
12128 HAVE_GTK_MULTIDISPLAY=yes 8435 HAVE_GTK_MULTIDISPLAY=yes
12129fi 8436fi
@@ -12131,170 +8438,27 @@ done
12131 8438
12132 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then 8439 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
12133 8440
12134cat >>confdefs.h <<\_ACEOF 8441$as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h
12135#define HAVE_GTK_MULTIDISPLAY 1
12136_ACEOF
12137 8442
12138 fi 8443 fi
12139 8444
12140 HAVE_GTK_FILE_SELECTION=no 8445 HAVE_GTK_FILE_SELECTION=no
12141 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 8446 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
12142$as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; }
12143if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then
12144 $as_echo_n "(cached) " >&6
12145else
12146 cat >conftest.$ac_ext <<_ACEOF
12147/* confdefs.h. */
12148_ACEOF
12149cat confdefs.h >>conftest.$ac_ext
12150cat >>conftest.$ac_ext <<_ACEOF
12151/* end confdefs.h. */
12152$ac_includes_default
12153#include <gtk/gtk.h> 8447#include <gtk/gtk.h>
12154 8448"
12155int 8449if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then :
12156main ()
12157{
12158#ifndef GTK_TYPE_FILE_SELECTION
12159 (void) GTK_TYPE_FILE_SELECTION;
12160#endif
12161
12162 ;
12163 return 0;
12164}
12165_ACEOF
12166rm -f conftest.$ac_objext
12167if { (ac_try="$ac_compile"
12168case "(($ac_try" in
12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12170 *) ac_try_echo=$ac_try;;
12171esac
12172eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12173$as_echo "$ac_try_echo") >&5
12174 (eval "$ac_compile") 2>conftest.er1
12175 ac_status=$?
12176 grep -v '^ *+' conftest.er1 >conftest.err
12177 rm -f conftest.er1
12178 cat conftest.err >&5
12179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } && {
12181 test -z "$ac_c_werror_flag" ||
12182 test ! -s conftest.err
12183 } && test -s conftest.$ac_objext; then
12184 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes
12185else
12186 $as_echo "$as_me: failed program was:" >&5
12187sed 's/^/| /' conftest.$ac_ext >&5
12188
12189 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no
12190fi
12191
12192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12193fi
12194{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
12195$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
12196if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then
12197 HAVE_GTK_FILE_SELECTION=yes 8450 HAVE_GTK_FILE_SELECTION=yes
12198else 8451else
12199 HAVE_GTK_FILE_SELECTION=no 8452 HAVE_GTK_FILE_SELECTION=no
12200fi 8453fi
12201 8454
12202 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 8455 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
12203 8456 for ac_func in gtk_file_selection_new
12204for ac_func in gtk_file_selection_new 8457do :
12205do 8458 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
12206as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8459if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then :
12207{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12208$as_echo_n "checking for $ac_func... " >&6; }
12209if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12210 $as_echo_n "(cached) " >&6
12211else
12212 cat >conftest.$ac_ext <<_ACEOF
12213/* confdefs.h. */
12214_ACEOF
12215cat confdefs.h >>conftest.$ac_ext
12216cat >>conftest.$ac_ext <<_ACEOF
12217/* end confdefs.h. */
12218/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12220#define $ac_func innocuous_$ac_func
12221
12222/* System header to define __stub macros and hopefully few prototypes,
12223 which can conflict with char $ac_func (); below.
12224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12225 <limits.h> exists even on freestanding compilers. */
12226
12227#ifdef __STDC__
12228# include <limits.h>
12229#else
12230# include <assert.h>
12231#endif
12232
12233#undef $ac_func
12234
12235/* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238#ifdef __cplusplus
12239extern "C"
12240#endif
12241char $ac_func ();
12242/* The GNU C library defines this for functions which it implements
12243 to always fail with ENOSYS. Some functions are actually named
12244 something starting with __ and the normal name is an alias. */
12245#if defined __stub_$ac_func || defined __stub___$ac_func
12246choke me
12247#endif
12248
12249int
12250main ()
12251{
12252return $ac_func ();
12253 ;
12254 return 0;
12255}
12256_ACEOF
12257rm -f conftest.$ac_objext conftest$ac_exeext
12258if { (ac_try="$ac_link"
12259case "(($ac_try" in
12260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12261 *) ac_try_echo=$ac_try;;
12262esac
12263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12264$as_echo "$ac_try_echo") >&5
12265 (eval "$ac_link") 2>conftest.er1
12266 ac_status=$?
12267 grep -v '^ *+' conftest.er1 >conftest.err
12268 rm -f conftest.er1
12269 cat conftest.err >&5
12270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } && {
12272 test -z "$ac_c_werror_flag" ||
12273 test ! -s conftest.err
12274 } && test -s conftest$ac_exeext && {
12275 test "$cross_compiling" = yes ||
12276 $as_test_x conftest$ac_exeext
12277 }; then
12278 eval "$as_ac_var=yes"
12279else
12280 $as_echo "$as_me: failed program was:" >&5
12281sed 's/^/| /' conftest.$ac_ext >&5
12282
12283 eval "$as_ac_var=no"
12284fi
12285
12286rm -rf conftest.dSYM
12287rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12288 conftest$ac_exeext conftest.$ac_ext
12289fi
12290ac_res=`eval 'as_val=${'$as_ac_var'}
12291 $as_echo "$as_val"'`
12292 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12293$as_echo "$ac_res" >&6; }
12294if test `eval 'as_val=${'$as_ac_var'}
12295 $as_echo "$as_val"'` = yes; then
12296 cat >>confdefs.h <<_ACEOF 8460 cat >>confdefs.h <<_ACEOF
12297#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8461#define HAVE_GTK_FILE_SELECTION_NEW 1
12298_ACEOF 8462_ACEOF
12299 HAVE_GTK_FILE_SELECTION=yes 8463 HAVE_GTK_FILE_SELECTION=yes
12300else 8464else
@@ -12305,163 +8469,22 @@ done
12305 fi 8469 fi
12306 8470
12307 HAVE_GTK_FILE_CHOOSER=no 8471 HAVE_GTK_FILE_CHOOSER=no
12308 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 8472 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default
12309$as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; }
12310if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then
12311 $as_echo_n "(cached) " >&6
12312else
12313 cat >conftest.$ac_ext <<_ACEOF
12314/* confdefs.h. */
12315_ACEOF
12316cat confdefs.h >>conftest.$ac_ext
12317cat >>conftest.$ac_ext <<_ACEOF
12318/* end confdefs.h. */
12319$ac_includes_default
12320#include <gtk/gtk.h> 8473#include <gtk/gtk.h>
12321 8474"
12322int 8475if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then :
12323main ()
12324{
12325#ifndef GTK_TYPE_FILE_CHOOSER
12326 (void) GTK_TYPE_FILE_CHOOSER;
12327#endif
12328
12329 ;
12330 return 0;
12331}
12332_ACEOF
12333rm -f conftest.$ac_objext
12334if { (ac_try="$ac_compile"
12335case "(($ac_try" in
12336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12337 *) ac_try_echo=$ac_try;;
12338esac
12339eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12340$as_echo "$ac_try_echo") >&5
12341 (eval "$ac_compile") 2>conftest.er1
12342 ac_status=$?
12343 grep -v '^ *+' conftest.er1 >conftest.err
12344 rm -f conftest.er1
12345 cat conftest.err >&5
12346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); } && {
12348 test -z "$ac_c_werror_flag" ||
12349 test ! -s conftest.err
12350 } && test -s conftest.$ac_objext; then
12351 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes
12352else
12353 $as_echo "$as_me: failed program was:" >&5
12354sed 's/^/| /' conftest.$ac_ext >&5
12355
12356 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no
12357fi
12358
12359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360fi
12361{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
12362$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
12363if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then
12364 HAVE_GTK_FILE_CHOOSER=yes 8476 HAVE_GTK_FILE_CHOOSER=yes
12365else 8477else
12366 HAVE_GTK_FILE_CHOOSER=no 8478 HAVE_GTK_FILE_CHOOSER=no
12367fi 8479fi
12368 8480
12369 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 8481 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
12370 8482 for ac_func in gtk_file_chooser_dialog_new
12371for ac_func in gtk_file_chooser_dialog_new 8483do :
12372do 8484 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new"
12373as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8485if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then :
12374{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12375$as_echo_n "checking for $ac_func... " >&6; }
12376if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12377 $as_echo_n "(cached) " >&6
12378else
12379 cat >conftest.$ac_ext <<_ACEOF
12380/* confdefs.h. */
12381_ACEOF
12382cat confdefs.h >>conftest.$ac_ext
12383cat >>conftest.$ac_ext <<_ACEOF
12384/* end confdefs.h. */
12385/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12387#define $ac_func innocuous_$ac_func
12388
12389/* System header to define __stub macros and hopefully few prototypes,
12390 which can conflict with char $ac_func (); below.
12391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12392 <limits.h> exists even on freestanding compilers. */
12393
12394#ifdef __STDC__
12395# include <limits.h>
12396#else
12397# include <assert.h>
12398#endif
12399
12400#undef $ac_func
12401
12402/* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12405#ifdef __cplusplus
12406extern "C"
12407#endif
12408char $ac_func ();
12409/* The GNU C library defines this for functions which it implements
12410 to always fail with ENOSYS. Some functions are actually named
12411 something starting with __ and the normal name is an alias. */
12412#if defined __stub_$ac_func || defined __stub___$ac_func
12413choke me
12414#endif
12415
12416int
12417main ()
12418{
12419return $ac_func ();
12420 ;
12421 return 0;
12422}
12423_ACEOF
12424rm -f conftest.$ac_objext conftest$ac_exeext
12425if { (ac_try="$ac_link"
12426case "(($ac_try" in
12427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12428 *) ac_try_echo=$ac_try;;
12429esac
12430eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12431$as_echo "$ac_try_echo") >&5
12432 (eval "$ac_link") 2>conftest.er1
12433 ac_status=$?
12434 grep -v '^ *+' conftest.er1 >conftest.err
12435 rm -f conftest.er1
12436 cat conftest.err >&5
12437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); } && {
12439 test -z "$ac_c_werror_flag" ||
12440 test ! -s conftest.err
12441 } && test -s conftest$ac_exeext && {
12442 test "$cross_compiling" = yes ||
12443 $as_test_x conftest$ac_exeext
12444 }; then
12445 eval "$as_ac_var=yes"
12446else
12447 $as_echo "$as_me: failed program was:" >&5
12448sed 's/^/| /' conftest.$ac_ext >&5
12449
12450 eval "$as_ac_var=no"
12451fi
12452
12453rm -rf conftest.dSYM
12454rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12455 conftest$ac_exeext conftest.$ac_ext
12456fi
12457ac_res=`eval 'as_val=${'$as_ac_var'}
12458 $as_echo "$as_val"'`
12459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12460$as_echo "$ac_res" >&6; }
12461if test `eval 'as_val=${'$as_ac_var'}
12462 $as_echo "$as_val"'` = yes; then
12463 cat >>confdefs.h <<_ACEOF 8486 cat >>confdefs.h <<_ACEOF
12464#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8487#define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1
12465_ACEOF 8488_ACEOF
12466 HAVE_GTK_FILE_CHOOSER=yes 8489 HAVE_GTK_FILE_CHOOSER=yes
12467else 8490else
@@ -12474,153 +8497,18 @@ done
12474 if test "$HAVE_GTK_FILE_SELECTION" = yes \ 8497 if test "$HAVE_GTK_FILE_SELECTION" = yes \
12475 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then 8498 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
12476 8499
12477cat >>confdefs.h <<\_ACEOF 8500$as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h
12478#define HAVE_GTK_FILE_BOTH 1
12479_ACEOF
12480 8501
12481 fi 8502 fi
12482 8503
12483 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 8504 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
12484 HAVE_GTK_AND_PTHREAD=no 8505 HAVE_GTK_AND_PTHREAD=no
12485 8506 for ac_header in pthread.h
12486for ac_header in pthread.h 8507do :
12487do 8508 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12488as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8509if test "x$ac_cv_header_pthread_h" = x""yes; then :
12489if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12490 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12491$as_echo_n "checking for $ac_header... " >&6; }
12492if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12493 $as_echo_n "(cached) " >&6
12494fi
12495ac_res=`eval 'as_val=${'$as_ac_Header'}
12496 $as_echo "$as_val"'`
12497 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12498$as_echo "$ac_res" >&6; }
12499else
12500 # Is the header compilable?
12501{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12502$as_echo_n "checking $ac_header usability... " >&6; }
12503cat >conftest.$ac_ext <<_ACEOF
12504/* confdefs.h. */
12505_ACEOF
12506cat confdefs.h >>conftest.$ac_ext
12507cat >>conftest.$ac_ext <<_ACEOF
12508/* end confdefs.h. */
12509$ac_includes_default
12510#include <$ac_header>
12511_ACEOF
12512rm -f conftest.$ac_objext
12513if { (ac_try="$ac_compile"
12514case "(($ac_try" in
12515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12516 *) ac_try_echo=$ac_try;;
12517esac
12518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12519$as_echo "$ac_try_echo") >&5
12520 (eval "$ac_compile") 2>conftest.er1
12521 ac_status=$?
12522 grep -v '^ *+' conftest.er1 >conftest.err
12523 rm -f conftest.er1
12524 cat conftest.err >&5
12525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } && {
12527 test -z "$ac_c_werror_flag" ||
12528 test ! -s conftest.err
12529 } && test -s conftest.$ac_objext; then
12530 ac_header_compiler=yes
12531else
12532 $as_echo "$as_me: failed program was:" >&5
12533sed 's/^/| /' conftest.$ac_ext >&5
12534
12535 ac_header_compiler=no
12536fi
12537
12538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12539{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12540$as_echo "$ac_header_compiler" >&6; }
12541
12542# Is the header present?
12543{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12544$as_echo_n "checking $ac_header presence... " >&6; }
12545cat >conftest.$ac_ext <<_ACEOF
12546/* confdefs.h. */
12547_ACEOF
12548cat confdefs.h >>conftest.$ac_ext
12549cat >>conftest.$ac_ext <<_ACEOF
12550/* end confdefs.h. */
12551#include <$ac_header>
12552_ACEOF
12553if { (ac_try="$ac_cpp conftest.$ac_ext"
12554case "(($ac_try" in
12555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12556 *) ac_try_echo=$ac_try;;
12557esac
12558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12559$as_echo "$ac_try_echo") >&5
12560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12561 ac_status=$?
12562 grep -v '^ *+' conftest.er1 >conftest.err
12563 rm -f conftest.er1
12564 cat conftest.err >&5
12565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); } >/dev/null && {
12567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12568 test ! -s conftest.err
12569 }; then
12570 ac_header_preproc=yes
12571else
12572 $as_echo "$as_me: failed program was:" >&5
12573sed 's/^/| /' conftest.$ac_ext >&5
12574
12575 ac_header_preproc=no
12576fi
12577
12578rm -f conftest.err conftest.$ac_ext
12579{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12580$as_echo "$ac_header_preproc" >&6; }
12581
12582# So? What about this header?
12583case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12584 yes:no: )
12585 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12586$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12588$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12589 ac_header_preproc=yes
12590 ;;
12591 no:yes:* )
12592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12593$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12595$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12597$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12599$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12601$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12603$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12604
12605 ;;
12606esac
12607{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12608$as_echo_n "checking for $ac_header... " >&6; }
12609if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12610 $as_echo_n "(cached) " >&6
12611else
12612 eval "$as_ac_Header=\$ac_header_preproc"
12613fi
12614ac_res=`eval 'as_val=${'$as_ac_Header'}
12615 $as_echo "$as_val"'`
12616 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12617$as_echo "$ac_res" >&6; }
12618
12619fi
12620if test `eval 'as_val=${'$as_ac_Header'}
12621 $as_echo "$as_val"'` = yes; then
12622 cat >>confdefs.h <<_ACEOF 8510 cat >>confdefs.h <<_ACEOF
12623#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8511#define HAVE_PTHREAD_H 1
12624_ACEOF 8512_ACEOF
12625 8513
12626fi 8514fi
@@ -12628,18 +8516,14 @@ fi
12628done 8516done
12629 8517
12630 if test "$ac_cv_header_pthread_h"; then 8518 if test "$ac_cv_header_pthread_h"; then
12631 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
12632$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 8520$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
12633if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 8521if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then :
12634 $as_echo_n "(cached) " >&6 8522 $as_echo_n "(cached) " >&6
12635else 8523else
12636 ac_check_lib_save_LIBS=$LIBS 8524 ac_check_lib_save_LIBS=$LIBS
12637LIBS="-lpthread $LIBS" 8525LIBS="-lpthread $LIBS"
12638cat >conftest.$ac_ext <<_ACEOF 8526cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639/* confdefs.h. */
12640_ACEOF
12641cat confdefs.h >>conftest.$ac_ext
12642cat >>conftest.$ac_ext <<_ACEOF
12643/* end confdefs.h. */ 8527/* end confdefs.h. */
12644 8528
12645/* Override any GCC internal prototype to avoid an error. 8529/* Override any GCC internal prototype to avoid an error.
@@ -12657,43 +8541,18 @@ return pthread_self ();
12657 return 0; 8541 return 0;
12658} 8542}
12659_ACEOF 8543_ACEOF
12660rm -f conftest.$ac_objext conftest$ac_exeext 8544if ac_fn_c_try_link "$LINENO"; then :
12661if { (ac_try="$ac_link"
12662case "(($ac_try" in
12663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12664 *) ac_try_echo=$ac_try;;
12665esac
12666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12667$as_echo "$ac_try_echo") >&5
12668 (eval "$ac_link") 2>conftest.er1
12669 ac_status=$?
12670 grep -v '^ *+' conftest.er1 >conftest.err
12671 rm -f conftest.er1
12672 cat conftest.err >&5
12673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } && {
12675 test -z "$ac_c_werror_flag" ||
12676 test ! -s conftest.err
12677 } && test -s conftest$ac_exeext && {
12678 test "$cross_compiling" = yes ||
12679 $as_test_x conftest$ac_exeext
12680 }; then
12681 ac_cv_lib_pthread_pthread_self=yes 8545 ac_cv_lib_pthread_pthread_self=yes
12682else 8546else
12683 $as_echo "$as_me: failed program was:" >&5 8547 ac_cv_lib_pthread_pthread_self=no
12684sed 's/^/| /' conftest.$ac_ext >&5
12685
12686 ac_cv_lib_pthread_pthread_self=no
12687fi 8548fi
12688 8549rm -f core conftest.err conftest.$ac_objext \
12689rm -rf conftest.dSYM 8550 conftest$ac_exeext conftest.$ac_ext
12690rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12691 conftest$ac_exeext conftest.$ac_ext
12692LIBS=$ac_check_lib_save_LIBS 8551LIBS=$ac_check_lib_save_LIBS
12693fi 8552fi
12694{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 8553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
12695$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 8554$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
12696if test $ac_cv_lib_pthread_pthread_self = yes; then 8555if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then :
12697 HAVE_GTK_AND_PTHREAD=yes 8556 HAVE_GTK_AND_PTHREAD=yes
12698fi 8557fi
12699 8558
@@ -12704,9 +8563,7 @@ fi
12704 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; 8563 *) GTK_LIBS="$GTK_LIBS -lpthread" ;;
12705 esac 8564 esac
12706 8565
12707cat >>confdefs.h <<\_ACEOF 8566$as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h
12708#define HAVE_GTK_AND_PTHREAD 1
12709_ACEOF
12710 8567
12711 fi 8568 fi
12712 fi 8569 fi
@@ -12720,9 +8577,9 @@ if test "${with_dbus}" = "yes"; then
12720 8577
12721 # Extract the first word of "pkg-config", so it can be a program name with args. 8578 # Extract the first word of "pkg-config", so it can be a program name with args.
12722set dummy pkg-config; ac_word=$2 8579set dummy pkg-config; ac_word=$2
12723{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12724$as_echo_n "checking for $ac_word... " >&6; } 8581$as_echo_n "checking for $ac_word... " >&6; }
12725if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8582if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12726 $as_echo_n "(cached) " >&6 8583 $as_echo_n "(cached) " >&6
12727else 8584else
12728 case $PKG_CONFIG in 8585 case $PKG_CONFIG in
@@ -12735,14 +8592,14 @@ for as_dir in $PATH
12735do 8592do
12736 IFS=$as_save_IFS 8593 IFS=$as_save_IFS
12737 test -z "$as_dir" && as_dir=. 8594 test -z "$as_dir" && as_dir=.
12738 for ac_exec_ext in '' $ac_executable_extensions; do 8595 for ac_exec_ext in '' $ac_executable_extensions; do
12739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12740 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8597 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12741 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12742 break 2 8599 break 2
12743 fi 8600 fi
12744done 8601done
12745done 8602 done
12746IFS=$as_save_IFS 8603IFS=$as_save_IFS
12747 8604
12748 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8605 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -12751,10 +8608,10 @@ esac
12751fi 8608fi
12752PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8609PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12753if test -n "$PKG_CONFIG"; then 8610if test -n "$PKG_CONFIG"; then
12754 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12755$as_echo "$PKG_CONFIG" >&6; } 8612$as_echo "$PKG_CONFIG" >&6; }
12756else 8613else
12757 { $as_echo "$as_me:$LINENO: result: no" >&5 8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758$as_echo "no" >&6; } 8615$as_echo "no" >&6; }
12759fi 8616fi
12760 8617
@@ -12765,27 +8622,27 @@ fi
12765 else 8622 else
12766 PKG_CONFIG_MIN_VERSION=0.9.0 8623 PKG_CONFIG_MIN_VERSION=0.9.0
12767 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8624 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12768 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5
12769$as_echo_n "checking for dbus-1 >= 1.0... " >&6; } 8626$as_echo_n "checking for dbus-1 >= 1.0... " >&6; }
12770 8627
12771 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 8628 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
12772 { $as_echo "$as_me:$LINENO: result: yes" >&5 8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12773$as_echo "yes" >&6; } 8630$as_echo "yes" >&6; }
12774 succeeded=yes 8631 succeeded=yes
12775 8632
12776 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5
12777$as_echo_n "checking DBUS_CFLAGS... " >&6; } 8634$as_echo_n "checking DBUS_CFLAGS... " >&6; }
12778 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 8635 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12779 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5
12780$as_echo "$DBUS_CFLAGS" >&6; } 8637$as_echo "$DBUS_CFLAGS" >&6; }
12781 8638
12782 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5
12783$as_echo_n "checking DBUS_LIBS... " >&6; } 8640$as_echo_n "checking DBUS_LIBS... " >&6; }
12784 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 8641 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12785 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5
12786$as_echo "$DBUS_LIBS" >&6; } 8643$as_echo "$DBUS_LIBS" >&6; }
12787 else 8644 else
12788 { $as_echo "$as_me:$LINENO: result: no" >&5 8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12789$as_echo "no" >&6; } 8646$as_echo "no" >&6; }
12790 DBUS_CFLAGS="" 8647 DBUS_CFLAGS=""
12791 DBUS_LIBS="" 8648 DBUS_LIBS=""
@@ -12812,105 +8669,14 @@ $as_echo "no" >&6; }
12812 if test "$HAVE_DBUS" = yes; then 8669 if test "$HAVE_DBUS" = yes; then
12813 LIBS="$LIBS $DBUS_LIBS" 8670 LIBS="$LIBS $DBUS_LIBS"
12814 8671
12815cat >>confdefs.h <<\_ACEOF 8672$as_echo "#define HAVE_DBUS 1" >>confdefs.h
12816#define HAVE_DBUS 1
12817_ACEOF
12818
12819
12820for ac_func in dbus_watch_get_unix_fd
12821do
12822as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12823{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12824$as_echo_n "checking for $ac_func... " >&6; }
12825if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12826 $as_echo_n "(cached) " >&6
12827else
12828 cat >conftest.$ac_ext <<_ACEOF
12829/* confdefs.h. */
12830_ACEOF
12831cat confdefs.h >>conftest.$ac_ext
12832cat >>conftest.$ac_ext <<_ACEOF
12833/* end confdefs.h. */
12834/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12836#define $ac_func innocuous_$ac_func
12837
12838/* System header to define __stub macros and hopefully few prototypes,
12839 which can conflict with char $ac_func (); below.
12840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12841 <limits.h> exists even on freestanding compilers. */
12842 8673
12843#ifdef __STDC__ 8674 for ac_func in dbus_watch_get_unix_fd
12844# include <limits.h> 8675do :
12845#else 8676 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
12846# include <assert.h> 8677if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then :
12847#endif
12848
12849#undef $ac_func
12850
12851/* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854#ifdef __cplusplus
12855extern "C"
12856#endif
12857char $ac_func ();
12858/* The GNU C library defines this for functions which it implements
12859 to always fail with ENOSYS. Some functions are actually named
12860 something starting with __ and the normal name is an alias. */
12861#if defined __stub_$ac_func || defined __stub___$ac_func
12862choke me
12863#endif
12864
12865int
12866main ()
12867{
12868return $ac_func ();
12869 ;
12870 return 0;
12871}
12872_ACEOF
12873rm -f conftest.$ac_objext conftest$ac_exeext
12874if { (ac_try="$ac_link"
12875case "(($ac_try" in
12876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12877 *) ac_try_echo=$ac_try;;
12878esac
12879eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12880$as_echo "$ac_try_echo") >&5
12881 (eval "$ac_link") 2>conftest.er1
12882 ac_status=$?
12883 grep -v '^ *+' conftest.er1 >conftest.err
12884 rm -f conftest.er1
12885 cat conftest.err >&5
12886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } && {
12888 test -z "$ac_c_werror_flag" ||
12889 test ! -s conftest.err
12890 } && test -s conftest$ac_exeext && {
12891 test "$cross_compiling" = yes ||
12892 $as_test_x conftest$ac_exeext
12893 }; then
12894 eval "$as_ac_var=yes"
12895else
12896 $as_echo "$as_me: failed program was:" >&5
12897sed 's/^/| /' conftest.$ac_ext >&5
12898
12899 eval "$as_ac_var=no"
12900fi
12901
12902rm -rf conftest.dSYM
12903rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12904 conftest$ac_exeext conftest.$ac_ext
12905fi
12906ac_res=`eval 'as_val=${'$as_ac_var'}
12907 $as_echo "$as_val"'`
12908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12909$as_echo "$ac_res" >&6; }
12910if test `eval 'as_val=${'$as_ac_var'}
12911 $as_echo "$as_val"'` = yes; then
12912 cat >>confdefs.h <<_ACEOF 8678 cat >>confdefs.h <<_ACEOF
12913#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8679#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
12914_ACEOF 8680_ACEOF
12915 8681
12916fi 8682fi
@@ -12928,9 +8694,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
12928 8694
12929 # Extract the first word of "pkg-config", so it can be a program name with args. 8695 # Extract the first word of "pkg-config", so it can be a program name with args.
12930set dummy pkg-config; ac_word=$2 8696set dummy pkg-config; ac_word=$2
12931{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12932$as_echo_n "checking for $ac_word... " >&6; } 8698$as_echo_n "checking for $ac_word... " >&6; }
12933if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8699if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12934 $as_echo_n "(cached) " >&6 8700 $as_echo_n "(cached) " >&6
12935else 8701else
12936 case $PKG_CONFIG in 8702 case $PKG_CONFIG in
@@ -12943,14 +8709,14 @@ for as_dir in $PATH
12943do 8709do
12944 IFS=$as_save_IFS 8710 IFS=$as_save_IFS
12945 test -z "$as_dir" && as_dir=. 8711 test -z "$as_dir" && as_dir=.
12946 for ac_exec_ext in '' $ac_executable_extensions; do 8712 for ac_exec_ext in '' $ac_executable_extensions; do
12947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12948 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8714 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 break 2 8716 break 2
12951 fi 8717 fi
12952done 8718done
12953done 8719 done
12954IFS=$as_save_IFS 8720IFS=$as_save_IFS
12955 8721
12956 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8722 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -12959,10 +8725,10 @@ esac
12959fi 8725fi
12960PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8726PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12961if test -n "$PKG_CONFIG"; then 8727if test -n "$PKG_CONFIG"; then
12962 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12963$as_echo "$PKG_CONFIG" >&6; } 8729$as_echo "$PKG_CONFIG" >&6; }
12964else 8730else
12965 { $as_echo "$as_me:$LINENO: result: no" >&5 8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12966$as_echo "no" >&6; } 8732$as_echo "no" >&6; }
12967fi 8733fi
12968 8734
@@ -12973,27 +8739,27 @@ fi
12973 else 8739 else
12974 PKG_CONFIG_MIN_VERSION=0.9.0 8740 PKG_CONFIG_MIN_VERSION=0.9.0
12975 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8741 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12976 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5
12977$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } 8743$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; }
12978 8744
12979 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then 8745 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then
12980 { $as_echo "$as_me:$LINENO: result: yes" >&5 8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12981$as_echo "yes" >&6; } 8747$as_echo "yes" >&6; }
12982 succeeded=yes 8748 succeeded=yes
12983 8749
12984 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
12985$as_echo_n "checking GCONF_CFLAGS... " >&6; } 8751$as_echo_n "checking GCONF_CFLAGS... " >&6; }
12986 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 8752 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
12987 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
12988$as_echo "$GCONF_CFLAGS" >&6; } 8754$as_echo "$GCONF_CFLAGS" >&6; }
12989 8755
12990 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
12991$as_echo_n "checking GCONF_LIBS... " >&6; } 8757$as_echo_n "checking GCONF_LIBS... " >&6; }
12992 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 8758 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
12993 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
12994$as_echo "$GCONF_LIBS" >&6; } 8760$as_echo "$GCONF_LIBS" >&6; }
12995 else 8761 else
12996 { $as_echo "$as_me:$LINENO: result: no" >&5 8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12997$as_echo "no" >&6; } 8763$as_echo "no" >&6; }
12998 GCONF_CFLAGS="" 8764 GCONF_CFLAGS=""
12999 GCONF_LIBS="" 8765 GCONF_LIBS=""
@@ -13019,9 +8785,7 @@ $as_echo "no" >&6; }
13019 8785
13020 if test "$HAVE_GCONF" = yes; then 8786 if test "$HAVE_GCONF" = yes; then
13021 8787
13022cat >>confdefs.h <<\_ACEOF 8788$as_echo "#define HAVE_GCONF 1" >>confdefs.h
13023#define HAVE_GCONF 1
13024_ACEOF
13025 8789
13026 fi 8790 fi
13027fi 8791fi
@@ -13029,18 +8793,14 @@ fi
13029HAVE_LIBSELINUX=no 8793HAVE_LIBSELINUX=no
13030LIBSELINUX_LIBS= 8794LIBSELINUX_LIBS=
13031if test "${with_selinux}" = "yes"; then 8795if test "${with_selinux}" = "yes"; then
13032 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
13033$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 8797$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
13034if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then 8798if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then :
13035 $as_echo_n "(cached) " >&6 8799 $as_echo_n "(cached) " >&6
13036else 8800else
13037 ac_check_lib_save_LIBS=$LIBS 8801 ac_check_lib_save_LIBS=$LIBS
13038LIBS="-lselinux $LIBS" 8802LIBS="-lselinux $LIBS"
13039cat >conftest.$ac_ext <<_ACEOF 8803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040/* confdefs.h. */
13041_ACEOF
13042cat confdefs.h >>conftest.$ac_ext
13043cat >>conftest.$ac_ext <<_ACEOF
13044/* end confdefs.h. */ 8804/* end confdefs.h. */
13045 8805
13046/* Override any GCC internal prototype to avoid an error. 8806/* Override any GCC internal prototype to avoid an error.
@@ -13058,43 +8818,18 @@ return lgetfilecon ();
13058 return 0; 8818 return 0;
13059} 8819}
13060_ACEOF 8820_ACEOF
13061rm -f conftest.$ac_objext conftest$ac_exeext 8821if ac_fn_c_try_link "$LINENO"; then :
13062if { (ac_try="$ac_link"
13063case "(($ac_try" in
13064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13065 *) ac_try_echo=$ac_try;;
13066esac
13067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13068$as_echo "$ac_try_echo") >&5
13069 (eval "$ac_link") 2>conftest.er1
13070 ac_status=$?
13071 grep -v '^ *+' conftest.er1 >conftest.err
13072 rm -f conftest.er1
13073 cat conftest.err >&5
13074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } && {
13076 test -z "$ac_c_werror_flag" ||
13077 test ! -s conftest.err
13078 } && test -s conftest$ac_exeext && {
13079 test "$cross_compiling" = yes ||
13080 $as_test_x conftest$ac_exeext
13081 }; then
13082 ac_cv_lib_selinux_lgetfilecon=yes 8822 ac_cv_lib_selinux_lgetfilecon=yes
13083else 8823else
13084 $as_echo "$as_me: failed program was:" >&5 8824 ac_cv_lib_selinux_lgetfilecon=no
13085sed 's/^/| /' conftest.$ac_ext >&5
13086
13087 ac_cv_lib_selinux_lgetfilecon=no
13088fi 8825fi
13089 8826rm -f core conftest.err conftest.$ac_objext \
13090rm -rf conftest.dSYM 8827 conftest$ac_exeext conftest.$ac_ext
13091rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13092 conftest$ac_exeext conftest.$ac_ext
13093LIBS=$ac_check_lib_save_LIBS 8828LIBS=$ac_check_lib_save_LIBS
13094fi 8829fi
13095{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 8830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
13096$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 8831$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
13097if test $ac_cv_lib_selinux_lgetfilecon = yes; then 8832if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then :
13098 HAVE_LIBSELINUX=yes 8833 HAVE_LIBSELINUX=yes
13099else 8834else
13100 HAVE_LIBSELINUX=no 8835 HAVE_LIBSELINUX=no
@@ -13102,9 +8837,7 @@ fi
13102 8837
13103 if test "$HAVE_LIBSELINUX" = yes; then 8838 if test "$HAVE_LIBSELINUX" = yes; then
13104 8839
13105cat >>confdefs.h <<\_ACEOF 8840$as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h
13106#define HAVE_LIBSELINUX 1
13107_ACEOF
13108 8841
13109 LIBSELINUX_LIBS=-lselinux 8842 LIBSELINUX_LIBS=-lselinux
13110 fi 8843 fi
@@ -13115,16 +8848,12 @@ HAVE_XAW3D=no
13115LUCID_LIBW= 8848LUCID_LIBW=
13116if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 8849if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
13117 if test "$with_xaw3d" != no; then 8850 if test "$with_xaw3d" != no; then
13118 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
13119$as_echo_n "checking for xaw3d... " >&6; } 8852$as_echo_n "checking for xaw3d... " >&6; }
13120 if test "${emacs_cv_xaw3d+set}" = set; then 8853 if test "${emacs_cv_xaw3d+set}" = set; then :
13121 $as_echo_n "(cached) " >&6 8854 $as_echo_n "(cached) " >&6
13122else 8855else
13123 cat >conftest.$ac_ext <<_ACEOF 8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124/* confdefs.h. */
13125_ACEOF
13126cat confdefs.h >>conftest.$ac_ext
13127cat >>conftest.$ac_ext <<_ACEOF
13128/* end confdefs.h. */ 8857/* end confdefs.h. */
13129 8858
13130#include <X11/Intrinsic.h> 8859#include <X11/Intrinsic.h>
@@ -13137,67 +8866,36 @@ main ()
13137 return 0; 8866 return 0;
13138} 8867}
13139_ACEOF 8868_ACEOF
13140rm -f conftest.$ac_objext conftest$ac_exeext 8869if ac_fn_c_try_link "$LINENO"; then :
13141if { (ac_try="$ac_link"
13142case "(($ac_try" in
13143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13144 *) ac_try_echo=$ac_try;;
13145esac
13146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13147$as_echo "$ac_try_echo") >&5
13148 (eval "$ac_link") 2>conftest.er1
13149 ac_status=$?
13150 grep -v '^ *+' conftest.er1 >conftest.err
13151 rm -f conftest.er1
13152 cat conftest.err >&5
13153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } && {
13155 test -z "$ac_c_werror_flag" ||
13156 test ! -s conftest.err
13157 } && test -s conftest$ac_exeext && {
13158 test "$cross_compiling" = yes ||
13159 $as_test_x conftest$ac_exeext
13160 }; then
13161 emacs_cv_xaw3d=yes 8870 emacs_cv_xaw3d=yes
13162else 8871else
13163 $as_echo "$as_me: failed program was:" >&5 8872 emacs_cv_xaw3d=no
13164sed 's/^/| /' conftest.$ac_ext >&5
13165
13166 emacs_cv_xaw3d=no
13167fi 8873fi
13168 8874rm -f core conftest.err conftest.$ac_objext \
13169rm -rf conftest.dSYM 8875 conftest$ac_exeext conftest.$ac_ext
13170rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13171 conftest$ac_exeext conftest.$ac_ext
13172fi 8876fi
13173 8877
13174 else 8878 else
13175 emacs_cv_xaw3d=no 8879 emacs_cv_xaw3d=no
13176 fi 8880 fi
13177 if test $emacs_cv_xaw3d = yes; then 8881 if test $emacs_cv_xaw3d = yes; then
13178 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
13179$as_echo "yes; using Lucid toolkit" >&6; } 8883$as_echo "yes; using Lucid toolkit" >&6; }
13180 USE_X_TOOLKIT=LUCID 8884 USE_X_TOOLKIT=LUCID
13181 HAVE_XAW3D=yes 8885 HAVE_XAW3D=yes
13182 LUCID_LIBW=-lXaw3d 8886 LUCID_LIBW=-lXaw3d
13183 8887
13184cat >>confdefs.h <<\_ACEOF 8888$as_echo "#define HAVE_XAW3D 1" >>confdefs.h
13185#define HAVE_XAW3D 1
13186_ACEOF
13187 8889
13188 else 8890 else
13189 { $as_echo "$as_me:$LINENO: result: no" >&5 8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13190$as_echo "no" >&6; } 8892$as_echo "no" >&6; }
13191 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
13192$as_echo_n "checking for libXaw... " >&6; } 8894$as_echo_n "checking for libXaw... " >&6; }
13193 if test "${emacs_cv_xaw+set}" = set; then 8895 if test "${emacs_cv_xaw+set}" = set; then :
13194 $as_echo_n "(cached) " >&6 8896 $as_echo_n "(cached) " >&6
13195else 8897else
13196 cat >conftest.$ac_ext <<_ACEOF 8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197/* confdefs.h. */
13198_ACEOF
13199cat confdefs.h >>conftest.$ac_ext
13200cat >>conftest.$ac_ext <<_ACEOF
13201/* end confdefs.h. */ 8899/* end confdefs.h. */
13202 8900
13203#include <X11/Intrinsic.h> 8901#include <X11/Intrinsic.h>
@@ -13210,51 +8908,24 @@ main ()
13210 return 0; 8908 return 0;
13211} 8909}
13212_ACEOF 8910_ACEOF
13213rm -f conftest.$ac_objext conftest$ac_exeext 8911if ac_fn_c_try_link "$LINENO"; then :
13214if { (ac_try="$ac_link"
13215case "(($ac_try" in
13216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13217 *) ac_try_echo=$ac_try;;
13218esac
13219eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13220$as_echo "$ac_try_echo") >&5
13221 (eval "$ac_link") 2>conftest.er1
13222 ac_status=$?
13223 grep -v '^ *+' conftest.er1 >conftest.err
13224 rm -f conftest.er1
13225 cat conftest.err >&5
13226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } && {
13228 test -z "$ac_c_werror_flag" ||
13229 test ! -s conftest.err
13230 } && test -s conftest$ac_exeext && {
13231 test "$cross_compiling" = yes ||
13232 $as_test_x conftest$ac_exeext
13233 }; then
13234 emacs_cv_xaw=yes 8912 emacs_cv_xaw=yes
13235else 8913else
13236 $as_echo "$as_me: failed program was:" >&5 8914 emacs_cv_xaw=no
13237sed 's/^/| /' conftest.$ac_ext >&5
13238
13239 emacs_cv_xaw=no
13240fi 8915fi
13241 8916rm -f core conftest.err conftest.$ac_objext \
13242rm -rf conftest.dSYM 8917 conftest$ac_exeext conftest.$ac_ext
13243rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13244 conftest$ac_exeext conftest.$ac_ext
13245fi 8918fi
13246 8919
13247 if test $emacs_cv_xaw = yes; then 8920 if test $emacs_cv_xaw = yes; then
13248 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
13249$as_echo "yes; using Lucid toolkit" >&6; } 8922$as_echo "yes; using Lucid toolkit" >&6; }
13250 USE_X_TOOLKIT=LUCID 8923 USE_X_TOOLKIT=LUCID
13251 LUCID_LIBW=-lXaw 8924 LUCID_LIBW=-lXaw
13252 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 8925 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
13253 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 8926 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
13254$as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
13255 { (exit 1); exit 1; }; }
13256 else 8927 else
13257 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
13258$as_echo "no; do not use toolkit by default" >&6; } 8929$as_echo "no; do not use toolkit by default" >&6; }
13259 USE_X_TOOLKIT=none 8930 USE_X_TOOLKIT=none
13260 fi 8931 fi
@@ -13265,16 +8936,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
13265 8936
13266LIBXTR6= 8937LIBXTR6=
13267if test "${USE_X_TOOLKIT}" != "none"; then 8938if test "${USE_X_TOOLKIT}" != "none"; then
13268 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
13269$as_echo_n "checking X11 toolkit version... " >&6; } 8940$as_echo_n "checking X11 toolkit version... " >&6; }
13270 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 8941 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then :
13271 $as_echo_n "(cached) " >&6 8942 $as_echo_n "(cached) " >&6
13272else 8943else
13273 cat >conftest.$ac_ext <<_ACEOF 8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274/* confdefs.h. */
13275_ACEOF
13276cat confdefs.h >>conftest.$ac_ext
13277cat >>conftest.$ac_ext <<_ACEOF
13278/* end confdefs.h. */ 8945/* end confdefs.h. */
13279#include <X11/Intrinsic.h> 8946#include <X11/Intrinsic.h>
13280int 8947int
@@ -13288,48 +8955,21 @@ fail;
13288 return 0; 8955 return 0;
13289} 8956}
13290_ACEOF 8957_ACEOF
13291rm -f conftest.$ac_objext conftest$ac_exeext 8958if ac_fn_c_try_link "$LINENO"; then :
13292if { (ac_try="$ac_link"
13293case "(($ac_try" in
13294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13295 *) ac_try_echo=$ac_try;;
13296esac
13297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13298$as_echo "$ac_try_echo") >&5
13299 (eval "$ac_link") 2>conftest.er1
13300 ac_status=$?
13301 grep -v '^ *+' conftest.er1 >conftest.err
13302 rm -f conftest.er1
13303 cat conftest.err >&5
13304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); } && {
13306 test -z "$ac_c_werror_flag" ||
13307 test ! -s conftest.err
13308 } && test -s conftest$ac_exeext && {
13309 test "$cross_compiling" = yes ||
13310 $as_test_x conftest$ac_exeext
13311 }; then
13312 emacs_cv_x11_toolkit_version_6=yes 8959 emacs_cv_x11_toolkit_version_6=yes
13313else 8960else
13314 $as_echo "$as_me: failed program was:" >&5 8961 emacs_cv_x11_toolkit_version_6=no
13315sed 's/^/| /' conftest.$ac_ext >&5
13316
13317 emacs_cv_x11_toolkit_version_6=no
13318fi 8962fi
13319 8963rm -f core conftest.err conftest.$ac_objext \
13320rm -rf conftest.dSYM 8964 conftest$ac_exeext conftest.$ac_ext
13321rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13322 conftest$ac_exeext conftest.$ac_ext
13323fi 8965fi
13324 8966
13325 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 8967 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
13326 if test $emacs_cv_x11_toolkit_version_6 = yes; then 8968 if test $emacs_cv_x11_toolkit_version_6 = yes; then
13327 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5
13328$as_echo "6 or newer" >&6; } 8970$as_echo "6 or newer" >&6; }
13329 8971
13330cat >>confdefs.h <<\_ACEOF 8972$as_echo "#define HAVE_X11XTR6 1" >>confdefs.h
13331#define HAVE_X11XTR6 1
13332_ACEOF
13333 8973
13334 LIBXTR6="-lSM -lICE" 8974 LIBXTR6="-lSM -lICE"
13335 case "$opsys" in 8975 case "$opsys" in
@@ -13337,7 +8977,7 @@ _ACEOF
13337 unixware) LIBXTR6="$LIBXTR6 -lw" ;; 8977 unixware) LIBXTR6="$LIBXTR6 -lw" ;;
13338 esac 8978 esac
13339 else 8979 else
13340 { $as_echo "$as_me:$LINENO: result: before 6" >&5 8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5
13341$as_echo "before 6" >&6; } 8981$as_echo "before 6" >&6; }
13342 fi 8982 fi
13343 8983
@@ -13347,19 +8987,14 @@ $as_echo "before 6" >&6; }
13347 else 8987 else
13348 LIBS="-lXt $LIBS" 8988 LIBS="-lXt $LIBS"
13349 fi 8989 fi
13350 8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
13351{ $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
13352$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 8991$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
13353if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 8992if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then :
13354 $as_echo_n "(cached) " >&6 8993 $as_echo_n "(cached) " >&6
13355else 8994else
13356 ac_check_lib_save_LIBS=$LIBS 8995 ac_check_lib_save_LIBS=$LIBS
13357LIBS="-lXmu $LIBS" 8996LIBS="-lXmu $LIBS"
13358cat >conftest.$ac_ext <<_ACEOF 8997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359/* confdefs.h. */
13360_ACEOF
13361cat confdefs.h >>conftest.$ac_ext
13362cat >>conftest.$ac_ext <<_ACEOF
13363/* end confdefs.h. */ 8998/* end confdefs.h. */
13364 8999
13365/* Override any GCC internal prototype to avoid an error. 9000/* Override any GCC internal prototype to avoid an error.
@@ -13377,43 +9012,18 @@ return XmuConvertStandardSelection ();
13377 return 0; 9012 return 0;
13378} 9013}
13379_ACEOF 9014_ACEOF
13380rm -f conftest.$ac_objext conftest$ac_exeext 9015if ac_fn_c_try_link "$LINENO"; then :
13381if { (ac_try="$ac_link"
13382case "(($ac_try" in
13383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13384 *) ac_try_echo=$ac_try;;
13385esac
13386eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13387$as_echo "$ac_try_echo") >&5
13388 (eval "$ac_link") 2>conftest.er1
13389 ac_status=$?
13390 grep -v '^ *+' conftest.er1 >conftest.err
13391 rm -f conftest.er1
13392 cat conftest.err >&5
13393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } && {
13395 test -z "$ac_c_werror_flag" ||
13396 test ! -s conftest.err
13397 } && test -s conftest$ac_exeext && {
13398 test "$cross_compiling" = yes ||
13399 $as_test_x conftest$ac_exeext
13400 }; then
13401 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 9016 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
13402else 9017else
13403 $as_echo "$as_me: failed program was:" >&5 9018 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
13404sed 's/^/| /' conftest.$ac_ext >&5
13405
13406 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
13407fi 9019fi
13408 9020rm -f core conftest.err conftest.$ac_objext \
13409rm -rf conftest.dSYM 9021 conftest$ac_exeext conftest.$ac_ext
13410rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13411 conftest$ac_exeext conftest.$ac_ext
13412LIBS=$ac_check_lib_save_LIBS 9022LIBS=$ac_check_lib_save_LIBS
13413fi 9023fi
13414{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 9024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
13415$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 9025$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
13416if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 9026if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then :
13417 cat >>confdefs.h <<_ACEOF 9027 cat >>confdefs.h <<_ACEOF
13418#define HAVE_LIBXMU 1 9028#define HAVE_LIBXMU 1
13419_ACEOF 9029_ACEOF
@@ -13438,19 +9048,14 @@ esac
13438# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 9048# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
13439if test "${HAVE_X11}" = "yes"; then 9049if test "${HAVE_X11}" = "yes"; then
13440 if test "${USE_X_TOOLKIT}" != "none"; then 9050 if test "${USE_X_TOOLKIT}" != "none"; then
13441 9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
13442{ $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
13443$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 9052$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
13444if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 9053if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
13445 $as_echo_n "(cached) " >&6 9054 $as_echo_n "(cached) " >&6
13446else 9055else
13447 ac_check_lib_save_LIBS=$LIBS 9056 ac_check_lib_save_LIBS=$LIBS
13448LIBS="-lXext $LIBS" 9057LIBS="-lXext $LIBS"
13449cat >conftest.$ac_ext <<_ACEOF 9058cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450/* confdefs.h. */
13451_ACEOF
13452cat confdefs.h >>conftest.$ac_ext
13453cat >>conftest.$ac_ext <<_ACEOF
13454/* end confdefs.h. */ 9059/* end confdefs.h. */
13455 9060
13456/* Override any GCC internal prototype to avoid an error. 9061/* Override any GCC internal prototype to avoid an error.
@@ -13468,43 +9073,18 @@ return XShapeQueryExtension ();
13468 return 0; 9073 return 0;
13469} 9074}
13470_ACEOF 9075_ACEOF
13471rm -f conftest.$ac_objext conftest$ac_exeext 9076if ac_fn_c_try_link "$LINENO"; then :
13472if { (ac_try="$ac_link"
13473case "(($ac_try" in
13474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13475 *) ac_try_echo=$ac_try;;
13476esac
13477eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13478$as_echo "$ac_try_echo") >&5
13479 (eval "$ac_link") 2>conftest.er1
13480 ac_status=$?
13481 grep -v '^ *+' conftest.er1 >conftest.err
13482 rm -f conftest.er1
13483 cat conftest.err >&5
13484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } && {
13486 test -z "$ac_c_werror_flag" ||
13487 test ! -s conftest.err
13488 } && test -s conftest$ac_exeext && {
13489 test "$cross_compiling" = yes ||
13490 $as_test_x conftest$ac_exeext
13491 }; then
13492 ac_cv_lib_Xext_XShapeQueryExtension=yes 9077 ac_cv_lib_Xext_XShapeQueryExtension=yes
13493else 9078else
13494 $as_echo "$as_me: failed program was:" >&5 9079 ac_cv_lib_Xext_XShapeQueryExtension=no
13495sed 's/^/| /' conftest.$ac_ext >&5
13496
13497 ac_cv_lib_Xext_XShapeQueryExtension=no
13498fi 9080fi
13499 9081rm -f core conftest.err conftest.$ac_objext \
13500rm -rf conftest.dSYM 9082 conftest$ac_exeext conftest.$ac_ext
13501rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13502 conftest$ac_exeext conftest.$ac_ext
13503LIBS=$ac_check_lib_save_LIBS 9083LIBS=$ac_check_lib_save_LIBS
13504fi 9084fi
13505{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 9085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
13506$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 9086$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
13507if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 9087if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
13508 cat >>confdefs.h <<_ACEOF 9088 cat >>confdefs.h <<_ACEOF
13509#define HAVE_LIBXEXT 1 9089#define HAVE_LIBXEXT 1
13510_ACEOF 9090_ACEOF
@@ -13518,16 +9098,12 @@ fi
13518 9098
13519LIBXP= 9099LIBXP=
13520if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9100if test "${USE_X_TOOLKIT}" = "MOTIF"; then
13521 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
13522$as_echo_n "checking for Motif version 2.1... " >&6; } 9102$as_echo_n "checking for Motif version 2.1... " >&6; }
13523if test "${emacs_cv_motif_version_2_1+set}" = set; then 9103if test "${emacs_cv_motif_version_2_1+set}" = set; then :
13524 $as_echo_n "(cached) " >&6 9104 $as_echo_n "(cached) " >&6
13525else 9105else
13526 cat >conftest.$ac_ext <<_ACEOF 9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527/* confdefs.h. */
13528_ACEOF
13529cat confdefs.h >>conftest.$ac_ext
13530cat >>conftest.$ac_ext <<_ACEOF
13531/* end confdefs.h. */ 9107/* end confdefs.h. */
13532#include <Xm/Xm.h> 9108#include <Xm/Xm.h>
13533int 9109int
@@ -13542,49 +9118,24 @@ Motif version prior to 2.1.
13542 return 0; 9118 return 0;
13543} 9119}
13544_ACEOF 9120_ACEOF
13545rm -f conftest.$ac_objext 9121if ac_fn_c_try_compile "$LINENO"; then :
13546if { (ac_try="$ac_compile"
13547case "(($ac_try" in
13548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13549 *) ac_try_echo=$ac_try;;
13550esac
13551eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13552$as_echo "$ac_try_echo") >&5
13553 (eval "$ac_compile") 2>conftest.er1
13554 ac_status=$?
13555 grep -v '^ *+' conftest.er1 >conftest.err
13556 rm -f conftest.er1
13557 cat conftest.err >&5
13558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } && {
13560 test -z "$ac_c_werror_flag" ||
13561 test ! -s conftest.err
13562 } && test -s conftest.$ac_objext; then
13563 emacs_cv_motif_version_2_1=yes 9122 emacs_cv_motif_version_2_1=yes
13564else 9123else
13565 $as_echo "$as_me: failed program was:" >&5 9124 emacs_cv_motif_version_2_1=no
13566sed 's/^/| /' conftest.$ac_ext >&5
13567
13568 emacs_cv_motif_version_2_1=no
13569fi 9125fi
13570
13571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13572fi 9127fi
13573{ $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 9128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5
13574$as_echo "$emacs_cv_motif_version_2_1" >&6; } 9129$as_echo "$emacs_cv_motif_version_2_1" >&6; }
13575 if test $emacs_cv_motif_version_2_1 = yes; then 9130 if test $emacs_cv_motif_version_2_1 = yes; then
13576 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
13577$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 9132$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
13578if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 9133if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then :
13579 $as_echo_n "(cached) " >&6 9134 $as_echo_n "(cached) " >&6
13580else 9135else
13581 ac_check_lib_save_LIBS=$LIBS 9136 ac_check_lib_save_LIBS=$LIBS
13582LIBS="-lXp $LIBS" 9137LIBS="-lXp $LIBS"
13583cat >conftest.$ac_ext <<_ACEOF 9138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584/* confdefs.h. */
13585_ACEOF
13586cat confdefs.h >>conftest.$ac_ext
13587cat >>conftest.$ac_ext <<_ACEOF
13588/* end confdefs.h. */ 9139/* end confdefs.h. */
13589 9140
13590/* Override any GCC internal prototype to avoid an error. 9141/* Override any GCC internal prototype to avoid an error.
@@ -13602,50 +9153,25 @@ return XpCreateContext ();
13602 return 0; 9153 return 0;
13603} 9154}
13604_ACEOF 9155_ACEOF
13605rm -f conftest.$ac_objext conftest$ac_exeext 9156if ac_fn_c_try_link "$LINENO"; then :
13606if { (ac_try="$ac_link"
13607case "(($ac_try" in
13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13609 *) ac_try_echo=$ac_try;;
13610esac
13611eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13612$as_echo "$ac_try_echo") >&5
13613 (eval "$ac_link") 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } && {
13620 test -z "$ac_c_werror_flag" ||
13621 test ! -s conftest.err
13622 } && test -s conftest$ac_exeext && {
13623 test "$cross_compiling" = yes ||
13624 $as_test_x conftest$ac_exeext
13625 }; then
13626 ac_cv_lib_Xp_XpCreateContext=yes 9157 ac_cv_lib_Xp_XpCreateContext=yes
13627else 9158else
13628 $as_echo "$as_me: failed program was:" >&5 9159 ac_cv_lib_Xp_XpCreateContext=no
13629sed 's/^/| /' conftest.$ac_ext >&5
13630
13631 ac_cv_lib_Xp_XpCreateContext=no
13632fi 9160fi
13633 9161rm -f core conftest.err conftest.$ac_objext \
13634rm -rf conftest.dSYM 9162 conftest$ac_exeext conftest.$ac_ext
13635rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13636 conftest$ac_exeext conftest.$ac_ext
13637LIBS=$ac_check_lib_save_LIBS 9163LIBS=$ac_check_lib_save_LIBS
13638fi 9164fi
13639{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 9165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
13640$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 9166$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
13641if test $ac_cv_lib_Xp_XpCreateContext = yes; then 9167if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then :
13642 LIBXP=-lXp 9168 LIBXP=-lXp
13643fi 9169fi
13644 9170
13645 else 9171 else
13646 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
13647$as_echo_n "checking for LessTif where some systems put it... " >&6; } 9173$as_echo_n "checking for LessTif where some systems put it... " >&6; }
13648if test "${emacs_cv_lesstif+set}" = set; then 9174if test "${emacs_cv_lesstif+set}" = set; then :
13649 $as_echo_n "(cached) " >&6 9175 $as_echo_n "(cached) " >&6
13650else 9176else
13651 # We put this in CFLAGS temporarily to precede other -I options 9177 # We put this in CFLAGS temporarily to precede other -I options
@@ -13655,11 +9181,7 @@ else
13655 OLD_CFLAGS=$CFLAGS 9181 OLD_CFLAGS=$CFLAGS
13656 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 9182 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
13657 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 9183 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
13658 cat >conftest.$ac_ext <<_ACEOF 9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659/* confdefs.h. */
13660_ACEOF
13661cat confdefs.h >>conftest.$ac_ext
13662cat >>conftest.$ac_ext <<_ACEOF
13663/* end confdefs.h. */ 9185/* end confdefs.h. */
13664#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 9186#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
13665int 9187int
@@ -13670,35 +9192,14 @@ int x = 5;
13670 return 0; 9192 return 0;
13671} 9193}
13672_ACEOF 9194_ACEOF
13673rm -f conftest.$ac_objext 9195if ac_fn_c_try_compile "$LINENO"; then :
13674if { (ac_try="$ac_compile"
13675case "(($ac_try" in
13676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13677 *) ac_try_echo=$ac_try;;
13678esac
13679eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13680$as_echo "$ac_try_echo") >&5
13681 (eval "$ac_compile") 2>conftest.er1
13682 ac_status=$?
13683 grep -v '^ *+' conftest.er1 >conftest.err
13684 rm -f conftest.er1
13685 cat conftest.err >&5
13686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } && {
13688 test -z "$ac_c_werror_flag" ||
13689 test ! -s conftest.err
13690 } && test -s conftest.$ac_objext; then
13691 emacs_cv_lesstif=yes 9196 emacs_cv_lesstif=yes
13692else 9197else
13693 $as_echo "$as_me: failed program was:" >&5 9198 emacs_cv_lesstif=no
13694sed 's/^/| /' conftest.$ac_ext >&5
13695
13696 emacs_cv_lesstif=no
13697fi 9199fi
13698
13699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13700fi 9201fi
13701{ $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 9202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5
13702$as_echo "$emacs_cv_lesstif" >&6; } 9203$as_echo "$emacs_cv_lesstif" >&6; }
13703 if test $emacs_cv_lesstif = yes; then 9204 if test $emacs_cv_lesstif = yes; then
13704 # Make sure this -I option remains in CPPFLAGS after it is set 9205 # Make sure this -I option remains in CPPFLAGS after it is set
@@ -13716,44 +9217,31 @@ $as_echo "$emacs_cv_lesstif" >&6; }
13716fi 9217fi
13717 9218
13718 9219
13719
13720USE_TOOLKIT_SCROLL_BARS=no 9220USE_TOOLKIT_SCROLL_BARS=no
13721if test "${with_toolkit_scroll_bars}" != "no"; then 9221if test "${with_toolkit_scroll_bars}" != "no"; then
13722 if test "${USE_X_TOOLKIT}" != "none"; then 9222 if test "${USE_X_TOOLKIT}" != "none"; then
13723 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9223 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
13724 cat >>confdefs.h <<\_ACEOF 9224 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13725#define USE_TOOLKIT_SCROLL_BARS 1
13726_ACEOF
13727 9225
13728 HAVE_XAW3D=no 9226 HAVE_XAW3D=no
13729 USE_TOOLKIT_SCROLL_BARS=yes 9227 USE_TOOLKIT_SCROLL_BARS=yes
13730 elif test "${HAVE_XAW3D}" = "yes"; then 9228 elif test "${HAVE_XAW3D}" = "yes"; then
13731 cat >>confdefs.h <<\_ACEOF 9229 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13732#define USE_TOOLKIT_SCROLL_BARS 1
13733_ACEOF
13734 9230
13735 USE_TOOLKIT_SCROLL_BARS=yes 9231 USE_TOOLKIT_SCROLL_BARS=yes
13736 fi 9232 fi
13737 elif test "${HAVE_GTK}" = "yes"; then 9233 elif test "${HAVE_GTK}" = "yes"; then
13738 cat >>confdefs.h <<\_ACEOF 9234 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13739#define USE_TOOLKIT_SCROLL_BARS 1
13740_ACEOF
13741 9235
13742 USE_TOOLKIT_SCROLL_BARS=yes 9236 USE_TOOLKIT_SCROLL_BARS=yes
13743 elif test "${HAVE_NS}" = "yes"; then 9237 elif test "${HAVE_NS}" = "yes"; then
13744 cat >>confdefs.h <<\_ACEOF 9238 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13745#define USE_TOOLKIT_SCROLL_BARS 1
13746_ACEOF
13747 9239
13748 USE_TOOLKIT_SCROLL_BARS=yes 9240 USE_TOOLKIT_SCROLL_BARS=yes
13749 fi 9241 fi
13750fi 9242fi
13751 9243
13752cat >conftest.$ac_ext <<_ACEOF 9244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753/* confdefs.h. */
13754_ACEOF
13755cat confdefs.h >>conftest.$ac_ext
13756cat >>conftest.$ac_ext <<_ACEOF
13757/* end confdefs.h. */ 9245/* end confdefs.h. */
13758 9246
13759 #include <X11/Xlib.h> 9247 #include <X11/Xlib.h>
@@ -13766,45 +9254,20 @@ XIMProc callback;
13766 return 0; 9254 return 0;
13767} 9255}
13768_ACEOF 9256_ACEOF
13769rm -f conftest.$ac_objext 9257if ac_fn_c_try_compile "$LINENO"; then :
13770if { (ac_try="$ac_compile"
13771case "(($ac_try" in
13772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13773 *) ac_try_echo=$ac_try;;
13774esac
13775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13776$as_echo "$ac_try_echo") >&5
13777 (eval "$ac_compile") 2>conftest.er1
13778 ac_status=$?
13779 grep -v '^ *+' conftest.er1 >conftest.err
13780 rm -f conftest.er1
13781 cat conftest.err >&5
13782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } && {
13784 test -z "$ac_c_werror_flag" ||
13785 test ! -s conftest.err
13786 } && test -s conftest.$ac_objext; then
13787 HAVE_XIM=yes 9258 HAVE_XIM=yes
13788 9259
13789cat >>confdefs.h <<\_ACEOF 9260$as_echo "#define HAVE_XIM 1" >>confdefs.h
13790#define HAVE_XIM 1
13791_ACEOF
13792 9261
13793else 9262else
13794 $as_echo "$as_me: failed program was:" >&5 9263 HAVE_XIM=no
13795sed 's/^/| /' conftest.$ac_ext >&5
13796
13797 HAVE_XIM=no
13798fi 9264fi
13799
13800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13801 9266
13802 9267
13803if test "${with_xim}" != "no"; then 9268if test "${with_xim}" != "no"; then
13804 9269
13805cat >>confdefs.h <<\_ACEOF 9270$as_echo "#define USE_XIM 1" >>confdefs.h
13806#define USE_XIM 1
13807_ACEOF
13808 9271
13809fi 9272fi
13810 9273
@@ -13814,11 +9277,7 @@ if test "${HAVE_XIM}" != "no"; then
13814 if test "$GCC" = yes; then 9277 if test "$GCC" = yes; then
13815 CFLAGS="$CFLAGS --pedantic-errors" 9278 CFLAGS="$CFLAGS --pedantic-errors"
13816 fi 9279 fi
13817 cat >conftest.$ac_ext <<_ACEOF 9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818/* confdefs.h. */
13819_ACEOF
13820cat confdefs.h >>conftest.$ac_ext
13821cat >>conftest.$ac_ext <<_ACEOF
13822/* end confdefs.h. */ 9281/* end confdefs.h. */
13823 9282
13824#include <X11/Xlib.h> 9283#include <X11/Xlib.h>
@@ -13844,43 +9303,15 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
13844 return 0; 9303 return 0;
13845} 9304}
13846_ACEOF 9305_ACEOF
13847rm -f conftest.$ac_objext 9306if ac_fn_c_try_compile "$LINENO"; then :
13848if { (ac_try="$ac_compile"
13849case "(($ac_try" in
13850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13851 *) ac_try_echo=$ac_try;;
13852esac
13853eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13854$as_echo "$ac_try_echo") >&5
13855 (eval "$ac_compile") 2>conftest.er1
13856 ac_status=$?
13857 grep -v '^ *+' conftest.er1 >conftest.err
13858 rm -f conftest.er1
13859 cat conftest.err >&5
13860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } && {
13862 test -z "$ac_c_werror_flag" ||
13863 test ! -s conftest.err
13864 } && test -s conftest.$ac_objext; then
13865 emacs_cv_arg6_star=yes 9307 emacs_cv_arg6_star=yes
13866else
13867 $as_echo "$as_me: failed program was:" >&5
13868sed 's/^/| /' conftest.$ac_ext >&5
13869
13870
13871fi 9308fi
13872
13873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13874 9310 if test "$emacs_cv_arg6_star" = yes; then
13875 if test "$emacs_cv_arg6_star" = yes; then 9311 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h
13876 cat >>confdefs.h <<\_ACEOF
13877#define XRegisterIMInstantiateCallback_arg6 XPointer*
13878_ACEOF
13879 9312
13880 else 9313 else
13881 cat >>confdefs.h <<\_ACEOF 9314 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h
13882#define XRegisterIMInstantiateCallback_arg6 XPointer
13883_ACEOF
13884 9315
13885 fi 9316 fi
13886 CFLAGS=$late_CFLAGS 9317 CFLAGS=$late_CFLAGS
@@ -13897,9 +9328,9 @@ if test "${HAVE_X11}" = "yes"; then
13897 9328
13898 # Extract the first word of "pkg-config", so it can be a program name with args. 9329 # Extract the first word of "pkg-config", so it can be a program name with args.
13899set dummy pkg-config; ac_word=$2 9330set dummy pkg-config; ac_word=$2
13900{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13901$as_echo_n "checking for $ac_word... " >&6; } 9332$as_echo_n "checking for $ac_word... " >&6; }
13902if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9333if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13903 $as_echo_n "(cached) " >&6 9334 $as_echo_n "(cached) " >&6
13904else 9335else
13905 case $PKG_CONFIG in 9336 case $PKG_CONFIG in
@@ -13912,14 +9343,14 @@ for as_dir in $PATH
13912do 9343do
13913 IFS=$as_save_IFS 9344 IFS=$as_save_IFS
13914 test -z "$as_dir" && as_dir=. 9345 test -z "$as_dir" && as_dir=.
13915 for ac_exec_ext in '' $ac_executable_extensions; do 9346 for ac_exec_ext in '' $ac_executable_extensions; do
13916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9348 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13919 break 2 9350 break 2
13920 fi 9351 fi
13921done 9352done
13922done 9353 done
13923IFS=$as_save_IFS 9354IFS=$as_save_IFS
13924 9355
13925 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9356 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -13928,10 +9359,10 @@ esac
13928fi 9359fi
13929PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9360PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13930if test -n "$PKG_CONFIG"; then 9361if test -n "$PKG_CONFIG"; then
13931 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13932$as_echo "$PKG_CONFIG" >&6; } 9363$as_echo "$PKG_CONFIG" >&6; }
13933else 9364else
13934 { $as_echo "$as_me:$LINENO: result: no" >&5 9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13935$as_echo "no" >&6; } 9366$as_echo "no" >&6; }
13936fi 9367fi
13937 9368
@@ -13942,27 +9373,27 @@ fi
13942 else 9373 else
13943 PKG_CONFIG_MIN_VERSION=0.9.0 9374 PKG_CONFIG_MIN_VERSION=0.9.0
13944 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9375 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13945 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5
13946$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } 9377$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; }
13947 9378
13948 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 9379 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
13949 { $as_echo "$as_me:$LINENO: result: yes" >&5 9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13950$as_echo "yes" >&6; } 9381$as_echo "yes" >&6; }
13951 succeeded=yes 9382 succeeded=yes
13952 9383
13953 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5
13954$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } 9385$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; }
13955 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 9386 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
13956 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5
13957$as_echo "$FONTCONFIG_CFLAGS" >&6; } 9388$as_echo "$FONTCONFIG_CFLAGS" >&6; }
13958 9389
13959 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5
13960$as_echo_n "checking FONTCONFIG_LIBS... " >&6; } 9391$as_echo_n "checking FONTCONFIG_LIBS... " >&6; }
13961 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 9392 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
13962 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5
13963$as_echo "$FONTCONFIG_LIBS" >&6; } 9394$as_echo "$FONTCONFIG_LIBS" >&6; }
13964 else 9395 else
13965 { $as_echo "$as_me:$LINENO: result: no" >&5 9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13966$as_echo "no" >&6; } 9397$as_echo "no" >&6; }
13967 FONTCONFIG_CFLAGS="" 9398 FONTCONFIG_CFLAGS=""
13968 FONTCONFIG_LIBS="" 9399 FONTCONFIG_LIBS=""
@@ -13999,9 +9430,9 @@ $as_echo "no" >&6; }
13999 9430
14000 # Extract the first word of "pkg-config", so it can be a program name with args. 9431 # Extract the first word of "pkg-config", so it can be a program name with args.
14001set dummy pkg-config; ac_word=$2 9432set dummy pkg-config; ac_word=$2
14002{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14003$as_echo_n "checking for $ac_word... " >&6; } 9434$as_echo_n "checking for $ac_word... " >&6; }
14004if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9435if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14005 $as_echo_n "(cached) " >&6 9436 $as_echo_n "(cached) " >&6
14006else 9437else
14007 case $PKG_CONFIG in 9438 case $PKG_CONFIG in
@@ -14014,14 +9445,14 @@ for as_dir in $PATH
14014do 9445do
14015 IFS=$as_save_IFS 9446 IFS=$as_save_IFS
14016 test -z "$as_dir" && as_dir=. 9447 test -z "$as_dir" && as_dir=.
14017 for ac_exec_ext in '' $ac_executable_extensions; do 9448 for ac_exec_ext in '' $ac_executable_extensions; do
14018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14019 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9450 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14020 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14021 break 2 9452 break 2
14022 fi 9453 fi
14023done 9454done
14024done 9455 done
14025IFS=$as_save_IFS 9456IFS=$as_save_IFS
14026 9457
14027 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9458 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -14030,10 +9461,10 @@ esac
14030fi 9461fi
14031PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9462PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14032if test -n "$PKG_CONFIG"; then 9463if test -n "$PKG_CONFIG"; then
14033 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14034$as_echo "$PKG_CONFIG" >&6; } 9465$as_echo "$PKG_CONFIG" >&6; }
14035else 9466else
14036 { $as_echo "$as_me:$LINENO: result: no" >&5 9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037$as_echo "no" >&6; } 9468$as_echo "no" >&6; }
14038fi 9469fi
14039 9470
@@ -14044,27 +9475,27 @@ fi
14044 else 9475 else
14045 PKG_CONFIG_MIN_VERSION=0.9.0 9476 PKG_CONFIG_MIN_VERSION=0.9.0
14046 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9477 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14047 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5
14048$as_echo_n "checking for xft >= 0.13.0... " >&6; } 9479$as_echo_n "checking for xft >= 0.13.0... " >&6; }
14049 9480
14050 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 9481 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
14051 { $as_echo "$as_me:$LINENO: result: yes" >&5 9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14052$as_echo "yes" >&6; } 9483$as_echo "yes" >&6; }
14053 succeeded=yes 9484 succeeded=yes
14054 9485
14055 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5
14056$as_echo_n "checking XFT_CFLAGS... " >&6; } 9487$as_echo_n "checking XFT_CFLAGS... " >&6; }
14057 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 9488 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
14058 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5
14059$as_echo "$XFT_CFLAGS" >&6; } 9490$as_echo "$XFT_CFLAGS" >&6; }
14060 9491
14061 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5
14062$as_echo_n "checking XFT_LIBS... " >&6; } 9493$as_echo_n "checking XFT_LIBS... " >&6; }
14063 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 9494 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
14064 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5
14065$as_echo "$XFT_LIBS" >&6; } 9496$as_echo "$XFT_LIBS" >&6; }
14066 else 9497 else
14067 { $as_echo "$as_me:$LINENO: result: no" >&5 9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14068$as_echo "no" >&6; } 9499$as_echo "no" >&6; }
14069 XFT_CFLAGS="" 9500 XFT_CFLAGS=""
14070 XFT_LIBS="" 9501 XFT_LIBS=""
@@ -14091,18 +9522,14 @@ $as_echo "no" >&6; }
14091 ## Because xftfont.c uses XRenderQueryExtension, we also 9522 ## Because xftfont.c uses XRenderQueryExtension, we also
14092 ## need to link to -lXrender. 9523 ## need to link to -lXrender.
14093 HAVE_XRENDER=no 9524 HAVE_XRENDER=no
14094 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
14095$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 9526$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
14096if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then 9527if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
14097 $as_echo_n "(cached) " >&6 9528 $as_echo_n "(cached) " >&6
14098else 9529else
14099 ac_check_lib_save_LIBS=$LIBS 9530 ac_check_lib_save_LIBS=$LIBS
14100LIBS="-lXrender $LIBS" 9531LIBS="-lXrender $LIBS"
14101cat >conftest.$ac_ext <<_ACEOF 9532cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102/* confdefs.h. */
14103_ACEOF
14104cat confdefs.h >>conftest.$ac_ext
14105cat >>conftest.$ac_ext <<_ACEOF
14106/* end confdefs.h. */ 9533/* end confdefs.h. */
14107 9534
14108/* Override any GCC internal prototype to avoid an error. 9535/* Override any GCC internal prototype to avoid an error.
@@ -14120,43 +9547,18 @@ return XRenderQueryExtension ();
14120 return 0; 9547 return 0;
14121} 9548}
14122_ACEOF 9549_ACEOF
14123rm -f conftest.$ac_objext conftest$ac_exeext 9550if ac_fn_c_try_link "$LINENO"; then :
14124if { (ac_try="$ac_link"
14125case "(($ac_try" in
14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14127 *) ac_try_echo=$ac_try;;
14128esac
14129eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14130$as_echo "$ac_try_echo") >&5
14131 (eval "$ac_link") 2>conftest.er1
14132 ac_status=$?
14133 grep -v '^ *+' conftest.er1 >conftest.err
14134 rm -f conftest.er1
14135 cat conftest.err >&5
14136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } && {
14138 test -z "$ac_c_werror_flag" ||
14139 test ! -s conftest.err
14140 } && test -s conftest$ac_exeext && {
14141 test "$cross_compiling" = yes ||
14142 $as_test_x conftest$ac_exeext
14143 }; then
14144 ac_cv_lib_Xrender_XRenderQueryExtension=yes 9551 ac_cv_lib_Xrender_XRenderQueryExtension=yes
14145else 9552else
14146 $as_echo "$as_me: failed program was:" >&5 9553 ac_cv_lib_Xrender_XRenderQueryExtension=no
14147sed 's/^/| /' conftest.$ac_ext >&5
14148
14149 ac_cv_lib_Xrender_XRenderQueryExtension=no
14150fi 9554fi
14151 9555rm -f core conftest.err conftest.$ac_objext \
14152rm -rf conftest.dSYM 9556 conftest$ac_exeext conftest.$ac_ext
14153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14154 conftest$ac_exeext conftest.$ac_ext
14155LIBS=$ac_check_lib_save_LIBS 9557LIBS=$ac_check_lib_save_LIBS
14156fi 9558fi
14157{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 9559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
14158$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 9560$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
14159if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then 9561if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then :
14160 HAVE_XRENDER=yes 9562 HAVE_XRENDER=yes
14161fi 9563fi
14162 9564
@@ -14168,146 +9570,16 @@ fi
14168 CFLAGS="$CFLAGS $XFT_CFLAGS" 9570 CFLAGS="$CFLAGS $XFT_CFLAGS"
14169 XFT_LIBS="-lXrender $XFT_LIBS" 9571 XFT_LIBS="-lXrender $XFT_LIBS"
14170 LIBS="$XFT_LIBS $LIBS" 9572 LIBS="$XFT_LIBS $LIBS"
14171 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 9573 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
14172 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 9574if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
14173$as_echo_n "checking for X11/Xft/Xft.h... " >&6; } 9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
14174if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
14175 $as_echo_n "(cached) " >&6
14176fi
14177{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
14178$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
14179else
14180 # Is the header compilable?
14181{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
14182$as_echo_n "checking X11/Xft/Xft.h usability... " >&6; }
14183cat >conftest.$ac_ext <<_ACEOF
14184/* confdefs.h. */
14185_ACEOF
14186cat confdefs.h >>conftest.$ac_ext
14187cat >>conftest.$ac_ext <<_ACEOF
14188/* end confdefs.h. */
14189$ac_includes_default
14190#include <X11/Xft/Xft.h>
14191_ACEOF
14192rm -f conftest.$ac_objext
14193if { (ac_try="$ac_compile"
14194case "(($ac_try" in
14195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14196 *) ac_try_echo=$ac_try;;
14197esac
14198eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14199$as_echo "$ac_try_echo") >&5
14200 (eval "$ac_compile") 2>conftest.er1
14201 ac_status=$?
14202 grep -v '^ *+' conftest.er1 >conftest.err
14203 rm -f conftest.er1
14204 cat conftest.err >&5
14205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } && {
14207 test -z "$ac_c_werror_flag" ||
14208 test ! -s conftest.err
14209 } && test -s conftest.$ac_objext; then
14210 ac_header_compiler=yes
14211else
14212 $as_echo "$as_me: failed program was:" >&5
14213sed 's/^/| /' conftest.$ac_ext >&5
14214
14215 ac_header_compiler=no
14216fi
14217
14218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14220$as_echo "$ac_header_compiler" >&6; }
14221
14222# Is the header present?
14223{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
14224$as_echo_n "checking X11/Xft/Xft.h presence... " >&6; }
14225cat >conftest.$ac_ext <<_ACEOF
14226/* confdefs.h. */
14227_ACEOF
14228cat confdefs.h >>conftest.$ac_ext
14229cat >>conftest.$ac_ext <<_ACEOF
14230/* end confdefs.h. */
14231#include <X11/Xft/Xft.h>
14232_ACEOF
14233if { (ac_try="$ac_cpp conftest.$ac_ext"
14234case "(($ac_try" in
14235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14236 *) ac_try_echo=$ac_try;;
14237esac
14238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14239$as_echo "$ac_try_echo") >&5
14240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14241 ac_status=$?
14242 grep -v '^ *+' conftest.er1 >conftest.err
14243 rm -f conftest.er1
14244 cat conftest.err >&5
14245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); } >/dev/null && {
14247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14248 test ! -s conftest.err
14249 }; then
14250 ac_header_preproc=yes
14251else
14252 $as_echo "$as_me: failed program was:" >&5
14253sed 's/^/| /' conftest.$ac_ext >&5
14254
14255 ac_header_preproc=no
14256fi
14257
14258rm -f conftest.err conftest.$ac_ext
14259{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14260$as_echo "$ac_header_preproc" >&6; }
14261
14262# So? What about this header?
14263case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14264 yes:no: )
14265 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
14266$as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14267 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
14268$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
14269 ac_header_preproc=yes
14270 ;;
14271 no:yes:* )
14272 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
14273$as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
14274 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
14275$as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
14276 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
14277$as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
14278 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
14279$as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
14280 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
14281$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
14282 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
14283$as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
14284
14285 ;;
14286esac
14287{ $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
14288$as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
14289if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
14290 $as_echo_n "(cached) " >&6
14291else
14292 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
14293fi
14294{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
14295$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
14296
14297fi
14298if test $ac_cv_header_X11_Xft_Xft_h = yes; then
14299 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
14300$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 9576$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
14301if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then 9577if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then :
14302 $as_echo_n "(cached) " >&6 9578 $as_echo_n "(cached) " >&6
14303else 9579else
14304 ac_check_lib_save_LIBS=$LIBS 9580 ac_check_lib_save_LIBS=$LIBS
14305LIBS="-lXft $XFT_LIBS $LIBS" 9581LIBS="-lXft $XFT_LIBS $LIBS"
14306cat >conftest.$ac_ext <<_ACEOF 9582cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307/* confdefs.h. */
14308_ACEOF
14309cat confdefs.h >>conftest.$ac_ext
14310cat >>conftest.$ac_ext <<_ACEOF
14311/* end confdefs.h. */ 9583/* end confdefs.h. */
14312 9584
14313/* Override any GCC internal prototype to avoid an error. 9585/* Override any GCC internal prototype to avoid an error.
@@ -14325,43 +9597,18 @@ return XftFontOpen ();
14325 return 0; 9597 return 0;
14326} 9598}
14327_ACEOF 9599_ACEOF
14328rm -f conftest.$ac_objext conftest$ac_exeext 9600if ac_fn_c_try_link "$LINENO"; then :
14329if { (ac_try="$ac_link"
14330case "(($ac_try" in
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14332 *) ac_try_echo=$ac_try;;
14333esac
14334eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14335$as_echo "$ac_try_echo") >&5
14336 (eval "$ac_link") 2>conftest.er1
14337 ac_status=$?
14338 grep -v '^ *+' conftest.er1 >conftest.err
14339 rm -f conftest.er1
14340 cat conftest.err >&5
14341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } && {
14343 test -z "$ac_c_werror_flag" ||
14344 test ! -s conftest.err
14345 } && test -s conftest$ac_exeext && {
14346 test "$cross_compiling" = yes ||
14347 $as_test_x conftest$ac_exeext
14348 }; then
14349 ac_cv_lib_Xft_XftFontOpen=yes 9601 ac_cv_lib_Xft_XftFontOpen=yes
14350else 9602else
14351 $as_echo "$as_me: failed program was:" >&5 9603 ac_cv_lib_Xft_XftFontOpen=no
14352sed 's/^/| /' conftest.$ac_ext >&5
14353
14354 ac_cv_lib_Xft_XftFontOpen=no
14355fi 9604fi
14356 9605rm -f core conftest.err conftest.$ac_objext \
14357rm -rf conftest.dSYM 9606 conftest$ac_exeext conftest.$ac_ext
14358rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14359 conftest$ac_exeext conftest.$ac_ext
14360LIBS=$ac_check_lib_save_LIBS 9607LIBS=$ac_check_lib_save_LIBS
14361fi 9608fi
14362{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 9609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
14363$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 9610$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
14364if test $ac_cv_lib_Xft_XftFontOpen = yes; then 9611if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then :
14365 HAVE_XFT=yes 9612 HAVE_XFT=yes
14366fi 9613fi
14367 9614
@@ -14371,9 +9618,7 @@ fi
14371 9618
14372 if test "${HAVE_XFT}" = "yes"; then 9619 if test "${HAVE_XFT}" = "yes"; then
14373 9620
14374cat >>confdefs.h <<\_ACEOF 9621$as_echo "#define HAVE_XFT 1" >>confdefs.h
14375#define HAVE_XFT 1
14376_ACEOF
14377 9622
14378 9623
14379 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" 9624 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS"
@@ -14402,9 +9647,7 @@ _ACEOF
14402 HAVE_LIBOTF=no 9647 HAVE_LIBOTF=no
14403 if test "${HAVE_FREETYPE}" = "yes"; then 9648 if test "${HAVE_FREETYPE}" = "yes"; then
14404 9649
14405cat >>confdefs.h <<\_ACEOF 9650$as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14406#define HAVE_FREETYPE 1
14407_ACEOF
14408 9651
14409 if test "${with_libotf}" != "no"; then 9652 if test "${with_libotf}" != "no"; then
14410 9653
@@ -14412,9 +9655,9 @@ _ACEOF
14412 9655
14413 # Extract the first word of "pkg-config", so it can be a program name with args. 9656 # Extract the first word of "pkg-config", so it can be a program name with args.
14414set dummy pkg-config; ac_word=$2 9657set dummy pkg-config; ac_word=$2
14415{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14416$as_echo_n "checking for $ac_word... " >&6; } 9659$as_echo_n "checking for $ac_word... " >&6; }
14417if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9660if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14418 $as_echo_n "(cached) " >&6 9661 $as_echo_n "(cached) " >&6
14419else 9662else
14420 case $PKG_CONFIG in 9663 case $PKG_CONFIG in
@@ -14427,14 +9670,14 @@ for as_dir in $PATH
14427do 9670do
14428 IFS=$as_save_IFS 9671 IFS=$as_save_IFS
14429 test -z "$as_dir" && as_dir=. 9672 test -z "$as_dir" && as_dir=.
14430 for ac_exec_ext in '' $ac_executable_extensions; do 9673 for ac_exec_ext in '' $ac_executable_extensions; do
14431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9675 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14433 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14434 break 2 9677 break 2
14435 fi 9678 fi
14436done 9679done
14437done 9680 done
14438IFS=$as_save_IFS 9681IFS=$as_save_IFS
14439 9682
14440 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9683 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -14443,10 +9686,10 @@ esac
14443fi 9686fi
14444PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9687PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14445if test -n "$PKG_CONFIG"; then 9688if test -n "$PKG_CONFIG"; then
14446 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14447$as_echo "$PKG_CONFIG" >&6; } 9690$as_echo "$PKG_CONFIG" >&6; }
14448else 9691else
14449 { $as_echo "$as_me:$LINENO: result: no" >&5 9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14450$as_echo "no" >&6; } 9693$as_echo "no" >&6; }
14451fi 9694fi
14452 9695
@@ -14457,27 +9700,27 @@ fi
14457 else 9700 else
14458 PKG_CONFIG_MIN_VERSION=0.9.0 9701 PKG_CONFIG_MIN_VERSION=0.9.0
14459 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9702 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14460 { $as_echo "$as_me:$LINENO: checking for libotf" >&5 9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5
14461$as_echo_n "checking for libotf... " >&6; } 9704$as_echo_n "checking for libotf... " >&6; }
14462 9705
14463 if $PKG_CONFIG --exists "libotf" 2>&5; then 9706 if $PKG_CONFIG --exists "libotf" 2>&5; then
14464 { $as_echo "$as_me:$LINENO: result: yes" >&5 9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14465$as_echo "yes" >&6; } 9708$as_echo "yes" >&6; }
14466 succeeded=yes 9709 succeeded=yes
14467 9710
14468 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5
14469$as_echo_n "checking LIBOTF_CFLAGS... " >&6; } 9712$as_echo_n "checking LIBOTF_CFLAGS... " >&6; }
14470 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` 9713 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
14471 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5
14472$as_echo "$LIBOTF_CFLAGS" >&6; } 9715$as_echo "$LIBOTF_CFLAGS" >&6; }
14473 9716
14474 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5
14475$as_echo_n "checking LIBOTF_LIBS... " >&6; } 9718$as_echo_n "checking LIBOTF_LIBS... " >&6; }
14476 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` 9719 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
14477 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5
14478$as_echo "$LIBOTF_LIBS" >&6; } 9721$as_echo "$LIBOTF_LIBS" >&6; }
14479 else 9722 else
14480 { $as_echo "$as_me:$LINENO: result: no" >&5 9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14481$as_echo "no" >&6; } 9724$as_echo "no" >&6; }
14482 LIBOTF_CFLAGS="" 9725 LIBOTF_CFLAGS=""
14483 LIBOTF_LIBS="" 9726 LIBOTF_LIBS=""
@@ -14503,22 +9746,16 @@ $as_echo "no" >&6; }
14503 9746
14504 if test "$HAVE_LIBOTF" = "yes"; then 9747 if test "$HAVE_LIBOTF" = "yes"; then
14505 9748
14506cat >>confdefs.h <<\_ACEOF 9749$as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
14507#define HAVE_LIBOTF 1
14508_ACEOF
14509 9750
14510 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
14511$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 9752$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
14512if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then 9753if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then :
14513 $as_echo_n "(cached) " >&6 9754 $as_echo_n "(cached) " >&6
14514else 9755else
14515 ac_check_lib_save_LIBS=$LIBS 9756 ac_check_lib_save_LIBS=$LIBS
14516LIBS="-lotf $LIBS" 9757LIBS="-lotf $LIBS"
14517cat >conftest.$ac_ext <<_ACEOF 9758cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518/* confdefs.h. */
14519_ACEOF
14520cat confdefs.h >>conftest.$ac_ext
14521cat >>conftest.$ac_ext <<_ACEOF
14522/* end confdefs.h. */ 9759/* end confdefs.h. */
14523 9760
14524/* Override any GCC internal prototype to avoid an error. 9761/* Override any GCC internal prototype to avoid an error.
@@ -14536,43 +9773,18 @@ return OTF_get_variation_glyphs ();
14536 return 0; 9773 return 0;
14537} 9774}
14538_ACEOF 9775_ACEOF
14539rm -f conftest.$ac_objext conftest$ac_exeext 9776if ac_fn_c_try_link "$LINENO"; then :
14540if { (ac_try="$ac_link"
14541case "(($ac_try" in
14542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14543 *) ac_try_echo=$ac_try;;
14544esac
14545eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14546$as_echo "$ac_try_echo") >&5
14547 (eval "$ac_link") 2>conftest.er1
14548 ac_status=$?
14549 grep -v '^ *+' conftest.er1 >conftest.err
14550 rm -f conftest.er1
14551 cat conftest.err >&5
14552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); } && {
14554 test -z "$ac_c_werror_flag" ||
14555 test ! -s conftest.err
14556 } && test -s conftest$ac_exeext && {
14557 test "$cross_compiling" = yes ||
14558 $as_test_x conftest$ac_exeext
14559 }; then
14560 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 9777 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
14561else 9778else
14562 $as_echo "$as_me: failed program was:" >&5 9779 ac_cv_lib_otf_OTF_get_variation_glyphs=no
14563sed 's/^/| /' conftest.$ac_ext >&5
14564
14565 ac_cv_lib_otf_OTF_get_variation_glyphs=no
14566fi 9780fi
14567 9781rm -f core conftest.err conftest.$ac_objext \
14568rm -rf conftest.dSYM 9782 conftest$ac_exeext conftest.$ac_ext
14569rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14570 conftest$ac_exeext conftest.$ac_ext
14571LIBS=$ac_check_lib_save_LIBS 9783LIBS=$ac_check_lib_save_LIBS
14572fi 9784fi
14573{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 9785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
14574$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 9786$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
14575if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then 9787if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then :
14576 HAVE_OTF_GET_VARIATION_GLYPHS=yes 9788 HAVE_OTF_GET_VARIATION_GLYPHS=yes
14577else 9789else
14578 HAVE_OTF_GET_VARIATION_GLYPHS=no 9790 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -14580,9 +9792,7 @@ fi
14580 9792
14581 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then 9793 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then
14582 9794
14583cat >>confdefs.h <<\_ACEOF 9795$as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
14584#define HAVE_OTF_GET_VARIATION_GLYPHS 1
14585_ACEOF
14586 9796
14587 fi 9797 fi
14588 fi 9798 fi
@@ -14597,9 +9807,9 @@ _ACEOF
14597 9807
14598 # Extract the first word of "pkg-config", so it can be a program name with args. 9808 # Extract the first word of "pkg-config", so it can be a program name with args.
14599set dummy pkg-config; ac_word=$2 9809set dummy pkg-config; ac_word=$2
14600{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14601$as_echo_n "checking for $ac_word... " >&6; } 9811$as_echo_n "checking for $ac_word... " >&6; }
14602if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9812if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14603 $as_echo_n "(cached) " >&6 9813 $as_echo_n "(cached) " >&6
14604else 9814else
14605 case $PKG_CONFIG in 9815 case $PKG_CONFIG in
@@ -14612,14 +9822,14 @@ for as_dir in $PATH
14612do 9822do
14613 IFS=$as_save_IFS 9823 IFS=$as_save_IFS
14614 test -z "$as_dir" && as_dir=. 9824 test -z "$as_dir" && as_dir=.
14615 for ac_exec_ext in '' $ac_executable_extensions; do 9825 for ac_exec_ext in '' $ac_executable_extensions; do
14616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14617 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9827 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14619 break 2 9829 break 2
14620 fi 9830 fi
14621done 9831done
14622done 9832 done
14623IFS=$as_save_IFS 9833IFS=$as_save_IFS
14624 9834
14625 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9835 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -14628,10 +9838,10 @@ esac
14628fi 9838fi
14629PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9839PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14630if test -n "$PKG_CONFIG"; then 9840if test -n "$PKG_CONFIG"; then
14631 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14632$as_echo "$PKG_CONFIG" >&6; } 9842$as_echo "$PKG_CONFIG" >&6; }
14633else 9843else
14634 { $as_echo "$as_me:$LINENO: result: no" >&5 9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14635$as_echo "no" >&6; } 9845$as_echo "no" >&6; }
14636fi 9846fi
14637 9847
@@ -14642,27 +9852,27 @@ fi
14642 else 9852 else
14643 PKG_CONFIG_MIN_VERSION=0.9.0 9853 PKG_CONFIG_MIN_VERSION=0.9.0
14644 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9854 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14645 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5
14646$as_echo_n "checking for m17n-flt... " >&6; } 9856$as_echo_n "checking for m17n-flt... " >&6; }
14647 9857
14648 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 9858 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
14649 { $as_echo "$as_me:$LINENO: result: yes" >&5 9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14650$as_echo "yes" >&6; } 9860$as_echo "yes" >&6; }
14651 succeeded=yes 9861 succeeded=yes
14652 9862
14653 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5
14654$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } 9864$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; }
14655 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 9865 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
14656 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5
14657$as_echo "$M17N_FLT_CFLAGS" >&6; } 9867$as_echo "$M17N_FLT_CFLAGS" >&6; }
14658 9868
14659 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5
14660$as_echo_n "checking M17N_FLT_LIBS... " >&6; } 9870$as_echo_n "checking M17N_FLT_LIBS... " >&6; }
14661 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 9871 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
14662 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5
14663$as_echo "$M17N_FLT_LIBS" >&6; } 9873$as_echo "$M17N_FLT_LIBS" >&6; }
14664 else 9874 else
14665 { $as_echo "$as_me:$LINENO: result: no" >&5 9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14666$as_echo "no" >&6; } 9876$as_echo "no" >&6; }
14667 M17N_FLT_CFLAGS="" 9877 M17N_FLT_CFLAGS=""
14668 M17N_FLT_LIBS="" 9878 M17N_FLT_LIBS=""
@@ -14688,9 +9898,7 @@ $as_echo "no" >&6; }
14688 9898
14689 if test "$HAVE_M17N_FLT" = "yes"; then 9899 if test "$HAVE_M17N_FLT" = "yes"; then
14690 9900
14691cat >>confdefs.h <<\_ACEOF 9901$as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h
14692#define HAVE_M17N_FLT 1
14693_ACEOF
14694 9902
14695 fi 9903 fi
14696 fi 9904 fi
@@ -14726,146 +9934,16 @@ HAVE_XPM=no
14726LIBXPM= 9934LIBXPM=
14727if test "${HAVE_X11}" = "yes"; then 9935if test "${HAVE_X11}" = "yes"; then
14728 if test "${with_xpm}" != "no"; then 9936 if test "${with_xpm}" != "no"; then
14729 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 9937 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
14730 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 9938if test "x$ac_cv_header_X11_xpm_h" = x""yes; then :
14731$as_echo_n "checking for X11/xpm.h... " >&6; } 9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
14732if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14733 $as_echo_n "(cached) " >&6
14734fi
14735{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14736$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14737else
14738 # Is the header compilable?
14739{ $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
14740$as_echo_n "checking X11/xpm.h usability... " >&6; }
14741cat >conftest.$ac_ext <<_ACEOF
14742/* confdefs.h. */
14743_ACEOF
14744cat confdefs.h >>conftest.$ac_ext
14745cat >>conftest.$ac_ext <<_ACEOF
14746/* end confdefs.h. */
14747$ac_includes_default
14748#include <X11/xpm.h>
14749_ACEOF
14750rm -f conftest.$ac_objext
14751if { (ac_try="$ac_compile"
14752case "(($ac_try" in
14753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14754 *) ac_try_echo=$ac_try;;
14755esac
14756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14757$as_echo "$ac_try_echo") >&5
14758 (eval "$ac_compile") 2>conftest.er1
14759 ac_status=$?
14760 grep -v '^ *+' conftest.er1 >conftest.err
14761 rm -f conftest.er1
14762 cat conftest.err >&5
14763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } && {
14765 test -z "$ac_c_werror_flag" ||
14766 test ! -s conftest.err
14767 } && test -s conftest.$ac_objext; then
14768 ac_header_compiler=yes
14769else
14770 $as_echo "$as_me: failed program was:" >&5
14771sed 's/^/| /' conftest.$ac_ext >&5
14772
14773 ac_header_compiler=no
14774fi
14775
14776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14777{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14778$as_echo "$ac_header_compiler" >&6; }
14779
14780# Is the header present?
14781{ $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
14782$as_echo_n "checking X11/xpm.h presence... " >&6; }
14783cat >conftest.$ac_ext <<_ACEOF
14784/* confdefs.h. */
14785_ACEOF
14786cat confdefs.h >>conftest.$ac_ext
14787cat >>conftest.$ac_ext <<_ACEOF
14788/* end confdefs.h. */
14789#include <X11/xpm.h>
14790_ACEOF
14791if { (ac_try="$ac_cpp conftest.$ac_ext"
14792case "(($ac_try" in
14793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14794 *) ac_try_echo=$ac_try;;
14795esac
14796eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14797$as_echo "$ac_try_echo") >&5
14798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14799 ac_status=$?
14800 grep -v '^ *+' conftest.er1 >conftest.err
14801 rm -f conftest.er1
14802 cat conftest.err >&5
14803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } >/dev/null && {
14805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14806 test ! -s conftest.err
14807 }; then
14808 ac_header_preproc=yes
14809else
14810 $as_echo "$as_me: failed program was:" >&5
14811sed 's/^/| /' conftest.$ac_ext >&5
14812
14813 ac_header_preproc=no
14814fi
14815
14816rm -f conftest.err conftest.$ac_ext
14817{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14818$as_echo "$ac_header_preproc" >&6; }
14819
14820# So? What about this header?
14821case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14822 yes:no: )
14823 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
14824$as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14825 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
14826$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
14827 ac_header_preproc=yes
14828 ;;
14829 no:yes:* )
14830 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
14831$as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
14832 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
14833$as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
14834 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
14835$as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
14836 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
14837$as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
14838 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
14839$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
14840 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
14841$as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
14842
14843 ;;
14844esac
14845{ $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
14846$as_echo_n "checking for X11/xpm.h... " >&6; }
14847if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14848 $as_echo_n "(cached) " >&6
14849else
14850 ac_cv_header_X11_xpm_h=$ac_header_preproc
14851fi
14852{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14853$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14854
14855fi
14856if test $ac_cv_header_X11_xpm_h = yes; then
14857 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
14858$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 9940$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
14859if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 9941if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then :
14860 $as_echo_n "(cached) " >&6 9942 $as_echo_n "(cached) " >&6
14861else 9943else
14862 ac_check_lib_save_LIBS=$LIBS 9944 ac_check_lib_save_LIBS=$LIBS
14863LIBS="-lXpm -lX11 $LIBS" 9945LIBS="-lXpm -lX11 $LIBS"
14864cat >conftest.$ac_ext <<_ACEOF 9946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865/* confdefs.h. */
14866_ACEOF
14867cat confdefs.h >>conftest.$ac_ext
14868cat >>conftest.$ac_ext <<_ACEOF
14869/* end confdefs.h. */ 9947/* end confdefs.h. */
14870 9948
14871/* Override any GCC internal prototype to avoid an error. 9949/* Override any GCC internal prototype to avoid an error.
@@ -14883,43 +9961,18 @@ return XpmReadFileToPixmap ();
14883 return 0; 9961 return 0;
14884} 9962}
14885_ACEOF 9963_ACEOF
14886rm -f conftest.$ac_objext conftest$ac_exeext 9964if ac_fn_c_try_link "$LINENO"; then :
14887if { (ac_try="$ac_link"
14888case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891esac
14892eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14893$as_echo "$ac_try_echo") >&5
14894 (eval "$ac_link") 2>conftest.er1
14895 ac_status=$?
14896 grep -v '^ *+' conftest.er1 >conftest.err
14897 rm -f conftest.er1
14898 cat conftest.err >&5
14899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } && {
14901 test -z "$ac_c_werror_flag" ||
14902 test ! -s conftest.err
14903 } && test -s conftest$ac_exeext && {
14904 test "$cross_compiling" = yes ||
14905 $as_test_x conftest$ac_exeext
14906 }; then
14907 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 9965 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
14908else 9966else
14909 $as_echo "$as_me: failed program was:" >&5 9967 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
14910sed 's/^/| /' conftest.$ac_ext >&5
14911
14912 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
14913fi 9968fi
14914 9969rm -f core conftest.err conftest.$ac_objext \
14915rm -rf conftest.dSYM 9970 conftest$ac_exeext conftest.$ac_ext
14916rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14917 conftest$ac_exeext conftest.$ac_ext
14918LIBS=$ac_check_lib_save_LIBS 9971LIBS=$ac_check_lib_save_LIBS
14919fi 9972fi
14920{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 9973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
14921$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 9974$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
14922if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 9975if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then :
14923 HAVE_XPM=yes 9976 HAVE_XPM=yes
14924fi 9977fi
14925 9978
@@ -14927,13 +9980,9 @@ fi
14927 9980
14928 9981
14929 if test "${HAVE_XPM}" = "yes"; then 9982 if test "${HAVE_XPM}" = "yes"; then
14930 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5
14931$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } 9984$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; }
14932 cat >conftest.$ac_ext <<_ACEOF 9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933/* confdefs.h. */
14934_ACEOF
14935cat confdefs.h >>conftest.$ac_ext
14936cat >>conftest.$ac_ext <<_ACEOF
14937/* end confdefs.h. */ 9986/* end confdefs.h. */
14938#include "X11/xpm.h" 9987#include "X11/xpm.h"
14939#ifndef XpmReturnAllocPixels 9988#ifndef XpmReturnAllocPixels
@@ -14942,7 +9991,7 @@ no_return_alloc_pixels
14942 9991
14943_ACEOF 9992_ACEOF
14944if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9993if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14945 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then 9994 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then :
14946 HAVE_XPM=no 9995 HAVE_XPM=no
14947else 9996else
14948 HAVE_XPM=yes 9997 HAVE_XPM=yes
@@ -14951,10 +10000,10 @@ rm -f conftest*
14951 10000
14952 10001
14953 if test "${HAVE_XPM}" = "yes"; then 10002 if test "${HAVE_XPM}" = "yes"; then
14954 { $as_echo "$as_me:$LINENO: result: yes" >&5 10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14955$as_echo "yes" >&6; } 10004$as_echo "yes" >&6; }
14956 else 10005 else
14957 { $as_echo "$as_me:$LINENO: result: no" >&5 10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14958$as_echo "no" >&6; } 10007$as_echo "no" >&6; }
14959 fi 10008 fi
14960 fi 10009 fi
@@ -14962,9 +10011,7 @@ $as_echo "no" >&6; }
14962 10011
14963 if test "${HAVE_XPM}" = "yes"; then 10012 if test "${HAVE_XPM}" = "yes"; then
14964 10013
14965cat >>confdefs.h <<\_ACEOF 10014$as_echo "#define HAVE_XPM 1" >>confdefs.h
14966#define HAVE_XPM 1
14967_ACEOF
14968 10015
14969 LIBXPM=-lXpm 10016 LIBXPM=-lXpm
14970 fi 10017 fi
@@ -14976,146 +10023,16 @@ HAVE_JPEG=no
14976LIBJPEG= 10023LIBJPEG=
14977if test "${HAVE_X11}" = "yes"; then 10024if test "${HAVE_X11}" = "yes"; then
14978 if test "${with_jpeg}" != "no"; then 10025 if test "${with_jpeg}" != "no"; then
14979 if test "${ac_cv_header_jerror_h+set}" = set; then 10026 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
14980 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 10027if test "x$ac_cv_header_jerror_h" = x""yes; then :
14981$as_echo_n "checking for jerror.h... " >&6; } 10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
14982if test "${ac_cv_header_jerror_h+set}" = set; then
14983 $as_echo_n "(cached) " >&6
14984fi
14985{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14986$as_echo "$ac_cv_header_jerror_h" >&6; }
14987else
14988 # Is the header compilable?
14989{ $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5
14990$as_echo_n "checking jerror.h usability... " >&6; }
14991cat >conftest.$ac_ext <<_ACEOF
14992/* confdefs.h. */
14993_ACEOF
14994cat confdefs.h >>conftest.$ac_ext
14995cat >>conftest.$ac_ext <<_ACEOF
14996/* end confdefs.h. */
14997$ac_includes_default
14998#include <jerror.h>
14999_ACEOF
15000rm -f conftest.$ac_objext
15001if { (ac_try="$ac_compile"
15002case "(($ac_try" in
15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15004 *) ac_try_echo=$ac_try;;
15005esac
15006eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15007$as_echo "$ac_try_echo") >&5
15008 (eval "$ac_compile") 2>conftest.er1
15009 ac_status=$?
15010 grep -v '^ *+' conftest.er1 >conftest.err
15011 rm -f conftest.er1
15012 cat conftest.err >&5
15013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); } && {
15015 test -z "$ac_c_werror_flag" ||
15016 test ! -s conftest.err
15017 } && test -s conftest.$ac_objext; then
15018 ac_header_compiler=yes
15019else
15020 $as_echo "$as_me: failed program was:" >&5
15021sed 's/^/| /' conftest.$ac_ext >&5
15022
15023 ac_header_compiler=no
15024fi
15025
15026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15028$as_echo "$ac_header_compiler" >&6; }
15029
15030# Is the header present?
15031{ $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5
15032$as_echo_n "checking jerror.h presence... " >&6; }
15033cat >conftest.$ac_ext <<_ACEOF
15034/* confdefs.h. */
15035_ACEOF
15036cat confdefs.h >>conftest.$ac_ext
15037cat >>conftest.$ac_ext <<_ACEOF
15038/* end confdefs.h. */
15039#include <jerror.h>
15040_ACEOF
15041if { (ac_try="$ac_cpp conftest.$ac_ext"
15042case "(($ac_try" in
15043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15044 *) ac_try_echo=$ac_try;;
15045esac
15046eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15047$as_echo "$ac_try_echo") >&5
15048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15049 ac_status=$?
15050 grep -v '^ *+' conftest.er1 >conftest.err
15051 rm -f conftest.er1
15052 cat conftest.err >&5
15053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } >/dev/null && {
15055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15056 test ! -s conftest.err
15057 }; then
15058 ac_header_preproc=yes
15059else
15060 $as_echo "$as_me: failed program was:" >&5
15061sed 's/^/| /' conftest.$ac_ext >&5
15062
15063 ac_header_preproc=no
15064fi
15065
15066rm -f conftest.err conftest.$ac_ext
15067{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15068$as_echo "$ac_header_preproc" >&6; }
15069
15070# So? What about this header?
15071case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15072 yes:no: )
15073 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
15074$as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15075 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
15076$as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
15077 ac_header_preproc=yes
15078 ;;
15079 no:yes:* )
15080 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
15081$as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
15082 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
15083$as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
15084 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
15085$as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
15086 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
15087$as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
15088 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
15089$as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
15090 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
15091$as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
15092
15093 ;;
15094esac
15095{ $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
15096$as_echo_n "checking for jerror.h... " >&6; }
15097if test "${ac_cv_header_jerror_h+set}" = set; then
15098 $as_echo_n "(cached) " >&6
15099else
15100 ac_cv_header_jerror_h=$ac_header_preproc
15101fi
15102{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
15103$as_echo "$ac_cv_header_jerror_h" >&6; }
15104
15105fi
15106if test $ac_cv_header_jerror_h = yes; then
15107 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
15108$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 10029$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
15109if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 10030if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then :
15110 $as_echo_n "(cached) " >&6 10031 $as_echo_n "(cached) " >&6
15111else 10032else
15112 ac_check_lib_save_LIBS=$LIBS 10033 ac_check_lib_save_LIBS=$LIBS
15113LIBS="-ljpeg $LIBS" 10034LIBS="-ljpeg $LIBS"
15114cat >conftest.$ac_ext <<_ACEOF 10035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15115/* confdefs.h. */
15116_ACEOF
15117cat confdefs.h >>conftest.$ac_ext
15118cat >>conftest.$ac_ext <<_ACEOF
15119/* end confdefs.h. */ 10036/* end confdefs.h. */
15120 10037
15121/* Override any GCC internal prototype to avoid an error. 10038/* Override any GCC internal prototype to avoid an error.
@@ -15133,43 +10050,18 @@ return jpeg_destroy_compress ();
15133 return 0; 10050 return 0;
15134} 10051}
15135_ACEOF 10052_ACEOF
15136rm -f conftest.$ac_objext conftest$ac_exeext 10053if ac_fn_c_try_link "$LINENO"; then :
15137if { (ac_try="$ac_link"
15138case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15141esac
15142eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15143$as_echo "$ac_try_echo") >&5
15144 (eval "$ac_link") 2>conftest.er1
15145 ac_status=$?
15146 grep -v '^ *+' conftest.er1 >conftest.err
15147 rm -f conftest.er1
15148 cat conftest.err >&5
15149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } && {
15151 test -z "$ac_c_werror_flag" ||
15152 test ! -s conftest.err
15153 } && test -s conftest$ac_exeext && {
15154 test "$cross_compiling" = yes ||
15155 $as_test_x conftest$ac_exeext
15156 }; then
15157 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 10054 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
15158else 10055else
15159 $as_echo "$as_me: failed program was:" >&5 10056 ac_cv_lib_jpeg_jpeg_destroy_compress=no
15160sed 's/^/| /' conftest.$ac_ext >&5
15161
15162 ac_cv_lib_jpeg_jpeg_destroy_compress=no
15163fi 10057fi
15164 10058rm -f core conftest.err conftest.$ac_objext \
15165rm -rf conftest.dSYM 10059 conftest$ac_exeext conftest.$ac_ext
15166rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext
15168LIBS=$ac_check_lib_save_LIBS 10060LIBS=$ac_check_lib_save_LIBS
15169fi 10061fi
15170{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 10062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
15171$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 10063$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
15172if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 10064if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then :
15173 HAVE_JPEG=yes 10065 HAVE_JPEG=yes
15174fi 10066fi
15175 10067
@@ -15178,30 +10070,21 @@ fi
15178 10070
15179 fi 10071 fi
15180 10072
10073 if test "${HAVE_JPEG}" = "yes"; then
10074 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
15181 10075
15182 if test "${HAVE_JPEG}" = "yes"; then 10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 cat >>confdefs.h <<\_ACEOF
15184#define HAVE_JPEG 1
15185_ACEOF
15186
15187 cat >conftest.$ac_ext <<_ACEOF
15188/* confdefs.h. */
15189_ACEOF
15190cat confdefs.h >>conftest.$ac_ext
15191cat >>conftest.$ac_ext <<_ACEOF
15192/* end confdefs.h. */ 10077/* end confdefs.h. */
15193#include <jpeglib.h> 10078#include <jpeglib.h>
15194 version=JPEG_LIB_VERSION 10079 version=JPEG_LIB_VERSION
15195 10080
15196_ACEOF 10081_ACEOF
15197if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10082if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15198 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then 10083 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then :
15199 cat >>confdefs.h <<\_ACEOF 10084 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
15200#define HAVE_JPEG 1
15201_ACEOF
15202 10085
15203else 10086else
15204 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 10087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5
15205$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 10088$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
15206 HAVE_JPEG=no 10089 HAVE_JPEG=no
15207fi 10090fi
@@ -15221,144 +10104,12 @@ if test "${HAVE_X11}" = "yes"; then
15221 if test "${with_png}" != "no"; then 10104 if test "${with_png}" != "no"; then
15222 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h 10105 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
15223 # in /usr/include/libpng. 10106 # in /usr/include/libpng.
15224 10107 for ac_header in png.h libpng/png.h
15225 10108do :
15226for ac_header in png.h libpng/png.h 10109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15227do 10110ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15228as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10111eval as_val=\$$as_ac_Header
15229if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10112 if test "x$as_val" = x""yes; then :
15230 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15231$as_echo_n "checking for $ac_header... " >&6; }
15232if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15233 $as_echo_n "(cached) " >&6
15234fi
15235ac_res=`eval 'as_val=${'$as_ac_Header'}
15236 $as_echo "$as_val"'`
15237 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15238$as_echo "$ac_res" >&6; }
15239else
15240 # Is the header compilable?
15241{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15242$as_echo_n "checking $ac_header usability... " >&6; }
15243cat >conftest.$ac_ext <<_ACEOF
15244/* confdefs.h. */
15245_ACEOF
15246cat confdefs.h >>conftest.$ac_ext
15247cat >>conftest.$ac_ext <<_ACEOF
15248/* end confdefs.h. */
15249$ac_includes_default
15250#include <$ac_header>
15251_ACEOF
15252rm -f conftest.$ac_objext
15253if { (ac_try="$ac_compile"
15254case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15257esac
15258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15259$as_echo "$ac_try_echo") >&5
15260 (eval "$ac_compile") 2>conftest.er1
15261 ac_status=$?
15262 grep -v '^ *+' conftest.er1 >conftest.err
15263 rm -f conftest.er1
15264 cat conftest.err >&5
15265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); } && {
15267 test -z "$ac_c_werror_flag" ||
15268 test ! -s conftest.err
15269 } && test -s conftest.$ac_objext; then
15270 ac_header_compiler=yes
15271else
15272 $as_echo "$as_me: failed program was:" >&5
15273sed 's/^/| /' conftest.$ac_ext >&5
15274
15275 ac_header_compiler=no
15276fi
15277
15278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15279{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15280$as_echo "$ac_header_compiler" >&6; }
15281
15282# Is the header present?
15283{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15284$as_echo_n "checking $ac_header presence... " >&6; }
15285cat >conftest.$ac_ext <<_ACEOF
15286/* confdefs.h. */
15287_ACEOF
15288cat confdefs.h >>conftest.$ac_ext
15289cat >>conftest.$ac_ext <<_ACEOF
15290/* end confdefs.h. */
15291#include <$ac_header>
15292_ACEOF
15293if { (ac_try="$ac_cpp conftest.$ac_ext"
15294case "(($ac_try" in
15295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15296 *) ac_try_echo=$ac_try;;
15297esac
15298eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15299$as_echo "$ac_try_echo") >&5
15300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } >/dev/null && {
15307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 }; then
15310 ac_header_preproc=yes
15311else
15312 $as_echo "$as_me: failed program was:" >&5
15313sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 ac_header_preproc=no
15316fi
15317
15318rm -f conftest.err conftest.$ac_ext
15319{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15320$as_echo "$ac_header_preproc" >&6; }
15321
15322# So? What about this header?
15323case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15324 yes:no: )
15325 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15326$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15328$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15329 ac_header_preproc=yes
15330 ;;
15331 no:yes:* )
15332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15333$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15335$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15337$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15339$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15340 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15341$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15342 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15343$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15344
15345 ;;
15346esac
15347{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15348$as_echo_n "checking for $ac_header... " >&6; }
15349if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15350 $as_echo_n "(cached) " >&6
15351else
15352 eval "$as_ac_Header=\$ac_header_preproc"
15353fi
15354ac_res=`eval 'as_val=${'$as_ac_Header'}
15355 $as_echo "$as_val"'`
15356 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15357$as_echo "$ac_res" >&6; }
15358
15359fi
15360if test `eval 'as_val=${'$as_ac_Header'}
15361 $as_echo "$as_val"'` = yes; then
15362 cat >>confdefs.h <<_ACEOF 10113 cat >>confdefs.h <<_ACEOF
15363#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10114#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15364_ACEOF 10115_ACEOF
@@ -15368,18 +10119,14 @@ fi
15368done 10119done
15369 10120
15370 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 10121 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
15371 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
15372$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 10123$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
15373if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 10124if test "${ac_cv_lib_png_png_get_channels+set}" = set; then :
15374 $as_echo_n "(cached) " >&6 10125 $as_echo_n "(cached) " >&6
15375else 10126else
15376 ac_check_lib_save_LIBS=$LIBS 10127 ac_check_lib_save_LIBS=$LIBS
15377LIBS="-lpng -lz -lm $LIBS" 10128LIBS="-lpng -lz -lm $LIBS"
15378cat >conftest.$ac_ext <<_ACEOF 10129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379/* confdefs.h. */
15380_ACEOF
15381cat confdefs.h >>conftest.$ac_ext
15382cat >>conftest.$ac_ext <<_ACEOF
15383/* end confdefs.h. */ 10130/* end confdefs.h. */
15384 10131
15385/* Override any GCC internal prototype to avoid an error. 10132/* Override any GCC internal prototype to avoid an error.
@@ -15397,43 +10144,18 @@ return png_get_channels ();
15397 return 0; 10144 return 0;
15398} 10145}
15399_ACEOF 10146_ACEOF
15400rm -f conftest.$ac_objext conftest$ac_exeext 10147if ac_fn_c_try_link "$LINENO"; then :
15401if { (ac_try="$ac_link"
15402case "(($ac_try" in
15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15405esac
15406eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15407$as_echo "$ac_try_echo") >&5
15408 (eval "$ac_link") 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest$ac_exeext && {
15418 test "$cross_compiling" = yes ||
15419 $as_test_x conftest$ac_exeext
15420 }; then
15421 ac_cv_lib_png_png_get_channels=yes 10148 ac_cv_lib_png_png_get_channels=yes
15422else 10149else
15423 $as_echo "$as_me: failed program was:" >&5 10150 ac_cv_lib_png_png_get_channels=no
15424sed 's/^/| /' conftest.$ac_ext >&5
15425
15426 ac_cv_lib_png_png_get_channels=no
15427fi 10151fi
15428 10152rm -f core conftest.err conftest.$ac_objext \
15429rm -rf conftest.dSYM 10153 conftest$ac_exeext conftest.$ac_ext
15430rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15431 conftest$ac_exeext conftest.$ac_ext
15432LIBS=$ac_check_lib_save_LIBS 10154LIBS=$ac_check_lib_save_LIBS
15433fi 10155fi
15434{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 10156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
15435$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 10157$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
15436if test $ac_cv_lib_png_png_get_channels = yes; then 10158if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then :
15437 HAVE_PNG=yes 10159 HAVE_PNG=yes
15438fi 10160fi
15439 10161
@@ -15442,9 +10164,7 @@ fi
15442 10164
15443 if test "${HAVE_PNG}" = "yes"; then 10165 if test "${HAVE_PNG}" = "yes"; then
15444 10166
15445cat >>confdefs.h <<\_ACEOF 10167$as_echo "#define HAVE_PNG 1" >>confdefs.h
15446#define HAVE_PNG 1
15447_ACEOF
15448 10168
15449 LIBPNG="-lpng -lz -lm" 10169 LIBPNG="-lpng -lz -lm"
15450 fi 10170 fi
@@ -15456,149 +10176,19 @@ HAVE_TIFF=no
15456LIBTIFF= 10176LIBTIFF=
15457if test "${HAVE_X11}" = "yes"; then 10177if test "${HAVE_X11}" = "yes"; then
15458 if test "${with_tiff}" != "no"; then 10178 if test "${with_tiff}" != "no"; then
15459 if test "${ac_cv_header_tiffio_h+set}" = set; then 10179 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15460 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 10180if test "x$ac_cv_header_tiffio_h" = x""yes; then :
15461$as_echo_n "checking for tiffio.h... " >&6; }
15462if test "${ac_cv_header_tiffio_h+set}" = set; then
15463 $as_echo_n "(cached) " >&6
15464fi
15465{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15466$as_echo "$ac_cv_header_tiffio_h" >&6; }
15467else
15468 # Is the header compilable?
15469{ $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5
15470$as_echo_n "checking tiffio.h usability... " >&6; }
15471cat >conftest.$ac_ext <<_ACEOF
15472/* confdefs.h. */
15473_ACEOF
15474cat confdefs.h >>conftest.$ac_ext
15475cat >>conftest.$ac_ext <<_ACEOF
15476/* end confdefs.h. */
15477$ac_includes_default
15478#include <tiffio.h>
15479_ACEOF
15480rm -f conftest.$ac_objext
15481if { (ac_try="$ac_compile"
15482case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485esac
15486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15487$as_echo "$ac_try_echo") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15489 ac_status=$?
15490 grep -v '^ *+' conftest.er1 >conftest.err
15491 rm -f conftest.er1
15492 cat conftest.err >&5
15493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 ac_header_compiler=yes
15499else
15500 $as_echo "$as_me: failed program was:" >&5
15501sed 's/^/| /' conftest.$ac_ext >&5
15502
15503 ac_header_compiler=no
15504fi
15505
15506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15507{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15508$as_echo "$ac_header_compiler" >&6; }
15509
15510# Is the header present?
15511{ $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5
15512$as_echo_n "checking tiffio.h presence... " >&6; }
15513cat >conftest.$ac_ext <<_ACEOF
15514/* confdefs.h. */
15515_ACEOF
15516cat confdefs.h >>conftest.$ac_ext
15517cat >>conftest.$ac_ext <<_ACEOF
15518/* end confdefs.h. */
15519#include <tiffio.h>
15520_ACEOF
15521if { (ac_try="$ac_cpp conftest.$ac_ext"
15522case "(($ac_try" in
15523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15524 *) ac_try_echo=$ac_try;;
15525esac
15526eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15527$as_echo "$ac_try_echo") >&5
15528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15529 ac_status=$?
15530 grep -v '^ *+' conftest.er1 >conftest.err
15531 rm -f conftest.er1
15532 cat conftest.err >&5
15533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } >/dev/null && {
15535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 }; then
15538 ac_header_preproc=yes
15539else
15540 $as_echo "$as_me: failed program was:" >&5
15541sed 's/^/| /' conftest.$ac_ext >&5
15542
15543 ac_header_preproc=no
15544fi
15545
15546rm -f conftest.err conftest.$ac_ext
15547{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15548$as_echo "$ac_header_preproc" >&6; }
15549
15550# So? What about this header?
15551case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15552 yes:no: )
15553 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
15554$as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15555 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
15556$as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
15557 ac_header_preproc=yes
15558 ;;
15559 no:yes:* )
15560 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
15561$as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
15562 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
15563$as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
15564 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
15565$as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
15566 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
15567$as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
15568 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
15569$as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
15570 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
15571$as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
15572
15573 ;;
15574esac
15575{ $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
15576$as_echo_n "checking for tiffio.h... " >&6; }
15577if test "${ac_cv_header_tiffio_h+set}" = set; then
15578 $as_echo_n "(cached) " >&6
15579else
15580 ac_cv_header_tiffio_h=$ac_header_preproc
15581fi
15582{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15583$as_echo "$ac_cv_header_tiffio_h" >&6; }
15584
15585fi
15586if test $ac_cv_header_tiffio_h = yes; then
15587 tifflibs="-lz -lm" 10181 tifflibs="-lz -lm"
15588 # At least one tiff package requires the jpeg library. 10182 # At least one tiff package requires the jpeg library.
15589 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 10183 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
15590 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
15591$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 10185$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
15592if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 10186if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then :
15593 $as_echo_n "(cached) " >&6 10187 $as_echo_n "(cached) " >&6
15594else 10188else
15595 ac_check_lib_save_LIBS=$LIBS 10189 ac_check_lib_save_LIBS=$LIBS
15596LIBS="-ltiff $tifflibs $LIBS" 10190LIBS="-ltiff $tifflibs $LIBS"
15597cat >conftest.$ac_ext <<_ACEOF 10191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598/* confdefs.h. */
15599_ACEOF
15600cat confdefs.h >>conftest.$ac_ext
15601cat >>conftest.$ac_ext <<_ACEOF
15602/* end confdefs.h. */ 10192/* end confdefs.h. */
15603 10193
15604/* Override any GCC internal prototype to avoid an error. 10194/* Override any GCC internal prototype to avoid an error.
@@ -15616,43 +10206,18 @@ return TIFFGetVersion ();
15616 return 0; 10206 return 0;
15617} 10207}
15618_ACEOF 10208_ACEOF
15619rm -f conftest.$ac_objext conftest$ac_exeext 10209if ac_fn_c_try_link "$LINENO"; then :
15620if { (ac_try="$ac_link"
15621case "(($ac_try" in
15622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15623 *) ac_try_echo=$ac_try;;
15624esac
15625eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15626$as_echo "$ac_try_echo") >&5
15627 (eval "$ac_link") 2>conftest.er1
15628 ac_status=$?
15629 grep -v '^ *+' conftest.er1 >conftest.err
15630 rm -f conftest.er1
15631 cat conftest.err >&5
15632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } && {
15634 test -z "$ac_c_werror_flag" ||
15635 test ! -s conftest.err
15636 } && test -s conftest$ac_exeext && {
15637 test "$cross_compiling" = yes ||
15638 $as_test_x conftest$ac_exeext
15639 }; then
15640 ac_cv_lib_tiff_TIFFGetVersion=yes 10210 ac_cv_lib_tiff_TIFFGetVersion=yes
15641else 10211else
15642 $as_echo "$as_me: failed program was:" >&5 10212 ac_cv_lib_tiff_TIFFGetVersion=no
15643sed 's/^/| /' conftest.$ac_ext >&5
15644
15645 ac_cv_lib_tiff_TIFFGetVersion=no
15646fi 10213fi
15647 10214rm -f core conftest.err conftest.$ac_objext \
15648rm -rf conftest.dSYM 10215 conftest$ac_exeext conftest.$ac_ext
15649rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15650 conftest$ac_exeext conftest.$ac_ext
15651LIBS=$ac_check_lib_save_LIBS 10216LIBS=$ac_check_lib_save_LIBS
15652fi 10217fi
15653{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 10218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
15654$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 10219$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
15655if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 10220if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then :
15656 HAVE_TIFF=yes 10221 HAVE_TIFF=yes
15657fi 10222fi
15658 10223
@@ -15663,9 +10228,7 @@ fi
15663 10228
15664 if test "${HAVE_TIFF}" = "yes"; then 10229 if test "${HAVE_TIFF}" = "yes"; then
15665 10230
15666cat >>confdefs.h <<\_ACEOF 10231$as_echo "#define HAVE_TIFF 1" >>confdefs.h
15667#define HAVE_TIFF 1
15668_ACEOF
15669 10232
15670 LIBTIFF=-ltiff 10233 LIBTIFF=-ltiff
15671 fi 10234 fi
@@ -15676,148 +10239,18 @@ fi
15676HAVE_GIF=no 10239HAVE_GIF=no
15677LIBGIF= 10240LIBGIF=
15678if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 10241if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
15679 if test "${ac_cv_header_gif_lib_h+set}" = set; then 10242 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
15680 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 10243if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
15681$as_echo_n "checking for gif_lib.h... " >&6; }
15682if test "${ac_cv_header_gif_lib_h+set}" = set; then
15683 $as_echo_n "(cached) " >&6
15684fi
15685{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15686$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15687else
15688 # Is the header compilable?
15689{ $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
15690$as_echo_n "checking gif_lib.h usability... " >&6; }
15691cat >conftest.$ac_ext <<_ACEOF
15692/* confdefs.h. */
15693_ACEOF
15694cat confdefs.h >>conftest.$ac_ext
15695cat >>conftest.$ac_ext <<_ACEOF
15696/* end confdefs.h. */
15697$ac_includes_default
15698#include <gif_lib.h>
15699_ACEOF
15700rm -f conftest.$ac_objext
15701if { (ac_try="$ac_compile"
15702case "(($ac_try" in
15703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15704 *) ac_try_echo=$ac_try;;
15705esac
15706eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15707$as_echo "$ac_try_echo") >&5
15708 (eval "$ac_compile") 2>conftest.er1
15709 ac_status=$?
15710 grep -v '^ *+' conftest.er1 >conftest.err
15711 rm -f conftest.er1
15712 cat conftest.err >&5
15713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } && {
15715 test -z "$ac_c_werror_flag" ||
15716 test ! -s conftest.err
15717 } && test -s conftest.$ac_objext; then
15718 ac_header_compiler=yes
15719else
15720 $as_echo "$as_me: failed program was:" >&5
15721sed 's/^/| /' conftest.$ac_ext >&5
15722
15723 ac_header_compiler=no
15724fi
15725
15726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15727{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15728$as_echo "$ac_header_compiler" >&6; }
15729
15730# Is the header present?
15731{ $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
15732$as_echo_n "checking gif_lib.h presence... " >&6; }
15733cat >conftest.$ac_ext <<_ACEOF
15734/* confdefs.h. */
15735_ACEOF
15736cat confdefs.h >>conftest.$ac_ext
15737cat >>conftest.$ac_ext <<_ACEOF
15738/* end confdefs.h. */
15739#include <gif_lib.h>
15740_ACEOF
15741if { (ac_try="$ac_cpp conftest.$ac_ext"
15742case "(($ac_try" in
15743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15744 *) ac_try_echo=$ac_try;;
15745esac
15746eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15747$as_echo "$ac_try_echo") >&5
15748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15749 ac_status=$?
15750 grep -v '^ *+' conftest.er1 >conftest.err
15751 rm -f conftest.er1
15752 cat conftest.err >&5
15753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } >/dev/null && {
15755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 }; then
15758 ac_header_preproc=yes
15759else
15760 $as_echo "$as_me: failed program was:" >&5
15761sed 's/^/| /' conftest.$ac_ext >&5
15762
15763 ac_header_preproc=no
15764fi
15765
15766rm -f conftest.err conftest.$ac_ext
15767{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15768$as_echo "$ac_header_preproc" >&6; }
15769
15770# So? What about this header?
15771case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15772 yes:no: )
15773 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15774$as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15775 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
15776$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
15777 ac_header_preproc=yes
15778 ;;
15779 no:yes:* )
15780 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
15781$as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
15782 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
15783$as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
15784 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
15785$as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
15786 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
15787$as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15788 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
15789$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
15790 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
15791$as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
15792
15793 ;;
15794esac
15795{ $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
15796$as_echo_n "checking for gif_lib.h... " >&6; }
15797if test "${ac_cv_header_gif_lib_h+set}" = set; then
15798 $as_echo_n "(cached) " >&6
15799else
15800 ac_cv_header_gif_lib_h=$ac_header_preproc
15801fi
15802{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15803$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15804
15805fi
15806if test $ac_cv_header_gif_lib_h = yes; then
15807 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 10244 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
15808# Earlier versions can crash Emacs. 10245# Earlier versions can crash Emacs.
15809 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
15810$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 10247$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
15811if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then 10248if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then :
15812 $as_echo_n "(cached) " >&6 10249 $as_echo_n "(cached) " >&6
15813else 10250else
15814 ac_check_lib_save_LIBS=$LIBS 10251 ac_check_lib_save_LIBS=$LIBS
15815LIBS="-lgif $LIBS" 10252LIBS="-lgif $LIBS"
15816cat >conftest.$ac_ext <<_ACEOF 10253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15817/* confdefs.h. */
15818_ACEOF
15819cat confdefs.h >>conftest.$ac_ext
15820cat >>conftest.$ac_ext <<_ACEOF
15821/* end confdefs.h. */ 10254/* end confdefs.h. */
15822 10255
15823/* Override any GCC internal prototype to avoid an error. 10256/* Override any GCC internal prototype to avoid an error.
@@ -15835,43 +10268,18 @@ return EGifPutExtensionLast ();
15835 return 0; 10268 return 0;
15836} 10269}
15837_ACEOF 10270_ACEOF
15838rm -f conftest.$ac_objext conftest$ac_exeext 10271if ac_fn_c_try_link "$LINENO"; then :
15839if { (ac_try="$ac_link"
15840case "(($ac_try" in
15841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15842 *) ac_try_echo=$ac_try;;
15843esac
15844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15845$as_echo "$ac_try_echo") >&5
15846 (eval "$ac_link") 2>conftest.er1
15847 ac_status=$?
15848 grep -v '^ *+' conftest.er1 >conftest.err
15849 rm -f conftest.er1
15850 cat conftest.err >&5
15851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } && {
15853 test -z "$ac_c_werror_flag" ||
15854 test ! -s conftest.err
15855 } && test -s conftest$ac_exeext && {
15856 test "$cross_compiling" = yes ||
15857 $as_test_x conftest$ac_exeext
15858 }; then
15859 ac_cv_lib_gif_EGifPutExtensionLast=yes 10272 ac_cv_lib_gif_EGifPutExtensionLast=yes
15860else 10273else
15861 $as_echo "$as_me: failed program was:" >&5 10274 ac_cv_lib_gif_EGifPutExtensionLast=no
15862sed 's/^/| /' conftest.$ac_ext >&5
15863
15864 ac_cv_lib_gif_EGifPutExtensionLast=no
15865fi 10275fi
15866 10276rm -f core conftest.err conftest.$ac_objext \
15867rm -rf conftest.dSYM 10277 conftest$ac_exeext conftest.$ac_ext
15868rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15869 conftest$ac_exeext conftest.$ac_ext
15870LIBS=$ac_check_lib_save_LIBS 10278LIBS=$ac_check_lib_save_LIBS
15871fi 10279fi
15872{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 10280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
15873$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 10281$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
15874if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then 10282if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then :
15875 HAVE_GIF=yes 10283 HAVE_GIF=yes
15876else 10284else
15877 HAVE_GIF=maybe 10285 HAVE_GIF=maybe
@@ -15885,18 +10293,14 @@ fi
15885 LIBGIF=-lgif 10293 LIBGIF=-lgif
15886 elif test "$HAVE_GIF" = maybe; then 10294 elif test "$HAVE_GIF" = maybe; then
15887# If gif_lib.h but no libgif, try libungif. 10295# If gif_lib.h but no libgif, try libungif.
15888 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
15889$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 10297$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
15890if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 10298if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then :
15891 $as_echo_n "(cached) " >&6 10299 $as_echo_n "(cached) " >&6
15892else 10300else
15893 ac_check_lib_save_LIBS=$LIBS 10301 ac_check_lib_save_LIBS=$LIBS
15894LIBS="-lungif $LIBS" 10302LIBS="-lungif $LIBS"
15895cat >conftest.$ac_ext <<_ACEOF 10303cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896/* confdefs.h. */
15897_ACEOF
15898cat confdefs.h >>conftest.$ac_ext
15899cat >>conftest.$ac_ext <<_ACEOF
15900/* end confdefs.h. */ 10304/* end confdefs.h. */
15901 10305
15902/* Override any GCC internal prototype to avoid an error. 10306/* Override any GCC internal prototype to avoid an error.
@@ -15914,43 +10318,18 @@ return EGifPutExtensionLast ();
15914 return 0; 10318 return 0;
15915} 10319}
15916_ACEOF 10320_ACEOF
15917rm -f conftest.$ac_objext conftest$ac_exeext 10321if ac_fn_c_try_link "$LINENO"; then :
15918if { (ac_try="$ac_link"
15919case "(($ac_try" in
15920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15921 *) ac_try_echo=$ac_try;;
15922esac
15923eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15924$as_echo "$ac_try_echo") >&5
15925 (eval "$ac_link") 2>conftest.er1
15926 ac_status=$?
15927 grep -v '^ *+' conftest.er1 >conftest.err
15928 rm -f conftest.er1
15929 cat conftest.err >&5
15930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } && {
15932 test -z "$ac_c_werror_flag" ||
15933 test ! -s conftest.err
15934 } && test -s conftest$ac_exeext && {
15935 test "$cross_compiling" = yes ||
15936 $as_test_x conftest$ac_exeext
15937 }; then
15938 ac_cv_lib_ungif_EGifPutExtensionLast=yes 10322 ac_cv_lib_ungif_EGifPutExtensionLast=yes
15939else 10323else
15940 $as_echo "$as_me: failed program was:" >&5 10324 ac_cv_lib_ungif_EGifPutExtensionLast=no
15941sed 's/^/| /' conftest.$ac_ext >&5
15942
15943 ac_cv_lib_ungif_EGifPutExtensionLast=no
15944fi 10325fi
15945 10326rm -f core conftest.err conftest.$ac_objext \
15946rm -rf conftest.dSYM 10327 conftest$ac_exeext conftest.$ac_ext
15947rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15948 conftest$ac_exeext conftest.$ac_ext
15949LIBS=$ac_check_lib_save_LIBS 10328LIBS=$ac_check_lib_save_LIBS
15950fi 10329fi
15951{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 10330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
15952$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 10331$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
15953if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 10332if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then :
15954 HAVE_GIF=yes 10333 HAVE_GIF=yes
15955else 10334else
15956 HAVE_GIF=no 10335 HAVE_GIF=no
@@ -15961,9 +10340,7 @@ fi
15961 10340
15962 if test "${HAVE_GIF}" = "yes"; then 10341 if test "${HAVE_GIF}" = "yes"; then
15963 10342
15964cat >>confdefs.h <<\_ACEOF 10343$as_echo "#define HAVE_GIF 1" >>confdefs.h
15965#define HAVE_GIF 1
15966_ACEOF
15967 10344
15968 fi 10345 fi
15969fi 10346fi
@@ -15984,19 +10361,12 @@ if test "${HAVE_X11}" = "yes"; then
15984 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 10361 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
15985 10362
15986 if test "X${MISSING}" != X; then 10363 if test "X${MISSING}" != X; then
15987 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: 10364 as_fn_error "The following required libraries were not found:
15988 $MISSING
15989Maybe some development libraries/packages are missing?
15990If you don't want to link with them give
15991 $WITH_NO
15992as options to configure" >&5
15993$as_echo "$as_me: error: The following required libraries were not found:
15994 $MISSING 10365 $MISSING
15995Maybe some development libraries/packages are missing? 10366Maybe some development libraries/packages are missing?
15996If you don't want to link with them give 10367If you don't want to link with them give
15997 $WITH_NO 10368 $WITH_NO
15998as options to configure" >&2;} 10369as options to configure" "$LINENO" 5
15999 { (exit 1); exit 1; }; }
16000 fi 10370 fi
16001fi 10371fi
16002 10372
@@ -16005,146 +10375,16 @@ HAVE_GPM=no
16005LIBGPM= 10375LIBGPM=
16006MOUSE_SUPPORT= 10376MOUSE_SUPPORT=
16007if test "${with_gpm}" != "no"; then 10377if test "${with_gpm}" != "no"; then
16008 if test "${ac_cv_header_gpm_h+set}" = set; then 10378 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
16009 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 10379if test "x$ac_cv_header_gpm_h" = x""yes; then :
16010$as_echo_n "checking for gpm.h... " >&6; } 10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
16011if test "${ac_cv_header_gpm_h+set}" = set; then
16012 $as_echo_n "(cached) " >&6
16013fi
16014{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
16015$as_echo "$ac_cv_header_gpm_h" >&6; }
16016else
16017 # Is the header compilable?
16018{ $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5
16019$as_echo_n "checking gpm.h usability... " >&6; }
16020cat >conftest.$ac_ext <<_ACEOF
16021/* confdefs.h. */
16022_ACEOF
16023cat confdefs.h >>conftest.$ac_ext
16024cat >>conftest.$ac_ext <<_ACEOF
16025/* end confdefs.h. */
16026$ac_includes_default
16027#include <gpm.h>
16028_ACEOF
16029rm -f conftest.$ac_objext
16030if { (ac_try="$ac_compile"
16031case "(($ac_try" in
16032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16033 *) ac_try_echo=$ac_try;;
16034esac
16035eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16036$as_echo "$ac_try_echo") >&5
16037 (eval "$ac_compile") 2>conftest.er1
16038 ac_status=$?
16039 grep -v '^ *+' conftest.er1 >conftest.err
16040 rm -f conftest.er1
16041 cat conftest.err >&5
16042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } && {
16044 test -z "$ac_c_werror_flag" ||
16045 test ! -s conftest.err
16046 } && test -s conftest.$ac_objext; then
16047 ac_header_compiler=yes
16048else
16049 $as_echo "$as_me: failed program was:" >&5
16050sed 's/^/| /' conftest.$ac_ext >&5
16051
16052 ac_header_compiler=no
16053fi
16054
16055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16056{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16057$as_echo "$ac_header_compiler" >&6; }
16058
16059# Is the header present?
16060{ $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5
16061$as_echo_n "checking gpm.h presence... " >&6; }
16062cat >conftest.$ac_ext <<_ACEOF
16063/* confdefs.h. */
16064_ACEOF
16065cat confdefs.h >>conftest.$ac_ext
16066cat >>conftest.$ac_ext <<_ACEOF
16067/* end confdefs.h. */
16068#include <gpm.h>
16069_ACEOF
16070if { (ac_try="$ac_cpp conftest.$ac_ext"
16071case "(($ac_try" in
16072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16074esac
16075eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16076$as_echo "$ac_try_echo") >&5
16077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } >/dev/null && {
16084 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16085 test ! -s conftest.err
16086 }; then
16087 ac_header_preproc=yes
16088else
16089 $as_echo "$as_me: failed program was:" >&5
16090sed 's/^/| /' conftest.$ac_ext >&5
16091
16092 ac_header_preproc=no
16093fi
16094
16095rm -f conftest.err conftest.$ac_ext
16096{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16097$as_echo "$ac_header_preproc" >&6; }
16098
16099# So? What about this header?
16100case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16101 yes:no: )
16102 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
16103$as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16104 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
16105$as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
16106 ac_header_preproc=yes
16107 ;;
16108 no:yes:* )
16109 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
16110$as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
16111 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
16112$as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
16113 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
16114$as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
16115 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
16116$as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
16117 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
16118$as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
16119 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
16120$as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
16121
16122 ;;
16123esac
16124{ $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
16125$as_echo_n "checking for gpm.h... " >&6; }
16126if test "${ac_cv_header_gpm_h+set}" = set; then
16127 $as_echo_n "(cached) " >&6
16128else
16129 ac_cv_header_gpm_h=$ac_header_preproc
16130fi
16131{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
16132$as_echo "$ac_cv_header_gpm_h" >&6; }
16133
16134fi
16135if test $ac_cv_header_gpm_h = yes; then
16136 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
16137$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 10381$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
16138if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 10382if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then :
16139 $as_echo_n "(cached) " >&6 10383 $as_echo_n "(cached) " >&6
16140else 10384else
16141 ac_check_lib_save_LIBS=$LIBS 10385 ac_check_lib_save_LIBS=$LIBS
16142LIBS="-lgpm $LIBS" 10386LIBS="-lgpm $LIBS"
16143cat >conftest.$ac_ext <<_ACEOF 10387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144/* confdefs.h. */
16145_ACEOF
16146cat confdefs.h >>conftest.$ac_ext
16147cat >>conftest.$ac_ext <<_ACEOF
16148/* end confdefs.h. */ 10388/* end confdefs.h. */
16149 10389
16150/* Override any GCC internal prototype to avoid an error. 10390/* Override any GCC internal prototype to avoid an error.
@@ -16162,43 +10402,18 @@ return Gpm_Open ();
16162 return 0; 10402 return 0;
16163} 10403}
16164_ACEOF 10404_ACEOF
16165rm -f conftest.$ac_objext conftest$ac_exeext 10405if ac_fn_c_try_link "$LINENO"; then :
16166if { (ac_try="$ac_link"
16167case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170esac
16171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16172$as_echo "$ac_try_echo") >&5
16173 (eval "$ac_link") 2>conftest.er1
16174 ac_status=$?
16175 grep -v '^ *+' conftest.er1 >conftest.err
16176 rm -f conftest.er1
16177 cat conftest.err >&5
16178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } && {
16180 test -z "$ac_c_werror_flag" ||
16181 test ! -s conftest.err
16182 } && test -s conftest$ac_exeext && {
16183 test "$cross_compiling" = yes ||
16184 $as_test_x conftest$ac_exeext
16185 }; then
16186 ac_cv_lib_gpm_Gpm_Open=yes 10406 ac_cv_lib_gpm_Gpm_Open=yes
16187else 10407else
16188 $as_echo "$as_me: failed program was:" >&5 10408 ac_cv_lib_gpm_Gpm_Open=no
16189sed 's/^/| /' conftest.$ac_ext >&5
16190
16191 ac_cv_lib_gpm_Gpm_Open=no
16192fi 10409fi
16193 10410rm -f core conftest.err conftest.$ac_objext \
16194rm -rf conftest.dSYM 10411 conftest$ac_exeext conftest.$ac_ext
16195rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16196 conftest$ac_exeext conftest.$ac_ext
16197LIBS=$ac_check_lib_save_LIBS 10412LIBS=$ac_check_lib_save_LIBS
16198fi 10413fi
16199{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 10414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
16200$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 10415$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
16201if test $ac_cv_lib_gpm_Gpm_Open = yes; then 10416if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then :
16202 HAVE_GPM=yes 10417 HAVE_GPM=yes
16203fi 10418fi
16204 10419
@@ -16208,9 +10423,7 @@ fi
16208 10423
16209 if test "${HAVE_GPM}" = "yes"; then 10424 if test "${HAVE_GPM}" = "yes"; then
16210 10425
16211cat >>confdefs.h <<\_ACEOF 10426$as_echo "#define HAVE_GPM 1" >>confdefs.h
16212#define HAVE_GPM 1
16213_ACEOF
16214 10427
16215 LIBGPM=-lgpm 10428 LIBGPM=-lgpm
16216 ## May be reset below. 10429 ## May be reset below.
@@ -16219,138 +10432,10 @@ _ACEOF
16219fi 10432fi
16220 10433
16221 10434
16222if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 10435ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
16223 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 10436if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then :
16224$as_echo_n "checking for malloc/malloc.h... " >&6; }
16225if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
16226 $as_echo_n "(cached) " >&6
16227fi
16228{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
16229$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
16230else
16231 # Is the header compilable?
16232{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
16233$as_echo_n "checking malloc/malloc.h usability... " >&6; }
16234cat >conftest.$ac_ext <<_ACEOF
16235/* confdefs.h. */
16236_ACEOF
16237cat confdefs.h >>conftest.$ac_ext
16238cat >>conftest.$ac_ext <<_ACEOF
16239/* end confdefs.h. */
16240$ac_includes_default
16241#include <malloc/malloc.h>
16242_ACEOF
16243rm -f conftest.$ac_objext
16244if { (ac_try="$ac_compile"
16245case "(($ac_try" in
16246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16247 *) ac_try_echo=$ac_try;;
16248esac
16249eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16250$as_echo "$ac_try_echo") >&5
16251 (eval "$ac_compile") 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest.$ac_objext; then
16261 ac_header_compiler=yes
16262else
16263 $as_echo "$as_me: failed program was:" >&5
16264sed 's/^/| /' conftest.$ac_ext >&5
16265
16266 ac_header_compiler=no
16267fi
16268
16269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16270{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16271$as_echo "$ac_header_compiler" >&6; }
16272
16273# Is the header present?
16274{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
16275$as_echo_n "checking malloc/malloc.h presence... " >&6; }
16276cat >conftest.$ac_ext <<_ACEOF
16277/* confdefs.h. */
16278_ACEOF
16279cat confdefs.h >>conftest.$ac_ext
16280cat >>conftest.$ac_ext <<_ACEOF
16281/* end confdefs.h. */
16282#include <malloc/malloc.h>
16283_ACEOF
16284if { (ac_try="$ac_cpp conftest.$ac_ext"
16285case "(($ac_try" in
16286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16287 *) ac_try_echo=$ac_try;;
16288esac
16289eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16290$as_echo "$ac_try_echo") >&5
16291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16292 ac_status=$?
16293 grep -v '^ *+' conftest.er1 >conftest.err
16294 rm -f conftest.er1
16295 cat conftest.err >&5
16296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); } >/dev/null && {
16298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16299 test ! -s conftest.err
16300 }; then
16301 ac_header_preproc=yes
16302else
16303 $as_echo "$as_me: failed program was:" >&5
16304sed 's/^/| /' conftest.$ac_ext >&5
16305
16306 ac_header_preproc=no
16307fi
16308
16309rm -f conftest.err conftest.$ac_ext
16310{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16311$as_echo "$ac_header_preproc" >&6; }
16312
16313# So? What about this header?
16314case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16315 yes:no: )
16316 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
16317$as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16318 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
16319$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
16320 ac_header_preproc=yes
16321 ;;
16322 no:yes:* )
16323 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
16324$as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
16325 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
16326$as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
16327 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
16328$as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
16329 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
16330$as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
16331 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
16332$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
16333 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
16334$as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
16335
16336 ;;
16337esac
16338{ $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
16339$as_echo_n "checking for malloc/malloc.h... " >&6; }
16340if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
16341 $as_echo_n "(cached) " >&6
16342else
16343 ac_cv_header_malloc_malloc_h=$ac_header_preproc
16344fi
16345{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
16346$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
16347
16348fi
16349if test $ac_cv_header_malloc_malloc_h = yes; then
16350 10437
16351cat >>confdefs.h <<\_ACEOF 10438$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
16352#define HAVE_MALLOC_MALLOC_H 1
16353_ACEOF
16354 10439
16355fi 10440fi
16356 10441
@@ -16360,23 +10445,17 @@ C_SWITCH_X_SYSTEM=
16360### Use NeXTstep API to implement GUI. 10445### Use NeXTstep API to implement GUI.
16361if test "${HAVE_NS}" = "yes"; then 10446if test "${HAVE_NS}" = "yes"; then
16362 10447
16363cat >>confdefs.h <<\_ACEOF 10448$as_echo "#define HAVE_NS 1" >>confdefs.h
16364#define HAVE_NS 1
16365_ACEOF
16366 10449
16367 if test "${NS_IMPL_COCOA}" = "yes"; then 10450 if test "${NS_IMPL_COCOA}" = "yes"; then
16368 10451
16369cat >>confdefs.h <<\_ACEOF 10452$as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h
16370#define NS_IMPL_COCOA 1
16371_ACEOF
16372 10453
16373 GNU_OBJC_CFLAGS= 10454 GNU_OBJC_CFLAGS=
16374 fi 10455 fi
16375 if test "${NS_IMPL_GNUSTEP}" = "yes"; then 10456 if test "${NS_IMPL_GNUSTEP}" = "yes"; then
16376 10457
16377cat >>confdefs.h <<\_ACEOF 10458$as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h
16378#define NS_IMPL_GNUSTEP 1
16379_ACEOF
16380 10459
16381 # See also .m.o rule in Makefile.in */ 10460 # See also .m.o rule in Makefile.in */
16382 # FIXME: are all these flags really needed? Document here why. */ 10461 # FIXME: are all these flags really needed? Document here why. */
@@ -16385,9 +10464,7 @@ _ACEOF
16385 fi 10464 fi
16386 if test "${NS_HAVE_NSINTEGER}" = "yes"; then 10465 if test "${NS_HAVE_NSINTEGER}" = "yes"; then
16387 10466
16388cat >>confdefs.h <<\_ACEOF 10467$as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h
16389#define NS_HAVE_NSINTEGER 1
16390_ACEOF
16391 10468
16392 fi 10469 fi
16393 # We also have mouse menus. 10470 # We also have mouse menus.
@@ -16400,146 +10477,16 @@ fi
16400HAVE_X_SM=no 10477HAVE_X_SM=no
16401LIBXSM= 10478LIBXSM=
16402if test "${HAVE_X11}" = "yes"; then 10479if test "${HAVE_X11}" = "yes"; then
16403 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 10480 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
16404 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 10481if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then :
16405$as_echo_n "checking for X11/SM/SMlib.h... " >&6; } 10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
16406if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16407 $as_echo_n "(cached) " >&6
16408fi
16409{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16410$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16411else
16412 # Is the header compilable?
16413{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
16414$as_echo_n "checking X11/SM/SMlib.h usability... " >&6; }
16415cat >conftest.$ac_ext <<_ACEOF
16416/* confdefs.h. */
16417_ACEOF
16418cat confdefs.h >>conftest.$ac_ext
16419cat >>conftest.$ac_ext <<_ACEOF
16420/* end confdefs.h. */
16421$ac_includes_default
16422#include <X11/SM/SMlib.h>
16423_ACEOF
16424rm -f conftest.$ac_objext
16425if { (ac_try="$ac_compile"
16426case "(($ac_try" in
16427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16428 *) ac_try_echo=$ac_try;;
16429esac
16430eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16431$as_echo "$ac_try_echo") >&5
16432 (eval "$ac_compile") 2>conftest.er1
16433 ac_status=$?
16434 grep -v '^ *+' conftest.er1 >conftest.err
16435 rm -f conftest.er1
16436 cat conftest.err >&5
16437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } && {
16439 test -z "$ac_c_werror_flag" ||
16440 test ! -s conftest.err
16441 } && test -s conftest.$ac_objext; then
16442 ac_header_compiler=yes
16443else
16444 $as_echo "$as_me: failed program was:" >&5
16445sed 's/^/| /' conftest.$ac_ext >&5
16446
16447 ac_header_compiler=no
16448fi
16449
16450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16451{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16452$as_echo "$ac_header_compiler" >&6; }
16453
16454# Is the header present?
16455{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
16456$as_echo_n "checking X11/SM/SMlib.h presence... " >&6; }
16457cat >conftest.$ac_ext <<_ACEOF
16458/* confdefs.h. */
16459_ACEOF
16460cat confdefs.h >>conftest.$ac_ext
16461cat >>conftest.$ac_ext <<_ACEOF
16462/* end confdefs.h. */
16463#include <X11/SM/SMlib.h>
16464_ACEOF
16465if { (ac_try="$ac_cpp conftest.$ac_ext"
16466case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16469esac
16470eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16471$as_echo "$ac_try_echo") >&5
16472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16473 ac_status=$?
16474 grep -v '^ *+' conftest.er1 >conftest.err
16475 rm -f conftest.er1
16476 cat conftest.err >&5
16477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } >/dev/null && {
16479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16480 test ! -s conftest.err
16481 }; then
16482 ac_header_preproc=yes
16483else
16484 $as_echo "$as_me: failed program was:" >&5
16485sed 's/^/| /' conftest.$ac_ext >&5
16486
16487 ac_header_preproc=no
16488fi
16489
16490rm -f conftest.err conftest.$ac_ext
16491{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16492$as_echo "$ac_header_preproc" >&6; }
16493
16494# So? What about this header?
16495case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16496 yes:no: )
16497 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16498$as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16499 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
16500$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
16501 ac_header_preproc=yes
16502 ;;
16503 no:yes:* )
16504 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
16505$as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
16506 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
16507$as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
16508 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
16509$as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
16510 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
16511$as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16512 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
16513$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
16514 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
16515$as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
16516
16517 ;;
16518esac
16519{ $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
16520$as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
16521if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16522 $as_echo_n "(cached) " >&6
16523else
16524 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
16525fi
16526{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16527$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16528
16529fi
16530if test $ac_cv_header_X11_SM_SMlib_h = yes; then
16531 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
16532$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 10483$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
16533if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 10484if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
16534 $as_echo_n "(cached) " >&6 10485 $as_echo_n "(cached) " >&6
16535else 10486else
16536 ac_check_lib_save_LIBS=$LIBS 10487 ac_check_lib_save_LIBS=$LIBS
16537LIBS="-lSM -lICE $LIBS" 10488LIBS="-lSM -lICE $LIBS"
16538cat >conftest.$ac_ext <<_ACEOF 10489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539/* confdefs.h. */
16540_ACEOF
16541cat confdefs.h >>conftest.$ac_ext
16542cat >>conftest.$ac_ext <<_ACEOF
16543/* end confdefs.h. */ 10490/* end confdefs.h. */
16544 10491
16545/* Override any GCC internal prototype to avoid an error. 10492/* Override any GCC internal prototype to avoid an error.
@@ -16557,43 +10504,18 @@ return SmcOpenConnection ();
16557 return 0; 10504 return 0;
16558} 10505}
16559_ACEOF 10506_ACEOF
16560rm -f conftest.$ac_objext conftest$ac_exeext 10507if ac_fn_c_try_link "$LINENO"; then :
16561if { (ac_try="$ac_link"
16562case "(($ac_try" in
16563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16565esac
16566eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16567$as_echo "$ac_try_echo") >&5
16568 (eval "$ac_link") 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } && {
16575 test -z "$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 } && test -s conftest$ac_exeext && {
16578 test "$cross_compiling" = yes ||
16579 $as_test_x conftest$ac_exeext
16580 }; then
16581 ac_cv_lib_SM_SmcOpenConnection=yes 10508 ac_cv_lib_SM_SmcOpenConnection=yes
16582else 10509else
16583 $as_echo "$as_me: failed program was:" >&5 10510 ac_cv_lib_SM_SmcOpenConnection=no
16584sed 's/^/| /' conftest.$ac_ext >&5
16585
16586 ac_cv_lib_SM_SmcOpenConnection=no
16587fi 10511fi
16588 10512rm -f core conftest.err conftest.$ac_objext \
16589rm -rf conftest.dSYM 10513 conftest$ac_exeext conftest.$ac_ext
16590rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16591 conftest$ac_exeext conftest.$ac_ext
16592LIBS=$ac_check_lib_save_LIBS 10514LIBS=$ac_check_lib_save_LIBS
16593fi 10515fi
16594{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 10516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
16595$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 10517$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
16596if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 10518if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
16597 HAVE_X_SM=yes 10519 HAVE_X_SM=yes
16598fi 10520fi
16599 10521
@@ -16603,9 +10525,7 @@ fi
16603 10525
16604 if test "${HAVE_X_SM}" = "yes"; then 10526 if test "${HAVE_X_SM}" = "yes"; then
16605 10527
16606cat >>confdefs.h <<\_ACEOF 10528$as_echo "#define HAVE_X_SM 1" >>confdefs.h
16607#define HAVE_X_SM 1
16608_ACEOF
16609 10529
16610 LIBXSM="-lSM -lICE" 10530 LIBXSM="-lSM -lICE"
16611 case "$LIBS" in 10531 case "$LIBS" in
@@ -16617,16 +10537,12 @@ fi
16617 10537
16618 10538
16619# If netdb.h doesn't declare h_errno, we must declare it by hand. 10539# If netdb.h doesn't declare h_errno, we must declare it by hand.
16620{ $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 10540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
16621$as_echo_n "checking whether netdb declares h_errno... " >&6; } 10541$as_echo_n "checking whether netdb declares h_errno... " >&6; }
16622if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 10542if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then :
16623 $as_echo_n "(cached) " >&6 10543 $as_echo_n "(cached) " >&6
16624else 10544else
16625 cat >conftest.$ac_ext <<_ACEOF 10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626/* confdefs.h. */
16627_ACEOF
16628cat confdefs.h >>conftest.$ac_ext
16629cat >>conftest.$ac_ext <<_ACEOF
16630/* end confdefs.h. */ 10546/* end confdefs.h. */
16631#include <netdb.h> 10547#include <netdb.h>
16632int 10548int
@@ -16637,61 +10553,30 @@ return h_errno;
16637 return 0; 10553 return 0;
16638} 10554}
16639_ACEOF 10555_ACEOF
16640rm -f conftest.$ac_objext conftest$ac_exeext 10556if ac_fn_c_try_link "$LINENO"; then :
16641if { (ac_try="$ac_link"
16642case "(($ac_try" in
16643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16644 *) ac_try_echo=$ac_try;;
16645esac
16646eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16647$as_echo "$ac_try_echo") >&5
16648 (eval "$ac_link") 2>conftest.er1
16649 ac_status=$?
16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && {
16655 test -z "$ac_c_werror_flag" ||
16656 test ! -s conftest.err
16657 } && test -s conftest$ac_exeext && {
16658 test "$cross_compiling" = yes ||
16659 $as_test_x conftest$ac_exeext
16660 }; then
16661 emacs_cv_netdb_declares_h_errno=yes 10557 emacs_cv_netdb_declares_h_errno=yes
16662else 10558else
16663 $as_echo "$as_me: failed program was:" >&5 10559 emacs_cv_netdb_declares_h_errno=no
16664sed 's/^/| /' conftest.$ac_ext >&5
16665
16666 emacs_cv_netdb_declares_h_errno=no
16667fi 10560fi
16668 10561rm -f core conftest.err conftest.$ac_objext \
16669rm -rf conftest.dSYM 10562 conftest$ac_exeext conftest.$ac_ext
16670rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16671 conftest$ac_exeext conftest.$ac_ext
16672fi 10563fi
16673{ $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 10564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5
16674$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } 10565$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; }
16675if test $emacs_cv_netdb_declares_h_errno = yes; then 10566if test $emacs_cv_netdb_declares_h_errno = yes; then
16676 10567
16677cat >>confdefs.h <<\_ACEOF 10568$as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
16678#define HAVE_H_ERRNO 1
16679_ACEOF
16680 10569
16681fi 10570fi
16682 10571
16683# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 10572# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16684# for constant arguments. Useless! 10573# for constant arguments. Useless!
16685{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 10574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16686$as_echo_n "checking for working alloca.h... " >&6; } 10575$as_echo_n "checking for working alloca.h... " >&6; }
16687if test "${ac_cv_working_alloca_h+set}" = set; then 10576if test "${ac_cv_working_alloca_h+set}" = set; then :
16688 $as_echo_n "(cached) " >&6 10577 $as_echo_n "(cached) " >&6
16689else 10578else
16690 cat >conftest.$ac_ext <<_ACEOF 10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691/* confdefs.h. */
16692_ACEOF
16693cat confdefs.h >>conftest.$ac_ext
16694cat >>conftest.$ac_ext <<_ACEOF
16695/* end confdefs.h. */ 10580/* end confdefs.h. */
16696#include <alloca.h> 10581#include <alloca.h>
16697int 10582int
@@ -16703,59 +10588,28 @@ char *p = (char *) alloca (2 * sizeof (int));
16703 return 0; 10588 return 0;
16704} 10589}
16705_ACEOF 10590_ACEOF
16706rm -f conftest.$ac_objext conftest$ac_exeext 10591if ac_fn_c_try_link "$LINENO"; then :
16707if { (ac_try="$ac_link"
16708case "(($ac_try" in
16709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16711esac
16712eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16713$as_echo "$ac_try_echo") >&5
16714 (eval "$ac_link") 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest$ac_exeext && {
16724 test "$cross_compiling" = yes ||
16725 $as_test_x conftest$ac_exeext
16726 }; then
16727 ac_cv_working_alloca_h=yes 10592 ac_cv_working_alloca_h=yes
16728else 10593else
16729 $as_echo "$as_me: failed program was:" >&5 10594 ac_cv_working_alloca_h=no
16730sed 's/^/| /' conftest.$ac_ext >&5
16731
16732 ac_cv_working_alloca_h=no
16733fi 10595fi
16734 10596rm -f core conftest.err conftest.$ac_objext \
16735rm -rf conftest.dSYM 10597 conftest$ac_exeext conftest.$ac_ext
16736rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16737 conftest$ac_exeext conftest.$ac_ext
16738fi 10598fi
16739{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 10599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16740$as_echo "$ac_cv_working_alloca_h" >&6; } 10600$as_echo "$ac_cv_working_alloca_h" >&6; }
16741if test $ac_cv_working_alloca_h = yes; then 10601if test $ac_cv_working_alloca_h = yes; then
16742 10602
16743cat >>confdefs.h <<\_ACEOF 10603$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16744#define HAVE_ALLOCA_H 1
16745_ACEOF
16746 10604
16747fi 10605fi
16748 10606
16749{ $as_echo "$as_me:$LINENO: checking for alloca" >&5 10607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16750$as_echo_n "checking for alloca... " >&6; } 10608$as_echo_n "checking for alloca... " >&6; }
16751if test "${ac_cv_func_alloca_works+set}" = set; then 10609if test "${ac_cv_func_alloca_works+set}" = set; then :
16752 $as_echo_n "(cached) " >&6 10610 $as_echo_n "(cached) " >&6
16753else 10611else
16754 cat >conftest.$ac_ext <<_ACEOF 10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755/* confdefs.h. */
16756_ACEOF
16757cat confdefs.h >>conftest.$ac_ext
16758cat >>conftest.$ac_ext <<_ACEOF
16759/* end confdefs.h. */ 10613/* end confdefs.h. */
16760#ifdef __GNUC__ 10614#ifdef __GNUC__
16761# define alloca __builtin_alloca 10615# define alloca __builtin_alloca
@@ -16787,47 +10641,20 @@ char *p = (char *) alloca (1);
16787 return 0; 10641 return 0;
16788} 10642}
16789_ACEOF 10643_ACEOF
16790rm -f conftest.$ac_objext conftest$ac_exeext 10644if ac_fn_c_try_link "$LINENO"; then :
16791if { (ac_try="$ac_link"
16792case "(($ac_try" in
16793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16794 *) ac_try_echo=$ac_try;;
16795esac
16796eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16797$as_echo "$ac_try_echo") >&5
16798 (eval "$ac_link") 2>conftest.er1
16799 ac_status=$?
16800 grep -v '^ *+' conftest.er1 >conftest.err
16801 rm -f conftest.er1
16802 cat conftest.err >&5
16803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && {
16805 test -z "$ac_c_werror_flag" ||
16806 test ! -s conftest.err
16807 } && test -s conftest$ac_exeext && {
16808 test "$cross_compiling" = yes ||
16809 $as_test_x conftest$ac_exeext
16810 }; then
16811 ac_cv_func_alloca_works=yes 10645 ac_cv_func_alloca_works=yes
16812else 10646else
16813 $as_echo "$as_me: failed program was:" >&5 10647 ac_cv_func_alloca_works=no
16814sed 's/^/| /' conftest.$ac_ext >&5
16815
16816 ac_cv_func_alloca_works=no
16817fi 10648fi
16818 10649rm -f core conftest.err conftest.$ac_objext \
16819rm -rf conftest.dSYM 10650 conftest$ac_exeext conftest.$ac_ext
16820rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16821 conftest$ac_exeext conftest.$ac_ext
16822fi 10651fi
16823{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 10652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16824$as_echo "$ac_cv_func_alloca_works" >&6; } 10653$as_echo "$ac_cv_func_alloca_works" >&6; }
16825 10654
16826if test $ac_cv_func_alloca_works = yes; then 10655if test $ac_cv_func_alloca_works = yes; then
16827 10656
16828cat >>confdefs.h <<\_ACEOF 10657$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16829#define HAVE_ALLOCA 1
16830_ACEOF
16831 10658
16832else 10659else
16833 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 10660 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
@@ -16837,21 +10664,15 @@ else
16837 10664
16838ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 10665ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16839 10666
16840cat >>confdefs.h <<\_ACEOF 10667$as_echo "#define C_ALLOCA 1" >>confdefs.h
16841#define C_ALLOCA 1
16842_ACEOF
16843 10668
16844 10669
16845{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 10670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16846$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 10671$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16847if test "${ac_cv_os_cray+set}" = set; then 10672if test "${ac_cv_os_cray+set}" = set; then :
16848 $as_echo_n "(cached) " >&6 10673 $as_echo_n "(cached) " >&6
16849else 10674else
16850 cat >conftest.$ac_ext <<_ACEOF 10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851/* confdefs.h. */
16852_ACEOF
16853cat confdefs.h >>conftest.$ac_ext
16854cat >>conftest.$ac_ext <<_ACEOF
16855/* end confdefs.h. */ 10676/* end confdefs.h. */
16856#if defined CRAY && ! defined CRAY2 10677#if defined CRAY && ! defined CRAY2
16857webecray 10678webecray
@@ -16861,7 +10682,7 @@ wenotbecray
16861 10682
16862_ACEOF 10683_ACEOF
16863if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10684if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16864 $EGREP "webecray" >/dev/null 2>&1; then 10685 $EGREP "webecray" >/dev/null 2>&1; then :
16865 ac_cv_os_cray=yes 10686 ac_cv_os_cray=yes
16866else 10687else
16867 ac_cv_os_cray=no 10688 ac_cv_os_cray=no
@@ -16869,100 +10690,14 @@ fi
16869rm -f conftest* 10690rm -f conftest*
16870 10691
16871fi 10692fi
16872{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 10693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16873$as_echo "$ac_cv_os_cray" >&6; } 10694$as_echo "$ac_cv_os_cray" >&6; }
16874if test $ac_cv_os_cray = yes; then 10695if test $ac_cv_os_cray = yes; then
16875 for ac_func in _getb67 GETB67 getb67; do 10696 for ac_func in _getb67 GETB67 getb67; do
16876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16877{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10698ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16878$as_echo_n "checking for $ac_func... " >&6; } 10699eval as_val=\$$as_ac_var
16879if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10700 if test "x$as_val" = x""yes; then :
16880 $as_echo_n "(cached) " >&6
16881else
16882 cat >conftest.$ac_ext <<_ACEOF
16883/* confdefs.h. */
16884_ACEOF
16885cat confdefs.h >>conftest.$ac_ext
16886cat >>conftest.$ac_ext <<_ACEOF
16887/* end confdefs.h. */
16888/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16890#define $ac_func innocuous_$ac_func
16891
16892/* System header to define __stub macros and hopefully few prototypes,
16893 which can conflict with char $ac_func (); below.
16894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16895 <limits.h> exists even on freestanding compilers. */
16896
16897#ifdef __STDC__
16898# include <limits.h>
16899#else
16900# include <assert.h>
16901#endif
16902
16903#undef $ac_func
16904
16905/* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16908#ifdef __cplusplus
16909extern "C"
16910#endif
16911char $ac_func ();
16912/* The GNU C library defines this for functions which it implements
16913 to always fail with ENOSYS. Some functions are actually named
16914 something starting with __ and the normal name is an alias. */
16915#if defined __stub_$ac_func || defined __stub___$ac_func
16916choke me
16917#endif
16918
16919int
16920main ()
16921{
16922return $ac_func ();
16923 ;
16924 return 0;
16925}
16926_ACEOF
16927rm -f conftest.$ac_objext conftest$ac_exeext
16928if { (ac_try="$ac_link"
16929case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16932esac
16933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16934$as_echo "$ac_try_echo") >&5
16935 (eval "$ac_link") 2>conftest.er1
16936 ac_status=$?
16937 grep -v '^ *+' conftest.er1 >conftest.err
16938 rm -f conftest.er1
16939 cat conftest.err >&5
16940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } && {
16942 test -z "$ac_c_werror_flag" ||
16943 test ! -s conftest.err
16944 } && test -s conftest$ac_exeext && {
16945 test "$cross_compiling" = yes ||
16946 $as_test_x conftest$ac_exeext
16947 }; then
16948 eval "$as_ac_var=yes"
16949else
16950 $as_echo "$as_me: failed program was:" >&5
16951sed 's/^/| /' conftest.$ac_ext >&5
16952
16953 eval "$as_ac_var=no"
16954fi
16955
16956rm -rf conftest.dSYM
16957rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16958 conftest$ac_exeext conftest.$ac_ext
16959fi
16960ac_res=`eval 'as_val=${'$as_ac_var'}
16961 $as_echo "$as_val"'`
16962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16963$as_echo "$ac_res" >&6; }
16964if test `eval 'as_val=${'$as_ac_var'}
16965 $as_echo "$as_val"'` = yes; then
16966 10701
16967cat >>confdefs.h <<_ACEOF 10702cat >>confdefs.h <<_ACEOF
16968#define CRAY_STACKSEG_END $ac_func 10703#define CRAY_STACKSEG_END $ac_func
@@ -16974,19 +10709,15 @@ fi
16974 done 10709 done
16975fi 10710fi
16976 10711
16977{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 10712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16978$as_echo_n "checking stack direction for C alloca... " >&6; } 10713$as_echo_n "checking stack direction for C alloca... " >&6; }
16979if test "${ac_cv_c_stack_direction+set}" = set; then 10714if test "${ac_cv_c_stack_direction+set}" = set; then :
16980 $as_echo_n "(cached) " >&6 10715 $as_echo_n "(cached) " >&6
16981else 10716else
16982 if test "$cross_compiling" = yes; then 10717 if test "$cross_compiling" = yes; then :
16983 ac_cv_c_stack_direction=0 10718 ac_cv_c_stack_direction=0
16984else 10719else
16985 cat >conftest.$ac_ext <<_ACEOF 10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986/* confdefs.h. */
16987_ACEOF
16988cat confdefs.h >>conftest.$ac_ext
16989cat >>conftest.$ac_ext <<_ACEOF
16990/* end confdefs.h. */ 10721/* end confdefs.h. */
16991$ac_includes_default 10722$ac_includes_default
16992int 10723int
@@ -17009,46 +10740,18 @@ main ()
17009 return find_stack_direction () < 0; 10740 return find_stack_direction () < 0;
17010} 10741}
17011_ACEOF 10742_ACEOF
17012rm -f conftest$ac_exeext 10743if ac_fn_c_try_run "$LINENO"; then :
17013if { (ac_try="$ac_link"
17014case "(($ac_try" in
17015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17017esac
17018eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17019$as_echo "$ac_try_echo") >&5
17020 (eval "$ac_link") 2>&5
17021 ac_status=$?
17022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17024 { (case "(($ac_try" in
17025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17026 *) ac_try_echo=$ac_try;;
17027esac
17028eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17029$as_echo "$ac_try_echo") >&5
17030 (eval "$ac_try") 2>&5
17031 ac_status=$?
17032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; }; then
17034 ac_cv_c_stack_direction=1 10744 ac_cv_c_stack_direction=1
17035else 10745else
17036 $as_echo "$as_me: program exited with status $ac_status" >&5 10746 ac_cv_c_stack_direction=-1
17037$as_echo "$as_me: failed program was:" >&5
17038sed 's/^/| /' conftest.$ac_ext >&5
17039
17040( exit $ac_status )
17041ac_cv_c_stack_direction=-1
17042fi 10747fi
17043rm -rf conftest.dSYM 10748rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17044rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10749 conftest.$ac_objext conftest.beam conftest.$ac_ext
17045fi 10750fi
17046 10751
17047
17048fi 10752fi
17049{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 10753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17050$as_echo "$ac_cv_c_stack_direction" >&6; } 10754$as_echo "$ac_cv_c_stack_direction" >&6; }
17051
17052cat >>confdefs.h <<_ACEOF 10755cat >>confdefs.h <<_ACEOF
17053#define STACK_DIRECTION $ac_cv_c_stack_direction 10756#define STACK_DIRECTION $ac_cv_c_stack_direction
17054_ACEOF 10757_ACEOF
@@ -17058,26 +10761,19 @@ fi
17058 10761
17059 10762
17060if test x"$ac_cv_func_alloca_works" != xyes; then 10763if test x"$ac_cv_func_alloca_works" != xyes; then
17061 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 10764 as_fn_error "a system implementation of alloca is required " "$LINENO" 5
17062$as_echo "$as_me: error: a system implementation of alloca is required " >&2;}
17063 { (exit 1); exit 1; }; }
17064fi 10765fi
17065 10766
17066# fmod, logb, and frexp are found in -lm on most systems. 10767# fmod, logb, and frexp are found in -lm on most systems.
17067# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 10768# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
17068 10769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
17069{ $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
17070$as_echo_n "checking for sqrt in -lm... " >&6; } 10770$as_echo_n "checking for sqrt in -lm... " >&6; }
17071if test "${ac_cv_lib_m_sqrt+set}" = set; then 10771if test "${ac_cv_lib_m_sqrt+set}" = set; then :
17072 $as_echo_n "(cached) " >&6 10772 $as_echo_n "(cached) " >&6
17073else 10773else
17074 ac_check_lib_save_LIBS=$LIBS 10774 ac_check_lib_save_LIBS=$LIBS
17075LIBS="-lm $LIBS" 10775LIBS="-lm $LIBS"
17076cat >conftest.$ac_ext <<_ACEOF 10776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077/* confdefs.h. */
17078_ACEOF
17079cat confdefs.h >>conftest.$ac_ext
17080cat >>conftest.$ac_ext <<_ACEOF
17081/* end confdefs.h. */ 10777/* end confdefs.h. */
17082 10778
17083/* Override any GCC internal prototype to avoid an error. 10779/* Override any GCC internal prototype to avoid an error.
@@ -17095,43 +10791,18 @@ return sqrt ();
17095 return 0; 10791 return 0;
17096} 10792}
17097_ACEOF 10793_ACEOF
17098rm -f conftest.$ac_objext conftest$ac_exeext 10794if ac_fn_c_try_link "$LINENO"; then :
17099if { (ac_try="$ac_link"
17100case "(($ac_try" in
17101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17103esac
17104eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17105$as_echo "$ac_try_echo") >&5
17106 (eval "$ac_link") 2>conftest.er1
17107 ac_status=$?
17108 grep -v '^ *+' conftest.er1 >conftest.err
17109 rm -f conftest.er1
17110 cat conftest.err >&5
17111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && {
17113 test -z "$ac_c_werror_flag" ||
17114 test ! -s conftest.err
17115 } && test -s conftest$ac_exeext && {
17116 test "$cross_compiling" = yes ||
17117 $as_test_x conftest$ac_exeext
17118 }; then
17119 ac_cv_lib_m_sqrt=yes 10795 ac_cv_lib_m_sqrt=yes
17120else 10796else
17121 $as_echo "$as_me: failed program was:" >&5 10797 ac_cv_lib_m_sqrt=no
17122sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 ac_cv_lib_m_sqrt=no
17125fi 10798fi
17126 10799rm -f core conftest.err conftest.$ac_objext \
17127rm -rf conftest.dSYM 10800 conftest$ac_exeext conftest.$ac_ext
17128rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17129 conftest$ac_exeext conftest.$ac_ext
17130LIBS=$ac_check_lib_save_LIBS 10801LIBS=$ac_check_lib_save_LIBS
17131fi 10802fi
17132{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 10803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
17133$as_echo "$ac_cv_lib_m_sqrt" >&6; } 10804$as_echo "$ac_cv_lib_m_sqrt" >&6; }
17134if test $ac_cv_lib_m_sqrt = yes; then 10805if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
17135 cat >>confdefs.h <<_ACEOF 10806 cat >>confdefs.h <<_ACEOF
17136#define HAVE_LIBM 1 10807#define HAVE_LIBM 1
17137_ACEOF 10808_ACEOF
@@ -17143,18 +10814,14 @@ fi
17143 10814
17144# Check for mail-locking functions in a "mail" library. Probably this should 10815# Check for mail-locking functions in a "mail" library. Probably this should
17145# have the same check as for liblockfile below. 10816# have the same check as for liblockfile below.
17146{ $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 10817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
17147$as_echo_n "checking for maillock in -lmail... " >&6; } 10818$as_echo_n "checking for maillock in -lmail... " >&6; }
17148if test "${ac_cv_lib_mail_maillock+set}" = set; then 10819if test "${ac_cv_lib_mail_maillock+set}" = set; then :
17149 $as_echo_n "(cached) " >&6 10820 $as_echo_n "(cached) " >&6
17150else 10821else
17151 ac_check_lib_save_LIBS=$LIBS 10822 ac_check_lib_save_LIBS=$LIBS
17152LIBS="-lmail $LIBS" 10823LIBS="-lmail $LIBS"
17153cat >conftest.$ac_ext <<_ACEOF 10824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154/* confdefs.h. */
17155_ACEOF
17156cat confdefs.h >>conftest.$ac_ext
17157cat >>conftest.$ac_ext <<_ACEOF
17158/* end confdefs.h. */ 10825/* end confdefs.h. */
17159 10826
17160/* Override any GCC internal prototype to avoid an error. 10827/* Override any GCC internal prototype to avoid an error.
@@ -17172,43 +10839,18 @@ return maillock ();
17172 return 0; 10839 return 0;
17173} 10840}
17174_ACEOF 10841_ACEOF
17175rm -f conftest.$ac_objext conftest$ac_exeext 10842if ac_fn_c_try_link "$LINENO"; then :
17176if { (ac_try="$ac_link"
17177case "(($ac_try" in
17178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17179 *) ac_try_echo=$ac_try;;
17180esac
17181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17182$as_echo "$ac_try_echo") >&5
17183 (eval "$ac_link") 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest$ac_exeext && {
17193 test "$cross_compiling" = yes ||
17194 $as_test_x conftest$ac_exeext
17195 }; then
17196 ac_cv_lib_mail_maillock=yes 10843 ac_cv_lib_mail_maillock=yes
17197else 10844else
17198 $as_echo "$as_me: failed program was:" >&5 10845 ac_cv_lib_mail_maillock=no
17199sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 ac_cv_lib_mail_maillock=no
17202fi 10846fi
17203 10847rm -f core conftest.err conftest.$ac_objext \
17204rm -rf conftest.dSYM 10848 conftest$ac_exeext conftest.$ac_ext
17205rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17206 conftest$ac_exeext conftest.$ac_ext
17207LIBS=$ac_check_lib_save_LIBS 10849LIBS=$ac_check_lib_save_LIBS
17208fi 10850fi
17209{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 10851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
17210$as_echo "$ac_cv_lib_mail_maillock" >&6; } 10852$as_echo "$ac_cv_lib_mail_maillock" >&6; }
17211if test $ac_cv_lib_mail_maillock = yes; then 10853if test "x$ac_cv_lib_mail_maillock" = x""yes; then :
17212 have_mail=yes 10854 have_mail=yes
17213else 10855else
17214 have_mail=no 10856 have_mail=no
@@ -17218,25 +10860,19 @@ if test $have_mail = yes; then
17218 LIBS_MAIL=-lmail 10860 LIBS_MAIL=-lmail
17219 LIBS="$LIBS_MAIL $LIBS" 10861 LIBS="$LIBS_MAIL $LIBS"
17220 10862
17221cat >>confdefs.h <<\_ACEOF 10863$as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h
17222#define HAVE_LIBMAIL 1
17223_ACEOF
17224 10864
17225else 10865else
17226 LIBS_MAIL= 10866 LIBS_MAIL=
17227fi 10867fi
17228{ $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 10868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
17229$as_echo_n "checking for maillock in -llockfile... " >&6; } 10869$as_echo_n "checking for maillock in -llockfile... " >&6; }
17230if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 10870if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
17231 $as_echo_n "(cached) " >&6 10871 $as_echo_n "(cached) " >&6
17232else 10872else
17233 ac_check_lib_save_LIBS=$LIBS 10873 ac_check_lib_save_LIBS=$LIBS
17234LIBS="-llockfile $LIBS" 10874LIBS="-llockfile $LIBS"
17235cat >conftest.$ac_ext <<_ACEOF 10875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236/* confdefs.h. */
17237_ACEOF
17238cat confdefs.h >>conftest.$ac_ext
17239cat >>conftest.$ac_ext <<_ACEOF
17240/* end confdefs.h. */ 10876/* end confdefs.h. */
17241 10877
17242/* Override any GCC internal prototype to avoid an error. 10878/* Override any GCC internal prototype to avoid an error.
@@ -17254,43 +10890,18 @@ return maillock ();
17254 return 0; 10890 return 0;
17255} 10891}
17256_ACEOF 10892_ACEOF
17257rm -f conftest.$ac_objext conftest$ac_exeext 10893if ac_fn_c_try_link "$LINENO"; then :
17258if { (ac_try="$ac_link"
17259case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17262esac
17263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17264$as_echo "$ac_try_echo") >&5
17265 (eval "$ac_link") 2>conftest.er1
17266 ac_status=$?
17267 grep -v '^ *+' conftest.er1 >conftest.err
17268 rm -f conftest.er1
17269 cat conftest.err >&5
17270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } && {
17272 test -z "$ac_c_werror_flag" ||
17273 test ! -s conftest.err
17274 } && test -s conftest$ac_exeext && {
17275 test "$cross_compiling" = yes ||
17276 $as_test_x conftest$ac_exeext
17277 }; then
17278 ac_cv_lib_lockfile_maillock=yes 10894 ac_cv_lib_lockfile_maillock=yes
17279else 10895else
17280 $as_echo "$as_me: failed program was:" >&5 10896 ac_cv_lib_lockfile_maillock=no
17281sed 's/^/| /' conftest.$ac_ext >&5
17282
17283 ac_cv_lib_lockfile_maillock=no
17284fi 10897fi
17285 10898rm -f core conftest.err conftest.$ac_objext \
17286rm -rf conftest.dSYM 10899 conftest$ac_exeext conftest.$ac_ext
17287rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17288 conftest$ac_exeext conftest.$ac_ext
17289LIBS=$ac_check_lib_save_LIBS 10900LIBS=$ac_check_lib_save_LIBS
17290fi 10901fi
17291{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 10902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
17292$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 10903$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
17293if test $ac_cv_lib_lockfile_maillock = yes; then 10904if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
17294 have_lockfile=yes 10905 have_lockfile=yes
17295else 10906else
17296 have_lockfile=no 10907 have_lockfile=no
@@ -17300,9 +10911,7 @@ if test $have_lockfile = yes; then
17300 LIBS_MAIL=-llockfile 10911 LIBS_MAIL=-llockfile
17301 LIBS="$LIBS_MAIL $LIBS" 10912 LIBS="$LIBS_MAIL $LIBS"
17302 10913
17303cat >>confdefs.h <<\_ACEOF 10914$as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h
17304#define HAVE_LIBLOCKFILE 1
17305_ACEOF
17306 10915
17307else 10916else
17308# If we have the shared liblockfile, assume we must use it for mail 10917# If we have the shared liblockfile, assume we must use it for mail
@@ -17310,9 +10919,9 @@ else
17310# (no liblockfile.a installed), ensure that we don't need to. 10919# (no liblockfile.a installed), ensure that we don't need to.
17311 # Extract the first word of "liblockfile.so", so it can be a program name with args. 10920 # Extract the first word of "liblockfile.so", so it can be a program name with args.
17312set dummy liblockfile.so; ac_word=$2 10921set dummy liblockfile.so; ac_word=$2
17313{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 10922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17314$as_echo_n "checking for $ac_word... " >&6; } 10923$as_echo_n "checking for $ac_word... " >&6; }
17315if test "${ac_cv_prog_liblockfile+set}" = set; then 10924if test "${ac_cv_prog_liblockfile+set}" = set; then :
17316 $as_echo_n "(cached) " >&6 10925 $as_echo_n "(cached) " >&6
17317else 10926else
17318 if test -n "$liblockfile"; then 10927 if test -n "$liblockfile"; then
@@ -17324,14 +10933,14 @@ for as_dir in $as_dummy
17324do 10933do
17325 IFS=$as_save_IFS 10934 IFS=$as_save_IFS
17326 test -z "$as_dir" && as_dir=. 10935 test -z "$as_dir" && as_dir=.
17327 for ac_exec_ext in '' $ac_executable_extensions; do 10936 for ac_exec_ext in '' $ac_executable_extensions; do
17328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17329 ac_cv_prog_liblockfile="yes" 10938 ac_cv_prog_liblockfile="yes"
17330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17331 break 2 10940 break 2
17332 fi 10941 fi
17333done 10942done
17334done 10943 done
17335IFS=$as_save_IFS 10944IFS=$as_save_IFS
17336 10945
17337 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 10946 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
@@ -17339,263 +10948,37 @@ fi
17339fi 10948fi
17340liblockfile=$ac_cv_prog_liblockfile 10949liblockfile=$ac_cv_prog_liblockfile
17341if test -n "$liblockfile"; then 10950if test -n "$liblockfile"; then
17342 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5
17343$as_echo "$liblockfile" >&6; } 10952$as_echo "$liblockfile" >&6; }
17344else 10953else
17345 { $as_echo "$as_me:$LINENO: result: no" >&5 10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17346$as_echo "no" >&6; } 10955$as_echo "no" >&6; }
17347fi 10956fi
17348 10957
17349 10958
17350 if test $ac_cv_prog_liblockfile = yes; then 10959 if test $ac_cv_prog_liblockfile = yes; then
17351 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 10960 as_fn_error "Shared liblockfile found but can't link against it.
17352This probably means that movemail could lose mail. 10961This probably means that movemail could lose mail.
17353There may be a \`development' package to install containing liblockfile." >&5 10962There may be a \`development' package to install containing liblockfile." "$LINENO" 5
17354$as_echo "$as_me: error: Shared liblockfile found but can't link against it.
17355This probably means that movemail could lose mail.
17356There may be a \`development' package to install containing liblockfile." >&2;}
17357 { (exit 1); exit 1; }; }
17358 fi 10963 fi
17359fi 10964fi
17360
17361for ac_func in touchlock 10965for ac_func in touchlock
17362do 10966do :
17363as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10967 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
17364{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10968if test "x$ac_cv_func_touchlock" = x""yes; then :
17365$as_echo_n "checking for $ac_func... " >&6; }
17366if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17367 $as_echo_n "(cached) " >&6
17368else
17369 cat >conftest.$ac_ext <<_ACEOF
17370/* confdefs.h. */
17371_ACEOF
17372cat confdefs.h >>conftest.$ac_ext
17373cat >>conftest.$ac_ext <<_ACEOF
17374/* end confdefs.h. */
17375/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17377#define $ac_func innocuous_$ac_func
17378
17379/* System header to define __stub macros and hopefully few prototypes,
17380 which can conflict with char $ac_func (); below.
17381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17382 <limits.h> exists even on freestanding compilers. */
17383
17384#ifdef __STDC__
17385# include <limits.h>
17386#else
17387# include <assert.h>
17388#endif
17389
17390#undef $ac_func
17391
17392/* Override any GCC internal prototype to avoid an error.
17393 Use char because int might match the return type of a GCC
17394 builtin and then its argument prototype would still apply. */
17395#ifdef __cplusplus
17396extern "C"
17397#endif
17398char $ac_func ();
17399/* The GNU C library defines this for functions which it implements
17400 to always fail with ENOSYS. Some functions are actually named
17401 something starting with __ and the normal name is an alias. */
17402#if defined __stub_$ac_func || defined __stub___$ac_func
17403choke me
17404#endif
17405
17406int
17407main ()
17408{
17409return $ac_func ();
17410 ;
17411 return 0;
17412}
17413_ACEOF
17414rm -f conftest.$ac_objext conftest$ac_exeext
17415if { (ac_try="$ac_link"
17416case "(($ac_try" in
17417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17418 *) ac_try_echo=$ac_try;;
17419esac
17420eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17421$as_echo "$ac_try_echo") >&5
17422 (eval "$ac_link") 2>conftest.er1
17423 ac_status=$?
17424 grep -v '^ *+' conftest.er1 >conftest.err
17425 rm -f conftest.er1
17426 cat conftest.err >&5
17427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } && {
17429 test -z "$ac_c_werror_flag" ||
17430 test ! -s conftest.err
17431 } && test -s conftest$ac_exeext && {
17432 test "$cross_compiling" = yes ||
17433 $as_test_x conftest$ac_exeext
17434 }; then
17435 eval "$as_ac_var=yes"
17436else
17437 $as_echo "$as_me: failed program was:" >&5
17438sed 's/^/| /' conftest.$ac_ext >&5
17439
17440 eval "$as_ac_var=no"
17441fi
17442
17443rm -rf conftest.dSYM
17444rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17445 conftest$ac_exeext conftest.$ac_ext
17446fi
17447ac_res=`eval 'as_val=${'$as_ac_var'}
17448 $as_echo "$as_val"'`
17449 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17450$as_echo "$ac_res" >&6; }
17451if test `eval 'as_val=${'$as_ac_var'}
17452 $as_echo "$as_val"'` = yes; then
17453 cat >>confdefs.h <<_ACEOF 10969 cat >>confdefs.h <<_ACEOF
17454#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10970#define HAVE_TOUCHLOCK 1
17455_ACEOF 10971_ACEOF
17456 10972
17457fi 10973fi
17458done 10974done
17459 10975
17460
17461for ac_header in maillock.h 10976for ac_header in maillock.h
17462do 10977do :
17463as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10978 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
17464if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10979if test "x$ac_cv_header_maillock_h" = x""yes; then :
17465 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17466$as_echo_n "checking for $ac_header... " >&6; }
17467if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17468 $as_echo_n "(cached) " >&6
17469fi
17470ac_res=`eval 'as_val=${'$as_ac_Header'}
17471 $as_echo "$as_val"'`
17472 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17473$as_echo "$ac_res" >&6; }
17474else
17475 # Is the header compilable?
17476{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17477$as_echo_n "checking $ac_header usability... " >&6; }
17478cat >conftest.$ac_ext <<_ACEOF
17479/* confdefs.h. */
17480_ACEOF
17481cat confdefs.h >>conftest.$ac_ext
17482cat >>conftest.$ac_ext <<_ACEOF
17483/* end confdefs.h. */
17484$ac_includes_default
17485#include <$ac_header>
17486_ACEOF
17487rm -f conftest.$ac_objext
17488if { (ac_try="$ac_compile"
17489case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17492esac
17493eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17494$as_echo "$ac_try_echo") >&5
17495 (eval "$ac_compile") 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } && {
17502 test -z "$ac_c_werror_flag" ||
17503 test ! -s conftest.err
17504 } && test -s conftest.$ac_objext; then
17505 ac_header_compiler=yes
17506else
17507 $as_echo "$as_me: failed program was:" >&5
17508sed 's/^/| /' conftest.$ac_ext >&5
17509
17510 ac_header_compiler=no
17511fi
17512
17513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17515$as_echo "$ac_header_compiler" >&6; }
17516
17517# Is the header present?
17518{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17519$as_echo_n "checking $ac_header presence... " >&6; }
17520cat >conftest.$ac_ext <<_ACEOF
17521/* confdefs.h. */
17522_ACEOF
17523cat confdefs.h >>conftest.$ac_ext
17524cat >>conftest.$ac_ext <<_ACEOF
17525/* end confdefs.h. */
17526#include <$ac_header>
17527_ACEOF
17528if { (ac_try="$ac_cpp conftest.$ac_ext"
17529case "(($ac_try" in
17530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17531 *) ac_try_echo=$ac_try;;
17532esac
17533eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17534$as_echo "$ac_try_echo") >&5
17535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } >/dev/null && {
17542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 }; then
17545 ac_header_preproc=yes
17546else
17547 $as_echo "$as_me: failed program was:" >&5
17548sed 's/^/| /' conftest.$ac_ext >&5
17549
17550 ac_header_preproc=no
17551fi
17552
17553rm -f conftest.err conftest.$ac_ext
17554{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17555$as_echo "$ac_header_preproc" >&6; }
17556
17557# So? What about this header?
17558case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17559 yes:no: )
17560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17561$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17563$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17564 ac_header_preproc=yes
17565 ;;
17566 no:yes:* )
17567 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17568$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17569 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17570$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17571 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17572$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17573 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17574$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17575 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17576$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17577 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17578$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17579
17580 ;;
17581esac
17582{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17583$as_echo_n "checking for $ac_header... " >&6; }
17584if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17585 $as_echo_n "(cached) " >&6
17586else
17587 eval "$as_ac_Header=\$ac_header_preproc"
17588fi
17589ac_res=`eval 'as_val=${'$as_ac_Header'}
17590 $as_echo "$as_val"'`
17591 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17592$as_echo "$ac_res" >&6; }
17593
17594fi
17595if test `eval 'as_val=${'$as_ac_Header'}
17596 $as_echo "$as_val"'` = yes; then
17597 cat >>confdefs.h <<_ACEOF 10980 cat >>confdefs.h <<_ACEOF
17598#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10981#define HAVE_MAILLOCK_H 1
17599_ACEOF 10982_ACEOF
17600 10983
17601fi 10984fi
@@ -17638,15 +11021,11 @@ esac
17638BLESSMAIL_TARGET= 11021BLESSMAIL_TARGET=
17639case "$mail_lock" in 11022case "$mail_lock" in
17640 flock) 11023 flock)
17641cat >>confdefs.h <<\_ACEOF 11024$as_echo "#define MAIL_USE_FLOCK 1" >>confdefs.h
17642#define MAIL_USE_FLOCK 1
17643_ACEOF
17644 ;; 11025 ;;
17645 11026
17646 lockf) 11027 lockf)
17647cat >>confdefs.h <<\_ACEOF 11028$as_echo "#define MAIL_USE_LOCKF 1" >>confdefs.h
17648#define MAIL_USE_LOCKF 1
17649_ACEOF
17650 ;; 11029 ;;
17651 11030
17652 *) BLESSMAIL_TARGET="need-blessmail" ;; 11031 *) BLESSMAIL_TARGET="need-blessmail" ;;
@@ -17654,79 +11033,6 @@ esac
17654 11033
17655 11034
17656 11035
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730for ac_func in gethostname getdomainname dup2 \ 11036for ac_func in gethostname getdomainname dup2 \
17731rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ 11037rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
17732random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ 11038random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
@@ -17737,97 +11043,11 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \
17737gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 11043gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
17738memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 11044memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
17739cfmakeraw cfsetspeed isnan copysign 11045cfmakeraw cfsetspeed isnan copysign
17740do 11046do :
17741as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17742{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11048ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17743$as_echo_n "checking for $ac_func... " >&6; } 11049eval as_val=\$$as_ac_var
17744if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11050 if test "x$as_val" = x""yes; then :
17745 $as_echo_n "(cached) " >&6
17746else
17747 cat >conftest.$ac_ext <<_ACEOF
17748/* confdefs.h. */
17749_ACEOF
17750cat confdefs.h >>conftest.$ac_ext
17751cat >>conftest.$ac_ext <<_ACEOF
17752/* end confdefs.h. */
17753/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17755#define $ac_func innocuous_$ac_func
17756
17757/* System header to define __stub macros and hopefully few prototypes,
17758 which can conflict with char $ac_func (); below.
17759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17760 <limits.h> exists even on freestanding compilers. */
17761
17762#ifdef __STDC__
17763# include <limits.h>
17764#else
17765# include <assert.h>
17766#endif
17767
17768#undef $ac_func
17769
17770/* Override any GCC internal prototype to avoid an error.
17771 Use char because int might match the return type of a GCC
17772 builtin and then its argument prototype would still apply. */
17773#ifdef __cplusplus
17774extern "C"
17775#endif
17776char $ac_func ();
17777/* The GNU C library defines this for functions which it implements
17778 to always fail with ENOSYS. Some functions are actually named
17779 something starting with __ and the normal name is an alias. */
17780#if defined __stub_$ac_func || defined __stub___$ac_func
17781choke me
17782#endif
17783
17784int
17785main ()
17786{
17787return $ac_func ();
17788 ;
17789 return 0;
17790}
17791_ACEOF
17792rm -f conftest.$ac_objext conftest$ac_exeext
17793if { (ac_try="$ac_link"
17794case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17797esac
17798eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17799$as_echo "$ac_try_echo") >&5
17800 (eval "$ac_link") 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_c_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest$ac_exeext && {
17810 test "$cross_compiling" = yes ||
17811 $as_test_x conftest$ac_exeext
17812 }; then
17813 eval "$as_ac_var=yes"
17814else
17815 $as_echo "$as_me: failed program was:" >&5
17816sed 's/^/| /' conftest.$ac_ext >&5
17817
17818 eval "$as_ac_var=no"
17819fi
17820
17821rm -rf conftest.dSYM
17822rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17823 conftest$ac_exeext conftest.$ac_ext
17824fi
17825ac_res=`eval 'as_val=${'$as_ac_var'}
17826 $as_echo "$as_val"'`
17827 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17828$as_echo "$ac_res" >&6; }
17829if test `eval 'as_val=${'$as_ac_var'}
17830 $as_echo "$as_val"'` = yes; then
17831 cat >>confdefs.h <<_ACEOF 11051 cat >>confdefs.h <<_ACEOF
17832#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11052#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17833_ACEOF 11053_ACEOF
@@ -17836,294 +11056,12 @@ fi
17836done 11056done
17837 11057
17838 11058
17839
17840for ac_header in sys/un.h 11059for ac_header in sys/un.h
17841do 11060do :
17842as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11061 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
17843if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11062if test "x$ac_cv_header_sys_un_h" = x""yes; then :
17844 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17845$as_echo_n "checking for $ac_header... " >&6; }
17846if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17847 $as_echo_n "(cached) " >&6
17848fi
17849ac_res=`eval 'as_val=${'$as_ac_Header'}
17850 $as_echo "$as_val"'`
17851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17852$as_echo "$ac_res" >&6; }
17853else
17854 # Is the header compilable?
17855{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17856$as_echo_n "checking $ac_header usability... " >&6; }
17857cat >conftest.$ac_ext <<_ACEOF
17858/* confdefs.h. */
17859_ACEOF
17860cat confdefs.h >>conftest.$ac_ext
17861cat >>conftest.$ac_ext <<_ACEOF
17862/* end confdefs.h. */
17863$ac_includes_default
17864#include <$ac_header>
17865_ACEOF
17866rm -f conftest.$ac_objext
17867if { (ac_try="$ac_compile"
17868case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17871esac
17872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17873$as_echo "$ac_try_echo") >&5
17874 (eval "$ac_compile") 2>conftest.er1
17875 ac_status=$?
17876 grep -v '^ *+' conftest.er1 >conftest.err
17877 rm -f conftest.er1
17878 cat conftest.err >&5
17879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } && {
17881 test -z "$ac_c_werror_flag" ||
17882 test ! -s conftest.err
17883 } && test -s conftest.$ac_objext; then
17884 ac_header_compiler=yes
17885else
17886 $as_echo "$as_me: failed program was:" >&5
17887sed 's/^/| /' conftest.$ac_ext >&5
17888
17889 ac_header_compiler=no
17890fi
17891
17892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17894$as_echo "$ac_header_compiler" >&6; }
17895
17896# Is the header present?
17897{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17898$as_echo_n "checking $ac_header presence... " >&6; }
17899cat >conftest.$ac_ext <<_ACEOF
17900/* confdefs.h. */
17901_ACEOF
17902cat confdefs.h >>conftest.$ac_ext
17903cat >>conftest.$ac_ext <<_ACEOF
17904/* end confdefs.h. */
17905#include <$ac_header>
17906_ACEOF
17907if { (ac_try="$ac_cpp conftest.$ac_ext"
17908case "(($ac_try" in
17909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17911esac
17912eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17913$as_echo "$ac_try_echo") >&5
17914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17915 ac_status=$?
17916 grep -v '^ *+' conftest.er1 >conftest.err
17917 rm -f conftest.er1
17918 cat conftest.err >&5
17919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } >/dev/null && {
17921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17922 test ! -s conftest.err
17923 }; then
17924 ac_header_preproc=yes
17925else
17926 $as_echo "$as_me: failed program was:" >&5
17927sed 's/^/| /' conftest.$ac_ext >&5
17928
17929 ac_header_preproc=no
17930fi
17931
17932rm -f conftest.err conftest.$ac_ext
17933{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17934$as_echo "$ac_header_preproc" >&6; }
17935
17936# So? What about this header?
17937case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17938 yes:no: )
17939 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17940$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17941 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17942$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17943 ac_header_preproc=yes
17944 ;;
17945 no:yes:* )
17946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17947$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17949$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17951$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17952 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17953$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17954 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17955$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17956 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17957$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17958
17959 ;;
17960esac
17961{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17962$as_echo_n "checking for $ac_header... " >&6; }
17963if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17964 $as_echo_n "(cached) " >&6
17965else
17966 eval "$as_ac_Header=\$ac_header_preproc"
17967fi
17968ac_res=`eval 'as_val=${'$as_ac_Header'}
17969 $as_echo "$as_val"'`
17970 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17971$as_echo "$ac_res" >&6; }
17972
17973fi
17974if test `eval 'as_val=${'$as_ac_Header'}
17975 $as_echo "$as_val"'` = yes; then
17976 cat >>confdefs.h <<_ACEOF
17977#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17978_ACEOF
17979
17980fi
17981
17982done
17983
17984
17985
17986
17987
17988
17989for ac_header in $ac_header_list
17990do
17991as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17992if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17993 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17994$as_echo_n "checking for $ac_header... " >&6; }
17995if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17996 $as_echo_n "(cached) " >&6
17997fi
17998ac_res=`eval 'as_val=${'$as_ac_Header'}
17999 $as_echo "$as_val"'`
18000 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18001$as_echo "$ac_res" >&6; }
18002else
18003 # Is the header compilable?
18004{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18005$as_echo_n "checking $ac_header usability... " >&6; }
18006cat >conftest.$ac_ext <<_ACEOF
18007/* confdefs.h. */
18008_ACEOF
18009cat confdefs.h >>conftest.$ac_ext
18010cat >>conftest.$ac_ext <<_ACEOF
18011/* end confdefs.h. */
18012$ac_includes_default
18013#include <$ac_header>
18014_ACEOF
18015rm -f conftest.$ac_objext
18016if { (ac_try="$ac_compile"
18017case "(($ac_try" in
18018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18019 *) ac_try_echo=$ac_try;;
18020esac
18021eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18022$as_echo "$ac_try_echo") >&5
18023 (eval "$ac_compile") 2>conftest.er1
18024 ac_status=$?
18025 grep -v '^ *+' conftest.er1 >conftest.err
18026 rm -f conftest.er1
18027 cat conftest.err >&5
18028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); } && {
18030 test -z "$ac_c_werror_flag" ||
18031 test ! -s conftest.err
18032 } && test -s conftest.$ac_objext; then
18033 ac_header_compiler=yes
18034else
18035 $as_echo "$as_me: failed program was:" >&5
18036sed 's/^/| /' conftest.$ac_ext >&5
18037
18038 ac_header_compiler=no
18039fi
18040
18041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18042{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18043$as_echo "$ac_header_compiler" >&6; }
18044
18045# Is the header present?
18046{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18047$as_echo_n "checking $ac_header presence... " >&6; }
18048cat >conftest.$ac_ext <<_ACEOF
18049/* confdefs.h. */
18050_ACEOF
18051cat confdefs.h >>conftest.$ac_ext
18052cat >>conftest.$ac_ext <<_ACEOF
18053/* end confdefs.h. */
18054#include <$ac_header>
18055_ACEOF
18056if { (ac_try="$ac_cpp conftest.$ac_ext"
18057case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18060esac
18061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18062$as_echo "$ac_try_echo") >&5
18063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18064 ac_status=$?
18065 grep -v '^ *+' conftest.er1 >conftest.err
18066 rm -f conftest.er1
18067 cat conftest.err >&5
18068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } >/dev/null && {
18070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18071 test ! -s conftest.err
18072 }; then
18073 ac_header_preproc=yes
18074else
18075 $as_echo "$as_me: failed program was:" >&5
18076sed 's/^/| /' conftest.$ac_ext >&5
18077
18078 ac_header_preproc=no
18079fi
18080
18081rm -f conftest.err conftest.$ac_ext
18082{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18083$as_echo "$ac_header_preproc" >&6; }
18084
18085# So? What about this header?
18086case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18087 yes:no: )
18088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18089$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18091$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18092 ac_header_preproc=yes
18093 ;;
18094 no:yes:* )
18095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18096$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18098$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18100$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18102$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18104$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18106$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18107
18108 ;;
18109esac
18110{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18111$as_echo_n "checking for $ac_header... " >&6; }
18112if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18113 $as_echo_n "(cached) " >&6
18114else
18115 eval "$as_ac_Header=\$ac_header_preproc"
18116fi
18117ac_res=`eval 'as_val=${'$as_ac_Header'}
18118 $as_echo "$as_val"'`
18119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18120$as_echo "$ac_res" >&6; }
18121
18122fi
18123if test `eval 'as_val=${'$as_ac_Header'}
18124 $as_echo "$as_val"'` = yes; then
18125 cat >>confdefs.h <<_ACEOF 11063 cat >>confdefs.h <<_ACEOF
18126#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11064#define HAVE_SYS_UN_H 1
18127_ACEOF 11065_ACEOF
18128 11066
18129fi 11067fi
@@ -18136,100 +11074,12 @@ done
18136 11074
18137 11075
18138 11076
18139 11077 for ac_func in $ac_func_list
18140 11078do :
18141for ac_func in $ac_func_list 11079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18142do 11080ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18143as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11081eval as_val=\$$as_ac_var
18144{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11082 if test "x$as_val" = x""yes; then :
18145$as_echo_n "checking for $ac_func... " >&6; }
18146if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18147 $as_echo_n "(cached) " >&6
18148else
18149 cat >conftest.$ac_ext <<_ACEOF
18150/* confdefs.h. */
18151_ACEOF
18152cat confdefs.h >>conftest.$ac_ext
18153cat >>conftest.$ac_ext <<_ACEOF
18154/* end confdefs.h. */
18155/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18157#define $ac_func innocuous_$ac_func
18158
18159/* System header to define __stub macros and hopefully few prototypes,
18160 which can conflict with char $ac_func (); below.
18161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18162 <limits.h> exists even on freestanding compilers. */
18163
18164#ifdef __STDC__
18165# include <limits.h>
18166#else
18167# include <assert.h>
18168#endif
18169
18170#undef $ac_func
18171
18172/* Override any GCC internal prototype to avoid an error.
18173 Use char because int might match the return type of a GCC
18174 builtin and then its argument prototype would still apply. */
18175#ifdef __cplusplus
18176extern "C"
18177#endif
18178char $ac_func ();
18179/* The GNU C library defines this for functions which it implements
18180 to always fail with ENOSYS. Some functions are actually named
18181 something starting with __ and the normal name is an alias. */
18182#if defined __stub_$ac_func || defined __stub___$ac_func
18183choke me
18184#endif
18185
18186int
18187main ()
18188{
18189return $ac_func ();
18190 ;
18191 return 0;
18192}
18193_ACEOF
18194rm -f conftest.$ac_objext conftest$ac_exeext
18195if { (ac_try="$ac_link"
18196case "(($ac_try" in
18197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18198 *) ac_try_echo=$ac_try;;
18199esac
18200eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18201$as_echo "$ac_try_echo") >&5
18202 (eval "$ac_link") 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest$ac_exeext && {
18212 test "$cross_compiling" = yes ||
18213 $as_test_x conftest$ac_exeext
18214 }; then
18215 eval "$as_ac_var=yes"
18216else
18217 $as_echo "$as_me: failed program was:" >&5
18218sed 's/^/| /' conftest.$ac_ext >&5
18219
18220 eval "$as_ac_var=no"
18221fi
18222
18223rm -rf conftest.dSYM
18224rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18225 conftest$ac_exeext conftest.$ac_ext
18226fi
18227ac_res=`eval 'as_val=${'$as_ac_var'}
18228 $as_echo "$as_val"'`
18229 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18230$as_echo "$ac_res" >&6; }
18231if test `eval 'as_val=${'$as_ac_var'}
18232 $as_echo "$as_val"'` = yes; then
18233 cat >>confdefs.h <<_ACEOF 11083 cat >>confdefs.h <<_ACEOF
18234#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11084#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18235_ACEOF 11085_ACEOF
@@ -18241,31 +11091,15 @@ done
18241 11091
18242 11092
18243 11093
18244 11094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256{ $as_echo "$as_me:$LINENO: checking for working mktime" >&5
18257$as_echo_n "checking for working mktime... " >&6; } 11095$as_echo_n "checking for working mktime... " >&6; }
18258if test "${ac_cv_func_working_mktime+set}" = set; then 11096if test "${ac_cv_func_working_mktime+set}" = set; then :
18259 $as_echo_n "(cached) " >&6 11097 $as_echo_n "(cached) " >&6
18260else 11098else
18261 if test "$cross_compiling" = yes; then 11099 if test "$cross_compiling" = yes; then :
18262 ac_cv_func_working_mktime=no 11100 ac_cv_func_working_mktime=no
18263else 11101else
18264 cat >conftest.$ac_ext <<_ACEOF 11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265/* confdefs.h. */
18266_ACEOF
18267cat confdefs.h >>conftest.$ac_ext
18268cat >>conftest.$ac_ext <<_ACEOF
18269/* end confdefs.h. */ 11103/* end confdefs.h. */
18270/* Test program from Paul Eggert and Tony Leneis. */ 11104/* Test program from Paul Eggert and Tony Leneis. */
18271#ifdef TIME_WITH_SYS_TIME 11105#ifdef TIME_WITH_SYS_TIME
@@ -18462,44 +11296,17 @@ main ()
18462 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 11296 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
18463} 11297}
18464_ACEOF 11298_ACEOF
18465rm -f conftest$ac_exeext 11299if ac_fn_c_try_run "$LINENO"; then :
18466if { (ac_try="$ac_link"
18467case "(($ac_try" in
18468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18470esac
18471eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18472$as_echo "$ac_try_echo") >&5
18473 (eval "$ac_link") 2>&5
18474 ac_status=$?
18475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18477 { (case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480esac
18481eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18482$as_echo "$ac_try_echo") >&5
18483 (eval "$ac_try") 2>&5
18484 ac_status=$?
18485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_func_working_mktime=yes 11300 ac_cv_func_working_mktime=yes
18488else 11301else
18489 $as_echo "$as_me: program exited with status $ac_status" >&5 11302 ac_cv_func_working_mktime=no
18490$as_echo "$as_me: failed program was:" >&5
18491sed 's/^/| /' conftest.$ac_ext >&5
18492
18493( exit $ac_status )
18494ac_cv_func_working_mktime=no
18495fi 11303fi
18496rm -rf conftest.dSYM 11304rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18497rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11305 conftest.$ac_objext conftest.beam conftest.$ac_ext
18498fi 11306fi
18499 11307
18500
18501fi 11308fi
18502{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 11309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
18503$as_echo "$ac_cv_func_working_mktime" >&6; } 11310$as_echo "$ac_cv_func_working_mktime" >&6; }
18504if test $ac_cv_func_working_mktime = no; then 11311if test $ac_cv_func_working_mktime = no; then
18505 case " $LIBOBJS " in 11312 case " $LIBOBJS " in
@@ -18512,9 +11319,7 @@ fi
18512 11319
18513if test "$ac_cv_func_working_mktime" = no; then 11320if test "$ac_cv_func_working_mktime" = no; then
18514 11321
18515cat >>confdefs.h <<\_ACEOF 11322$as_echo "#define BROKEN_MKTIME 1" >>confdefs.h
18516#define BROKEN_MKTIME 1
18517_ACEOF
18518 11323
18519fi 11324fi
18520 11325
@@ -18522,99 +11327,13 @@ ac_have_func=no # yes means we've found a way to get the load average.
18522 11327
18523# Make sure getloadavg.c is where it belongs, at configure-time. 11328# Make sure getloadavg.c is where it belongs, at configure-time.
18524test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 11329test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
18525 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 11330 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
18526$as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
18527 { (exit 1); exit 1; }; }
18528 11331
18529ac_save_LIBS=$LIBS 11332ac_save_LIBS=$LIBS
18530 11333
18531# Check for getloadavg, but be sure not to touch the cache variable. 11334# Check for getloadavg, but be sure not to touch the cache variable.
18532({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 11335(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
18533$as_echo_n "checking for getloadavg... " >&6; } 11336if test "x$ac_cv_func_getloadavg" = x""yes; then :
18534if test "${ac_cv_func_getloadavg+set}" = set; then
18535 $as_echo_n "(cached) " >&6
18536else
18537 cat >conftest.$ac_ext <<_ACEOF
18538/* confdefs.h. */
18539_ACEOF
18540cat confdefs.h >>conftest.$ac_ext
18541cat >>conftest.$ac_ext <<_ACEOF
18542/* end confdefs.h. */
18543/* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
18544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18545#define getloadavg innocuous_getloadavg
18546
18547/* System header to define __stub macros and hopefully few prototypes,
18548 which can conflict with char getloadavg (); below.
18549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18550 <limits.h> exists even on freestanding compilers. */
18551
18552#ifdef __STDC__
18553# include <limits.h>
18554#else
18555# include <assert.h>
18556#endif
18557
18558#undef getloadavg
18559
18560/* Override any GCC internal prototype to avoid an error.
18561 Use char because int might match the return type of a GCC
18562 builtin and then its argument prototype would still apply. */
18563#ifdef __cplusplus
18564extern "C"
18565#endif
18566char getloadavg ();
18567/* The GNU C library defines this for functions which it implements
18568 to always fail with ENOSYS. Some functions are actually named
18569 something starting with __ and the normal name is an alias. */
18570#if defined __stub_getloadavg || defined __stub___getloadavg
18571choke me
18572#endif
18573
18574int
18575main ()
18576{
18577return getloadavg ();
18578 ;
18579 return 0;
18580}
18581_ACEOF
18582rm -f conftest.$ac_objext conftest$ac_exeext
18583if { (ac_try="$ac_link"
18584case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18587esac
18588eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18589$as_echo "$ac_try_echo") >&5
18590 (eval "$ac_link") 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } && {
18597 test -z "$ac_c_werror_flag" ||
18598 test ! -s conftest.err
18599 } && test -s conftest$ac_exeext && {
18600 test "$cross_compiling" = yes ||
18601 $as_test_x conftest$ac_exeext
18602 }; then
18603 ac_cv_func_getloadavg=yes
18604else
18605 $as_echo "$as_me: failed program was:" >&5
18606sed 's/^/| /' conftest.$ac_ext >&5
18607
18608 ac_cv_func_getloadavg=no
18609fi
18610
18611rm -rf conftest.dSYM
18612rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18613 conftest$ac_exeext conftest.$ac_ext
18614fi
18615{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
18616$as_echo "$ac_cv_func_getloadavg" >&6; }
18617if test $ac_cv_func_getloadavg = yes; then
18618 exit 0 11337 exit 0
18619else 11338else
18620 exit 1 11339 exit 1
@@ -18622,101 +11341,12 @@ fi
18622) && ac_have_func=yes 11341) && ac_have_func=yes
18623 11342
18624# On HPUX9, an unprivileged user can get load averages through this function. 11343# On HPUX9, an unprivileged user can get load averages through this function.
18625
18626for ac_func in pstat_getdynamic 11344for ac_func in pstat_getdynamic
18627do 11345do :
18628as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11346 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
18629{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11347if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
18630$as_echo_n "checking for $ac_func... " >&6; }
18631if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18632 $as_echo_n "(cached) " >&6
18633else
18634 cat >conftest.$ac_ext <<_ACEOF
18635/* confdefs.h. */
18636_ACEOF
18637cat confdefs.h >>conftest.$ac_ext
18638cat >>conftest.$ac_ext <<_ACEOF
18639/* end confdefs.h. */
18640/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18642#define $ac_func innocuous_$ac_func
18643
18644/* System header to define __stub macros and hopefully few prototypes,
18645 which can conflict with char $ac_func (); below.
18646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18647 <limits.h> exists even on freestanding compilers. */
18648
18649#ifdef __STDC__
18650# include <limits.h>
18651#else
18652# include <assert.h>
18653#endif
18654
18655#undef $ac_func
18656
18657/* Override any GCC internal prototype to avoid an error.
18658 Use char because int might match the return type of a GCC
18659 builtin and then its argument prototype would still apply. */
18660#ifdef __cplusplus
18661extern "C"
18662#endif
18663char $ac_func ();
18664/* The GNU C library defines this for functions which it implements
18665 to always fail with ENOSYS. Some functions are actually named
18666 something starting with __ and the normal name is an alias. */
18667#if defined __stub_$ac_func || defined __stub___$ac_func
18668choke me
18669#endif
18670
18671int
18672main ()
18673{
18674return $ac_func ();
18675 ;
18676 return 0;
18677}
18678_ACEOF
18679rm -f conftest.$ac_objext conftest$ac_exeext
18680if { (ac_try="$ac_link"
18681case "(($ac_try" in
18682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18683 *) ac_try_echo=$ac_try;;
18684esac
18685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18686$as_echo "$ac_try_echo") >&5
18687 (eval "$ac_link") 2>conftest.er1
18688 ac_status=$?
18689 grep -v '^ *+' conftest.er1 >conftest.err
18690 rm -f conftest.er1
18691 cat conftest.err >&5
18692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_c_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest$ac_exeext && {
18697 test "$cross_compiling" = yes ||
18698 $as_test_x conftest$ac_exeext
18699 }; then
18700 eval "$as_ac_var=yes"
18701else
18702 $as_echo "$as_me: failed program was:" >&5
18703sed 's/^/| /' conftest.$ac_ext >&5
18704
18705 eval "$as_ac_var=no"
18706fi
18707
18708rm -rf conftest.dSYM
18709rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18710 conftest$ac_exeext conftest.$ac_ext
18711fi
18712ac_res=`eval 'as_val=${'$as_ac_var'}
18713 $as_echo "$as_val"'`
18714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18715$as_echo "$ac_res" >&6; }
18716if test `eval 'as_val=${'$as_ac_var'}
18717 $as_echo "$as_val"'` = yes; then
18718 cat >>confdefs.h <<_ACEOF 11348 cat >>confdefs.h <<_ACEOF
18719#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11349#define HAVE_PSTAT_GETDYNAMIC 1
18720_ACEOF 11350_ACEOF
18721 11351
18722fi 11352fi
@@ -18724,19 +11354,14 @@ done
18724 11354
18725 11355
18726# Solaris has libkstat which does not require root. 11356# Solaris has libkstat which does not require root.
18727 11357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
18728{ $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
18729$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 11358$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
18730if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 11359if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
18731 $as_echo_n "(cached) " >&6 11360 $as_echo_n "(cached) " >&6
18732else 11361else
18733 ac_check_lib_save_LIBS=$LIBS 11362 ac_check_lib_save_LIBS=$LIBS
18734LIBS="-lkstat $LIBS" 11363LIBS="-lkstat $LIBS"
18735cat >conftest.$ac_ext <<_ACEOF 11364cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736/* confdefs.h. */
18737_ACEOF
18738cat confdefs.h >>conftest.$ac_ext
18739cat >>conftest.$ac_ext <<_ACEOF
18740/* end confdefs.h. */ 11365/* end confdefs.h. */
18741 11366
18742/* Override any GCC internal prototype to avoid an error. 11367/* Override any GCC internal prototype to avoid an error.
@@ -18754,43 +11379,18 @@ return kstat_open ();
18754 return 0; 11379 return 0;
18755} 11380}
18756_ACEOF 11381_ACEOF
18757rm -f conftest.$ac_objext conftest$ac_exeext 11382if ac_fn_c_try_link "$LINENO"; then :
18758if { (ac_try="$ac_link"
18759case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18762esac
18763eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18764$as_echo "$ac_try_echo") >&5
18765 (eval "$ac_link") 2>conftest.er1
18766 ac_status=$?
18767 grep -v '^ *+' conftest.er1 >conftest.err
18768 rm -f conftest.er1
18769 cat conftest.err >&5
18770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } && {
18772 test -z "$ac_c_werror_flag" ||
18773 test ! -s conftest.err
18774 } && test -s conftest$ac_exeext && {
18775 test "$cross_compiling" = yes ||
18776 $as_test_x conftest$ac_exeext
18777 }; then
18778 ac_cv_lib_kstat_kstat_open=yes 11383 ac_cv_lib_kstat_kstat_open=yes
18779else 11384else
18780 $as_echo "$as_me: failed program was:" >&5 11385 ac_cv_lib_kstat_kstat_open=no
18781sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 ac_cv_lib_kstat_kstat_open=no
18784fi 11386fi
18785 11387rm -f core conftest.err conftest.$ac_objext \
18786rm -rf conftest.dSYM 11388 conftest$ac_exeext conftest.$ac_ext
18787rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18788 conftest$ac_exeext conftest.$ac_ext
18789LIBS=$ac_check_lib_save_LIBS 11389LIBS=$ac_check_lib_save_LIBS
18790fi 11390fi
18791{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 11391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
18792$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 11392$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
18793if test $ac_cv_lib_kstat_kstat_open = yes; then 11393if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
18794 cat >>confdefs.h <<_ACEOF 11394 cat >>confdefs.h <<_ACEOF
18795#define HAVE_LIBKSTAT 1 11395#define HAVE_LIBKSTAT 1
18796_ACEOF 11396_ACEOF
@@ -18806,18 +11406,14 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
18806# to get the right answer into the cache. 11406# to get the right answer into the cache.
18807# For kstat on solaris, we need libelf to force the definition of SVR4 below. 11407# For kstat on solaris, we need libelf to force the definition of SVR4 below.
18808if test $ac_have_func = no; then 11408if test $ac_have_func = no; then
18809 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
18810$as_echo_n "checking for elf_begin in -lelf... " >&6; } 11410$as_echo_n "checking for elf_begin in -lelf... " >&6; }
18811if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 11411if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
18812 $as_echo_n "(cached) " >&6 11412 $as_echo_n "(cached) " >&6
18813else 11413else
18814 ac_check_lib_save_LIBS=$LIBS 11414 ac_check_lib_save_LIBS=$LIBS
18815LIBS="-lelf $LIBS" 11415LIBS="-lelf $LIBS"
18816cat >conftest.$ac_ext <<_ACEOF 11416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817/* confdefs.h. */
18818_ACEOF
18819cat confdefs.h >>conftest.$ac_ext
18820cat >>conftest.$ac_ext <<_ACEOF
18821/* end confdefs.h. */ 11417/* end confdefs.h. */
18822 11418
18823/* Override any GCC internal prototype to avoid an error. 11419/* Override any GCC internal prototype to avoid an error.
@@ -18835,60 +11431,31 @@ return elf_begin ();
18835 return 0; 11431 return 0;
18836} 11432}
18837_ACEOF 11433_ACEOF
18838rm -f conftest.$ac_objext conftest$ac_exeext 11434if ac_fn_c_try_link "$LINENO"; then :
18839if { (ac_try="$ac_link"
18840case "(($ac_try" in
18841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18842 *) ac_try_echo=$ac_try;;
18843esac
18844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18845$as_echo "$ac_try_echo") >&5
18846 (eval "$ac_link") 2>conftest.er1
18847 ac_status=$?
18848 grep -v '^ *+' conftest.er1 >conftest.err
18849 rm -f conftest.er1
18850 cat conftest.err >&5
18851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } && {
18853 test -z "$ac_c_werror_flag" ||
18854 test ! -s conftest.err
18855 } && test -s conftest$ac_exeext && {
18856 test "$cross_compiling" = yes ||
18857 $as_test_x conftest$ac_exeext
18858 }; then
18859 ac_cv_lib_elf_elf_begin=yes 11435 ac_cv_lib_elf_elf_begin=yes
18860else 11436else
18861 $as_echo "$as_me: failed program was:" >&5 11437 ac_cv_lib_elf_elf_begin=no
18862sed 's/^/| /' conftest.$ac_ext >&5
18863
18864 ac_cv_lib_elf_elf_begin=no
18865fi 11438fi
18866 11439rm -f core conftest.err conftest.$ac_objext \
18867rm -rf conftest.dSYM 11440 conftest$ac_exeext conftest.$ac_ext
18868rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18869 conftest$ac_exeext conftest.$ac_ext
18870LIBS=$ac_check_lib_save_LIBS 11441LIBS=$ac_check_lib_save_LIBS
18871fi 11442fi
18872{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 11443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
18873$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 11444$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
18874if test $ac_cv_lib_elf_elf_begin = yes; then 11445if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then :
18875 LIBS="-lelf $LIBS" 11446 LIBS="-lelf $LIBS"
18876fi 11447fi
18877 11448
18878fi 11449fi
18879if test $ac_have_func = no; then 11450if test $ac_have_func = no; then
18880 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
18881$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 11452$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
18882if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 11453if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then :
18883 $as_echo_n "(cached) " >&6 11454 $as_echo_n "(cached) " >&6
18884else 11455else
18885 ac_check_lib_save_LIBS=$LIBS 11456 ac_check_lib_save_LIBS=$LIBS
18886LIBS="-lkvm $LIBS" 11457LIBS="-lkvm $LIBS"
18887cat >conftest.$ac_ext <<_ACEOF 11458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888/* confdefs.h. */
18889_ACEOF
18890cat confdefs.h >>conftest.$ac_ext
18891cat >>conftest.$ac_ext <<_ACEOF
18892/* end confdefs.h. */ 11459/* end confdefs.h. */
18893 11460
18894/* Override any GCC internal prototype to avoid an error. 11461/* Override any GCC internal prototype to avoid an error.
@@ -18906,59 +11473,30 @@ return kvm_open ();
18906 return 0; 11473 return 0;
18907} 11474}
18908_ACEOF 11475_ACEOF
18909rm -f conftest.$ac_objext conftest$ac_exeext 11476if ac_fn_c_try_link "$LINENO"; then :
18910if { (ac_try="$ac_link"
18911case "(($ac_try" in
18912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18913 *) ac_try_echo=$ac_try;;
18914esac
18915eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18916$as_echo "$ac_try_echo") >&5
18917 (eval "$ac_link") 2>conftest.er1
18918 ac_status=$?
18919 grep -v '^ *+' conftest.er1 >conftest.err
18920 rm -f conftest.er1
18921 cat conftest.err >&5
18922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } && {
18924 test -z "$ac_c_werror_flag" ||
18925 test ! -s conftest.err
18926 } && test -s conftest$ac_exeext && {
18927 test "$cross_compiling" = yes ||
18928 $as_test_x conftest$ac_exeext
18929 }; then
18930 ac_cv_lib_kvm_kvm_open=yes 11477 ac_cv_lib_kvm_kvm_open=yes
18931else 11478else
18932 $as_echo "$as_me: failed program was:" >&5 11479 ac_cv_lib_kvm_kvm_open=no
18933sed 's/^/| /' conftest.$ac_ext >&5
18934
18935 ac_cv_lib_kvm_kvm_open=no
18936fi 11480fi
18937 11481rm -f core conftest.err conftest.$ac_objext \
18938rm -rf conftest.dSYM 11482 conftest$ac_exeext conftest.$ac_ext
18939rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18940 conftest$ac_exeext conftest.$ac_ext
18941LIBS=$ac_check_lib_save_LIBS 11483LIBS=$ac_check_lib_save_LIBS
18942fi 11484fi
18943{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 11485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
18944$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 11486$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
18945if test $ac_cv_lib_kvm_kvm_open = yes; then 11487if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then :
18946 LIBS="-lkvm $LIBS" 11488 LIBS="-lkvm $LIBS"
18947fi 11489fi
18948 11490
18949 # Check for the 4.4BSD definition of getloadavg. 11491 # Check for the 4.4BSD definition of getloadavg.
18950 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
18951$as_echo_n "checking for getloadavg in -lutil... " >&6; } 11493$as_echo_n "checking for getloadavg in -lutil... " >&6; }
18952if test "${ac_cv_lib_util_getloadavg+set}" = set; then 11494if test "${ac_cv_lib_util_getloadavg+set}" = set; then :
18953 $as_echo_n "(cached) " >&6 11495 $as_echo_n "(cached) " >&6
18954else 11496else
18955 ac_check_lib_save_LIBS=$LIBS 11497 ac_check_lib_save_LIBS=$LIBS
18956LIBS="-lutil $LIBS" 11498LIBS="-lutil $LIBS"
18957cat >conftest.$ac_ext <<_ACEOF 11499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958/* confdefs.h. */
18959_ACEOF
18960cat confdefs.h >>conftest.$ac_ext
18961cat >>conftest.$ac_ext <<_ACEOF
18962/* end confdefs.h. */ 11500/* end confdefs.h. */
18963 11501
18964/* Override any GCC internal prototype to avoid an error. 11502/* Override any GCC internal prototype to avoid an error.
@@ -18976,43 +11514,18 @@ return getloadavg ();
18976 return 0; 11514 return 0;
18977} 11515}
18978_ACEOF 11516_ACEOF
18979rm -f conftest.$ac_objext conftest$ac_exeext 11517if ac_fn_c_try_link "$LINENO"; then :
18980if { (ac_try="$ac_link"
18981case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18984esac
18985eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18986$as_echo "$ac_try_echo") >&5
18987 (eval "$ac_link") 2>conftest.er1
18988 ac_status=$?
18989 grep -v '^ *+' conftest.er1 >conftest.err
18990 rm -f conftest.er1
18991 cat conftest.err >&5
18992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } && {
18994 test -z "$ac_c_werror_flag" ||
18995 test ! -s conftest.err
18996 } && test -s conftest$ac_exeext && {
18997 test "$cross_compiling" = yes ||
18998 $as_test_x conftest$ac_exeext
18999 }; then
19000 ac_cv_lib_util_getloadavg=yes 11518 ac_cv_lib_util_getloadavg=yes
19001else 11519else
19002 $as_echo "$as_me: failed program was:" >&5 11520 ac_cv_lib_util_getloadavg=no
19003sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 ac_cv_lib_util_getloadavg=no
19006fi 11521fi
19007 11522rm -f core conftest.err conftest.$ac_objext \
19008rm -rf conftest.dSYM 11523 conftest$ac_exeext conftest.$ac_ext
19009rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19010 conftest$ac_exeext conftest.$ac_ext
19011LIBS=$ac_check_lib_save_LIBS 11524LIBS=$ac_check_lib_save_LIBS
19012fi 11525fi
19013{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 11526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
19014$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 11527$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
19015if test $ac_cv_lib_util_getloadavg = yes; then 11528if test "x$ac_cv_lib_util_getloadavg" = x""yes; then :
19016 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 11529 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
19017fi 11530fi
19018 11531
@@ -19023,18 +11536,14 @@ if test $ac_have_func = no; then
19023 # Since it is not a standard part of AIX, it might be installed locally. 11536 # Since it is not a standard part of AIX, it might be installed locally.
19024 ac_getloadavg_LIBS=$LIBS 11537 ac_getloadavg_LIBS=$LIBS
19025 LIBS="-L/usr/local/lib $LIBS" 11538 LIBS="-L/usr/local/lib $LIBS"
19026 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
19027$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 11540$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
19028if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 11541if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then :
19029 $as_echo_n "(cached) " >&6 11542 $as_echo_n "(cached) " >&6
19030else 11543else
19031 ac_check_lib_save_LIBS=$LIBS 11544 ac_check_lib_save_LIBS=$LIBS
19032LIBS="-lgetloadavg $LIBS" 11545LIBS="-lgetloadavg $LIBS"
19033cat >conftest.$ac_ext <<_ACEOF 11546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034/* confdefs.h. */
19035_ACEOF
19036cat confdefs.h >>conftest.$ac_ext
19037cat >>conftest.$ac_ext <<_ACEOF
19038/* end confdefs.h. */ 11547/* end confdefs.h. */
19039 11548
19040/* Override any GCC internal prototype to avoid an error. 11549/* Override any GCC internal prototype to avoid an error.
@@ -19052,43 +11561,18 @@ return getloadavg ();
19052 return 0; 11561 return 0;
19053} 11562}
19054_ACEOF 11563_ACEOF
19055rm -f conftest.$ac_objext conftest$ac_exeext 11564if ac_fn_c_try_link "$LINENO"; then :
19056if { (ac_try="$ac_link"
19057case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060esac
19061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19062$as_echo "$ac_try_echo") >&5
19063 (eval "$ac_link") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest$ac_exeext && {
19073 test "$cross_compiling" = yes ||
19074 $as_test_x conftest$ac_exeext
19075 }; then
19076 ac_cv_lib_getloadavg_getloadavg=yes 11565 ac_cv_lib_getloadavg_getloadavg=yes
19077else 11566else
19078 $as_echo "$as_me: failed program was:" >&5 11567 ac_cv_lib_getloadavg_getloadavg=no
19079sed 's/^/| /' conftest.$ac_ext >&5
19080
19081 ac_cv_lib_getloadavg_getloadavg=no
19082fi 11568fi
19083 11569rm -f core conftest.err conftest.$ac_objext \
19084rm -rf conftest.dSYM 11570 conftest$ac_exeext conftest.$ac_ext
19085rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19086 conftest$ac_exeext conftest.$ac_ext
19087LIBS=$ac_check_lib_save_LIBS 11571LIBS=$ac_check_lib_save_LIBS
19088fi 11572fi
19089{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 11573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
19090$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 11574$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
19091if test $ac_cv_lib_getloadavg_getloadavg = yes; then 11575if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then :
19092 LIBS="-lgetloadavg $LIBS" 11576 LIBS="-lgetloadavg $LIBS"
19093else 11577else
19094 LIBS=$ac_getloadavg_LIBS 11578 LIBS=$ac_getloadavg_LIBS
@@ -19098,101 +11582,12 @@ fi
19098 11582
19099# Make sure it is really in the library, if we think we found it, 11583# Make sure it is really in the library, if we think we found it,
19100# otherwise set up the replacement function. 11584# otherwise set up the replacement function.
19101
19102for ac_func in getloadavg 11585for ac_func in getloadavg
19103do 11586do :
19104as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11587 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
19105{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11588if test "x$ac_cv_func_getloadavg" = x""yes; then :
19106$as_echo_n "checking for $ac_func... " >&6; }
19107if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19108 $as_echo_n "(cached) " >&6
19109else
19110 cat >conftest.$ac_ext <<_ACEOF
19111/* confdefs.h. */
19112_ACEOF
19113cat confdefs.h >>conftest.$ac_ext
19114cat >>conftest.$ac_ext <<_ACEOF
19115/* end confdefs.h. */
19116/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19118#define $ac_func innocuous_$ac_func
19119
19120/* System header to define __stub macros and hopefully few prototypes,
19121 which can conflict with char $ac_func (); below.
19122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19123 <limits.h> exists even on freestanding compilers. */
19124
19125#ifdef __STDC__
19126# include <limits.h>
19127#else
19128# include <assert.h>
19129#endif
19130
19131#undef $ac_func
19132
19133/* Override any GCC internal prototype to avoid an error.
19134 Use char because int might match the return type of a GCC
19135 builtin and then its argument prototype would still apply. */
19136#ifdef __cplusplus
19137extern "C"
19138#endif
19139char $ac_func ();
19140/* The GNU C library defines this for functions which it implements
19141 to always fail with ENOSYS. Some functions are actually named
19142 something starting with __ and the normal name is an alias. */
19143#if defined __stub_$ac_func || defined __stub___$ac_func
19144choke me
19145#endif
19146
19147int
19148main ()
19149{
19150return $ac_func ();
19151 ;
19152 return 0;
19153}
19154_ACEOF
19155rm -f conftest.$ac_objext conftest$ac_exeext
19156if { (ac_try="$ac_link"
19157case "(($ac_try" in
19158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19159 *) ac_try_echo=$ac_try;;
19160esac
19161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19162$as_echo "$ac_try_echo") >&5
19163 (eval "$ac_link") 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_c_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest$ac_exeext && {
19173 test "$cross_compiling" = yes ||
19174 $as_test_x conftest$ac_exeext
19175 }; then
19176 eval "$as_ac_var=yes"
19177else
19178 $as_echo "$as_me: failed program was:" >&5
19179sed 's/^/| /' conftest.$ac_ext >&5
19180
19181 eval "$as_ac_var=no"
19182fi
19183
19184rm -rf conftest.dSYM
19185rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19186 conftest$ac_exeext conftest.$ac_ext
19187fi
19188ac_res=`eval 'as_val=${'$as_ac_var'}
19189 $as_echo "$as_val"'`
19190 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19191$as_echo "$ac_res" >&6; }
19192if test `eval 'as_val=${'$as_ac_var'}
19193 $as_echo "$as_val"'` = yes; then
19194 cat >>confdefs.h <<_ACEOF 11589 cat >>confdefs.h <<_ACEOF
19195#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11590#define HAVE_GETLOADAVG 1
19196_ACEOF 11591_ACEOF
19197 11592
19198else 11593else
@@ -19203,159 +11598,24 @@ else
19203esac 11598esac
19204 11599
19205 11600
19206cat >>confdefs.h <<\_ACEOF 11601$as_echo "#define C_GETLOADAVG 1" >>confdefs.h
19207#define C_GETLOADAVG 1
19208_ACEOF
19209 11602
19210# Figure out what our getloadavg.c needs. 11603# Figure out what our getloadavg.c needs.
19211ac_have_func=no 11604ac_have_func=no
19212if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 11605ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
19213 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 11606if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
19214$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
19215if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
19216 $as_echo_n "(cached) " >&6
19217fi
19218{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
19219$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
19220else
19221 # Is the header compilable?
19222{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
19223$as_echo_n "checking sys/dg_sys_info.h usability... " >&6; }
19224cat >conftest.$ac_ext <<_ACEOF
19225/* confdefs.h. */
19226_ACEOF
19227cat confdefs.h >>conftest.$ac_ext
19228cat >>conftest.$ac_ext <<_ACEOF
19229/* end confdefs.h. */
19230$ac_includes_default
19231#include <sys/dg_sys_info.h>
19232_ACEOF
19233rm -f conftest.$ac_objext
19234if { (ac_try="$ac_compile"
19235case "(($ac_try" in
19236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19237 *) ac_try_echo=$ac_try;;
19238esac
19239eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19240$as_echo "$ac_try_echo") >&5
19241 (eval "$ac_compile") 2>conftest.er1
19242 ac_status=$?
19243 grep -v '^ *+' conftest.er1 >conftest.err
19244 rm -f conftest.er1
19245 cat conftest.err >&5
19246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } && {
19248 test -z "$ac_c_werror_flag" ||
19249 test ! -s conftest.err
19250 } && test -s conftest.$ac_objext; then
19251 ac_header_compiler=yes
19252else
19253 $as_echo "$as_me: failed program was:" >&5
19254sed 's/^/| /' conftest.$ac_ext >&5
19255
19256 ac_header_compiler=no
19257fi
19258
19259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19261$as_echo "$ac_header_compiler" >&6; }
19262
19263# Is the header present?
19264{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
19265$as_echo_n "checking sys/dg_sys_info.h presence... " >&6; }
19266cat >conftest.$ac_ext <<_ACEOF
19267/* confdefs.h. */
19268_ACEOF
19269cat confdefs.h >>conftest.$ac_ext
19270cat >>conftest.$ac_ext <<_ACEOF
19271/* end confdefs.h. */
19272#include <sys/dg_sys_info.h>
19273_ACEOF
19274if { (ac_try="$ac_cpp conftest.$ac_ext"
19275case "(($ac_try" in
19276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19277 *) ac_try_echo=$ac_try;;
19278esac
19279eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19280$as_echo "$ac_try_echo") >&5
19281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19282 ac_status=$?
19283 grep -v '^ *+' conftest.er1 >conftest.err
19284 rm -f conftest.er1
19285 cat conftest.err >&5
19286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } >/dev/null && {
19288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19289 test ! -s conftest.err
19290 }; then
19291 ac_header_preproc=yes
19292else
19293 $as_echo "$as_me: failed program was:" >&5
19294sed 's/^/| /' conftest.$ac_ext >&5
19295
19296 ac_header_preproc=no
19297fi
19298
19299rm -f conftest.err conftest.$ac_ext
19300{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19301$as_echo "$ac_header_preproc" >&6; }
19302
19303# So? What about this header?
19304case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19305 yes:no: )
19306 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
19307$as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19308 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
19309$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
19310 ac_header_preproc=yes
19311 ;;
19312 no:yes:* )
19313 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
19314$as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
19315 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
19316$as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
19317 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
19318$as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
19319 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
19320$as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
19321 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
19322$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
19323 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
19324$as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
19325
19326 ;;
19327esac
19328{ $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
19329$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
19330if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
19331 $as_echo_n "(cached) " >&6
19332else
19333 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
19334fi
19335{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
19336$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
19337
19338fi
19339if test $ac_cv_header_sys_dg_sys_info_h = yes; then
19340 ac_have_func=yes 11607 ac_have_func=yes
19341 11608
19342cat >>confdefs.h <<\_ACEOF 11609$as_echo "#define DGUX 1" >>confdefs.h
19343#define DGUX 1
19344_ACEOF
19345
19346 11610
19347{ $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
19348$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 11612$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
19349if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 11613if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
19350 $as_echo_n "(cached) " >&6 11614 $as_echo_n "(cached) " >&6
19351else 11615else
19352 ac_check_lib_save_LIBS=$LIBS 11616 ac_check_lib_save_LIBS=$LIBS
19353LIBS="-ldgc $LIBS" 11617LIBS="-ldgc $LIBS"
19354cat >conftest.$ac_ext <<_ACEOF 11618cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19355/* confdefs.h. */
19356_ACEOF
19357cat confdefs.h >>conftest.$ac_ext
19358cat >>conftest.$ac_ext <<_ACEOF
19359/* end confdefs.h. */ 11619/* end confdefs.h. */
19360 11620
19361/* Override any GCC internal prototype to avoid an error. 11621/* Override any GCC internal prototype to avoid an error.
@@ -19373,43 +11633,18 @@ return dg_sys_info ();
19373 return 0; 11633 return 0;
19374} 11634}
19375_ACEOF 11635_ACEOF
19376rm -f conftest.$ac_objext conftest$ac_exeext 11636if ac_fn_c_try_link "$LINENO"; then :
19377if { (ac_try="$ac_link"
19378case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19381esac
19382eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19383$as_echo "$ac_try_echo") >&5
19384 (eval "$ac_link") 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest$ac_exeext && {
19394 test "$cross_compiling" = yes ||
19395 $as_test_x conftest$ac_exeext
19396 }; then
19397 ac_cv_lib_dgc_dg_sys_info=yes 11637 ac_cv_lib_dgc_dg_sys_info=yes
19398else 11638else
19399 $as_echo "$as_me: failed program was:" >&5 11639 ac_cv_lib_dgc_dg_sys_info=no
19400sed 's/^/| /' conftest.$ac_ext >&5
19401
19402 ac_cv_lib_dgc_dg_sys_info=no
19403fi 11640fi
19404 11641rm -f core conftest.err conftest.$ac_objext \
19405rm -rf conftest.dSYM 11642 conftest$ac_exeext conftest.$ac_ext
19406rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19407 conftest$ac_exeext conftest.$ac_ext
19408LIBS=$ac_check_lib_save_LIBS 11643LIBS=$ac_check_lib_save_LIBS
19409fi 11644fi
19410{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 11645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
19411$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 11646$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
19412if test $ac_cv_lib_dgc_dg_sys_info = yes; then 11647if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then :
19413 cat >>confdefs.h <<_ACEOF 11648 cat >>confdefs.h <<_ACEOF
19414#define HAVE_LIBDGC 1 11649#define HAVE_LIBDGC 1
19415_ACEOF 11650_ACEOF
@@ -19422,230 +11657,18 @@ fi
19422 11657
19423 11658
19424 11659
19425if test "${ac_cv_header_locale_h+set}" = set; then 11660ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19426 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 11661if test "x$ac_cv_header_locale_h" = x""yes; then :
19427$as_echo_n "checking for locale.h... " >&6; }
19428if test "${ac_cv_header_locale_h+set}" = set; then
19429 $as_echo_n "(cached) " >&6
19430fi
19431{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19432$as_echo "$ac_cv_header_locale_h" >&6; }
19433else
19434 # Is the header compilable?
19435{ $as_echo "$as_me:$LINENO: checking locale.h usability" >&5
19436$as_echo_n "checking locale.h usability... " >&6; }
19437cat >conftest.$ac_ext <<_ACEOF
19438/* confdefs.h. */
19439_ACEOF
19440cat confdefs.h >>conftest.$ac_ext
19441cat >>conftest.$ac_ext <<_ACEOF
19442/* end confdefs.h. */
19443$ac_includes_default
19444#include <locale.h>
19445_ACEOF
19446rm -f conftest.$ac_objext
19447if { (ac_try="$ac_compile"
19448case "(($ac_try" in
19449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19450 *) ac_try_echo=$ac_try;;
19451esac
19452eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19453$as_echo "$ac_try_echo") >&5
19454 (eval "$ac_compile") 2>conftest.er1
19455 ac_status=$?
19456 grep -v '^ *+' conftest.er1 >conftest.err
19457 rm -f conftest.er1
19458 cat conftest.err >&5
19459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); } && {
19461 test -z "$ac_c_werror_flag" ||
19462 test ! -s conftest.err
19463 } && test -s conftest.$ac_objext; then
19464 ac_header_compiler=yes
19465else
19466 $as_echo "$as_me: failed program was:" >&5
19467sed 's/^/| /' conftest.$ac_ext >&5
19468
19469 ac_header_compiler=no
19470fi
19471
19472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19473{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19474$as_echo "$ac_header_compiler" >&6; }
19475
19476# Is the header present?
19477{ $as_echo "$as_me:$LINENO: checking locale.h presence" >&5
19478$as_echo_n "checking locale.h presence... " >&6; }
19479cat >conftest.$ac_ext <<_ACEOF
19480/* confdefs.h. */
19481_ACEOF
19482cat confdefs.h >>conftest.$ac_ext
19483cat >>conftest.$ac_ext <<_ACEOF
19484/* end confdefs.h. */
19485#include <locale.h>
19486_ACEOF
19487if { (ac_try="$ac_cpp conftest.$ac_ext"
19488case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19491esac
19492eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19493$as_echo "$ac_try_echo") >&5
19494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19495 ac_status=$?
19496 grep -v '^ *+' conftest.er1 >conftest.err
19497 rm -f conftest.er1
19498 cat conftest.err >&5
19499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } >/dev/null && {
19501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 }; then
19504 ac_header_preproc=yes
19505else
19506 $as_echo "$as_me: failed program was:" >&5
19507sed 's/^/| /' conftest.$ac_ext >&5
19508
19509 ac_header_preproc=no
19510fi
19511
19512rm -f conftest.err conftest.$ac_ext
19513{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19514$as_echo "$ac_header_preproc" >&6; }
19515
19516# So? What about this header?
19517case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19518 yes:no: )
19519 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
19520$as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19521 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
19522$as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
19523 ac_header_preproc=yes
19524 ;;
19525 no:yes:* )
19526 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
19527$as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
19528 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
19529$as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
19530 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
19531$as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
19532 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
19533$as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
19534 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
19535$as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
19536 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
19537$as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
19538
19539 ;;
19540esac
19541{ $as_echo "$as_me:$LINENO: checking for locale.h" >&5
19542$as_echo_n "checking for locale.h... " >&6; }
19543if test "${ac_cv_header_locale_h+set}" = set; then
19544 $as_echo_n "(cached) " >&6
19545else
19546 ac_cv_header_locale_h=$ac_header_preproc
19547fi
19548{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19549$as_echo "$ac_cv_header_locale_h" >&6; }
19550 11662
19551fi 11663fi
19552 11664
19553 11665
19554
19555for ac_func in setlocale 11666for ac_func in setlocale
19556do 11667do :
19557as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11668 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
19558{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11669if test "x$ac_cv_func_setlocale" = x""yes; then :
19559$as_echo_n "checking for $ac_func... " >&6; }
19560if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19561 $as_echo_n "(cached) " >&6
19562else
19563 cat >conftest.$ac_ext <<_ACEOF
19564/* confdefs.h. */
19565_ACEOF
19566cat confdefs.h >>conftest.$ac_ext
19567cat >>conftest.$ac_ext <<_ACEOF
19568/* end confdefs.h. */
19569/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19571#define $ac_func innocuous_$ac_func
19572
19573/* System header to define __stub macros and hopefully few prototypes,
19574 which can conflict with char $ac_func (); below.
19575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19576 <limits.h> exists even on freestanding compilers. */
19577
19578#ifdef __STDC__
19579# include <limits.h>
19580#else
19581# include <assert.h>
19582#endif
19583
19584#undef $ac_func
19585
19586/* Override any GCC internal prototype to avoid an error.
19587 Use char because int might match the return type of a GCC
19588 builtin and then its argument prototype would still apply. */
19589#ifdef __cplusplus
19590extern "C"
19591#endif
19592char $ac_func ();
19593/* The GNU C library defines this for functions which it implements
19594 to always fail with ENOSYS. Some functions are actually named
19595 something starting with __ and the normal name is an alias. */
19596#if defined __stub_$ac_func || defined __stub___$ac_func
19597choke me
19598#endif
19599
19600int
19601main ()
19602{
19603return $ac_func ();
19604 ;
19605 return 0;
19606}
19607_ACEOF
19608rm -f conftest.$ac_objext conftest$ac_exeext
19609if { (ac_try="$ac_link"
19610case "(($ac_try" in
19611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19612 *) ac_try_echo=$ac_try;;
19613esac
19614eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19615$as_echo "$ac_try_echo") >&5
19616 (eval "$ac_link") 2>conftest.er1
19617 ac_status=$?
19618 grep -v '^ *+' conftest.er1 >conftest.err
19619 rm -f conftest.er1
19620 cat conftest.err >&5
19621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } && {
19623 test -z "$ac_c_werror_flag" ||
19624 test ! -s conftest.err
19625 } && test -s conftest$ac_exeext && {
19626 test "$cross_compiling" = yes ||
19627 $as_test_x conftest$ac_exeext
19628 }; then
19629 eval "$as_ac_var=yes"
19630else
19631 $as_echo "$as_me: failed program was:" >&5
19632sed 's/^/| /' conftest.$ac_ext >&5
19633
19634 eval "$as_ac_var=no"
19635fi
19636
19637rm -rf conftest.dSYM
19638rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19639 conftest$ac_exeext conftest.$ac_ext
19640fi
19641ac_res=`eval 'as_val=${'$as_ac_var'}
19642 $as_echo "$as_val"'`
19643 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19644$as_echo "$ac_res" >&6; }
19645if test `eval 'as_val=${'$as_ac_var'}
19646 $as_echo "$as_val"'` = yes; then
19647 cat >>confdefs.h <<_ACEOF 11670 cat >>confdefs.h <<_ACEOF
19648#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11671#define HAVE_SETLOCALE 1
19649_ACEOF 11672_ACEOF
19650 11673
19651fi 11674fi
@@ -19658,151 +11681,19 @@ done
19658if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 11681if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
19659 ac_have_func=yes 11682 ac_have_func=yes
19660 11683
19661cat >>confdefs.h <<\_ACEOF 11684$as_echo "#define SVR4 1" >>confdefs.h
19662#define SVR4 1
19663_ACEOF
19664 11685
19665fi 11686fi
19666 11687
19667if test $ac_have_func = no; then 11688if test $ac_have_func = no; then
19668 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 11689 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
19669 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 11690if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
19670$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19671if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19672 $as_echo_n "(cached) " >&6
19673fi
19674{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19675$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19676else
19677 # Is the header compilable?
19678{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
19679$as_echo_n "checking inq_stats/cpustats.h usability... " >&6; }
19680cat >conftest.$ac_ext <<_ACEOF
19681/* confdefs.h. */
19682_ACEOF
19683cat confdefs.h >>conftest.$ac_ext
19684cat >>conftest.$ac_ext <<_ACEOF
19685/* end confdefs.h. */
19686$ac_includes_default
19687#include <inq_stats/cpustats.h>
19688_ACEOF
19689rm -f conftest.$ac_objext
19690if { (ac_try="$ac_compile"
19691case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19694esac
19695eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19696$as_echo "$ac_try_echo") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_header_compiler=yes
19708else
19709 $as_echo "$as_me: failed program was:" >&5
19710sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_header_compiler=no
19713fi
19714
19715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19717$as_echo "$ac_header_compiler" >&6; }
19718
19719# Is the header present?
19720{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
19721$as_echo_n "checking inq_stats/cpustats.h presence... " >&6; }
19722cat >conftest.$ac_ext <<_ACEOF
19723/* confdefs.h. */
19724_ACEOF
19725cat confdefs.h >>conftest.$ac_ext
19726cat >>conftest.$ac_ext <<_ACEOF
19727/* end confdefs.h. */
19728#include <inq_stats/cpustats.h>
19729_ACEOF
19730if { (ac_try="$ac_cpp conftest.$ac_ext"
19731case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734esac
19735eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19736$as_echo "$ac_try_echo") >&5
19737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19738 ac_status=$?
19739 grep -v '^ *+' conftest.er1 >conftest.err
19740 rm -f conftest.er1
19741 cat conftest.err >&5
19742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } >/dev/null && {
19744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19746 }; then
19747 ac_header_preproc=yes
19748else
19749 $as_echo "$as_me: failed program was:" >&5
19750sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 ac_header_preproc=no
19753fi
19754
19755rm -f conftest.err conftest.$ac_ext
19756{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19757$as_echo "$ac_header_preproc" >&6; }
19758
19759# So? What about this header?
19760case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19761 yes:no: )
19762 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19763$as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19764 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
19765$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
19766 ac_header_preproc=yes
19767 ;;
19768 no:yes:* )
19769 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
19770$as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
19771 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
19772$as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
19773 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
19774$as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
19775 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19776$as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19777 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
19778$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
19779 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
19780$as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
19781
19782 ;;
19783esac
19784{ $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
19785$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19786if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19787 $as_echo_n "(cached) " >&6
19788else
19789 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
19790fi
19791{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19792$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19793
19794fi
19795if test $ac_cv_header_inq_stats_cpustats_h = yes; then
19796 ac_have_func=yes 11691 ac_have_func=yes
19797 11692
19798cat >>confdefs.h <<\_ACEOF 11693$as_echo "#define UMAX 1" >>confdefs.h
19799#define UMAX 1
19800_ACEOF
19801 11694
19802 11695
19803cat >>confdefs.h <<\_ACEOF 11696$as_echo "#define UMAX4_3 1" >>confdefs.h
19804#define UMAX4_3 1
19805_ACEOF
19806 11697
19807fi 11698fi
19808 11699
@@ -19810,137 +11701,9 @@ fi
19810fi 11701fi
19811 11702
19812if test $ac_have_func = no; then 11703if test $ac_have_func = no; then
19813 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 11704 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
19814 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 11705if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
19815$as_echo_n "checking for sys/cpustats.h... " >&6; } 11706 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
19816if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19817 $as_echo_n "(cached) " >&6
19818fi
19819{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19820$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19821else
19822 # Is the header compilable?
19823{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
19824$as_echo_n "checking sys/cpustats.h usability... " >&6; }
19825cat >conftest.$ac_ext <<_ACEOF
19826/* confdefs.h. */
19827_ACEOF
19828cat confdefs.h >>conftest.$ac_ext
19829cat >>conftest.$ac_ext <<_ACEOF
19830/* end confdefs.h. */
19831$ac_includes_default
19832#include <sys/cpustats.h>
19833_ACEOF
19834rm -f conftest.$ac_objext
19835if { (ac_try="$ac_compile"
19836case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839esac
19840eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19841$as_echo "$ac_try_echo") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19843 ac_status=$?
19844 grep -v '^ *+' conftest.er1 >conftest.err
19845 rm -f conftest.er1
19846 cat conftest.err >&5
19847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.$ac_objext; then
19852 ac_header_compiler=yes
19853else
19854 $as_echo "$as_me: failed program was:" >&5
19855sed 's/^/| /' conftest.$ac_ext >&5
19856
19857 ac_header_compiler=no
19858fi
19859
19860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19862$as_echo "$ac_header_compiler" >&6; }
19863
19864# Is the header present?
19865{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
19866$as_echo_n "checking sys/cpustats.h presence... " >&6; }
19867cat >conftest.$ac_ext <<_ACEOF
19868/* confdefs.h. */
19869_ACEOF
19870cat confdefs.h >>conftest.$ac_ext
19871cat >>conftest.$ac_ext <<_ACEOF
19872/* end confdefs.h. */
19873#include <sys/cpustats.h>
19874_ACEOF
19875if { (ac_try="$ac_cpp conftest.$ac_ext"
19876case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879esac
19880eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19881$as_echo "$ac_try_echo") >&5
19882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } >/dev/null && {
19889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 }; then
19892 ac_header_preproc=yes
19893else
19894 $as_echo "$as_me: failed program was:" >&5
19895sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 ac_header_preproc=no
19898fi
19899
19900rm -f conftest.err conftest.$ac_ext
19901{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19902$as_echo "$ac_header_preproc" >&6; }
19903
19904# So? What about this header?
19905case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19906 yes:no: )
19907 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19908$as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19909 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
19910$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
19911 ac_header_preproc=yes
19912 ;;
19913 no:yes:* )
19914 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
19915$as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
19916 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
19917$as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
19918 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
19919$as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
19920 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19921$as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19922 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
19923$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
19924 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
19925$as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
19926
19927 ;;
19928esac
19929{ $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
19930$as_echo_n "checking for sys/cpustats.h... " >&6; }
19931if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19932 $as_echo_n "(cached) " >&6
19933else
19934 ac_cv_header_sys_cpustats_h=$ac_header_preproc
19935fi
19936{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19937$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19938
19939fi
19940if test $ac_cv_header_sys_cpustats_h = yes; then
19941 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
19942#define UMAX 1
19943_ACEOF
19944 11707
19945fi 11708fi
19946 11709
@@ -19948,145 +11711,12 @@ fi
19948fi 11711fi
19949 11712
19950if test $ac_have_func = no; then 11713if test $ac_have_func = no; then
19951 11714 for ac_header in mach/mach.h
19952for ac_header in mach/mach.h 11715do :
19953do 11716 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19954as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11717if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
19955if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19956 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19957$as_echo_n "checking for $ac_header... " >&6; }
19958if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19959 $as_echo_n "(cached) " >&6
19960fi
19961ac_res=`eval 'as_val=${'$as_ac_Header'}
19962 $as_echo "$as_val"'`
19963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19964$as_echo "$ac_res" >&6; }
19965else
19966 # Is the header compilable?
19967{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19968$as_echo_n "checking $ac_header usability... " >&6; }
19969cat >conftest.$ac_ext <<_ACEOF
19970/* confdefs.h. */
19971_ACEOF
19972cat confdefs.h >>conftest.$ac_ext
19973cat >>conftest.$ac_ext <<_ACEOF
19974/* end confdefs.h. */
19975$ac_includes_default
19976#include <$ac_header>
19977_ACEOF
19978rm -f conftest.$ac_objext
19979if { (ac_try="$ac_compile"
19980case "(($ac_try" in
19981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19982 *) ac_try_echo=$ac_try;;
19983esac
19984eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19985$as_echo "$ac_try_echo") >&5
19986 (eval "$ac_compile") 2>conftest.er1
19987 ac_status=$?
19988 grep -v '^ *+' conftest.er1 >conftest.err
19989 rm -f conftest.er1
19990 cat conftest.err >&5
19991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } && {
19993 test -z "$ac_c_werror_flag" ||
19994 test ! -s conftest.err
19995 } && test -s conftest.$ac_objext; then
19996 ac_header_compiler=yes
19997else
19998 $as_echo "$as_me: failed program was:" >&5
19999sed 's/^/| /' conftest.$ac_ext >&5
20000
20001 ac_header_compiler=no
20002fi
20003
20004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20006$as_echo "$ac_header_compiler" >&6; }
20007
20008# Is the header present?
20009{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20010$as_echo_n "checking $ac_header presence... " >&6; }
20011cat >conftest.$ac_ext <<_ACEOF
20012/* confdefs.h. */
20013_ACEOF
20014cat confdefs.h >>conftest.$ac_ext
20015cat >>conftest.$ac_ext <<_ACEOF
20016/* end confdefs.h. */
20017#include <$ac_header>
20018_ACEOF
20019if { (ac_try="$ac_cpp conftest.$ac_ext"
20020case "(($ac_try" in
20021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20022 *) ac_try_echo=$ac_try;;
20023esac
20024eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20025$as_echo "$ac_try_echo") >&5
20026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20027 ac_status=$?
20028 grep -v '^ *+' conftest.er1 >conftest.err
20029 rm -f conftest.er1
20030 cat conftest.err >&5
20031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } >/dev/null && {
20033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20034 test ! -s conftest.err
20035 }; then
20036 ac_header_preproc=yes
20037else
20038 $as_echo "$as_me: failed program was:" >&5
20039sed 's/^/| /' conftest.$ac_ext >&5
20040
20041 ac_header_preproc=no
20042fi
20043
20044rm -f conftest.err conftest.$ac_ext
20045{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20046$as_echo "$ac_header_preproc" >&6; }
20047
20048# So? What about this header?
20049case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20050 yes:no: )
20051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20052$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20054$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20055 ac_header_preproc=yes
20056 ;;
20057 no:yes:* )
20058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20059$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20061$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20063$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20065$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20067$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20069$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20070
20071 ;;
20072esac
20073{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20074$as_echo_n "checking for $ac_header... " >&6; }
20075if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20076 $as_echo_n "(cached) " >&6
20077else
20078 eval "$as_ac_Header=\$ac_header_preproc"
20079fi
20080ac_res=`eval 'as_val=${'$as_ac_Header'}
20081 $as_echo "$as_val"'`
20082 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20083$as_echo "$ac_res" >&6; }
20084
20085fi
20086if test `eval 'as_val=${'$as_ac_Header'}
20087 $as_echo "$as_val"'` = yes; then
20088 cat >>confdefs.h <<_ACEOF 11718 cat >>confdefs.h <<_ACEOF
20089#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11719#define HAVE_MACH_MACH_H 1
20090_ACEOF 11720_ACEOF
20091 11721
20092fi 11722fi
@@ -20095,253 +11725,23 @@ done
20095 11725
20096fi 11726fi
20097 11727
20098
20099for ac_header in nlist.h 11728for ac_header in nlist.h
20100do 11729do :
20101as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11730 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
20102if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11731if test "x$ac_cv_header_nlist_h" = x""yes; then :
20103 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20104$as_echo_n "checking for $ac_header... " >&6; }
20105if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20106 $as_echo_n "(cached) " >&6
20107fi
20108ac_res=`eval 'as_val=${'$as_ac_Header'}
20109 $as_echo "$as_val"'`
20110 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20111$as_echo "$ac_res" >&6; }
20112else
20113 # Is the header compilable?
20114{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20115$as_echo_n "checking $ac_header usability... " >&6; }
20116cat >conftest.$ac_ext <<_ACEOF
20117/* confdefs.h. */
20118_ACEOF
20119cat confdefs.h >>conftest.$ac_ext
20120cat >>conftest.$ac_ext <<_ACEOF
20121/* end confdefs.h. */
20122$ac_includes_default
20123#include <$ac_header>
20124_ACEOF
20125rm -f conftest.$ac_objext
20126if { (ac_try="$ac_compile"
20127case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20130esac
20131eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20132$as_echo "$ac_try_echo") >&5
20133 (eval "$ac_compile") 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } && {
20140 test -z "$ac_c_werror_flag" ||
20141 test ! -s conftest.err
20142 } && test -s conftest.$ac_objext; then
20143 ac_header_compiler=yes
20144else
20145 $as_echo "$as_me: failed program was:" >&5
20146sed 's/^/| /' conftest.$ac_ext >&5
20147
20148 ac_header_compiler=no
20149fi
20150
20151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20153$as_echo "$ac_header_compiler" >&6; }
20154
20155# Is the header present?
20156{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20157$as_echo_n "checking $ac_header presence... " >&6; }
20158cat >conftest.$ac_ext <<_ACEOF
20159/* confdefs.h. */
20160_ACEOF
20161cat confdefs.h >>conftest.$ac_ext
20162cat >>conftest.$ac_ext <<_ACEOF
20163/* end confdefs.h. */
20164#include <$ac_header>
20165_ACEOF
20166if { (ac_try="$ac_cpp conftest.$ac_ext"
20167case "(($ac_try" in
20168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20169 *) ac_try_echo=$ac_try;;
20170esac
20171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20172$as_echo "$ac_try_echo") >&5
20173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20174 ac_status=$?
20175 grep -v '^ *+' conftest.er1 >conftest.err
20176 rm -f conftest.er1
20177 cat conftest.err >&5
20178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } >/dev/null && {
20180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20181 test ! -s conftest.err
20182 }; then
20183 ac_header_preproc=yes
20184else
20185 $as_echo "$as_me: failed program was:" >&5
20186sed 's/^/| /' conftest.$ac_ext >&5
20187
20188 ac_header_preproc=no
20189fi
20190
20191rm -f conftest.err conftest.$ac_ext
20192{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20193$as_echo "$ac_header_preproc" >&6; }
20194
20195# So? What about this header?
20196case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20197 yes:no: )
20198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20199$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20201$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20202 ac_header_preproc=yes
20203 ;;
20204 no:yes:* )
20205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20206$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20208$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20210$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20211 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20212$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20214$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20216$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20217
20218 ;;
20219esac
20220{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20221$as_echo_n "checking for $ac_header... " >&6; }
20222if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20223 $as_echo_n "(cached) " >&6
20224else
20225 eval "$as_ac_Header=\$ac_header_preproc"
20226fi
20227ac_res=`eval 'as_val=${'$as_ac_Header'}
20228 $as_echo "$as_val"'`
20229 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20230$as_echo "$ac_res" >&6; }
20231
20232fi
20233if test `eval 'as_val=${'$as_ac_Header'}
20234 $as_echo "$as_val"'` = yes; then
20235 cat >>confdefs.h <<_ACEOF 11732 cat >>confdefs.h <<_ACEOF
20236#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11733#define HAVE_NLIST_H 1
20237_ACEOF 11734_ACEOF
20238 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 11735 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
20239$as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } 11736"
20240if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 11737if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then :
20241 $as_echo_n "(cached) " >&6
20242else
20243 cat >conftest.$ac_ext <<_ACEOF
20244/* confdefs.h. */
20245_ACEOF
20246cat confdefs.h >>conftest.$ac_ext
20247cat >>conftest.$ac_ext <<_ACEOF
20248/* end confdefs.h. */
20249#include <nlist.h>
20250
20251int
20252main ()
20253{
20254static struct nlist ac_aggr;
20255if (ac_aggr.n_un.n_name)
20256return 0;
20257 ;
20258 return 0;
20259}
20260_ACEOF
20261rm -f conftest.$ac_objext
20262if { (ac_try="$ac_compile"
20263case "(($ac_try" in
20264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20265 *) ac_try_echo=$ac_try;;
20266esac
20267eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20268$as_echo "$ac_try_echo") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20270 ac_status=$?
20271 grep -v '^ *+' conftest.er1 >conftest.err
20272 rm -f conftest.er1
20273 cat conftest.err >&5
20274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_c_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 ac_cv_member_struct_nlist_n_un_n_name=yes
20280else
20281 $as_echo "$as_me: failed program was:" >&5
20282sed 's/^/| /' conftest.$ac_ext >&5
20283
20284 cat >conftest.$ac_ext <<_ACEOF
20285/* confdefs.h. */
20286_ACEOF
20287cat confdefs.h >>conftest.$ac_ext
20288cat >>conftest.$ac_ext <<_ACEOF
20289/* end confdefs.h. */
20290#include <nlist.h>
20291
20292int
20293main ()
20294{
20295static struct nlist ac_aggr;
20296if (sizeof ac_aggr.n_un.n_name)
20297return 0;
20298 ;
20299 return 0;
20300}
20301_ACEOF
20302rm -f conftest.$ac_objext
20303if { (ac_try="$ac_compile"
20304case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20307esac
20308eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20309$as_echo "$ac_try_echo") >&5
20310 (eval "$ac_compile") 2>conftest.er1
20311 ac_status=$?
20312 grep -v '^ *+' conftest.er1 >conftest.err
20313 rm -f conftest.er1
20314 cat conftest.err >&5
20315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } && {
20317 test -z "$ac_c_werror_flag" ||
20318 test ! -s conftest.err
20319 } && test -s conftest.$ac_objext; then
20320 ac_cv_member_struct_nlist_n_un_n_name=yes
20321else
20322 $as_echo "$as_me: failed program was:" >&5
20323sed 's/^/| /' conftest.$ac_ext >&5
20324
20325 ac_cv_member_struct_nlist_n_un_n_name=no
20326fi
20327
20328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329fi
20330
20331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20332fi
20333{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
20334$as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
20335if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
20336 11738
20337cat >>confdefs.h <<_ACEOF 11739cat >>confdefs.h <<_ACEOF
20338#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 11740#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
20339_ACEOF 11741_ACEOF
20340 11742
20341 11743
20342cat >>confdefs.h <<\_ACEOF 11744$as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h
20343#define NLIST_NAME_UNION 1
20344_ACEOF
20345 11745
20346fi 11746fi
20347 11747
@@ -20355,16 +11755,12 @@ done
20355 11755
20356 11756
20357# Some definitions of getloadavg require that the program be installed setgid. 11757# Some definitions of getloadavg require that the program be installed setgid.
20358{ $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 11758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
20359$as_echo_n "checking whether getloadavg requires setgid... " >&6; } 11759$as_echo_n "checking whether getloadavg requires setgid... " >&6; }
20360if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 11760if test "${ac_cv_func_getloadavg_setgid+set}" = set; then :
20361 $as_echo_n "(cached) " >&6 11761 $as_echo_n "(cached) " >&6
20362else 11762else
20363 cat >conftest.$ac_ext <<_ACEOF 11763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20364/* confdefs.h. */
20365_ACEOF
20366cat confdefs.h >>conftest.$ac_ext
20367cat >>conftest.$ac_ext <<_ACEOF
20368/* end confdefs.h. */ 11764/* end confdefs.h. */
20369#include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 11765#include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
20370#ifdef LDAV_PRIVILEGED 11766#ifdef LDAV_PRIVILEGED
@@ -20372,7 +11768,7 @@ Yowza Am I SETGID yet
20372#endif 11768#endif
20373_ACEOF 11769_ACEOF
20374if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11770if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20375 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then 11771 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then :
20376 ac_cv_func_getloadavg_setgid=yes 11772 ac_cv_func_getloadavg_setgid=yes
20377else 11773else
20378 ac_cv_func_getloadavg_setgid=no 11774 ac_cv_func_getloadavg_setgid=no
@@ -20380,23 +11776,21 @@ fi
20380rm -f conftest* 11776rm -f conftest*
20381 11777
20382fi 11778fi
20383{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 11779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5
20384$as_echo "$ac_cv_func_getloadavg_setgid" >&6; } 11780$as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
20385if test $ac_cv_func_getloadavg_setgid = yes; then 11781if test $ac_cv_func_getloadavg_setgid = yes; then
20386 NEED_SETGID=true 11782 NEED_SETGID=true
20387 11783
20388cat >>confdefs.h <<\_ACEOF 11784$as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h
20389#define GETLOADAVG_PRIVILEGED 1
20390_ACEOF
20391 11785
20392else 11786else
20393 NEED_SETGID=false 11787 NEED_SETGID=false
20394fi 11788fi
20395 11789
20396if test $ac_cv_func_getloadavg_setgid = yes; then 11790if test $ac_cv_func_getloadavg_setgid = yes; then
20397 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
20398$as_echo_n "checking group of /dev/kmem... " >&6; } 11792$as_echo_n "checking group of /dev/kmem... " >&6; }
20399if test "${ac_cv_group_kmem+set}" = set; then 11793if test "${ac_cv_group_kmem+set}" = set; then :
20400 $as_echo_n "(cached) " >&6 11794 $as_echo_n "(cached) " >&6
20401else 11795else
20402 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 11796 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
@@ -20409,7 +11803,7 @@ else
20409 / /s/.* //;p;'` 11803 / /s/.* //;p;'`
20410 11804
20411fi 11805fi
20412{ $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 11806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5
20413$as_echo "$ac_cv_group_kmem" >&6; } 11807$as_echo "$ac_cv_group_kmem" >&6; }
20414 KMEM_GROUP=$ac_cv_group_kmem 11808 KMEM_GROUP=$ac_cv_group_kmem
20415fi 11809fi
@@ -20422,17 +11816,13 @@ LIBS=$ac_save_LIBS
20422 11816
20423 11817
20424 11818
20425{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 11819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20426$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 11820$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20427if test "${ac_cv_sys_largefile_source+set}" = set; then 11821if test "${ac_cv_sys_largefile_source+set}" = set; then :
20428 $as_echo_n "(cached) " >&6 11822 $as_echo_n "(cached) " >&6
20429else 11823else
20430 while :; do 11824 while :; do
20431 cat >conftest.$ac_ext <<_ACEOF 11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20432/* confdefs.h. */
20433_ACEOF
20434cat confdefs.h >>conftest.$ac_ext
20435cat >>conftest.$ac_ext <<_ACEOF
20436/* end confdefs.h. */ 11826/* end confdefs.h. */
20437#include <sys/types.h> /* for off_t */ 11827#include <sys/types.h> /* for off_t */
20438 #include <stdio.h> 11828 #include <stdio.h>
@@ -20445,43 +11835,12 @@ int (*fp) (FILE *, off_t, int) = fseeko;
20445 return 0; 11835 return 0;
20446} 11836}
20447_ACEOF 11837_ACEOF
20448rm -f conftest.$ac_objext conftest$ac_exeext 11838if ac_fn_c_try_link "$LINENO"; then :
20449if { (ac_try="$ac_link"
20450case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20453esac
20454eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20455$as_echo "$ac_try_echo") >&5
20456 (eval "$ac_link") 2>conftest.er1
20457 ac_status=$?
20458 grep -v '^ *+' conftest.er1 >conftest.err
20459 rm -f conftest.er1
20460 cat conftest.err >&5
20461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } && {
20463 test -z "$ac_c_werror_flag" ||
20464 test ! -s conftest.err
20465 } && test -s conftest$ac_exeext && {
20466 test "$cross_compiling" = yes ||
20467 $as_test_x conftest$ac_exeext
20468 }; then
20469 ac_cv_sys_largefile_source=no; break 11839 ac_cv_sys_largefile_source=no; break
20470else
20471 $as_echo "$as_me: failed program was:" >&5
20472sed 's/^/| /' conftest.$ac_ext >&5
20473
20474
20475fi 11840fi
20476 11841rm -f core conftest.err conftest.$ac_objext \
20477rm -rf conftest.dSYM 11842 conftest$ac_exeext conftest.$ac_ext
20478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20479 conftest$ac_exeext conftest.$ac_ext
20480 cat >conftest.$ac_ext <<_ACEOF
20481/* confdefs.h. */
20482_ACEOF
20483cat confdefs.h >>conftest.$ac_ext
20484cat >>conftest.$ac_ext <<_ACEOF
20485/* end confdefs.h. */ 11844/* end confdefs.h. */
20486#define _LARGEFILE_SOURCE 1 11845#define _LARGEFILE_SOURCE 1
20487#include <sys/types.h> /* for off_t */ 11846#include <sys/types.h> /* for off_t */
@@ -20495,43 +11854,16 @@ int (*fp) (FILE *, off_t, int) = fseeko;
20495 return 0; 11854 return 0;
20496} 11855}
20497_ACEOF 11856_ACEOF
20498rm -f conftest.$ac_objext conftest$ac_exeext 11857if ac_fn_c_try_link "$LINENO"; then :
20499if { (ac_try="$ac_link"
20500case "(($ac_try" in
20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20503esac
20504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20505$as_echo "$ac_try_echo") >&5
20506 (eval "$ac_link") 2>conftest.er1
20507 ac_status=$?
20508 grep -v '^ *+' conftest.er1 >conftest.err
20509 rm -f conftest.er1
20510 cat conftest.err >&5
20511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest$ac_exeext && {
20516 test "$cross_compiling" = yes ||
20517 $as_test_x conftest$ac_exeext
20518 }; then
20519 ac_cv_sys_largefile_source=1; break 11858 ac_cv_sys_largefile_source=1; break
20520else
20521 $as_echo "$as_me: failed program was:" >&5
20522sed 's/^/| /' conftest.$ac_ext >&5
20523
20524
20525fi 11859fi
20526 11860rm -f core conftest.err conftest.$ac_objext \
20527rm -rf conftest.dSYM 11861 conftest$ac_exeext conftest.$ac_ext
20528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20529 conftest$ac_exeext conftest.$ac_ext
20530 ac_cv_sys_largefile_source=unknown 11862 ac_cv_sys_largefile_source=unknown
20531 break 11863 break
20532done 11864done
20533fi 11865fi
20534{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 11866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20535$as_echo "$ac_cv_sys_largefile_source" >&6; } 11867$as_echo "$ac_cv_sys_largefile_source" >&6; }
20536case $ac_cv_sys_largefile_source in #( 11868case $ac_cv_sys_largefile_source in #(
20537 no | unknown) ;; 11869 no | unknown) ;;
@@ -20548,9 +11880,7 @@ rm -rf conftest*
20548# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 11880# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20549if test $ac_cv_sys_largefile_source != unknown; then 11881if test $ac_cv_sys_largefile_source != unknown; then
20550 11882
20551cat >>confdefs.h <<\_ACEOF 11883$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20552#define HAVE_FSEEKO 1
20553_ACEOF
20554 11884
20555fi 11885fi
20556 11886
@@ -20578,145 +11908,12 @@ fi
20578 11908
20579 11909
20580 GETOPT_H= 11910 GETOPT_H=
20581 11911 for ac_header in getopt.h
20582for ac_header in getopt.h 11912do :
20583do 11913 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
20584as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11914if test "x$ac_cv_header_getopt_h" = x""yes; then :
20585if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20586 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20587$as_echo_n "checking for $ac_header... " >&6; }
20588if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20589 $as_echo_n "(cached) " >&6
20590fi
20591ac_res=`eval 'as_val=${'$as_ac_Header'}
20592 $as_echo "$as_val"'`
20593 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20594$as_echo "$ac_res" >&6; }
20595else
20596 # Is the header compilable?
20597{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20598$as_echo_n "checking $ac_header usability... " >&6; }
20599cat >conftest.$ac_ext <<_ACEOF
20600/* confdefs.h. */
20601_ACEOF
20602cat confdefs.h >>conftest.$ac_ext
20603cat >>conftest.$ac_ext <<_ACEOF
20604/* end confdefs.h. */
20605$ac_includes_default
20606#include <$ac_header>
20607_ACEOF
20608rm -f conftest.$ac_objext
20609if { (ac_try="$ac_compile"
20610case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20613esac
20614eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20615$as_echo "$ac_try_echo") >&5
20616 (eval "$ac_compile") 2>conftest.er1
20617 ac_status=$?
20618 grep -v '^ *+' conftest.er1 >conftest.err
20619 rm -f conftest.er1
20620 cat conftest.err >&5
20621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } && {
20623 test -z "$ac_c_werror_flag" ||
20624 test ! -s conftest.err
20625 } && test -s conftest.$ac_objext; then
20626 ac_header_compiler=yes
20627else
20628 $as_echo "$as_me: failed program was:" >&5
20629sed 's/^/| /' conftest.$ac_ext >&5
20630
20631 ac_header_compiler=no
20632fi
20633
20634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20635{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20636$as_echo "$ac_header_compiler" >&6; }
20637
20638# Is the header present?
20639{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20640$as_echo_n "checking $ac_header presence... " >&6; }
20641cat >conftest.$ac_ext <<_ACEOF
20642/* confdefs.h. */
20643_ACEOF
20644cat confdefs.h >>conftest.$ac_ext
20645cat >>conftest.$ac_ext <<_ACEOF
20646/* end confdefs.h. */
20647#include <$ac_header>
20648_ACEOF
20649if { (ac_try="$ac_cpp conftest.$ac_ext"
20650case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20653esac
20654eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20655$as_echo "$ac_try_echo") >&5
20656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } >/dev/null && {
20663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 }; then
20666 ac_header_preproc=yes
20667else
20668 $as_echo "$as_me: failed program was:" >&5
20669sed 's/^/| /' conftest.$ac_ext >&5
20670
20671 ac_header_preproc=no
20672fi
20673
20674rm -f conftest.err conftest.$ac_ext
20675{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20676$as_echo "$ac_header_preproc" >&6; }
20677
20678# So? What about this header?
20679case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20680 yes:no: )
20681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20682$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20684$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20685 ac_header_preproc=yes
20686 ;;
20687 no:yes:* )
20688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20689$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20691$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20693$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20695$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20697$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20699$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20700
20701 ;;
20702esac
20703{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20704$as_echo_n "checking for $ac_header... " >&6; }
20705if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20706 $as_echo_n "(cached) " >&6
20707else
20708 eval "$as_ac_Header=\$ac_header_preproc"
20709fi
20710ac_res=`eval 'as_val=${'$as_ac_Header'}
20711 $as_echo "$as_val"'`
20712 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20713$as_echo "$ac_res" >&6; }
20714
20715fi
20716if test `eval 'as_val=${'$as_ac_Header'}
20717 $as_echo "$as_val"'` = yes; then
20718 cat >>confdefs.h <<_ACEOF 11915 cat >>confdefs.h <<_ACEOF
20719#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11916#define HAVE_GETOPT_H 1
20720_ACEOF 11917_ACEOF
20721 11918
20722else 11919else
@@ -20726,101 +11923,12 @@ fi
20726done 11923done
20727 11924
20728 if test -z "$GETOPT_H"; then 11925 if test -z "$GETOPT_H"; then
20729 11926 for ac_func in getopt_long_only
20730for ac_func in getopt_long_only 11927do :
20731do 11928 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
20732as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11929if test "x$ac_cv_func_getopt_long_only" = x""yes; then :
20733{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20734$as_echo_n "checking for $ac_func... " >&6; }
20735if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20736 $as_echo_n "(cached) " >&6
20737else
20738 cat >conftest.$ac_ext <<_ACEOF
20739/* confdefs.h. */
20740_ACEOF
20741cat confdefs.h >>conftest.$ac_ext
20742cat >>conftest.$ac_ext <<_ACEOF
20743/* end confdefs.h. */
20744/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20746#define $ac_func innocuous_$ac_func
20747
20748/* System header to define __stub macros and hopefully few prototypes,
20749 which can conflict with char $ac_func (); below.
20750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20751 <limits.h> exists even on freestanding compilers. */
20752
20753#ifdef __STDC__
20754# include <limits.h>
20755#else
20756# include <assert.h>
20757#endif
20758
20759#undef $ac_func
20760
20761/* Override any GCC internal prototype to avoid an error.
20762 Use char because int might match the return type of a GCC
20763 builtin and then its argument prototype would still apply. */
20764#ifdef __cplusplus
20765extern "C"
20766#endif
20767char $ac_func ();
20768/* The GNU C library defines this for functions which it implements
20769 to always fail with ENOSYS. Some functions are actually named
20770 something starting with __ and the normal name is an alias. */
20771#if defined __stub_$ac_func || defined __stub___$ac_func
20772choke me
20773#endif
20774
20775int
20776main ()
20777{
20778return $ac_func ();
20779 ;
20780 return 0;
20781}
20782_ACEOF
20783rm -f conftest.$ac_objext conftest$ac_exeext
20784if { (ac_try="$ac_link"
20785case "(($ac_try" in
20786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20787 *) ac_try_echo=$ac_try;;
20788esac
20789eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20790$as_echo "$ac_try_echo") >&5
20791 (eval "$ac_link") 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } && {
20798 test -z "$ac_c_werror_flag" ||
20799 test ! -s conftest.err
20800 } && test -s conftest$ac_exeext && {
20801 test "$cross_compiling" = yes ||
20802 $as_test_x conftest$ac_exeext
20803 }; then
20804 eval "$as_ac_var=yes"
20805else
20806 $as_echo "$as_me: failed program was:" >&5
20807sed 's/^/| /' conftest.$ac_ext >&5
20808
20809 eval "$as_ac_var=no"
20810fi
20811
20812rm -rf conftest.dSYM
20813rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20814 conftest$ac_exeext conftest.$ac_ext
20815fi
20816ac_res=`eval 'as_val=${'$as_ac_var'}
20817 $as_echo "$as_val"'`
20818 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20819$as_echo "$ac_res" >&6; }
20820if test `eval 'as_val=${'$as_ac_var'}
20821 $as_echo "$as_val"'` = yes; then
20822 cat >>confdefs.h <<_ACEOF 11930 cat >>confdefs.h <<_ACEOF
20823#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11931#define HAVE_GETOPT_LONG_ONLY 1
20824_ACEOF 11932_ACEOF
20825 11933
20826else 11934else
@@ -20831,139 +11939,31 @@ done
20831 fi 11939 fi
20832 11940
20833 if test -z "$GETOPT_H"; then 11941 if test -z "$GETOPT_H"; then
20834 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 11942 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
20835$as_echo_n "checking whether optreset is declared... " >&6; } 11943"
20836if test "${ac_cv_have_decl_optreset+set}" = set; then 11944if test "x$ac_cv_have_decl_optreset" = x""yes; then :
20837 $as_echo_n "(cached) " >&6
20838else
20839 cat >conftest.$ac_ext <<_ACEOF
20840/* confdefs.h. */
20841_ACEOF
20842cat confdefs.h >>conftest.$ac_ext
20843cat >>conftest.$ac_ext <<_ACEOF
20844/* end confdefs.h. */
20845#include <getopt.h>
20846
20847int
20848main ()
20849{
20850#ifndef optreset
20851 (void) optreset;
20852#endif
20853
20854 ;
20855 return 0;
20856}
20857_ACEOF
20858rm -f conftest.$ac_objext
20859if { (ac_try="$ac_compile"
20860case "(($ac_try" in
20861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20862 *) ac_try_echo=$ac_try;;
20863esac
20864eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20865$as_echo "$ac_try_echo") >&5
20866 (eval "$ac_compile") 2>conftest.er1
20867 ac_status=$?
20868 grep -v '^ *+' conftest.er1 >conftest.err
20869 rm -f conftest.er1
20870 cat conftest.err >&5
20871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); } && {
20873 test -z "$ac_c_werror_flag" ||
20874 test ! -s conftest.err
20875 } && test -s conftest.$ac_objext; then
20876 ac_cv_have_decl_optreset=yes
20877else
20878 $as_echo "$as_me: failed program was:" >&5
20879sed 's/^/| /' conftest.$ac_ext >&5
20880
20881 ac_cv_have_decl_optreset=no
20882fi
20883
20884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885fi
20886{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
20887$as_echo "$ac_cv_have_decl_optreset" >&6; }
20888if test $ac_cv_have_decl_optreset = yes; then
20889 GETOPT_H=getopt.h 11945 GETOPT_H=getopt.h
20890fi 11946fi
20891 11947
20892 fi 11948 fi
20893 11949
20894 if test -z "$GETOPT_H"; then 11950 if test -z "$GETOPT_H"; then
20895 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
20896$as_echo_n "checking for working GNU getopt function... " >&6; } 11952$as_echo_n "checking for working GNU getopt function... " >&6; }
20897if test "${gl_cv_func_gnu_getopt+set}" = set; then 11953if test "${gl_cv_func_gnu_getopt+set}" = set; then :
20898 $as_echo_n "(cached) " >&6
20899else
20900 if test "$cross_compiling" = yes; then
20901 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
20902$as_echo_n "checking whether getopt_clip is declared... " >&6; }
20903if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
20904 $as_echo_n "(cached) " >&6 11954 $as_echo_n "(cached) " >&6
20905else 11955else
20906 cat >conftest.$ac_ext <<_ACEOF 11956 if test "$cross_compiling" = yes; then :
20907/* confdefs.h. */ 11957 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
20908_ACEOF 11958"
20909cat confdefs.h >>conftest.$ac_ext 11959if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then :
20910cat >>conftest.$ac_ext <<_ACEOF
20911/* end confdefs.h. */
20912#include <getopt.h>
20913
20914int
20915main ()
20916{
20917#ifndef getopt_clip
20918 (void) getopt_clip;
20919#endif
20920
20921 ;
20922 return 0;
20923}
20924_ACEOF
20925rm -f conftest.$ac_objext
20926if { (ac_try="$ac_compile"
20927case "(($ac_try" in
20928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20930esac
20931eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20932$as_echo "$ac_try_echo") >&5
20933 (eval "$ac_compile") 2>conftest.er1
20934 ac_status=$?
20935 grep -v '^ *+' conftest.er1 >conftest.err
20936 rm -f conftest.er1
20937 cat conftest.err >&5
20938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } && {
20940 test -z "$ac_c_werror_flag" ||
20941 test ! -s conftest.err
20942 } && test -s conftest.$ac_objext; then
20943 ac_cv_have_decl_getopt_clip=yes
20944else
20945 $as_echo "$as_me: failed program was:" >&5
20946sed 's/^/| /' conftest.$ac_ext >&5
20947
20948 ac_cv_have_decl_getopt_clip=no
20949fi
20950
20951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20952fi
20953{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20954$as_echo "$ac_cv_have_decl_getopt_clip" >&6; }
20955if test $ac_cv_have_decl_getopt_clip = yes; then
20956 gl_cv_func_gnu_getopt=no 11960 gl_cv_func_gnu_getopt=no
20957else 11961else
20958 gl_cv_func_gnu_getopt=yes 11962 gl_cv_func_gnu_getopt=yes
20959fi 11963fi
20960 11964
20961else 11965else
20962 cat >conftest.$ac_ext <<_ACEOF 11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20963/* confdefs.h. */
20964_ACEOF
20965cat confdefs.h >>conftest.$ac_ext
20966cat >>conftest.$ac_ext <<_ACEOF
20967/* end confdefs.h. */ 11967/* end confdefs.h. */
20968#include <getopt.h> 11968#include <getopt.h>
20969int 11969int
@@ -20980,44 +11980,17 @@ main ()
20980 return 0; 11980 return 0;
20981} 11981}
20982_ACEOF 11982_ACEOF
20983rm -f conftest$ac_exeext 11983if ac_fn_c_try_run "$LINENO"; then :
20984if { (ac_try="$ac_link"
20985case "(($ac_try" in
20986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20987 *) ac_try_echo=$ac_try;;
20988esac
20989eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20990$as_echo "$ac_try_echo") >&5
20991 (eval "$ac_link") 2>&5
20992 ac_status=$?
20993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20995 { (case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20998esac
20999eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21000$as_echo "$ac_try_echo") >&5
21001 (eval "$ac_try") 2>&5
21002 ac_status=$?
21003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; }; then
21005 gl_cv_func_gnu_getopt=yes 11984 gl_cv_func_gnu_getopt=yes
21006else 11985else
21007 $as_echo "$as_me: program exited with status $ac_status" >&5 11986 gl_cv_func_gnu_getopt=no
21008$as_echo "$as_me: failed program was:" >&5
21009sed 's/^/| /' conftest.$ac_ext >&5
21010
21011( exit $ac_status )
21012gl_cv_func_gnu_getopt=no
21013fi 11987fi
21014rm -rf conftest.dSYM 11988rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21015rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11989 conftest.$ac_objext conftest.beam conftest.$ac_ext
21016fi 11990fi
21017 11991
21018
21019fi 11992fi
21020{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 11993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5
21021$as_echo "$gl_cv_func_gnu_getopt" >&6; } 11994$as_echo "$gl_cv_func_gnu_getopt" >&6; }
21022 if test "$gl_cv_func_gnu_getopt" = "no"; then 11995 if test "$gl_cv_func_gnu_getopt" = "no"; then
21023 GETOPT_H=getopt.h 11996 GETOPT_H=getopt.h
@@ -21026,14 +11999,12 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; }
21026 11999
21027 12000
21028 12001
21029 if test -n "$GETOPT_H"; then 12002 if test -n "$GETOPT_H"; then :
21030 12003
21031 12004
21032 GETOPT_H=getopt.h 12005 GETOPT_H=getopt.h
21033 12006
21034cat >>confdefs.h <<\_ACEOF 12007$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
21035#define __GETOPT_PREFIX rpl_
21036_ACEOF
21037 12008
21038 12009
21039 12010
@@ -21044,18 +12015,13 @@ fi
21044 12015
21045 12016
21046 12017
21047 12018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
21048{ $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
21049$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 12019$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
21050if test "${ac_cv_func_getpgrp_void+set}" = set; then 12020if test "${ac_cv_func_getpgrp_void+set}" = set; then :
21051 $as_echo_n "(cached) " >&6 12021 $as_echo_n "(cached) " >&6
21052else 12022else
21053 # Use it with a single arg. 12023 # Use it with a single arg.
21054cat >conftest.$ac_ext <<_ACEOF 12024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055/* confdefs.h. */
21056_ACEOF
21057cat confdefs.h >>conftest.$ac_ext
21058cat >>conftest.$ac_ext <<_ACEOF
21059/* end confdefs.h. */ 12025/* end confdefs.h. */
21060$ac_includes_default 12026$ac_includes_default
21061int 12027int
@@ -21066,157 +12032,41 @@ getpgrp (0);
21066 return 0; 12032 return 0;
21067} 12033}
21068_ACEOF 12034_ACEOF
21069rm -f conftest.$ac_objext 12035if ac_fn_c_try_compile "$LINENO"; then :
21070if { (ac_try="$ac_compile"
21071case "(($ac_try" in
21072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073 *) ac_try_echo=$ac_try;;
21074esac
21075eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21076$as_echo "$ac_try_echo") >&5
21077 (eval "$ac_compile") 2>conftest.er1
21078 ac_status=$?
21079 grep -v '^ *+' conftest.er1 >conftest.err
21080 rm -f conftest.er1
21081 cat conftest.err >&5
21082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && {
21084 test -z "$ac_c_werror_flag" ||
21085 test ! -s conftest.err
21086 } && test -s conftest.$ac_objext; then
21087 ac_cv_func_getpgrp_void=no 12036 ac_cv_func_getpgrp_void=no
21088else 12037else
21089 $as_echo "$as_me: failed program was:" >&5 12038 ac_cv_func_getpgrp_void=yes
21090sed 's/^/| /' conftest.$ac_ext >&5
21091
21092 ac_cv_func_getpgrp_void=yes
21093fi 12039fi
21094
21095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21096 12041
21097fi 12042fi
21098{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 12043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
21099$as_echo "$ac_cv_func_getpgrp_void" >&6; } 12044$as_echo "$ac_cv_func_getpgrp_void" >&6; }
21100if test $ac_cv_func_getpgrp_void = yes; then 12045if test $ac_cv_func_getpgrp_void = yes; then
21101 12046
21102cat >>confdefs.h <<\_ACEOF 12047$as_echo "#define GETPGRP_VOID 1" >>confdefs.h
21103#define GETPGRP_VOID 1
21104_ACEOF
21105 12048
21106fi 12049fi
21107 12050
21108 12051
21109
21110for ac_func in strftime 12052for ac_func in strftime
21111do 12053do :
21112as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12054 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
21113{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12055if test "x$ac_cv_func_strftime" = x""yes; then :
21114$as_echo_n "checking for $ac_func... " >&6; }
21115if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21116 $as_echo_n "(cached) " >&6
21117else
21118 cat >conftest.$ac_ext <<_ACEOF
21119/* confdefs.h. */
21120_ACEOF
21121cat confdefs.h >>conftest.$ac_ext
21122cat >>conftest.$ac_ext <<_ACEOF
21123/* end confdefs.h. */
21124/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21126#define $ac_func innocuous_$ac_func
21127
21128/* System header to define __stub macros and hopefully few prototypes,
21129 which can conflict with char $ac_func (); below.
21130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21131 <limits.h> exists even on freestanding compilers. */
21132
21133#ifdef __STDC__
21134# include <limits.h>
21135#else
21136# include <assert.h>
21137#endif
21138
21139#undef $ac_func
21140
21141/* Override any GCC internal prototype to avoid an error.
21142 Use char because int might match the return type of a GCC
21143 builtin and then its argument prototype would still apply. */
21144#ifdef __cplusplus
21145extern "C"
21146#endif
21147char $ac_func ();
21148/* The GNU C library defines this for functions which it implements
21149 to always fail with ENOSYS. Some functions are actually named
21150 something starting with __ and the normal name is an alias. */
21151#if defined __stub_$ac_func || defined __stub___$ac_func
21152choke me
21153#endif
21154
21155int
21156main ()
21157{
21158return $ac_func ();
21159 ;
21160 return 0;
21161}
21162_ACEOF
21163rm -f conftest.$ac_objext conftest$ac_exeext
21164if { (ac_try="$ac_link"
21165case "(($ac_try" in
21166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21167 *) ac_try_echo=$ac_try;;
21168esac
21169eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21170$as_echo "$ac_try_echo") >&5
21171 (eval "$ac_link") 2>conftest.er1
21172 ac_status=$?
21173 grep -v '^ *+' conftest.er1 >conftest.err
21174 rm -f conftest.er1
21175 cat conftest.err >&5
21176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } && {
21178 test -z "$ac_c_werror_flag" ||
21179 test ! -s conftest.err
21180 } && test -s conftest$ac_exeext && {
21181 test "$cross_compiling" = yes ||
21182 $as_test_x conftest$ac_exeext
21183 }; then
21184 eval "$as_ac_var=yes"
21185else
21186 $as_echo "$as_me: failed program was:" >&5
21187sed 's/^/| /' conftest.$ac_ext >&5
21188
21189 eval "$as_ac_var=no"
21190fi
21191
21192rm -rf conftest.dSYM
21193rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21194 conftest$ac_exeext conftest.$ac_ext
21195fi
21196ac_res=`eval 'as_val=${'$as_ac_var'}
21197 $as_echo "$as_val"'`
21198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21199$as_echo "$ac_res" >&6; }
21200if test `eval 'as_val=${'$as_ac_var'}
21201 $as_echo "$as_val"'` = yes; then
21202 cat >>confdefs.h <<_ACEOF 12056 cat >>confdefs.h <<_ACEOF
21203#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12057#define HAVE_STRFTIME 1
21204_ACEOF 12058_ACEOF
21205 12059
21206else 12060else
21207 # strftime is in -lintl on SCO UNIX. 12061 # strftime is in -lintl on SCO UNIX.
21208{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 12062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
21209$as_echo_n "checking for strftime in -lintl... " >&6; } 12063$as_echo_n "checking for strftime in -lintl... " >&6; }
21210if test "${ac_cv_lib_intl_strftime+set}" = set; then 12064if test "${ac_cv_lib_intl_strftime+set}" = set; then :
21211 $as_echo_n "(cached) " >&6 12065 $as_echo_n "(cached) " >&6
21212else 12066else
21213 ac_check_lib_save_LIBS=$LIBS 12067 ac_check_lib_save_LIBS=$LIBS
21214LIBS="-lintl $LIBS" 12068LIBS="-lintl $LIBS"
21215cat >conftest.$ac_ext <<_ACEOF 12069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21216/* confdefs.h. */
21217_ACEOF
21218cat confdefs.h >>conftest.$ac_ext
21219cat >>conftest.$ac_ext <<_ACEOF
21220/* end confdefs.h. */ 12070/* end confdefs.h. */
21221 12071
21222/* Override any GCC internal prototype to avoid an error. 12072/* Override any GCC internal prototype to avoid an error.
@@ -21234,46 +12084,19 @@ return strftime ();
21234 return 0; 12084 return 0;
21235} 12085}
21236_ACEOF 12086_ACEOF
21237rm -f conftest.$ac_objext conftest$ac_exeext 12087if ac_fn_c_try_link "$LINENO"; then :
21238if { (ac_try="$ac_link"
21239case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242esac
21243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21244$as_echo "$ac_try_echo") >&5
21245 (eval "$ac_link") 2>conftest.er1
21246 ac_status=$?
21247 grep -v '^ *+' conftest.er1 >conftest.err
21248 rm -f conftest.er1
21249 cat conftest.err >&5
21250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest$ac_exeext && {
21255 test "$cross_compiling" = yes ||
21256 $as_test_x conftest$ac_exeext
21257 }; then
21258 ac_cv_lib_intl_strftime=yes 12088 ac_cv_lib_intl_strftime=yes
21259else 12089else
21260 $as_echo "$as_me: failed program was:" >&5 12090 ac_cv_lib_intl_strftime=no
21261sed 's/^/| /' conftest.$ac_ext >&5
21262
21263 ac_cv_lib_intl_strftime=no
21264fi 12091fi
21265 12092rm -f core conftest.err conftest.$ac_objext \
21266rm -rf conftest.dSYM 12093 conftest$ac_exeext conftest.$ac_ext
21267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21268 conftest$ac_exeext conftest.$ac_ext
21269LIBS=$ac_check_lib_save_LIBS 12094LIBS=$ac_check_lib_save_LIBS
21270fi 12095fi
21271{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 12096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
21272$as_echo "$ac_cv_lib_intl_strftime" >&6; } 12097$as_echo "$ac_cv_lib_intl_strftime" >&6; }
21273if test $ac_cv_lib_intl_strftime = yes; then 12098if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
21274 cat >>confdefs.h <<\_ACEOF 12099 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
21275#define HAVE_STRFTIME 1
21276_ACEOF
21277 12100
21278LIBS="-lintl $LIBS" 12101LIBS="-lintl $LIBS"
21279fi 12102fi
@@ -21283,101 +12106,12 @@ done
21283 12106
21284 12107
21285# UNIX98 PTYs. 12108# UNIX98 PTYs.
21286
21287for ac_func in grantpt 12109for ac_func in grantpt
21288do 12110do :
21289as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12111 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
21290{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12112if test "x$ac_cv_func_grantpt" = x""yes; then :
21291$as_echo_n "checking for $ac_func... " >&6; }
21292if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21293 $as_echo_n "(cached) " >&6
21294else
21295 cat >conftest.$ac_ext <<_ACEOF
21296/* confdefs.h. */
21297_ACEOF
21298cat confdefs.h >>conftest.$ac_ext
21299cat >>conftest.$ac_ext <<_ACEOF
21300/* end confdefs.h. */
21301/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21303#define $ac_func innocuous_$ac_func
21304
21305/* System header to define __stub macros and hopefully few prototypes,
21306 which can conflict with char $ac_func (); below.
21307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21308 <limits.h> exists even on freestanding compilers. */
21309
21310#ifdef __STDC__
21311# include <limits.h>
21312#else
21313# include <assert.h>
21314#endif
21315
21316#undef $ac_func
21317
21318/* Override any GCC internal prototype to avoid an error.
21319 Use char because int might match the return type of a GCC
21320 builtin and then its argument prototype would still apply. */
21321#ifdef __cplusplus
21322extern "C"
21323#endif
21324char $ac_func ();
21325/* The GNU C library defines this for functions which it implements
21326 to always fail with ENOSYS. Some functions are actually named
21327 something starting with __ and the normal name is an alias. */
21328#if defined __stub_$ac_func || defined __stub___$ac_func
21329choke me
21330#endif
21331
21332int
21333main ()
21334{
21335return $ac_func ();
21336 ;
21337 return 0;
21338}
21339_ACEOF
21340rm -f conftest.$ac_objext conftest$ac_exeext
21341if { (ac_try="$ac_link"
21342case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21345esac
21346eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21347$as_echo "$ac_try_echo") >&5
21348 (eval "$ac_link") 2>conftest.er1
21349 ac_status=$?
21350 grep -v '^ *+' conftest.er1 >conftest.err
21351 rm -f conftest.er1
21352 cat conftest.err >&5
21353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } && {
21355 test -z "$ac_c_werror_flag" ||
21356 test ! -s conftest.err
21357 } && test -s conftest$ac_exeext && {
21358 test "$cross_compiling" = yes ||
21359 $as_test_x conftest$ac_exeext
21360 }; then
21361 eval "$as_ac_var=yes"
21362else
21363 $as_echo "$as_me: failed program was:" >&5
21364sed 's/^/| /' conftest.$ac_ext >&5
21365
21366 eval "$as_ac_var=no"
21367fi
21368
21369rm -rf conftest.dSYM
21370rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21371 conftest$ac_exeext conftest.$ac_ext
21372fi
21373ac_res=`eval 'as_val=${'$as_ac_var'}
21374 $as_echo "$as_val"'`
21375 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21376$as_echo "$ac_res" >&6; }
21377if test `eval 'as_val=${'$as_ac_var'}
21378 $as_echo "$as_val"'` = yes; then
21379 cat >>confdefs.h <<_ACEOF 12113 cat >>confdefs.h <<_ACEOF
21380#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12114#define HAVE_GRANTPT 1
21381_ACEOF 12115_ACEOF
21382 12116
21383fi 12117fi
@@ -21385,101 +12119,12 @@ done
21385 12119
21386 12120
21387# PTY-related GNU extensions. 12121# PTY-related GNU extensions.
21388
21389for ac_func in getpt 12122for ac_func in getpt
21390do 12123do :
21391as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12124 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
21392{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12125if test "x$ac_cv_func_getpt" = x""yes; then :
21393$as_echo_n "checking for $ac_func... " >&6; }
21394if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21395 $as_echo_n "(cached) " >&6
21396else
21397 cat >conftest.$ac_ext <<_ACEOF
21398/* confdefs.h. */
21399_ACEOF
21400cat confdefs.h >>conftest.$ac_ext
21401cat >>conftest.$ac_ext <<_ACEOF
21402/* end confdefs.h. */
21403/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21405#define $ac_func innocuous_$ac_func
21406
21407/* System header to define __stub macros and hopefully few prototypes,
21408 which can conflict with char $ac_func (); below.
21409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21410 <limits.h> exists even on freestanding compilers. */
21411
21412#ifdef __STDC__
21413# include <limits.h>
21414#else
21415# include <assert.h>
21416#endif
21417
21418#undef $ac_func
21419
21420/* Override any GCC internal prototype to avoid an error.
21421 Use char because int might match the return type of a GCC
21422 builtin and then its argument prototype would still apply. */
21423#ifdef __cplusplus
21424extern "C"
21425#endif
21426char $ac_func ();
21427/* The GNU C library defines this for functions which it implements
21428 to always fail with ENOSYS. Some functions are actually named
21429 something starting with __ and the normal name is an alias. */
21430#if defined __stub_$ac_func || defined __stub___$ac_func
21431choke me
21432#endif
21433
21434int
21435main ()
21436{
21437return $ac_func ();
21438 ;
21439 return 0;
21440}
21441_ACEOF
21442rm -f conftest.$ac_objext conftest$ac_exeext
21443if { (ac_try="$ac_link"
21444case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21446 *) ac_try_echo=$ac_try;;
21447esac
21448eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21449$as_echo "$ac_try_echo") >&5
21450 (eval "$ac_link") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest$ac_exeext && {
21460 test "$cross_compiling" = yes ||
21461 $as_test_x conftest$ac_exeext
21462 }; then
21463 eval "$as_ac_var=yes"
21464else
21465 $as_echo "$as_me: failed program was:" >&5
21466sed 's/^/| /' conftest.$ac_ext >&5
21467
21468 eval "$as_ac_var=no"
21469fi
21470
21471rm -rf conftest.dSYM
21472rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21473 conftest$ac_exeext conftest.$ac_ext
21474fi
21475ac_res=`eval 'as_val=${'$as_ac_var'}
21476 $as_echo "$as_val"'`
21477 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21478$as_echo "$ac_res" >&6; }
21479if test `eval 'as_val=${'$as_ac_var'}
21480 $as_echo "$as_val"'` = yes; then
21481 cat >>confdefs.h <<_ACEOF 12126 cat >>confdefs.h <<_ACEOF
21482#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12127#define HAVE_GETPT 1
21483_ACEOF 12128_ACEOF
21484 12129
21485fi 12130fi
@@ -21492,17 +12137,13 @@ done
21492# than to expect to find it in ncurses. 12137# than to expect to find it in ncurses.
21493# Also we need tputs and friends to be able to build at all. 12138# Also we need tputs and friends to be able to build at all.
21494have_tputs_et_al=true 12139have_tputs_et_al=true
21495{ $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 12140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
21496$as_echo_n "checking for library containing tputs... " >&6; } 12141$as_echo_n "checking for library containing tputs... " >&6; }
21497if test "${ac_cv_search_tputs+set}" = set; then 12142if test "${ac_cv_search_tputs+set}" = set; then :
21498 $as_echo_n "(cached) " >&6 12143 $as_echo_n "(cached) " >&6
21499else 12144else
21500 ac_func_search_save_LIBS=$LIBS 12145 ac_func_search_save_LIBS=$LIBS
21501cat >conftest.$ac_ext <<_ACEOF 12146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21502/* confdefs.h. */
21503_ACEOF
21504cat confdefs.h >>conftest.$ac_ext
21505cat >>conftest.$ac_ext <<_ACEOF
21506/* end confdefs.h. */ 12147/* end confdefs.h. */
21507 12148
21508/* Override any GCC internal prototype to avoid an error. 12149/* Override any GCC internal prototype to avoid an error.
@@ -21527,54 +12168,27 @@ for ac_lib in '' ncurses terminfo termcap; do
21527 ac_res=-l$ac_lib 12168 ac_res=-l$ac_lib
21528 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12169 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21529 fi 12170 fi
21530 rm -f conftest.$ac_objext conftest$ac_exeext 12171 if ac_fn_c_try_link "$LINENO"; then :
21531if { (ac_try="$ac_link"
21532case "(($ac_try" in
21533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21534 *) ac_try_echo=$ac_try;;
21535esac
21536eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21537$as_echo "$ac_try_echo") >&5
21538 (eval "$ac_link") 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } && {
21545 test -z "$ac_c_werror_flag" ||
21546 test ! -s conftest.err
21547 } && test -s conftest$ac_exeext && {
21548 test "$cross_compiling" = yes ||
21549 $as_test_x conftest$ac_exeext
21550 }; then
21551 ac_cv_search_tputs=$ac_res 12172 ac_cv_search_tputs=$ac_res
21552else
21553 $as_echo "$as_me: failed program was:" >&5
21554sed 's/^/| /' conftest.$ac_ext >&5
21555
21556
21557fi 12173fi
21558 12174rm -f core conftest.err conftest.$ac_objext \
21559rm -rf conftest.dSYM 12175 conftest$ac_exeext
21560rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12176 if test "${ac_cv_search_tputs+set}" = set; then :
21561 conftest$ac_exeext
21562 if test "${ac_cv_search_tputs+set}" = set; then
21563 break 12177 break
21564fi 12178fi
21565done 12179done
21566if test "${ac_cv_search_tputs+set}" = set; then 12180if test "${ac_cv_search_tputs+set}" = set; then :
21567 : 12181
21568else 12182else
21569 ac_cv_search_tputs=no 12183 ac_cv_search_tputs=no
21570fi 12184fi
21571rm conftest.$ac_ext 12185rm conftest.$ac_ext
21572LIBS=$ac_func_search_save_LIBS 12186LIBS=$ac_func_search_save_LIBS
21573fi 12187fi
21574{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 12188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5
21575$as_echo "$ac_cv_search_tputs" >&6; } 12189$as_echo "$ac_cv_search_tputs" >&6; }
21576ac_res=$ac_cv_search_tputs 12190ac_res=$ac_cv_search_tputs
21577if test "$ac_res" != no; then 12191if test "$ac_res" != no; then :
21578 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21579 12193
21580else 12194else
@@ -21582,19 +12196,13 @@ else
21582fi 12196fi
21583 12197
21584if test "$have_tputs_et_al" != true; then 12198if test "$have_tputs_et_al" != true; then
21585 { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). 12199 as_fn_error "I couldn't find termcap functions (tputs and friends).
21586Maybe some development libraries/packages are missing? Try installing 12200Maybe some development libraries/packages are missing? Try installing
21587libncurses-dev(el), libterminfo-dev(el) or similar." >&5 12201libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
21588$as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends).
21589Maybe some development libraries/packages are missing? Try installing
21590libncurses-dev(el), libterminfo-dev(el) or similar." >&2;}
21591 { (exit 1); exit 1; }; }
21592fi 12202fi
21593# Must define this when any termcap library is found. 12203# Must define this when any termcap library is found.
21594 12204
21595cat >>confdefs.h <<\_ACEOF 12205$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h
21596#define HAVE_LIBNCURSES 1
21597_ACEOF
21598 12206
21599## FIXME This was the cpp logic, but I am not sure it is right. 12207## FIXME This was the cpp logic, but I am not sure it is right.
21600## The above test has not necessarily found libncurses. 12208## The above test has not necessarily found libncurses.
@@ -21626,16 +12234,12 @@ case "$opsys" in
21626 ;; 12234 ;;
21627 12235
21628 freebsd) 12236 freebsd)
21629 { $as_echo "$as_me:$LINENO: checking whether FreeBSD is new enough to use terminfo" >&5 12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
21630$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } 12238$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
21631 if test "${emacs_cv_freebsd_terminfo+set}" = set; then 12239 if test "${emacs_cv_freebsd_terminfo+set}" = set; then :
21632 $as_echo_n "(cached) " >&6 12240 $as_echo_n "(cached) " >&6
21633else 12241else
21634 cat >conftest.$ac_ext <<_ACEOF 12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635/* confdefs.h. */
21636_ACEOF
21637cat confdefs.h >>conftest.$ac_ext
21638cat >>conftest.$ac_ext <<_ACEOF
21639/* end confdefs.h. */ 12243/* end confdefs.h. */
21640#include <osreldate.h> 12244#include <osreldate.h>
21641int 12245int
@@ -21649,42 +12253,17 @@ fail;
21649 return 0; 12253 return 0;
21650} 12254}
21651_ACEOF 12255_ACEOF
21652rm -f conftest.$ac_objext conftest$ac_exeext 12256if ac_fn_c_try_link "$LINENO"; then :
21653if { (ac_try="$ac_link"
21654case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21657esac
21658eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21659$as_echo "$ac_try_echo") >&5
21660 (eval "$ac_link") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest$ac_exeext && {
21670 test "$cross_compiling" = yes ||
21671 $as_test_x conftest$ac_exeext
21672 }; then
21673 emacs_cv_freebsd_terminfo=yes 12257 emacs_cv_freebsd_terminfo=yes
21674else 12258else
21675 $as_echo "$as_me: failed program was:" >&5 12259 emacs_cv_freebsd_terminfo=no
21676sed 's/^/| /' conftest.$ac_ext >&5
21677
21678 emacs_cv_freebsd_terminfo=no
21679fi 12260fi
21680 12261rm -f core conftest.err conftest.$ac_objext \
21681rm -rf conftest.dSYM 12262 conftest$ac_exeext conftest.$ac_ext
21682rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21683 conftest$ac_exeext conftest.$ac_ext
21684fi 12263fi
21685 12264
21686 12265
21687 { $as_echo "$as_me:$LINENO: result: $emacs_cv_freebsd_terminfo" >&5 12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_freebsd_terminfo" >&5
21688$as_echo "$emacs_cv_freebsd_terminfo" >&6; } 12267$as_echo "$emacs_cv_freebsd_terminfo" >&6; }
21689 12268
21690 if test $emacs_cv_freebsd_terminfo = yes; then 12269 if test $emacs_cv_freebsd_terminfo = yes; then
@@ -21712,9 +12291,7 @@ esac
21712TERMCAP_OBJ=tparam.o 12291TERMCAP_OBJ=tparam.o
21713if test $TERMINFO = yes; then 12292if test $TERMINFO = yes; then
21714 12293
21715cat >>confdefs.h <<\_ACEOF 12294$as_echo "#define TERMINFO 1" >>confdefs.h
21716#define TERMINFO 1
21717_ACEOF
21718 12295
21719 12296
21720 ## Default used to be -ltermcap. Add a case above if need something else. 12297 ## Default used to be -ltermcap. Add a case above if need something else.
@@ -21728,11 +12305,7 @@ fi
21728 12305
21729# Do we have res_init, for detecting changes in /etc/resolv.conf? 12306# Do we have res_init, for detecting changes in /etc/resolv.conf?
21730resolv=no 12307resolv=no
21731cat >conftest.$ac_ext <<_ACEOF 12308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732/* confdefs.h. */
21733_ACEOF
21734cat confdefs.h >>conftest.$ac_ext
21735cat >>conftest.$ac_ext <<_ACEOF
21736/* end confdefs.h. */ 12309/* end confdefs.h. */
21737#include <netinet/in.h> 12310#include <netinet/in.h>
21738#include <arpa/nameser.h> 12311#include <arpa/nameser.h>
@@ -21745,48 +12318,19 @@ return res_init();
21745 return 0; 12318 return 0;
21746} 12319}
21747_ACEOF 12320_ACEOF
21748rm -f conftest.$ac_objext conftest$ac_exeext 12321if ac_fn_c_try_link "$LINENO"; then :
21749if { (ac_try="$ac_link"
21750case "(($ac_try" in
21751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21752 *) ac_try_echo=$ac_try;;
21753esac
21754eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21755$as_echo "$ac_try_echo") >&5
21756 (eval "$ac_link") 2>conftest.er1
21757 ac_status=$?
21758 grep -v '^ *+' conftest.er1 >conftest.err
21759 rm -f conftest.er1
21760 cat conftest.err >&5
21761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); } && {
21763 test -z "$ac_c_werror_flag" ||
21764 test ! -s conftest.err
21765 } && test -s conftest$ac_exeext && {
21766 test "$cross_compiling" = yes ||
21767 $as_test_x conftest$ac_exeext
21768 }; then
21769 have_res_init=yes 12322 have_res_init=yes
21770else 12323else
21771 $as_echo "$as_me: failed program was:" >&5 12324 have_res_init=no
21772sed 's/^/| /' conftest.$ac_ext >&5
21773
21774 have_res_init=no
21775fi 12325fi
21776 12326rm -f core conftest.err conftest.$ac_objext \
21777rm -rf conftest.dSYM 12327 conftest$ac_exeext conftest.$ac_ext
21778rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21779 conftest$ac_exeext conftest.$ac_ext
21780if test "$have_res_init" = no; then 12328if test "$have_res_init" = no; then
21781 OLIBS="$LIBS" 12329 OLIBS="$LIBS"
21782 LIBS="$LIBS -lresolv" 12330 LIBS="$LIBS -lresolv"
21783 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5
21784$as_echo_n "checking for res_init with -lresolv... " >&6; } 12332$as_echo_n "checking for res_init with -lresolv... " >&6; }
21785 cat >conftest.$ac_ext <<_ACEOF 12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786/* confdefs.h. */
21787_ACEOF
21788cat confdefs.h >>conftest.$ac_ext
21789cat >>conftest.$ac_ext <<_ACEOF
21790/* end confdefs.h. */ 12334/* end confdefs.h. */
21791#include <netinet/in.h> 12335#include <netinet/in.h>
21792#include <arpa/nameser.h> 12336#include <arpa/nameser.h>
@@ -21799,39 +12343,14 @@ return res_init();
21799 return 0; 12343 return 0;
21800} 12344}
21801_ACEOF 12345_ACEOF
21802rm -f conftest.$ac_objext conftest$ac_exeext 12346if ac_fn_c_try_link "$LINENO"; then :
21803if { (ac_try="$ac_link"
21804case "(($ac_try" in
21805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21806 *) ac_try_echo=$ac_try;;
21807esac
21808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21809$as_echo "$ac_try_echo") >&5
21810 (eval "$ac_link") 2>conftest.er1
21811 ac_status=$?
21812 grep -v '^ *+' conftest.er1 >conftest.err
21813 rm -f conftest.er1
21814 cat conftest.err >&5
21815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } && {
21817 test -z "$ac_c_werror_flag" ||
21818 test ! -s conftest.err
21819 } && test -s conftest$ac_exeext && {
21820 test "$cross_compiling" = yes ||
21821 $as_test_x conftest$ac_exeext
21822 }; then
21823 have_res_init=yes 12347 have_res_init=yes
21824else 12348else
21825 $as_echo "$as_me: failed program was:" >&5 12349 have_res_init=no
21826sed 's/^/| /' conftest.$ac_ext >&5
21827
21828 have_res_init=no
21829fi 12350fi
21830 12351rm -f core conftest.err conftest.$ac_objext \
21831rm -rf conftest.dSYM 12352 conftest$ac_exeext conftest.$ac_ext
21832rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5
21833 conftest$ac_exeext conftest.$ac_ext
21834 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5
21835$as_echo "$have_res_init" >&6; } 12354$as_echo "$have_res_init" >&6; }
21836 if test "$have_res_init" = yes ; then 12355 if test "$have_res_init" = yes ; then
21837 resolv=yes 12356 resolv=yes
@@ -21841,9 +12360,7 @@ fi
21841 12360
21842if test "$have_res_init" = yes; then 12361if test "$have_res_init" = yes; then
21843 12362
21844cat >>confdefs.h <<\_ACEOF 12363$as_echo "#define HAVE_RES_INIT 1" >>confdefs.h
21845#define HAVE_RES_INIT 1
21846_ACEOF
21847 12364
21848fi 12365fi
21849 12366
@@ -21851,194 +12368,22 @@ fi
21851LIBHESIOD= 12368LIBHESIOD=
21852if test "$with_hesiod" != no ; then 12369if test "$with_hesiod" != no ; then
21853 # Don't set $LIBS here -- see comments above. FIXME which comments? 12370 # Don't set $LIBS here -- see comments above. FIXME which comments?
21854 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 12371 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
21855$as_echo_n "checking for res_send... " >&6; } 12372if test "x$ac_cv_func_res_send" = x""yes; then :
21856if test "${ac_cv_func_res_send+set}" = set; then
21857 $as_echo_n "(cached) " >&6
21858else
21859 cat >conftest.$ac_ext <<_ACEOF
21860/* confdefs.h. */
21861_ACEOF
21862cat confdefs.h >>conftest.$ac_ext
21863cat >>conftest.$ac_ext <<_ACEOF
21864/* end confdefs.h. */
21865/* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
21866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21867#define res_send innocuous_res_send
21868 12373
21869/* System header to define __stub macros and hopefully few prototypes,
21870 which can conflict with char res_send (); below.
21871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21872 <limits.h> exists even on freestanding compilers. */
21873
21874#ifdef __STDC__
21875# include <limits.h>
21876#else
21877# include <assert.h>
21878#endif
21879
21880#undef res_send
21881
21882/* Override any GCC internal prototype to avoid an error.
21883 Use char because int might match the return type of a GCC
21884 builtin and then its argument prototype would still apply. */
21885#ifdef __cplusplus
21886extern "C"
21887#endif
21888char res_send ();
21889/* The GNU C library defines this for functions which it implements
21890 to always fail with ENOSYS. Some functions are actually named
21891 something starting with __ and the normal name is an alias. */
21892#if defined __stub_res_send || defined __stub___res_send
21893choke me
21894#endif
21895
21896int
21897main ()
21898{
21899return res_send ();
21900 ;
21901 return 0;
21902}
21903_ACEOF
21904rm -f conftest.$ac_objext conftest$ac_exeext
21905if { (ac_try="$ac_link"
21906case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21909esac
21910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21911$as_echo "$ac_try_echo") >&5
21912 (eval "$ac_link") 2>conftest.er1
21913 ac_status=$?
21914 grep -v '^ *+' conftest.er1 >conftest.err
21915 rm -f conftest.er1
21916 cat conftest.err >&5
21917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } && {
21919 test -z "$ac_c_werror_flag" ||
21920 test ! -s conftest.err
21921 } && test -s conftest$ac_exeext && {
21922 test "$cross_compiling" = yes ||
21923 $as_test_x conftest$ac_exeext
21924 }; then
21925 ac_cv_func_res_send=yes
21926else
21927 $as_echo "$as_me: failed program was:" >&5
21928sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_cv_func_res_send=no
21931fi
21932
21933rm -rf conftest.dSYM
21934rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21935 conftest$ac_exeext conftest.$ac_ext
21936fi
21937{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
21938$as_echo "$ac_cv_func_res_send" >&6; }
21939if test $ac_cv_func_res_send = yes; then
21940 :
21941else
21942 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5
21943$as_echo_n "checking for __res_send... " >&6; }
21944if test "${ac_cv_func___res_send+set}" = set; then
21945 $as_echo_n "(cached) " >&6
21946else
21947 cat >conftest.$ac_ext <<_ACEOF
21948/* confdefs.h. */
21949_ACEOF
21950cat confdefs.h >>conftest.$ac_ext
21951cat >>conftest.$ac_ext <<_ACEOF
21952/* end confdefs.h. */
21953/* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
21954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21955#define __res_send innocuous___res_send
21956
21957/* System header to define __stub macros and hopefully few prototypes,
21958 which can conflict with char __res_send (); below.
21959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21960 <limits.h> exists even on freestanding compilers. */
21961
21962#ifdef __STDC__
21963# include <limits.h>
21964#else
21965# include <assert.h>
21966#endif
21967
21968#undef __res_send
21969
21970/* Override any GCC internal prototype to avoid an error.
21971 Use char because int might match the return type of a GCC
21972 builtin and then its argument prototype would still apply. */
21973#ifdef __cplusplus
21974extern "C"
21975#endif
21976char __res_send ();
21977/* The GNU C library defines this for functions which it implements
21978 to always fail with ENOSYS. Some functions are actually named
21979 something starting with __ and the normal name is an alias. */
21980#if defined __stub___res_send || defined __stub_____res_send
21981choke me
21982#endif
21983
21984int
21985main ()
21986{
21987return __res_send ();
21988 ;
21989 return 0;
21990}
21991_ACEOF
21992rm -f conftest.$ac_objext conftest$ac_exeext
21993if { (ac_try="$ac_link"
21994case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21997esac
21998eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21999$as_echo "$ac_try_echo") >&5
22000 (eval "$ac_link") 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest$ac_exeext && {
22010 test "$cross_compiling" = yes ||
22011 $as_test_x conftest$ac_exeext
22012 }; then
22013 ac_cv_func___res_send=yes
22014else 12374else
22015 $as_echo "$as_me: failed program was:" >&5 12375 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
22016sed 's/^/| /' conftest.$ac_ext >&5 12376if test "x$ac_cv_func___res_send" = x""yes; then :
22017
22018 ac_cv_func___res_send=no
22019fi
22020 12377
22021rm -rf conftest.dSYM
22022rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22023 conftest$ac_exeext conftest.$ac_ext
22024fi
22025{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
22026$as_echo "$ac_cv_func___res_send" >&6; }
22027if test $ac_cv_func___res_send = yes; then
22028 :
22029else 12378else
22030 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
22031$as_echo_n "checking for res_send in -lresolv... " >&6; } 12380$as_echo_n "checking for res_send in -lresolv... " >&6; }
22032if test "${ac_cv_lib_resolv_res_send+set}" = set; then 12381if test "${ac_cv_lib_resolv_res_send+set}" = set; then :
22033 $as_echo_n "(cached) " >&6 12382 $as_echo_n "(cached) " >&6
22034else 12383else
22035 ac_check_lib_save_LIBS=$LIBS 12384 ac_check_lib_save_LIBS=$LIBS
22036LIBS="-lresolv $LIBS" 12385LIBS="-lresolv $LIBS"
22037cat >conftest.$ac_ext <<_ACEOF 12386cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038/* confdefs.h. */
22039_ACEOF
22040cat confdefs.h >>conftest.$ac_ext
22041cat >>conftest.$ac_ext <<_ACEOF
22042/* end confdefs.h. */ 12387/* end confdefs.h. */
22043 12388
22044/* Override any GCC internal prototype to avoid an error. 12389/* Override any GCC internal prototype to avoid an error.
@@ -22056,57 +12401,28 @@ return res_send ();
22056 return 0; 12401 return 0;
22057} 12402}
22058_ACEOF 12403_ACEOF
22059rm -f conftest.$ac_objext conftest$ac_exeext 12404if ac_fn_c_try_link "$LINENO"; then :
22060if { (ac_try="$ac_link"
22061case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22064esac
22065eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22066$as_echo "$ac_try_echo") >&5
22067 (eval "$ac_link") 2>conftest.er1
22068 ac_status=$?
22069 grep -v '^ *+' conftest.er1 >conftest.err
22070 rm -f conftest.er1
22071 cat conftest.err >&5
22072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); } && {
22074 test -z "$ac_c_werror_flag" ||
22075 test ! -s conftest.err
22076 } && test -s conftest$ac_exeext && {
22077 test "$cross_compiling" = yes ||
22078 $as_test_x conftest$ac_exeext
22079 }; then
22080 ac_cv_lib_resolv_res_send=yes 12405 ac_cv_lib_resolv_res_send=yes
22081else 12406else
22082 $as_echo "$as_me: failed program was:" >&5 12407 ac_cv_lib_resolv_res_send=no
22083sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_cv_lib_resolv_res_send=no
22086fi 12408fi
22087 12409rm -f core conftest.err conftest.$ac_objext \
22088rm -rf conftest.dSYM 12410 conftest$ac_exeext conftest.$ac_ext
22089rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22090 conftest$ac_exeext conftest.$ac_ext
22091LIBS=$ac_check_lib_save_LIBS 12411LIBS=$ac_check_lib_save_LIBS
22092fi 12412fi
22093{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 12413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
22094$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 12414$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
22095if test $ac_cv_lib_resolv_res_send = yes; then 12415if test "x$ac_cv_lib_resolv_res_send" = x""yes; then :
22096 resolv=yes 12416 resolv=yes
22097else 12417else
22098 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
22099$as_echo_n "checking for __res_send in -lresolv... " >&6; } 12419$as_echo_n "checking for __res_send in -lresolv... " >&6; }
22100if test "${ac_cv_lib_resolv___res_send+set}" = set; then 12420if test "${ac_cv_lib_resolv___res_send+set}" = set; then :
22101 $as_echo_n "(cached) " >&6 12421 $as_echo_n "(cached) " >&6
22102else 12422else
22103 ac_check_lib_save_LIBS=$LIBS 12423 ac_check_lib_save_LIBS=$LIBS
22104LIBS="-lresolv $LIBS" 12424LIBS="-lresolv $LIBS"
22105cat >conftest.$ac_ext <<_ACEOF 12425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106/* confdefs.h. */
22107_ACEOF
22108cat confdefs.h >>conftest.$ac_ext
22109cat >>conftest.$ac_ext <<_ACEOF
22110/* end confdefs.h. */ 12426/* end confdefs.h. */
22111 12427
22112/* Override any GCC internal prototype to avoid an error. 12428/* Override any GCC internal prototype to avoid an error.
@@ -22124,43 +12440,18 @@ return __res_send ();
22124 return 0; 12440 return 0;
22125} 12441}
22126_ACEOF 12442_ACEOF
22127rm -f conftest.$ac_objext conftest$ac_exeext 12443if ac_fn_c_try_link "$LINENO"; then :
22128if { (ac_try="$ac_link"
22129case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22132esac
22133eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22134$as_echo "$ac_try_echo") >&5
22135 (eval "$ac_link") 2>conftest.er1
22136 ac_status=$?
22137 grep -v '^ *+' conftest.er1 >conftest.err
22138 rm -f conftest.er1
22139 cat conftest.err >&5
22140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && {
22142 test -z "$ac_c_werror_flag" ||
22143 test ! -s conftest.err
22144 } && test -s conftest$ac_exeext && {
22145 test "$cross_compiling" = yes ||
22146 $as_test_x conftest$ac_exeext
22147 }; then
22148 ac_cv_lib_resolv___res_send=yes 12444 ac_cv_lib_resolv___res_send=yes
22149else 12445else
22150 $as_echo "$as_me: failed program was:" >&5 12446 ac_cv_lib_resolv___res_send=no
22151sed 's/^/| /' conftest.$ac_ext >&5
22152
22153 ac_cv_lib_resolv___res_send=no
22154fi 12447fi
22155 12448rm -f core conftest.err conftest.$ac_objext \
22156rm -rf conftest.dSYM 12449 conftest$ac_exeext conftest.$ac_ext
22157rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22158 conftest$ac_exeext conftest.$ac_ext
22159LIBS=$ac_check_lib_save_LIBS 12450LIBS=$ac_check_lib_save_LIBS
22160fi 12451fi
22161{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 12452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
22162$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 12453$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
22163if test $ac_cv_lib_resolv___res_send = yes; then 12454if test "x$ac_cv_lib_resolv___res_send" = x""yes; then :
22164 resolv=yes 12455 resolv=yes
22165fi 12456fi
22166 12457
@@ -22175,106 +12466,18 @@ fi
22175 else 12466 else
22176 RESOLVLIB= 12467 RESOLVLIB=
22177 fi 12468 fi
22178 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 12469 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
22179$as_echo_n "checking for hes_getmailhost... " >&6; } 12470if test "x$ac_cv_func_hes_getmailhost" = x""yes; then :
22180if test "${ac_cv_func_hes_getmailhost+set}" = set; then
22181 $as_echo_n "(cached) " >&6
22182else
22183 cat >conftest.$ac_ext <<_ACEOF
22184/* confdefs.h. */
22185_ACEOF
22186cat confdefs.h >>conftest.$ac_ext
22187cat >>conftest.$ac_ext <<_ACEOF
22188/* end confdefs.h. */
22189/* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
22190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22191#define hes_getmailhost innocuous_hes_getmailhost
22192
22193/* System header to define __stub macros and hopefully few prototypes,
22194 which can conflict with char hes_getmailhost (); below.
22195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22196 <limits.h> exists even on freestanding compilers. */
22197 12471
22198#ifdef __STDC__
22199# include <limits.h>
22200#else
22201# include <assert.h>
22202#endif
22203
22204#undef hes_getmailhost
22205
22206/* Override any GCC internal prototype to avoid an error.
22207 Use char because int might match the return type of a GCC
22208 builtin and then its argument prototype would still apply. */
22209#ifdef __cplusplus
22210extern "C"
22211#endif
22212char hes_getmailhost ();
22213/* The GNU C library defines this for functions which it implements
22214 to always fail with ENOSYS. Some functions are actually named
22215 something starting with __ and the normal name is an alias. */
22216#if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost
22217choke me
22218#endif
22219
22220int
22221main ()
22222{
22223return hes_getmailhost ();
22224 ;
22225 return 0;
22226}
22227_ACEOF
22228rm -f conftest.$ac_objext conftest$ac_exeext
22229if { (ac_try="$ac_link"
22230case "(($ac_try" in
22231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22232 *) ac_try_echo=$ac_try;;
22233esac
22234eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22235$as_echo "$ac_try_echo") >&5
22236 (eval "$ac_link") 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } && {
22243 test -z "$ac_c_werror_flag" ||
22244 test ! -s conftest.err
22245 } && test -s conftest$ac_exeext && {
22246 test "$cross_compiling" = yes ||
22247 $as_test_x conftest$ac_exeext
22248 }; then
22249 ac_cv_func_hes_getmailhost=yes
22250else
22251 $as_echo "$as_me: failed program was:" >&5
22252sed 's/^/| /' conftest.$ac_ext >&5
22253
22254 ac_cv_func_hes_getmailhost=no
22255fi
22256
22257rm -rf conftest.dSYM
22258rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22259 conftest$ac_exeext conftest.$ac_ext
22260fi
22261{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
22262$as_echo "$ac_cv_func_hes_getmailhost" >&6; }
22263if test $ac_cv_func_hes_getmailhost = yes; then
22264 :
22265else 12472else
22266 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
22267$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 12474$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
22268if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 12475if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then :
22269 $as_echo_n "(cached) " >&6 12476 $as_echo_n "(cached) " >&6
22270else 12477else
22271 ac_check_lib_save_LIBS=$LIBS 12478 ac_check_lib_save_LIBS=$LIBS
22272LIBS="-lhesiod $RESOLVLIB $LIBS" 12479LIBS="-lhesiod $RESOLVLIB $LIBS"
22273cat >conftest.$ac_ext <<_ACEOF 12480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274/* confdefs.h. */
22275_ACEOF
22276cat confdefs.h >>conftest.$ac_ext
22277cat >>conftest.$ac_ext <<_ACEOF
22278/* end confdefs.h. */ 12481/* end confdefs.h. */
22279 12482
22280/* Override any GCC internal prototype to avoid an error. 12483/* Override any GCC internal prototype to avoid an error.
@@ -22292,43 +12495,18 @@ return hes_getmailhost ();
22292 return 0; 12495 return 0;
22293} 12496}
22294_ACEOF 12497_ACEOF
22295rm -f conftest.$ac_objext conftest$ac_exeext 12498if ac_fn_c_try_link "$LINENO"; then :
22296if { (ac_try="$ac_link"
22297case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 *) ac_try_echo=$ac_try;;
22300esac
22301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22302$as_echo "$ac_try_echo") >&5
22303 (eval "$ac_link") 2>conftest.er1
22304 ac_status=$?
22305 grep -v '^ *+' conftest.er1 >conftest.err
22306 rm -f conftest.er1
22307 cat conftest.err >&5
22308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); } && {
22310 test -z "$ac_c_werror_flag" ||
22311 test ! -s conftest.err
22312 } && test -s conftest$ac_exeext && {
22313 test "$cross_compiling" = yes ||
22314 $as_test_x conftest$ac_exeext
22315 }; then
22316 ac_cv_lib_hesiod_hes_getmailhost=yes 12499 ac_cv_lib_hesiod_hes_getmailhost=yes
22317else 12500else
22318 $as_echo "$as_me: failed program was:" >&5 12501 ac_cv_lib_hesiod_hes_getmailhost=no
22319sed 's/^/| /' conftest.$ac_ext >&5
22320
22321 ac_cv_lib_hesiod_hes_getmailhost=no
22322fi 12502fi
22323 12503rm -f core conftest.err conftest.$ac_objext \
22324rm -rf conftest.dSYM 12504 conftest$ac_exeext conftest.$ac_ext
22325rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22326 conftest$ac_exeext conftest.$ac_ext
22327LIBS=$ac_check_lib_save_LIBS 12505LIBS=$ac_check_lib_save_LIBS
22328fi 12506fi
22329{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 12507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
22330$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 12508$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
22331if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 12509if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then :
22332 hesiod=yes 12510 hesiod=yes
22333else 12511else
22334 : 12512 :
@@ -22339,9 +12517,7 @@ fi
22339 12517
22340 if test x"$hesiod" = xyes; then 12518 if test x"$hesiod" = xyes; then
22341 12519
22342cat >>confdefs.h <<\_ACEOF 12520$as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h
22343#define HAVE_LIBHESIOD 1
22344_ACEOF
22345 12521
22346 LIBHESIOD=-lhesiod 12522 LIBHESIOD=-lhesiod
22347 fi 12523 fi
@@ -22351,9 +12527,7 @@ fi
22351# Do we need libresolv (due to res_init or Hesiod)? 12527# Do we need libresolv (due to res_init or Hesiod)?
22352if test "$resolv" = yes ; then 12528if test "$resolv" = yes ; then
22353 12529
22354cat >>confdefs.h <<\_ACEOF 12530$as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h
22355#define HAVE_LIBRESOLV 1
22356_ACEOF
22357 12531
22358 LIBRESOLV=-lresolv 12532 LIBRESOLV=-lresolv
22359else 12533else
@@ -22369,18 +12543,14 @@ DESLIB=
22369KRB4LIB= 12543KRB4LIB=
22370 12544
22371if test "${with_kerberos}" != no; then 12545if test "${with_kerberos}" != no; then
22372 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
22373$as_echo_n "checking for com_err in -lcom_err... " >&6; } 12547$as_echo_n "checking for com_err in -lcom_err... " >&6; }
22374if test "${ac_cv_lib_com_err_com_err+set}" = set; then 12548if test "${ac_cv_lib_com_err_com_err+set}" = set; then :
22375 $as_echo_n "(cached) " >&6 12549 $as_echo_n "(cached) " >&6
22376else 12550else
22377 ac_check_lib_save_LIBS=$LIBS 12551 ac_check_lib_save_LIBS=$LIBS
22378LIBS="-lcom_err $LIBS" 12552LIBS="-lcom_err $LIBS"
22379cat >conftest.$ac_ext <<_ACEOF 12553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22380/* confdefs.h. */
22381_ACEOF
22382cat confdefs.h >>conftest.$ac_ext
22383cat >>conftest.$ac_ext <<_ACEOF
22384/* end confdefs.h. */ 12554/* end confdefs.h. */
22385 12555
22386/* Override any GCC internal prototype to avoid an error. 12556/* Override any GCC internal prototype to avoid an error.
@@ -22398,43 +12568,18 @@ return com_err ();
22398 return 0; 12568 return 0;
22399} 12569}
22400_ACEOF 12570_ACEOF
22401rm -f conftest.$ac_objext conftest$ac_exeext 12571if ac_fn_c_try_link "$LINENO"; then :
22402if { (ac_try="$ac_link"
22403case "(($ac_try" in
22404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405 *) ac_try_echo=$ac_try;;
22406esac
22407eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22408$as_echo "$ac_try_echo") >&5
22409 (eval "$ac_link") 2>conftest.er1
22410 ac_status=$?
22411 grep -v '^ *+' conftest.er1 >conftest.err
22412 rm -f conftest.er1
22413 cat conftest.err >&5
22414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } && {
22416 test -z "$ac_c_werror_flag" ||
22417 test ! -s conftest.err
22418 } && test -s conftest$ac_exeext && {
22419 test "$cross_compiling" = yes ||
22420 $as_test_x conftest$ac_exeext
22421 }; then
22422 ac_cv_lib_com_err_com_err=yes 12572 ac_cv_lib_com_err_com_err=yes
22423else 12573else
22424 $as_echo "$as_me: failed program was:" >&5 12574 ac_cv_lib_com_err_com_err=no
22425sed 's/^/| /' conftest.$ac_ext >&5
22426
22427 ac_cv_lib_com_err_com_err=no
22428fi 12575fi
22429 12576rm -f core conftest.err conftest.$ac_objext \
22430rm -rf conftest.dSYM 12577 conftest$ac_exeext conftest.$ac_ext
22431rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22432 conftest$ac_exeext conftest.$ac_ext
22433LIBS=$ac_check_lib_save_LIBS 12578LIBS=$ac_check_lib_save_LIBS
22434fi 12579fi
22435{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 12580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
22436$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 12581$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
22437if test $ac_cv_lib_com_err_com_err = yes; then 12582if test "x$ac_cv_lib_com_err_com_err" = x""yes; then :
22438 have_com_err=yes 12583 have_com_err=yes
22439else 12584else
22440 have_com_err=no 12585 have_com_err=no
@@ -22444,23 +12589,17 @@ fi
22444 COM_ERRLIB=-lcom_err 12589 COM_ERRLIB=-lcom_err
22445 LIBS="$COM_ERRLIB $LIBS" 12590 LIBS="$COM_ERRLIB $LIBS"
22446 12591
22447cat >>confdefs.h <<\_ACEOF 12592$as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
22448#define HAVE_LIBCOM_ERR 1
22449_ACEOF
22450 12593
22451 fi 12594 fi
22452 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
22453$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 12596$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
22454if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 12597if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then :
22455 $as_echo_n "(cached) " >&6 12598 $as_echo_n "(cached) " >&6
22456else 12599else
22457 ac_check_lib_save_LIBS=$LIBS 12600 ac_check_lib_save_LIBS=$LIBS
22458LIBS="-lcrypto $LIBS" 12601LIBS="-lcrypto $LIBS"
22459cat >conftest.$ac_ext <<_ACEOF 12602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22460/* confdefs.h. */
22461_ACEOF
22462cat confdefs.h >>conftest.$ac_ext
22463cat >>conftest.$ac_ext <<_ACEOF
22464/* end confdefs.h. */ 12603/* end confdefs.h. */
22465 12604
22466/* Override any GCC internal prototype to avoid an error. 12605/* Override any GCC internal prototype to avoid an error.
@@ -22478,43 +12617,18 @@ return mit_des_cbc_encrypt ();
22478 return 0; 12617 return 0;
22479} 12618}
22480_ACEOF 12619_ACEOF
22481rm -f conftest.$ac_objext conftest$ac_exeext 12620if ac_fn_c_try_link "$LINENO"; then :
22482if { (ac_try="$ac_link"
22483case "(($ac_try" in
22484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22485 *) ac_try_echo=$ac_try;;
22486esac
22487eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22488$as_echo "$ac_try_echo") >&5
22489 (eval "$ac_link") 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } && {
22496 test -z "$ac_c_werror_flag" ||
22497 test ! -s conftest.err
22498 } && test -s conftest$ac_exeext && {
22499 test "$cross_compiling" = yes ||
22500 $as_test_x conftest$ac_exeext
22501 }; then
22502 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 12621 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
22503else 12622else
22504 $as_echo "$as_me: failed program was:" >&5 12623 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
22505sed 's/^/| /' conftest.$ac_ext >&5
22506
22507 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
22508fi 12624fi
22509 12625rm -f core conftest.err conftest.$ac_objext \
22510rm -rf conftest.dSYM 12626 conftest$ac_exeext conftest.$ac_ext
22511rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22512 conftest$ac_exeext conftest.$ac_ext
22513LIBS=$ac_check_lib_save_LIBS 12627LIBS=$ac_check_lib_save_LIBS
22514fi 12628fi
22515{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 12629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
22516$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 12630$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
22517if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 12631if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then :
22518 have_crypto=yes 12632 have_crypto=yes
22519else 12633else
22520 have_crypto=no 12634 have_crypto=no
@@ -22524,23 +12638,17 @@ fi
22524 CRYPTOLIB=-lcrypto 12638 CRYPTOLIB=-lcrypto
22525 LIBS="$CRYPTOLIB $LIBS" 12639 LIBS="$CRYPTOLIB $LIBS"
22526 12640
22527cat >>confdefs.h <<\_ACEOF 12641$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
22528#define HAVE_LIBCRYPTO 1
22529_ACEOF
22530 12642
22531 fi 12643 fi
22532 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
22533$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 12645$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
22534if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 12646if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then :
22535 $as_echo_n "(cached) " >&6 12647 $as_echo_n "(cached) " >&6
22536else 12648else
22537 ac_check_lib_save_LIBS=$LIBS 12649 ac_check_lib_save_LIBS=$LIBS
22538LIBS="-lk5crypto $LIBS" 12650LIBS="-lk5crypto $LIBS"
22539cat >conftest.$ac_ext <<_ACEOF 12651cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22540/* confdefs.h. */
22541_ACEOF
22542cat confdefs.h >>conftest.$ac_ext
22543cat >>conftest.$ac_ext <<_ACEOF
22544/* end confdefs.h. */ 12652/* end confdefs.h. */
22545 12653
22546/* Override any GCC internal prototype to avoid an error. 12654/* Override any GCC internal prototype to avoid an error.
@@ -22558,43 +12666,18 @@ return mit_des_cbc_encrypt ();
22558 return 0; 12666 return 0;
22559} 12667}
22560_ACEOF 12668_ACEOF
22561rm -f conftest.$ac_objext conftest$ac_exeext 12669if ac_fn_c_try_link "$LINENO"; then :
22562if { (ac_try="$ac_link"
22563case "(($ac_try" in
22564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565 *) ac_try_echo=$ac_try;;
22566esac
22567eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22568$as_echo "$ac_try_echo") >&5
22569 (eval "$ac_link") 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest$ac_exeext && {
22579 test "$cross_compiling" = yes ||
22580 $as_test_x conftest$ac_exeext
22581 }; then
22582 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 12670 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
22583else 12671else
22584 $as_echo "$as_me: failed program was:" >&5 12672 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
22585sed 's/^/| /' conftest.$ac_ext >&5
22586
22587 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
22588fi 12673fi
22589 12674rm -f core conftest.err conftest.$ac_objext \
22590rm -rf conftest.dSYM 12675 conftest$ac_exeext conftest.$ac_ext
22591rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22592 conftest$ac_exeext conftest.$ac_ext
22593LIBS=$ac_check_lib_save_LIBS 12676LIBS=$ac_check_lib_save_LIBS
22594fi 12677fi
22595{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 12678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
22596$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 12679$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
22597if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 12680if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then :
22598 have_k5crypto=yes 12681 have_k5crypto=yes
22599else 12682else
22600 have_k5crypto=no 12683 have_k5crypto=no
@@ -22604,23 +12687,17 @@ fi
22604 CRYPTOLIB=-lk5crypto 12687 CRYPTOLIB=-lk5crypto
22605 LIBS="$CRYPTOLIB $LIBS" 12688 LIBS="$CRYPTOLIB $LIBS"
22606 12689
22607cat >>confdefs.h <<\_ACEOF 12690$as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
22608#define HAVE_LIBK5CRYPTO 1
22609_ACEOF
22610 12691
22611 fi 12692 fi
22612 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
22613$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 12694$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
22614if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 12695if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then :
22615 $as_echo_n "(cached) " >&6 12696 $as_echo_n "(cached) " >&6
22616else 12697else
22617 ac_check_lib_save_LIBS=$LIBS 12698 ac_check_lib_save_LIBS=$LIBS
22618LIBS="-lkrb5 $LIBS" 12699LIBS="-lkrb5 $LIBS"
22619cat >conftest.$ac_ext <<_ACEOF 12700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22620/* confdefs.h. */
22621_ACEOF
22622cat confdefs.h >>conftest.$ac_ext
22623cat >>conftest.$ac_ext <<_ACEOF
22624/* end confdefs.h. */ 12701/* end confdefs.h. */
22625 12702
22626/* Override any GCC internal prototype to avoid an error. 12703/* Override any GCC internal prototype to avoid an error.
@@ -22638,43 +12715,18 @@ return krb5_init_context ();
22638 return 0; 12715 return 0;
22639} 12716}
22640_ACEOF 12717_ACEOF
22641rm -f conftest.$ac_objext conftest$ac_exeext 12718if ac_fn_c_try_link "$LINENO"; then :
22642if { (ac_try="$ac_link"
22643case "(($ac_try" in
22644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22645 *) ac_try_echo=$ac_try;;
22646esac
22647eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22648$as_echo "$ac_try_echo") >&5
22649 (eval "$ac_link") 2>conftest.er1
22650 ac_status=$?
22651 grep -v '^ *+' conftest.er1 >conftest.err
22652 rm -f conftest.er1
22653 cat conftest.err >&5
22654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } && {
22656 test -z "$ac_c_werror_flag" ||
22657 test ! -s conftest.err
22658 } && test -s conftest$ac_exeext && {
22659 test "$cross_compiling" = yes ||
22660 $as_test_x conftest$ac_exeext
22661 }; then
22662 ac_cv_lib_krb5_krb5_init_context=yes 12719 ac_cv_lib_krb5_krb5_init_context=yes
22663else 12720else
22664 $as_echo "$as_me: failed program was:" >&5 12721 ac_cv_lib_krb5_krb5_init_context=no
22665sed 's/^/| /' conftest.$ac_ext >&5
22666
22667 ac_cv_lib_krb5_krb5_init_context=no
22668fi 12722fi
22669 12723rm -f core conftest.err conftest.$ac_objext \
22670rm -rf conftest.dSYM 12724 conftest$ac_exeext conftest.$ac_ext
22671rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22672 conftest$ac_exeext conftest.$ac_ext
22673LIBS=$ac_check_lib_save_LIBS 12725LIBS=$ac_check_lib_save_LIBS
22674fi 12726fi
22675{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 12727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
22676$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 12728$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
22677if test $ac_cv_lib_krb5_krb5_init_context = yes; then 12729if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then :
22678 have_krb5=yes 12730 have_krb5=yes
22679else 12731else
22680 have_krb5=no 12732 have_krb5=no
@@ -22684,24 +12736,18 @@ fi
22684 KRB5LIB=-lkrb5 12736 KRB5LIB=-lkrb5
22685 LIBS="$KRB5LIB $LIBS" 12737 LIBS="$KRB5LIB $LIBS"
22686 12738
22687cat >>confdefs.h <<\_ACEOF 12739$as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
22688#define HAVE_LIBKRB5 1
22689_ACEOF
22690 12740
22691 fi 12741 fi
22692 if test "${with_kerberos5}" = no; then 12742 if test "${with_kerberos5}" = no; then
22693 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
22694$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 12744$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
22695if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 12745if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then :
22696 $as_echo_n "(cached) " >&6 12746 $as_echo_n "(cached) " >&6
22697else 12747else
22698 ac_check_lib_save_LIBS=$LIBS 12748 ac_check_lib_save_LIBS=$LIBS
22699LIBS="-ldes425 $LIBS" 12749LIBS="-ldes425 $LIBS"
22700cat >conftest.$ac_ext <<_ACEOF 12750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22701/* confdefs.h. */
22702_ACEOF
22703cat confdefs.h >>conftest.$ac_ext
22704cat >>conftest.$ac_ext <<_ACEOF
22705/* end confdefs.h. */ 12751/* end confdefs.h. */
22706 12752
22707/* Override any GCC internal prototype to avoid an error. 12753/* Override any GCC internal prototype to avoid an error.
@@ -22719,43 +12765,18 @@ return des_cbc_encrypt ();
22719 return 0; 12765 return 0;
22720} 12766}
22721_ACEOF 12767_ACEOF
22722rm -f conftest.$ac_objext conftest$ac_exeext 12768if ac_fn_c_try_link "$LINENO"; then :
22723if { (ac_try="$ac_link"
22724case "(($ac_try" in
22725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22726 *) ac_try_echo=$ac_try;;
22727esac
22728eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22729$as_echo "$ac_try_echo") >&5
22730 (eval "$ac_link") 2>conftest.er1
22731 ac_status=$?
22732 grep -v '^ *+' conftest.er1 >conftest.err
22733 rm -f conftest.er1
22734 cat conftest.err >&5
22735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } && {
22737 test -z "$ac_c_werror_flag" ||
22738 test ! -s conftest.err
22739 } && test -s conftest$ac_exeext && {
22740 test "$cross_compiling" = yes ||
22741 $as_test_x conftest$ac_exeext
22742 }; then
22743 ac_cv_lib_des425_des_cbc_encrypt=yes 12769 ac_cv_lib_des425_des_cbc_encrypt=yes
22744else 12770else
22745 $as_echo "$as_me: failed program was:" >&5 12771 ac_cv_lib_des425_des_cbc_encrypt=no
22746sed 's/^/| /' conftest.$ac_ext >&5
22747
22748 ac_cv_lib_des425_des_cbc_encrypt=no
22749fi 12772fi
22750 12773rm -f core conftest.err conftest.$ac_objext \
22751rm -rf conftest.dSYM 12774 conftest$ac_exeext conftest.$ac_ext
22752rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22753 conftest$ac_exeext conftest.$ac_ext
22754LIBS=$ac_check_lib_save_LIBS 12775LIBS=$ac_check_lib_save_LIBS
22755fi 12776fi
22756{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 12777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
22757$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 12778$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
22758if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 12779if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then :
22759 have_des425=yes 12780 have_des425=yes
22760else 12781else
22761 have_des425=no 12782 have_des425=no
@@ -22765,23 +12786,17 @@ fi
22765 DESLIB=-ldes425 12786 DESLIB=-ldes425
22766 LIBS="$DESLIB $LIBS" 12787 LIBS="$DESLIB $LIBS"
22767 12788
22768cat >>confdefs.h <<\_ACEOF 12789$as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
22769#define HAVE_LIBDES425 1
22770_ACEOF
22771 12790
22772 else 12791 else
22773 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
22774$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 12793$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
22775if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 12794if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then :
22776 $as_echo_n "(cached) " >&6 12795 $as_echo_n "(cached) " >&6
22777else 12796else
22778 ac_check_lib_save_LIBS=$LIBS 12797 ac_check_lib_save_LIBS=$LIBS
22779LIBS="-ldes $LIBS" 12798LIBS="-ldes $LIBS"
22780cat >conftest.$ac_ext <<_ACEOF 12799cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781/* confdefs.h. */
22782_ACEOF
22783cat confdefs.h >>conftest.$ac_ext
22784cat >>conftest.$ac_ext <<_ACEOF
22785/* end confdefs.h. */ 12800/* end confdefs.h. */
22786 12801
22787/* Override any GCC internal prototype to avoid an error. 12802/* Override any GCC internal prototype to avoid an error.
@@ -22799,43 +12814,18 @@ return des_cbc_encrypt ();
22799 return 0; 12814 return 0;
22800} 12815}
22801_ACEOF 12816_ACEOF
22802rm -f conftest.$ac_objext conftest$ac_exeext 12817if ac_fn_c_try_link "$LINENO"; then :
22803if { (ac_try="$ac_link"
22804case "(($ac_try" in
22805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806 *) ac_try_echo=$ac_try;;
22807esac
22808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22809$as_echo "$ac_try_echo") >&5
22810 (eval "$ac_link") 2>conftest.er1
22811 ac_status=$?
22812 grep -v '^ *+' conftest.er1 >conftest.err
22813 rm -f conftest.er1
22814 cat conftest.err >&5
22815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest$ac_exeext && {
22820 test "$cross_compiling" = yes ||
22821 $as_test_x conftest$ac_exeext
22822 }; then
22823 ac_cv_lib_des_des_cbc_encrypt=yes 12818 ac_cv_lib_des_des_cbc_encrypt=yes
22824else 12819else
22825 $as_echo "$as_me: failed program was:" >&5 12820 ac_cv_lib_des_des_cbc_encrypt=no
22826sed 's/^/| /' conftest.$ac_ext >&5
22827
22828 ac_cv_lib_des_des_cbc_encrypt=no
22829fi 12821fi
22830 12822rm -f core conftest.err conftest.$ac_objext \
22831rm -rf conftest.dSYM 12823 conftest$ac_exeext conftest.$ac_ext
22832rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22833 conftest$ac_exeext conftest.$ac_ext
22834LIBS=$ac_check_lib_save_LIBS 12824LIBS=$ac_check_lib_save_LIBS
22835fi 12825fi
22836{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 12826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
22837$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 12827$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
22838if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 12828if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then :
22839 have_des=yes 12829 have_des=yes
22840else 12830else
22841 have_des=no 12831 have_des=no
@@ -22845,24 +12835,18 @@ fi
22845 DESLIB=-ldes 12835 DESLIB=-ldes
22846 LIBS="$DESLIB $LIBS" 12836 LIBS="$DESLIB $LIBS"
22847 12837
22848cat >>confdefs.h <<\_ACEOF 12838$as_echo "#define HAVE_LIBDES 1" >>confdefs.h
22849#define HAVE_LIBDES 1
22850_ACEOF
22851 12839
22852 fi 12840 fi
22853 fi 12841 fi
22854 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
22855$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 12843$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
22856if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 12844if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then :
22857 $as_echo_n "(cached) " >&6 12845 $as_echo_n "(cached) " >&6
22858else 12846else
22859 ac_check_lib_save_LIBS=$LIBS 12847 ac_check_lib_save_LIBS=$LIBS
22860LIBS="-lkrb4 $LIBS" 12848LIBS="-lkrb4 $LIBS"
22861cat >conftest.$ac_ext <<_ACEOF 12849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22862/* confdefs.h. */
22863_ACEOF
22864cat confdefs.h >>conftest.$ac_ext
22865cat >>conftest.$ac_ext <<_ACEOF
22866/* end confdefs.h. */ 12850/* end confdefs.h. */
22867 12851
22868/* Override any GCC internal prototype to avoid an error. 12852/* Override any GCC internal prototype to avoid an error.
@@ -22880,43 +12864,18 @@ return krb_get_cred ();
22880 return 0; 12864 return 0;
22881} 12865}
22882_ACEOF 12866_ACEOF
22883rm -f conftest.$ac_objext conftest$ac_exeext 12867if ac_fn_c_try_link "$LINENO"; then :
22884if { (ac_try="$ac_link"
22885case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22888esac
22889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22890$as_echo "$ac_try_echo") >&5
22891 (eval "$ac_link") 2>conftest.er1
22892 ac_status=$?
22893 grep -v '^ *+' conftest.er1 >conftest.err
22894 rm -f conftest.er1
22895 cat conftest.err >&5
22896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } && {
22898 test -z "$ac_c_werror_flag" ||
22899 test ! -s conftest.err
22900 } && test -s conftest$ac_exeext && {
22901 test "$cross_compiling" = yes ||
22902 $as_test_x conftest$ac_exeext
22903 }; then
22904 ac_cv_lib_krb4_krb_get_cred=yes 12868 ac_cv_lib_krb4_krb_get_cred=yes
22905else 12869else
22906 $as_echo "$as_me: failed program was:" >&5 12870 ac_cv_lib_krb4_krb_get_cred=no
22907sed 's/^/| /' conftest.$ac_ext >&5
22908
22909 ac_cv_lib_krb4_krb_get_cred=no
22910fi 12871fi
22911 12872rm -f core conftest.err conftest.$ac_objext \
22912rm -rf conftest.dSYM 12873 conftest$ac_exeext conftest.$ac_ext
22913rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22914 conftest$ac_exeext conftest.$ac_ext
22915LIBS=$ac_check_lib_save_LIBS 12874LIBS=$ac_check_lib_save_LIBS
22916fi 12875fi
22917{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 12876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
22918$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 12877$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
22919if test $ac_cv_lib_krb4_krb_get_cred = yes; then 12878if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then :
22920 have_krb4=yes 12879 have_krb4=yes
22921else 12880else
22922 have_krb4=no 12881 have_krb4=no
@@ -22926,23 +12885,17 @@ fi
22926 KRB4LIB=-lkrb4 12885 KRB4LIB=-lkrb4
22927 LIBS="$KRB4LIB $LIBS" 12886 LIBS="$KRB4LIB $LIBS"
22928 12887
22929cat >>confdefs.h <<\_ACEOF 12888$as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
22930#define HAVE_LIBKRB4 1
22931_ACEOF
22932 12889
22933 else 12890 else
22934 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
22935$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 12892$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
22936if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 12893if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then :
22937 $as_echo_n "(cached) " >&6 12894 $as_echo_n "(cached) " >&6
22938else 12895else
22939 ac_check_lib_save_LIBS=$LIBS 12896 ac_check_lib_save_LIBS=$LIBS
22940LIBS="-lkrb $LIBS" 12897LIBS="-lkrb $LIBS"
22941cat >conftest.$ac_ext <<_ACEOF 12898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22942/* confdefs.h. */
22943_ACEOF
22944cat confdefs.h >>conftest.$ac_ext
22945cat >>conftest.$ac_ext <<_ACEOF
22946/* end confdefs.h. */ 12899/* end confdefs.h. */
22947 12900
22948/* Override any GCC internal prototype to avoid an error. 12901/* Override any GCC internal prototype to avoid an error.
@@ -22960,43 +12913,18 @@ return krb_get_cred ();
22960 return 0; 12913 return 0;
22961} 12914}
22962_ACEOF 12915_ACEOF
22963rm -f conftest.$ac_objext conftest$ac_exeext 12916if ac_fn_c_try_link "$LINENO"; then :
22964if { (ac_try="$ac_link"
22965case "(($ac_try" in
22966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22967 *) ac_try_echo=$ac_try;;
22968esac
22969eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22970$as_echo "$ac_try_echo") >&5
22971 (eval "$ac_link") 2>conftest.er1
22972 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1
22975 cat conftest.err >&5
22976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } && {
22978 test -z "$ac_c_werror_flag" ||
22979 test ! -s conftest.err
22980 } && test -s conftest$ac_exeext && {
22981 test "$cross_compiling" = yes ||
22982 $as_test_x conftest$ac_exeext
22983 }; then
22984 ac_cv_lib_krb_krb_get_cred=yes 12917 ac_cv_lib_krb_krb_get_cred=yes
22985else 12918else
22986 $as_echo "$as_me: failed program was:" >&5 12919 ac_cv_lib_krb_krb_get_cred=no
22987sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 ac_cv_lib_krb_krb_get_cred=no
22990fi 12920fi
22991 12921rm -f core conftest.err conftest.$ac_objext \
22992rm -rf conftest.dSYM 12922 conftest$ac_exeext conftest.$ac_ext
22993rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22994 conftest$ac_exeext conftest.$ac_ext
22995LIBS=$ac_check_lib_save_LIBS 12923LIBS=$ac_check_lib_save_LIBS
22996fi 12924fi
22997{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 12925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
22998$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 12926$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
22999if test $ac_cv_lib_krb_krb_get_cred = yes; then 12927if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then :
23000 have_krb=yes 12928 have_krb=yes
23001else 12929else
23002 have_krb=no 12930 have_krb=no
@@ -23006,253 +12934,23 @@ fi
23006 KRB4LIB=-lkrb 12934 KRB4LIB=-lkrb
23007 LIBS="$KRB4LIB $LIBS" 12935 LIBS="$KRB4LIB $LIBS"
23008 12936
23009cat >>confdefs.h <<\_ACEOF 12937$as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
23010#define HAVE_LIBKRB 1
23011_ACEOF
23012 12938
23013 fi 12939 fi
23014 fi 12940 fi
23015 fi 12941 fi
23016 12942
23017 if test "${with_kerberos5}" != no; then 12943 if test "${with_kerberos5}" != no; then
23018 12944 for ac_header in krb5.h
23019for ac_header in krb5.h 12945do :
23020do 12946 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
23021as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12947if test "x$ac_cv_header_krb5_h" = x""yes; then :
23022if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23023 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23024$as_echo_n "checking for $ac_header... " >&6; }
23025if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23026 $as_echo_n "(cached) " >&6
23027fi
23028ac_res=`eval 'as_val=${'$as_ac_Header'}
23029 $as_echo "$as_val"'`
23030 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23031$as_echo "$ac_res" >&6; }
23032else
23033 # Is the header compilable?
23034{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23035$as_echo_n "checking $ac_header usability... " >&6; }
23036cat >conftest.$ac_ext <<_ACEOF
23037/* confdefs.h. */
23038_ACEOF
23039cat confdefs.h >>conftest.$ac_ext
23040cat >>conftest.$ac_ext <<_ACEOF
23041/* end confdefs.h. */
23042$ac_includes_default
23043#include <$ac_header>
23044_ACEOF
23045rm -f conftest.$ac_objext
23046if { (ac_try="$ac_compile"
23047case "(($ac_try" in
23048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23050esac
23051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23052$as_echo "$ac_try_echo") >&5
23053 (eval "$ac_compile") 2>conftest.er1
23054 ac_status=$?
23055 grep -v '^ *+' conftest.er1 >conftest.err
23056 rm -f conftest.er1
23057 cat conftest.err >&5
23058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); } && {
23060 test -z "$ac_c_werror_flag" ||
23061 test ! -s conftest.err
23062 } && test -s conftest.$ac_objext; then
23063 ac_header_compiler=yes
23064else
23065 $as_echo "$as_me: failed program was:" >&5
23066sed 's/^/| /' conftest.$ac_ext >&5
23067
23068 ac_header_compiler=no
23069fi
23070
23071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23072{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23073$as_echo "$ac_header_compiler" >&6; }
23074
23075# Is the header present?
23076{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23077$as_echo_n "checking $ac_header presence... " >&6; }
23078cat >conftest.$ac_ext <<_ACEOF
23079/* confdefs.h. */
23080_ACEOF
23081cat confdefs.h >>conftest.$ac_ext
23082cat >>conftest.$ac_ext <<_ACEOF
23083/* end confdefs.h. */
23084#include <$ac_header>
23085_ACEOF
23086if { (ac_try="$ac_cpp conftest.$ac_ext"
23087case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23090esac
23091eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23092$as_echo "$ac_try_echo") >&5
23093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23094 ac_status=$?
23095 grep -v '^ *+' conftest.er1 >conftest.err
23096 rm -f conftest.er1
23097 cat conftest.err >&5
23098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); } >/dev/null && {
23100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23101 test ! -s conftest.err
23102 }; then
23103 ac_header_preproc=yes
23104else
23105 $as_echo "$as_me: failed program was:" >&5
23106sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_header_preproc=no
23109fi
23110
23111rm -f conftest.err conftest.$ac_ext
23112{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23113$as_echo "$ac_header_preproc" >&6; }
23114
23115# So? What about this header?
23116case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23117 yes:no: )
23118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23119$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23121$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23122 ac_header_preproc=yes
23123 ;;
23124 no:yes:* )
23125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23126$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23128$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23130$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23132$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23134$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23136$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23137
23138 ;;
23139esac
23140{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23141$as_echo_n "checking for $ac_header... " >&6; }
23142if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23143 $as_echo_n "(cached) " >&6
23144else
23145 eval "$as_ac_Header=\$ac_header_preproc"
23146fi
23147ac_res=`eval 'as_val=${'$as_ac_Header'}
23148 $as_echo "$as_val"'`
23149 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23150$as_echo "$ac_res" >&6; }
23151
23152fi
23153if test `eval 'as_val=${'$as_ac_Header'}
23154 $as_echo "$as_val"'` = yes; then
23155 cat >>confdefs.h <<_ACEOF 12948 cat >>confdefs.h <<_ACEOF
23156#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12949#define HAVE_KRB5_H 1
23157_ACEOF 12950_ACEOF
23158 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 12951 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
23159$as_echo_n "checking for krb5_error.text... " >&6; } 12952"
23160if test "${ac_cv_member_krb5_error_text+set}" = set; then 12953if test "x$ac_cv_member_krb5_error_text" = x""yes; then :
23161 $as_echo_n "(cached) " >&6
23162else
23163 cat >conftest.$ac_ext <<_ACEOF
23164/* confdefs.h. */
23165_ACEOF
23166cat confdefs.h >>conftest.$ac_ext
23167cat >>conftest.$ac_ext <<_ACEOF
23168/* end confdefs.h. */
23169#include <krb5.h>
23170
23171int
23172main ()
23173{
23174static krb5_error ac_aggr;
23175if (ac_aggr.text)
23176return 0;
23177 ;
23178 return 0;
23179}
23180_ACEOF
23181rm -f conftest.$ac_objext
23182if { (ac_try="$ac_compile"
23183case "(($ac_try" in
23184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23185 *) ac_try_echo=$ac_try;;
23186esac
23187eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23188$as_echo "$ac_try_echo") >&5
23189 (eval "$ac_compile") 2>conftest.er1
23190 ac_status=$?
23191 grep -v '^ *+' conftest.er1 >conftest.err
23192 rm -f conftest.er1
23193 cat conftest.err >&5
23194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); } && {
23196 test -z "$ac_c_werror_flag" ||
23197 test ! -s conftest.err
23198 } && test -s conftest.$ac_objext; then
23199 ac_cv_member_krb5_error_text=yes
23200else
23201 $as_echo "$as_me: failed program was:" >&5
23202sed 's/^/| /' conftest.$ac_ext >&5
23203
23204 cat >conftest.$ac_ext <<_ACEOF
23205/* confdefs.h. */
23206_ACEOF
23207cat confdefs.h >>conftest.$ac_ext
23208cat >>conftest.$ac_ext <<_ACEOF
23209/* end confdefs.h. */
23210#include <krb5.h>
23211
23212int
23213main ()
23214{
23215static krb5_error ac_aggr;
23216if (sizeof ac_aggr.text)
23217return 0;
23218 ;
23219 return 0;
23220}
23221_ACEOF
23222rm -f conftest.$ac_objext
23223if { (ac_try="$ac_compile"
23224case "(($ac_try" in
23225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23226 *) ac_try_echo=$ac_try;;
23227esac
23228eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23229$as_echo "$ac_try_echo") >&5
23230 (eval "$ac_compile") 2>conftest.er1
23231 ac_status=$?
23232 grep -v '^ *+' conftest.er1 >conftest.err
23233 rm -f conftest.er1
23234 cat conftest.err >&5
23235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); } && {
23237 test -z "$ac_c_werror_flag" ||
23238 test ! -s conftest.err
23239 } && test -s conftest.$ac_objext; then
23240 ac_cv_member_krb5_error_text=yes
23241else
23242 $as_echo "$as_me: failed program was:" >&5
23243sed 's/^/| /' conftest.$ac_ext >&5
23244
23245 ac_cv_member_krb5_error_text=no
23246fi
23247
23248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249fi
23250
23251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23252fi
23253{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
23254$as_echo "$ac_cv_member_krb5_error_text" >&6; }
23255if test $ac_cv_member_krb5_error_text = yes; then
23256 12954
23257cat >>confdefs.h <<_ACEOF 12955cat >>confdefs.h <<_ACEOF
23258#define HAVE_KRB5_ERROR_TEXT 1 12956#define HAVE_KRB5_ERROR_TEXT 1
@@ -23260,104 +12958,9 @@ _ACEOF
23260 12958
23261 12959
23262fi 12960fi
23263{ $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 12961ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
23264$as_echo_n "checking for krb5_error.e_text... " >&6; } 12962"
23265if test "${ac_cv_member_krb5_error_e_text+set}" = set; then 12963if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then :
23266 $as_echo_n "(cached) " >&6
23267else
23268 cat >conftest.$ac_ext <<_ACEOF
23269/* confdefs.h. */
23270_ACEOF
23271cat confdefs.h >>conftest.$ac_ext
23272cat >>conftest.$ac_ext <<_ACEOF
23273/* end confdefs.h. */
23274#include <krb5.h>
23275
23276int
23277main ()
23278{
23279static krb5_error ac_aggr;
23280if (ac_aggr.e_text)
23281return 0;
23282 ;
23283 return 0;
23284}
23285_ACEOF
23286rm -f conftest.$ac_objext
23287if { (ac_try="$ac_compile"
23288case "(($ac_try" in
23289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23290 *) ac_try_echo=$ac_try;;
23291esac
23292eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23293$as_echo "$ac_try_echo") >&5
23294 (eval "$ac_compile") 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && {
23301 test -z "$ac_c_werror_flag" ||
23302 test ! -s conftest.err
23303 } && test -s conftest.$ac_objext; then
23304 ac_cv_member_krb5_error_e_text=yes
23305else
23306 $as_echo "$as_me: failed program was:" >&5
23307sed 's/^/| /' conftest.$ac_ext >&5
23308
23309 cat >conftest.$ac_ext <<_ACEOF
23310/* confdefs.h. */
23311_ACEOF
23312cat confdefs.h >>conftest.$ac_ext
23313cat >>conftest.$ac_ext <<_ACEOF
23314/* end confdefs.h. */
23315#include <krb5.h>
23316
23317int
23318main ()
23319{
23320static krb5_error ac_aggr;
23321if (sizeof ac_aggr.e_text)
23322return 0;
23323 ;
23324 return 0;
23325}
23326_ACEOF
23327rm -f conftest.$ac_objext
23328if { (ac_try="$ac_compile"
23329case "(($ac_try" in
23330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23331 *) ac_try_echo=$ac_try;;
23332esac
23333eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23334$as_echo "$ac_try_echo") >&5
23335 (eval "$ac_compile") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest.$ac_objext; then
23345 ac_cv_member_krb5_error_e_text=yes
23346else
23347 $as_echo "$as_me: failed program was:" >&5
23348sed 's/^/| /' conftest.$ac_ext >&5
23349
23350 ac_cv_member_krb5_error_e_text=no
23351fi
23352
23353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354fi
23355
23356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23357fi
23358{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
23359$as_echo "$ac_cv_member_krb5_error_e_text" >&6; }
23360if test $ac_cv_member_krb5_error_e_text = yes; then
23361 12964
23362cat >>confdefs.h <<_ACEOF 12965cat >>confdefs.h <<_ACEOF
23363#define HAVE_KRB5_ERROR_E_TEXT 1 12966#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -23371,429 +12974,30 @@ fi
23371done 12974done
23372 12975
23373 else 12976 else
23374 12977 for ac_header in des.h
23375for ac_header in des.h 12978do :
23376do 12979 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
23377as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12980if test "x$ac_cv_header_des_h" = x""yes; then :
23378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23379 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23380$as_echo_n "checking for $ac_header... " >&6; }
23381if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23382 $as_echo_n "(cached) " >&6
23383fi
23384ac_res=`eval 'as_val=${'$as_ac_Header'}
23385 $as_echo "$as_val"'`
23386 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23387$as_echo "$ac_res" >&6; }
23388else
23389 # Is the header compilable?
23390{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23391$as_echo_n "checking $ac_header usability... " >&6; }
23392cat >conftest.$ac_ext <<_ACEOF
23393/* confdefs.h. */
23394_ACEOF
23395cat confdefs.h >>conftest.$ac_ext
23396cat >>conftest.$ac_ext <<_ACEOF
23397/* end confdefs.h. */
23398$ac_includes_default
23399#include <$ac_header>
23400_ACEOF
23401rm -f conftest.$ac_objext
23402if { (ac_try="$ac_compile"
23403case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406esac
23407eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23408$as_echo "$ac_try_echo") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23410 ac_status=$?
23411 grep -v '^ *+' conftest.er1 >conftest.err
23412 rm -f conftest.er1
23413 cat conftest.err >&5
23414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_c_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 ac_header_compiler=yes
23420else
23421 $as_echo "$as_me: failed program was:" >&5
23422sed 's/^/| /' conftest.$ac_ext >&5
23423
23424 ac_header_compiler=no
23425fi
23426
23427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23429$as_echo "$ac_header_compiler" >&6; }
23430
23431# Is the header present?
23432{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23433$as_echo_n "checking $ac_header presence... " >&6; }
23434cat >conftest.$ac_ext <<_ACEOF
23435/* confdefs.h. */
23436_ACEOF
23437cat confdefs.h >>conftest.$ac_ext
23438cat >>conftest.$ac_ext <<_ACEOF
23439/* end confdefs.h. */
23440#include <$ac_header>
23441_ACEOF
23442if { (ac_try="$ac_cpp conftest.$ac_ext"
23443case "(($ac_try" in
23444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23445 *) ac_try_echo=$ac_try;;
23446esac
23447eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23448$as_echo "$ac_try_echo") >&5
23449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23450 ac_status=$?
23451 grep -v '^ *+' conftest.er1 >conftest.err
23452 rm -f conftest.er1
23453 cat conftest.err >&5
23454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); } >/dev/null && {
23456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23457 test ! -s conftest.err
23458 }; then
23459 ac_header_preproc=yes
23460else
23461 $as_echo "$as_me: failed program was:" >&5
23462sed 's/^/| /' conftest.$ac_ext >&5
23463
23464 ac_header_preproc=no
23465fi
23466
23467rm -f conftest.err conftest.$ac_ext
23468{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23469$as_echo "$ac_header_preproc" >&6; }
23470
23471# So? What about this header?
23472case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23473 yes:no: )
23474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23475$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23476 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23477$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23478 ac_header_preproc=yes
23479 ;;
23480 no:yes:* )
23481 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23482$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23484$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23486$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23488$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23490$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23491 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23492$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23493
23494 ;;
23495esac
23496{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23497$as_echo_n "checking for $ac_header... " >&6; }
23498if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23499 $as_echo_n "(cached) " >&6
23500else
23501 eval "$as_ac_Header=\$ac_header_preproc"
23502fi
23503ac_res=`eval 'as_val=${'$as_ac_Header'}
23504 $as_echo "$as_val"'`
23505 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23506$as_echo "$ac_res" >&6; }
23507
23508fi
23509if test `eval 'as_val=${'$as_ac_Header'}
23510 $as_echo "$as_val"'` = yes; then
23511 cat >>confdefs.h <<_ACEOF 12981 cat >>confdefs.h <<_ACEOF
23512#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12982#define HAVE_DES_H 1
23513_ACEOF
23514
23515else
23516
23517for ac_header in kerberosIV/des.h
23518do
23519as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23520if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23521 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23522$as_echo_n "checking for $ac_header... " >&6; }
23523if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23524 $as_echo_n "(cached) " >&6
23525fi
23526ac_res=`eval 'as_val=${'$as_ac_Header'}
23527 $as_echo "$as_val"'`
23528 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23529$as_echo "$ac_res" >&6; }
23530else
23531 # Is the header compilable?
23532{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23533$as_echo_n "checking $ac_header usability... " >&6; }
23534cat >conftest.$ac_ext <<_ACEOF
23535/* confdefs.h. */
23536_ACEOF
23537cat confdefs.h >>conftest.$ac_ext
23538cat >>conftest.$ac_ext <<_ACEOF
23539/* end confdefs.h. */
23540$ac_includes_default
23541#include <$ac_header>
23542_ACEOF
23543rm -f conftest.$ac_objext
23544if { (ac_try="$ac_compile"
23545case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23548esac
23549eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23550$as_echo "$ac_try_echo") >&5
23551 (eval "$ac_compile") 2>conftest.er1
23552 ac_status=$?
23553 grep -v '^ *+' conftest.er1 >conftest.err
23554 rm -f conftest.er1
23555 cat conftest.err >&5
23556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); } && {
23558 test -z "$ac_c_werror_flag" ||
23559 test ! -s conftest.err
23560 } && test -s conftest.$ac_objext; then
23561 ac_header_compiler=yes
23562else
23563 $as_echo "$as_me: failed program was:" >&5
23564sed 's/^/| /' conftest.$ac_ext >&5
23565
23566 ac_header_compiler=no
23567fi
23568
23569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23570{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23571$as_echo "$ac_header_compiler" >&6; }
23572
23573# Is the header present?
23574{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23575$as_echo_n "checking $ac_header presence... " >&6; }
23576cat >conftest.$ac_ext <<_ACEOF
23577/* confdefs.h. */
23578_ACEOF
23579cat confdefs.h >>conftest.$ac_ext
23580cat >>conftest.$ac_ext <<_ACEOF
23581/* end confdefs.h. */
23582#include <$ac_header>
23583_ACEOF 12983_ACEOF
23584if { (ac_try="$ac_cpp conftest.$ac_ext"
23585case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23588esac
23589eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23590$as_echo "$ac_try_echo") >&5
23591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23592 ac_status=$?
23593 grep -v '^ *+' conftest.er1 >conftest.err
23594 rm -f conftest.er1
23595 cat conftest.err >&5
23596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } >/dev/null && {
23598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23599 test ! -s conftest.err
23600 }; then
23601 ac_header_preproc=yes
23602else
23603 $as_echo "$as_me: failed program was:" >&5
23604sed 's/^/| /' conftest.$ac_ext >&5
23605 12984
23606 ac_header_preproc=no
23607fi
23608
23609rm -f conftest.err conftest.$ac_ext
23610{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23611$as_echo "$ac_header_preproc" >&6; }
23612
23613# So? What about this header?
23614case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23615 yes:no: )
23616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23617$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23618 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23619$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23620 ac_header_preproc=yes
23621 ;;
23622 no:yes:* )
23623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23624$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23626$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23628$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23629 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23630$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23632$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23634$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23635
23636 ;;
23637esac
23638{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23639$as_echo_n "checking for $ac_header... " >&6; }
23640if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23641 $as_echo_n "(cached) " >&6
23642else 12985else
23643 eval "$as_ac_Header=\$ac_header_preproc" 12986 for ac_header in kerberosIV/des.h
23644fi 12987do :
23645ac_res=`eval 'as_val=${'$as_ac_Header'} 12988 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
23646 $as_echo "$as_val"'` 12989if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then :
23647 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23648$as_echo "$ac_res" >&6; }
23649
23650fi
23651if test `eval 'as_val=${'$as_ac_Header'}
23652 $as_echo "$as_val"'` = yes; then
23653 cat >>confdefs.h <<_ACEOF 12990 cat >>confdefs.h <<_ACEOF
23654#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12991#define HAVE_KERBEROSIV_DES_H 1
23655_ACEOF
23656
23657else
23658
23659for ac_header in kerberos/des.h
23660do
23661as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23662if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23663 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23664$as_echo_n "checking for $ac_header... " >&6; }
23665if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23666 $as_echo_n "(cached) " >&6
23667fi
23668ac_res=`eval 'as_val=${'$as_ac_Header'}
23669 $as_echo "$as_val"'`
23670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23671$as_echo "$ac_res" >&6; }
23672else
23673 # Is the header compilable?
23674{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23675$as_echo_n "checking $ac_header usability... " >&6; }
23676cat >conftest.$ac_ext <<_ACEOF
23677/* confdefs.h. */
23678_ACEOF
23679cat confdefs.h >>conftest.$ac_ext
23680cat >>conftest.$ac_ext <<_ACEOF
23681/* end confdefs.h. */
23682$ac_includes_default
23683#include <$ac_header>
23684_ACEOF
23685rm -f conftest.$ac_objext
23686if { (ac_try="$ac_compile"
23687case "(($ac_try" in
23688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23689 *) ac_try_echo=$ac_try;;
23690esac
23691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23692$as_echo "$ac_try_echo") >&5
23693 (eval "$ac_compile") 2>conftest.er1
23694 ac_status=$?
23695 grep -v '^ *+' conftest.er1 >conftest.err
23696 rm -f conftest.er1
23697 cat conftest.err >&5
23698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); } && {
23700 test -z "$ac_c_werror_flag" ||
23701 test ! -s conftest.err
23702 } && test -s conftest.$ac_objext; then
23703 ac_header_compiler=yes
23704else
23705 $as_echo "$as_me: failed program was:" >&5
23706sed 's/^/| /' conftest.$ac_ext >&5
23707
23708 ac_header_compiler=no
23709fi
23710
23711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23712{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23713$as_echo "$ac_header_compiler" >&6; }
23714
23715# Is the header present?
23716{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23717$as_echo_n "checking $ac_header presence... " >&6; }
23718cat >conftest.$ac_ext <<_ACEOF
23719/* confdefs.h. */
23720_ACEOF 12992_ACEOF
23721cat confdefs.h >>conftest.$ac_ext
23722cat >>conftest.$ac_ext <<_ACEOF
23723/* end confdefs.h. */
23724#include <$ac_header>
23725_ACEOF
23726if { (ac_try="$ac_cpp conftest.$ac_ext"
23727case "(($ac_try" in
23728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23729 *) ac_try_echo=$ac_try;;
23730esac
23731eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23732$as_echo "$ac_try_echo") >&5
23733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23734 ac_status=$?
23735 grep -v '^ *+' conftest.er1 >conftest.err
23736 rm -f conftest.er1
23737 cat conftest.err >&5
23738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } >/dev/null && {
23740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23741 test ! -s conftest.err
23742 }; then
23743 ac_header_preproc=yes
23744else
23745 $as_echo "$as_me: failed program was:" >&5
23746sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 ac_header_preproc=no
23749fi
23750 12993
23751rm -f conftest.err conftest.$ac_ext
23752{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23753$as_echo "$ac_header_preproc" >&6; }
23754
23755# So? What about this header?
23756case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23757 yes:no: )
23758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23759$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23761$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23762 ac_header_preproc=yes
23763 ;;
23764 no:yes:* )
23765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23766$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23768$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23770$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23772$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23774$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23776$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23777
23778 ;;
23779esac
23780{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23781$as_echo_n "checking for $ac_header... " >&6; }
23782if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23783 $as_echo_n "(cached) " >&6
23784else 12994else
23785 eval "$as_ac_Header=\$ac_header_preproc" 12995 for ac_header in kerberos/des.h
23786fi 12996do :
23787ac_res=`eval 'as_val=${'$as_ac_Header'} 12997 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
23788 $as_echo "$as_val"'` 12998if test "x$ac_cv_header_kerberos_des_h" = x""yes; then :
23789 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23790$as_echo "$ac_res" >&6; }
23791
23792fi
23793if test `eval 'as_val=${'$as_ac_Header'}
23794 $as_echo "$as_val"'` = yes; then
23795 cat >>confdefs.h <<_ACEOF 12999 cat >>confdefs.h <<_ACEOF
23796#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13000#define HAVE_KERBEROS_DES_H 1
23797_ACEOF 13001_ACEOF
23798 13002
23799fi 13003fi
@@ -23808,429 +13012,30 @@ fi
23808 13012
23809done 13013done
23810 13014
23811 13015 for ac_header in krb.h
23812for ac_header in krb.h 13016do :
23813do 13017 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
23814as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13018if test "x$ac_cv_header_krb_h" = x""yes; then :
23815if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23816 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23817$as_echo_n "checking for $ac_header... " >&6; }
23818if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23819 $as_echo_n "(cached) " >&6
23820fi
23821ac_res=`eval 'as_val=${'$as_ac_Header'}
23822 $as_echo "$as_val"'`
23823 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23824$as_echo "$ac_res" >&6; }
23825else
23826 # Is the header compilable?
23827{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23828$as_echo_n "checking $ac_header usability... " >&6; }
23829cat >conftest.$ac_ext <<_ACEOF
23830/* confdefs.h. */
23831_ACEOF
23832cat confdefs.h >>conftest.$ac_ext
23833cat >>conftest.$ac_ext <<_ACEOF
23834/* end confdefs.h. */
23835$ac_includes_default
23836#include <$ac_header>
23837_ACEOF
23838rm -f conftest.$ac_objext
23839if { (ac_try="$ac_compile"
23840case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23843esac
23844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23845$as_echo "$ac_try_echo") >&5
23846 (eval "$ac_compile") 2>conftest.er1
23847 ac_status=$?
23848 grep -v '^ *+' conftest.er1 >conftest.err
23849 rm -f conftest.er1
23850 cat conftest.err >&5
23851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); } && {
23853 test -z "$ac_c_werror_flag" ||
23854 test ! -s conftest.err
23855 } && test -s conftest.$ac_objext; then
23856 ac_header_compiler=yes
23857else
23858 $as_echo "$as_me: failed program was:" >&5
23859sed 's/^/| /' conftest.$ac_ext >&5
23860
23861 ac_header_compiler=no
23862fi
23863
23864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23865{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23866$as_echo "$ac_header_compiler" >&6; }
23867
23868# Is the header present?
23869{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23870$as_echo_n "checking $ac_header presence... " >&6; }
23871cat >conftest.$ac_ext <<_ACEOF
23872/* confdefs.h. */
23873_ACEOF
23874cat confdefs.h >>conftest.$ac_ext
23875cat >>conftest.$ac_ext <<_ACEOF
23876/* end confdefs.h. */
23877#include <$ac_header>
23878_ACEOF
23879if { (ac_try="$ac_cpp conftest.$ac_ext"
23880case "(($ac_try" in
23881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23882 *) ac_try_echo=$ac_try;;
23883esac
23884eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23885$as_echo "$ac_try_echo") >&5
23886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23887 ac_status=$?
23888 grep -v '^ *+' conftest.er1 >conftest.err
23889 rm -f conftest.er1
23890 cat conftest.err >&5
23891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); } >/dev/null && {
23893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23894 test ! -s conftest.err
23895 }; then
23896 ac_header_preproc=yes
23897else
23898 $as_echo "$as_me: failed program was:" >&5
23899sed 's/^/| /' conftest.$ac_ext >&5
23900
23901 ac_header_preproc=no
23902fi
23903
23904rm -f conftest.err conftest.$ac_ext
23905{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23906$as_echo "$ac_header_preproc" >&6; }
23907
23908# So? What about this header?
23909case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23910 yes:no: )
23911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23912$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23914$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23915 ac_header_preproc=yes
23916 ;;
23917 no:yes:* )
23918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23919$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23920 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23921$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23922 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23923$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23924 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23925$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23926 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23927$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23929$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23930
23931 ;;
23932esac
23933{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23934$as_echo_n "checking for $ac_header... " >&6; }
23935if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23936 $as_echo_n "(cached) " >&6
23937else
23938 eval "$as_ac_Header=\$ac_header_preproc"
23939fi
23940ac_res=`eval 'as_val=${'$as_ac_Header'}
23941 $as_echo "$as_val"'`
23942 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23943$as_echo "$ac_res" >&6; }
23944
23945fi
23946if test `eval 'as_val=${'$as_ac_Header'}
23947 $as_echo "$as_val"'` = yes; then
23948 cat >>confdefs.h <<_ACEOF 13019 cat >>confdefs.h <<_ACEOF
23949#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13020#define HAVE_KRB_H 1
23950_ACEOF
23951
23952else
23953
23954for ac_header in kerberosIV/krb.h
23955do
23956as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23957if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23958 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23959$as_echo_n "checking for $ac_header... " >&6; }
23960if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23961 $as_echo_n "(cached) " >&6
23962fi
23963ac_res=`eval 'as_val=${'$as_ac_Header'}
23964 $as_echo "$as_val"'`
23965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23966$as_echo "$ac_res" >&6; }
23967else
23968 # Is the header compilable?
23969{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23970$as_echo_n "checking $ac_header usability... " >&6; }
23971cat >conftest.$ac_ext <<_ACEOF
23972/* confdefs.h. */
23973_ACEOF
23974cat confdefs.h >>conftest.$ac_ext
23975cat >>conftest.$ac_ext <<_ACEOF
23976/* end confdefs.h. */
23977$ac_includes_default
23978#include <$ac_header>
23979_ACEOF
23980rm -f conftest.$ac_objext
23981if { (ac_try="$ac_compile"
23982case "(($ac_try" in
23983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23984 *) ac_try_echo=$ac_try;;
23985esac
23986eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23987$as_echo "$ac_try_echo") >&5
23988 (eval "$ac_compile") 2>conftest.er1
23989 ac_status=$?
23990 grep -v '^ *+' conftest.er1 >conftest.err
23991 rm -f conftest.er1
23992 cat conftest.err >&5
23993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); } && {
23995 test -z "$ac_c_werror_flag" ||
23996 test ! -s conftest.err
23997 } && test -s conftest.$ac_objext; then
23998 ac_header_compiler=yes
23999else
24000 $as_echo "$as_me: failed program was:" >&5
24001sed 's/^/| /' conftest.$ac_ext >&5
24002
24003 ac_header_compiler=no
24004fi
24005
24006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24007{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24008$as_echo "$ac_header_compiler" >&6; }
24009
24010# Is the header present?
24011{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24012$as_echo_n "checking $ac_header presence... " >&6; }
24013cat >conftest.$ac_ext <<_ACEOF
24014/* confdefs.h. */
24015_ACEOF
24016cat confdefs.h >>conftest.$ac_ext
24017cat >>conftest.$ac_ext <<_ACEOF
24018/* end confdefs.h. */
24019#include <$ac_header>
24020_ACEOF 13021_ACEOF
24021if { (ac_try="$ac_cpp conftest.$ac_ext"
24022case "(($ac_try" in
24023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24024 *) ac_try_echo=$ac_try;;
24025esac
24026eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24027$as_echo "$ac_try_echo") >&5
24028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } >/dev/null && {
24035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 }; then
24038 ac_header_preproc=yes
24039else
24040 $as_echo "$as_me: failed program was:" >&5
24041sed 's/^/| /' conftest.$ac_ext >&5
24042
24043 ac_header_preproc=no
24044fi
24045
24046rm -f conftest.err conftest.$ac_ext
24047{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24048$as_echo "$ac_header_preproc" >&6; }
24049 13022
24050# So? What about this header?
24051case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24052 yes:no: )
24053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24054$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24056$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24057 ac_header_preproc=yes
24058 ;;
24059 no:yes:* )
24060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24061$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24063$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24065$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24067$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24069$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24071$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24072
24073 ;;
24074esac
24075{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24076$as_echo_n "checking for $ac_header... " >&6; }
24077if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24078 $as_echo_n "(cached) " >&6
24079else 13023else
24080 eval "$as_ac_Header=\$ac_header_preproc" 13024 for ac_header in kerberosIV/krb.h
24081fi 13025do :
24082ac_res=`eval 'as_val=${'$as_ac_Header'} 13026 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
24083 $as_echo "$as_val"'` 13027if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then :
24084 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24085$as_echo "$ac_res" >&6; }
24086
24087fi
24088if test `eval 'as_val=${'$as_ac_Header'}
24089 $as_echo "$as_val"'` = yes; then
24090 cat >>confdefs.h <<_ACEOF 13028 cat >>confdefs.h <<_ACEOF
24091#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13029#define HAVE_KERBEROSIV_KRB_H 1
24092_ACEOF 13030_ACEOF
24093 13031
24094else 13032else
24095 13033 for ac_header in kerberos/krb.h
24096for ac_header in kerberos/krb.h 13034do :
24097do 13035 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
24098as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13036if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then :
24099if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24100 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24101$as_echo_n "checking for $ac_header... " >&6; }
24102if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24103 $as_echo_n "(cached) " >&6
24104fi
24105ac_res=`eval 'as_val=${'$as_ac_Header'}
24106 $as_echo "$as_val"'`
24107 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24108$as_echo "$ac_res" >&6; }
24109else
24110 # Is the header compilable?
24111{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24112$as_echo_n "checking $ac_header usability... " >&6; }
24113cat >conftest.$ac_ext <<_ACEOF
24114/* confdefs.h. */
24115_ACEOF
24116cat confdefs.h >>conftest.$ac_ext
24117cat >>conftest.$ac_ext <<_ACEOF
24118/* end confdefs.h. */
24119$ac_includes_default
24120#include <$ac_header>
24121_ACEOF
24122rm -f conftest.$ac_objext
24123if { (ac_try="$ac_compile"
24124case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24127esac
24128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24129$as_echo "$ac_try_echo") >&5
24130 (eval "$ac_compile") 2>conftest.er1
24131 ac_status=$?
24132 grep -v '^ *+' conftest.er1 >conftest.err
24133 rm -f conftest.er1
24134 cat conftest.err >&5
24135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } && {
24137 test -z "$ac_c_werror_flag" ||
24138 test ! -s conftest.err
24139 } && test -s conftest.$ac_objext; then
24140 ac_header_compiler=yes
24141else
24142 $as_echo "$as_me: failed program was:" >&5
24143sed 's/^/| /' conftest.$ac_ext >&5
24144
24145 ac_header_compiler=no
24146fi
24147
24148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24149{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24150$as_echo "$ac_header_compiler" >&6; }
24151
24152# Is the header present?
24153{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24154$as_echo_n "checking $ac_header presence... " >&6; }
24155cat >conftest.$ac_ext <<_ACEOF
24156/* confdefs.h. */
24157_ACEOF
24158cat confdefs.h >>conftest.$ac_ext
24159cat >>conftest.$ac_ext <<_ACEOF
24160/* end confdefs.h. */
24161#include <$ac_header>
24162_ACEOF
24163if { (ac_try="$ac_cpp conftest.$ac_ext"
24164case "(($ac_try" in
24165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24166 *) ac_try_echo=$ac_try;;
24167esac
24168eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24169$as_echo "$ac_try_echo") >&5
24170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24171 ac_status=$?
24172 grep -v '^ *+' conftest.er1 >conftest.err
24173 rm -f conftest.er1
24174 cat conftest.err >&5
24175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } >/dev/null && {
24177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24178 test ! -s conftest.err
24179 }; then
24180 ac_header_preproc=yes
24181else
24182 $as_echo "$as_me: failed program was:" >&5
24183sed 's/^/| /' conftest.$ac_ext >&5
24184
24185 ac_header_preproc=no
24186fi
24187
24188rm -f conftest.err conftest.$ac_ext
24189{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24190$as_echo "$ac_header_preproc" >&6; }
24191
24192# So? What about this header?
24193case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24194 yes:no: )
24195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24196$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24198$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24199 ac_header_preproc=yes
24200 ;;
24201 no:yes:* )
24202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24203$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24205$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24207$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24209$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24210 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24211$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24213$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24214
24215 ;;
24216esac
24217{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24218$as_echo_n "checking for $ac_header... " >&6; }
24219if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24220 $as_echo_n "(cached) " >&6
24221else
24222 eval "$as_ac_Header=\$ac_header_preproc"
24223fi
24224ac_res=`eval 'as_val=${'$as_ac_Header'}
24225 $as_echo "$as_val"'`
24226 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24227$as_echo "$ac_res" >&6; }
24228
24229fi
24230if test `eval 'as_val=${'$as_ac_Header'}
24231 $as_echo "$as_val"'` = yes; then
24232 cat >>confdefs.h <<_ACEOF 13037 cat >>confdefs.h <<_ACEOF
24233#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13038#define HAVE_KERBEROS_KRB_H 1
24234_ACEOF 13039_ACEOF
24235 13040
24236fi 13041fi
@@ -24246,145 +13051,12 @@ fi
24246done 13051done
24247 13052
24248 fi 13053 fi
24249 13054 for ac_header in com_err.h
24250for ac_header in com_err.h 13055do :
24251do 13056 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
24252as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13057if test "x$ac_cv_header_com_err_h" = x""yes; then :
24253if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24254 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24255$as_echo_n "checking for $ac_header... " >&6; }
24256if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24257 $as_echo_n "(cached) " >&6
24258fi
24259ac_res=`eval 'as_val=${'$as_ac_Header'}
24260 $as_echo "$as_val"'`
24261 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24262$as_echo "$ac_res" >&6; }
24263else
24264 # Is the header compilable?
24265{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24266$as_echo_n "checking $ac_header usability... " >&6; }
24267cat >conftest.$ac_ext <<_ACEOF
24268/* confdefs.h. */
24269_ACEOF
24270cat confdefs.h >>conftest.$ac_ext
24271cat >>conftest.$ac_ext <<_ACEOF
24272/* end confdefs.h. */
24273$ac_includes_default
24274#include <$ac_header>
24275_ACEOF
24276rm -f conftest.$ac_objext
24277if { (ac_try="$ac_compile"
24278case "(($ac_try" in
24279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24281esac
24282eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24283$as_echo "$ac_try_echo") >&5
24284 (eval "$ac_compile") 2>conftest.er1
24285 ac_status=$?
24286 grep -v '^ *+' conftest.er1 >conftest.err
24287 rm -f conftest.er1
24288 cat conftest.err >&5
24289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } && {
24291 test -z "$ac_c_werror_flag" ||
24292 test ! -s conftest.err
24293 } && test -s conftest.$ac_objext; then
24294 ac_header_compiler=yes
24295else
24296 $as_echo "$as_me: failed program was:" >&5
24297sed 's/^/| /' conftest.$ac_ext >&5
24298
24299 ac_header_compiler=no
24300fi
24301
24302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24304$as_echo "$ac_header_compiler" >&6; }
24305
24306# Is the header present?
24307{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24308$as_echo_n "checking $ac_header presence... " >&6; }
24309cat >conftest.$ac_ext <<_ACEOF
24310/* confdefs.h. */
24311_ACEOF
24312cat confdefs.h >>conftest.$ac_ext
24313cat >>conftest.$ac_ext <<_ACEOF
24314/* end confdefs.h. */
24315#include <$ac_header>
24316_ACEOF
24317if { (ac_try="$ac_cpp conftest.$ac_ext"
24318case "(($ac_try" in
24319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24320 *) ac_try_echo=$ac_try;;
24321esac
24322eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24323$as_echo "$ac_try_echo") >&5
24324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24325 ac_status=$?
24326 grep -v '^ *+' conftest.er1 >conftest.err
24327 rm -f conftest.er1
24328 cat conftest.err >&5
24329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } >/dev/null && {
24331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24332 test ! -s conftest.err
24333 }; then
24334 ac_header_preproc=yes
24335else
24336 $as_echo "$as_me: failed program was:" >&5
24337sed 's/^/| /' conftest.$ac_ext >&5
24338
24339 ac_header_preproc=no
24340fi
24341
24342rm -f conftest.err conftest.$ac_ext
24343{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24344$as_echo "$ac_header_preproc" >&6; }
24345
24346# So? What about this header?
24347case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24348 yes:no: )
24349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24350$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24352$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24353 ac_header_preproc=yes
24354 ;;
24355 no:yes:* )
24356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24357$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24359$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24361$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24363$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24365$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24367$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24368
24369 ;;
24370esac
24371{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24372$as_echo_n "checking for $ac_header... " >&6; }
24373if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24374 $as_echo_n "(cached) " >&6
24375else
24376 eval "$as_ac_Header=\$ac_header_preproc"
24377fi
24378ac_res=`eval 'as_val=${'$as_ac_Header'}
24379 $as_echo "$as_val"'`
24380 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24381$as_echo "$ac_res" >&6; }
24382
24383fi
24384if test `eval 'as_val=${'$as_ac_Header'}
24385 $as_echo "$as_val"'` = yes; then
24386 cat >>confdefs.h <<_ACEOF 13058 cat >>confdefs.h <<_ACEOF
24387#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13059#define HAVE_COM_ERR_H 1
24388_ACEOF 13060_ACEOF
24389 13061
24390fi 13062fi
@@ -24401,19 +13073,14 @@ fi
24401 13073
24402# Solaris requires -lintl if you want strerror (which calls dgettext) 13074# Solaris requires -lintl if you want strerror (which calls dgettext)
24403# to return localized messages. 13075# to return localized messages.
24404 13076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
24405{ $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
24406$as_echo_n "checking for dgettext in -lintl... " >&6; } 13077$as_echo_n "checking for dgettext in -lintl... " >&6; }
24407if test "${ac_cv_lib_intl_dgettext+set}" = set; then 13078if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
24408 $as_echo_n "(cached) " >&6 13079 $as_echo_n "(cached) " >&6
24409else 13080else
24410 ac_check_lib_save_LIBS=$LIBS 13081 ac_check_lib_save_LIBS=$LIBS
24411LIBS="-lintl $LIBS" 13082LIBS="-lintl $LIBS"
24412cat >conftest.$ac_ext <<_ACEOF 13083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413/* confdefs.h. */
24414_ACEOF
24415cat confdefs.h >>conftest.$ac_ext
24416cat >>conftest.$ac_ext <<_ACEOF
24417/* end confdefs.h. */ 13084/* end confdefs.h. */
24418 13085
24419/* Override any GCC internal prototype to avoid an error. 13086/* Override any GCC internal prototype to avoid an error.
@@ -24431,43 +13098,18 @@ return dgettext ();
24431 return 0; 13098 return 0;
24432} 13099}
24433_ACEOF 13100_ACEOF
24434rm -f conftest.$ac_objext conftest$ac_exeext 13101if ac_fn_c_try_link "$LINENO"; then :
24435if { (ac_try="$ac_link"
24436case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;;
24439esac
24440eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24441$as_echo "$ac_try_echo") >&5
24442 (eval "$ac_link") 2>conftest.er1
24443 ac_status=$?
24444 grep -v '^ *+' conftest.er1 >conftest.err
24445 rm -f conftest.er1
24446 cat conftest.err >&5
24447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); } && {
24449 test -z "$ac_c_werror_flag" ||
24450 test ! -s conftest.err
24451 } && test -s conftest$ac_exeext && {
24452 test "$cross_compiling" = yes ||
24453 $as_test_x conftest$ac_exeext
24454 }; then
24455 ac_cv_lib_intl_dgettext=yes 13102 ac_cv_lib_intl_dgettext=yes
24456else 13103else
24457 $as_echo "$as_me: failed program was:" >&5 13104 ac_cv_lib_intl_dgettext=no
24458sed 's/^/| /' conftest.$ac_ext >&5
24459
24460 ac_cv_lib_intl_dgettext=no
24461fi 13105fi
24462 13106rm -f core conftest.err conftest.$ac_objext \
24463rm -rf conftest.dSYM 13107 conftest$ac_exeext conftest.$ac_ext
24464rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24465 conftest$ac_exeext conftest.$ac_ext
24466LIBS=$ac_check_lib_save_LIBS 13108LIBS=$ac_check_lib_save_LIBS
24467fi 13109fi
24468{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 13110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
24469$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 13111$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
24470if test $ac_cv_lib_intl_dgettext = yes; then 13112if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
24471 cat >>confdefs.h <<_ACEOF 13113 cat >>confdefs.h <<_ACEOF
24472#define HAVE_LIBINTL 1 13114#define HAVE_LIBINTL 1
24473_ACEOF 13115_ACEOF
@@ -24477,21 +13119,17 @@ _ACEOF
24477fi 13119fi
24478 13120
24479 13121
24480{ $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 13122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
24481$as_echo_n "checking whether localtime caches TZ... " >&6; } 13123$as_echo_n "checking whether localtime caches TZ... " >&6; }
24482if test "${emacs_cv_localtime_cache+set}" = set; then 13124if test "${emacs_cv_localtime_cache+set}" = set; then :
24483 $as_echo_n "(cached) " >&6 13125 $as_echo_n "(cached) " >&6
24484else 13126else
24485 if test x$ac_cv_func_tzset = xyes; then 13127 if test x$ac_cv_func_tzset = xyes; then
24486if test "$cross_compiling" = yes; then 13128if test "$cross_compiling" = yes; then :
24487 # If we have tzset, assume the worst when cross-compiling. 13129 # If we have tzset, assume the worst when cross-compiling.
24488emacs_cv_localtime_cache=yes 13130emacs_cv_localtime_cache=yes
24489else 13131else
24490 cat >conftest.$ac_ext <<_ACEOF 13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24491/* confdefs.h. */
24492_ACEOF
24493cat confdefs.h >>conftest.$ac_ext
24494cat >>conftest.$ac_ext <<_ACEOF
24495/* end confdefs.h. */ 13133/* end confdefs.h. */
24496#include <time.h> 13134#include <time.h>
24497extern char **environ; 13135extern char **environ;
@@ -24523,170 +13161,48 @@ main()
24523 exit (0); 13161 exit (0);
24524} 13162}
24525_ACEOF 13163_ACEOF
24526rm -f conftest$ac_exeext 13164if ac_fn_c_try_run "$LINENO"; then :
24527if { (ac_try="$ac_link"
24528case "(($ac_try" in
24529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24530 *) ac_try_echo=$ac_try;;
24531esac
24532eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24533$as_echo "$ac_try_echo") >&5
24534 (eval "$ac_link") 2>&5
24535 ac_status=$?
24536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24538 { (case "(($ac_try" in
24539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24540 *) ac_try_echo=$ac_try;;
24541esac
24542eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24543$as_echo "$ac_try_echo") >&5
24544 (eval "$ac_try") 2>&5
24545 ac_status=$?
24546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; }; then
24548 emacs_cv_localtime_cache=no 13165 emacs_cv_localtime_cache=no
24549else 13166else
24550 $as_echo "$as_me: program exited with status $ac_status" >&5 13167 emacs_cv_localtime_cache=yes
24551$as_echo "$as_me: failed program was:" >&5
24552sed 's/^/| /' conftest.$ac_ext >&5
24553
24554( exit $ac_status )
24555emacs_cv_localtime_cache=yes
24556fi 13168fi
24557rm -rf conftest.dSYM 13169rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24558rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13170 conftest.$ac_objext conftest.beam conftest.$ac_ext
24559fi 13171fi
24560 13172
24561
24562else 13173else
24563 # If we lack tzset, report that localtime does not cache TZ, 13174 # If we lack tzset, report that localtime does not cache TZ,
24564 # since we can't invalidate the cache if we don't have tzset. 13175 # since we can't invalidate the cache if we don't have tzset.
24565 emacs_cv_localtime_cache=no 13176 emacs_cv_localtime_cache=no
24566fi 13177fi
24567fi 13178fi
24568{ $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 13179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5
24569$as_echo "$emacs_cv_localtime_cache" >&6; } 13180$as_echo "$emacs_cv_localtime_cache" >&6; }
24570if test $emacs_cv_localtime_cache = yes; then 13181if test $emacs_cv_localtime_cache = yes; then
24571 13182
24572cat >>confdefs.h <<\_ACEOF 13183$as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h
24573#define LOCALTIME_CACHE 1
24574_ACEOF
24575 13184
24576fi 13185fi
24577 13186
24578if test "x$HAVE_TIMEVAL" = xyes; then 13187if test "x$HAVE_TIMEVAL" = xyes; then
24579 13188 for ac_func in gettimeofday
24580for ac_func in gettimeofday 13189do :
24581do 13190 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
24582as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13191if test "x$ac_cv_func_gettimeofday" = x""yes; then :
24583{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24584$as_echo_n "checking for $ac_func... " >&6; }
24585if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24586 $as_echo_n "(cached) " >&6
24587else
24588 cat >conftest.$ac_ext <<_ACEOF
24589/* confdefs.h. */
24590_ACEOF
24591cat confdefs.h >>conftest.$ac_ext
24592cat >>conftest.$ac_ext <<_ACEOF
24593/* end confdefs.h. */
24594/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24596#define $ac_func innocuous_$ac_func
24597
24598/* System header to define __stub macros and hopefully few prototypes,
24599 which can conflict with char $ac_func (); below.
24600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24601 <limits.h> exists even on freestanding compilers. */
24602
24603#ifdef __STDC__
24604# include <limits.h>
24605#else
24606# include <assert.h>
24607#endif
24608
24609#undef $ac_func
24610
24611/* Override any GCC internal prototype to avoid an error.
24612 Use char because int might match the return type of a GCC
24613 builtin and then its argument prototype would still apply. */
24614#ifdef __cplusplus
24615extern "C"
24616#endif
24617char $ac_func ();
24618/* The GNU C library defines this for functions which it implements
24619 to always fail with ENOSYS. Some functions are actually named
24620 something starting with __ and the normal name is an alias. */
24621#if defined __stub_$ac_func || defined __stub___$ac_func
24622choke me
24623#endif
24624
24625int
24626main ()
24627{
24628return $ac_func ();
24629 ;
24630 return 0;
24631}
24632_ACEOF
24633rm -f conftest.$ac_objext conftest$ac_exeext
24634if { (ac_try="$ac_link"
24635case "(($ac_try" in
24636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24637 *) ac_try_echo=$ac_try;;
24638esac
24639eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24640$as_echo "$ac_try_echo") >&5
24641 (eval "$ac_link") 2>conftest.er1
24642 ac_status=$?
24643 grep -v '^ *+' conftest.er1 >conftest.err
24644 rm -f conftest.er1
24645 cat conftest.err >&5
24646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); } && {
24648 test -z "$ac_c_werror_flag" ||
24649 test ! -s conftest.err
24650 } && test -s conftest$ac_exeext && {
24651 test "$cross_compiling" = yes ||
24652 $as_test_x conftest$ac_exeext
24653 }; then
24654 eval "$as_ac_var=yes"
24655else
24656 $as_echo "$as_me: failed program was:" >&5
24657sed 's/^/| /' conftest.$ac_ext >&5
24658
24659 eval "$as_ac_var=no"
24660fi
24661
24662rm -rf conftest.dSYM
24663rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24664 conftest$ac_exeext conftest.$ac_ext
24665fi
24666ac_res=`eval 'as_val=${'$as_ac_var'}
24667 $as_echo "$as_val"'`
24668 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24669$as_echo "$ac_res" >&6; }
24670if test `eval 'as_val=${'$as_ac_var'}
24671 $as_echo "$as_val"'` = yes; then
24672 cat >>confdefs.h <<_ACEOF 13192 cat >>confdefs.h <<_ACEOF
24673#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13193#define HAVE_GETTIMEOFDAY 1
24674_ACEOF 13194_ACEOF
24675 13195
24676fi 13196fi
24677done 13197done
24678 13198
24679 if test $ac_cv_func_gettimeofday = yes; then 13199 if test $ac_cv_func_gettimeofday = yes; then
24680 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
24681$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 13201$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
24682if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 13202if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then :
24683 $as_echo_n "(cached) " >&6 13203 $as_echo_n "(cached) " >&6
24684else 13204else
24685 cat >conftest.$ac_ext <<_ACEOF 13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24686/* confdefs.h. */
24687_ACEOF
24688cat confdefs.h >>conftest.$ac_ext
24689cat >>conftest.$ac_ext <<_ACEOF
24690/* end confdefs.h. */ 13206/* end confdefs.h. */
24691 13207
24692#ifdef TIME_WITH_SYS_TIME 13208#ifdef TIME_WITH_SYS_TIME
@@ -24708,268 +13224,35 @@ struct timeval time;
24708 return 0; 13224 return 0;
24709} 13225}
24710_ACEOF 13226_ACEOF
24711rm -f conftest.$ac_objext 13227if ac_fn_c_try_compile "$LINENO"; then :
24712if { (ac_try="$ac_compile"
24713case "(($ac_try" in
24714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24715 *) ac_try_echo=$ac_try;;
24716esac
24717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24718$as_echo "$ac_try_echo") >&5
24719 (eval "$ac_compile") 2>conftest.er1
24720 ac_status=$?
24721 grep -v '^ *+' conftest.er1 >conftest.err
24722 rm -f conftest.er1
24723 cat conftest.err >&5
24724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } && {
24726 test -z "$ac_c_werror_flag" ||
24727 test ! -s conftest.err
24728 } && test -s conftest.$ac_objext; then
24729 emacs_cv_gettimeofday_two_arguments=yes 13228 emacs_cv_gettimeofday_two_arguments=yes
24730else 13229else
24731 $as_echo "$as_me: failed program was:" >&5 13230 emacs_cv_gettimeofday_two_arguments=no
24732sed 's/^/| /' conftest.$ac_ext >&5
24733
24734 emacs_cv_gettimeofday_two_arguments=no
24735fi 13231fi
24736
24737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24738fi 13233fi
24739{ $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 13234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5
24740$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } 13235$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; }
24741 if test $emacs_cv_gettimeofday_two_arguments = no; then 13236 if test $emacs_cv_gettimeofday_two_arguments = no; then
24742 13237
24743cat >>confdefs.h <<\_ACEOF 13238$as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h
24744#define GETTIMEOFDAY_ONE_ARGUMENT 1
24745_ACEOF
24746 13239
24747 fi 13240 fi
24748 fi 13241 fi
24749fi 13242fi
24750 13243
24751ok_so_far=yes 13244ok_so_far=yes
24752{ $as_echo "$as_me:$LINENO: checking for socket" >&5 13245ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
24753$as_echo_n "checking for socket... " >&6; } 13246if test "x$ac_cv_func_socket" = x""yes; then :
24754if test "${ac_cv_func_socket+set}" = set; then
24755 $as_echo_n "(cached) " >&6
24756else
24757 cat >conftest.$ac_ext <<_ACEOF
24758/* confdefs.h. */
24759_ACEOF
24760cat confdefs.h >>conftest.$ac_ext
24761cat >>conftest.$ac_ext <<_ACEOF
24762/* end confdefs.h. */
24763/* Define socket to an innocuous variant, in case <limits.h> declares socket.
24764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24765#define socket innocuous_socket
24766
24767/* System header to define __stub macros and hopefully few prototypes,
24768 which can conflict with char socket (); below.
24769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24770 <limits.h> exists even on freestanding compilers. */
24771
24772#ifdef __STDC__
24773# include <limits.h>
24774#else
24775# include <assert.h>
24776#endif
24777
24778#undef socket
24779
24780/* Override any GCC internal prototype to avoid an error.
24781 Use char because int might match the return type of a GCC
24782 builtin and then its argument prototype would still apply. */
24783#ifdef __cplusplus
24784extern "C"
24785#endif
24786char socket ();
24787/* The GNU C library defines this for functions which it implements
24788 to always fail with ENOSYS. Some functions are actually named
24789 something starting with __ and the normal name is an alias. */
24790#if defined __stub_socket || defined __stub___socket
24791choke me
24792#endif
24793
24794int
24795main ()
24796{
24797return socket ();
24798 ;
24799 return 0;
24800}
24801_ACEOF
24802rm -f conftest.$ac_objext conftest$ac_exeext
24803if { (ac_try="$ac_link"
24804case "(($ac_try" in
24805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24806 *) ac_try_echo=$ac_try;;
24807esac
24808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24809$as_echo "$ac_try_echo") >&5
24810 (eval "$ac_link") 2>conftest.er1
24811 ac_status=$?
24812 grep -v '^ *+' conftest.er1 >conftest.err
24813 rm -f conftest.er1
24814 cat conftest.err >&5
24815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } && {
24817 test -z "$ac_c_werror_flag" ||
24818 test ! -s conftest.err
24819 } && test -s conftest$ac_exeext && {
24820 test "$cross_compiling" = yes ||
24821 $as_test_x conftest$ac_exeext
24822 }; then
24823 ac_cv_func_socket=yes
24824else
24825 $as_echo "$as_me: failed program was:" >&5
24826sed 's/^/| /' conftest.$ac_ext >&5
24827
24828 ac_cv_func_socket=no
24829fi
24830 13247
24831rm -rf conftest.dSYM
24832rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24833 conftest$ac_exeext conftest.$ac_ext
24834fi
24835{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
24836$as_echo "$ac_cv_func_socket" >&6; }
24837if test $ac_cv_func_socket = yes; then
24838 :
24839else 13248else
24840 ok_so_far=no 13249 ok_so_far=no
24841fi 13250fi
24842 13251
24843if test $ok_so_far = yes; then 13252if test $ok_so_far = yes; then
24844 if test "${ac_cv_header_netinet_in_h+set}" = set; then 13253 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
24845 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 13254if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
24846$as_echo_n "checking for netinet/in.h... " >&6; }
24847if test "${ac_cv_header_netinet_in_h+set}" = set; then
24848 $as_echo_n "(cached) " >&6
24849fi
24850{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24851$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24852else
24853 # Is the header compilable?
24854{ $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
24855$as_echo_n "checking netinet/in.h usability... " >&6; }
24856cat >conftest.$ac_ext <<_ACEOF
24857/* confdefs.h. */
24858_ACEOF
24859cat confdefs.h >>conftest.$ac_ext
24860cat >>conftest.$ac_ext <<_ACEOF
24861/* end confdefs.h. */
24862$ac_includes_default
24863#include <netinet/in.h>
24864_ACEOF
24865rm -f conftest.$ac_objext
24866if { (ac_try="$ac_compile"
24867case "(($ac_try" in
24868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869 *) ac_try_echo=$ac_try;;
24870esac
24871eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24872$as_echo "$ac_try_echo") >&5
24873 (eval "$ac_compile") 2>conftest.er1
24874 ac_status=$?
24875 grep -v '^ *+' conftest.er1 >conftest.err
24876 rm -f conftest.er1
24877 cat conftest.err >&5
24878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } && {
24880 test -z "$ac_c_werror_flag" ||
24881 test ! -s conftest.err
24882 } && test -s conftest.$ac_objext; then
24883 ac_header_compiler=yes
24884else
24885 $as_echo "$as_me: failed program was:" >&5
24886sed 's/^/| /' conftest.$ac_ext >&5
24887
24888 ac_header_compiler=no
24889fi
24890
24891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24892{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24893$as_echo "$ac_header_compiler" >&6; }
24894
24895# Is the header present?
24896{ $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
24897$as_echo_n "checking netinet/in.h presence... " >&6; }
24898cat >conftest.$ac_ext <<_ACEOF
24899/* confdefs.h. */
24900_ACEOF
24901cat confdefs.h >>conftest.$ac_ext
24902cat >>conftest.$ac_ext <<_ACEOF
24903/* end confdefs.h. */
24904#include <netinet/in.h>
24905_ACEOF
24906if { (ac_try="$ac_cpp conftest.$ac_ext"
24907case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910esac
24911eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24912$as_echo "$ac_try_echo") >&5
24913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24914 ac_status=$?
24915 grep -v '^ *+' conftest.er1 >conftest.err
24916 rm -f conftest.er1
24917 cat conftest.err >&5
24918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); } >/dev/null && {
24920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24921 test ! -s conftest.err
24922 }; then
24923 ac_header_preproc=yes
24924else
24925 $as_echo "$as_me: failed program was:" >&5
24926sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 ac_header_preproc=no
24929fi
24930
24931rm -f conftest.err conftest.$ac_ext
24932{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24933$as_echo "$ac_header_preproc" >&6; }
24934
24935# So? What about this header?
24936case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24937 yes:no: )
24938 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
24939$as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24940 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
24941$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
24942 ac_header_preproc=yes
24943 ;;
24944 no:yes:* )
24945 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
24946$as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
24947 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
24948$as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
24949 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
24950$as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
24951 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
24952$as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
24953 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
24954$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
24955 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
24956$as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
24957
24958 ;;
24959esac
24960{ $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
24961$as_echo_n "checking for netinet/in.h... " >&6; }
24962if test "${ac_cv_header_netinet_in_h+set}" = set; then
24963 $as_echo_n "(cached) " >&6
24964else
24965 ac_cv_header_netinet_in_h=$ac_header_preproc
24966fi
24967{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24968$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24969 13255
24970fi
24971if test $ac_cv_header_netinet_in_h = yes; then
24972 :
24973else 13256else
24974 ok_so_far=no 13257 ok_so_far=no
24975fi 13258fi
@@ -24977,135 +13260,9 @@ fi
24977 13260
24978fi 13261fi
24979if test $ok_so_far = yes; then 13262if test $ok_so_far = yes; then
24980 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 13263 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
24981 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 13264if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
24982$as_echo_n "checking for arpa/inet.h... " >&6; }
24983if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24984 $as_echo_n "(cached) " >&6
24985fi
24986{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24987$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
24988else
24989 # Is the header compilable?
24990{ $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
24991$as_echo_n "checking arpa/inet.h usability... " >&6; }
24992cat >conftest.$ac_ext <<_ACEOF
24993/* confdefs.h. */
24994_ACEOF
24995cat confdefs.h >>conftest.$ac_ext
24996cat >>conftest.$ac_ext <<_ACEOF
24997/* end confdefs.h. */
24998$ac_includes_default
24999#include <arpa/inet.h>
25000_ACEOF
25001rm -f conftest.$ac_objext
25002if { (ac_try="$ac_compile"
25003case "(($ac_try" in
25004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25005 *) ac_try_echo=$ac_try;;
25006esac
25007eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25008$as_echo "$ac_try_echo") >&5
25009 (eval "$ac_compile") 2>conftest.er1
25010 ac_status=$?
25011 grep -v '^ *+' conftest.er1 >conftest.err
25012 rm -f conftest.er1
25013 cat conftest.err >&5
25014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); } && {
25016 test -z "$ac_c_werror_flag" ||
25017 test ! -s conftest.err
25018 } && test -s conftest.$ac_objext; then
25019 ac_header_compiler=yes
25020else
25021 $as_echo "$as_me: failed program was:" >&5
25022sed 's/^/| /' conftest.$ac_ext >&5
25023
25024 ac_header_compiler=no
25025fi
25026
25027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25028{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25029$as_echo "$ac_header_compiler" >&6; }
25030 13265
25031# Is the header present?
25032{ $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
25033$as_echo_n "checking arpa/inet.h presence... " >&6; }
25034cat >conftest.$ac_ext <<_ACEOF
25035/* confdefs.h. */
25036_ACEOF
25037cat confdefs.h >>conftest.$ac_ext
25038cat >>conftest.$ac_ext <<_ACEOF
25039/* end confdefs.h. */
25040#include <arpa/inet.h>
25041_ACEOF
25042if { (ac_try="$ac_cpp conftest.$ac_ext"
25043case "(($ac_try" in
25044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25045 *) ac_try_echo=$ac_try;;
25046esac
25047eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25048$as_echo "$ac_try_echo") >&5
25049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25050 ac_status=$?
25051 grep -v '^ *+' conftest.er1 >conftest.err
25052 rm -f conftest.er1
25053 cat conftest.err >&5
25054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } >/dev/null && {
25056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25057 test ! -s conftest.err
25058 }; then
25059 ac_header_preproc=yes
25060else
25061 $as_echo "$as_me: failed program was:" >&5
25062sed 's/^/| /' conftest.$ac_ext >&5
25063
25064 ac_header_preproc=no
25065fi
25066
25067rm -f conftest.err conftest.$ac_ext
25068{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25069$as_echo "$ac_header_preproc" >&6; }
25070
25071# So? What about this header?
25072case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25073 yes:no: )
25074 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
25075$as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25076 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
25077$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
25078 ac_header_preproc=yes
25079 ;;
25080 no:yes:* )
25081 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
25082$as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
25083 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
25084$as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
25085 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
25086$as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
25087 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
25088$as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
25089 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
25090$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
25091 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
25092$as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
25093
25094 ;;
25095esac
25096{ $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
25097$as_echo_n "checking for arpa/inet.h... " >&6; }
25098if test "${ac_cv_header_arpa_inet_h+set}" = set; then
25099 $as_echo_n "(cached) " >&6
25100else
25101 ac_cv_header_arpa_inet_h=$ac_header_preproc
25102fi
25103{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
25104$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
25105
25106fi
25107if test $ac_cv_header_arpa_inet_h = yes; then
25108 :
25109else 13266else
25110 ok_so_far=no 13267 ok_so_far=no
25111fi 13268fi
@@ -25114,151 +13271,16 @@ fi
25114fi 13271fi
25115if test $ok_so_far = yes; then 13272if test $ok_so_far = yes; then
25116 13273
25117cat >>confdefs.h <<\_ACEOF 13274$as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h
25118#define HAVE_INET_SOCKETS 1
25119_ACEOF
25120 13275
25121fi 13276fi
25122 13277
25123
25124for ac_header in sys/ioctl.h 13278for ac_header in sys/ioctl.h
25125do 13279do :
25126as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13280 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
25127if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13281if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then :
25128 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25129$as_echo_n "checking for $ac_header... " >&6; }
25130if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25131 $as_echo_n "(cached) " >&6
25132fi
25133ac_res=`eval 'as_val=${'$as_ac_Header'}
25134 $as_echo "$as_val"'`
25135 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25136$as_echo "$ac_res" >&6; }
25137else
25138 # Is the header compilable?
25139{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25140$as_echo_n "checking $ac_header usability... " >&6; }
25141cat >conftest.$ac_ext <<_ACEOF
25142/* confdefs.h. */
25143_ACEOF
25144cat confdefs.h >>conftest.$ac_ext
25145cat >>conftest.$ac_ext <<_ACEOF
25146/* end confdefs.h. */
25147$ac_includes_default
25148#include <$ac_header>
25149_ACEOF
25150rm -f conftest.$ac_objext
25151if { (ac_try="$ac_compile"
25152case "(($ac_try" in
25153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25154 *) ac_try_echo=$ac_try;;
25155esac
25156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25157$as_echo "$ac_try_echo") >&5
25158 (eval "$ac_compile") 2>conftest.er1
25159 ac_status=$?
25160 grep -v '^ *+' conftest.er1 >conftest.err
25161 rm -f conftest.er1
25162 cat conftest.err >&5
25163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } && {
25165 test -z "$ac_c_werror_flag" ||
25166 test ! -s conftest.err
25167 } && test -s conftest.$ac_objext; then
25168 ac_header_compiler=yes
25169else
25170 $as_echo "$as_me: failed program was:" >&5
25171sed 's/^/| /' conftest.$ac_ext >&5
25172
25173 ac_header_compiler=no
25174fi
25175
25176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25177{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25178$as_echo "$ac_header_compiler" >&6; }
25179
25180# Is the header present?
25181{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25182$as_echo_n "checking $ac_header presence... " >&6; }
25183cat >conftest.$ac_ext <<_ACEOF
25184/* confdefs.h. */
25185_ACEOF
25186cat confdefs.h >>conftest.$ac_ext
25187cat >>conftest.$ac_ext <<_ACEOF
25188/* end confdefs.h. */
25189#include <$ac_header>
25190_ACEOF
25191if { (ac_try="$ac_cpp conftest.$ac_ext"
25192case "(($ac_try" in
25193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25194 *) ac_try_echo=$ac_try;;
25195esac
25196eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25197$as_echo "$ac_try_echo") >&5
25198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25199 ac_status=$?
25200 grep -v '^ *+' conftest.er1 >conftest.err
25201 rm -f conftest.er1
25202 cat conftest.err >&5
25203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } >/dev/null && {
25205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25206 test ! -s conftest.err
25207 }; then
25208 ac_header_preproc=yes
25209else
25210 $as_echo "$as_me: failed program was:" >&5
25211sed 's/^/| /' conftest.$ac_ext >&5
25212
25213 ac_header_preproc=no
25214fi
25215
25216rm -f conftest.err conftest.$ac_ext
25217{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25218$as_echo "$ac_header_preproc" >&6; }
25219
25220# So? What about this header?
25221case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25222 yes:no: )
25223 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25224$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25225 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25226$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25227 ac_header_preproc=yes
25228 ;;
25229 no:yes:* )
25230 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25231$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25232 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25233$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25234 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25235$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25236 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25237$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25238 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25239$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25240 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25241$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25242
25243 ;;
25244esac
25245{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25246$as_echo_n "checking for $ac_header... " >&6; }
25247if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25248 $as_echo_n "(cached) " >&6
25249else
25250 eval "$as_ac_Header=\$ac_header_preproc"
25251fi
25252ac_res=`eval 'as_val=${'$as_ac_Header'}
25253 $as_echo "$as_val"'`
25254 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25255$as_echo "$ac_res" >&6; }
25256
25257fi
25258if test `eval 'as_val=${'$as_ac_Header'}
25259 $as_echo "$as_val"'` = yes; then
25260 cat >>confdefs.h <<_ACEOF 13282 cat >>confdefs.h <<_ACEOF
25261#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13283#define HAVE_SYS_IOCTL_H 1
25262_ACEOF 13284_ACEOF
25263 13285
25264fi 13286fi
@@ -25268,123 +13290,26 @@ done
25268 13290
25269if test -f /usr/lpp/X11/bin/smt.exp; then 13291if test -f /usr/lpp/X11/bin/smt.exp; then
25270 13292
25271cat >>confdefs.h <<\_ACEOF 13293$as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h
25272#define HAVE_AIX_SMT_EXP 1
25273_ACEOF
25274 13294
25275fi 13295fi
25276 13296
25277{ $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 13297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5
25278$as_echo_n "checking whether system supports dynamic ptys... " >&6; } 13298$as_echo_n "checking whether system supports dynamic ptys... " >&6; }
25279if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 13299if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
25280 { $as_echo "$as_me:$LINENO: result: yes" >&5 13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25281$as_echo "yes" >&6; } 13301$as_echo "yes" >&6; }
25282 13302
25283cat >>confdefs.h <<\_ACEOF 13303$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
25284#define HAVE_DEV_PTMX 1
25285_ACEOF
25286 13304
25287else 13305else
25288 { $as_echo "$as_me:$LINENO: result: no" >&5 13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25289$as_echo "no" >&6; } 13307$as_echo "no" >&6; }
25290fi 13308fi
25291 13309
25292{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5 13310ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
25293$as_echo_n "checking for pid_t... " >&6; } 13311if test "x$ac_cv_type_pid_t" = x""yes; then :
25294if test "${ac_cv_type_pid_t+set}" = set; then
25295 $as_echo_n "(cached) " >&6
25296else
25297 ac_cv_type_pid_t=no
25298cat >conftest.$ac_ext <<_ACEOF
25299/* confdefs.h. */
25300_ACEOF
25301cat confdefs.h >>conftest.$ac_ext
25302cat >>conftest.$ac_ext <<_ACEOF
25303/* end confdefs.h. */
25304$ac_includes_default
25305int
25306main ()
25307{
25308if (sizeof (pid_t))
25309 return 0;
25310 ;
25311 return 0;
25312}
25313_ACEOF
25314rm -f conftest.$ac_objext
25315if { (ac_try="$ac_compile"
25316case "(($ac_try" in
25317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25318 *) ac_try_echo=$ac_try;;
25319esac
25320eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25321$as_echo "$ac_try_echo") >&5
25322 (eval "$ac_compile") 2>conftest.er1
25323 ac_status=$?
25324 grep -v '^ *+' conftest.er1 >conftest.err
25325 rm -f conftest.er1
25326 cat conftest.err >&5
25327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } && {
25329 test -z "$ac_c_werror_flag" ||
25330 test ! -s conftest.err
25331 } && test -s conftest.$ac_objext; then
25332 cat >conftest.$ac_ext <<_ACEOF
25333/* confdefs.h. */
25334_ACEOF
25335cat confdefs.h >>conftest.$ac_ext
25336cat >>conftest.$ac_ext <<_ACEOF
25337/* end confdefs.h. */
25338$ac_includes_default
25339int
25340main ()
25341{
25342if (sizeof ((pid_t)))
25343 return 0;
25344 ;
25345 return 0;
25346}
25347_ACEOF
25348rm -f conftest.$ac_objext
25349if { (ac_try="$ac_compile"
25350case "(($ac_try" in
25351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25352 *) ac_try_echo=$ac_try;;
25353esac
25354eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25355$as_echo "$ac_try_echo") >&5
25356 (eval "$ac_compile") 2>conftest.er1
25357 ac_status=$?
25358 grep -v '^ *+' conftest.er1 >conftest.err
25359 rm -f conftest.er1
25360 cat conftest.err >&5
25361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } && {
25363 test -z "$ac_c_werror_flag" ||
25364 test ! -s conftest.err
25365 } && test -s conftest.$ac_objext; then
25366 :
25367else
25368 $as_echo "$as_me: failed program was:" >&5
25369sed 's/^/| /' conftest.$ac_ext >&5
25370
25371 ac_cv_type_pid_t=yes
25372fi
25373
25374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25375else
25376 $as_echo "$as_me: failed program was:" >&5
25377sed 's/^/| /' conftest.$ac_ext >&5
25378
25379
25380fi
25381 13312
25382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25383fi
25384{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25385$as_echo "$ac_cv_type_pid_t" >&6; }
25386if test $ac_cv_type_pid_t = yes; then
25387 :
25388else 13313else
25389 13314
25390cat >>confdefs.h <<_ACEOF 13315cat >>confdefs.h <<_ACEOF
@@ -25393,245 +13318,24 @@ _ACEOF
25393 13318
25394fi 13319fi
25395 13320
25396
25397for ac_header in vfork.h 13321for ac_header in vfork.h
25398do 13322do :
25399as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13323 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
25400if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13324if test "x$ac_cv_header_vfork_h" = x""yes; then :
25401 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25402$as_echo_n "checking for $ac_header... " >&6; }
25403if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25404 $as_echo_n "(cached) " >&6
25405fi
25406ac_res=`eval 'as_val=${'$as_ac_Header'}
25407 $as_echo "$as_val"'`
25408 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25409$as_echo "$ac_res" >&6; }
25410else
25411 # Is the header compilable?
25412{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25413$as_echo_n "checking $ac_header usability... " >&6; }
25414cat >conftest.$ac_ext <<_ACEOF
25415/* confdefs.h. */
25416_ACEOF
25417cat confdefs.h >>conftest.$ac_ext
25418cat >>conftest.$ac_ext <<_ACEOF
25419/* end confdefs.h. */
25420$ac_includes_default
25421#include <$ac_header>
25422_ACEOF
25423rm -f conftest.$ac_objext
25424if { (ac_try="$ac_compile"
25425case "(($ac_try" in
25426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25427 *) ac_try_echo=$ac_try;;
25428esac
25429eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25430$as_echo "$ac_try_echo") >&5
25431 (eval "$ac_compile") 2>conftest.er1
25432 ac_status=$?
25433 grep -v '^ *+' conftest.er1 >conftest.err
25434 rm -f conftest.er1
25435 cat conftest.err >&5
25436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } && {
25438 test -z "$ac_c_werror_flag" ||
25439 test ! -s conftest.err
25440 } && test -s conftest.$ac_objext; then
25441 ac_header_compiler=yes
25442else
25443 $as_echo "$as_me: failed program was:" >&5
25444sed 's/^/| /' conftest.$ac_ext >&5
25445
25446 ac_header_compiler=no
25447fi
25448
25449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25450{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25451$as_echo "$ac_header_compiler" >&6; }
25452
25453# Is the header present?
25454{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25455$as_echo_n "checking $ac_header presence... " >&6; }
25456cat >conftest.$ac_ext <<_ACEOF
25457/* confdefs.h. */
25458_ACEOF
25459cat confdefs.h >>conftest.$ac_ext
25460cat >>conftest.$ac_ext <<_ACEOF
25461/* end confdefs.h. */
25462#include <$ac_header>
25463_ACEOF
25464if { (ac_try="$ac_cpp conftest.$ac_ext"
25465case "(($ac_try" in
25466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25467 *) ac_try_echo=$ac_try;;
25468esac
25469eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25470$as_echo "$ac_try_echo") >&5
25471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25472 ac_status=$?
25473 grep -v '^ *+' conftest.er1 >conftest.err
25474 rm -f conftest.er1
25475 cat conftest.err >&5
25476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } >/dev/null && {
25478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25479 test ! -s conftest.err
25480 }; then
25481 ac_header_preproc=yes
25482else
25483 $as_echo "$as_me: failed program was:" >&5
25484sed 's/^/| /' conftest.$ac_ext >&5
25485
25486 ac_header_preproc=no
25487fi
25488
25489rm -f conftest.err conftest.$ac_ext
25490{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25491$as_echo "$ac_header_preproc" >&6; }
25492
25493# So? What about this header?
25494case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25495 yes:no: )
25496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25497$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25499$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25500 ac_header_preproc=yes
25501 ;;
25502 no:yes:* )
25503 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25504$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25505 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25506$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25507 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25508$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25509 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25510$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25511 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25512$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25513 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25514$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25515
25516 ;;
25517esac
25518{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25519$as_echo_n "checking for $ac_header... " >&6; }
25520if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25521 $as_echo_n "(cached) " >&6
25522else
25523 eval "$as_ac_Header=\$ac_header_preproc"
25524fi
25525ac_res=`eval 'as_val=${'$as_ac_Header'}
25526 $as_echo "$as_val"'`
25527 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25528$as_echo "$ac_res" >&6; }
25529
25530fi
25531if test `eval 'as_val=${'$as_ac_Header'}
25532 $as_echo "$as_val"'` = yes; then
25533 cat >>confdefs.h <<_ACEOF 13325 cat >>confdefs.h <<_ACEOF
25534#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13326#define HAVE_VFORK_H 1
25535_ACEOF 13327_ACEOF
25536 13328
25537fi 13329fi
25538 13330
25539done 13331done
25540 13332
25541
25542
25543for ac_func in fork vfork 13333for ac_func in fork vfork
25544do 13334do :
25545as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25546{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13336ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25547$as_echo_n "checking for $ac_func... " >&6; } 13337eval as_val=\$$as_ac_var
25548if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13338 if test "x$as_val" = x""yes; then :
25549 $as_echo_n "(cached) " >&6
25550else
25551 cat >conftest.$ac_ext <<_ACEOF
25552/* confdefs.h. */
25553_ACEOF
25554cat confdefs.h >>conftest.$ac_ext
25555cat >>conftest.$ac_ext <<_ACEOF
25556/* end confdefs.h. */
25557/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25559#define $ac_func innocuous_$ac_func
25560
25561/* System header to define __stub macros and hopefully few prototypes,
25562 which can conflict with char $ac_func (); below.
25563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25564 <limits.h> exists even on freestanding compilers. */
25565
25566#ifdef __STDC__
25567# include <limits.h>
25568#else
25569# include <assert.h>
25570#endif
25571
25572#undef $ac_func
25573
25574/* Override any GCC internal prototype to avoid an error.
25575 Use char because int might match the return type of a GCC
25576 builtin and then its argument prototype would still apply. */
25577#ifdef __cplusplus
25578extern "C"
25579#endif
25580char $ac_func ();
25581/* The GNU C library defines this for functions which it implements
25582 to always fail with ENOSYS. Some functions are actually named
25583 something starting with __ and the normal name is an alias. */
25584#if defined __stub_$ac_func || defined __stub___$ac_func
25585choke me
25586#endif
25587
25588int
25589main ()
25590{
25591return $ac_func ();
25592 ;
25593 return 0;
25594}
25595_ACEOF
25596rm -f conftest.$ac_objext conftest$ac_exeext
25597if { (ac_try="$ac_link"
25598case "(($ac_try" in
25599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25600 *) ac_try_echo=$ac_try;;
25601esac
25602eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25603$as_echo "$ac_try_echo") >&5
25604 (eval "$ac_link") 2>conftest.er1
25605 ac_status=$?
25606 grep -v '^ *+' conftest.er1 >conftest.err
25607 rm -f conftest.er1
25608 cat conftest.err >&5
25609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } && {
25611 test -z "$ac_c_werror_flag" ||
25612 test ! -s conftest.err
25613 } && test -s conftest$ac_exeext && {
25614 test "$cross_compiling" = yes ||
25615 $as_test_x conftest$ac_exeext
25616 }; then
25617 eval "$as_ac_var=yes"
25618else
25619 $as_echo "$as_me: failed program was:" >&5
25620sed 's/^/| /' conftest.$ac_ext >&5
25621
25622 eval "$as_ac_var=no"
25623fi
25624
25625rm -rf conftest.dSYM
25626rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25627 conftest$ac_exeext conftest.$ac_ext
25628fi
25629ac_res=`eval 'as_val=${'$as_ac_var'}
25630 $as_echo "$as_val"'`
25631 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25632$as_echo "$ac_res" >&6; }
25633if test `eval 'as_val=${'$as_ac_var'}
25634 $as_echo "$as_val"'` = yes; then
25635 cat >>confdefs.h <<_ACEOF 13339 cat >>confdefs.h <<_ACEOF
25636#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13340#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25637_ACEOF 13341_ACEOF
@@ -25640,19 +13344,15 @@ fi
25640done 13344done
25641 13345
25642if test "x$ac_cv_func_fork" = xyes; then 13346if test "x$ac_cv_func_fork" = xyes; then
25643 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
25644$as_echo_n "checking for working fork... " >&6; } 13348$as_echo_n "checking for working fork... " >&6; }
25645if test "${ac_cv_func_fork_works+set}" = set; then 13349if test "${ac_cv_func_fork_works+set}" = set; then :
25646 $as_echo_n "(cached) " >&6 13350 $as_echo_n "(cached) " >&6
25647else 13351else
25648 if test "$cross_compiling" = yes; then 13352 if test "$cross_compiling" = yes; then :
25649 ac_cv_func_fork_works=cross 13353 ac_cv_func_fork_works=cross
25650else 13354else
25651 cat >conftest.$ac_ext <<_ACEOF 13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25652/* confdefs.h. */
25653_ACEOF
25654cat confdefs.h >>conftest.$ac_ext
25655cat >>conftest.$ac_ext <<_ACEOF
25656/* end confdefs.h. */ 13356/* end confdefs.h. */
25657$ac_includes_default 13357$ac_includes_default
25658int 13358int
@@ -25666,44 +13366,17 @@ main ()
25666 return 0; 13366 return 0;
25667} 13367}
25668_ACEOF 13368_ACEOF
25669rm -f conftest$ac_exeext 13369if ac_fn_c_try_run "$LINENO"; then :
25670if { (ac_try="$ac_link"
25671case "(($ac_try" in
25672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25673 *) ac_try_echo=$ac_try;;
25674esac
25675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25676$as_echo "$ac_try_echo") >&5
25677 (eval "$ac_link") 2>&5
25678 ac_status=$?
25679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25681 { (case "(($ac_try" in
25682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25683 *) ac_try_echo=$ac_try;;
25684esac
25685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25686$as_echo "$ac_try_echo") >&5
25687 (eval "$ac_try") 2>&5
25688 ac_status=$?
25689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); }; }; then
25691 ac_cv_func_fork_works=yes 13370 ac_cv_func_fork_works=yes
25692else 13371else
25693 $as_echo "$as_me: program exited with status $ac_status" >&5 13372 ac_cv_func_fork_works=no
25694$as_echo "$as_me: failed program was:" >&5
25695sed 's/^/| /' conftest.$ac_ext >&5
25696
25697( exit $ac_status )
25698ac_cv_func_fork_works=no
25699fi 13373fi
25700rm -rf conftest.dSYM 13374rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25701rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13375 conftest.$ac_objext conftest.beam conftest.$ac_ext
25702fi 13376fi
25703 13377
25704
25705fi 13378fi
25706{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 13379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
25707$as_echo "$ac_cv_func_fork_works" >&6; } 13380$as_echo "$ac_cv_func_fork_works" >&6; }
25708 13381
25709else 13382else
@@ -25719,24 +13392,20 @@ if test "x$ac_cv_func_fork_works" = xcross; then
25719 ac_cv_func_fork_works=yes 13392 ac_cv_func_fork_works=yes
25720 ;; 13393 ;;
25721 esac 13394 esac
25722 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 13395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
25723$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 13396$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
25724fi 13397fi
25725ac_cv_func_vfork_works=$ac_cv_func_vfork 13398ac_cv_func_vfork_works=$ac_cv_func_vfork
25726if test "x$ac_cv_func_vfork" = xyes; then 13399if test "x$ac_cv_func_vfork" = xyes; then
25727 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
25728$as_echo_n "checking for working vfork... " >&6; } 13401$as_echo_n "checking for working vfork... " >&6; }
25729if test "${ac_cv_func_vfork_works+set}" = set; then 13402if test "${ac_cv_func_vfork_works+set}" = set; then :
25730 $as_echo_n "(cached) " >&6 13403 $as_echo_n "(cached) " >&6
25731else 13404else
25732 if test "$cross_compiling" = yes; then 13405 if test "$cross_compiling" = yes; then :
25733 ac_cv_func_vfork_works=cross 13406 ac_cv_func_vfork_works=cross
25734else 13407else
25735 cat >conftest.$ac_ext <<_ACEOF 13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25736/* confdefs.h. */
25737_ACEOF
25738cat confdefs.h >>conftest.$ac_ext
25739cat >>conftest.$ac_ext <<_ACEOF
25740/* end confdefs.h. */ 13409/* end confdefs.h. */
25741/* Thanks to Paul Eggert for this test. */ 13410/* Thanks to Paul Eggert for this test. */
25742$ac_includes_default 13411$ac_includes_default
@@ -25828,85 +13497,48 @@ main ()
25828 } 13497 }
25829} 13498}
25830_ACEOF 13499_ACEOF
25831rm -f conftest$ac_exeext 13500if ac_fn_c_try_run "$LINENO"; then :
25832if { (ac_try="$ac_link"
25833case "(($ac_try" in
25834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25835 *) ac_try_echo=$ac_try;;
25836esac
25837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25838$as_echo "$ac_try_echo") >&5
25839 (eval "$ac_link") 2>&5
25840 ac_status=$?
25841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25843 { (case "(($ac_try" in
25844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25845 *) ac_try_echo=$ac_try;;
25846esac
25847eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25848$as_echo "$ac_try_echo") >&5
25849 (eval "$ac_try") 2>&5
25850 ac_status=$?
25851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; }; then
25853 ac_cv_func_vfork_works=yes 13501 ac_cv_func_vfork_works=yes
25854else 13502else
25855 $as_echo "$as_me: program exited with status $ac_status" >&5 13503 ac_cv_func_vfork_works=no
25856$as_echo "$as_me: failed program was:" >&5
25857sed 's/^/| /' conftest.$ac_ext >&5
25858
25859( exit $ac_status )
25860ac_cv_func_vfork_works=no
25861fi 13504fi
25862rm -rf conftest.dSYM 13505rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25863rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13506 conftest.$ac_objext conftest.beam conftest.$ac_ext
25864fi 13507fi
25865 13508
25866
25867fi 13509fi
25868{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 13510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
25869$as_echo "$ac_cv_func_vfork_works" >&6; } 13511$as_echo "$ac_cv_func_vfork_works" >&6; }
25870 13512
25871fi; 13513fi;
25872if test "x$ac_cv_func_fork_works" = xcross; then 13514if test "x$ac_cv_func_fork_works" = xcross; then
25873 ac_cv_func_vfork_works=$ac_cv_func_vfork 13515 ac_cv_func_vfork_works=$ac_cv_func_vfork
25874 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 13516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
25875$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 13517$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
25876fi 13518fi
25877 13519
25878if test "x$ac_cv_func_vfork_works" = xyes; then 13520if test "x$ac_cv_func_vfork_works" = xyes; then
25879 13521
25880cat >>confdefs.h <<\_ACEOF 13522$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
25881#define HAVE_WORKING_VFORK 1
25882_ACEOF
25883 13523
25884else 13524else
25885 13525
25886cat >>confdefs.h <<\_ACEOF 13526$as_echo "#define vfork fork" >>confdefs.h
25887#define vfork fork
25888_ACEOF
25889 13527
25890fi 13528fi
25891if test "x$ac_cv_func_fork_works" = xyes; then 13529if test "x$ac_cv_func_fork_works" = xyes; then
25892 13530
25893cat >>confdefs.h <<\_ACEOF 13531$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
25894#define HAVE_WORKING_FORK 1
25895_ACEOF
25896 13532
25897fi 13533fi
25898 13534
25899 13535
25900{ $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 13536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
25901$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 13537$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
25902if test "${emacs_cv_langinfo_codeset+set}" = set; then 13538if test "${emacs_cv_langinfo_codeset+set}" = set; then :
25903 $as_echo_n "(cached) " >&6 13539 $as_echo_n "(cached) " >&6
25904else 13540else
25905 cat >conftest.$ac_ext <<_ACEOF 13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25906/* confdefs.h. */
25907_ACEOF
25908cat confdefs.h >>conftest.$ac_ext
25909cat >>conftest.$ac_ext <<_ACEOF
25910/* end confdefs.h. */ 13542/* end confdefs.h. */
25911#include <langinfo.h> 13543#include <langinfo.h>
25912int 13544int
@@ -25917,145 +13549,25 @@ char* cs = nl_langinfo(CODESET);
25917 return 0; 13549 return 0;
25918} 13550}
25919_ACEOF 13551_ACEOF
25920rm -f conftest.$ac_objext conftest$ac_exeext 13552if ac_fn_c_try_link "$LINENO"; then :
25921if { (ac_try="$ac_link"
25922case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25925esac
25926eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25927$as_echo "$ac_try_echo") >&5
25928 (eval "$ac_link") 2>conftest.er1
25929 ac_status=$?
25930 grep -v '^ *+' conftest.er1 >conftest.err
25931 rm -f conftest.er1
25932 cat conftest.err >&5
25933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } && {
25935 test -z "$ac_c_werror_flag" ||
25936 test ! -s conftest.err
25937 } && test -s conftest$ac_exeext && {
25938 test "$cross_compiling" = yes ||
25939 $as_test_x conftest$ac_exeext
25940 }; then
25941 emacs_cv_langinfo_codeset=yes 13553 emacs_cv_langinfo_codeset=yes
25942else 13554else
25943 $as_echo "$as_me: failed program was:" >&5 13555 emacs_cv_langinfo_codeset=no
25944sed 's/^/| /' conftest.$ac_ext >&5
25945
25946 emacs_cv_langinfo_codeset=no
25947fi 13556fi
25948 13557rm -f core conftest.err conftest.$ac_objext \
25949rm -rf conftest.dSYM 13558 conftest$ac_exeext conftest.$ac_ext
25950rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25951 conftest$ac_exeext conftest.$ac_ext
25952 13559
25953fi 13560fi
25954{ $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 13561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5
25955$as_echo "$emacs_cv_langinfo_codeset" >&6; } 13562$as_echo "$emacs_cv_langinfo_codeset" >&6; }
25956if test $emacs_cv_langinfo_codeset = yes; then 13563if test $emacs_cv_langinfo_codeset = yes; then
25957 13564
25958cat >>confdefs.h <<\_ACEOF 13565$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
25959#define HAVE_LANGINFO_CODESET 1
25960_ACEOF
25961
25962fi
25963
25964{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
25965$as_echo_n "checking for size_t... " >&6; }
25966if test "${ac_cv_type_size_t+set}" = set; then
25967 $as_echo_n "(cached) " >&6
25968else
25969 ac_cv_type_size_t=no
25970cat >conftest.$ac_ext <<_ACEOF
25971/* confdefs.h. */
25972_ACEOF
25973cat confdefs.h >>conftest.$ac_ext
25974cat >>conftest.$ac_ext <<_ACEOF
25975/* end confdefs.h. */
25976$ac_includes_default
25977int
25978main ()
25979{
25980if (sizeof (size_t))
25981 return 0;
25982 ;
25983 return 0;
25984}
25985_ACEOF
25986rm -f conftest.$ac_objext
25987if { (ac_try="$ac_compile"
25988case "(($ac_try" in
25989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25990 *) ac_try_echo=$ac_try;;
25991esac
25992eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25993$as_echo "$ac_try_echo") >&5
25994 (eval "$ac_compile") 2>conftest.er1
25995 ac_status=$?
25996 grep -v '^ *+' conftest.er1 >conftest.err
25997 rm -f conftest.er1
25998 cat conftest.err >&5
25999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); } && {
26001 test -z "$ac_c_werror_flag" ||
26002 test ! -s conftest.err
26003 } && test -s conftest.$ac_objext; then
26004 cat >conftest.$ac_ext <<_ACEOF
26005/* confdefs.h. */
26006_ACEOF
26007cat confdefs.h >>conftest.$ac_ext
26008cat >>conftest.$ac_ext <<_ACEOF
26009/* end confdefs.h. */
26010$ac_includes_default
26011int
26012main ()
26013{
26014if (sizeof ((size_t)))
26015 return 0;
26016 ;
26017 return 0;
26018}
26019_ACEOF
26020rm -f conftest.$ac_objext
26021if { (ac_try="$ac_compile"
26022case "(($ac_try" in
26023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26024 *) ac_try_echo=$ac_try;;
26025esac
26026eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26027$as_echo "$ac_try_echo") >&5
26028 (eval "$ac_compile") 2>conftest.er1
26029 ac_status=$?
26030 grep -v '^ *+' conftest.er1 >conftest.err
26031 rm -f conftest.er1
26032 cat conftest.err >&5
26033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } && {
26035 test -z "$ac_c_werror_flag" ||
26036 test ! -s conftest.err
26037 } && test -s conftest.$ac_objext; then
26038 :
26039else
26040 $as_echo "$as_me: failed program was:" >&5
26041sed 's/^/| /' conftest.$ac_ext >&5
26042
26043 ac_cv_type_size_t=yes
26044fi
26045
26046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047else
26048 $as_echo "$as_me: failed program was:" >&5
26049sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 13566
26052fi 13567fi
26053 13568
26054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13569ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
26055fi 13570if test "x$ac_cv_type_size_t" = x""yes; then :
26056{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26057$as_echo "$ac_cv_type_size_t" >&6; }
26058if test $ac_cv_type_size_t = yes; then
26059 13571
26060cat >>confdefs.h <<_ACEOF 13572cat >>confdefs.h <<_ACEOF
26061#define HAVE_SIZE_T 1 13573#define HAVE_SIZE_T 1
@@ -26065,16 +13577,12 @@ _ACEOF
26065fi 13577fi
26066 13578
26067 13579
26068{ $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 13580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
26069$as_echo_n "checking for mbstate_t... " >&6; } 13581$as_echo_n "checking for mbstate_t... " >&6; }
26070if test "${ac_cv_type_mbstate_t+set}" = set; then 13582if test "${ac_cv_type_mbstate_t+set}" = set; then :
26071 $as_echo_n "(cached) " >&6 13583 $as_echo_n "(cached) " >&6
26072else 13584else
26073 cat >conftest.$ac_ext <<_ACEOF 13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074/* confdefs.h. */
26075_ACEOF
26076cat confdefs.h >>conftest.$ac_ext
26077cat >>conftest.$ac_ext <<_ACEOF
26078/* end confdefs.h. */ 13586/* end confdefs.h. */
26079$ac_includes_default 13587$ac_includes_default
26080# include <wchar.h> 13588# include <wchar.h>
@@ -26086,60 +13594,31 @@ mbstate_t x; return sizeof x;
26086 return 0; 13594 return 0;
26087} 13595}
26088_ACEOF 13596_ACEOF
26089rm -f conftest.$ac_objext 13597if ac_fn_c_try_compile "$LINENO"; then :
26090if { (ac_try="$ac_compile"
26091case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26094esac
26095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26096$as_echo "$ac_try_echo") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_c_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26107 ac_cv_type_mbstate_t=yes 13598 ac_cv_type_mbstate_t=yes
26108else 13599else
26109 $as_echo "$as_me: failed program was:" >&5 13600 ac_cv_type_mbstate_t=no
26110sed 's/^/| /' conftest.$ac_ext >&5
26111
26112 ac_cv_type_mbstate_t=no
26113fi 13601fi
26114
26115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26116fi 13603fi
26117{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 13604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
26118$as_echo "$ac_cv_type_mbstate_t" >&6; } 13605$as_echo "$ac_cv_type_mbstate_t" >&6; }
26119 if test $ac_cv_type_mbstate_t = yes; then 13606 if test $ac_cv_type_mbstate_t = yes; then
26120 13607
26121cat >>confdefs.h <<\_ACEOF 13608$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
26122#define HAVE_MBSTATE_T 1
26123_ACEOF
26124 13609
26125 else 13610 else
26126 13611
26127cat >>confdefs.h <<\_ACEOF 13612$as_echo "#define mbstate_t int" >>confdefs.h
26128#define mbstate_t int
26129_ACEOF
26130 13613
26131 fi 13614 fi
26132 13615
26133{ $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 13616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
26134$as_echo_n "checking for C restrict keyword... " >&6; } 13617$as_echo_n "checking for C restrict keyword... " >&6; }
26135if test "${emacs_cv_c_restrict+set}" = set; then 13618if test "${emacs_cv_c_restrict+set}" = set; then :
26136 $as_echo_n "(cached) " >&6 13619 $as_echo_n "(cached) " >&6
26137else 13620else
26138 cat >conftest.$ac_ext <<_ACEOF 13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139/* confdefs.h. */
26140_ACEOF
26141cat confdefs.h >>conftest.$ac_ext
26142cat >>conftest.$ac_ext <<_ACEOF
26143/* end confdefs.h. */ 13622/* end confdefs.h. */
26144void fred (int *restrict x); 13623void fred (int *restrict x);
26145int 13624int
@@ -26150,34 +13629,10 @@ main ()
26150 return 0; 13629 return 0;
26151} 13630}
26152_ACEOF 13631_ACEOF
26153rm -f conftest.$ac_objext 13632if ac_fn_c_try_compile "$LINENO"; then :
26154if { (ac_try="$ac_compile"
26155case "(($ac_try" in
26156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26157 *) ac_try_echo=$ac_try;;
26158esac
26159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26160$as_echo "$ac_try_echo") >&5
26161 (eval "$ac_compile") 2>conftest.er1
26162 ac_status=$?
26163 grep -v '^ *+' conftest.er1 >conftest.err
26164 rm -f conftest.er1
26165 cat conftest.err >&5
26166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } && {
26168 test -z "$ac_c_werror_flag" ||
26169 test ! -s conftest.err
26170 } && test -s conftest.$ac_objext; then
26171 emacs_cv_c_restrict=yes 13633 emacs_cv_c_restrict=yes
26172else 13634else
26173 $as_echo "$as_me: failed program was:" >&5 13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26174sed 's/^/| /' conftest.$ac_ext >&5
26175
26176 cat >conftest.$ac_ext <<_ACEOF
26177/* confdefs.h. */
26178_ACEOF
26179cat confdefs.h >>conftest.$ac_ext
26180cat >>conftest.$ac_ext <<_ACEOF
26181/* end confdefs.h. */ 13636/* end confdefs.h. */
26182void fred (int *__restrict x); 13637void fred (int *__restrict x);
26183int 13638int
@@ -26188,38 +13643,16 @@ main ()
26188 return 0; 13643 return 0;
26189} 13644}
26190_ACEOF 13645_ACEOF
26191rm -f conftest.$ac_objext 13646if ac_fn_c_try_compile "$LINENO"; then :
26192if { (ac_try="$ac_compile"
26193case "(($ac_try" in
26194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26195 *) ac_try_echo=$ac_try;;
26196esac
26197eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26198$as_echo "$ac_try_echo") >&5
26199 (eval "$ac_compile") 2>conftest.er1
26200 ac_status=$?
26201 grep -v '^ *+' conftest.er1 >conftest.err
26202 rm -f conftest.er1
26203 cat conftest.err >&5
26204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); } && {
26206 test -z "$ac_c_werror_flag" ||
26207 test ! -s conftest.err
26208 } && test -s conftest.$ac_objext; then
26209 emacs_cv_c_restrict=__restrict 13647 emacs_cv_c_restrict=__restrict
26210else 13648else
26211 $as_echo "$as_me: failed program was:" >&5 13649 emacs_cv_c_restrict=no
26212sed 's/^/| /' conftest.$ac_ext >&5
26213
26214 emacs_cv_c_restrict=no
26215fi 13650fi
26216
26217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26218fi 13652fi
26219
26220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26221fi 13654fi
26222{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 13655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5
26223$as_echo "$emacs_cv_c_restrict" >&6; } 13656$as_echo "$emacs_cv_c_restrict" >&6; }
26224case "$emacs_cv_c_restrict" in 13657case "$emacs_cv_c_restrict" in
26225 yes) emacs_restrict=restrict;; 13658 yes) emacs_restrict=restrict;;
@@ -26234,16 +13667,12 @@ _ACEOF
26234 13667
26235fi 13668fi
26236 13669
26237{ $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 13670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
26238$as_echo_n "checking for C restricted array declarations... " >&6; } 13671$as_echo_n "checking for C restricted array declarations... " >&6; }
26239if test "${emacs_cv_c_restrict_arr+set}" = set; then 13672if test "${emacs_cv_c_restrict_arr+set}" = set; then :
26240 $as_echo_n "(cached) " >&6 13673 $as_echo_n "(cached) " >&6
26241else 13674else
26242 cat >conftest.$ac_ext <<_ACEOF 13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26243/* confdefs.h. */
26244_ACEOF
26245cat confdefs.h >>conftest.$ac_ext
26246cat >>conftest.$ac_ext <<_ACEOF
26247/* end confdefs.h. */ 13676/* end confdefs.h. */
26248void fred (int x[__restrict]); 13677void fred (int x[__restrict]);
26249int 13678int
@@ -26254,41 +13683,18 @@ main ()
26254 return 0; 13683 return 0;
26255} 13684}
26256_ACEOF 13685_ACEOF
26257rm -f conftest.$ac_objext 13686if ac_fn_c_try_compile "$LINENO"; then :
26258if { (ac_try="$ac_compile"
26259case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26262esac
26263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26264$as_echo "$ac_try_echo") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.$ac_objext; then
26275 emacs_cv_c_restrict_arr=yes 13687 emacs_cv_c_restrict_arr=yes
26276else 13688else
26277 $as_echo "$as_me: failed program was:" >&5 13689 emacs_cv_c_restrict_arr=no
26278sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 emacs_cv_c_restrict_arr=no
26281fi 13690fi
26282
26283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284fi 13692fi
26285{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 13693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5
26286$as_echo "$emacs_cv_c_restrict_arr" >&6; } 13694$as_echo "$emacs_cv_c_restrict_arr" >&6; }
26287if test "$emacs_cv_c_restrict_arr" = yes; then 13695if test "$emacs_cv_c_restrict_arr" = yes; then
26288 13696
26289cat >>confdefs.h <<\_ACEOF 13697$as_echo "#define __restrict_arr __restrict" >>confdefs.h
26290#define __restrict_arr __restrict
26291_ACEOF
26292 13698
26293fi 13699fi
26294 13700
@@ -26303,22 +13709,18 @@ if test "x$GCC" = xyes \
26303 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 13709 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
26304 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 13710 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
26305 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 13711 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
26306 { { $as_echo "$as_me:$LINENO: error: GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." >&5 13712 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
26307$as_echo "$as_me: error: GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." >&2;}
26308 { (exit 1); exit 1; }; }
26309fi 13713fi
26310 13714
26311#### Find out which version of Emacs this is. 13715#### Find out which version of Emacs this is.
26312version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 13716version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
26313 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 13717 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
26314if test x"${version}" = x; then 13718if test x"${version}" = x; then
26315 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 13719 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
26316$as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
26317 { (exit 1); exit 1; }; }
26318fi 13720fi
26319if test x"${version}" != x"$PACKAGE_VERSION"; then 13721if test x"${version}" != x"$PACKAGE_VERSION"; then
26320 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 13722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
26321$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} 13723$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;}
26322fi 13724fi
26323 13725
26324### Specify what sort of things we'll be editing into Makefile and config.h. 13726### Specify what sort of things we'll be editing into Makefile and config.h.
@@ -26393,9 +13795,7 @@ XMENU_OBJ=
26393XOBJ= 13795XOBJ=
26394if test "${HAVE_X_WINDOWS}" = "yes" ; then 13796if test "${HAVE_X_WINDOWS}" = "yes" ; then
26395 13797
26396cat >>confdefs.h <<\_ACEOF 13798$as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h
26397#define HAVE_X_WINDOWS 1
26398_ACEOF
26399 13799
26400 XMENU_OBJ=xmenu.o 13800 XMENU_OBJ=xmenu.o
26401 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" 13801 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o"
@@ -26408,21 +13808,15 @@ MOTIF_LIBW=
26408if test "${USE_X_TOOLKIT}" != "none" ; then 13808if test "${USE_X_TOOLKIT}" != "none" ; then
26409 WIDGET_OBJ=widget.o 13809 WIDGET_OBJ=widget.o
26410 13810
26411cat >>confdefs.h <<\_ACEOF 13811$as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h
26412#define USE_X_TOOLKIT 1
26413_ACEOF
26414 13812
26415 if test "${USE_X_TOOLKIT}" = "LUCID"; then 13813 if test "${USE_X_TOOLKIT}" = "LUCID"; then
26416 13814
26417cat >>confdefs.h <<\_ACEOF 13815$as_echo "#define USE_LUCID 1" >>confdefs.h
26418#define USE_LUCID 1
26419_ACEOF
26420 13816
26421 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then 13817 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then
26422 13818
26423cat >>confdefs.h <<\_ACEOF 13819$as_echo "#define USE_MOTIF 1" >>confdefs.h
26424#define USE_MOTIF 1
26425_ACEOF
26426 13820
26427 MOTIF_LIBW=-lXm 13821 MOTIF_LIBW=-lXm
26428 case "$opsys" in 13822 case "$opsys" in
@@ -26470,9 +13864,7 @@ fi
26470## otherwise, use our own copy. 13864## otherwise, use our own copy.
26471if test "${HAVE_X11}" = "yes" ; then 13865if test "${HAVE_X11}" = "yes" ; then
26472 13866
26473cat >>confdefs.h <<\_ACEOF 13867$as_echo "#define HAVE_X11 1" >>confdefs.h
26474#define HAVE_X11 1
26475_ACEOF
26476 13868
26477 13869
26478 if test "$USE_X_TOOLKIT" = "none"; then 13870 if test "$USE_X_TOOLKIT" = "none"; then
@@ -26499,23 +13891,17 @@ fi
26499 13891
26500if test "${HAVE_MENUS}" = "yes" ; then 13892if test "${HAVE_MENUS}" = "yes" ; then
26501 13893
26502cat >>confdefs.h <<\_ACEOF 13894$as_echo "#define HAVE_MENUS 1" >>confdefs.h
26503#define HAVE_MENUS 1
26504_ACEOF
26505 13895
26506fi 13896fi
26507if test "${GNU_MALLOC}" = "yes" ; then 13897if test "${GNU_MALLOC}" = "yes" ; then
26508 13898
26509cat >>confdefs.h <<\_ACEOF 13899$as_echo "#define GNU_MALLOC 1" >>confdefs.h
26510#define GNU_MALLOC 1
26511_ACEOF
26512 13900
26513fi 13901fi
26514if test "${REL_ALLOC}" = "yes" ; then 13902if test "${REL_ALLOC}" = "yes" ; then
26515 13903
26516cat >>confdefs.h <<\_ACEOF 13904$as_echo "#define REL_ALLOC 1" >>confdefs.h
26517#define REL_ALLOC 1
26518_ACEOF
26519 13905
26520fi 13906fi
26521 13907
@@ -26608,14 +13994,10 @@ WINDOW_SUPPORT=
26608## If we're using X11/GNUstep, define some consequences. 13994## If we're using X11/GNUstep, define some consequences.
26609if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then 13995if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then
26610 13996
26611cat >>confdefs.h <<\_ACEOF 13997$as_echo "#define HAVE_WINDOW_SYSTEM 1" >>confdefs.h
26612#define HAVE_WINDOW_SYSTEM 1
26613_ACEOF
26614 13998
26615 13999
26616cat >>confdefs.h <<\_ACEOF 14000$as_echo "#define HAVE_MOUSE 1" >>confdefs.h
26617#define HAVE_MOUSE 1
26618_ACEOF
26619 14001
26620 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)" 14002 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)"
26621 TOOLTIP_SUPPORT="\${lispsource}mouse.elc" 14003 TOOLTIP_SUPPORT="\${lispsource}mouse.elc"
@@ -26632,8 +14014,6 @@ fi
26632 14014
26633 14015
26634 14016
26635
26636
26637#### Report on what we decided to do. 14017#### Report on what we decided to do.
26638#### Report GTK as a toolkit, even if it doesn't use Xt. 14018#### Report GTK as a toolkit, even if it doesn't use Xt.
26639#### It makes printing result more understandable as using GTK sets 14019#### It makes printing result more understandable as using GTK sets
@@ -26738,16 +14118,12 @@ cpp_undefs="`echo $srcdir $configuration $canonical unix mktime register X11 |
26738## from Makefile.c can correctly provide the arg `-traditional' to the 14118## from Makefile.c can correctly provide the arg `-traditional' to the
26739## C preprocessor. 14119## C preprocessor.
26740 14120
26741cat >conftest.$ac_ext <<_ACEOF 14121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742/* confdefs.h. */
26743_ACEOF
26744cat confdefs.h >>conftest.$ac_ext
26745cat >>conftest.$ac_ext <<_ACEOF
26746/* end confdefs.h. */ 14122/* end confdefs.h. */
26747yes..yes 14123yes..yes
26748_ACEOF 14124_ACEOF
26749if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14125if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26750 $EGREP "yes..yes" >/dev/null 2>&1; then 14126 $EGREP "yes..yes" >/dev/null 2>&1; then :
26751 CPP_NEED_TRADITIONAL=no 14127 CPP_NEED_TRADITIONAL=no
26752else 14128else
26753 CPP_NEED_TRADITIONAL=yes 14129 CPP_NEED_TRADITIONAL=yes
@@ -26786,13 +14162,13 @@ _ACEOF
26786 case $ac_val in #( 14162 case $ac_val in #(
26787 *${as_nl}*) 14163 *${as_nl}*)
26788 case $ac_var in #( 14164 case $ac_var in #(
26789 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 14165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26790$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 14166$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26791 esac 14167 esac
26792 case $ac_var in #( 14168 case $ac_var in #(
26793 _ | IFS | as_nl) ;; #( 14169 _ | IFS | as_nl) ;; #(
26794 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26795 *) $as_unset $ac_var ;; 14171 *) { eval $ac_var=; unset $ac_var;} ;;
26796 esac ;; 14172 esac ;;
26797 esac 14173 esac
26798 done 14174 done
@@ -26800,8 +14176,8 @@ $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26800 (set) 2>&1 | 14176 (set) 2>&1 |
26801 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26802 *${as_nl}ac_space=\ *) 14178 *${as_nl}ac_space=\ *)
26803 # `set' does not quote correctly, so add quotes (double-quote 14179 # `set' does not quote correctly, so add quotes: double-quote
26804 # substitution turns \\\\ into \\, and sed turns \\ into \). 14180 # substitution turns \\\\ into \\, and sed turns \\ into \.
26805 sed -n \ 14181 sed -n \
26806 "s/'/'\\\\''/g; 14182 "s/'/'\\\\''/g;
26807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -26824,11 +14200,11 @@ $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26824if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14200if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26825 if test -w "$cache_file"; then 14201 if test -w "$cache_file"; then
26826 test "x$cache_file" != "x/dev/null" && 14202 test "x$cache_file" != "x/dev/null" &&
26827 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 14203 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26828$as_echo "$as_me: updating cache $cache_file" >&6;} 14204$as_echo "$as_me: updating cache $cache_file" >&6;}
26829 cat confcache >$cache_file 14205 cat confcache >$cache_file
26830 else 14206 else
26831 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 14207 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26832$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14208$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26833 fi 14209 fi
26834fi 14210fi
@@ -26848,8 +14224,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26848 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14224 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26849 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14225 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26850 # will be set to the directory where LIBOBJS objects are built. 14226 # will be set to the directory where LIBOBJS objects are built.
26851 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14227 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26852 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 14228 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26853done 14229done
26854LIBOBJS=$ac_libobjs 14230LIBOBJS=$ac_libobjs
26855 14231
@@ -26861,9 +14237,10 @@ LTLIBOBJS=$ac_ltlibobjs
26861ac_write_fail=0 14237ac_write_fail=0
26862ac_clean_files_save=$ac_clean_files 14238ac_clean_files_save=$ac_clean_files
26863ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14239ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26864{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 14240{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26865$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14241$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26866cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14242as_write_fail=0
14243cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26867#! $SHELL 14244#! $SHELL
26868# Generated by $as_me. 14245# Generated by $as_me.
26869# Run this file to recreate the current configuration. 14246# Run this file to recreate the current configuration.
@@ -26873,17 +14250,18 @@ cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26873debug=false 14250debug=false
26874ac_cs_recheck=false 14251ac_cs_recheck=false
26875ac_cs_silent=false 14252ac_cs_silent=false
26876SHELL=\${CONFIG_SHELL-$SHELL}
26877_ACEOF
26878 14253
26879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14254SHELL=\${CONFIG_SHELL-$SHELL}
26880## --------------------- ## 14255export SHELL
26881## M4sh Initialization. ## 14256_ASEOF
26882## --------------------- ## 14257cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14258## -------------------- ##
14259## M4sh Initialization. ##
14260## -------------------- ##
26883 14261
26884# Be more Bourne compatible 14262# Be more Bourne compatible
26885DUALCASE=1; export DUALCASE # for MKS sh 14263DUALCASE=1; export DUALCASE # for MKS sh
26886if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26887 emulate sh 14265 emulate sh
26888 NULLCMD=: 14266 NULLCMD=:
26889 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14267 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -26891,23 +14269,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26891 alias -g '${1+"$@"}'='"$@"' 14269 alias -g '${1+"$@"}'='"$@"'
26892 setopt NO_GLOB_SUBST 14270 setopt NO_GLOB_SUBST
26893else 14271else
26894 case `(set -o) 2>/dev/null` in 14272 case `(set -o) 2>/dev/null` in #(
26895 *posix*) set -o posix ;; 14273 *posix*) :
14274 set -o posix ;; #(
14275 *) :
14276 ;;
26896esac 14277esac
26897
26898fi 14278fi
26899 14279
26900 14280
26901
26902
26903# PATH needs CR
26904# Avoid depending upon Character Ranges.
26905as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26906as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26907as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26908as_cr_digits='0123456789'
26909as_cr_alnum=$as_cr_Letters$as_cr_digits
26910
26911as_nl=' 14281as_nl='
26912' 14282'
26913export as_nl 14283export as_nl
@@ -26915,7 +14285,13 @@ export as_nl
26915as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14285as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26916as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14286as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26917as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14287as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26918if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14288# Prefer a ksh shell builtin over an external printf program on Solaris,
14289# but without wasting forks for bash or zsh.
14290if test -z "$BASH_VERSION$ZSH_VERSION" \
14291 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14292 as_echo='print -r --'
14293 as_echo_n='print -rn --'
14294elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26919 as_echo='printf %s\n' 14295 as_echo='printf %s\n'
26920 as_echo_n='printf %s' 14296 as_echo_n='printf %s'
26921else 14297else
@@ -26926,7 +14302,7 @@ else
26926 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14302 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26927 as_echo_n_body='eval 14303 as_echo_n_body='eval
26928 arg=$1; 14304 arg=$1;
26929 case $arg in 14305 case $arg in #(
26930 *"$as_nl"*) 14306 *"$as_nl"*)
26931 expr "X$arg" : "X\\(.*\\)$as_nl"; 14307 expr "X$arg" : "X\\(.*\\)$as_nl";
26932 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14308 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -26949,13 +14325,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
26949 } 14325 }
26950fi 14326fi
26951 14327
26952# Support unset when possible.
26953if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26954 as_unset=unset
26955else
26956 as_unset=false
26957fi
26958
26959 14328
26960# IFS 14329# IFS
26961# We need space, tab and new line, in precisely that order. Quoting is 14330# We need space, tab and new line, in precisely that order. Quoting is
@@ -26965,15 +14334,15 @@ fi
26965IFS=" "" $as_nl" 14334IFS=" "" $as_nl"
26966 14335
26967# Find who we are. Look in the path if we contain no directory separator. 14336# Find who we are. Look in the path if we contain no directory separator.
26968case $0 in 14337case $0 in #((
26969 *[\\/]* ) as_myself=$0 ;; 14338 *[\\/]* ) as_myself=$0 ;;
26970 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26971for as_dir in $PATH 14340for as_dir in $PATH
26972do 14341do
26973 IFS=$as_save_IFS 14342 IFS=$as_save_IFS
26974 test -z "$as_dir" && as_dir=. 14343 test -z "$as_dir" && as_dir=.
26975 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26976done 14345 done
26977IFS=$as_save_IFS 14346IFS=$as_save_IFS
26978 14347
26979 ;; 14348 ;;
@@ -26985,12 +14354,16 @@ if test "x$as_myself" = x; then
26985fi 14354fi
26986if test ! -f "$as_myself"; then 14355if test ! -f "$as_myself"; then
26987 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14356 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26988 { (exit 1); exit 1; } 14357 exit 1
26989fi 14358fi
26990 14359
26991# Work around bugs in pre-3.0 UWIN ksh. 14360# Unset variables that we do not need and which cause bugs (e.g. in
26992for as_var in ENV MAIL MAILPATH 14361# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26993do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 14362# suppresses any "Segmentation fault" message there. '((' could
14363# trigger a bug in pdksh 5.2.14.
14364for as_var in BASH_ENV ENV MAIL MAILPATH
14365do eval test x\${$as_var+set} = xset \
14366 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26994done 14367done
26995PS1='$ ' 14368PS1='$ '
26996PS2='> ' 14369PS2='> '
@@ -27002,7 +14375,89 @@ export LC_ALL
27002LANGUAGE=C 14375LANGUAGE=C
27003export LANGUAGE 14376export LANGUAGE
27004 14377
27005# Required to use basename. 14378# CDPATH.
14379(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14380
14381
14382# as_fn_error ERROR [LINENO LOG_FD]
14383# ---------------------------------
14384# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14385# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14386# script with status $?, using 1 if that was 0.
14387as_fn_error ()
14388{
14389 as_status=$?; test $as_status -eq 0 && as_status=1
14390 if test "$3"; then
14391 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14392 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14393 fi
14394 $as_echo "$as_me: error: $1" >&2
14395 as_fn_exit $as_status
14396} # as_fn_error
14397
14398
14399# as_fn_set_status STATUS
14400# -----------------------
14401# Set $? to STATUS, without forking.
14402as_fn_set_status ()
14403{
14404 return $1
14405} # as_fn_set_status
14406
14407# as_fn_exit STATUS
14408# -----------------
14409# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14410as_fn_exit ()
14411{
14412 set +e
14413 as_fn_set_status $1
14414 exit $1
14415} # as_fn_exit
14416
14417# as_fn_unset VAR
14418# ---------------
14419# Portably unset VAR.
14420as_fn_unset ()
14421{
14422 { eval $1=; unset $1;}
14423}
14424as_unset=as_fn_unset
14425# as_fn_append VAR VALUE
14426# ----------------------
14427# Append the text in VALUE to the end of the definition contained in VAR. Take
14428# advantage of any shell optimizations that allow amortized linear growth over
14429# repeated appends, instead of the typical quadratic growth present in naive
14430# implementations.
14431if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14432 eval 'as_fn_append ()
14433 {
14434 eval $1+=\$2
14435 }'
14436else
14437 as_fn_append ()
14438 {
14439 eval $1=\$$1\$2
14440 }
14441fi # as_fn_append
14442
14443# as_fn_arith ARG...
14444# ------------------
14445# Perform arithmetic evaluation on the ARGs, and store the result in the
14446# global $as_val. Take advantage of shells that can avoid forks. The arguments
14447# must be portable across $(()) and expr.
14448if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14449 eval 'as_fn_arith ()
14450 {
14451 as_val=$(( $* ))
14452 }'
14453else
14454 as_fn_arith ()
14455 {
14456 as_val=`expr "$@" || test $? -eq 1`
14457 }
14458fi # as_fn_arith
14459
14460
27006if expr a : '\(a\)' >/dev/null 2>&1 && 14461if expr a : '\(a\)' >/dev/null 2>&1 &&
27007 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14462 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27008 as_expr=expr 14463 as_expr=expr
@@ -27016,8 +14471,12 @@ else
27016 as_basename=false 14471 as_basename=false
27017fi 14472fi
27018 14473
14474if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14475 as_dirname=dirname
14476else
14477 as_dirname=false
14478fi
27019 14479
27020# Name of the executable.
27021as_me=`$as_basename -- "$0" || 14480as_me=`$as_basename -- "$0" ||
27022$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14481$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27023 X"$0" : 'X\(//\)$' \| \ 14482 X"$0" : 'X\(//\)$' \| \
@@ -27037,76 +14496,25 @@ $as_echo X/"$0" |
27037 } 14496 }
27038 s/.*/./; q'` 14497 s/.*/./; q'`
27039 14498
27040# CDPATH. 14499# Avoid depending upon Character Ranges.
27041$as_unset CDPATH 14500as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27042 14501as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27043 14502as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27044 14503as_cr_digits='0123456789'
27045 as_lineno_1=$LINENO 14504as_cr_alnum=$as_cr_Letters$as_cr_digits
27046 as_lineno_2=$LINENO
27047 test "x$as_lineno_1" != "x$as_lineno_2" &&
27048 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
27049
27050 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27051 # uniformly replaced by the line number. The first 'sed' inserts a
27052 # line-number line after each line using $LINENO; the second 'sed'
27053 # does the real work. The second script uses 'N' to pair each
27054 # line-number line with the line containing $LINENO, and appends
27055 # trailing '-' during substitution so that $LINENO is not a special
27056 # case at line end.
27057 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27058 # scripts with optimization help from Paolo Bonzini. Blame Lee
27059 # E. McMahon (1931-1989) for sed's syntax. :-)
27060 sed -n '
27061 p
27062 /[$]LINENO/=
27063 ' <$as_myself |
27064 sed '
27065 s/[$]LINENO.*/&-/
27066 t lineno
27067 b
27068 :lineno
27069 N
27070 :loop
27071 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
27072 t loop
27073 s/-\n.*//
27074 ' >$as_me.lineno &&
27075 chmod +x "$as_me.lineno" ||
27076 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
27077 { (exit 1); exit 1; }; }
27078
27079 # Don't try to exec as it changes $[0], causing all sort of problems
27080 # (the dirname of $[0] is not the place where we might find the
27081 # original and so on. Autoconf is especially sensitive to this).
27082 . "./$as_me.lineno"
27083 # Exit status is that of the last command.
27084 exit
27085}
27086
27087
27088if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27089 as_dirname=dirname
27090else
27091 as_dirname=false
27092fi
27093 14505
27094ECHO_C= ECHO_N= ECHO_T= 14506ECHO_C= ECHO_N= ECHO_T=
27095case `echo -n x` in 14507case `echo -n x` in #(((((
27096-n*) 14508-n*)
27097 case `echo 'x\c'` in 14509 case `echo 'xy\c'` in
27098 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14510 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27099 *) ECHO_C='\c';; 14511 xy) ECHO_C='\c';;
14512 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14513 ECHO_T=' ';;
27100 esac;; 14514 esac;;
27101*) 14515*)
27102 ECHO_N='-n';; 14516 ECHO_N='-n';;
27103esac 14517esac
27104if expr a : '\(a\)' >/dev/null 2>&1 &&
27105 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27106 as_expr=expr
27107else
27108 as_expr=false
27109fi
27110 14518
27111rm -f conf$$ conf$$.exe conf$$.file 14519rm -f conf$$ conf$$.exe conf$$.file
27112if test -d conf$$.dir; then 14520if test -d conf$$.dir; then
@@ -27135,8 +14543,56 @@ fi
27135rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14543rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27136rmdir conf$$.dir 2>/dev/null 14544rmdir conf$$.dir 2>/dev/null
27137 14545
14546
14547# as_fn_mkdir_p
14548# -------------
14549# Create "$as_dir" as a directory, including parents if necessary.
14550as_fn_mkdir_p ()
14551{
14552
14553 case $as_dir in #(
14554 -*) as_dir=./$as_dir;;
14555 esac
14556 test -d "$as_dir" || eval $as_mkdir_p || {
14557 as_dirs=
14558 while :; do
14559 case $as_dir in #(
14560 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14561 *) as_qdir=$as_dir;;
14562 esac
14563 as_dirs="'$as_qdir' $as_dirs"
14564 as_dir=`$as_dirname -- "$as_dir" ||
14565$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14566 X"$as_dir" : 'X\(//\)[^/]' \| \
14567 X"$as_dir" : 'X\(//\)$' \| \
14568 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14569$as_echo X"$as_dir" |
14570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14571 s//\1/
14572 q
14573 }
14574 /^X\(\/\/\)[^/].*/{
14575 s//\1/
14576 q
14577 }
14578 /^X\(\/\/\)$/{
14579 s//\1/
14580 q
14581 }
14582 /^X\(\/\).*/{
14583 s//\1/
14584 q
14585 }
14586 s/.*/./; q'`
14587 test -d "$as_dir" && break
14588 done
14589 test -z "$as_dirs" || eval "mkdir $as_dirs"
14590 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14591
14592
14593} # as_fn_mkdir_p
27138if mkdir -p . 2>/dev/null; then 14594if mkdir -p . 2>/dev/null; then
27139 as_mkdir_p=: 14595 as_mkdir_p='mkdir -p "$as_dir"'
27140else 14596else
27141 test -d ./-p && rmdir ./-p 14597 test -d ./-p && rmdir ./-p
27142 as_mkdir_p=false 14598 as_mkdir_p=false
@@ -27155,10 +14611,10 @@ else
27155 if test -d "$1"; then 14611 if test -d "$1"; then
27156 test -d "$1/."; 14612 test -d "$1/.";
27157 else 14613 else
27158 case $1 in 14614 case $1 in #(
27159 -*)set "./$1";; 14615 -*)set "./$1";;
27160 esac; 14616 esac;
27161 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 14617 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27162 ???[sx]*):;;*)false;;esac;fi 14618 ???[sx]*):;;*)false;;esac;fi
27163 '\'' sh 14619 '\'' sh
27164 ' 14620 '
@@ -27173,13 +14629,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27173 14629
27174 14630
27175exec 6>&1 14631exec 6>&1
14632## ----------------------------------- ##
14633## Main body of $CONFIG_STATUS script. ##
14634## ----------------------------------- ##
14635_ASEOF
14636test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27176 14637
27177# Save the log message, to keep $[0] and so on meaningful, and to 14638cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14639# Save the log message, to keep $0 and so on meaningful, and to
27178# report actual input values of CONFIG_FILES etc. instead of their 14640# report actual input values of CONFIG_FILES etc. instead of their
27179# values after options handling. 14641# values after options handling.
27180ac_log=" 14642ac_log="
27181This file was extended by emacs $as_me 24.0.50, which was 14643This file was extended by emacs $as_me 24.0.50, which was
27182generated by GNU Autoconf 2.62. Invocation command line was 14644generated by GNU Autoconf 2.65. Invocation command line was
27183 14645
27184 CONFIG_FILES = $CONFIG_FILES 14646 CONFIG_FILES = $CONFIG_FILES
27185 CONFIG_HEADERS = $CONFIG_HEADERS 14647 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -27192,6 +14654,15 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
27192 14654
27193_ACEOF 14655_ACEOF
27194 14656
14657case $ac_config_files in *"
14658"*) set x $ac_config_files; shift; ac_config_files=$*;;
14659esac
14660
14661case $ac_config_headers in *"
14662"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14663esac
14664
14665
27195cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14666cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27196# Files that config.status was made for. 14667# Files that config.status was made for.
27197config_files="$ac_config_files" 14668config_files="$ac_config_files"
@@ -27202,19 +14673,22 @@ _ACEOF
27202 14673
27203cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14674cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27204ac_cs_usage="\ 14675ac_cs_usage="\
27205\`$as_me' instantiates files from templates according to the 14676\`$as_me' instantiates files and other configuration actions
27206current configuration. 14677from templates according to the current configuration. Unless the files
14678and actions are specified as TAGs, all are instantiated by default.
27207 14679
27208Usage: $0 [OPTIONS] [FILE]... 14680Usage: $0 [OPTION]... [TAG]...
27209 14681
27210 -h, --help print this help, then exit 14682 -h, --help print this help, then exit
27211 -V, --version print version number and configuration settings, then exit 14683 -V, --version print version number and configuration settings, then exit
27212 -q, --quiet do not print progress messages 14684 --config print configuration, then exit
14685 -q, --quiet, --silent
14686 do not print progress messages
27213 -d, --debug don't remove temporary files 14687 -d, --debug don't remove temporary files
27214 --recheck update $as_me by reconfiguring in the same conditions 14688 --recheck update $as_me by reconfiguring in the same conditions
27215 --file=FILE[:TEMPLATE] 14689 --file=FILE[:TEMPLATE]
27216 instantiate the configuration file FILE 14690 instantiate the configuration file FILE
27217 --header=FILE[:TEMPLATE] 14691 --header=FILE[:TEMPLATE]
27218 instantiate the configuration header FILE 14692 instantiate the configuration header FILE
27219 14693
27220Configuration files: 14694Configuration files:
@@ -27226,16 +14700,17 @@ $config_headers
27226Configuration commands: 14700Configuration commands:
27227$config_commands 14701$config_commands
27228 14702
27229Report bugs to <bug-autoconf@gnu.org>." 14703Report bugs to the package provider."
27230 14704
27231_ACEOF 14705_ACEOF
27232cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14707ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27233ac_cs_version="\\ 14708ac_cs_version="\\
27234emacs config.status 24.0.50 14709emacs config.status 24.0.50
27235configured by $0, generated by GNU Autoconf 2.62, 14710configured by $0, generated by GNU Autoconf 2.65,
27236 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 14711 with options \\"\$ac_cs_config\\"
27237 14712
27238Copyright (C) 2008 Free Software Foundation, Inc. 14713Copyright (C) 2009 Free Software Foundation, Inc.
27239This config.status script is free software; the Free Software Foundation 14714This config.status script is free software; the Free Software Foundation
27240gives unlimited permission to copy, distribute and modify it." 14715gives unlimited permission to copy, distribute and modify it."
27241 14716
@@ -27269,6 +14744,8 @@ do
27269 ac_cs_recheck=: ;; 14744 ac_cs_recheck=: ;;
27270 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14745 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27271 $as_echo "$ac_cs_version"; exit ;; 14746 $as_echo "$ac_cs_version"; exit ;;
14747 --config | --confi | --conf | --con | --co | --c )
14748 $as_echo "$ac_cs_config"; exit ;;
27272 --debug | --debu | --deb | --de | --d | -d ) 14749 --debug | --debu | --deb | --de | --d | -d )
27273 debug=: ;; 14750 debug=: ;;
27274 --file | --fil | --fi | --f ) 14751 --file | --fil | --fi | --f )
@@ -27276,20 +14753,19 @@ do
27276 case $ac_optarg in 14753 case $ac_optarg in
27277 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14754 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27278 esac 14755 esac
27279 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 14756 as_fn_append CONFIG_FILES " '$ac_optarg'"
27280 ac_need_defaults=false;; 14757 ac_need_defaults=false;;
27281 --header | --heade | --head | --hea ) 14758 --header | --heade | --head | --hea )
27282 $ac_shift 14759 $ac_shift
27283 case $ac_optarg in 14760 case $ac_optarg in
27284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14761 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27285 esac 14762 esac
27286 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 14763 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27287 ac_need_defaults=false;; 14764 ac_need_defaults=false;;
27288 --he | --h) 14765 --he | --h)
27289 # Conflict between --help and --header 14766 # Conflict between --help and --header
27290 { $as_echo "$as_me: error: ambiguous option: $1 14767 as_fn_error "ambiguous option: \`$1'
27291Try \`$0 --help' for more information." >&2 14768Try \`$0 --help' for more information.";;
27292 { (exit 1); exit 1; }; };;
27293 --help | --hel | -h ) 14769 --help | --hel | -h )
27294 $as_echo "$ac_cs_usage"; exit ;; 14770 $as_echo "$ac_cs_usage"; exit ;;
27295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14771 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -27297,11 +14773,10 @@ Try \`$0 --help' for more information." >&2
27297 ac_cs_silent=: ;; 14773 ac_cs_silent=: ;;
27298 14774
27299 # This is an error. 14775 # This is an error.
27300 -*) { $as_echo "$as_me: error: unrecognized option: $1 14776 -*) as_fn_error "unrecognized option: \`$1'
27301Try \`$0 --help' for more information." >&2 14777Try \`$0 --help' for more information." ;;
27302 { (exit 1); exit 1; }; } ;;
27303 14778
27304 *) ac_config_targets="$ac_config_targets $1" 14779 *) as_fn_append ac_config_targets " $1"
27305 ac_need_defaults=false ;; 14780 ac_need_defaults=false ;;
27306 14781
27307 esac 14782 esac
@@ -27366,9 +14841,7 @@ do
27366 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 14841 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
27367 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 14842 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
27368 14843
27369 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 14844 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27370$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
27371 { (exit 1); exit 1; }; };;
27372 esac 14845 esac
27373done 14846done
27374 14847
@@ -27395,7 +14868,7 @@ $debug ||
27395 trap 'exit_status=$? 14868 trap 'exit_status=$?
27396 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14869 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27397' 0 14870' 0
27398 trap '{ (exit 1); exit 1; }' 1 2 13 15 14871 trap 'as_fn_exit 1' 1 2 13 15
27399} 14872}
27400# Create a (secure) tmp directory for tmp files. 14873# Create a (secure) tmp directory for tmp files.
27401 14874
@@ -27406,11 +14879,7 @@ $debug ||
27406{ 14879{
27407 tmp=./conf$$-$RANDOM 14880 tmp=./conf$$-$RANDOM
27408 (umask 077 && mkdir "$tmp") 14881 (umask 077 && mkdir "$tmp")
27409} || 14882} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27410{
27411 $as_echo "$as_me: cannot create a temporary directory in ." >&2
27412 { (exit 1); exit 1; }
27413}
27414 14883
27415# Set up the scripts for CONFIG_FILES section. 14884# Set up the scripts for CONFIG_FILES section.
27416# No need to generate them if there are no CONFIG_FILES. 14885# No need to generate them if there are no CONFIG_FILES.
@@ -27418,10 +14887,16 @@ $debug ||
27418if test -n "$CONFIG_FILES"; then 14887if test -n "$CONFIG_FILES"; then
27419 14888
27420 14889
27421ac_cr=' ' 14890ac_cr=`echo X | tr X '\015'`
14891# On cygwin, bash can eat \r inside `` if the user requested igncr.
14892# But we know of no other shell where ac_cr would be empty at this
14893# point, so we can use a bashism as a fallback.
14894if test "x$ac_cr" = x; then
14895 eval ac_cr=\$\'\\r\'
14896fi
27422ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14897ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27423if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14898if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27424 ac_cs_awk_cr='\\r' 14899 ac_cs_awk_cr='\r'
27425else 14900else
27426 ac_cs_awk_cr=$ac_cr 14901 ac_cs_awk_cr=$ac_cr
27427fi 14902fi
@@ -27435,23 +14910,18 @@ _ACEOF
27435 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14910 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27436 echo "_ACEOF" 14911 echo "_ACEOF"
27437} >conf$$subs.sh || 14912} >conf$$subs.sh ||
27438 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14913 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27439$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27440 { (exit 1); exit 1; }; }
27441ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14914ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27442ac_delim='%!_!# ' 14915ac_delim='%!_!# '
27443for ac_last_try in false false false false false :; do 14916for ac_last_try in false false false false false :; do
27444 . ./conf$$subs.sh || 14917 . ./conf$$subs.sh ||
27445 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14918 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27446$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27447 { (exit 1); exit 1; }; }
27448 14919
27449 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 14920 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14921 if test $ac_delim_n = $ac_delim_num; then
27450 break 14922 break
27451 elif $ac_last_try; then 14923 elif $ac_last_try; then
27452 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14924 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27453$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27454 { (exit 1); exit 1; }; }
27455 else 14925 else
27456 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14926 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27457 fi 14927 fi
@@ -27473,7 +14943,7 @@ s/'"$ac_delim"'$//
27473t delim 14943t delim
27474:nl 14944:nl
27475h 14945h
27476s/\(.\{148\}\).*/\1/ 14946s/\(.\{148\}\)..*/\1/
27477t more1 14947t more1
27478s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14948s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27479p 14949p
@@ -27487,7 +14957,7 @@ s/.\{148\}//
27487t nl 14957t nl
27488:delim 14958:delim
27489h 14959h
27490s/\(.\{148\}\).*/\1/ 14960s/\(.\{148\}\)..*/\1/
27491t more2 14961t more2
27492s/["\\]/\\&/g; s/^/"/; s/$/"/ 14962s/["\\]/\\&/g; s/^/"/; s/$/"/
27493p 14963p
@@ -27540,9 +15010,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27540else 15010else
27541 cat 15011 cat
27542fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15012fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27543 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 15013 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27544$as_echo "$as_me: error: could not setup config files machinery" >&2;}
27545 { (exit 1); exit 1; }; }
27546_ACEOF 15014_ACEOF
27547 15015
27548# VPATH may cause trouble with some makes, so we remove $(srcdir), 15016# VPATH may cause trouble with some makes, so we remove $(srcdir),
@@ -27583,9 +15051,7 @@ for ac_last_try in false false :; do
27583 if test -z "$ac_t"; then 15051 if test -z "$ac_t"; then
27584 break 15052 break
27585 elif $ac_last_try; then 15053 elif $ac_last_try; then
27586 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 15054 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27587$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
27588 { (exit 1); exit 1; }; }
27589 else 15055 else
27590 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27591 fi 15057 fi
@@ -27651,9 +15117,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27651 } 15117 }
27652 split(mac1, mac2, "(") #) 15118 split(mac1, mac2, "(") #)
27653 macro = mac2[1] 15119 macro = mac2[1]
15120 prefix = substr(line, 1, index(line, defundef) - 1)
27654 if (D_is_set[macro]) { 15121 if (D_is_set[macro]) {
27655 # Preserve the white space surrounding the "#". 15122 # Preserve the white space surrounding the "#".
27656 prefix = substr(line, 1, index(line, defundef) - 1)
27657 print prefix "define", macro P[macro] D[macro] 15123 print prefix "define", macro P[macro] D[macro]
27658 next 15124 next
27659 } else { 15125 } else {
@@ -27661,7 +15127,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27661 # in the case of _POSIX_SOURCE, which is predefined and required 15127 # in the case of _POSIX_SOURCE, which is predefined and required
27662 # on some systems where configure will not decide to define it. 15128 # on some systems where configure will not decide to define it.
27663 if (defundef == "undef") { 15129 if (defundef == "undef") {
27664 print "/*", line, "*/" 15130 print "/*", prefix defundef, macro, "*/"
27665 next 15131 next
27666 } 15132 }
27667 } 15133 }
@@ -27670,9 +15136,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27670_ACAWK 15136_ACAWK
27671_ACEOF 15137_ACEOF
27672cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27673 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 15139 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27674$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
27675 { (exit 1); exit 1; }; }
27676fi # test -n "$CONFIG_HEADERS" 15140fi # test -n "$CONFIG_HEADERS"
27677 15141
27678 15142
@@ -27685,9 +15149,7 @@ do
27685 esac 15149 esac
27686 case $ac_mode$ac_tag in 15150 case $ac_mode$ac_tag in
27687 :[FHL]*:*);; 15151 :[FHL]*:*);;
27688 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 15152 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27689$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27690 { (exit 1); exit 1; }; };;
27691 :[FH]-) ac_tag=-:-;; 15153 :[FH]-) ac_tag=-:-;;
27692 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15154 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27693 esac 15155 esac
@@ -27715,12 +15177,10 @@ $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27715 [\\/$]*) false;; 15177 [\\/$]*) false;;
27716 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15178 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27717 esac || 15179 esac ||
27718 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 15180 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27719$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27720 { (exit 1); exit 1; }; };;
27721 esac 15181 esac
27722 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15182 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27723 ac_file_inputs="$ac_file_inputs '$ac_f'" 15183 as_fn_append ac_file_inputs " '$ac_f'"
27724 done 15184 done
27725 15185
27726 # Let's still pretend it is `configure' which instantiates (i.e., don't 15186 # Let's still pretend it is `configure' which instantiates (i.e., don't
@@ -27731,7 +15191,7 @@ $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27731 `' by configure.' 15191 `' by configure.'
27732 if test x"$ac_file" != x-; then 15192 if test x"$ac_file" != x-; then
27733 configure_input="$ac_file. $configure_input" 15193 configure_input="$ac_file. $configure_input"
27734 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 15194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27735$as_echo "$as_me: creating $ac_file" >&6;} 15195$as_echo "$as_me: creating $ac_file" >&6;}
27736 fi 15196 fi
27737 # Neutralize special characters interpreted by sed in replacement strings. 15197 # Neutralize special characters interpreted by sed in replacement strings.
@@ -27744,9 +15204,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
27744 15204
27745 case $ac_tag in 15205 case $ac_tag in
27746 *:-:* | *:-) cat >"$tmp/stdin" \ 15206 *:-:* | *:-) cat >"$tmp/stdin" \
27747 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15207 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27748$as_echo "$as_me: error: could not create $ac_file" >&2;}
27749 { (exit 1); exit 1; }; } ;;
27750 esac 15208 esac
27751 ;; 15209 ;;
27752 esac 15210 esac
@@ -27774,47 +15232,7 @@ $as_echo X"$ac_file" |
27774 q 15232 q
27775 } 15233 }
27776 s/.*/./; q'` 15234 s/.*/./; q'`
27777 { as_dir="$ac_dir" 15235 as_dir="$ac_dir"; as_fn_mkdir_p
27778 case $as_dir in #(
27779 -*) as_dir=./$as_dir;;
27780 esac
27781 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27782 as_dirs=
27783 while :; do
27784 case $as_dir in #(
27785 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27786 *) as_qdir=$as_dir;;
27787 esac
27788 as_dirs="'$as_qdir' $as_dirs"
27789 as_dir=`$as_dirname -- "$as_dir" ||
27790$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27791 X"$as_dir" : 'X\(//\)[^/]' \| \
27792 X"$as_dir" : 'X\(//\)$' \| \
27793 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27794$as_echo X"$as_dir" |
27795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27796 s//\1/
27797 q
27798 }
27799 /^X\(\/\/\)[^/].*/{
27800 s//\1/
27801 q
27802 }
27803 /^X\(\/\/\)$/{
27804 s//\1/
27805 q
27806 }
27807 /^X\(\/\).*/{
27808 s//\1/
27809 q
27810 }
27811 s/.*/./; q'`
27812 test -d "$as_dir" && break
27813 done
27814 test -z "$as_dirs" || eval "mkdir $as_dirs"
27815 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27816$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27817 { (exit 1); exit 1; }; }; }
27818 ac_builddir=. 15236 ac_builddir=.
27819 15237
27820case "$ac_dir" in 15238case "$ac_dir" in
@@ -27866,7 +15284,6 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27866# If the template does not know about datarootdir, expand it. 15284# If the template does not know about datarootdir, expand it.
27867# FIXME: This hack should be removed a few years after 2.60. 15285# FIXME: This hack should be removed a few years after 2.60.
27868ac_datarootdir_hack=; ac_datarootdir_seen= 15286ac_datarootdir_hack=; ac_datarootdir_seen=
27869
27870ac_sed_dataroot=' 15287ac_sed_dataroot='
27871/datarootdir/ { 15288/datarootdir/ {
27872 p 15289 p
@@ -27876,12 +15293,11 @@ ac_sed_dataroot='
27876/@docdir@/p 15293/@docdir@/p
27877/@infodir@/p 15294/@infodir@/p
27878/@localedir@/p 15295/@localedir@/p
27879/@mandir@/p 15296/@mandir@/p'
27880'
27881case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15297case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27882*datarootdir*) ac_datarootdir_seen=yes;; 15298*datarootdir*) ac_datarootdir_seen=yes;;
27883*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15299*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27884 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27885$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15301$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27886_ACEOF 15302_ACEOF
27887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15303cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -27891,7 +15307,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27891 s&@infodir@&$infodir&g 15307 s&@infodir@&$infodir&g
27892 s&@localedir@&$localedir&g 15308 s&@localedir@&$localedir&g
27893 s&@mandir@&$mandir&g 15309 s&@mandir@&$mandir&g
27894 s&\\\${datarootdir}&$datarootdir&g' ;; 15310 s&\\\${datarootdir}&$datarootdir&g' ;;
27895esac 15311esac
27896_ACEOF 15312_ACEOF
27897 15313
@@ -27919,14 +15335,12 @@ s&@INSTALL@&$ac_INSTALL&;t t
27919$ac_datarootdir_hack 15335$ac_datarootdir_hack
27920" 15336"
27921eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 15337eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27922 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15338 || as_fn_error "could not create $ac_file" "$LINENO" 5
27923$as_echo "$as_me: error: could not create $ac_file" >&2;}
27924 { (exit 1); exit 1; }; }
27925 15339
27926test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15340test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27927 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27928 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27929 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27930which seems to be undefined. Please make sure it is defined." >&5 15344which seems to be undefined. Please make sure it is defined." >&5
27931$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15345$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27932which seems to be undefined. Please make sure it is defined." >&2;} 15346which seems to be undefined. Please make sure it is defined." >&2;}
@@ -27936,9 +15350,7 @@ which seems to be undefined. Please make sure it is defined." >&2;}
27936 -) cat "$tmp/out" && rm -f "$tmp/out";; 15350 -) cat "$tmp/out" && rm -f "$tmp/out";;
27937 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 15351 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27938 esac \ 15352 esac \
27939 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15353 || as_fn_error "could not create $ac_file" "$LINENO" 5
27940$as_echo "$as_me: error: could not create $ac_file" >&2;}
27941 { (exit 1); exit 1; }; }
27942 ;; 15354 ;;
27943 :H) 15355 :H)
27944 # 15356 #
@@ -27949,29 +15361,23 @@ $as_echo "$as_me: error: could not create $ac_file" >&2;}
27949 $as_echo "/* $configure_input */" \ 15361 $as_echo "/* $configure_input */" \
27950 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 15362 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27951 } >"$tmp/config.h" \ 15363 } >"$tmp/config.h" \
27952 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15364 || as_fn_error "could not create $ac_file" "$LINENO" 5
27953$as_echo "$as_me: error: could not create $ac_file" >&2;}
27954 { (exit 1); exit 1; }; }
27955 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 15365 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27956 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 15366 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27957$as_echo "$as_me: $ac_file is unchanged" >&6;} 15367$as_echo "$as_me: $ac_file is unchanged" >&6;}
27958 else 15368 else
27959 rm -f "$ac_file" 15369 rm -f "$ac_file"
27960 mv "$tmp/config.h" "$ac_file" \ 15370 mv "$tmp/config.h" "$ac_file" \
27961 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 15371 || as_fn_error "could not create $ac_file" "$LINENO" 5
27962$as_echo "$as_me: error: could not create $ac_file" >&2;}
27963 { (exit 1); exit 1; }; }
27964 fi 15372 fi
27965 else 15373 else
27966 $as_echo "/* $configure_input */" \ 15374 $as_echo "/* $configure_input */" \
27967 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 15375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27968 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 15376 || as_fn_error "could not create -" "$LINENO" 5
27969$as_echo "$as_me: error: could not create -" >&2;}
27970 { (exit 1); exit 1; }; }
27971 fi 15377 fi
27972 ;; 15378 ;;
27973 15379
27974 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 15380 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27975$as_echo "$as_me: executing $ac_file commands" >&6;} 15381$as_echo "$as_me: executing $ac_file commands" >&6;}
27976 ;; 15382 ;;
27977 esac 15383 esac
@@ -28026,15 +15432,12 @@ fi
28026done # for ac_tag 15432done # for ac_tag
28027 15433
28028 15434
28029{ (exit 0); exit 0; } 15435as_fn_exit 0
28030_ACEOF 15436_ACEOF
28031chmod +x $CONFIG_STATUS
28032ac_clean_files=$ac_clean_files_save 15437ac_clean_files=$ac_clean_files_save
28033 15438
28034test $ac_write_fail = 0 || 15439test $ac_write_fail = 0 ||
28035 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 15440 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28036$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
28037 { (exit 1); exit 1; }; }
28038 15441
28039 15442
28040# configure is writing to config.log, and then calls config.status. 15443# configure is writing to config.log, and then calls config.status.
@@ -28055,11 +15458,11 @@ if test "$no_create" != yes; then
28055 exec 5>>config.log 15458 exec 5>>config.log
28056 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28057 # would make configure fail if this is the last instruction. 15460 # would make configure fail if this is the last instruction.
28058 $ac_cs_success || { (exit 1); exit 1; } 15461 $ac_cs_success || as_fn_exit $?
28059fi 15462fi
28060if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15463if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28061 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 15464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28062$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 15465$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28063fi 15466fi
28064 15467
28065 15468
diff --git a/configure.in b/configure.in
index c512350fba7..ebd991b2ad6 100644
--- a/configure.in
+++ b/configure.in
@@ -3008,13 +3008,13 @@ if test "x$GCC" = xyes \
3008fi 3008fi
3009 3009
3010#### Find out which version of Emacs this is. 3010#### Find out which version of Emacs this is.
3011[version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 3011[version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
3012 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`] 3012 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`]
3013if test x"${version}" = x; then 3013if test x"${version}" = x; then
3014 AC_MSG_ERROR([can't find current emacs version in `${srcdir}/lisp/version.el'.]) 3014 AC_MSG_ERROR([can't find current emacs version in `${srcdir}/src/emacs.c'.])
3015fi 3015fi
3016if test x"${version}" != x"$PACKAGE_VERSION"; then 3016if test x"${version}" != x"$PACKAGE_VERSION"; then
3017 AC_MSG_WARN([version mismatch between `${srcdir}/configure.in' and `${srcdir}/lisp/version.el'.]) 3017 AC_MSG_WARN([version mismatch between `${srcdir}/configure.in' and `${srcdir}/src/emacs.c'.])
3018fi 3018fi
3019 3019
3020### Specify what sort of things we'll be editing into Makefile and config.h. 3020### Specify what sort of things we'll be editing into Makefile and config.h.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 153b49b6851..c3dbf2c3224 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-05-15 Ken Raeburn <raeburn@raeburn.org>
2
3 * version.el (emacs-copyright, emacs-version): Don't define here,
4 now that emacs.c defines it.
5
12010-05-15 Eli Zaretskii <eliz@gnu.org> 62010-05-15 Eli Zaretskii <eliz@gnu.org>
2 7
3 * international/mule-cmds.el (mule-menu-keymap): Fix definition of 8 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
diff --git a/lisp/version.el b/lisp/version.el
index 5cd0cc8d634..770409b9487 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -29,12 +29,6 @@
29 29
30;;; Code: 30;;; Code:
31 31
32(defconst emacs-copyright "Copyright (C) 2010 Free Software Foundation, Inc." "\
33Short copyright string for this version of Emacs.")
34
35(defconst emacs-version "24.0.50" "\
36Version numbers of this version of Emacs.")
37
38(defconst emacs-major-version (progn (string-match "^[0-9]+" emacs-version) (string-to-number (match-string 0 emacs-version))) "\ 32(defconst emacs-major-version (progn (string-match "^[0-9]+" emacs-version) (string-to-number (match-string 0 emacs-version))) "\
39Major version number of this version of Emacs. 33Major version number of this version of Emacs.
40This variable first existed in version 19.23.") 34This variable first existed in version 19.23.")
diff --git a/src/ChangeLog b/src/ChangeLog
index 30bd78e208c..31084286ddb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12010-05-15 Ken Raeburn <raeburn@raeburn.org>
2
3 Handle --version reasonably in CANNOT_DUMP configuration.
4 * emacs.c (emacs_version, emacs_copyright): New string variables.
5 (Vemacs_version, Vemacs_copyright): New Lisp_Object variables.
6 (syms_of_emacs): Defvar them, and initialize them from the C
7 string variables.
8 (main): If initialization hasn't been done, print initial version
9 info from the C strings, instead of starting an interactive session.
10
12010-05-15 Eli Zaretskii <eliz@gnu.org> 112010-05-15 Eli Zaretskii <eliz@gnu.org>
2 12
3 * bidi.c (bidi_paragraph_init): Don't leave alone garbage values 13 * bidi.c (bidi_paragraph_init): Don't leave alone garbage values
diff --git a/src/config.in b/src/config.in
index 35530943682..4a0f58cc7da 100644
--- a/src/config.in
+++ b/src/config.in
@@ -315,10 +315,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
315/* Define to 1 if you have the <kerberos/krb.h> header file. */ 315/* Define to 1 if you have the <kerberos/krb.h> header file. */
316#undef HAVE_KERBEROS_KRB_H 316#undef HAVE_KERBEROS_KRB_H
317 317
318/* Define to 1 if `e_text' is member of `krb5_error'. */ 318/* Define to 1 if `e_text' is a member of `krb5_error'. */
319#undef HAVE_KRB5_ERROR_E_TEXT 319#undef HAVE_KRB5_ERROR_E_TEXT
320 320
321/* Define to 1 if `text' is member of `krb5_error'. */ 321/* Define to 1 if `text' is a member of `krb5_error'. */
322#undef HAVE_KRB5_ERROR_TEXT 322#undef HAVE_KRB5_ERROR_TEXT
323 323
324/* Define to 1 if you have the <krb5.h> header file. */ 324/* Define to 1 if you have the <krb5.h> header file. */
@@ -609,25 +609,25 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
609/* Define to 1 if you have the `strsignal' function. */ 609/* Define to 1 if you have the `strsignal' function. */
610#undef HAVE_STRSIGNAL 610#undef HAVE_STRSIGNAL
611 611
612/* Define to 1 if `ifr_addr' is member of `struct ifreq'. */ 612/* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */
613#undef HAVE_STRUCT_IFREQ_IFR_ADDR 613#undef HAVE_STRUCT_IFREQ_IFR_ADDR
614 614
615/* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */ 615/* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */
616#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR 616#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR
617 617
618/* Define to 1 if `ifr_flags' is member of `struct ifreq'. */ 618/* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */
619#undef HAVE_STRUCT_IFREQ_IFR_FLAGS 619#undef HAVE_STRUCT_IFREQ_IFR_FLAGS
620 620
621/* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */ 621/* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */
622#undef HAVE_STRUCT_IFREQ_IFR_HWADDR 622#undef HAVE_STRUCT_IFREQ_IFR_HWADDR
623 623
624/* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */ 624/* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */
625#undef HAVE_STRUCT_IFREQ_IFR_NETMASK 625#undef HAVE_STRUCT_IFREQ_IFR_NETMASK
626 626
627/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */ 627/* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */
628#undef HAVE_STRUCT_NLIST_N_UN_N_NAME 628#undef HAVE_STRUCT_NLIST_N_UN_N_NAME
629 629
630/* Define to 1 if `tm_zone' is member of `struct tm'. */ 630/* Define to 1 if `tm_zone' is a member of `struct tm'. */
631#undef HAVE_STRUCT_TM_TM_ZONE 631#undef HAVE_STRUCT_TM_TM_ZONE
632 632
633/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ 633/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
@@ -853,6 +853,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
853/* Define to the one symbol short name of this package. */ 853/* Define to the one symbol short name of this package. */
854#undef PACKAGE_TARNAME 854#undef PACKAGE_TARNAME
855 855
856/* Define to the home page for this package. */
857#undef PACKAGE_URL
858
856/* Define to the version of this package. */ 859/* Define to the version of this package. */
857#undef PACKAGE_VERSION 860#undef PACKAGE_VERSION
858 861
@@ -912,6 +915,28 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
912/* Define to 1 if using the Motif X toolkit. */ 915/* Define to 1 if using the Motif X toolkit. */
913#undef USE_MOTIF 916#undef USE_MOTIF
914 917
918/* Enable extensions on AIX 3, Interix. */
919#ifndef _ALL_SOURCE
920# undef _ALL_SOURCE
921#endif
922/* Enable GNU extensions on systems that have them. */
923#ifndef _GNU_SOURCE
924# undef _GNU_SOURCE
925#endif
926/* Enable threading extensions on Solaris. */
927#ifndef _POSIX_PTHREAD_SEMANTICS
928# undef _POSIX_PTHREAD_SEMANTICS
929#endif
930/* Enable extensions on HP NonStop. */
931#ifndef _TANDEM_SOURCE
932# undef _TANDEM_SOURCE
933#endif
934/* Enable general extensions on Solaris. */
935#ifndef __EXTENSIONS__
936# undef __EXTENSIONS__
937#endif
938
939
915/* Define to 1 if we should use toolkit scroll bars. */ 940/* Define to 1 if we should use toolkit scroll bars. */
916#undef USE_TOOLKIT_SCROLL_BARS 941#undef USE_TOOLKIT_SCROLL_BARS
917 942
@@ -947,28 +972,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
947/* Define to 1 if you need to in order for `stat' and other things to work. */ 972/* Define to 1 if you need to in order for `stat' and other things to work. */
948#undef _POSIX_SOURCE 973#undef _POSIX_SOURCE
949 974
950/* Enable extensions on AIX 3, Interix. */
951#ifndef _ALL_SOURCE
952# undef _ALL_SOURCE
953#endif
954/* Enable GNU extensions on systems that have them. */
955#ifndef _GNU_SOURCE
956# undef _GNU_SOURCE
957#endif
958/* Enable threading extensions on Solaris. */
959#ifndef _POSIX_PTHREAD_SEMANTICS
960# undef _POSIX_PTHREAD_SEMANTICS
961#endif
962/* Enable extensions on HP NonStop. */
963#ifndef _TANDEM_SOURCE
964# undef _TANDEM_SOURCE
965#endif
966/* Enable general extensions on Solaris. */
967#ifndef __EXTENSIONS__
968# undef __EXTENSIONS__
969#endif
970
971
972/* Define to rpl_ if the getopt replacement functions and variables should be 975/* Define to rpl_ if the getopt replacement functions and variables should be
973 used. */ 976 used. */
974#undef __GETOPT_PREFIX 977#undef __GETOPT_PREFIX
diff --git a/src/emacs.c b/src/emacs.c
index 6b19b45d0b0..36db274adf6 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -87,6 +87,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
87#endif 87#endif
88#endif 88#endif
89 89
90const char emacs_copyright[] = "Copyright (C) 2010 Free Software Foundation, Inc.";
91const char emacs_version[] = "24.0.50";
92
90extern void malloc_warning P_ ((char *)); 93extern void malloc_warning P_ ((char *));
91extern void set_time_zone_rule P_ ((char *)); 94extern void set_time_zone_rule P_ ((char *));
92#ifdef HAVE_INDEX 95#ifdef HAVE_INDEX
@@ -180,6 +183,10 @@ Lisp_Object Vprevious_system_messages_locale;
180Lisp_Object Vsystem_time_locale; 183Lisp_Object Vsystem_time_locale;
181Lisp_Object Vprevious_system_time_locale; 184Lisp_Object Vprevious_system_time_locale;
182 185
186/* Copyright and version info. The version number may be updated by
187 Lisp code. */
188Lisp_Object Vemacs_copyright, Vemacs_version;
189
183/* If non-zero, emacs should not attempt to use a window-specific code, 190/* If non-zero, emacs should not attempt to use a window-specific code,
184 but instead should use the virtual terminal under which it was started. */ 191 but instead should use the virtual terminal under which it was started. */
185int inhibit_window_system; 192int inhibit_window_system;
@@ -802,35 +809,43 @@ main (int argc, char **argv)
802 argc = 0; 809 argc = 0;
803 while (argv[argc]) argc++; 810 while (argv[argc]) argc++;
804 811
805 if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args) 812 if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args))
806 /* We don't know the version number unless this is a dumped Emacs.
807 So ignore --version otherwise. */
808 && initialized)
809 { 813 {
810 Lisp_Object tem, tem2; 814 const char *version, *copyright;
811 tem = Fsymbol_value (intern_c_string ("emacs-version")); 815 if (initialized)
812 tem2 = Fsymbol_value (intern_c_string ("emacs-copyright"));
813 if (!STRINGP (tem))
814 {
815 fprintf (stderr, "Invalid value of `emacs-version'\n");
816 exit (1);
817 }
818 if (!STRINGP (tem2))
819 { 816 {
820 fprintf (stderr, "Invalid value of `emacs-copyright'\n"); 817 Lisp_Object tem, tem2;
821 exit (1); 818 tem = Fsymbol_value (intern_c_string ("emacs-version"));
819 tem2 = Fsymbol_value (intern_c_string ("emacs-copyright"));
820 if (!STRINGP (tem))
821 {
822 fprintf (stderr, "Invalid value of `emacs-version'\n");
823 exit (1);
824 }
825 if (!STRINGP (tem2))
826 {
827 fprintf (stderr, "Invalid value of `emacs-copyright'\n");
828 exit (1);
829 }
830 else
831 {
832 version = SDATA (tem);
833 copyright = SDATA (tem2);
834 }
822 } 835 }
823 else 836 else
824 { 837 {
825 printf ("GNU Emacs %s\n", SDATA (tem)); 838 version = emacs_version;
826 printf ("%s\n", SDATA(tem2)); 839 copyright = emacs_copyright;
827 printf ("GNU Emacs comes with ABSOLUTELY NO WARRANTY.\n");
828 printf ("You may redistribute copies of Emacs\n");
829 printf ("under the terms of the GNU General Public License.\n");
830 printf ("For more information about these matters, ");
831 printf ("see the file named COPYING.\n");
832 exit (0);
833 } 840 }
841 printf ("GNU Emacs %s\n", version);
842 printf ("%s\n", copyright);
843 printf ("GNU Emacs comes with ABSOLUTELY NO WARRANTY.\n");
844 printf ("You may redistribute copies of Emacs\n");
845 printf ("under the terms of the GNU General Public License.\n");
846 printf ("For more information about these matters, ");
847 printf ("see the file named COPYING.\n");
848 exit (0);
834 } 849 }
835 if (argmatch (argv, argc, "-chdir", "--chdir", 2, &ch_to_dir, &skip_args)) 850 if (argmatch (argv, argc, "-chdir", "--chdir", 2, &ch_to_dir, &skip_args))
836 if (chdir (ch_to_dir) == -1) 851 if (chdir (ch_to_dir) == -1)
@@ -2577,6 +2592,14 @@ This is nil during initialization. */);
2577 doc: /* If non-nil, X resources, Windows Registry settings, and NS defaults are not used. */); 2592 doc: /* If non-nil, X resources, Windows Registry settings, and NS defaults are not used. */);
2578 inhibit_x_resources = 0; 2593 inhibit_x_resources = 0;
2579 2594
2595 DEFVAR_LISP ("emacs-copyright", &Vemacs_copyright,
2596 doc: /* Short copyright string for this version of Emacs. */);
2597 Vemacs_copyright = build_string (emacs_copyright);
2598
2599 DEFVAR_LISP ("emacs-version", &Vemacs_version,
2600 doc: /* Version numbers of this version of Emacs. */);
2601 Vemacs_version = build_string (emacs_version);
2602
2580 /* Make sure IS_DAEMON starts up as false. */ 2603 /* Make sure IS_DAEMON starts up as false. */
2581 daemon_pipe[1] = 0; 2604 daemon_pipe[1] = 0;
2582} 2605}