aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure18773
1 files changed, 15592 insertions, 3181 deletions
diff --git a/configure b/configure
index 5119a3f76c5..cb257fa0813 100755
--- a/configure
+++ b/configure
@@ -1,22 +1,18 @@
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.65 for emacs 23.1.92. 3# Generated by GNU Autoconf 2.62 for emacs 23.1.92.
4#
5# 4#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8# Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it. 8# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ## 9## --------------------- ##
14## M4sh Initialization. ## 10## M4sh Initialization. ##
15## -------------------- ## 11## --------------------- ##
16 12
17# Be more Bourne compatible 13# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh 14DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 emulate sh 16 emulate sh
21 NULLCMD=: 17 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -24,15 +20,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 alias -g '${1+"$@"}'='"$@"' 20 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST 21 setopt NO_GLOB_SUBST
26else 22else
27 case `(set -o) 2>/dev/null` in #( 23 case `(set -o) 2>/dev/null` in
28 *posix*) : 24 *posix*) set -o posix ;;
29 set -o posix ;; #(
30 *) :
31 ;;
32esac 25esac
26
33fi 27fi
34 28
35 29
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
36as_nl=' 40as_nl='
37' 41'
38export as_nl 42export as_nl
@@ -40,13 +44,7 @@ export as_nl
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 45as_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 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris, 47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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
50 as_echo='printf %s\n' 48 as_echo='printf %s\n'
51 as_echo_n='printf %s' 49 as_echo_n='printf %s'
52else 50else
@@ -57,7 +55,7 @@ else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval 56 as_echo_n_body='eval
59 arg=$1; 57 arg=$1;
60 case $arg in #( 58 case $arg in
61 *"$as_nl"*) 59 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl"; 60 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -80,6 +78,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
80 } 78 }
81fi 79fi
82 80
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
83 88
84# IFS 89# IFS
85# We need space, tab and new line, in precisely that order. Quoting is 90# We need space, tab and new line, in precisely that order. Quoting is
@@ -89,15 +94,15 @@ fi
89IFS=" "" $as_nl" 94IFS=" "" $as_nl"
90 95
91# Find who we are. Look in the path if we contain no directory separator. 96# Find who we are. Look in the path if we contain no directory separator.
92case $0 in #(( 97case $0 in
93 *[\\/]* ) as_myself=$0 ;; 98 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 100for as_dir in $PATH
96do 101do
97 IFS=$as_save_IFS 102 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=. 103 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done 105done
101IFS=$as_save_IFS 106IFS=$as_save_IFS
102 107
103 ;; 108 ;;
@@ -109,16 +114,12 @@ if test "x$as_myself" = x; then
109fi 114fi
110if test ! -f "$as_myself"; then 115if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1 117 { (exit 1); exit 1; }
113fi 118fi
114 119
115# Unset variables that we do not need and which cause bugs (e.g. in 120# Work around bugs in pre-3.0 UWIN ksh.
116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 121for as_var in ENV MAIL MAILPATH
117# suppresses any "Segmentation fault" message there. '((' could 122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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 || :
122done 123done
123PS1='$ ' 124PS1='$ '
124PS2='> ' 125PS2='> '
@@ -130,299 +131,330 @@ export LC_ALL
130LANGUAGE=C 131LANGUAGE=C
131export LANGUAGE 132export LANGUAGE
132 133
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
133# CDPATH. 169# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 170$as_unset CDPATH
171
135 172
136if test "x$CONFIG_SHELL" = x; then 173if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 174 if (eval ":") 2>/dev/null; then
138 emulate sh 175 as_have_required=yes
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
144else 176else
145 case \`(set -o) 2>/dev/null\` in #( 177 as_have_required=no
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
151fi 178fi
152" 179
153 as_required="as_fn_return () { (exit \$1); } 180 if test $as_have_required = yes && (eval ":
154as_fn_success () { as_fn_return 0; } 181(as_func_return () {
155as_fn_failure () { as_fn_return 1; } 182 (exit \$1)
156as_fn_ret_success () { return 0; } 183}
157as_fn_ret_failure () { return 1; } 184as_func_success () {
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}
158 196
159exitcode=0 197exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 198if as_func_success; then
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 199 :
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167 exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177else 200else
178 as_have_required=no 201 exitcode=1
202 echo as_func_success failed.
203fi
204
205if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
179fi 208fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 209
210if as_func_ret_success; then
211 :
182else 212else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213 exitcode=1
184as_found=false 214 echo as_func_ret_success failed.
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
225 exitcode=1
226 echo positional parameters were not saved.
227fi
228
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
239 as_candidate_shells=
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do 242do
187 IFS=$as_save_IFS 243 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=. 244 test -z "$as_dir" && as_dir=.
189 as_found=: 245 case $as_dir in
190 case $as_dir in #(
191 /*) 246 /*)
192 for as_base in sh bash ksh sh5; do 247 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks. 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
202 done;; 249 done;;
203 esac 250 esac
204 as_found=false
205done 251done
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; }
210IFS=$as_save_IFS 252IFS=$as_save_IFS
211 253
212 254
213 if test "x$CONFIG_SHELL" != x; then : 255 for as_shell in $as_candidate_shells $SHELL; do
214 # We cannot yet assume a decent shell, so we have to provide a 256 # Try only shells that exist, to save several forks.
215 # neutralization value for shells without unset; and this also 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
216 # works around shells that cannot unset nonexistent variables. 258 { ("$as_shell") 2> /dev/null <<\_ASEOF
217 BASH_ENV=/dev/null 259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
218 ENV=/dev/null 260 emulate sh
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 261 NULLCMD=:
220 export CONFIG_SHELL 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 263 # is contrary to our usage. Disable this feature.
222fi 264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269esac
223 270
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
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
237fi
238fi 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
239fi 292fi
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
245 293
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
257 294
258# as_fn_set_status STATUS 295:
259# ----------------------- 296(as_func_return () {
260# Set $? to STATUS, without forking. 297 (exit $1)
261as_fn_set_status () 298}
262{ 299as_func_success () {
263 return $1 300 as_func_return 0
264} # as_fn_set_status 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}
265 311
266# as_fn_exit STATUS 312exitcode=0
267# ----------------- 313if as_func_success; then
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 314 :
269as_fn_exit () 315else
270{ 316 exitcode=1
271 set +e 317 echo as_func_success failed.
272 as_fn_set_status $1 318fi
273 exit $1
274} # as_fn_exit
275 319
276# as_fn_mkdir_p 320if as_func_failure; then
277# ------------- 321 exitcode=1
278# Create "$as_dir" as a directory, including parents if necessary. 322 echo as_func_failure succeeded.
279as_fn_mkdir_p () 323fi
280{
281 324
282 case $as_dir in #( 325if as_func_ret_success; then
283 -*) as_dir=./$as_dir;; 326 :
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 }'
334else 327else
335 as_fn_append () 328 exitcode=1
336 { 329 echo as_func_ret_success failed.
337 eval $1=\$$1\$2 330fi
338 } 331
339fi # as_fn_append 332if as_func_ret_failure; then
340 333 exitcode=1
341# as_fn_arith ARG... 334 echo as_func_ret_failure succeeded.
342# ------------------ 335fi
343# Perform arithmetic evaluation on the ARGs, and store the result in the 336
344# global $as_val. Take advantage of shells that can avoid forks. The arguments 337if ( set x; as_func_ret_success y && test x = "$1" ); then
345# must be portable across $(()) and expr. 338 :
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351else 339else
352 as_fn_arith () 340 exitcode=1
353 { 341 echo positional parameters were not saved.
354 as_val=`expr "$@" || test $? -eq 1` 342fi
355 }
356fi # as_fn_arith
357 343
344test $exitcode = 0) || { (exit 1); exit 1; }
358 345
359# as_fn_error ERROR [LINENO LOG_FD] 346(
360# --------------------------------- 347 as_lineno_1=$LINENO
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 348 as_lineno_2=$LINENO
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 349 test "x$as_lineno_1" != "x$as_lineno_2" &&
363# script with status $?, using 1 if that was 0. 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
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 351
375if expr a : '\(a\)' >/dev/null 2>&1 && 352_ASEOF
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 353}; then
377 as_expr=expr 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
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi
368
369
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
376fi
377
378
379fi
380
381fi
382
383
384
385(eval "as_func_return () {
386 (exit \$1)
387}
388as_func_success () {
389 as_func_return 0
390}
391as_func_failure () {
392 as_func_return 1
393}
394as_func_ret_success () {
395 return 0
396}
397as_func_ret_failure () {
398 return 1
399}
400
401exitcode=0
402if as_func_success; then
403 :
378else 404else
379 as_expr=false 405 exitcode=1
406 echo as_func_success failed.
380fi 407fi
381 408
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 409if as_func_failure; then
383 as_basename=basename 410 exitcode=1
411 echo as_func_failure succeeded.
412fi
413
414if as_func_ret_success; then
415 :
384else 416else
385 as_basename=false 417 exitcode=1
418 echo as_func_ret_success failed.
386fi 419fi
387 420
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 421if as_func_ret_failure; then
389 as_dirname=dirname 422 exitcode=1
423 echo as_func_ret_failure succeeded.
424fi
425
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427 :
390else 428else
391 as_dirname=false 429 exitcode=1
430 echo positional parameters were not saved.
392fi 431fi
393 432
394as_me=`$as_basename -- "$0" || 433test \$exitcode = 0") || {
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 434 echo No shell found that supports shell functions.
396 X"$0" : 'X\(//\)$' \| \ 435 echo Please tell bug-autoconf@gnu.org about your system,
397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 436 echo including any error possibly output before this message.
398$as_echo X/"$0" | 437 echo This can help us improve future autoconf versions.
399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 438 echo Configuration will now proceed without shell functions.
400 s//\1/ 439}
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412 440
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
419 441
420 442
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 443 as_lineno_1=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 444 as_lineno_2=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 445 test "x$as_lineno_1" != "x$as_lineno_2" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 447
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
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. :-)
426 sed -n ' 458 sed -n '
427 p 459 p
428 /[$]LINENO/= 460 /[$]LINENO/=
@@ -439,7 +471,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
439 s/-\n.*// 471 s/-\n.*//
440 ' >$as_me.lineno && 472 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 473 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
443 476
444 # Don't try to exec as it changes $[0], causing all sort of problems 477 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the 478 # (the dirname of $[0] is not the place where we might find the
@@ -449,18 +482,29 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
449 exit 482 exit
450} 483}
451 484
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
452ECHO_C= ECHO_N= ECHO_T= 492ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #((((( 493case `echo -n x` in
454-n*) 494-n*)
455 case `echo 'xy\c'` in 495 case `echo 'x\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';; 497 *) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;; 498 esac;;
461*) 499*)
462 ECHO_N='-n';; 500 ECHO_N='-n';;
463esac 501esac
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
464 508
465rm -f conf$$ conf$$.exe conf$$.file 509rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then 510if test -d conf$$.dir; then
@@ -490,7 +534,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 534rmdir conf$$.dir 2>/dev/null
491 535
492if mkdir -p . 2>/dev/null; then 536if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"' 537 as_mkdir_p=:
494else 538else
495 test -d ./-p && rmdir ./-p 539 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 540 as_mkdir_p=false
@@ -509,10 +553,10 @@ else
509 if test -d "$1"; then 553 if test -d "$1"; then
510 test -d "$1/."; 554 test -d "$1/.";
511 else 555 else
512 case $1 in #( 556 case $1 in
513 -*)set "./$1";; 557 -*)set "./$1";;
514 esac; 558 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
516 ???[sx]*):;;*)false;;esac;fi 560 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh 561 '\'' sh
518 ' 562 '
@@ -526,8 +570,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 571
528 572
529test -n "$DJDIR" || exec 7<&0 </dev/null 573
530exec 6>&1 574exec 7<&0 </dev/null 6>&1
531 575
532# Name of the host. 576# Name of the host.
533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 577# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -545,6 +589,7 @@ cross_compiling=no
545subdirs= 589subdirs=
546MFLAGS= 590MFLAGS=
547MAKEFLAGS= 591MAKEFLAGS=
592SHELL=${CONFIG_SHELL-/bin/sh}
548 593
549# Identity of this package. 594# Identity of this package.
550PACKAGE_NAME='emacs' 595PACKAGE_NAME='emacs'
@@ -552,7 +597,6 @@ PACKAGE_TARNAME='emacs'
552PACKAGE_VERSION='23.1.92' 597PACKAGE_VERSION='23.1.92'
553PACKAGE_STRING='emacs 23.1.92' 598PACKAGE_STRING='emacs 23.1.92'
554PACKAGE_BUGREPORT='' 599PACKAGE_BUGREPORT=''
555PACKAGE_URL=''
556 600
557ac_unique_file="src/lisp.h" 601ac_unique_file="src/lisp.h"
558# Factoring default headers for most tests. 602# Factoring default headers for most tests.
@@ -594,137 +638,136 @@ ac_includes_default="\
594ac_config_libobj_dir=src 638ac_config_libobj_dir=src
595ac_header_list= 639ac_header_list=
596ac_func_list= 640ac_func_list=
597ac_subst_vars='LTLIBOBJS 641ac_subst_vars='SHELL
598OTHER_FILES
599LIB_SRC_EXTRA_INSTALLABLES
600GNU_OBJC_CFLAGS
601GNUSTEP_SYSTEM_LIBRARIES
602GNUSTEP_SYSTEM_HEADERS
603GNUSTEP_MAKEFILES
604ns_appsrc
605ns_appresdir
606ns_appbindir
607ns_appdir
608opsysfile
609machfile
610X_TOOLKIT_TYPE
611C_SWITCH_X_SITE
612LD_SWITCH_X_SITE_AUX
613LD_SWITCH_X_SITE
614c_switch_machine
615c_switch_system
616gameuser
617gamedir
618bitmapdir
619archlibdir
620etcdir
621x_default_search_path
622lisppath
623locallisppath
624lispdir
625srcdir
626canonical
627configuration
628version
629GETOPTOBJS
630GETOPT_H
631GETLOADAVG_LIBS
632KMEM_GROUP
633NEED_SETGID
634LIBOBJS
635liblockfile
636ALLOCA
637FREETYPE_LIBS
638FREETYPE_CFLAGS
639M17N_FLT_LIBS
640M17N_FLT_CFLAGS
641LIBOTF_LIBS
642LIBOTF_CFLAGS
643XFT_LIBS
644XFT_CFLAGS
645FONTCONFIG_LIBS
646FONTCONFIG_CFLAGS
647GCONF_LIBS
648GCONF_CFLAGS
649DBUS_LIBS
650DBUS_CFLAGS
651GTK_LIBS
652GTK_CFLAGS
653RSVG_LIBS
654RSVG_CFLAGS
655HAVE_XSERVER
656XMKMF
657SET_MAKE
658CFLAGS_SOUND
659ALSA_LIBS
660ALSA_CFLAGS
661PKG_CONFIG
662LIBSOUND
663MAKEINFO
664GZIP_PROG
665INSTALL_INFO
666RANLIB
667INSTALL_DATA
668INSTALL_SCRIPT
669INSTALL_PROGRAM
670LN_S
671EGREP
672GREP
673CPP
674OBJEXT
675EXEEXT
676ac_ct_CC
677CPPFLAGS
678LDFLAGS
679CFLAGS
680CC
681host_os
682host_vendor
683host_cpu
684host
685build_os
686build_vendor
687build_cpu
688build
689MAINT
690target_alias
691host_alias
692build_alias
693LIBS
694ECHO_T
695ECHO_N
696ECHO_C
697DEFS
698mandir
699localedir
700libdir
701psdir
702pdfdir
703dvidir
704htmldir
705infodir
706docdir
707oldincludedir
708includedir
709localstatedir
710sharedstatedir
711sysconfdir
712datadir
713datarootdir
714libexecdir
715sbindir
716bindir
717program_transform_name
718prefix
719exec_prefix
720PACKAGE_URL
721PACKAGE_BUGREPORT
722PACKAGE_STRING
723PACKAGE_VERSION
724PACKAGE_TARNAME
725PACKAGE_NAME
726PATH_SEPARATOR 642PATH_SEPARATOR
727SHELL' 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
697LN_S
698INSTALL_PROGRAM
699INSTALL_SCRIPT
700INSTALL_DATA
701RANLIB
702INSTALL_INFO
703GZIP_PROG
704MAKEINFO
705LIBSOUND
706PKG_CONFIG
707ALSA_CFLAGS
708ALSA_LIBS
709CFLAGS_SOUND
710SET_MAKE
711XMKMF
712HAVE_XSERVER
713RSVG_CFLAGS
714RSVG_LIBS
715GTK_CFLAGS
716GTK_LIBS
717DBUS_CFLAGS
718DBUS_LIBS
719GCONF_CFLAGS
720GCONF_LIBS
721FONTCONFIG_CFLAGS
722FONTCONFIG_LIBS
723XFT_CFLAGS
724XFT_LIBS
725LIBOTF_CFLAGS
726LIBOTF_LIBS
727M17N_FLT_CFLAGS
728M17N_FLT_LIBS
729FREETYPE_CFLAGS
730FREETYPE_LIBS
731ALLOCA
732liblockfile
733LIBOBJS
734NEED_SETGID
735KMEM_GROUP
736GETLOADAVG_LIBS
737GETOPT_H
738GETOPTOBJS
739version
740configuration
741canonical
742srcdir
743lispdir
744locallisppath
745lisppath
746x_default_search_path
747etcdir
748archlibdir
749bitmapdir
750gamedir
751gameuser
752c_switch_system
753c_switch_machine
754LD_SWITCH_X_SITE
755LD_SWITCH_X_SITE_AUX
756C_SWITCH_X_SITE
757X_TOOLKIT_TYPE
758machfile
759opsysfile
760ns_appdir
761ns_appbindir
762ns_appresdir
763ns_appsrc
764GNUSTEP_MAKEFILES
765GNUSTEP_SYSTEM_HEADERS
766GNUSTEP_SYSTEM_LIBRARIES
767GNU_OBJC_CFLAGS
768LIB_SRC_EXTRA_INSTALLABLES
769OTHER_FILES
770LTLIBOBJS'
728ac_subst_files='' 771ac_subst_files=''
729ac_user_opts=' 772ac_user_opts='
730enable_option_checking 773enable_option_checking
@@ -884,7 +927,8 @@ do
884 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 927 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names. 928 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887 as_fn_error "invalid feature name: $ac_useropt" 930 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
931 { (exit 1); exit 1; }; }
888 ac_useropt_orig=$ac_useropt 932 ac_useropt_orig=$ac_useropt
889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 933 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in 934 case $ac_user_opts in
@@ -910,7 +954,8 @@ do
910 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 954 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911 # Reject names that are not valid shell variable names. 955 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913 as_fn_error "invalid feature name: $ac_useropt" 957 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
958 { (exit 1); exit 1; }; }
914 ac_useropt_orig=$ac_useropt 959 ac_useropt_orig=$ac_useropt
915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in 961 case $ac_user_opts in
@@ -1114,7 +1159,8 @@ do
1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1159 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names. 1160 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error "invalid package name: $ac_useropt" 1162 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1163 { (exit 1); exit 1; }; }
1118 ac_useropt_orig=$ac_useropt 1164 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in 1166 case $ac_user_opts in
@@ -1130,7 +1176,8 @@ do
1130 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1176 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1131 # Reject names that are not valid shell variable names. 1177 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133 as_fn_error "invalid package name: $ac_useropt" 1179 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1180 { (exit 1); exit 1; }; }
1134 ac_useropt_orig=$ac_useropt 1181 ac_useropt_orig=$ac_useropt
1135 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in 1183 case $ac_user_opts in
@@ -1160,17 +1207,17 @@ do
1160 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1207 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1161 x_libraries=$ac_optarg ;; 1208 x_libraries=$ac_optarg ;;
1162 1209
1163 -*) as_fn_error "unrecognized option: \`$ac_option' 1210 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1164Try \`$0 --help' for more information." 1211Try \`$0 --help' for more information." >&2
1212 { (exit 1); exit 1; }; }
1165 ;; 1213 ;;
1166 1214
1167 *=*) 1215 *=*)
1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1216 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1169 # Reject names that are not valid shell variable names. 1217 # Reject names that are not valid shell variable names.
1170 case $ac_envvar in #( 1218 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1171 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1219 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1172 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1220 { (exit 1); exit 1; }; }
1173 esac
1174 eval $ac_envvar=\$ac_optarg 1221 eval $ac_envvar=\$ac_optarg
1175 export $ac_envvar ;; 1222 export $ac_envvar ;;
1176 1223
@@ -1187,14 +1234,16 @@ done
1187 1234
1188if test -n "$ac_prev"; then 1235if test -n "$ac_prev"; then
1189 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1236 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1190 as_fn_error "missing argument to $ac_option" 1237 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1238 { (exit 1); exit 1; }; }
1191fi 1239fi
1192 1240
1193if test -n "$ac_unrecognized_opts"; then 1241if test -n "$ac_unrecognized_opts"; then
1194 case $enable_option_checking in 1242 case $enable_option_checking in
1195 no) ;; 1243 no) ;;
1196 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1244 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1197 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1245 { (exit 1); exit 1; }; } ;;
1246 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 esac 1247 esac
1199fi 1248fi
1200 1249
@@ -1216,7 +1265,8 @@ do
1216 [\\/$]* | ?:[\\/]* ) continue;; 1265 [\\/$]* | ?:[\\/]* ) continue;;
1217 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1266 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1218 esac 1267 esac
1219 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1268 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1269 { (exit 1); exit 1; }; }
1220done 1270done
1221 1271
1222# There might be people who depend on the old broken behavior: `$host' 1272# There might be people who depend on the old broken behavior: `$host'
@@ -1246,9 +1296,11 @@ test "$silent" = yes && exec 6>/dev/null
1246ac_pwd=`pwd` && test -n "$ac_pwd" && 1296ac_pwd=`pwd` && test -n "$ac_pwd" &&
1247ac_ls_di=`ls -di .` && 1297ac_ls_di=`ls -di .` &&
1248ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1298ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error "working directory cannot be determined" 1299 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1300 { (exit 1); exit 1; }; }
1250test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1301test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error "pwd does not report name of working directory" 1302 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1303 { (exit 1); exit 1; }; }
1252 1304
1253 1305
1254# Find the source files, if location was not specified. 1306# Find the source files, if location was not specified.
@@ -1287,11 +1339,13 @@ else
1287fi 1339fi
1288if test ! -r "$srcdir/$ac_unique_file"; then 1340if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1341 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1342 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1343 { (exit 1); exit 1; }; }
1291fi 1344fi
1292ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1345ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1293ac_abs_confdir=`( 1346ac_abs_confdir=`(
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1347 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1348 { (exit 1); exit 1; }; }
1295 pwd)` 1349 pwd)`
1296# When building in place, set srcdir=. 1350# When building in place, set srcdir=.
1297if test "$ac_abs_confdir" = "$ac_pwd"; then 1351if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1464,7 +1518,7 @@ Some influential environment variables:
1464 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1465 nonstandard directory <lib dir> 1519 nonstandard directory <lib dir>
1466 LIBS libraries to pass to the linker, e.g. -l<library> 1520 LIBS libraries to pass to the linker, e.g. -l<library>
1467 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1521 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1468 you have headers in a nonstandard directory <include dir> 1522 you have headers in a nonstandard directory <include dir>
1469 CPP C preprocessor 1523 CPP C preprocessor
1470 XMKMF Path to xmkmf, Makefile generator for X Window System 1524 XMKMF Path to xmkmf, Makefile generator for X Window System
@@ -1472,7 +1526,6 @@ Some influential environment variables:
1472Use these variables to override the choices made by `configure' or to help 1526Use these variables to override the choices made by `configure' or to help
1473it to find libraries and programs with nonstandard names/locations. 1527it to find libraries and programs with nonstandard names/locations.
1474 1528
1475Report bugs to the package provider.
1476_ACEOF 1529_ACEOF
1477ac_status=$? 1530ac_status=$?
1478fi 1531fi
@@ -1536,551 +1589,21 @@ test -n "$ac_init_help" && exit $ac_status
1536if $ac_init_version; then 1589if $ac_init_version; then
1537 cat <<\_ACEOF 1590 cat <<\_ACEOF
1538emacs configure 23.1.92 1591emacs configure 23.1.92
1539generated by GNU Autoconf 2.65 1592generated by GNU Autoconf 2.62
1540 1593
1541Copyright (C) 2009 Free Software Foundation, Inc. 1594Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15952002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1542This configure script is free software; the Free Software Foundation 1596This configure script is free software; the Free Software Foundation
1543gives unlimited permission to copy, distribute and modify it. 1597gives unlimited permission to copy, distribute and modify it.
1544_ACEOF 1598_ACEOF
1545 exit 1599 exit
1546fi 1600fi
1547
1548## ------------------------ ##
1549## Autoconf initialization. ##
1550## ------------------------ ##
1551
1552# ac_fn_c_try_compile LINENO
1553# --------------------------
1554# Try to compile conftest.$ac_ext, and return whether this succeeded.
1555ac_fn_c_try_compile ()
1556{
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 rm -f conftest.$ac_objext
1559 if { { ac_try="$ac_compile"
1560case "(($ac_try" in
1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1563esac
1564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565$as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_compile") 2>conftest.err
1567 ac_status=$?
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1572 fi
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest.$ac_objext; then :
1578 ac_retval=0
1579else
1580 $as_echo "$as_me: failed program was:" >&5
1581sed 's/^/| /' conftest.$ac_ext >&5
1582
1583 ac_retval=1
1584fi
1585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1586 as_fn_set_status $ac_retval
1587
1588} # ac_fn_c_try_compile
1589
1590# ac_fn_c_try_link LINENO
1591# -----------------------
1592# Try to link conftest.$ac_ext, and return whether this succeeded.
1593ac_fn_c_try_link ()
1594{
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext conftest$ac_exeext
1597 if { { ac_try="$ac_link"
1598case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1601esac
1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603$as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_link") 2>conftest.err
1605 ac_status=$?
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1610 fi
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest$ac_exeext && {
1616 test "$cross_compiling" = yes ||
1617 $as_test_x conftest$ac_exeext
1618 }; then :
1619 ac_retval=0
1620else
1621 $as_echo "$as_me: failed program was:" >&5
1622sed 's/^/| /' conftest.$ac_ext >&5
1623
1624 ac_retval=1
1625fi
1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1627 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1628 # interfere with the next link command; also delete a directory that is
1629 # left behind by Apple's compiler. We do this before executing the actions.
1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1631 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1632 as_fn_set_status $ac_retval
1633
1634} # ac_fn_c_try_link
1635
1636# ac_fn_c_try_cpp LINENO
1637# ----------------------
1638# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1639ac_fn_c_try_cpp ()
1640{
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 if { { ac_try="$ac_cpp conftest.$ac_ext"
1643case "(($ac_try" in
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1646esac
1647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648$as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650 ac_status=$?
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1655 fi
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } >/dev/null && {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 }; then :
1661 ac_retval=0
1662else
1663 $as_echo "$as_me: failed program was:" >&5
1664sed 's/^/| /' conftest.$ac_ext >&5
1665
1666 ac_retval=1
1667fi
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1669 as_fn_set_status $ac_retval
1670
1671} # ac_fn_c_try_cpp
1672
1673# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1674# -------------------------------------------------------
1675# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1676# the include files in INCLUDES and setting the cache variable VAR
1677# accordingly.
1678ac_fn_c_check_header_mongrel ()
1679{
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683$as_echo_n "checking for $2... " >&6; }
1684if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1685 $as_echo_n "(cached) " >&6
1686fi
1687eval ac_res=\$$3
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689$as_echo "$ac_res" >&6; }
1690else
1691 # Is the header compilable?
1692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1693$as_echo_n "checking $2 usability... " >&6; }
1694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1695/* end confdefs.h. */
1696$4
1697#include <$2>
1698_ACEOF
1699if ac_fn_c_try_compile "$LINENO"; then :
1700 ac_header_compiler=yes
1701else
1702 ac_header_compiler=no
1703fi
1704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1706$as_echo "$ac_header_compiler" >&6; }
1707
1708# Is the header present?
1709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1710$as_echo_n "checking $2 presence... " >&6; }
1711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712/* end confdefs.h. */
1713#include <$2>
1714_ACEOF
1715if ac_fn_c_try_cpp "$LINENO"; then :
1716 ac_header_preproc=yes
1717else
1718 ac_header_preproc=no
1719fi
1720rm -f conftest.err conftest.$ac_ext
1721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1722$as_echo "$ac_header_preproc" >&6; }
1723
1724# So? What about this header?
1725case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1726 yes:no: )
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1728$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1731 ;;
1732 no:yes:* )
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1734$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1736$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1738$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1740$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1743 ;;
1744esac
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
1749else
1750 eval "$3=\$ac_header_compiler"
1751fi
1752eval ac_res=\$$3
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754$as_echo "$ac_res" >&6; }
1755fi
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757
1758} # ac_fn_c_check_header_mongrel
1759
1760# ac_fn_c_try_run LINENO
1761# ----------------------
1762# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1763# that executables *can* be run.
1764ac_fn_c_try_run ()
1765{
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 if { { ac_try="$ac_link"
1768case "(($ac_try" in
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1771esac
1772eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773$as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_link") 2>&5
1775 ac_status=$?
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1778 { { case "(($ac_try" in
1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1781esac
1782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783$as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_try") 2>&5
1785 ac_status=$?
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; }; }; then :
1788 ac_retval=0
1789else
1790 $as_echo "$as_me: program exited with status $ac_status" >&5
1791 $as_echo "$as_me: failed program was:" >&5
1792sed 's/^/| /' conftest.$ac_ext >&5
1793
1794 ac_retval=$ac_status
1795fi
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 as_fn_set_status $ac_retval
1799
1800} # ac_fn_c_try_run
1801
1802# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1803# -------------------------------------------------------
1804# Tests whether HEADER exists and can be compiled using the include files in
1805# INCLUDES, setting the cache variable VAR accordingly.
1806ac_fn_c_check_header_compile ()
1807{
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810$as_echo_n "checking for $2... " >&6; }
1811if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812 $as_echo_n "(cached) " >&6
1813else
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815/* end confdefs.h. */
1816$4
1817#include <$2>
1818_ACEOF
1819if ac_fn_c_try_compile "$LINENO"; then :
1820 eval "$3=yes"
1821else
1822 eval "$3=no"
1823fi
1824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825fi
1826eval ac_res=\$$3
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828$as_echo "$ac_res" >&6; }
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830
1831} # ac_fn_c_check_header_compile
1832
1833# ac_fn_c_check_header_preproc LINENO HEADER VAR
1834# ----------------------------------------------
1835# Tests whether HEADER is present, setting the cache variable VAR accordingly.
1836ac_fn_c_check_header_preproc ()
1837{
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840$as_echo_n "checking for $2... " >&6; }
1841if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1843else
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845/* end confdefs.h. */
1846#include <$2>
1847_ACEOF
1848if ac_fn_c_try_cpp "$LINENO"; then :
1849 eval "$3=yes"
1850else
1851 eval "$3=no"
1852fi
1853rm -f conftest.err conftest.$ac_ext
1854fi
1855eval ac_res=\$$3
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857$as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1859
1860} # ac_fn_c_check_header_preproc
1861
1862# ac_fn_c_check_decl LINENO SYMBOL VAR
1863# ------------------------------------
1864# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1865ac_fn_c_check_decl ()
1866{
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1869$as_echo_n "checking whether $2 is declared... " >&6; }
1870if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1871 $as_echo_n "(cached) " >&6
1872else
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874/* end confdefs.h. */
1875$4
1876int
1877main ()
1878{
1879#ifndef $2
1880 (void) $2;
1881#endif
1882
1883 ;
1884 return 0;
1885}
1886_ACEOF
1887if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$3=yes"
1889else
1890 eval "$3=no"
1891fi
1892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893fi
1894eval ac_res=\$$3
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896$as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898
1899} # ac_fn_c_check_decl
1900
1901# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1902# ----------------------------------------------------
1903# Tries to find if the field MEMBER exists in type AGGR, after including
1904# INCLUDES, setting cache variable VAR accordingly.
1905ac_fn_c_check_member ()
1906{
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1909$as_echo_n "checking for $2.$3... " >&6; }
1910if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1911 $as_echo_n "(cached) " >&6
1912else
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914/* end confdefs.h. */
1915$5
1916int
1917main ()
1918{
1919static $2 ac_aggr;
1920if (ac_aggr.$3)
1921return 0;
1922 ;
1923 return 0;
1924}
1925_ACEOF
1926if ac_fn_c_try_compile "$LINENO"; then :
1927 eval "$4=yes"
1928else
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930/* end confdefs.h. */
1931$5
1932int
1933main ()
1934{
1935static $2 ac_aggr;
1936if (sizeof ac_aggr.$3)
1937return 0;
1938 ;
1939 return 0;
1940}
1941_ACEOF
1942if ac_fn_c_try_compile "$LINENO"; then :
1943 eval "$4=yes"
1944else
1945 eval "$4=no"
1946fi
1947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948fi
1949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950fi
1951eval ac_res=\$$4
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953$as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1955
1956} # ac_fn_c_check_member
1957
1958# ac_fn_c_check_func LINENO FUNC VAR
1959# ----------------------------------
1960# Tests whether FUNC exists, setting the cache variable VAR accordingly
1961ac_fn_c_check_func ()
1962{
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965$as_echo_n "checking for $2... " >&6; }
1966if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1967 $as_echo_n "(cached) " >&6
1968else
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970/* end confdefs.h. */
1971/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1973#define $2 innocuous_$2
1974
1975/* System header to define __stub macros and hopefully few prototypes,
1976 which can conflict with char $2 (); below.
1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1978 <limits.h> exists even on freestanding compilers. */
1979
1980#ifdef __STDC__
1981# include <limits.h>
1982#else
1983# include <assert.h>
1984#endif
1985
1986#undef $2
1987
1988/* Override any GCC internal prototype to avoid an error.
1989 Use char because int might match the return type of a GCC
1990 builtin and then its argument prototype would still apply. */
1991#ifdef __cplusplus
1992extern "C"
1993#endif
1994char $2 ();
1995/* The GNU C library defines this for functions which it implements
1996 to always fail with ENOSYS. Some functions are actually named
1997 something starting with __ and the normal name is an alias. */
1998#if defined __stub_$2 || defined __stub___$2
1999choke me
2000#endif
2001
2002int
2003main ()
2004{
2005return $2 ();
2006 ;
2007 return 0;
2008}
2009_ACEOF
2010if ac_fn_c_try_link "$LINENO"; then :
2011 eval "$3=yes"
2012else
2013 eval "$3=no"
2014fi
2015rm -f core conftest.err conftest.$ac_objext \
2016 conftest$ac_exeext conftest.$ac_ext
2017fi
2018eval ac_res=\$$3
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020$as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2022
2023} # ac_fn_c_check_func
2024
2025# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2026# -------------------------------------------
2027# Tests whether TYPE exists after having included INCLUDES, setting cache
2028# variable VAR accordingly.
2029ac_fn_c_check_type ()
2030{
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033$as_echo_n "checking for $2... " >&6; }
2034if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2035 $as_echo_n "(cached) " >&6
2036else
2037 eval "$3=no"
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039/* end confdefs.h. */
2040$4
2041int
2042main ()
2043{
2044if (sizeof ($2))
2045 return 0;
2046 ;
2047 return 0;
2048}
2049_ACEOF
2050if ac_fn_c_try_compile "$LINENO"; then :
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052/* end confdefs.h. */
2053$4
2054int
2055main ()
2056{
2057if (sizeof (($2)))
2058 return 0;
2059 ;
2060 return 0;
2061}
2062_ACEOF
2063if ac_fn_c_try_compile "$LINENO"; then :
2064
2065else
2066 eval "$3=yes"
2067fi
2068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069fi
2070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071fi
2072eval ac_res=\$$3
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074$as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076
2077} # ac_fn_c_check_type
2078cat >config.log <<_ACEOF 1601cat >config.log <<_ACEOF
2079This file contains any messages produced by compilers while 1602This file contains any messages produced by compilers while
2080running configure, to aid debugging if configure makes a mistake. 1603running configure, to aid debugging if configure makes a mistake.
2081 1604
2082It was created by emacs $as_me 23.1.92, which was 1605It was created by emacs $as_me 23.1.92, which was
2083generated by GNU Autoconf 2.65. Invocation command line was 1606generated by GNU Autoconf 2.62. Invocation command line was
2084 1607
2085 $ $0 $@ 1608 $ $0 $@
2086 1609
@@ -2116,8 +1639,8 @@ for as_dir in $PATH
2116do 1639do
2117 IFS=$as_save_IFS 1640 IFS=$as_save_IFS
2118 test -z "$as_dir" && as_dir=. 1641 test -z "$as_dir" && as_dir=.
2119 $as_echo "PATH: $as_dir" 1642 $as_echo "PATH: $as_dir"
2120 done 1643done
2121IFS=$as_save_IFS 1644IFS=$as_save_IFS
2122 1645
2123} >&5 1646} >&5
@@ -2154,9 +1677,9 @@ do
2154 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1677 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2155 esac 1678 esac
2156 case $ac_pass in 1679 case $ac_pass in
2157 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1680 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2158 2) 1681 2)
2159 as_fn_append ac_configure_args1 " '$ac_arg'" 1682 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2160 if test $ac_must_keep_next = true; then 1683 if test $ac_must_keep_next = true; then
2161 ac_must_keep_next=false # Got value, back to normal. 1684 ac_must_keep_next=false # Got value, back to normal.
2162 else 1685 else
@@ -2172,13 +1695,13 @@ do
2172 -* ) ac_must_keep_next=true ;; 1695 -* ) ac_must_keep_next=true ;;
2173 esac 1696 esac
2174 fi 1697 fi
2175 as_fn_append ac_configure_args " '$ac_arg'" 1698 ac_configure_args="$ac_configure_args '$ac_arg'"
2176 ;; 1699 ;;
2177 esac 1700 esac
2178 done 1701 done
2179done 1702done
2180{ ac_configure_args0=; unset ac_configure_args0;} 1703$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2181{ ac_configure_args1=; unset ac_configure_args1;} 1704$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2182 1705
2183# When interrupted or exit'd, cleanup temporary files, and complete 1706# When interrupted or exit'd, cleanup temporary files, and complete
2184# config.log. We remove comments because anyway the quotes in there 1707# config.log. We remove comments because anyway the quotes in there
@@ -2203,13 +1726,13 @@ _ASBOX
2203 case $ac_val in #( 1726 case $ac_val in #(
2204 *${as_nl}*) 1727 *${as_nl}*)
2205 case $ac_var in #( 1728 case $ac_var in #(
2206 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1729 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2207$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1730$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2208 esac 1731 esac
2209 case $ac_var in #( 1732 case $ac_var in #(
2210 _ | IFS | as_nl) ;; #( 1733 _ | IFS | as_nl) ;; #(
2211 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1734 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2212 *) { eval $ac_var=; unset $ac_var;} ;; 1735 *) $as_unset $ac_var ;;
2213 esac ;; 1736 esac ;;
2214 esac 1737 esac
2215 done 1738 done
@@ -2281,39 +1804,37 @@ _ASBOX
2281 exit $exit_status 1804 exit $exit_status
2282' 0 1805' 0
2283for ac_signal in 1 2 13 15; do 1806for ac_signal in 1 2 13 15; do
2284 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1807 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2285done 1808done
2286ac_signal=0 1809ac_signal=0
2287 1810
2288# confdefs.h avoids OS command line length limits that DEFS can exceed. 1811# confdefs.h avoids OS command line length limits that DEFS can exceed.
2289rm -f -r conftest* confdefs.h 1812rm -f -r conftest* confdefs.h
2290 1813
2291$as_echo "/* confdefs.h */" > confdefs.h
2292
2293# Predefined preprocessor variables. 1814# Predefined preprocessor variables.
2294 1815
2295cat >>confdefs.h <<_ACEOF 1816cat >>confdefs.h <<_ACEOF
2296#define PACKAGE_NAME "$PACKAGE_NAME" 1817#define PACKAGE_NAME "$PACKAGE_NAME"
2297_ACEOF 1818_ACEOF
2298 1819
1820
2299cat >>confdefs.h <<_ACEOF 1821cat >>confdefs.h <<_ACEOF
2300#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1822#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2301_ACEOF 1823_ACEOF
2302 1824
1825
2303cat >>confdefs.h <<_ACEOF 1826cat >>confdefs.h <<_ACEOF
2304#define PACKAGE_VERSION "$PACKAGE_VERSION" 1827#define PACKAGE_VERSION "$PACKAGE_VERSION"
2305_ACEOF 1828_ACEOF
2306 1829
1830
2307cat >>confdefs.h <<_ACEOF 1831cat >>confdefs.h <<_ACEOF
2308#define PACKAGE_STRING "$PACKAGE_STRING" 1832#define PACKAGE_STRING "$PACKAGE_STRING"
2309_ACEOF 1833_ACEOF
2310 1834
2311cat >>confdefs.h <<_ACEOF
2312#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2313_ACEOF
2314 1835
2315cat >>confdefs.h <<_ACEOF 1836cat >>confdefs.h <<_ACEOF
2316#define PACKAGE_URL "$PACKAGE_URL" 1837#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2317_ACEOF 1838_ACEOF
2318 1839
2319 1840
@@ -2333,8 +1854,8 @@ fi
2333for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1854for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2334do 1855do
2335 test "x$ac_site_file" = xNONE && continue 1856 test "x$ac_site_file" = xNONE && continue
2336 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1857 if test -r "$ac_site_file"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1858 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2338$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1859$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339 sed 's/^/| /' "$ac_site_file" >&5 1860 sed 's/^/| /' "$ac_site_file" >&5
2340 . "$ac_site_file" 1861 . "$ac_site_file"
@@ -2342,10 +1863,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2342done 1863done
2343 1864
2344if test -r "$cache_file"; then 1865if test -r "$cache_file"; then
2345 # Some versions of bash will fail to source /dev/null (special files 1866 # Some versions of bash will fail to source /dev/null (special
2346 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1867 # files actually), so we avoid doing that.
2347 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1868 if test -f "$cache_file"; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1869 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2349$as_echo "$as_me: loading cache $cache_file" >&6;} 1870$as_echo "$as_me: loading cache $cache_file" >&6;}
2350 case $cache_file in 1871 case $cache_file in
2351 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1872 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -2353,16 +1874,14 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
2353 esac 1874 esac
2354 fi 1875 fi
2355else 1876else
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1877 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2357$as_echo "$as_me: creating cache $cache_file" >&6;} 1878$as_echo "$as_me: creating cache $cache_file" >&6;}
2358 >$cache_file 1879 >$cache_file
2359fi 1880fi
2360 1881
2361as_fn_append ac_header_list " stdlib.h" 1882ac_header_list="$ac_header_list sys/time.h"
2362as_fn_append ac_header_list " unistd.h" 1883ac_header_list="$ac_header_list unistd.h"
2363as_fn_append ac_header_list " sys/param.h" 1884ac_func_list="$ac_func_list alarm"
2364as_fn_append ac_header_list " sys/time.h"
2365as_fn_append ac_func_list " alarm"
2366# Check that the precious variables saved in the cache have kept the same 1885# Check that the precious variables saved in the cache have kept the same
2367# value. 1886# value.
2368ac_cache_corrupted=false 1887ac_cache_corrupted=false
@@ -2373,11 +1892,11 @@ for ac_var in $ac_precious_vars; do
2373 eval ac_new_val=\$ac_env_${ac_var}_value 1892 eval ac_new_val=\$ac_env_${ac_var}_value
2374 case $ac_old_set,$ac_new_set in 1893 case $ac_old_set,$ac_new_set in
2375 set,) 1894 set,)
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1895 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2377$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1896$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2378 ac_cache_corrupted=: ;; 1897 ac_cache_corrupted=: ;;
2379 ,set) 1898 ,set)
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1899 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2381$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1900$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2382 ac_cache_corrupted=: ;; 1901 ac_cache_corrupted=: ;;
2383 ,);; 1902 ,);;
@@ -2387,17 +1906,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2387 ac_old_val_w=`echo x $ac_old_val` 1906 ac_old_val_w=`echo x $ac_old_val`
2388 ac_new_val_w=`echo x $ac_new_val` 1907 ac_new_val_w=`echo x $ac_new_val`
2389 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1908 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1909 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2391$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1910$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2392 ac_cache_corrupted=: 1911 ac_cache_corrupted=:
2393 else 1912 else
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1913 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2395$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1914$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2396 eval $ac_var=\$ac_old_val 1915 eval $ac_var=\$ac_old_val
2397 fi 1916 fi
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1917 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2399$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1918$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1919 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2401$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1920$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2402 fi;; 1921 fi;;
2403 esac 1922 esac
@@ -2409,20 +1928,41 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2409 esac 1928 esac
2410 case " $ac_configure_args " in 1929 case " $ac_configure_args " in
2411 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1930 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2412 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1931 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2413 esac 1932 esac
2414 fi 1933 fi
2415done 1934done
2416if $ac_cache_corrupted; then 1935if $ac_cache_corrupted; then
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1936 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2420$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1937$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2421 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1938 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1939$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1940 { (exit 1); exit 1; }; }
2422fi 1941fi
2423## -------------------- ## 1942
2424## Main body of script. ## 1943
2425## -------------------- ## 1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
2426 1966
2427ac_ext=c 1967ac_ext=c
2428ac_cpp='$CPP $CPPFLAGS' 1968ac_cpp='$CPP $CPPFLAGS'
@@ -2461,33 +2001,39 @@ gameuser=games
2461 2001
2462 2002
2463# Check whether --with-pop was given. 2003# Check whether --with-pop was given.
2464if test "${with_pop+set}" = set; then : 2004if test "${with_pop+set}" = set; then
2465 withval=$with_pop; 2005 withval=$with_pop;
2466else 2006else
2467 with_pop=yes 2007 with_pop=yes
2468fi 2008fi
2469 2009
2470if test "$with_pop" = yes; then 2010if test "$with_pop" = yes; then
2471 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h 2011 cat >>confdefs.h <<\_ACEOF
2012#define MAIL_USE_POP 1
2013_ACEOF
2472 2014
2473fi 2015fi
2474 2016
2475 2017
2018
2476# Check whether --with-kerberos was given. 2019# Check whether --with-kerberos was given.
2477if test "${with_kerberos+set}" = set; then : 2020if test "${with_kerberos+set}" = set; then
2478 withval=$with_kerberos; 2021 withval=$with_kerberos;
2479else 2022else
2480 with_kerberos=no 2023 with_kerberos=no
2481fi 2024fi
2482 2025
2483if test "$with_kerberos" != no; then 2026if test "$with_kerberos" != no; then
2484 $as_echo "#define KERBEROS 1" >>confdefs.h 2027 cat >>confdefs.h <<\_ACEOF
2028#define KERBEROS 1
2029_ACEOF
2485 2030
2486fi 2031fi
2487 2032
2488 2033
2034
2489# Check whether --with-kerberos5 was given. 2035# Check whether --with-kerberos5 was given.
2490if test "${with_kerberos5+set}" = set; then : 2036if test "${with_kerberos5+set}" = set; then
2491 withval=$with_kerberos5; 2037 withval=$with_kerberos5;
2492else 2038else
2493 with_kerberos5=no 2039 with_kerberos5=no
@@ -2496,17 +2042,21 @@ fi
2496if test "${with_kerberos5}" != no; then 2042if test "${with_kerberos5}" != no; then
2497 if test "${with_kerberos}" = no; then 2043 if test "${with_kerberos}" = no; then
2498 with_kerberos=yes 2044 with_kerberos=yes
2499 $as_echo "#define KERBEROS 1" >>confdefs.h 2045 cat >>confdefs.h <<\_ACEOF
2046#define KERBEROS 1
2047_ACEOF
2500 2048
2501 fi 2049 fi
2502 2050
2503$as_echo "#define KERBEROS5 1" >>confdefs.h 2051cat >>confdefs.h <<\_ACEOF
2052#define KERBEROS5 1
2053_ACEOF
2504 2054
2505fi 2055fi
2506 2056
2507 2057
2508# Check whether --with-hesiod was given. 2058# Check whether --with-hesiod was given.
2509if test "${with_hesiod+set}" = set; then : 2059if test "${with_hesiod+set}" = set; then
2510 withval=$with_hesiod; 2060 withval=$with_hesiod;
2511else 2061else
2512 with_hesiod=no 2062 with_hesiod=no
@@ -2514,13 +2064,15 @@ fi
2514 2064
2515if test "$with_hesiod" != no; then 2065if test "$with_hesiod" != no; then
2516 2066
2517$as_echo "#define HESIOD 1" >>confdefs.h 2067cat >>confdefs.h <<\_ACEOF
2068#define HESIOD 1
2069_ACEOF
2518 2070
2519fi 2071fi
2520 2072
2521 2073
2522# Check whether --with-sound was given. 2074# Check whether --with-sound was given.
2523if test "${with_sound+set}" = set; then : 2075if test "${with_sound+set}" = set; then
2524 withval=$with_sound; 2076 withval=$with_sound;
2525else 2077else
2526 with_sound=yes 2078 with_sound=yes
@@ -2529,7 +2081,7 @@ fi
2529 2081
2530 2082
2531# Check whether --with-sync-input was given. 2083# Check whether --with-sync-input was given.
2532if test "${with_sync_input+set}" = set; then : 2084if test "${with_sync_input+set}" = set; then
2533 withval=$with_sync_input; 2085 withval=$with_sync_input;
2534else 2086else
2535 with_sync_input=yes 2087 with_sync_input=yes
@@ -2537,13 +2089,15 @@ fi
2537 2089
2538if test "$with_sync_input" = yes; then 2090if test "$with_sync_input" = yes; then
2539 2091
2540$as_echo "#define SYNC_INPUT 1" >>confdefs.h 2092cat >>confdefs.h <<\_ACEOF
2093#define SYNC_INPUT 1
2094_ACEOF
2541 2095
2542fi 2096fi
2543 2097
2544 2098
2545# Check whether --with-x-toolkit was given. 2099# Check whether --with-x-toolkit was given.
2546if test "${with_x_toolkit+set}" = set; then : 2100if test "${with_x_toolkit+set}" = set; then
2547 withval=$with_x_toolkit; case "${withval}" in 2101 withval=$with_x_toolkit; case "${withval}" in
2548 y | ye | yes ) val=gtk ;; 2102 y | ye | yes ) val=gtk ;;
2549 n | no ) val=no ;; 2103 n | no ) val=no ;;
@@ -2552,9 +2106,13 @@ if test "${with_x_toolkit+set}" = set; then :
2552 m | mo | mot | moti | motif ) val=motif ;; 2106 m | mo | mot | moti | motif ) val=motif ;;
2553 g | gt | gtk ) val=gtk ;; 2107 g | gt | gtk ) val=gtk ;;
2554 * ) 2108 * )
2555as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2109{ { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid;
2110this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2111\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5
2112$as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
2556this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2113this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2557\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2114\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
2115 { (exit 1); exit 1; }; }
2558 ;; 2116 ;;
2559 esac 2117 esac
2560 with_x_toolkit=$val 2118 with_x_toolkit=$val
@@ -2564,7 +2122,7 @@ fi
2564 2122
2565 2123
2566# Check whether --with-xpm was given. 2124# Check whether --with-xpm was given.
2567if test "${with_xpm+set}" = set; then : 2125if test "${with_xpm+set}" = set; then
2568 withval=$with_xpm; 2126 withval=$with_xpm;
2569else 2127else
2570 with_xpm=yes 2128 with_xpm=yes
@@ -2572,7 +2130,7 @@ fi
2572 2130
2573 2131
2574# Check whether --with-jpeg was given. 2132# Check whether --with-jpeg was given.
2575if test "${with_jpeg+set}" = set; then : 2133if test "${with_jpeg+set}" = set; then
2576 withval=$with_jpeg; 2134 withval=$with_jpeg;
2577else 2135else
2578 with_jpeg=yes 2136 with_jpeg=yes
@@ -2580,7 +2138,7 @@ fi
2580 2138
2581 2139
2582# Check whether --with-tiff was given. 2140# Check whether --with-tiff was given.
2583if test "${with_tiff+set}" = set; then : 2141if test "${with_tiff+set}" = set; then
2584 withval=$with_tiff; 2142 withval=$with_tiff;
2585else 2143else
2586 with_tiff=yes 2144 with_tiff=yes
@@ -2588,7 +2146,7 @@ fi
2588 2146
2589 2147
2590# Check whether --with-gif was given. 2148# Check whether --with-gif was given.
2591if test "${with_gif+set}" = set; then : 2149if test "${with_gif+set}" = set; then
2592 withval=$with_gif; 2150 withval=$with_gif;
2593else 2151else
2594 with_gif=yes 2152 with_gif=yes
@@ -2596,7 +2154,7 @@ fi
2596 2154
2597 2155
2598# Check whether --with-png was given. 2156# Check whether --with-png was given.
2599if test "${with_png+set}" = set; then : 2157if test "${with_png+set}" = set; then
2600 withval=$with_png; 2158 withval=$with_png;
2601else 2159else
2602 with_png=yes 2160 with_png=yes
@@ -2604,7 +2162,7 @@ fi
2604 2162
2605 2163
2606# Check whether --with-rsvg was given. 2164# Check whether --with-rsvg was given.
2607if test "${with_rsvg+set}" = set; then : 2165if test "${with_rsvg+set}" = set; then
2608 withval=$with_rsvg; 2166 withval=$with_rsvg;
2609else 2167else
2610 with_rsvg=yes 2168 with_rsvg=yes
@@ -2613,7 +2171,7 @@ fi
2613 2171
2614 2172
2615# Check whether --with-xft was given. 2173# Check whether --with-xft was given.
2616if test "${with_xft+set}" = set; then : 2174if test "${with_xft+set}" = set; then
2617 withval=$with_xft; 2175 withval=$with_xft;
2618else 2176else
2619 with_xft=yes 2177 with_xft=yes
@@ -2621,7 +2179,7 @@ fi
2621 2179
2622 2180
2623# Check whether --with-libotf was given. 2181# Check whether --with-libotf was given.
2624if test "${with_libotf+set}" = set; then : 2182if test "${with_libotf+set}" = set; then
2625 withval=$with_libotf; 2183 withval=$with_libotf;
2626else 2184else
2627 with_libotf=yes 2185 with_libotf=yes
@@ -2629,7 +2187,7 @@ fi
2629 2187
2630 2188
2631# Check whether --with-m17n-flt was given. 2189# Check whether --with-m17n-flt was given.
2632if test "${with_m17n_flt+set}" = set; then : 2190if test "${with_m17n_flt+set}" = set; then
2633 withval=$with_m17n_flt; 2191 withval=$with_m17n_flt;
2634else 2192else
2635 with_m17n_flt=yes 2193 with_m17n_flt=yes
@@ -2638,7 +2196,7 @@ fi
2638 2196
2639 2197
2640# Check whether --with-toolkit-scroll-bars was given. 2198# Check whether --with-toolkit-scroll-bars was given.
2641if test "${with_toolkit_scroll_bars+set}" = set; then : 2199if test "${with_toolkit_scroll_bars+set}" = set; then
2642 withval=$with_toolkit_scroll_bars; 2200 withval=$with_toolkit_scroll_bars;
2643else 2201else
2644 with_toolkit_scroll_bars=yes 2202 with_toolkit_scroll_bars=yes
@@ -2646,7 +2204,7 @@ fi
2646 2204
2647 2205
2648# Check whether --with-xaw3d was given. 2206# Check whether --with-xaw3d was given.
2649if test "${with_xaw3d+set}" = set; then : 2207if test "${with_xaw3d+set}" = set; then
2650 withval=$with_xaw3d; 2208 withval=$with_xaw3d;
2651else 2209else
2652 with_xaw3d=yes 2210 with_xaw3d=yes
@@ -2654,7 +2212,7 @@ fi
2654 2212
2655 2213
2656# Check whether --with-xim was given. 2214# Check whether --with-xim was given.
2657if test "${with_xim+set}" = set; then : 2215if test "${with_xim+set}" = set; then
2658 withval=$with_xim; 2216 withval=$with_xim;
2659else 2217else
2660 with_xim=yes 2218 with_xim=yes
@@ -2662,7 +2220,7 @@ fi
2662 2220
2663 2221
2664# Check whether --with-ns was given. 2222# Check whether --with-ns was given.
2665if test "${with_ns+set}" = set; then : 2223if test "${with_ns+set}" = set; then
2666 withval=$with_ns; 2224 withval=$with_ns;
2667else 2225else
2668 with_ns=no 2226 with_ns=no
@@ -2671,7 +2229,7 @@ fi
2671 2229
2672 2230
2673# Check whether --with-gpm was given. 2231# Check whether --with-gpm was given.
2674if test "${with_gpm+set}" = set; then : 2232if test "${with_gpm+set}" = set; then
2675 withval=$with_gpm; 2233 withval=$with_gpm;
2676else 2234else
2677 with_gpm=yes 2235 with_gpm=yes
@@ -2679,7 +2237,7 @@ fi
2679 2237
2680 2238
2681# Check whether --with-dbus was given. 2239# Check whether --with-dbus was given.
2682if test "${with_dbus+set}" = set; then : 2240if test "${with_dbus+set}" = set; then
2683 withval=$with_dbus; 2241 withval=$with_dbus;
2684else 2242else
2685 with_dbus=yes 2243 with_dbus=yes
@@ -2687,7 +2245,7 @@ fi
2687 2245
2688 2246
2689# Check whether --with-gconf was given. 2247# Check whether --with-gconf was given.
2690if test "${with_gconf+set}" = set; then : 2248if test "${with_gconf+set}" = set; then
2691 withval=$with_gconf; 2249 withval=$with_gconf;
2692else 2250else
2693 with_gconf=yes 2251 with_gconf=yes
@@ -2698,7 +2256,7 @@ fi
2698## a suitable makeinfo, and can live without the manuals. 2256## a suitable makeinfo, and can live without the manuals.
2699 2257
2700# Check whether --with-makeinfo was given. 2258# Check whether --with-makeinfo was given.
2701if test "${with_makeinfo+set}" = set; then : 2259if test "${with_makeinfo+set}" = set; then
2702 withval=$with_makeinfo; 2260 withval=$with_makeinfo;
2703else 2261else
2704 with_makeinfo=yes 2262 with_makeinfo=yes
@@ -2707,23 +2265,29 @@ fi
2707 2265
2708 2266
2709# Check whether --with-gtk was given. 2267# Check whether --with-gtk was given.
2710if test "${with_gtk+set}" = set; then : 2268if test "${with_gtk+set}" = set; then
2711 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to 2269 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to
2712specify a toolkit." "$LINENO" 5 2270specify a toolkit." >&5
2271$as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2272specify a toolkit." >&2;}
2273 { (exit 1); exit 1; }; }
2713fi 2274fi
2714 2275
2715 2276
2716 2277
2717# Check whether --with-gcc was given. 2278# Check whether --with-gcc was given.
2718if test "${with_gcc+set}" = set; then : 2279if test "${with_gcc+set}" = set; then
2719 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment 2280 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment
2720variable to specify a compiler." "$LINENO" 5 2281variable to specify a compiler." >&5
2282$as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2283variable to specify a compiler." >&2;}
2284 { (exit 1); exit 1; }; }
2721fi 2285fi
2722 2286
2723 2287
2724 2288
2725# Check whether --with-pkg-config-prog was given. 2289# Check whether --with-pkg-config-prog was given.
2726if test "${with_pkg_config_prog+set}" = set; then : 2290if test "${with_pkg_config_prog+set}" = set; then
2727 withval=$with_pkg_config_prog; 2291 withval=$with_pkg_config_prog;
2728fi 2292fi
2729 2293
@@ -2735,7 +2299,7 @@ fi
2735 2299
2736 2300
2737# Check whether --with-gnustep-conf was given. 2301# Check whether --with-gnustep-conf was given.
2738if test "${with_gnustep_conf+set}" = set; then : 2302if test "${with_gnustep_conf+set}" = set; then
2739 withval=$with_gnustep_conf; 2303 withval=$with_gnustep_conf;
2740fi 2304fi
2741 2305
@@ -2745,7 +2309,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \
2745 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf 2309 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf
2746 2310
2747# Check whether --enable-ns-self-contained was given. 2311# Check whether --enable-ns-self-contained was given.
2748if test "${enable_ns_self_contained+set}" = set; then : 2312if test "${enable_ns_self_contained+set}" = set; then
2749 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval 2313 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval
2750else 2314else
2751 EN_NS_SELF_CONTAINED=yes 2315 EN_NS_SELF_CONTAINED=yes
@@ -2753,7 +2317,7 @@ fi
2753 2317
2754 2318
2755# Check whether --enable-asserts was given. 2319# Check whether --enable-asserts was given.
2756if test "${enable_asserts+set}" = set; then : 2320if test "${enable_asserts+set}" = set; then
2757 enableval=$enable_asserts; USE_XASSERTS=$enableval 2321 enableval=$enable_asserts; USE_XASSERTS=$enableval
2758else 2322else
2759 USE_XASSERTS=no 2323 USE_XASSERTS=no
@@ -2761,7 +2325,7 @@ fi
2761 2325
2762 2326
2763# Check whether --enable-maintainer-mode was given. 2327# Check whether --enable-maintainer-mode was given.
2764if test "${enable_maintainer_mode+set}" = set; then : 2328if test "${enable_maintainer_mode+set}" = set; then
2765 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2329 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2766else 2330else
2767 USE_MAINTAINER_MODE=no 2331 USE_MAINTAINER_MODE=no
@@ -2775,7 +2339,7 @@ fi
2775 2339
2776 2340
2777# Check whether --enable-locallisppath was given. 2341# Check whether --enable-locallisppath was given.
2778if test "${enable_locallisppath+set}" = set; then : 2342if test "${enable_locallisppath+set}" = set; then
2779 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then 2343 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then
2780 locallisppath= 2344 locallisppath=
2781elif test "${enableval}" != "yes"; then 2345elif test "${enableval}" != "yes"; then
@@ -2785,7 +2349,7 @@ fi
2785 2349
2786 2350
2787# Check whether --enable-checking was given. 2351# Check whether --enable-checking was given.
2788if test "${enable_checking+set}" = set; then : 2352if test "${enable_checking+set}" = set; then
2789 enableval=$enable_checking; ac_checking_flags="${enableval}" 2353 enableval=$enable_checking; ac_checking_flags="${enableval}"
2790fi 2354fi
2791 2355
@@ -2813,44 +2377,58 @@ do
2813 stringfreelist) ac_gc_check_string_free_list=1 ;; 2377 stringfreelist) ac_gc_check_string_free_list=1 ;;
2814 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2378 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2815 conslist) ac_gc_check_cons_list=1 ;; 2379 conslist) ac_gc_check_cons_list=1 ;;
2816 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 2380 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5
2381$as_echo "$as_me: error: unknown check category $check" >&2;}
2382 { (exit 1); exit 1; }; } ;;
2817 esac 2383 esac
2818done 2384done
2819IFS="$ac_save_IFS" 2385IFS="$ac_save_IFS"
2820 2386
2821if test x$ac_enable_checking != x ; then 2387if test x$ac_enable_checking != x ; then
2822 2388
2823$as_echo "#define ENABLE_CHECKING 1" >>confdefs.h 2389cat >>confdefs.h <<\_ACEOF
2390#define ENABLE_CHECKING 1
2391_ACEOF
2824 2392
2825fi 2393fi
2826if test x$ac_gc_check_stringbytes != x ; then 2394if test x$ac_gc_check_stringbytes != x ; then
2827 2395
2828$as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h 2396cat >>confdefs.h <<\_ACEOF
2397#define GC_CHECK_STRING_BYTES 1
2398_ACEOF
2829 2399
2830fi 2400fi
2831if test x$ac_gc_check_stringoverrun != x ; then 2401if test x$ac_gc_check_stringoverrun != x ; then
2832 2402
2833$as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h 2403cat >>confdefs.h <<\_ACEOF
2404#define GC_CHECK_STRING_OVERRUN 1
2405_ACEOF
2834 2406
2835fi 2407fi
2836if test x$ac_gc_check_string_free_list != x ; then 2408if test x$ac_gc_check_string_free_list != x ; then
2837 2409
2838$as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h 2410cat >>confdefs.h <<\_ACEOF
2411#define GC_CHECK_STRING_FREE_LIST 1
2412_ACEOF
2839 2413
2840fi 2414fi
2841if test x$ac_xmalloc_overrun != x ; then 2415if test x$ac_xmalloc_overrun != x ; then
2842 2416
2843$as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h 2417cat >>confdefs.h <<\_ACEOF
2418#define XMALLOC_OVERRUN_CHECK 1
2419_ACEOF
2844 2420
2845fi 2421fi
2846if test x$ac_gc_check_cons_list != x ; then 2422if test x$ac_gc_check_cons_list != x ; then
2847 2423
2848$as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h 2424cat >>confdefs.h <<\_ACEOF
2425#define GC_CHECK_CONS_LIST 1
2426_ACEOF
2849 2427
2850fi 2428fi
2851 2429
2852# Check whether --enable-profiling was given. 2430# Check whether --enable-profiling was given.
2853if test "${enable_profiling+set}" = set; then : 2431if test "${enable_profiling+set}" = set; then
2854 enableval=$enable_profiling; ac_enable_profiling="${enableval}" 2432 enableval=$enable_profiling; ac_enable_profiling="${enableval}"
2855fi 2433fi
2856 2434
@@ -2863,7 +2441,7 @@ else
2863fi 2441fi
2864 2442
2865# Check whether --enable-autodepend was given. 2443# Check whether --enable-autodepend was given.
2866if test "${enable_autodepend+set}" = set; then : 2444if test "${enable_autodepend+set}" = set; then
2867 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" 2445 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}"
2868else 2446else
2869 ac_enable_autodepend=yes 2447 ac_enable_autodepend=yes
@@ -2897,7 +2475,7 @@ esac
2897#### Check if the source directory already has a configured system in it. 2475#### Check if the source directory already has a configured system in it.
2898if test `pwd` != `(cd ${srcdir} && pwd)` \ 2476if test `pwd` != `(cd ${srcdir} && pwd)` \
2899 && test -f "${srcdir}/src/config.h" ; then 2477 && test -f "${srcdir}/src/config.h" ; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used 2478 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
2901 as a build directory right now; it has been configured in its own 2479 as a build directory right now; it has been configured in its own
2902 right. To configure in another directory as well, you MUST 2480 right. To configure in another directory as well, you MUST
2903 use GNU make. If you do not have GNU make, then you must 2481 use GNU make. If you do not have GNU make, then you must
@@ -2918,16 +2496,24 @@ fi
2918 2496
2919ac_aux_dir= 2497ac_aux_dir=
2920for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2498for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2921 for ac_t in install-sh install.sh shtool; do 2499 if test -f "$ac_dir/install-sh"; then
2922 if test -f "$ac_dir/$ac_t"; then 2500 ac_aux_dir=$ac_dir
2923 ac_aux_dir=$ac_dir 2501 ac_install_sh="$ac_aux_dir/install-sh -c"
2924 ac_install_sh="$ac_aux_dir/$ac_t -c" 2502 break
2925 break 2 2503 elif test -f "$ac_dir/install.sh"; then
2926 fi 2504 ac_aux_dir=$ac_dir
2927 done 2505 ac_install_sh="$ac_aux_dir/install.sh -c"
2506 break
2507 elif test -f "$ac_dir/shtool"; then
2508 ac_aux_dir=$ac_dir
2509 ac_install_sh="$ac_aux_dir/shtool install -c"
2510 break
2511 fi
2928done 2512done
2929if test -z "$ac_aux_dir"; then 2513if test -z "$ac_aux_dir"; then
2930 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2514 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2515$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2516 { (exit 1); exit 1; }; }
2931fi 2517fi
2932 2518
2933# These three variables are undocumented and unsupported, 2519# These three variables are undocumented and unsupported,
@@ -2941,27 +2527,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2941 2527
2942# Make sure we can run config.sub. 2528# Make sure we can run config.sub.
2943$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2529$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2944 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2530 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2531$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2532 { (exit 1); exit 1; }; }
2945 2533
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2534{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2947$as_echo_n "checking build system type... " >&6; } 2535$as_echo_n "checking build system type... " >&6; }
2948if test "${ac_cv_build+set}" = set; then : 2536if test "${ac_cv_build+set}" = set; then
2949 $as_echo_n "(cached) " >&6 2537 $as_echo_n "(cached) " >&6
2950else 2538else
2951 ac_build_alias=$build_alias 2539 ac_build_alias=$build_alias
2952test "x$ac_build_alias" = x && 2540test "x$ac_build_alias" = x &&
2953 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2541 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2954test "x$ac_build_alias" = x && 2542test "x$ac_build_alias" = x &&
2955 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2543 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2544$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2545 { (exit 1); exit 1; }; }
2956ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2546ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2957 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2547 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2548$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2549 { (exit 1); exit 1; }; }
2958 2550
2959fi 2551fi
2960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2552{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2961$as_echo "$ac_cv_build" >&6; } 2553$as_echo "$ac_cv_build" >&6; }
2962case $ac_cv_build in 2554case $ac_cv_build in
2963*-*-*) ;; 2555*-*-*) ;;
2964*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2556*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2557$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2558 { (exit 1); exit 1; }; };;
2965esac 2559esac
2966build=$ac_cv_build 2560build=$ac_cv_build
2967ac_save_IFS=$IFS; IFS='-' 2561ac_save_IFS=$IFS; IFS='-'
@@ -2977,24 +2571,28 @@ IFS=$ac_save_IFS
2977case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2571case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2978 2572
2979 2573
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2574{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2981$as_echo_n "checking host system type... " >&6; } 2575$as_echo_n "checking host system type... " >&6; }
2982if test "${ac_cv_host+set}" = set; then : 2576if test "${ac_cv_host+set}" = set; then
2983 $as_echo_n "(cached) " >&6 2577 $as_echo_n "(cached) " >&6
2984else 2578else
2985 if test "x$host_alias" = x; then 2579 if test "x$host_alias" = x; then
2986 ac_cv_host=$ac_cv_build 2580 ac_cv_host=$ac_cv_build
2987else 2581else
2988 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2582 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2989 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2583 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2584$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2585 { (exit 1); exit 1; }; }
2990fi 2586fi
2991 2587
2992fi 2588fi
2993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2589{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2994$as_echo "$ac_cv_host" >&6; } 2590$as_echo "$ac_cv_host" >&6; }
2995case $ac_cv_host in 2591case $ac_cv_host in
2996*-*-*) ;; 2592*-*-*) ;;
2997*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2593*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2594$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2595 { (exit 1); exit 1; }; };;
2998esac 2596esac
2999host=$ac_cv_host 2597host=$ac_cv_host
3000ac_save_IFS=$IFS; IFS='-' 2598ac_save_IFS=$IFS; IFS='-'
@@ -3074,7 +2672,9 @@ case "${canonical}" in
3074 opsys=netbsd 2672 opsys=netbsd
3075 if test -f /usr/lib/crti.o; then 2673 if test -f /usr/lib/crti.o; then
3076 2674
3077$as_echo "#define HAVE_CRTIN /**/" >>confdefs.h 2675cat >>confdefs.h <<\_ACEOF
2676#define HAVE_CRTIN /**/
2677_ACEOF
3078 2678
3079 fi 2679 fi
3080 2680
@@ -3340,8 +2940,11 @@ fi
3340 2940
3341 2941
3342if test $unported = yes; then 2942if test $unported = yes; then
3343 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 2943 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
3344Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 2944Check \`etc/MACHINES' for recognized configuration names." >&5
2945$as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2946Check \`etc/MACHINES' for recognized configuration names." >&2;}
2947 { (exit 1); exit 1; }; }
3345fi 2948fi
3346 2949
3347machfile="m/${machine}.h" 2950machfile="m/${machine}.h"
@@ -3362,9 +2965,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3362if test -n "$ac_tool_prefix"; then 2965if test -n "$ac_tool_prefix"; then
3363 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3364set dummy ${ac_tool_prefix}gcc; ac_word=$2 2967set dummy ${ac_tool_prefix}gcc; ac_word=$2
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2968{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3366$as_echo_n "checking for $ac_word... " >&6; } 2969$as_echo_n "checking for $ac_word... " >&6; }
3367if test "${ac_cv_prog_CC+set}" = set; then : 2970if test "${ac_cv_prog_CC+set}" = set; then
3368 $as_echo_n "(cached) " >&6 2971 $as_echo_n "(cached) " >&6
3369else 2972else
3370 if test -n "$CC"; then 2973 if test -n "$CC"; then
@@ -3375,24 +2978,24 @@ for as_dir in $PATH
3375do 2978do
3376 IFS=$as_save_IFS 2979 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=. 2980 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do 2981 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2983 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2984 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2 2985 break 2
3383 fi 2986 fi
3384done 2987done
3385 done 2988done
3386IFS=$as_save_IFS 2989IFS=$as_save_IFS
3387 2990
3388fi 2991fi
3389fi 2992fi
3390CC=$ac_cv_prog_CC 2993CC=$ac_cv_prog_CC
3391if test -n "$CC"; then 2994if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2995 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3393$as_echo "$CC" >&6; } 2996$as_echo "$CC" >&6; }
3394else 2997else
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2998 { $as_echo "$as_me:$LINENO: result: no" >&5
3396$as_echo "no" >&6; } 2999$as_echo "no" >&6; }
3397fi 3000fi
3398 3001
@@ -3402,9 +3005,9 @@ if test -z "$ac_cv_prog_CC"; then
3402 ac_ct_CC=$CC 3005 ac_ct_CC=$CC
3403 # Extract the first word of "gcc", so it can be a program name with args. 3006 # Extract the first word of "gcc", so it can be a program name with args.
3404set dummy gcc; ac_word=$2 3007set dummy gcc; ac_word=$2
3405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3008{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3406$as_echo_n "checking for $ac_word... " >&6; } 3009$as_echo_n "checking for $ac_word... " >&6; }
3407if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3010if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3408 $as_echo_n "(cached) " >&6 3011 $as_echo_n "(cached) " >&6
3409else 3012else
3410 if test -n "$ac_ct_CC"; then 3013 if test -n "$ac_ct_CC"; then
@@ -3415,24 +3018,24 @@ for as_dir in $PATH
3415do 3018do
3416 IFS=$as_save_IFS 3019 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=. 3020 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do 3021 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_ac_ct_CC="gcc" 3023 ac_cv_prog_ac_ct_CC="gcc"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3024 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2 3025 break 2
3423 fi 3026 fi
3424done 3027done
3425 done 3028done
3426IFS=$as_save_IFS 3029IFS=$as_save_IFS
3427 3030
3428fi 3031fi
3429fi 3032fi
3430ac_ct_CC=$ac_cv_prog_ac_ct_CC 3033ac_ct_CC=$ac_cv_prog_ac_ct_CC
3431if test -n "$ac_ct_CC"; then 3034if test -n "$ac_ct_CC"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3035 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3433$as_echo "$ac_ct_CC" >&6; } 3036$as_echo "$ac_ct_CC" >&6; }
3434else 3037else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3038 { $as_echo "$as_me:$LINENO: result: no" >&5
3436$as_echo "no" >&6; } 3039$as_echo "no" >&6; }
3437fi 3040fi
3438 3041
@@ -3441,8 +3044,12 @@ fi
3441 else 3044 else
3442 case $cross_compiling:$ac_tool_warned in 3045 case $cross_compiling:$ac_tool_warned in
3443yes:) 3046yes:)
3444{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3047{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3445$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3048whose name does not start with the host triplet. If you think this
3049configuration is useful to you, please write to autoconf@gnu.org." >&5
3050$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3051whose name does not start with the host triplet. If you think this
3052configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3446ac_tool_warned=yes ;; 3053ac_tool_warned=yes ;;
3447esac 3054esac
3448 CC=$ac_ct_CC 3055 CC=$ac_ct_CC
@@ -3455,9 +3062,9 @@ if test -z "$CC"; then
3455 if test -n "$ac_tool_prefix"; then 3062 if test -n "$ac_tool_prefix"; then
3456 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3457set dummy ${ac_tool_prefix}cc; ac_word=$2 3064set dummy ${ac_tool_prefix}cc; ac_word=$2
3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3065{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3459$as_echo_n "checking for $ac_word... " >&6; } 3066$as_echo_n "checking for $ac_word... " >&6; }
3460if test "${ac_cv_prog_CC+set}" = set; then : 3067if test "${ac_cv_prog_CC+set}" = set; then
3461 $as_echo_n "(cached) " >&6 3068 $as_echo_n "(cached) " >&6
3462else 3069else
3463 if test -n "$CC"; then 3070 if test -n "$CC"; then
@@ -3468,24 +3075,24 @@ for as_dir in $PATH
3468do 3075do
3469 IFS=$as_save_IFS 3076 IFS=$as_save_IFS
3470 test -z "$as_dir" && as_dir=. 3077 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do 3078 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3473 ac_cv_prog_CC="${ac_tool_prefix}cc" 3080 ac_cv_prog_CC="${ac_tool_prefix}cc"
3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3081 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 break 2 3082 break 2
3476 fi 3083 fi
3477done 3084done
3478 done 3085done
3479IFS=$as_save_IFS 3086IFS=$as_save_IFS
3480 3087
3481fi 3088fi
3482fi 3089fi
3483CC=$ac_cv_prog_CC 3090CC=$ac_cv_prog_CC
3484if test -n "$CC"; then 3091if test -n "$CC"; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3092 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3486$as_echo "$CC" >&6; } 3093$as_echo "$CC" >&6; }
3487else 3094else
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3095 { $as_echo "$as_me:$LINENO: result: no" >&5
3489$as_echo "no" >&6; } 3096$as_echo "no" >&6; }
3490fi 3097fi
3491 3098
@@ -3495,9 +3102,9 @@ fi
3495if test -z "$CC"; then 3102if test -z "$CC"; then
3496 # Extract the first word of "cc", so it can be a program name with args. 3103 # Extract the first word of "cc", so it can be a program name with args.
3497set dummy cc; ac_word=$2 3104set dummy cc; ac_word=$2
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3105{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3499$as_echo_n "checking for $ac_word... " >&6; } 3106$as_echo_n "checking for $ac_word... " >&6; }
3500if test "${ac_cv_prog_CC+set}" = set; then : 3107if test "${ac_cv_prog_CC+set}" = set; then
3501 $as_echo_n "(cached) " >&6 3108 $as_echo_n "(cached) " >&6
3502else 3109else
3503 if test -n "$CC"; then 3110 if test -n "$CC"; then
@@ -3509,18 +3116,18 @@ for as_dir in $PATH
3509do 3116do
3510 IFS=$as_save_IFS 3117 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=. 3118 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do 3119 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3515 ac_prog_rejected=yes 3122 ac_prog_rejected=yes
3516 continue 3123 continue
3517 fi 3124 fi
3518 ac_cv_prog_CC="cc" 3125 ac_cv_prog_CC="cc"
3519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3126 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3520 break 2 3127 break 2
3521 fi 3128 fi
3522done 3129done
3523 done 3130done
3524IFS=$as_save_IFS 3131IFS=$as_save_IFS
3525 3132
3526if test $ac_prog_rejected = yes; then 3133if test $ac_prog_rejected = yes; then
@@ -3539,10 +3146,10 @@ fi
3539fi 3146fi
3540CC=$ac_cv_prog_CC 3147CC=$ac_cv_prog_CC
3541if test -n "$CC"; then 3148if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3149 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3543$as_echo "$CC" >&6; } 3150$as_echo "$CC" >&6; }
3544else 3151else
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3152 { $as_echo "$as_me:$LINENO: result: no" >&5
3546$as_echo "no" >&6; } 3153$as_echo "no" >&6; }
3547fi 3154fi
3548 3155
@@ -3554,9 +3161,9 @@ if test -z "$CC"; then
3554 do 3161 do
3555 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3556set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3163set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3164{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3558$as_echo_n "checking for $ac_word... " >&6; } 3165$as_echo_n "checking for $ac_word... " >&6; }
3559if test "${ac_cv_prog_CC+set}" = set; then : 3166if test "${ac_cv_prog_CC+set}" = set; then
3560 $as_echo_n "(cached) " >&6 3167 $as_echo_n "(cached) " >&6
3561else 3168else
3562 if test -n "$CC"; then 3169 if test -n "$CC"; then
@@ -3567,24 +3174,24 @@ for as_dir in $PATH
3567do 3174do
3568 IFS=$as_save_IFS 3175 IFS=$as_save_IFS
3569 test -z "$as_dir" && as_dir=. 3176 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do 3177 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3179 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 break 2 3181 break 2
3575 fi 3182 fi
3576done 3183done
3577 done 3184done
3578IFS=$as_save_IFS 3185IFS=$as_save_IFS
3579 3186
3580fi 3187fi
3581fi 3188fi
3582CC=$ac_cv_prog_CC 3189CC=$ac_cv_prog_CC
3583if test -n "$CC"; then 3190if test -n "$CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3191 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3585$as_echo "$CC" >&6; } 3192$as_echo "$CC" >&6; }
3586else 3193else
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3194 { $as_echo "$as_me:$LINENO: result: no" >&5
3588$as_echo "no" >&6; } 3195$as_echo "no" >&6; }
3589fi 3196fi
3590 3197
@@ -3598,9 +3205,9 @@ if test -z "$CC"; then
3598do 3205do
3599 # Extract the first word of "$ac_prog", so it can be a program name with args. 3206 # Extract the first word of "$ac_prog", so it can be a program name with args.
3600set dummy $ac_prog; ac_word=$2 3207set dummy $ac_prog; ac_word=$2
3601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3208{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3602$as_echo_n "checking for $ac_word... " >&6; } 3209$as_echo_n "checking for $ac_word... " >&6; }
3603if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3210if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3604 $as_echo_n "(cached) " >&6 3211 $as_echo_n "(cached) " >&6
3605else 3212else
3606 if test -n "$ac_ct_CC"; then 3213 if test -n "$ac_ct_CC"; then
@@ -3611,24 +3218,24 @@ for as_dir in $PATH
3611do 3218do
3612 IFS=$as_save_IFS 3219 IFS=$as_save_IFS
3613 test -z "$as_dir" && as_dir=. 3220 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do 3221 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616 ac_cv_prog_ac_ct_CC="$ac_prog" 3223 ac_cv_prog_ac_ct_CC="$ac_prog"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 break 2 3225 break 2
3619 fi 3226 fi
3620done 3227done
3621 done 3228done
3622IFS=$as_save_IFS 3229IFS=$as_save_IFS
3623 3230
3624fi 3231fi
3625fi 3232fi
3626ac_ct_CC=$ac_cv_prog_ac_ct_CC 3233ac_ct_CC=$ac_cv_prog_ac_ct_CC
3627if test -n "$ac_ct_CC"; then 3234if test -n "$ac_ct_CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3235 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3629$as_echo "$ac_ct_CC" >&6; } 3236$as_echo "$ac_ct_CC" >&6; }
3630else 3237else
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3238 { $as_echo "$as_me:$LINENO: result: no" >&5
3632$as_echo "no" >&6; } 3239$as_echo "no" >&6; }
3633fi 3240fi
3634 3241
@@ -3641,8 +3248,12 @@ done
3641 else 3248 else
3642 case $cross_compiling:$ac_tool_warned in 3249 case $cross_compiling:$ac_tool_warned in
3643yes:) 3250yes:)
3644{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3251{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3645$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3252whose name does not start with the host triplet. If you think this
3253configuration is useful to you, please write to autoconf@gnu.org." >&5
3254$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3255whose name does not start with the host triplet. If you think this
3256configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3646ac_tool_warned=yes ;; 3257ac_tool_warned=yes ;;
3647esac 3258esac
3648 CC=$ac_ct_CC 3259 CC=$ac_ct_CC
@@ -3652,37 +3263,55 @@ fi
3652fi 3263fi
3653 3264
3654 3265
3655test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3266test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3656$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3267See \`config.log' for more details." >&5
3657as_fn_error "no acceptable C compiler found in \$PATH 3268$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3658See \`config.log' for more details." "$LINENO" 5; } 3269See \`config.log' for more details." >&2;}
3270 { (exit 1); exit 1; }; }
3659 3271
3660# Provide some information about the compiler. 3272# Provide some information about the compiler.
3661$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3273$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3662set X $ac_compile 3274set X $ac_compile
3663ac_compiler=$2 3275ac_compiler=$2
3664for ac_option in --version -v -V -qversion; do 3276{ (ac_try="$ac_compiler --version >&5"
3665 { { ac_try="$ac_compiler $ac_option >&5"
3666case "(($ac_try" in 3277case "(($ac_try" in
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;; 3279 *) ac_try_echo=$ac_try;;
3669esac 3280esac
3670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3281eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3671$as_echo "$ac_try_echo"; } >&5 3282$as_echo "$ac_try_echo") >&5
3672 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3283 (eval "$ac_compiler --version >&5") 2>&5
3673 ac_status=$? 3284 ac_status=$?
3674 if test -s conftest.err; then 3285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 sed '10a\ 3286 (exit $ac_status); }
3676... rest of stderr output deleted ... 3287{ (ac_try="$ac_compiler -v >&5"
3677 10q' conftest.err >conftest.er1 3288case "(($ac_try" in
3678 cat conftest.er1 >&5 3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 fi 3290 *) ac_try_echo=$ac_try;;
3680 rm -f conftest.er1 conftest.err 3291esac
3681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3292eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3682 test $ac_status = 0; } 3293$as_echo "$ac_try_echo") >&5
3683done 3294 (eval "$ac_compiler -v >&5") 2>&5
3295 ac_status=$?
3296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }
3298{ (ac_try="$ac_compiler -V >&5"
3299case "(($ac_try" in
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3302esac
3303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3304$as_echo "$ac_try_echo") >&5
3305 (eval "$ac_compiler -V >&5") 2>&5
3306 ac_status=$?
3307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }
3684 3309
3685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3310cat >conftest.$ac_ext <<_ACEOF
3311/* confdefs.h. */
3312_ACEOF
3313cat confdefs.h >>conftest.$ac_ext
3314cat >>conftest.$ac_ext <<_ACEOF
3686/* end confdefs.h. */ 3315/* end confdefs.h. */
3687 3316
3688int 3317int
@@ -3698,8 +3327,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3698# Try to create an executable without -o first, disregard a.out. 3327# Try to create an executable without -o first, disregard a.out.
3699# It will help us diagnose broken compilers, and finding out an intuition 3328# It will help us diagnose broken compilers, and finding out an intuition
3700# of exeext. 3329# of exeext.
3701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3330{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3702$as_echo_n "checking whether the C compiler works... " >&6; } 3331$as_echo_n "checking for C compiler default output file name... " >&6; }
3703ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3332ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3704 3333
3705# The possible output files: 3334# The possible output files:
@@ -3715,17 +3344,17 @@ do
3715done 3344done
3716rm -f $ac_rmfiles 3345rm -f $ac_rmfiles
3717 3346
3718if { { ac_try="$ac_link_default" 3347if { (ac_try="$ac_link_default"
3719case "(($ac_try" in 3348case "(($ac_try" in
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;; 3350 *) ac_try_echo=$ac_try;;
3722esac 3351esac
3723eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3352eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3724$as_echo "$ac_try_echo"; } >&5 3353$as_echo "$ac_try_echo") >&5
3725 (eval "$ac_link_default") 2>&5 3354 (eval "$ac_link_default") 2>&5
3726 ac_status=$? 3355 ac_status=$?
3727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 test $ac_status = 0; }; then : 3357 (exit $ac_status); }; then
3729 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3358 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3730# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3359# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3731# in a Makefile. We should not override ac_cv_exeext if it was cached, 3360# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -3742,7 +3371,7 @@ do
3742 # certainly right. 3371 # certainly right.
3743 break;; 3372 break;;
3744 *.* ) 3373 *.* )
3745 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3374 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3746 then :; else 3375 then :; else
3747 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3376 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3748 fi 3377 fi
@@ -3761,42 +3390,80 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3761else 3390else
3762 ac_file='' 3391 ac_file=''
3763fi 3392fi
3764if test -z "$ac_file"; then : 3393
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3394{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3766$as_echo "no" >&6; } 3395$as_echo "$ac_file" >&6; }
3767$as_echo "$as_me: failed program was:" >&5 3396if test -z "$ac_file"; then
3397 $as_echo "$as_me: failed program was:" >&5
3768sed 's/^/| /' conftest.$ac_ext >&5 3398sed 's/^/| /' conftest.$ac_ext >&5
3769 3399
3770{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3400{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3401See \`config.log' for more details." >&5
3772{ as_fn_set_status 77 3402$as_echo "$as_me: error: C compiler cannot create executables
3773as_fn_error "C compiler cannot create executables 3403See \`config.log' for more details." >&2;}
3774See \`config.log' for more details." "$LINENO" 5; }; } 3404 { (exit 77); exit 77; }; }
3775else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3777$as_echo "yes" >&6; }
3778fi 3405fi
3779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3406
3780$as_echo_n "checking for C compiler default output file name... " >&6; }
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3782$as_echo "$ac_file" >&6; }
3783ac_exeext=$ac_cv_exeext 3407ac_exeext=$ac_cv_exeext
3784 3408
3409# Check that the compiler produces executables we can run. If not, either
3410# the compiler is broken, or we cross compile.
3411{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3412$as_echo_n "checking whether the C compiler works... " >&6; }
3413# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3414# If not cross compiling, check that we can run a simple program.
3415if test "$cross_compiling" != yes; then
3416 if { ac_try='./$ac_file'
3417 { (case "(($ac_try" in
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3420esac
3421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3422$as_echo "$ac_try_echo") >&5
3423 (eval "$ac_try") 2>&5
3424 ac_status=$?
3425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); }; }; then
3427 cross_compiling=no
3428 else
3429 if test "$cross_compiling" = maybe; then
3430 cross_compiling=yes
3431 else
3432 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3433If you meant to cross compile, use \`--host'.
3434See \`config.log' for more details." >&5
3435$as_echo "$as_me: error: cannot run C compiled programs.
3436If you meant to cross compile, use \`--host'.
3437See \`config.log' for more details." >&2;}
3438 { (exit 1); exit 1; }; }
3439 fi
3440 fi
3441fi
3442{ $as_echo "$as_me:$LINENO: result: yes" >&5
3443$as_echo "yes" >&6; }
3444
3785rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3445rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3786ac_clean_files=$ac_clean_files_save 3446ac_clean_files=$ac_clean_files_save
3787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3447# Check that the compiler produces executables we can run. If not, either
3448# the compiler is broken, or we cross compile.
3449{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3450$as_echo_n "checking whether we are cross compiling... " >&6; }
3451{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3452$as_echo "$cross_compiling" >&6; }
3453
3454{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3788$as_echo_n "checking for suffix of executables... " >&6; } 3455$as_echo_n "checking for suffix of executables... " >&6; }
3789if { { ac_try="$ac_link" 3456if { (ac_try="$ac_link"
3790case "(($ac_try" in 3457case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;; 3459 *) ac_try_echo=$ac_try;;
3793esac 3460esac
3794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3461eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3795$as_echo "$ac_try_echo"; } >&5 3462$as_echo "$ac_try_echo") >&5
3796 (eval "$ac_link") 2>&5 3463 (eval "$ac_link") 2>&5
3797 ac_status=$? 3464 ac_status=$?
3798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 test $ac_status = 0; }; then : 3466 (exit $ac_status); }; then
3800 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3467 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3801# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3468# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3802# work properly (i.e., refer to `conftest.exe'), while it won't with 3469# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3811,83 +3478,30 @@ for ac_file in conftest.exe conftest conftest.*; do
3811 esac 3478 esac
3812done 3479done
3813else 3480else
3814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3481 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3482See \`config.log' for more details." >&5
3816as_fn_error "cannot compute suffix of executables: cannot compile and link 3483$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3817See \`config.log' for more details." "$LINENO" 5; } 3484See \`config.log' for more details." >&2;}
3485 { (exit 1); exit 1; }; }
3818fi 3486fi
3819rm -f conftest conftest$ac_cv_exeext 3487
3820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3488rm -f conftest$ac_cv_exeext
3489{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3821$as_echo "$ac_cv_exeext" >&6; } 3490$as_echo "$ac_cv_exeext" >&6; }
3822 3491
3823rm -f conftest.$ac_ext 3492rm -f conftest.$ac_ext
3824EXEEXT=$ac_cv_exeext 3493EXEEXT=$ac_cv_exeext
3825ac_exeext=$EXEEXT 3494ac_exeext=$EXEEXT
3826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3495{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3827/* end confdefs.h. */
3828#include <stdio.h>
3829int
3830main ()
3831{
3832FILE *f = fopen ("conftest.out", "w");
3833 return ferror (f) || fclose (f) != 0;
3834
3835 ;
3836 return 0;
3837}
3838_ACEOF
3839ac_clean_files="$ac_clean_files conftest.out"
3840# Check that the compiler produces executables we can run. If not, either
3841# the compiler is broken, or we cross compile.
3842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3843$as_echo_n "checking whether we are cross compiling... " >&6; }
3844if test "$cross_compiling" != yes; then
3845 { { ac_try="$ac_link"
3846case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849esac
3850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851$as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_link") 2>&5
3853 ac_status=$?
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }
3856 if { ac_try='./conftest$ac_cv_exeext'
3857 { { case "(($ac_try" in
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3860esac
3861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862$as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_try") 2>&5
3864 ac_status=$?
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; }; }; then
3867 cross_compiling=no
3868 else
3869 if test "$cross_compiling" = maybe; then
3870 cross_compiling=yes
3871 else
3872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874as_fn_error "cannot run C compiled programs.
3875If you meant to cross compile, use \`--host'.
3876See \`config.log' for more details." "$LINENO" 5; }
3877 fi
3878 fi
3879fi
3880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3881$as_echo "$cross_compiling" >&6; }
3882
3883rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3884ac_clean_files=$ac_clean_files_save
3885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3886$as_echo_n "checking for suffix of object files... " >&6; } 3496$as_echo_n "checking for suffix of object files... " >&6; }
3887if test "${ac_cv_objext+set}" = set; then : 3497if test "${ac_cv_objext+set}" = set; then
3888 $as_echo_n "(cached) " >&6 3498 $as_echo_n "(cached) " >&6
3889else 3499else
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3500 cat >conftest.$ac_ext <<_ACEOF
3501/* confdefs.h. */
3502_ACEOF
3503cat confdefs.h >>conftest.$ac_ext
3504cat >>conftest.$ac_ext <<_ACEOF
3891/* end confdefs.h. */ 3505/* end confdefs.h. */
3892 3506
3893int 3507int
@@ -3899,17 +3513,17 @@ main ()
3899} 3513}
3900_ACEOF 3514_ACEOF
3901rm -f conftest.o conftest.obj 3515rm -f conftest.o conftest.obj
3902if { { ac_try="$ac_compile" 3516if { (ac_try="$ac_compile"
3903case "(($ac_try" in 3517case "(($ac_try" in
3904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3905 *) ac_try_echo=$ac_try;; 3519 *) ac_try_echo=$ac_try;;
3906esac 3520esac
3907eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3521eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3908$as_echo "$ac_try_echo"; } >&5 3522$as_echo "$ac_try_echo") >&5
3909 (eval "$ac_compile") 2>&5 3523 (eval "$ac_compile") 2>&5
3910 ac_status=$? 3524 ac_status=$?
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 test $ac_status = 0; }; then : 3526 (exit $ac_status); }; then
3913 for ac_file in conftest.o conftest.obj conftest.*; do 3527 for ac_file in conftest.o conftest.obj conftest.*; do
3914 test -f "$ac_file" || continue; 3528 test -f "$ac_file" || continue;
3915 case $ac_file in 3529 case $ac_file in
@@ -3922,23 +3536,29 @@ else
3922 $as_echo "$as_me: failed program was:" >&5 3536 $as_echo "$as_me: failed program was:" >&5
3923sed 's/^/| /' conftest.$ac_ext >&5 3537sed 's/^/| /' conftest.$ac_ext >&5
3924 3538
3925{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3539{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3540See \`config.log' for more details." >&5
3927as_fn_error "cannot compute suffix of object files: cannot compile 3541$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3928See \`config.log' for more details." "$LINENO" 5; } 3542See \`config.log' for more details." >&2;}
3543 { (exit 1); exit 1; }; }
3929fi 3544fi
3545
3930rm -f conftest.$ac_cv_objext conftest.$ac_ext 3546rm -f conftest.$ac_cv_objext conftest.$ac_ext
3931fi 3547fi
3932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3548{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3933$as_echo "$ac_cv_objext" >&6; } 3549$as_echo "$ac_cv_objext" >&6; }
3934OBJEXT=$ac_cv_objext 3550OBJEXT=$ac_cv_objext
3935ac_objext=$OBJEXT 3551ac_objext=$OBJEXT
3936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3552{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3937$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3553$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3938if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3554if test "${ac_cv_c_compiler_gnu+set}" = set; then
3939 $as_echo_n "(cached) " >&6 3555 $as_echo_n "(cached) " >&6
3940else 3556else
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3557 cat >conftest.$ac_ext <<_ACEOF
3558/* confdefs.h. */
3559_ACEOF
3560cat confdefs.h >>conftest.$ac_ext
3561cat >>conftest.$ac_ext <<_ACEOF
3942/* end confdefs.h. */ 3562/* end confdefs.h. */
3943 3563
3944int 3564int
@@ -3952,16 +3572,37 @@ main ()
3952 return 0; 3572 return 0;
3953} 3573}
3954_ACEOF 3574_ACEOF
3955if ac_fn_c_try_compile "$LINENO"; then : 3575rm -f conftest.$ac_objext
3576if { (ac_try="$ac_compile"
3577case "(($ac_try" in
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3580esac
3581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3582$as_echo "$ac_try_echo") >&5
3583 (eval "$ac_compile") 2>conftest.er1
3584 ac_status=$?
3585 grep -v '^ *+' conftest.er1 >conftest.err
3586 rm -f conftest.er1
3587 cat conftest.err >&5
3588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } && {
3590 test -z "$ac_c_werror_flag" ||
3591 test ! -s conftest.err
3592 } && test -s conftest.$ac_objext; then
3956 ac_compiler_gnu=yes 3593 ac_compiler_gnu=yes
3957else 3594else
3958 ac_compiler_gnu=no 3595 $as_echo "$as_me: failed program was:" >&5
3596sed 's/^/| /' conftest.$ac_ext >&5
3597
3598 ac_compiler_gnu=no
3959fi 3599fi
3600
3960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961ac_cv_c_compiler_gnu=$ac_compiler_gnu 3602ac_cv_c_compiler_gnu=$ac_compiler_gnu
3962 3603
3963fi 3604fi
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3605{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3965$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3606$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3966if test $ac_compiler_gnu = yes; then 3607if test $ac_compiler_gnu = yes; then
3967 GCC=yes 3608 GCC=yes
@@ -3970,16 +3611,20 @@ else
3970fi 3611fi
3971ac_test_CFLAGS=${CFLAGS+set} 3612ac_test_CFLAGS=${CFLAGS+set}
3972ac_save_CFLAGS=$CFLAGS 3613ac_save_CFLAGS=$CFLAGS
3973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3614{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3974$as_echo_n "checking whether $CC accepts -g... " >&6; } 3615$as_echo_n "checking whether $CC accepts -g... " >&6; }
3975if test "${ac_cv_prog_cc_g+set}" = set; then : 3616if test "${ac_cv_prog_cc_g+set}" = set; then
3976 $as_echo_n "(cached) " >&6 3617 $as_echo_n "(cached) " >&6
3977else 3618else
3978 ac_save_c_werror_flag=$ac_c_werror_flag 3619 ac_save_c_werror_flag=$ac_c_werror_flag
3979 ac_c_werror_flag=yes 3620 ac_c_werror_flag=yes
3980 ac_cv_prog_cc_g=no 3621 ac_cv_prog_cc_g=no
3981 CFLAGS="-g" 3622 CFLAGS="-g"
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3623 cat >conftest.$ac_ext <<_ACEOF
3624/* confdefs.h. */
3625_ACEOF
3626cat confdefs.h >>conftest.$ac_ext
3627cat >>conftest.$ac_ext <<_ACEOF
3983/* end confdefs.h. */ 3628/* end confdefs.h. */
3984 3629
3985int 3630int
@@ -3990,11 +3635,35 @@ main ()
3990 return 0; 3635 return 0;
3991} 3636}
3992_ACEOF 3637_ACEOF
3993if ac_fn_c_try_compile "$LINENO"; then : 3638rm -f conftest.$ac_objext
3639if { (ac_try="$ac_compile"
3640case "(($ac_try" in
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3643esac
3644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645$as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3647 ac_status=$?
3648 grep -v '^ *+' conftest.er1 >conftest.err
3649 rm -f conftest.er1
3650 cat conftest.err >&5
3651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && {
3653 test -z "$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3655 } && test -s conftest.$ac_objext; then
3994 ac_cv_prog_cc_g=yes 3656 ac_cv_prog_cc_g=yes
3995else 3657else
3996 CFLAGS="" 3658 $as_echo "$as_me: failed program was:" >&5
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3659sed 's/^/| /' conftest.$ac_ext >&5
3660
3661 CFLAGS=""
3662 cat >conftest.$ac_ext <<_ACEOF
3663/* confdefs.h. */
3664_ACEOF
3665cat confdefs.h >>conftest.$ac_ext
3666cat >>conftest.$ac_ext <<_ACEOF
3998/* end confdefs.h. */ 3667/* end confdefs.h. */
3999 3668
4000int 3669int
@@ -4005,12 +3674,36 @@ main ()
4005 return 0; 3674 return 0;
4006} 3675}
4007_ACEOF 3676_ACEOF
4008if ac_fn_c_try_compile "$LINENO"; then : 3677rm -f conftest.$ac_objext
4009 3678if { (ac_try="$ac_compile"
3679case "(($ac_try" in
3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3682esac
3683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3684$as_echo "$ac_try_echo") >&5
3685 (eval "$ac_compile") 2>conftest.er1
3686 ac_status=$?
3687 grep -v '^ *+' conftest.er1 >conftest.err
3688 rm -f conftest.er1
3689 cat conftest.err >&5
3690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } && {
3692 test -z "$ac_c_werror_flag" ||
3693 test ! -s conftest.err
3694 } && test -s conftest.$ac_objext; then
3695 :
4010else 3696else
4011 ac_c_werror_flag=$ac_save_c_werror_flag 3697 $as_echo "$as_me: failed program was:" >&5
3698sed 's/^/| /' conftest.$ac_ext >&5
3699
3700 ac_c_werror_flag=$ac_save_c_werror_flag
4012 CFLAGS="-g" 3701 CFLAGS="-g"
4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3702 cat >conftest.$ac_ext <<_ACEOF
3703/* confdefs.h. */
3704_ACEOF
3705cat confdefs.h >>conftest.$ac_ext
3706cat >>conftest.$ac_ext <<_ACEOF
4014/* end confdefs.h. */ 3707/* end confdefs.h. */
4015 3708
4016int 3709int
@@ -4021,17 +3714,42 @@ main ()
4021 return 0; 3714 return 0;
4022} 3715}
4023_ACEOF 3716_ACEOF
4024if ac_fn_c_try_compile "$LINENO"; then : 3717rm -f conftest.$ac_objext
3718if { (ac_try="$ac_compile"
3719case "(($ac_try" in
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;;
3722esac
3723eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3724$as_echo "$ac_try_echo") >&5
3725 (eval "$ac_compile") 2>conftest.er1
3726 ac_status=$?
3727 grep -v '^ *+' conftest.er1 >conftest.err
3728 rm -f conftest.er1
3729 cat conftest.err >&5
3730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } && {
3732 test -z "$ac_c_werror_flag" ||
3733 test ! -s conftest.err
3734 } && test -s conftest.$ac_objext; then
4025 ac_cv_prog_cc_g=yes 3735 ac_cv_prog_cc_g=yes
3736else
3737 $as_echo "$as_me: failed program was:" >&5
3738sed 's/^/| /' conftest.$ac_ext >&5
3739
3740
4026fi 3741fi
3742
4027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028fi 3744fi
3745
4029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030fi 3747fi
3748
4031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_save_c_werror_flag 3750 ac_c_werror_flag=$ac_save_c_werror_flag
4033fi 3751fi
4034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3752{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4035$as_echo "$ac_cv_prog_cc_g" >&6; } 3753$as_echo "$ac_cv_prog_cc_g" >&6; }
4036if test "$ac_test_CFLAGS" = set; then 3754if test "$ac_test_CFLAGS" = set; then
4037 CFLAGS=$ac_save_CFLAGS 3755 CFLAGS=$ac_save_CFLAGS
@@ -4048,14 +3766,18 @@ else
4048 CFLAGS= 3766 CFLAGS=
4049 fi 3767 fi
4050fi 3768fi
4051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3769{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4052$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3770$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4053if test "${ac_cv_prog_cc_c89+set}" = set; then : 3771if test "${ac_cv_prog_cc_c89+set}" = set; then
4054 $as_echo_n "(cached) " >&6 3772 $as_echo_n "(cached) " >&6
4055else 3773else
4056 ac_cv_prog_cc_c89=no 3774 ac_cv_prog_cc_c89=no
4057ac_save_CC=$CC 3775ac_save_CC=$CC
4058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3776cat >conftest.$ac_ext <<_ACEOF
3777/* confdefs.h. */
3778_ACEOF
3779cat confdefs.h >>conftest.$ac_ext
3780cat >>conftest.$ac_ext <<_ACEOF
4059/* end confdefs.h. */ 3781/* end confdefs.h. */
4060#include <stdarg.h> 3782#include <stdarg.h>
4061#include <stdio.h> 3783#include <stdio.h>
@@ -4112,9 +3834,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4112 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3834 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4113do 3835do
4114 CC="$ac_save_CC $ac_arg" 3836 CC="$ac_save_CC $ac_arg"
4115 if ac_fn_c_try_compile "$LINENO"; then : 3837 rm -f conftest.$ac_objext
3838if { (ac_try="$ac_compile"
3839case "(($ac_try" in
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3842esac
3843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3844$as_echo "$ac_try_echo") >&5
3845 (eval "$ac_compile") 2>conftest.er1
3846 ac_status=$?
3847 grep -v '^ *+' conftest.er1 >conftest.err
3848 rm -f conftest.er1
3849 cat conftest.err >&5
3850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } && {
3852 test -z "$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3854 } && test -s conftest.$ac_objext; then
4116 ac_cv_prog_cc_c89=$ac_arg 3855 ac_cv_prog_cc_c89=$ac_arg
3856else
3857 $as_echo "$as_me: failed program was:" >&5
3858sed 's/^/| /' conftest.$ac_ext >&5
3859
3860
4117fi 3861fi
3862
4118rm -f core conftest.err conftest.$ac_objext 3863rm -f core conftest.err conftest.$ac_objext
4119 test "x$ac_cv_prog_cc_c89" != "xno" && break 3864 test "x$ac_cv_prog_cc_c89" != "xno" && break
4120done 3865done
@@ -4125,19 +3870,17 @@ fi
4125# AC_CACHE_VAL 3870# AC_CACHE_VAL
4126case "x$ac_cv_prog_cc_c89" in 3871case "x$ac_cv_prog_cc_c89" in
4127 x) 3872 x)
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3873 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4129$as_echo "none needed" >&6; } ;; 3874$as_echo "none needed" >&6; } ;;
4130 xno) 3875 xno)
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3876 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4132$as_echo "unsupported" >&6; } ;; 3877$as_echo "unsupported" >&6; } ;;
4133 *) 3878 *)
4134 CC="$CC $ac_cv_prog_cc_c89" 3879 CC="$CC $ac_cv_prog_cc_c89"
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3880 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4136$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3881$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4137esac 3882esac
4138if test "x$ac_cv_prog_cc_c89" != xno; then :
4139 3883
4140fi
4141 3884
4142ac_ext=c 3885ac_ext=c
4143ac_cpp='$CPP $CPPFLAGS' 3886ac_cpp='$CPP $CPPFLAGS'
@@ -4155,13 +3898,17 @@ fi
4155## using a Sun compiler, which needs -Xs to prevent whitespace. 3898## using a Sun compiler, which needs -Xs to prevent whitespace.
4156if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 3899if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
4157 test x"$CPP" = x; then 3900 test x"$CPP" = x; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 3901 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5
4159$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 3902$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
4160 3903
4161if test "${emacs_cv_sunpro_c+set}" = set; then : 3904if test "${emacs_cv_sunpro_c+set}" = set; then
4162 $as_echo_n "(cached) " >&6 3905 $as_echo_n "(cached) " >&6
4163else 3906else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3907 cat >conftest.$ac_ext <<_ACEOF
3908/* confdefs.h. */
3909_ACEOF
3910cat confdefs.h >>conftest.$ac_ext
3911cat >>conftest.$ac_ext <<_ACEOF
4165/* end confdefs.h. */ 3912/* end confdefs.h. */
4166 3913
4167int 3914int
@@ -4175,16 +3922,41 @@ fail;
4175 return 0; 3922 return 0;
4176} 3923}
4177_ACEOF 3924_ACEOF
4178if ac_fn_c_try_link "$LINENO"; then : 3925rm -f conftest.$ac_objext conftest$ac_exeext
3926if { (ac_try="$ac_link"
3927case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3930esac
3931eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3932$as_echo "$ac_try_echo") >&5
3933 (eval "$ac_link") 2>conftest.er1
3934 ac_status=$?
3935 grep -v '^ *+' conftest.er1 >conftest.err
3936 rm -f conftest.er1
3937 cat conftest.err >&5
3938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } && {
3940 test -z "$ac_c_werror_flag" ||
3941 test ! -s conftest.err
3942 } && test -s conftest$ac_exeext && {
3943 test "$cross_compiling" = yes ||
3944 $as_test_x conftest$ac_exeext
3945 }; then
4179 emacs_cv_sunpro_c=yes 3946 emacs_cv_sunpro_c=yes
4180else 3947else
4181 emacs_cv_sunpro_c=no 3948 $as_echo "$as_me: failed program was:" >&5
3949sed 's/^/| /' conftest.$ac_ext >&5
3950
3951 emacs_cv_sunpro_c=no
4182fi 3952fi
4183rm -f core conftest.err conftest.$ac_objext \ 3953
4184 conftest$ac_exeext conftest.$ac_ext 3954rm -rf conftest.dSYM
3955rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3956 conftest$ac_exeext conftest.$ac_ext
4185fi 3957fi
4186 3958
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 3959 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5
4188$as_echo "$emacs_cv_sunpro_c" >&6; } 3960$as_echo "$emacs_cv_sunpro_c" >&6; }
4189 3961
4190 if test x"$emacs_cv_sunpro_c" = xyes; then 3962 if test x"$emacs_cv_sunpro_c" = xyes; then
@@ -4224,14 +3996,14 @@ ac_cpp='$CPP $CPPFLAGS'
4224ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4225ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4226ac_compiler_gnu=$ac_cv_c_compiler_gnu 3998ac_compiler_gnu=$ac_cv_c_compiler_gnu
4227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3999{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4228$as_echo_n "checking how to run the C preprocessor... " >&6; } 4000$as_echo_n "checking how to run the C preprocessor... " >&6; }
4229# On Suns, sometimes $CPP names a directory. 4001# On Suns, sometimes $CPP names a directory.
4230if test -n "$CPP" && test -d "$CPP"; then 4002if test -n "$CPP" && test -d "$CPP"; then
4231 CPP= 4003 CPP=
4232fi 4004fi
4233if test -z "$CPP"; then 4005if test -z "$CPP"; then
4234 if test "${ac_cv_prog_CPP+set}" = set; then : 4006 if test "${ac_cv_prog_CPP+set}" = set; then
4235 $as_echo_n "(cached) " >&6 4007 $as_echo_n "(cached) " >&6
4236else 4008else
4237 # Double quotes because CPP needs to be expanded 4009 # Double quotes because CPP needs to be expanded
@@ -4246,7 +4018,11 @@ do
4246 # <limits.h> exists even on freestanding compilers. 4018 # <limits.h> exists even on freestanding compilers.
4247 # On the NeXT, cc -E runs the code through the compiler's parser, 4019 # On the NeXT, cc -E runs the code through the compiler's parser,
4248 # not just through cpp. "Syntax error" is here to catch this case. 4020 # not just through cpp. "Syntax error" is here to catch this case.
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4021 cat >conftest.$ac_ext <<_ACEOF
4022/* confdefs.h. */
4023_ACEOF
4024cat confdefs.h >>conftest.$ac_ext
4025cat >>conftest.$ac_ext <<_ACEOF
4250/* end confdefs.h. */ 4026/* end confdefs.h. */
4251#ifdef __STDC__ 4027#ifdef __STDC__
4252# include <limits.h> 4028# include <limits.h>
@@ -4255,34 +4031,78 @@ do
4255#endif 4031#endif
4256 Syntax error 4032 Syntax error
4257_ACEOF 4033_ACEOF
4258if ac_fn_c_try_cpp "$LINENO"; then : 4034if { (ac_try="$ac_cpp conftest.$ac_ext"
4259 4035case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038esac
4039eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4040$as_echo "$ac_try_echo") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042 ac_status=$?
4043 grep -v '^ *+' conftest.er1 >conftest.err
4044 rm -f conftest.er1
4045 cat conftest.err >&5
4046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4050 }; then
4051 :
4260else 4052else
4053 $as_echo "$as_me: failed program was:" >&5
4054sed 's/^/| /' conftest.$ac_ext >&5
4055
4261 # Broken: fails on valid input. 4056 # Broken: fails on valid input.
4262continue 4057continue
4263fi 4058fi
4059
4264rm -f conftest.err conftest.$ac_ext 4060rm -f conftest.err conftest.$ac_ext
4265 4061
4266 # OK, works on sane cases. Now check whether nonexistent headers 4062 # OK, works on sane cases. Now check whether nonexistent headers
4267 # can be detected and how. 4063 # can be detected and how.
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4064 cat >conftest.$ac_ext <<_ACEOF
4065/* confdefs.h. */
4066_ACEOF
4067cat confdefs.h >>conftest.$ac_ext
4068cat >>conftest.$ac_ext <<_ACEOF
4269/* end confdefs.h. */ 4069/* end confdefs.h. */
4270#include <ac_nonexistent.h> 4070#include <ac_nonexistent.h>
4271_ACEOF 4071_ACEOF
4272if ac_fn_c_try_cpp "$LINENO"; then : 4072if { (ac_try="$ac_cpp conftest.$ac_ext"
4073case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4076esac
4077eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4078$as_echo "$ac_try_echo") >&5
4079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4080 ac_status=$?
4081 grep -v '^ *+' conftest.er1 >conftest.err
4082 rm -f conftest.er1
4083 cat conftest.err >&5
4084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } >/dev/null && {
4086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 }; then
4273 # Broken: success on invalid input. 4089 # Broken: success on invalid input.
4274continue 4090continue
4275else 4091else
4092 $as_echo "$as_me: failed program was:" >&5
4093sed 's/^/| /' conftest.$ac_ext >&5
4094
4276 # Passes both tests. 4095 # Passes both tests.
4277ac_preproc_ok=: 4096ac_preproc_ok=:
4278break 4097break
4279fi 4098fi
4099
4280rm -f conftest.err conftest.$ac_ext 4100rm -f conftest.err conftest.$ac_ext
4281 4101
4282done 4102done
4283# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4103# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4284rm -f conftest.err conftest.$ac_ext 4104rm -f conftest.err conftest.$ac_ext
4285if $ac_preproc_ok; then : 4105if $ac_preproc_ok; then
4286 break 4106 break
4287fi 4107fi
4288 4108
@@ -4294,7 +4114,7 @@ fi
4294else 4114else
4295 ac_cv_prog_CPP=$CPP 4115 ac_cv_prog_CPP=$CPP
4296fi 4116fi
4297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4117{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4298$as_echo "$CPP" >&6; } 4118$as_echo "$CPP" >&6; }
4299ac_preproc_ok=false 4119ac_preproc_ok=false
4300for ac_c_preproc_warn_flag in '' yes 4120for ac_c_preproc_warn_flag in '' yes
@@ -4305,7 +4125,11 @@ do
4305 # <limits.h> exists even on freestanding compilers. 4125 # <limits.h> exists even on freestanding compilers.
4306 # On the NeXT, cc -E runs the code through the compiler's parser, 4126 # On the NeXT, cc -E runs the code through the compiler's parser,
4307 # not just through cpp. "Syntax error" is here to catch this case. 4127 # not just through cpp. "Syntax error" is here to catch this case.
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4128 cat >conftest.$ac_ext <<_ACEOF
4129/* confdefs.h. */
4130_ACEOF
4131cat confdefs.h >>conftest.$ac_ext
4132cat >>conftest.$ac_ext <<_ACEOF
4309/* end confdefs.h. */ 4133/* end confdefs.h. */
4310#ifdef __STDC__ 4134#ifdef __STDC__
4311# include <limits.h> 4135# include <limits.h>
@@ -4314,40 +4138,85 @@ do
4314#endif 4138#endif
4315 Syntax error 4139 Syntax error
4316_ACEOF 4140_ACEOF
4317if ac_fn_c_try_cpp "$LINENO"; then : 4141if { (ac_try="$ac_cpp conftest.$ac_ext"
4318 4142case "(($ac_try" in
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4145esac
4146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4147$as_echo "$ac_try_echo") >&5
4148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4149 ac_status=$?
4150 grep -v '^ *+' conftest.er1 >conftest.err
4151 rm -f conftest.er1
4152 cat conftest.err >&5
4153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } >/dev/null && {
4155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4156 test ! -s conftest.err
4157 }; then
4158 :
4319else 4159else
4160 $as_echo "$as_me: failed program was:" >&5
4161sed 's/^/| /' conftest.$ac_ext >&5
4162
4320 # Broken: fails on valid input. 4163 # Broken: fails on valid input.
4321continue 4164continue
4322fi 4165fi
4166
4323rm -f conftest.err conftest.$ac_ext 4167rm -f conftest.err conftest.$ac_ext
4324 4168
4325 # OK, works on sane cases. Now check whether nonexistent headers 4169 # OK, works on sane cases. Now check whether nonexistent headers
4326 # can be detected and how. 4170 # can be detected and how.
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4171 cat >conftest.$ac_ext <<_ACEOF
4172/* confdefs.h. */
4173_ACEOF
4174cat confdefs.h >>conftest.$ac_ext
4175cat >>conftest.$ac_ext <<_ACEOF
4328/* end confdefs.h. */ 4176/* end confdefs.h. */
4329#include <ac_nonexistent.h> 4177#include <ac_nonexistent.h>
4330_ACEOF 4178_ACEOF
4331if ac_fn_c_try_cpp "$LINENO"; then : 4179if { (ac_try="$ac_cpp conftest.$ac_ext"
4180case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183esac
4184eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4185$as_echo "$ac_try_echo") >&5
4186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4187 ac_status=$?
4188 grep -v '^ *+' conftest.er1 >conftest.err
4189 rm -f conftest.er1
4190 cat conftest.err >&5
4191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } >/dev/null && {
4193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4195 }; then
4332 # Broken: success on invalid input. 4196 # Broken: success on invalid input.
4333continue 4197continue
4334else 4198else
4199 $as_echo "$as_me: failed program was:" >&5
4200sed 's/^/| /' conftest.$ac_ext >&5
4201
4335 # Passes both tests. 4202 # Passes both tests.
4336ac_preproc_ok=: 4203ac_preproc_ok=:
4337break 4204break
4338fi 4205fi
4206
4339rm -f conftest.err conftest.$ac_ext 4207rm -f conftest.err conftest.$ac_ext
4340 4208
4341done 4209done
4342# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4210# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4343rm -f conftest.err conftest.$ac_ext 4211rm -f conftest.err conftest.$ac_ext
4344if $ac_preproc_ok; then : 4212if $ac_preproc_ok; then
4345 4213 :
4346else 4214else
4347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4215 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4216See \`config.log' for more details." >&5
4349as_fn_error "C preprocessor \"$CPP\" fails sanity check 4217$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4350See \`config.log' for more details." "$LINENO" 5; } 4218See \`config.log' for more details." >&2;}
4219 { (exit 1); exit 1; }; }
4351fi 4220fi
4352 4221
4353ac_ext=c 4222ac_ext=c
@@ -4357,9 +4226,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4357ac_compiler_gnu=$ac_cv_c_compiler_gnu 4226ac_compiler_gnu=$ac_cv_c_compiler_gnu
4358 4227
4359 4228
4360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4229{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4361$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4230$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4362if test "${ac_cv_path_GREP+set}" = set; then : 4231if test "${ac_cv_path_GREP+set}" = set; then
4363 $as_echo_n "(cached) " >&6 4232 $as_echo_n "(cached) " >&6
4364else 4233else
4365 if test -z "$GREP"; then 4234 if test -z "$GREP"; then
@@ -4370,7 +4239,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4370do 4239do
4371 IFS=$as_save_IFS 4240 IFS=$as_save_IFS
4372 test -z "$as_dir" && as_dir=. 4241 test -z "$as_dir" && as_dir=.
4373 for ac_prog in grep ggrep; do 4242 for ac_prog in grep ggrep; do
4374 for ac_exec_ext in '' $ac_executable_extensions; do 4243 for ac_exec_ext in '' $ac_executable_extensions; do
4375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4244 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4376 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4245 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -4390,7 +4259,7 @@ case `"$ac_path_GREP" --version 2>&1` in
4390 $as_echo 'GREP' >> "conftest.nl" 4259 $as_echo 'GREP' >> "conftest.nl"
4391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4260 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4393 as_fn_arith $ac_count + 1 && ac_count=$as_val 4262 ac_count=`expr $ac_count + 1`
4394 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4263 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4395 # Best one so far, save it but keep looking for a better one 4264 # Best one so far, save it but keep looking for a better one
4396 ac_cv_path_GREP="$ac_path_GREP" 4265 ac_cv_path_GREP="$ac_path_GREP"
@@ -4405,24 +4274,26 @@ esac
4405 $ac_path_GREP_found && break 3 4274 $ac_path_GREP_found && break 3
4406 done 4275 done
4407 done 4276 done
4408 done 4277done
4409IFS=$as_save_IFS 4278IFS=$as_save_IFS
4410 if test -z "$ac_cv_path_GREP"; then 4279 if test -z "$ac_cv_path_GREP"; then
4411 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4280 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4281$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4282 { (exit 1); exit 1; }; }
4412 fi 4283 fi
4413else 4284else
4414 ac_cv_path_GREP=$GREP 4285 ac_cv_path_GREP=$GREP
4415fi 4286fi
4416 4287
4417fi 4288fi
4418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4289{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4419$as_echo "$ac_cv_path_GREP" >&6; } 4290$as_echo "$ac_cv_path_GREP" >&6; }
4420 GREP="$ac_cv_path_GREP" 4291 GREP="$ac_cv_path_GREP"
4421 4292
4422 4293
4423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4294{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4424$as_echo_n "checking for egrep... " >&6; } 4295$as_echo_n "checking for egrep... " >&6; }
4425if test "${ac_cv_path_EGREP+set}" = set; then : 4296if test "${ac_cv_path_EGREP+set}" = set; then
4426 $as_echo_n "(cached) " >&6 4297 $as_echo_n "(cached) " >&6
4427else 4298else
4428 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4436,7 +4307,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4436do 4307do
4437 IFS=$as_save_IFS 4308 IFS=$as_save_IFS
4438 test -z "$as_dir" && as_dir=. 4309 test -z "$as_dir" && as_dir=.
4439 for ac_prog in egrep; do 4310 for ac_prog in egrep; do
4440 for ac_exec_ext in '' $ac_executable_extensions; do 4311 for ac_exec_ext in '' $ac_executable_extensions; do
4441 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4312 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4442 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4313 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -4456,7 +4327,7 @@ case `"$ac_path_EGREP" --version 2>&1` in
4456 $as_echo 'EGREP' >> "conftest.nl" 4327 $as_echo 'EGREP' >> "conftest.nl"
4457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4328 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4459 as_fn_arith $ac_count + 1 && ac_count=$as_val 4330 ac_count=`expr $ac_count + 1`
4460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4331 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4461 # Best one so far, save it but keep looking for a better one 4332 # Best one so far, save it but keep looking for a better one
4462 ac_cv_path_EGREP="$ac_path_EGREP" 4333 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -4471,10 +4342,12 @@ esac
4471 $ac_path_EGREP_found && break 3 4342 $ac_path_EGREP_found && break 3
4472 done 4343 done
4473 done 4344 done
4474 done 4345done
4475IFS=$as_save_IFS 4346IFS=$as_save_IFS
4476 if test -z "$ac_cv_path_EGREP"; then 4347 if test -z "$ac_cv_path_EGREP"; then
4477 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4348 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4349$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4350 { (exit 1); exit 1; }; }
4478 fi 4351 fi
4479else 4352else
4480 ac_cv_path_EGREP=$EGREP 4353 ac_cv_path_EGREP=$EGREP
@@ -4482,17 +4355,21 @@ fi
4482 4355
4483 fi 4356 fi
4484fi 4357fi
4485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4358{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4486$as_echo "$ac_cv_path_EGREP" >&6; } 4359$as_echo "$ac_cv_path_EGREP" >&6; }
4487 EGREP="$ac_cv_path_EGREP" 4360 EGREP="$ac_cv_path_EGREP"
4488 4361
4489 4362
4490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4363{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4491$as_echo_n "checking for ANSI C header files... " >&6; } 4364$as_echo_n "checking for ANSI C header files... " >&6; }
4492if test "${ac_cv_header_stdc+set}" = set; then : 4365if test "${ac_cv_header_stdc+set}" = set; then
4493 $as_echo_n "(cached) " >&6 4366 $as_echo_n "(cached) " >&6
4494else 4367else
4495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4368 cat >conftest.$ac_ext <<_ACEOF
4369/* confdefs.h. */
4370_ACEOF
4371cat confdefs.h >>conftest.$ac_ext
4372cat >>conftest.$ac_ext <<_ACEOF
4496/* end confdefs.h. */ 4373/* end confdefs.h. */
4497#include <stdlib.h> 4374#include <stdlib.h>
4498#include <stdarg.h> 4375#include <stdarg.h>
@@ -4507,23 +4384,48 @@ main ()
4507 return 0; 4384 return 0;
4508} 4385}
4509_ACEOF 4386_ACEOF
4510if ac_fn_c_try_compile "$LINENO"; then : 4387rm -f conftest.$ac_objext
4388if { (ac_try="$ac_compile"
4389case "(($ac_try" in
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4392esac
4393eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4394$as_echo "$ac_try_echo") >&5
4395 (eval "$ac_compile") 2>conftest.er1
4396 ac_status=$?
4397 grep -v '^ *+' conftest.er1 >conftest.err
4398 rm -f conftest.er1
4399 cat conftest.err >&5
4400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } && {
4402 test -z "$ac_c_werror_flag" ||
4403 test ! -s conftest.err
4404 } && test -s conftest.$ac_objext; then
4511 ac_cv_header_stdc=yes 4405 ac_cv_header_stdc=yes
4512else 4406else
4513 ac_cv_header_stdc=no 4407 $as_echo "$as_me: failed program was:" >&5
4408sed 's/^/| /' conftest.$ac_ext >&5
4409
4410 ac_cv_header_stdc=no
4514fi 4411fi
4412
4515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 4414
4517if test $ac_cv_header_stdc = yes; then 4415if test $ac_cv_header_stdc = yes; then
4518 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4417 cat >conftest.$ac_ext <<_ACEOF
4418/* confdefs.h. */
4419_ACEOF
4420cat confdefs.h >>conftest.$ac_ext
4421cat >>conftest.$ac_ext <<_ACEOF
4520/* end confdefs.h. */ 4422/* end confdefs.h. */
4521#include <string.h> 4423#include <string.h>
4522 4424
4523_ACEOF 4425_ACEOF
4524if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4426if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4525 $EGREP "memchr" >/dev/null 2>&1; then : 4427 $EGREP "memchr" >/dev/null 2>&1; then
4526 4428 :
4527else 4429else
4528 ac_cv_header_stdc=no 4430 ac_cv_header_stdc=no
4529fi 4431fi
@@ -4533,14 +4435,18 @@ fi
4533 4435
4534if test $ac_cv_header_stdc = yes; then 4436if test $ac_cv_header_stdc = yes; then
4535 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4438 cat >conftest.$ac_ext <<_ACEOF
4439/* confdefs.h. */
4440_ACEOF
4441cat confdefs.h >>conftest.$ac_ext
4442cat >>conftest.$ac_ext <<_ACEOF
4537/* end confdefs.h. */ 4443/* end confdefs.h. */
4538#include <stdlib.h> 4444#include <stdlib.h>
4539 4445
4540_ACEOF 4446_ACEOF
4541if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4447if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4542 $EGREP "free" >/dev/null 2>&1; then : 4448 $EGREP "free" >/dev/null 2>&1; then
4543 4449 :
4544else 4450else
4545 ac_cv_header_stdc=no 4451 ac_cv_header_stdc=no
4546fi 4452fi
@@ -4550,10 +4456,14 @@ fi
4550 4456
4551if test $ac_cv_header_stdc = yes; then 4457if test $ac_cv_header_stdc = yes; then
4552 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4553 if test "$cross_compiling" = yes; then : 4459 if test "$cross_compiling" = yes; then
4554 : 4460 :
4555else 4461else
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4462 cat >conftest.$ac_ext <<_ACEOF
4463/* confdefs.h. */
4464_ACEOF
4465cat confdefs.h >>conftest.$ac_ext
4466cat >>conftest.$ac_ext <<_ACEOF
4557/* end confdefs.h. */ 4467/* end confdefs.h. */
4558#include <ctype.h> 4468#include <ctype.h>
4559#include <stdlib.h> 4469#include <stdlib.h>
@@ -4580,34 +4490,117 @@ main ()
4580 return 0; 4490 return 0;
4581} 4491}
4582_ACEOF 4492_ACEOF
4583if ac_fn_c_try_run "$LINENO"; then : 4493rm -f conftest$ac_exeext
4584 4494if { (ac_try="$ac_link"
4495case "(($ac_try" in
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4498esac
4499eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4500$as_echo "$ac_try_echo") >&5
4501 (eval "$ac_link") 2>&5
4502 ac_status=$?
4503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4505 { (case "(($ac_try" in
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4508esac
4509eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4510$as_echo "$ac_try_echo") >&5
4511 (eval "$ac_try") 2>&5
4512 ac_status=$?
4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4515 :
4585else 4516else
4586 ac_cv_header_stdc=no 4517 $as_echo "$as_me: program exited with status $ac_status" >&5
4518$as_echo "$as_me: failed program was:" >&5
4519sed 's/^/| /' conftest.$ac_ext >&5
4520
4521( exit $ac_status )
4522ac_cv_header_stdc=no
4587fi 4523fi
4588rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4524rm -rf conftest.dSYM
4589 conftest.$ac_objext conftest.beam conftest.$ac_ext 4525rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4590fi 4526fi
4591 4527
4528
4592fi 4529fi
4593fi 4530fi
4594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4531{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4595$as_echo "$ac_cv_header_stdc" >&6; } 4532$as_echo "$ac_cv_header_stdc" >&6; }
4596if test $ac_cv_header_stdc = yes; then 4533if test $ac_cv_header_stdc = yes; then
4597 4534
4598$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4535cat >>confdefs.h <<\_ACEOF
4536#define STDC_HEADERS 1
4537_ACEOF
4599 4538
4600fi 4539fi
4601 4540
4602# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4541# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4542
4543
4544
4545
4546
4547
4548
4549
4550
4603for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4551for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4604 inttypes.h stdint.h unistd.h 4552 inttypes.h stdint.h unistd.h
4605do : 4553do
4606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4554as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4607ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4555{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4608" 4556$as_echo_n "checking for $ac_header... " >&6; }
4609eval as_val=\$$as_ac_Header 4557if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4610 if test "x$as_val" = x""yes; then : 4558 $as_echo_n "(cached) " >&6
4559else
4560 cat >conftest.$ac_ext <<_ACEOF
4561/* confdefs.h. */
4562_ACEOF
4563cat confdefs.h >>conftest.$ac_ext
4564cat >>conftest.$ac_ext <<_ACEOF
4565/* end confdefs.h. */
4566$ac_includes_default
4567
4568#include <$ac_header>
4569_ACEOF
4570rm -f conftest.$ac_objext
4571if { (ac_try="$ac_compile"
4572case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4575esac
4576eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4577$as_echo "$ac_try_echo") >&5
4578 (eval "$ac_compile") 2>conftest.er1
4579 ac_status=$?
4580 grep -v '^ *+' conftest.er1 >conftest.err
4581 rm -f conftest.er1
4582 cat conftest.err >&5
4583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } && {
4585 test -z "$ac_c_werror_flag" ||
4586 test ! -s conftest.err
4587 } && test -s conftest.$ac_objext; then
4588 eval "$as_ac_Header=yes"
4589else
4590 $as_echo "$as_me: failed program was:" >&5
4591sed 's/^/| /' conftest.$ac_ext >&5
4592
4593 eval "$as_ac_Header=no"
4594fi
4595
4596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597fi
4598ac_res=`eval 'as_val=${'$as_ac_Header'}
4599 $as_echo "$as_val"'`
4600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4601$as_echo "$ac_res" >&6; }
4602if test `eval 'as_val=${'$as_ac_Header'}
4603 $as_echo "$as_val"'` = yes; then
4611 cat >>confdefs.h <<_ACEOF 4604 cat >>confdefs.h <<_ACEOF
4612#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4605#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4613_ACEOF 4606_ACEOF
@@ -4618,8 +4611,134 @@ done
4618 4611
4619 4612
4620 4613
4621 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4614 if test "${ac_cv_header_minix_config_h+set}" = set; then
4622if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4615 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4616$as_echo_n "checking for minix/config.h... " >&6; }
4617if test "${ac_cv_header_minix_config_h+set}" = set; then
4618 $as_echo_n "(cached) " >&6
4619fi
4620{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4621$as_echo "$ac_cv_header_minix_config_h" >&6; }
4622else
4623 # Is the header compilable?
4624{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4625$as_echo_n "checking minix/config.h usability... " >&6; }
4626cat >conftest.$ac_ext <<_ACEOF
4627/* confdefs.h. */
4628_ACEOF
4629cat confdefs.h >>conftest.$ac_ext
4630cat >>conftest.$ac_ext <<_ACEOF
4631/* end confdefs.h. */
4632$ac_includes_default
4633#include <minix/config.h>
4634_ACEOF
4635rm -f conftest.$ac_objext
4636if { (ac_try="$ac_compile"
4637case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640esac
4641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4642$as_echo "$ac_try_echo") >&5
4643 (eval "$ac_compile") 2>conftest.er1
4644 ac_status=$?
4645 grep -v '^ *+' conftest.er1 >conftest.err
4646 rm -f conftest.er1
4647 cat conftest.err >&5
4648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } && {
4650 test -z "$ac_c_werror_flag" ||
4651 test ! -s conftest.err
4652 } && test -s conftest.$ac_objext; then
4653 ac_header_compiler=yes
4654else
4655 $as_echo "$as_me: failed program was:" >&5
4656sed 's/^/| /' conftest.$ac_ext >&5
4657
4658 ac_header_compiler=no
4659fi
4660
4661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4663$as_echo "$ac_header_compiler" >&6; }
4664
4665# Is the header present?
4666{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4667$as_echo_n "checking minix/config.h presence... " >&6; }
4668cat >conftest.$ac_ext <<_ACEOF
4669/* confdefs.h. */
4670_ACEOF
4671cat confdefs.h >>conftest.$ac_ext
4672cat >>conftest.$ac_ext <<_ACEOF
4673/* end confdefs.h. */
4674#include <minix/config.h>
4675_ACEOF
4676if { (ac_try="$ac_cpp conftest.$ac_ext"
4677case "(($ac_try" in
4678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4679 *) ac_try_echo=$ac_try;;
4680esac
4681eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4682$as_echo "$ac_try_echo") >&5
4683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4684 ac_status=$?
4685 grep -v '^ *+' conftest.er1 >conftest.err
4686 rm -f conftest.er1
4687 cat conftest.err >&5
4688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } >/dev/null && {
4690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4691 test ! -s conftest.err
4692 }; then
4693 ac_header_preproc=yes
4694else
4695 $as_echo "$as_me: failed program was:" >&5
4696sed 's/^/| /' conftest.$ac_ext >&5
4697
4698 ac_header_preproc=no
4699fi
4700
4701rm -f conftest.err conftest.$ac_ext
4702{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4703$as_echo "$ac_header_preproc" >&6; }
4704
4705# So? What about this header?
4706case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4707 yes:no: )
4708 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4709$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4710 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4711$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4712 ac_header_preproc=yes
4713 ;;
4714 no:yes:* )
4715 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4716$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4717 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4718$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4719 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4720$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4721 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4722$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4723 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4724$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4725 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4726$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4727
4728 ;;
4729esac
4730{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4731$as_echo_n "checking for minix/config.h... " >&6; }
4732if test "${ac_cv_header_minix_config_h+set}" = set; then
4733 $as_echo_n "(cached) " >&6
4734else
4735 ac_cv_header_minix_config_h=$ac_header_preproc
4736fi
4737{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4738$as_echo "$ac_cv_header_minix_config_h" >&6; }
4739
4740fi
4741if test $ac_cv_header_minix_config_h = yes; then
4623 MINIX=yes 4742 MINIX=yes
4624else 4743else
4625 MINIX= 4744 MINIX=
@@ -4628,23 +4747,34 @@ fi
4628 4747
4629 if test "$MINIX" = yes; then 4748 if test "$MINIX" = yes; then
4630 4749
4631$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4750cat >>confdefs.h <<\_ACEOF
4751#define _POSIX_SOURCE 1
4752_ACEOF
4632 4753
4633 4754
4634$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4755cat >>confdefs.h <<\_ACEOF
4756#define _POSIX_1_SOURCE 2
4757_ACEOF
4635 4758
4636 4759
4637$as_echo "#define _MINIX 1" >>confdefs.h 4760cat >>confdefs.h <<\_ACEOF
4761#define _MINIX 1
4762_ACEOF
4638 4763
4639 fi 4764 fi
4640 4765
4641 4766
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4767
4768 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4643$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4769$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4644if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4770if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4645 $as_echo_n "(cached) " >&6 4771 $as_echo_n "(cached) " >&6
4646else 4772else
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4773 cat >conftest.$ac_ext <<_ACEOF
4774/* confdefs.h. */
4775_ACEOF
4776cat confdefs.h >>conftest.$ac_ext
4777cat >>conftest.$ac_ext <<_ACEOF
4648/* end confdefs.h. */ 4778/* end confdefs.h. */
4649 4779
4650# define __EXTENSIONS__ 1 4780# define __EXTENSIONS__ 1
@@ -4657,34 +4787,69 @@ main ()
4657 return 0; 4787 return 0;
4658} 4788}
4659_ACEOF 4789_ACEOF
4660if ac_fn_c_try_compile "$LINENO"; then : 4790rm -f conftest.$ac_objext
4791if { (ac_try="$ac_compile"
4792case "(($ac_try" in
4793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794 *) ac_try_echo=$ac_try;;
4795esac
4796eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4797$as_echo "$ac_try_echo") >&5
4798 (eval "$ac_compile") 2>conftest.er1
4799 ac_status=$?
4800 grep -v '^ *+' conftest.er1 >conftest.err
4801 rm -f conftest.er1
4802 cat conftest.err >&5
4803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); } && {
4805 test -z "$ac_c_werror_flag" ||
4806 test ! -s conftest.err
4807 } && test -s conftest.$ac_objext; then
4661 ac_cv_safe_to_define___extensions__=yes 4808 ac_cv_safe_to_define___extensions__=yes
4662else 4809else
4663 ac_cv_safe_to_define___extensions__=no 4810 $as_echo "$as_me: failed program was:" >&5
4811sed 's/^/| /' conftest.$ac_ext >&5
4812
4813 ac_cv_safe_to_define___extensions__=no
4664fi 4814fi
4815
4665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666fi 4817fi
4667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4818{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4668$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4819$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4669 test $ac_cv_safe_to_define___extensions__ = yes && 4820 test $ac_cv_safe_to_define___extensions__ = yes &&
4670 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4821 cat >>confdefs.h <<\_ACEOF
4822#define __EXTENSIONS__ 1
4823_ACEOF
4671 4824
4672 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4825 cat >>confdefs.h <<\_ACEOF
4826#define _ALL_SOURCE 1
4827_ACEOF
4673 4828
4674 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4829 cat >>confdefs.h <<\_ACEOF
4830#define _GNU_SOURCE 1
4831_ACEOF
4675 4832
4676 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4833 cat >>confdefs.h <<\_ACEOF
4834#define _POSIX_PTHREAD_SEMANTICS 1
4835_ACEOF
4677 4836
4678 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4837 cat >>confdefs.h <<\_ACEOF
4838#define _TANDEM_SOURCE 1
4839_ACEOF
4679 4840
4680 4841
4681 4842
4682### Use -Wno-pointer-sign if the compiler supports it 4843### Use -Wno-pointer-sign if the compiler supports it
4683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 4844{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5
4684$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } 4845$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; }
4685SAVE_CFLAGS="$CFLAGS" 4846SAVE_CFLAGS="$CFLAGS"
4686CFLAGS="$CFLAGS -Wno-pointer-sign" 4847CFLAGS="$CFLAGS -Wno-pointer-sign"
4687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4848cat >conftest.$ac_ext <<_ACEOF
4849/* confdefs.h. */
4850_ACEOF
4851cat confdefs.h >>conftest.$ac_ext
4852cat >>conftest.$ac_ext <<_ACEOF
4688/* end confdefs.h. */ 4853/* end confdefs.h. */
4689 4854
4690int 4855int
@@ -4695,27 +4860,52 @@ main ()
4695 return 0; 4860 return 0;
4696} 4861}
4697_ACEOF 4862_ACEOF
4698if ac_fn_c_try_compile "$LINENO"; then : 4863rm -f conftest.$ac_objext
4864if { (ac_try="$ac_compile"
4865case "(($ac_try" in
4866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867 *) ac_try_echo=$ac_try;;
4868esac
4869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4870$as_echo "$ac_try_echo") >&5
4871 (eval "$ac_compile") 2>conftest.er1
4872 ac_status=$?
4873 grep -v '^ *+' conftest.er1 >conftest.err
4874 rm -f conftest.er1
4875 cat conftest.err >&5
4876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } && {
4878 test -z "$ac_c_werror_flag" ||
4879 test ! -s conftest.err
4880 } && test -s conftest.$ac_objext; then
4699 has_option=yes 4881 has_option=yes
4700else 4882else
4701 has_option=no 4883 $as_echo "$as_me: failed program was:" >&5
4884sed 's/^/| /' conftest.$ac_ext >&5
4885
4886 has_option=no
4702fi 4887fi
4888
4703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704if test $has_option = yes; then 4890if test $has_option = yes; then
4705 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4891 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4706fi 4892fi
4707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 4893{ $as_echo "$as_me:$LINENO: result: $has_option" >&5
4708$as_echo "$has_option" >&6; } 4894$as_echo "$has_option" >&6; }
4709CFLAGS="$SAVE_CFLAGS" 4895CFLAGS="$SAVE_CFLAGS"
4710unset has_option 4896unset has_option
4711unset SAVE_CFLAGS 4897unset SAVE_CFLAGS
4712 4898
4713### Use -Wdeclaration-after-statement if the compiler supports it 4899### Use -Wdeclaration-after-statement if the compiler supports it
4714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 4900{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5
4715$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } 4901$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; }
4716SAVE_CFLAGS="$CFLAGS" 4902SAVE_CFLAGS="$CFLAGS"
4717CFLAGS="$CFLAGS -Wdeclaration-after-statement" 4903CFLAGS="$CFLAGS -Wdeclaration-after-statement"
4718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4904cat >conftest.$ac_ext <<_ACEOF
4905/* confdefs.h. */
4906_ACEOF
4907cat confdefs.h >>conftest.$ac_ext
4908cat >>conftest.$ac_ext <<_ACEOF
4719/* end confdefs.h. */ 4909/* end confdefs.h. */
4720 4910
4721int 4911int
@@ -4726,16 +4916,37 @@ main ()
4726 return 0; 4916 return 0;
4727} 4917}
4728_ACEOF 4918_ACEOF
4729if ac_fn_c_try_compile "$LINENO"; then : 4919rm -f conftest.$ac_objext
4920if { (ac_try="$ac_compile"
4921case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924esac
4925eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4926$as_echo "$ac_try_echo") >&5
4927 (eval "$ac_compile") 2>conftest.er1
4928 ac_status=$?
4929 grep -v '^ *+' conftest.er1 >conftest.err
4930 rm -f conftest.er1
4931 cat conftest.err >&5
4932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } && {
4934 test -z "$ac_c_werror_flag" ||
4935 test ! -s conftest.err
4936 } && test -s conftest.$ac_objext; then
4730 has_option=yes 4937 has_option=yes
4731else 4938else
4732 has_option=no 4939 $as_echo "$as_me: failed program was:" >&5
4940sed 's/^/| /' conftest.$ac_ext >&5
4941
4942 has_option=no
4733fi 4943fi
4944
4734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735if test $has_option = yes; then 4946if test $has_option = yes; then
4736 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" 4947 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH"
4737fi 4948fi
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 4949{ $as_echo "$as_me:$LINENO: result: $has_option" >&5
4739$as_echo "$has_option" >&6; } 4950$as_echo "$has_option" >&6; }
4740CFLAGS="$SAVE_CFLAGS" 4951CFLAGS="$SAVE_CFLAGS"
4741unset has_option 4952unset has_option
@@ -4743,14 +4954,14 @@ unset SAVE_CFLAGS
4743 4954
4744#### Some other nice autoconf tests. 4955#### Some other nice autoconf tests.
4745 4956
4746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4957{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4747$as_echo_n "checking whether ln -s works... " >&6; } 4958$as_echo_n "checking whether ln -s works... " >&6; }
4748LN_S=$as_ln_s 4959LN_S=$as_ln_s
4749if test "$LN_S" = "ln -s"; then 4960if test "$LN_S" = "ln -s"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4961 { $as_echo "$as_me:$LINENO: result: yes" >&5
4751$as_echo "yes" >&6; } 4962$as_echo "yes" >&6; }
4752else 4963else
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4964 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4754$as_echo "no, using $LN_S" >&6; } 4965$as_echo "no, using $LN_S" >&6; }
4755fi 4966fi
4756 4967
@@ -4759,14 +4970,14 @@ ac_cpp='$CPP $CPPFLAGS'
4759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761ac_compiler_gnu=$ac_cv_c_compiler_gnu 4972ac_compiler_gnu=$ac_cv_c_compiler_gnu
4762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4973{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4763$as_echo_n "checking how to run the C preprocessor... " >&6; } 4974$as_echo_n "checking how to run the C preprocessor... " >&6; }
4764# On Suns, sometimes $CPP names a directory. 4975# On Suns, sometimes $CPP names a directory.
4765if test -n "$CPP" && test -d "$CPP"; then 4976if test -n "$CPP" && test -d "$CPP"; then
4766 CPP= 4977 CPP=
4767fi 4978fi
4768if test -z "$CPP"; then 4979if test -z "$CPP"; then
4769 if test "${ac_cv_prog_CPP+set}" = set; then : 4980 if test "${ac_cv_prog_CPP+set}" = set; then
4770 $as_echo_n "(cached) " >&6 4981 $as_echo_n "(cached) " >&6
4771else 4982else
4772 # Double quotes because CPP needs to be expanded 4983 # Double quotes because CPP needs to be expanded
@@ -4781,7 +4992,11 @@ do
4781 # <limits.h> exists even on freestanding compilers. 4992 # <limits.h> exists even on freestanding compilers.
4782 # On the NeXT, cc -E runs the code through the compiler's parser, 4993 # On the NeXT, cc -E runs the code through the compiler's parser,
4783 # not just through cpp. "Syntax error" is here to catch this case. 4994 # not just through cpp. "Syntax error" is here to catch this case.
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4995 cat >conftest.$ac_ext <<_ACEOF
4996/* confdefs.h. */
4997_ACEOF
4998cat confdefs.h >>conftest.$ac_ext
4999cat >>conftest.$ac_ext <<_ACEOF
4785/* end confdefs.h. */ 5000/* end confdefs.h. */
4786#ifdef __STDC__ 5001#ifdef __STDC__
4787# include <limits.h> 5002# include <limits.h>
@@ -4790,34 +5005,78 @@ do
4790#endif 5005#endif
4791 Syntax error 5006 Syntax error
4792_ACEOF 5007_ACEOF
4793if ac_fn_c_try_cpp "$LINENO"; then : 5008if { (ac_try="$ac_cpp conftest.$ac_ext"
4794 5009case "(($ac_try" in
5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011 *) ac_try_echo=$ac_try;;
5012esac
5013eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5014$as_echo "$ac_try_echo") >&5
5015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5016 ac_status=$?
5017 grep -v '^ *+' conftest.er1 >conftest.err
5018 rm -f conftest.er1
5019 cat conftest.err >&5
5020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } >/dev/null && {
5022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5023 test ! -s conftest.err
5024 }; then
5025 :
4795else 5026else
5027 $as_echo "$as_me: failed program was:" >&5
5028sed 's/^/| /' conftest.$ac_ext >&5
5029
4796 # Broken: fails on valid input. 5030 # Broken: fails on valid input.
4797continue 5031continue
4798fi 5032fi
5033
4799rm -f conftest.err conftest.$ac_ext 5034rm -f conftest.err conftest.$ac_ext
4800 5035
4801 # OK, works on sane cases. Now check whether nonexistent headers 5036 # OK, works on sane cases. Now check whether nonexistent headers
4802 # can be detected and how. 5037 # can be detected and how.
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5038 cat >conftest.$ac_ext <<_ACEOF
5039/* confdefs.h. */
5040_ACEOF
5041cat confdefs.h >>conftest.$ac_ext
5042cat >>conftest.$ac_ext <<_ACEOF
4804/* end confdefs.h. */ 5043/* end confdefs.h. */
4805#include <ac_nonexistent.h> 5044#include <ac_nonexistent.h>
4806_ACEOF 5045_ACEOF
4807if ac_fn_c_try_cpp "$LINENO"; then : 5046if { (ac_try="$ac_cpp conftest.$ac_ext"
5047case "(($ac_try" in
5048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5049 *) ac_try_echo=$ac_try;;
5050esac
5051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5052$as_echo "$ac_try_echo") >&5
5053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5054 ac_status=$?
5055 grep -v '^ *+' conftest.er1 >conftest.err
5056 rm -f conftest.er1
5057 cat conftest.err >&5
5058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } >/dev/null && {
5060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5061 test ! -s conftest.err
5062 }; then
4808 # Broken: success on invalid input. 5063 # Broken: success on invalid input.
4809continue 5064continue
4810else 5065else
5066 $as_echo "$as_me: failed program was:" >&5
5067sed 's/^/| /' conftest.$ac_ext >&5
5068
4811 # Passes both tests. 5069 # Passes both tests.
4812ac_preproc_ok=: 5070ac_preproc_ok=:
4813break 5071break
4814fi 5072fi
5073
4815rm -f conftest.err conftest.$ac_ext 5074rm -f conftest.err conftest.$ac_ext
4816 5075
4817done 5076done
4818# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5077# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819rm -f conftest.err conftest.$ac_ext 5078rm -f conftest.err conftest.$ac_ext
4820if $ac_preproc_ok; then : 5079if $ac_preproc_ok; then
4821 break 5080 break
4822fi 5081fi
4823 5082
@@ -4829,7 +5088,7 @@ fi
4829else 5088else
4830 ac_cv_prog_CPP=$CPP 5089 ac_cv_prog_CPP=$CPP
4831fi 5090fi
4832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5091{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4833$as_echo "$CPP" >&6; } 5092$as_echo "$CPP" >&6; }
4834ac_preproc_ok=false 5093ac_preproc_ok=false
4835for ac_c_preproc_warn_flag in '' yes 5094for ac_c_preproc_warn_flag in '' yes
@@ -4840,7 +5099,11 @@ do
4840 # <limits.h> exists even on freestanding compilers. 5099 # <limits.h> exists even on freestanding compilers.
4841 # On the NeXT, cc -E runs the code through the compiler's parser, 5100 # On the NeXT, cc -E runs the code through the compiler's parser,
4842 # not just through cpp. "Syntax error" is here to catch this case. 5101 # not just through cpp. "Syntax error" is here to catch this case.
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5102 cat >conftest.$ac_ext <<_ACEOF
5103/* confdefs.h. */
5104_ACEOF
5105cat confdefs.h >>conftest.$ac_ext
5106cat >>conftest.$ac_ext <<_ACEOF
4844/* end confdefs.h. */ 5107/* end confdefs.h. */
4845#ifdef __STDC__ 5108#ifdef __STDC__
4846# include <limits.h> 5109# include <limits.h>
@@ -4849,40 +5112,85 @@ do
4849#endif 5112#endif
4850 Syntax error 5113 Syntax error
4851_ACEOF 5114_ACEOF
4852if ac_fn_c_try_cpp "$LINENO"; then : 5115if { (ac_try="$ac_cpp conftest.$ac_ext"
4853 5116case "(($ac_try" in
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5119esac
5120eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5121$as_echo "$ac_try_echo") >&5
5122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5123 ac_status=$?
5124 grep -v '^ *+' conftest.er1 >conftest.err
5125 rm -f conftest.er1
5126 cat conftest.err >&5
5127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev/null && {
5129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5130 test ! -s conftest.err
5131 }; then
5132 :
4854else 5133else
5134 $as_echo "$as_me: failed program was:" >&5
5135sed 's/^/| /' conftest.$ac_ext >&5
5136
4855 # Broken: fails on valid input. 5137 # Broken: fails on valid input.
4856continue 5138continue
4857fi 5139fi
5140
4858rm -f conftest.err conftest.$ac_ext 5141rm -f conftest.err conftest.$ac_ext
4859 5142
4860 # OK, works on sane cases. Now check whether nonexistent headers 5143 # OK, works on sane cases. Now check whether nonexistent headers
4861 # can be detected and how. 5144 # can be detected and how.
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5145 cat >conftest.$ac_ext <<_ACEOF
5146/* confdefs.h. */
5147_ACEOF
5148cat confdefs.h >>conftest.$ac_ext
5149cat >>conftest.$ac_ext <<_ACEOF
4863/* end confdefs.h. */ 5150/* end confdefs.h. */
4864#include <ac_nonexistent.h> 5151#include <ac_nonexistent.h>
4865_ACEOF 5152_ACEOF
4866if ac_fn_c_try_cpp "$LINENO"; then : 5153if { (ac_try="$ac_cpp conftest.$ac_ext"
5154case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5157esac
5158eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5159$as_echo "$ac_try_echo") >&5
5160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5161 ac_status=$?
5162 grep -v '^ *+' conftest.er1 >conftest.err
5163 rm -f conftest.er1
5164 cat conftest.err >&5
5165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } >/dev/null && {
5167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5168 test ! -s conftest.err
5169 }; then
4867 # Broken: success on invalid input. 5170 # Broken: success on invalid input.
4868continue 5171continue
4869else 5172else
5173 $as_echo "$as_me: failed program was:" >&5
5174sed 's/^/| /' conftest.$ac_ext >&5
5175
4870 # Passes both tests. 5176 # Passes both tests.
4871ac_preproc_ok=: 5177ac_preproc_ok=:
4872break 5178break
4873fi 5179fi
5180
4874rm -f conftest.err conftest.$ac_ext 5181rm -f conftest.err conftest.$ac_ext
4875 5182
4876done 5183done
4877# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5184# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4878rm -f conftest.err conftest.$ac_ext 5185rm -f conftest.err conftest.$ac_ext
4879if $ac_preproc_ok; then : 5186if $ac_preproc_ok; then
4880 5187 :
4881else 5188else
4882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5189 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5190See \`config.log' for more details." >&5
4884as_fn_error "C preprocessor \"$CPP\" fails sanity check 5191$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4885See \`config.log' for more details." "$LINENO" 5; } 5192See \`config.log' for more details." >&2;}
5193 { (exit 1); exit 1; }; }
4886fi 5194fi
4887 5195
4888ac_ext=c 5196ac_ext=c
@@ -4905,10 +5213,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4905# OS/2's system install, which has a completely different semantic 5213# OS/2's system install, which has a completely different semantic
4906# ./install, which can be erroneously created by make from ./install.sh. 5214# ./install, which can be erroneously created by make from ./install.sh.
4907# Reject install programs that cannot install multiple files. 5215# Reject install programs that cannot install multiple files.
4908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5216{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4909$as_echo_n "checking for a BSD-compatible install... " >&6; } 5217$as_echo_n "checking for a BSD-compatible install... " >&6; }
4910if test -z "$INSTALL"; then 5218if test -z "$INSTALL"; then
4911if test "${ac_cv_path_install+set}" = set; then : 5219if test "${ac_cv_path_install+set}" = set; then
4912 $as_echo_n "(cached) " >&6 5220 $as_echo_n "(cached) " >&6
4913else 5221else
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4916,11 +5224,11 @@ for as_dir in $PATH
4916do 5224do
4917 IFS=$as_save_IFS 5225 IFS=$as_save_IFS
4918 test -z "$as_dir" && as_dir=. 5226 test -z "$as_dir" && as_dir=.
4919 # Account for people who put trailing slashes in PATH elements. 5227 # Account for people who put trailing slashes in PATH elements.
4920case $as_dir/ in #(( 5228case $as_dir/ in
4921 ./ | .// | /[cC]/* | \ 5229 ./ | .// | /cC/* | \
4922 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 5230 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4923 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 5231 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4924 /usr/ucb/* ) ;; 5232 /usr/ucb/* ) ;;
4925 *) 5233 *)
4926 # OSF1 and SCO ODT 3.0 have their own names for install. 5234 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -4957,7 +5265,7 @@ case $as_dir/ in #((
4957 ;; 5265 ;;
4958esac 5266esac
4959 5267
4960 done 5268done
4961IFS=$as_save_IFS 5269IFS=$as_save_IFS
4962 5270
4963rm -rf conftest.one conftest.two conftest.dir 5271rm -rf conftest.one conftest.two conftest.dir
@@ -4973,7 +5281,7 @@ fi
4973 INSTALL=$ac_install_sh 5281 INSTALL=$ac_install_sh
4974 fi 5282 fi
4975fi 5283fi
4976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 5284{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4977$as_echo "$INSTALL" >&6; } 5285$as_echo "$INSTALL" >&6; }
4978 5286
4979# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5287# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -4988,9 +5296,9 @@ if test "x$RANLIB" = x; then
4988 if test -n "$ac_tool_prefix"; then 5296 if test -n "$ac_tool_prefix"; then
4989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5297 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4990set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5298set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5299{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4992$as_echo_n "checking for $ac_word... " >&6; } 5300$as_echo_n "checking for $ac_word... " >&6; }
4993if test "${ac_cv_prog_RANLIB+set}" = set; then : 5301if test "${ac_cv_prog_RANLIB+set}" = set; then
4994 $as_echo_n "(cached) " >&6 5302 $as_echo_n "(cached) " >&6
4995else 5303else
4996 if test -n "$RANLIB"; then 5304 if test -n "$RANLIB"; then
@@ -5001,24 +5309,24 @@ for as_dir in $PATH
5001do 5309do
5002 IFS=$as_save_IFS 5310 IFS=$as_save_IFS
5003 test -z "$as_dir" && as_dir=. 5311 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do 5312 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5314 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5315 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 break 2 5316 break 2
5009 fi 5317 fi
5010done 5318done
5011 done 5319done
5012IFS=$as_save_IFS 5320IFS=$as_save_IFS
5013 5321
5014fi 5322fi
5015fi 5323fi
5016RANLIB=$ac_cv_prog_RANLIB 5324RANLIB=$ac_cv_prog_RANLIB
5017if test -n "$RANLIB"; then 5325if test -n "$RANLIB"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5326 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5019$as_echo "$RANLIB" >&6; } 5327$as_echo "$RANLIB" >&6; }
5020else 5328else
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5329 { $as_echo "$as_me:$LINENO: result: no" >&5
5022$as_echo "no" >&6; } 5330$as_echo "no" >&6; }
5023fi 5331fi
5024 5332
@@ -5028,9 +5336,9 @@ if test -z "$ac_cv_prog_RANLIB"; then
5028 ac_ct_RANLIB=$RANLIB 5336 ac_ct_RANLIB=$RANLIB
5029 # Extract the first word of "ranlib", so it can be a program name with args. 5337 # Extract the first word of "ranlib", so it can be a program name with args.
5030set dummy ranlib; ac_word=$2 5338set dummy ranlib; ac_word=$2
5031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5339{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5032$as_echo_n "checking for $ac_word... " >&6; } 5340$as_echo_n "checking for $ac_word... " >&6; }
5033if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5341if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5034 $as_echo_n "(cached) " >&6 5342 $as_echo_n "(cached) " >&6
5035else 5343else
5036 if test -n "$ac_ct_RANLIB"; then 5344 if test -n "$ac_ct_RANLIB"; then
@@ -5041,24 +5349,24 @@ for as_dir in $PATH
5041do 5349do
5042 IFS=$as_save_IFS 5350 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=. 5351 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do 5352 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_ac_ct_RANLIB="ranlib" 5354 ac_cv_prog_ac_ct_RANLIB="ranlib"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5355 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2 5356 break 2
5049 fi 5357 fi
5050done 5358done
5051 done 5359done
5052IFS=$as_save_IFS 5360IFS=$as_save_IFS
5053 5361
5054fi 5362fi
5055fi 5363fi
5056ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5364ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5057if test -n "$ac_ct_RANLIB"; then 5365if test -n "$ac_ct_RANLIB"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5366 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5059$as_echo "$ac_ct_RANLIB" >&6; } 5367$as_echo "$ac_ct_RANLIB" >&6; }
5060else 5368else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5369 { $as_echo "$as_me:$LINENO: result: no" >&5
5062$as_echo "no" >&6; } 5370$as_echo "no" >&6; }
5063fi 5371fi
5064 5372
@@ -5067,8 +5375,12 @@ fi
5067 else 5375 else
5068 case $cross_compiling:$ac_tool_warned in 5376 case $cross_compiling:$ac_tool_warned in
5069yes:) 5377yes:)
5070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5378{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5379whose name does not start with the host triplet. If you think this
5380configuration is useful to you, please write to autoconf@gnu.org." >&5
5381$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5382whose name does not start with the host triplet. If you think this
5383configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5072ac_tool_warned=yes ;; 5384ac_tool_warned=yes ;;
5073esac 5385esac
5074 RANLIB=$ac_ct_RANLIB 5386 RANLIB=$ac_ct_RANLIB
@@ -5080,9 +5392,9 @@ fi
5080fi 5392fi
5081# Extract the first word of "install-info", so it can be a program name with args. 5393# Extract the first word of "install-info", so it can be a program name with args.
5082set dummy install-info; ac_word=$2 5394set dummy install-info; ac_word=$2
5083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5084$as_echo_n "checking for $ac_word... " >&6; } 5396$as_echo_n "checking for $ac_word... " >&6; }
5085if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5397if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5086 $as_echo_n "(cached) " >&6 5398 $as_echo_n "(cached) " >&6
5087else 5399else
5088 case $INSTALL_INFO in 5400 case $INSTALL_INFO in
@@ -5095,14 +5407,14 @@ for as_dir in $PATH
5095do 5407do
5096 IFS=$as_save_IFS 5408 IFS=$as_save_IFS
5097 test -z "$as_dir" && as_dir=. 5409 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do 5410 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5100 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5412 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5413 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 break 2 5414 break 2
5103 fi 5415 fi
5104done 5416done
5105 done 5417done
5106IFS=$as_save_IFS 5418IFS=$as_save_IFS
5107 5419
5108 ;; 5420 ;;
@@ -5110,19 +5422,19 @@ esac
5110fi 5422fi
5111INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5423INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5112if test -n "$INSTALL_INFO"; then 5424if test -n "$INSTALL_INFO"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 5425 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5114$as_echo "$INSTALL_INFO" >&6; } 5426$as_echo "$INSTALL_INFO" >&6; }
5115else 5427else
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5428 { $as_echo "$as_me:$LINENO: result: no" >&5
5117$as_echo "no" >&6; } 5429$as_echo "no" >&6; }
5118fi 5430fi
5119 5431
5120 5432
5121# Extract the first word of "install-info", so it can be a program name with args. 5433# Extract the first word of "install-info", so it can be a program name with args.
5122set dummy install-info; ac_word=$2 5434set dummy install-info; ac_word=$2
5123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5435{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5124$as_echo_n "checking for $ac_word... " >&6; } 5436$as_echo_n "checking for $ac_word... " >&6; }
5125if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5437if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5126 $as_echo_n "(cached) " >&6 5438 $as_echo_n "(cached) " >&6
5127else 5439else
5128 case $INSTALL_INFO in 5440 case $INSTALL_INFO in
@@ -5135,14 +5447,14 @@ for as_dir in /usr/sbin
5135do 5447do
5136 IFS=$as_save_IFS 5448 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=. 5449 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do 5450 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5452 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5453 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 break 2 5454 break 2
5143 fi 5455 fi
5144done 5456done
5145 done 5457done
5146IFS=$as_save_IFS 5458IFS=$as_save_IFS
5147 5459
5148 ;; 5460 ;;
@@ -5150,19 +5462,19 @@ esac
5150fi 5462fi
5151INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5463INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5152if test -n "$INSTALL_INFO"; then 5464if test -n "$INSTALL_INFO"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 5465 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5154$as_echo "$INSTALL_INFO" >&6; } 5466$as_echo "$INSTALL_INFO" >&6; }
5155else 5467else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5468 { $as_echo "$as_me:$LINENO: result: no" >&5
5157$as_echo "no" >&6; } 5469$as_echo "no" >&6; }
5158fi 5470fi
5159 5471
5160 5472
5161# Extract the first word of "install-info", so it can be a program name with args. 5473# Extract the first word of "install-info", so it can be a program name with args.
5162set dummy install-info; ac_word=$2 5474set dummy install-info; ac_word=$2
5163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5475{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5164$as_echo_n "checking for $ac_word... " >&6; } 5476$as_echo_n "checking for $ac_word... " >&6; }
5165if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5477if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5166 $as_echo_n "(cached) " >&6 5478 $as_echo_n "(cached) " >&6
5167else 5479else
5168 case $INSTALL_INFO in 5480 case $INSTALL_INFO in
@@ -5175,14 +5487,14 @@ for as_dir in /sbin
5175do 5487do
5176 IFS=$as_save_IFS 5488 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=. 5489 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do 5490 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5492 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5493 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2 5494 break 2
5183 fi 5495 fi
5184done 5496done
5185 done 5497done
5186IFS=$as_save_IFS 5498IFS=$as_save_IFS
5187 5499
5188 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" 5500 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":"
@@ -5191,19 +5503,19 @@ esac
5191fi 5503fi
5192INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5504INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5193if test -n "$INSTALL_INFO"; then 5505if test -n "$INSTALL_INFO"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 5506 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5195$as_echo "$INSTALL_INFO" >&6; } 5507$as_echo "$INSTALL_INFO" >&6; }
5196else 5508else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5509 { $as_echo "$as_me:$LINENO: result: no" >&5
5198$as_echo "no" >&6; } 5510$as_echo "no" >&6; }
5199fi 5511fi
5200 5512
5201 5513
5202# Extract the first word of "gzip", so it can be a program name with args. 5514# Extract the first word of "gzip", so it can be a program name with args.
5203set dummy gzip; ac_word=$2 5515set dummy gzip; ac_word=$2
5204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5516{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5205$as_echo_n "checking for $ac_word... " >&6; } 5517$as_echo_n "checking for $ac_word... " >&6; }
5206if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 5518if test "${ac_cv_path_GZIP_PROG+set}" = set; then
5207 $as_echo_n "(cached) " >&6 5519 $as_echo_n "(cached) " >&6
5208else 5520else
5209 case $GZIP_PROG in 5521 case $GZIP_PROG in
@@ -5216,14 +5528,14 @@ for as_dir in $PATH
5216do 5528do
5217 IFS=$as_save_IFS 5529 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=. 5530 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do 5531 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5533 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5534 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2 5535 break 2
5224 fi 5536 fi
5225done 5537done
5226 done 5538done
5227IFS=$as_save_IFS 5539IFS=$as_save_IFS
5228 5540
5229 ;; 5541 ;;
@@ -5231,10 +5543,10 @@ esac
5231fi 5543fi
5232GZIP_PROG=$ac_cv_path_GZIP_PROG 5544GZIP_PROG=$ac_cv_path_GZIP_PROG
5233if test -n "$GZIP_PROG"; then 5545if test -n "$GZIP_PROG"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 5546 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
5235$as_echo "$GZIP_PROG" >&6; } 5547$as_echo "$GZIP_PROG" >&6; }
5236else 5548else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5549 { $as_echo "$as_me:$LINENO: result: no" >&5
5238$as_echo "no" >&6; } 5550$as_echo "no" >&6; }
5239fi 5551fi
5240 5552
@@ -5244,9 +5556,9 @@ fi
5244## Need makeinfo >= 4.6 (?) to build the manuals. 5556## Need makeinfo >= 4.6 (?) to build the manuals.
5245# Extract the first word of "makeinfo", so it can be a program name with args. 5557# Extract the first word of "makeinfo", so it can be a program name with args.
5246set dummy makeinfo; ac_word=$2 5558set dummy makeinfo; ac_word=$2
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5559{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5248$as_echo_n "checking for $ac_word... " >&6; } 5560$as_echo_n "checking for $ac_word... " >&6; }
5249if test "${ac_cv_path_MAKEINFO+set}" = set; then : 5561if test "${ac_cv_path_MAKEINFO+set}" = set; then
5250 $as_echo_n "(cached) " >&6 5562 $as_echo_n "(cached) " >&6
5251else 5563else
5252 case $MAKEINFO in 5564 case $MAKEINFO in
@@ -5259,14 +5571,14 @@ for as_dir in $PATH
5259do 5571do
5260 IFS=$as_save_IFS 5572 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=. 5573 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do 5574 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5264 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5576 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2 5578 break 2
5267 fi 5579 fi
5268done 5580done
5269 done 5581done
5270IFS=$as_save_IFS 5582IFS=$as_save_IFS
5271 5583
5272 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" 5584 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
@@ -5275,10 +5587,10 @@ esac
5275fi 5587fi
5276MAKEINFO=$ac_cv_path_MAKEINFO 5588MAKEINFO=$ac_cv_path_MAKEINFO
5277if test -n "$MAKEINFO"; then 5589if test -n "$MAKEINFO"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 5590 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5279$as_echo "$MAKEINFO" >&6; } 5591$as_echo "$MAKEINFO" >&6; }
5280else 5592else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5593 { $as_echo "$as_me:$LINENO: result: no" >&5
5282$as_echo "no" >&6; } 5594$as_echo "no" >&6; }
5283fi 5595fi
5284 5596
@@ -5301,10 +5613,15 @@ if test "$MAKEINFO" = "no"; then
5301 if test "x${with_makeinfo}" = "xno"; then 5613 if test "x${with_makeinfo}" = "xno"; then
5302 MAKEINFO=off 5614 MAKEINFO=off
5303 elif ! test -e $srcdir/info/emacs; then 5615 elif ! test -e $srcdir/info/emacs; then
5304 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5616 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your
5617source tree does not seem to have pre-built manuals in the \`info' directory.
5618Either install a suitable version of makeinfo, or re-run configure
5619with the \`--without-makeinfo' option to build without the manuals. " >&5
5620$as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5305source tree does not seem to have pre-built manuals in the \`info' directory. 5621source tree does not seem to have pre-built manuals in the \`info' directory.
5306Either install a suitable version of makeinfo, or re-run configure 5622Either install a suitable version of makeinfo, or re-run configure
5307with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5623with the \`--without-makeinfo' option to build without the manuals. " >&2;}
5624 { (exit 1); exit 1; }; }
5308 fi 5625 fi
5309fi 5626fi
5310 5627
@@ -5327,26 +5644,50 @@ else
5327 LDFLAGS="$LDFLAGS -znocombreloc" 5644 LDFLAGS="$LDFLAGS -znocombreloc"
5328fi 5645fi
5329 5646
5330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 5647{ $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5
5331$as_echo_n "checking for -znocombreloc... " >&6; } 5648$as_echo_n "checking for -znocombreloc... " >&6; }
5332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5649cat >conftest.$ac_ext <<_ACEOF
5333/* end confdefs.h. */
5334main(){return 0;} 5650main(){return 0;}
5335_ACEOF 5651_ACEOF
5336if ac_fn_c_try_link "$LINENO"; then : 5652rm -f conftest.$ac_objext conftest$ac_exeext
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5653if { (ac_try="$ac_link"
5654case "(($ac_try" in
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5657esac
5658eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5659$as_echo "$ac_try_echo") >&5
5660 (eval "$ac_link") 2>conftest.er1
5661 ac_status=$?
5662 grep -v '^ *+' conftest.er1 >conftest.err
5663 rm -f conftest.er1
5664 cat conftest.err >&5
5665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } && {
5667 test -z "$ac_c_werror_flag" ||
5668 test ! -s conftest.err
5669 } && test -s conftest$ac_exeext && {
5670 test "$cross_compiling" = yes ||
5671 $as_test_x conftest$ac_exeext
5672 }; then
5673 { $as_echo "$as_me:$LINENO: result: yes" >&5
5338$as_echo "yes" >&6; } 5674$as_echo "yes" >&6; }
5339else 5675else
5340 LDFLAGS=$late_LDFLAGS 5676 $as_echo "$as_me: failed program was:" >&5
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5677sed 's/^/| /' conftest.$ac_ext >&5
5678
5679 LDFLAGS=$late_LDFLAGS
5680 { $as_echo "$as_me:$LINENO: result: no" >&5
5342$as_echo "no" >&6; } 5681$as_echo "no" >&6; }
5343fi 5682fi
5344rm -f core conftest.err conftest.$ac_objext \ 5683
5345 conftest$ac_exeext conftest.$ac_ext 5684rm -rf conftest.dSYM
5685rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5686 conftest$ac_exeext conftest.$ac_ext
5346 5687
5347#### Extract some information from the operating system and machine files. 5688#### Extract some information from the operating system and machine files.
5348 5689
5349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out 5690{ $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
5350 - which libraries the lib-src programs will want, and 5691 - which libraries the lib-src programs will want, and
5351 - whether the GNU malloc routines are usable..." >&5 5692 - whether the GNU malloc routines are usable..." >&5
5352$as_echo "$as_me: checking the machine- and system-dependent files to find out 5693$as_echo "$as_me: checking the machine- and system-dependent files to find out
@@ -5494,15 +5835,15 @@ fi
5494 5835
5495 5836
5496# Check whether --enable-largefile was given. 5837# Check whether --enable-largefile was given.
5497if test "${enable_largefile+set}" = set; then : 5838if test "${enable_largefile+set}" = set; then
5498 enableval=$enable_largefile; 5839 enableval=$enable_largefile;
5499fi 5840fi
5500 5841
5501if test "$enable_largefile" != no; then 5842if test "$enable_largefile" != no; then
5502 5843
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5844 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5504$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5845$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5505if test "${ac_cv_sys_largefile_CC+set}" = set; then : 5846if test "${ac_cv_sys_largefile_CC+set}" = set; then
5506 $as_echo_n "(cached) " >&6 5847 $as_echo_n "(cached) " >&6
5507else 5848else
5508 ac_cv_sys_largefile_CC=no 5849 ac_cv_sys_largefile_CC=no
@@ -5511,7 +5852,11 @@ else
5511 while :; do 5852 while :; do
5512 # IRIX 6.2 and later do not support large files by default, 5853 # IRIX 6.2 and later do not support large files by default,
5513 # so use the C compiler's -n32 option if that helps. 5854 # so use the C compiler's -n32 option if that helps.
5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5855 cat >conftest.$ac_ext <<_ACEOF
5856/* confdefs.h. */
5857_ACEOF
5858cat confdefs.h >>conftest.$ac_ext
5859cat >>conftest.$ac_ext <<_ACEOF
5515/* end confdefs.h. */ 5860/* end confdefs.h. */
5516#include <sys/types.h> 5861#include <sys/types.h>
5517 /* Check that off_t can represent 2**63 - 1 correctly. 5862 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5530,14 +5875,60 @@ main ()
5530 return 0; 5875 return 0;
5531} 5876}
5532_ACEOF 5877_ACEOF
5533 if ac_fn_c_try_compile "$LINENO"; then : 5878 rm -f conftest.$ac_objext
5879if { (ac_try="$ac_compile"
5880case "(($ac_try" in
5881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5882 *) ac_try_echo=$ac_try;;
5883esac
5884eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5885$as_echo "$ac_try_echo") >&5
5886 (eval "$ac_compile") 2>conftest.er1
5887 ac_status=$?
5888 grep -v '^ *+' conftest.er1 >conftest.err
5889 rm -f conftest.er1
5890 cat conftest.err >&5
5891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } && {
5893 test -z "$ac_c_werror_flag" ||
5894 test ! -s conftest.err
5895 } && test -s conftest.$ac_objext; then
5534 break 5896 break
5897else
5898 $as_echo "$as_me: failed program was:" >&5
5899sed 's/^/| /' conftest.$ac_ext >&5
5900
5901
5535fi 5902fi
5903
5536rm -f core conftest.err conftest.$ac_objext 5904rm -f core conftest.err conftest.$ac_objext
5537 CC="$CC -n32" 5905 CC="$CC -n32"
5538 if ac_fn_c_try_compile "$LINENO"; then : 5906 rm -f conftest.$ac_objext
5907if { (ac_try="$ac_compile"
5908case "(($ac_try" in
5909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5910 *) ac_try_echo=$ac_try;;
5911esac
5912eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5913$as_echo "$ac_try_echo") >&5
5914 (eval "$ac_compile") 2>conftest.er1
5915 ac_status=$?
5916 grep -v '^ *+' conftest.er1 >conftest.err
5917 rm -f conftest.er1
5918 cat conftest.err >&5
5919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } && {
5921 test -z "$ac_c_werror_flag" ||
5922 test ! -s conftest.err
5923 } && test -s conftest.$ac_objext; then
5539 ac_cv_sys_largefile_CC=' -n32'; break 5924 ac_cv_sys_largefile_CC=' -n32'; break
5925else
5926 $as_echo "$as_me: failed program was:" >&5
5927sed 's/^/| /' conftest.$ac_ext >&5
5928
5929
5540fi 5930fi
5931
5541rm -f core conftest.err conftest.$ac_objext 5932rm -f core conftest.err conftest.$ac_objext
5542 break 5933 break
5543 done 5934 done
@@ -5545,19 +5936,23 @@ rm -f core conftest.err conftest.$ac_objext
5545 rm -f conftest.$ac_ext 5936 rm -f conftest.$ac_ext
5546 fi 5937 fi
5547fi 5938fi
5548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 5939{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5549$as_echo "$ac_cv_sys_largefile_CC" >&6; } 5940$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5550 if test "$ac_cv_sys_largefile_CC" != no; then 5941 if test "$ac_cv_sys_largefile_CC" != no; then
5551 CC=$CC$ac_cv_sys_largefile_CC 5942 CC=$CC$ac_cv_sys_largefile_CC
5552 fi 5943 fi
5553 5944
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5945 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5555$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5946$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5556if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 5947if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5557 $as_echo_n "(cached) " >&6 5948 $as_echo_n "(cached) " >&6
5558else 5949else
5559 while :; do 5950 while :; do
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5951 cat >conftest.$ac_ext <<_ACEOF
5952/* confdefs.h. */
5953_ACEOF
5954cat confdefs.h >>conftest.$ac_ext
5955cat >>conftest.$ac_ext <<_ACEOF
5561/* end confdefs.h. */ 5956/* end confdefs.h. */
5562#include <sys/types.h> 5957#include <sys/types.h>
5563 /* Check that off_t can represent 2**63 - 1 correctly. 5958 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5576,11 +5971,38 @@ main ()
5576 return 0; 5971 return 0;
5577} 5972}
5578_ACEOF 5973_ACEOF
5579if ac_fn_c_try_compile "$LINENO"; then : 5974rm -f conftest.$ac_objext
5975if { (ac_try="$ac_compile"
5976case "(($ac_try" in
5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5979esac
5980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5981$as_echo "$ac_try_echo") >&5
5982 (eval "$ac_compile") 2>conftest.er1
5983 ac_status=$?
5984 grep -v '^ *+' conftest.er1 >conftest.err
5985 rm -f conftest.er1
5986 cat conftest.err >&5
5987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } && {
5989 test -z "$ac_c_werror_flag" ||
5990 test ! -s conftest.err
5991 } && test -s conftest.$ac_objext; then
5580 ac_cv_sys_file_offset_bits=no; break 5992 ac_cv_sys_file_offset_bits=no; break
5993else
5994 $as_echo "$as_me: failed program was:" >&5
5995sed 's/^/| /' conftest.$ac_ext >&5
5996
5997
5581fi 5998fi
5999
5582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6001 cat >conftest.$ac_ext <<_ACEOF
6002/* confdefs.h. */
6003_ACEOF
6004cat confdefs.h >>conftest.$ac_ext
6005cat >>conftest.$ac_ext <<_ACEOF
5584/* end confdefs.h. */ 6006/* end confdefs.h. */
5585#define _FILE_OFFSET_BITS 64 6007#define _FILE_OFFSET_BITS 64
5586#include <sys/types.h> 6008#include <sys/types.h>
@@ -5600,15 +6022,38 @@ main ()
5600 return 0; 6022 return 0;
5601} 6023}
5602_ACEOF 6024_ACEOF
5603if ac_fn_c_try_compile "$LINENO"; then : 6025rm -f conftest.$ac_objext
6026if { (ac_try="$ac_compile"
6027case "(($ac_try" in
6028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6029 *) ac_try_echo=$ac_try;;
6030esac
6031eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6032$as_echo "$ac_try_echo") >&5
6033 (eval "$ac_compile") 2>conftest.er1
6034 ac_status=$?
6035 grep -v '^ *+' conftest.er1 >conftest.err
6036 rm -f conftest.er1
6037 cat conftest.err >&5
6038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } && {
6040 test -z "$ac_c_werror_flag" ||
6041 test ! -s conftest.err
6042 } && test -s conftest.$ac_objext; then
5604 ac_cv_sys_file_offset_bits=64; break 6043 ac_cv_sys_file_offset_bits=64; break
6044else
6045 $as_echo "$as_me: failed program was:" >&5
6046sed 's/^/| /' conftest.$ac_ext >&5
6047
6048
5605fi 6049fi
6050
5606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5607 ac_cv_sys_file_offset_bits=unknown 6052 ac_cv_sys_file_offset_bits=unknown
5608 break 6053 break
5609done 6054done
5610fi 6055fi
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 6056{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5612$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 6057$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5613case $ac_cv_sys_file_offset_bits in #( 6058case $ac_cv_sys_file_offset_bits in #(
5614 no | unknown) ;; 6059 no | unknown) ;;
@@ -5620,13 +6065,17 @@ _ACEOF
5620esac 6065esac
5621rm -rf conftest* 6066rm -rf conftest*
5622 if test $ac_cv_sys_file_offset_bits = unknown; then 6067 if test $ac_cv_sys_file_offset_bits = unknown; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 6068 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5624$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 6069$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5625if test "${ac_cv_sys_large_files+set}" = set; then : 6070if test "${ac_cv_sys_large_files+set}" = set; then
5626 $as_echo_n "(cached) " >&6 6071 $as_echo_n "(cached) " >&6
5627else 6072else
5628 while :; do 6073 while :; do
5629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6074 cat >conftest.$ac_ext <<_ACEOF
6075/* confdefs.h. */
6076_ACEOF
6077cat confdefs.h >>conftest.$ac_ext
6078cat >>conftest.$ac_ext <<_ACEOF
5630/* end confdefs.h. */ 6079/* end confdefs.h. */
5631#include <sys/types.h> 6080#include <sys/types.h>
5632 /* Check that off_t can represent 2**63 - 1 correctly. 6081 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5645,11 +6094,38 @@ main ()
5645 return 0; 6094 return 0;
5646} 6095}
5647_ACEOF 6096_ACEOF
5648if ac_fn_c_try_compile "$LINENO"; then : 6097rm -f conftest.$ac_objext
6098if { (ac_try="$ac_compile"
6099case "(($ac_try" in
6100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101 *) ac_try_echo=$ac_try;;
6102esac
6103eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6104$as_echo "$ac_try_echo") >&5
6105 (eval "$ac_compile") 2>conftest.er1
6106 ac_status=$?
6107 grep -v '^ *+' conftest.er1 >conftest.err
6108 rm -f conftest.er1
6109 cat conftest.err >&5
6110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } && {
6112 test -z "$ac_c_werror_flag" ||
6113 test ! -s conftest.err
6114 } && test -s conftest.$ac_objext; then
5649 ac_cv_sys_large_files=no; break 6115 ac_cv_sys_large_files=no; break
6116else
6117 $as_echo "$as_me: failed program was:" >&5
6118sed 's/^/| /' conftest.$ac_ext >&5
6119
6120
5650fi 6121fi
6122
5651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6124 cat >conftest.$ac_ext <<_ACEOF
6125/* confdefs.h. */
6126_ACEOF
6127cat confdefs.h >>conftest.$ac_ext
6128cat >>conftest.$ac_ext <<_ACEOF
5653/* end confdefs.h. */ 6129/* end confdefs.h. */
5654#define _LARGE_FILES 1 6130#define _LARGE_FILES 1
5655#include <sys/types.h> 6131#include <sys/types.h>
@@ -5669,15 +6145,38 @@ main ()
5669 return 0; 6145 return 0;
5670} 6146}
5671_ACEOF 6147_ACEOF
5672if ac_fn_c_try_compile "$LINENO"; then : 6148rm -f conftest.$ac_objext
6149if { (ac_try="$ac_compile"
6150case "(($ac_try" in
6151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6152 *) ac_try_echo=$ac_try;;
6153esac
6154eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6155$as_echo "$ac_try_echo") >&5
6156 (eval "$ac_compile") 2>conftest.er1
6157 ac_status=$?
6158 grep -v '^ *+' conftest.er1 >conftest.err
6159 rm -f conftest.er1
6160 cat conftest.err >&5
6161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && {
6163 test -z "$ac_c_werror_flag" ||
6164 test ! -s conftest.err
6165 } && test -s conftest.$ac_objext; then
5673 ac_cv_sys_large_files=1; break 6166 ac_cv_sys_large_files=1; break
6167else
6168 $as_echo "$as_me: failed program was:" >&5
6169sed 's/^/| /' conftest.$ac_ext >&5
6170
6171
5674fi 6172fi
6173
5675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5676 ac_cv_sys_large_files=unknown 6175 ac_cv_sys_large_files=unknown
5677 break 6176 break
5678done 6177done
5679fi 6178fi
5680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 6179{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5681$as_echo "$ac_cv_sys_large_files" >&6; } 6180$as_echo "$ac_cv_sys_large_files" >&6; }
5682case $ac_cv_sys_large_files in #( 6181case $ac_cv_sys_large_files in #(
5683 no | unknown) ;; 6182 no | unknown) ;;
@@ -5701,7 +6200,9 @@ case "${canonical}" in
5701 x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) 6200 x86_64-*-linux-gnu* | s390x-*-linux-gnu* )
5702 if test -e /usr/lib64/crtn.o; then 6201 if test -e /usr/lib64/crtn.o; then
5703 6202
5704$as_echo "#define HAVE_LIB64_DIR 1" >>confdefs.h 6203cat >>confdefs.h <<\_ACEOF
6204#define HAVE_LIB64_DIR 1
6205_ACEOF
5705 6206
5706fi 6207fi
5707esac 6208esac
@@ -5711,12 +6212,145 @@ esac
5711 6212
5712if test "${with_sound}" != "no"; then 6213if test "${with_sound}" != "no"; then
5713 # Sound support for GNU/Linux and the free BSDs. 6214 # Sound support for GNU/Linux and the free BSDs.
5714 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6215
5715do : 6216
5716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6217
5717ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6218for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5718eval as_val=\$$as_ac_Header 6219do
5719 if test "x$as_val" = x""yes; then : 6220as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6221if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6222 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6223$as_echo_n "checking for $ac_header... " >&6; }
6224if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6225 $as_echo_n "(cached) " >&6
6226fi
6227ac_res=`eval 'as_val=${'$as_ac_Header'}
6228 $as_echo "$as_val"'`
6229 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6230$as_echo "$ac_res" >&6; }
6231else
6232 # Is the header compilable?
6233{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6234$as_echo_n "checking $ac_header usability... " >&6; }
6235cat >conftest.$ac_ext <<_ACEOF
6236/* confdefs.h. */
6237_ACEOF
6238cat confdefs.h >>conftest.$ac_ext
6239cat >>conftest.$ac_ext <<_ACEOF
6240/* end confdefs.h. */
6241$ac_includes_default
6242#include <$ac_header>
6243_ACEOF
6244rm -f conftest.$ac_objext
6245if { (ac_try="$ac_compile"
6246case "(($ac_try" in
6247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6248 *) ac_try_echo=$ac_try;;
6249esac
6250eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6251$as_echo "$ac_try_echo") >&5
6252 (eval "$ac_compile") 2>conftest.er1
6253 ac_status=$?
6254 grep -v '^ *+' conftest.er1 >conftest.err
6255 rm -f conftest.er1
6256 cat conftest.err >&5
6257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } && {
6259 test -z "$ac_c_werror_flag" ||
6260 test ! -s conftest.err
6261 } && test -s conftest.$ac_objext; then
6262 ac_header_compiler=yes
6263else
6264 $as_echo "$as_me: failed program was:" >&5
6265sed 's/^/| /' conftest.$ac_ext >&5
6266
6267 ac_header_compiler=no
6268fi
6269
6270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6271{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6272$as_echo "$ac_header_compiler" >&6; }
6273
6274# Is the header present?
6275{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6276$as_echo_n "checking $ac_header presence... " >&6; }
6277cat >conftest.$ac_ext <<_ACEOF
6278/* confdefs.h. */
6279_ACEOF
6280cat confdefs.h >>conftest.$ac_ext
6281cat >>conftest.$ac_ext <<_ACEOF
6282/* end confdefs.h. */
6283#include <$ac_header>
6284_ACEOF
6285if { (ac_try="$ac_cpp conftest.$ac_ext"
6286case "(($ac_try" in
6287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6288 *) ac_try_echo=$ac_try;;
6289esac
6290eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6291$as_echo "$ac_try_echo") >&5
6292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6293 ac_status=$?
6294 grep -v '^ *+' conftest.er1 >conftest.err
6295 rm -f conftest.er1
6296 cat conftest.err >&5
6297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); } >/dev/null && {
6299 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6300 test ! -s conftest.err
6301 }; then
6302 ac_header_preproc=yes
6303else
6304 $as_echo "$as_me: failed program was:" >&5
6305sed 's/^/| /' conftest.$ac_ext >&5
6306
6307 ac_header_preproc=no
6308fi
6309
6310rm -f conftest.err conftest.$ac_ext
6311{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6312$as_echo "$ac_header_preproc" >&6; }
6313
6314# So? What about this header?
6315case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6316 yes:no: )
6317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6318$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6320$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6321 ac_header_preproc=yes
6322 ;;
6323 no:yes:* )
6324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6325$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6327$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6329$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6331$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6333$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6335$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6336
6337 ;;
6338esac
6339{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6340$as_echo_n "checking for $ac_header... " >&6; }
6341if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6342 $as_echo_n "(cached) " >&6
6343else
6344 eval "$as_ac_Header=\$ac_header_preproc"
6345fi
6346ac_res=`eval 'as_val=${'$as_ac_Header'}
6347 $as_echo "$as_val"'`
6348 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6349$as_echo "$ac_res" >&6; }
6350
6351fi
6352if test `eval 'as_val=${'$as_ac_Header'}
6353 $as_echo "$as_val"'` = yes; then
5720 cat >>confdefs.h <<_ACEOF 6354 cat >>confdefs.h <<_ACEOF
5721#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6355#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5722_ACEOF 6356_ACEOF
@@ -5726,14 +6360,18 @@ fi
5726done 6360done
5727 6361
5728 # Emulation library used on NetBSD. 6362 # Emulation library used on NetBSD.
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 6363 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5730$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 6364$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5731if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 6365if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5732 $as_echo_n "(cached) " >&6 6366 $as_echo_n "(cached) " >&6
5733else 6367else
5734 ac_check_lib_save_LIBS=$LIBS 6368 ac_check_lib_save_LIBS=$LIBS
5735LIBS="-lossaudio $LIBS" 6369LIBS="-lossaudio $LIBS"
5736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6370cat >conftest.$ac_ext <<_ACEOF
6371/* confdefs.h. */
6372_ACEOF
6373cat confdefs.h >>conftest.$ac_ext
6374cat >>conftest.$ac_ext <<_ACEOF
5737/* end confdefs.h. */ 6375/* end confdefs.h. */
5738 6376
5739/* Override any GCC internal prototype to avoid an error. 6377/* Override any GCC internal prototype to avoid an error.
@@ -5751,18 +6389,43 @@ return _oss_ioctl ();
5751 return 0; 6389 return 0;
5752} 6390}
5753_ACEOF 6391_ACEOF
5754if ac_fn_c_try_link "$LINENO"; then : 6392rm -f conftest.$ac_objext conftest$ac_exeext
6393if { (ac_try="$ac_link"
6394case "(($ac_try" in
6395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6396 *) ac_try_echo=$ac_try;;
6397esac
6398eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6399$as_echo "$ac_try_echo") >&5
6400 (eval "$ac_link") 2>conftest.er1
6401 ac_status=$?
6402 grep -v '^ *+' conftest.er1 >conftest.err
6403 rm -f conftest.er1
6404 cat conftest.err >&5
6405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } && {
6407 test -z "$ac_c_werror_flag" ||
6408 test ! -s conftest.err
6409 } && test -s conftest$ac_exeext && {
6410 test "$cross_compiling" = yes ||
6411 $as_test_x conftest$ac_exeext
6412 }; then
5755 ac_cv_lib_ossaudio__oss_ioctl=yes 6413 ac_cv_lib_ossaudio__oss_ioctl=yes
5756else 6414else
5757 ac_cv_lib_ossaudio__oss_ioctl=no 6415 $as_echo "$as_me: failed program was:" >&5
6416sed 's/^/| /' conftest.$ac_ext >&5
6417
6418 ac_cv_lib_ossaudio__oss_ioctl=no
5758fi 6419fi
5759rm -f core conftest.err conftest.$ac_objext \ 6420
5760 conftest$ac_exeext conftest.$ac_ext 6421rm -rf conftest.dSYM
6422rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6423 conftest$ac_exeext conftest.$ac_ext
5761LIBS=$ac_check_lib_save_LIBS 6424LIBS=$ac_check_lib_save_LIBS
5762fi 6425fi
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6426{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5764$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6427$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5765if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 6428if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5766 LIBSOUND=-lossaudio 6429 LIBSOUND=-lossaudio
5767else 6430else
5768 LIBSOUND= 6431 LIBSOUND=
@@ -5777,9 +6440,9 @@ fi
5777 6440
5778 # Extract the first word of "pkg-config", so it can be a program name with args. 6441 # Extract the first word of "pkg-config", so it can be a program name with args.
5779set dummy pkg-config; ac_word=$2 6442set dummy pkg-config; ac_word=$2
5780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6443{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5781$as_echo_n "checking for $ac_word... " >&6; } 6444$as_echo_n "checking for $ac_word... " >&6; }
5782if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6445if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5783 $as_echo_n "(cached) " >&6 6446 $as_echo_n "(cached) " >&6
5784else 6447else
5785 case $PKG_CONFIG in 6448 case $PKG_CONFIG in
@@ -5792,14 +6455,14 @@ for as_dir in $PATH
5792do 6455do
5793 IFS=$as_save_IFS 6456 IFS=$as_save_IFS
5794 test -z "$as_dir" && as_dir=. 6457 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do 6458 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5797 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6460 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2 6462 break 2
5800 fi 6463 fi
5801done 6464done
5802 done 6465done
5803IFS=$as_save_IFS 6466IFS=$as_save_IFS
5804 6467
5805 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 6468 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -5808,10 +6471,10 @@ esac
5808fi 6471fi
5809PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6472PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5810if test -n "$PKG_CONFIG"; then 6473if test -n "$PKG_CONFIG"; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6474 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5812$as_echo "$PKG_CONFIG" >&6; } 6475$as_echo "$PKG_CONFIG" >&6; }
5813else 6476else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6477 { $as_echo "$as_me:$LINENO: result: no" >&5
5815$as_echo "no" >&6; } 6478$as_echo "no" >&6; }
5816fi 6479fi
5817 6480
@@ -5822,27 +6485,27 @@ fi
5822 else 6485 else
5823 PKG_CONFIG_MIN_VERSION=0.9.0 6486 PKG_CONFIG_MIN_VERSION=0.9.0
5824 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6487 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 6488 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
5826$as_echo_n "checking for $ALSA_MODULES... " >&6; } 6489$as_echo_n "checking for $ALSA_MODULES... " >&6; }
5827 6490
5828 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6491 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6492 { $as_echo "$as_me:$LINENO: result: yes" >&5
5830$as_echo "yes" >&6; } 6493$as_echo "yes" >&6; }
5831 succeeded=yes 6494 succeeded=yes
5832 6495
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 6496 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
5834$as_echo_n "checking ALSA_CFLAGS... " >&6; } 6497$as_echo_n "checking ALSA_CFLAGS... " >&6; }
5835 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6498 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 6499 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
5837$as_echo "$ALSA_CFLAGS" >&6; } 6500$as_echo "$ALSA_CFLAGS" >&6; }
5838 6501
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 6502 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
5840$as_echo_n "checking ALSA_LIBS... " >&6; } 6503$as_echo_n "checking ALSA_LIBS... " >&6; }
5841 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6504 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 6505 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
5843$as_echo "$ALSA_LIBS" >&6; } 6506$as_echo "$ALSA_LIBS" >&6; }
5844 else 6507 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6508 { $as_echo "$as_me:$LINENO: result: no" >&5
5846$as_echo "no" >&6; } 6509$as_echo "no" >&6; }
5847 ALSA_CFLAGS="" 6510 ALSA_CFLAGS=""
5848 ALSA_LIBS="" 6511 ALSA_LIBS=""
@@ -5871,7 +6534,11 @@ $as_echo "no" >&6; }
5871 SAVE_LDFLAGS="$LDFLAGS" 6534 SAVE_LDFLAGS="$LDFLAGS"
5872 CFLAGS="$ALSA_CFLAGS $CFLAGS" 6535 CFLAGS="$ALSA_CFLAGS $CFLAGS"
5873 LDFLAGS="$ALSA_LIBS $LDFLAGS" 6536 LDFLAGS="$ALSA_LIBS $LDFLAGS"
5874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6537 cat >conftest.$ac_ext <<_ACEOF
6538/* confdefs.h. */
6539_ACEOF
6540cat confdefs.h >>conftest.$ac_ext
6541cat >>conftest.$ac_ext <<_ACEOF
5875/* end confdefs.h. */ 6542/* end confdefs.h. */
5876#include <asoundlib.h> 6543#include <asoundlib.h>
5877int 6544int
@@ -5882,14 +6549,39 @@ snd_lib_error_set_handler (0);
5882 return 0; 6549 return 0;
5883} 6550}
5884_ACEOF 6551_ACEOF
5885if ac_fn_c_try_compile "$LINENO"; then : 6552rm -f conftest.$ac_objext
6553if { (ac_try="$ac_compile"
6554case "(($ac_try" in
6555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6556 *) ac_try_echo=$ac_try;;
6557esac
6558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6559$as_echo "$ac_try_echo") >&5
6560 (eval "$ac_compile") 2>conftest.er1
6561 ac_status=$?
6562 grep -v '^ *+' conftest.er1 >conftest.err
6563 rm -f conftest.er1
6564 cat conftest.err >&5
6565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } && {
6567 test -z "$ac_c_werror_flag" ||
6568 test ! -s conftest.err
6569 } && test -s conftest.$ac_objext; then
5886 emacs_alsa_normal=yes 6570 emacs_alsa_normal=yes
5887else 6571else
5888 emacs_alsa_normal=no 6572 $as_echo "$as_me: failed program was:" >&5
6573sed 's/^/| /' conftest.$ac_ext >&5
6574
6575 emacs_alsa_normal=no
5889fi 6576fi
6577
5890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 if test "$emacs_alsa_normal" != yes; then 6579 if test "$emacs_alsa_normal" != yes; then
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6580 cat >conftest.$ac_ext <<_ACEOF
6581/* confdefs.h. */
6582_ACEOF
6583cat confdefs.h >>conftest.$ac_ext
6584cat >>conftest.$ac_ext <<_ACEOF
5893/* end confdefs.h. */ 6585/* end confdefs.h. */
5894#include <alsa/asoundlib.h> 6586#include <alsa/asoundlib.h>
5895int 6587int
@@ -5900,14 +6592,37 @@ snd_lib_error_set_handler (0);
5900 return 0; 6592 return 0;
5901} 6593}
5902_ACEOF 6594_ACEOF
5903if ac_fn_c_try_compile "$LINENO"; then : 6595rm -f conftest.$ac_objext
6596if { (ac_try="$ac_compile"
6597case "(($ac_try" in
6598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6599 *) ac_try_echo=$ac_try;;
6600esac
6601eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6602$as_echo "$ac_try_echo") >&5
6603 (eval "$ac_compile") 2>conftest.er1
6604 ac_status=$?
6605 grep -v '^ *+' conftest.er1 >conftest.err
6606 rm -f conftest.er1
6607 cat conftest.err >&5
6608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && {
6610 test -z "$ac_c_werror_flag" ||
6611 test ! -s conftest.err
6612 } && test -s conftest.$ac_objext; then
5904 emacs_alsa_subdir=yes 6613 emacs_alsa_subdir=yes
5905else 6614else
5906 emacs_alsa_subdir=no 6615 $as_echo "$as_me: failed program was:" >&5
6616sed 's/^/| /' conftest.$ac_ext >&5
6617
6618 emacs_alsa_subdir=no
5907fi 6619fi
6620
5908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 if test "$emacs_alsa_subdir" != yes; then 6622 if test "$emacs_alsa_subdir" != yes; then
5910 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6623 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5
6624$as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6625 { (exit 1); exit 1; }; }
5911 fi 6626 fi
5912 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6627 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
5913 fi 6628 fi
@@ -5917,22 +6632,180 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5917 LIBSOUND="$LIBSOUND $ALSA_LIBS" 6632 LIBSOUND="$LIBSOUND $ALSA_LIBS"
5918 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" 6633 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
5919 6634
5920$as_echo "#define HAVE_ALSA 1" >>confdefs.h 6635cat >>confdefs.h <<\_ACEOF
6636#define HAVE_ALSA 1
6637_ACEOF
5921 6638
5922 fi 6639 fi
5923 6640
5924fi 6641fi
5925 6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
5926for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 6669for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
5927 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6670 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
5928 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6671 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
5929 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6672 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
5930 sys/utsname.h pwd.h utmp.h 6673 sys/utsname.h pwd.h utmp.h
5931do : 6674do
5932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6675as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5933ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6676if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5934eval as_val=\$$as_ac_Header 6677 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5935 if test "x$as_val" = x""yes; then : 6678$as_echo_n "checking for $ac_header... " >&6; }
6679if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6680 $as_echo_n "(cached) " >&6
6681fi
6682ac_res=`eval 'as_val=${'$as_ac_Header'}
6683 $as_echo "$as_val"'`
6684 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6685$as_echo "$ac_res" >&6; }
6686else
6687 # Is the header compilable?
6688{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6689$as_echo_n "checking $ac_header usability... " >&6; }
6690cat >conftest.$ac_ext <<_ACEOF
6691/* confdefs.h. */
6692_ACEOF
6693cat confdefs.h >>conftest.$ac_ext
6694cat >>conftest.$ac_ext <<_ACEOF
6695/* end confdefs.h. */
6696$ac_includes_default
6697#include <$ac_header>
6698_ACEOF
6699rm -f conftest.$ac_objext
6700if { (ac_try="$ac_compile"
6701case "(($ac_try" in
6702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6703 *) ac_try_echo=$ac_try;;
6704esac
6705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6706$as_echo "$ac_try_echo") >&5
6707 (eval "$ac_compile") 2>conftest.er1
6708 ac_status=$?
6709 grep -v '^ *+' conftest.er1 >conftest.err
6710 rm -f conftest.er1
6711 cat conftest.err >&5
6712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); } && {
6714 test -z "$ac_c_werror_flag" ||
6715 test ! -s conftest.err
6716 } && test -s conftest.$ac_objext; then
6717 ac_header_compiler=yes
6718else
6719 $as_echo "$as_me: failed program was:" >&5
6720sed 's/^/| /' conftest.$ac_ext >&5
6721
6722 ac_header_compiler=no
6723fi
6724
6725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6726{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6727$as_echo "$ac_header_compiler" >&6; }
6728
6729# Is the header present?
6730{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6731$as_echo_n "checking $ac_header presence... " >&6; }
6732cat >conftest.$ac_ext <<_ACEOF
6733/* confdefs.h. */
6734_ACEOF
6735cat confdefs.h >>conftest.$ac_ext
6736cat >>conftest.$ac_ext <<_ACEOF
6737/* end confdefs.h. */
6738#include <$ac_header>
6739_ACEOF
6740if { (ac_try="$ac_cpp conftest.$ac_ext"
6741case "(($ac_try" in
6742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6743 *) ac_try_echo=$ac_try;;
6744esac
6745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6746$as_echo "$ac_try_echo") >&5
6747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6748 ac_status=$?
6749 grep -v '^ *+' conftest.er1 >conftest.err
6750 rm -f conftest.er1
6751 cat conftest.err >&5
6752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); } >/dev/null && {
6754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6755 test ! -s conftest.err
6756 }; then
6757 ac_header_preproc=yes
6758else
6759 $as_echo "$as_me: failed program was:" >&5
6760sed 's/^/| /' conftest.$ac_ext >&5
6761
6762 ac_header_preproc=no
6763fi
6764
6765rm -f conftest.err conftest.$ac_ext
6766{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6767$as_echo "$ac_header_preproc" >&6; }
6768
6769# So? What about this header?
6770case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6771 yes:no: )
6772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6773$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6775$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6776 ac_header_preproc=yes
6777 ;;
6778 no:yes:* )
6779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6780$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6782$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6784$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6786$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6788$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6790$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6791
6792 ;;
6793esac
6794{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6795$as_echo_n "checking for $ac_header... " >&6; }
6796if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6797 $as_echo_n "(cached) " >&6
6798else
6799 eval "$as_ac_Header=\$ac_header_preproc"
6800fi
6801ac_res=`eval 'as_val=${'$as_ac_Header'}
6802 $as_echo "$as_val"'`
6803 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6804$as_echo "$ac_res" >&6; }
6805
6806fi
6807if test `eval 'as_val=${'$as_ac_Header'}
6808 $as_echo "$as_val"'` = yes; then
5936 cat >>confdefs.h <<_ACEOF 6809 cat >>confdefs.h <<_ACEOF
5937#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6810#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5938_ACEOF 6811_ACEOF
@@ -5942,9 +6815,13 @@ fi
5942done 6815done
5943 6816
5944 6817
5945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 6818{ $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5946$as_echo_n "checking if personality LINUX32 can be set... " >&6; } 6819$as_echo_n "checking if personality LINUX32 can be set... " >&6; }
5947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6820cat >conftest.$ac_ext <<_ACEOF
6821/* confdefs.h. */
6822_ACEOF
6823cat confdefs.h >>conftest.$ac_ext
6824cat >>conftest.$ac_ext <<_ACEOF
5948/* end confdefs.h. */ 6825/* end confdefs.h. */
5949#include <sys/personality.h> 6826#include <sys/personality.h>
5950int 6827int
@@ -5955,39 +6832,112 @@ personality (PER_LINUX32)
5955 return 0; 6832 return 0;
5956} 6833}
5957_ACEOF 6834_ACEOF
5958if ac_fn_c_try_compile "$LINENO"; then : 6835rm -f conftest.$ac_objext
6836if { (ac_try="$ac_compile"
6837case "(($ac_try" in
6838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6839 *) ac_try_echo=$ac_try;;
6840esac
6841eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6842$as_echo "$ac_try_echo") >&5
6843 (eval "$ac_compile") 2>conftest.er1
6844 ac_status=$?
6845 grep -v '^ *+' conftest.er1 >conftest.err
6846 rm -f conftest.er1
6847 cat conftest.err >&5
6848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest.$ac_objext; then
5959 emacs_cv_personality_linux32=yes 6853 emacs_cv_personality_linux32=yes
5960else 6854else
5961 emacs_cv_personality_linux32=no 6855 $as_echo "$as_me: failed program was:" >&5
6856sed 's/^/| /' conftest.$ac_ext >&5
6857
6858 emacs_cv_personality_linux32=no
5962fi 6859fi
6860
5963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 6862{ $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5965$as_echo "$emacs_cv_personality_linux32" >&6; } 6863$as_echo "$emacs_cv_personality_linux32" >&6; }
5966 6864
5967if test $emacs_cv_personality_linux32 = yes; then 6865if test $emacs_cv_personality_linux32 = yes; then
5968 6866
5969$as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h 6867cat >>confdefs.h <<\_ACEOF
6868#define HAVE_PERSONALITY_LINUX32 1
6869_ACEOF
5970 6870
5971fi 6871fi
5972 6872
6873
5973for ac_header in term.h 6874for ac_header in term.h
5974do : 6875do
5975 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 6876as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5976if test "x$ac_cv_header_term_h" = x""yes; then : 6877{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6878$as_echo_n "checking for $ac_header... " >&6; }
6879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6880 $as_echo_n "(cached) " >&6
6881else
6882 cat >conftest.$ac_ext <<_ACEOF
6883/* confdefs.h. */
6884_ACEOF
6885cat confdefs.h >>conftest.$ac_ext
6886cat >>conftest.$ac_ext <<_ACEOF
6887/* end confdefs.h. */
6888#include <$ac_header>
6889_ACEOF
6890if { (ac_try="$ac_cpp conftest.$ac_ext"
6891case "(($ac_try" in
6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6893 *) ac_try_echo=$ac_try;;
6894esac
6895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6896$as_echo "$ac_try_echo") >&5
6897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6898 ac_status=$?
6899 grep -v '^ *+' conftest.er1 >conftest.err
6900 rm -f conftest.er1
6901 cat conftest.err >&5
6902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } >/dev/null && {
6904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 }; then
6907 eval "$as_ac_Header=yes"
6908else
6909 $as_echo "$as_me: failed program was:" >&5
6910sed 's/^/| /' conftest.$ac_ext >&5
6911
6912 eval "$as_ac_Header=no"
6913fi
6914
6915rm -f conftest.err conftest.$ac_ext
6916fi
6917ac_res=`eval 'as_val=${'$as_ac_Header'}
6918 $as_echo "$as_val"'`
6919 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6920$as_echo "$ac_res" >&6; }
6921if test `eval 'as_val=${'$as_ac_Header'}
6922 $as_echo "$as_val"'` = yes; then
5977 cat >>confdefs.h <<_ACEOF 6923 cat >>confdefs.h <<_ACEOF
5978#define HAVE_TERM_H 1 6924#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5979_ACEOF 6925_ACEOF
5980 6926
5981fi 6927fi
5982 6928
5983done 6929done
5984 6930
5985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6931{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5986$as_echo_n "checking for ANSI C header files... " >&6; } 6932$as_echo_n "checking for ANSI C header files... " >&6; }
5987if test "${ac_cv_header_stdc+set}" = set; then : 6933if test "${ac_cv_header_stdc+set}" = set; then
5988 $as_echo_n "(cached) " >&6 6934 $as_echo_n "(cached) " >&6
5989else 6935else
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6936 cat >conftest.$ac_ext <<_ACEOF
6937/* confdefs.h. */
6938_ACEOF
6939cat confdefs.h >>conftest.$ac_ext
6940cat >>conftest.$ac_ext <<_ACEOF
5991/* end confdefs.h. */ 6941/* end confdefs.h. */
5992#include <stdlib.h> 6942#include <stdlib.h>
5993#include <stdarg.h> 6943#include <stdarg.h>
@@ -6002,23 +6952,48 @@ main ()
6002 return 0; 6952 return 0;
6003} 6953}
6004_ACEOF 6954_ACEOF
6005if ac_fn_c_try_compile "$LINENO"; then : 6955rm -f conftest.$ac_objext
6956if { (ac_try="$ac_compile"
6957case "(($ac_try" in
6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6960esac
6961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6962$as_echo "$ac_try_echo") >&5
6963 (eval "$ac_compile") 2>conftest.er1
6964 ac_status=$?
6965 grep -v '^ *+' conftest.er1 >conftest.err
6966 rm -f conftest.er1
6967 cat conftest.err >&5
6968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } && {
6970 test -z "$ac_c_werror_flag" ||
6971 test ! -s conftest.err
6972 } && test -s conftest.$ac_objext; then
6006 ac_cv_header_stdc=yes 6973 ac_cv_header_stdc=yes
6007else 6974else
6008 ac_cv_header_stdc=no 6975 $as_echo "$as_me: failed program was:" >&5
6976sed 's/^/| /' conftest.$ac_ext >&5
6977
6978 ac_cv_header_stdc=no
6009fi 6979fi
6980
6010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6011 6982
6012if test $ac_cv_header_stdc = yes; then 6983if test $ac_cv_header_stdc = yes; then
6013 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6985 cat >conftest.$ac_ext <<_ACEOF
6986/* confdefs.h. */
6987_ACEOF
6988cat confdefs.h >>conftest.$ac_ext
6989cat >>conftest.$ac_ext <<_ACEOF
6015/* end confdefs.h. */ 6990/* end confdefs.h. */
6016#include <string.h> 6991#include <string.h>
6017 6992
6018_ACEOF 6993_ACEOF
6019if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6994if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6020 $EGREP "memchr" >/dev/null 2>&1; then : 6995 $EGREP "memchr" >/dev/null 2>&1; then
6021 6996 :
6022else 6997else
6023 ac_cv_header_stdc=no 6998 ac_cv_header_stdc=no
6024fi 6999fi
@@ -6028,14 +7003,18 @@ fi
6028 7003
6029if test $ac_cv_header_stdc = yes; then 7004if test $ac_cv_header_stdc = yes; then
6030 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7005 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7006 cat >conftest.$ac_ext <<_ACEOF
7007/* confdefs.h. */
7008_ACEOF
7009cat confdefs.h >>conftest.$ac_ext
7010cat >>conftest.$ac_ext <<_ACEOF
6032/* end confdefs.h. */ 7011/* end confdefs.h. */
6033#include <stdlib.h> 7012#include <stdlib.h>
6034 7013
6035_ACEOF 7014_ACEOF
6036if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7015if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6037 $EGREP "free" >/dev/null 2>&1; then : 7016 $EGREP "free" >/dev/null 2>&1; then
6038 7017 :
6039else 7018else
6040 ac_cv_header_stdc=no 7019 ac_cv_header_stdc=no
6041fi 7020fi
@@ -6045,10 +7024,14 @@ fi
6045 7024
6046if test $ac_cv_header_stdc = yes; then 7025if test $ac_cv_header_stdc = yes; then
6047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7026 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6048 if test "$cross_compiling" = yes; then : 7027 if test "$cross_compiling" = yes; then
6049 : 7028 :
6050else 7029else
6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7030 cat >conftest.$ac_ext <<_ACEOF
7031/* confdefs.h. */
7032_ACEOF
7033cat confdefs.h >>conftest.$ac_ext
7034cat >>conftest.$ac_ext <<_ACEOF
6052/* end confdefs.h. */ 7035/* end confdefs.h. */
6053#include <ctype.h> 7036#include <ctype.h>
6054#include <stdlib.h> 7037#include <stdlib.h>
@@ -6075,31 +7058,64 @@ main ()
6075 return 0; 7058 return 0;
6076} 7059}
6077_ACEOF 7060_ACEOF
6078if ac_fn_c_try_run "$LINENO"; then : 7061rm -f conftest$ac_exeext
6079 7062if { (ac_try="$ac_link"
7063case "(($ac_try" in
7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7066esac
7067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7068$as_echo "$ac_try_echo") >&5
7069 (eval "$ac_link") 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7073 { (case "(($ac_try" in
7074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7075 *) ac_try_echo=$ac_try;;
7076esac
7077eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7078$as_echo "$ac_try_echo") >&5
7079 (eval "$ac_try") 2>&5
7080 ac_status=$?
7081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; }; then
7083 :
6080else 7084else
6081 ac_cv_header_stdc=no 7085 $as_echo "$as_me: program exited with status $ac_status" >&5
7086$as_echo "$as_me: failed program was:" >&5
7087sed 's/^/| /' conftest.$ac_ext >&5
7088
7089( exit $ac_status )
7090ac_cv_header_stdc=no
6082fi 7091fi
6083rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7092rm -rf conftest.dSYM
6084 conftest.$ac_objext conftest.beam conftest.$ac_ext 7093rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6085fi 7094fi
6086 7095
7096
6087fi 7097fi
6088fi 7098fi
6089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7099{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6090$as_echo "$ac_cv_header_stdc" >&6; } 7100$as_echo "$ac_cv_header_stdc" >&6; }
6091if test $ac_cv_header_stdc = yes; then 7101if test $ac_cv_header_stdc = yes; then
6092 7102
6093$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7103cat >>confdefs.h <<\_ACEOF
7104#define STDC_HEADERS 1
7105_ACEOF
6094 7106
6095fi 7107fi
6096 7108
6097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7109{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6098$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7110$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6099if test "${ac_cv_header_time+set}" = set; then : 7111if test "${ac_cv_header_time+set}" = set; then
6100 $as_echo_n "(cached) " >&6 7112 $as_echo_n "(cached) " >&6
6101else 7113else
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7114 cat >conftest.$ac_ext <<_ACEOF
7115/* confdefs.h. */
7116_ACEOF
7117cat confdefs.h >>conftest.$ac_ext
7118cat >>conftest.$ac_ext <<_ACEOF
6103/* end confdefs.h. */ 7119/* end confdefs.h. */
6104#include <sys/types.h> 7120#include <sys/types.h>
6105#include <sys/time.h> 7121#include <sys/time.h>
@@ -6114,57 +7130,202 @@ return 0;
6114 return 0; 7130 return 0;
6115} 7131}
6116_ACEOF 7132_ACEOF
6117if ac_fn_c_try_compile "$LINENO"; then : 7133rm -f conftest.$ac_objext
7134if { (ac_try="$ac_compile"
7135case "(($ac_try" in
7136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7138esac
7139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7140$as_echo "$ac_try_echo") >&5
7141 (eval "$ac_compile") 2>conftest.er1
7142 ac_status=$?
7143 grep -v '^ *+' conftest.er1 >conftest.err
7144 rm -f conftest.er1
7145 cat conftest.err >&5
7146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } && {
7148 test -z "$ac_c_werror_flag" ||
7149 test ! -s conftest.err
7150 } && test -s conftest.$ac_objext; then
6118 ac_cv_header_time=yes 7151 ac_cv_header_time=yes
6119else 7152else
6120 ac_cv_header_time=no 7153 $as_echo "$as_me: failed program was:" >&5
7154sed 's/^/| /' conftest.$ac_ext >&5
7155
7156 ac_cv_header_time=no
6121fi 7157fi
7158
6122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123fi 7160fi
6124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 7161{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6125$as_echo "$ac_cv_header_time" >&6; } 7162$as_echo "$ac_cv_header_time" >&6; }
6126if test $ac_cv_header_time = yes; then 7163if test $ac_cv_header_time = yes; then
6127 7164
6128$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 7165cat >>confdefs.h <<\_ACEOF
7166#define TIME_WITH_SYS_TIME 1
7167_ACEOF
6129 7168
6130fi 7169fi
6131 7170
6132ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 7171{ $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
6133if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 7172$as_echo_n "checking whether sys_siglist is declared... " >&6; }
6134 ac_have_decl=1 7173if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
7174 $as_echo_n "(cached) " >&6
6135else 7175else
6136 ac_have_decl=0 7176 cat >conftest.$ac_ext <<_ACEOF
7177/* confdefs.h. */
7178_ACEOF
7179cat confdefs.h >>conftest.$ac_ext
7180cat >>conftest.$ac_ext <<_ACEOF
7181/* end confdefs.h. */
7182$ac_includes_default
7183int
7184main ()
7185{
7186#ifndef sys_siglist
7187 (void) sys_siglist;
7188#endif
7189
7190 ;
7191 return 0;
7192}
7193_ACEOF
7194rm -f conftest.$ac_objext
7195if { (ac_try="$ac_compile"
7196case "(($ac_try" in
7197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198 *) ac_try_echo=$ac_try;;
7199esac
7200eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7201$as_echo "$ac_try_echo") >&5
7202 (eval "$ac_compile") 2>conftest.er1
7203 ac_status=$?
7204 grep -v '^ *+' conftest.er1 >conftest.err
7205 rm -f conftest.er1
7206 cat conftest.err >&5
7207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } && {
7209 test -z "$ac_c_werror_flag" ||
7210 test ! -s conftest.err
7211 } && test -s conftest.$ac_objext; then
7212 ac_cv_have_decl_sys_siglist=yes
7213else
7214 $as_echo "$as_me: failed program was:" >&5
7215sed 's/^/| /' conftest.$ac_ext >&5
7216
7217 ac_cv_have_decl_sys_siglist=no
7218fi
7219
7220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6137fi 7221fi
7222{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7223$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
7224if test $ac_cv_have_decl_sys_siglist = yes; then
6138 7225
6139cat >>confdefs.h <<_ACEOF 7226cat >>confdefs.h <<_ACEOF
6140#define HAVE_DECL_SYS_SIGLIST $ac_have_decl 7227#define HAVE_DECL_SYS_SIGLIST 1
6141_ACEOF 7228_ACEOF
6142 7229
7230
7231else
7232 cat >>confdefs.h <<_ACEOF
7233#define HAVE_DECL_SYS_SIGLIST 0
7234_ACEOF
7235
7236
7237fi
7238
7239
6143if test $ac_cv_have_decl_sys_siglist != yes; then 7240if test $ac_cv_have_decl_sys_siglist != yes; then
6144 # For Tru64, at least: 7241 # For Tru64, at least:
6145 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 7242 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
6146if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 7243$as_echo_n "checking whether __sys_siglist is declared... " >&6; }
6147 ac_have_decl=1 7244if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
7245 $as_echo_n "(cached) " >&6
7246else
7247 cat >conftest.$ac_ext <<_ACEOF
7248/* confdefs.h. */
7249_ACEOF
7250cat confdefs.h >>conftest.$ac_ext
7251cat >>conftest.$ac_ext <<_ACEOF
7252/* end confdefs.h. */
7253$ac_includes_default
7254int
7255main ()
7256{
7257#ifndef __sys_siglist
7258 (void) __sys_siglist;
7259#endif
7260
7261 ;
7262 return 0;
7263}
7264_ACEOF
7265rm -f conftest.$ac_objext
7266if { (ac_try="$ac_compile"
7267case "(($ac_try" in
7268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7269 *) ac_try_echo=$ac_try;;
7270esac
7271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7272$as_echo "$ac_try_echo") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7274 ac_status=$?
7275 grep -v '^ *+' conftest.er1 >conftest.err
7276 rm -f conftest.er1
7277 cat conftest.err >&5
7278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 ac_cv_have_decl___sys_siglist=yes
6148else 7284else
6149 ac_have_decl=0 7285 $as_echo "$as_me: failed program was:" >&5
7286sed 's/^/| /' conftest.$ac_ext >&5
7287
7288 ac_cv_have_decl___sys_siglist=no
7289fi
7290
7291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6150fi 7292fi
7293{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7294$as_echo "$ac_cv_have_decl___sys_siglist" >&6; }
7295if test $ac_cv_have_decl___sys_siglist = yes; then
6151 7296
6152cat >>confdefs.h <<_ACEOF 7297cat >>confdefs.h <<_ACEOF
6153#define HAVE_DECL___SYS_SIGLIST $ac_have_decl 7298#define HAVE_DECL___SYS_SIGLIST 1
7299_ACEOF
7300
7301
7302else
7303 cat >>confdefs.h <<_ACEOF
7304#define HAVE_DECL___SYS_SIGLIST 0
6154_ACEOF 7305_ACEOF
6155 7306
7307
7308fi
7309
7310
6156 if test $ac_cv_have_decl___sys_siglist = yes; then 7311 if test $ac_cv_have_decl___sys_siglist = yes; then
6157 7312
6158$as_echo "#define sys_siglist __sys_siglist" >>confdefs.h 7313cat >>confdefs.h <<\_ACEOF
7314#define sys_siglist __sys_siglist
7315_ACEOF
6159 7316
6160 fi 7317 fi
6161fi 7318fi
6162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 7319{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6163$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 7320$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6164if test "${ac_cv_header_sys_wait_h+set}" = set; then : 7321if test "${ac_cv_header_sys_wait_h+set}" = set; then
6165 $as_echo_n "(cached) " >&6 7322 $as_echo_n "(cached) " >&6
6166else 7323else
6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7324 cat >conftest.$ac_ext <<_ACEOF
7325/* confdefs.h. */
7326_ACEOF
7327cat confdefs.h >>conftest.$ac_ext
7328cat >>conftest.$ac_ext <<_ACEOF
6168/* end confdefs.h. */ 7329/* end confdefs.h. */
6169#include <sys/types.h> 7330#include <sys/types.h>
6170#include <sys/wait.h> 7331#include <sys/wait.h>
@@ -6185,28 +7346,55 @@ main ()
6185 return 0; 7346 return 0;
6186} 7347}
6187_ACEOF 7348_ACEOF
6188if ac_fn_c_try_compile "$LINENO"; then : 7349rm -f conftest.$ac_objext
7350if { (ac_try="$ac_compile"
7351case "(($ac_try" in
7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7353 *) ac_try_echo=$ac_try;;
7354esac
7355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7356$as_echo "$ac_try_echo") >&5
7357 (eval "$ac_compile") 2>conftest.er1
7358 ac_status=$?
7359 grep -v '^ *+' conftest.er1 >conftest.err
7360 rm -f conftest.er1
7361 cat conftest.err >&5
7362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_c_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest.$ac_objext; then
6189 ac_cv_header_sys_wait_h=yes 7367 ac_cv_header_sys_wait_h=yes
6190else 7368else
6191 ac_cv_header_sys_wait_h=no 7369 $as_echo "$as_me: failed program was:" >&5
7370sed 's/^/| /' conftest.$ac_ext >&5
7371
7372 ac_cv_header_sys_wait_h=no
6192fi 7373fi
7374
6193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6194fi 7376fi
6195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 7377{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6196$as_echo "$ac_cv_header_sys_wait_h" >&6; } 7378$as_echo "$ac_cv_header_sys_wait_h" >&6; }
6197if test $ac_cv_header_sys_wait_h = yes; then 7379if test $ac_cv_header_sys_wait_h = yes; then
6198 7380
6199$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 7381cat >>confdefs.h <<\_ACEOF
7382#define HAVE_SYS_WAIT_H 1
7383_ACEOF
6200 7384
6201fi 7385fi
6202 7386
6203 7387
6204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 7388{ $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6205$as_echo_n "checking for struct utimbuf... " >&6; } 7389$as_echo_n "checking for struct utimbuf... " >&6; }
6206if test "${emacs_cv_struct_utimbuf+set}" = set; then : 7390if test "${emacs_cv_struct_utimbuf+set}" = set; then
6207 $as_echo_n "(cached) " >&6 7391 $as_echo_n "(cached) " >&6
6208else 7392else
6209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7393 cat >conftest.$ac_ext <<_ACEOF
7394/* confdefs.h. */
7395_ACEOF
7396cat confdefs.h >>conftest.$ac_ext
7397cat >>conftest.$ac_ext <<_ACEOF
6210/* end confdefs.h. */ 7398/* end confdefs.h. */
6211#ifdef TIME_WITH_SYS_TIME 7399#ifdef TIME_WITH_SYS_TIME
6212#include <sys/time.h> 7400#include <sys/time.h>
@@ -6229,27 +7417,54 @@ static struct utimbuf x; x.actime = x.modtime;
6229 return 0; 7417 return 0;
6230} 7418}
6231_ACEOF 7419_ACEOF
6232if ac_fn_c_try_compile "$LINENO"; then : 7420rm -f conftest.$ac_objext
7421if { (ac_try="$ac_compile"
7422case "(($ac_try" in
7423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7424 *) ac_try_echo=$ac_try;;
7425esac
7426eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7427$as_echo "$ac_try_echo") >&5
7428 (eval "$ac_compile") 2>conftest.er1
7429 ac_status=$?
7430 grep -v '^ *+' conftest.er1 >conftest.err
7431 rm -f conftest.er1
7432 cat conftest.err >&5
7433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } && {
7435 test -z "$ac_c_werror_flag" ||
7436 test ! -s conftest.err
7437 } && test -s conftest.$ac_objext; then
6233 emacs_cv_struct_utimbuf=yes 7438 emacs_cv_struct_utimbuf=yes
6234else 7439else
6235 emacs_cv_struct_utimbuf=no 7440 $as_echo "$as_me: failed program was:" >&5
7441sed 's/^/| /' conftest.$ac_ext >&5
7442
7443 emacs_cv_struct_utimbuf=no
6236fi 7444fi
7445
6237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6238fi 7447fi
6239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 7448{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6240$as_echo "$emacs_cv_struct_utimbuf" >&6; } 7449$as_echo "$emacs_cv_struct_utimbuf" >&6; }
6241if test $emacs_cv_struct_utimbuf = yes; then 7450if test $emacs_cv_struct_utimbuf = yes; then
6242 7451
6243$as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h 7452cat >>confdefs.h <<\_ACEOF
7453#define HAVE_STRUCT_UTIMBUF 1
7454_ACEOF
6244 7455
6245fi 7456fi
6246 7457
6247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7458{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6248$as_echo_n "checking return type of signal handlers... " >&6; } 7459$as_echo_n "checking return type of signal handlers... " >&6; }
6249if test "${ac_cv_type_signal+set}" = set; then : 7460if test "${ac_cv_type_signal+set}" = set; then
6250 $as_echo_n "(cached) " >&6 7461 $as_echo_n "(cached) " >&6
6251else 7462else
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7463 cat >conftest.$ac_ext <<_ACEOF
7464/* confdefs.h. */
7465_ACEOF
7466cat confdefs.h >>conftest.$ac_ext
7467cat >>conftest.$ac_ext <<_ACEOF
6253/* end confdefs.h. */ 7468/* end confdefs.h. */
6254#include <sys/types.h> 7469#include <sys/types.h>
6255#include <signal.h> 7470#include <signal.h>
@@ -6262,14 +7477,35 @@ return *(signal (0, 0)) (0) == 1;
6262 return 0; 7477 return 0;
6263} 7478}
6264_ACEOF 7479_ACEOF
6265if ac_fn_c_try_compile "$LINENO"; then : 7480rm -f conftest.$ac_objext
7481if { (ac_try="$ac_compile"
7482case "(($ac_try" in
7483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7484 *) ac_try_echo=$ac_try;;
7485esac
7486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7487$as_echo "$ac_try_echo") >&5
7488 (eval "$ac_compile") 2>conftest.er1
7489 ac_status=$?
7490 grep -v '^ *+' conftest.er1 >conftest.err
7491 rm -f conftest.er1
7492 cat conftest.err >&5
7493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); } && {
7495 test -z "$ac_c_werror_flag" ||
7496 test ! -s conftest.err
7497 } && test -s conftest.$ac_objext; then
6266 ac_cv_type_signal=int 7498 ac_cv_type_signal=int
6267else 7499else
6268 ac_cv_type_signal=void 7500 $as_echo "$as_me: failed program was:" >&5
7501sed 's/^/| /' conftest.$ac_ext >&5
7502
7503 ac_cv_type_signal=void
6269fi 7504fi
7505
6270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6271fi 7507fi
6272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 7508{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6273$as_echo "$ac_cv_type_signal" >&6; } 7509$as_echo "$ac_cv_type_signal" >&6; }
6274 7510
6275cat >>confdefs.h <<_ACEOF 7511cat >>confdefs.h <<_ACEOF
@@ -6278,12 +7514,16 @@ _ACEOF
6278 7514
6279 7515
6280 7516
6281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 7517{ $as_echo "$as_me:$LINENO: checking for speed_t" >&5
6282$as_echo_n "checking for speed_t... " >&6; } 7518$as_echo_n "checking for speed_t... " >&6; }
6283if test "${emacs_cv_speed_t+set}" = set; then : 7519if test "${emacs_cv_speed_t+set}" = set; then
6284 $as_echo_n "(cached) " >&6 7520 $as_echo_n "(cached) " >&6
6285else 7521else
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7522 cat >conftest.$ac_ext <<_ACEOF
7523/* confdefs.h. */
7524_ACEOF
7525cat confdefs.h >>conftest.$ac_ext
7526cat >>conftest.$ac_ext <<_ACEOF
6287/* end confdefs.h. */ 7527/* end confdefs.h. */
6288#include <termios.h> 7528#include <termios.h>
6289int 7529int
@@ -6294,27 +7534,54 @@ speed_t x = 1;
6294 return 0; 7534 return 0;
6295} 7535}
6296_ACEOF 7536_ACEOF
6297if ac_fn_c_try_compile "$LINENO"; then : 7537rm -f conftest.$ac_objext
7538if { (ac_try="$ac_compile"
7539case "(($ac_try" in
7540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7541 *) ac_try_echo=$ac_try;;
7542esac
7543eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7544$as_echo "$ac_try_echo") >&5
7545 (eval "$ac_compile") 2>conftest.er1
7546 ac_status=$?
7547 grep -v '^ *+' conftest.er1 >conftest.err
7548 rm -f conftest.er1
7549 cat conftest.err >&5
7550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); } && {
7552 test -z "$ac_c_werror_flag" ||
7553 test ! -s conftest.err
7554 } && test -s conftest.$ac_objext; then
6298 emacs_cv_speed_t=yes 7555 emacs_cv_speed_t=yes
6299else 7556else
6300 emacs_cv_speed_t=no 7557 $as_echo "$as_me: failed program was:" >&5
7558sed 's/^/| /' conftest.$ac_ext >&5
7559
7560 emacs_cv_speed_t=no
6301fi 7561fi
7562
6302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303fi 7564fi
6304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 7565{ $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6305$as_echo "$emacs_cv_speed_t" >&6; } 7566$as_echo "$emacs_cv_speed_t" >&6; }
6306if test $emacs_cv_speed_t = yes; then 7567if test $emacs_cv_speed_t = yes; then
6307 7568
6308$as_echo "#define HAVE_SPEED_T 1" >>confdefs.h 7569cat >>confdefs.h <<\_ACEOF
7570#define HAVE_SPEED_T 1
7571_ACEOF
6309 7572
6310fi 7573fi
6311 7574
6312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 7575{ $as_echo "$as_me:$LINENO: checking for struct timeval" >&5
6313$as_echo_n "checking for struct timeval... " >&6; } 7576$as_echo_n "checking for struct timeval... " >&6; }
6314if test "${emacs_cv_struct_timeval+set}" = set; then : 7577if test "${emacs_cv_struct_timeval+set}" = set; then
6315 $as_echo_n "(cached) " >&6 7578 $as_echo_n "(cached) " >&6
6316else 7579else
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7580 cat >conftest.$ac_ext <<_ACEOF
7581/* confdefs.h. */
7582_ACEOF
7583cat confdefs.h >>conftest.$ac_ext
7584cat >>conftest.$ac_ext <<_ACEOF
6318/* end confdefs.h. */ 7585/* end confdefs.h. */
6319#ifdef TIME_WITH_SYS_TIME 7586#ifdef TIME_WITH_SYS_TIME
6320#include <sys/time.h> 7587#include <sys/time.h>
@@ -6334,28 +7601,55 @@ static struct timeval x; x.tv_sec = x.tv_usec;
6334 return 0; 7601 return 0;
6335} 7602}
6336_ACEOF 7603_ACEOF
6337if ac_fn_c_try_compile "$LINENO"; then : 7604rm -f conftest.$ac_objext
7605if { (ac_try="$ac_compile"
7606case "(($ac_try" in
7607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7608 *) ac_try_echo=$ac_try;;
7609esac
7610eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7611$as_echo "$ac_try_echo") >&5
7612 (eval "$ac_compile") 2>conftest.er1
7613 ac_status=$?
7614 grep -v '^ *+' conftest.er1 >conftest.err
7615 rm -f conftest.er1
7616 cat conftest.err >&5
7617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && {
7619 test -z "$ac_c_werror_flag" ||
7620 test ! -s conftest.err
7621 } && test -s conftest.$ac_objext; then
6338 emacs_cv_struct_timeval=yes 7622 emacs_cv_struct_timeval=yes
6339else 7623else
6340 emacs_cv_struct_timeval=no 7624 $as_echo "$as_me: failed program was:" >&5
7625sed 's/^/| /' conftest.$ac_ext >&5
7626
7627 emacs_cv_struct_timeval=no
6341fi 7628fi
7629
6342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6343fi 7631fi
6344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 7632{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6345$as_echo "$emacs_cv_struct_timeval" >&6; } 7633$as_echo "$emacs_cv_struct_timeval" >&6; }
6346HAVE_TIMEVAL=$emacs_cv_struct_timeval 7634HAVE_TIMEVAL=$emacs_cv_struct_timeval
6347if test $emacs_cv_struct_timeval = yes; then 7635if test $emacs_cv_struct_timeval = yes; then
6348 7636
6349$as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h 7637cat >>confdefs.h <<\_ACEOF
7638#define HAVE_TIMEVAL 1
7639_ACEOF
6350 7640
6351fi 7641fi
6352 7642
6353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 7643{ $as_echo "$as_me:$LINENO: checking for struct exception" >&5
6354$as_echo_n "checking for struct exception... " >&6; } 7644$as_echo_n "checking for struct exception... " >&6; }
6355if test "${emacs_cv_struct_exception+set}" = set; then : 7645if test "${emacs_cv_struct_exception+set}" = set; then
6356 $as_echo_n "(cached) " >&6 7646 $as_echo_n "(cached) " >&6
6357else 7647else
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7648 cat >conftest.$ac_ext <<_ACEOF
7649/* confdefs.h. */
7650_ACEOF
7651cat confdefs.h >>conftest.$ac_ext
7652cat >>conftest.$ac_ext <<_ACEOF
6359/* end confdefs.h. */ 7653/* end confdefs.h. */
6360#include <math.h> 7654#include <math.h>
6361int 7655int
@@ -6366,44 +7660,248 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6366 return 0; 7660 return 0;
6367} 7661}
6368_ACEOF 7662_ACEOF
6369if ac_fn_c_try_compile "$LINENO"; then : 7663rm -f conftest.$ac_objext
7664if { (ac_try="$ac_compile"
7665case "(($ac_try" in
7666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7667 *) ac_try_echo=$ac_try;;
7668esac
7669eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7670$as_echo "$ac_try_echo") >&5
7671 (eval "$ac_compile") 2>conftest.er1
7672 ac_status=$?
7673 grep -v '^ *+' conftest.er1 >conftest.err
7674 rm -f conftest.er1
7675 cat conftest.err >&5
7676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } && {
7678 test -z "$ac_c_werror_flag" ||
7679 test ! -s conftest.err
7680 } && test -s conftest.$ac_objext; then
6370 emacs_cv_struct_exception=yes 7681 emacs_cv_struct_exception=yes
6371else 7682else
6372 emacs_cv_struct_exception=no 7683 $as_echo "$as_me: failed program was:" >&5
7684sed 's/^/| /' conftest.$ac_ext >&5
7685
7686 emacs_cv_struct_exception=no
6373fi 7687fi
7688
6374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6375fi 7690fi
6376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 7691{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6377$as_echo "$emacs_cv_struct_exception" >&6; } 7692$as_echo "$emacs_cv_struct_exception" >&6; }
6378HAVE_EXCEPTION=$emacs_cv_struct_exception 7693HAVE_EXCEPTION=$emacs_cv_struct_exception
6379if test $emacs_cv_struct_exception != yes; then 7694if test $emacs_cv_struct_exception != yes; then
6380 7695
6381$as_echo "#define NO_MATHERR 1" >>confdefs.h 7696cat >>confdefs.h <<\_ACEOF
7697#define NO_MATHERR 1
7698_ACEOF
6382 7699
6383fi 7700fi
6384 7701
7702
6385for ac_header in sys/socket.h 7703for ac_header in sys/socket.h
6386do : 7704do
6387 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 7705as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6388if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 7706if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7707 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7708$as_echo_n "checking for $ac_header... " >&6; }
7709if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7710 $as_echo_n "(cached) " >&6
7711fi
7712ac_res=`eval 'as_val=${'$as_ac_Header'}
7713 $as_echo "$as_val"'`
7714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7715$as_echo "$ac_res" >&6; }
7716else
7717 # Is the header compilable?
7718{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7719$as_echo_n "checking $ac_header usability... " >&6; }
7720cat >conftest.$ac_ext <<_ACEOF
7721/* confdefs.h. */
7722_ACEOF
7723cat confdefs.h >>conftest.$ac_ext
7724cat >>conftest.$ac_ext <<_ACEOF
7725/* end confdefs.h. */
7726$ac_includes_default
7727#include <$ac_header>
7728_ACEOF
7729rm -f conftest.$ac_objext
7730if { (ac_try="$ac_compile"
7731case "(($ac_try" in
7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7733 *) ac_try_echo=$ac_try;;
7734esac
7735eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7736$as_echo "$ac_try_echo") >&5
7737 (eval "$ac_compile") 2>conftest.er1
7738 ac_status=$?
7739 grep -v '^ *+' conftest.er1 >conftest.err
7740 rm -f conftest.er1
7741 cat conftest.err >&5
7742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } && {
7744 test -z "$ac_c_werror_flag" ||
7745 test ! -s conftest.err
7746 } && test -s conftest.$ac_objext; then
7747 ac_header_compiler=yes
7748else
7749 $as_echo "$as_me: failed program was:" >&5
7750sed 's/^/| /' conftest.$ac_ext >&5
7751
7752 ac_header_compiler=no
7753fi
7754
7755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7756{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7757$as_echo "$ac_header_compiler" >&6; }
7758
7759# Is the header present?
7760{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7761$as_echo_n "checking $ac_header presence... " >&6; }
7762cat >conftest.$ac_ext <<_ACEOF
7763/* confdefs.h. */
7764_ACEOF
7765cat confdefs.h >>conftest.$ac_ext
7766cat >>conftest.$ac_ext <<_ACEOF
7767/* end confdefs.h. */
7768#include <$ac_header>
7769_ACEOF
7770if { (ac_try="$ac_cpp conftest.$ac_ext"
7771case "(($ac_try" in
7772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7773 *) ac_try_echo=$ac_try;;
7774esac
7775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7776$as_echo "$ac_try_echo") >&5
7777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7778 ac_status=$?
7779 grep -v '^ *+' conftest.er1 >conftest.err
7780 rm -f conftest.er1
7781 cat conftest.err >&5
7782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); } >/dev/null && {
7784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7785 test ! -s conftest.err
7786 }; then
7787 ac_header_preproc=yes
7788else
7789 $as_echo "$as_me: failed program was:" >&5
7790sed 's/^/| /' conftest.$ac_ext >&5
7791
7792 ac_header_preproc=no
7793fi
7794
7795rm -f conftest.err conftest.$ac_ext
7796{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7797$as_echo "$ac_header_preproc" >&6; }
7798
7799# So? What about this header?
7800case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7801 yes:no: )
7802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7803$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7805$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7806 ac_header_preproc=yes
7807 ;;
7808 no:yes:* )
7809 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7810$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7812$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7814$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7816$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7818$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7820$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7821
7822 ;;
7823esac
7824{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7825$as_echo_n "checking for $ac_header... " >&6; }
7826if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7827 $as_echo_n "(cached) " >&6
7828else
7829 eval "$as_ac_Header=\$ac_header_preproc"
7830fi
7831ac_res=`eval 'as_val=${'$as_ac_Header'}
7832 $as_echo "$as_val"'`
7833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7834$as_echo "$ac_res" >&6; }
7835
7836fi
7837if test `eval 'as_val=${'$as_ac_Header'}
7838 $as_echo "$as_val"'` = yes; then
6389 cat >>confdefs.h <<_ACEOF 7839 cat >>confdefs.h <<_ACEOF
6390#define HAVE_SYS_SOCKET_H 1 7840#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6391_ACEOF 7841_ACEOF
6392 7842
6393fi 7843fi
6394 7844
6395done 7845done
6396 7846
7847
6397for ac_header in net/if.h 7848for ac_header in net/if.h
6398do : 7849do
6399 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default 7850as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7851{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7852$as_echo_n "checking for $ac_header... " >&6; }
7853if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7854 $as_echo_n "(cached) " >&6
7855else
7856 cat >conftest.$ac_ext <<_ACEOF
7857/* confdefs.h. */
7858_ACEOF
7859cat confdefs.h >>conftest.$ac_ext
7860cat >>conftest.$ac_ext <<_ACEOF
7861/* end confdefs.h. */
7862$ac_includes_default
6400#if HAVE_SYS_SOCKET_H 7863#if HAVE_SYS_SOCKET_H
6401#include <sys/socket.h> 7864#include <sys/socket.h>
6402#endif 7865#endif
6403" 7866
6404if test "x$ac_cv_header_net_if_h" = x""yes; then : 7867#include <$ac_header>
7868_ACEOF
7869rm -f conftest.$ac_objext
7870if { (ac_try="$ac_compile"
7871case "(($ac_try" in
7872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7873 *) ac_try_echo=$ac_try;;
7874esac
7875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7876$as_echo "$ac_try_echo") >&5
7877 (eval "$ac_compile") 2>conftest.er1
7878 ac_status=$?
7879 grep -v '^ *+' conftest.er1 >conftest.err
7880 rm -f conftest.er1
7881 cat conftest.err >&5
7882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } && {
7884 test -z "$ac_c_werror_flag" ||
7885 test ! -s conftest.err
7886 } && test -s conftest.$ac_objext; then
7887 eval "$as_ac_Header=yes"
7888else
7889 $as_echo "$as_me: failed program was:" >&5
7890sed 's/^/| /' conftest.$ac_ext >&5
7891
7892 eval "$as_ac_Header=no"
7893fi
7894
7895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896fi
7897ac_res=`eval 'as_val=${'$as_ac_Header'}
7898 $as_echo "$as_val"'`
7899 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7900$as_echo "$ac_res" >&6; }
7901if test `eval 'as_val=${'$as_ac_Header'}
7902 $as_echo "$as_val"'` = yes; then
6405 cat >>confdefs.h <<_ACEOF 7903 cat >>confdefs.h <<_ACEOF
6406#define HAVE_NET_IF_H 1 7904#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6407_ACEOF 7905_ACEOF
6408 7906
6409fi 7907fi
@@ -6411,12 +7909,16 @@ fi
6411done 7909done
6412 7910
6413 7911
6414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7912{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6415$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7913$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6416if test "${ac_cv_struct_tm+set}" = set; then : 7914if test "${ac_cv_struct_tm+set}" = set; then
6417 $as_echo_n "(cached) " >&6 7915 $as_echo_n "(cached) " >&6
6418else 7916else
6419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7917 cat >conftest.$ac_ext <<_ACEOF
7918/* confdefs.h. */
7919_ACEOF
7920cat confdefs.h >>conftest.$ac_ext
7921cat >>conftest.$ac_ext <<_ACEOF
6420/* end confdefs.h. */ 7922/* end confdefs.h. */
6421#include <sys/types.h> 7923#include <sys/types.h>
6422#include <time.h> 7924#include <time.h>
@@ -6431,26 +7933,146 @@ struct tm tm;
6431 return 0; 7933 return 0;
6432} 7934}
6433_ACEOF 7935_ACEOF
6434if ac_fn_c_try_compile "$LINENO"; then : 7936rm -f conftest.$ac_objext
7937if { (ac_try="$ac_compile"
7938case "(($ac_try" in
7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 *) ac_try_echo=$ac_try;;
7941esac
7942eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7943$as_echo "$ac_try_echo") >&5
7944 (eval "$ac_compile") 2>conftest.er1
7945 ac_status=$?
7946 grep -v '^ *+' conftest.er1 >conftest.err
7947 rm -f conftest.er1
7948 cat conftest.err >&5
7949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); } && {
7951 test -z "$ac_c_werror_flag" ||
7952 test ! -s conftest.err
7953 } && test -s conftest.$ac_objext; then
6435 ac_cv_struct_tm=time.h 7954 ac_cv_struct_tm=time.h
6436else 7955else
6437 ac_cv_struct_tm=sys/time.h 7956 $as_echo "$as_me: failed program was:" >&5
7957sed 's/^/| /' conftest.$ac_ext >&5
7958
7959 ac_cv_struct_tm=sys/time.h
6438fi 7960fi
7961
6439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440fi 7963fi
6441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 7964{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6442$as_echo "$ac_cv_struct_tm" >&6; } 7965$as_echo "$ac_cv_struct_tm" >&6; }
6443if test $ac_cv_struct_tm = sys/time.h; then 7966if test $ac_cv_struct_tm = sys/time.h; then
6444 7967
6445$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 7968cat >>confdefs.h <<\_ACEOF
7969#define TM_IN_SYS_TIME 1
7970_ACEOF
6446 7971
6447fi 7972fi
6448 7973
6449ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 7974{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7975$as_echo_n "checking for struct tm.tm_zone... " >&6; }
7976if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7977 $as_echo_n "(cached) " >&6
7978else
7979 cat >conftest.$ac_ext <<_ACEOF
7980/* confdefs.h. */
7981_ACEOF
7982cat confdefs.h >>conftest.$ac_ext
7983cat >>conftest.$ac_ext <<_ACEOF
7984/* end confdefs.h. */
7985#include <sys/types.h>
6450#include <$ac_cv_struct_tm> 7986#include <$ac_cv_struct_tm>
6451 7987
6452" 7988
6453if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 7989int
7990main ()
7991{
7992static struct tm ac_aggr;
7993if (ac_aggr.tm_zone)
7994return 0;
7995 ;
7996 return 0;
7997}
7998_ACEOF
7999rm -f conftest.$ac_objext
8000if { (ac_try="$ac_compile"
8001case "(($ac_try" in
8002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8003 *) ac_try_echo=$ac_try;;
8004esac
8005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8006$as_echo "$ac_try_echo") >&5
8007 (eval "$ac_compile") 2>conftest.er1
8008 ac_status=$?
8009 grep -v '^ *+' conftest.er1 >conftest.err
8010 rm -f conftest.er1
8011 cat conftest.err >&5
8012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } && {
8014 test -z "$ac_c_werror_flag" ||
8015 test ! -s conftest.err
8016 } && test -s conftest.$ac_objext; then
8017 ac_cv_member_struct_tm_tm_zone=yes
8018else
8019 $as_echo "$as_me: failed program was:" >&5
8020sed 's/^/| /' conftest.$ac_ext >&5
8021
8022 cat >conftest.$ac_ext <<_ACEOF
8023/* confdefs.h. */
8024_ACEOF
8025cat confdefs.h >>conftest.$ac_ext
8026cat >>conftest.$ac_ext <<_ACEOF
8027/* end confdefs.h. */
8028#include <sys/types.h>
8029#include <$ac_cv_struct_tm>
8030
8031
8032int
8033main ()
8034{
8035static struct tm ac_aggr;
8036if (sizeof ac_aggr.tm_zone)
8037return 0;
8038 ;
8039 return 0;
8040}
8041_ACEOF
8042rm -f conftest.$ac_objext
8043if { (ac_try="$ac_compile"
8044case "(($ac_try" in
8045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8046 *) ac_try_echo=$ac_try;;
8047esac
8048eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8049$as_echo "$ac_try_echo") >&5
8050 (eval "$ac_compile") 2>conftest.er1
8051 ac_status=$?
8052 grep -v '^ *+' conftest.er1 >conftest.err
8053 rm -f conftest.er1
8054 cat conftest.err >&5
8055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } && {
8057 test -z "$ac_c_werror_flag" ||
8058 test ! -s conftest.err
8059 } && test -s conftest.$ac_objext; then
8060 ac_cv_member_struct_tm_tm_zone=yes
8061else
8062 $as_echo "$as_me: failed program was:" >&5
8063sed 's/^/| /' conftest.$ac_ext >&5
8064
8065 ac_cv_member_struct_tm_tm_zone=no
8066fi
8067
8068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8069fi
8070
8071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8072fi
8073{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8074$as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
8075if test $ac_cv_member_struct_tm_tm_zone = yes; then
6454 8076
6455cat >>confdefs.h <<_ACEOF 8077cat >>confdefs.h <<_ACEOF
6456#define HAVE_STRUCT_TM_TM_ZONE 1 8078#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -6461,27 +8083,91 @@ fi
6461 8083
6462if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 8084if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6463 8085
6464$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 8086cat >>confdefs.h <<\_ACEOF
8087#define HAVE_TM_ZONE 1
8088_ACEOF
6465 8089
6466else 8090else
6467 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 8091 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6468" 8092$as_echo_n "checking whether tzname is declared... " >&6; }
6469if test "x$ac_cv_have_decl_tzname" = x""yes; then : 8093if test "${ac_cv_have_decl_tzname+set}" = set; then
6470 ac_have_decl=1 8094 $as_echo_n "(cached) " >&6
8095else
8096 cat >conftest.$ac_ext <<_ACEOF
8097/* confdefs.h. */
8098_ACEOF
8099cat confdefs.h >>conftest.$ac_ext
8100cat >>conftest.$ac_ext <<_ACEOF
8101/* end confdefs.h. */
8102#include <time.h>
8103
8104int
8105main ()
8106{
8107#ifndef tzname
8108 (void) tzname;
8109#endif
8110
8111 ;
8112 return 0;
8113}
8114_ACEOF
8115rm -f conftest.$ac_objext
8116if { (ac_try="$ac_compile"
8117case "(($ac_try" in
8118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8119 *) ac_try_echo=$ac_try;;
8120esac
8121eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8122$as_echo "$ac_try_echo") >&5
8123 (eval "$ac_compile") 2>conftest.er1
8124 ac_status=$?
8125 grep -v '^ *+' conftest.er1 >conftest.err
8126 rm -f conftest.er1
8127 cat conftest.err >&5
8128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); } && {
8130 test -z "$ac_c_werror_flag" ||
8131 test ! -s conftest.err
8132 } && test -s conftest.$ac_objext; then
8133 ac_cv_have_decl_tzname=yes
6471else 8134else
6472 ac_have_decl=0 8135 $as_echo "$as_me: failed program was:" >&5
8136sed 's/^/| /' conftest.$ac_ext >&5
8137
8138 ac_cv_have_decl_tzname=no
8139fi
8140
8141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6473fi 8142fi
8143{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
8144$as_echo "$ac_cv_have_decl_tzname" >&6; }
8145if test $ac_cv_have_decl_tzname = yes; then
6474 8146
6475cat >>confdefs.h <<_ACEOF 8147cat >>confdefs.h <<_ACEOF
6476#define HAVE_DECL_TZNAME $ac_have_decl 8148#define HAVE_DECL_TZNAME 1
8149_ACEOF
8150
8151
8152else
8153 cat >>confdefs.h <<_ACEOF
8154#define HAVE_DECL_TZNAME 0
6477_ACEOF 8155_ACEOF
6478 8156
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 8157
8158fi
8159
8160
8161 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
6480$as_echo_n "checking for tzname... " >&6; } 8162$as_echo_n "checking for tzname... " >&6; }
6481if test "${ac_cv_var_tzname+set}" = set; then : 8163if test "${ac_cv_var_tzname+set}" = set; then
6482 $as_echo_n "(cached) " >&6 8164 $as_echo_n "(cached) " >&6
6483else 8165else
6484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8166 cat >conftest.$ac_ext <<_ACEOF
8167/* confdefs.h. */
8168_ACEOF
8169cat confdefs.h >>conftest.$ac_ext
8170cat >>conftest.$ac_ext <<_ACEOF
6485/* end confdefs.h. */ 8171/* end confdefs.h. */
6486#include <time.h> 8172#include <time.h>
6487#if !HAVE_DECL_TZNAME 8173#if !HAVE_DECL_TZNAME
@@ -6496,40 +8182,265 @@ return tzname[0][0];
6496 return 0; 8182 return 0;
6497} 8183}
6498_ACEOF 8184_ACEOF
6499if ac_fn_c_try_link "$LINENO"; then : 8185rm -f conftest.$ac_objext conftest$ac_exeext
8186if { (ac_try="$ac_link"
8187case "(($ac_try" in
8188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8189 *) ac_try_echo=$ac_try;;
8190esac
8191eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8192$as_echo "$ac_try_echo") >&5
8193 (eval "$ac_link") 2>conftest.er1
8194 ac_status=$?
8195 grep -v '^ *+' conftest.er1 >conftest.err
8196 rm -f conftest.er1
8197 cat conftest.err >&5
8198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } && {
8200 test -z "$ac_c_werror_flag" ||
8201 test ! -s conftest.err
8202 } && test -s conftest$ac_exeext && {
8203 test "$cross_compiling" = yes ||
8204 $as_test_x conftest$ac_exeext
8205 }; then
6500 ac_cv_var_tzname=yes 8206 ac_cv_var_tzname=yes
6501else 8207else
6502 ac_cv_var_tzname=no 8208 $as_echo "$as_me: failed program was:" >&5
8209sed 's/^/| /' conftest.$ac_ext >&5
8210
8211 ac_cv_var_tzname=no
6503fi 8212fi
6504rm -f core conftest.err conftest.$ac_objext \ 8213
6505 conftest$ac_exeext conftest.$ac_ext 8214rm -rf conftest.dSYM
8215rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8216 conftest$ac_exeext conftest.$ac_ext
6506fi 8217fi
6507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 8218{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6508$as_echo "$ac_cv_var_tzname" >&6; } 8219$as_echo "$ac_cv_var_tzname" >&6; }
6509 if test $ac_cv_var_tzname = yes; then 8220 if test $ac_cv_var_tzname = yes; then
6510 8221
6511$as_echo "#define HAVE_TZNAME 1" >>confdefs.h 8222cat >>confdefs.h <<\_ACEOF
8223#define HAVE_TZNAME 1
8224_ACEOF
6512 8225
6513 fi 8226 fi
6514fi 8227fi
6515 8228
6516ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 8229{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6517" 8230$as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
6518if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 8231if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
8232 $as_echo_n "(cached) " >&6
8233else
8234 cat >conftest.$ac_ext <<_ACEOF
8235/* confdefs.h. */
8236_ACEOF
8237cat confdefs.h >>conftest.$ac_ext
8238cat >>conftest.$ac_ext <<_ACEOF
8239/* end confdefs.h. */
8240#include <time.h>
8241
8242int
8243main ()
8244{
8245static struct tm ac_aggr;
8246if (ac_aggr.tm_gmtoff)
8247return 0;
8248 ;
8249 return 0;
8250}
8251_ACEOF
8252rm -f conftest.$ac_objext
8253if { (ac_try="$ac_compile"
8254case "(($ac_try" in
8255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256 *) ac_try_echo=$ac_try;;
8257esac
8258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8259$as_echo "$ac_try_echo") >&5
8260 (eval "$ac_compile") 2>conftest.er1
8261 ac_status=$?
8262 grep -v '^ *+' conftest.er1 >conftest.err
8263 rm -f conftest.er1
8264 cat conftest.err >&5
8265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } && {
8267 test -z "$ac_c_werror_flag" ||
8268 test ! -s conftest.err
8269 } && test -s conftest.$ac_objext; then
8270 ac_cv_member_struct_tm_tm_gmtoff=yes
8271else
8272 $as_echo "$as_me: failed program was:" >&5
8273sed 's/^/| /' conftest.$ac_ext >&5
6519 8274
6520$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 8275 cat >conftest.$ac_ext <<_ACEOF
8276/* confdefs.h. */
8277_ACEOF
8278cat confdefs.h >>conftest.$ac_ext
8279cat >>conftest.$ac_ext <<_ACEOF
8280/* end confdefs.h. */
8281#include <time.h>
8282
8283int
8284main ()
8285{
8286static struct tm ac_aggr;
8287if (sizeof ac_aggr.tm_gmtoff)
8288return 0;
8289 ;
8290 return 0;
8291}
8292_ACEOF
8293rm -f conftest.$ac_objext
8294if { (ac_try="$ac_compile"
8295case "(($ac_try" in
8296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8297 *) ac_try_echo=$ac_try;;
8298esac
8299eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8300$as_echo "$ac_try_echo") >&5
8301 (eval "$ac_compile") 2>conftest.er1
8302 ac_status=$?
8303 grep -v '^ *+' conftest.er1 >conftest.err
8304 rm -f conftest.er1
8305 cat conftest.err >&5
8306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); } && {
8308 test -z "$ac_c_werror_flag" ||
8309 test ! -s conftest.err
8310 } && test -s conftest.$ac_objext; then
8311 ac_cv_member_struct_tm_tm_gmtoff=yes
8312else
8313 $as_echo "$as_me: failed program was:" >&5
8314sed 's/^/| /' conftest.$ac_ext >&5
8315
8316 ac_cv_member_struct_tm_tm_gmtoff=no
8317fi
8318
8319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8320fi
8321
8322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323fi
8324{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8325$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8326if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8327
8328cat >>confdefs.h <<\_ACEOF
8329#define HAVE_TM_GMTOFF 1
8330_ACEOF
6521 8331
6522fi 8332fi
6523 8333
6524ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default 8334{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
8335$as_echo_n "checking for struct ifreq.ifr_flags... " >&6; }
8336if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8337 $as_echo_n "(cached) " >&6
8338else
8339 cat >conftest.$ac_ext <<_ACEOF
8340/* confdefs.h. */
8341_ACEOF
8342cat confdefs.h >>conftest.$ac_ext
8343cat >>conftest.$ac_ext <<_ACEOF
8344/* end confdefs.h. */
8345$ac_includes_default
6525#if HAVE_SYS_SOCKET_H 8346#if HAVE_SYS_SOCKET_H
6526#include <sys/socket.h> 8347#include <sys/socket.h>
6527#endif 8348#endif
6528#if HAVE_NET_IF_H 8349#if HAVE_NET_IF_H
6529#include <net/if.h> 8350#include <net/if.h>
6530#endif 8351#endif
6531" 8352
6532if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 8353int
8354main ()
8355{
8356static struct ifreq ac_aggr;
8357if (ac_aggr.ifr_flags)
8358return 0;
8359 ;
8360 return 0;
8361}
8362_ACEOF
8363rm -f conftest.$ac_objext
8364if { (ac_try="$ac_compile"
8365case "(($ac_try" in
8366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367 *) ac_try_echo=$ac_try;;
8368esac
8369eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8370$as_echo "$ac_try_echo") >&5
8371 (eval "$ac_compile") 2>conftest.er1
8372 ac_status=$?
8373 grep -v '^ *+' conftest.er1 >conftest.err
8374 rm -f conftest.er1
8375 cat conftest.err >&5
8376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest.$ac_objext; then
8381 ac_cv_member_struct_ifreq_ifr_flags=yes
8382else
8383 $as_echo "$as_me: failed program was:" >&5
8384sed 's/^/| /' conftest.$ac_ext >&5
8385
8386 cat >conftest.$ac_ext <<_ACEOF
8387/* confdefs.h. */
8388_ACEOF
8389cat confdefs.h >>conftest.$ac_ext
8390cat >>conftest.$ac_ext <<_ACEOF
8391/* end confdefs.h. */
8392$ac_includes_default
8393#if HAVE_SYS_SOCKET_H
8394#include <sys/socket.h>
8395#endif
8396#if HAVE_NET_IF_H
8397#include <net/if.h>
8398#endif
8399
8400int
8401main ()
8402{
8403static struct ifreq ac_aggr;
8404if (sizeof ac_aggr.ifr_flags)
8405return 0;
8406 ;
8407 return 0;
8408}
8409_ACEOF
8410rm -f conftest.$ac_objext
8411if { (ac_try="$ac_compile"
8412case "(($ac_try" in
8413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8414 *) ac_try_echo=$ac_try;;
8415esac
8416eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8417$as_echo "$ac_try_echo") >&5
8418 (eval "$ac_compile") 2>conftest.er1
8419 ac_status=$?
8420 grep -v '^ *+' conftest.er1 >conftest.err
8421 rm -f conftest.er1
8422 cat conftest.err >&5
8423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } && {
8425 test -z "$ac_c_werror_flag" ||
8426 test ! -s conftest.err
8427 } && test -s conftest.$ac_objext; then
8428 ac_cv_member_struct_ifreq_ifr_flags=yes
8429else
8430 $as_echo "$as_me: failed program was:" >&5
8431sed 's/^/| /' conftest.$ac_ext >&5
8432
8433 ac_cv_member_struct_ifreq_ifr_flags=no
8434fi
8435
8436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8437fi
8438
8439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8440fi
8441{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8442$as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8443if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
6533 8444
6534cat >>confdefs.h <<_ACEOF 8445cat >>confdefs.h <<_ACEOF
6535#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8446#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -6537,15 +8448,116 @@ _ACEOF
6537 8448
6538 8449
6539fi 8450fi
6540ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default 8451{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
8452$as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; }
8453if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8454 $as_echo_n "(cached) " >&6
8455else
8456 cat >conftest.$ac_ext <<_ACEOF
8457/* confdefs.h. */
8458_ACEOF
8459cat confdefs.h >>conftest.$ac_ext
8460cat >>conftest.$ac_ext <<_ACEOF
8461/* end confdefs.h. */
8462$ac_includes_default
6541#if HAVE_SYS_SOCKET_H 8463#if HAVE_SYS_SOCKET_H
6542#include <sys/socket.h> 8464#include <sys/socket.h>
6543#endif 8465#endif
6544#if HAVE_NET_IF_H 8466#if HAVE_NET_IF_H
6545#include <net/if.h> 8467#include <net/if.h>
6546#endif 8468#endif
6547" 8469
6548if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 8470int
8471main ()
8472{
8473static struct ifreq ac_aggr;
8474if (ac_aggr.ifr_hwaddr)
8475return 0;
8476 ;
8477 return 0;
8478}
8479_ACEOF
8480rm -f conftest.$ac_objext
8481if { (ac_try="$ac_compile"
8482case "(($ac_try" in
8483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8485esac
8486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8487$as_echo "$ac_try_echo") >&5
8488 (eval "$ac_compile") 2>conftest.er1
8489 ac_status=$?
8490 grep -v '^ *+' conftest.er1 >conftest.err
8491 rm -f conftest.er1
8492 cat conftest.err >&5
8493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } && {
8495 test -z "$ac_c_werror_flag" ||
8496 test ! -s conftest.err
8497 } && test -s conftest.$ac_objext; then
8498 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8499else
8500 $as_echo "$as_me: failed program was:" >&5
8501sed 's/^/| /' conftest.$ac_ext >&5
8502
8503 cat >conftest.$ac_ext <<_ACEOF
8504/* confdefs.h. */
8505_ACEOF
8506cat confdefs.h >>conftest.$ac_ext
8507cat >>conftest.$ac_ext <<_ACEOF
8508/* end confdefs.h. */
8509$ac_includes_default
8510#if HAVE_SYS_SOCKET_H
8511#include <sys/socket.h>
8512#endif
8513#if HAVE_NET_IF_H
8514#include <net/if.h>
8515#endif
8516
8517int
8518main ()
8519{
8520static struct ifreq ac_aggr;
8521if (sizeof ac_aggr.ifr_hwaddr)
8522return 0;
8523 ;
8524 return 0;
8525}
8526_ACEOF
8527rm -f conftest.$ac_objext
8528if { (ac_try="$ac_compile"
8529case "(($ac_try" in
8530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8531 *) ac_try_echo=$ac_try;;
8532esac
8533eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8534$as_echo "$ac_try_echo") >&5
8535 (eval "$ac_compile") 2>conftest.er1
8536 ac_status=$?
8537 grep -v '^ *+' conftest.er1 >conftest.err
8538 rm -f conftest.er1
8539 cat conftest.err >&5
8540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } && {
8542 test -z "$ac_c_werror_flag" ||
8543 test ! -s conftest.err
8544 } && test -s conftest.$ac_objext; then
8545 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8546else
8547 $as_echo "$as_me: failed program was:" >&5
8548sed 's/^/| /' conftest.$ac_ext >&5
8549
8550 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8551fi
8552
8553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8554fi
8555
8556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557fi
8558{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8559$as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8560if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
6549 8561
6550cat >>confdefs.h <<_ACEOF 8562cat >>confdefs.h <<_ACEOF
6551#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8563#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -6553,15 +8565,116 @@ _ACEOF
6553 8565
6554 8566
6555fi 8567fi
6556ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default 8568{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
8569$as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; }
8570if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8571 $as_echo_n "(cached) " >&6
8572else
8573 cat >conftest.$ac_ext <<_ACEOF
8574/* confdefs.h. */
8575_ACEOF
8576cat confdefs.h >>conftest.$ac_ext
8577cat >>conftest.$ac_ext <<_ACEOF
8578/* end confdefs.h. */
8579$ac_includes_default
8580#if HAVE_SYS_SOCKET_H
8581#include <sys/socket.h>
8582#endif
8583#if HAVE_NET_IF_H
8584#include <net/if.h>
8585#endif
8586
8587int
8588main ()
8589{
8590static struct ifreq ac_aggr;
8591if (ac_aggr.ifr_netmask)
8592return 0;
8593 ;
8594 return 0;
8595}
8596_ACEOF
8597rm -f conftest.$ac_objext
8598if { (ac_try="$ac_compile"
8599case "(($ac_try" in
8600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8601 *) ac_try_echo=$ac_try;;
8602esac
8603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8604$as_echo "$ac_try_echo") >&5
8605 (eval "$ac_compile") 2>conftest.er1
8606 ac_status=$?
8607 grep -v '^ *+' conftest.er1 >conftest.err
8608 rm -f conftest.er1
8609 cat conftest.err >&5
8610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } && {
8612 test -z "$ac_c_werror_flag" ||
8613 test ! -s conftest.err
8614 } && test -s conftest.$ac_objext; then
8615 ac_cv_member_struct_ifreq_ifr_netmask=yes
8616else
8617 $as_echo "$as_me: failed program was:" >&5
8618sed 's/^/| /' conftest.$ac_ext >&5
8619
8620 cat >conftest.$ac_ext <<_ACEOF
8621/* confdefs.h. */
8622_ACEOF
8623cat confdefs.h >>conftest.$ac_ext
8624cat >>conftest.$ac_ext <<_ACEOF
8625/* end confdefs.h. */
8626$ac_includes_default
6557#if HAVE_SYS_SOCKET_H 8627#if HAVE_SYS_SOCKET_H
6558#include <sys/socket.h> 8628#include <sys/socket.h>
6559#endif 8629#endif
6560#if HAVE_NET_IF_H 8630#if HAVE_NET_IF_H
6561#include <net/if.h> 8631#include <net/if.h>
6562#endif 8632#endif
6563" 8633
6564if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 8634int
8635main ()
8636{
8637static struct ifreq ac_aggr;
8638if (sizeof ac_aggr.ifr_netmask)
8639return 0;
8640 ;
8641 return 0;
8642}
8643_ACEOF
8644rm -f conftest.$ac_objext
8645if { (ac_try="$ac_compile"
8646case "(($ac_try" in
8647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8648 *) ac_try_echo=$ac_try;;
8649esac
8650eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8651$as_echo "$ac_try_echo") >&5
8652 (eval "$ac_compile") 2>conftest.er1
8653 ac_status=$?
8654 grep -v '^ *+' conftest.er1 >conftest.err
8655 rm -f conftest.er1
8656 cat conftest.err >&5
8657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } && {
8659 test -z "$ac_c_werror_flag" ||
8660 test ! -s conftest.err
8661 } && test -s conftest.$ac_objext; then
8662 ac_cv_member_struct_ifreq_ifr_netmask=yes
8663else
8664 $as_echo "$as_me: failed program was:" >&5
8665sed 's/^/| /' conftest.$ac_ext >&5
8666
8667 ac_cv_member_struct_ifreq_ifr_netmask=no
8668fi
8669
8670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8671fi
8672
8673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8674fi
8675{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8676$as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8677if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
6565 8678
6566cat >>confdefs.h <<_ACEOF 8679cat >>confdefs.h <<_ACEOF
6567#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8680#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -6569,15 +8682,116 @@ _ACEOF
6569 8682
6570 8683
6571fi 8684fi
6572ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default 8685{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
8686$as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; }
8687if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8688 $as_echo_n "(cached) " >&6
8689else
8690 cat >conftest.$ac_ext <<_ACEOF
8691/* confdefs.h. */
8692_ACEOF
8693cat confdefs.h >>conftest.$ac_ext
8694cat >>conftest.$ac_ext <<_ACEOF
8695/* end confdefs.h. */
8696$ac_includes_default
8697#if HAVE_SYS_SOCKET_H
8698#include <sys/socket.h>
8699#endif
8700#if HAVE_NET_IF_H
8701#include <net/if.h>
8702#endif
8703
8704int
8705main ()
8706{
8707static struct ifreq ac_aggr;
8708if (ac_aggr.ifr_broadaddr)
8709return 0;
8710 ;
8711 return 0;
8712}
8713_ACEOF
8714rm -f conftest.$ac_objext
8715if { (ac_try="$ac_compile"
8716case "(($ac_try" in
8717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8718 *) ac_try_echo=$ac_try;;
8719esac
8720eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8721$as_echo "$ac_try_echo") >&5
8722 (eval "$ac_compile") 2>conftest.er1
8723 ac_status=$?
8724 grep -v '^ *+' conftest.er1 >conftest.err
8725 rm -f conftest.er1
8726 cat conftest.err >&5
8727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest.$ac_objext; then
8732 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8733else
8734 $as_echo "$as_me: failed program was:" >&5
8735sed 's/^/| /' conftest.$ac_ext >&5
8736
8737 cat >conftest.$ac_ext <<_ACEOF
8738/* confdefs.h. */
8739_ACEOF
8740cat confdefs.h >>conftest.$ac_ext
8741cat >>conftest.$ac_ext <<_ACEOF
8742/* end confdefs.h. */
8743$ac_includes_default
6573#if HAVE_SYS_SOCKET_H 8744#if HAVE_SYS_SOCKET_H
6574#include <sys/socket.h> 8745#include <sys/socket.h>
6575#endif 8746#endif
6576#if HAVE_NET_IF_H 8747#if HAVE_NET_IF_H
6577#include <net/if.h> 8748#include <net/if.h>
6578#endif 8749#endif
6579" 8750
6580if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 8751int
8752main ()
8753{
8754static struct ifreq ac_aggr;
8755if (sizeof ac_aggr.ifr_broadaddr)
8756return 0;
8757 ;
8758 return 0;
8759}
8760_ACEOF
8761rm -f conftest.$ac_objext
8762if { (ac_try="$ac_compile"
8763case "(($ac_try" in
8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765 *) ac_try_echo=$ac_try;;
8766esac
8767eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8768$as_echo "$ac_try_echo") >&5
8769 (eval "$ac_compile") 2>conftest.er1
8770 ac_status=$?
8771 grep -v '^ *+' conftest.er1 >conftest.err
8772 rm -f conftest.er1
8773 cat conftest.err >&5
8774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); } && {
8776 test -z "$ac_c_werror_flag" ||
8777 test ! -s conftest.err
8778 } && test -s conftest.$ac_objext; then
8779 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8780else
8781 $as_echo "$as_me: failed program was:" >&5
8782sed 's/^/| /' conftest.$ac_ext >&5
8783
8784 ac_cv_member_struct_ifreq_ifr_broadaddr=no
8785fi
8786
8787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8788fi
8789
8790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8791fi
8792{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8793$as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8794if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
6581 8795
6582cat >>confdefs.h <<_ACEOF 8796cat >>confdefs.h <<_ACEOF
6583#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8797#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -6585,15 +8799,116 @@ _ACEOF
6585 8799
6586 8800
6587fi 8801fi
6588ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default 8802{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
8803$as_echo_n "checking for struct ifreq.ifr_addr... " >&6; }
8804if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
8805 $as_echo_n "(cached) " >&6
8806else
8807 cat >conftest.$ac_ext <<_ACEOF
8808/* confdefs.h. */
8809_ACEOF
8810cat confdefs.h >>conftest.$ac_ext
8811cat >>conftest.$ac_ext <<_ACEOF
8812/* end confdefs.h. */
8813$ac_includes_default
6589#if HAVE_SYS_SOCKET_H 8814#if HAVE_SYS_SOCKET_H
6590#include <sys/socket.h> 8815#include <sys/socket.h>
6591#endif 8816#endif
6592#if HAVE_NET_IF_H 8817#if HAVE_NET_IF_H
6593#include <net/if.h> 8818#include <net/if.h>
6594#endif 8819#endif
6595" 8820
6596if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 8821int
8822main ()
8823{
8824static struct ifreq ac_aggr;
8825if (ac_aggr.ifr_addr)
8826return 0;
8827 ;
8828 return 0;
8829}
8830_ACEOF
8831rm -f conftest.$ac_objext
8832if { (ac_try="$ac_compile"
8833case "(($ac_try" in
8834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8835 *) ac_try_echo=$ac_try;;
8836esac
8837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8838$as_echo "$ac_try_echo") >&5
8839 (eval "$ac_compile") 2>conftest.er1
8840 ac_status=$?
8841 grep -v '^ *+' conftest.er1 >conftest.err
8842 rm -f conftest.er1
8843 cat conftest.err >&5
8844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } && {
8846 test -z "$ac_c_werror_flag" ||
8847 test ! -s conftest.err
8848 } && test -s conftest.$ac_objext; then
8849 ac_cv_member_struct_ifreq_ifr_addr=yes
8850else
8851 $as_echo "$as_me: failed program was:" >&5
8852sed 's/^/| /' conftest.$ac_ext >&5
8853
8854 cat >conftest.$ac_ext <<_ACEOF
8855/* confdefs.h. */
8856_ACEOF
8857cat confdefs.h >>conftest.$ac_ext
8858cat >>conftest.$ac_ext <<_ACEOF
8859/* end confdefs.h. */
8860$ac_includes_default
8861#if HAVE_SYS_SOCKET_H
8862#include <sys/socket.h>
8863#endif
8864#if HAVE_NET_IF_H
8865#include <net/if.h>
8866#endif
8867
8868int
8869main ()
8870{
8871static struct ifreq ac_aggr;
8872if (sizeof ac_aggr.ifr_addr)
8873return 0;
8874 ;
8875 return 0;
8876}
8877_ACEOF
8878rm -f conftest.$ac_objext
8879if { (ac_try="$ac_compile"
8880case "(($ac_try" in
8881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8882 *) ac_try_echo=$ac_try;;
8883esac
8884eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8885$as_echo "$ac_try_echo") >&5
8886 (eval "$ac_compile") 2>conftest.er1
8887 ac_status=$?
8888 grep -v '^ *+' conftest.er1 >conftest.err
8889 rm -f conftest.er1
8890 cat conftest.err >&5
8891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); } && {
8893 test -z "$ac_c_werror_flag" ||
8894 test ! -s conftest.err
8895 } && test -s conftest.$ac_objext; then
8896 ac_cv_member_struct_ifreq_ifr_addr=yes
8897else
8898 $as_echo "$as_me: failed program was:" >&5
8899sed 's/^/| /' conftest.$ac_ext >&5
8900
8901 ac_cv_member_struct_ifreq_ifr_addr=no
8902fi
8903
8904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8905fi
8906
8907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8908fi
8909{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8910$as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8911if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
6597 8912
6598cat >>confdefs.h <<_ACEOF 8913cat >>confdefs.h <<_ACEOF
6599#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8914#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -6604,28 +8919,36 @@ fi
6604 8919
6605 8920
6606 8921
6607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 8922{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
6608$as_echo_n "checking for function prototypes... " >&6; } 8923$as_echo_n "checking for function prototypes... " >&6; }
6609if test "$ac_cv_prog_cc_c89" != no; then 8924if test "$ac_cv_prog_cc_c89" != no; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8925 { $as_echo "$as_me:$LINENO: result: yes" >&5
6611$as_echo "yes" >&6; } 8926$as_echo "yes" >&6; }
6612 8927
6613$as_echo "#define PROTOTYPES 1" >>confdefs.h 8928cat >>confdefs.h <<\_ACEOF
8929#define PROTOTYPES 1
8930_ACEOF
6614 8931
6615 8932
6616$as_echo "#define __PROTOTYPES 1" >>confdefs.h 8933cat >>confdefs.h <<\_ACEOF
8934#define __PROTOTYPES 1
8935_ACEOF
6617 8936
6618else 8937else
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8938 { $as_echo "$as_me:$LINENO: result: no" >&5
6620$as_echo "no" >&6; } 8939$as_echo "no" >&6; }
6621fi 8940fi
6622 8941
6623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 8942{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5
6624$as_echo_n "checking for working volatile... " >&6; } 8943$as_echo_n "checking for working volatile... " >&6; }
6625if test "${ac_cv_c_volatile+set}" = set; then : 8944if test "${ac_cv_c_volatile+set}" = set; then
6626 $as_echo_n "(cached) " >&6 8945 $as_echo_n "(cached) " >&6
6627else 8946else
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8947 cat >conftest.$ac_ext <<_ACEOF
8948/* confdefs.h. */
8949_ACEOF
8950cat confdefs.h >>conftest.$ac_ext
8951cat >>conftest.$ac_ext <<_ACEOF
6629/* end confdefs.h. */ 8952/* end confdefs.h. */
6630 8953
6631int 8954int
@@ -6639,27 +8962,54 @@ return !x && !y;
6639 return 0; 8962 return 0;
6640} 8963}
6641_ACEOF 8964_ACEOF
6642if ac_fn_c_try_compile "$LINENO"; then : 8965rm -f conftest.$ac_objext
8966if { (ac_try="$ac_compile"
8967case "(($ac_try" in
8968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8969 *) ac_try_echo=$ac_try;;
8970esac
8971eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8972$as_echo "$ac_try_echo") >&5
8973 (eval "$ac_compile") 2>conftest.er1
8974 ac_status=$?
8975 grep -v '^ *+' conftest.er1 >conftest.err
8976 rm -f conftest.er1
8977 cat conftest.err >&5
8978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } && {
8980 test -z "$ac_c_werror_flag" ||
8981 test ! -s conftest.err
8982 } && test -s conftest.$ac_objext; then
6643 ac_cv_c_volatile=yes 8983 ac_cv_c_volatile=yes
6644else 8984else
6645 ac_cv_c_volatile=no 8985 $as_echo "$as_me: failed program was:" >&5
8986sed 's/^/| /' conftest.$ac_ext >&5
8987
8988 ac_cv_c_volatile=no
6646fi 8989fi
8990
6647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6648fi 8992fi
6649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 8993{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
6650$as_echo "$ac_cv_c_volatile" >&6; } 8994$as_echo "$ac_cv_c_volatile" >&6; }
6651if test $ac_cv_c_volatile = no; then 8995if test $ac_cv_c_volatile = no; then
6652 8996
6653$as_echo "#define volatile /**/" >>confdefs.h 8997cat >>confdefs.h <<\_ACEOF
8998#define volatile /**/
8999_ACEOF
6654 9000
6655fi 9001fi
6656 9002
6657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 9003{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6658$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 9004$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6659if test "${ac_cv_c_const+set}" = set; then : 9005if test "${ac_cv_c_const+set}" = set; then
6660 $as_echo_n "(cached) " >&6 9006 $as_echo_n "(cached) " >&6
6661else 9007else
6662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9008 cat >conftest.$ac_ext <<_ACEOF
9009/* confdefs.h. */
9010_ACEOF
9011cat confdefs.h >>conftest.$ac_ext
9012cat >>conftest.$ac_ext <<_ACEOF
6663/* end confdefs.h. */ 9013/* end confdefs.h. */
6664 9014
6665int 9015int
@@ -6719,27 +9069,54 @@ main ()
6719 return 0; 9069 return 0;
6720} 9070}
6721_ACEOF 9071_ACEOF
6722if ac_fn_c_try_compile "$LINENO"; then : 9072rm -f conftest.$ac_objext
9073if { (ac_try="$ac_compile"
9074case "(($ac_try" in
9075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9076 *) ac_try_echo=$ac_try;;
9077esac
9078eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9079$as_echo "$ac_try_echo") >&5
9080 (eval "$ac_compile") 2>conftest.er1
9081 ac_status=$?
9082 grep -v '^ *+' conftest.er1 >conftest.err
9083 rm -f conftest.er1
9084 cat conftest.err >&5
9085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } && {
9087 test -z "$ac_c_werror_flag" ||
9088 test ! -s conftest.err
9089 } && test -s conftest.$ac_objext; then
6723 ac_cv_c_const=yes 9090 ac_cv_c_const=yes
6724else 9091else
6725 ac_cv_c_const=no 9092 $as_echo "$as_me: failed program was:" >&5
9093sed 's/^/| /' conftest.$ac_ext >&5
9094
9095 ac_cv_c_const=no
6726fi 9096fi
9097
6727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6728fi 9099fi
6729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 9100{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6730$as_echo "$ac_cv_c_const" >&6; } 9101$as_echo "$ac_cv_c_const" >&6; }
6731if test $ac_cv_c_const = no; then 9102if test $ac_cv_c_const = no; then
6732 9103
6733$as_echo "#define const /**/" >>confdefs.h 9104cat >>confdefs.h <<\_ACEOF
9105#define const /**/
9106_ACEOF
6734 9107
6735fi 9108fi
6736 9109
6737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 9110{ $as_echo "$as_me:$LINENO: checking for void * support" >&5
6738$as_echo_n "checking for void * support... " >&6; } 9111$as_echo_n "checking for void * support... " >&6; }
6739if test "${emacs_cv_void_star+set}" = set; then : 9112if test "${emacs_cv_void_star+set}" = set; then
6740 $as_echo_n "(cached) " >&6 9113 $as_echo_n "(cached) " >&6
6741else 9114else
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9115 cat >conftest.$ac_ext <<_ACEOF
9116/* confdefs.h. */
9117_ACEOF
9118cat confdefs.h >>conftest.$ac_ext
9119cat >>conftest.$ac_ext <<_ACEOF
6743/* end confdefs.h. */ 9120/* end confdefs.h. */
6744 9121
6745int 9122int
@@ -6750,31 +9127,57 @@ void * foo;
6750 return 0; 9127 return 0;
6751} 9128}
6752_ACEOF 9129_ACEOF
6753if ac_fn_c_try_compile "$LINENO"; then : 9130rm -f conftest.$ac_objext
9131if { (ac_try="$ac_compile"
9132case "(($ac_try" in
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9134 *) ac_try_echo=$ac_try;;
9135esac
9136eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9137$as_echo "$ac_try_echo") >&5
9138 (eval "$ac_compile") 2>conftest.er1
9139 ac_status=$?
9140 grep -v '^ *+' conftest.er1 >conftest.err
9141 rm -f conftest.er1
9142 cat conftest.err >&5
9143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && {
9145 test -z "$ac_c_werror_flag" ||
9146 test ! -s conftest.err
9147 } && test -s conftest.$ac_objext; then
6754 emacs_cv_void_star=yes 9148 emacs_cv_void_star=yes
6755else 9149else
6756 emacs_cv_void_star=no 9150 $as_echo "$as_me: failed program was:" >&5
9151sed 's/^/| /' conftest.$ac_ext >&5
9152
9153 emacs_cv_void_star=no
6757fi 9154fi
9155
6758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6759fi 9157fi
6760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 9158{ $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
6761$as_echo "$emacs_cv_void_star" >&6; } 9159$as_echo "$emacs_cv_void_star" >&6; }
6762if test $emacs_cv_void_star = yes; then 9160if test $emacs_cv_void_star = yes; then
6763 $as_echo "#define POINTER_TYPE void" >>confdefs.h 9161 cat >>confdefs.h <<\_ACEOF
9162#define POINTER_TYPE void
9163_ACEOF
6764 9164
6765else 9165else
6766 $as_echo "#define POINTER_TYPE char" >>confdefs.h 9166 cat >>confdefs.h <<\_ACEOF
9167#define POINTER_TYPE char
9168_ACEOF
6767 9169
6768fi 9170fi
6769 9171
6770 9172
6771 9173
6772 9174
6773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 9175
9176{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6774$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 9177$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6775set x ${MAKE-make} 9178set x ${MAKE-make}
6776ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 9179ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6777if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 9180if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6778 $as_echo_n "(cached) " >&6 9181 $as_echo_n "(cached) " >&6
6779else 9182else
6780 cat >conftest.make <<\_ACEOF 9183 cat >conftest.make <<\_ACEOF
@@ -6792,18 +9195,18 @@ esac
6792rm -f conftest.make 9195rm -f conftest.make
6793fi 9196fi
6794if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 9197if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9198 { $as_echo "$as_me:$LINENO: result: yes" >&5
6796$as_echo "yes" >&6; } 9199$as_echo "yes" >&6; }
6797 SET_MAKE= 9200 SET_MAKE=
6798else 9201else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9202 { $as_echo "$as_me:$LINENO: result: no" >&5
6800$as_echo "no" >&6; } 9203$as_echo "no" >&6; }
6801 SET_MAKE="MAKE=${MAKE-make}" 9204 SET_MAKE="MAKE=${MAKE-make}"
6802fi 9205fi
6803 9206
6804 9207
6805if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then 9208if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 9209 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5
6807$as_echo_n "checking whether we are using GNU Make... " >&6; } 9210$as_echo_n "checking whether we are using GNU Make... " >&6; }
6808 HAVE_GNU_MAKE=no 9211 HAVE_GNU_MAKE=no
6809 testval=`make --version 2>/dev/null | grep 'GNU Make'` 9212 testval=`make --version 2>/dev/null | grep 'GNU Make'`
@@ -6812,14 +9215,18 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; }
6812 else 9215 else
6813 ac_enable_autodepend=no 9216 ac_enable_autodepend=no
6814 fi 9217 fi
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 9218 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5
6816$as_echo "$HAVE_GNU_MAKE" >&6; } 9219$as_echo "$HAVE_GNU_MAKE" >&6; }
6817 if test $HAVE_GNU_MAKE = yes; then 9220 if test $HAVE_GNU_MAKE = yes; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 9221 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5
6819$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } 9222$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; }
6820 SAVE_CFLAGS="$CFLAGS" 9223 SAVE_CFLAGS="$CFLAGS"
6821 CFLAGS="$CFLAGS -MMD -MF deps.d" 9224 CFLAGS="$CFLAGS -MMD -MF deps.d"
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9225 cat >conftest.$ac_ext <<_ACEOF
9226/* confdefs.h. */
9227_ACEOF
9228cat confdefs.h >>conftest.$ac_ext
9229cat >>conftest.$ac_ext <<_ACEOF
6823/* end confdefs.h. */ 9230/* end confdefs.h. */
6824 9231
6825int 9232int
@@ -6830,28 +9237,51 @@ main ()
6830 return 0; 9237 return 0;
6831} 9238}
6832_ACEOF 9239_ACEOF
6833if ac_fn_c_try_compile "$LINENO"; then : 9240rm -f conftest.$ac_objext
6834 9241if { (ac_try="$ac_compile"
9242case "(($ac_try" in
9243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9244 *) ac_try_echo=$ac_try;;
9245esac
9246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9247$as_echo "$ac_try_echo") >&5
9248 (eval "$ac_compile") 2>conftest.er1
9249 ac_status=$?
9250 grep -v '^ *+' conftest.er1 >conftest.err
9251 rm -f conftest.er1
9252 cat conftest.err >&5
9253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } && {
9255 test -z "$ac_c_werror_flag" ||
9256 test ! -s conftest.err
9257 } && test -s conftest.$ac_objext; then
9258 :
6835else 9259else
6836 ac_enable_autodepend=no 9260 $as_echo "$as_me: failed program was:" >&5
9261sed 's/^/| /' conftest.$ac_ext >&5
9262
9263 ac_enable_autodepend=no
6837fi 9264fi
9265
6838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6839 CFLAGS="$SAVE_CFLAGS" 9267 CFLAGS="$SAVE_CFLAGS"
6840 test -f deps.d || ac_enable_autodepend=no 9268 test -f deps.d || ac_enable_autodepend=no
6841 rm -rf deps.d 9269 rm -rf deps.d
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 9270 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5
6843$as_echo "$ac_enable_autodepend" >&6; } 9271$as_echo "$ac_enable_autodepend" >&6; }
6844 fi 9272 fi
6845 if test $ac_enable_autodepend = yes; then 9273 if test $ac_enable_autodepend = yes; then
6846 9274
6847$as_echo "#define AUTO_DEPEND 1" >>confdefs.h 9275cat >>confdefs.h <<\_ACEOF
9276#define AUTO_DEPEND 1
9277_ACEOF
6848 9278
6849 fi 9279 fi
6850fi 9280fi
6851 9281
6852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 9282{ $as_echo "$as_me:$LINENO: checking for long file names" >&5
6853$as_echo_n "checking for long file names... " >&6; } 9283$as_echo_n "checking for long file names... " >&6; }
6854if test "${ac_cv_sys_long_file_names+set}" = set; then : 9284if test "${ac_cv_sys_long_file_names+set}" = set; then
6855 $as_echo_n "(cached) " >&6 9285 $as_echo_n "(cached) " >&6
6856else 9286else
6857 ac_cv_sys_long_file_names=yes 9287 ac_cv_sys_long_file_names=yes
@@ -6881,23 +9311,25 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib
6881 test $ac_cv_sys_long_file_names = no && break 9311 test $ac_cv_sys_long_file_names = no && break
6882done 9312done
6883fi 9313fi
6884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 9314{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
6885$as_echo "$ac_cv_sys_long_file_names" >&6; } 9315$as_echo "$ac_cv_sys_long_file_names" >&6; }
6886if test $ac_cv_sys_long_file_names = yes; then 9316if test $ac_cv_sys_long_file_names = yes; then
6887 9317
6888$as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h 9318cat >>confdefs.h <<\_ACEOF
9319#define HAVE_LONG_FILE_NAMES 1
9320_ACEOF
6889 9321
6890fi 9322fi
6891 9323
6892 9324
6893#### Choose a window system. 9325#### Choose a window system.
6894 9326
6895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 9327{ $as_echo "$as_me:$LINENO: checking for X" >&5
6896$as_echo_n "checking for X... " >&6; } 9328$as_echo_n "checking for X... " >&6; }
6897 9329
6898 9330
6899# Check whether --with-x was given. 9331# Check whether --with-x was given.
6900if test "${with_x+set}" = set; then : 9332if test "${with_x+set}" = set; then
6901 withval=$with_x; 9333 withval=$with_x;
6902fi 9334fi
6903 9335
@@ -6907,8 +9339,10 @@ if test "x$with_x" = xno; then
6907 have_x=disabled 9339 have_x=disabled
6908else 9340else
6909 case $x_includes,$x_libraries in #( 9341 case $x_includes,$x_libraries in #(
6910 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 9342 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
6911 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 9343$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
9344 { (exit 1); exit 1; }; };; #(
9345 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
6912 $as_echo_n "(cached) " >&6 9346 $as_echo_n "(cached) " >&6
6913else 9347else
6914 # One or both of the vars are not set, and there is no cached value. 9348 # One or both of the vars are not set, and there is no cached value.
@@ -6944,7 +9378,7 @@ _ACEOF
6944 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 9378 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6945 esac 9379 esac
6946 case $ac_im_usrlibdir in 9380 case $ac_im_usrlibdir in
6947 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 9381 /usr/lib | /lib) ;;
6948 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 9382 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6949 esac 9383 esac
6950 fi 9384 fi
@@ -6956,25 +9390,21 @@ fi
6956# Check X11 before X11Rn because it is often a symlink to the current release. 9390# Check X11 before X11Rn because it is often a symlink to the current release.
6957ac_x_header_dirs=' 9391ac_x_header_dirs='
6958/usr/X11/include 9392/usr/X11/include
6959/usr/X11R7/include
6960/usr/X11R6/include 9393/usr/X11R6/include
6961/usr/X11R5/include 9394/usr/X11R5/include
6962/usr/X11R4/include 9395/usr/X11R4/include
6963 9396
6964/usr/include/X11 9397/usr/include/X11
6965/usr/include/X11R7
6966/usr/include/X11R6 9398/usr/include/X11R6
6967/usr/include/X11R5 9399/usr/include/X11R5
6968/usr/include/X11R4 9400/usr/include/X11R4
6969 9401
6970/usr/local/X11/include 9402/usr/local/X11/include
6971/usr/local/X11R7/include
6972/usr/local/X11R6/include 9403/usr/local/X11R6/include
6973/usr/local/X11R5/include 9404/usr/local/X11R5/include
6974/usr/local/X11R4/include 9405/usr/local/X11R4/include
6975 9406
6976/usr/local/include/X11 9407/usr/local/include/X11
6977/usr/local/include/X11R7
6978/usr/local/include/X11R6 9408/usr/local/include/X11R6
6979/usr/local/include/X11R5 9409/usr/local/include/X11R5
6980/usr/local/include/X11R4 9410/usr/local/include/X11R4
@@ -6996,14 +9426,37 @@ ac_x_header_dirs='
6996if test "$ac_x_includes" = no; then 9426if test "$ac_x_includes" = no; then
6997 # Guess where to find include files, by looking for Xlib.h. 9427 # Guess where to find include files, by looking for Xlib.h.
6998 # First, try using that file with no special directory specified. 9428 # First, try using that file with no special directory specified.
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9429 cat >conftest.$ac_ext <<_ACEOF
9430/* confdefs.h. */
9431_ACEOF
9432cat confdefs.h >>conftest.$ac_ext
9433cat >>conftest.$ac_ext <<_ACEOF
7000/* end confdefs.h. */ 9434/* end confdefs.h. */
7001#include <X11/Xlib.h> 9435#include <X11/Xlib.h>
7002_ACEOF 9436_ACEOF
7003if ac_fn_c_try_cpp "$LINENO"; then : 9437if { (ac_try="$ac_cpp conftest.$ac_ext"
9438case "(($ac_try" in
9439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9440 *) ac_try_echo=$ac_try;;
9441esac
9442eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9443$as_echo "$ac_try_echo") >&5
9444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9445 ac_status=$?
9446 grep -v '^ *+' conftest.er1 >conftest.err
9447 rm -f conftest.er1
9448 cat conftest.err >&5
9449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } >/dev/null && {
9451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9452 test ! -s conftest.err
9453 }; then
7004 # We can compile using X headers with no special include directory. 9454 # We can compile using X headers with no special include directory.
7005ac_x_includes= 9455ac_x_includes=
7006else 9456else
9457 $as_echo "$as_me: failed program was:" >&5
9458sed 's/^/| /' conftest.$ac_ext >&5
9459
7007 for ac_dir in $ac_x_header_dirs; do 9460 for ac_dir in $ac_x_header_dirs; do
7008 if test -r "$ac_dir/X11/Xlib.h"; then 9461 if test -r "$ac_dir/X11/Xlib.h"; then
7009 ac_x_includes=$ac_dir 9462 ac_x_includes=$ac_dir
@@ -7011,6 +9464,7 @@ else
7011 fi 9464 fi
7012done 9465done
7013fi 9466fi
9467
7014rm -f conftest.err conftest.$ac_ext 9468rm -f conftest.err conftest.$ac_ext
7015fi # $ac_x_includes = no 9469fi # $ac_x_includes = no
7016 9470
@@ -7020,7 +9474,11 @@ if test "$ac_x_libraries" = no; then
7020 # Don't add to $LIBS permanently. 9474 # Don't add to $LIBS permanently.
7021 ac_save_LIBS=$LIBS 9475 ac_save_LIBS=$LIBS
7022 LIBS="-lX11 $LIBS" 9476 LIBS="-lX11 $LIBS"
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9477 cat >conftest.$ac_ext <<_ACEOF
9478/* confdefs.h. */
9479_ACEOF
9480cat confdefs.h >>conftest.$ac_ext
9481cat >>conftest.$ac_ext <<_ACEOF
7024/* end confdefs.h. */ 9482/* end confdefs.h. */
7025#include <X11/Xlib.h> 9483#include <X11/Xlib.h>
7026int 9484int
@@ -7031,12 +9489,35 @@ XrmInitialize ()
7031 return 0; 9489 return 0;
7032} 9490}
7033_ACEOF 9491_ACEOF
7034if ac_fn_c_try_link "$LINENO"; then : 9492rm -f conftest.$ac_objext conftest$ac_exeext
9493if { (ac_try="$ac_link"
9494case "(($ac_try" in
9495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9496 *) ac_try_echo=$ac_try;;
9497esac
9498eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9499$as_echo "$ac_try_echo") >&5
9500 (eval "$ac_link") 2>conftest.er1
9501 ac_status=$?
9502 grep -v '^ *+' conftest.er1 >conftest.err
9503 rm -f conftest.er1
9504 cat conftest.err >&5
9505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } && {
9507 test -z "$ac_c_werror_flag" ||
9508 test ! -s conftest.err
9509 } && test -s conftest$ac_exeext && {
9510 test "$cross_compiling" = yes ||
9511 $as_test_x conftest$ac_exeext
9512 }; then
7035 LIBS=$ac_save_LIBS 9513 LIBS=$ac_save_LIBS
7036# We can link X programs with no special library path. 9514# We can link X programs with no special library path.
7037ac_x_libraries= 9515ac_x_libraries=
7038else 9516else
7039 LIBS=$ac_save_LIBS 9517 $as_echo "$as_me: failed program was:" >&5
9518sed 's/^/| /' conftest.$ac_ext >&5
9519
9520 LIBS=$ac_save_LIBS
7040for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9521for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7041do 9522do
7042 # Don't even attempt the hair of trying to link an X program! 9523 # Don't even attempt the hair of trying to link an X program!
@@ -7048,8 +9529,10 @@ do
7048 done 9529 done
7049done 9530done
7050fi 9531fi
7051rm -f core conftest.err conftest.$ac_objext \ 9532
7052 conftest$ac_exeext conftest.$ac_ext 9533rm -rf conftest.dSYM
9534rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9535 conftest$ac_exeext conftest.$ac_ext
7053fi # $ac_x_libraries = no 9536fi # $ac_x_libraries = no
7054 9537
7055case $ac_x_includes,$ac_x_libraries in #( 9538case $ac_x_includes,$ac_x_libraries in #(
@@ -7070,7 +9553,7 @@ fi
7070fi # $with_x != no 9553fi # $with_x != no
7071 9554
7072if test "$have_x" != yes; then 9555if test "$have_x" != yes; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 9556 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
7074$as_echo "$have_x" >&6; } 9557$as_echo "$have_x" >&6; }
7075 no_x=yes 9558 no_x=yes
7076else 9559else
@@ -7081,7 +9564,7 @@ else
7081 ac_cv_have_x="have_x=yes\ 9564 ac_cv_have_x="have_x=yes\
7082 ac_x_includes='$x_includes'\ 9565 ac_x_includes='$x_includes'\
7083 ac_x_libraries='$x_libraries'" 9566 ac_x_libraries='$x_libraries'"
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 9567 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7085$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 9568$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7086fi 9569fi
7087 9570
@@ -7177,17 +9660,150 @@ if test "${with_ns}" != no; then
7177 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9660 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
7178 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 9661 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
7179 fi 9662 fi
7180 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 9663 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
7181if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 9664 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9665$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9666if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9667 $as_echo_n "(cached) " >&6
9668fi
9669{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9670$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9671else
9672 # Is the header compilable?
9673{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9674$as_echo_n "checking AppKit/AppKit.h usability... " >&6; }
9675cat >conftest.$ac_ext <<_ACEOF
9676/* confdefs.h. */
9677_ACEOF
9678cat confdefs.h >>conftest.$ac_ext
9679cat >>conftest.$ac_ext <<_ACEOF
9680/* end confdefs.h. */
9681$ac_includes_default
9682#include <AppKit/AppKit.h>
9683_ACEOF
9684rm -f conftest.$ac_objext
9685if { (ac_try="$ac_compile"
9686case "(($ac_try" in
9687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9689esac
9690eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9691$as_echo "$ac_try_echo") >&5
9692 (eval "$ac_compile") 2>conftest.er1
9693 ac_status=$?
9694 grep -v '^ *+' conftest.er1 >conftest.err
9695 rm -f conftest.er1
9696 cat conftest.err >&5
9697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } && {
9699 test -z "$ac_c_werror_flag" ||
9700 test ! -s conftest.err
9701 } && test -s conftest.$ac_objext; then
9702 ac_header_compiler=yes
9703else
9704 $as_echo "$as_me: failed program was:" >&5
9705sed 's/^/| /' conftest.$ac_ext >&5
9706
9707 ac_header_compiler=no
9708fi
9709
9710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9711{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9712$as_echo "$ac_header_compiler" >&6; }
9713
9714# Is the header present?
9715{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
9716$as_echo_n "checking AppKit/AppKit.h presence... " >&6; }
9717cat >conftest.$ac_ext <<_ACEOF
9718/* confdefs.h. */
9719_ACEOF
9720cat confdefs.h >>conftest.$ac_ext
9721cat >>conftest.$ac_ext <<_ACEOF
9722/* end confdefs.h. */
9723#include <AppKit/AppKit.h>
9724_ACEOF
9725if { (ac_try="$ac_cpp conftest.$ac_ext"
9726case "(($ac_try" in
9727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9729esac
9730eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9731$as_echo "$ac_try_echo") >&5
9732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9733 ac_status=$?
9734 grep -v '^ *+' conftest.er1 >conftest.err
9735 rm -f conftest.er1
9736 cat conftest.err >&5
9737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } >/dev/null && {
9739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9740 test ! -s conftest.err
9741 }; then
9742 ac_header_preproc=yes
9743else
9744 $as_echo "$as_me: failed program was:" >&5
9745sed 's/^/| /' conftest.$ac_ext >&5
9746
9747 ac_header_preproc=no
9748fi
9749
9750rm -f conftest.err conftest.$ac_ext
9751{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9752$as_echo "$ac_header_preproc" >&6; }
9753
9754# So? What about this header?
9755case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9756 yes:no: )
9757 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
9758$as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9759 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
9760$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
9761 ac_header_preproc=yes
9762 ;;
9763 no:yes:* )
9764 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
9765$as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
9766 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
9767$as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
9768 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
9769$as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
9770 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
9771$as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
9772 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
9773$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
9774 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
9775$as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
9776
9777 ;;
9778esac
9779{ $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9780$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9781if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9782 $as_echo_n "(cached) " >&6
9783else
9784 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
9785fi
9786{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9787$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9788
9789fi
9790if test $ac_cv_header_AppKit_AppKit_h = yes; then
7182 HAVE_NS=yes 9791 HAVE_NS=yes
7183else 9792else
7184 as_fn_error "\`--with-ns' was specified, but the include 9793 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include
7185 files are missing or cannot be compiled." "$LINENO" 5 9794 files are missing or cannot be compiled." >&5
9795$as_echo "$as_me: error: \`--with-ns' was specified, but the include
9796 files are missing or cannot be compiled." >&2;}
9797 { (exit 1); exit 1; }; }
7186fi 9798fi
7187 9799
7188 9800
7189 NS_HAVE_NSINTEGER=yes 9801 NS_HAVE_NSINTEGER=yes
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9802 cat >conftest.$ac_ext <<_ACEOF
9803/* confdefs.h. */
9804_ACEOF
9805cat confdefs.h >>conftest.$ac_ext
9806cat >>conftest.$ac_ext <<_ACEOF
7191/* end confdefs.h. */ 9807/* end confdefs.h. */
7192#include <Foundation/NSObjCRuntime.h> 9808#include <Foundation/NSObjCRuntime.h>
7193int 9809int
@@ -7198,11 +9814,32 @@ NSInteger i;
7198 return 0; 9814 return 0;
7199} 9815}
7200_ACEOF 9816_ACEOF
7201if ac_fn_c_try_compile "$LINENO"; then : 9817rm -f conftest.$ac_objext
9818if { (ac_try="$ac_compile"
9819case "(($ac_try" in
9820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9821 *) ac_try_echo=$ac_try;;
9822esac
9823eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9824$as_echo "$ac_try_echo") >&5
9825 (eval "$ac_compile") 2>conftest.er1
9826 ac_status=$?
9827 grep -v '^ *+' conftest.er1 >conftest.err
9828 rm -f conftest.er1
9829 cat conftest.err >&5
9830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } && {
9832 test -z "$ac_c_werror_flag" ||
9833 test ! -s conftest.err
9834 } && test -s conftest.$ac_objext; then
7202 ns_have_nsinteger=yes 9835 ns_have_nsinteger=yes
7203else 9836else
7204 ns_have_nsinteger=no 9837 $as_echo "$as_me: failed program was:" >&5
9838sed 's/^/| /' conftest.$ac_ext >&5
9839
9840 ns_have_nsinteger=no
7205fi 9841fi
9842
7206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7207 if test $ns_have_nsinteger = no; then 9844 if test $ns_have_nsinteger = no; then
7208 NS_HAVE_NSINTEGER=no 9845 NS_HAVE_NSINTEGER=no
@@ -7244,9 +9881,9 @@ esac
7244if test "$window_system" = none && test "X$with_x" != "Xno"; then 9881if test "$window_system" = none && test "X$with_x" != "Xno"; then
7245 # Extract the first word of "X", so it can be a program name with args. 9882 # Extract the first word of "X", so it can be a program name with args.
7246set dummy X; ac_word=$2 9883set dummy X; ac_word=$2
7247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9884{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7248$as_echo_n "checking for $ac_word... " >&6; } 9885$as_echo_n "checking for $ac_word... " >&6; }
7249if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 9886if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then
7250 $as_echo_n "(cached) " >&6 9887 $as_echo_n "(cached) " >&6
7251else 9888else
7252 if test -n "$HAVE_XSERVER"; then 9889 if test -n "$HAVE_XSERVER"; then
@@ -7257,14 +9894,14 @@ for as_dir in $PATH
7257do 9894do
7258 IFS=$as_save_IFS 9895 IFS=$as_save_IFS
7259 test -z "$as_dir" && as_dir=. 9896 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do 9897 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7262 ac_cv_prog_HAVE_XSERVER="true" 9899 ac_cv_prog_HAVE_XSERVER="true"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 break 2 9901 break 2
7265 fi 9902 fi
7266done 9903done
7267 done 9904done
7268IFS=$as_save_IFS 9905IFS=$as_save_IFS
7269 9906
7270 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 9907 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
@@ -7272,10 +9909,10 @@ fi
7272fi 9909fi
7273HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 9910HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
7274if test -n "$HAVE_XSERVER"; then 9911if test -n "$HAVE_XSERVER"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 9912 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5
7276$as_echo "$HAVE_XSERVER" >&6; } 9913$as_echo "$HAVE_XSERVER" >&6; }
7277else 9914else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9915 { $as_echo "$as_me:$LINENO: result: no" >&5
7279$as_echo "no" >&6; } 9916$as_echo "no" >&6; }
7280fi 9917fi
7281 9918
@@ -7283,14 +9920,23 @@ fi
7283 if test "$HAVE_XSERVER" = true || 9920 if test "$HAVE_XSERVER" = true ||
7284 test -n "$DISPLAY" || 9921 test -n "$DISPLAY" ||
7285 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 9922 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7286 as_fn_error "You seem to be running X, but no X development libraries 9923 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries
9924were found. You should install the relevant development files for X
9925and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9926sure you have development files for image handling, i.e.
9927tiff, gif, jpeg, png and xpm.
9928If you are sure you want Emacs compiled without X window support, pass
9929 --without-x
9930to configure." >&5
9931$as_echo "$as_me: error: You seem to be running X, but no X development libraries
7287were found. You should install the relevant development files for X 9932were found. You should install the relevant development files for X
7288and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9933and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7289sure you have development files for image handling, i.e. 9934sure you have development files for image handling, i.e.
7290tiff, gif, jpeg, png and xpm. 9935tiff, gif, jpeg, png and xpm.
7291If you are sure you want Emacs compiled without X window support, pass 9936If you are sure you want Emacs compiled without X window support, pass
7292 --without-x 9937 --without-x
7293to configure." "$LINENO" 5 9938to configure." >&2;}
9939 { (exit 1); exit 1; }; }
7294 fi 9940 fi
7295fi 9941fi
7296 9942
@@ -7304,26 +9950,198 @@ esac
7304# Assume not, until told otherwise. 9950# Assume not, until told otherwise.
7305GNU_MALLOC=yes 9951GNU_MALLOC=yes
7306doug_lea_malloc=yes 9952doug_lea_malloc=yes
7307ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 9953{ $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5
7308if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 9954$as_echo_n "checking for malloc_get_state... " >&6; }
9955if test "${ac_cv_func_malloc_get_state+set}" = set; then
9956 $as_echo_n "(cached) " >&6
9957else
9958 cat >conftest.$ac_ext <<_ACEOF
9959/* confdefs.h. */
9960_ACEOF
9961cat confdefs.h >>conftest.$ac_ext
9962cat >>conftest.$ac_ext <<_ACEOF
9963/* end confdefs.h. */
9964/* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
9965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9966#define malloc_get_state innocuous_malloc_get_state
9967
9968/* System header to define __stub macros and hopefully few prototypes,
9969 which can conflict with char malloc_get_state (); below.
9970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9971 <limits.h> exists even on freestanding compilers. */
9972
9973#ifdef __STDC__
9974# include <limits.h>
9975#else
9976# include <assert.h>
9977#endif
9978
9979#undef malloc_get_state
9980
9981/* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9984#ifdef __cplusplus
9985extern "C"
9986#endif
9987char malloc_get_state ();
9988/* The GNU C library defines this for functions which it implements
9989 to always fail with ENOSYS. Some functions are actually named
9990 something starting with __ and the normal name is an alias. */
9991#if defined __stub_malloc_get_state || defined __stub___malloc_get_state
9992choke me
9993#endif
9994
9995int
9996main ()
9997{
9998return malloc_get_state ();
9999 ;
10000 return 0;
10001}
10002_ACEOF
10003rm -f conftest.$ac_objext conftest$ac_exeext
10004if { (ac_try="$ac_link"
10005case "(($ac_try" in
10006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10007 *) ac_try_echo=$ac_try;;
10008esac
10009eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10010$as_echo "$ac_try_echo") >&5
10011 (eval "$ac_link") 2>conftest.er1
10012 ac_status=$?
10013 grep -v '^ *+' conftest.er1 >conftest.err
10014 rm -f conftest.er1
10015 cat conftest.err >&5
10016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } && {
10018 test -z "$ac_c_werror_flag" ||
10019 test ! -s conftest.err
10020 } && test -s conftest$ac_exeext && {
10021 test "$cross_compiling" = yes ||
10022 $as_test_x conftest$ac_exeext
10023 }; then
10024 ac_cv_func_malloc_get_state=yes
10025else
10026 $as_echo "$as_me: failed program was:" >&5
10027sed 's/^/| /' conftest.$ac_ext >&5
10028
10029 ac_cv_func_malloc_get_state=no
10030fi
7309 10031
10032rm -rf conftest.dSYM
10033rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10034 conftest$ac_exeext conftest.$ac_ext
10035fi
10036{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
10037$as_echo "$ac_cv_func_malloc_get_state" >&6; }
10038if test $ac_cv_func_malloc_get_state = yes; then
10039 :
7310else 10040else
7311 doug_lea_malloc=no 10041 doug_lea_malloc=no
7312fi 10042fi
7313 10043
7314ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 10044{ $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5
7315if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 10045$as_echo_n "checking for malloc_set_state... " >&6; }
10046if test "${ac_cv_func_malloc_set_state+set}" = set; then
10047 $as_echo_n "(cached) " >&6
10048else
10049 cat >conftest.$ac_ext <<_ACEOF
10050/* confdefs.h. */
10051_ACEOF
10052cat confdefs.h >>conftest.$ac_ext
10053cat >>conftest.$ac_ext <<_ACEOF
10054/* end confdefs.h. */
10055/* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
10056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10057#define malloc_set_state innocuous_malloc_set_state
10058
10059/* System header to define __stub macros and hopefully few prototypes,
10060 which can conflict with char malloc_set_state (); below.
10061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10062 <limits.h> exists even on freestanding compilers. */
10063
10064#ifdef __STDC__
10065# include <limits.h>
10066#else
10067# include <assert.h>
10068#endif
10069
10070#undef malloc_set_state
10071
10072/* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075#ifdef __cplusplus
10076extern "C"
10077#endif
10078char malloc_set_state ();
10079/* The GNU C library defines this for functions which it implements
10080 to always fail with ENOSYS. Some functions are actually named
10081 something starting with __ and the normal name is an alias. */
10082#if defined __stub_malloc_set_state || defined __stub___malloc_set_state
10083choke me
10084#endif
7316 10085
10086int
10087main ()
10088{
10089return malloc_set_state ();
10090 ;
10091 return 0;
10092}
10093_ACEOF
10094rm -f conftest.$ac_objext conftest$ac_exeext
10095if { (ac_try="$ac_link"
10096case "(($ac_try" in
10097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10098 *) ac_try_echo=$ac_try;;
10099esac
10100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10101$as_echo "$ac_try_echo") >&5
10102 (eval "$ac_link") 2>conftest.er1
10103 ac_status=$?
10104 grep -v '^ *+' conftest.er1 >conftest.err
10105 rm -f conftest.er1
10106 cat conftest.err >&5
10107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); } && {
10109 test -z "$ac_c_werror_flag" ||
10110 test ! -s conftest.err
10111 } && test -s conftest$ac_exeext && {
10112 test "$cross_compiling" = yes ||
10113 $as_test_x conftest$ac_exeext
10114 }; then
10115 ac_cv_func_malloc_set_state=yes
10116else
10117 $as_echo "$as_me: failed program was:" >&5
10118sed 's/^/| /' conftest.$ac_ext >&5
10119
10120 ac_cv_func_malloc_set_state=no
10121fi
10122
10123rm -rf conftest.dSYM
10124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10125 conftest$ac_exeext conftest.$ac_ext
10126fi
10127{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
10128$as_echo "$ac_cv_func_malloc_set_state" >&6; }
10129if test $ac_cv_func_malloc_set_state = yes; then
10130 :
7317else 10131else
7318 doug_lea_malloc=no 10132 doug_lea_malloc=no
7319fi 10133fi
7320 10134
7321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 10135{ $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
7322$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 10136$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
7323if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 10137if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
7324 $as_echo_n "(cached) " >&6 10138 $as_echo_n "(cached) " >&6
7325else 10139else
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10140 cat >conftest.$ac_ext <<_ACEOF
10141/* confdefs.h. */
10142_ACEOF
10143cat confdefs.h >>conftest.$ac_ext
10144cat >>conftest.$ac_ext <<_ACEOF
7327/* end confdefs.h. */ 10145/* end confdefs.h. */
7328extern void (* __after_morecore_hook)(); 10146extern void (* __after_morecore_hook)();
7329int 10147int
@@ -7334,15 +10152,40 @@ __after_morecore_hook = 0
7334 return 0; 10152 return 0;
7335} 10153}
7336_ACEOF 10154_ACEOF
7337if ac_fn_c_try_link "$LINENO"; then : 10155rm -f conftest.$ac_objext conftest$ac_exeext
10156if { (ac_try="$ac_link"
10157case "(($ac_try" in
10158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10159 *) ac_try_echo=$ac_try;;
10160esac
10161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10162$as_echo "$ac_try_echo") >&5
10163 (eval "$ac_link") 2>conftest.er1
10164 ac_status=$?
10165 grep -v '^ *+' conftest.er1 >conftest.err
10166 rm -f conftest.er1
10167 cat conftest.err >&5
10168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && {
10170 test -z "$ac_c_werror_flag" ||
10171 test ! -s conftest.err
10172 } && test -s conftest$ac_exeext && {
10173 test "$cross_compiling" = yes ||
10174 $as_test_x conftest$ac_exeext
10175 }; then
7338 emacs_cv_var___after_morecore_hook=yes 10176 emacs_cv_var___after_morecore_hook=yes
7339else 10177else
7340 emacs_cv_var___after_morecore_hook=no 10178 $as_echo "$as_me: failed program was:" >&5
10179sed 's/^/| /' conftest.$ac_ext >&5
10180
10181 emacs_cv_var___after_morecore_hook=no
7341fi 10182fi
7342rm -f core conftest.err conftest.$ac_objext \ 10183
7343 conftest$ac_exeext conftest.$ac_ext 10184rm -rf conftest.dSYM
10185rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10186 conftest$ac_exeext conftest.$ac_ext
7344fi 10187fi
7345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 10188{ $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
7346$as_echo "$emacs_cv_var___after_morecore_hook" >&6; } 10189$as_echo "$emacs_cv_var___after_morecore_hook" >&6; }
7347if test $emacs_cv_var___after_morecore_hook = no; then 10190if test $emacs_cv_var___after_morecore_hook = no; then
7348 doug_lea_malloc=no 10191 doug_lea_malloc=no
@@ -7358,7 +10201,9 @@ if test "$doug_lea_malloc" = "yes" ; then
7358 (Using Doug Lea's new malloc from the GNU C Library.)" 10201 (Using Doug Lea's new malloc from the GNU C Library.)"
7359 fi 10202 fi
7360 10203
7361$as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h 10204cat >>confdefs.h <<\_ACEOF
10205#define DOUG_LEA_MALLOC 1
10206_ACEOF
7362 10207
7363fi 10208fi
7364 10209
@@ -7369,14 +10214,142 @@ fi
7369 10214
7370 10215
7371 10216
10217for ac_header in stdlib.h unistd.h
10218do
10219as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10220if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10221 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10222$as_echo_n "checking for $ac_header... " >&6; }
10223if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10224 $as_echo_n "(cached) " >&6
10225fi
10226ac_res=`eval 'as_val=${'$as_ac_Header'}
10227 $as_echo "$as_val"'`
10228 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10229$as_echo "$ac_res" >&6; }
10230else
10231 # Is the header compilable?
10232{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10233$as_echo_n "checking $ac_header usability... " >&6; }
10234cat >conftest.$ac_ext <<_ACEOF
10235/* confdefs.h. */
10236_ACEOF
10237cat confdefs.h >>conftest.$ac_ext
10238cat >>conftest.$ac_ext <<_ACEOF
10239/* end confdefs.h. */
10240$ac_includes_default
10241#include <$ac_header>
10242_ACEOF
10243rm -f conftest.$ac_objext
10244if { (ac_try="$ac_compile"
10245case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10248esac
10249eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10250$as_echo "$ac_try_echo") >&5
10251 (eval "$ac_compile") 2>conftest.er1
10252 ac_status=$?
10253 grep -v '^ *+' conftest.er1 >conftest.err
10254 rm -f conftest.er1
10255 cat conftest.err >&5
10256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); } && {
10258 test -z "$ac_c_werror_flag" ||
10259 test ! -s conftest.err
10260 } && test -s conftest.$ac_objext; then
10261 ac_header_compiler=yes
10262else
10263 $as_echo "$as_me: failed program was:" >&5
10264sed 's/^/| /' conftest.$ac_ext >&5
7372 10265
7373 for ac_header in $ac_header_list 10266 ac_header_compiler=no
7374do : 10267fi
7375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10268
7376ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 10269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377" 10270{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7378eval as_val=\$$as_ac_Header 10271$as_echo "$ac_header_compiler" >&6; }
7379 if test "x$as_val" = x""yes; then : 10272
10273# Is the header present?
10274{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10275$as_echo_n "checking $ac_header presence... " >&6; }
10276cat >conftest.$ac_ext <<_ACEOF
10277/* confdefs.h. */
10278_ACEOF
10279cat confdefs.h >>conftest.$ac_ext
10280cat >>conftest.$ac_ext <<_ACEOF
10281/* end confdefs.h. */
10282#include <$ac_header>
10283_ACEOF
10284if { (ac_try="$ac_cpp conftest.$ac_ext"
10285case "(($ac_try" in
10286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287 *) ac_try_echo=$ac_try;;
10288esac
10289eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10290$as_echo "$ac_try_echo") >&5
10291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10292 ac_status=$?
10293 grep -v '^ *+' conftest.er1 >conftest.err
10294 rm -f conftest.er1
10295 cat conftest.err >&5
10296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } >/dev/null && {
10298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10299 test ! -s conftest.err
10300 }; then
10301 ac_header_preproc=yes
10302else
10303 $as_echo "$as_me: failed program was:" >&5
10304sed 's/^/| /' conftest.$ac_ext >&5
10305
10306 ac_header_preproc=no
10307fi
10308
10309rm -f conftest.err conftest.$ac_ext
10310{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10311$as_echo "$ac_header_preproc" >&6; }
10312
10313# So? What about this header?
10314case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10315 yes:no: )
10316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10317$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10319$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10320 ac_header_preproc=yes
10321 ;;
10322 no:yes:* )
10323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10324$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10325 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10326$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10328$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10330$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10332$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10334$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10335
10336 ;;
10337esac
10338{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10339$as_echo_n "checking for $ac_header... " >&6; }
10340if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10341 $as_echo_n "(cached) " >&6
10342else
10343 eval "$as_ac_Header=\$ac_header_preproc"
10344fi
10345ac_res=`eval 'as_val=${'$as_ac_Header'}
10346 $as_echo "$as_val"'`
10347 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10348$as_echo "$ac_res" >&6; }
10349
10350fi
10351if test `eval 'as_val=${'$as_ac_Header'}
10352 $as_echo "$as_val"'` = yes; then
7380 cat >>confdefs.h <<_ACEOF 10353 cat >>confdefs.h <<_ACEOF
7381#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10354#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7382_ACEOF 10355_ACEOF
@@ -7386,32 +10359,118 @@ fi
7386done 10359done
7387 10360
7388 10361
10362for ac_func in getpagesize
10363do
10364as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10365{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10366$as_echo_n "checking for $ac_func... " >&6; }
10367if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10368 $as_echo_n "(cached) " >&6
10369else
10370 cat >conftest.$ac_ext <<_ACEOF
10371/* confdefs.h. */
10372_ACEOF
10373cat confdefs.h >>conftest.$ac_ext
10374cat >>conftest.$ac_ext <<_ACEOF
10375/* end confdefs.h. */
10376/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10378#define $ac_func innocuous_$ac_func
7389 10379
10380/* System header to define __stub macros and hopefully few prototypes,
10381 which can conflict with char $ac_func (); below.
10382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10383 <limits.h> exists even on freestanding compilers. */
7390 10384
10385#ifdef __STDC__
10386# include <limits.h>
10387#else
10388# include <assert.h>
10389#endif
7391 10390
10391#undef $ac_func
7392 10392
10393/* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10396#ifdef __cplusplus
10397extern "C"
10398#endif
10399char $ac_func ();
10400/* The GNU C library defines this for functions which it implements
10401 to always fail with ENOSYS. Some functions are actually named
10402 something starting with __ and the normal name is an alias. */
10403#if defined __stub_$ac_func || defined __stub___$ac_func
10404choke me
10405#endif
7393 10406
10407int
10408main ()
10409{
10410return $ac_func ();
10411 ;
10412 return 0;
10413}
10414_ACEOF
10415rm -f conftest.$ac_objext conftest$ac_exeext
10416if { (ac_try="$ac_link"
10417case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10420esac
10421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10422$as_echo "$ac_try_echo") >&5
10423 (eval "$ac_link") 2>conftest.er1
10424 ac_status=$?
10425 grep -v '^ *+' conftest.er1 >conftest.err
10426 rm -f conftest.er1
10427 cat conftest.err >&5
10428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } && {
10430 test -z "$ac_c_werror_flag" ||
10431 test ! -s conftest.err
10432 } && test -s conftest$ac_exeext && {
10433 test "$cross_compiling" = yes ||
10434 $as_test_x conftest$ac_exeext
10435 }; then
10436 eval "$as_ac_var=yes"
10437else
10438 $as_echo "$as_me: failed program was:" >&5
10439sed 's/^/| /' conftest.$ac_ext >&5
7394 10440
7395for ac_func in getpagesize 10441 eval "$as_ac_var=no"
7396do : 10442fi
7397 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 10443
7398if test "x$ac_cv_func_getpagesize" = x""yes; then : 10444rm -rf conftest.dSYM
10445rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10446 conftest$ac_exeext conftest.$ac_ext
10447fi
10448ac_res=`eval 'as_val=${'$as_ac_var'}
10449 $as_echo "$as_val"'`
10450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10451$as_echo "$ac_res" >&6; }
10452if test `eval 'as_val=${'$as_ac_var'}
10453 $as_echo "$as_val"'` = yes; then
7399 cat >>confdefs.h <<_ACEOF 10454 cat >>confdefs.h <<_ACEOF
7400#define HAVE_GETPAGESIZE 1 10455#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7401_ACEOF 10456_ACEOF
7402 10457
7403fi 10458fi
7404done 10459done
7405 10460
7406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 10461{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
7407$as_echo_n "checking for working mmap... " >&6; } 10462$as_echo_n "checking for working mmap... " >&6; }
7408if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 10463if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7409 $as_echo_n "(cached) " >&6 10464 $as_echo_n "(cached) " >&6
7410else 10465else
7411 if test "$cross_compiling" = yes; then : 10466 if test "$cross_compiling" = yes; then
7412 ac_cv_func_mmap_fixed_mapped=no 10467 ac_cv_func_mmap_fixed_mapped=no
7413else 10468else
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10469 cat >conftest.$ac_ext <<_ACEOF
10470/* confdefs.h. */
10471_ACEOF
10472cat confdefs.h >>conftest.$ac_ext
10473cat >>conftest.$ac_ext <<_ACEOF
7415/* end confdefs.h. */ 10474/* end confdefs.h. */
7416$ac_includes_default 10475$ac_includes_default
7417/* malloc might have been renamed as rpl_malloc. */ 10476/* malloc might have been renamed as rpl_malloc. */
@@ -7448,6 +10507,11 @@ char *malloc ();
7448 10507
7449/* This mess was copied from the GNU getpagesize.h. */ 10508/* This mess was copied from the GNU getpagesize.h. */
7450#ifndef HAVE_GETPAGESIZE 10509#ifndef HAVE_GETPAGESIZE
10510/* Assume that all systems that can run configure have sys/param.h. */
10511# ifndef HAVE_SYS_PARAM_H
10512# define HAVE_SYS_PARAM_H 1
10513# endif
10514
7451# ifdef _SC_PAGESIZE 10515# ifdef _SC_PAGESIZE
7452# define getpagesize() sysconf(_SC_PAGESIZE) 10516# define getpagesize() sysconf(_SC_PAGESIZE)
7453# else /* no _SC_PAGESIZE */ 10517# else /* no _SC_PAGESIZE */
@@ -7482,9 +10546,8 @@ int
7482main () 10546main ()
7483{ 10547{
7484 char *data, *data2, *data3; 10548 char *data, *data2, *data3;
7485 const char *cdata2;
7486 int i, pagesize; 10549 int i, pagesize;
7487 int fd, fd2; 10550 int fd;
7488 10551
7489 pagesize = getpagesize (); 10552 pagesize = getpagesize ();
7490 10553
@@ -7497,41 +10560,27 @@ main ()
7497 umask (0); 10560 umask (0);
7498 fd = creat ("conftest.mmap", 0600); 10561 fd = creat ("conftest.mmap", 0600);
7499 if (fd < 0) 10562 if (fd < 0)
7500 return 2; 10563 return 1;
7501 if (write (fd, data, pagesize) != pagesize) 10564 if (write (fd, data, pagesize) != pagesize)
7502 return 3; 10565 return 1;
7503 close (fd); 10566 close (fd);
7504 10567
7505 /* Next, check that the tail of a page is zero-filled. File must have
7506 non-zero length, otherwise we risk SIGBUS for entire page. */
7507 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7508 if (fd2 < 0)
7509 return 4;
7510 cdata2 = "";
7511 if (write (fd2, cdata2, 1) != 1)
7512 return 5;
7513 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7514 if (data2 == MAP_FAILED)
7515 return 6;
7516 for (i = 0; i < pagesize; ++i)
7517 if (*(data2 + i))
7518 return 7;
7519 close (fd2);
7520 if (munmap (data2, pagesize))
7521 return 8;
7522
7523 /* Next, try to mmap the file at a fixed address which already has 10568 /* Next, try to mmap the file at a fixed address which already has
7524 something else allocated at it. If we can, also make sure that 10569 something else allocated at it. If we can, also make sure that
7525 we see the same garbage. */ 10570 we see the same garbage. */
7526 fd = open ("conftest.mmap", O_RDWR); 10571 fd = open ("conftest.mmap", O_RDWR);
7527 if (fd < 0) 10572 if (fd < 0)
7528 return 9; 10573 return 1;
10574 data2 = (char *) malloc (2 * pagesize);
10575 if (!data2)
10576 return 1;
10577 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7529 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 10578 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7530 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 10579 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7531 return 10; 10580 return 1;
7532 for (i = 0; i < pagesize; ++i) 10581 for (i = 0; i < pagesize; ++i)
7533 if (*(data + i) != *(data2 + i)) 10582 if (*(data + i) != *(data2 + i))
7534 return 11; 10583 return 1;
7535 10584
7536 /* Finally, make sure that changes to the mapped area do not 10585 /* Finally, make sure that changes to the mapped area do not
7537 percolate back to the file as seen by read(). (This is a bug on 10586 percolate back to the file as seen by read(). (This is a bug on
@@ -7540,34 +10589,63 @@ main ()
7540 *(data2 + i) = *(data2 + i) + 1; 10589 *(data2 + i) = *(data2 + i) + 1;
7541 data3 = (char *) malloc (pagesize); 10590 data3 = (char *) malloc (pagesize);
7542 if (!data3) 10591 if (!data3)
7543 return 12; 10592 return 1;
7544 if (read (fd, data3, pagesize) != pagesize) 10593 if (read (fd, data3, pagesize) != pagesize)
7545 return 13; 10594 return 1;
7546 for (i = 0; i < pagesize; ++i) 10595 for (i = 0; i < pagesize; ++i)
7547 if (*(data + i) != *(data3 + i)) 10596 if (*(data + i) != *(data3 + i))
7548 return 14; 10597 return 1;
7549 close (fd); 10598 close (fd);
7550 return 0; 10599 return 0;
7551} 10600}
7552_ACEOF 10601_ACEOF
7553if ac_fn_c_try_run "$LINENO"; then : 10602rm -f conftest$ac_exeext
10603if { (ac_try="$ac_link"
10604case "(($ac_try" in
10605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606 *) ac_try_echo=$ac_try;;
10607esac
10608eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10609$as_echo "$ac_try_echo") >&5
10610 (eval "$ac_link") 2>&5
10611 ac_status=$?
10612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10614 { (case "(($ac_try" in
10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616 *) ac_try_echo=$ac_try;;
10617esac
10618eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10619$as_echo "$ac_try_echo") >&5
10620 (eval "$ac_try") 2>&5
10621 ac_status=$?
10622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; }; then
7554 ac_cv_func_mmap_fixed_mapped=yes 10624 ac_cv_func_mmap_fixed_mapped=yes
7555else 10625else
7556 ac_cv_func_mmap_fixed_mapped=no 10626 $as_echo "$as_me: program exited with status $ac_status" >&5
10627$as_echo "$as_me: failed program was:" >&5
10628sed 's/^/| /' conftest.$ac_ext >&5
10629
10630( exit $ac_status )
10631ac_cv_func_mmap_fixed_mapped=no
7557fi 10632fi
7558rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 10633rm -rf conftest.dSYM
7559 conftest.$ac_objext conftest.beam conftest.$ac_ext 10634rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7560fi 10635fi
7561 10636
10637
7562fi 10638fi
7563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 10639{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7564$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 10640$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7565if test $ac_cv_func_mmap_fixed_mapped = yes; then 10641if test $ac_cv_func_mmap_fixed_mapped = yes; then
7566 10642
7567$as_echo "#define HAVE_MMAP 1" >>confdefs.h 10643cat >>confdefs.h <<\_ACEOF
10644#define HAVE_MMAP 1
10645_ACEOF
7568 10646
7569fi 10647fi
7570rm -f conftest.mmap conftest.txt 10648rm -f conftest.mmap
7571 10649
7572if test $use_mmap_for_buffers = yes; then 10650if test $use_mmap_for_buffers = yes; then
7573 REL_ALLOC=no 10651 REL_ALLOC=no
@@ -7575,14 +10653,19 @@ fi
7575 10653
7576LIBS="$libsrc_libs $LIBS" 10654LIBS="$libsrc_libs $LIBS"
7577 10655
7578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 10656
10657{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7579$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 10658$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7580if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 10659if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7581 $as_echo_n "(cached) " >&6 10660 $as_echo_n "(cached) " >&6
7582else 10661else
7583 ac_check_lib_save_LIBS=$LIBS 10662 ac_check_lib_save_LIBS=$LIBS
7584LIBS="-ldnet $LIBS" 10663LIBS="-ldnet $LIBS"
7585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10664cat >conftest.$ac_ext <<_ACEOF
10665/* confdefs.h. */
10666_ACEOF
10667cat confdefs.h >>conftest.$ac_ext
10668cat >>conftest.$ac_ext <<_ACEOF
7586/* end confdefs.h. */ 10669/* end confdefs.h. */
7587 10670
7588/* Override any GCC internal prototype to avoid an error. 10671/* Override any GCC internal prototype to avoid an error.
@@ -7600,18 +10683,43 @@ return dnet_ntoa ();
7600 return 0; 10683 return 0;
7601} 10684}
7602_ACEOF 10685_ACEOF
7603if ac_fn_c_try_link "$LINENO"; then : 10686rm -f conftest.$ac_objext conftest$ac_exeext
10687if { (ac_try="$ac_link"
10688case "(($ac_try" in
10689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10690 *) ac_try_echo=$ac_try;;
10691esac
10692eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10693$as_echo "$ac_try_echo") >&5
10694 (eval "$ac_link") 2>conftest.er1
10695 ac_status=$?
10696 grep -v '^ *+' conftest.er1 >conftest.err
10697 rm -f conftest.er1
10698 cat conftest.err >&5
10699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } && {
10701 test -z "$ac_c_werror_flag" ||
10702 test ! -s conftest.err
10703 } && test -s conftest$ac_exeext && {
10704 test "$cross_compiling" = yes ||
10705 $as_test_x conftest$ac_exeext
10706 }; then
7604 ac_cv_lib_dnet_dnet_ntoa=yes 10707 ac_cv_lib_dnet_dnet_ntoa=yes
7605else 10708else
7606 ac_cv_lib_dnet_dnet_ntoa=no 10709 $as_echo "$as_me: failed program was:" >&5
10710sed 's/^/| /' conftest.$ac_ext >&5
10711
10712 ac_cv_lib_dnet_dnet_ntoa=no
7607fi 10713fi
7608rm -f core conftest.err conftest.$ac_objext \ 10714
7609 conftest$ac_exeext conftest.$ac_ext 10715rm -rf conftest.dSYM
10716rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10717 conftest$ac_exeext conftest.$ac_ext
7610LIBS=$ac_check_lib_save_LIBS 10718LIBS=$ac_check_lib_save_LIBS
7611fi 10719fi
7612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10720{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7613$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10721$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7614if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 10722if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7615 cat >>confdefs.h <<_ACEOF 10723 cat >>confdefs.h <<_ACEOF
7616#define HAVE_LIBDNET 1 10724#define HAVE_LIBDNET 1
7617_ACEOF 10725_ACEOF
@@ -7621,14 +10729,18 @@ _ACEOF
7621fi 10729fi
7622 10730
7623 10731
7624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 10732{ $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
7625$as_echo_n "checking for main in -lXbsd... " >&6; } 10733$as_echo_n "checking for main in -lXbsd... " >&6; }
7626if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 10734if test "${ac_cv_lib_Xbsd_main+set}" = set; then
7627 $as_echo_n "(cached) " >&6 10735 $as_echo_n "(cached) " >&6
7628else 10736else
7629 ac_check_lib_save_LIBS=$LIBS 10737 ac_check_lib_save_LIBS=$LIBS
7630LIBS="-lXbsd $LIBS" 10738LIBS="-lXbsd $LIBS"
7631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10739cat >conftest.$ac_ext <<_ACEOF
10740/* confdefs.h. */
10741_ACEOF
10742cat confdefs.h >>conftest.$ac_ext
10743cat >>conftest.$ac_ext <<_ACEOF
7632/* end confdefs.h. */ 10744/* end confdefs.h. */
7633 10745
7634 10746
@@ -7640,30 +10752,60 @@ return main ();
7640 return 0; 10752 return 0;
7641} 10753}
7642_ACEOF 10754_ACEOF
7643if ac_fn_c_try_link "$LINENO"; then : 10755rm -f conftest.$ac_objext conftest$ac_exeext
10756if { (ac_try="$ac_link"
10757case "(($ac_try" in
10758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10759 *) ac_try_echo=$ac_try;;
10760esac
10761eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10762$as_echo "$ac_try_echo") >&5
10763 (eval "$ac_link") 2>conftest.er1
10764 ac_status=$?
10765 grep -v '^ *+' conftest.er1 >conftest.err
10766 rm -f conftest.er1
10767 cat conftest.err >&5
10768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } && {
10770 test -z "$ac_c_werror_flag" ||
10771 test ! -s conftest.err
10772 } && test -s conftest$ac_exeext && {
10773 test "$cross_compiling" = yes ||
10774 $as_test_x conftest$ac_exeext
10775 }; then
7644 ac_cv_lib_Xbsd_main=yes 10776 ac_cv_lib_Xbsd_main=yes
7645else 10777else
7646 ac_cv_lib_Xbsd_main=no 10778 $as_echo "$as_me: failed program was:" >&5
10779sed 's/^/| /' conftest.$ac_ext >&5
10780
10781 ac_cv_lib_Xbsd_main=no
7647fi 10782fi
7648rm -f core conftest.err conftest.$ac_objext \ 10783
7649 conftest$ac_exeext conftest.$ac_ext 10784rm -rf conftest.dSYM
10785rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10786 conftest$ac_exeext conftest.$ac_ext
7650LIBS=$ac_check_lib_save_LIBS 10787LIBS=$ac_check_lib_save_LIBS
7651fi 10788fi
7652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 10789{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
7653$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 10790$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
7654if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 10791if test $ac_cv_lib_Xbsd_main = yes; then
7655 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10792 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
7656fi 10793fi
7657 10794
7658 10795
7659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 10796
10797{ $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
7660$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 10798$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
7661if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 10799if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
7662 $as_echo_n "(cached) " >&6 10800 $as_echo_n "(cached) " >&6
7663else 10801else
7664 ac_check_lib_save_LIBS=$LIBS 10802 ac_check_lib_save_LIBS=$LIBS
7665LIBS="-lpthreads $LIBS" 10803LIBS="-lpthreads $LIBS"
7666cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10804cat >conftest.$ac_ext <<_ACEOF
10805/* confdefs.h. */
10806_ACEOF
10807cat confdefs.h >>conftest.$ac_ext
10808cat >>conftest.$ac_ext <<_ACEOF
7667/* end confdefs.h. */ 10809/* end confdefs.h. */
7668 10810
7669/* Override any GCC internal prototype to avoid an error. 10811/* Override any GCC internal prototype to avoid an error.
@@ -7681,18 +10823,43 @@ return cma_open ();
7681 return 0; 10823 return 0;
7682} 10824}
7683_ACEOF 10825_ACEOF
7684if ac_fn_c_try_link "$LINENO"; then : 10826rm -f conftest.$ac_objext conftest$ac_exeext
10827if { (ac_try="$ac_link"
10828case "(($ac_try" in
10829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10830 *) ac_try_echo=$ac_try;;
10831esac
10832eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10833$as_echo "$ac_try_echo") >&5
10834 (eval "$ac_link") 2>conftest.er1
10835 ac_status=$?
10836 grep -v '^ *+' conftest.er1 >conftest.err
10837 rm -f conftest.er1
10838 cat conftest.err >&5
10839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } && {
10841 test -z "$ac_c_werror_flag" ||
10842 test ! -s conftest.err
10843 } && test -s conftest$ac_exeext && {
10844 test "$cross_compiling" = yes ||
10845 $as_test_x conftest$ac_exeext
10846 }; then
7685 ac_cv_lib_pthreads_cma_open=yes 10847 ac_cv_lib_pthreads_cma_open=yes
7686else 10848else
7687 ac_cv_lib_pthreads_cma_open=no 10849 $as_echo "$as_me: failed program was:" >&5
10850sed 's/^/| /' conftest.$ac_ext >&5
10851
10852 ac_cv_lib_pthreads_cma_open=no
7688fi 10853fi
7689rm -f core conftest.err conftest.$ac_objext \ 10854
7690 conftest$ac_exeext conftest.$ac_ext 10855rm -rf conftest.dSYM
10856rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10857 conftest$ac_exeext conftest.$ac_ext
7691LIBS=$ac_check_lib_save_LIBS 10858LIBS=$ac_check_lib_save_LIBS
7692fi 10859fi
7693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 10860{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
7694$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 10861$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
7695if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 10862if test $ac_cv_lib_pthreads_cma_open = yes; then
7696 cat >>confdefs.h <<_ACEOF 10863 cat >>confdefs.h <<_ACEOF
7697#define HAVE_LIBPTHREADS 1 10864#define HAVE_LIBPTHREADS 1
7698_ACEOF 10865_ACEOF
@@ -7705,9 +10872,9 @@ fi
7705 10872
7706case ${host_os} in 10873case ${host_os} in
7707aix*) 10874aix*)
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 10875 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
7709$as_echo_n "checking for -bbigtoc option... " >&6; } 10876$as_echo_n "checking for -bbigtoc option... " >&6; }
7710if test "${gdb_cv_bigtoc+set}" = set; then : 10877if test "${gdb_cv_bigtoc+set}" = set; then
7711 $as_echo_n "(cached) " >&6 10878 $as_echo_n "(cached) " >&6
7712else 10879else
7713 10880
@@ -7717,7 +10884,11 @@ else
7717 esac 10884 esac
7718 10885
7719 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc 10886 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10887 cat >conftest.$ac_ext <<_ACEOF
10888/* confdefs.h. */
10889_ACEOF
10890cat confdefs.h >>conftest.$ac_ext
10891cat >>conftest.$ac_ext <<_ACEOF
7721/* end confdefs.h. */ 10892/* end confdefs.h. */
7722 10893
7723int 10894int
@@ -7728,16 +10899,41 @@ int i;
7728 return 0; 10899 return 0;
7729} 10900}
7730_ACEOF 10901_ACEOF
7731if ac_fn_c_try_link "$LINENO"; then : 10902rm -f conftest.$ac_objext conftest$ac_exeext
7732 10903if { (ac_try="$ac_link"
10904case "(($ac_try" in
10905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10906 *) ac_try_echo=$ac_try;;
10907esac
10908eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10909$as_echo "$ac_try_echo") >&5
10910 (eval "$ac_link") 2>conftest.er1
10911 ac_status=$?
10912 grep -v '^ *+' conftest.er1 >conftest.err
10913 rm -f conftest.er1
10914 cat conftest.err >&5
10915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } && {
10917 test -z "$ac_c_werror_flag" ||
10918 test ! -s conftest.err
10919 } && test -s conftest$ac_exeext && {
10920 test "$cross_compiling" = yes ||
10921 $as_test_x conftest$ac_exeext
10922 }; then
10923 :
7733else 10924else
7734 gdb_cv_bigtoc= 10925 $as_echo "$as_me: failed program was:" >&5
10926sed 's/^/| /' conftest.$ac_ext >&5
10927
10928 gdb_cv_bigtoc=
7735fi 10929fi
7736rm -f core conftest.err conftest.$ac_objext \ 10930
7737 conftest$ac_exeext conftest.$ac_ext 10931rm -rf conftest.dSYM
10932rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10933 conftest$ac_exeext conftest.$ac_ext
7738 10934
7739fi 10935fi
7740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 10936{ $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
7741$as_echo "$gdb_cv_bigtoc" >&6; } 10937$as_echo "$gdb_cv_bigtoc" >&6; }
7742 ;; 10938 ;;
7743esac 10939esac
@@ -7765,9 +10961,13 @@ if test "${HAVE_X11}" = "yes"; then
7765 fi 10961 fi
7766 10962
7767 if test "${opsys}" = "gnu-linux"; then 10963 if test "${opsys}" = "gnu-linux"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 10964 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
7769$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } 10965$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; }
7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10966 cat >conftest.$ac_ext <<_ACEOF
10967/* confdefs.h. */
10968_ACEOF
10969cat confdefs.h >>conftest.$ac_ext
10970cat >>conftest.$ac_ext <<_ACEOF
7771/* end confdefs.h. */ 10971/* end confdefs.h. */
7772 10972
7773int 10973int
@@ -7778,13 +10978,38 @@ XOpenDisplay ("foo");
7778 return 0; 10978 return 0;
7779} 10979}
7780_ACEOF 10980_ACEOF
7781if ac_fn_c_try_link "$LINENO"; then : 10981rm -f conftest.$ac_objext conftest$ac_exeext
10982if { (ac_try="$ac_link"
10983case "(($ac_try" in
10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10985 *) ac_try_echo=$ac_try;;
10986esac
10987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10988$as_echo "$ac_try_echo") >&5
10989 (eval "$ac_link") 2>conftest.er1
10990 ac_status=$?
10991 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1
10993 cat conftest.err >&5
10994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && {
10996 test -z "$ac_c_werror_flag" ||
10997 test ! -s conftest.err
10998 } && test -s conftest$ac_exeext && {
10999 test "$cross_compiling" = yes ||
11000 $as_test_x conftest$ac_exeext
11001 }; then
7782 xlinux_first_failure=no 11002 xlinux_first_failure=no
7783else 11003else
7784 xlinux_first_failure=yes 11004 $as_echo "$as_me: failed program was:" >&5
11005sed 's/^/| /' conftest.$ac_ext >&5
11006
11007 xlinux_first_failure=yes
7785fi 11008fi
7786rm -f core conftest.err conftest.$ac_objext \ 11009
7787 conftest$ac_exeext conftest.$ac_ext 11010rm -rf conftest.dSYM
11011rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11012 conftest$ac_exeext conftest.$ac_ext
7788 if test "${xlinux_first_failure}" = "yes"; then 11013 if test "${xlinux_first_failure}" = "yes"; then
7789 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 11014 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
7790 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 11015 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
@@ -7794,7 +11019,11 @@ rm -f core conftest.err conftest.$ac_objext \
7794 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 11019 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
7795 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 11020 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
7796 LIBS="$LIBS -b i486-linuxaout" 11021 LIBS="$LIBS -b i486-linuxaout"
7797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11022 cat >conftest.$ac_ext <<_ACEOF
11023/* confdefs.h. */
11024_ACEOF
11025cat confdefs.h >>conftest.$ac_ext
11026cat >>conftest.$ac_ext <<_ACEOF
7798/* end confdefs.h. */ 11027/* end confdefs.h. */
7799 11028
7800int 11029int
@@ -7805,13 +11034,38 @@ XOpenDisplay ("foo");
7805 return 0; 11034 return 0;
7806} 11035}
7807_ACEOF 11036_ACEOF
7808if ac_fn_c_try_link "$LINENO"; then : 11037rm -f conftest.$ac_objext conftest$ac_exeext
11038if { (ac_try="$ac_link"
11039case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11042esac
11043eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11044$as_echo "$ac_try_echo") >&5
11045 (eval "$ac_link") 2>conftest.er1
11046 ac_status=$?
11047 grep -v '^ *+' conftest.er1 >conftest.err
11048 rm -f conftest.er1
11049 cat conftest.err >&5
11050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && {
11052 test -z "$ac_c_werror_flag" ||
11053 test ! -s conftest.err
11054 } && test -s conftest$ac_exeext && {
11055 test "$cross_compiling" = yes ||
11056 $as_test_x conftest$ac_exeext
11057 }; then
7809 xlinux_second_failure=no 11058 xlinux_second_failure=no
7810else 11059else
7811 xlinux_second_failure=yes 11060 $as_echo "$as_me: failed program was:" >&5
11061sed 's/^/| /' conftest.$ac_ext >&5
11062
11063 xlinux_second_failure=yes
7812fi 11064fi
7813rm -f core conftest.err conftest.$ac_objext \ 11065
7814 conftest$ac_exeext conftest.$ac_ext 11066rm -rf conftest.dSYM
11067rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11068 conftest$ac_exeext conftest.$ac_ext
7815 if test "${xlinux_second_failure}" = "yes"; then 11069 if test "${xlinux_second_failure}" = "yes"; then
7816 # If we get the same failure with -b, there is no use adding -b. 11070 # If we get the same failure with -b, there is no use adding -b.
7817 # So take it out. This plays safe. 11071 # So take it out. This plays safe.
@@ -7819,23 +11073,27 @@ rm -f core conftest.err conftest.$ac_objext \
7819 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 11073 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
7820 CPPFLAGS="$OLD_CPPFLAGS" 11074 CPPFLAGS="$OLD_CPPFLAGS"
7821 LIBS="$OLD_LIBS" 11075 LIBS="$OLD_LIBS"
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11076 { $as_echo "$as_me:$LINENO: result: no" >&5
7823$as_echo "no" >&6; } 11077$as_echo "no" >&6; }
7824 else 11078 else
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11079 { $as_echo "$as_me:$LINENO: result: yes" >&5
7826$as_echo "yes" >&6; } 11080$as_echo "yes" >&6; }
7827 fi 11081 fi
7828 else 11082 else
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11083 { $as_echo "$as_me:$LINENO: result: no" >&5
7830$as_echo "no" >&6; } 11084$as_echo "no" >&6; }
7831 fi 11085 fi
7832 fi 11086 fi
7833 11087
7834 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 11088 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
7835 # header files included from there. 11089 # header files included from there.
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 11090 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5
7837$as_echo_n "checking for Xkb... " >&6; } 11091$as_echo_n "checking for Xkb... " >&6; }
7838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11092 cat >conftest.$ac_ext <<_ACEOF
11093/* confdefs.h. */
11094_ACEOF
11095cat confdefs.h >>conftest.$ac_ext
11096cat >>conftest.$ac_ext <<_ACEOF
7839/* end confdefs.h. */ 11097/* end confdefs.h. */
7840#include <X11/Xlib.h> 11098#include <X11/Xlib.h>
7841#include <X11/XKBlib.h> 11099#include <X11/XKBlib.h>
@@ -7847,28 +11105,145 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
7847 return 0; 11105 return 0;
7848} 11106}
7849_ACEOF 11107_ACEOF
7850if ac_fn_c_try_link "$LINENO"; then : 11108rm -f conftest.$ac_objext conftest$ac_exeext
11109if { (ac_try="$ac_link"
11110case "(($ac_try" in
11111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11112 *) ac_try_echo=$ac_try;;
11113esac
11114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11115$as_echo "$ac_try_echo") >&5
11116 (eval "$ac_link") 2>conftest.er1
11117 ac_status=$?
11118 grep -v '^ *+' conftest.er1 >conftest.err
11119 rm -f conftest.er1
11120 cat conftest.err >&5
11121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } && {
11123 test -z "$ac_c_werror_flag" ||
11124 test ! -s conftest.err
11125 } && test -s conftest$ac_exeext && {
11126 test "$cross_compiling" = yes ||
11127 $as_test_x conftest$ac_exeext
11128 }; then
7851 emacs_xkb=yes 11129 emacs_xkb=yes
7852else 11130else
7853 emacs_xkb=no 11131 $as_echo "$as_me: failed program was:" >&5
11132sed 's/^/| /' conftest.$ac_ext >&5
11133
11134 emacs_xkb=no
7854fi 11135fi
7855rm -f core conftest.err conftest.$ac_objext \ 11136
7856 conftest$ac_exeext conftest.$ac_ext 11137rm -rf conftest.dSYM
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 11138rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11139 conftest$ac_exeext conftest.$ac_ext
11140 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5
7858$as_echo "$emacs_xkb" >&6; } 11141$as_echo "$emacs_xkb" >&6; }
7859 if test $emacs_xkb = yes; then 11142 if test $emacs_xkb = yes; then
7860 11143
7861$as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h 11144cat >>confdefs.h <<\_ACEOF
11145#define HAVE_XKBGETKEYBOARD 1
11146_ACEOF
7862 11147
7863 fi 11148 fi
7864 11149
7865 for ac_func in XrmSetDatabase XScreenResourceString \ 11150
11151
11152
11153
11154for ac_func in XrmSetDatabase XScreenResourceString \
7866XScreenNumberOfScreen XSetWMProtocols 11155XScreenNumberOfScreen XSetWMProtocols
7867do : 11156do
7868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11157as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7869ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11158{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7870eval as_val=\$$as_ac_var 11159$as_echo_n "checking for $ac_func... " >&6; }
7871 if test "x$as_val" = x""yes; then : 11160if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11161 $as_echo_n "(cached) " >&6
11162else
11163 cat >conftest.$ac_ext <<_ACEOF
11164/* confdefs.h. */
11165_ACEOF
11166cat confdefs.h >>conftest.$ac_ext
11167cat >>conftest.$ac_ext <<_ACEOF
11168/* end confdefs.h. */
11169/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11171#define $ac_func innocuous_$ac_func
11172
11173/* System header to define __stub macros and hopefully few prototypes,
11174 which can conflict with char $ac_func (); below.
11175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11176 <limits.h> exists even on freestanding compilers. */
11177
11178#ifdef __STDC__
11179# include <limits.h>
11180#else
11181# include <assert.h>
11182#endif
11183
11184#undef $ac_func
11185
11186/* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189#ifdef __cplusplus
11190extern "C"
11191#endif
11192char $ac_func ();
11193/* The GNU C library defines this for functions which it implements
11194 to always fail with ENOSYS. Some functions are actually named
11195 something starting with __ and the normal name is an alias. */
11196#if defined __stub_$ac_func || defined __stub___$ac_func
11197choke me
11198#endif
11199
11200int
11201main ()
11202{
11203return $ac_func ();
11204 ;
11205 return 0;
11206}
11207_ACEOF
11208rm -f conftest.$ac_objext conftest$ac_exeext
11209if { (ac_try="$ac_link"
11210case "(($ac_try" in
11211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11212 *) ac_try_echo=$ac_try;;
11213esac
11214eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11215$as_echo "$ac_try_echo") >&5
11216 (eval "$ac_link") 2>conftest.er1
11217 ac_status=$?
11218 grep -v '^ *+' conftest.er1 >conftest.err
11219 rm -f conftest.er1
11220 cat conftest.err >&5
11221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } && {
11223 test -z "$ac_c_werror_flag" ||
11224 test ! -s conftest.err
11225 } && test -s conftest$ac_exeext && {
11226 test "$cross_compiling" = yes ||
11227 $as_test_x conftest$ac_exeext
11228 }; then
11229 eval "$as_ac_var=yes"
11230else
11231 $as_echo "$as_me: failed program was:" >&5
11232sed 's/^/| /' conftest.$ac_ext >&5
11233
11234 eval "$as_ac_var=no"
11235fi
11236
11237rm -rf conftest.dSYM
11238rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11239 conftest$ac_exeext conftest.$ac_ext
11240fi
11241ac_res=`eval 'as_val=${'$as_ac_var'}
11242 $as_echo "$as_val"'`
11243 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11244$as_echo "$ac_res" >&6; }
11245if test `eval 'as_val=${'$as_ac_var'}
11246 $as_echo "$as_val"'` = yes; then
7872 cat >>confdefs.h <<_ACEOF 11247 cat >>confdefs.h <<_ACEOF
7873#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11248#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7874_ACEOF 11249_ACEOF
@@ -7879,12 +11254,16 @@ done
7879fi 11254fi
7880 11255
7881if test "${window_system}" = "x11"; then 11256if test "${window_system}" = "x11"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 11257 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5
7883$as_echo_n "checking X11 version 6... " >&6; } 11258$as_echo_n "checking X11 version 6... " >&6; }
7884 if test "${emacs_cv_x11_version_6+set}" = set; then : 11259 if test "${emacs_cv_x11_version_6+set}" = set; then
7885 $as_echo_n "(cached) " >&6 11260 $as_echo_n "(cached) " >&6
7886else 11261else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11262 cat >conftest.$ac_ext <<_ACEOF
11263/* confdefs.h. */
11264_ACEOF
11265cat confdefs.h >>conftest.$ac_ext
11266cat >>conftest.$ac_ext <<_ACEOF
7888/* end confdefs.h. */ 11267/* end confdefs.h. */
7889#include <X11/Xlib.h> 11268#include <X11/Xlib.h>
7890int 11269int
@@ -7898,23 +11277,50 @@ fail;
7898 return 0; 11277 return 0;
7899} 11278}
7900_ACEOF 11279_ACEOF
7901if ac_fn_c_try_link "$LINENO"; then : 11280rm -f conftest.$ac_objext conftest$ac_exeext
11281if { (ac_try="$ac_link"
11282case "(($ac_try" in
11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11285esac
11286eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11287$as_echo "$ac_try_echo") >&5
11288 (eval "$ac_link") 2>conftest.er1
11289 ac_status=$?
11290 grep -v '^ *+' conftest.er1 >conftest.err
11291 rm -f conftest.er1
11292 cat conftest.err >&5
11293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } && {
11295 test -z "$ac_c_werror_flag" ||
11296 test ! -s conftest.err
11297 } && test -s conftest$ac_exeext && {
11298 test "$cross_compiling" = yes ||
11299 $as_test_x conftest$ac_exeext
11300 }; then
7902 emacs_cv_x11_version_6=yes 11301 emacs_cv_x11_version_6=yes
7903else 11302else
7904 emacs_cv_x11_version_6=no 11303 $as_echo "$as_me: failed program was:" >&5
11304sed 's/^/| /' conftest.$ac_ext >&5
11305
11306 emacs_cv_x11_version_6=no
7905fi 11307fi
7906rm -f core conftest.err conftest.$ac_objext \ 11308
7907 conftest$ac_exeext conftest.$ac_ext 11309rm -rf conftest.dSYM
11310rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11311 conftest$ac_exeext conftest.$ac_ext
7908fi 11312fi
7909 11313
7910 if test $emacs_cv_x11_version_6 = yes; then 11314 if test $emacs_cv_x11_version_6 = yes; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 11315 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5
7912$as_echo "6 or newer" >&6; } 11316$as_echo "6 or newer" >&6; }
7913 11317
7914$as_echo "#define HAVE_X11R6 1" >>confdefs.h 11318cat >>confdefs.h <<\_ACEOF
11319#define HAVE_X11R6 1
11320_ACEOF
7915 11321
7916 else 11322 else
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 11323 { $as_echo "$as_me:$LINENO: result: before 6" >&5
7918$as_echo "before 6" >&6; } 11324$as_echo "before 6" >&6; }
7919 fi 11325 fi
7920fi 11326fi
@@ -7932,9 +11338,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
7932 11338
7933 # Extract the first word of "pkg-config", so it can be a program name with args. 11339 # Extract the first word of "pkg-config", so it can be a program name with args.
7934set dummy pkg-config; ac_word=$2 11340set dummy pkg-config; ac_word=$2
7935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11341{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7936$as_echo_n "checking for $ac_word... " >&6; } 11342$as_echo_n "checking for $ac_word... " >&6; }
7937if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11343if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7938 $as_echo_n "(cached) " >&6 11344 $as_echo_n "(cached) " >&6
7939else 11345else
7940 case $PKG_CONFIG in 11346 case $PKG_CONFIG in
@@ -7947,14 +11353,14 @@ for as_dir in $PATH
7947do 11353do
7948 IFS=$as_save_IFS 11354 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=. 11355 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do 11356 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7952 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11358 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2 11360 break 2
7955 fi 11361 fi
7956done 11362done
7957 done 11363done
7958IFS=$as_save_IFS 11364IFS=$as_save_IFS
7959 11365
7960 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 11366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -7963,10 +11369,10 @@ esac
7963fi 11369fi
7964PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11370PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7965if test -n "$PKG_CONFIG"; then 11371if test -n "$PKG_CONFIG"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11372 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7967$as_echo "$PKG_CONFIG" >&6; } 11373$as_echo "$PKG_CONFIG" >&6; }
7968else 11374else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11375 { $as_echo "$as_me:$LINENO: result: no" >&5
7970$as_echo "no" >&6; } 11376$as_echo "no" >&6; }
7971fi 11377fi
7972 11378
@@ -7977,27 +11383,27 @@ fi
7977 else 11383 else
7978 PKG_CONFIG_MIN_VERSION=0.9.0 11384 PKG_CONFIG_MIN_VERSION=0.9.0
7979 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11385 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 11386 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5
7981$as_echo_n "checking for $RSVG_MODULE... " >&6; } 11387$as_echo_n "checking for $RSVG_MODULE... " >&6; }
7982 11388
7983 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 11389 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11390 { $as_echo "$as_me:$LINENO: result: yes" >&5
7985$as_echo "yes" >&6; } 11391$as_echo "yes" >&6; }
7986 succeeded=yes 11392 succeeded=yes
7987 11393
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 11394 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5
7989$as_echo_n "checking RSVG_CFLAGS... " >&6; } 11395$as_echo_n "checking RSVG_CFLAGS... " >&6; }
7990 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 11396 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 11397 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5
7992$as_echo "$RSVG_CFLAGS" >&6; } 11398$as_echo "$RSVG_CFLAGS" >&6; }
7993 11399
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 11400 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5
7995$as_echo_n "checking RSVG_LIBS... " >&6; } 11401$as_echo_n "checking RSVG_LIBS... " >&6; }
7996 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 11402 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 11403 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5
7998$as_echo "$RSVG_LIBS" >&6; } 11404$as_echo "$RSVG_LIBS" >&6; }
7999 else 11405 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11406 { $as_echo "$as_me:$LINENO: result: no" >&5
8001$as_echo "no" >&6; } 11407$as_echo "no" >&6; }
8002 RSVG_CFLAGS="" 11408 RSVG_CFLAGS=""
8003 RSVG_LIBS="" 11409 RSVG_LIBS=""
@@ -8027,7 +11433,9 @@ $as_echo "no" >&6; }
8027 if test ".${RSVG_CFLAGS}" != "."; then 11433 if test ".${RSVG_CFLAGS}" != "."; then
8028 HAVE_RSVG=yes 11434 HAVE_RSVG=yes
8029 11435
8030$as_echo "#define HAVE_RSVG 1" >>confdefs.h 11436cat >>confdefs.h <<\_ACEOF
11437#define HAVE_RSVG 1
11438_ACEOF
8031 11439
8032 CFLAGS="$CFLAGS $RSVG_CFLAGS" 11440 CFLAGS="$CFLAGS $RSVG_CFLAGS"
8033 LIBS="$RSVG_LIBS $LIBS" 11441 LIBS="$RSVG_LIBS $LIBS"
@@ -8047,9 +11455,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
8047 11455
8048 # Extract the first word of "pkg-config", so it can be a program name with args. 11456 # Extract the first word of "pkg-config", so it can be a program name with args.
8049set dummy pkg-config; ac_word=$2 11457set dummy pkg-config; ac_word=$2
8050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11458{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8051$as_echo_n "checking for $ac_word... " >&6; } 11459$as_echo_n "checking for $ac_word... " >&6; }
8052if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11460if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8053 $as_echo_n "(cached) " >&6 11461 $as_echo_n "(cached) " >&6
8054else 11462else
8055 case $PKG_CONFIG in 11463 case $PKG_CONFIG in
@@ -8062,14 +11470,14 @@ for as_dir in $PATH
8062do 11470do
8063 IFS=$as_save_IFS 11471 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=. 11472 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do 11473 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8067 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11475 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2 11477 break 2
8070 fi 11478 fi
8071done 11479done
8072 done 11480done
8073IFS=$as_save_IFS 11481IFS=$as_save_IFS
8074 11482
8075 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 11483 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -8078,10 +11486,10 @@ esac
8078fi 11486fi
8079PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11487PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8080if test -n "$PKG_CONFIG"; then 11488if test -n "$PKG_CONFIG"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11489 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8082$as_echo "$PKG_CONFIG" >&6; } 11490$as_echo "$PKG_CONFIG" >&6; }
8083else 11491else
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11492 { $as_echo "$as_me:$LINENO: result: no" >&5
8085$as_echo "no" >&6; } 11493$as_echo "no" >&6; }
8086fi 11494fi
8087 11495
@@ -8092,27 +11500,27 @@ fi
8092 else 11500 else
8093 PKG_CONFIG_MIN_VERSION=0.9.0 11501 PKG_CONFIG_MIN_VERSION=0.9.0
8094 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11502 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 11503 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
8096$as_echo_n "checking for $GTK_MODULES... " >&6; } 11504$as_echo_n "checking for $GTK_MODULES... " >&6; }
8097 11505
8098 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 11506 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11507 { $as_echo "$as_me:$LINENO: result: yes" >&5
8100$as_echo "yes" >&6; } 11508$as_echo "yes" >&6; }
8101 succeeded=yes 11509 succeeded=yes
8102 11510
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 11511 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
8104$as_echo_n "checking GTK_CFLAGS... " >&6; } 11512$as_echo_n "checking GTK_CFLAGS... " >&6; }
8105 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 11513 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 11514 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
8107$as_echo "$GTK_CFLAGS" >&6; } 11515$as_echo "$GTK_CFLAGS" >&6; }
8108 11516
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 11517 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5
8110$as_echo_n "checking GTK_LIBS... " >&6; } 11518$as_echo_n "checking GTK_LIBS... " >&6; }
8111 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 11519 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 11520 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
8113$as_echo "$GTK_LIBS" >&6; } 11521$as_echo "$GTK_LIBS" >&6; }
8114 else 11522 else
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11523 { $as_echo "$as_me:$LINENO: result: no" >&5
8116$as_echo "no" >&6; } 11524$as_echo "no" >&6; }
8117 GTK_CFLAGS="" 11525 GTK_CFLAGS=""
8118 GTK_LIBS="" 11526 GTK_LIBS=""
@@ -8137,7 +11545,9 @@ $as_echo "no" >&6; }
8137 fi 11545 fi
8138 11546
8139 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11547 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8140 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 11548 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5
11549$as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11550 { (exit 1); exit 1; }; }
8141 fi 11551 fi
8142fi 11552fi
8143 11553
@@ -8150,12 +11560,101 @@ if test x"$pkg_check_gtk" = xyes; then
8150 CFLAGS="$CFLAGS $GTK_CFLAGS" 11560 CFLAGS="$CFLAGS $GTK_CFLAGS"
8151 LIBS="$GTK_LIBS $LIBS" 11561 LIBS="$GTK_LIBS $LIBS"
8152 GTK_COMPILES=no 11562 GTK_COMPILES=no
8153 for ac_func in gtk_main 11563
8154do : 11564for ac_func in gtk_main
8155 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 11565do
8156if test "x$ac_cv_func_gtk_main" = x""yes; then : 11566as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11567{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11568$as_echo_n "checking for $ac_func... " >&6; }
11569if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11570 $as_echo_n "(cached) " >&6
11571else
11572 cat >conftest.$ac_ext <<_ACEOF
11573/* confdefs.h. */
11574_ACEOF
11575cat confdefs.h >>conftest.$ac_ext
11576cat >>conftest.$ac_ext <<_ACEOF
11577/* end confdefs.h. */
11578/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11580#define $ac_func innocuous_$ac_func
11581
11582/* System header to define __stub macros and hopefully few prototypes,
11583 which can conflict with char $ac_func (); below.
11584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11585 <limits.h> exists even on freestanding compilers. */
11586
11587#ifdef __STDC__
11588# include <limits.h>
11589#else
11590# include <assert.h>
11591#endif
11592
11593#undef $ac_func
11594
11595/* Override any GCC internal prototype to avoid an error.
11596 Use char because int might match the return type of a GCC
11597 builtin and then its argument prototype would still apply. */
11598#ifdef __cplusplus
11599extern "C"
11600#endif
11601char $ac_func ();
11602/* The GNU C library defines this for functions which it implements
11603 to always fail with ENOSYS. Some functions are actually named
11604 something starting with __ and the normal name is an alias. */
11605#if defined __stub_$ac_func || defined __stub___$ac_func
11606choke me
11607#endif
11608
11609int
11610main ()
11611{
11612return $ac_func ();
11613 ;
11614 return 0;
11615}
11616_ACEOF
11617rm -f conftest.$ac_objext conftest$ac_exeext
11618if { (ac_try="$ac_link"
11619case "(($ac_try" in
11620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11621 *) ac_try_echo=$ac_try;;
11622esac
11623eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11624$as_echo "$ac_try_echo") >&5
11625 (eval "$ac_link") 2>conftest.er1
11626 ac_status=$?
11627 grep -v '^ *+' conftest.er1 >conftest.err
11628 rm -f conftest.er1
11629 cat conftest.err >&5
11630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } && {
11632 test -z "$ac_c_werror_flag" ||
11633 test ! -s conftest.err
11634 } && test -s conftest$ac_exeext && {
11635 test "$cross_compiling" = yes ||
11636 $as_test_x conftest$ac_exeext
11637 }; then
11638 eval "$as_ac_var=yes"
11639else
11640 $as_echo "$as_me: failed program was:" >&5
11641sed 's/^/| /' conftest.$ac_ext >&5
11642
11643 eval "$as_ac_var=no"
11644fi
11645
11646rm -rf conftest.dSYM
11647rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11648 conftest$ac_exeext conftest.$ac_ext
11649fi
11650ac_res=`eval 'as_val=${'$as_ac_var'}
11651 $as_echo "$as_val"'`
11652 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11653$as_echo "$ac_res" >&6; }
11654if test `eval 'as_val=${'$as_ac_var'}
11655 $as_echo "$as_val"'` = yes; then
8157 cat >>confdefs.h <<_ACEOF 11656 cat >>confdefs.h <<_ACEOF
8158#define HAVE_GTK_MAIN 1 11657#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8159_ACEOF 11658_ACEOF
8160 GTK_COMPILES=yes 11659 GTK_COMPILES=yes
8161fi 11660fi
@@ -8163,18 +11662,22 @@ done
8163 11662
8164 if test "${GTK_COMPILES}" != "yes"; then 11663 if test "${GTK_COMPILES}" != "yes"; then
8165 if test "$USE_X_TOOLKIT" != "maybe"; then 11664 if test "$USE_X_TOOLKIT" != "maybe"; then
8166 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 11665 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5
11666$as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11667 { (exit 1); exit 1; }; };
8167 fi 11668 fi
8168 else 11669 else
8169 HAVE_GTK=yes 11670 HAVE_GTK=yes
8170 11671
8171$as_echo "#define USE_GTK 1" >>confdefs.h 11672cat >>confdefs.h <<\_ACEOF
11673#define USE_GTK 1
11674_ACEOF
8172 11675
8173 USE_X_TOOLKIT=none 11676 USE_X_TOOLKIT=none
8174 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 11677 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
8175 : 11678 :
8176 else 11679 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with 11680 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with
8178 closing open displays. This is no problem if you just use 11681 closing open displays. This is no problem if you just use
8179 one display, but if you use more than one and close one of them 11682 one display, but if you use more than one and close one of them
8180 Emacs may crash." >&5 11683 Emacs may crash." >&5
@@ -8196,12 +11699,101 @@ if test "${HAVE_GTK}" = "yes"; then
8196 fi 11699 fi
8197 11700
8198 HAVE_GTK_MULTIDISPLAY=no 11701 HAVE_GTK_MULTIDISPLAY=no
8199 for ac_func in gdk_display_open 11702
8200do : 11703for ac_func in gdk_display_open
8201 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" 11704do
8202if test "x$ac_cv_func_gdk_display_open" = x""yes; then : 11705as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11706{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11707$as_echo_n "checking for $ac_func... " >&6; }
11708if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11709 $as_echo_n "(cached) " >&6
11710else
11711 cat >conftest.$ac_ext <<_ACEOF
11712/* confdefs.h. */
11713_ACEOF
11714cat confdefs.h >>conftest.$ac_ext
11715cat >>conftest.$ac_ext <<_ACEOF
11716/* end confdefs.h. */
11717/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11719#define $ac_func innocuous_$ac_func
11720
11721/* System header to define __stub macros and hopefully few prototypes,
11722 which can conflict with char $ac_func (); below.
11723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11724 <limits.h> exists even on freestanding compilers. */
11725
11726#ifdef __STDC__
11727# include <limits.h>
11728#else
11729# include <assert.h>
11730#endif
11731
11732#undef $ac_func
11733
11734/* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737#ifdef __cplusplus
11738extern "C"
11739#endif
11740char $ac_func ();
11741/* The GNU C library defines this for functions which it implements
11742 to always fail with ENOSYS. Some functions are actually named
11743 something starting with __ and the normal name is an alias. */
11744#if defined __stub_$ac_func || defined __stub___$ac_func
11745choke me
11746#endif
11747
11748int
11749main ()
11750{
11751return $ac_func ();
11752 ;
11753 return 0;
11754}
11755_ACEOF
11756rm -f conftest.$ac_objext conftest$ac_exeext
11757if { (ac_try="$ac_link"
11758case "(($ac_try" in
11759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11760 *) ac_try_echo=$ac_try;;
11761esac
11762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11763$as_echo "$ac_try_echo") >&5
11764 (eval "$ac_link") 2>conftest.er1
11765 ac_status=$?
11766 grep -v '^ *+' conftest.er1 >conftest.err
11767 rm -f conftest.er1
11768 cat conftest.err >&5
11769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); } && {
11771 test -z "$ac_c_werror_flag" ||
11772 test ! -s conftest.err
11773 } && test -s conftest$ac_exeext && {
11774 test "$cross_compiling" = yes ||
11775 $as_test_x conftest$ac_exeext
11776 }; then
11777 eval "$as_ac_var=yes"
11778else
11779 $as_echo "$as_me: failed program was:" >&5
11780sed 's/^/| /' conftest.$ac_ext >&5
11781
11782 eval "$as_ac_var=no"
11783fi
11784
11785rm -rf conftest.dSYM
11786rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11787 conftest$ac_exeext conftest.$ac_ext
11788fi
11789ac_res=`eval 'as_val=${'$as_ac_var'}
11790 $as_echo "$as_val"'`
11791 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11792$as_echo "$ac_res" >&6; }
11793if test `eval 'as_val=${'$as_ac_var'}
11794 $as_echo "$as_val"'` = yes; then
8203 cat >>confdefs.h <<_ACEOF 11795 cat >>confdefs.h <<_ACEOF
8204#define HAVE_GDK_DISPLAY_OPEN 1 11796#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8205_ACEOF 11797_ACEOF
8206 HAVE_GTK_MULTIDISPLAY=yes 11798 HAVE_GTK_MULTIDISPLAY=yes
8207fi 11799fi
@@ -8209,27 +11801,170 @@ done
8209 11801
8210 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then 11802 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
8211 11803
8212$as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h 11804cat >>confdefs.h <<\_ACEOF
11805#define HAVE_GTK_MULTIDISPLAY 1
11806_ACEOF
8213 11807
8214 fi 11808 fi
8215 11809
8216 HAVE_GTK_FILE_SELECTION=no 11810 HAVE_GTK_FILE_SELECTION=no
8217 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 11811 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5
11812$as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; }
11813if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then
11814 $as_echo_n "(cached) " >&6
11815else
11816 cat >conftest.$ac_ext <<_ACEOF
11817/* confdefs.h. */
11818_ACEOF
11819cat confdefs.h >>conftest.$ac_ext
11820cat >>conftest.$ac_ext <<_ACEOF
11821/* end confdefs.h. */
11822$ac_includes_default
8218#include <gtk/gtk.h> 11823#include <gtk/gtk.h>
8219" 11824
8220if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 11825int
11826main ()
11827{
11828#ifndef GTK_TYPE_FILE_SELECTION
11829 (void) GTK_TYPE_FILE_SELECTION;
11830#endif
11831
11832 ;
11833 return 0;
11834}
11835_ACEOF
11836rm -f conftest.$ac_objext
11837if { (ac_try="$ac_compile"
11838case "(($ac_try" in
11839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11840 *) ac_try_echo=$ac_try;;
11841esac
11842eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11843$as_echo "$ac_try_echo") >&5
11844 (eval "$ac_compile") 2>conftest.er1
11845 ac_status=$?
11846 grep -v '^ *+' conftest.er1 >conftest.err
11847 rm -f conftest.er1
11848 cat conftest.err >&5
11849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } && {
11851 test -z "$ac_c_werror_flag" ||
11852 test ! -s conftest.err
11853 } && test -s conftest.$ac_objext; then
11854 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes
11855else
11856 $as_echo "$as_me: failed program was:" >&5
11857sed 's/^/| /' conftest.$ac_ext >&5
11858
11859 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no
11860fi
11861
11862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11863fi
11864{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
11865$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
11866if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then
8221 HAVE_GTK_FILE_SELECTION=yes 11867 HAVE_GTK_FILE_SELECTION=yes
8222else 11868else
8223 HAVE_GTK_FILE_SELECTION=no 11869 HAVE_GTK_FILE_SELECTION=no
8224fi 11870fi
8225 11871
8226 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 11872 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
8227 for ac_func in gtk_file_selection_new 11873
8228do : 11874for ac_func in gtk_file_selection_new
8229 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 11875do
8230if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 11876as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11877{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11878$as_echo_n "checking for $ac_func... " >&6; }
11879if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11880 $as_echo_n "(cached) " >&6
11881else
11882 cat >conftest.$ac_ext <<_ACEOF
11883/* confdefs.h. */
11884_ACEOF
11885cat confdefs.h >>conftest.$ac_ext
11886cat >>conftest.$ac_ext <<_ACEOF
11887/* end confdefs.h. */
11888/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11890#define $ac_func innocuous_$ac_func
11891
11892/* System header to define __stub macros and hopefully few prototypes,
11893 which can conflict with char $ac_func (); below.
11894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11895 <limits.h> exists even on freestanding compilers. */
11896
11897#ifdef __STDC__
11898# include <limits.h>
11899#else
11900# include <assert.h>
11901#endif
11902
11903#undef $ac_func
11904
11905/* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11908#ifdef __cplusplus
11909extern "C"
11910#endif
11911char $ac_func ();
11912/* The GNU C library defines this for functions which it implements
11913 to always fail with ENOSYS. Some functions are actually named
11914 something starting with __ and the normal name is an alias. */
11915#if defined __stub_$ac_func || defined __stub___$ac_func
11916choke me
11917#endif
11918
11919int
11920main ()
11921{
11922return $ac_func ();
11923 ;
11924 return 0;
11925}
11926_ACEOF
11927rm -f conftest.$ac_objext conftest$ac_exeext
11928if { (ac_try="$ac_link"
11929case "(($ac_try" in
11930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11931 *) ac_try_echo=$ac_try;;
11932esac
11933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11934$as_echo "$ac_try_echo") >&5
11935 (eval "$ac_link") 2>conftest.er1
11936 ac_status=$?
11937 grep -v '^ *+' conftest.er1 >conftest.err
11938 rm -f conftest.er1
11939 cat conftest.err >&5
11940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } && {
11942 test -z "$ac_c_werror_flag" ||
11943 test ! -s conftest.err
11944 } && test -s conftest$ac_exeext && {
11945 test "$cross_compiling" = yes ||
11946 $as_test_x conftest$ac_exeext
11947 }; then
11948 eval "$as_ac_var=yes"
11949else
11950 $as_echo "$as_me: failed program was:" >&5
11951sed 's/^/| /' conftest.$ac_ext >&5
11952
11953 eval "$as_ac_var=no"
11954fi
11955
11956rm -rf conftest.dSYM
11957rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11958 conftest$ac_exeext conftest.$ac_ext
11959fi
11960ac_res=`eval 'as_val=${'$as_ac_var'}
11961 $as_echo "$as_val"'`
11962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11963$as_echo "$ac_res" >&6; }
11964if test `eval 'as_val=${'$as_ac_var'}
11965 $as_echo "$as_val"'` = yes; then
8231 cat >>confdefs.h <<_ACEOF 11966 cat >>confdefs.h <<_ACEOF
8232#define HAVE_GTK_FILE_SELECTION_NEW 1 11967#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8233_ACEOF 11968_ACEOF
8234 HAVE_GTK_FILE_SELECTION=yes 11969 HAVE_GTK_FILE_SELECTION=yes
8235else 11970else
@@ -8240,22 +11975,163 @@ done
8240 fi 11975 fi
8241 11976
8242 HAVE_GTK_FILE_CHOOSER=no 11977 HAVE_GTK_FILE_CHOOSER=no
8243 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default 11978 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5
11979$as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; }
11980if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then
11981 $as_echo_n "(cached) " >&6
11982else
11983 cat >conftest.$ac_ext <<_ACEOF
11984/* confdefs.h. */
11985_ACEOF
11986cat confdefs.h >>conftest.$ac_ext
11987cat >>conftest.$ac_ext <<_ACEOF
11988/* end confdefs.h. */
11989$ac_includes_default
8244#include <gtk/gtk.h> 11990#include <gtk/gtk.h>
8245" 11991
8246if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : 11992int
11993main ()
11994{
11995#ifndef GTK_TYPE_FILE_CHOOSER
11996 (void) GTK_TYPE_FILE_CHOOSER;
11997#endif
11998
11999 ;
12000 return 0;
12001}
12002_ACEOF
12003rm -f conftest.$ac_objext
12004if { (ac_try="$ac_compile"
12005case "(($ac_try" in
12006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12007 *) ac_try_echo=$ac_try;;
12008esac
12009eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12010$as_echo "$ac_try_echo") >&5
12011 (eval "$ac_compile") 2>conftest.er1
12012 ac_status=$?
12013 grep -v '^ *+' conftest.er1 >conftest.err
12014 rm -f conftest.er1
12015 cat conftest.err >&5
12016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); } && {
12018 test -z "$ac_c_werror_flag" ||
12019 test ! -s conftest.err
12020 } && test -s conftest.$ac_objext; then
12021 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes
12022else
12023 $as_echo "$as_me: failed program was:" >&5
12024sed 's/^/| /' conftest.$ac_ext >&5
12025
12026 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no
12027fi
12028
12029rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12030fi
12031{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
12032$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
12033if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then
8247 HAVE_GTK_FILE_CHOOSER=yes 12034 HAVE_GTK_FILE_CHOOSER=yes
8248else 12035else
8249 HAVE_GTK_FILE_CHOOSER=no 12036 HAVE_GTK_FILE_CHOOSER=no
8250fi 12037fi
8251 12038
8252 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12039 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
8253 for ac_func in gtk_file_chooser_dialog_new 12040
8254do : 12041for ac_func in gtk_file_chooser_dialog_new
8255 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" 12042do
8256if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : 12043as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12044{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12045$as_echo_n "checking for $ac_func... " >&6; }
12046if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12047 $as_echo_n "(cached) " >&6
12048else
12049 cat >conftest.$ac_ext <<_ACEOF
12050/* confdefs.h. */
12051_ACEOF
12052cat confdefs.h >>conftest.$ac_ext
12053cat >>conftest.$ac_ext <<_ACEOF
12054/* end confdefs.h. */
12055/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12057#define $ac_func innocuous_$ac_func
12058
12059/* System header to define __stub macros and hopefully few prototypes,
12060 which can conflict with char $ac_func (); below.
12061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12062 <limits.h> exists even on freestanding compilers. */
12063
12064#ifdef __STDC__
12065# include <limits.h>
12066#else
12067# include <assert.h>
12068#endif
12069
12070#undef $ac_func
12071
12072/* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075#ifdef __cplusplus
12076extern "C"
12077#endif
12078char $ac_func ();
12079/* The GNU C library defines this for functions which it implements
12080 to always fail with ENOSYS. Some functions are actually named
12081 something starting with __ and the normal name is an alias. */
12082#if defined __stub_$ac_func || defined __stub___$ac_func
12083choke me
12084#endif
12085
12086int
12087main ()
12088{
12089return $ac_func ();
12090 ;
12091 return 0;
12092}
12093_ACEOF
12094rm -f conftest.$ac_objext conftest$ac_exeext
12095if { (ac_try="$ac_link"
12096case "(($ac_try" in
12097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12098 *) ac_try_echo=$ac_try;;
12099esac
12100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12101$as_echo "$ac_try_echo") >&5
12102 (eval "$ac_link") 2>conftest.er1
12103 ac_status=$?
12104 grep -v '^ *+' conftest.er1 >conftest.err
12105 rm -f conftest.er1
12106 cat conftest.err >&5
12107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } && {
12109 test -z "$ac_c_werror_flag" ||
12110 test ! -s conftest.err
12111 } && test -s conftest$ac_exeext && {
12112 test "$cross_compiling" = yes ||
12113 $as_test_x conftest$ac_exeext
12114 }; then
12115 eval "$as_ac_var=yes"
12116else
12117 $as_echo "$as_me: failed program was:" >&5
12118sed 's/^/| /' conftest.$ac_ext >&5
12119
12120 eval "$as_ac_var=no"
12121fi
12122
12123rm -rf conftest.dSYM
12124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12125 conftest$ac_exeext conftest.$ac_ext
12126fi
12127ac_res=`eval 'as_val=${'$as_ac_var'}
12128 $as_echo "$as_val"'`
12129 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12130$as_echo "$ac_res" >&6; }
12131if test `eval 'as_val=${'$as_ac_var'}
12132 $as_echo "$as_val"'` = yes; then
8257 cat >>confdefs.h <<_ACEOF 12133 cat >>confdefs.h <<_ACEOF
8258#define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 12134#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8259_ACEOF 12135_ACEOF
8260 HAVE_GTK_FILE_CHOOSER=yes 12136 HAVE_GTK_FILE_CHOOSER=yes
8261else 12137else
@@ -8268,18 +12144,153 @@ done
8268 if test "$HAVE_GTK_FILE_SELECTION" = yes \ 12144 if test "$HAVE_GTK_FILE_SELECTION" = yes \
8269 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12145 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
8270 12146
8271$as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h 12147cat >>confdefs.h <<\_ACEOF
12148#define HAVE_GTK_FILE_BOTH 1
12149_ACEOF
8272 12150
8273 fi 12151 fi
8274 12152
8275 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12153 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
8276 HAVE_GTK_AND_PTHREAD=no 12154 HAVE_GTK_AND_PTHREAD=no
8277 for ac_header in pthread.h 12155
8278do : 12156for ac_header in pthread.h
8279 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 12157do
8280if test "x$ac_cv_header_pthread_h" = x""yes; then : 12158as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12159if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12160 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12161$as_echo_n "checking for $ac_header... " >&6; }
12162if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12163 $as_echo_n "(cached) " >&6
12164fi
12165ac_res=`eval 'as_val=${'$as_ac_Header'}
12166 $as_echo "$as_val"'`
12167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12168$as_echo "$ac_res" >&6; }
12169else
12170 # Is the header compilable?
12171{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12172$as_echo_n "checking $ac_header usability... " >&6; }
12173cat >conftest.$ac_ext <<_ACEOF
12174/* confdefs.h. */
12175_ACEOF
12176cat confdefs.h >>conftest.$ac_ext
12177cat >>conftest.$ac_ext <<_ACEOF
12178/* end confdefs.h. */
12179$ac_includes_default
12180#include <$ac_header>
12181_ACEOF
12182rm -f conftest.$ac_objext
12183if { (ac_try="$ac_compile"
12184case "(($ac_try" in
12185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12186 *) ac_try_echo=$ac_try;;
12187esac
12188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12189$as_echo "$ac_try_echo") >&5
12190 (eval "$ac_compile") 2>conftest.er1
12191 ac_status=$?
12192 grep -v '^ *+' conftest.er1 >conftest.err
12193 rm -f conftest.er1
12194 cat conftest.err >&5
12195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } && {
12197 test -z "$ac_c_werror_flag" ||
12198 test ! -s conftest.err
12199 } && test -s conftest.$ac_objext; then
12200 ac_header_compiler=yes
12201else
12202 $as_echo "$as_me: failed program was:" >&5
12203sed 's/^/| /' conftest.$ac_ext >&5
12204
12205 ac_header_compiler=no
12206fi
12207
12208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12209{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12210$as_echo "$ac_header_compiler" >&6; }
12211
12212# Is the header present?
12213{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12214$as_echo_n "checking $ac_header presence... " >&6; }
12215cat >conftest.$ac_ext <<_ACEOF
12216/* confdefs.h. */
12217_ACEOF
12218cat confdefs.h >>conftest.$ac_ext
12219cat >>conftest.$ac_ext <<_ACEOF
12220/* end confdefs.h. */
12221#include <$ac_header>
12222_ACEOF
12223if { (ac_try="$ac_cpp conftest.$ac_ext"
12224case "(($ac_try" in
12225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12226 *) ac_try_echo=$ac_try;;
12227esac
12228eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12229$as_echo "$ac_try_echo") >&5
12230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12231 ac_status=$?
12232 grep -v '^ *+' conftest.er1 >conftest.err
12233 rm -f conftest.er1
12234 cat conftest.err >&5
12235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } >/dev/null && {
12237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12238 test ! -s conftest.err
12239 }; then
12240 ac_header_preproc=yes
12241else
12242 $as_echo "$as_me: failed program was:" >&5
12243sed 's/^/| /' conftest.$ac_ext >&5
12244
12245 ac_header_preproc=no
12246fi
12247
12248rm -f conftest.err conftest.$ac_ext
12249{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12250$as_echo "$ac_header_preproc" >&6; }
12251
12252# So? What about this header?
12253case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12254 yes:no: )
12255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12256$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12258$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12259 ac_header_preproc=yes
12260 ;;
12261 no:yes:* )
12262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12263$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12265$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12267$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12269$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12271$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12273$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12274
12275 ;;
12276esac
12277{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12278$as_echo_n "checking for $ac_header... " >&6; }
12279if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12280 $as_echo_n "(cached) " >&6
12281else
12282 eval "$as_ac_Header=\$ac_header_preproc"
12283fi
12284ac_res=`eval 'as_val=${'$as_ac_Header'}
12285 $as_echo "$as_val"'`
12286 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12287$as_echo "$ac_res" >&6; }
12288
12289fi
12290if test `eval 'as_val=${'$as_ac_Header'}
12291 $as_echo "$as_val"'` = yes; then
8281 cat >>confdefs.h <<_ACEOF 12292 cat >>confdefs.h <<_ACEOF
8282#define HAVE_PTHREAD_H 1 12293#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8283_ACEOF 12294_ACEOF
8284 12295
8285fi 12296fi
@@ -8287,14 +12298,18 @@ fi
8287done 12298done
8288 12299
8289 if test "$ac_cv_header_pthread_h"; then 12300 if test "$ac_cv_header_pthread_h"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 12301 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
8291$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 12302$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
8292if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 12303if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
8293 $as_echo_n "(cached) " >&6 12304 $as_echo_n "(cached) " >&6
8294else 12305else
8295 ac_check_lib_save_LIBS=$LIBS 12306 ac_check_lib_save_LIBS=$LIBS
8296LIBS="-lpthread $LIBS" 12307LIBS="-lpthread $LIBS"
8297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12308cat >conftest.$ac_ext <<_ACEOF
12309/* confdefs.h. */
12310_ACEOF
12311cat confdefs.h >>conftest.$ac_ext
12312cat >>conftest.$ac_ext <<_ACEOF
8298/* end confdefs.h. */ 12313/* end confdefs.h. */
8299 12314
8300/* Override any GCC internal prototype to avoid an error. 12315/* Override any GCC internal prototype to avoid an error.
@@ -8312,18 +12327,43 @@ return pthread_self ();
8312 return 0; 12327 return 0;
8313} 12328}
8314_ACEOF 12329_ACEOF
8315if ac_fn_c_try_link "$LINENO"; then : 12330rm -f conftest.$ac_objext conftest$ac_exeext
12331if { (ac_try="$ac_link"
12332case "(($ac_try" in
12333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12334 *) ac_try_echo=$ac_try;;
12335esac
12336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12337$as_echo "$ac_try_echo") >&5
12338 (eval "$ac_link") 2>conftest.er1
12339 ac_status=$?
12340 grep -v '^ *+' conftest.er1 >conftest.err
12341 rm -f conftest.er1
12342 cat conftest.err >&5
12343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } && {
12345 test -z "$ac_c_werror_flag" ||
12346 test ! -s conftest.err
12347 } && test -s conftest$ac_exeext && {
12348 test "$cross_compiling" = yes ||
12349 $as_test_x conftest$ac_exeext
12350 }; then
8316 ac_cv_lib_pthread_pthread_self=yes 12351 ac_cv_lib_pthread_pthread_self=yes
8317else 12352else
8318 ac_cv_lib_pthread_pthread_self=no 12353 $as_echo "$as_me: failed program was:" >&5
12354sed 's/^/| /' conftest.$ac_ext >&5
12355
12356 ac_cv_lib_pthread_pthread_self=no
8319fi 12357fi
8320rm -f core conftest.err conftest.$ac_objext \ 12358
8321 conftest$ac_exeext conftest.$ac_ext 12359rm -rf conftest.dSYM
12360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12361 conftest$ac_exeext conftest.$ac_ext
8322LIBS=$ac_check_lib_save_LIBS 12362LIBS=$ac_check_lib_save_LIBS
8323fi 12363fi
8324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 12364{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
8325$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 12365$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
8326if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 12366if test $ac_cv_lib_pthread_pthread_self = yes; then
8327 HAVE_GTK_AND_PTHREAD=yes 12367 HAVE_GTK_AND_PTHREAD=yes
8328fi 12368fi
8329 12369
@@ -8334,7 +12374,9 @@ fi
8334 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; 12374 *) GTK_LIBS="$GTK_LIBS -lpthread" ;;
8335 esac 12375 esac
8336 12376
8337$as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h 12377cat >>confdefs.h <<\_ACEOF
12378#define HAVE_GTK_AND_PTHREAD 1
12379_ACEOF
8338 12380
8339 fi 12381 fi
8340 fi 12382 fi
@@ -8347,9 +12389,9 @@ if test "${with_dbus}" = "yes"; then
8347 12389
8348 # Extract the first word of "pkg-config", so it can be a program name with args. 12390 # Extract the first word of "pkg-config", so it can be a program name with args.
8349set dummy pkg-config; ac_word=$2 12391set dummy pkg-config; ac_word=$2
8350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12392{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8351$as_echo_n "checking for $ac_word... " >&6; } 12393$as_echo_n "checking for $ac_word... " >&6; }
8352if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12394if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8353 $as_echo_n "(cached) " >&6 12395 $as_echo_n "(cached) " >&6
8354else 12396else
8355 case $PKG_CONFIG in 12397 case $PKG_CONFIG in
@@ -8362,14 +12404,14 @@ for as_dir in $PATH
8362do 12404do
8363 IFS=$as_save_IFS 12405 IFS=$as_save_IFS
8364 test -z "$as_dir" && as_dir=. 12406 test -z "$as_dir" && as_dir=.
8365 for ac_exec_ext in '' $ac_executable_extensions; do 12407 for ac_exec_ext in '' $ac_executable_extensions; do
8366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8367 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12409 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12410 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8369 break 2 12411 break 2
8370 fi 12412 fi
8371done 12413done
8372 done 12414done
8373IFS=$as_save_IFS 12415IFS=$as_save_IFS
8374 12416
8375 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 12417 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -8378,10 +12420,10 @@ esac
8378fi 12420fi
8379PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12421PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8380if test -n "$PKG_CONFIG"; then 12422if test -n "$PKG_CONFIG"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12423 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8382$as_echo "$PKG_CONFIG" >&6; } 12424$as_echo "$PKG_CONFIG" >&6; }
8383else 12425else
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12426 { $as_echo "$as_me:$LINENO: result: no" >&5
8385$as_echo "no" >&6; } 12427$as_echo "no" >&6; }
8386fi 12428fi
8387 12429
@@ -8392,27 +12434,27 @@ fi
8392 else 12434 else
8393 PKG_CONFIG_MIN_VERSION=0.9.0 12435 PKG_CONFIG_MIN_VERSION=0.9.0
8394 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12436 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 12437 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5
8396$as_echo_n "checking for dbus-1 >= 1.0... " >&6; } 12438$as_echo_n "checking for dbus-1 >= 1.0... " >&6; }
8397 12439
8398 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 12440 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12441 { $as_echo "$as_me:$LINENO: result: yes" >&5
8400$as_echo "yes" >&6; } 12442$as_echo "yes" >&6; }
8401 succeeded=yes 12443 succeeded=yes
8402 12444
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 12445 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
8404$as_echo_n "checking DBUS_CFLAGS... " >&6; } 12446$as_echo_n "checking DBUS_CFLAGS... " >&6; }
8405 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 12447 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 12448 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
8407$as_echo "$DBUS_CFLAGS" >&6; } 12449$as_echo "$DBUS_CFLAGS" >&6; }
8408 12450
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 12451 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
8410$as_echo_n "checking DBUS_LIBS... " >&6; } 12452$as_echo_n "checking DBUS_LIBS... " >&6; }
8411 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 12453 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 12454 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
8413$as_echo "$DBUS_LIBS" >&6; } 12455$as_echo "$DBUS_LIBS" >&6; }
8414 else 12456 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12457 { $as_echo "$as_me:$LINENO: result: no" >&5
8416$as_echo "no" >&6; } 12458$as_echo "no" >&6; }
8417 DBUS_CFLAGS="" 12459 DBUS_CFLAGS=""
8418 DBUS_LIBS="" 12460 DBUS_LIBS=""
@@ -8439,14 +12481,105 @@ $as_echo "no" >&6; }
8439 if test "$HAVE_DBUS" = yes; then 12481 if test "$HAVE_DBUS" = yes; then
8440 LIBS="$LIBS $DBUS_LIBS" 12482 LIBS="$LIBS $DBUS_LIBS"
8441 12483
8442$as_echo "#define HAVE_DBUS 1" >>confdefs.h 12484cat >>confdefs.h <<\_ACEOF
12485#define HAVE_DBUS 1
12486_ACEOF
12487
12488
12489for ac_func in dbus_watch_get_unix_fd
12490do
12491as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12492{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12493$as_echo_n "checking for $ac_func... " >&6; }
12494if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12495 $as_echo_n "(cached) " >&6
12496else
12497 cat >conftest.$ac_ext <<_ACEOF
12498/* confdefs.h. */
12499_ACEOF
12500cat confdefs.h >>conftest.$ac_ext
12501cat >>conftest.$ac_ext <<_ACEOF
12502/* end confdefs.h. */
12503/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12505#define $ac_func innocuous_$ac_func
12506
12507/* System header to define __stub macros and hopefully few prototypes,
12508 which can conflict with char $ac_func (); below.
12509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12510 <limits.h> exists even on freestanding compilers. */
12511
12512#ifdef __STDC__
12513# include <limits.h>
12514#else
12515# include <assert.h>
12516#endif
12517
12518#undef $ac_func
8443 12519
8444 for ac_func in dbus_watch_get_unix_fd 12520/* Override any GCC internal prototype to avoid an error.
8445do : 12521 Use char because int might match the return type of a GCC
8446 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 12522 builtin and then its argument prototype would still apply. */
8447if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 12523#ifdef __cplusplus
12524extern "C"
12525#endif
12526char $ac_func ();
12527/* The GNU C library defines this for functions which it implements
12528 to always fail with ENOSYS. Some functions are actually named
12529 something starting with __ and the normal name is an alias. */
12530#if defined __stub_$ac_func || defined __stub___$ac_func
12531choke me
12532#endif
12533
12534int
12535main ()
12536{
12537return $ac_func ();
12538 ;
12539 return 0;
12540}
12541_ACEOF
12542rm -f conftest.$ac_objext conftest$ac_exeext
12543if { (ac_try="$ac_link"
12544case "(($ac_try" in
12545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12546 *) ac_try_echo=$ac_try;;
12547esac
12548eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12549$as_echo "$ac_try_echo") >&5
12550 (eval "$ac_link") 2>conftest.er1
12551 ac_status=$?
12552 grep -v '^ *+' conftest.er1 >conftest.err
12553 rm -f conftest.er1
12554 cat conftest.err >&5
12555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); } && {
12557 test -z "$ac_c_werror_flag" ||
12558 test ! -s conftest.err
12559 } && test -s conftest$ac_exeext && {
12560 test "$cross_compiling" = yes ||
12561 $as_test_x conftest$ac_exeext
12562 }; then
12563 eval "$as_ac_var=yes"
12564else
12565 $as_echo "$as_me: failed program was:" >&5
12566sed 's/^/| /' conftest.$ac_ext >&5
12567
12568 eval "$as_ac_var=no"
12569fi
12570
12571rm -rf conftest.dSYM
12572rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12573 conftest$ac_exeext conftest.$ac_ext
12574fi
12575ac_res=`eval 'as_val=${'$as_ac_var'}
12576 $as_echo "$as_val"'`
12577 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12578$as_echo "$ac_res" >&6; }
12579if test `eval 'as_val=${'$as_ac_var'}
12580 $as_echo "$as_val"'` = yes; then
8448 cat >>confdefs.h <<_ACEOF 12581 cat >>confdefs.h <<_ACEOF
8449#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 12582#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8450_ACEOF 12583_ACEOF
8451 12584
8452fi 12585fi
@@ -8462,9 +12595,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
8462 12595
8463 # Extract the first word of "pkg-config", so it can be a program name with args. 12596 # Extract the first word of "pkg-config", so it can be a program name with args.
8464set dummy pkg-config; ac_word=$2 12597set dummy pkg-config; ac_word=$2
8465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12598{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8466$as_echo_n "checking for $ac_word... " >&6; } 12599$as_echo_n "checking for $ac_word... " >&6; }
8467if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12600if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8468 $as_echo_n "(cached) " >&6 12601 $as_echo_n "(cached) " >&6
8469else 12602else
8470 case $PKG_CONFIG in 12603 case $PKG_CONFIG in
@@ -8477,14 +12610,14 @@ for as_dir in $PATH
8477do 12610do
8478 IFS=$as_save_IFS 12611 IFS=$as_save_IFS
8479 test -z "$as_dir" && as_dir=. 12612 test -z "$as_dir" && as_dir=.
8480 for ac_exec_ext in '' $ac_executable_extensions; do 12613 for ac_exec_ext in '' $ac_executable_extensions; do
8481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8482 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12615 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12616 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8484 break 2 12617 break 2
8485 fi 12618 fi
8486done 12619done
8487 done 12620done
8488IFS=$as_save_IFS 12621IFS=$as_save_IFS
8489 12622
8490 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 12623 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -8493,10 +12626,10 @@ esac
8493fi 12626fi
8494PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12627PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8495if test -n "$PKG_CONFIG"; then 12628if test -n "$PKG_CONFIG"; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12629 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8497$as_echo "$PKG_CONFIG" >&6; } 12630$as_echo "$PKG_CONFIG" >&6; }
8498else 12631else
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12632 { $as_echo "$as_me:$LINENO: result: no" >&5
8500$as_echo "no" >&6; } 12633$as_echo "no" >&6; }
8501fi 12634fi
8502 12635
@@ -8507,27 +12640,27 @@ fi
8507 else 12640 else
8508 PKG_CONFIG_MIN_VERSION=0.9.0 12641 PKG_CONFIG_MIN_VERSION=0.9.0
8509 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12642 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 12643 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5
8511$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } 12644$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; }
8512 12645
8513 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then 12646 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12647 { $as_echo "$as_me:$LINENO: result: yes" >&5
8515$as_echo "yes" >&6; } 12648$as_echo "yes" >&6; }
8516 succeeded=yes 12649 succeeded=yes
8517 12650
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 12651 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
8519$as_echo_n "checking GCONF_CFLAGS... " >&6; } 12652$as_echo_n "checking GCONF_CFLAGS... " >&6; }
8520 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 12653 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 12654 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
8522$as_echo "$GCONF_CFLAGS" >&6; } 12655$as_echo "$GCONF_CFLAGS" >&6; }
8523 12656
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 12657 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
8525$as_echo_n "checking GCONF_LIBS... " >&6; } 12658$as_echo_n "checking GCONF_LIBS... " >&6; }
8526 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 12659 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 12660 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
8528$as_echo "$GCONF_LIBS" >&6; } 12661$as_echo "$GCONF_LIBS" >&6; }
8529 else 12662 else
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12663 { $as_echo "$as_me:$LINENO: result: no" >&5
8531$as_echo "no" >&6; } 12664$as_echo "no" >&6; }
8532 GCONF_CFLAGS="" 12665 GCONF_CFLAGS=""
8533 GCONF_LIBS="" 12666 GCONF_LIBS=""
@@ -8553,7 +12686,9 @@ $as_echo "no" >&6; }
8553 12686
8554 if test "$HAVE_GCONF" = yes; then 12687 if test "$HAVE_GCONF" = yes; then
8555 12688
8556$as_echo "#define HAVE_GCONF 1" >>confdefs.h 12689cat >>confdefs.h <<\_ACEOF
12690#define HAVE_GCONF 1
12691_ACEOF
8557 12692
8558 fi 12693 fi
8559fi 12694fi
@@ -8561,12 +12696,16 @@ fi
8561HAVE_XAW3D=no 12696HAVE_XAW3D=no
8562if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 12697if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
8563 if test "$with_xaw3d" != no; then 12698 if test "$with_xaw3d" != no; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 12699 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5
8565$as_echo_n "checking for xaw3d... " >&6; } 12700$as_echo_n "checking for xaw3d... " >&6; }
8566 if test "${emacs_cv_xaw3d+set}" = set; then : 12701 if test "${emacs_cv_xaw3d+set}" = set; then
8567 $as_echo_n "(cached) " >&6 12702 $as_echo_n "(cached) " >&6
8568else 12703else
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12704 cat >conftest.$ac_ext <<_ACEOF
12705/* confdefs.h. */
12706_ACEOF
12707cat confdefs.h >>conftest.$ac_ext
12708cat >>conftest.$ac_ext <<_ACEOF
8570/* end confdefs.h. */ 12709/* end confdefs.h. */
8571 12710
8572#include <X11/Intrinsic.h> 12711#include <X11/Intrinsic.h>
@@ -8579,35 +12718,66 @@ main ()
8579 return 0; 12718 return 0;
8580} 12719}
8581_ACEOF 12720_ACEOF
8582if ac_fn_c_try_link "$LINENO"; then : 12721rm -f conftest.$ac_objext conftest$ac_exeext
12722if { (ac_try="$ac_link"
12723case "(($ac_try" in
12724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12725 *) ac_try_echo=$ac_try;;
12726esac
12727eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12728$as_echo "$ac_try_echo") >&5
12729 (eval "$ac_link") 2>conftest.er1
12730 ac_status=$?
12731 grep -v '^ *+' conftest.er1 >conftest.err
12732 rm -f conftest.er1
12733 cat conftest.err >&5
12734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } && {
12736 test -z "$ac_c_werror_flag" ||
12737 test ! -s conftest.err
12738 } && test -s conftest$ac_exeext && {
12739 test "$cross_compiling" = yes ||
12740 $as_test_x conftest$ac_exeext
12741 }; then
8583 emacs_cv_xaw3d=yes 12742 emacs_cv_xaw3d=yes
8584else 12743else
8585 emacs_cv_xaw3d=no 12744 $as_echo "$as_me: failed program was:" >&5
12745sed 's/^/| /' conftest.$ac_ext >&5
12746
12747 emacs_cv_xaw3d=no
8586fi 12748fi
8587rm -f core conftest.err conftest.$ac_objext \ 12749
8588 conftest$ac_exeext conftest.$ac_ext 12750rm -rf conftest.dSYM
12751rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12752 conftest$ac_exeext conftest.$ac_ext
8589fi 12753fi
8590 12754
8591 else 12755 else
8592 emacs_cv_xaw3d=no 12756 emacs_cv_xaw3d=no
8593 fi 12757 fi
8594 if test $emacs_cv_xaw3d = yes; then 12758 if test $emacs_cv_xaw3d = yes; then
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 12759 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
8596$as_echo "yes; using Lucid toolkit" >&6; } 12760$as_echo "yes; using Lucid toolkit" >&6; }
8597 USE_X_TOOLKIT=LUCID 12761 USE_X_TOOLKIT=LUCID
8598 HAVE_XAW3D=yes 12762 HAVE_XAW3D=yes
8599 12763
8600$as_echo "#define HAVE_XAW3D 1" >>confdefs.h 12764cat >>confdefs.h <<\_ACEOF
12765#define HAVE_XAW3D 1
12766_ACEOF
8601 12767
8602 else 12768 else
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12769 { $as_echo "$as_me:$LINENO: result: no" >&5
8604$as_echo "no" >&6; } 12770$as_echo "no" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 12771 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5
8606$as_echo_n "checking for libXaw... " >&6; } 12772$as_echo_n "checking for libXaw... " >&6; }
8607 if test "${emacs_cv_xaw+set}" = set; then : 12773 if test "${emacs_cv_xaw+set}" = set; then
8608 $as_echo_n "(cached) " >&6 12774 $as_echo_n "(cached) " >&6
8609else 12775else
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12776 cat >conftest.$ac_ext <<_ACEOF
12777/* confdefs.h. */
12778_ACEOF
12779cat confdefs.h >>conftest.$ac_ext
12780cat >>conftest.$ac_ext <<_ACEOF
8611/* end confdefs.h. */ 12781/* end confdefs.h. */
8612 12782
8613#include <X11/Intrinsic.h> 12783#include <X11/Intrinsic.h>
@@ -8620,23 +12790,50 @@ main ()
8620 return 0; 12790 return 0;
8621} 12791}
8622_ACEOF 12792_ACEOF
8623if ac_fn_c_try_link "$LINENO"; then : 12793rm -f conftest.$ac_objext conftest$ac_exeext
12794if { (ac_try="$ac_link"
12795case "(($ac_try" in
12796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12798esac
12799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12800$as_echo "$ac_try_echo") >&5
12801 (eval "$ac_link") 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } && {
12808 test -z "$ac_c_werror_flag" ||
12809 test ! -s conftest.err
12810 } && test -s conftest$ac_exeext && {
12811 test "$cross_compiling" = yes ||
12812 $as_test_x conftest$ac_exeext
12813 }; then
8624 emacs_cv_xaw=yes 12814 emacs_cv_xaw=yes
8625else 12815else
8626 emacs_cv_xaw=no 12816 $as_echo "$as_me: failed program was:" >&5
12817sed 's/^/| /' conftest.$ac_ext >&5
12818
12819 emacs_cv_xaw=no
8627fi 12820fi
8628rm -f core conftest.err conftest.$ac_objext \ 12821
8629 conftest$ac_exeext conftest.$ac_ext 12822rm -rf conftest.dSYM
12823rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12824 conftest$ac_exeext conftest.$ac_ext
8630fi 12825fi
8631 12826
8632 if test $emacs_cv_xaw = yes; then 12827 if test $emacs_cv_xaw = yes; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 12828 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
8634$as_echo "yes; using Lucid toolkit" >&6; } 12829$as_echo "yes; using Lucid toolkit" >&6; }
8635 USE_X_TOOLKIT=LUCID 12830 USE_X_TOOLKIT=LUCID
8636 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 12831 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
8637 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 12832 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
12833$as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
12834 { (exit 1); exit 1; }; }
8638 else 12835 else
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 12836 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
8640$as_echo "no; do not use toolkit by default" >&6; } 12837$as_echo "no; do not use toolkit by default" >&6; }
8641 USE_X_TOOLKIT=none 12838 USE_X_TOOLKIT=none
8642 fi 12839 fi
@@ -8646,12 +12843,16 @@ fi
8646X_TOOLKIT_TYPE=$USE_X_TOOLKIT 12843X_TOOLKIT_TYPE=$USE_X_TOOLKIT
8647 12844
8648if test "${USE_X_TOOLKIT}" != "none"; then 12845if test "${USE_X_TOOLKIT}" != "none"; then
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 12846 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5
8650$as_echo_n "checking X11 toolkit version... " >&6; } 12847$as_echo_n "checking X11 toolkit version... " >&6; }
8651 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 12848 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
8652 $as_echo_n "(cached) " >&6 12849 $as_echo_n "(cached) " >&6
8653else 12850else
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12851 cat >conftest.$ac_ext <<_ACEOF
12852/* confdefs.h. */
12853_ACEOF
12854cat confdefs.h >>conftest.$ac_ext
12855cat >>conftest.$ac_ext <<_ACEOF
8655/* end confdefs.h. */ 12856/* end confdefs.h. */
8656#include <X11/Intrinsic.h> 12857#include <X11/Intrinsic.h>
8657int 12858int
@@ -8665,24 +12866,51 @@ fail;
8665 return 0; 12866 return 0;
8666} 12867}
8667_ACEOF 12868_ACEOF
8668if ac_fn_c_try_link "$LINENO"; then : 12869rm -f conftest.$ac_objext conftest$ac_exeext
12870if { (ac_try="$ac_link"
12871case "(($ac_try" in
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12874esac
12875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12876$as_echo "$ac_try_echo") >&5
12877 (eval "$ac_link") 2>conftest.er1
12878 ac_status=$?
12879 grep -v '^ *+' conftest.er1 >conftest.err
12880 rm -f conftest.er1
12881 cat conftest.err >&5
12882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } && {
12884 test -z "$ac_c_werror_flag" ||
12885 test ! -s conftest.err
12886 } && test -s conftest$ac_exeext && {
12887 test "$cross_compiling" = yes ||
12888 $as_test_x conftest$ac_exeext
12889 }; then
8669 emacs_cv_x11_toolkit_version_6=yes 12890 emacs_cv_x11_toolkit_version_6=yes
8670else 12891else
8671 emacs_cv_x11_toolkit_version_6=no 12892 $as_echo "$as_me: failed program was:" >&5
12893sed 's/^/| /' conftest.$ac_ext >&5
12894
12895 emacs_cv_x11_toolkit_version_6=no
8672fi 12896fi
8673rm -f core conftest.err conftest.$ac_objext \ 12897
8674 conftest$ac_exeext conftest.$ac_ext 12898rm -rf conftest.dSYM
12899rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12900 conftest$ac_exeext conftest.$ac_ext
8675fi 12901fi
8676 12902
8677 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 12903 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
8678 if test $emacs_cv_x11_toolkit_version_6 = yes; then 12904 if test $emacs_cv_x11_toolkit_version_6 = yes; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 12905 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5
8680$as_echo "6 or newer" >&6; } 12906$as_echo "6 or newer" >&6; }
8681 12907
8682$as_echo "#define HAVE_X11XTR6 1" >>confdefs.h 12908cat >>confdefs.h <<\_ACEOF
12909#define HAVE_X11XTR6 1
12910_ACEOF
8683 12911
8684 else 12912 else
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 12913 { $as_echo "$as_me:$LINENO: result: before 6" >&5
8686$as_echo "before 6" >&6; } 12914$as_echo "before 6" >&6; }
8687 fi 12915 fi
8688 12916
@@ -8692,14 +12920,19 @@ $as_echo "before 6" >&6; }
8692 else 12920 else
8693 LIBS="-lXt $LIBS" 12921 LIBS="-lXt $LIBS"
8694 fi 12922 fi
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 12923
12924{ $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
8696$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 12925$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
8697if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 12926if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
8698 $as_echo_n "(cached) " >&6 12927 $as_echo_n "(cached) " >&6
8699else 12928else
8700 ac_check_lib_save_LIBS=$LIBS 12929 ac_check_lib_save_LIBS=$LIBS
8701LIBS="-lXmu $LIBS" 12930LIBS="-lXmu $LIBS"
8702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12931cat >conftest.$ac_ext <<_ACEOF
12932/* confdefs.h. */
12933_ACEOF
12934cat confdefs.h >>conftest.$ac_ext
12935cat >>conftest.$ac_ext <<_ACEOF
8703/* end confdefs.h. */ 12936/* end confdefs.h. */
8704 12937
8705/* Override any GCC internal prototype to avoid an error. 12938/* Override any GCC internal prototype to avoid an error.
@@ -8717,18 +12950,43 @@ return XmuConvertStandardSelection ();
8717 return 0; 12950 return 0;
8718} 12951}
8719_ACEOF 12952_ACEOF
8720if ac_fn_c_try_link "$LINENO"; then : 12953rm -f conftest.$ac_objext conftest$ac_exeext
12954if { (ac_try="$ac_link"
12955case "(($ac_try" in
12956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12957 *) ac_try_echo=$ac_try;;
12958esac
12959eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12960$as_echo "$ac_try_echo") >&5
12961 (eval "$ac_link") 2>conftest.er1
12962 ac_status=$?
12963 grep -v '^ *+' conftest.er1 >conftest.err
12964 rm -f conftest.er1
12965 cat conftest.err >&5
12966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); } && {
12968 test -z "$ac_c_werror_flag" ||
12969 test ! -s conftest.err
12970 } && test -s conftest$ac_exeext && {
12971 test "$cross_compiling" = yes ||
12972 $as_test_x conftest$ac_exeext
12973 }; then
8721 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 12974 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
8722else 12975else
8723 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 12976 $as_echo "$as_me: failed program was:" >&5
12977sed 's/^/| /' conftest.$ac_ext >&5
12978
12979 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
8724fi 12980fi
8725rm -f core conftest.err conftest.$ac_objext \ 12981
8726 conftest$ac_exeext conftest.$ac_ext 12982rm -rf conftest.dSYM
12983rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12984 conftest$ac_exeext conftest.$ac_ext
8727LIBS=$ac_check_lib_save_LIBS 12985LIBS=$ac_check_lib_save_LIBS
8728fi 12986fi
8729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 12987{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
8730$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 12988$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
8731if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 12989if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
8732 cat >>confdefs.h <<_ACEOF 12990 cat >>confdefs.h <<_ACEOF
8733#define HAVE_LIBXMU 1 12991#define HAVE_LIBXMU 1
8734_ACEOF 12992_ACEOF
@@ -8743,14 +13001,19 @@ fi
8743# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 13001# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
8744if test "${HAVE_X11}" = "yes"; then 13002if test "${HAVE_X11}" = "yes"; then
8745 if test "${USE_X_TOOLKIT}" != "none"; then 13003 if test "${USE_X_TOOLKIT}" != "none"; then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 13004
13005{ $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8747$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 13006$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8748if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 13007if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8749 $as_echo_n "(cached) " >&6 13008 $as_echo_n "(cached) " >&6
8750else 13009else
8751 ac_check_lib_save_LIBS=$LIBS 13010 ac_check_lib_save_LIBS=$LIBS
8752LIBS="-lXext $LIBS" 13011LIBS="-lXext $LIBS"
8753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13012cat >conftest.$ac_ext <<_ACEOF
13013/* confdefs.h. */
13014_ACEOF
13015cat confdefs.h >>conftest.$ac_ext
13016cat >>conftest.$ac_ext <<_ACEOF
8754/* end confdefs.h. */ 13017/* end confdefs.h. */
8755 13018
8756/* Override any GCC internal prototype to avoid an error. 13019/* Override any GCC internal prototype to avoid an error.
@@ -8768,18 +13031,43 @@ return XShapeQueryExtension ();
8768 return 0; 13031 return 0;
8769} 13032}
8770_ACEOF 13033_ACEOF
8771if ac_fn_c_try_link "$LINENO"; then : 13034rm -f conftest.$ac_objext conftest$ac_exeext
13035if { (ac_try="$ac_link"
13036case "(($ac_try" in
13037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13038 *) ac_try_echo=$ac_try;;
13039esac
13040eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13041$as_echo "$ac_try_echo") >&5
13042 (eval "$ac_link") 2>conftest.er1
13043 ac_status=$?
13044 grep -v '^ *+' conftest.er1 >conftest.err
13045 rm -f conftest.er1
13046 cat conftest.err >&5
13047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } && {
13049 test -z "$ac_c_werror_flag" ||
13050 test ! -s conftest.err
13051 } && test -s conftest$ac_exeext && {
13052 test "$cross_compiling" = yes ||
13053 $as_test_x conftest$ac_exeext
13054 }; then
8772 ac_cv_lib_Xext_XShapeQueryExtension=yes 13055 ac_cv_lib_Xext_XShapeQueryExtension=yes
8773else 13056else
8774 ac_cv_lib_Xext_XShapeQueryExtension=no 13057 $as_echo "$as_me: failed program was:" >&5
13058sed 's/^/| /' conftest.$ac_ext >&5
13059
13060 ac_cv_lib_Xext_XShapeQueryExtension=no
8775fi 13061fi
8776rm -f core conftest.err conftest.$ac_objext \ 13062
8777 conftest$ac_exeext conftest.$ac_ext 13063rm -rf conftest.dSYM
13064rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13065 conftest$ac_exeext conftest.$ac_ext
8778LIBS=$ac_check_lib_save_LIBS 13066LIBS=$ac_check_lib_save_LIBS
8779fi 13067fi
8780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 13068{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8781$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 13069$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8782if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 13070if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8783 cat >>confdefs.h <<_ACEOF 13071 cat >>confdefs.h <<_ACEOF
8784#define HAVE_LIBXEXT 1 13072#define HAVE_LIBXEXT 1
8785_ACEOF 13073_ACEOF
@@ -8792,12 +13080,16 @@ fi
8792fi 13080fi
8793 13081
8794if test "${USE_X_TOOLKIT}" = "MOTIF"; then 13082if test "${USE_X_TOOLKIT}" = "MOTIF"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 13083 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
8796$as_echo_n "checking for Motif version 2.1... " >&6; } 13084$as_echo_n "checking for Motif version 2.1... " >&6; }
8797if test "${emacs_cv_motif_version_2_1+set}" = set; then : 13085if test "${emacs_cv_motif_version_2_1+set}" = set; then
8798 $as_echo_n "(cached) " >&6 13086 $as_echo_n "(cached) " >&6
8799else 13087else
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13088 cat >conftest.$ac_ext <<_ACEOF
13089/* confdefs.h. */
13090_ACEOF
13091cat confdefs.h >>conftest.$ac_ext
13092cat >>conftest.$ac_ext <<_ACEOF
8801/* end confdefs.h. */ 13093/* end confdefs.h. */
8802#include <Xm/Xm.h> 13094#include <Xm/Xm.h>
8803int 13095int
@@ -8812,29 +13104,56 @@ Motif version prior to 2.1.
8812 return 0; 13104 return 0;
8813} 13105}
8814_ACEOF 13106_ACEOF
8815if ac_fn_c_try_compile "$LINENO"; then : 13107rm -f conftest.$ac_objext
13108if { (ac_try="$ac_compile"
13109case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 *) ac_try_echo=$ac_try;;
13112esac
13113eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13114$as_echo "$ac_try_echo") >&5
13115 (eval "$ac_compile") 2>conftest.er1
13116 ac_status=$?
13117 grep -v '^ *+' conftest.er1 >conftest.err
13118 rm -f conftest.er1
13119 cat conftest.err >&5
13120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } && {
13122 test -z "$ac_c_werror_flag" ||
13123 test ! -s conftest.err
13124 } && test -s conftest.$ac_objext; then
8816 emacs_cv_motif_version_2_1=yes 13125 emacs_cv_motif_version_2_1=yes
8817else 13126else
8818 emacs_cv_motif_version_2_1=no 13127 $as_echo "$as_me: failed program was:" >&5
13128sed 's/^/| /' conftest.$ac_ext >&5
13129
13130 emacs_cv_motif_version_2_1=no
8819fi 13131fi
13132
8820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8821fi 13134fi
8822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 13135{ $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
8823$as_echo "$emacs_cv_motif_version_2_1" >&6; } 13136$as_echo "$emacs_cv_motif_version_2_1" >&6; }
8824 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 13137 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
8825 if test $emacs_cv_motif_version_2_1 = yes; then 13138 if test $emacs_cv_motif_version_2_1 = yes; then
8826 HAVE_LIBXP=no 13139 HAVE_LIBXP=no
8827 13140
8828$as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h 13141cat >>confdefs.h <<\_ACEOF
13142#define HAVE_MOTIF_2_1 1
13143_ACEOF
8829 13144
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 13145 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
8831$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 13146$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
8832if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 13147if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
8833 $as_echo_n "(cached) " >&6 13148 $as_echo_n "(cached) " >&6
8834else 13149else
8835 ac_check_lib_save_LIBS=$LIBS 13150 ac_check_lib_save_LIBS=$LIBS
8836LIBS="-lXp $LIBS" 13151LIBS="-lXp $LIBS"
8837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13152cat >conftest.$ac_ext <<_ACEOF
13153/* confdefs.h. */
13154_ACEOF
13155cat confdefs.h >>conftest.$ac_ext
13156cat >>conftest.$ac_ext <<_ACEOF
8838/* end confdefs.h. */ 13157/* end confdefs.h. */
8839 13158
8840/* Override any GCC internal prototype to avoid an error. 13159/* Override any GCC internal prototype to avoid an error.
@@ -8852,30 +13171,57 @@ return XpCreateContext ();
8852 return 0; 13171 return 0;
8853} 13172}
8854_ACEOF 13173_ACEOF
8855if ac_fn_c_try_link "$LINENO"; then : 13174rm -f conftest.$ac_objext conftest$ac_exeext
13175if { (ac_try="$ac_link"
13176case "(($ac_try" in
13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 *) ac_try_echo=$ac_try;;
13179esac
13180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13181$as_echo "$ac_try_echo") >&5
13182 (eval "$ac_link") 2>conftest.er1
13183 ac_status=$?
13184 grep -v '^ *+' conftest.er1 >conftest.err
13185 rm -f conftest.er1
13186 cat conftest.err >&5
13187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } && {
13189 test -z "$ac_c_werror_flag" ||
13190 test ! -s conftest.err
13191 } && test -s conftest$ac_exeext && {
13192 test "$cross_compiling" = yes ||
13193 $as_test_x conftest$ac_exeext
13194 }; then
8856 ac_cv_lib_Xp_XpCreateContext=yes 13195 ac_cv_lib_Xp_XpCreateContext=yes
8857else 13196else
8858 ac_cv_lib_Xp_XpCreateContext=no 13197 $as_echo "$as_me: failed program was:" >&5
13198sed 's/^/| /' conftest.$ac_ext >&5
13199
13200 ac_cv_lib_Xp_XpCreateContext=no
8859fi 13201fi
8860rm -f core conftest.err conftest.$ac_objext \ 13202
8861 conftest$ac_exeext conftest.$ac_ext 13203rm -rf conftest.dSYM
13204rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13205 conftest$ac_exeext conftest.$ac_ext
8862LIBS=$ac_check_lib_save_LIBS 13206LIBS=$ac_check_lib_save_LIBS
8863fi 13207fi
8864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 13208{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
8865$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 13209$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
8866if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 13210if test $ac_cv_lib_Xp_XpCreateContext = yes; then
8867 HAVE_LIBXP=yes 13211 HAVE_LIBXP=yes
8868fi 13212fi
8869 13213
8870 if test ${HAVE_LIBXP} = yes; then 13214 if test ${HAVE_LIBXP} = yes; then
8871 13215
8872$as_echo "#define HAVE_LIBXP 1" >>confdefs.h 13216cat >>confdefs.h <<\_ACEOF
13217#define HAVE_LIBXP 1
13218_ACEOF
8873 13219
8874 fi 13220 fi
8875 else 13221 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 13222 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
8877$as_echo_n "checking for LessTif where some systems put it... " >&6; } 13223$as_echo_n "checking for LessTif where some systems put it... " >&6; }
8878if test "${emacs_cv_lesstif+set}" = set; then : 13224if test "${emacs_cv_lesstif+set}" = set; then
8879 $as_echo_n "(cached) " >&6 13225 $as_echo_n "(cached) " >&6
8880else 13226else
8881 # We put this in CFLAGS temporarily to precede other -I options 13227 # We put this in CFLAGS temporarily to precede other -I options
@@ -8885,7 +13231,11 @@ else
8885 OLD_CFLAGS=$CFLAGS 13231 OLD_CFLAGS=$CFLAGS
8886 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 13232 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
8887 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 13233 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13234 cat >conftest.$ac_ext <<_ACEOF
13235/* confdefs.h. */
13236_ACEOF
13237cat confdefs.h >>conftest.$ac_ext
13238cat >>conftest.$ac_ext <<_ACEOF
8889/* end confdefs.h. */ 13239/* end confdefs.h. */
8890#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 13240#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
8891int 13241int
@@ -8896,14 +13246,35 @@ int x = 5;
8896 return 0; 13246 return 0;
8897} 13247}
8898_ACEOF 13248_ACEOF
8899if ac_fn_c_try_compile "$LINENO"; then : 13249rm -f conftest.$ac_objext
13250if { (ac_try="$ac_compile"
13251case "(($ac_try" in
13252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13253 *) ac_try_echo=$ac_try;;
13254esac
13255eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13256$as_echo "$ac_try_echo") >&5
13257 (eval "$ac_compile") 2>conftest.er1
13258 ac_status=$?
13259 grep -v '^ *+' conftest.er1 >conftest.err
13260 rm -f conftest.er1
13261 cat conftest.err >&5
13262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } && {
13264 test -z "$ac_c_werror_flag" ||
13265 test ! -s conftest.err
13266 } && test -s conftest.$ac_objext; then
8900 emacs_cv_lesstif=yes 13267 emacs_cv_lesstif=yes
8901else 13268else
8902 emacs_cv_lesstif=no 13269 $as_echo "$as_me: failed program was:" >&5
13270sed 's/^/| /' conftest.$ac_ext >&5
13271
13272 emacs_cv_lesstif=no
8903fi 13273fi
13274
8904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8905fi 13276fi
8906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 13277{ $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
8907$as_echo "$emacs_cv_lesstif" >&6; } 13278$as_echo "$emacs_cv_lesstif" >&6; }
8908 if test $emacs_cv_lesstif = yes; then 13279 if test $emacs_cv_lesstif = yes; then
8909 # Make sure this -I option remains in CPPFLAGS after it is set 13280 # Make sure this -I option remains in CPPFLAGS after it is set
@@ -8921,31 +13292,44 @@ $as_echo "$emacs_cv_lesstif" >&6; }
8921fi 13292fi
8922 13293
8923 13294
13295
8924USE_TOOLKIT_SCROLL_BARS=no 13296USE_TOOLKIT_SCROLL_BARS=no
8925if test "${with_toolkit_scroll_bars}" != "no"; then 13297if test "${with_toolkit_scroll_bars}" != "no"; then
8926 if test "${USE_X_TOOLKIT}" != "none"; then 13298 if test "${USE_X_TOOLKIT}" != "none"; then
8927 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 13299 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
8928 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13300 cat >>confdefs.h <<\_ACEOF
13301#define USE_TOOLKIT_SCROLL_BARS 1
13302_ACEOF
8929 13303
8930 HAVE_XAW3D=no 13304 HAVE_XAW3D=no
8931 USE_TOOLKIT_SCROLL_BARS=yes 13305 USE_TOOLKIT_SCROLL_BARS=yes
8932 elif test "${HAVE_XAW3D}" = "yes"; then 13306 elif test "${HAVE_XAW3D}" = "yes"; then
8933 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13307 cat >>confdefs.h <<\_ACEOF
13308#define USE_TOOLKIT_SCROLL_BARS 1
13309_ACEOF
8934 13310
8935 USE_TOOLKIT_SCROLL_BARS=yes 13311 USE_TOOLKIT_SCROLL_BARS=yes
8936 fi 13312 fi
8937 elif test "${HAVE_GTK}" = "yes"; then 13313 elif test "${HAVE_GTK}" = "yes"; then
8938 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13314 cat >>confdefs.h <<\_ACEOF
13315#define USE_TOOLKIT_SCROLL_BARS 1
13316_ACEOF
8939 13317
8940 USE_TOOLKIT_SCROLL_BARS=yes 13318 USE_TOOLKIT_SCROLL_BARS=yes
8941 elif test "${HAVE_NS}" = "yes"; then 13319 elif test "${HAVE_NS}" = "yes"; then
8942 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13320 cat >>confdefs.h <<\_ACEOF
13321#define USE_TOOLKIT_SCROLL_BARS 1
13322_ACEOF
8943 13323
8944 USE_TOOLKIT_SCROLL_BARS=yes 13324 USE_TOOLKIT_SCROLL_BARS=yes
8945 fi 13325 fi
8946fi 13326fi
8947 13327
8948cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13328cat >conftest.$ac_ext <<_ACEOF
13329/* confdefs.h. */
13330_ACEOF
13331cat confdefs.h >>conftest.$ac_ext
13332cat >>conftest.$ac_ext <<_ACEOF
8949/* end confdefs.h. */ 13333/* end confdefs.h. */
8950 13334
8951 #include <X11/Xlib.h> 13335 #include <X11/Xlib.h>
@@ -8958,20 +13342,45 @@ XIMProc callback;
8958 return 0; 13342 return 0;
8959} 13343}
8960_ACEOF 13344_ACEOF
8961if ac_fn_c_try_compile "$LINENO"; then : 13345rm -f conftest.$ac_objext
13346if { (ac_try="$ac_compile"
13347case "(($ac_try" in
13348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13349 *) ac_try_echo=$ac_try;;
13350esac
13351eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13352$as_echo "$ac_try_echo") >&5
13353 (eval "$ac_compile") 2>conftest.er1
13354 ac_status=$?
13355 grep -v '^ *+' conftest.er1 >conftest.err
13356 rm -f conftest.er1
13357 cat conftest.err >&5
13358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); } && {
13360 test -z "$ac_c_werror_flag" ||
13361 test ! -s conftest.err
13362 } && test -s conftest.$ac_objext; then
8962 HAVE_XIM=yes 13363 HAVE_XIM=yes
8963 13364
8964$as_echo "#define HAVE_XIM 1" >>confdefs.h 13365cat >>confdefs.h <<\_ACEOF
13366#define HAVE_XIM 1
13367_ACEOF
8965 13368
8966else 13369else
8967 HAVE_XIM=no 13370 $as_echo "$as_me: failed program was:" >&5
13371sed 's/^/| /' conftest.$ac_ext >&5
13372
13373 HAVE_XIM=no
8968fi 13374fi
13375
8969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8970 13377
8971 13378
8972if test "${with_xim}" != "no"; then 13379if test "${with_xim}" != "no"; then
8973 13380
8974$as_echo "#define USE_XIM 1" >>confdefs.h 13381cat >>confdefs.h <<\_ACEOF
13382#define USE_XIM 1
13383_ACEOF
8975 13384
8976fi 13385fi
8977 13386
@@ -8981,7 +13390,11 @@ if test "${HAVE_XIM}" != "no"; then
8981 if test "$GCC" = yes; then 13390 if test "$GCC" = yes; then
8982 CFLAGS="$CFLAGS --pedantic-errors" 13391 CFLAGS="$CFLAGS --pedantic-errors"
8983 fi 13392 fi
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13393 cat >conftest.$ac_ext <<_ACEOF
13394/* confdefs.h. */
13395_ACEOF
13396cat confdefs.h >>conftest.$ac_ext
13397cat >>conftest.$ac_ext <<_ACEOF
8985/* end confdefs.h. */ 13398/* end confdefs.h. */
8986 13399
8987#include <X11/Xlib.h> 13400#include <X11/Xlib.h>
@@ -9007,15 +13420,43 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
9007 return 0; 13420 return 0;
9008} 13421}
9009_ACEOF 13422_ACEOF
9010if ac_fn_c_try_compile "$LINENO"; then : 13423rm -f conftest.$ac_objext
13424if { (ac_try="$ac_compile"
13425case "(($ac_try" in
13426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13428esac
13429eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13430$as_echo "$ac_try_echo") >&5
13431 (eval "$ac_compile") 2>conftest.er1
13432 ac_status=$?
13433 grep -v '^ *+' conftest.er1 >conftest.err
13434 rm -f conftest.er1
13435 cat conftest.err >&5
13436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } && {
13438 test -z "$ac_c_werror_flag" ||
13439 test ! -s conftest.err
13440 } && test -s conftest.$ac_objext; then
9011 emacs_cv_arg6_star=yes 13441 emacs_cv_arg6_star=yes
13442else
13443 $as_echo "$as_me: failed program was:" >&5
13444sed 's/^/| /' conftest.$ac_ext >&5
13445
13446
9012fi 13447fi
13448
9013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9014 if test "$emacs_cv_arg6_star" = yes; then 13450
9015 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h 13451 if test "$emacs_cv_arg6_star" = yes; then
13452 cat >>confdefs.h <<\_ACEOF
13453#define XRegisterIMInstantiateCallback_arg6 XPointer*
13454_ACEOF
9016 13455
9017 else 13456 else
9018 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h 13457 cat >>confdefs.h <<\_ACEOF
13458#define XRegisterIMInstantiateCallback_arg6 XPointer
13459_ACEOF
9019 13460
9020 fi 13461 fi
9021 CFLAGS=$late_CFLAGS 13462 CFLAGS=$late_CFLAGS
@@ -9032,9 +13473,9 @@ if test "${HAVE_X11}" = "yes"; then
9032 13473
9033 # Extract the first word of "pkg-config", so it can be a program name with args. 13474 # Extract the first word of "pkg-config", so it can be a program name with args.
9034set dummy pkg-config; ac_word=$2 13475set dummy pkg-config; ac_word=$2
9035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13476{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9036$as_echo_n "checking for $ac_word... " >&6; } 13477$as_echo_n "checking for $ac_word... " >&6; }
9037if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13478if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9038 $as_echo_n "(cached) " >&6 13479 $as_echo_n "(cached) " >&6
9039else 13480else
9040 case $PKG_CONFIG in 13481 case $PKG_CONFIG in
@@ -9047,14 +13488,14 @@ for as_dir in $PATH
9047do 13488do
9048 IFS=$as_save_IFS 13489 IFS=$as_save_IFS
9049 test -z "$as_dir" && as_dir=. 13490 test -z "$as_dir" && as_dir=.
9050 for ac_exec_ext in '' $ac_executable_extensions; do 13491 for ac_exec_ext in '' $ac_executable_extensions; do
9051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9052 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13493 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9054 break 2 13495 break 2
9055 fi 13496 fi
9056done 13497done
9057 done 13498done
9058IFS=$as_save_IFS 13499IFS=$as_save_IFS
9059 13500
9060 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 13501 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9063,10 +13504,10 @@ esac
9063fi 13504fi
9064PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13505PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9065if test -n "$PKG_CONFIG"; then 13506if test -n "$PKG_CONFIG"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13507 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9067$as_echo "$PKG_CONFIG" >&6; } 13508$as_echo "$PKG_CONFIG" >&6; }
9068else 13509else
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13510 { $as_echo "$as_me:$LINENO: result: no" >&5
9070$as_echo "no" >&6; } 13511$as_echo "no" >&6; }
9071fi 13512fi
9072 13513
@@ -9077,27 +13518,27 @@ fi
9077 else 13518 else
9078 PKG_CONFIG_MIN_VERSION=0.9.0 13519 PKG_CONFIG_MIN_VERSION=0.9.0
9079 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13520 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 13521 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5
9081$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } 13522$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; }
9082 13523
9083 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 13524 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13525 { $as_echo "$as_me:$LINENO: result: yes" >&5
9085$as_echo "yes" >&6; } 13526$as_echo "yes" >&6; }
9086 succeeded=yes 13527 succeeded=yes
9087 13528
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 13529 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5
9089$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } 13530$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; }
9090 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 13531 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 13532 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5
9092$as_echo "$FONTCONFIG_CFLAGS" >&6; } 13533$as_echo "$FONTCONFIG_CFLAGS" >&6; }
9093 13534
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 13535 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5
9095$as_echo_n "checking FONTCONFIG_LIBS... " >&6; } 13536$as_echo_n "checking FONTCONFIG_LIBS... " >&6; }
9096 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 13537 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 13538 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5
9098$as_echo "$FONTCONFIG_LIBS" >&6; } 13539$as_echo "$FONTCONFIG_LIBS" >&6; }
9099 else 13540 else
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13541 { $as_echo "$as_me:$LINENO: result: no" >&5
9101$as_echo "no" >&6; } 13542$as_echo "no" >&6; }
9102 FONTCONFIG_CFLAGS="" 13543 FONTCONFIG_CFLAGS=""
9103 FONTCONFIG_LIBS="" 13544 FONTCONFIG_LIBS=""
@@ -9134,9 +13575,9 @@ $as_echo "no" >&6; }
9134 13575
9135 # Extract the first word of "pkg-config", so it can be a program name with args. 13576 # Extract the first word of "pkg-config", so it can be a program name with args.
9136set dummy pkg-config; ac_word=$2 13577set dummy pkg-config; ac_word=$2
9137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13578{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9138$as_echo_n "checking for $ac_word... " >&6; } 13579$as_echo_n "checking for $ac_word... " >&6; }
9139if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13580if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9140 $as_echo_n "(cached) " >&6 13581 $as_echo_n "(cached) " >&6
9141else 13582else
9142 case $PKG_CONFIG in 13583 case $PKG_CONFIG in
@@ -9149,14 +13590,14 @@ for as_dir in $PATH
9149do 13590do
9150 IFS=$as_save_IFS 13591 IFS=$as_save_IFS
9151 test -z "$as_dir" && as_dir=. 13592 test -z "$as_dir" && as_dir=.
9152 for ac_exec_ext in '' $ac_executable_extensions; do 13593 for ac_exec_ext in '' $ac_executable_extensions; do
9153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9154 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13595 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9156 break 2 13597 break 2
9157 fi 13598 fi
9158done 13599done
9159 done 13600done
9160IFS=$as_save_IFS 13601IFS=$as_save_IFS
9161 13602
9162 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 13603 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9165,10 +13606,10 @@ esac
9165fi 13606fi
9166PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13607PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9167if test -n "$PKG_CONFIG"; then 13608if test -n "$PKG_CONFIG"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13609 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9169$as_echo "$PKG_CONFIG" >&6; } 13610$as_echo "$PKG_CONFIG" >&6; }
9170else 13611else
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13612 { $as_echo "$as_me:$LINENO: result: no" >&5
9172$as_echo "no" >&6; } 13613$as_echo "no" >&6; }
9173fi 13614fi
9174 13615
@@ -9179,27 +13620,27 @@ fi
9179 else 13620 else
9180 PKG_CONFIG_MIN_VERSION=0.9.0 13621 PKG_CONFIG_MIN_VERSION=0.9.0
9181 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13622 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 13623 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5
9183$as_echo_n "checking for xft >= 0.13.0... " >&6; } 13624$as_echo_n "checking for xft >= 0.13.0... " >&6; }
9184 13625
9185 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 13626 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13627 { $as_echo "$as_me:$LINENO: result: yes" >&5
9187$as_echo "yes" >&6; } 13628$as_echo "yes" >&6; }
9188 succeeded=yes 13629 succeeded=yes
9189 13630
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 13631 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5
9191$as_echo_n "checking XFT_CFLAGS... " >&6; } 13632$as_echo_n "checking XFT_CFLAGS... " >&6; }
9192 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 13633 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 13634 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5
9194$as_echo "$XFT_CFLAGS" >&6; } 13635$as_echo "$XFT_CFLAGS" >&6; }
9195 13636
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 13637 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5
9197$as_echo_n "checking XFT_LIBS... " >&6; } 13638$as_echo_n "checking XFT_LIBS... " >&6; }
9198 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 13639 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 13640 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5
9200$as_echo "$XFT_LIBS" >&6; } 13641$as_echo "$XFT_LIBS" >&6; }
9201 else 13642 else
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13643 { $as_echo "$as_me:$LINENO: result: no" >&5
9203$as_echo "no" >&6; } 13644$as_echo "no" >&6; }
9204 XFT_CFLAGS="" 13645 XFT_CFLAGS=""
9205 XFT_LIBS="" 13646 XFT_LIBS=""
@@ -9226,14 +13667,18 @@ $as_echo "no" >&6; }
9226 ## Because xftfont.c uses XRenderQueryExtension, we also 13667 ## Because xftfont.c uses XRenderQueryExtension, we also
9227 ## need to link to -lXrender. 13668 ## need to link to -lXrender.
9228 HAVE_XRENDER=no 13669 HAVE_XRENDER=no
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 13670 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
9230$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 13671$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
9231if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 13672if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
9232 $as_echo_n "(cached) " >&6 13673 $as_echo_n "(cached) " >&6
9233else 13674else
9234 ac_check_lib_save_LIBS=$LIBS 13675 ac_check_lib_save_LIBS=$LIBS
9235LIBS="-lXrender $LIBS" 13676LIBS="-lXrender $LIBS"
9236cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13677cat >conftest.$ac_ext <<_ACEOF
13678/* confdefs.h. */
13679_ACEOF
13680cat confdefs.h >>conftest.$ac_ext
13681cat >>conftest.$ac_ext <<_ACEOF
9237/* end confdefs.h. */ 13682/* end confdefs.h. */
9238 13683
9239/* Override any GCC internal prototype to avoid an error. 13684/* Override any GCC internal prototype to avoid an error.
@@ -9251,18 +13696,43 @@ return XRenderQueryExtension ();
9251 return 0; 13696 return 0;
9252} 13697}
9253_ACEOF 13698_ACEOF
9254if ac_fn_c_try_link "$LINENO"; then : 13699rm -f conftest.$ac_objext conftest$ac_exeext
13700if { (ac_try="$ac_link"
13701case "(($ac_try" in
13702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13703 *) ac_try_echo=$ac_try;;
13704esac
13705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13706$as_echo "$ac_try_echo") >&5
13707 (eval "$ac_link") 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } && {
13714 test -z "$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13716 } && test -s conftest$ac_exeext && {
13717 test "$cross_compiling" = yes ||
13718 $as_test_x conftest$ac_exeext
13719 }; then
9255 ac_cv_lib_Xrender_XRenderQueryExtension=yes 13720 ac_cv_lib_Xrender_XRenderQueryExtension=yes
9256else 13721else
9257 ac_cv_lib_Xrender_XRenderQueryExtension=no 13722 $as_echo "$as_me: failed program was:" >&5
13723sed 's/^/| /' conftest.$ac_ext >&5
13724
13725 ac_cv_lib_Xrender_XRenderQueryExtension=no
9258fi 13726fi
9259rm -f core conftest.err conftest.$ac_objext \ 13727
9260 conftest$ac_exeext conftest.$ac_ext 13728rm -rf conftest.dSYM
13729rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13730 conftest$ac_exeext conftest.$ac_ext
9261LIBS=$ac_check_lib_save_LIBS 13731LIBS=$ac_check_lib_save_LIBS
9262fi 13732fi
9263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 13733{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
9264$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 13734$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
9265if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 13735if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
9266 HAVE_XRENDER=yes 13736 HAVE_XRENDER=yes
9267fi 13737fi
9268 13738
@@ -9274,16 +13744,146 @@ fi
9274 CFLAGS="$CFLAGS $XFT_CFLAGS" 13744 CFLAGS="$CFLAGS $XFT_CFLAGS"
9275 XFT_LIBS="-lXrender $XFT_LIBS" 13745 XFT_LIBS="-lXrender $XFT_LIBS"
9276 LIBS="$XFT_LIBS $LIBS" 13746 LIBS="$XFT_LIBS $LIBS"
9277 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 13747 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
9278if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 13748 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 13749$as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
13750if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13751 $as_echo_n "(cached) " >&6
13752fi
13753{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13754$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13755else
13756 # Is the header compilable?
13757{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
13758$as_echo_n "checking X11/Xft/Xft.h usability... " >&6; }
13759cat >conftest.$ac_ext <<_ACEOF
13760/* confdefs.h. */
13761_ACEOF
13762cat confdefs.h >>conftest.$ac_ext
13763cat >>conftest.$ac_ext <<_ACEOF
13764/* end confdefs.h. */
13765$ac_includes_default
13766#include <X11/Xft/Xft.h>
13767_ACEOF
13768rm -f conftest.$ac_objext
13769if { (ac_try="$ac_compile"
13770case "(($ac_try" in
13771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13772 *) ac_try_echo=$ac_try;;
13773esac
13774eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13775$as_echo "$ac_try_echo") >&5
13776 (eval "$ac_compile") 2>conftest.er1
13777 ac_status=$?
13778 grep -v '^ *+' conftest.er1 >conftest.err
13779 rm -f conftest.er1
13780 cat conftest.err >&5
13781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } && {
13783 test -z "$ac_c_werror_flag" ||
13784 test ! -s conftest.err
13785 } && test -s conftest.$ac_objext; then
13786 ac_header_compiler=yes
13787else
13788 $as_echo "$as_me: failed program was:" >&5
13789sed 's/^/| /' conftest.$ac_ext >&5
13790
13791 ac_header_compiler=no
13792fi
13793
13794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13796$as_echo "$ac_header_compiler" >&6; }
13797
13798# Is the header present?
13799{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
13800$as_echo_n "checking X11/Xft/Xft.h presence... " >&6; }
13801cat >conftest.$ac_ext <<_ACEOF
13802/* confdefs.h. */
13803_ACEOF
13804cat confdefs.h >>conftest.$ac_ext
13805cat >>conftest.$ac_ext <<_ACEOF
13806/* end confdefs.h. */
13807#include <X11/Xft/Xft.h>
13808_ACEOF
13809if { (ac_try="$ac_cpp conftest.$ac_ext"
13810case "(($ac_try" in
13811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13812 *) ac_try_echo=$ac_try;;
13813esac
13814eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13815$as_echo "$ac_try_echo") >&5
13816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13817 ac_status=$?
13818 grep -v '^ *+' conftest.er1 >conftest.err
13819 rm -f conftest.er1
13820 cat conftest.err >&5
13821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); } >/dev/null && {
13823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13824 test ! -s conftest.err
13825 }; then
13826 ac_header_preproc=yes
13827else
13828 $as_echo "$as_me: failed program was:" >&5
13829sed 's/^/| /' conftest.$ac_ext >&5
13830
13831 ac_header_preproc=no
13832fi
13833
13834rm -f conftest.err conftest.$ac_ext
13835{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13836$as_echo "$ac_header_preproc" >&6; }
13837
13838# So? What about this header?
13839case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13840 yes:no: )
13841 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
13842$as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13843 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
13844$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
13845 ac_header_preproc=yes
13846 ;;
13847 no:yes:* )
13848 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
13849$as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
13850 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
13851$as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
13852 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
13853$as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
13854 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
13855$as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
13856 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
13857$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
13858 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
13859$as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
13860
13861 ;;
13862esac
13863{ $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13864$as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
13865if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13866 $as_echo_n "(cached) " >&6
13867else
13868 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
13869fi
13870{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13871$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13872
13873fi
13874if test $ac_cv_header_X11_Xft_Xft_h = yes; then
13875 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
9280$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 13876$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
9281if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 13877if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then
9282 $as_echo_n "(cached) " >&6 13878 $as_echo_n "(cached) " >&6
9283else 13879else
9284 ac_check_lib_save_LIBS=$LIBS 13880 ac_check_lib_save_LIBS=$LIBS
9285LIBS="-lXft $XFT_LIBS $LIBS" 13881LIBS="-lXft $XFT_LIBS $LIBS"
9286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13882cat >conftest.$ac_ext <<_ACEOF
13883/* confdefs.h. */
13884_ACEOF
13885cat confdefs.h >>conftest.$ac_ext
13886cat >>conftest.$ac_ext <<_ACEOF
9287/* end confdefs.h. */ 13887/* end confdefs.h. */
9288 13888
9289/* Override any GCC internal prototype to avoid an error. 13889/* Override any GCC internal prototype to avoid an error.
@@ -9301,18 +13901,43 @@ return XftFontOpen ();
9301 return 0; 13901 return 0;
9302} 13902}
9303_ACEOF 13903_ACEOF
9304if ac_fn_c_try_link "$LINENO"; then : 13904rm -f conftest.$ac_objext conftest$ac_exeext
13905if { (ac_try="$ac_link"
13906case "(($ac_try" in
13907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13908 *) ac_try_echo=$ac_try;;
13909esac
13910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13911$as_echo "$ac_try_echo") >&5
13912 (eval "$ac_link") 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest$ac_exeext && {
13922 test "$cross_compiling" = yes ||
13923 $as_test_x conftest$ac_exeext
13924 }; then
9305 ac_cv_lib_Xft_XftFontOpen=yes 13925 ac_cv_lib_Xft_XftFontOpen=yes
9306else 13926else
9307 ac_cv_lib_Xft_XftFontOpen=no 13927 $as_echo "$as_me: failed program was:" >&5
13928sed 's/^/| /' conftest.$ac_ext >&5
13929
13930 ac_cv_lib_Xft_XftFontOpen=no
9308fi 13931fi
9309rm -f core conftest.err conftest.$ac_objext \ 13932
9310 conftest$ac_exeext conftest.$ac_ext 13933rm -rf conftest.dSYM
13934rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13935 conftest$ac_exeext conftest.$ac_ext
9311LIBS=$ac_check_lib_save_LIBS 13936LIBS=$ac_check_lib_save_LIBS
9312fi 13937fi
9313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 13938{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5
9314$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 13939$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
9315if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 13940if test $ac_cv_lib_Xft_XftFontOpen = yes; then
9316 HAVE_XFT=yes 13941 HAVE_XFT=yes
9317fi 13942fi
9318 13943
@@ -9322,7 +13947,9 @@ fi
9322 13947
9323 if test "${HAVE_XFT}" = "yes"; then 13948 if test "${HAVE_XFT}" = "yes"; then
9324 13949
9325$as_echo "#define HAVE_XFT 1" >>confdefs.h 13950cat >>confdefs.h <<\_ACEOF
13951#define HAVE_XFT 1
13952_ACEOF
9326 13953
9327 13954
9328 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" 13955 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS"
@@ -9351,7 +13978,9 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h
9351 HAVE_LIBOTF=no 13978 HAVE_LIBOTF=no
9352 if test "${HAVE_FREETYPE}" = "yes"; then 13979 if test "${HAVE_FREETYPE}" = "yes"; then
9353 13980
9354$as_echo "#define HAVE_FREETYPE 1" >>confdefs.h 13981cat >>confdefs.h <<\_ACEOF
13982#define HAVE_FREETYPE 1
13983_ACEOF
9355 13984
9356 if test "${with_libotf}" != "no"; then 13985 if test "${with_libotf}" != "no"; then
9357 13986
@@ -9359,9 +13988,9 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
9359 13988
9360 # Extract the first word of "pkg-config", so it can be a program name with args. 13989 # Extract the first word of "pkg-config", so it can be a program name with args.
9361set dummy pkg-config; ac_word=$2 13990set dummy pkg-config; ac_word=$2
9362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13991{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9363$as_echo_n "checking for $ac_word... " >&6; } 13992$as_echo_n "checking for $ac_word... " >&6; }
9364if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13993if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9365 $as_echo_n "(cached) " >&6 13994 $as_echo_n "(cached) " >&6
9366else 13995else
9367 case $PKG_CONFIG in 13996 case $PKG_CONFIG in
@@ -9374,14 +14003,14 @@ for as_dir in $PATH
9374do 14003do
9375 IFS=$as_save_IFS 14004 IFS=$as_save_IFS
9376 test -z "$as_dir" && as_dir=. 14005 test -z "$as_dir" && as_dir=.
9377 for ac_exec_ext in '' $ac_executable_extensions; do 14006 for ac_exec_ext in '' $ac_executable_extensions; do
9378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9379 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14008 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14009 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9381 break 2 14010 break 2
9382 fi 14011 fi
9383done 14012done
9384 done 14013done
9385IFS=$as_save_IFS 14014IFS=$as_save_IFS
9386 14015
9387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 14016 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9390,10 +14019,10 @@ esac
9390fi 14019fi
9391PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14020PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9392if test -n "$PKG_CONFIG"; then 14021if test -n "$PKG_CONFIG"; then
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14022 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9394$as_echo "$PKG_CONFIG" >&6; } 14023$as_echo "$PKG_CONFIG" >&6; }
9395else 14024else
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14025 { $as_echo "$as_me:$LINENO: result: no" >&5
9397$as_echo "no" >&6; } 14026$as_echo "no" >&6; }
9398fi 14027fi
9399 14028
@@ -9404,27 +14033,27 @@ fi
9404 else 14033 else
9405 PKG_CONFIG_MIN_VERSION=0.9.0 14034 PKG_CONFIG_MIN_VERSION=0.9.0
9406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 14035 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 14036 { $as_echo "$as_me:$LINENO: checking for libotf" >&5
9408$as_echo_n "checking for libotf... " >&6; } 14037$as_echo_n "checking for libotf... " >&6; }
9409 14038
9410 if $PKG_CONFIG --exists "libotf" 2>&5; then 14039 if $PKG_CONFIG --exists "libotf" 2>&5; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14040 { $as_echo "$as_me:$LINENO: result: yes" >&5
9412$as_echo "yes" >&6; } 14041$as_echo "yes" >&6; }
9413 succeeded=yes 14042 succeeded=yes
9414 14043
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 14044 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5
9416$as_echo_n "checking LIBOTF_CFLAGS... " >&6; } 14045$as_echo_n "checking LIBOTF_CFLAGS... " >&6; }
9417 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` 14046 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 14047 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5
9419$as_echo "$LIBOTF_CFLAGS" >&6; } 14048$as_echo "$LIBOTF_CFLAGS" >&6; }
9420 14049
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 14050 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5
9422$as_echo_n "checking LIBOTF_LIBS... " >&6; } 14051$as_echo_n "checking LIBOTF_LIBS... " >&6; }
9423 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` 14052 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 14053 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5
9425$as_echo "$LIBOTF_LIBS" >&6; } 14054$as_echo "$LIBOTF_LIBS" >&6; }
9426 else 14055 else
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14056 { $as_echo "$as_me:$LINENO: result: no" >&5
9428$as_echo "no" >&6; } 14057$as_echo "no" >&6; }
9429 LIBOTF_CFLAGS="" 14058 LIBOTF_CFLAGS=""
9430 LIBOTF_LIBS="" 14059 LIBOTF_LIBS=""
@@ -9450,16 +14079,22 @@ $as_echo "no" >&6; }
9450 14079
9451 if test "$HAVE_LIBOTF" = "yes"; then 14080 if test "$HAVE_LIBOTF" = "yes"; then
9452 14081
9453$as_echo "#define HAVE_LIBOTF 1" >>confdefs.h 14082cat >>confdefs.h <<\_ACEOF
14083#define HAVE_LIBOTF 1
14084_ACEOF
9454 14085
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 14086 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5
9456$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 14087$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
9457if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 14088if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then
9458 $as_echo_n "(cached) " >&6 14089 $as_echo_n "(cached) " >&6
9459else 14090else
9460 ac_check_lib_save_LIBS=$LIBS 14091 ac_check_lib_save_LIBS=$LIBS
9461LIBS="-lotf $LIBS" 14092LIBS="-lotf $LIBS"
9462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14093cat >conftest.$ac_ext <<_ACEOF
14094/* confdefs.h. */
14095_ACEOF
14096cat confdefs.h >>conftest.$ac_ext
14097cat >>conftest.$ac_ext <<_ACEOF
9463/* end confdefs.h. */ 14098/* end confdefs.h. */
9464 14099
9465/* Override any GCC internal prototype to avoid an error. 14100/* Override any GCC internal prototype to avoid an error.
@@ -9477,18 +14112,43 @@ return OTF_get_variation_glyphs ();
9477 return 0; 14112 return 0;
9478} 14113}
9479_ACEOF 14114_ACEOF
9480if ac_fn_c_try_link "$LINENO"; then : 14115rm -f conftest.$ac_objext conftest$ac_exeext
14116if { (ac_try="$ac_link"
14117case "(($ac_try" in
14118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14119 *) ac_try_echo=$ac_try;;
14120esac
14121eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14122$as_echo "$ac_try_echo") >&5
14123 (eval "$ac_link") 2>conftest.er1
14124 ac_status=$?
14125 grep -v '^ *+' conftest.er1 >conftest.err
14126 rm -f conftest.er1
14127 cat conftest.err >&5
14128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); } && {
14130 test -z "$ac_c_werror_flag" ||
14131 test ! -s conftest.err
14132 } && test -s conftest$ac_exeext && {
14133 test "$cross_compiling" = yes ||
14134 $as_test_x conftest$ac_exeext
14135 }; then
9481 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 14136 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
9482else 14137else
9483 ac_cv_lib_otf_OTF_get_variation_glyphs=no 14138 $as_echo "$as_me: failed program was:" >&5
14139sed 's/^/| /' conftest.$ac_ext >&5
14140
14141 ac_cv_lib_otf_OTF_get_variation_glyphs=no
9484fi 14142fi
9485rm -f core conftest.err conftest.$ac_objext \ 14143
9486 conftest$ac_exeext conftest.$ac_ext 14144rm -rf conftest.dSYM
14145rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14146 conftest$ac_exeext conftest.$ac_ext
9487LIBS=$ac_check_lib_save_LIBS 14147LIBS=$ac_check_lib_save_LIBS
9488fi 14148fi
9489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 14149{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
9490$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 14150$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
9491if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 14151if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then
9492 HAVE_OTF_GET_VARIATION_GLYPHS=yes 14152 HAVE_OTF_GET_VARIATION_GLYPHS=yes
9493else 14153else
9494 HAVE_OTF_GET_VARIATION_GLYPHS=no 14154 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -9496,7 +14156,9 @@ fi
9496 14156
9497 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then 14157 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then
9498 14158
9499$as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h 14159cat >>confdefs.h <<\_ACEOF
14160#define HAVE_OTF_GET_VARIATION_GLYPHS 1
14161_ACEOF
9500 14162
9501 fi 14163 fi
9502 fi 14164 fi
@@ -9511,9 +14173,9 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
9511 14173
9512 # Extract the first word of "pkg-config", so it can be a program name with args. 14174 # Extract the first word of "pkg-config", so it can be a program name with args.
9513set dummy pkg-config; ac_word=$2 14175set dummy pkg-config; ac_word=$2
9514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14176{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9515$as_echo_n "checking for $ac_word... " >&6; } 14177$as_echo_n "checking for $ac_word... " >&6; }
9516if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 14178if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9517 $as_echo_n "(cached) " >&6 14179 $as_echo_n "(cached) " >&6
9518else 14180else
9519 case $PKG_CONFIG in 14181 case $PKG_CONFIG in
@@ -9526,14 +14188,14 @@ for as_dir in $PATH
9526do 14188do
9527 IFS=$as_save_IFS 14189 IFS=$as_save_IFS
9528 test -z "$as_dir" && as_dir=. 14190 test -z "$as_dir" && as_dir=.
9529 for ac_exec_ext in '' $ac_executable_extensions; do 14191 for ac_exec_ext in '' $ac_executable_extensions; do
9530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9531 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14193 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9533 break 2 14195 break 2
9534 fi 14196 fi
9535done 14197done
9536 done 14198done
9537IFS=$as_save_IFS 14199IFS=$as_save_IFS
9538 14200
9539 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 14201 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9542,10 +14204,10 @@ esac
9542fi 14204fi
9543PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14205PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9544if test -n "$PKG_CONFIG"; then 14206if test -n "$PKG_CONFIG"; then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14207 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9546$as_echo "$PKG_CONFIG" >&6; } 14208$as_echo "$PKG_CONFIG" >&6; }
9547else 14209else
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14210 { $as_echo "$as_me:$LINENO: result: no" >&5
9549$as_echo "no" >&6; } 14211$as_echo "no" >&6; }
9550fi 14212fi
9551 14213
@@ -9556,27 +14218,27 @@ fi
9556 else 14218 else
9557 PKG_CONFIG_MIN_VERSION=0.9.0 14219 PKG_CONFIG_MIN_VERSION=0.9.0
9558 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 14220 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 14221 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5
9560$as_echo_n "checking for m17n-flt... " >&6; } 14222$as_echo_n "checking for m17n-flt... " >&6; }
9561 14223
9562 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 14224 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14225 { $as_echo "$as_me:$LINENO: result: yes" >&5
9564$as_echo "yes" >&6; } 14226$as_echo "yes" >&6; }
9565 succeeded=yes 14227 succeeded=yes
9566 14228
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 14229 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5
9568$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } 14230$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; }
9569 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 14231 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 14232 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5
9571$as_echo "$M17N_FLT_CFLAGS" >&6; } 14233$as_echo "$M17N_FLT_CFLAGS" >&6; }
9572 14234
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 14235 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5
9574$as_echo_n "checking M17N_FLT_LIBS... " >&6; } 14236$as_echo_n "checking M17N_FLT_LIBS... " >&6; }
9575 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 14237 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 14238 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5
9577$as_echo "$M17N_FLT_LIBS" >&6; } 14239$as_echo "$M17N_FLT_LIBS" >&6; }
9578 else 14240 else
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14241 { $as_echo "$as_me:$LINENO: result: no" >&5
9580$as_echo "no" >&6; } 14242$as_echo "no" >&6; }
9581 M17N_FLT_CFLAGS="" 14243 M17N_FLT_CFLAGS=""
9582 M17N_FLT_LIBS="" 14244 M17N_FLT_LIBS=""
@@ -9602,7 +14264,9 @@ $as_echo "no" >&6; }
9602 14264
9603 if test "$HAVE_M17N_FLT" = "yes"; then 14265 if test "$HAVE_M17N_FLT" = "yes"; then
9604 14266
9605$as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h 14267cat >>confdefs.h <<\_ACEOF
14268#define HAVE_M17N_FLT 1
14269_ACEOF
9606 14270
9607 fi 14271 fi
9608 fi 14272 fi
@@ -9628,16 +14292,146 @@ fi
9628HAVE_XPM=no 14292HAVE_XPM=no
9629if test "${HAVE_X11}" = "yes"; then 14293if test "${HAVE_X11}" = "yes"; then
9630 if test "${with_xpm}" != "no"; then 14294 if test "${with_xpm}" != "no"; then
9631 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 14295 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
9632if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 14296 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 14297$as_echo_n "checking for X11/xpm.h... " >&6; }
14298if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14299 $as_echo_n "(cached) " >&6
14300fi
14301{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14302$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14303else
14304 # Is the header compilable?
14305{ $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
14306$as_echo_n "checking X11/xpm.h usability... " >&6; }
14307cat >conftest.$ac_ext <<_ACEOF
14308/* confdefs.h. */
14309_ACEOF
14310cat confdefs.h >>conftest.$ac_ext
14311cat >>conftest.$ac_ext <<_ACEOF
14312/* end confdefs.h. */
14313$ac_includes_default
14314#include <X11/xpm.h>
14315_ACEOF
14316rm -f conftest.$ac_objext
14317if { (ac_try="$ac_compile"
14318case "(($ac_try" in
14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14320 *) ac_try_echo=$ac_try;;
14321esac
14322eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14323$as_echo "$ac_try_echo") >&5
14324 (eval "$ac_compile") 2>conftest.er1
14325 ac_status=$?
14326 grep -v '^ *+' conftest.er1 >conftest.err
14327 rm -f conftest.er1
14328 cat conftest.err >&5
14329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } && {
14331 test -z "$ac_c_werror_flag" ||
14332 test ! -s conftest.err
14333 } && test -s conftest.$ac_objext; then
14334 ac_header_compiler=yes
14335else
14336 $as_echo "$as_me: failed program was:" >&5
14337sed 's/^/| /' conftest.$ac_ext >&5
14338
14339 ac_header_compiler=no
14340fi
14341
14342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14343{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14344$as_echo "$ac_header_compiler" >&6; }
14345
14346# Is the header present?
14347{ $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
14348$as_echo_n "checking X11/xpm.h presence... " >&6; }
14349cat >conftest.$ac_ext <<_ACEOF
14350/* confdefs.h. */
14351_ACEOF
14352cat confdefs.h >>conftest.$ac_ext
14353cat >>conftest.$ac_ext <<_ACEOF
14354/* end confdefs.h. */
14355#include <X11/xpm.h>
14356_ACEOF
14357if { (ac_try="$ac_cpp conftest.$ac_ext"
14358case "(($ac_try" in
14359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14360 *) ac_try_echo=$ac_try;;
14361esac
14362eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14363$as_echo "$ac_try_echo") >&5
14364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14365 ac_status=$?
14366 grep -v '^ *+' conftest.er1 >conftest.err
14367 rm -f conftest.er1
14368 cat conftest.err >&5
14369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } >/dev/null && {
14371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14372 test ! -s conftest.err
14373 }; then
14374 ac_header_preproc=yes
14375else
14376 $as_echo "$as_me: failed program was:" >&5
14377sed 's/^/| /' conftest.$ac_ext >&5
14378
14379 ac_header_preproc=no
14380fi
14381
14382rm -f conftest.err conftest.$ac_ext
14383{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14384$as_echo "$ac_header_preproc" >&6; }
14385
14386# So? What about this header?
14387case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14388 yes:no: )
14389 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
14390$as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14391 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
14392$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
14393 ac_header_preproc=yes
14394 ;;
14395 no:yes:* )
14396 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
14397$as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
14398 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
14399$as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
14400 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
14401$as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
14402 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
14403$as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
14404 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
14405$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
14406 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
14407$as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
14408
14409 ;;
14410esac
14411{ $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
14412$as_echo_n "checking for X11/xpm.h... " >&6; }
14413if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14414 $as_echo_n "(cached) " >&6
14415else
14416 ac_cv_header_X11_xpm_h=$ac_header_preproc
14417fi
14418{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14419$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14420
14421fi
14422if test $ac_cv_header_X11_xpm_h = yes; then
14423 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
9634$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 14424$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
9635if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 14425if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
9636 $as_echo_n "(cached) " >&6 14426 $as_echo_n "(cached) " >&6
9637else 14427else
9638 ac_check_lib_save_LIBS=$LIBS 14428 ac_check_lib_save_LIBS=$LIBS
9639LIBS="-lXpm -lX11 $LIBS" 14429LIBS="-lXpm -lX11 $LIBS"
9640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14430cat >conftest.$ac_ext <<_ACEOF
14431/* confdefs.h. */
14432_ACEOF
14433cat confdefs.h >>conftest.$ac_ext
14434cat >>conftest.$ac_ext <<_ACEOF
9641/* end confdefs.h. */ 14435/* end confdefs.h. */
9642 14436
9643/* Override any GCC internal prototype to avoid an error. 14437/* Override any GCC internal prototype to avoid an error.
@@ -9655,18 +14449,43 @@ return XpmReadFileToPixmap ();
9655 return 0; 14449 return 0;
9656} 14450}
9657_ACEOF 14451_ACEOF
9658if ac_fn_c_try_link "$LINENO"; then : 14452rm -f conftest.$ac_objext conftest$ac_exeext
14453if { (ac_try="$ac_link"
14454case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14457esac
14458eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14459$as_echo "$ac_try_echo") >&5
14460 (eval "$ac_link") 2>conftest.er1
14461 ac_status=$?
14462 grep -v '^ *+' conftest.er1 >conftest.err
14463 rm -f conftest.er1
14464 cat conftest.err >&5
14465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } && {
14467 test -z "$ac_c_werror_flag" ||
14468 test ! -s conftest.err
14469 } && test -s conftest$ac_exeext && {
14470 test "$cross_compiling" = yes ||
14471 $as_test_x conftest$ac_exeext
14472 }; then
9659 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 14473 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
9660else 14474else
9661 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 14475 $as_echo "$as_me: failed program was:" >&5
14476sed 's/^/| /' conftest.$ac_ext >&5
14477
14478 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
9662fi 14479fi
9663rm -f core conftest.err conftest.$ac_objext \ 14480
9664 conftest$ac_exeext conftest.$ac_ext 14481rm -rf conftest.dSYM
14482rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14483 conftest$ac_exeext conftest.$ac_ext
9665LIBS=$ac_check_lib_save_LIBS 14484LIBS=$ac_check_lib_save_LIBS
9666fi 14485fi
9667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 14486{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
9668$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 14487$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
9669if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 14488if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
9670 HAVE_XPM=yes 14489 HAVE_XPM=yes
9671fi 14490fi
9672 14491
@@ -9674,9 +14493,13 @@ fi
9674 14493
9675 14494
9676 if test "${HAVE_XPM}" = "yes"; then 14495 if test "${HAVE_XPM}" = "yes"; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 14496 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
9678$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } 14497$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; }
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14498 cat >conftest.$ac_ext <<_ACEOF
14499/* confdefs.h. */
14500_ACEOF
14501cat confdefs.h >>conftest.$ac_ext
14502cat >>conftest.$ac_ext <<_ACEOF
9680/* end confdefs.h. */ 14503/* end confdefs.h. */
9681#include "X11/xpm.h" 14504#include "X11/xpm.h"
9682#ifndef XpmReturnAllocPixels 14505#ifndef XpmReturnAllocPixels
@@ -9685,7 +14508,7 @@ no_return_alloc_pixels
9685 14508
9686_ACEOF 14509_ACEOF
9687if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14510if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9688 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : 14511 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then
9689 HAVE_XPM=no 14512 HAVE_XPM=no
9690else 14513else
9691 HAVE_XPM=yes 14514 HAVE_XPM=yes
@@ -9694,10 +14517,10 @@ rm -f conftest*
9694 14517
9695 14518
9696 if test "${HAVE_XPM}" = "yes"; then 14519 if test "${HAVE_XPM}" = "yes"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14520 { $as_echo "$as_me:$LINENO: result: yes" >&5
9698$as_echo "yes" >&6; } 14521$as_echo "yes" >&6; }
9699 else 14522 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14523 { $as_echo "$as_me:$LINENO: result: no" >&5
9701$as_echo "no" >&6; } 14524$as_echo "no" >&6; }
9702 fi 14525 fi
9703 fi 14526 fi
@@ -9705,7 +14528,9 @@ $as_echo "no" >&6; }
9705 14528
9706 if test "${HAVE_XPM}" = "yes"; then 14529 if test "${HAVE_XPM}" = "yes"; then
9707 14530
9708$as_echo "#define HAVE_XPM 1" >>confdefs.h 14531cat >>confdefs.h <<\_ACEOF
14532#define HAVE_XPM 1
14533_ACEOF
9709 14534
9710 fi 14535 fi
9711fi 14536fi
@@ -9714,16 +14539,146 @@ fi
9714HAVE_JPEG=no 14539HAVE_JPEG=no
9715if test "${HAVE_X11}" = "yes"; then 14540if test "${HAVE_X11}" = "yes"; then
9716 if test "${with_jpeg}" != "no"; then 14541 if test "${with_jpeg}" != "no"; then
9717 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 14542 if test "${ac_cv_header_jerror_h+set}" = set; then
9718if test "x$ac_cv_header_jerror_h" = x""yes; then : 14543 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 14544$as_echo_n "checking for jerror.h... " >&6; }
14545if test "${ac_cv_header_jerror_h+set}" = set; then
14546 $as_echo_n "(cached) " >&6
14547fi
14548{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14549$as_echo "$ac_cv_header_jerror_h" >&6; }
14550else
14551 # Is the header compilable?
14552{ $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5
14553$as_echo_n "checking jerror.h usability... " >&6; }
14554cat >conftest.$ac_ext <<_ACEOF
14555/* confdefs.h. */
14556_ACEOF
14557cat confdefs.h >>conftest.$ac_ext
14558cat >>conftest.$ac_ext <<_ACEOF
14559/* end confdefs.h. */
14560$ac_includes_default
14561#include <jerror.h>
14562_ACEOF
14563rm -f conftest.$ac_objext
14564if { (ac_try="$ac_compile"
14565case "(($ac_try" in
14566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14567 *) ac_try_echo=$ac_try;;
14568esac
14569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14570$as_echo "$ac_try_echo") >&5
14571 (eval "$ac_compile") 2>conftest.er1
14572 ac_status=$?
14573 grep -v '^ *+' conftest.er1 >conftest.err
14574 rm -f conftest.er1
14575 cat conftest.err >&5
14576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } && {
14578 test -z "$ac_c_werror_flag" ||
14579 test ! -s conftest.err
14580 } && test -s conftest.$ac_objext; then
14581 ac_header_compiler=yes
14582else
14583 $as_echo "$as_me: failed program was:" >&5
14584sed 's/^/| /' conftest.$ac_ext >&5
14585
14586 ac_header_compiler=no
14587fi
14588
14589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14590{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14591$as_echo "$ac_header_compiler" >&6; }
14592
14593# Is the header present?
14594{ $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5
14595$as_echo_n "checking jerror.h presence... " >&6; }
14596cat >conftest.$ac_ext <<_ACEOF
14597/* confdefs.h. */
14598_ACEOF
14599cat confdefs.h >>conftest.$ac_ext
14600cat >>conftest.$ac_ext <<_ACEOF
14601/* end confdefs.h. */
14602#include <jerror.h>
14603_ACEOF
14604if { (ac_try="$ac_cpp conftest.$ac_ext"
14605case "(($ac_try" in
14606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14607 *) ac_try_echo=$ac_try;;
14608esac
14609eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14610$as_echo "$ac_try_echo") >&5
14611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14612 ac_status=$?
14613 grep -v '^ *+' conftest.er1 >conftest.err
14614 rm -f conftest.er1
14615 cat conftest.err >&5
14616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } >/dev/null && {
14618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14619 test ! -s conftest.err
14620 }; then
14621 ac_header_preproc=yes
14622else
14623 $as_echo "$as_me: failed program was:" >&5
14624sed 's/^/| /' conftest.$ac_ext >&5
14625
14626 ac_header_preproc=no
14627fi
14628
14629rm -f conftest.err conftest.$ac_ext
14630{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14631$as_echo "$ac_header_preproc" >&6; }
14632
14633# So? What about this header?
14634case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14635 yes:no: )
14636 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
14637$as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14638 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
14639$as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
14640 ac_header_preproc=yes
14641 ;;
14642 no:yes:* )
14643 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
14644$as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
14645 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
14646$as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
14647 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
14648$as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
14649 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
14650$as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
14651 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
14652$as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
14653 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
14654$as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
14655
14656 ;;
14657esac
14658{ $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
14659$as_echo_n "checking for jerror.h... " >&6; }
14660if test "${ac_cv_header_jerror_h+set}" = set; then
14661 $as_echo_n "(cached) " >&6
14662else
14663 ac_cv_header_jerror_h=$ac_header_preproc
14664fi
14665{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14666$as_echo "$ac_cv_header_jerror_h" >&6; }
14667
14668fi
14669if test $ac_cv_header_jerror_h = yes; then
14670 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
9720$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 14671$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
9721if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 14672if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
9722 $as_echo_n "(cached) " >&6 14673 $as_echo_n "(cached) " >&6
9723else 14674else
9724 ac_check_lib_save_LIBS=$LIBS 14675 ac_check_lib_save_LIBS=$LIBS
9725LIBS="-ljpeg $LIBS" 14676LIBS="-ljpeg $LIBS"
9726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14677cat >conftest.$ac_ext <<_ACEOF
14678/* confdefs.h. */
14679_ACEOF
14680cat confdefs.h >>conftest.$ac_ext
14681cat >>conftest.$ac_ext <<_ACEOF
9727/* end confdefs.h. */ 14682/* end confdefs.h. */
9728 14683
9729/* Override any GCC internal prototype to avoid an error. 14684/* Override any GCC internal prototype to avoid an error.
@@ -9741,18 +14696,43 @@ return jpeg_destroy_compress ();
9741 return 0; 14696 return 0;
9742} 14697}
9743_ACEOF 14698_ACEOF
9744if ac_fn_c_try_link "$LINENO"; then : 14699rm -f conftest.$ac_objext conftest$ac_exeext
14700if { (ac_try="$ac_link"
14701case "(($ac_try" in
14702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14703 *) ac_try_echo=$ac_try;;
14704esac
14705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14706$as_echo "$ac_try_echo") >&5
14707 (eval "$ac_link") 2>conftest.er1
14708 ac_status=$?
14709 grep -v '^ *+' conftest.er1 >conftest.err
14710 rm -f conftest.er1
14711 cat conftest.err >&5
14712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } && {
14714 test -z "$ac_c_werror_flag" ||
14715 test ! -s conftest.err
14716 } && test -s conftest$ac_exeext && {
14717 test "$cross_compiling" = yes ||
14718 $as_test_x conftest$ac_exeext
14719 }; then
9745 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 14720 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
9746else 14721else
9747 ac_cv_lib_jpeg_jpeg_destroy_compress=no 14722 $as_echo "$as_me: failed program was:" >&5
14723sed 's/^/| /' conftest.$ac_ext >&5
14724
14725 ac_cv_lib_jpeg_jpeg_destroy_compress=no
9748fi 14726fi
9749rm -f core conftest.err conftest.$ac_objext \ 14727
9750 conftest$ac_exeext conftest.$ac_ext 14728rm -rf conftest.dSYM
14729rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14730 conftest$ac_exeext conftest.$ac_ext
9751LIBS=$ac_check_lib_save_LIBS 14731LIBS=$ac_check_lib_save_LIBS
9752fi 14732fi
9753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 14733{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
9754$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 14734$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
9755if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 14735if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
9756 HAVE_JPEG=yes 14736 HAVE_JPEG=yes
9757fi 14737fi
9758 14738
@@ -9761,21 +14741,30 @@ fi
9761 14741
9762 fi 14742 fi
9763 14743
9764 if test "${HAVE_JPEG}" = "yes"; then
9765 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
9766 14744
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14745 if test "${HAVE_JPEG}" = "yes"; then
14746 cat >>confdefs.h <<\_ACEOF
14747#define HAVE_JPEG 1
14748_ACEOF
14749
14750 cat >conftest.$ac_ext <<_ACEOF
14751/* confdefs.h. */
14752_ACEOF
14753cat confdefs.h >>conftest.$ac_ext
14754cat >>conftest.$ac_ext <<_ACEOF
9768/* end confdefs.h. */ 14755/* end confdefs.h. */
9769#include <jpeglib.h> 14756#include <jpeglib.h>
9770 version=JPEG_LIB_VERSION 14757 version=JPEG_LIB_VERSION
9771 14758
9772_ACEOF 14759_ACEOF
9773if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14760if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9774 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : 14761 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
9775 $as_echo "#define HAVE_JPEG 1" >>confdefs.h 14762 cat >>confdefs.h <<\_ACEOF
14763#define HAVE_JPEG 1
14764_ACEOF
9776 14765
9777else 14766else
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 14767 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
9779$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 14768$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
9780 HAVE_JPEG=no 14769 HAVE_JPEG=no
9781fi 14770fi
@@ -9790,12 +14779,144 @@ if test "${HAVE_X11}" = "yes"; then
9790 if test "${with_png}" != "no"; then 14779 if test "${with_png}" != "no"; then
9791 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h 14780 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
9792 # in /usr/include/libpng. 14781 # in /usr/include/libpng.
9793 for ac_header in png.h libpng/png.h 14782
9794do : 14783
9795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14784for ac_header in png.h libpng/png.h
9796ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 14785do
9797eval as_val=\$$as_ac_Header 14786as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9798 if test "x$as_val" = x""yes; then : 14787if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14788 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14789$as_echo_n "checking for $ac_header... " >&6; }
14790if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14791 $as_echo_n "(cached) " >&6
14792fi
14793ac_res=`eval 'as_val=${'$as_ac_Header'}
14794 $as_echo "$as_val"'`
14795 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14796$as_echo "$ac_res" >&6; }
14797else
14798 # Is the header compilable?
14799{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14800$as_echo_n "checking $ac_header usability... " >&6; }
14801cat >conftest.$ac_ext <<_ACEOF
14802/* confdefs.h. */
14803_ACEOF
14804cat confdefs.h >>conftest.$ac_ext
14805cat >>conftest.$ac_ext <<_ACEOF
14806/* end confdefs.h. */
14807$ac_includes_default
14808#include <$ac_header>
14809_ACEOF
14810rm -f conftest.$ac_objext
14811if { (ac_try="$ac_compile"
14812case "(($ac_try" in
14813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14814 *) ac_try_echo=$ac_try;;
14815esac
14816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14817$as_echo "$ac_try_echo") >&5
14818 (eval "$ac_compile") 2>conftest.er1
14819 ac_status=$?
14820 grep -v '^ *+' conftest.er1 >conftest.err
14821 rm -f conftest.er1
14822 cat conftest.err >&5
14823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } && {
14825 test -z "$ac_c_werror_flag" ||
14826 test ! -s conftest.err
14827 } && test -s conftest.$ac_objext; then
14828 ac_header_compiler=yes
14829else
14830 $as_echo "$as_me: failed program was:" >&5
14831sed 's/^/| /' conftest.$ac_ext >&5
14832
14833 ac_header_compiler=no
14834fi
14835
14836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14837{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14838$as_echo "$ac_header_compiler" >&6; }
14839
14840# Is the header present?
14841{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14842$as_echo_n "checking $ac_header presence... " >&6; }
14843cat >conftest.$ac_ext <<_ACEOF
14844/* confdefs.h. */
14845_ACEOF
14846cat confdefs.h >>conftest.$ac_ext
14847cat >>conftest.$ac_ext <<_ACEOF
14848/* end confdefs.h. */
14849#include <$ac_header>
14850_ACEOF
14851if { (ac_try="$ac_cpp conftest.$ac_ext"
14852case "(($ac_try" in
14853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14854 *) ac_try_echo=$ac_try;;
14855esac
14856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14857$as_echo "$ac_try_echo") >&5
14858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14859 ac_status=$?
14860 grep -v '^ *+' conftest.er1 >conftest.err
14861 rm -f conftest.er1
14862 cat conftest.err >&5
14863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } >/dev/null && {
14865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14866 test ! -s conftest.err
14867 }; then
14868 ac_header_preproc=yes
14869else
14870 $as_echo "$as_me: failed program was:" >&5
14871sed 's/^/| /' conftest.$ac_ext >&5
14872
14873 ac_header_preproc=no
14874fi
14875
14876rm -f conftest.err conftest.$ac_ext
14877{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14878$as_echo "$ac_header_preproc" >&6; }
14879
14880# So? What about this header?
14881case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14882 yes:no: )
14883 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14884$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14886$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14887 ac_header_preproc=yes
14888 ;;
14889 no:yes:* )
14890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14891$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14893$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14895$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14897$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14899$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14901$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14902
14903 ;;
14904esac
14905{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14906$as_echo_n "checking for $ac_header... " >&6; }
14907if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14908 $as_echo_n "(cached) " >&6
14909else
14910 eval "$as_ac_Header=\$ac_header_preproc"
14911fi
14912ac_res=`eval 'as_val=${'$as_ac_Header'}
14913 $as_echo "$as_val"'`
14914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14915$as_echo "$ac_res" >&6; }
14916
14917fi
14918if test `eval 'as_val=${'$as_ac_Header'}
14919 $as_echo "$as_val"'` = yes; then
9799 cat >>confdefs.h <<_ACEOF 14920 cat >>confdefs.h <<_ACEOF
9800#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14921#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9801_ACEOF 14922_ACEOF
@@ -9805,14 +14926,18 @@ fi
9805done 14926done
9806 14927
9807 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 14928 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 14929 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
9809$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 14930$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
9810if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 14931if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
9811 $as_echo_n "(cached) " >&6 14932 $as_echo_n "(cached) " >&6
9812else 14933else
9813 ac_check_lib_save_LIBS=$LIBS 14934 ac_check_lib_save_LIBS=$LIBS
9814LIBS="-lpng -lz -lm $LIBS" 14935LIBS="-lpng -lz -lm $LIBS"
9815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14936cat >conftest.$ac_ext <<_ACEOF
14937/* confdefs.h. */
14938_ACEOF
14939cat confdefs.h >>conftest.$ac_ext
14940cat >>conftest.$ac_ext <<_ACEOF
9816/* end confdefs.h. */ 14941/* end confdefs.h. */
9817 14942
9818/* Override any GCC internal prototype to avoid an error. 14943/* Override any GCC internal prototype to avoid an error.
@@ -9830,18 +14955,43 @@ return png_get_channels ();
9830 return 0; 14955 return 0;
9831} 14956}
9832_ACEOF 14957_ACEOF
9833if ac_fn_c_try_link "$LINENO"; then : 14958rm -f conftest.$ac_objext conftest$ac_exeext
14959if { (ac_try="$ac_link"
14960case "(($ac_try" in
14961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14962 *) ac_try_echo=$ac_try;;
14963esac
14964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14965$as_echo "$ac_try_echo") >&5
14966 (eval "$ac_link") 2>conftest.er1
14967 ac_status=$?
14968 grep -v '^ *+' conftest.er1 >conftest.err
14969 rm -f conftest.er1
14970 cat conftest.err >&5
14971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } && {
14973 test -z "$ac_c_werror_flag" ||
14974 test ! -s conftest.err
14975 } && test -s conftest$ac_exeext && {
14976 test "$cross_compiling" = yes ||
14977 $as_test_x conftest$ac_exeext
14978 }; then
9834 ac_cv_lib_png_png_get_channels=yes 14979 ac_cv_lib_png_png_get_channels=yes
9835else 14980else
9836 ac_cv_lib_png_png_get_channels=no 14981 $as_echo "$as_me: failed program was:" >&5
14982sed 's/^/| /' conftest.$ac_ext >&5
14983
14984 ac_cv_lib_png_png_get_channels=no
9837fi 14985fi
9838rm -f core conftest.err conftest.$ac_objext \ 14986
9839 conftest$ac_exeext conftest.$ac_ext 14987rm -rf conftest.dSYM
14988rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14989 conftest$ac_exeext conftest.$ac_ext
9840LIBS=$ac_check_lib_save_LIBS 14990LIBS=$ac_check_lib_save_LIBS
9841fi 14991fi
9842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 14992{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
9843$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 14993$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
9844if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 14994if test $ac_cv_lib_png_png_get_channels = yes; then
9845 HAVE_PNG=yes 14995 HAVE_PNG=yes
9846fi 14996fi
9847 14997
@@ -9850,7 +15000,9 @@ fi
9850 15000
9851 if test "${HAVE_PNG}" = "yes"; then 15001 if test "${HAVE_PNG}" = "yes"; then
9852 15002
9853$as_echo "#define HAVE_PNG 1" >>confdefs.h 15003cat >>confdefs.h <<\_ACEOF
15004#define HAVE_PNG 1
15005_ACEOF
9854 15006
9855 fi 15007 fi
9856fi 15008fi
@@ -9859,19 +15011,149 @@ fi
9859HAVE_TIFF=no 15011HAVE_TIFF=no
9860if test "${HAVE_X11}" = "yes"; then 15012if test "${HAVE_X11}" = "yes"; then
9861 if test "${with_tiff}" != "no"; then 15013 if test "${with_tiff}" != "no"; then
9862 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 15014 if test "${ac_cv_header_tiffio_h+set}" = set; then
9863if test "x$ac_cv_header_tiffio_h" = x""yes; then : 15015 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
15016$as_echo_n "checking for tiffio.h... " >&6; }
15017if test "${ac_cv_header_tiffio_h+set}" = set; then
15018 $as_echo_n "(cached) " >&6
15019fi
15020{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15021$as_echo "$ac_cv_header_tiffio_h" >&6; }
15022else
15023 # Is the header compilable?
15024{ $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5
15025$as_echo_n "checking tiffio.h usability... " >&6; }
15026cat >conftest.$ac_ext <<_ACEOF
15027/* confdefs.h. */
15028_ACEOF
15029cat confdefs.h >>conftest.$ac_ext
15030cat >>conftest.$ac_ext <<_ACEOF
15031/* end confdefs.h. */
15032$ac_includes_default
15033#include <tiffio.h>
15034_ACEOF
15035rm -f conftest.$ac_objext
15036if { (ac_try="$ac_compile"
15037case "(($ac_try" in
15038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15039 *) ac_try_echo=$ac_try;;
15040esac
15041eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15042$as_echo "$ac_try_echo") >&5
15043 (eval "$ac_compile") 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && {
15050 test -z "$ac_c_werror_flag" ||
15051 test ! -s conftest.err
15052 } && test -s conftest.$ac_objext; then
15053 ac_header_compiler=yes
15054else
15055 $as_echo "$as_me: failed program was:" >&5
15056sed 's/^/| /' conftest.$ac_ext >&5
15057
15058 ac_header_compiler=no
15059fi
15060
15061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15062{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15063$as_echo "$ac_header_compiler" >&6; }
15064
15065# Is the header present?
15066{ $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5
15067$as_echo_n "checking tiffio.h presence... " >&6; }
15068cat >conftest.$ac_ext <<_ACEOF
15069/* confdefs.h. */
15070_ACEOF
15071cat confdefs.h >>conftest.$ac_ext
15072cat >>conftest.$ac_ext <<_ACEOF
15073/* end confdefs.h. */
15074#include <tiffio.h>
15075_ACEOF
15076if { (ac_try="$ac_cpp conftest.$ac_ext"
15077case "(($ac_try" in
15078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15079 *) ac_try_echo=$ac_try;;
15080esac
15081eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15082$as_echo "$ac_try_echo") >&5
15083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15084 ac_status=$?
15085 grep -v '^ *+' conftest.er1 >conftest.err
15086 rm -f conftest.er1
15087 cat conftest.err >&5
15088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } >/dev/null && {
15090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15091 test ! -s conftest.err
15092 }; then
15093 ac_header_preproc=yes
15094else
15095 $as_echo "$as_me: failed program was:" >&5
15096sed 's/^/| /' conftest.$ac_ext >&5
15097
15098 ac_header_preproc=no
15099fi
15100
15101rm -f conftest.err conftest.$ac_ext
15102{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15103$as_echo "$ac_header_preproc" >&6; }
15104
15105# So? What about this header?
15106case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15107 yes:no: )
15108 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
15109$as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15110 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
15111$as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
15112 ac_header_preproc=yes
15113 ;;
15114 no:yes:* )
15115 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
15116$as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
15117 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
15118$as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
15119 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
15120$as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
15121 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
15122$as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
15123 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
15124$as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
15125 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
15126$as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
15127
15128 ;;
15129esac
15130{ $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
15131$as_echo_n "checking for tiffio.h... " >&6; }
15132if test "${ac_cv_header_tiffio_h+set}" = set; then
15133 $as_echo_n "(cached) " >&6
15134else
15135 ac_cv_header_tiffio_h=$ac_header_preproc
15136fi
15137{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15138$as_echo "$ac_cv_header_tiffio_h" >&6; }
15139
15140fi
15141if test $ac_cv_header_tiffio_h = yes; then
9864 tifflibs="-lz -lm" 15142 tifflibs="-lz -lm"
9865 # At least one tiff package requires the jpeg library. 15143 # At least one tiff package requires the jpeg library.
9866 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 15144 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 15145 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
9868$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 15146$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
9869if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 15147if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
9870 $as_echo_n "(cached) " >&6 15148 $as_echo_n "(cached) " >&6
9871else 15149else
9872 ac_check_lib_save_LIBS=$LIBS 15150 ac_check_lib_save_LIBS=$LIBS
9873LIBS="-ltiff $tifflibs $LIBS" 15151LIBS="-ltiff $tifflibs $LIBS"
9874cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15152cat >conftest.$ac_ext <<_ACEOF
15153/* confdefs.h. */
15154_ACEOF
15155cat confdefs.h >>conftest.$ac_ext
15156cat >>conftest.$ac_ext <<_ACEOF
9875/* end confdefs.h. */ 15157/* end confdefs.h. */
9876 15158
9877/* Override any GCC internal prototype to avoid an error. 15159/* Override any GCC internal prototype to avoid an error.
@@ -9889,18 +15171,43 @@ return TIFFGetVersion ();
9889 return 0; 15171 return 0;
9890} 15172}
9891_ACEOF 15173_ACEOF
9892if ac_fn_c_try_link "$LINENO"; then : 15174rm -f conftest.$ac_objext conftest$ac_exeext
15175if { (ac_try="$ac_link"
15176case "(($ac_try" in
15177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15178 *) ac_try_echo=$ac_try;;
15179esac
15180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15181$as_echo "$ac_try_echo") >&5
15182 (eval "$ac_link") 2>conftest.er1
15183 ac_status=$?
15184 grep -v '^ *+' conftest.er1 >conftest.err
15185 rm -f conftest.er1
15186 cat conftest.err >&5
15187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest$ac_exeext && {
15192 test "$cross_compiling" = yes ||
15193 $as_test_x conftest$ac_exeext
15194 }; then
9893 ac_cv_lib_tiff_TIFFGetVersion=yes 15195 ac_cv_lib_tiff_TIFFGetVersion=yes
9894else 15196else
9895 ac_cv_lib_tiff_TIFFGetVersion=no 15197 $as_echo "$as_me: failed program was:" >&5
15198sed 's/^/| /' conftest.$ac_ext >&5
15199
15200 ac_cv_lib_tiff_TIFFGetVersion=no
9896fi 15201fi
9897rm -f core conftest.err conftest.$ac_objext \ 15202
9898 conftest$ac_exeext conftest.$ac_ext 15203rm -rf conftest.dSYM
15204rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15205 conftest$ac_exeext conftest.$ac_ext
9899LIBS=$ac_check_lib_save_LIBS 15206LIBS=$ac_check_lib_save_LIBS
9900fi 15207fi
9901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 15208{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
9902$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 15209$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
9903if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 15210if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
9904 HAVE_TIFF=yes 15211 HAVE_TIFF=yes
9905fi 15212fi
9906 15213
@@ -9911,7 +15218,9 @@ fi
9911 15218
9912 if test "${HAVE_TIFF}" = "yes"; then 15219 if test "${HAVE_TIFF}" = "yes"; then
9913 15220
9914$as_echo "#define HAVE_TIFF 1" >>confdefs.h 15221cat >>confdefs.h <<\_ACEOF
15222#define HAVE_TIFF 1
15223_ACEOF
9915 15224
9916 fi 15225 fi
9917fi 15226fi
@@ -9919,18 +15228,148 @@ fi
9919### Use -lgif or -lungif if available, unless `--with-gif=no'. 15228### Use -lgif or -lungif if available, unless `--with-gif=no'.
9920HAVE_GIF=no 15229HAVE_GIF=no
9921if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 15230if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
9922 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 15231 if test "${ac_cv_header_gif_lib_h+set}" = set; then
9923if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 15232 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
15233$as_echo_n "checking for gif_lib.h... " >&6; }
15234if test "${ac_cv_header_gif_lib_h+set}" = set; then
15235 $as_echo_n "(cached) " >&6
15236fi
15237{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15238$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15239else
15240 # Is the header compilable?
15241{ $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
15242$as_echo_n "checking gif_lib.h 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 <gif_lib.h>
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 gif_lib.h presence" >&5
15284$as_echo_n "checking gif_lib.h 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 <gif_lib.h>
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: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15326$as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15327 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
15328$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
15329 ac_header_preproc=yes
15330 ;;
15331 no:yes:* )
15332 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
15333$as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
15334 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
15335$as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
15336 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
15337$as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
15338 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
15339$as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15340 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
15341$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
15342 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
15343$as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
15344
15345 ;;
15346esac
15347{ $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
15348$as_echo_n "checking for gif_lib.h... " >&6; }
15349if test "${ac_cv_header_gif_lib_h+set}" = set; then
15350 $as_echo_n "(cached) " >&6
15351else
15352 ac_cv_header_gif_lib_h=$ac_header_preproc
15353fi
15354{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15355$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15356
15357fi
15358if test $ac_cv_header_gif_lib_h = yes; then
9924 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 15359 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
9925# Earlier versions can crash Emacs. 15360# Earlier versions can crash Emacs.
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 15361 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
9927$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 15362$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
9928if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 15363if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
9929 $as_echo_n "(cached) " >&6 15364 $as_echo_n "(cached) " >&6
9930else 15365else
9931 ac_check_lib_save_LIBS=$LIBS 15366 ac_check_lib_save_LIBS=$LIBS
9932LIBS="-lgif $LIBS" 15367LIBS="-lgif $LIBS"
9933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15368cat >conftest.$ac_ext <<_ACEOF
15369/* confdefs.h. */
15370_ACEOF
15371cat confdefs.h >>conftest.$ac_ext
15372cat >>conftest.$ac_ext <<_ACEOF
9934/* end confdefs.h. */ 15373/* end confdefs.h. */
9935 15374
9936/* Override any GCC internal prototype to avoid an error. 15375/* Override any GCC internal prototype to avoid an error.
@@ -9948,18 +15387,43 @@ return EGifPutExtensionLast ();
9948 return 0; 15387 return 0;
9949} 15388}
9950_ACEOF 15389_ACEOF
9951if ac_fn_c_try_link "$LINENO"; then : 15390rm -f conftest.$ac_objext conftest$ac_exeext
15391if { (ac_try="$ac_link"
15392case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395esac
15396eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15397$as_echo "$ac_try_echo") >&5
15398 (eval "$ac_link") 2>conftest.er1
15399 ac_status=$?
15400 grep -v '^ *+' conftest.er1 >conftest.err
15401 rm -f conftest.er1
15402 cat conftest.err >&5
15403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } && {
15405 test -z "$ac_c_werror_flag" ||
15406 test ! -s conftest.err
15407 } && test -s conftest$ac_exeext && {
15408 test "$cross_compiling" = yes ||
15409 $as_test_x conftest$ac_exeext
15410 }; then
9952 ac_cv_lib_gif_EGifPutExtensionLast=yes 15411 ac_cv_lib_gif_EGifPutExtensionLast=yes
9953else 15412else
9954 ac_cv_lib_gif_EGifPutExtensionLast=no 15413 $as_echo "$as_me: failed program was:" >&5
15414sed 's/^/| /' conftest.$ac_ext >&5
15415
15416 ac_cv_lib_gif_EGifPutExtensionLast=no
9955fi 15417fi
9956rm -f core conftest.err conftest.$ac_objext \ 15418
9957 conftest$ac_exeext conftest.$ac_ext 15419rm -rf conftest.dSYM
15420rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15421 conftest$ac_exeext conftest.$ac_ext
9958LIBS=$ac_check_lib_save_LIBS 15422LIBS=$ac_check_lib_save_LIBS
9959fi 15423fi
9960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 15424{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
9961$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 15425$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
9962if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 15426if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
9963 HAVE_GIF=yes 15427 HAVE_GIF=yes
9964else 15428else
9965 try_libungif=yes 15429 try_libungif=yes
@@ -9975,14 +15439,18 @@ fi
9975 15439
9976# If gif_lib.h but no libgif, try libungif. 15440# If gif_lib.h but no libgif, try libungif.
9977 if test x"$try_libungif" = xyes; then 15441 if test x"$try_libungif" = xyes; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 15442 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
9979$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 15443$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
9980if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 15444if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
9981 $as_echo_n "(cached) " >&6 15445 $as_echo_n "(cached) " >&6
9982else 15446else
9983 ac_check_lib_save_LIBS=$LIBS 15447 ac_check_lib_save_LIBS=$LIBS
9984LIBS="-lungif $LIBS" 15448LIBS="-lungif $LIBS"
9985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15449cat >conftest.$ac_ext <<_ACEOF
15450/* confdefs.h. */
15451_ACEOF
15452cat confdefs.h >>conftest.$ac_ext
15453cat >>conftest.$ac_ext <<_ACEOF
9986/* end confdefs.h. */ 15454/* end confdefs.h. */
9987 15455
9988/* Override any GCC internal prototype to avoid an error. 15456/* Override any GCC internal prototype to avoid an error.
@@ -10000,25 +15468,52 @@ return EGifPutExtensionLast ();
10000 return 0; 15468 return 0;
10001} 15469}
10002_ACEOF 15470_ACEOF
10003if ac_fn_c_try_link "$LINENO"; then : 15471rm -f conftest.$ac_objext conftest$ac_exeext
15472if { (ac_try="$ac_link"
15473case "(($ac_try" in
15474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15475 *) ac_try_echo=$ac_try;;
15476esac
15477eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15478$as_echo "$ac_try_echo") >&5
15479 (eval "$ac_link") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest$ac_exeext && {
15489 test "$cross_compiling" = yes ||
15490 $as_test_x conftest$ac_exeext
15491 }; then
10004 ac_cv_lib_ungif_EGifPutExtensionLast=yes 15492 ac_cv_lib_ungif_EGifPutExtensionLast=yes
10005else 15493else
10006 ac_cv_lib_ungif_EGifPutExtensionLast=no 15494 $as_echo "$as_me: failed program was:" >&5
15495sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 ac_cv_lib_ungif_EGifPutExtensionLast=no
10007fi 15498fi
10008rm -f core conftest.err conftest.$ac_objext \ 15499
10009 conftest$ac_exeext conftest.$ac_ext 15500rm -rf conftest.dSYM
15501rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15502 conftest$ac_exeext conftest.$ac_ext
10010LIBS=$ac_check_lib_save_LIBS 15503LIBS=$ac_check_lib_save_LIBS
10011fi 15504fi
10012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 15505{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
10013$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 15506$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
10014if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 15507if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
10015 HAVE_GIF=yes 15508 HAVE_GIF=yes
10016fi 15509fi
10017 15510
10018 15511
10019 if test "$HAVE_GIF" = yes; then 15512 if test "$HAVE_GIF" = yes; then
10020 15513
10021$as_echo "#define LIBGIF -lungif" >>confdefs.h 15514cat >>confdefs.h <<\_ACEOF
15515#define LIBGIF -lungif
15516_ACEOF
10022 15517
10023 ac_gif_lib_name="-lungif" 15518 ac_gif_lib_name="-lungif"
10024 fi 15519 fi
@@ -10026,7 +15521,9 @@ $as_echo "#define LIBGIF -lungif" >>confdefs.h
10026 15521
10027 if test "${HAVE_GIF}" = "yes"; then 15522 if test "${HAVE_GIF}" = "yes"; then
10028 15523
10029$as_echo "#define HAVE_GIF 1" >>confdefs.h 15524cat >>confdefs.h <<\_ACEOF
15525#define HAVE_GIF 1
15526_ACEOF
10030 15527
10031 fi 15528 fi
10032fi 15529fi
@@ -10046,28 +15543,165 @@ if test "${HAVE_X11}" = "yes"; then
10046 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 15543 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
10047 15544
10048 if test "X${MISSING}" != X; then 15545 if test "X${MISSING}" != X; then
10049 as_fn_error "The following required libraries were not found: 15546 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found:
15547 $MISSING
15548Maybe some development libraries/packages are missing?
15549If you don't want to link with them give
15550 $WITH_NO
15551as options to configure" >&5
15552$as_echo "$as_me: error: The following required libraries were not found:
10050 $MISSING 15553 $MISSING
10051Maybe some development libraries/packages are missing? 15554Maybe some development libraries/packages are missing?
10052If you don't want to link with them give 15555If you don't want to link with them give
10053 $WITH_NO 15556 $WITH_NO
10054as options to configure" "$LINENO" 5 15557as options to configure" >&2;}
15558 { (exit 1); exit 1; }; }
10055 fi 15559 fi
10056fi 15560fi
10057 15561
10058### Use -lgpm if available, unless `--with-gpm=no'. 15562### Use -lgpm if available, unless `--with-gpm=no'.
10059HAVE_GPM=no 15563HAVE_GPM=no
10060if test "${with_gpm}" != "no"; then 15564if test "${with_gpm}" != "no"; then
10061 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 15565 if test "${ac_cv_header_gpm_h+set}" = set; then
10062if test "x$ac_cv_header_gpm_h" = x""yes; then : 15566 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 15567$as_echo_n "checking for gpm.h... " >&6; }
15568if test "${ac_cv_header_gpm_h+set}" = set; then
15569 $as_echo_n "(cached) " >&6
15570fi
15571{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15572$as_echo "$ac_cv_header_gpm_h" >&6; }
15573else
15574 # Is the header compilable?
15575{ $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5
15576$as_echo_n "checking gpm.h usability... " >&6; }
15577cat >conftest.$ac_ext <<_ACEOF
15578/* confdefs.h. */
15579_ACEOF
15580cat confdefs.h >>conftest.$ac_ext
15581cat >>conftest.$ac_ext <<_ACEOF
15582/* end confdefs.h. */
15583$ac_includes_default
15584#include <gpm.h>
15585_ACEOF
15586rm -f conftest.$ac_objext
15587if { (ac_try="$ac_compile"
15588case "(($ac_try" in
15589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15590 *) ac_try_echo=$ac_try;;
15591esac
15592eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15593$as_echo "$ac_try_echo") >&5
15594 (eval "$ac_compile") 2>conftest.er1
15595 ac_status=$?
15596 grep -v '^ *+' conftest.er1 >conftest.err
15597 rm -f conftest.er1
15598 cat conftest.err >&5
15599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } && {
15601 test -z "$ac_c_werror_flag" ||
15602 test ! -s conftest.err
15603 } && test -s conftest.$ac_objext; then
15604 ac_header_compiler=yes
15605else
15606 $as_echo "$as_me: failed program was:" >&5
15607sed 's/^/| /' conftest.$ac_ext >&5
15608
15609 ac_header_compiler=no
15610fi
15611
15612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15613{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15614$as_echo "$ac_header_compiler" >&6; }
15615
15616# Is the header present?
15617{ $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5
15618$as_echo_n "checking gpm.h presence... " >&6; }
15619cat >conftest.$ac_ext <<_ACEOF
15620/* confdefs.h. */
15621_ACEOF
15622cat confdefs.h >>conftest.$ac_ext
15623cat >>conftest.$ac_ext <<_ACEOF
15624/* end confdefs.h. */
15625#include <gpm.h>
15626_ACEOF
15627if { (ac_try="$ac_cpp conftest.$ac_ext"
15628case "(($ac_try" in
15629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15630 *) ac_try_echo=$ac_try;;
15631esac
15632eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15633$as_echo "$ac_try_echo") >&5
15634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15635 ac_status=$?
15636 grep -v '^ *+' conftest.er1 >conftest.err
15637 rm -f conftest.er1
15638 cat conftest.err >&5
15639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } >/dev/null && {
15641 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15642 test ! -s conftest.err
15643 }; then
15644 ac_header_preproc=yes
15645else
15646 $as_echo "$as_me: failed program was:" >&5
15647sed 's/^/| /' conftest.$ac_ext >&5
15648
15649 ac_header_preproc=no
15650fi
15651
15652rm -f conftest.err conftest.$ac_ext
15653{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15654$as_echo "$ac_header_preproc" >&6; }
15655
15656# So? What about this header?
15657case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15658 yes:no: )
15659 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
15660$as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15661 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
15662$as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
15663 ac_header_preproc=yes
15664 ;;
15665 no:yes:* )
15666 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
15667$as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
15668 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
15669$as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
15670 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
15671$as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
15672 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
15673$as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
15674 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
15675$as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
15676 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
15677$as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
15678
15679 ;;
15680esac
15681{ $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
15682$as_echo_n "checking for gpm.h... " >&6; }
15683if test "${ac_cv_header_gpm_h+set}" = set; then
15684 $as_echo_n "(cached) " >&6
15685else
15686 ac_cv_header_gpm_h=$ac_header_preproc
15687fi
15688{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15689$as_echo "$ac_cv_header_gpm_h" >&6; }
15690
15691fi
15692if test $ac_cv_header_gpm_h = yes; then
15693 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
10064$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 15694$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
10065if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 15695if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
10066 $as_echo_n "(cached) " >&6 15696 $as_echo_n "(cached) " >&6
10067else 15697else
10068 ac_check_lib_save_LIBS=$LIBS 15698 ac_check_lib_save_LIBS=$LIBS
10069LIBS="-lgpm $LIBS" 15699LIBS="-lgpm $LIBS"
10070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15700cat >conftest.$ac_ext <<_ACEOF
15701/* confdefs.h. */
15702_ACEOF
15703cat confdefs.h >>conftest.$ac_ext
15704cat >>conftest.$ac_ext <<_ACEOF
10071/* end confdefs.h. */ 15705/* end confdefs.h. */
10072 15706
10073/* Override any GCC internal prototype to avoid an error. 15707/* Override any GCC internal prototype to avoid an error.
@@ -10085,18 +15719,43 @@ return Gpm_Open ();
10085 return 0; 15719 return 0;
10086} 15720}
10087_ACEOF 15721_ACEOF
10088if ac_fn_c_try_link "$LINENO"; then : 15722rm -f conftest.$ac_objext conftest$ac_exeext
15723if { (ac_try="$ac_link"
15724case "(($ac_try" in
15725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15726 *) ac_try_echo=$ac_try;;
15727esac
15728eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15729$as_echo "$ac_try_echo") >&5
15730 (eval "$ac_link") 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } && {
15737 test -z "$ac_c_werror_flag" ||
15738 test ! -s conftest.err
15739 } && test -s conftest$ac_exeext && {
15740 test "$cross_compiling" = yes ||
15741 $as_test_x conftest$ac_exeext
15742 }; then
10089 ac_cv_lib_gpm_Gpm_Open=yes 15743 ac_cv_lib_gpm_Gpm_Open=yes
10090else 15744else
10091 ac_cv_lib_gpm_Gpm_Open=no 15745 $as_echo "$as_me: failed program was:" >&5
15746sed 's/^/| /' conftest.$ac_ext >&5
15747
15748 ac_cv_lib_gpm_Gpm_Open=no
10092fi 15749fi
10093rm -f core conftest.err conftest.$ac_objext \ 15750
10094 conftest$ac_exeext conftest.$ac_ext 15751rm -rf conftest.dSYM
15752rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15753 conftest$ac_exeext conftest.$ac_ext
10095LIBS=$ac_check_lib_save_LIBS 15754LIBS=$ac_check_lib_save_LIBS
10096fi 15755fi
10097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 15756{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
10098$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 15757$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
10099if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 15758if test $ac_cv_lib_gpm_Gpm_Open = yes; then
10100 HAVE_GPM=yes 15759 HAVE_GPM=yes
10101fi 15760fi
10102 15761
@@ -10107,14 +15766,144 @@ fi
10107 15766
10108if test "${HAVE_GPM}" = "yes"; then 15767if test "${HAVE_GPM}" = "yes"; then
10109 15768
10110$as_echo "#define HAVE_GPM 1" >>confdefs.h 15769cat >>confdefs.h <<\_ACEOF
15770#define HAVE_GPM 1
15771_ACEOF
10111 15772
10112fi 15773fi
10113 15774
10114ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 15775if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
10115if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 15776 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15777$as_echo_n "checking for malloc/malloc.h... " >&6; }
15778if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15779 $as_echo_n "(cached) " >&6
15780fi
15781{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15782$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
15783else
15784 # Is the header compilable?
15785{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
15786$as_echo_n "checking malloc/malloc.h usability... " >&6; }
15787cat >conftest.$ac_ext <<_ACEOF
15788/* confdefs.h. */
15789_ACEOF
15790cat confdefs.h >>conftest.$ac_ext
15791cat >>conftest.$ac_ext <<_ACEOF
15792/* end confdefs.h. */
15793$ac_includes_default
15794#include <malloc/malloc.h>
15795_ACEOF
15796rm -f conftest.$ac_objext
15797if { (ac_try="$ac_compile"
15798case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;;
15801esac
15802eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15803$as_echo "$ac_try_echo") >&5
15804 (eval "$ac_compile") 2>conftest.er1
15805 ac_status=$?
15806 grep -v '^ *+' conftest.er1 >conftest.err
15807 rm -f conftest.er1
15808 cat conftest.err >&5
15809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } && {
15811 test -z "$ac_c_werror_flag" ||
15812 test ! -s conftest.err
15813 } && test -s conftest.$ac_objext; then
15814 ac_header_compiler=yes
15815else
15816 $as_echo "$as_me: failed program was:" >&5
15817sed 's/^/| /' conftest.$ac_ext >&5
15818
15819 ac_header_compiler=no
15820fi
10116 15821
10117$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 15822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15823{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15824$as_echo "$ac_header_compiler" >&6; }
15825
15826# Is the header present?
15827{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
15828$as_echo_n "checking malloc/malloc.h presence... " >&6; }
15829cat >conftest.$ac_ext <<_ACEOF
15830/* confdefs.h. */
15831_ACEOF
15832cat confdefs.h >>conftest.$ac_ext
15833cat >>conftest.$ac_ext <<_ACEOF
15834/* end confdefs.h. */
15835#include <malloc/malloc.h>
15836_ACEOF
15837if { (ac_try="$ac_cpp conftest.$ac_ext"
15838case "(($ac_try" in
15839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15840 *) ac_try_echo=$ac_try;;
15841esac
15842eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15843$as_echo "$ac_try_echo") >&5
15844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15845 ac_status=$?
15846 grep -v '^ *+' conftest.er1 >conftest.err
15847 rm -f conftest.er1
15848 cat conftest.err >&5
15849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } >/dev/null && {
15851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 }; then
15854 ac_header_preproc=yes
15855else
15856 $as_echo "$as_me: failed program was:" >&5
15857sed 's/^/| /' conftest.$ac_ext >&5
15858
15859 ac_header_preproc=no
15860fi
15861
15862rm -f conftest.err conftest.$ac_ext
15863{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15864$as_echo "$ac_header_preproc" >&6; }
15865
15866# So? What about this header?
15867case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15868 yes:no: )
15869 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
15870$as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15871 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
15872$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
15873 ac_header_preproc=yes
15874 ;;
15875 no:yes:* )
15876 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
15877$as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
15878 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
15879$as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
15880 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
15881$as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
15882 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
15883$as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
15884 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
15885$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
15886 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
15887$as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
15888
15889 ;;
15890esac
15891{ $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15892$as_echo_n "checking for malloc/malloc.h... " >&6; }
15893if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15894 $as_echo_n "(cached) " >&6
15895else
15896 ac_cv_header_malloc_malloc_h=$ac_header_preproc
15897fi
15898{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15899$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
15900
15901fi
15902if test $ac_cv_header_malloc_malloc_h = yes; then
15903
15904cat >>confdefs.h <<\_ACEOF
15905#define HAVE_MALLOC_MALLOC_H 1
15906_ACEOF
10118 15907
10119fi 15908fi
10120 15909
@@ -10123,23 +15912,31 @@ fi
10123### Use NeXTstep API to implement GUI. 15912### Use NeXTstep API to implement GUI.
10124if test "${HAVE_NS}" = "yes"; then 15913if test "${HAVE_NS}" = "yes"; then
10125 15914
10126$as_echo "#define HAVE_NS 1" >>confdefs.h 15915cat >>confdefs.h <<\_ACEOF
15916#define HAVE_NS 1
15917_ACEOF
10127 15918
10128 if test "${NS_IMPL_COCOA}" = "yes"; then 15919 if test "${NS_IMPL_COCOA}" = "yes"; then
10129 15920
10130$as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h 15921cat >>confdefs.h <<\_ACEOF
15922#define NS_IMPL_COCOA 1
15923_ACEOF
10131 15924
10132 GNU_OBJC_CFLAGS= 15925 GNU_OBJC_CFLAGS=
10133 fi 15926 fi
10134 if test "${NS_IMPL_GNUSTEP}" = "yes"; then 15927 if test "${NS_IMPL_GNUSTEP}" = "yes"; then
10135 15928
10136$as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h 15929cat >>confdefs.h <<\_ACEOF
15930#define NS_IMPL_GNUSTEP 1
15931_ACEOF
10137 15932
10138 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" 15933 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE"
10139 fi 15934 fi
10140 if test "${NS_HAVE_NSINTEGER}" = "yes"; then 15935 if test "${NS_HAVE_NSINTEGER}" = "yes"; then
10141 15936
10142$as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h 15937cat >>confdefs.h <<\_ACEOF
15938#define NS_HAVE_NSINTEGER 1
15939_ACEOF
10143 15940
10144 fi 15941 fi
10145 # We also have mouse menus. 15942 # We also have mouse menus.
@@ -10151,16 +15948,146 @@ fi
10151### Use session management (-lSM -lICE) if available 15948### Use session management (-lSM -lICE) if available
10152HAVE_X_SM=no 15949HAVE_X_SM=no
10153if test "${HAVE_X11}" = "yes"; then 15950if test "${HAVE_X11}" = "yes"; then
10154 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 15951 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
10155if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 15952 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 15953$as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
15954if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15955 $as_echo_n "(cached) " >&6
15956fi
15957{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15958$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
15959else
15960 # Is the header compilable?
15961{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
15962$as_echo_n "checking X11/SM/SMlib.h usability... " >&6; }
15963cat >conftest.$ac_ext <<_ACEOF
15964/* confdefs.h. */
15965_ACEOF
15966cat confdefs.h >>conftest.$ac_ext
15967cat >>conftest.$ac_ext <<_ACEOF
15968/* end confdefs.h. */
15969$ac_includes_default
15970#include <X11/SM/SMlib.h>
15971_ACEOF
15972rm -f conftest.$ac_objext
15973if { (ac_try="$ac_compile"
15974case "(($ac_try" in
15975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15976 *) ac_try_echo=$ac_try;;
15977esac
15978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15979$as_echo "$ac_try_echo") >&5
15980 (eval "$ac_compile") 2>conftest.er1
15981 ac_status=$?
15982 grep -v '^ *+' conftest.er1 >conftest.err
15983 rm -f conftest.er1
15984 cat conftest.err >&5
15985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); } && {
15987 test -z "$ac_c_werror_flag" ||
15988 test ! -s conftest.err
15989 } && test -s conftest.$ac_objext; then
15990 ac_header_compiler=yes
15991else
15992 $as_echo "$as_me: failed program was:" >&5
15993sed 's/^/| /' conftest.$ac_ext >&5
15994
15995 ac_header_compiler=no
15996fi
15997
15998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15999{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16000$as_echo "$ac_header_compiler" >&6; }
16001
16002# Is the header present?
16003{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
16004$as_echo_n "checking X11/SM/SMlib.h presence... " >&6; }
16005cat >conftest.$ac_ext <<_ACEOF
16006/* confdefs.h. */
16007_ACEOF
16008cat confdefs.h >>conftest.$ac_ext
16009cat >>conftest.$ac_ext <<_ACEOF
16010/* end confdefs.h. */
16011#include <X11/SM/SMlib.h>
16012_ACEOF
16013if { (ac_try="$ac_cpp conftest.$ac_ext"
16014case "(($ac_try" in
16015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16016 *) ac_try_echo=$ac_try;;
16017esac
16018eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16019$as_echo "$ac_try_echo") >&5
16020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16021 ac_status=$?
16022 grep -v '^ *+' conftest.er1 >conftest.err
16023 rm -f conftest.er1
16024 cat conftest.err >&5
16025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } >/dev/null && {
16027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16028 test ! -s conftest.err
16029 }; then
16030 ac_header_preproc=yes
16031else
16032 $as_echo "$as_me: failed program was:" >&5
16033sed 's/^/| /' conftest.$ac_ext >&5
16034
16035 ac_header_preproc=no
16036fi
16037
16038rm -f conftest.err conftest.$ac_ext
16039{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16040$as_echo "$ac_header_preproc" >&6; }
16041
16042# So? What about this header?
16043case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16044 yes:no: )
16045 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16046$as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16047 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
16048$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
16049 ac_header_preproc=yes
16050 ;;
16051 no:yes:* )
16052 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
16053$as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
16054 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
16055$as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
16056 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
16057$as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
16058 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
16059$as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16060 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
16061$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
16062 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
16063$as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
16064
16065 ;;
16066esac
16067{ $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
16068$as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
16069if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16070 $as_echo_n "(cached) " >&6
16071else
16072 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
16073fi
16074{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16075$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16076
16077fi
16078if test $ac_cv_header_X11_SM_SMlib_h = yes; then
16079 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
10157$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 16080$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
10158if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 16081if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
10159 $as_echo_n "(cached) " >&6 16082 $as_echo_n "(cached) " >&6
10160else 16083else
10161 ac_check_lib_save_LIBS=$LIBS 16084 ac_check_lib_save_LIBS=$LIBS
10162LIBS="-lSM -lICE $LIBS" 16085LIBS="-lSM -lICE $LIBS"
10163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16086cat >conftest.$ac_ext <<_ACEOF
16087/* confdefs.h. */
16088_ACEOF
16089cat confdefs.h >>conftest.$ac_ext
16090cat >>conftest.$ac_ext <<_ACEOF
10164/* end confdefs.h. */ 16091/* end confdefs.h. */
10165 16092
10166/* Override any GCC internal prototype to avoid an error. 16093/* Override any GCC internal prototype to avoid an error.
@@ -10178,18 +16105,43 @@ return SmcOpenConnection ();
10178 return 0; 16105 return 0;
10179} 16106}
10180_ACEOF 16107_ACEOF
10181if ac_fn_c_try_link "$LINENO"; then : 16108rm -f conftest.$ac_objext conftest$ac_exeext
16109if { (ac_try="$ac_link"
16110case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113esac
16114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16115$as_echo "$ac_try_echo") >&5
16116 (eval "$ac_link") 2>conftest.er1
16117 ac_status=$?
16118 grep -v '^ *+' conftest.er1 >conftest.err
16119 rm -f conftest.er1
16120 cat conftest.err >&5
16121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } && {
16123 test -z "$ac_c_werror_flag" ||
16124 test ! -s conftest.err
16125 } && test -s conftest$ac_exeext && {
16126 test "$cross_compiling" = yes ||
16127 $as_test_x conftest$ac_exeext
16128 }; then
10182 ac_cv_lib_SM_SmcOpenConnection=yes 16129 ac_cv_lib_SM_SmcOpenConnection=yes
10183else 16130else
10184 ac_cv_lib_SM_SmcOpenConnection=no 16131 $as_echo "$as_me: failed program was:" >&5
16132sed 's/^/| /' conftest.$ac_ext >&5
16133
16134 ac_cv_lib_SM_SmcOpenConnection=no
10185fi 16135fi
10186rm -f core conftest.err conftest.$ac_objext \ 16136
10187 conftest$ac_exeext conftest.$ac_ext 16137rm -rf conftest.dSYM
16138rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16139 conftest$ac_exeext conftest.$ac_ext
10188LIBS=$ac_check_lib_save_LIBS 16140LIBS=$ac_check_lib_save_LIBS
10189fi 16141fi
10190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 16142{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
10191$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 16143$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
10192if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 16144if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
10193 HAVE_X_SM=yes 16145 HAVE_X_SM=yes
10194fi 16146fi
10195 16147
@@ -10199,7 +16151,9 @@ fi
10199 16151
10200 if test "${HAVE_X_SM}" = "yes"; then 16152 if test "${HAVE_X_SM}" = "yes"; then
10201 16153
10202$as_echo "#define HAVE_X_SM 1" >>confdefs.h 16154cat >>confdefs.h <<\_ACEOF
16155#define HAVE_X_SM 1
16156_ACEOF
10203 16157
10204 case "$LIBS" in 16158 case "$LIBS" in
10205 *-lSM*) ;; 16159 *-lSM*) ;;
@@ -10209,12 +16163,16 @@ $as_echo "#define HAVE_X_SM 1" >>confdefs.h
10209fi 16163fi
10210 16164
10211# If netdb.h doesn't declare h_errno, we must declare it by hand. 16165# If netdb.h doesn't declare h_errno, we must declare it by hand.
10212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 16166{ $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
10213$as_echo_n "checking whether netdb declares h_errno... " >&6; } 16167$as_echo_n "checking whether netdb declares h_errno... " >&6; }
10214if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 16168if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
10215 $as_echo_n "(cached) " >&6 16169 $as_echo_n "(cached) " >&6
10216else 16170else
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16171 cat >conftest.$ac_ext <<_ACEOF
16172/* confdefs.h. */
16173_ACEOF
16174cat confdefs.h >>conftest.$ac_ext
16175cat >>conftest.$ac_ext <<_ACEOF
10218/* end confdefs.h. */ 16176/* end confdefs.h. */
10219#include <netdb.h> 16177#include <netdb.h>
10220int 16178int
@@ -10225,30 +16183,61 @@ return h_errno;
10225 return 0; 16183 return 0;
10226} 16184}
10227_ACEOF 16185_ACEOF
10228if ac_fn_c_try_link "$LINENO"; then : 16186rm -f conftest.$ac_objext conftest$ac_exeext
16187if { (ac_try="$ac_link"
16188case "(($ac_try" in
16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16191esac
16192eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16193$as_echo "$ac_try_echo") >&5
16194 (eval "$ac_link") 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 } && test -s conftest$ac_exeext && {
16204 test "$cross_compiling" = yes ||
16205 $as_test_x conftest$ac_exeext
16206 }; then
10229 emacs_cv_netdb_declares_h_errno=yes 16207 emacs_cv_netdb_declares_h_errno=yes
10230else 16208else
10231 emacs_cv_netdb_declares_h_errno=no 16209 $as_echo "$as_me: failed program was:" >&5
16210sed 's/^/| /' conftest.$ac_ext >&5
16211
16212 emacs_cv_netdb_declares_h_errno=no
10232fi 16213fi
10233rm -f core conftest.err conftest.$ac_objext \ 16214
10234 conftest$ac_exeext conftest.$ac_ext 16215rm -rf conftest.dSYM
16216rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16217 conftest$ac_exeext conftest.$ac_ext
10235fi 16218fi
10236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 16219{ $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
10237$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } 16220$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; }
10238if test $emacs_cv_netdb_declares_h_errno = yes; then 16221if test $emacs_cv_netdb_declares_h_errno = yes; then
10239 16222
10240$as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h 16223cat >>confdefs.h <<\_ACEOF
16224#define HAVE_H_ERRNO 1
16225_ACEOF
10241 16226
10242fi 16227fi
10243 16228
10244# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 16229# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10245# for constant arguments. Useless! 16230# for constant arguments. Useless!
10246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 16231{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
10247$as_echo_n "checking for working alloca.h... " >&6; } 16232$as_echo_n "checking for working alloca.h... " >&6; }
10248if test "${ac_cv_working_alloca_h+set}" = set; then : 16233if test "${ac_cv_working_alloca_h+set}" = set; then
10249 $as_echo_n "(cached) " >&6 16234 $as_echo_n "(cached) " >&6
10250else 16235else
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16236 cat >conftest.$ac_ext <<_ACEOF
16237/* confdefs.h. */
16238_ACEOF
16239cat confdefs.h >>conftest.$ac_ext
16240cat >>conftest.$ac_ext <<_ACEOF
10252/* end confdefs.h. */ 16241/* end confdefs.h. */
10253#include <alloca.h> 16242#include <alloca.h>
10254int 16243int
@@ -10260,28 +16249,59 @@ char *p = (char *) alloca (2 * sizeof (int));
10260 return 0; 16249 return 0;
10261} 16250}
10262_ACEOF 16251_ACEOF
10263if ac_fn_c_try_link "$LINENO"; then : 16252rm -f conftest.$ac_objext conftest$ac_exeext
16253if { (ac_try="$ac_link"
16254case "(($ac_try" in
16255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16256 *) ac_try_echo=$ac_try;;
16257esac
16258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16259$as_echo "$ac_try_echo") >&5
16260 (eval "$ac_link") 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } && {
16267 test -z "$ac_c_werror_flag" ||
16268 test ! -s conftest.err
16269 } && test -s conftest$ac_exeext && {
16270 test "$cross_compiling" = yes ||
16271 $as_test_x conftest$ac_exeext
16272 }; then
10264 ac_cv_working_alloca_h=yes 16273 ac_cv_working_alloca_h=yes
10265else 16274else
10266 ac_cv_working_alloca_h=no 16275 $as_echo "$as_me: failed program was:" >&5
16276sed 's/^/| /' conftest.$ac_ext >&5
16277
16278 ac_cv_working_alloca_h=no
10267fi 16279fi
10268rm -f core conftest.err conftest.$ac_objext \ 16280
10269 conftest$ac_exeext conftest.$ac_ext 16281rm -rf conftest.dSYM
16282rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16283 conftest$ac_exeext conftest.$ac_ext
10270fi 16284fi
10271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 16285{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
10272$as_echo "$ac_cv_working_alloca_h" >&6; } 16286$as_echo "$ac_cv_working_alloca_h" >&6; }
10273if test $ac_cv_working_alloca_h = yes; then 16287if test $ac_cv_working_alloca_h = yes; then
10274 16288
10275$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 16289cat >>confdefs.h <<\_ACEOF
16290#define HAVE_ALLOCA_H 1
16291_ACEOF
10276 16292
10277fi 16293fi
10278 16294
10279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 16295{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
10280$as_echo_n "checking for alloca... " >&6; } 16296$as_echo_n "checking for alloca... " >&6; }
10281if test "${ac_cv_func_alloca_works+set}" = set; then : 16297if test "${ac_cv_func_alloca_works+set}" = set; then
10282 $as_echo_n "(cached) " >&6 16298 $as_echo_n "(cached) " >&6
10283else 16299else
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16300 cat >conftest.$ac_ext <<_ACEOF
16301/* confdefs.h. */
16302_ACEOF
16303cat confdefs.h >>conftest.$ac_ext
16304cat >>conftest.$ac_ext <<_ACEOF
10285/* end confdefs.h. */ 16305/* end confdefs.h. */
10286#ifdef __GNUC__ 16306#ifdef __GNUC__
10287# define alloca __builtin_alloca 16307# define alloca __builtin_alloca
@@ -10313,20 +16333,47 @@ char *p = (char *) alloca (1);
10313 return 0; 16333 return 0;
10314} 16334}
10315_ACEOF 16335_ACEOF
10316if ac_fn_c_try_link "$LINENO"; then : 16336rm -f conftest.$ac_objext conftest$ac_exeext
16337if { (ac_try="$ac_link"
16338case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16341esac
16342eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16343$as_echo "$ac_try_echo") >&5
16344 (eval "$ac_link") 2>conftest.er1
16345 ac_status=$?
16346 grep -v '^ *+' conftest.er1 >conftest.err
16347 rm -f conftest.er1
16348 cat conftest.err >&5
16349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } && {
16351 test -z "$ac_c_werror_flag" ||
16352 test ! -s conftest.err
16353 } && test -s conftest$ac_exeext && {
16354 test "$cross_compiling" = yes ||
16355 $as_test_x conftest$ac_exeext
16356 }; then
10317 ac_cv_func_alloca_works=yes 16357 ac_cv_func_alloca_works=yes
10318else 16358else
10319 ac_cv_func_alloca_works=no 16359 $as_echo "$as_me: failed program was:" >&5
16360sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 ac_cv_func_alloca_works=no
10320fi 16363fi
10321rm -f core conftest.err conftest.$ac_objext \ 16364
10322 conftest$ac_exeext conftest.$ac_ext 16365rm -rf conftest.dSYM
16366rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16367 conftest$ac_exeext conftest.$ac_ext
10323fi 16368fi
10324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 16369{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
10325$as_echo "$ac_cv_func_alloca_works" >&6; } 16370$as_echo "$ac_cv_func_alloca_works" >&6; }
10326 16371
10327if test $ac_cv_func_alloca_works = yes; then 16372if test $ac_cv_func_alloca_works = yes; then
10328 16373
10329$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 16374cat >>confdefs.h <<\_ACEOF
16375#define HAVE_ALLOCA 1
16376_ACEOF
10330 16377
10331else 16378else
10332 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 16379 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
@@ -10336,15 +16383,21 @@ else
10336 16383
10337ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 16384ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
10338 16385
10339$as_echo "#define C_ALLOCA 1" >>confdefs.h 16386cat >>confdefs.h <<\_ACEOF
16387#define C_ALLOCA 1
16388_ACEOF
10340 16389
10341 16390
10342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 16391{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
10343$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 16392$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
10344if test "${ac_cv_os_cray+set}" = set; then : 16393if test "${ac_cv_os_cray+set}" = set; then
10345 $as_echo_n "(cached) " >&6 16394 $as_echo_n "(cached) " >&6
10346else 16395else
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16396 cat >conftest.$ac_ext <<_ACEOF
16397/* confdefs.h. */
16398_ACEOF
16399cat confdefs.h >>conftest.$ac_ext
16400cat >>conftest.$ac_ext <<_ACEOF
10348/* end confdefs.h. */ 16401/* end confdefs.h. */
10349#if defined CRAY && ! defined CRAY2 16402#if defined CRAY && ! defined CRAY2
10350webecray 16403webecray
@@ -10354,7 +16407,7 @@ wenotbecray
10354 16407
10355_ACEOF 16408_ACEOF
10356if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 16409if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10357 $EGREP "webecray" >/dev/null 2>&1; then : 16410 $EGREP "webecray" >/dev/null 2>&1; then
10358 ac_cv_os_cray=yes 16411 ac_cv_os_cray=yes
10359else 16412else
10360 ac_cv_os_cray=no 16413 ac_cv_os_cray=no
@@ -10362,14 +16415,100 @@ fi
10362rm -f conftest* 16415rm -f conftest*
10363 16416
10364fi 16417fi
10365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 16418{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
10366$as_echo "$ac_cv_os_cray" >&6; } 16419$as_echo "$ac_cv_os_cray" >&6; }
10367if test $ac_cv_os_cray = yes; then 16420if test $ac_cv_os_cray = yes; then
10368 for ac_func in _getb67 GETB67 getb67; do 16421 for ac_func in _getb67 GETB67 getb67; do
10369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10370ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16423{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10371eval as_val=\$$as_ac_var 16424$as_echo_n "checking for $ac_func... " >&6; }
10372 if test "x$as_val" = x""yes; then : 16425if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16426 $as_echo_n "(cached) " >&6
16427else
16428 cat >conftest.$ac_ext <<_ACEOF
16429/* confdefs.h. */
16430_ACEOF
16431cat confdefs.h >>conftest.$ac_ext
16432cat >>conftest.$ac_ext <<_ACEOF
16433/* end confdefs.h. */
16434/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16436#define $ac_func innocuous_$ac_func
16437
16438/* System header to define __stub macros and hopefully few prototypes,
16439 which can conflict with char $ac_func (); below.
16440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16441 <limits.h> exists even on freestanding compilers. */
16442
16443#ifdef __STDC__
16444# include <limits.h>
16445#else
16446# include <assert.h>
16447#endif
16448
16449#undef $ac_func
16450
16451/* Override any GCC internal prototype to avoid an error.
16452 Use char because int might match the return type of a GCC
16453 builtin and then its argument prototype would still apply. */
16454#ifdef __cplusplus
16455extern "C"
16456#endif
16457char $ac_func ();
16458/* The GNU C library defines this for functions which it implements
16459 to always fail with ENOSYS. Some functions are actually named
16460 something starting with __ and the normal name is an alias. */
16461#if defined __stub_$ac_func || defined __stub___$ac_func
16462choke me
16463#endif
16464
16465int
16466main ()
16467{
16468return $ac_func ();
16469 ;
16470 return 0;
16471}
16472_ACEOF
16473rm -f conftest.$ac_objext conftest$ac_exeext
16474if { (ac_try="$ac_link"
16475case "(($ac_try" in
16476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16477 *) ac_try_echo=$ac_try;;
16478esac
16479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16480$as_echo "$ac_try_echo") >&5
16481 (eval "$ac_link") 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest$ac_exeext && {
16491 test "$cross_compiling" = yes ||
16492 $as_test_x conftest$ac_exeext
16493 }; then
16494 eval "$as_ac_var=yes"
16495else
16496 $as_echo "$as_me: failed program was:" >&5
16497sed 's/^/| /' conftest.$ac_ext >&5
16498
16499 eval "$as_ac_var=no"
16500fi
16501
16502rm -rf conftest.dSYM
16503rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16504 conftest$ac_exeext conftest.$ac_ext
16505fi
16506ac_res=`eval 'as_val=${'$as_ac_var'}
16507 $as_echo "$as_val"'`
16508 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16509$as_echo "$ac_res" >&6; }
16510if test `eval 'as_val=${'$as_ac_var'}
16511 $as_echo "$as_val"'` = yes; then
10373 16512
10374cat >>confdefs.h <<_ACEOF 16513cat >>confdefs.h <<_ACEOF
10375#define CRAY_STACKSEG_END $ac_func 16514#define CRAY_STACKSEG_END $ac_func
@@ -10381,15 +16520,19 @@ fi
10381 done 16520 done
10382fi 16521fi
10383 16522
10384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 16523{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
10385$as_echo_n "checking stack direction for C alloca... " >&6; } 16524$as_echo_n "checking stack direction for C alloca... " >&6; }
10386if test "${ac_cv_c_stack_direction+set}" = set; then : 16525if test "${ac_cv_c_stack_direction+set}" = set; then
10387 $as_echo_n "(cached) " >&6 16526 $as_echo_n "(cached) " >&6
10388else 16527else
10389 if test "$cross_compiling" = yes; then : 16528 if test "$cross_compiling" = yes; then
10390 ac_cv_c_stack_direction=0 16529 ac_cv_c_stack_direction=0
10391else 16530else
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16531 cat >conftest.$ac_ext <<_ACEOF
16532/* confdefs.h. */
16533_ACEOF
16534cat confdefs.h >>conftest.$ac_ext
16535cat >>conftest.$ac_ext <<_ACEOF
10393/* end confdefs.h. */ 16536/* end confdefs.h. */
10394$ac_includes_default 16537$ac_includes_default
10395int 16538int
@@ -10412,18 +16555,46 @@ main ()
10412 return find_stack_direction () < 0; 16555 return find_stack_direction () < 0;
10413} 16556}
10414_ACEOF 16557_ACEOF
10415if ac_fn_c_try_run "$LINENO"; then : 16558rm -f conftest$ac_exeext
16559if { (ac_try="$ac_link"
16560case "(($ac_try" in
16561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16562 *) ac_try_echo=$ac_try;;
16563esac
16564eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16565$as_echo "$ac_try_echo") >&5
16566 (eval "$ac_link") 2>&5
16567 ac_status=$?
16568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16570 { (case "(($ac_try" in
16571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16572 *) ac_try_echo=$ac_try;;
16573esac
16574eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16575$as_echo "$ac_try_echo") >&5
16576 (eval "$ac_try") 2>&5
16577 ac_status=$?
16578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; }; then
10416 ac_cv_c_stack_direction=1 16580 ac_cv_c_stack_direction=1
10417else 16581else
10418 ac_cv_c_stack_direction=-1 16582 $as_echo "$as_me: program exited with status $ac_status" >&5
16583$as_echo "$as_me: failed program was:" >&5
16584sed 's/^/| /' conftest.$ac_ext >&5
16585
16586( exit $ac_status )
16587ac_cv_c_stack_direction=-1
10419fi 16588fi
10420rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16589rm -rf conftest.dSYM
10421 conftest.$ac_objext conftest.beam conftest.$ac_ext 16590rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10422fi 16591fi
10423 16592
16593
10424fi 16594fi
10425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 16595{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
10426$as_echo "$ac_cv_c_stack_direction" >&6; } 16596$as_echo "$ac_cv_c_stack_direction" >&6; }
16597
10427cat >>confdefs.h <<_ACEOF 16598cat >>confdefs.h <<_ACEOF
10428#define STACK_DIRECTION $ac_cv_c_stack_direction 16599#define STACK_DIRECTION $ac_cv_c_stack_direction
10429_ACEOF 16600_ACEOF
@@ -10433,19 +16604,26 @@ fi
10433 16604
10434 16605
10435if test x"$ac_cv_func_alloca_works" != xyes; then 16606if test x"$ac_cv_func_alloca_works" != xyes; then
10436 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 16607 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5
16608$as_echo "$as_me: error: a system implementation of alloca is required " >&2;}
16609 { (exit 1); exit 1; }; }
10437fi 16610fi
10438 16611
10439# fmod, logb, and frexp are found in -lm on most systems. 16612# fmod, logb, and frexp are found in -lm on most systems.
10440# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 16613# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
10441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 16614
16615{ $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
10442$as_echo_n "checking for sqrt in -lm... " >&6; } 16616$as_echo_n "checking for sqrt in -lm... " >&6; }
10443if test "${ac_cv_lib_m_sqrt+set}" = set; then : 16617if test "${ac_cv_lib_m_sqrt+set}" = set; then
10444 $as_echo_n "(cached) " >&6 16618 $as_echo_n "(cached) " >&6
10445else 16619else
10446 ac_check_lib_save_LIBS=$LIBS 16620 ac_check_lib_save_LIBS=$LIBS
10447LIBS="-lm $LIBS" 16621LIBS="-lm $LIBS"
10448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16622cat >conftest.$ac_ext <<_ACEOF
16623/* confdefs.h. */
16624_ACEOF
16625cat confdefs.h >>conftest.$ac_ext
16626cat >>conftest.$ac_ext <<_ACEOF
10449/* end confdefs.h. */ 16627/* end confdefs.h. */
10450 16628
10451/* Override any GCC internal prototype to avoid an error. 16629/* Override any GCC internal prototype to avoid an error.
@@ -10463,18 +16641,43 @@ return sqrt ();
10463 return 0; 16641 return 0;
10464} 16642}
10465_ACEOF 16643_ACEOF
10466if ac_fn_c_try_link "$LINENO"; then : 16644rm -f conftest.$ac_objext conftest$ac_exeext
16645if { (ac_try="$ac_link"
16646case "(($ac_try" in
16647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16648 *) ac_try_echo=$ac_try;;
16649esac
16650eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16651$as_echo "$ac_try_echo") >&5
16652 (eval "$ac_link") 2>conftest.er1
16653 ac_status=$?
16654 grep -v '^ *+' conftest.er1 >conftest.err
16655 rm -f conftest.er1
16656 cat conftest.err >&5
16657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest$ac_exeext && {
16662 test "$cross_compiling" = yes ||
16663 $as_test_x conftest$ac_exeext
16664 }; then
10467 ac_cv_lib_m_sqrt=yes 16665 ac_cv_lib_m_sqrt=yes
10468else 16666else
10469 ac_cv_lib_m_sqrt=no 16667 $as_echo "$as_me: failed program was:" >&5
16668sed 's/^/| /' conftest.$ac_ext >&5
16669
16670 ac_cv_lib_m_sqrt=no
10470fi 16671fi
10471rm -f core conftest.err conftest.$ac_objext \ 16672
10472 conftest$ac_exeext conftest.$ac_ext 16673rm -rf conftest.dSYM
16674rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16675 conftest$ac_exeext conftest.$ac_ext
10473LIBS=$ac_check_lib_save_LIBS 16676LIBS=$ac_check_lib_save_LIBS
10474fi 16677fi
10475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 16678{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
10476$as_echo "$ac_cv_lib_m_sqrt" >&6; } 16679$as_echo "$ac_cv_lib_m_sqrt" >&6; }
10477if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 16680if test $ac_cv_lib_m_sqrt = yes; then
10478 cat >>confdefs.h <<_ACEOF 16681 cat >>confdefs.h <<_ACEOF
10479#define HAVE_LIBM 1 16682#define HAVE_LIBM 1
10480_ACEOF 16683_ACEOF
@@ -10486,14 +16689,19 @@ fi
10486 16689
10487# Check for mail-locking functions in a "mail" library. Probably this should 16690# Check for mail-locking functions in a "mail" library. Probably this should
10488# have the same check as for liblockfile below. 16691# have the same check as for liblockfile below.
10489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 16692
16693{ $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
10490$as_echo_n "checking for maillock in -lmail... " >&6; } 16694$as_echo_n "checking for maillock in -lmail... " >&6; }
10491if test "${ac_cv_lib_mail_maillock+set}" = set; then : 16695if test "${ac_cv_lib_mail_maillock+set}" = set; then
10492 $as_echo_n "(cached) " >&6 16696 $as_echo_n "(cached) " >&6
10493else 16697else
10494 ac_check_lib_save_LIBS=$LIBS 16698 ac_check_lib_save_LIBS=$LIBS
10495LIBS="-lmail $LIBS" 16699LIBS="-lmail $LIBS"
10496cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16700cat >conftest.$ac_ext <<_ACEOF
16701/* confdefs.h. */
16702_ACEOF
16703cat confdefs.h >>conftest.$ac_ext
16704cat >>conftest.$ac_ext <<_ACEOF
10497/* end confdefs.h. */ 16705/* end confdefs.h. */
10498 16706
10499/* Override any GCC internal prototype to avoid an error. 16707/* Override any GCC internal prototype to avoid an error.
@@ -10511,18 +16719,43 @@ return maillock ();
10511 return 0; 16719 return 0;
10512} 16720}
10513_ACEOF 16721_ACEOF
10514if ac_fn_c_try_link "$LINENO"; then : 16722rm -f conftest.$ac_objext conftest$ac_exeext
16723if { (ac_try="$ac_link"
16724case "(($ac_try" in
16725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16727esac
16728eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16729$as_echo "$ac_try_echo") >&5
16730 (eval "$ac_link") 2>conftest.er1
16731 ac_status=$?
16732 grep -v '^ *+' conftest.er1 >conftest.err
16733 rm -f conftest.er1
16734 cat conftest.err >&5
16735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } && {
16737 test -z "$ac_c_werror_flag" ||
16738 test ! -s conftest.err
16739 } && test -s conftest$ac_exeext && {
16740 test "$cross_compiling" = yes ||
16741 $as_test_x conftest$ac_exeext
16742 }; then
10515 ac_cv_lib_mail_maillock=yes 16743 ac_cv_lib_mail_maillock=yes
10516else 16744else
10517 ac_cv_lib_mail_maillock=no 16745 $as_echo "$as_me: failed program was:" >&5
16746sed 's/^/| /' conftest.$ac_ext >&5
16747
16748 ac_cv_lib_mail_maillock=no
10518fi 16749fi
10519rm -f core conftest.err conftest.$ac_objext \ 16750
10520 conftest$ac_exeext conftest.$ac_ext 16751rm -rf conftest.dSYM
16752rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16753 conftest$ac_exeext conftest.$ac_ext
10521LIBS=$ac_check_lib_save_LIBS 16754LIBS=$ac_check_lib_save_LIBS
10522fi 16755fi
10523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 16756{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
10524$as_echo "$ac_cv_lib_mail_maillock" >&6; } 16757$as_echo "$ac_cv_lib_mail_maillock" >&6; }
10525if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 16758if test $ac_cv_lib_mail_maillock = yes; then
10526 cat >>confdefs.h <<_ACEOF 16759 cat >>confdefs.h <<_ACEOF
10527#define HAVE_LIBMAIL 1 16760#define HAVE_LIBMAIL 1
10528_ACEOF 16761_ACEOF
@@ -10531,14 +16764,19 @@ _ACEOF
10531 16764
10532fi 16765fi
10533 16766
10534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 16767
16768{ $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
10535$as_echo_n "checking for maillock in -llockfile... " >&6; } 16769$as_echo_n "checking for maillock in -llockfile... " >&6; }
10536if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 16770if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
10537 $as_echo_n "(cached) " >&6 16771 $as_echo_n "(cached) " >&6
10538else 16772else
10539 ac_check_lib_save_LIBS=$LIBS 16773 ac_check_lib_save_LIBS=$LIBS
10540LIBS="-llockfile $LIBS" 16774LIBS="-llockfile $LIBS"
10541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16775cat >conftest.$ac_ext <<_ACEOF
16776/* confdefs.h. */
16777_ACEOF
16778cat confdefs.h >>conftest.$ac_ext
16779cat >>conftest.$ac_ext <<_ACEOF
10542/* end confdefs.h. */ 16780/* end confdefs.h. */
10543 16781
10544/* Override any GCC internal prototype to avoid an error. 16782/* Override any GCC internal prototype to avoid an error.
@@ -10556,18 +16794,43 @@ return maillock ();
10556 return 0; 16794 return 0;
10557} 16795}
10558_ACEOF 16796_ACEOF
10559if ac_fn_c_try_link "$LINENO"; then : 16797rm -f conftest.$ac_objext conftest$ac_exeext
16798if { (ac_try="$ac_link"
16799case "(($ac_try" in
16800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16801 *) ac_try_echo=$ac_try;;
16802esac
16803eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16804$as_echo "$ac_try_echo") >&5
16805 (eval "$ac_link") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest$ac_exeext && {
16815 test "$cross_compiling" = yes ||
16816 $as_test_x conftest$ac_exeext
16817 }; then
10560 ac_cv_lib_lockfile_maillock=yes 16818 ac_cv_lib_lockfile_maillock=yes
10561else 16819else
10562 ac_cv_lib_lockfile_maillock=no 16820 $as_echo "$as_me: failed program was:" >&5
16821sed 's/^/| /' conftest.$ac_ext >&5
16822
16823 ac_cv_lib_lockfile_maillock=no
10563fi 16824fi
10564rm -f core conftest.err conftest.$ac_objext \ 16825
10565 conftest$ac_exeext conftest.$ac_ext 16826rm -rf conftest.dSYM
16827rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16828 conftest$ac_exeext conftest.$ac_ext
10566LIBS=$ac_check_lib_save_LIBS 16829LIBS=$ac_check_lib_save_LIBS
10567fi 16830fi
10568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 16831{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
10569$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 16832$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
10570if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 16833if test $ac_cv_lib_lockfile_maillock = yes; then
10571 cat >>confdefs.h <<_ACEOF 16834 cat >>confdefs.h <<_ACEOF
10572#define HAVE_LIBLOCKFILE 1 16835#define HAVE_LIBLOCKFILE 1
10573_ACEOF 16836_ACEOF
@@ -10582,9 +16845,9 @@ fi
10582if test "$ac_cv_lib_lockfile_maillock" = no; then 16845if test "$ac_cv_lib_lockfile_maillock" = no; then
10583 # Extract the first word of "liblockfile.so", so it can be a program name with args. 16846 # Extract the first word of "liblockfile.so", so it can be a program name with args.
10584set dummy liblockfile.so; ac_word=$2 16847set dummy liblockfile.so; ac_word=$2
10585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16848{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10586$as_echo_n "checking for $ac_word... " >&6; } 16849$as_echo_n "checking for $ac_word... " >&6; }
10587if test "${ac_cv_prog_liblockfile+set}" = set; then : 16850if test "${ac_cv_prog_liblockfile+set}" = set; then
10588 $as_echo_n "(cached) " >&6 16851 $as_echo_n "(cached) " >&6
10589else 16852else
10590 if test -n "$liblockfile"; then 16853 if test -n "$liblockfile"; then
@@ -10596,14 +16859,14 @@ for as_dir in $as_dummy
10596do 16859do
10597 IFS=$as_save_IFS 16860 IFS=$as_save_IFS
10598 test -z "$as_dir" && as_dir=. 16861 test -z "$as_dir" && as_dir=.
10599 for ac_exec_ext in '' $ac_executable_extensions; do 16862 for ac_exec_ext in '' $ac_executable_extensions; do
10600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10601 ac_cv_prog_liblockfile="yes" 16864 ac_cv_prog_liblockfile="yes"
10602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16865 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10603 break 2 16866 break 2
10604 fi 16867 fi
10605done 16868done
10606 done 16869done
10607IFS=$as_save_IFS 16870IFS=$as_save_IFS
10608 16871
10609 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 16872 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
@@ -10611,38 +16874,264 @@ fi
10611fi 16874fi
10612liblockfile=$ac_cv_prog_liblockfile 16875liblockfile=$ac_cv_prog_liblockfile
10613if test -n "$liblockfile"; then 16876if test -n "$liblockfile"; then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 16877 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5
10615$as_echo "$liblockfile" >&6; } 16878$as_echo "$liblockfile" >&6; }
10616else 16879else
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16880 { $as_echo "$as_me:$LINENO: result: no" >&5
10618$as_echo "no" >&6; } 16881$as_echo "no" >&6; }
10619fi 16882fi
10620 16883
10621 16884
10622 if test $ac_cv_prog_liblockfile = yes; then 16885 if test $ac_cv_prog_liblockfile = yes; then
10623 as_fn_error "Shared liblockfile found but can't link against it. 16886 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
16887This probably means that movemail could lose mail.
16888There may be a \`development' package to install containing liblockfile." >&5
16889$as_echo "$as_me: error: Shared liblockfile found but can't link against it.
10624This probably means that movemail could lose mail. 16890This probably means that movemail could lose mail.
10625There may be a \`development' package to install containing liblockfile." "$LINENO" 5 16891There may be a \`development' package to install containing liblockfile." >&2;}
16892 { (exit 1); exit 1; }; }
10626 else : 16893 else :
10627 fi 16894 fi
10628fi 16895fi
16896
10629for ac_func in touchlock 16897for ac_func in touchlock
10630do : 16898do
10631 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 16899as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10632if test "x$ac_cv_func_touchlock" = x""yes; then : 16900{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16901$as_echo_n "checking for $ac_func... " >&6; }
16902if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16903 $as_echo_n "(cached) " >&6
16904else
16905 cat >conftest.$ac_ext <<_ACEOF
16906/* confdefs.h. */
16907_ACEOF
16908cat confdefs.h >>conftest.$ac_ext
16909cat >>conftest.$ac_ext <<_ACEOF
16910/* end confdefs.h. */
16911/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16913#define $ac_func innocuous_$ac_func
16914
16915/* System header to define __stub macros and hopefully few prototypes,
16916 which can conflict with char $ac_func (); below.
16917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16918 <limits.h> exists even on freestanding compilers. */
16919
16920#ifdef __STDC__
16921# include <limits.h>
16922#else
16923# include <assert.h>
16924#endif
16925
16926#undef $ac_func
16927
16928/* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931#ifdef __cplusplus
16932extern "C"
16933#endif
16934char $ac_func ();
16935/* The GNU C library defines this for functions which it implements
16936 to always fail with ENOSYS. Some functions are actually named
16937 something starting with __ and the normal name is an alias. */
16938#if defined __stub_$ac_func || defined __stub___$ac_func
16939choke me
16940#endif
16941
16942int
16943main ()
16944{
16945return $ac_func ();
16946 ;
16947 return 0;
16948}
16949_ACEOF
16950rm -f conftest.$ac_objext conftest$ac_exeext
16951if { (ac_try="$ac_link"
16952case "(($ac_try" in
16953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16954 *) ac_try_echo=$ac_try;;
16955esac
16956eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16957$as_echo "$ac_try_echo") >&5
16958 (eval "$ac_link") 2>conftest.er1
16959 ac_status=$?
16960 grep -v '^ *+' conftest.er1 >conftest.err
16961 rm -f conftest.er1
16962 cat conftest.err >&5
16963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } && {
16965 test -z "$ac_c_werror_flag" ||
16966 test ! -s conftest.err
16967 } && test -s conftest$ac_exeext && {
16968 test "$cross_compiling" = yes ||
16969 $as_test_x conftest$ac_exeext
16970 }; then
16971 eval "$as_ac_var=yes"
16972else
16973 $as_echo "$as_me: failed program was:" >&5
16974sed 's/^/| /' conftest.$ac_ext >&5
16975
16976 eval "$as_ac_var=no"
16977fi
16978
16979rm -rf conftest.dSYM
16980rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16981 conftest$ac_exeext conftest.$ac_ext
16982fi
16983ac_res=`eval 'as_val=${'$as_ac_var'}
16984 $as_echo "$as_val"'`
16985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16986$as_echo "$ac_res" >&6; }
16987if test `eval 'as_val=${'$as_ac_var'}
16988 $as_echo "$as_val"'` = yes; then
10633 cat >>confdefs.h <<_ACEOF 16989 cat >>confdefs.h <<_ACEOF
10634#define HAVE_TOUCHLOCK 1 16990#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10635_ACEOF 16991_ACEOF
10636 16992
10637fi 16993fi
10638done 16994done
10639 16995
16996
10640for ac_header in maillock.h 16997for ac_header in maillock.h
10641do : 16998do
10642 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 16999as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10643if test "x$ac_cv_header_maillock_h" = x""yes; then : 17000if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17001 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17002$as_echo_n "checking for $ac_header... " >&6; }
17003if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17004 $as_echo_n "(cached) " >&6
17005fi
17006ac_res=`eval 'as_val=${'$as_ac_Header'}
17007 $as_echo "$as_val"'`
17008 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17009$as_echo "$ac_res" >&6; }
17010else
17011 # Is the header compilable?
17012{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17013$as_echo_n "checking $ac_header usability... " >&6; }
17014cat >conftest.$ac_ext <<_ACEOF
17015/* confdefs.h. */
17016_ACEOF
17017cat confdefs.h >>conftest.$ac_ext
17018cat >>conftest.$ac_ext <<_ACEOF
17019/* end confdefs.h. */
17020$ac_includes_default
17021#include <$ac_header>
17022_ACEOF
17023rm -f conftest.$ac_objext
17024if { (ac_try="$ac_compile"
17025case "(($ac_try" in
17026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17028esac
17029eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17030$as_echo "$ac_try_echo") >&5
17031 (eval "$ac_compile") 2>conftest.er1
17032 ac_status=$?
17033 grep -v '^ *+' conftest.er1 >conftest.err
17034 rm -f conftest.er1
17035 cat conftest.err >&5
17036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } && {
17038 test -z "$ac_c_werror_flag" ||
17039 test ! -s conftest.err
17040 } && test -s conftest.$ac_objext; then
17041 ac_header_compiler=yes
17042else
17043 $as_echo "$as_me: failed program was:" >&5
17044sed 's/^/| /' conftest.$ac_ext >&5
17045
17046 ac_header_compiler=no
17047fi
17048
17049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17051$as_echo "$ac_header_compiler" >&6; }
17052
17053# Is the header present?
17054{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17055$as_echo_n "checking $ac_header presence... " >&6; }
17056cat >conftest.$ac_ext <<_ACEOF
17057/* confdefs.h. */
17058_ACEOF
17059cat confdefs.h >>conftest.$ac_ext
17060cat >>conftest.$ac_ext <<_ACEOF
17061/* end confdefs.h. */
17062#include <$ac_header>
17063_ACEOF
17064if { (ac_try="$ac_cpp conftest.$ac_ext"
17065case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17068esac
17069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17070$as_echo "$ac_try_echo") >&5
17071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } >/dev/null && {
17078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17079 test ! -s conftest.err
17080 }; then
17081 ac_header_preproc=yes
17082else
17083 $as_echo "$as_me: failed program was:" >&5
17084sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 ac_header_preproc=no
17087fi
17088
17089rm -f conftest.err conftest.$ac_ext
17090{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17091$as_echo "$ac_header_preproc" >&6; }
17092
17093# So? What about this header?
17094case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17095 yes:no: )
17096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17097$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17099$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17100 ac_header_preproc=yes
17101 ;;
17102 no:yes:* )
17103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17104$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17106$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17108$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17110$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17112$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17114$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17115
17116 ;;
17117esac
17118{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17119$as_echo_n "checking for $ac_header... " >&6; }
17120if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17121 $as_echo_n "(cached) " >&6
17122else
17123 eval "$as_ac_Header=\$ac_header_preproc"
17124fi
17125ac_res=`eval 'as_val=${'$as_ac_Header'}
17126 $as_echo "$as_val"'`
17127 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17128$as_echo "$ac_res" >&6; }
17129
17130fi
17131if test `eval 'as_val=${'$as_ac_Header'}
17132 $as_echo "$as_val"'` = yes; then
10644 cat >>confdefs.h <<_ACEOF 17133 cat >>confdefs.h <<_ACEOF
10645#define HAVE_MAILLOCK_H 1 17134#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10646_ACEOF 17135_ACEOF
10647 17136
10648fi 17137fi
@@ -10650,6 +17139,77 @@ fi
10650done 17139done
10651 17140
10652 17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
10653for ac_func in gethostname getdomainname dup2 \ 17213for ac_func in gethostname getdomainname dup2 \
10654rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ 17214rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
10655random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ 17215random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
@@ -10660,11 +17220,97 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \
10660gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 17220gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
10661memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 17221memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
10662cfmakeraw cfsetspeed 17222cfmakeraw cfsetspeed
10663do : 17223do
10664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17224as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10665ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17225{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10666eval as_val=\$$as_ac_var 17226$as_echo_n "checking for $ac_func... " >&6; }
10667 if test "x$as_val" = x""yes; then : 17227if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17228 $as_echo_n "(cached) " >&6
17229else
17230 cat >conftest.$ac_ext <<_ACEOF
17231/* confdefs.h. */
17232_ACEOF
17233cat confdefs.h >>conftest.$ac_ext
17234cat >>conftest.$ac_ext <<_ACEOF
17235/* end confdefs.h. */
17236/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17238#define $ac_func innocuous_$ac_func
17239
17240/* System header to define __stub macros and hopefully few prototypes,
17241 which can conflict with char $ac_func (); below.
17242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17243 <limits.h> exists even on freestanding compilers. */
17244
17245#ifdef __STDC__
17246# include <limits.h>
17247#else
17248# include <assert.h>
17249#endif
17250
17251#undef $ac_func
17252
17253/* Override any GCC internal prototype to avoid an error.
17254 Use char because int might match the return type of a GCC
17255 builtin and then its argument prototype would still apply. */
17256#ifdef __cplusplus
17257extern "C"
17258#endif
17259char $ac_func ();
17260/* The GNU C library defines this for functions which it implements
17261 to always fail with ENOSYS. Some functions are actually named
17262 something starting with __ and the normal name is an alias. */
17263#if defined __stub_$ac_func || defined __stub___$ac_func
17264choke me
17265#endif
17266
17267int
17268main ()
17269{
17270return $ac_func ();
17271 ;
17272 return 0;
17273}
17274_ACEOF
17275rm -f conftest.$ac_objext conftest$ac_exeext
17276if { (ac_try="$ac_link"
17277case "(($ac_try" in
17278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279 *) ac_try_echo=$ac_try;;
17280esac
17281eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17282$as_echo "$ac_try_echo") >&5
17283 (eval "$ac_link") 2>conftest.er1
17284 ac_status=$?
17285 grep -v '^ *+' conftest.er1 >conftest.err
17286 rm -f conftest.er1
17287 cat conftest.err >&5
17288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } && {
17290 test -z "$ac_c_werror_flag" ||
17291 test ! -s conftest.err
17292 } && test -s conftest$ac_exeext && {
17293 test "$cross_compiling" = yes ||
17294 $as_test_x conftest$ac_exeext
17295 }; then
17296 eval "$as_ac_var=yes"
17297else
17298 $as_echo "$as_me: failed program was:" >&5
17299sed 's/^/| /' conftest.$ac_ext >&5
17300
17301 eval "$as_ac_var=no"
17302fi
17303
17304rm -rf conftest.dSYM
17305rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17306 conftest$ac_exeext conftest.$ac_ext
17307fi
17308ac_res=`eval 'as_val=${'$as_ac_var'}
17309 $as_echo "$as_val"'`
17310 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17311$as_echo "$ac_res" >&6; }
17312if test `eval 'as_val=${'$as_ac_var'}
17313 $as_echo "$as_val"'` = yes; then
10668 cat >>confdefs.h <<_ACEOF 17314 cat >>confdefs.h <<_ACEOF
10669#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17315#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10670_ACEOF 17316_ACEOF
@@ -10673,12 +17319,294 @@ fi
10673done 17319done
10674 17320
10675 17321
17322
10676for ac_header in sys/un.h 17323for ac_header in sys/un.h
10677do : 17324do
10678 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 17325as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10679if test "x$ac_cv_header_sys_un_h" = x""yes; then : 17326if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17327 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17328$as_echo_n "checking for $ac_header... " >&6; }
17329if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17330 $as_echo_n "(cached) " >&6
17331fi
17332ac_res=`eval 'as_val=${'$as_ac_Header'}
17333 $as_echo "$as_val"'`
17334 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17335$as_echo "$ac_res" >&6; }
17336else
17337 # Is the header compilable?
17338{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17339$as_echo_n "checking $ac_header usability... " >&6; }
17340cat >conftest.$ac_ext <<_ACEOF
17341/* confdefs.h. */
17342_ACEOF
17343cat confdefs.h >>conftest.$ac_ext
17344cat >>conftest.$ac_ext <<_ACEOF
17345/* end confdefs.h. */
17346$ac_includes_default
17347#include <$ac_header>
17348_ACEOF
17349rm -f conftest.$ac_objext
17350if { (ac_try="$ac_compile"
17351case "(($ac_try" in
17352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17353 *) ac_try_echo=$ac_try;;
17354esac
17355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17356$as_echo "$ac_try_echo") >&5
17357 (eval "$ac_compile") 2>conftest.er1
17358 ac_status=$?
17359 grep -v '^ *+' conftest.er1 >conftest.err
17360 rm -f conftest.er1
17361 cat conftest.err >&5
17362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } && {
17364 test -z "$ac_c_werror_flag" ||
17365 test ! -s conftest.err
17366 } && test -s conftest.$ac_objext; then
17367 ac_header_compiler=yes
17368else
17369 $as_echo "$as_me: failed program was:" >&5
17370sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ac_header_compiler=no
17373fi
17374
17375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17377$as_echo "$ac_header_compiler" >&6; }
17378
17379# Is the header present?
17380{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17381$as_echo_n "checking $ac_header presence... " >&6; }
17382cat >conftest.$ac_ext <<_ACEOF
17383/* confdefs.h. */
17384_ACEOF
17385cat confdefs.h >>conftest.$ac_ext
17386cat >>conftest.$ac_ext <<_ACEOF
17387/* end confdefs.h. */
17388#include <$ac_header>
17389_ACEOF
17390if { (ac_try="$ac_cpp conftest.$ac_ext"
17391case "(($ac_try" in
17392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17393 *) ac_try_echo=$ac_try;;
17394esac
17395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17396$as_echo "$ac_try_echo") >&5
17397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } >/dev/null && {
17404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17406 }; then
17407 ac_header_preproc=yes
17408else
17409 $as_echo "$as_me: failed program was:" >&5
17410sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 ac_header_preproc=no
17413fi
17414
17415rm -f conftest.err conftest.$ac_ext
17416{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17417$as_echo "$ac_header_preproc" >&6; }
17418
17419# So? What about this header?
17420case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17421 yes:no: )
17422 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17423$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17424 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17425$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17426 ac_header_preproc=yes
17427 ;;
17428 no:yes:* )
17429 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17430$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17431 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17432$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17433 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17434$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17436$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17438$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17440$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17441
17442 ;;
17443esac
17444{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17445$as_echo_n "checking for $ac_header... " >&6; }
17446if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17447 $as_echo_n "(cached) " >&6
17448else
17449 eval "$as_ac_Header=\$ac_header_preproc"
17450fi
17451ac_res=`eval 'as_val=${'$as_ac_Header'}
17452 $as_echo "$as_val"'`
17453 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17454$as_echo "$ac_res" >&6; }
17455
17456fi
17457if test `eval 'as_val=${'$as_ac_Header'}
17458 $as_echo "$as_val"'` = yes; then
17459 cat >>confdefs.h <<_ACEOF
17460#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17461_ACEOF
17462
17463fi
17464
17465done
17466
17467
17468
17469
17470
17471
17472for ac_header in $ac_header_list
17473do
17474as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17475if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17476 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17477$as_echo_n "checking for $ac_header... " >&6; }
17478if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17479 $as_echo_n "(cached) " >&6
17480fi
17481ac_res=`eval 'as_val=${'$as_ac_Header'}
17482 $as_echo "$as_val"'`
17483 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17484$as_echo "$ac_res" >&6; }
17485else
17486 # Is the header compilable?
17487{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17488$as_echo_n "checking $ac_header usability... " >&6; }
17489cat >conftest.$ac_ext <<_ACEOF
17490/* confdefs.h. */
17491_ACEOF
17492cat confdefs.h >>conftest.$ac_ext
17493cat >>conftest.$ac_ext <<_ACEOF
17494/* end confdefs.h. */
17495$ac_includes_default
17496#include <$ac_header>
17497_ACEOF
17498rm -f conftest.$ac_objext
17499if { (ac_try="$ac_compile"
17500case "(($ac_try" in
17501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17503esac
17504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17505$as_echo "$ac_try_echo") >&5
17506 (eval "$ac_compile") 2>conftest.er1
17507 ac_status=$?
17508 grep -v '^ *+' conftest.er1 >conftest.err
17509 rm -f conftest.er1
17510 cat conftest.err >&5
17511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && {
17513 test -z "$ac_c_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest.$ac_objext; then
17516 ac_header_compiler=yes
17517else
17518 $as_echo "$as_me: failed program was:" >&5
17519sed 's/^/| /' conftest.$ac_ext >&5
17520
17521 ac_header_compiler=no
17522fi
17523
17524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17526$as_echo "$ac_header_compiler" >&6; }
17527
17528# Is the header present?
17529{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17530$as_echo_n "checking $ac_header presence... " >&6; }
17531cat >conftest.$ac_ext <<_ACEOF
17532/* confdefs.h. */
17533_ACEOF
17534cat confdefs.h >>conftest.$ac_ext
17535cat >>conftest.$ac_ext <<_ACEOF
17536/* end confdefs.h. */
17537#include <$ac_header>
17538_ACEOF
17539if { (ac_try="$ac_cpp conftest.$ac_ext"
17540case "(($ac_try" in
17541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17542 *) ac_try_echo=$ac_try;;
17543esac
17544eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17545$as_echo "$ac_try_echo") >&5
17546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17547 ac_status=$?
17548 grep -v '^ *+' conftest.er1 >conftest.err
17549 rm -f conftest.er1
17550 cat conftest.err >&5
17551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } >/dev/null && {
17553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17554 test ! -s conftest.err
17555 }; then
17556 ac_header_preproc=yes
17557else
17558 $as_echo "$as_me: failed program was:" >&5
17559sed 's/^/| /' conftest.$ac_ext >&5
17560
17561 ac_header_preproc=no
17562fi
17563
17564rm -f conftest.err conftest.$ac_ext
17565{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17566$as_echo "$ac_header_preproc" >&6; }
17567
17568# So? What about this header?
17569case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17570 yes:no: )
17571 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17572$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17573 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17574$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17575 ac_header_preproc=yes
17576 ;;
17577 no:yes:* )
17578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17579$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17581$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17582 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17583$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17584 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17585$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17586 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17587$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17588 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17589$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17590
17591 ;;
17592esac
17593{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17594$as_echo_n "checking for $ac_header... " >&6; }
17595if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17596 $as_echo_n "(cached) " >&6
17597else
17598 eval "$as_ac_Header=\$ac_header_preproc"
17599fi
17600ac_res=`eval 'as_val=${'$as_ac_Header'}
17601 $as_echo "$as_val"'`
17602 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17603$as_echo "$ac_res" >&6; }
17604
17605fi
17606if test `eval 'as_val=${'$as_ac_Header'}
17607 $as_echo "$as_val"'` = yes; then
10680 cat >>confdefs.h <<_ACEOF 17608 cat >>confdefs.h <<_ACEOF
10681#define HAVE_SYS_UN_H 1 17609#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10682_ACEOF 17610_ACEOF
10683 17611
10684fi 17612fi
@@ -10691,12 +17619,100 @@ done
10691 17619
10692 17620
10693 17621
10694 for ac_func in $ac_func_list 17622
10695do : 17623
10696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17624for ac_func in $ac_func_list
10697ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17625do
10698eval as_val=\$$as_ac_var 17626as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10699 if test "x$as_val" = x""yes; then : 17627{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17628$as_echo_n "checking for $ac_func... " >&6; }
17629if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17630 $as_echo_n "(cached) " >&6
17631else
17632 cat >conftest.$ac_ext <<_ACEOF
17633/* confdefs.h. */
17634_ACEOF
17635cat confdefs.h >>conftest.$ac_ext
17636cat >>conftest.$ac_ext <<_ACEOF
17637/* end confdefs.h. */
17638/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17640#define $ac_func innocuous_$ac_func
17641
17642/* System header to define __stub macros and hopefully few prototypes,
17643 which can conflict with char $ac_func (); below.
17644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17645 <limits.h> exists even on freestanding compilers. */
17646
17647#ifdef __STDC__
17648# include <limits.h>
17649#else
17650# include <assert.h>
17651#endif
17652
17653#undef $ac_func
17654
17655/* Override any GCC internal prototype to avoid an error.
17656 Use char because int might match the return type of a GCC
17657 builtin and then its argument prototype would still apply. */
17658#ifdef __cplusplus
17659extern "C"
17660#endif
17661char $ac_func ();
17662/* The GNU C library defines this for functions which it implements
17663 to always fail with ENOSYS. Some functions are actually named
17664 something starting with __ and the normal name is an alias. */
17665#if defined __stub_$ac_func || defined __stub___$ac_func
17666choke me
17667#endif
17668
17669int
17670main ()
17671{
17672return $ac_func ();
17673 ;
17674 return 0;
17675}
17676_ACEOF
17677rm -f conftest.$ac_objext conftest$ac_exeext
17678if { (ac_try="$ac_link"
17679case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17682esac
17683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17684$as_echo "$ac_try_echo") >&5
17685 (eval "$ac_link") 2>conftest.er1
17686 ac_status=$?
17687 grep -v '^ *+' conftest.er1 >conftest.err
17688 rm -f conftest.er1
17689 cat conftest.err >&5
17690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } && {
17692 test -z "$ac_c_werror_flag" ||
17693 test ! -s conftest.err
17694 } && test -s conftest$ac_exeext && {
17695 test "$cross_compiling" = yes ||
17696 $as_test_x conftest$ac_exeext
17697 }; then
17698 eval "$as_ac_var=yes"
17699else
17700 $as_echo "$as_me: failed program was:" >&5
17701sed 's/^/| /' conftest.$ac_ext >&5
17702
17703 eval "$as_ac_var=no"
17704fi
17705
17706rm -rf conftest.dSYM
17707rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17708 conftest$ac_exeext conftest.$ac_ext
17709fi
17710ac_res=`eval 'as_val=${'$as_ac_var'}
17711 $as_echo "$as_val"'`
17712 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17713$as_echo "$ac_res" >&6; }
17714if test `eval 'as_val=${'$as_ac_var'}
17715 $as_echo "$as_val"'` = yes; then
10700 cat >>confdefs.h <<_ACEOF 17716 cat >>confdefs.h <<_ACEOF
10701#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17717#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10702_ACEOF 17718_ACEOF
@@ -10708,15 +17724,31 @@ done
10708 17724
10709 17725
10710 17726
10711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739{ $as_echo "$as_me:$LINENO: checking for working mktime" >&5
10712$as_echo_n "checking for working mktime... " >&6; } 17740$as_echo_n "checking for working mktime... " >&6; }
10713if test "${ac_cv_func_working_mktime+set}" = set; then : 17741if test "${ac_cv_func_working_mktime+set}" = set; then
10714 $as_echo_n "(cached) " >&6 17742 $as_echo_n "(cached) " >&6
10715else 17743else
10716 if test "$cross_compiling" = yes; then : 17744 if test "$cross_compiling" = yes; then
10717 ac_cv_func_working_mktime=no 17745 ac_cv_func_working_mktime=no
10718else 17746else
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17747 cat >conftest.$ac_ext <<_ACEOF
17748/* confdefs.h. */
17749_ACEOF
17750cat confdefs.h >>conftest.$ac_ext
17751cat >>conftest.$ac_ext <<_ACEOF
10720/* end confdefs.h. */ 17752/* end confdefs.h. */
10721/* Test program from Paul Eggert and Tony Leneis. */ 17753/* Test program from Paul Eggert and Tony Leneis. */
10722#ifdef TIME_WITH_SYS_TIME 17754#ifdef TIME_WITH_SYS_TIME
@@ -10913,17 +17945,44 @@ main ()
10913 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 17945 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
10914} 17946}
10915_ACEOF 17947_ACEOF
10916if ac_fn_c_try_run "$LINENO"; then : 17948rm -f conftest$ac_exeext
17949if { (ac_try="$ac_link"
17950case "(($ac_try" in
17951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17953esac
17954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17955$as_echo "$ac_try_echo") >&5
17956 (eval "$ac_link") 2>&5
17957 ac_status=$?
17958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17960 { (case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17963esac
17964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17965$as_echo "$ac_try_echo") >&5
17966 (eval "$ac_try") 2>&5
17967 ac_status=$?
17968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; }; then
10917 ac_cv_func_working_mktime=yes 17970 ac_cv_func_working_mktime=yes
10918else 17971else
10919 ac_cv_func_working_mktime=no 17972 $as_echo "$as_me: program exited with status $ac_status" >&5
17973$as_echo "$as_me: failed program was:" >&5
17974sed 's/^/| /' conftest.$ac_ext >&5
17975
17976( exit $ac_status )
17977ac_cv_func_working_mktime=no
10920fi 17978fi
10921rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 17979rm -rf conftest.dSYM
10922 conftest.$ac_objext conftest.beam conftest.$ac_ext 17980rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10923fi 17981fi
10924 17982
17983
10925fi 17984fi
10926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 17985{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
10927$as_echo "$ac_cv_func_working_mktime" >&6; } 17986$as_echo "$ac_cv_func_working_mktime" >&6; }
10928if test $ac_cv_func_working_mktime = no; then 17987if test $ac_cv_func_working_mktime = no; then
10929 case " $LIBOBJS " in 17988 case " $LIBOBJS " in
@@ -10936,7 +17995,9 @@ fi
10936 17995
10937if test "$ac_cv_func_working_mktime" = no; then 17996if test "$ac_cv_func_working_mktime" = no; then
10938 17997
10939$as_echo "#define BROKEN_MKTIME 1" >>confdefs.h 17998cat >>confdefs.h <<\_ACEOF
17999#define BROKEN_MKTIME 1
18000_ACEOF
10940 18001
10941fi 18002fi
10942 18003
@@ -10944,13 +18005,99 @@ ac_have_func=no # yes means we've found a way to get the load average.
10944 18005
10945# Make sure getloadavg.c is where it belongs, at configure-time. 18006# Make sure getloadavg.c is where it belongs, at configure-time.
10946test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 18007test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
10947 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 18008 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
18009$as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
18010 { (exit 1); exit 1; }; }
10948 18011
10949ac_save_LIBS=$LIBS 18012ac_save_LIBS=$LIBS
10950 18013
10951# Check for getloadavg, but be sure not to touch the cache variable. 18014# Check for getloadavg, but be sure not to touch the cache variable.
10952(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 18015({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5
10953if test "x$ac_cv_func_getloadavg" = x""yes; then : 18016$as_echo_n "checking for getloadavg... " >&6; }
18017if test "${ac_cv_func_getloadavg+set}" = set; then
18018 $as_echo_n "(cached) " >&6
18019else
18020 cat >conftest.$ac_ext <<_ACEOF
18021/* confdefs.h. */
18022_ACEOF
18023cat confdefs.h >>conftest.$ac_ext
18024cat >>conftest.$ac_ext <<_ACEOF
18025/* end confdefs.h. */
18026/* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
18027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18028#define getloadavg innocuous_getloadavg
18029
18030/* System header to define __stub macros and hopefully few prototypes,
18031 which can conflict with char getloadavg (); below.
18032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18033 <limits.h> exists even on freestanding compilers. */
18034
18035#ifdef __STDC__
18036# include <limits.h>
18037#else
18038# include <assert.h>
18039#endif
18040
18041#undef getloadavg
18042
18043/* Override any GCC internal prototype to avoid an error.
18044 Use char because int might match the return type of a GCC
18045 builtin and then its argument prototype would still apply. */
18046#ifdef __cplusplus
18047extern "C"
18048#endif
18049char getloadavg ();
18050/* The GNU C library defines this for functions which it implements
18051 to always fail with ENOSYS. Some functions are actually named
18052 something starting with __ and the normal name is an alias. */
18053#if defined __stub_getloadavg || defined __stub___getloadavg
18054choke me
18055#endif
18056
18057int
18058main ()
18059{
18060return getloadavg ();
18061 ;
18062 return 0;
18063}
18064_ACEOF
18065rm -f conftest.$ac_objext conftest$ac_exeext
18066if { (ac_try="$ac_link"
18067case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070esac
18071eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18072$as_echo "$ac_try_echo") >&5
18073 (eval "$ac_link") 2>conftest.er1
18074 ac_status=$?
18075 grep -v '^ *+' conftest.er1 >conftest.err
18076 rm -f conftest.er1
18077 cat conftest.err >&5
18078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } && {
18080 test -z "$ac_c_werror_flag" ||
18081 test ! -s conftest.err
18082 } && test -s conftest$ac_exeext && {
18083 test "$cross_compiling" = yes ||
18084 $as_test_x conftest$ac_exeext
18085 }; then
18086 ac_cv_func_getloadavg=yes
18087else
18088 $as_echo "$as_me: failed program was:" >&5
18089sed 's/^/| /' conftest.$ac_ext >&5
18090
18091 ac_cv_func_getloadavg=no
18092fi
18093
18094rm -rf conftest.dSYM
18095rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18096 conftest$ac_exeext conftest.$ac_ext
18097fi
18098{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
18099$as_echo "$ac_cv_func_getloadavg" >&6; }
18100if test $ac_cv_func_getloadavg = yes; then
10954 exit 0 18101 exit 0
10955else 18102else
10956 exit 1 18103 exit 1
@@ -10958,12 +18105,101 @@ fi
10958) && ac_have_func=yes 18105) && ac_have_func=yes
10959 18106
10960# On HPUX9, an unprivileged user can get load averages through this function. 18107# On HPUX9, an unprivileged user can get load averages through this function.
18108
10961for ac_func in pstat_getdynamic 18109for ac_func in pstat_getdynamic
10962do : 18110do
10963 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 18111as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10964if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 18112{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18113$as_echo_n "checking for $ac_func... " >&6; }
18114if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18115 $as_echo_n "(cached) " >&6
18116else
18117 cat >conftest.$ac_ext <<_ACEOF
18118/* confdefs.h. */
18119_ACEOF
18120cat confdefs.h >>conftest.$ac_ext
18121cat >>conftest.$ac_ext <<_ACEOF
18122/* end confdefs.h. */
18123/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18125#define $ac_func innocuous_$ac_func
18126
18127/* System header to define __stub macros and hopefully few prototypes,
18128 which can conflict with char $ac_func (); below.
18129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18130 <limits.h> exists even on freestanding compilers. */
18131
18132#ifdef __STDC__
18133# include <limits.h>
18134#else
18135# include <assert.h>
18136#endif
18137
18138#undef $ac_func
18139
18140/* Override any GCC internal prototype to avoid an error.
18141 Use char because int might match the return type of a GCC
18142 builtin and then its argument prototype would still apply. */
18143#ifdef __cplusplus
18144extern "C"
18145#endif
18146char $ac_func ();
18147/* The GNU C library defines this for functions which it implements
18148 to always fail with ENOSYS. Some functions are actually named
18149 something starting with __ and the normal name is an alias. */
18150#if defined __stub_$ac_func || defined __stub___$ac_func
18151choke me
18152#endif
18153
18154int
18155main ()
18156{
18157return $ac_func ();
18158 ;
18159 return 0;
18160}
18161_ACEOF
18162rm -f conftest.$ac_objext conftest$ac_exeext
18163if { (ac_try="$ac_link"
18164case "(($ac_try" in
18165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18166 *) ac_try_echo=$ac_try;;
18167esac
18168eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18169$as_echo "$ac_try_echo") >&5
18170 (eval "$ac_link") 2>conftest.er1
18171 ac_status=$?
18172 grep -v '^ *+' conftest.er1 >conftest.err
18173 rm -f conftest.er1
18174 cat conftest.err >&5
18175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } && {
18177 test -z "$ac_c_werror_flag" ||
18178 test ! -s conftest.err
18179 } && test -s conftest$ac_exeext && {
18180 test "$cross_compiling" = yes ||
18181 $as_test_x conftest$ac_exeext
18182 }; then
18183 eval "$as_ac_var=yes"
18184else
18185 $as_echo "$as_me: failed program was:" >&5
18186sed 's/^/| /' conftest.$ac_ext >&5
18187
18188 eval "$as_ac_var=no"
18189fi
18190
18191rm -rf conftest.dSYM
18192rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18193 conftest$ac_exeext conftest.$ac_ext
18194fi
18195ac_res=`eval 'as_val=${'$as_ac_var'}
18196 $as_echo "$as_val"'`
18197 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18198$as_echo "$ac_res" >&6; }
18199if test `eval 'as_val=${'$as_ac_var'}
18200 $as_echo "$as_val"'` = yes; then
10965 cat >>confdefs.h <<_ACEOF 18201 cat >>confdefs.h <<_ACEOF
10966#define HAVE_PSTAT_GETDYNAMIC 1 18202#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10967_ACEOF 18203_ACEOF
10968 18204
10969fi 18205fi
@@ -10971,14 +18207,19 @@ done
10971 18207
10972 18208
10973# Solaris has libkstat which does not require root. 18209# Solaris has libkstat which does not require root.
10974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 18210
18211{ $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
10975$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 18212$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
10976if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 18213if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
10977 $as_echo_n "(cached) " >&6 18214 $as_echo_n "(cached) " >&6
10978else 18215else
10979 ac_check_lib_save_LIBS=$LIBS 18216 ac_check_lib_save_LIBS=$LIBS
10980LIBS="-lkstat $LIBS" 18217LIBS="-lkstat $LIBS"
10981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18218cat >conftest.$ac_ext <<_ACEOF
18219/* confdefs.h. */
18220_ACEOF
18221cat confdefs.h >>conftest.$ac_ext
18222cat >>conftest.$ac_ext <<_ACEOF
10982/* end confdefs.h. */ 18223/* end confdefs.h. */
10983 18224
10984/* Override any GCC internal prototype to avoid an error. 18225/* Override any GCC internal prototype to avoid an error.
@@ -10996,18 +18237,43 @@ return kstat_open ();
10996 return 0; 18237 return 0;
10997} 18238}
10998_ACEOF 18239_ACEOF
10999if ac_fn_c_try_link "$LINENO"; then : 18240rm -f conftest.$ac_objext conftest$ac_exeext
18241if { (ac_try="$ac_link"
18242case "(($ac_try" in
18243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18244 *) ac_try_echo=$ac_try;;
18245esac
18246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18247$as_echo "$ac_try_echo") >&5
18248 (eval "$ac_link") 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } && {
18255 test -z "$ac_c_werror_flag" ||
18256 test ! -s conftest.err
18257 } && test -s conftest$ac_exeext && {
18258 test "$cross_compiling" = yes ||
18259 $as_test_x conftest$ac_exeext
18260 }; then
11000 ac_cv_lib_kstat_kstat_open=yes 18261 ac_cv_lib_kstat_kstat_open=yes
11001else 18262else
11002 ac_cv_lib_kstat_kstat_open=no 18263 $as_echo "$as_me: failed program was:" >&5
18264sed 's/^/| /' conftest.$ac_ext >&5
18265
18266 ac_cv_lib_kstat_kstat_open=no
11003fi 18267fi
11004rm -f core conftest.err conftest.$ac_objext \ 18268
11005 conftest$ac_exeext conftest.$ac_ext 18269rm -rf conftest.dSYM
18270rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18271 conftest$ac_exeext conftest.$ac_ext
11006LIBS=$ac_check_lib_save_LIBS 18272LIBS=$ac_check_lib_save_LIBS
11007fi 18273fi
11008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 18274{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
11009$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 18275$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11010if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 18276if test $ac_cv_lib_kstat_kstat_open = yes; then
11011 cat >>confdefs.h <<_ACEOF 18277 cat >>confdefs.h <<_ACEOF
11012#define HAVE_LIBKSTAT 1 18278#define HAVE_LIBKSTAT 1
11013_ACEOF 18279_ACEOF
@@ -11023,14 +18289,18 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
11023# to get the right answer into the cache. 18289# to get the right answer into the cache.
11024# For kstat on solaris, we need libelf to force the definition of SVR4 below. 18290# For kstat on solaris, we need libelf to force the definition of SVR4 below.
11025if test $ac_have_func = no; then 18291if test $ac_have_func = no; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 18292 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
11027$as_echo_n "checking for elf_begin in -lelf... " >&6; } 18293$as_echo_n "checking for elf_begin in -lelf... " >&6; }
11028if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 18294if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
11029 $as_echo_n "(cached) " >&6 18295 $as_echo_n "(cached) " >&6
11030else 18296else
11031 ac_check_lib_save_LIBS=$LIBS 18297 ac_check_lib_save_LIBS=$LIBS
11032LIBS="-lelf $LIBS" 18298LIBS="-lelf $LIBS"
11033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18299cat >conftest.$ac_ext <<_ACEOF
18300/* confdefs.h. */
18301_ACEOF
18302cat confdefs.h >>conftest.$ac_ext
18303cat >>conftest.$ac_ext <<_ACEOF
11034/* end confdefs.h. */ 18304/* end confdefs.h. */
11035 18305
11036/* Override any GCC internal prototype to avoid an error. 18306/* Override any GCC internal prototype to avoid an error.
@@ -11048,31 +18318,60 @@ return elf_begin ();
11048 return 0; 18318 return 0;
11049} 18319}
11050_ACEOF 18320_ACEOF
11051if ac_fn_c_try_link "$LINENO"; then : 18321rm -f conftest.$ac_objext conftest$ac_exeext
18322if { (ac_try="$ac_link"
18323case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18326esac
18327eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18328$as_echo "$ac_try_echo") >&5
18329 (eval "$ac_link") 2>conftest.er1
18330 ac_status=$?
18331 grep -v '^ *+' conftest.er1 >conftest.err
18332 rm -f conftest.er1
18333 cat conftest.err >&5
18334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } && {
18336 test -z "$ac_c_werror_flag" ||
18337 test ! -s conftest.err
18338 } && test -s conftest$ac_exeext && {
18339 test "$cross_compiling" = yes ||
18340 $as_test_x conftest$ac_exeext
18341 }; then
11052 ac_cv_lib_elf_elf_begin=yes 18342 ac_cv_lib_elf_elf_begin=yes
11053else 18343else
11054 ac_cv_lib_elf_elf_begin=no 18344 $as_echo "$as_me: failed program was:" >&5
18345sed 's/^/| /' conftest.$ac_ext >&5
18346
18347 ac_cv_lib_elf_elf_begin=no
11055fi 18348fi
11056rm -f core conftest.err conftest.$ac_objext \ 18349
11057 conftest$ac_exeext conftest.$ac_ext 18350rm -rf conftest.dSYM
18351rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18352 conftest$ac_exeext conftest.$ac_ext
11058LIBS=$ac_check_lib_save_LIBS 18353LIBS=$ac_check_lib_save_LIBS
11059fi 18354fi
11060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 18355{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
11061$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 18356$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
11062if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 18357if test $ac_cv_lib_elf_elf_begin = yes; then
11063 LIBS="-lelf $LIBS" 18358 LIBS="-lelf $LIBS"
11064fi 18359fi
11065 18360
11066fi 18361fi
11067if test $ac_have_func = no; then 18362if test $ac_have_func = no; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 18363 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
11069$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 18364$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
11070if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 18365if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
11071 $as_echo_n "(cached) " >&6 18366 $as_echo_n "(cached) " >&6
11072else 18367else
11073 ac_check_lib_save_LIBS=$LIBS 18368 ac_check_lib_save_LIBS=$LIBS
11074LIBS="-lkvm $LIBS" 18369LIBS="-lkvm $LIBS"
11075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18370cat >conftest.$ac_ext <<_ACEOF
18371/* confdefs.h. */
18372_ACEOF
18373cat confdefs.h >>conftest.$ac_ext
18374cat >>conftest.$ac_ext <<_ACEOF
11076/* end confdefs.h. */ 18375/* end confdefs.h. */
11077 18376
11078/* Override any GCC internal prototype to avoid an error. 18377/* Override any GCC internal prototype to avoid an error.
@@ -11090,30 +18389,59 @@ return kvm_open ();
11090 return 0; 18389 return 0;
11091} 18390}
11092_ACEOF 18391_ACEOF
11093if ac_fn_c_try_link "$LINENO"; then : 18392rm -f conftest.$ac_objext conftest$ac_exeext
18393if { (ac_try="$ac_link"
18394case "(($ac_try" in
18395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18396 *) ac_try_echo=$ac_try;;
18397esac
18398eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18399$as_echo "$ac_try_echo") >&5
18400 (eval "$ac_link") 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } && {
18407 test -z "$ac_c_werror_flag" ||
18408 test ! -s conftest.err
18409 } && test -s conftest$ac_exeext && {
18410 test "$cross_compiling" = yes ||
18411 $as_test_x conftest$ac_exeext
18412 }; then
11094 ac_cv_lib_kvm_kvm_open=yes 18413 ac_cv_lib_kvm_kvm_open=yes
11095else 18414else
11096 ac_cv_lib_kvm_kvm_open=no 18415 $as_echo "$as_me: failed program was:" >&5
18416sed 's/^/| /' conftest.$ac_ext >&5
18417
18418 ac_cv_lib_kvm_kvm_open=no
11097fi 18419fi
11098rm -f core conftest.err conftest.$ac_objext \ 18420
11099 conftest$ac_exeext conftest.$ac_ext 18421rm -rf conftest.dSYM
18422rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18423 conftest$ac_exeext conftest.$ac_ext
11100LIBS=$ac_check_lib_save_LIBS 18424LIBS=$ac_check_lib_save_LIBS
11101fi 18425fi
11102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 18426{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
11103$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 18427$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
11104if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 18428if test $ac_cv_lib_kvm_kvm_open = yes; then
11105 LIBS="-lkvm $LIBS" 18429 LIBS="-lkvm $LIBS"
11106fi 18430fi
11107 18431
11108 # Check for the 4.4BSD definition of getloadavg. 18432 # Check for the 4.4BSD definition of getloadavg.
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 18433 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
11110$as_echo_n "checking for getloadavg in -lutil... " >&6; } 18434$as_echo_n "checking for getloadavg in -lutil... " >&6; }
11111if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 18435if test "${ac_cv_lib_util_getloadavg+set}" = set; then
11112 $as_echo_n "(cached) " >&6 18436 $as_echo_n "(cached) " >&6
11113else 18437else
11114 ac_check_lib_save_LIBS=$LIBS 18438 ac_check_lib_save_LIBS=$LIBS
11115LIBS="-lutil $LIBS" 18439LIBS="-lutil $LIBS"
11116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18440cat >conftest.$ac_ext <<_ACEOF
18441/* confdefs.h. */
18442_ACEOF
18443cat confdefs.h >>conftest.$ac_ext
18444cat >>conftest.$ac_ext <<_ACEOF
11117/* end confdefs.h. */ 18445/* end confdefs.h. */
11118 18446
11119/* Override any GCC internal prototype to avoid an error. 18447/* Override any GCC internal prototype to avoid an error.
@@ -11131,18 +18459,43 @@ return getloadavg ();
11131 return 0; 18459 return 0;
11132} 18460}
11133_ACEOF 18461_ACEOF
11134if ac_fn_c_try_link "$LINENO"; then : 18462rm -f conftest.$ac_objext conftest$ac_exeext
18463if { (ac_try="$ac_link"
18464case "(($ac_try" in
18465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18466 *) ac_try_echo=$ac_try;;
18467esac
18468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18469$as_echo "$ac_try_echo") >&5
18470 (eval "$ac_link") 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && {
18477 test -z "$ac_c_werror_flag" ||
18478 test ! -s conftest.err
18479 } && test -s conftest$ac_exeext && {
18480 test "$cross_compiling" = yes ||
18481 $as_test_x conftest$ac_exeext
18482 }; then
11135 ac_cv_lib_util_getloadavg=yes 18483 ac_cv_lib_util_getloadavg=yes
11136else 18484else
11137 ac_cv_lib_util_getloadavg=no 18485 $as_echo "$as_me: failed program was:" >&5
18486sed 's/^/| /' conftest.$ac_ext >&5
18487
18488 ac_cv_lib_util_getloadavg=no
11138fi 18489fi
11139rm -f core conftest.err conftest.$ac_objext \ 18490
11140 conftest$ac_exeext conftest.$ac_ext 18491rm -rf conftest.dSYM
18492rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18493 conftest$ac_exeext conftest.$ac_ext
11141LIBS=$ac_check_lib_save_LIBS 18494LIBS=$ac_check_lib_save_LIBS
11142fi 18495fi
11143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 18496{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
11144$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 18497$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
11145if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 18498if test $ac_cv_lib_util_getloadavg = yes; then
11146 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 18499 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
11147fi 18500fi
11148 18501
@@ -11153,14 +18506,18 @@ if test $ac_have_func = no; then
11153 # Since it is not a standard part of AIX, it might be installed locally. 18506 # Since it is not a standard part of AIX, it might be installed locally.
11154 ac_getloadavg_LIBS=$LIBS 18507 ac_getloadavg_LIBS=$LIBS
11155 LIBS="-L/usr/local/lib $LIBS" 18508 LIBS="-L/usr/local/lib $LIBS"
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 18509 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
11157$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 18510$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
11158if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 18511if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
11159 $as_echo_n "(cached) " >&6 18512 $as_echo_n "(cached) " >&6
11160else 18513else
11161 ac_check_lib_save_LIBS=$LIBS 18514 ac_check_lib_save_LIBS=$LIBS
11162LIBS="-lgetloadavg $LIBS" 18515LIBS="-lgetloadavg $LIBS"
11163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18516cat >conftest.$ac_ext <<_ACEOF
18517/* confdefs.h. */
18518_ACEOF
18519cat confdefs.h >>conftest.$ac_ext
18520cat >>conftest.$ac_ext <<_ACEOF
11164/* end confdefs.h. */ 18521/* end confdefs.h. */
11165 18522
11166/* Override any GCC internal prototype to avoid an error. 18523/* Override any GCC internal prototype to avoid an error.
@@ -11178,18 +18535,43 @@ return getloadavg ();
11178 return 0; 18535 return 0;
11179} 18536}
11180_ACEOF 18537_ACEOF
11181if ac_fn_c_try_link "$LINENO"; then : 18538rm -f conftest.$ac_objext conftest$ac_exeext
18539if { (ac_try="$ac_link"
18540case "(($ac_try" in
18541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18542 *) ac_try_echo=$ac_try;;
18543esac
18544eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18545$as_echo "$ac_try_echo") >&5
18546 (eval "$ac_link") 2>conftest.er1
18547 ac_status=$?
18548 grep -v '^ *+' conftest.er1 >conftest.err
18549 rm -f conftest.er1
18550 cat conftest.err >&5
18551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } && {
18553 test -z "$ac_c_werror_flag" ||
18554 test ! -s conftest.err
18555 } && test -s conftest$ac_exeext && {
18556 test "$cross_compiling" = yes ||
18557 $as_test_x conftest$ac_exeext
18558 }; then
11182 ac_cv_lib_getloadavg_getloadavg=yes 18559 ac_cv_lib_getloadavg_getloadavg=yes
11183else 18560else
11184 ac_cv_lib_getloadavg_getloadavg=no 18561 $as_echo "$as_me: failed program was:" >&5
18562sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 ac_cv_lib_getloadavg_getloadavg=no
11185fi 18565fi
11186rm -f core conftest.err conftest.$ac_objext \ 18566
11187 conftest$ac_exeext conftest.$ac_ext 18567rm -rf conftest.dSYM
18568rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18569 conftest$ac_exeext conftest.$ac_ext
11188LIBS=$ac_check_lib_save_LIBS 18570LIBS=$ac_check_lib_save_LIBS
11189fi 18571fi
11190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 18572{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
11191$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 18573$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
11192if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 18574if test $ac_cv_lib_getloadavg_getloadavg = yes; then
11193 LIBS="-lgetloadavg $LIBS" 18575 LIBS="-lgetloadavg $LIBS"
11194else 18576else
11195 LIBS=$ac_getloadavg_LIBS 18577 LIBS=$ac_getloadavg_LIBS
@@ -11199,12 +18581,101 @@ fi
11199 18581
11200# Make sure it is really in the library, if we think we found it, 18582# Make sure it is really in the library, if we think we found it,
11201# otherwise set up the replacement function. 18583# otherwise set up the replacement function.
18584
11202for ac_func in getloadavg 18585for ac_func in getloadavg
11203do : 18586do
11204 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 18587as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11205if test "x$ac_cv_func_getloadavg" = x""yes; then : 18588{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18589$as_echo_n "checking for $ac_func... " >&6; }
18590if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18591 $as_echo_n "(cached) " >&6
18592else
18593 cat >conftest.$ac_ext <<_ACEOF
18594/* confdefs.h. */
18595_ACEOF
18596cat confdefs.h >>conftest.$ac_ext
18597cat >>conftest.$ac_ext <<_ACEOF
18598/* end confdefs.h. */
18599/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18601#define $ac_func innocuous_$ac_func
18602
18603/* System header to define __stub macros and hopefully few prototypes,
18604 which can conflict with char $ac_func (); below.
18605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18606 <limits.h> exists even on freestanding compilers. */
18607
18608#ifdef __STDC__
18609# include <limits.h>
18610#else
18611# include <assert.h>
18612#endif
18613
18614#undef $ac_func
18615
18616/* Override any GCC internal prototype to avoid an error.
18617 Use char because int might match the return type of a GCC
18618 builtin and then its argument prototype would still apply. */
18619#ifdef __cplusplus
18620extern "C"
18621#endif
18622char $ac_func ();
18623/* The GNU C library defines this for functions which it implements
18624 to always fail with ENOSYS. Some functions are actually named
18625 something starting with __ and the normal name is an alias. */
18626#if defined __stub_$ac_func || defined __stub___$ac_func
18627choke me
18628#endif
18629
18630int
18631main ()
18632{
18633return $ac_func ();
18634 ;
18635 return 0;
18636}
18637_ACEOF
18638rm -f conftest.$ac_objext conftest$ac_exeext
18639if { (ac_try="$ac_link"
18640case "(($ac_try" in
18641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18642 *) ac_try_echo=$ac_try;;
18643esac
18644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18645$as_echo "$ac_try_echo") >&5
18646 (eval "$ac_link") 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_c_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest$ac_exeext && {
18656 test "$cross_compiling" = yes ||
18657 $as_test_x conftest$ac_exeext
18658 }; then
18659 eval "$as_ac_var=yes"
18660else
18661 $as_echo "$as_me: failed program was:" >&5
18662sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 eval "$as_ac_var=no"
18665fi
18666
18667rm -rf conftest.dSYM
18668rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18669 conftest$ac_exeext conftest.$ac_ext
18670fi
18671ac_res=`eval 'as_val=${'$as_ac_var'}
18672 $as_echo "$as_val"'`
18673 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18674$as_echo "$ac_res" >&6; }
18675if test `eval 'as_val=${'$as_ac_var'}
18676 $as_echo "$as_val"'` = yes; then
11206 cat >>confdefs.h <<_ACEOF 18677 cat >>confdefs.h <<_ACEOF
11207#define HAVE_GETLOADAVG 1 18678#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11208_ACEOF 18679_ACEOF
11209 18680
11210else 18681else
@@ -11215,24 +18686,159 @@ else
11215esac 18686esac
11216 18687
11217 18688
11218$as_echo "#define C_GETLOADAVG 1" >>confdefs.h 18689cat >>confdefs.h <<\_ACEOF
18690#define C_GETLOADAVG 1
18691_ACEOF
11219 18692
11220# Figure out what our getloadavg.c needs. 18693# Figure out what our getloadavg.c needs.
11221ac_have_func=no 18694ac_have_func=no
11222ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 18695if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11223if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 18696 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18697$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
18698if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18699 $as_echo_n "(cached) " >&6
18700fi
18701{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18702$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
18703else
18704 # Is the header compilable?
18705{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
18706$as_echo_n "checking sys/dg_sys_info.h usability... " >&6; }
18707cat >conftest.$ac_ext <<_ACEOF
18708/* confdefs.h. */
18709_ACEOF
18710cat confdefs.h >>conftest.$ac_ext
18711cat >>conftest.$ac_ext <<_ACEOF
18712/* end confdefs.h. */
18713$ac_includes_default
18714#include <sys/dg_sys_info.h>
18715_ACEOF
18716rm -f conftest.$ac_objext
18717if { (ac_try="$ac_compile"
18718case "(($ac_try" in
18719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18720 *) ac_try_echo=$ac_try;;
18721esac
18722eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18723$as_echo "$ac_try_echo") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 ac_header_compiler=yes
18735else
18736 $as_echo "$as_me: failed program was:" >&5
18737sed 's/^/| /' conftest.$ac_ext >&5
18738
18739 ac_header_compiler=no
18740fi
18741
18742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18744$as_echo "$ac_header_compiler" >&6; }
18745
18746# Is the header present?
18747{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
18748$as_echo_n "checking sys/dg_sys_info.h presence... " >&6; }
18749cat >conftest.$ac_ext <<_ACEOF
18750/* confdefs.h. */
18751_ACEOF
18752cat confdefs.h >>conftest.$ac_ext
18753cat >>conftest.$ac_ext <<_ACEOF
18754/* end confdefs.h. */
18755#include <sys/dg_sys_info.h>
18756_ACEOF
18757if { (ac_try="$ac_cpp conftest.$ac_ext"
18758case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18761esac
18762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18763$as_echo "$ac_try_echo") >&5
18764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18765 ac_status=$?
18766 grep -v '^ *+' conftest.er1 >conftest.err
18767 rm -f conftest.er1
18768 cat conftest.err >&5
18769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } >/dev/null && {
18771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18772 test ! -s conftest.err
18773 }; then
18774 ac_header_preproc=yes
18775else
18776 $as_echo "$as_me: failed program was:" >&5
18777sed 's/^/| /' conftest.$ac_ext >&5
18778
18779 ac_header_preproc=no
18780fi
18781
18782rm -f conftest.err conftest.$ac_ext
18783{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18784$as_echo "$ac_header_preproc" >&6; }
18785
18786# So? What about this header?
18787case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18788 yes:no: )
18789 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
18790$as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18791 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
18792$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
18793 ac_header_preproc=yes
18794 ;;
18795 no:yes:* )
18796 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
18797$as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
18798 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
18799$as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
18800 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
18801$as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
18802 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
18803$as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
18804 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
18805$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
18806 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
18807$as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
18808
18809 ;;
18810esac
18811{ $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18812$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
18813if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18814 $as_echo_n "(cached) " >&6
18815else
18816 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
18817fi
18818{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18819$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
18820
18821fi
18822if test $ac_cv_header_sys_dg_sys_info_h = yes; then
11224 ac_have_func=yes 18823 ac_have_func=yes
11225 18824
11226$as_echo "#define DGUX 1" >>confdefs.h 18825cat >>confdefs.h <<\_ACEOF
18826#define DGUX 1
18827_ACEOF
18828
11227 18829
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 18830{ $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
11229$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 18831$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
11230if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 18832if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
11231 $as_echo_n "(cached) " >&6 18833 $as_echo_n "(cached) " >&6
11232else 18834else
11233 ac_check_lib_save_LIBS=$LIBS 18835 ac_check_lib_save_LIBS=$LIBS
11234LIBS="-ldgc $LIBS" 18836LIBS="-ldgc $LIBS"
11235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18837cat >conftest.$ac_ext <<_ACEOF
18838/* confdefs.h. */
18839_ACEOF
18840cat confdefs.h >>conftest.$ac_ext
18841cat >>conftest.$ac_ext <<_ACEOF
11236/* end confdefs.h. */ 18842/* end confdefs.h. */
11237 18843
11238/* Override any GCC internal prototype to avoid an error. 18844/* Override any GCC internal prototype to avoid an error.
@@ -11250,18 +18856,43 @@ return dg_sys_info ();
11250 return 0; 18856 return 0;
11251} 18857}
11252_ACEOF 18858_ACEOF
11253if ac_fn_c_try_link "$LINENO"; then : 18859rm -f conftest.$ac_objext conftest$ac_exeext
18860if { (ac_try="$ac_link"
18861case "(($ac_try" in
18862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18863 *) ac_try_echo=$ac_try;;
18864esac
18865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18866$as_echo "$ac_try_echo") >&5
18867 (eval "$ac_link") 2>conftest.er1
18868 ac_status=$?
18869 grep -v '^ *+' conftest.er1 >conftest.err
18870 rm -f conftest.er1
18871 cat conftest.err >&5
18872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } && {
18874 test -z "$ac_c_werror_flag" ||
18875 test ! -s conftest.err
18876 } && test -s conftest$ac_exeext && {
18877 test "$cross_compiling" = yes ||
18878 $as_test_x conftest$ac_exeext
18879 }; then
11254 ac_cv_lib_dgc_dg_sys_info=yes 18880 ac_cv_lib_dgc_dg_sys_info=yes
11255else 18881else
11256 ac_cv_lib_dgc_dg_sys_info=no 18882 $as_echo "$as_me: failed program was:" >&5
18883sed 's/^/| /' conftest.$ac_ext >&5
18884
18885 ac_cv_lib_dgc_dg_sys_info=no
11257fi 18886fi
11258rm -f core conftest.err conftest.$ac_objext \ 18887
11259 conftest$ac_exeext conftest.$ac_ext 18888rm -rf conftest.dSYM
18889rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18890 conftest$ac_exeext conftest.$ac_ext
11260LIBS=$ac_check_lib_save_LIBS 18891LIBS=$ac_check_lib_save_LIBS
11261fi 18892fi
11262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 18893{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
11263$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 18894$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
11264if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 18895if test $ac_cv_lib_dgc_dg_sys_info = yes; then
11265 cat >>confdefs.h <<_ACEOF 18896 cat >>confdefs.h <<_ACEOF
11266#define HAVE_LIBDGC 1 18897#define HAVE_LIBDGC 1
11267_ACEOF 18898_ACEOF
@@ -11274,18 +18905,230 @@ fi
11274 18905
11275 18906
11276 18907
11277ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 18908if test "${ac_cv_header_locale_h+set}" = set; then
11278if test "x$ac_cv_header_locale_h" = x""yes; then : 18909 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5
18910$as_echo_n "checking for locale.h... " >&6; }
18911if test "${ac_cv_header_locale_h+set}" = set; then
18912 $as_echo_n "(cached) " >&6
18913fi
18914{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
18915$as_echo "$ac_cv_header_locale_h" >&6; }
18916else
18917 # Is the header compilable?
18918{ $as_echo "$as_me:$LINENO: checking locale.h usability" >&5
18919$as_echo_n "checking locale.h usability... " >&6; }
18920cat >conftest.$ac_ext <<_ACEOF
18921/* confdefs.h. */
18922_ACEOF
18923cat confdefs.h >>conftest.$ac_ext
18924cat >>conftest.$ac_ext <<_ACEOF
18925/* end confdefs.h. */
18926$ac_includes_default
18927#include <locale.h>
18928_ACEOF
18929rm -f conftest.$ac_objext
18930if { (ac_try="$ac_compile"
18931case "(($ac_try" in
18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18933 *) ac_try_echo=$ac_try;;
18934esac
18935eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18936$as_echo "$ac_try_echo") >&5
18937 (eval "$ac_compile") 2>conftest.er1
18938 ac_status=$?
18939 grep -v '^ *+' conftest.er1 >conftest.err
18940 rm -f conftest.er1
18941 cat conftest.err >&5
18942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } && {
18944 test -z "$ac_c_werror_flag" ||
18945 test ! -s conftest.err
18946 } && test -s conftest.$ac_objext; then
18947 ac_header_compiler=yes
18948else
18949 $as_echo "$as_me: failed program was:" >&5
18950sed 's/^/| /' conftest.$ac_ext >&5
11279 18951
18952 ac_header_compiler=no
11280fi 18953fi
11281 18954
18955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18956{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18957$as_echo "$ac_header_compiler" >&6; }
18958
18959# Is the header present?
18960{ $as_echo "$as_me:$LINENO: checking locale.h presence" >&5
18961$as_echo_n "checking locale.h presence... " >&6; }
18962cat >conftest.$ac_ext <<_ACEOF
18963/* confdefs.h. */
18964_ACEOF
18965cat confdefs.h >>conftest.$ac_ext
18966cat >>conftest.$ac_ext <<_ACEOF
18967/* end confdefs.h. */
18968#include <locale.h>
18969_ACEOF
18970if { (ac_try="$ac_cpp conftest.$ac_ext"
18971case "(($ac_try" in
18972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18973 *) ac_try_echo=$ac_try;;
18974esac
18975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18976$as_echo "$ac_try_echo") >&5
18977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18978 ac_status=$?
18979 grep -v '^ *+' conftest.er1 >conftest.err
18980 rm -f conftest.er1
18981 cat conftest.err >&5
18982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } >/dev/null && {
18984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18985 test ! -s conftest.err
18986 }; then
18987 ac_header_preproc=yes
18988else
18989 $as_echo "$as_me: failed program was:" >&5
18990sed 's/^/| /' conftest.$ac_ext >&5
18991
18992 ac_header_preproc=no
18993fi
18994
18995rm -f conftest.err conftest.$ac_ext
18996{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18997$as_echo "$ac_header_preproc" >&6; }
18998
18999# So? What about this header?
19000case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19001 yes:no: )
19002 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
19003$as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19004 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
19005$as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
19006 ac_header_preproc=yes
19007 ;;
19008 no:yes:* )
19009 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
19010$as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
19011 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
19012$as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
19013 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
19014$as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
19015 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
19016$as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
19017 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
19018$as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
19019 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
19020$as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
19021
19022 ;;
19023esac
19024{ $as_echo "$as_me:$LINENO: checking for locale.h" >&5
19025$as_echo_n "checking for locale.h... " >&6; }
19026if test "${ac_cv_header_locale_h+set}" = set; then
19027 $as_echo_n "(cached) " >&6
19028else
19029 ac_cv_header_locale_h=$ac_header_preproc
19030fi
19031{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19032$as_echo "$ac_cv_header_locale_h" >&6; }
19033
19034fi
19035
19036
11282 19037
11283for ac_func in setlocale 19038for ac_func in setlocale
11284do : 19039do
11285 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 19040as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11286if test "x$ac_cv_func_setlocale" = x""yes; then : 19041{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19042$as_echo_n "checking for $ac_func... " >&6; }
19043if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19044 $as_echo_n "(cached) " >&6
19045else
19046 cat >conftest.$ac_ext <<_ACEOF
19047/* confdefs.h. */
19048_ACEOF
19049cat confdefs.h >>conftest.$ac_ext
19050cat >>conftest.$ac_ext <<_ACEOF
19051/* end confdefs.h. */
19052/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19054#define $ac_func innocuous_$ac_func
19055
19056/* System header to define __stub macros and hopefully few prototypes,
19057 which can conflict with char $ac_func (); below.
19058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19059 <limits.h> exists even on freestanding compilers. */
19060
19061#ifdef __STDC__
19062# include <limits.h>
19063#else
19064# include <assert.h>
19065#endif
19066
19067#undef $ac_func
19068
19069/* Override any GCC internal prototype to avoid an error.
19070 Use char because int might match the return type of a GCC
19071 builtin and then its argument prototype would still apply. */
19072#ifdef __cplusplus
19073extern "C"
19074#endif
19075char $ac_func ();
19076/* The GNU C library defines this for functions which it implements
19077 to always fail with ENOSYS. Some functions are actually named
19078 something starting with __ and the normal name is an alias. */
19079#if defined __stub_$ac_func || defined __stub___$ac_func
19080choke me
19081#endif
19082
19083int
19084main ()
19085{
19086return $ac_func ();
19087 ;
19088 return 0;
19089}
19090_ACEOF
19091rm -f conftest.$ac_objext conftest$ac_exeext
19092if { (ac_try="$ac_link"
19093case "(($ac_try" in
19094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19095 *) ac_try_echo=$ac_try;;
19096esac
19097eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19098$as_echo "$ac_try_echo") >&5
19099 (eval "$ac_link") 2>conftest.er1
19100 ac_status=$?
19101 grep -v '^ *+' conftest.er1 >conftest.err
19102 rm -f conftest.er1
19103 cat conftest.err >&5
19104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && {
19106 test -z "$ac_c_werror_flag" ||
19107 test ! -s conftest.err
19108 } && test -s conftest$ac_exeext && {
19109 test "$cross_compiling" = yes ||
19110 $as_test_x conftest$ac_exeext
19111 }; then
19112 eval "$as_ac_var=yes"
19113else
19114 $as_echo "$as_me: failed program was:" >&5
19115sed 's/^/| /' conftest.$ac_ext >&5
19116
19117 eval "$as_ac_var=no"
19118fi
19119
19120rm -rf conftest.dSYM
19121rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19122 conftest$ac_exeext conftest.$ac_ext
19123fi
19124ac_res=`eval 'as_val=${'$as_ac_var'}
19125 $as_echo "$as_val"'`
19126 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19127$as_echo "$ac_res" >&6; }
19128if test `eval 'as_val=${'$as_ac_var'}
19129 $as_echo "$as_val"'` = yes; then
11287 cat >>confdefs.h <<_ACEOF 19130 cat >>confdefs.h <<_ACEOF
11288#define HAVE_SETLOCALE 1 19131#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11289_ACEOF 19132_ACEOF
11290 19133
11291fi 19134fi
@@ -11298,19 +19141,151 @@ done
11298if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 19141if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
11299 ac_have_func=yes 19142 ac_have_func=yes
11300 19143
11301$as_echo "#define SVR4 1" >>confdefs.h 19144cat >>confdefs.h <<\_ACEOF
19145#define SVR4 1
19146_ACEOF
11302 19147
11303fi 19148fi
11304 19149
11305if test $ac_have_func = no; then 19150if test $ac_have_func = no; then
11306 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 19151 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11307if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 19152 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
19153$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19154if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19155 $as_echo_n "(cached) " >&6
19156fi
19157{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19158$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19159else
19160 # Is the header compilable?
19161{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
19162$as_echo_n "checking inq_stats/cpustats.h usability... " >&6; }
19163cat >conftest.$ac_ext <<_ACEOF
19164/* confdefs.h. */
19165_ACEOF
19166cat confdefs.h >>conftest.$ac_ext
19167cat >>conftest.$ac_ext <<_ACEOF
19168/* end confdefs.h. */
19169$ac_includes_default
19170#include <inq_stats/cpustats.h>
19171_ACEOF
19172rm -f conftest.$ac_objext
19173if { (ac_try="$ac_compile"
19174case "(($ac_try" in
19175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19176 *) ac_try_echo=$ac_try;;
19177esac
19178eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19179$as_echo "$ac_try_echo") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19181 ac_status=$?
19182 grep -v '^ *+' conftest.er1 >conftest.err
19183 rm -f conftest.er1
19184 cat conftest.err >&5
19185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } && {
19187 test -z "$ac_c_werror_flag" ||
19188 test ! -s conftest.err
19189 } && test -s conftest.$ac_objext; then
19190 ac_header_compiler=yes
19191else
19192 $as_echo "$as_me: failed program was:" >&5
19193sed 's/^/| /' conftest.$ac_ext >&5
19194
19195 ac_header_compiler=no
19196fi
19197
19198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19199{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19200$as_echo "$ac_header_compiler" >&6; }
19201
19202# Is the header present?
19203{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
19204$as_echo_n "checking inq_stats/cpustats.h presence... " >&6; }
19205cat >conftest.$ac_ext <<_ACEOF
19206/* confdefs.h. */
19207_ACEOF
19208cat confdefs.h >>conftest.$ac_ext
19209cat >>conftest.$ac_ext <<_ACEOF
19210/* end confdefs.h. */
19211#include <inq_stats/cpustats.h>
19212_ACEOF
19213if { (ac_try="$ac_cpp conftest.$ac_ext"
19214case "(($ac_try" in
19215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19217esac
19218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19219$as_echo "$ac_try_echo") >&5
19220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19221 ac_status=$?
19222 grep -v '^ *+' conftest.er1 >conftest.err
19223 rm -f conftest.er1
19224 cat conftest.err >&5
19225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } >/dev/null && {
19227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19228 test ! -s conftest.err
19229 }; then
19230 ac_header_preproc=yes
19231else
19232 $as_echo "$as_me: failed program was:" >&5
19233sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ac_header_preproc=no
19236fi
19237
19238rm -f conftest.err conftest.$ac_ext
19239{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19240$as_echo "$ac_header_preproc" >&6; }
19241
19242# So? What about this header?
19243case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19244 yes:no: )
19245 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19246$as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19247 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
19248$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
19249 ac_header_preproc=yes
19250 ;;
19251 no:yes:* )
19252 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
19253$as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
19254 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
19255$as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
19256 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
19257$as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
19258 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19259$as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19260 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
19261$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
19262 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
19263$as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
19264
19265 ;;
19266esac
19267{ $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
19268$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19269if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19270 $as_echo_n "(cached) " >&6
19271else
19272 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
19273fi
19274{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19275$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19276
19277fi
19278if test $ac_cv_header_inq_stats_cpustats_h = yes; then
11308 ac_have_func=yes 19279 ac_have_func=yes
11309 19280
11310$as_echo "#define UMAX 1" >>confdefs.h 19281cat >>confdefs.h <<\_ACEOF
19282#define UMAX 1
19283_ACEOF
11311 19284
11312 19285
11313$as_echo "#define UMAX4_3 1" >>confdefs.h 19286cat >>confdefs.h <<\_ACEOF
19287#define UMAX4_3 1
19288_ACEOF
11314 19289
11315fi 19290fi
11316 19291
@@ -11318,9 +19293,137 @@ fi
11318fi 19293fi
11319 19294
11320if test $ac_have_func = no; then 19295if test $ac_have_func = no; then
11321 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 19296 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11322if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 19297 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11323 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 19298$as_echo_n "checking for sys/cpustats.h... " >&6; }
19299if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19300 $as_echo_n "(cached) " >&6
19301fi
19302{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19303$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19304else
19305 # Is the header compilable?
19306{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
19307$as_echo_n "checking sys/cpustats.h usability... " >&6; }
19308cat >conftest.$ac_ext <<_ACEOF
19309/* confdefs.h. */
19310_ACEOF
19311cat confdefs.h >>conftest.$ac_ext
19312cat >>conftest.$ac_ext <<_ACEOF
19313/* end confdefs.h. */
19314$ac_includes_default
19315#include <sys/cpustats.h>
19316_ACEOF
19317rm -f conftest.$ac_objext
19318if { (ac_try="$ac_compile"
19319case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322esac
19323eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19324$as_echo "$ac_try_echo") >&5
19325 (eval "$ac_compile") 2>conftest.er1
19326 ac_status=$?
19327 grep -v '^ *+' conftest.er1 >conftest.err
19328 rm -f conftest.er1
19329 cat conftest.err >&5
19330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } && {
19332 test -z "$ac_c_werror_flag" ||
19333 test ! -s conftest.err
19334 } && test -s conftest.$ac_objext; then
19335 ac_header_compiler=yes
19336else
19337 $as_echo "$as_me: failed program was:" >&5
19338sed 's/^/| /' conftest.$ac_ext >&5
19339
19340 ac_header_compiler=no
19341fi
19342
19343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19345$as_echo "$ac_header_compiler" >&6; }
19346
19347# Is the header present?
19348{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
19349$as_echo_n "checking sys/cpustats.h presence... " >&6; }
19350cat >conftest.$ac_ext <<_ACEOF
19351/* confdefs.h. */
19352_ACEOF
19353cat confdefs.h >>conftest.$ac_ext
19354cat >>conftest.$ac_ext <<_ACEOF
19355/* end confdefs.h. */
19356#include <sys/cpustats.h>
19357_ACEOF
19358if { (ac_try="$ac_cpp conftest.$ac_ext"
19359case "(($ac_try" in
19360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19361 *) ac_try_echo=$ac_try;;
19362esac
19363eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19364$as_echo "$ac_try_echo") >&5
19365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19366 ac_status=$?
19367 grep -v '^ *+' conftest.er1 >conftest.err
19368 rm -f conftest.er1
19369 cat conftest.err >&5
19370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } >/dev/null && {
19372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19373 test ! -s conftest.err
19374 }; then
19375 ac_header_preproc=yes
19376else
19377 $as_echo "$as_me: failed program was:" >&5
19378sed 's/^/| /' conftest.$ac_ext >&5
19379
19380 ac_header_preproc=no
19381fi
19382
19383rm -f conftest.err conftest.$ac_ext
19384{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19385$as_echo "$ac_header_preproc" >&6; }
19386
19387# So? What about this header?
19388case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19389 yes:no: )
19390 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19391$as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19392 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
19393$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
19394 ac_header_preproc=yes
19395 ;;
19396 no:yes:* )
19397 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
19398$as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
19399 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
19400$as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
19401 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
19402$as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
19403 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19404$as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19405 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
19406$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
19407 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
19408$as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
19409
19410 ;;
19411esac
19412{ $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
19413$as_echo_n "checking for sys/cpustats.h... " >&6; }
19414if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19415 $as_echo_n "(cached) " >&6
19416else
19417 ac_cv_header_sys_cpustats_h=$ac_header_preproc
19418fi
19419{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19420$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19421
19422fi
19423if test $ac_cv_header_sys_cpustats_h = yes; then
19424 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
19425#define UMAX 1
19426_ACEOF
11324 19427
11325fi 19428fi
11326 19429
@@ -11328,12 +19431,145 @@ fi
11328fi 19431fi
11329 19432
11330if test $ac_have_func = no; then 19433if test $ac_have_func = no; then
11331 for ac_header in mach/mach.h 19434
11332do : 19435for ac_header in mach/mach.h
11333 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 19436do
11334if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 19437as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19438if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19439 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19440$as_echo_n "checking for $ac_header... " >&6; }
19441if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19442 $as_echo_n "(cached) " >&6
19443fi
19444ac_res=`eval 'as_val=${'$as_ac_Header'}
19445 $as_echo "$as_val"'`
19446 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19447$as_echo "$ac_res" >&6; }
19448else
19449 # Is the header compilable?
19450{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19451$as_echo_n "checking $ac_header usability... " >&6; }
19452cat >conftest.$ac_ext <<_ACEOF
19453/* confdefs.h. */
19454_ACEOF
19455cat confdefs.h >>conftest.$ac_ext
19456cat >>conftest.$ac_ext <<_ACEOF
19457/* end confdefs.h. */
19458$ac_includes_default
19459#include <$ac_header>
19460_ACEOF
19461rm -f conftest.$ac_objext
19462if { (ac_try="$ac_compile"
19463case "(($ac_try" in
19464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19465 *) ac_try_echo=$ac_try;;
19466esac
19467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19468$as_echo "$ac_try_echo") >&5
19469 (eval "$ac_compile") 2>conftest.er1
19470 ac_status=$?
19471 grep -v '^ *+' conftest.er1 >conftest.err
19472 rm -f conftest.er1
19473 cat conftest.err >&5
19474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } && {
19476 test -z "$ac_c_werror_flag" ||
19477 test ! -s conftest.err
19478 } && test -s conftest.$ac_objext; then
19479 ac_header_compiler=yes
19480else
19481 $as_echo "$as_me: failed program was:" >&5
19482sed 's/^/| /' conftest.$ac_ext >&5
19483
19484 ac_header_compiler=no
19485fi
19486
19487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19489$as_echo "$ac_header_compiler" >&6; }
19490
19491# Is the header present?
19492{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19493$as_echo_n "checking $ac_header presence... " >&6; }
19494cat >conftest.$ac_ext <<_ACEOF
19495/* confdefs.h. */
19496_ACEOF
19497cat confdefs.h >>conftest.$ac_ext
19498cat >>conftest.$ac_ext <<_ACEOF
19499/* end confdefs.h. */
19500#include <$ac_header>
19501_ACEOF
19502if { (ac_try="$ac_cpp conftest.$ac_ext"
19503case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506esac
19507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19508$as_echo "$ac_try_echo") >&5
19509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19510 ac_status=$?
19511 grep -v '^ *+' conftest.er1 >conftest.err
19512 rm -f conftest.er1
19513 cat conftest.err >&5
19514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } >/dev/null && {
19516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19517 test ! -s conftest.err
19518 }; then
19519 ac_header_preproc=yes
19520else
19521 $as_echo "$as_me: failed program was:" >&5
19522sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 ac_header_preproc=no
19525fi
19526
19527rm -f conftest.err conftest.$ac_ext
19528{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19529$as_echo "$ac_header_preproc" >&6; }
19530
19531# So? What about this header?
19532case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19533 yes:no: )
19534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19535$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19537$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19538 ac_header_preproc=yes
19539 ;;
19540 no:yes:* )
19541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19542$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19544$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19546$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19548$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19550$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19552$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19553
19554 ;;
19555esac
19556{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19557$as_echo_n "checking for $ac_header... " >&6; }
19558if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19559 $as_echo_n "(cached) " >&6
19560else
19561 eval "$as_ac_Header=\$ac_header_preproc"
19562fi
19563ac_res=`eval 'as_val=${'$as_ac_Header'}
19564 $as_echo "$as_val"'`
19565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19566$as_echo "$ac_res" >&6; }
19567
19568fi
19569if test `eval 'as_val=${'$as_ac_Header'}
19570 $as_echo "$as_val"'` = yes; then
11335 cat >>confdefs.h <<_ACEOF 19571 cat >>confdefs.h <<_ACEOF
11336#define HAVE_MACH_MACH_H 1 19572#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11337_ACEOF 19573_ACEOF
11338 19574
11339fi 19575fi
@@ -11342,23 +19578,253 @@ done
11342 19578
11343fi 19579fi
11344 19580
19581
11345for ac_header in nlist.h 19582for ac_header in nlist.h
11346do : 19583do
11347 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 19584as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11348if test "x$ac_cv_header_nlist_h" = x""yes; then : 19585if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19586 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19587$as_echo_n "checking for $ac_header... " >&6; }
19588if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19589 $as_echo_n "(cached) " >&6
19590fi
19591ac_res=`eval 'as_val=${'$as_ac_Header'}
19592 $as_echo "$as_val"'`
19593 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19594$as_echo "$ac_res" >&6; }
19595else
19596 # Is the header compilable?
19597{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19598$as_echo_n "checking $ac_header usability... " >&6; }
19599cat >conftest.$ac_ext <<_ACEOF
19600/* confdefs.h. */
19601_ACEOF
19602cat confdefs.h >>conftest.$ac_ext
19603cat >>conftest.$ac_ext <<_ACEOF
19604/* end confdefs.h. */
19605$ac_includes_default
19606#include <$ac_header>
19607_ACEOF
19608rm -f conftest.$ac_objext
19609if { (ac_try="$ac_compile"
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_compile") 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_objext; then
19626 ac_header_compiler=yes
19627else
19628 $as_echo "$as_me: failed program was:" >&5
19629sed 's/^/| /' conftest.$ac_ext >&5
19630
19631 ac_header_compiler=no
19632fi
19633
19634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19635{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19636$as_echo "$ac_header_compiler" >&6; }
19637
19638# Is the header present?
19639{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19640$as_echo_n "checking $ac_header presence... " >&6; }
19641cat >conftest.$ac_ext <<_ACEOF
19642/* confdefs.h. */
19643_ACEOF
19644cat confdefs.h >>conftest.$ac_ext
19645cat >>conftest.$ac_ext <<_ACEOF
19646/* end confdefs.h. */
19647#include <$ac_header>
19648_ACEOF
19649if { (ac_try="$ac_cpp conftest.$ac_ext"
19650case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653esac
19654eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19655$as_echo "$ac_try_echo") >&5
19656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19657 ac_status=$?
19658 grep -v '^ *+' conftest.er1 >conftest.err
19659 rm -f conftest.er1
19660 cat conftest.err >&5
19661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } >/dev/null && {
19663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19664 test ! -s conftest.err
19665 }; then
19666 ac_header_preproc=yes
19667else
19668 $as_echo "$as_me: failed program was:" >&5
19669sed 's/^/| /' conftest.$ac_ext >&5
19670
19671 ac_header_preproc=no
19672fi
19673
19674rm -f conftest.err conftest.$ac_ext
19675{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19676$as_echo "$ac_header_preproc" >&6; }
19677
19678# So? What about this header?
19679case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19680 yes:no: )
19681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19682$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19684$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19685 ac_header_preproc=yes
19686 ;;
19687 no:yes:* )
19688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19689$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19691$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19693$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19695$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19697$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19699$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19700
19701 ;;
19702esac
19703{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19704$as_echo_n "checking for $ac_header... " >&6; }
19705if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19706 $as_echo_n "(cached) " >&6
19707else
19708 eval "$as_ac_Header=\$ac_header_preproc"
19709fi
19710ac_res=`eval 'as_val=${'$as_ac_Header'}
19711 $as_echo "$as_val"'`
19712 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19713$as_echo "$ac_res" >&6; }
19714
19715fi
19716if test `eval 'as_val=${'$as_ac_Header'}
19717 $as_echo "$as_val"'` = yes; then
11349 cat >>confdefs.h <<_ACEOF 19718 cat >>confdefs.h <<_ACEOF
11350#define HAVE_NLIST_H 1 19719#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11351_ACEOF 19720_ACEOF
11352 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 19721 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
11353" 19722$as_echo_n "checking for struct nlist.n_un.n_name... " >&6; }
11354if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 19723if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
19724 $as_echo_n "(cached) " >&6
19725else
19726 cat >conftest.$ac_ext <<_ACEOF
19727/* confdefs.h. */
19728_ACEOF
19729cat confdefs.h >>conftest.$ac_ext
19730cat >>conftest.$ac_ext <<_ACEOF
19731/* end confdefs.h. */
19732#include <nlist.h>
19733
19734int
19735main ()
19736{
19737static struct nlist ac_aggr;
19738if (ac_aggr.n_un.n_name)
19739return 0;
19740 ;
19741 return 0;
19742}
19743_ACEOF
19744rm -f conftest.$ac_objext
19745if { (ac_try="$ac_compile"
19746case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749esac
19750eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19751$as_echo "$ac_try_echo") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19753 ac_status=$?
19754 grep -v '^ *+' conftest.er1 >conftest.err
19755 rm -f conftest.er1
19756 cat conftest.err >&5
19757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_cv_member_struct_nlist_n_un_n_name=yes
19763else
19764 $as_echo "$as_me: failed program was:" >&5
19765sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 cat >conftest.$ac_ext <<_ACEOF
19768/* confdefs.h. */
19769_ACEOF
19770cat confdefs.h >>conftest.$ac_ext
19771cat >>conftest.$ac_ext <<_ACEOF
19772/* end confdefs.h. */
19773#include <nlist.h>
19774
19775int
19776main ()
19777{
19778static struct nlist ac_aggr;
19779if (sizeof ac_aggr.n_un.n_name)
19780return 0;
19781 ;
19782 return 0;
19783}
19784_ACEOF
19785rm -f conftest.$ac_objext
19786if { (ac_try="$ac_compile"
19787case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790esac
19791eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19792$as_echo "$ac_try_echo") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 ac_cv_member_struct_nlist_n_un_n_name=yes
19804else
19805 $as_echo "$as_me: failed program was:" >&5
19806sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 ac_cv_member_struct_nlist_n_un_n_name=no
19809fi
19810
19811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812fi
19813
19814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815fi
19816{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
19817$as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
19818if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
11355 19819
11356cat >>confdefs.h <<_ACEOF 19820cat >>confdefs.h <<_ACEOF
11357#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 19821#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
11358_ACEOF 19822_ACEOF
11359 19823
11360 19824
11361$as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h 19825cat >>confdefs.h <<\_ACEOF
19826#define NLIST_NAME_UNION 1
19827_ACEOF
11362 19828
11363fi 19829fi
11364 19830
@@ -11372,12 +19838,16 @@ done
11372 19838
11373 19839
11374# Some definitions of getloadavg require that the program be installed setgid. 19840# Some definitions of getloadavg require that the program be installed setgid.
11375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 19841{ $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
11376$as_echo_n "checking whether getloadavg requires setgid... " >&6; } 19842$as_echo_n "checking whether getloadavg requires setgid... " >&6; }
11377if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 19843if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
11378 $as_echo_n "(cached) " >&6 19844 $as_echo_n "(cached) " >&6
11379else 19845else
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19846 cat >conftest.$ac_ext <<_ACEOF
19847/* confdefs.h. */
19848_ACEOF
19849cat confdefs.h >>conftest.$ac_ext
19850cat >>conftest.$ac_ext <<_ACEOF
11381/* end confdefs.h. */ 19851/* end confdefs.h. */
11382#include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 19852#include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
11383#ifdef LDAV_PRIVILEGED 19853#ifdef LDAV_PRIVILEGED
@@ -11385,7 +19855,7 @@ Yowza Am I SETGID yet
11385#endif 19855#endif
11386_ACEOF 19856_ACEOF
11387if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 19857if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11388 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : 19858 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then
11389 ac_cv_func_getloadavg_setgid=yes 19859 ac_cv_func_getloadavg_setgid=yes
11390else 19860else
11391 ac_cv_func_getloadavg_setgid=no 19861 ac_cv_func_getloadavg_setgid=no
@@ -11393,21 +19863,23 @@ fi
11393rm -f conftest* 19863rm -f conftest*
11394 19864
11395fi 19865fi
11396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 19866{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
11397$as_echo "$ac_cv_func_getloadavg_setgid" >&6; } 19867$as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
11398if test $ac_cv_func_getloadavg_setgid = yes; then 19868if test $ac_cv_func_getloadavg_setgid = yes; then
11399 NEED_SETGID=true 19869 NEED_SETGID=true
11400 19870
11401$as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h 19871cat >>confdefs.h <<\_ACEOF
19872#define GETLOADAVG_PRIVILEGED 1
19873_ACEOF
11402 19874
11403else 19875else
11404 NEED_SETGID=false 19876 NEED_SETGID=false
11405fi 19877fi
11406 19878
11407if test $ac_cv_func_getloadavg_setgid = yes; then 19879if test $ac_cv_func_getloadavg_setgid = yes; then
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 19880 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
11409$as_echo_n "checking group of /dev/kmem... " >&6; } 19881$as_echo_n "checking group of /dev/kmem... " >&6; }
11410if test "${ac_cv_group_kmem+set}" = set; then : 19882if test "${ac_cv_group_kmem+set}" = set; then
11411 $as_echo_n "(cached) " >&6 19883 $as_echo_n "(cached) " >&6
11412else 19884else
11413 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 19885 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
@@ -11420,7 +19892,7 @@ else
11420 / /s/.* //;p;'` 19892 / /s/.* //;p;'`
11421 19893
11422fi 19894fi
11423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 19895{ $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
11424$as_echo "$ac_cv_group_kmem" >&6; } 19896$as_echo "$ac_cv_group_kmem" >&6; }
11425 KMEM_GROUP=$ac_cv_group_kmem 19897 KMEM_GROUP=$ac_cv_group_kmem
11426fi 19898fi
@@ -11433,13 +19905,17 @@ LIBS=$ac_save_LIBS
11433 19905
11434 19906
11435 19907
11436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 19908{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
11437$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 19909$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
11438if test "${ac_cv_sys_largefile_source+set}" = set; then : 19910if test "${ac_cv_sys_largefile_source+set}" = set; then
11439 $as_echo_n "(cached) " >&6 19911 $as_echo_n "(cached) " >&6
11440else 19912else
11441 while :; do 19913 while :; do
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19914 cat >conftest.$ac_ext <<_ACEOF
19915/* confdefs.h. */
19916_ACEOF
19917cat confdefs.h >>conftest.$ac_ext
19918cat >>conftest.$ac_ext <<_ACEOF
11443/* end confdefs.h. */ 19919/* end confdefs.h. */
11444#include <sys/types.h> /* for off_t */ 19920#include <sys/types.h> /* for off_t */
11445 #include <stdio.h> 19921 #include <stdio.h>
@@ -11452,12 +19928,43 @@ int (*fp) (FILE *, off_t, int) = fseeko;
11452 return 0; 19928 return 0;
11453} 19929}
11454_ACEOF 19930_ACEOF
11455if ac_fn_c_try_link "$LINENO"; then : 19931rm -f conftest.$ac_objext conftest$ac_exeext
19932if { (ac_try="$ac_link"
19933case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19936esac
19937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19938$as_echo "$ac_try_echo") >&5
19939 (eval "$ac_link") 2>conftest.er1
19940 ac_status=$?
19941 grep -v '^ *+' conftest.er1 >conftest.err
19942 rm -f conftest.er1
19943 cat conftest.err >&5
19944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } && {
19946 test -z "$ac_c_werror_flag" ||
19947 test ! -s conftest.err
19948 } && test -s conftest$ac_exeext && {
19949 test "$cross_compiling" = yes ||
19950 $as_test_x conftest$ac_exeext
19951 }; then
11456 ac_cv_sys_largefile_source=no; break 19952 ac_cv_sys_largefile_source=no; break
19953else
19954 $as_echo "$as_me: failed program was:" >&5
19955sed 's/^/| /' conftest.$ac_ext >&5
19956
19957
11457fi 19958fi
11458rm -f core conftest.err conftest.$ac_objext \ 19959
11459 conftest$ac_exeext conftest.$ac_ext 19960rm -rf conftest.dSYM
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19961rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19962 conftest$ac_exeext conftest.$ac_ext
19963 cat >conftest.$ac_ext <<_ACEOF
19964/* confdefs.h. */
19965_ACEOF
19966cat confdefs.h >>conftest.$ac_ext
19967cat >>conftest.$ac_ext <<_ACEOF
11461/* end confdefs.h. */ 19968/* end confdefs.h. */
11462#define _LARGEFILE_SOURCE 1 19969#define _LARGEFILE_SOURCE 1
11463#include <sys/types.h> /* for off_t */ 19970#include <sys/types.h> /* for off_t */
@@ -11471,16 +19978,43 @@ int (*fp) (FILE *, off_t, int) = fseeko;
11471 return 0; 19978 return 0;
11472} 19979}
11473_ACEOF 19980_ACEOF
11474if ac_fn_c_try_link "$LINENO"; then : 19981rm -f conftest.$ac_objext conftest$ac_exeext
19982if { (ac_try="$ac_link"
19983case "(($ac_try" in
19984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19985 *) ac_try_echo=$ac_try;;
19986esac
19987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19988$as_echo "$ac_try_echo") >&5
19989 (eval "$ac_link") 2>conftest.er1
19990 ac_status=$?
19991 grep -v '^ *+' conftest.er1 >conftest.err
19992 rm -f conftest.er1
19993 cat conftest.err >&5
19994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } && {
19996 test -z "$ac_c_werror_flag" ||
19997 test ! -s conftest.err
19998 } && test -s conftest$ac_exeext && {
19999 test "$cross_compiling" = yes ||
20000 $as_test_x conftest$ac_exeext
20001 }; then
11475 ac_cv_sys_largefile_source=1; break 20002 ac_cv_sys_largefile_source=1; break
20003else
20004 $as_echo "$as_me: failed program was:" >&5
20005sed 's/^/| /' conftest.$ac_ext >&5
20006
20007
11476fi 20008fi
11477rm -f core conftest.err conftest.$ac_objext \ 20009
11478 conftest$ac_exeext conftest.$ac_ext 20010rm -rf conftest.dSYM
20011rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20012 conftest$ac_exeext conftest.$ac_ext
11479 ac_cv_sys_largefile_source=unknown 20013 ac_cv_sys_largefile_source=unknown
11480 break 20014 break
11481done 20015done
11482fi 20016fi
11483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 20017{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
11484$as_echo "$ac_cv_sys_largefile_source" >&6; } 20018$as_echo "$ac_cv_sys_largefile_source" >&6; }
11485case $ac_cv_sys_largefile_source in #( 20019case $ac_cv_sys_largefile_source in #(
11486 no | unknown) ;; 20020 no | unknown) ;;
@@ -11497,7 +20031,9 @@ rm -rf conftest*
11497# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 20031# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11498if test $ac_cv_sys_largefile_source != unknown; then 20032if test $ac_cv_sys_largefile_source != unknown; then
11499 20033
11500$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 20034cat >>confdefs.h <<\_ACEOF
20035#define HAVE_FSEEKO 1
20036_ACEOF
11501 20037
11502fi 20038fi
11503 20039
@@ -11525,12 +20061,145 @@ fi
11525 20061
11526 20062
11527 GETOPT_H= 20063 GETOPT_H=
11528 for ac_header in getopt.h 20064
11529do : 20065for ac_header in getopt.h
11530 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 20066do
11531if test "x$ac_cv_header_getopt_h" = x""yes; then : 20067as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20068if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20069 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20070$as_echo_n "checking for $ac_header... " >&6; }
20071if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20072 $as_echo_n "(cached) " >&6
20073fi
20074ac_res=`eval 'as_val=${'$as_ac_Header'}
20075 $as_echo "$as_val"'`
20076 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20077$as_echo "$ac_res" >&6; }
20078else
20079 # Is the header compilable?
20080{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20081$as_echo_n "checking $ac_header usability... " >&6; }
20082cat >conftest.$ac_ext <<_ACEOF
20083/* confdefs.h. */
20084_ACEOF
20085cat confdefs.h >>conftest.$ac_ext
20086cat >>conftest.$ac_ext <<_ACEOF
20087/* end confdefs.h. */
20088$ac_includes_default
20089#include <$ac_header>
20090_ACEOF
20091rm -f conftest.$ac_objext
20092if { (ac_try="$ac_compile"
20093case "(($ac_try" in
20094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20096esac
20097eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20098$as_echo "$ac_try_echo") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20109 ac_header_compiler=yes
20110else
20111 $as_echo "$as_me: failed program was:" >&5
20112sed 's/^/| /' conftest.$ac_ext >&5
20113
20114 ac_header_compiler=no
20115fi
20116
20117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20119$as_echo "$ac_header_compiler" >&6; }
20120
20121# Is the header present?
20122{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20123$as_echo_n "checking $ac_header presence... " >&6; }
20124cat >conftest.$ac_ext <<_ACEOF
20125/* confdefs.h. */
20126_ACEOF
20127cat confdefs.h >>conftest.$ac_ext
20128cat >>conftest.$ac_ext <<_ACEOF
20129/* end confdefs.h. */
20130#include <$ac_header>
20131_ACEOF
20132if { (ac_try="$ac_cpp conftest.$ac_ext"
20133case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20136esac
20137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20138$as_echo "$ac_try_echo") >&5
20139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20140 ac_status=$?
20141 grep -v '^ *+' conftest.er1 >conftest.err
20142 rm -f conftest.er1
20143 cat conftest.err >&5
20144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } >/dev/null && {
20146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20147 test ! -s conftest.err
20148 }; then
20149 ac_header_preproc=yes
20150else
20151 $as_echo "$as_me: failed program was:" >&5
20152sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 ac_header_preproc=no
20155fi
20156
20157rm -f conftest.err conftest.$ac_ext
20158{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20159$as_echo "$ac_header_preproc" >&6; }
20160
20161# So? What about this header?
20162case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20163 yes:no: )
20164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20165$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20167$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20168 ac_header_preproc=yes
20169 ;;
20170 no:yes:* )
20171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20172$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20174$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20176$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20178$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20180$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20182$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20183
20184 ;;
20185esac
20186{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20187$as_echo_n "checking for $ac_header... " >&6; }
20188if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20189 $as_echo_n "(cached) " >&6
20190else
20191 eval "$as_ac_Header=\$ac_header_preproc"
20192fi
20193ac_res=`eval 'as_val=${'$as_ac_Header'}
20194 $as_echo "$as_val"'`
20195 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20196$as_echo "$ac_res" >&6; }
20197
20198fi
20199if test `eval 'as_val=${'$as_ac_Header'}
20200 $as_echo "$as_val"'` = yes; then
11532 cat >>confdefs.h <<_ACEOF 20201 cat >>confdefs.h <<_ACEOF
11533#define HAVE_GETOPT_H 1 20202#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11534_ACEOF 20203_ACEOF
11535 20204
11536else 20205else
@@ -11540,12 +20209,101 @@ fi
11540done 20209done
11541 20210
11542 if test -z "$GETOPT_H"; then 20211 if test -z "$GETOPT_H"; then
11543 for ac_func in getopt_long_only 20212
11544do : 20213for ac_func in getopt_long_only
11545 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 20214do
11546if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 20215as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20216{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20217$as_echo_n "checking for $ac_func... " >&6; }
20218if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20219 $as_echo_n "(cached) " >&6
20220else
20221 cat >conftest.$ac_ext <<_ACEOF
20222/* confdefs.h. */
20223_ACEOF
20224cat confdefs.h >>conftest.$ac_ext
20225cat >>conftest.$ac_ext <<_ACEOF
20226/* end confdefs.h. */
20227/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20229#define $ac_func innocuous_$ac_func
20230
20231/* System header to define __stub macros and hopefully few prototypes,
20232 which can conflict with char $ac_func (); below.
20233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20234 <limits.h> exists even on freestanding compilers. */
20235
20236#ifdef __STDC__
20237# include <limits.h>
20238#else
20239# include <assert.h>
20240#endif
20241
20242#undef $ac_func
20243
20244/* Override any GCC internal prototype to avoid an error.
20245 Use char because int might match the return type of a GCC
20246 builtin and then its argument prototype would still apply. */
20247#ifdef __cplusplus
20248extern "C"
20249#endif
20250char $ac_func ();
20251/* The GNU C library defines this for functions which it implements
20252 to always fail with ENOSYS. Some functions are actually named
20253 something starting with __ and the normal name is an alias. */
20254#if defined __stub_$ac_func || defined __stub___$ac_func
20255choke me
20256#endif
20257
20258int
20259main ()
20260{
20261return $ac_func ();
20262 ;
20263 return 0;
20264}
20265_ACEOF
20266rm -f conftest.$ac_objext conftest$ac_exeext
20267if { (ac_try="$ac_link"
20268case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20271esac
20272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20273$as_echo "$ac_try_echo") >&5
20274 (eval "$ac_link") 2>conftest.er1
20275 ac_status=$?
20276 grep -v '^ *+' conftest.er1 >conftest.err
20277 rm -f conftest.er1
20278 cat conftest.err >&5
20279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } && {
20281 test -z "$ac_c_werror_flag" ||
20282 test ! -s conftest.err
20283 } && test -s conftest$ac_exeext && {
20284 test "$cross_compiling" = yes ||
20285 $as_test_x conftest$ac_exeext
20286 }; then
20287 eval "$as_ac_var=yes"
20288else
20289 $as_echo "$as_me: failed program was:" >&5
20290sed 's/^/| /' conftest.$ac_ext >&5
20291
20292 eval "$as_ac_var=no"
20293fi
20294
20295rm -rf conftest.dSYM
20296rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20297 conftest$ac_exeext conftest.$ac_ext
20298fi
20299ac_res=`eval 'as_val=${'$as_ac_var'}
20300 $as_echo "$as_val"'`
20301 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20302$as_echo "$ac_res" >&6; }
20303if test `eval 'as_val=${'$as_ac_var'}
20304 $as_echo "$as_val"'` = yes; then
11547 cat >>confdefs.h <<_ACEOF 20305 cat >>confdefs.h <<_ACEOF
11548#define HAVE_GETOPT_LONG_ONLY 1 20306#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11549_ACEOF 20307_ACEOF
11550 20308
11551else 20309else
@@ -11556,31 +20314,139 @@ done
11556 fi 20314 fi
11557 20315
11558 if test -z "$GETOPT_H"; then 20316 if test -z "$GETOPT_H"; then
11559 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 20317 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5
11560" 20318$as_echo_n "checking whether optreset is declared... " >&6; }
11561if test "x$ac_cv_have_decl_optreset" = x""yes; then : 20319if test "${ac_cv_have_decl_optreset+set}" = set; then
20320 $as_echo_n "(cached) " >&6
20321else
20322 cat >conftest.$ac_ext <<_ACEOF
20323/* confdefs.h. */
20324_ACEOF
20325cat confdefs.h >>conftest.$ac_ext
20326cat >>conftest.$ac_ext <<_ACEOF
20327/* end confdefs.h. */
20328#include <getopt.h>
20329
20330int
20331main ()
20332{
20333#ifndef optreset
20334 (void) optreset;
20335#endif
20336
20337 ;
20338 return 0;
20339}
20340_ACEOF
20341rm -f conftest.$ac_objext
20342if { (ac_try="$ac_compile"
20343case "(($ac_try" in
20344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20345 *) ac_try_echo=$ac_try;;
20346esac
20347eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20348$as_echo "$ac_try_echo") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20350 ac_status=$?
20351 grep -v '^ *+' conftest.er1 >conftest.err
20352 rm -f conftest.er1
20353 cat conftest.err >&5
20354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.$ac_objext; then
20359 ac_cv_have_decl_optreset=yes
20360else
20361 $as_echo "$as_me: failed program was:" >&5
20362sed 's/^/| /' conftest.$ac_ext >&5
20363
20364 ac_cv_have_decl_optreset=no
20365fi
20366
20367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20368fi
20369{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
20370$as_echo "$ac_cv_have_decl_optreset" >&6; }
20371if test $ac_cv_have_decl_optreset = yes; then
11562 GETOPT_H=getopt.h 20372 GETOPT_H=getopt.h
11563fi 20373fi
11564 20374
11565 fi 20375 fi
11566 20376
11567 if test -z "$GETOPT_H"; then 20377 if test -z "$GETOPT_H"; then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 20378 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
11569$as_echo_n "checking for working GNU getopt function... " >&6; } 20379$as_echo_n "checking for working GNU getopt function... " >&6; }
11570if test "${gl_cv_func_gnu_getopt+set}" = set; then : 20380if test "${gl_cv_func_gnu_getopt+set}" = set; then
11571 $as_echo_n "(cached) " >&6 20381 $as_echo_n "(cached) " >&6
11572else 20382else
11573 if test "$cross_compiling" = yes; then : 20383 if test "$cross_compiling" = yes; then
11574 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> 20384 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
11575" 20385$as_echo_n "checking whether getopt_clip is declared... " >&6; }
11576if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : 20386if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
20387 $as_echo_n "(cached) " >&6
20388else
20389 cat >conftest.$ac_ext <<_ACEOF
20390/* confdefs.h. */
20391_ACEOF
20392cat confdefs.h >>conftest.$ac_ext
20393cat >>conftest.$ac_ext <<_ACEOF
20394/* end confdefs.h. */
20395#include <getopt.h>
20396
20397int
20398main ()
20399{
20400#ifndef getopt_clip
20401 (void) getopt_clip;
20402#endif
20403
20404 ;
20405 return 0;
20406}
20407_ACEOF
20408rm -f conftest.$ac_objext
20409if { (ac_try="$ac_compile"
20410case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20413esac
20414eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20415$as_echo "$ac_try_echo") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_cv_have_decl_getopt_clip=yes
20427else
20428 $as_echo "$as_me: failed program was:" >&5
20429sed 's/^/| /' conftest.$ac_ext >&5
20430
20431 ac_cv_have_decl_getopt_clip=no
20432fi
20433
20434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435fi
20436{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20437$as_echo "$ac_cv_have_decl_getopt_clip" >&6; }
20438if test $ac_cv_have_decl_getopt_clip = yes; then
11577 gl_cv_func_gnu_getopt=no 20439 gl_cv_func_gnu_getopt=no
11578else 20440else
11579 gl_cv_func_gnu_getopt=yes 20441 gl_cv_func_gnu_getopt=yes
11580fi 20442fi
11581 20443
11582else 20444else
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20445 cat >conftest.$ac_ext <<_ACEOF
20446/* confdefs.h. */
20447_ACEOF
20448cat confdefs.h >>conftest.$ac_ext
20449cat >>conftest.$ac_ext <<_ACEOF
11584/* end confdefs.h. */ 20450/* end confdefs.h. */
11585#include <getopt.h> 20451#include <getopt.h>
11586int 20452int
@@ -11597,17 +20463,44 @@ main ()
11597 return 0; 20463 return 0;
11598} 20464}
11599_ACEOF 20465_ACEOF
11600if ac_fn_c_try_run "$LINENO"; then : 20466rm -f conftest$ac_exeext
20467if { (ac_try="$ac_link"
20468case "(($ac_try" in
20469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20470 *) ac_try_echo=$ac_try;;
20471esac
20472eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20473$as_echo "$ac_try_echo") >&5
20474 (eval "$ac_link") 2>&5
20475 ac_status=$?
20476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20478 { (case "(($ac_try" in
20479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20480 *) ac_try_echo=$ac_try;;
20481esac
20482eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20483$as_echo "$ac_try_echo") >&5
20484 (eval "$ac_try") 2>&5
20485 ac_status=$?
20486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; }; then
11601 gl_cv_func_gnu_getopt=yes 20488 gl_cv_func_gnu_getopt=yes
11602else 20489else
11603 gl_cv_func_gnu_getopt=no 20490 $as_echo "$as_me: program exited with status $ac_status" >&5
20491$as_echo "$as_me: failed program was:" >&5
20492sed 's/^/| /' conftest.$ac_ext >&5
20493
20494( exit $ac_status )
20495gl_cv_func_gnu_getopt=no
11604fi 20496fi
11605rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20497rm -rf conftest.dSYM
11606 conftest.$ac_objext conftest.beam conftest.$ac_ext 20498rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11607fi 20499fi
11608 20500
20501
11609fi 20502fi
11610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 20503{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
11611$as_echo "$gl_cv_func_gnu_getopt" >&6; } 20504$as_echo "$gl_cv_func_gnu_getopt" >&6; }
11612 if test "$gl_cv_func_gnu_getopt" = "no"; then 20505 if test "$gl_cv_func_gnu_getopt" = "no"; then
11613 GETOPT_H=getopt.h 20506 GETOPT_H=getopt.h
@@ -11616,12 +20509,14 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; }
11616 20509
11617 20510
11618 20511
11619 if test -n "$GETOPT_H"; then : 20512 if test -n "$GETOPT_H"; then
11620 20513
11621 20514
11622 GETOPT_H=getopt.h 20515 GETOPT_H=getopt.h
11623 20516
11624$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h 20517cat >>confdefs.h <<\_ACEOF
20518#define __GETOPT_PREFIX rpl_
20519_ACEOF
11625 20520
11626 20521
11627 20522
@@ -11632,13 +20527,18 @@ fi
11632 20527
11633 20528
11634 20529
11635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 20530
20531{ $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
11636$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 20532$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
11637if test "${ac_cv_func_getpgrp_void+set}" = set; then : 20533if test "${ac_cv_func_getpgrp_void+set}" = set; then
11638 $as_echo_n "(cached) " >&6 20534 $as_echo_n "(cached) " >&6
11639else 20535else
11640 # Use it with a single arg. 20536 # Use it with a single arg.
11641cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20537cat >conftest.$ac_ext <<_ACEOF
20538/* confdefs.h. */
20539_ACEOF
20540cat confdefs.h >>conftest.$ac_ext
20541cat >>conftest.$ac_ext <<_ACEOF
11642/* end confdefs.h. */ 20542/* end confdefs.h. */
11643$ac_includes_default 20543$ac_includes_default
11644int 20544int
@@ -11649,41 +20549,157 @@ getpgrp (0);
11649 return 0; 20549 return 0;
11650} 20550}
11651_ACEOF 20551_ACEOF
11652if ac_fn_c_try_compile "$LINENO"; then : 20552rm -f conftest.$ac_objext
20553if { (ac_try="$ac_compile"
20554case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20557esac
20558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20559$as_echo "$ac_try_echo") >&5
20560 (eval "$ac_compile") 2>conftest.er1
20561 ac_status=$?
20562 grep -v '^ *+' conftest.er1 >conftest.err
20563 rm -f conftest.er1
20564 cat conftest.err >&5
20565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err
20569 } && test -s conftest.$ac_objext; then
11653 ac_cv_func_getpgrp_void=no 20570 ac_cv_func_getpgrp_void=no
11654else 20571else
11655 ac_cv_func_getpgrp_void=yes 20572 $as_echo "$as_me: failed program was:" >&5
20573sed 's/^/| /' conftest.$ac_ext >&5
20574
20575 ac_cv_func_getpgrp_void=yes
11656fi 20576fi
20577
11657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11658 20579
11659fi 20580fi
11660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 20581{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
11661$as_echo "$ac_cv_func_getpgrp_void" >&6; } 20582$as_echo "$ac_cv_func_getpgrp_void" >&6; }
11662if test $ac_cv_func_getpgrp_void = yes; then 20583if test $ac_cv_func_getpgrp_void = yes; then
11663 20584
11664$as_echo "#define GETPGRP_VOID 1" >>confdefs.h 20585cat >>confdefs.h <<\_ACEOF
20586#define GETPGRP_VOID 1
20587_ACEOF
11665 20588
11666fi 20589fi
11667 20590
11668 20591
20592
11669for ac_func in strftime 20593for ac_func in strftime
11670do : 20594do
11671 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 20595as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11672if test "x$ac_cv_func_strftime" = x""yes; then : 20596{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20597$as_echo_n "checking for $ac_func... " >&6; }
20598if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20599 $as_echo_n "(cached) " >&6
20600else
20601 cat >conftest.$ac_ext <<_ACEOF
20602/* confdefs.h. */
20603_ACEOF
20604cat confdefs.h >>conftest.$ac_ext
20605cat >>conftest.$ac_ext <<_ACEOF
20606/* end confdefs.h. */
20607/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20609#define $ac_func innocuous_$ac_func
20610
20611/* System header to define __stub macros and hopefully few prototypes,
20612 which can conflict with char $ac_func (); below.
20613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20614 <limits.h> exists even on freestanding compilers. */
20615
20616#ifdef __STDC__
20617# include <limits.h>
20618#else
20619# include <assert.h>
20620#endif
20621
20622#undef $ac_func
20623
20624/* Override any GCC internal prototype to avoid an error.
20625 Use char because int might match the return type of a GCC
20626 builtin and then its argument prototype would still apply. */
20627#ifdef __cplusplus
20628extern "C"
20629#endif
20630char $ac_func ();
20631/* The GNU C library defines this for functions which it implements
20632 to always fail with ENOSYS. Some functions are actually named
20633 something starting with __ and the normal name is an alias. */
20634#if defined __stub_$ac_func || defined __stub___$ac_func
20635choke me
20636#endif
20637
20638int
20639main ()
20640{
20641return $ac_func ();
20642 ;
20643 return 0;
20644}
20645_ACEOF
20646rm -f conftest.$ac_objext conftest$ac_exeext
20647if { (ac_try="$ac_link"
20648case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20651esac
20652eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20653$as_echo "$ac_try_echo") >&5
20654 (eval "$ac_link") 2>conftest.er1
20655 ac_status=$?
20656 grep -v '^ *+' conftest.er1 >conftest.err
20657 rm -f conftest.er1
20658 cat conftest.err >&5
20659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } && {
20661 test -z "$ac_c_werror_flag" ||
20662 test ! -s conftest.err
20663 } && test -s conftest$ac_exeext && {
20664 test "$cross_compiling" = yes ||
20665 $as_test_x conftest$ac_exeext
20666 }; then
20667 eval "$as_ac_var=yes"
20668else
20669 $as_echo "$as_me: failed program was:" >&5
20670sed 's/^/| /' conftest.$ac_ext >&5
20671
20672 eval "$as_ac_var=no"
20673fi
20674
20675rm -rf conftest.dSYM
20676rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20677 conftest$ac_exeext conftest.$ac_ext
20678fi
20679ac_res=`eval 'as_val=${'$as_ac_var'}
20680 $as_echo "$as_val"'`
20681 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20682$as_echo "$ac_res" >&6; }
20683if test `eval 'as_val=${'$as_ac_var'}
20684 $as_echo "$as_val"'` = yes; then
11673 cat >>confdefs.h <<_ACEOF 20685 cat >>confdefs.h <<_ACEOF
11674#define HAVE_STRFTIME 1 20686#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11675_ACEOF 20687_ACEOF
11676 20688
11677else 20689else
11678 # strftime is in -lintl on SCO UNIX. 20690 # strftime is in -lintl on SCO UNIX.
11679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 20691{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
11680$as_echo_n "checking for strftime in -lintl... " >&6; } 20692$as_echo_n "checking for strftime in -lintl... " >&6; }
11681if test "${ac_cv_lib_intl_strftime+set}" = set; then : 20693if test "${ac_cv_lib_intl_strftime+set}" = set; then
11682 $as_echo_n "(cached) " >&6 20694 $as_echo_n "(cached) " >&6
11683else 20695else
11684 ac_check_lib_save_LIBS=$LIBS 20696 ac_check_lib_save_LIBS=$LIBS
11685LIBS="-lintl $LIBS" 20697LIBS="-lintl $LIBS"
11686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20698cat >conftest.$ac_ext <<_ACEOF
20699/* confdefs.h. */
20700_ACEOF
20701cat confdefs.h >>conftest.$ac_ext
20702cat >>conftest.$ac_ext <<_ACEOF
11687/* end confdefs.h. */ 20703/* end confdefs.h. */
11688 20704
11689/* Override any GCC internal prototype to avoid an error. 20705/* Override any GCC internal prototype to avoid an error.
@@ -11701,19 +20717,46 @@ return strftime ();
11701 return 0; 20717 return 0;
11702} 20718}
11703_ACEOF 20719_ACEOF
11704if ac_fn_c_try_link "$LINENO"; then : 20720rm -f conftest.$ac_objext conftest$ac_exeext
20721if { (ac_try="$ac_link"
20722case "(($ac_try" in
20723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20725esac
20726eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20727$as_echo "$ac_try_echo") >&5
20728 (eval "$ac_link") 2>conftest.er1
20729 ac_status=$?
20730 grep -v '^ *+' conftest.er1 >conftest.err
20731 rm -f conftest.er1
20732 cat conftest.err >&5
20733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } && {
20735 test -z "$ac_c_werror_flag" ||
20736 test ! -s conftest.err
20737 } && test -s conftest$ac_exeext && {
20738 test "$cross_compiling" = yes ||
20739 $as_test_x conftest$ac_exeext
20740 }; then
11705 ac_cv_lib_intl_strftime=yes 20741 ac_cv_lib_intl_strftime=yes
11706else 20742else
11707 ac_cv_lib_intl_strftime=no 20743 $as_echo "$as_me: failed program was:" >&5
20744sed 's/^/| /' conftest.$ac_ext >&5
20745
20746 ac_cv_lib_intl_strftime=no
11708fi 20747fi
11709rm -f core conftest.err conftest.$ac_objext \ 20748
11710 conftest$ac_exeext conftest.$ac_ext 20749rm -rf conftest.dSYM
20750rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20751 conftest$ac_exeext conftest.$ac_ext
11711LIBS=$ac_check_lib_save_LIBS 20752LIBS=$ac_check_lib_save_LIBS
11712fi 20753fi
11713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 20754{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
11714$as_echo "$ac_cv_lib_intl_strftime" >&6; } 20755$as_echo "$ac_cv_lib_intl_strftime" >&6; }
11715if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 20756if test $ac_cv_lib_intl_strftime = yes; then
11716 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 20757 cat >>confdefs.h <<\_ACEOF
20758#define HAVE_STRFTIME 1
20759_ACEOF
11717 20760
11718LIBS="-lintl $LIBS" 20761LIBS="-lintl $LIBS"
11719fi 20762fi
@@ -11723,12 +20766,101 @@ done
11723 20766
11724 20767
11725# UNIX98 PTYs. 20768# UNIX98 PTYs.
20769
11726for ac_func in grantpt 20770for ac_func in grantpt
11727do : 20771do
11728 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 20772as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11729if test "x$ac_cv_func_grantpt" = x""yes; then : 20773{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20774$as_echo_n "checking for $ac_func... " >&6; }
20775if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20776 $as_echo_n "(cached) " >&6
20777else
20778 cat >conftest.$ac_ext <<_ACEOF
20779/* confdefs.h. */
20780_ACEOF
20781cat confdefs.h >>conftest.$ac_ext
20782cat >>conftest.$ac_ext <<_ACEOF
20783/* end confdefs.h. */
20784/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20786#define $ac_func innocuous_$ac_func
20787
20788/* System header to define __stub macros and hopefully few prototypes,
20789 which can conflict with char $ac_func (); below.
20790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20791 <limits.h> exists even on freestanding compilers. */
20792
20793#ifdef __STDC__
20794# include <limits.h>
20795#else
20796# include <assert.h>
20797#endif
20798
20799#undef $ac_func
20800
20801/* Override any GCC internal prototype to avoid an error.
20802 Use char because int might match the return type of a GCC
20803 builtin and then its argument prototype would still apply. */
20804#ifdef __cplusplus
20805extern "C"
20806#endif
20807char $ac_func ();
20808/* The GNU C library defines this for functions which it implements
20809 to always fail with ENOSYS. Some functions are actually named
20810 something starting with __ and the normal name is an alias. */
20811#if defined __stub_$ac_func || defined __stub___$ac_func
20812choke me
20813#endif
20814
20815int
20816main ()
20817{
20818return $ac_func ();
20819 ;
20820 return 0;
20821}
20822_ACEOF
20823rm -f conftest.$ac_objext conftest$ac_exeext
20824if { (ac_try="$ac_link"
20825case "(($ac_try" in
20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20827 *) ac_try_echo=$ac_try;;
20828esac
20829eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20830$as_echo "$ac_try_echo") >&5
20831 (eval "$ac_link") 2>conftest.er1
20832 ac_status=$?
20833 grep -v '^ *+' conftest.er1 >conftest.err
20834 rm -f conftest.er1
20835 cat conftest.err >&5
20836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } && {
20838 test -z "$ac_c_werror_flag" ||
20839 test ! -s conftest.err
20840 } && test -s conftest$ac_exeext && {
20841 test "$cross_compiling" = yes ||
20842 $as_test_x conftest$ac_exeext
20843 }; then
20844 eval "$as_ac_var=yes"
20845else
20846 $as_echo "$as_me: failed program was:" >&5
20847sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 eval "$as_ac_var=no"
20850fi
20851
20852rm -rf conftest.dSYM
20853rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20854 conftest$ac_exeext conftest.$ac_ext
20855fi
20856ac_res=`eval 'as_val=${'$as_ac_var'}
20857 $as_echo "$as_val"'`
20858 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20859$as_echo "$ac_res" >&6; }
20860if test `eval 'as_val=${'$as_ac_var'}
20861 $as_echo "$as_val"'` = yes; then
11730 cat >>confdefs.h <<_ACEOF 20862 cat >>confdefs.h <<_ACEOF
11731#define HAVE_GRANTPT 1 20863#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11732_ACEOF 20864_ACEOF
11733 20865
11734fi 20866fi
@@ -11736,12 +20868,101 @@ done
11736 20868
11737 20869
11738# PTY-related GNU extensions. 20870# PTY-related GNU extensions.
20871
11739for ac_func in getpt 20872for ac_func in getpt
11740do : 20873do
11741 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 20874as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11742if test "x$ac_cv_func_getpt" = x""yes; then : 20875{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20876$as_echo_n "checking for $ac_func... " >&6; }
20877if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20878 $as_echo_n "(cached) " >&6
20879else
20880 cat >conftest.$ac_ext <<_ACEOF
20881/* confdefs.h. */
20882_ACEOF
20883cat confdefs.h >>conftest.$ac_ext
20884cat >>conftest.$ac_ext <<_ACEOF
20885/* end confdefs.h. */
20886/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20888#define $ac_func innocuous_$ac_func
20889
20890/* System header to define __stub macros and hopefully few prototypes,
20891 which can conflict with char $ac_func (); below.
20892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20893 <limits.h> exists even on freestanding compilers. */
20894
20895#ifdef __STDC__
20896# include <limits.h>
20897#else
20898# include <assert.h>
20899#endif
20900
20901#undef $ac_func
20902
20903/* Override any GCC internal prototype to avoid an error.
20904 Use char because int might match the return type of a GCC
20905 builtin and then its argument prototype would still apply. */
20906#ifdef __cplusplus
20907extern "C"
20908#endif
20909char $ac_func ();
20910/* The GNU C library defines this for functions which it implements
20911 to always fail with ENOSYS. Some functions are actually named
20912 something starting with __ and the normal name is an alias. */
20913#if defined __stub_$ac_func || defined __stub___$ac_func
20914choke me
20915#endif
20916
20917int
20918main ()
20919{
20920return $ac_func ();
20921 ;
20922 return 0;
20923}
20924_ACEOF
20925rm -f conftest.$ac_objext conftest$ac_exeext
20926if { (ac_try="$ac_link"
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_link") 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_exeext && {
20943 test "$cross_compiling" = yes ||
20944 $as_test_x conftest$ac_exeext
20945 }; then
20946 eval "$as_ac_var=yes"
20947else
20948 $as_echo "$as_me: failed program was:" >&5
20949sed 's/^/| /' conftest.$ac_ext >&5
20950
20951 eval "$as_ac_var=no"
20952fi
20953
20954rm -rf conftest.dSYM
20955rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20956 conftest$ac_exeext conftest.$ac_ext
20957fi
20958ac_res=`eval 'as_val=${'$as_ac_var'}
20959 $as_echo "$as_val"'`
20960 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20961$as_echo "$ac_res" >&6; }
20962if test `eval 'as_val=${'$as_ac_var'}
20963 $as_echo "$as_val"'` = yes; then
11743 cat >>confdefs.h <<_ACEOF 20964 cat >>confdefs.h <<_ACEOF
11744#define HAVE_GETPT 1 20965#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11745_ACEOF 20966_ACEOF
11746 20967
11747fi 20968fi
@@ -11752,14 +20973,19 @@ done
11752# That is because we have not set up to link ncurses in lib-src. 20973# That is because we have not set up to link ncurses in lib-src.
11753# It's better to believe a function is not available 20974# It's better to believe a function is not available
11754# than to expect to find it in ncurses. 20975# than to expect to find it in ncurses.
11755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tparm in -lncurses" >&5 20976
20977{ $as_echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
11756$as_echo_n "checking for tparm in -lncurses... " >&6; } 20978$as_echo_n "checking for tparm in -lncurses... " >&6; }
11757if test "${ac_cv_lib_ncurses_tparm+set}" = set; then : 20979if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
11758 $as_echo_n "(cached) " >&6 20980 $as_echo_n "(cached) " >&6
11759else 20981else
11760 ac_check_lib_save_LIBS=$LIBS 20982 ac_check_lib_save_LIBS=$LIBS
11761LIBS="-lncurses $LIBS" 20983LIBS="-lncurses $LIBS"
11762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20984cat >conftest.$ac_ext <<_ACEOF
20985/* confdefs.h. */
20986_ACEOF
20987cat confdefs.h >>conftest.$ac_ext
20988cat >>conftest.$ac_ext <<_ACEOF
11763/* end confdefs.h. */ 20989/* end confdefs.h. */
11764 20990
11765/* Override any GCC internal prototype to avoid an error. 20991/* Override any GCC internal prototype to avoid an error.
@@ -11777,18 +21003,43 @@ return tparm ();
11777 return 0; 21003 return 0;
11778} 21004}
11779_ACEOF 21005_ACEOF
11780if ac_fn_c_try_link "$LINENO"; then : 21006rm -f conftest.$ac_objext conftest$ac_exeext
21007if { (ac_try="$ac_link"
21008case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21011esac
21012eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21013$as_echo "$ac_try_echo") >&5
21014 (eval "$ac_link") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest$ac_exeext && {
21024 test "$cross_compiling" = yes ||
21025 $as_test_x conftest$ac_exeext
21026 }; then
11781 ac_cv_lib_ncurses_tparm=yes 21027 ac_cv_lib_ncurses_tparm=yes
11782else 21028else
11783 ac_cv_lib_ncurses_tparm=no 21029 $as_echo "$as_me: failed program was:" >&5
21030sed 's/^/| /' conftest.$ac_ext >&5
21031
21032 ac_cv_lib_ncurses_tparm=no
11784fi 21033fi
11785rm -f core conftest.err conftest.$ac_objext \ 21034
11786 conftest$ac_exeext conftest.$ac_ext 21035rm -rf conftest.dSYM
21036rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21037 conftest$ac_exeext conftest.$ac_ext
11787LIBS=$ac_check_lib_save_LIBS 21038LIBS=$ac_check_lib_save_LIBS
11788fi 21039fi
11789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tparm" >&5 21040{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
11790$as_echo "$ac_cv_lib_ncurses_tparm" >&6; } 21041$as_echo "$ac_cv_lib_ncurses_tparm" >&6; }
11791if test "x$ac_cv_lib_ncurses_tparm" = x""yes; then : 21042if test $ac_cv_lib_ncurses_tparm = yes; then
11792 cat >>confdefs.h <<_ACEOF 21043 cat >>confdefs.h <<_ACEOF
11793#define HAVE_LIBNCURSES 1 21044#define HAVE_LIBNCURSES 1
11794_ACEOF 21045_ACEOF
@@ -11801,7 +21052,11 @@ fi
11801# Do we have res_init, for detecting changes in /etc/resolv.conf? 21052# Do we have res_init, for detecting changes in /etc/resolv.conf?
11802 21053
11803resolv=no 21054resolv=no
11804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21055cat >conftest.$ac_ext <<_ACEOF
21056/* confdefs.h. */
21057_ACEOF
21058cat confdefs.h >>conftest.$ac_ext
21059cat >>conftest.$ac_ext <<_ACEOF
11805/* end confdefs.h. */ 21060/* end confdefs.h. */
11806#include <netinet/in.h> 21061#include <netinet/in.h>
11807#include <arpa/nameser.h> 21062#include <arpa/nameser.h>
@@ -11814,19 +21069,48 @@ return res_init();
11814 return 0; 21069 return 0;
11815} 21070}
11816_ACEOF 21071_ACEOF
11817if ac_fn_c_try_link "$LINENO"; then : 21072rm -f conftest.$ac_objext conftest$ac_exeext
21073if { (ac_try="$ac_link"
21074case "(($ac_try" in
21075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21076 *) ac_try_echo=$ac_try;;
21077esac
21078eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21079$as_echo "$ac_try_echo") >&5
21080 (eval "$ac_link") 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } && {
21087 test -z "$ac_c_werror_flag" ||
21088 test ! -s conftest.err
21089 } && test -s conftest$ac_exeext && {
21090 test "$cross_compiling" = yes ||
21091 $as_test_x conftest$ac_exeext
21092 }; then
11818 have_res_init=yes 21093 have_res_init=yes
11819else 21094else
11820 have_res_init=no 21095 $as_echo "$as_me: failed program was:" >&5
21096sed 's/^/| /' conftest.$ac_ext >&5
21097
21098 have_res_init=no
11821fi 21099fi
11822rm -f core conftest.err conftest.$ac_objext \ 21100
11823 conftest$ac_exeext conftest.$ac_ext 21101rm -rf conftest.dSYM
21102rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21103 conftest$ac_exeext conftest.$ac_ext
11824if test "$have_res_init" = no; then 21104if test "$have_res_init" = no; then
11825 OLIBS="$LIBS" 21105 OLIBS="$LIBS"
11826 LIBS="$LIBS -lresolv" 21106 LIBS="$LIBS -lresolv"
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 21107 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5
11828$as_echo_n "checking for res_init with -lresolv... " >&6; } 21108$as_echo_n "checking for res_init with -lresolv... " >&6; }
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21109 cat >conftest.$ac_ext <<_ACEOF
21110/* confdefs.h. */
21111_ACEOF
21112cat confdefs.h >>conftest.$ac_ext
21113cat >>conftest.$ac_ext <<_ACEOF
11830/* end confdefs.h. */ 21114/* end confdefs.h. */
11831#include <netinet/in.h> 21115#include <netinet/in.h>
11832#include <arpa/nameser.h> 21116#include <arpa/nameser.h>
@@ -11839,14 +21123,39 @@ return res_init();
11839 return 0; 21123 return 0;
11840} 21124}
11841_ACEOF 21125_ACEOF
11842if ac_fn_c_try_link "$LINENO"; then : 21126rm -f conftest.$ac_objext conftest$ac_exeext
21127if { (ac_try="$ac_link"
21128case "(($ac_try" in
21129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21130 *) ac_try_echo=$ac_try;;
21131esac
21132eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21133$as_echo "$ac_try_echo") >&5
21134 (eval "$ac_link") 2>conftest.er1
21135 ac_status=$?
21136 grep -v '^ *+' conftest.er1 >conftest.err
21137 rm -f conftest.er1
21138 cat conftest.err >&5
21139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } && {
21141 test -z "$ac_c_werror_flag" ||
21142 test ! -s conftest.err
21143 } && test -s conftest$ac_exeext && {
21144 test "$cross_compiling" = yes ||
21145 $as_test_x conftest$ac_exeext
21146 }; then
11843 have_res_init=yes 21147 have_res_init=yes
11844else 21148else
11845 have_res_init=no 21149 $as_echo "$as_me: failed program was:" >&5
21150sed 's/^/| /' conftest.$ac_ext >&5
21151
21152 have_res_init=no
11846fi 21153fi
11847rm -f core conftest.err conftest.$ac_objext \ 21154
11848 conftest$ac_exeext conftest.$ac_ext 21155rm -rf conftest.dSYM
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 21156rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21157 conftest$ac_exeext conftest.$ac_ext
21158 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5
11850$as_echo "$have_res_init" >&6; } 21159$as_echo "$have_res_init" >&6; }
11851 if test "$have_res_init" = yes ; then 21160 if test "$have_res_init" = yes ; then
11852 resolv=yes 21161 resolv=yes
@@ -11856,29 +21165,203 @@ fi
11856 21165
11857if test "$have_res_init" = yes; then 21166if test "$have_res_init" = yes; then
11858 21167
11859$as_echo "#define HAVE_RES_INIT 1" >>confdefs.h 21168cat >>confdefs.h <<\_ACEOF
21169#define HAVE_RES_INIT 1
21170_ACEOF
11860 21171
11861fi 21172fi
11862 21173
11863# Do we need the Hesiod library to provide the support routines? 21174# Do we need the Hesiod library to provide the support routines?
11864if test "$with_hesiod" != no ; then 21175if test "$with_hesiod" != no ; then
11865 # Don't set $LIBS here -- see comments above. 21176 # Don't set $LIBS here -- see comments above.
11866 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 21177 { $as_echo "$as_me:$LINENO: checking for res_send" >&5
11867if test "x$ac_cv_func_res_send" = x""yes; then : 21178$as_echo_n "checking for res_send... " >&6; }
21179if test "${ac_cv_func_res_send+set}" = set; then
21180 $as_echo_n "(cached) " >&6
21181else
21182 cat >conftest.$ac_ext <<_ACEOF
21183/* confdefs.h. */
21184_ACEOF
21185cat confdefs.h >>conftest.$ac_ext
21186cat >>conftest.$ac_ext <<_ACEOF
21187/* end confdefs.h. */
21188/* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
21189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21190#define res_send innocuous_res_send
21191
21192/* System header to define __stub macros and hopefully few prototypes,
21193 which can conflict with char res_send (); below.
21194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21195 <limits.h> exists even on freestanding compilers. */
21196
21197#ifdef __STDC__
21198# include <limits.h>
21199#else
21200# include <assert.h>
21201#endif
21202
21203#undef res_send
21204
21205/* Override any GCC internal prototype to avoid an error.
21206 Use char because int might match the return type of a GCC
21207 builtin and then its argument prototype would still apply. */
21208#ifdef __cplusplus
21209extern "C"
21210#endif
21211char res_send ();
21212/* The GNU C library defines this for functions which it implements
21213 to always fail with ENOSYS. Some functions are actually named
21214 something starting with __ and the normal name is an alias. */
21215#if defined __stub_res_send || defined __stub___res_send
21216choke me
21217#endif
21218
21219int
21220main ()
21221{
21222return res_send ();
21223 ;
21224 return 0;
21225}
21226_ACEOF
21227rm -f conftest.$ac_objext conftest$ac_exeext
21228if { (ac_try="$ac_link"
21229case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232esac
21233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21234$as_echo "$ac_try_echo") >&5
21235 (eval "$ac_link") 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest$ac_exeext && {
21245 test "$cross_compiling" = yes ||
21246 $as_test_x conftest$ac_exeext
21247 }; then
21248 ac_cv_func_res_send=yes
21249else
21250 $as_echo "$as_me: failed program was:" >&5
21251sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 ac_cv_func_res_send=no
21254fi
21255
21256rm -rf conftest.dSYM
21257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21258 conftest$ac_exeext conftest.$ac_ext
21259fi
21260{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
21261$as_echo "$ac_cv_func_res_send" >&6; }
21262if test $ac_cv_func_res_send = yes; then
21263 :
21264else
21265 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5
21266$as_echo_n "checking for __res_send... " >&6; }
21267if test "${ac_cv_func___res_send+set}" = set; then
21268 $as_echo_n "(cached) " >&6
21269else
21270 cat >conftest.$ac_ext <<_ACEOF
21271/* confdefs.h. */
21272_ACEOF
21273cat confdefs.h >>conftest.$ac_ext
21274cat >>conftest.$ac_ext <<_ACEOF
21275/* end confdefs.h. */
21276/* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
21277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21278#define __res_send innocuous___res_send
21279
21280/* System header to define __stub macros and hopefully few prototypes,
21281 which can conflict with char __res_send (); below.
21282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21283 <limits.h> exists even on freestanding compilers. */
21284
21285#ifdef __STDC__
21286# include <limits.h>
21287#else
21288# include <assert.h>
21289#endif
21290
21291#undef __res_send
21292
21293/* Override any GCC internal prototype to avoid an error.
21294 Use char because int might match the return type of a GCC
21295 builtin and then its argument prototype would still apply. */
21296#ifdef __cplusplus
21297extern "C"
21298#endif
21299char __res_send ();
21300/* The GNU C library defines this for functions which it implements
21301 to always fail with ENOSYS. Some functions are actually named
21302 something starting with __ and the normal name is an alias. */
21303#if defined __stub___res_send || defined __stub_____res_send
21304choke me
21305#endif
11868 21306
21307int
21308main ()
21309{
21310return __res_send ();
21311 ;
21312 return 0;
21313}
21314_ACEOF
21315rm -f conftest.$ac_objext conftest$ac_exeext
21316if { (ac_try="$ac_link"
21317case "(($ac_try" in
21318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21319 *) ac_try_echo=$ac_try;;
21320esac
21321eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21322$as_echo "$ac_try_echo") >&5
21323 (eval "$ac_link") 2>conftest.er1
21324 ac_status=$?
21325 grep -v '^ *+' conftest.er1 >conftest.err
21326 rm -f conftest.er1
21327 cat conftest.err >&5
21328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } && {
21330 test -z "$ac_c_werror_flag" ||
21331 test ! -s conftest.err
21332 } && test -s conftest$ac_exeext && {
21333 test "$cross_compiling" = yes ||
21334 $as_test_x conftest$ac_exeext
21335 }; then
21336 ac_cv_func___res_send=yes
11869else 21337else
11870 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 21338 $as_echo "$as_me: failed program was:" >&5
11871if test "x$ac_cv_func___res_send" = x""yes; then : 21339sed 's/^/| /' conftest.$ac_ext >&5
11872 21340
21341 ac_cv_func___res_send=no
21342fi
21343
21344rm -rf conftest.dSYM
21345rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21346 conftest$ac_exeext conftest.$ac_ext
21347fi
21348{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
21349$as_echo "$ac_cv_func___res_send" >&6; }
21350if test $ac_cv_func___res_send = yes; then
21351 :
11873else 21352else
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 21353 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
11875$as_echo_n "checking for res_send in -lresolv... " >&6; } 21354$as_echo_n "checking for res_send in -lresolv... " >&6; }
11876if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 21355if test "${ac_cv_lib_resolv_res_send+set}" = set; then
11877 $as_echo_n "(cached) " >&6 21356 $as_echo_n "(cached) " >&6
11878else 21357else
11879 ac_check_lib_save_LIBS=$LIBS 21358 ac_check_lib_save_LIBS=$LIBS
11880LIBS="-lresolv $LIBS" 21359LIBS="-lresolv $LIBS"
11881cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21360cat >conftest.$ac_ext <<_ACEOF
21361/* confdefs.h. */
21362_ACEOF
21363cat confdefs.h >>conftest.$ac_ext
21364cat >>conftest.$ac_ext <<_ACEOF
11882/* end confdefs.h. */ 21365/* end confdefs.h. */
11883 21366
11884/* Override any GCC internal prototype to avoid an error. 21367/* Override any GCC internal prototype to avoid an error.
@@ -11896,28 +21379,57 @@ return res_send ();
11896 return 0; 21379 return 0;
11897} 21380}
11898_ACEOF 21381_ACEOF
11899if ac_fn_c_try_link "$LINENO"; then : 21382rm -f conftest.$ac_objext conftest$ac_exeext
21383if { (ac_try="$ac_link"
21384case "(($ac_try" in
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21386 *) ac_try_echo=$ac_try;;
21387esac
21388eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21389$as_echo "$ac_try_echo") >&5
21390 (eval "$ac_link") 2>conftest.er1
21391 ac_status=$?
21392 grep -v '^ *+' conftest.er1 >conftest.err
21393 rm -f conftest.er1
21394 cat conftest.err >&5
21395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } && {
21397 test -z "$ac_c_werror_flag" ||
21398 test ! -s conftest.err
21399 } && test -s conftest$ac_exeext && {
21400 test "$cross_compiling" = yes ||
21401 $as_test_x conftest$ac_exeext
21402 }; then
11900 ac_cv_lib_resolv_res_send=yes 21403 ac_cv_lib_resolv_res_send=yes
11901else 21404else
11902 ac_cv_lib_resolv_res_send=no 21405 $as_echo "$as_me: failed program was:" >&5
21406sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 ac_cv_lib_resolv_res_send=no
11903fi 21409fi
11904rm -f core conftest.err conftest.$ac_objext \ 21410
11905 conftest$ac_exeext conftest.$ac_ext 21411rm -rf conftest.dSYM
21412rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21413 conftest$ac_exeext conftest.$ac_ext
11906LIBS=$ac_check_lib_save_LIBS 21414LIBS=$ac_check_lib_save_LIBS
11907fi 21415fi
11908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 21416{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
11909$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 21417$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
11910if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 21418if test $ac_cv_lib_resolv_res_send = yes; then
11911 resolv=yes 21419 resolv=yes
11912else 21420else
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 21421 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
11914$as_echo_n "checking for __res_send in -lresolv... " >&6; } 21422$as_echo_n "checking for __res_send in -lresolv... " >&6; }
11915if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 21423if test "${ac_cv_lib_resolv___res_send+set}" = set; then
11916 $as_echo_n "(cached) " >&6 21424 $as_echo_n "(cached) " >&6
11917else 21425else
11918 ac_check_lib_save_LIBS=$LIBS 21426 ac_check_lib_save_LIBS=$LIBS
11919LIBS="-lresolv $LIBS" 21427LIBS="-lresolv $LIBS"
11920cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21428cat >conftest.$ac_ext <<_ACEOF
21429/* confdefs.h. */
21430_ACEOF
21431cat confdefs.h >>conftest.$ac_ext
21432cat >>conftest.$ac_ext <<_ACEOF
11921/* end confdefs.h. */ 21433/* end confdefs.h. */
11922 21434
11923/* Override any GCC internal prototype to avoid an error. 21435/* Override any GCC internal prototype to avoid an error.
@@ -11935,18 +21447,43 @@ return __res_send ();
11935 return 0; 21447 return 0;
11936} 21448}
11937_ACEOF 21449_ACEOF
11938if ac_fn_c_try_link "$LINENO"; then : 21450rm -f conftest.$ac_objext conftest$ac_exeext
21451if { (ac_try="$ac_link"
21452case "(($ac_try" in
21453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21454 *) ac_try_echo=$ac_try;;
21455esac
21456eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21457$as_echo "$ac_try_echo") >&5
21458 (eval "$ac_link") 2>conftest.er1
21459 ac_status=$?
21460 grep -v '^ *+' conftest.er1 >conftest.err
21461 rm -f conftest.er1
21462 cat conftest.err >&5
21463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); } && {
21465 test -z "$ac_c_werror_flag" ||
21466 test ! -s conftest.err
21467 } && test -s conftest$ac_exeext && {
21468 test "$cross_compiling" = yes ||
21469 $as_test_x conftest$ac_exeext
21470 }; then
11939 ac_cv_lib_resolv___res_send=yes 21471 ac_cv_lib_resolv___res_send=yes
11940else 21472else
11941 ac_cv_lib_resolv___res_send=no 21473 $as_echo "$as_me: failed program was:" >&5
21474sed 's/^/| /' conftest.$ac_ext >&5
21475
21476 ac_cv_lib_resolv___res_send=no
11942fi 21477fi
11943rm -f core conftest.err conftest.$ac_objext \ 21478
11944 conftest$ac_exeext conftest.$ac_ext 21479rm -rf conftest.dSYM
21480rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21481 conftest$ac_exeext conftest.$ac_ext
11945LIBS=$ac_check_lib_save_LIBS 21482LIBS=$ac_check_lib_save_LIBS
11946fi 21483fi
11947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 21484{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
11948$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 21485$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
11949if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 21486if test $ac_cv_lib_resolv___res_send = yes; then
11950 resolv=yes 21487 resolv=yes
11951fi 21488fi
11952 21489
@@ -11961,18 +21498,106 @@ fi
11961 else 21498 else
11962 RESOLVLIB= 21499 RESOLVLIB=
11963 fi 21500 fi
11964 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 21501 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
11965if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 21502$as_echo_n "checking for hes_getmailhost... " >&6; }
21503if test "${ac_cv_func_hes_getmailhost+set}" = set; then
21504 $as_echo_n "(cached) " >&6
21505else
21506 cat >conftest.$ac_ext <<_ACEOF
21507/* confdefs.h. */
21508_ACEOF
21509cat confdefs.h >>conftest.$ac_ext
21510cat >>conftest.$ac_ext <<_ACEOF
21511/* end confdefs.h. */
21512/* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
21513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21514#define hes_getmailhost innocuous_hes_getmailhost
21515
21516/* System header to define __stub macros and hopefully few prototypes,
21517 which can conflict with char hes_getmailhost (); below.
21518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21519 <limits.h> exists even on freestanding compilers. */
21520
21521#ifdef __STDC__
21522# include <limits.h>
21523#else
21524# include <assert.h>
21525#endif
21526
21527#undef hes_getmailhost
21528
21529/* Override any GCC internal prototype to avoid an error.
21530 Use char because int might match the return type of a GCC
21531 builtin and then its argument prototype would still apply. */
21532#ifdef __cplusplus
21533extern "C"
21534#endif
21535char hes_getmailhost ();
21536/* The GNU C library defines this for functions which it implements
21537 to always fail with ENOSYS. Some functions are actually named
21538 something starting with __ and the normal name is an alias. */
21539#if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost
21540choke me
21541#endif
21542
21543int
21544main ()
21545{
21546return hes_getmailhost ();
21547 ;
21548 return 0;
21549}
21550_ACEOF
21551rm -f conftest.$ac_objext conftest$ac_exeext
21552if { (ac_try="$ac_link"
21553case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556esac
21557eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21558$as_echo "$ac_try_echo") >&5
21559 (eval "$ac_link") 2>conftest.er1
21560 ac_status=$?
21561 grep -v '^ *+' conftest.er1 >conftest.err
21562 rm -f conftest.er1
21563 cat conftest.err >&5
21564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && {
21566 test -z "$ac_c_werror_flag" ||
21567 test ! -s conftest.err
21568 } && test -s conftest$ac_exeext && {
21569 test "$cross_compiling" = yes ||
21570 $as_test_x conftest$ac_exeext
21571 }; then
21572 ac_cv_func_hes_getmailhost=yes
21573else
21574 $as_echo "$as_me: failed program was:" >&5
21575sed 's/^/| /' conftest.$ac_ext >&5
21576
21577 ac_cv_func_hes_getmailhost=no
21578fi
11966 21579
21580rm -rf conftest.dSYM
21581rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21582 conftest$ac_exeext conftest.$ac_ext
21583fi
21584{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
21585$as_echo "$ac_cv_func_hes_getmailhost" >&6; }
21586if test $ac_cv_func_hes_getmailhost = yes; then
21587 :
11967else 21588else
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 21589 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
11969$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 21590$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
11970if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 21591if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
11971 $as_echo_n "(cached) " >&6 21592 $as_echo_n "(cached) " >&6
11972else 21593else
11973 ac_check_lib_save_LIBS=$LIBS 21594 ac_check_lib_save_LIBS=$LIBS
11974LIBS="-lhesiod $RESOLVLIB $LIBS" 21595LIBS="-lhesiod $RESOLVLIB $LIBS"
11975cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21596cat >conftest.$ac_ext <<_ACEOF
21597/* confdefs.h. */
21598_ACEOF
21599cat confdefs.h >>conftest.$ac_ext
21600cat >>conftest.$ac_ext <<_ACEOF
11976/* end confdefs.h. */ 21601/* end confdefs.h. */
11977 21602
11978/* Override any GCC internal prototype to avoid an error. 21603/* Override any GCC internal prototype to avoid an error.
@@ -11990,20 +21615,47 @@ return hes_getmailhost ();
11990 return 0; 21615 return 0;
11991} 21616}
11992_ACEOF 21617_ACEOF
11993if ac_fn_c_try_link "$LINENO"; then : 21618rm -f conftest.$ac_objext conftest$ac_exeext
21619if { (ac_try="$ac_link"
21620case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21622 *) ac_try_echo=$ac_try;;
21623esac
21624eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21625$as_echo "$ac_try_echo") >&5
21626 (eval "$ac_link") 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } && {
21633 test -z "$ac_c_werror_flag" ||
21634 test ! -s conftest.err
21635 } && test -s conftest$ac_exeext && {
21636 test "$cross_compiling" = yes ||
21637 $as_test_x conftest$ac_exeext
21638 }; then
11994 ac_cv_lib_hesiod_hes_getmailhost=yes 21639 ac_cv_lib_hesiod_hes_getmailhost=yes
11995else 21640else
11996 ac_cv_lib_hesiod_hes_getmailhost=no 21641 $as_echo "$as_me: failed program was:" >&5
21642sed 's/^/| /' conftest.$ac_ext >&5
21643
21644 ac_cv_lib_hesiod_hes_getmailhost=no
11997fi 21645fi
11998rm -f core conftest.err conftest.$ac_objext \ 21646
11999 conftest$ac_exeext conftest.$ac_ext 21647rm -rf conftest.dSYM
21648rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21649 conftest$ac_exeext conftest.$ac_ext
12000LIBS=$ac_check_lib_save_LIBS 21650LIBS=$ac_check_lib_save_LIBS
12001fi 21651fi
12002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 21652{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
12003$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 21653$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
12004if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 21654if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
12005 21655
12006$as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h 21656cat >>confdefs.h <<\_ACEOF
21657#define HAVE_LIBHESIOD 1
21658_ACEOF
12007 21659
12008else 21660else
12009 : 21661 :
@@ -12016,20 +21668,27 @@ fi
12016# Do we need libresolv (due to res_init or Hesiod)? 21668# Do we need libresolv (due to res_init or Hesiod)?
12017if test "$resolv" = yes ; then 21669if test "$resolv" = yes ; then
12018 21670
12019$as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h 21671cat >>confdefs.h <<\_ACEOF
21672#define HAVE_LIBRESOLV 1
21673_ACEOF
12020 21674
12021fi 21675fi
12022 21676
12023# These tell us which Kerberos-related libraries to use. 21677# These tell us which Kerberos-related libraries to use.
12024if test "${with_kerberos}" != no; then 21678if test "${with_kerberos}" != no; then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 21679
21680{ $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
12026$as_echo_n "checking for com_err in -lcom_err... " >&6; } 21681$as_echo_n "checking for com_err in -lcom_err... " >&6; }
12027if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 21682if test "${ac_cv_lib_com_err_com_err+set}" = set; then
12028 $as_echo_n "(cached) " >&6 21683 $as_echo_n "(cached) " >&6
12029else 21684else
12030 ac_check_lib_save_LIBS=$LIBS 21685 ac_check_lib_save_LIBS=$LIBS
12031LIBS="-lcom_err $LIBS" 21686LIBS="-lcom_err $LIBS"
12032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21687cat >conftest.$ac_ext <<_ACEOF
21688/* confdefs.h. */
21689_ACEOF
21690cat confdefs.h >>conftest.$ac_ext
21691cat >>conftest.$ac_ext <<_ACEOF
12033/* end confdefs.h. */ 21692/* end confdefs.h. */
12034 21693
12035/* Override any GCC internal prototype to avoid an error. 21694/* Override any GCC internal prototype to avoid an error.
@@ -12047,18 +21706,43 @@ return com_err ();
12047 return 0; 21706 return 0;
12048} 21707}
12049_ACEOF 21708_ACEOF
12050if ac_fn_c_try_link "$LINENO"; then : 21709rm -f conftest.$ac_objext conftest$ac_exeext
21710if { (ac_try="$ac_link"
21711case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21714esac
21715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21716$as_echo "$ac_try_echo") >&5
21717 (eval "$ac_link") 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest$ac_exeext && {
21727 test "$cross_compiling" = yes ||
21728 $as_test_x conftest$ac_exeext
21729 }; then
12051 ac_cv_lib_com_err_com_err=yes 21730 ac_cv_lib_com_err_com_err=yes
12052else 21731else
12053 ac_cv_lib_com_err_com_err=no 21732 $as_echo "$as_me: failed program was:" >&5
21733sed 's/^/| /' conftest.$ac_ext >&5
21734
21735 ac_cv_lib_com_err_com_err=no
12054fi 21736fi
12055rm -f core conftest.err conftest.$ac_objext \ 21737
12056 conftest$ac_exeext conftest.$ac_ext 21738rm -rf conftest.dSYM
21739rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21740 conftest$ac_exeext conftest.$ac_ext
12057LIBS=$ac_check_lib_save_LIBS 21741LIBS=$ac_check_lib_save_LIBS
12058fi 21742fi
12059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 21743{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
12060$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 21744$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
12061if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 21745if test $ac_cv_lib_com_err_com_err = yes; then
12062 cat >>confdefs.h <<_ACEOF 21746 cat >>confdefs.h <<_ACEOF
12063#define HAVE_LIBCOM_ERR 1 21747#define HAVE_LIBCOM_ERR 1
12064_ACEOF 21748_ACEOF
@@ -12067,14 +21751,19 @@ _ACEOF
12067 21751
12068fi 21752fi
12069 21753
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 21754
21755{ $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
12071$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 21756$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
12072if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 21757if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
12073 $as_echo_n "(cached) " >&6 21758 $as_echo_n "(cached) " >&6
12074else 21759else
12075 ac_check_lib_save_LIBS=$LIBS 21760 ac_check_lib_save_LIBS=$LIBS
12076LIBS="-lk5crypto $LIBS" 21761LIBS="-lk5crypto $LIBS"
12077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21762cat >conftest.$ac_ext <<_ACEOF
21763/* confdefs.h. */
21764_ACEOF
21765cat confdefs.h >>conftest.$ac_ext
21766cat >>conftest.$ac_ext <<_ACEOF
12078/* end confdefs.h. */ 21767/* end confdefs.h. */
12079 21768
12080/* Override any GCC internal prototype to avoid an error. 21769/* Override any GCC internal prototype to avoid an error.
@@ -12092,18 +21781,43 @@ return mit_des_cbc_encrypt ();
12092 return 0; 21781 return 0;
12093} 21782}
12094_ACEOF 21783_ACEOF
12095if ac_fn_c_try_link "$LINENO"; then : 21784rm -f conftest.$ac_objext conftest$ac_exeext
21785if { (ac_try="$ac_link"
21786case "(($ac_try" in
21787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21788 *) ac_try_echo=$ac_try;;
21789esac
21790eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21791$as_echo "$ac_try_echo") >&5
21792 (eval "$ac_link") 2>conftest.er1
21793 ac_status=$?
21794 grep -v '^ *+' conftest.er1 >conftest.err
21795 rm -f conftest.er1
21796 cat conftest.err >&5
21797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } && {
21799 test -z "$ac_c_werror_flag" ||
21800 test ! -s conftest.err
21801 } && test -s conftest$ac_exeext && {
21802 test "$cross_compiling" = yes ||
21803 $as_test_x conftest$ac_exeext
21804 }; then
12096 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 21805 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
12097else 21806else
12098 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 21807 $as_echo "$as_me: failed program was:" >&5
21808sed 's/^/| /' conftest.$ac_ext >&5
21809
21810 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
12099fi 21811fi
12100rm -f core conftest.err conftest.$ac_objext \ 21812
12101 conftest$ac_exeext conftest.$ac_ext 21813rm -rf conftest.dSYM
21814rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21815 conftest$ac_exeext conftest.$ac_ext
12102LIBS=$ac_check_lib_save_LIBS 21816LIBS=$ac_check_lib_save_LIBS
12103fi 21817fi
12104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 21818{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
12105$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 21819$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
12106if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 21820if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
12107 cat >>confdefs.h <<_ACEOF 21821 cat >>confdefs.h <<_ACEOF
12108#define HAVE_LIBK5CRYPTO 1 21822#define HAVE_LIBK5CRYPTO 1
12109_ACEOF 21823_ACEOF
@@ -12112,14 +21826,19 @@ _ACEOF
12112 21826
12113fi 21827fi
12114 21828
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 21829
21830{ $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
12116$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 21831$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
12117if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 21832if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
12118 $as_echo_n "(cached) " >&6 21833 $as_echo_n "(cached) " >&6
12119else 21834else
12120 ac_check_lib_save_LIBS=$LIBS 21835 ac_check_lib_save_LIBS=$LIBS
12121LIBS="-lcrypto $LIBS" 21836LIBS="-lcrypto $LIBS"
12122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21837cat >conftest.$ac_ext <<_ACEOF
21838/* confdefs.h. */
21839_ACEOF
21840cat confdefs.h >>conftest.$ac_ext
21841cat >>conftest.$ac_ext <<_ACEOF
12123/* end confdefs.h. */ 21842/* end confdefs.h. */
12124 21843
12125/* Override any GCC internal prototype to avoid an error. 21844/* Override any GCC internal prototype to avoid an error.
@@ -12137,18 +21856,43 @@ return mit_des_cbc_encrypt ();
12137 return 0; 21856 return 0;
12138} 21857}
12139_ACEOF 21858_ACEOF
12140if ac_fn_c_try_link "$LINENO"; then : 21859rm -f conftest.$ac_objext conftest$ac_exeext
21860if { (ac_try="$ac_link"
21861case "(($ac_try" in
21862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21863 *) ac_try_echo=$ac_try;;
21864esac
21865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21866$as_echo "$ac_try_echo") >&5
21867 (eval "$ac_link") 2>conftest.er1
21868 ac_status=$?
21869 grep -v '^ *+' conftest.er1 >conftest.err
21870 rm -f conftest.er1
21871 cat conftest.err >&5
21872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } && {
21874 test -z "$ac_c_werror_flag" ||
21875 test ! -s conftest.err
21876 } && test -s conftest$ac_exeext && {
21877 test "$cross_compiling" = yes ||
21878 $as_test_x conftest$ac_exeext
21879 }; then
12141 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 21880 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
12142else 21881else
12143 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 21882 $as_echo "$as_me: failed program was:" >&5
21883sed 's/^/| /' conftest.$ac_ext >&5
21884
21885 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
12144fi 21886fi
12145rm -f core conftest.err conftest.$ac_objext \ 21887
12146 conftest$ac_exeext conftest.$ac_ext 21888rm -rf conftest.dSYM
21889rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21890 conftest$ac_exeext conftest.$ac_ext
12147LIBS=$ac_check_lib_save_LIBS 21891LIBS=$ac_check_lib_save_LIBS
12148fi 21892fi
12149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 21893{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
12150$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 21894$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
12151if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 21895if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
12152 cat >>confdefs.h <<_ACEOF 21896 cat >>confdefs.h <<_ACEOF
12153#define HAVE_LIBCRYPTO 1 21897#define HAVE_LIBCRYPTO 1
12154_ACEOF 21898_ACEOF
@@ -12157,14 +21901,19 @@ _ACEOF
12157 21901
12158fi 21902fi
12159 21903
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 21904
21905{ $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
12161$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 21906$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
12162if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 21907if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
12163 $as_echo_n "(cached) " >&6 21908 $as_echo_n "(cached) " >&6
12164else 21909else
12165 ac_check_lib_save_LIBS=$LIBS 21910 ac_check_lib_save_LIBS=$LIBS
12166LIBS="-lkrb5 $LIBS" 21911LIBS="-lkrb5 $LIBS"
12167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21912cat >conftest.$ac_ext <<_ACEOF
21913/* confdefs.h. */
21914_ACEOF
21915cat confdefs.h >>conftest.$ac_ext
21916cat >>conftest.$ac_ext <<_ACEOF
12168/* end confdefs.h. */ 21917/* end confdefs.h. */
12169 21918
12170/* Override any GCC internal prototype to avoid an error. 21919/* Override any GCC internal prototype to avoid an error.
@@ -12182,18 +21931,43 @@ return krb5_init_context ();
12182 return 0; 21931 return 0;
12183} 21932}
12184_ACEOF 21933_ACEOF
12185if ac_fn_c_try_link "$LINENO"; then : 21934rm -f conftest.$ac_objext conftest$ac_exeext
21935if { (ac_try="$ac_link"
21936case "(($ac_try" in
21937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21938 *) ac_try_echo=$ac_try;;
21939esac
21940eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21941$as_echo "$ac_try_echo") >&5
21942 (eval "$ac_link") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest$ac_exeext && {
21952 test "$cross_compiling" = yes ||
21953 $as_test_x conftest$ac_exeext
21954 }; then
12186 ac_cv_lib_krb5_krb5_init_context=yes 21955 ac_cv_lib_krb5_krb5_init_context=yes
12187else 21956else
12188 ac_cv_lib_krb5_krb5_init_context=no 21957 $as_echo "$as_me: failed program was:" >&5
21958sed 's/^/| /' conftest.$ac_ext >&5
21959
21960 ac_cv_lib_krb5_krb5_init_context=no
12189fi 21961fi
12190rm -f core conftest.err conftest.$ac_objext \ 21962
12191 conftest$ac_exeext conftest.$ac_ext 21963rm -rf conftest.dSYM
21964rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21965 conftest$ac_exeext conftest.$ac_ext
12192LIBS=$ac_check_lib_save_LIBS 21966LIBS=$ac_check_lib_save_LIBS
12193fi 21967fi
12194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 21968{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
12195$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 21969$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
12196if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 21970if test $ac_cv_lib_krb5_krb5_init_context = yes; then
12197 cat >>confdefs.h <<_ACEOF 21971 cat >>confdefs.h <<_ACEOF
12198#define HAVE_LIBKRB5 1 21972#define HAVE_LIBKRB5 1
12199_ACEOF 21973_ACEOF
@@ -12203,14 +21977,19 @@ _ACEOF
12203fi 21977fi
12204 21978
12205 if test "${with_kerberos5}" = no; then 21979 if test "${with_kerberos5}" = no; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 21980
21981{ $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
12207$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 21982$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
12208if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 21983if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
12209 $as_echo_n "(cached) " >&6 21984 $as_echo_n "(cached) " >&6
12210else 21985else
12211 ac_check_lib_save_LIBS=$LIBS 21986 ac_check_lib_save_LIBS=$LIBS
12212LIBS="-ldes425 $LIBS" 21987LIBS="-ldes425 $LIBS"
12213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21988cat >conftest.$ac_ext <<_ACEOF
21989/* confdefs.h. */
21990_ACEOF
21991cat confdefs.h >>conftest.$ac_ext
21992cat >>conftest.$ac_ext <<_ACEOF
12214/* end confdefs.h. */ 21993/* end confdefs.h. */
12215 21994
12216/* Override any GCC internal prototype to avoid an error. 21995/* Override any GCC internal prototype to avoid an error.
@@ -12228,18 +22007,43 @@ return des_cbc_encrypt ();
12228 return 0; 22007 return 0;
12229} 22008}
12230_ACEOF 22009_ACEOF
12231if ac_fn_c_try_link "$LINENO"; then : 22010rm -f conftest.$ac_objext conftest$ac_exeext
22011if { (ac_try="$ac_link"
22012case "(($ac_try" in
22013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22014 *) ac_try_echo=$ac_try;;
22015esac
22016eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22017$as_echo "$ac_try_echo") >&5
22018 (eval "$ac_link") 2>conftest.er1
22019 ac_status=$?
22020 grep -v '^ *+' conftest.er1 >conftest.err
22021 rm -f conftest.er1
22022 cat conftest.err >&5
22023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); } && {
22025 test -z "$ac_c_werror_flag" ||
22026 test ! -s conftest.err
22027 } && test -s conftest$ac_exeext && {
22028 test "$cross_compiling" = yes ||
22029 $as_test_x conftest$ac_exeext
22030 }; then
12232 ac_cv_lib_des425_des_cbc_encrypt=yes 22031 ac_cv_lib_des425_des_cbc_encrypt=yes
12233else 22032else
12234 ac_cv_lib_des425_des_cbc_encrypt=no 22033 $as_echo "$as_me: failed program was:" >&5
22034sed 's/^/| /' conftest.$ac_ext >&5
22035
22036 ac_cv_lib_des425_des_cbc_encrypt=no
12235fi 22037fi
12236rm -f core conftest.err conftest.$ac_objext \ 22038
12237 conftest$ac_exeext conftest.$ac_ext 22039rm -rf conftest.dSYM
22040rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22041 conftest$ac_exeext conftest.$ac_ext
12238LIBS=$ac_check_lib_save_LIBS 22042LIBS=$ac_check_lib_save_LIBS
12239fi 22043fi
12240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 22044{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
12241$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 22045$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
12242if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 22046if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
12243 cat >>confdefs.h <<_ACEOF 22047 cat >>confdefs.h <<_ACEOF
12244#define HAVE_LIBDES425 1 22048#define HAVE_LIBDES425 1
12245_ACEOF 22049_ACEOF
@@ -12247,14 +22051,19 @@ _ACEOF
12247 LIBS="-ldes425 $LIBS" 22051 LIBS="-ldes425 $LIBS"
12248 22052
12249else 22053else
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 22054
22055{ $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
12251$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 22056$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
12252if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 22057if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
12253 $as_echo_n "(cached) " >&6 22058 $as_echo_n "(cached) " >&6
12254else 22059else
12255 ac_check_lib_save_LIBS=$LIBS 22060 ac_check_lib_save_LIBS=$LIBS
12256LIBS="-ldes $LIBS" 22061LIBS="-ldes $LIBS"
12257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22062cat >conftest.$ac_ext <<_ACEOF
22063/* confdefs.h. */
22064_ACEOF
22065cat confdefs.h >>conftest.$ac_ext
22066cat >>conftest.$ac_ext <<_ACEOF
12258/* end confdefs.h. */ 22067/* end confdefs.h. */
12259 22068
12260/* Override any GCC internal prototype to avoid an error. 22069/* Override any GCC internal prototype to avoid an error.
@@ -12272,18 +22081,43 @@ return des_cbc_encrypt ();
12272 return 0; 22081 return 0;
12273} 22082}
12274_ACEOF 22083_ACEOF
12275if ac_fn_c_try_link "$LINENO"; then : 22084rm -f conftest.$ac_objext conftest$ac_exeext
22085if { (ac_try="$ac_link"
22086case "(($ac_try" in
22087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22088 *) ac_try_echo=$ac_try;;
22089esac
22090eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22091$as_echo "$ac_try_echo") >&5
22092 (eval "$ac_link") 2>conftest.er1
22093 ac_status=$?
22094 grep -v '^ *+' conftest.er1 >conftest.err
22095 rm -f conftest.er1
22096 cat conftest.err >&5
22097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_c_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest$ac_exeext && {
22102 test "$cross_compiling" = yes ||
22103 $as_test_x conftest$ac_exeext
22104 }; then
12276 ac_cv_lib_des_des_cbc_encrypt=yes 22105 ac_cv_lib_des_des_cbc_encrypt=yes
12277else 22106else
12278 ac_cv_lib_des_des_cbc_encrypt=no 22107 $as_echo "$as_me: failed program was:" >&5
22108sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 ac_cv_lib_des_des_cbc_encrypt=no
12279fi 22111fi
12280rm -f core conftest.err conftest.$ac_objext \ 22112
12281 conftest$ac_exeext conftest.$ac_ext 22113rm -rf conftest.dSYM
22114rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22115 conftest$ac_exeext conftest.$ac_ext
12282LIBS=$ac_check_lib_save_LIBS 22116LIBS=$ac_check_lib_save_LIBS
12283fi 22117fi
12284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 22118{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
12285$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 22119$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
12286if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 22120if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
12287 cat >>confdefs.h <<_ACEOF 22121 cat >>confdefs.h <<_ACEOF
12288#define HAVE_LIBDES 1 22122#define HAVE_LIBDES 1
12289_ACEOF 22123_ACEOF
@@ -12294,14 +22128,19 @@ fi
12294 22128
12295fi 22129fi
12296 22130
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 22131
22132{ $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
12298$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 22133$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
12299if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 22134if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
12300 $as_echo_n "(cached) " >&6 22135 $as_echo_n "(cached) " >&6
12301else 22136else
12302 ac_check_lib_save_LIBS=$LIBS 22137 ac_check_lib_save_LIBS=$LIBS
12303LIBS="-lkrb4 $LIBS" 22138LIBS="-lkrb4 $LIBS"
12304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22139cat >conftest.$ac_ext <<_ACEOF
22140/* confdefs.h. */
22141_ACEOF
22142cat confdefs.h >>conftest.$ac_ext
22143cat >>conftest.$ac_ext <<_ACEOF
12305/* end confdefs.h. */ 22144/* end confdefs.h. */
12306 22145
12307/* Override any GCC internal prototype to avoid an error. 22146/* Override any GCC internal prototype to avoid an error.
@@ -12319,18 +22158,43 @@ return krb_get_cred ();
12319 return 0; 22158 return 0;
12320} 22159}
12321_ACEOF 22160_ACEOF
12322if ac_fn_c_try_link "$LINENO"; then : 22161rm -f conftest.$ac_objext conftest$ac_exeext
22162if { (ac_try="$ac_link"
22163case "(($ac_try" in
22164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22166esac
22167eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22168$as_echo "$ac_try_echo") >&5
22169 (eval "$ac_link") 2>conftest.er1
22170 ac_status=$?
22171 grep -v '^ *+' conftest.er1 >conftest.err
22172 rm -f conftest.er1
22173 cat conftest.err >&5
22174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); } && {
22176 test -z "$ac_c_werror_flag" ||
22177 test ! -s conftest.err
22178 } && test -s conftest$ac_exeext && {
22179 test "$cross_compiling" = yes ||
22180 $as_test_x conftest$ac_exeext
22181 }; then
12323 ac_cv_lib_krb4_krb_get_cred=yes 22182 ac_cv_lib_krb4_krb_get_cred=yes
12324else 22183else
12325 ac_cv_lib_krb4_krb_get_cred=no 22184 $as_echo "$as_me: failed program was:" >&5
22185sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 ac_cv_lib_krb4_krb_get_cred=no
12326fi 22188fi
12327rm -f core conftest.err conftest.$ac_objext \ 22189
12328 conftest$ac_exeext conftest.$ac_ext 22190rm -rf conftest.dSYM
22191rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22192 conftest$ac_exeext conftest.$ac_ext
12329LIBS=$ac_check_lib_save_LIBS 22193LIBS=$ac_check_lib_save_LIBS
12330fi 22194fi
12331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 22195{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
12332$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 22196$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
12333if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 22197if test $ac_cv_lib_krb4_krb_get_cred = yes; then
12334 cat >>confdefs.h <<_ACEOF 22198 cat >>confdefs.h <<_ACEOF
12335#define HAVE_LIBKRB4 1 22199#define HAVE_LIBKRB4 1
12336_ACEOF 22200_ACEOF
@@ -12338,14 +22202,19 @@ _ACEOF
12338 LIBS="-lkrb4 $LIBS" 22202 LIBS="-lkrb4 $LIBS"
12339 22203
12340else 22204else
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 22205
22206{ $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
12342$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 22207$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
12343if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 22208if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
12344 $as_echo_n "(cached) " >&6 22209 $as_echo_n "(cached) " >&6
12345else 22210else
12346 ac_check_lib_save_LIBS=$LIBS 22211 ac_check_lib_save_LIBS=$LIBS
12347LIBS="-lkrb $LIBS" 22212LIBS="-lkrb $LIBS"
12348cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22213cat >conftest.$ac_ext <<_ACEOF
22214/* confdefs.h. */
22215_ACEOF
22216cat confdefs.h >>conftest.$ac_ext
22217cat >>conftest.$ac_ext <<_ACEOF
12349/* end confdefs.h. */ 22218/* end confdefs.h. */
12350 22219
12351/* Override any GCC internal prototype to avoid an error. 22220/* Override any GCC internal prototype to avoid an error.
@@ -12363,18 +22232,43 @@ return krb_get_cred ();
12363 return 0; 22232 return 0;
12364} 22233}
12365_ACEOF 22234_ACEOF
12366if ac_fn_c_try_link "$LINENO"; then : 22235rm -f conftest.$ac_objext conftest$ac_exeext
22236if { (ac_try="$ac_link"
22237case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240esac
22241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22242$as_echo "$ac_try_echo") >&5
22243 (eval "$ac_link") 2>conftest.er1
22244 ac_status=$?
22245 grep -v '^ *+' conftest.er1 >conftest.err
22246 rm -f conftest.er1
22247 cat conftest.err >&5
22248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && {
22250 test -z "$ac_c_werror_flag" ||
22251 test ! -s conftest.err
22252 } && test -s conftest$ac_exeext && {
22253 test "$cross_compiling" = yes ||
22254 $as_test_x conftest$ac_exeext
22255 }; then
12367 ac_cv_lib_krb_krb_get_cred=yes 22256 ac_cv_lib_krb_krb_get_cred=yes
12368else 22257else
12369 ac_cv_lib_krb_krb_get_cred=no 22258 $as_echo "$as_me: failed program was:" >&5
22259sed 's/^/| /' conftest.$ac_ext >&5
22260
22261 ac_cv_lib_krb_krb_get_cred=no
12370fi 22262fi
12371rm -f core conftest.err conftest.$ac_objext \ 22263
12372 conftest$ac_exeext conftest.$ac_ext 22264rm -rf conftest.dSYM
22265rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22266 conftest$ac_exeext conftest.$ac_ext
12373LIBS=$ac_check_lib_save_LIBS 22267LIBS=$ac_check_lib_save_LIBS
12374fi 22268fi
12375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 22269{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
12376$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 22270$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
12377if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 22271if test $ac_cv_lib_krb_krb_get_cred = yes; then
12378 cat >>confdefs.h <<_ACEOF 22272 cat >>confdefs.h <<_ACEOF
12379#define HAVE_LIBKRB 1 22273#define HAVE_LIBKRB 1
12380_ACEOF 22274_ACEOF
@@ -12388,16 +22282,244 @@ fi
12388 fi 22282 fi
12389 22283
12390 if test "${with_kerberos5}" != no; then 22284 if test "${with_kerberos5}" != no; then
12391 for ac_header in krb5.h 22285
12392do : 22286for ac_header in krb5.h
12393 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 22287do
12394if test "x$ac_cv_header_krb5_h" = x""yes; then : 22288as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22289if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22290 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22291$as_echo_n "checking for $ac_header... " >&6; }
22292if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22293 $as_echo_n "(cached) " >&6
22294fi
22295ac_res=`eval 'as_val=${'$as_ac_Header'}
22296 $as_echo "$as_val"'`
22297 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22298$as_echo "$ac_res" >&6; }
22299else
22300 # Is the header compilable?
22301{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22302$as_echo_n "checking $ac_header usability... " >&6; }
22303cat >conftest.$ac_ext <<_ACEOF
22304/* confdefs.h. */
22305_ACEOF
22306cat confdefs.h >>conftest.$ac_ext
22307cat >>conftest.$ac_ext <<_ACEOF
22308/* end confdefs.h. */
22309$ac_includes_default
22310#include <$ac_header>
22311_ACEOF
22312rm -f conftest.$ac_objext
22313if { (ac_try="$ac_compile"
22314case "(($ac_try" in
22315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22316 *) ac_try_echo=$ac_try;;
22317esac
22318eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22319$as_echo "$ac_try_echo") >&5
22320 (eval "$ac_compile") 2>conftest.er1
22321 ac_status=$?
22322 grep -v '^ *+' conftest.er1 >conftest.err
22323 rm -f conftest.er1
22324 cat conftest.err >&5
22325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } && {
22327 test -z "$ac_c_werror_flag" ||
22328 test ! -s conftest.err
22329 } && test -s conftest.$ac_objext; then
22330 ac_header_compiler=yes
22331else
22332 $as_echo "$as_me: failed program was:" >&5
22333sed 's/^/| /' conftest.$ac_ext >&5
22334
22335 ac_header_compiler=no
22336fi
22337
22338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22339{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22340$as_echo "$ac_header_compiler" >&6; }
22341
22342# Is the header present?
22343{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22344$as_echo_n "checking $ac_header presence... " >&6; }
22345cat >conftest.$ac_ext <<_ACEOF
22346/* confdefs.h. */
22347_ACEOF
22348cat confdefs.h >>conftest.$ac_ext
22349cat >>conftest.$ac_ext <<_ACEOF
22350/* end confdefs.h. */
22351#include <$ac_header>
22352_ACEOF
22353if { (ac_try="$ac_cpp conftest.$ac_ext"
22354case "(($ac_try" in
22355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22356 *) ac_try_echo=$ac_try;;
22357esac
22358eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22359$as_echo "$ac_try_echo") >&5
22360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22361 ac_status=$?
22362 grep -v '^ *+' conftest.er1 >conftest.err
22363 rm -f conftest.er1
22364 cat conftest.err >&5
22365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } >/dev/null && {
22367 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22368 test ! -s conftest.err
22369 }; then
22370 ac_header_preproc=yes
22371else
22372 $as_echo "$as_me: failed program was:" >&5
22373sed 's/^/| /' conftest.$ac_ext >&5
22374
22375 ac_header_preproc=no
22376fi
22377
22378rm -f conftest.err conftest.$ac_ext
22379{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22380$as_echo "$ac_header_preproc" >&6; }
22381
22382# So? What about this header?
22383case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22384 yes:no: )
22385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22386$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22388$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22389 ac_header_preproc=yes
22390 ;;
22391 no:yes:* )
22392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22393$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22395$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22397$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22399$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22401$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22403$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22404
22405 ;;
22406esac
22407{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22408$as_echo_n "checking for $ac_header... " >&6; }
22409if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22410 $as_echo_n "(cached) " >&6
22411else
22412 eval "$as_ac_Header=\$ac_header_preproc"
22413fi
22414ac_res=`eval 'as_val=${'$as_ac_Header'}
22415 $as_echo "$as_val"'`
22416 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22417$as_echo "$ac_res" >&6; }
22418
22419fi
22420if test `eval 'as_val=${'$as_ac_Header'}
22421 $as_echo "$as_val"'` = yes; then
12395 cat >>confdefs.h <<_ACEOF 22422 cat >>confdefs.h <<_ACEOF
12396#define HAVE_KRB5_H 1 22423#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12397_ACEOF 22424_ACEOF
12398 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 22425 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5
12399" 22426$as_echo_n "checking for krb5_error.text... " >&6; }
12400if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 22427if test "${ac_cv_member_krb5_error_text+set}" = set; then
22428 $as_echo_n "(cached) " >&6
22429else
22430 cat >conftest.$ac_ext <<_ACEOF
22431/* confdefs.h. */
22432_ACEOF
22433cat confdefs.h >>conftest.$ac_ext
22434cat >>conftest.$ac_ext <<_ACEOF
22435/* end confdefs.h. */
22436#include <krb5.h>
22437
22438int
22439main ()
22440{
22441static krb5_error ac_aggr;
22442if (ac_aggr.text)
22443return 0;
22444 ;
22445 return 0;
22446}
22447_ACEOF
22448rm -f conftest.$ac_objext
22449if { (ac_try="$ac_compile"
22450case "(($ac_try" in
22451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22452 *) ac_try_echo=$ac_try;;
22453esac
22454eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22455$as_echo "$ac_try_echo") >&5
22456 (eval "$ac_compile") 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then
22466 ac_cv_member_krb5_error_text=yes
22467else
22468 $as_echo "$as_me: failed program was:" >&5
22469sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 cat >conftest.$ac_ext <<_ACEOF
22472/* confdefs.h. */
22473_ACEOF
22474cat confdefs.h >>conftest.$ac_ext
22475cat >>conftest.$ac_ext <<_ACEOF
22476/* end confdefs.h. */
22477#include <krb5.h>
22478
22479int
22480main ()
22481{
22482static krb5_error ac_aggr;
22483if (sizeof ac_aggr.text)
22484return 0;
22485 ;
22486 return 0;
22487}
22488_ACEOF
22489rm -f conftest.$ac_objext
22490if { (ac_try="$ac_compile"
22491case "(($ac_try" in
22492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22493 *) ac_try_echo=$ac_try;;
22494esac
22495eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22496$as_echo "$ac_try_echo") >&5
22497 (eval "$ac_compile") 2>conftest.er1
22498 ac_status=$?
22499 grep -v '^ *+' conftest.er1 >conftest.err
22500 rm -f conftest.er1
22501 cat conftest.err >&5
22502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } && {
22504 test -z "$ac_c_werror_flag" ||
22505 test ! -s conftest.err
22506 } && test -s conftest.$ac_objext; then
22507 ac_cv_member_krb5_error_text=yes
22508else
22509 $as_echo "$as_me: failed program was:" >&5
22510sed 's/^/| /' conftest.$ac_ext >&5
22511
22512 ac_cv_member_krb5_error_text=no
22513fi
22514
22515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22516fi
22517
22518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22519fi
22520{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
22521$as_echo "$ac_cv_member_krb5_error_text" >&6; }
22522if test $ac_cv_member_krb5_error_text = yes; then
12401 22523
12402cat >>confdefs.h <<_ACEOF 22524cat >>confdefs.h <<_ACEOF
12403#define HAVE_KRB5_ERROR_TEXT 1 22525#define HAVE_KRB5_ERROR_TEXT 1
@@ -12405,9 +22527,104 @@ _ACEOF
12405 22527
12406 22528
12407fi 22529fi
12408ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 22530{ $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5
12409" 22531$as_echo_n "checking for krb5_error.e_text... " >&6; }
12410if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 22532if test "${ac_cv_member_krb5_error_e_text+set}" = set; then
22533 $as_echo_n "(cached) " >&6
22534else
22535 cat >conftest.$ac_ext <<_ACEOF
22536/* confdefs.h. */
22537_ACEOF
22538cat confdefs.h >>conftest.$ac_ext
22539cat >>conftest.$ac_ext <<_ACEOF
22540/* end confdefs.h. */
22541#include <krb5.h>
22542
22543int
22544main ()
22545{
22546static krb5_error ac_aggr;
22547if (ac_aggr.e_text)
22548return 0;
22549 ;
22550 return 0;
22551}
22552_ACEOF
22553rm -f conftest.$ac_objext
22554if { (ac_try="$ac_compile"
22555case "(($ac_try" in
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22558esac
22559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22560$as_echo "$ac_try_echo") >&5
22561 (eval "$ac_compile") 2>conftest.er1
22562 ac_status=$?
22563 grep -v '^ *+' conftest.er1 >conftest.err
22564 rm -f conftest.er1
22565 cat conftest.err >&5
22566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } && {
22568 test -z "$ac_c_werror_flag" ||
22569 test ! -s conftest.err
22570 } && test -s conftest.$ac_objext; then
22571 ac_cv_member_krb5_error_e_text=yes
22572else
22573 $as_echo "$as_me: failed program was:" >&5
22574sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 cat >conftest.$ac_ext <<_ACEOF
22577/* confdefs.h. */
22578_ACEOF
22579cat confdefs.h >>conftest.$ac_ext
22580cat >>conftest.$ac_ext <<_ACEOF
22581/* end confdefs.h. */
22582#include <krb5.h>
22583
22584int
22585main ()
22586{
22587static krb5_error ac_aggr;
22588if (sizeof ac_aggr.e_text)
22589return 0;
22590 ;
22591 return 0;
22592}
22593_ACEOF
22594rm -f conftest.$ac_objext
22595if { (ac_try="$ac_compile"
22596case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22599esac
22600eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22601$as_echo "$ac_try_echo") >&5
22602 (eval "$ac_compile") 2>conftest.er1
22603 ac_status=$?
22604 grep -v '^ *+' conftest.er1 >conftest.err
22605 rm -f conftest.er1
22606 cat conftest.err >&5
22607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } && {
22609 test -z "$ac_c_werror_flag" ||
22610 test ! -s conftest.err
22611 } && test -s conftest.$ac_objext; then
22612 ac_cv_member_krb5_error_e_text=yes
22613else
22614 $as_echo "$as_me: failed program was:" >&5
22615sed 's/^/| /' conftest.$ac_ext >&5
22616
22617 ac_cv_member_krb5_error_e_text=no
22618fi
22619
22620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621fi
22622
22623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624fi
22625{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
22626$as_echo "$ac_cv_member_krb5_error_e_text" >&6; }
22627if test $ac_cv_member_krb5_error_e_text = yes; then
12411 22628
12412cat >>confdefs.h <<_ACEOF 22629cat >>confdefs.h <<_ACEOF
12413#define HAVE_KRB5_ERROR_E_TEXT 1 22630#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -12421,30 +22638,429 @@ fi
12421done 22638done
12422 22639
12423 else 22640 else
12424 for ac_header in des.h 22641
12425do : 22642for ac_header in des.h
12426 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 22643do
12427if test "x$ac_cv_header_des_h" = x""yes; then : 22644as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22645if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22646 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22647$as_echo_n "checking for $ac_header... " >&6; }
22648if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22649 $as_echo_n "(cached) " >&6
22650fi
22651ac_res=`eval 'as_val=${'$as_ac_Header'}
22652 $as_echo "$as_val"'`
22653 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22654$as_echo "$ac_res" >&6; }
22655else
22656 # Is the header compilable?
22657{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22658$as_echo_n "checking $ac_header usability... " >&6; }
22659cat >conftest.$ac_ext <<_ACEOF
22660/* confdefs.h. */
22661_ACEOF
22662cat confdefs.h >>conftest.$ac_ext
22663cat >>conftest.$ac_ext <<_ACEOF
22664/* end confdefs.h. */
22665$ac_includes_default
22666#include <$ac_header>
22667_ACEOF
22668rm -f conftest.$ac_objext
22669if { (ac_try="$ac_compile"
22670case "(($ac_try" in
22671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22672 *) ac_try_echo=$ac_try;;
22673esac
22674eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22675$as_echo "$ac_try_echo") >&5
22676 (eval "$ac_compile") 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && {
22683 test -z "$ac_c_werror_flag" ||
22684 test ! -s conftest.err
22685 } && test -s conftest.$ac_objext; then
22686 ac_header_compiler=yes
22687else
22688 $as_echo "$as_me: failed program was:" >&5
22689sed 's/^/| /' conftest.$ac_ext >&5
22690
22691 ac_header_compiler=no
22692fi
22693
22694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22696$as_echo "$ac_header_compiler" >&6; }
22697
22698# Is the header present?
22699{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22700$as_echo_n "checking $ac_header presence... " >&6; }
22701cat >conftest.$ac_ext <<_ACEOF
22702/* confdefs.h. */
22703_ACEOF
22704cat confdefs.h >>conftest.$ac_ext
22705cat >>conftest.$ac_ext <<_ACEOF
22706/* end confdefs.h. */
22707#include <$ac_header>
22708_ACEOF
22709if { (ac_try="$ac_cpp conftest.$ac_ext"
22710case "(($ac_try" in
22711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22712 *) ac_try_echo=$ac_try;;
22713esac
22714eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22715$as_echo "$ac_try_echo") >&5
22716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22717 ac_status=$?
22718 grep -v '^ *+' conftest.er1 >conftest.err
22719 rm -f conftest.er1
22720 cat conftest.err >&5
22721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); } >/dev/null && {
22723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22724 test ! -s conftest.err
22725 }; then
22726 ac_header_preproc=yes
22727else
22728 $as_echo "$as_me: failed program was:" >&5
22729sed 's/^/| /' conftest.$ac_ext >&5
22730
22731 ac_header_preproc=no
22732fi
22733
22734rm -f conftest.err conftest.$ac_ext
22735{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22736$as_echo "$ac_header_preproc" >&6; }
22737
22738# So? What about this header?
22739case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22740 yes:no: )
22741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22742$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22744$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22745 ac_header_preproc=yes
22746 ;;
22747 no:yes:* )
22748 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22749$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22751$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22753$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22755$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22757$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22759$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22760
22761 ;;
22762esac
22763{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22764$as_echo_n "checking for $ac_header... " >&6; }
22765if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22766 $as_echo_n "(cached) " >&6
22767else
22768 eval "$as_ac_Header=\$ac_header_preproc"
22769fi
22770ac_res=`eval 'as_val=${'$as_ac_Header'}
22771 $as_echo "$as_val"'`
22772 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22773$as_echo "$ac_res" >&6; }
22774
22775fi
22776if test `eval 'as_val=${'$as_ac_Header'}
22777 $as_echo "$as_val"'` = yes; then
12428 cat >>confdefs.h <<_ACEOF 22778 cat >>confdefs.h <<_ACEOF
12429#define HAVE_DES_H 1 22779#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22780_ACEOF
22781
22782else
22783
22784for ac_header in kerberosIV/des.h
22785do
22786as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22787if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22788 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22789$as_echo_n "checking for $ac_header... " >&6; }
22790if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22791 $as_echo_n "(cached) " >&6
22792fi
22793ac_res=`eval 'as_val=${'$as_ac_Header'}
22794 $as_echo "$as_val"'`
22795 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22796$as_echo "$ac_res" >&6; }
22797else
22798 # Is the header compilable?
22799{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22800$as_echo_n "checking $ac_header usability... " >&6; }
22801cat >conftest.$ac_ext <<_ACEOF
22802/* confdefs.h. */
12430_ACEOF 22803_ACEOF
22804cat confdefs.h >>conftest.$ac_ext
22805cat >>conftest.$ac_ext <<_ACEOF
22806/* end confdefs.h. */
22807$ac_includes_default
22808#include <$ac_header>
22809_ACEOF
22810rm -f conftest.$ac_objext
22811if { (ac_try="$ac_compile"
22812case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22814 *) ac_try_echo=$ac_try;;
22815esac
22816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22817$as_echo "$ac_try_echo") >&5
22818 (eval "$ac_compile") 2>conftest.er1
22819 ac_status=$?
22820 grep -v '^ *+' conftest.er1 >conftest.err
22821 rm -f conftest.er1
22822 cat conftest.err >&5
22823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } && {
22825 test -z "$ac_c_werror_flag" ||
22826 test ! -s conftest.err
22827 } && test -s conftest.$ac_objext; then
22828 ac_header_compiler=yes
22829else
22830 $as_echo "$as_me: failed program was:" >&5
22831sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 ac_header_compiler=no
22834fi
12431 22835
22836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22838$as_echo "$ac_header_compiler" >&6; }
22839
22840# Is the header present?
22841{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22842$as_echo_n "checking $ac_header presence... " >&6; }
22843cat >conftest.$ac_ext <<_ACEOF
22844/* confdefs.h. */
22845_ACEOF
22846cat confdefs.h >>conftest.$ac_ext
22847cat >>conftest.$ac_ext <<_ACEOF
22848/* end confdefs.h. */
22849#include <$ac_header>
22850_ACEOF
22851if { (ac_try="$ac_cpp conftest.$ac_ext"
22852case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22855esac
22856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22857$as_echo "$ac_try_echo") >&5
22858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22859 ac_status=$?
22860 grep -v '^ *+' conftest.er1 >conftest.err
22861 rm -f conftest.er1
22862 cat conftest.err >&5
22863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); } >/dev/null && {
22865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22866 test ! -s conftest.err
22867 }; then
22868 ac_header_preproc=yes
12432else 22869else
12433 for ac_header in kerberosIV/des.h 22870 $as_echo "$as_me: failed program was:" >&5
12434do : 22871sed 's/^/| /' conftest.$ac_ext >&5
12435 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 22872
12436if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 22873 ac_header_preproc=no
22874fi
22875
22876rm -f conftest.err conftest.$ac_ext
22877{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22878$as_echo "$ac_header_preproc" >&6; }
22879
22880# So? What about this header?
22881case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22882 yes:no: )
22883 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22884$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22886$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22887 ac_header_preproc=yes
22888 ;;
22889 no:yes:* )
22890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22891$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22893$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22895$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22897$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22899$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22901$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22902
22903 ;;
22904esac
22905{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22906$as_echo_n "checking for $ac_header... " >&6; }
22907if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22908 $as_echo_n "(cached) " >&6
22909else
22910 eval "$as_ac_Header=\$ac_header_preproc"
22911fi
22912ac_res=`eval 'as_val=${'$as_ac_Header'}
22913 $as_echo "$as_val"'`
22914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22915$as_echo "$ac_res" >&6; }
22916
22917fi
22918if test `eval 'as_val=${'$as_ac_Header'}
22919 $as_echo "$as_val"'` = yes; then
12437 cat >>confdefs.h <<_ACEOF 22920 cat >>confdefs.h <<_ACEOF
12438#define HAVE_KERBEROSIV_DES_H 1 22921#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22922_ACEOF
22923
22924else
22925
22926for ac_header in kerberos/des.h
22927do
22928as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22929if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22930 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22931$as_echo_n "checking for $ac_header... " >&6; }
22932if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22933 $as_echo_n "(cached) " >&6
22934fi
22935ac_res=`eval 'as_val=${'$as_ac_Header'}
22936 $as_echo "$as_val"'`
22937 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22938$as_echo "$ac_res" >&6; }
22939else
22940 # Is the header compilable?
22941{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22942$as_echo_n "checking $ac_header usability... " >&6; }
22943cat >conftest.$ac_ext <<_ACEOF
22944/* confdefs.h. */
12439_ACEOF 22945_ACEOF
22946cat confdefs.h >>conftest.$ac_ext
22947cat >>conftest.$ac_ext <<_ACEOF
22948/* end confdefs.h. */
22949$ac_includes_default
22950#include <$ac_header>
22951_ACEOF
22952rm -f conftest.$ac_objext
22953if { (ac_try="$ac_compile"
22954case "(($ac_try" in
22955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22956 *) ac_try_echo=$ac_try;;
22957esac
22958eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22959$as_echo "$ac_try_echo") >&5
22960 (eval "$ac_compile") 2>conftest.er1
22961 ac_status=$?
22962 grep -v '^ *+' conftest.er1 >conftest.err
22963 rm -f conftest.er1
22964 cat conftest.err >&5
22965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && {
22967 test -z "$ac_c_werror_flag" ||
22968 test ! -s conftest.err
22969 } && test -s conftest.$ac_objext; then
22970 ac_header_compiler=yes
22971else
22972 $as_echo "$as_me: failed program was:" >&5
22973sed 's/^/| /' conftest.$ac_ext >&5
22974
22975 ac_header_compiler=no
22976fi
22977
22978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22979{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22980$as_echo "$ac_header_compiler" >&6; }
22981
22982# Is the header present?
22983{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22984$as_echo_n "checking $ac_header presence... " >&6; }
22985cat >conftest.$ac_ext <<_ACEOF
22986/* confdefs.h. */
22987_ACEOF
22988cat confdefs.h >>conftest.$ac_ext
22989cat >>conftest.$ac_ext <<_ACEOF
22990/* end confdefs.h. */
22991#include <$ac_header>
22992_ACEOF
22993if { (ac_try="$ac_cpp conftest.$ac_ext"
22994case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22997esac
22998eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22999$as_echo "$ac_try_echo") >&5
23000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23001 ac_status=$?
23002 grep -v '^ *+' conftest.er1 >conftest.err
23003 rm -f conftest.er1
23004 cat conftest.err >&5
23005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } >/dev/null && {
23007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 }; then
23010 ac_header_preproc=yes
23011else
23012 $as_echo "$as_me: failed program was:" >&5
23013sed 's/^/| /' conftest.$ac_ext >&5
23014
23015 ac_header_preproc=no
23016fi
23017
23018rm -f conftest.err conftest.$ac_ext
23019{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23020$as_echo "$ac_header_preproc" >&6; }
23021
23022# So? What about this header?
23023case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23024 yes:no: )
23025 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23026$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23027 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23028$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23029 ac_header_preproc=yes
23030 ;;
23031 no:yes:* )
23032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23033$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23035$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23037$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23039$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23041$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23043$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12440 23044
23045 ;;
23046esac
23047{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23048$as_echo_n "checking for $ac_header... " >&6; }
23049if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23050 $as_echo_n "(cached) " >&6
12441else 23051else
12442 for ac_header in kerberos/des.h 23052 eval "$as_ac_Header=\$ac_header_preproc"
12443do : 23053fi
12444 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 23054ac_res=`eval 'as_val=${'$as_ac_Header'}
12445if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 23055 $as_echo "$as_val"'`
23056 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23057$as_echo "$ac_res" >&6; }
23058
23059fi
23060if test `eval 'as_val=${'$as_ac_Header'}
23061 $as_echo "$as_val"'` = yes; then
12446 cat >>confdefs.h <<_ACEOF 23062 cat >>confdefs.h <<_ACEOF
12447#define HAVE_KERBEROS_DES_H 1 23063#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12448_ACEOF 23064_ACEOF
12449 23065
12450fi 23066fi
@@ -12459,30 +23075,429 @@ fi
12459 23075
12460done 23076done
12461 23077
12462 for ac_header in krb.h 23078
12463do : 23079for ac_header in krb.h
12464 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 23080do
12465if test "x$ac_cv_header_krb_h" = x""yes; then : 23081as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23082if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23083 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23084$as_echo_n "checking for $ac_header... " >&6; }
23085if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23086 $as_echo_n "(cached) " >&6
23087fi
23088ac_res=`eval 'as_val=${'$as_ac_Header'}
23089 $as_echo "$as_val"'`
23090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23091$as_echo "$ac_res" >&6; }
23092else
23093 # Is the header compilable?
23094{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23095$as_echo_n "checking $ac_header usability... " >&6; }
23096cat >conftest.$ac_ext <<_ACEOF
23097/* confdefs.h. */
23098_ACEOF
23099cat confdefs.h >>conftest.$ac_ext
23100cat >>conftest.$ac_ext <<_ACEOF
23101/* end confdefs.h. */
23102$ac_includes_default
23103#include <$ac_header>
23104_ACEOF
23105rm -f conftest.$ac_objext
23106if { (ac_try="$ac_compile"
23107case "(($ac_try" in
23108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23109 *) ac_try_echo=$ac_try;;
23110esac
23111eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23112$as_echo "$ac_try_echo") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23114 ac_status=$?
23115 grep -v '^ *+' conftest.er1 >conftest.err
23116 rm -f conftest.er1
23117 cat conftest.err >&5
23118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } && {
23120 test -z "$ac_c_werror_flag" ||
23121 test ! -s conftest.err
23122 } && test -s conftest.$ac_objext; then
23123 ac_header_compiler=yes
23124else
23125 $as_echo "$as_me: failed program was:" >&5
23126sed 's/^/| /' conftest.$ac_ext >&5
23127
23128 ac_header_compiler=no
23129fi
23130
23131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23132{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23133$as_echo "$ac_header_compiler" >&6; }
23134
23135# Is the header present?
23136{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23137$as_echo_n "checking $ac_header presence... " >&6; }
23138cat >conftest.$ac_ext <<_ACEOF
23139/* confdefs.h. */
23140_ACEOF
23141cat confdefs.h >>conftest.$ac_ext
23142cat >>conftest.$ac_ext <<_ACEOF
23143/* end confdefs.h. */
23144#include <$ac_header>
23145_ACEOF
23146if { (ac_try="$ac_cpp conftest.$ac_ext"
23147case "(($ac_try" in
23148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23149 *) ac_try_echo=$ac_try;;
23150esac
23151eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23152$as_echo "$ac_try_echo") >&5
23153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23154 ac_status=$?
23155 grep -v '^ *+' conftest.er1 >conftest.err
23156 rm -f conftest.er1
23157 cat conftest.err >&5
23158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } >/dev/null && {
23160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23161 test ! -s conftest.err
23162 }; then
23163 ac_header_preproc=yes
23164else
23165 $as_echo "$as_me: failed program was:" >&5
23166sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 ac_header_preproc=no
23169fi
23170
23171rm -f conftest.err conftest.$ac_ext
23172{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23173$as_echo "$ac_header_preproc" >&6; }
23174
23175# So? What about this header?
23176case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23177 yes:no: )
23178 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23179$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23180 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23181$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23182 ac_header_preproc=yes
23183 ;;
23184 no:yes:* )
23185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23186$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23188$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23190$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23192$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23194$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23196$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23197
23198 ;;
23199esac
23200{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23201$as_echo_n "checking for $ac_header... " >&6; }
23202if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23203 $as_echo_n "(cached) " >&6
23204else
23205 eval "$as_ac_Header=\$ac_header_preproc"
23206fi
23207ac_res=`eval 'as_val=${'$as_ac_Header'}
23208 $as_echo "$as_val"'`
23209 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23210$as_echo "$ac_res" >&6; }
23211
23212fi
23213if test `eval 'as_val=${'$as_ac_Header'}
23214 $as_echo "$as_val"'` = yes; then
12466 cat >>confdefs.h <<_ACEOF 23215 cat >>confdefs.h <<_ACEOF
12467#define HAVE_KRB_H 1 23216#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12468_ACEOF 23217_ACEOF
12469 23218
12470else 23219else
12471 for ac_header in kerberosIV/krb.h 23220
12472do : 23221for ac_header in kerberosIV/krb.h
12473 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 23222do
12474if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 23223as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23224if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23225 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23226$as_echo_n "checking for $ac_header... " >&6; }
23227if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23228 $as_echo_n "(cached) " >&6
23229fi
23230ac_res=`eval 'as_val=${'$as_ac_Header'}
23231 $as_echo "$as_val"'`
23232 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23233$as_echo "$ac_res" >&6; }
23234else
23235 # Is the header compilable?
23236{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23237$as_echo_n "checking $ac_header usability... " >&6; }
23238cat >conftest.$ac_ext <<_ACEOF
23239/* confdefs.h. */
23240_ACEOF
23241cat confdefs.h >>conftest.$ac_ext
23242cat >>conftest.$ac_ext <<_ACEOF
23243/* end confdefs.h. */
23244$ac_includes_default
23245#include <$ac_header>
23246_ACEOF
23247rm -f conftest.$ac_objext
23248if { (ac_try="$ac_compile"
23249case "(($ac_try" in
23250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23251 *) ac_try_echo=$ac_try;;
23252esac
23253eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23254$as_echo "$ac_try_echo") >&5
23255 (eval "$ac_compile") 2>conftest.er1
23256 ac_status=$?
23257 grep -v '^ *+' conftest.er1 >conftest.err
23258 rm -f conftest.er1
23259 cat conftest.err >&5
23260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); } && {
23262 test -z "$ac_c_werror_flag" ||
23263 test ! -s conftest.err
23264 } && test -s conftest.$ac_objext; then
23265 ac_header_compiler=yes
23266else
23267 $as_echo "$as_me: failed program was:" >&5
23268sed 's/^/| /' conftest.$ac_ext >&5
23269
23270 ac_header_compiler=no
23271fi
23272
23273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23275$as_echo "$ac_header_compiler" >&6; }
23276
23277# Is the header present?
23278{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23279$as_echo_n "checking $ac_header presence... " >&6; }
23280cat >conftest.$ac_ext <<_ACEOF
23281/* confdefs.h. */
23282_ACEOF
23283cat confdefs.h >>conftest.$ac_ext
23284cat >>conftest.$ac_ext <<_ACEOF
23285/* end confdefs.h. */
23286#include <$ac_header>
23287_ACEOF
23288if { (ac_try="$ac_cpp conftest.$ac_ext"
23289case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292esac
23293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23294$as_echo "$ac_try_echo") >&5
23295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } >/dev/null && {
23302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23303 test ! -s conftest.err
23304 }; then
23305 ac_header_preproc=yes
23306else
23307 $as_echo "$as_me: failed program was:" >&5
23308sed 's/^/| /' conftest.$ac_ext >&5
23309
23310 ac_header_preproc=no
23311fi
23312
23313rm -f conftest.err conftest.$ac_ext
23314{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23315$as_echo "$ac_header_preproc" >&6; }
23316
23317# So? What about this header?
23318case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23319 yes:no: )
23320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23321$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23323$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23324 ac_header_preproc=yes
23325 ;;
23326 no:yes:* )
23327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23328$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23330$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23332$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23334$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23336$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23338$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23339
23340 ;;
23341esac
23342{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23343$as_echo_n "checking for $ac_header... " >&6; }
23344if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23345 $as_echo_n "(cached) " >&6
23346else
23347 eval "$as_ac_Header=\$ac_header_preproc"
23348fi
23349ac_res=`eval 'as_val=${'$as_ac_Header'}
23350 $as_echo "$as_val"'`
23351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23352$as_echo "$ac_res" >&6; }
23353
23354fi
23355if test `eval 'as_val=${'$as_ac_Header'}
23356 $as_echo "$as_val"'` = yes; then
12475 cat >>confdefs.h <<_ACEOF 23357 cat >>confdefs.h <<_ACEOF
12476#define HAVE_KERBEROSIV_KRB_H 1 23358#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12477_ACEOF 23359_ACEOF
12478 23360
12479else 23361else
12480 for ac_header in kerberos/krb.h 23362
12481do : 23363for ac_header in kerberos/krb.h
12482 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 23364do
12483if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 23365as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23366if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23367 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23368$as_echo_n "checking for $ac_header... " >&6; }
23369if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23370 $as_echo_n "(cached) " >&6
23371fi
23372ac_res=`eval 'as_val=${'$as_ac_Header'}
23373 $as_echo "$as_val"'`
23374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23375$as_echo "$ac_res" >&6; }
23376else
23377 # Is the header compilable?
23378{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23379$as_echo_n "checking $ac_header usability... " >&6; }
23380cat >conftest.$ac_ext <<_ACEOF
23381/* confdefs.h. */
23382_ACEOF
23383cat confdefs.h >>conftest.$ac_ext
23384cat >>conftest.$ac_ext <<_ACEOF
23385/* end confdefs.h. */
23386$ac_includes_default
23387#include <$ac_header>
23388_ACEOF
23389rm -f conftest.$ac_objext
23390if { (ac_try="$ac_compile"
23391case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393 *) ac_try_echo=$ac_try;;
23394esac
23395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23396$as_echo "$ac_try_echo") >&5
23397 (eval "$ac_compile") 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_c_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest.$ac_objext; then
23407 ac_header_compiler=yes
23408else
23409 $as_echo "$as_me: failed program was:" >&5
23410sed 's/^/| /' conftest.$ac_ext >&5
23411
23412 ac_header_compiler=no
23413fi
23414
23415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23417$as_echo "$ac_header_compiler" >&6; }
23418
23419# Is the header present?
23420{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23421$as_echo_n "checking $ac_header presence... " >&6; }
23422cat >conftest.$ac_ext <<_ACEOF
23423/* confdefs.h. */
23424_ACEOF
23425cat confdefs.h >>conftest.$ac_ext
23426cat >>conftest.$ac_ext <<_ACEOF
23427/* end confdefs.h. */
23428#include <$ac_header>
23429_ACEOF
23430if { (ac_try="$ac_cpp conftest.$ac_ext"
23431case "(($ac_try" in
23432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23433 *) ac_try_echo=$ac_try;;
23434esac
23435eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23436$as_echo "$ac_try_echo") >&5
23437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23438 ac_status=$?
23439 grep -v '^ *+' conftest.er1 >conftest.err
23440 rm -f conftest.er1
23441 cat conftest.err >&5
23442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } >/dev/null && {
23444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23445 test ! -s conftest.err
23446 }; then
23447 ac_header_preproc=yes
23448else
23449 $as_echo "$as_me: failed program was:" >&5
23450sed 's/^/| /' conftest.$ac_ext >&5
23451
23452 ac_header_preproc=no
23453fi
23454
23455rm -f conftest.err conftest.$ac_ext
23456{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23457$as_echo "$ac_header_preproc" >&6; }
23458
23459# So? What about this header?
23460case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23461 yes:no: )
23462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23463$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23465$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23466 ac_header_preproc=yes
23467 ;;
23468 no:yes:* )
23469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23470$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23472$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23474$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23475 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23476$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23477 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23478$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23480$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23481
23482 ;;
23483esac
23484{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23485$as_echo_n "checking for $ac_header... " >&6; }
23486if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23487 $as_echo_n "(cached) " >&6
23488else
23489 eval "$as_ac_Header=\$ac_header_preproc"
23490fi
23491ac_res=`eval 'as_val=${'$as_ac_Header'}
23492 $as_echo "$as_val"'`
23493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23494$as_echo "$ac_res" >&6; }
23495
23496fi
23497if test `eval 'as_val=${'$as_ac_Header'}
23498 $as_echo "$as_val"'` = yes; then
12484 cat >>confdefs.h <<_ACEOF 23499 cat >>confdefs.h <<_ACEOF
12485#define HAVE_KERBEROS_KRB_H 1 23500#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12486_ACEOF 23501_ACEOF
12487 23502
12488fi 23503fi
@@ -12498,12 +23513,145 @@ fi
12498done 23513done
12499 23514
12500 fi 23515 fi
12501 for ac_header in com_err.h 23516
12502do : 23517for ac_header in com_err.h
12503 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 23518do
12504if test "x$ac_cv_header_com_err_h" = x""yes; then : 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
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
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
23643 eval "$as_ac_Header=\$ac_header_preproc"
23644fi
23645ac_res=`eval 'as_val=${'$as_ac_Header'}
23646 $as_echo "$as_val"'`
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
12505 cat >>confdefs.h <<_ACEOF 23653 cat >>confdefs.h <<_ACEOF
12506#define HAVE_COM_ERR_H 1 23654#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12507_ACEOF 23655_ACEOF
12508 23656
12509fi 23657fi
@@ -12514,14 +23662,19 @@ fi
12514 23662
12515# Solaris requires -lintl if you want strerror (which calls dgettext) 23663# Solaris requires -lintl if you want strerror (which calls dgettext)
12516# to return localized messages. 23664# to return localized messages.
12517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 23665
23666{ $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
12518$as_echo_n "checking for dgettext in -lintl... " >&6; } 23667$as_echo_n "checking for dgettext in -lintl... " >&6; }
12519if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 23668if test "${ac_cv_lib_intl_dgettext+set}" = set; then
12520 $as_echo_n "(cached) " >&6 23669 $as_echo_n "(cached) " >&6
12521else 23670else
12522 ac_check_lib_save_LIBS=$LIBS 23671 ac_check_lib_save_LIBS=$LIBS
12523LIBS="-lintl $LIBS" 23672LIBS="-lintl $LIBS"
12524cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23673cat >conftest.$ac_ext <<_ACEOF
23674/* confdefs.h. */
23675_ACEOF
23676cat confdefs.h >>conftest.$ac_ext
23677cat >>conftest.$ac_ext <<_ACEOF
12525/* end confdefs.h. */ 23678/* end confdefs.h. */
12526 23679
12527/* Override any GCC internal prototype to avoid an error. 23680/* Override any GCC internal prototype to avoid an error.
@@ -12539,18 +23692,43 @@ return dgettext ();
12539 return 0; 23692 return 0;
12540} 23693}
12541_ACEOF 23694_ACEOF
12542if ac_fn_c_try_link "$LINENO"; then : 23695rm -f conftest.$ac_objext conftest$ac_exeext
23696if { (ac_try="$ac_link"
23697case "(($ac_try" in
23698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23699 *) ac_try_echo=$ac_try;;
23700esac
23701eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23702$as_echo "$ac_try_echo") >&5
23703 (eval "$ac_link") 2>conftest.er1
23704 ac_status=$?
23705 grep -v '^ *+' conftest.er1 >conftest.err
23706 rm -f conftest.er1
23707 cat conftest.err >&5
23708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); } && {
23710 test -z "$ac_c_werror_flag" ||
23711 test ! -s conftest.err
23712 } && test -s conftest$ac_exeext && {
23713 test "$cross_compiling" = yes ||
23714 $as_test_x conftest$ac_exeext
23715 }; then
12543 ac_cv_lib_intl_dgettext=yes 23716 ac_cv_lib_intl_dgettext=yes
12544else 23717else
12545 ac_cv_lib_intl_dgettext=no 23718 $as_echo "$as_me: failed program was:" >&5
23719sed 's/^/| /' conftest.$ac_ext >&5
23720
23721 ac_cv_lib_intl_dgettext=no
12546fi 23722fi
12547rm -f core conftest.err conftest.$ac_objext \ 23723
12548 conftest$ac_exeext conftest.$ac_ext 23724rm -rf conftest.dSYM
23725rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23726 conftest$ac_exeext conftest.$ac_ext
12549LIBS=$ac_check_lib_save_LIBS 23727LIBS=$ac_check_lib_save_LIBS
12550fi 23728fi
12551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 23729{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
12552$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 23730$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12553if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 23731if test $ac_cv_lib_intl_dgettext = yes; then
12554 cat >>confdefs.h <<_ACEOF 23732 cat >>confdefs.h <<_ACEOF
12555#define HAVE_LIBINTL 1 23733#define HAVE_LIBINTL 1
12556_ACEOF 23734_ACEOF
@@ -12560,17 +23738,21 @@ _ACEOF
12560fi 23738fi
12561 23739
12562 23740
12563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 23741{ $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
12564$as_echo_n "checking whether localtime caches TZ... " >&6; } 23742$as_echo_n "checking whether localtime caches TZ... " >&6; }
12565if test "${emacs_cv_localtime_cache+set}" = set; then : 23743if test "${emacs_cv_localtime_cache+set}" = set; then
12566 $as_echo_n "(cached) " >&6 23744 $as_echo_n "(cached) " >&6
12567else 23745else
12568 if test x$ac_cv_func_tzset = xyes; then 23746 if test x$ac_cv_func_tzset = xyes; then
12569if test "$cross_compiling" = yes; then : 23747if test "$cross_compiling" = yes; then
12570 # If we have tzset, assume the worst when cross-compiling. 23748 # If we have tzset, assume the worst when cross-compiling.
12571emacs_cv_localtime_cache=yes 23749emacs_cv_localtime_cache=yes
12572else 23750else
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23751 cat >conftest.$ac_ext <<_ACEOF
23752/* confdefs.h. */
23753_ACEOF
23754cat confdefs.h >>conftest.$ac_ext
23755cat >>conftest.$ac_ext <<_ACEOF
12574/* end confdefs.h. */ 23756/* end confdefs.h. */
12575#include <time.h> 23757#include <time.h>
12576extern char **environ; 23758extern char **environ;
@@ -12602,48 +23784,170 @@ main()
12602 exit (0); 23784 exit (0);
12603} 23785}
12604_ACEOF 23786_ACEOF
12605if ac_fn_c_try_run "$LINENO"; then : 23787rm -f conftest$ac_exeext
23788if { (ac_try="$ac_link"
23789case "(($ac_try" in
23790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23791 *) ac_try_echo=$ac_try;;
23792esac
23793eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23794$as_echo "$ac_try_echo") >&5
23795 (eval "$ac_link") 2>&5
23796 ac_status=$?
23797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23799 { (case "(($ac_try" in
23800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23801 *) ac_try_echo=$ac_try;;
23802esac
23803eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23804$as_echo "$ac_try_echo") >&5
23805 (eval "$ac_try") 2>&5
23806 ac_status=$?
23807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
12606 emacs_cv_localtime_cache=no 23809 emacs_cv_localtime_cache=no
12607else 23810else
12608 emacs_cv_localtime_cache=yes 23811 $as_echo "$as_me: program exited with status $ac_status" >&5
23812$as_echo "$as_me: failed program was:" >&5
23813sed 's/^/| /' conftest.$ac_ext >&5
23814
23815( exit $ac_status )
23816emacs_cv_localtime_cache=yes
12609fi 23817fi
12610rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 23818rm -rf conftest.dSYM
12611 conftest.$ac_objext conftest.beam conftest.$ac_ext 23819rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12612fi 23820fi
12613 23821
23822
12614else 23823else
12615 # If we lack tzset, report that localtime does not cache TZ, 23824 # If we lack tzset, report that localtime does not cache TZ,
12616 # since we can't invalidate the cache if we don't have tzset. 23825 # since we can't invalidate the cache if we don't have tzset.
12617 emacs_cv_localtime_cache=no 23826 emacs_cv_localtime_cache=no
12618fi 23827fi
12619fi 23828fi
12620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 23829{ $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
12621$as_echo "$emacs_cv_localtime_cache" >&6; } 23830$as_echo "$emacs_cv_localtime_cache" >&6; }
12622if test $emacs_cv_localtime_cache = yes; then 23831if test $emacs_cv_localtime_cache = yes; then
12623 23832
12624$as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h 23833cat >>confdefs.h <<\_ACEOF
23834#define LOCALTIME_CACHE 1
23835_ACEOF
12625 23836
12626fi 23837fi
12627 23838
12628if test "x$HAVE_TIMEVAL" = xyes; then 23839if test "x$HAVE_TIMEVAL" = xyes; then
12629 for ac_func in gettimeofday 23840
12630do : 23841for ac_func in gettimeofday
12631 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 23842do
12632if test "x$ac_cv_func_gettimeofday" = x""yes; then : 23843as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23844{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
23845$as_echo_n "checking for $ac_func... " >&6; }
23846if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23847 $as_echo_n "(cached) " >&6
23848else
23849 cat >conftest.$ac_ext <<_ACEOF
23850/* confdefs.h. */
23851_ACEOF
23852cat confdefs.h >>conftest.$ac_ext
23853cat >>conftest.$ac_ext <<_ACEOF
23854/* end confdefs.h. */
23855/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23857#define $ac_func innocuous_$ac_func
23858
23859/* System header to define __stub macros and hopefully few prototypes,
23860 which can conflict with char $ac_func (); below.
23861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23862 <limits.h> exists even on freestanding compilers. */
23863
23864#ifdef __STDC__
23865# include <limits.h>
23866#else
23867# include <assert.h>
23868#endif
23869
23870#undef $ac_func
23871
23872/* Override any GCC internal prototype to avoid an error.
23873 Use char because int might match the return type of a GCC
23874 builtin and then its argument prototype would still apply. */
23875#ifdef __cplusplus
23876extern "C"
23877#endif
23878char $ac_func ();
23879/* The GNU C library defines this for functions which it implements
23880 to always fail with ENOSYS. Some functions are actually named
23881 something starting with __ and the normal name is an alias. */
23882#if defined __stub_$ac_func || defined __stub___$ac_func
23883choke me
23884#endif
23885
23886int
23887main ()
23888{
23889return $ac_func ();
23890 ;
23891 return 0;
23892}
23893_ACEOF
23894rm -f conftest.$ac_objext conftest$ac_exeext
23895if { (ac_try="$ac_link"
23896case "(($ac_try" in
23897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23898 *) ac_try_echo=$ac_try;;
23899esac
23900eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23901$as_echo "$ac_try_echo") >&5
23902 (eval "$ac_link") 2>conftest.er1
23903 ac_status=$?
23904 grep -v '^ *+' conftest.er1 >conftest.err
23905 rm -f conftest.er1
23906 cat conftest.err >&5
23907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); } && {
23909 test -z "$ac_c_werror_flag" ||
23910 test ! -s conftest.err
23911 } && test -s conftest$ac_exeext && {
23912 test "$cross_compiling" = yes ||
23913 $as_test_x conftest$ac_exeext
23914 }; then
23915 eval "$as_ac_var=yes"
23916else
23917 $as_echo "$as_me: failed program was:" >&5
23918sed 's/^/| /' conftest.$ac_ext >&5
23919
23920 eval "$as_ac_var=no"
23921fi
23922
23923rm -rf conftest.dSYM
23924rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23925 conftest$ac_exeext conftest.$ac_ext
23926fi
23927ac_res=`eval 'as_val=${'$as_ac_var'}
23928 $as_echo "$as_val"'`
23929 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23930$as_echo "$ac_res" >&6; }
23931if test `eval 'as_val=${'$as_ac_var'}
23932 $as_echo "$as_val"'` = yes; then
12633 cat >>confdefs.h <<_ACEOF 23933 cat >>confdefs.h <<_ACEOF
12634#define HAVE_GETTIMEOFDAY 1 23934#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12635_ACEOF 23935_ACEOF
12636 23936
12637fi 23937fi
12638done 23938done
12639 23939
12640 if test $ac_cv_func_gettimeofday = yes; then 23940 if test $ac_cv_func_gettimeofday = yes; then
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 23941 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
12642$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 23942$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
12643if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 23943if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
12644 $as_echo_n "(cached) " >&6 23944 $as_echo_n "(cached) " >&6
12645else 23945else
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23946 cat >conftest.$ac_ext <<_ACEOF
23947/* confdefs.h. */
23948_ACEOF
23949cat confdefs.h >>conftest.$ac_ext
23950cat >>conftest.$ac_ext <<_ACEOF
12647/* end confdefs.h. */ 23951/* end confdefs.h. */
12648 23952
12649#ifdef TIME_WITH_SYS_TIME 23953#ifdef TIME_WITH_SYS_TIME
@@ -12665,35 +23969,268 @@ struct timeval time;
12665 return 0; 23969 return 0;
12666} 23970}
12667_ACEOF 23971_ACEOF
12668if ac_fn_c_try_compile "$LINENO"; then : 23972rm -f conftest.$ac_objext
23973if { (ac_try="$ac_compile"
23974case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23977esac
23978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23979$as_echo "$ac_try_echo") >&5
23980 (eval "$ac_compile") 2>conftest.er1
23981 ac_status=$?
23982 grep -v '^ *+' conftest.er1 >conftest.err
23983 rm -f conftest.er1
23984 cat conftest.err >&5
23985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } && {
23987 test -z "$ac_c_werror_flag" ||
23988 test ! -s conftest.err
23989 } && test -s conftest.$ac_objext; then
12669 emacs_cv_gettimeofday_two_arguments=yes 23990 emacs_cv_gettimeofday_two_arguments=yes
12670else 23991else
12671 emacs_cv_gettimeofday_two_arguments=no 23992 $as_echo "$as_me: failed program was:" >&5
23993sed 's/^/| /' conftest.$ac_ext >&5
23994
23995 emacs_cv_gettimeofday_two_arguments=no
12672fi 23996fi
23997
12673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12674fi 23999fi
12675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 24000{ $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
12676$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } 24001$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; }
12677 if test $emacs_cv_gettimeofday_two_arguments = no; then 24002 if test $emacs_cv_gettimeofday_two_arguments = no; then
12678 24003
12679$as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h 24004cat >>confdefs.h <<\_ACEOF
24005#define GETTIMEOFDAY_ONE_ARGUMENT 1
24006_ACEOF
12680 24007
12681 fi 24008 fi
12682 fi 24009 fi
12683fi 24010fi
12684 24011
12685ok_so_far=yes 24012ok_so_far=yes
12686ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 24013{ $as_echo "$as_me:$LINENO: checking for socket" >&5
12687if test "x$ac_cv_func_socket" = x""yes; then : 24014$as_echo_n "checking for socket... " >&6; }
24015if test "${ac_cv_func_socket+set}" = set; then
24016 $as_echo_n "(cached) " >&6
24017else
24018 cat >conftest.$ac_ext <<_ACEOF
24019/* confdefs.h. */
24020_ACEOF
24021cat confdefs.h >>conftest.$ac_ext
24022cat >>conftest.$ac_ext <<_ACEOF
24023/* end confdefs.h. */
24024/* Define socket to an innocuous variant, in case <limits.h> declares socket.
24025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24026#define socket innocuous_socket
24027
24028/* System header to define __stub macros and hopefully few prototypes,
24029 which can conflict with char socket (); below.
24030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24031 <limits.h> exists even on freestanding compilers. */
24032
24033#ifdef __STDC__
24034# include <limits.h>
24035#else
24036# include <assert.h>
24037#endif
24038
24039#undef socket
24040
24041/* Override any GCC internal prototype to avoid an error.
24042 Use char because int might match the return type of a GCC
24043 builtin and then its argument prototype would still apply. */
24044#ifdef __cplusplus
24045extern "C"
24046#endif
24047char socket ();
24048/* The GNU C library defines this for functions which it implements
24049 to always fail with ENOSYS. Some functions are actually named
24050 something starting with __ and the normal name is an alias. */
24051#if defined __stub_socket || defined __stub___socket
24052choke me
24053#endif
24054
24055int
24056main ()
24057{
24058return socket ();
24059 ;
24060 return 0;
24061}
24062_ACEOF
24063rm -f conftest.$ac_objext conftest$ac_exeext
24064if { (ac_try="$ac_link"
24065case "(($ac_try" in
24066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24067 *) ac_try_echo=$ac_try;;
24068esac
24069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24070$as_echo "$ac_try_echo") >&5
24071 (eval "$ac_link") 2>conftest.er1
24072 ac_status=$?
24073 grep -v '^ *+' conftest.er1 >conftest.err
24074 rm -f conftest.er1
24075 cat conftest.err >&5
24076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); } && {
24078 test -z "$ac_c_werror_flag" ||
24079 test ! -s conftest.err
24080 } && test -s conftest$ac_exeext && {
24081 test "$cross_compiling" = yes ||
24082 $as_test_x conftest$ac_exeext
24083 }; then
24084 ac_cv_func_socket=yes
24085else
24086 $as_echo "$as_me: failed program was:" >&5
24087sed 's/^/| /' conftest.$ac_ext >&5
12688 24088
24089 ac_cv_func_socket=no
24090fi
24091
24092rm -rf conftest.dSYM
24093rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24094 conftest$ac_exeext conftest.$ac_ext
24095fi
24096{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
24097$as_echo "$ac_cv_func_socket" >&6; }
24098if test $ac_cv_func_socket = yes; then
24099 :
12689else 24100else
12690 ok_so_far=no 24101 ok_so_far=no
12691fi 24102fi
12692 24103
12693if test $ok_so_far = yes; then 24104if test $ok_so_far = yes; then
12694 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 24105 if test "${ac_cv_header_netinet_in_h+set}" = set; then
12695if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 24106 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
24107$as_echo_n "checking for netinet/in.h... " >&6; }
24108if test "${ac_cv_header_netinet_in_h+set}" = set; then
24109 $as_echo_n "(cached) " >&6
24110fi
24111{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24112$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24113else
24114 # Is the header compilable?
24115{ $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
24116$as_echo_n "checking netinet/in.h usability... " >&6; }
24117cat >conftest.$ac_ext <<_ACEOF
24118/* confdefs.h. */
24119_ACEOF
24120cat confdefs.h >>conftest.$ac_ext
24121cat >>conftest.$ac_ext <<_ACEOF
24122/* end confdefs.h. */
24123$ac_includes_default
24124#include <netinet/in.h>
24125_ACEOF
24126rm -f conftest.$ac_objext
24127if { (ac_try="$ac_compile"
24128case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24131esac
24132eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24133$as_echo "$ac_try_echo") >&5
24134 (eval "$ac_compile") 2>conftest.er1
24135 ac_status=$?
24136 grep -v '^ *+' conftest.er1 >conftest.err
24137 rm -f conftest.er1
24138 cat conftest.err >&5
24139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } && {
24141 test -z "$ac_c_werror_flag" ||
24142 test ! -s conftest.err
24143 } && test -s conftest.$ac_objext; then
24144 ac_header_compiler=yes
24145else
24146 $as_echo "$as_me: failed program was:" >&5
24147sed 's/^/| /' conftest.$ac_ext >&5
24148
24149 ac_header_compiler=no
24150fi
24151
24152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24154$as_echo "$ac_header_compiler" >&6; }
12696 24155
24156# Is the header present?
24157{ $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
24158$as_echo_n "checking netinet/in.h presence... " >&6; }
24159cat >conftest.$ac_ext <<_ACEOF
24160/* confdefs.h. */
24161_ACEOF
24162cat confdefs.h >>conftest.$ac_ext
24163cat >>conftest.$ac_ext <<_ACEOF
24164/* end confdefs.h. */
24165#include <netinet/in.h>
24166_ACEOF
24167if { (ac_try="$ac_cpp conftest.$ac_ext"
24168case "(($ac_try" in
24169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24170 *) ac_try_echo=$ac_try;;
24171esac
24172eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24173$as_echo "$ac_try_echo") >&5
24174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24175 ac_status=$?
24176 grep -v '^ *+' conftest.er1 >conftest.err
24177 rm -f conftest.er1
24178 cat conftest.err >&5
24179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } >/dev/null && {
24181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24182 test ! -s conftest.err
24183 }; then
24184 ac_header_preproc=yes
24185else
24186 $as_echo "$as_me: failed program was:" >&5
24187sed 's/^/| /' conftest.$ac_ext >&5
24188
24189 ac_header_preproc=no
24190fi
24191
24192rm -f conftest.err conftest.$ac_ext
24193{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24194$as_echo "$ac_header_preproc" >&6; }
24195
24196# So? What about this header?
24197case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24198 yes:no: )
24199 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
24200$as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24201 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
24202$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
24203 ac_header_preproc=yes
24204 ;;
24205 no:yes:* )
24206 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
24207$as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
24208 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
24209$as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
24210 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
24211$as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
24212 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
24213$as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
24214 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
24215$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
24216 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
24217$as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
24218
24219 ;;
24220esac
24221{ $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
24222$as_echo_n "checking for netinet/in.h... " >&6; }
24223if test "${ac_cv_header_netinet_in_h+set}" = set; then
24224 $as_echo_n "(cached) " >&6
24225else
24226 ac_cv_header_netinet_in_h=$ac_header_preproc
24227fi
24228{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24229$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24230
24231fi
24232if test $ac_cv_header_netinet_in_h = yes; then
24233 :
12697else 24234else
12698 ok_so_far=no 24235 ok_so_far=no
12699fi 24236fi
@@ -12701,9 +24238,135 @@ fi
12701 24238
12702fi 24239fi
12703if test $ok_so_far = yes; then 24240if test $ok_so_far = yes; then
12704 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 24241 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12705if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 24242 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
24243$as_echo_n "checking for arpa/inet.h... " >&6; }
24244if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24245 $as_echo_n "(cached) " >&6
24246fi
24247{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24248$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
24249else
24250 # Is the header compilable?
24251{ $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
24252$as_echo_n "checking arpa/inet.h usability... " >&6; }
24253cat >conftest.$ac_ext <<_ACEOF
24254/* confdefs.h. */
24255_ACEOF
24256cat confdefs.h >>conftest.$ac_ext
24257cat >>conftest.$ac_ext <<_ACEOF
24258/* end confdefs.h. */
24259$ac_includes_default
24260#include <arpa/inet.h>
24261_ACEOF
24262rm -f conftest.$ac_objext
24263if { (ac_try="$ac_compile"
24264case "(($ac_try" in
24265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24266 *) ac_try_echo=$ac_try;;
24267esac
24268eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24269$as_echo "$ac_try_echo") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24271 ac_status=$?
24272 grep -v '^ *+' conftest.er1 >conftest.err
24273 rm -f conftest.er1
24274 cat conftest.err >&5
24275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_c_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24280 ac_header_compiler=yes
24281else
24282 $as_echo "$as_me: failed program was:" >&5
24283sed 's/^/| /' conftest.$ac_ext >&5
24284
24285 ac_header_compiler=no
24286fi
24287
24288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24290$as_echo "$ac_header_compiler" >&6; }
24291
24292# Is the header present?
24293{ $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
24294$as_echo_n "checking arpa/inet.h presence... " >&6; }
24295cat >conftest.$ac_ext <<_ACEOF
24296/* confdefs.h. */
24297_ACEOF
24298cat confdefs.h >>conftest.$ac_ext
24299cat >>conftest.$ac_ext <<_ACEOF
24300/* end confdefs.h. */
24301#include <arpa/inet.h>
24302_ACEOF
24303if { (ac_try="$ac_cpp conftest.$ac_ext"
24304case "(($ac_try" in
24305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24306 *) ac_try_echo=$ac_try;;
24307esac
24308eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24309$as_echo "$ac_try_echo") >&5
24310 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } >/dev/null && {
24317 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24318 test ! -s conftest.err
24319 }; then
24320 ac_header_preproc=yes
24321else
24322 $as_echo "$as_me: failed program was:" >&5
24323sed 's/^/| /' conftest.$ac_ext >&5
24324
24325 ac_header_preproc=no
24326fi
24327
24328rm -f conftest.err conftest.$ac_ext
24329{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24330$as_echo "$ac_header_preproc" >&6; }
24331
24332# So? What about this header?
24333case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24334 yes:no: )
24335 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
24336$as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24337 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
24338$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
24339 ac_header_preproc=yes
24340 ;;
24341 no:yes:* )
24342 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
24343$as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
24344 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
24345$as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
24346 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
24347$as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
24348 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
24349$as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
24350 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
24351$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
24352 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
24353$as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
24354
24355 ;;
24356esac
24357{ $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
24358$as_echo_n "checking for arpa/inet.h... " >&6; }
24359if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24360 $as_echo_n "(cached) " >&6
24361else
24362 ac_cv_header_arpa_inet_h=$ac_header_preproc
24363fi
24364{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24365$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
12706 24366
24367fi
24368if test $ac_cv_header_arpa_inet_h = yes; then
24369 :
12707else 24370else
12708 ok_so_far=no 24371 ok_so_far=no
12709fi 24372fi
@@ -12712,16 +24375,151 @@ fi
12712fi 24375fi
12713if test $ok_so_far = yes; then 24376if test $ok_so_far = yes; then
12714 24377
12715$as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h 24378cat >>confdefs.h <<\_ACEOF
24379#define HAVE_INET_SOCKETS 1
24380_ACEOF
12716 24381
12717fi 24382fi
12718 24383
24384
12719for ac_header in sys/ioctl.h 24385for ac_header in sys/ioctl.h
12720do : 24386do
12721 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 24387as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12722if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 24388if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24389 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24390$as_echo_n "checking for $ac_header... " >&6; }
24391if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24392 $as_echo_n "(cached) " >&6
24393fi
24394ac_res=`eval 'as_val=${'$as_ac_Header'}
24395 $as_echo "$as_val"'`
24396 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24397$as_echo "$ac_res" >&6; }
24398else
24399 # Is the header compilable?
24400{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24401$as_echo_n "checking $ac_header usability... " >&6; }
24402cat >conftest.$ac_ext <<_ACEOF
24403/* confdefs.h. */
24404_ACEOF
24405cat confdefs.h >>conftest.$ac_ext
24406cat >>conftest.$ac_ext <<_ACEOF
24407/* end confdefs.h. */
24408$ac_includes_default
24409#include <$ac_header>
24410_ACEOF
24411rm -f conftest.$ac_objext
24412if { (ac_try="$ac_compile"
24413case "(($ac_try" in
24414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24415 *) ac_try_echo=$ac_try;;
24416esac
24417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24418$as_echo "$ac_try_echo") >&5
24419 (eval "$ac_compile") 2>conftest.er1
24420 ac_status=$?
24421 grep -v '^ *+' conftest.er1 >conftest.err
24422 rm -f conftest.er1
24423 cat conftest.err >&5
24424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } && {
24426 test -z "$ac_c_werror_flag" ||
24427 test ! -s conftest.err
24428 } && test -s conftest.$ac_objext; then
24429 ac_header_compiler=yes
24430else
24431 $as_echo "$as_me: failed program was:" >&5
24432sed 's/^/| /' conftest.$ac_ext >&5
24433
24434 ac_header_compiler=no
24435fi
24436
24437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24438{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24439$as_echo "$ac_header_compiler" >&6; }
24440
24441# Is the header present?
24442{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24443$as_echo_n "checking $ac_header presence... " >&6; }
24444cat >conftest.$ac_ext <<_ACEOF
24445/* confdefs.h. */
24446_ACEOF
24447cat confdefs.h >>conftest.$ac_ext
24448cat >>conftest.$ac_ext <<_ACEOF
24449/* end confdefs.h. */
24450#include <$ac_header>
24451_ACEOF
24452if { (ac_try="$ac_cpp conftest.$ac_ext"
24453case "(($ac_try" in
24454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24455 *) ac_try_echo=$ac_try;;
24456esac
24457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24458$as_echo "$ac_try_echo") >&5
24459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } >/dev/null && {
24466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24467 test ! -s conftest.err
24468 }; then
24469 ac_header_preproc=yes
24470else
24471 $as_echo "$as_me: failed program was:" >&5
24472sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 ac_header_preproc=no
24475fi
24476
24477rm -f conftest.err conftest.$ac_ext
24478{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24479$as_echo "$ac_header_preproc" >&6; }
24480
24481# So? What about this header?
24482case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24483 yes:no: )
24484 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24485$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24486 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24487$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24488 ac_header_preproc=yes
24489 ;;
24490 no:yes:* )
24491 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24492$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24493 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24494$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24495 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24496$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24497 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24498$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24500$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24502$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24503
24504 ;;
24505esac
24506{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24507$as_echo_n "checking for $ac_header... " >&6; }
24508if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24509 $as_echo_n "(cached) " >&6
24510else
24511 eval "$as_ac_Header=\$ac_header_preproc"
24512fi
24513ac_res=`eval 'as_val=${'$as_ac_Header'}
24514 $as_echo "$as_val"'`
24515 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24516$as_echo "$ac_res" >&6; }
24517
24518fi
24519if test `eval 'as_val=${'$as_ac_Header'}
24520 $as_echo "$as_val"'` = yes; then
12723 cat >>confdefs.h <<_ACEOF 24521 cat >>confdefs.h <<_ACEOF
12724#define HAVE_SYS_IOCTL_H 1 24522#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12725_ACEOF 24523_ACEOF
12726 24524
12727fi 24525fi
@@ -12731,26 +24529,123 @@ done
12731 24529
12732if test -f /usr/lpp/X11/bin/smt.exp; then 24530if test -f /usr/lpp/X11/bin/smt.exp; then
12733 24531
12734$as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h 24532cat >>confdefs.h <<\_ACEOF
24533#define HAVE_AIX_SMT_EXP 1
24534_ACEOF
12735 24535
12736fi 24536fi
12737 24537
12738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 24538{ $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
12739$as_echo_n "checking whether system supports dynamic ptys... " >&6; } 24539$as_echo_n "checking whether system supports dynamic ptys... " >&6; }
12740if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 24540if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24541 { $as_echo "$as_me:$LINENO: result: yes" >&5
12742$as_echo "yes" >&6; } 24542$as_echo "yes" >&6; }
12743 24543
12744$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h 24544cat >>confdefs.h <<\_ACEOF
24545#define HAVE_DEV_PTMX 1
24546_ACEOF
12745 24547
12746else 24548else
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24549 { $as_echo "$as_me:$LINENO: result: no" >&5
12748$as_echo "no" >&6; } 24550$as_echo "no" >&6; }
12749fi 24551fi
12750 24552
12751ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 24553{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
12752if test "x$ac_cv_type_pid_t" = x""yes; then : 24554$as_echo_n "checking for pid_t... " >&6; }
24555if test "${ac_cv_type_pid_t+set}" = set; then
24556 $as_echo_n "(cached) " >&6
24557else
24558 ac_cv_type_pid_t=no
24559cat >conftest.$ac_ext <<_ACEOF
24560/* confdefs.h. */
24561_ACEOF
24562cat confdefs.h >>conftest.$ac_ext
24563cat >>conftest.$ac_ext <<_ACEOF
24564/* end confdefs.h. */
24565$ac_includes_default
24566int
24567main ()
24568{
24569if (sizeof (pid_t))
24570 return 0;
24571 ;
24572 return 0;
24573}
24574_ACEOF
24575rm -f conftest.$ac_objext
24576if { (ac_try="$ac_compile"
24577case "(($ac_try" in
24578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24579 *) ac_try_echo=$ac_try;;
24580esac
24581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24582$as_echo "$ac_try_echo") >&5
24583 (eval "$ac_compile") 2>conftest.er1
24584 ac_status=$?
24585 grep -v '^ *+' conftest.er1 >conftest.err
24586 rm -f conftest.er1
24587 cat conftest.err >&5
24588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_c_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest.$ac_objext; then
24593 cat >conftest.$ac_ext <<_ACEOF
24594/* confdefs.h. */
24595_ACEOF
24596cat confdefs.h >>conftest.$ac_ext
24597cat >>conftest.$ac_ext <<_ACEOF
24598/* end confdefs.h. */
24599$ac_includes_default
24600int
24601main ()
24602{
24603if (sizeof ((pid_t)))
24604 return 0;
24605 ;
24606 return 0;
24607}
24608_ACEOF
24609rm -f conftest.$ac_objext
24610if { (ac_try="$ac_compile"
24611case "(($ac_try" in
24612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24613 *) ac_try_echo=$ac_try;;
24614esac
24615eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24616$as_echo "$ac_try_echo") >&5
24617 (eval "$ac_compile") 2>conftest.er1
24618 ac_status=$?
24619 grep -v '^ *+' conftest.er1 >conftest.err
24620 rm -f conftest.er1
24621 cat conftest.err >&5
24622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } && {
24624 test -z "$ac_c_werror_flag" ||
24625 test ! -s conftest.err
24626 } && test -s conftest.$ac_objext; then
24627 :
24628else
24629 $as_echo "$as_me: failed program was:" >&5
24630sed 's/^/| /' conftest.$ac_ext >&5
24631
24632 ac_cv_type_pid_t=yes
24633fi
24634
24635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636else
24637 $as_echo "$as_me: failed program was:" >&5
24638sed 's/^/| /' conftest.$ac_ext >&5
12753 24639
24640
24641fi
24642
24643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644fi
24645{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24646$as_echo "$ac_cv_type_pid_t" >&6; }
24647if test $ac_cv_type_pid_t = yes; then
24648 :
12754else 24649else
12755 24650
12756cat >>confdefs.h <<_ACEOF 24651cat >>confdefs.h <<_ACEOF
@@ -12759,24 +24654,245 @@ _ACEOF
12759 24654
12760fi 24655fi
12761 24656
24657
12762for ac_header in vfork.h 24658for ac_header in vfork.h
12763do : 24659do
12764 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 24660as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12765if test "x$ac_cv_header_vfork_h" = x""yes; then : 24661if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24662 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24663$as_echo_n "checking for $ac_header... " >&6; }
24664if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24665 $as_echo_n "(cached) " >&6
24666fi
24667ac_res=`eval 'as_val=${'$as_ac_Header'}
24668 $as_echo "$as_val"'`
24669 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24670$as_echo "$ac_res" >&6; }
24671else
24672 # Is the header compilable?
24673{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24674$as_echo_n "checking $ac_header usability... " >&6; }
24675cat >conftest.$ac_ext <<_ACEOF
24676/* confdefs.h. */
24677_ACEOF
24678cat confdefs.h >>conftest.$ac_ext
24679cat >>conftest.$ac_ext <<_ACEOF
24680/* end confdefs.h. */
24681$ac_includes_default
24682#include <$ac_header>
24683_ACEOF
24684rm -f conftest.$ac_objext
24685if { (ac_try="$ac_compile"
24686case "(($ac_try" in
24687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24688 *) ac_try_echo=$ac_try;;
24689esac
24690eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24691$as_echo "$ac_try_echo") >&5
24692 (eval "$ac_compile") 2>conftest.er1
24693 ac_status=$?
24694 grep -v '^ *+' conftest.er1 >conftest.err
24695 rm -f conftest.er1
24696 cat conftest.err >&5
24697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); } && {
24699 test -z "$ac_c_werror_flag" ||
24700 test ! -s conftest.err
24701 } && test -s conftest.$ac_objext; then
24702 ac_header_compiler=yes
24703else
24704 $as_echo "$as_me: failed program was:" >&5
24705sed 's/^/| /' conftest.$ac_ext >&5
24706
24707 ac_header_compiler=no
24708fi
24709
24710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24712$as_echo "$ac_header_compiler" >&6; }
24713
24714# Is the header present?
24715{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24716$as_echo_n "checking $ac_header presence... " >&6; }
24717cat >conftest.$ac_ext <<_ACEOF
24718/* confdefs.h. */
24719_ACEOF
24720cat confdefs.h >>conftest.$ac_ext
24721cat >>conftest.$ac_ext <<_ACEOF
24722/* end confdefs.h. */
24723#include <$ac_header>
24724_ACEOF
24725if { (ac_try="$ac_cpp conftest.$ac_ext"
24726case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729esac
24730eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24731$as_echo "$ac_try_echo") >&5
24732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } >/dev/null && {
24739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24740 test ! -s conftest.err
24741 }; then
24742 ac_header_preproc=yes
24743else
24744 $as_echo "$as_me: failed program was:" >&5
24745sed 's/^/| /' conftest.$ac_ext >&5
24746
24747 ac_header_preproc=no
24748fi
24749
24750rm -f conftest.err conftest.$ac_ext
24751{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24752$as_echo "$ac_header_preproc" >&6; }
24753
24754# So? What about this header?
24755case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24756 yes:no: )
24757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24758$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24760$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24761 ac_header_preproc=yes
24762 ;;
24763 no:yes:* )
24764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24765$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24767$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24768 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24769$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24771$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24773$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24775$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24776
24777 ;;
24778esac
24779{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24780$as_echo_n "checking for $ac_header... " >&6; }
24781if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24782 $as_echo_n "(cached) " >&6
24783else
24784 eval "$as_ac_Header=\$ac_header_preproc"
24785fi
24786ac_res=`eval 'as_val=${'$as_ac_Header'}
24787 $as_echo "$as_val"'`
24788 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24789$as_echo "$ac_res" >&6; }
24790
24791fi
24792if test `eval 'as_val=${'$as_ac_Header'}
24793 $as_echo "$as_val"'` = yes; then
12766 cat >>confdefs.h <<_ACEOF 24794 cat >>confdefs.h <<_ACEOF
12767#define HAVE_VFORK_H 1 24795#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12768_ACEOF 24796_ACEOF
12769 24797
12770fi 24798fi
12771 24799
12772done 24800done
12773 24801
24802
24803
12774for ac_func in fork vfork 24804for ac_func in fork vfork
12775do : 24805do
12776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 24806as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12777ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 24807{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12778eval as_val=\$$as_ac_var 24808$as_echo_n "checking for $ac_func... " >&6; }
12779 if test "x$as_val" = x""yes; then : 24809if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24810 $as_echo_n "(cached) " >&6
24811else
24812 cat >conftest.$ac_ext <<_ACEOF
24813/* confdefs.h. */
24814_ACEOF
24815cat confdefs.h >>conftest.$ac_ext
24816cat >>conftest.$ac_ext <<_ACEOF
24817/* end confdefs.h. */
24818/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24820#define $ac_func innocuous_$ac_func
24821
24822/* System header to define __stub macros and hopefully few prototypes,
24823 which can conflict with char $ac_func (); below.
24824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24825 <limits.h> exists even on freestanding compilers. */
24826
24827#ifdef __STDC__
24828# include <limits.h>
24829#else
24830# include <assert.h>
24831#endif
24832
24833#undef $ac_func
24834
24835/* Override any GCC internal prototype to avoid an error.
24836 Use char because int might match the return type of a GCC
24837 builtin and then its argument prototype would still apply. */
24838#ifdef __cplusplus
24839extern "C"
24840#endif
24841char $ac_func ();
24842/* The GNU C library defines this for functions which it implements
24843 to always fail with ENOSYS. Some functions are actually named
24844 something starting with __ and the normal name is an alias. */
24845#if defined __stub_$ac_func || defined __stub___$ac_func
24846choke me
24847#endif
24848
24849int
24850main ()
24851{
24852return $ac_func ();
24853 ;
24854 return 0;
24855}
24856_ACEOF
24857rm -f conftest.$ac_objext conftest$ac_exeext
24858if { (ac_try="$ac_link"
24859case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24862esac
24863eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24864$as_echo "$ac_try_echo") >&5
24865 (eval "$ac_link") 2>conftest.er1
24866 ac_status=$?
24867 grep -v '^ *+' conftest.er1 >conftest.err
24868 rm -f conftest.er1
24869 cat conftest.err >&5
24870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_c_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest$ac_exeext && {
24875 test "$cross_compiling" = yes ||
24876 $as_test_x conftest$ac_exeext
24877 }; then
24878 eval "$as_ac_var=yes"
24879else
24880 $as_echo "$as_me: failed program was:" >&5
24881sed 's/^/| /' conftest.$ac_ext >&5
24882
24883 eval "$as_ac_var=no"
24884fi
24885
24886rm -rf conftest.dSYM
24887rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24888 conftest$ac_exeext conftest.$ac_ext
24889fi
24890ac_res=`eval 'as_val=${'$as_ac_var'}
24891 $as_echo "$as_val"'`
24892 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24893$as_echo "$ac_res" >&6; }
24894if test `eval 'as_val=${'$as_ac_var'}
24895 $as_echo "$as_val"'` = yes; then
12780 cat >>confdefs.h <<_ACEOF 24896 cat >>confdefs.h <<_ACEOF
12781#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 24897#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12782_ACEOF 24898_ACEOF
@@ -12785,15 +24901,19 @@ fi
12785done 24901done
12786 24902
12787if test "x$ac_cv_func_fork" = xyes; then 24903if test "x$ac_cv_func_fork" = xyes; then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 24904 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
12789$as_echo_n "checking for working fork... " >&6; } 24905$as_echo_n "checking for working fork... " >&6; }
12790if test "${ac_cv_func_fork_works+set}" = set; then : 24906if test "${ac_cv_func_fork_works+set}" = set; then
12791 $as_echo_n "(cached) " >&6 24907 $as_echo_n "(cached) " >&6
12792else 24908else
12793 if test "$cross_compiling" = yes; then : 24909 if test "$cross_compiling" = yes; then
12794 ac_cv_func_fork_works=cross 24910 ac_cv_func_fork_works=cross
12795else 24911else
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24912 cat >conftest.$ac_ext <<_ACEOF
24913/* confdefs.h. */
24914_ACEOF
24915cat confdefs.h >>conftest.$ac_ext
24916cat >>conftest.$ac_ext <<_ACEOF
12797/* end confdefs.h. */ 24917/* end confdefs.h. */
12798$ac_includes_default 24918$ac_includes_default
12799int 24919int
@@ -12807,17 +24927,44 @@ main ()
12807 return 0; 24927 return 0;
12808} 24928}
12809_ACEOF 24929_ACEOF
12810if ac_fn_c_try_run "$LINENO"; then : 24930rm -f conftest$ac_exeext
24931if { (ac_try="$ac_link"
24932case "(($ac_try" in
24933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24934 *) ac_try_echo=$ac_try;;
24935esac
24936eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24937$as_echo "$ac_try_echo") >&5
24938 (eval "$ac_link") 2>&5
24939 ac_status=$?
24940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24942 { (case "(($ac_try" in
24943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24944 *) ac_try_echo=$ac_try;;
24945esac
24946eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24947$as_echo "$ac_try_echo") >&5
24948 (eval "$ac_try") 2>&5
24949 ac_status=$?
24950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; }; then
12811 ac_cv_func_fork_works=yes 24952 ac_cv_func_fork_works=yes
12812else 24953else
12813 ac_cv_func_fork_works=no 24954 $as_echo "$as_me: program exited with status $ac_status" >&5
24955$as_echo "$as_me: failed program was:" >&5
24956sed 's/^/| /' conftest.$ac_ext >&5
24957
24958( exit $ac_status )
24959ac_cv_func_fork_works=no
12814fi 24960fi
12815rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 24961rm -rf conftest.dSYM
12816 conftest.$ac_objext conftest.beam conftest.$ac_ext 24962rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12817fi 24963fi
12818 24964
24965
12819fi 24966fi
12820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 24967{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
12821$as_echo "$ac_cv_func_fork_works" >&6; } 24968$as_echo "$ac_cv_func_fork_works" >&6; }
12822 24969
12823else 24970else
@@ -12833,20 +24980,24 @@ if test "x$ac_cv_func_fork_works" = xcross; then
12833 ac_cv_func_fork_works=yes 24980 ac_cv_func_fork_works=yes
12834 ;; 24981 ;;
12835 esac 24982 esac
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 24983 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12837$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 24984$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12838fi 24985fi
12839ac_cv_func_vfork_works=$ac_cv_func_vfork 24986ac_cv_func_vfork_works=$ac_cv_func_vfork
12840if test "x$ac_cv_func_vfork" = xyes; then 24987if test "x$ac_cv_func_vfork" = xyes; then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 24988 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
12842$as_echo_n "checking for working vfork... " >&6; } 24989$as_echo_n "checking for working vfork... " >&6; }
12843if test "${ac_cv_func_vfork_works+set}" = set; then : 24990if test "${ac_cv_func_vfork_works+set}" = set; then
12844 $as_echo_n "(cached) " >&6 24991 $as_echo_n "(cached) " >&6
12845else 24992else
12846 if test "$cross_compiling" = yes; then : 24993 if test "$cross_compiling" = yes; then
12847 ac_cv_func_vfork_works=cross 24994 ac_cv_func_vfork_works=cross
12848else 24995else
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24996 cat >conftest.$ac_ext <<_ACEOF
24997/* confdefs.h. */
24998_ACEOF
24999cat confdefs.h >>conftest.$ac_ext
25000cat >>conftest.$ac_ext <<_ACEOF
12850/* end confdefs.h. */ 25001/* end confdefs.h. */
12851/* Thanks to Paul Eggert for this test. */ 25002/* Thanks to Paul Eggert for this test. */
12852$ac_includes_default 25003$ac_includes_default
@@ -12938,48 +25089,85 @@ main ()
12938 } 25089 }
12939} 25090}
12940_ACEOF 25091_ACEOF
12941if ac_fn_c_try_run "$LINENO"; then : 25092rm -f conftest$ac_exeext
25093if { (ac_try="$ac_link"
25094case "(($ac_try" in
25095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096 *) ac_try_echo=$ac_try;;
25097esac
25098eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25099$as_echo "$ac_try_echo") >&5
25100 (eval "$ac_link") 2>&5
25101 ac_status=$?
25102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25104 { (case "(($ac_try" in
25105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25106 *) ac_try_echo=$ac_try;;
25107esac
25108eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25109$as_echo "$ac_try_echo") >&5
25110 (eval "$ac_try") 2>&5
25111 ac_status=$?
25112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
12942 ac_cv_func_vfork_works=yes 25114 ac_cv_func_vfork_works=yes
12943else 25115else
12944 ac_cv_func_vfork_works=no 25116 $as_echo "$as_me: program exited with status $ac_status" >&5
25117$as_echo "$as_me: failed program was:" >&5
25118sed 's/^/| /' conftest.$ac_ext >&5
25119
25120( exit $ac_status )
25121ac_cv_func_vfork_works=no
12945fi 25122fi
12946rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 25123rm -rf conftest.dSYM
12947 conftest.$ac_objext conftest.beam conftest.$ac_ext 25124rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12948fi 25125fi
12949 25126
25127
12950fi 25128fi
12951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 25129{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
12952$as_echo "$ac_cv_func_vfork_works" >&6; } 25130$as_echo "$ac_cv_func_vfork_works" >&6; }
12953 25131
12954fi; 25132fi;
12955if test "x$ac_cv_func_fork_works" = xcross; then 25133if test "x$ac_cv_func_fork_works" = xcross; then
12956 ac_cv_func_vfork_works=$ac_cv_func_vfork 25134 ac_cv_func_vfork_works=$ac_cv_func_vfork
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 25135 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
12958$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 25136$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
12959fi 25137fi
12960 25138
12961if test "x$ac_cv_func_vfork_works" = xyes; then 25139if test "x$ac_cv_func_vfork_works" = xyes; then
12962 25140
12963$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 25141cat >>confdefs.h <<\_ACEOF
25142#define HAVE_WORKING_VFORK 1
25143_ACEOF
12964 25144
12965else 25145else
12966 25146
12967$as_echo "#define vfork fork" >>confdefs.h 25147cat >>confdefs.h <<\_ACEOF
25148#define vfork fork
25149_ACEOF
12968 25150
12969fi 25151fi
12970if test "x$ac_cv_func_fork_works" = xyes; then 25152if test "x$ac_cv_func_fork_works" = xyes; then
12971 25153
12972$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 25154cat >>confdefs.h <<\_ACEOF
25155#define HAVE_WORKING_FORK 1
25156_ACEOF
12973 25157
12974fi 25158fi
12975 25159
12976 25160
12977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 25161{ $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
12978$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 25162$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
12979if test "${emacs_cv_langinfo_codeset+set}" = set; then : 25163if test "${emacs_cv_langinfo_codeset+set}" = set; then
12980 $as_echo_n "(cached) " >&6 25164 $as_echo_n "(cached) " >&6
12981else 25165else
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25166 cat >conftest.$ac_ext <<_ACEOF
25167/* confdefs.h. */
25168_ACEOF
25169cat confdefs.h >>conftest.$ac_ext
25170cat >>conftest.$ac_ext <<_ACEOF
12983/* end confdefs.h. */ 25171/* end confdefs.h. */
12984#include <langinfo.h> 25172#include <langinfo.h>
12985int 25173int
@@ -12990,25 +25178,145 @@ char* cs = nl_langinfo(CODESET);
12990 return 0; 25178 return 0;
12991} 25179}
12992_ACEOF 25180_ACEOF
12993if ac_fn_c_try_link "$LINENO"; then : 25181rm -f conftest.$ac_objext conftest$ac_exeext
25182if { (ac_try="$ac_link"
25183case "(($ac_try" in
25184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25185 *) ac_try_echo=$ac_try;;
25186esac
25187eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25188$as_echo "$ac_try_echo") >&5
25189 (eval "$ac_link") 2>conftest.er1
25190 ac_status=$?
25191 grep -v '^ *+' conftest.er1 >conftest.err
25192 rm -f conftest.er1
25193 cat conftest.err >&5
25194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); } && {
25196 test -z "$ac_c_werror_flag" ||
25197 test ! -s conftest.err
25198 } && test -s conftest$ac_exeext && {
25199 test "$cross_compiling" = yes ||
25200 $as_test_x conftest$ac_exeext
25201 }; then
12994 emacs_cv_langinfo_codeset=yes 25202 emacs_cv_langinfo_codeset=yes
12995else 25203else
12996 emacs_cv_langinfo_codeset=no 25204 $as_echo "$as_me: failed program was:" >&5
25205sed 's/^/| /' conftest.$ac_ext >&5
25206
25207 emacs_cv_langinfo_codeset=no
12997fi 25208fi
12998rm -f core conftest.err conftest.$ac_objext \ 25209
12999 conftest$ac_exeext conftest.$ac_ext 25210rm -rf conftest.dSYM
25211rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25212 conftest$ac_exeext conftest.$ac_ext
13000 25213
13001fi 25214fi
13002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 25215{ $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
13003$as_echo "$emacs_cv_langinfo_codeset" >&6; } 25216$as_echo "$emacs_cv_langinfo_codeset" >&6; }
13004if test $emacs_cv_langinfo_codeset = yes; then 25217if test $emacs_cv_langinfo_codeset = yes; then
13005 25218
13006$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 25219cat >>confdefs.h <<\_ACEOF
25220#define HAVE_LANGINFO_CODESET 1
25221_ACEOF
25222
25223fi
25224
25225{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
25226$as_echo_n "checking for size_t... " >&6; }
25227if test "${ac_cv_type_size_t+set}" = set; then
25228 $as_echo_n "(cached) " >&6
25229else
25230 ac_cv_type_size_t=no
25231cat >conftest.$ac_ext <<_ACEOF
25232/* confdefs.h. */
25233_ACEOF
25234cat confdefs.h >>conftest.$ac_ext
25235cat >>conftest.$ac_ext <<_ACEOF
25236/* end confdefs.h. */
25237$ac_includes_default
25238int
25239main ()
25240{
25241if (sizeof (size_t))
25242 return 0;
25243 ;
25244 return 0;
25245}
25246_ACEOF
25247rm -f conftest.$ac_objext
25248if { (ac_try="$ac_compile"
25249case "(($ac_try" in
25250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25251 *) ac_try_echo=$ac_try;;
25252esac
25253eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25254$as_echo "$ac_try_echo") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 cat >conftest.$ac_ext <<_ACEOF
25266/* confdefs.h. */
25267_ACEOF
25268cat confdefs.h >>conftest.$ac_ext
25269cat >>conftest.$ac_ext <<_ACEOF
25270/* end confdefs.h. */
25271$ac_includes_default
25272int
25273main ()
25274{
25275if (sizeof ((size_t)))
25276 return 0;
25277 ;
25278 return 0;
25279}
25280_ACEOF
25281rm -f conftest.$ac_objext
25282if { (ac_try="$ac_compile"
25283case "(($ac_try" in
25284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25285 *) ac_try_echo=$ac_try;;
25286esac
25287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25288$as_echo "$ac_try_echo") >&5
25289 (eval "$ac_compile") 2>conftest.er1
25290 ac_status=$?
25291 grep -v '^ *+' conftest.er1 >conftest.err
25292 rm -f conftest.er1
25293 cat conftest.err >&5
25294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); } && {
25296 test -z "$ac_c_werror_flag" ||
25297 test ! -s conftest.err
25298 } && test -s conftest.$ac_objext; then
25299 :
25300else
25301 $as_echo "$as_me: failed program was:" >&5
25302sed 's/^/| /' conftest.$ac_ext >&5
25303
25304 ac_cv_type_size_t=yes
25305fi
25306
25307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25308else
25309 $as_echo "$as_me: failed program was:" >&5
25310sed 's/^/| /' conftest.$ac_ext >&5
25311
13007 25312
13008fi 25313fi
13009 25314
13010ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 25315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13011if test "x$ac_cv_type_size_t" = x""yes; then : 25316fi
25317{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25318$as_echo "$ac_cv_type_size_t" >&6; }
25319if test $ac_cv_type_size_t = yes; then
13012 25320
13013cat >>confdefs.h <<_ACEOF 25321cat >>confdefs.h <<_ACEOF
13014#define HAVE_SIZE_T 1 25322#define HAVE_SIZE_T 1
@@ -13018,12 +25326,16 @@ _ACEOF
13018fi 25326fi
13019 25327
13020 25328
13021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 25329{ $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5
13022$as_echo_n "checking for mbstate_t... " >&6; } 25330$as_echo_n "checking for mbstate_t... " >&6; }
13023if test "${ac_cv_type_mbstate_t+set}" = set; then : 25331if test "${ac_cv_type_mbstate_t+set}" = set; then
13024 $as_echo_n "(cached) " >&6 25332 $as_echo_n "(cached) " >&6
13025else 25333else
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25334 cat >conftest.$ac_ext <<_ACEOF
25335/* confdefs.h. */
25336_ACEOF
25337cat confdefs.h >>conftest.$ac_ext
25338cat >>conftest.$ac_ext <<_ACEOF
13027/* end confdefs.h. */ 25339/* end confdefs.h. */
13028$ac_includes_default 25340$ac_includes_default
13029# include <wchar.h> 25341# include <wchar.h>
@@ -13035,31 +25347,60 @@ mbstate_t x; return sizeof x;
13035 return 0; 25347 return 0;
13036} 25348}
13037_ACEOF 25349_ACEOF
13038if ac_fn_c_try_compile "$LINENO"; then : 25350rm -f conftest.$ac_objext
25351if { (ac_try="$ac_compile"
25352case "(($ac_try" in
25353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25354 *) ac_try_echo=$ac_try;;
25355esac
25356eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25357$as_echo "$ac_try_echo") >&5
25358 (eval "$ac_compile") 2>conftest.er1
25359 ac_status=$?
25360 grep -v '^ *+' conftest.er1 >conftest.err
25361 rm -f conftest.er1
25362 cat conftest.err >&5
25363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25364 (exit $ac_status); } && {
25365 test -z "$ac_c_werror_flag" ||
25366 test ! -s conftest.err
25367 } && test -s conftest.$ac_objext; then
13039 ac_cv_type_mbstate_t=yes 25368 ac_cv_type_mbstate_t=yes
13040else 25369else
13041 ac_cv_type_mbstate_t=no 25370 $as_echo "$as_me: failed program was:" >&5
25371sed 's/^/| /' conftest.$ac_ext >&5
25372
25373 ac_cv_type_mbstate_t=no
13042fi 25374fi
25375
13043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13044fi 25377fi
13045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 25378{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
13046$as_echo "$ac_cv_type_mbstate_t" >&6; } 25379$as_echo "$ac_cv_type_mbstate_t" >&6; }
13047 if test $ac_cv_type_mbstate_t = yes; then 25380 if test $ac_cv_type_mbstate_t = yes; then
13048 25381
13049$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h 25382cat >>confdefs.h <<\_ACEOF
25383#define HAVE_MBSTATE_T 1
25384_ACEOF
13050 25385
13051 else 25386 else
13052 25387
13053$as_echo "#define mbstate_t int" >>confdefs.h 25388cat >>confdefs.h <<\_ACEOF
25389#define mbstate_t int
25390_ACEOF
13054 25391
13055 fi 25392 fi
13056 25393
13057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 25394{ $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5
13058$as_echo_n "checking for C restrict keyword... " >&6; } 25395$as_echo_n "checking for C restrict keyword... " >&6; }
13059if test "${emacs_cv_c_restrict+set}" = set; then : 25396if test "${emacs_cv_c_restrict+set}" = set; then
13060 $as_echo_n "(cached) " >&6 25397 $as_echo_n "(cached) " >&6
13061else 25398else
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25399 cat >conftest.$ac_ext <<_ACEOF
25400/* confdefs.h. */
25401_ACEOF
25402cat confdefs.h >>conftest.$ac_ext
25403cat >>conftest.$ac_ext <<_ACEOF
13063/* end confdefs.h. */ 25404/* end confdefs.h. */
13064void fred (int *restrict x); 25405void fred (int *restrict x);
13065int 25406int
@@ -13070,10 +25411,34 @@ main ()
13070 return 0; 25411 return 0;
13071} 25412}
13072_ACEOF 25413_ACEOF
13073if ac_fn_c_try_compile "$LINENO"; then : 25414rm -f conftest.$ac_objext
25415if { (ac_try="$ac_compile"
25416case "(($ac_try" in
25417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25418 *) ac_try_echo=$ac_try;;
25419esac
25420eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25421$as_echo "$ac_try_echo") >&5
25422 (eval "$ac_compile") 2>conftest.er1
25423 ac_status=$?
25424 grep -v '^ *+' conftest.er1 >conftest.err
25425 rm -f conftest.er1
25426 cat conftest.err >&5
25427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428 (exit $ac_status); } && {
25429 test -z "$ac_c_werror_flag" ||
25430 test ! -s conftest.err
25431 } && test -s conftest.$ac_objext; then
13074 emacs_cv_c_restrict=yes 25432 emacs_cv_c_restrict=yes
13075else 25433else
13076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25434 $as_echo "$as_me: failed program was:" >&5
25435sed 's/^/| /' conftest.$ac_ext >&5
25436
25437 cat >conftest.$ac_ext <<_ACEOF
25438/* confdefs.h. */
25439_ACEOF
25440cat confdefs.h >>conftest.$ac_ext
25441cat >>conftest.$ac_ext <<_ACEOF
13077/* end confdefs.h. */ 25442/* end confdefs.h. */
13078void fred (int *__restrict x); 25443void fred (int *__restrict x);
13079int 25444int
@@ -13084,16 +25449,38 @@ main ()
13084 return 0; 25449 return 0;
13085} 25450}
13086_ACEOF 25451_ACEOF
13087if ac_fn_c_try_compile "$LINENO"; then : 25452rm -f conftest.$ac_objext
25453if { (ac_try="$ac_compile"
25454case "(($ac_try" in
25455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25456 *) ac_try_echo=$ac_try;;
25457esac
25458eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25459$as_echo "$ac_try_echo") >&5
25460 (eval "$ac_compile") 2>conftest.er1
25461 ac_status=$?
25462 grep -v '^ *+' conftest.er1 >conftest.err
25463 rm -f conftest.er1
25464 cat conftest.err >&5
25465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); } && {
25467 test -z "$ac_c_werror_flag" ||
25468 test ! -s conftest.err
25469 } && test -s conftest.$ac_objext; then
13088 emacs_cv_c_restrict=__restrict 25470 emacs_cv_c_restrict=__restrict
13089else 25471else
13090 emacs_cv_c_restrict=no 25472 $as_echo "$as_me: failed program was:" >&5
25473sed 's/^/| /' conftest.$ac_ext >&5
25474
25475 emacs_cv_c_restrict=no
13091fi 25476fi
25477
13092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13093fi 25479fi
25480
13094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13095fi 25482fi
13096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 25483{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
13097$as_echo "$emacs_cv_c_restrict" >&6; } 25484$as_echo "$emacs_cv_c_restrict" >&6; }
13098case "$emacs_cv_c_restrict" in 25485case "$emacs_cv_c_restrict" in
13099 yes) emacs_restrict=restrict;; 25486 yes) emacs_restrict=restrict;;
@@ -13108,12 +25495,16 @@ _ACEOF
13108 25495
13109fi 25496fi
13110 25497
13111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 25498{ $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
13112$as_echo_n "checking for C restricted array declarations... " >&6; } 25499$as_echo_n "checking for C restricted array declarations... " >&6; }
13113if test "${emacs_cv_c_restrict_arr+set}" = set; then : 25500if test "${emacs_cv_c_restrict_arr+set}" = set; then
13114 $as_echo_n "(cached) " >&6 25501 $as_echo_n "(cached) " >&6
13115else 25502else
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25503 cat >conftest.$ac_ext <<_ACEOF
25504/* confdefs.h. */
25505_ACEOF
25506cat confdefs.h >>conftest.$ac_ext
25507cat >>conftest.$ac_ext <<_ACEOF
13117/* end confdefs.h. */ 25508/* end confdefs.h. */
13118void fred (int x[__restrict]); 25509void fred (int x[__restrict]);
13119int 25510int
@@ -13124,18 +25515,41 @@ main ()
13124 return 0; 25515 return 0;
13125} 25516}
13126_ACEOF 25517_ACEOF
13127if ac_fn_c_try_compile "$LINENO"; then : 25518rm -f conftest.$ac_objext
25519if { (ac_try="$ac_compile"
25520case "(($ac_try" in
25521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25522 *) ac_try_echo=$ac_try;;
25523esac
25524eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25525$as_echo "$ac_try_echo") >&5
25526 (eval "$ac_compile") 2>conftest.er1
25527 ac_status=$?
25528 grep -v '^ *+' conftest.er1 >conftest.err
25529 rm -f conftest.er1
25530 cat conftest.err >&5
25531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } && {
25533 test -z "$ac_c_werror_flag" ||
25534 test ! -s conftest.err
25535 } && test -s conftest.$ac_objext; then
13128 emacs_cv_c_restrict_arr=yes 25536 emacs_cv_c_restrict_arr=yes
13129else 25537else
13130 emacs_cv_c_restrict_arr=no 25538 $as_echo "$as_me: failed program was:" >&5
25539sed 's/^/| /' conftest.$ac_ext >&5
25540
25541 emacs_cv_c_restrict_arr=no
13131fi 25542fi
25543
13132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13133fi 25545fi
13134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 25546{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
13135$as_echo "$emacs_cv_c_restrict_arr" >&6; } 25547$as_echo "$emacs_cv_c_restrict_arr" >&6; }
13136if test "$emacs_cv_c_restrict_arr" = yes; then 25548if test "$emacs_cv_c_restrict_arr" = yes; then
13137 25549
13138$as_echo "#define __restrict_arr __restrict" >>confdefs.h 25550cat >>confdefs.h <<\_ACEOF
25551#define __restrict_arr __restrict
25552_ACEOF
13139 25553
13140fi 25554fi
13141 25555
@@ -13149,10 +25563,12 @@ CPPFLAGS="$REAL_CPPFLAGS"
13149version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 25563version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
13150 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 25564 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
13151if test x"${version}" = x; then 25565if test x"${version}" = x; then
13152 as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 25566 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
25567$as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
25568 { (exit 1); exit 1; }; }
13153fi 25569fi
13154if test x"${version}" != x"$PACKAGE_VERSION"; then 25570if test x"${version}" != x"$PACKAGE_VERSION"; then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 25571 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5
13156$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} 25572$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;}
13157fi 25573fi
13158 25574
@@ -13244,47 +25660,65 @@ _ACEOF
13244 25660
13245if test "${HAVE_X_WINDOWS}" = "yes" ; then 25661if test "${HAVE_X_WINDOWS}" = "yes" ; then
13246 25662
13247$as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h 25663cat >>confdefs.h <<\_ACEOF
25664#define HAVE_X_WINDOWS 1
25665_ACEOF
13248 25666
13249fi 25667fi
13250if test "${USE_X_TOOLKIT}" != "none" ; then 25668if test "${USE_X_TOOLKIT}" != "none" ; then
13251 25669
13252$as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h 25670cat >>confdefs.h <<\_ACEOF
25671#define USE_X_TOOLKIT 1
25672_ACEOF
13253 25673
13254 if test "${USE_X_TOOLKIT}" = "LUCID"; then 25674 if test "${USE_X_TOOLKIT}" = "LUCID"; then
13255 25675
13256$as_echo "#define USE_LUCID 1" >>confdefs.h 25676cat >>confdefs.h <<\_ACEOF
25677#define USE_LUCID 1
25678_ACEOF
13257 25679
13258 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then 25680 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then
13259 25681
13260$as_echo "#define USE_MOTIF 1" >>confdefs.h 25682cat >>confdefs.h <<\_ACEOF
25683#define USE_MOTIF 1
25684_ACEOF
13261 25685
13262 fi 25686 fi
13263fi 25687fi
13264if test "${HAVE_X11}" = "yes" ; then 25688if test "${HAVE_X11}" = "yes" ; then
13265 25689
13266$as_echo "#define HAVE_X11 1" >>confdefs.h 25690cat >>confdefs.h <<\_ACEOF
25691#define HAVE_X11 1
25692_ACEOF
13267 25693
13268fi 25694fi
13269if test "${HAVE_MENUS}" = "yes" ; then 25695if test "${HAVE_MENUS}" = "yes" ; then
13270 25696
13271$as_echo "#define HAVE_MENUS 1" >>confdefs.h 25697cat >>confdefs.h <<\_ACEOF
25698#define HAVE_MENUS 1
25699_ACEOF
13272 25700
13273fi 25701fi
13274if test "${GNU_MALLOC}" = "yes" ; then 25702if test "${GNU_MALLOC}" = "yes" ; then
13275 25703
13276$as_echo "#define GNU_MALLOC 1" >>confdefs.h 25704cat >>confdefs.h <<\_ACEOF
25705#define GNU_MALLOC 1
25706_ACEOF
13277 25707
13278fi 25708fi
13279if test "${REL_ALLOC}" = "yes" ; then 25709if test "${REL_ALLOC}" = "yes" ; then
13280 25710
13281$as_echo "#define REL_ALLOC 1" >>confdefs.h 25711cat >>confdefs.h <<\_ACEOF
25712#define REL_ALLOC 1
25713_ACEOF
13282 25714
13283fi 25715fi
13284 25716
13285 25717
13286 25718
13287 25719
25720
25721
13288#### Report on what we decided to do. 25722#### Report on what we decided to do.
13289#### Report GTK as a toolkit, even if it doesn't use Xt. 25723#### Report GTK as a toolkit, even if it doesn't use Xt.
13290#### It makes printing result more understandable as using GTK sets 25724#### It makes printing result more understandable as using GTK sets
@@ -13385,12 +25819,16 @@ cpp_undefs="`echo $srcdir $configuration $canonical |
13385## from Makefile.c can correctly provide the arg `-traditional' to the 25819## from Makefile.c can correctly provide the arg `-traditional' to the
13386## C preprocessor. 25820## C preprocessor.
13387 25821
13388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25822cat >conftest.$ac_ext <<_ACEOF
25823/* confdefs.h. */
25824_ACEOF
25825cat confdefs.h >>conftest.$ac_ext
25826cat >>conftest.$ac_ext <<_ACEOF
13389/* end confdefs.h. */ 25827/* end confdefs.h. */
13390yes..yes 25828yes..yes
13391_ACEOF 25829_ACEOF
13392if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 25830if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13393 $EGREP "yes..yes" >/dev/null 2>&1; then : 25831 $EGREP "yes..yes" >/dev/null 2>&1; then
13394 CPP_NEED_TRADITIONAL=no 25832 CPP_NEED_TRADITIONAL=no
13395else 25833else
13396 CPP_NEED_TRADITIONAL=yes 25834 CPP_NEED_TRADITIONAL=yes
@@ -13429,13 +25867,13 @@ _ACEOF
13429 case $ac_val in #( 25867 case $ac_val in #(
13430 *${as_nl}*) 25868 *${as_nl}*)
13431 case $ac_var in #( 25869 case $ac_var in #(
13432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 25870 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13433$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 25871$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13434 esac 25872 esac
13435 case $ac_var in #( 25873 case $ac_var in #(
13436 _ | IFS | as_nl) ;; #( 25874 _ | IFS | as_nl) ;; #(
13437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 25875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13438 *) { eval $ac_var=; unset $ac_var;} ;; 25876 *) $as_unset $ac_var ;;
13439 esac ;; 25877 esac ;;
13440 esac 25878 esac
13441 done 25879 done
@@ -13443,8 +25881,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13443 (set) 2>&1 | 25881 (set) 2>&1 |
13444 case $as_nl`(ac_space=' '; set) 2>&1` in #( 25882 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13445 *${as_nl}ac_space=\ *) 25883 *${as_nl}ac_space=\ *)
13446 # `set' does not quote correctly, so add quotes: double-quote 25884 # `set' does not quote correctly, so add quotes (double-quote
13447 # substitution turns \\\\ into \\, and sed turns \\ into \. 25885 # substitution turns \\\\ into \\, and sed turns \\ into \).
13448 sed -n \ 25886 sed -n \
13449 "s/'/'\\\\''/g; 25887 "s/'/'\\\\''/g;
13450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 25888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -13467,11 +25905,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13467if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 25905if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13468 if test -w "$cache_file"; then 25906 if test -w "$cache_file"; then
13469 test "x$cache_file" != "x/dev/null" && 25907 test "x$cache_file" != "x/dev/null" &&
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 25908 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13471$as_echo "$as_me: updating cache $cache_file" >&6;} 25909$as_echo "$as_me: updating cache $cache_file" >&6;}
13472 cat confcache >$cache_file 25910 cat confcache >$cache_file
13473 else 25911 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 25912 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13475$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 25913$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13476 fi 25914 fi
13477fi 25915fi
@@ -13491,8 +25929,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13491 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 25929 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13492 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 25930 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13493 # will be set to the directory where LIBOBJS objects are built. 25931 # will be set to the directory where LIBOBJS objects are built.
13494 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 25932 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13495 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 25933 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13496done 25934done
13497LIBOBJS=$ac_libobjs 25935LIBOBJS=$ac_libobjs
13498 25936
@@ -13504,10 +25942,9 @@ LTLIBOBJS=$ac_ltlibobjs
13504ac_write_fail=0 25942ac_write_fail=0
13505ac_clean_files_save=$ac_clean_files 25943ac_clean_files_save=$ac_clean_files
13506ac_clean_files="$ac_clean_files $CONFIG_STATUS" 25944ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13507{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 25945{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13508$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 25946$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13509as_write_fail=0 25947cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13510cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13511#! $SHELL 25948#! $SHELL
13512# Generated by $as_me. 25949# Generated by $as_me.
13513# Run this file to recreate the current configuration. 25950# Run this file to recreate the current configuration.
@@ -13517,18 +25954,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13517debug=false 25954debug=false
13518ac_cs_recheck=false 25955ac_cs_recheck=false
13519ac_cs_silent=false 25956ac_cs_silent=false
13520
13521SHELL=\${CONFIG_SHELL-$SHELL} 25957SHELL=\${CONFIG_SHELL-$SHELL}
13522export SHELL 25958_ACEOF
13523_ASEOF 25959
13524cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 25960cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13525## -------------------- ## 25961## --------------------- ##
13526## M4sh Initialization. ## 25962## M4sh Initialization. ##
13527## -------------------- ## 25963## --------------------- ##
13528 25964
13529# Be more Bourne compatible 25965# Be more Bourne compatible
13530DUALCASE=1; export DUALCASE # for MKS sh 25966DUALCASE=1; export DUALCASE # for MKS sh
13531if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 25967if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13532 emulate sh 25968 emulate sh
13533 NULLCMD=: 25969 NULLCMD=:
13534 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25970 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -13536,15 +25972,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13536 alias -g '${1+"$@"}'='"$@"' 25972 alias -g '${1+"$@"}'='"$@"'
13537 setopt NO_GLOB_SUBST 25973 setopt NO_GLOB_SUBST
13538else 25974else
13539 case `(set -o) 2>/dev/null` in #( 25975 case `(set -o) 2>/dev/null` in
13540 *posix*) : 25976 *posix*) set -o posix ;;
13541 set -o posix ;; #(
13542 *) :
13543 ;;
13544esac 25977esac
25978
13545fi 25979fi
13546 25980
13547 25981
25982
25983
25984# PATH needs CR
25985# Avoid depending upon Character Ranges.
25986as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25987as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25988as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25989as_cr_digits='0123456789'
25990as_cr_alnum=$as_cr_Letters$as_cr_digits
25991
13548as_nl=' 25992as_nl='
13549' 25993'
13550export as_nl 25994export as_nl
@@ -13552,13 +25996,7 @@ export as_nl
13552as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 25996as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13553as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 25997as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13554as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 25998as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13555# Prefer a ksh shell builtin over an external printf program on Solaris, 25999if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13556# but without wasting forks for bash or zsh.
13557if test -z "$BASH_VERSION$ZSH_VERSION" \
13558 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13559 as_echo='print -r --'
13560 as_echo_n='print -rn --'
13561elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13562 as_echo='printf %s\n' 26000 as_echo='printf %s\n'
13563 as_echo_n='printf %s' 26001 as_echo_n='printf %s'
13564else 26002else
@@ -13569,7 +26007,7 @@ else
13569 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 26007 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13570 as_echo_n_body='eval 26008 as_echo_n_body='eval
13571 arg=$1; 26009 arg=$1;
13572 case $arg in #( 26010 case $arg in
13573 *"$as_nl"*) 26011 *"$as_nl"*)
13574 expr "X$arg" : "X\\(.*\\)$as_nl"; 26012 expr "X$arg" : "X\\(.*\\)$as_nl";
13575 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 26013 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -13592,6 +26030,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
13592 } 26030 }
13593fi 26031fi
13594 26032
26033# Support unset when possible.
26034if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26035 as_unset=unset
26036else
26037 as_unset=false
26038fi
26039
13595 26040
13596# IFS 26041# IFS
13597# We need space, tab and new line, in precisely that order. Quoting is 26042# We need space, tab and new line, in precisely that order. Quoting is
@@ -13601,15 +26046,15 @@ fi
13601IFS=" "" $as_nl" 26046IFS=" "" $as_nl"
13602 26047
13603# Find who we are. Look in the path if we contain no directory separator. 26048# Find who we are. Look in the path if we contain no directory separator.
13604case $0 in #(( 26049case $0 in
13605 *[\\/]* ) as_myself=$0 ;; 26050 *[\\/]* ) as_myself=$0 ;;
13606 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26051 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13607for as_dir in $PATH 26052for as_dir in $PATH
13608do 26053do
13609 IFS=$as_save_IFS 26054 IFS=$as_save_IFS
13610 test -z "$as_dir" && as_dir=. 26055 test -z "$as_dir" && as_dir=.
13611 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 26056 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13612 done 26057done
13613IFS=$as_save_IFS 26058IFS=$as_save_IFS
13614 26059
13615 ;; 26060 ;;
@@ -13621,16 +26066,12 @@ if test "x$as_myself" = x; then
13621fi 26066fi
13622if test ! -f "$as_myself"; then 26067if test ! -f "$as_myself"; then
13623 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 26068 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13624 exit 1 26069 { (exit 1); exit 1; }
13625fi 26070fi
13626 26071
13627# Unset variables that we do not need and which cause bugs (e.g. in 26072# Work around bugs in pre-3.0 UWIN ksh.
13628# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 26073for as_var in ENV MAIL MAILPATH
13629# suppresses any "Segmentation fault" message there. '((' could 26074do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13630# trigger a bug in pdksh 5.2.14.
13631for as_var in BASH_ENV ENV MAIL MAILPATH
13632do eval test x\${$as_var+set} = xset \
13633 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13634done 26075done
13635PS1='$ ' 26076PS1='$ '
13636PS2='> ' 26077PS2='> '
@@ -13642,89 +26083,7 @@ export LC_ALL
13642LANGUAGE=C 26083LANGUAGE=C
13643export LANGUAGE 26084export LANGUAGE
13644 26085
13645# CDPATH. 26086# Required to use basename.
13646(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13647
13648
13649# as_fn_error ERROR [LINENO LOG_FD]
13650# ---------------------------------
13651# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13652# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13653# script with status $?, using 1 if that was 0.
13654as_fn_error ()
13655{
13656 as_status=$?; test $as_status -eq 0 && as_status=1
13657 if test "$3"; then
13658 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13659 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13660 fi
13661 $as_echo "$as_me: error: $1" >&2
13662 as_fn_exit $as_status
13663} # as_fn_error
13664
13665
13666# as_fn_set_status STATUS
13667# -----------------------
13668# Set $? to STATUS, without forking.
13669as_fn_set_status ()
13670{
13671 return $1
13672} # as_fn_set_status
13673
13674# as_fn_exit STATUS
13675# -----------------
13676# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13677as_fn_exit ()
13678{
13679 set +e
13680 as_fn_set_status $1
13681 exit $1
13682} # as_fn_exit
13683
13684# as_fn_unset VAR
13685# ---------------
13686# Portably unset VAR.
13687as_fn_unset ()
13688{
13689 { eval $1=; unset $1;}
13690}
13691as_unset=as_fn_unset
13692# as_fn_append VAR VALUE
13693# ----------------------
13694# Append the text in VALUE to the end of the definition contained in VAR. Take
13695# advantage of any shell optimizations that allow amortized linear growth over
13696# repeated appends, instead of the typical quadratic growth present in naive
13697# implementations.
13698if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13699 eval 'as_fn_append ()
13700 {
13701 eval $1+=\$2
13702 }'
13703else
13704 as_fn_append ()
13705 {
13706 eval $1=\$$1\$2
13707 }
13708fi # as_fn_append
13709
13710# as_fn_arith ARG...
13711# ------------------
13712# Perform arithmetic evaluation on the ARGs, and store the result in the
13713# global $as_val. Take advantage of shells that can avoid forks. The arguments
13714# must be portable across $(()) and expr.
13715if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13716 eval 'as_fn_arith ()
13717 {
13718 as_val=$(( $* ))
13719 }'
13720else
13721 as_fn_arith ()
13722 {
13723 as_val=`expr "$@" || test $? -eq 1`
13724 }
13725fi # as_fn_arith
13726
13727
13728if expr a : '\(a\)' >/dev/null 2>&1 && 26087if expr a : '\(a\)' >/dev/null 2>&1 &&
13729 test "X`expr 00001 : '.*\(...\)'`" = X001; then 26088 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13730 as_expr=expr 26089 as_expr=expr
@@ -13738,12 +26097,8 @@ else
13738 as_basename=false 26097 as_basename=false
13739fi 26098fi
13740 26099
13741if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13742 as_dirname=dirname
13743else
13744 as_dirname=false
13745fi
13746 26100
26101# Name of the executable.
13747as_me=`$as_basename -- "$0" || 26102as_me=`$as_basename -- "$0" ||
13748$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 26103$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13749 X"$0" : 'X\(//\)$' \| \ 26104 X"$0" : 'X\(//\)$' \| \
@@ -13763,25 +26118,76 @@ $as_echo X/"$0" |
13763 } 26118 }
13764 s/.*/./; q'` 26119 s/.*/./; q'`
13765 26120
13766# Avoid depending upon Character Ranges. 26121# CDPATH.
13767as_cr_letters='abcdefghijklmnopqrstuvwxyz' 26122$as_unset CDPATH
13768as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 26123
13769as_cr_Letters=$as_cr_letters$as_cr_LETTERS 26124
13770as_cr_digits='0123456789' 26125
13771as_cr_alnum=$as_cr_Letters$as_cr_digits 26126 as_lineno_1=$LINENO
26127 as_lineno_2=$LINENO
26128 test "x$as_lineno_1" != "x$as_lineno_2" &&
26129 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26130
26131 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26132 # uniformly replaced by the line number. The first 'sed' inserts a
26133 # line-number line after each line using $LINENO; the second 'sed'
26134 # does the real work. The second script uses 'N' to pair each
26135 # line-number line with the line containing $LINENO, and appends
26136 # trailing '-' during substitution so that $LINENO is not a special
26137 # case at line end.
26138 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26139 # scripts with optimization help from Paolo Bonzini. Blame Lee
26140 # E. McMahon (1931-1989) for sed's syntax. :-)
26141 sed -n '
26142 p
26143 /[$]LINENO/=
26144 ' <$as_myself |
26145 sed '
26146 s/[$]LINENO.*/&-/
26147 t lineno
26148 b
26149 :lineno
26150 N
26151 :loop
26152 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26153 t loop
26154 s/-\n.*//
26155 ' >$as_me.lineno &&
26156 chmod +x "$as_me.lineno" ||
26157 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26158 { (exit 1); exit 1; }; }
26159
26160 # Don't try to exec as it changes $[0], causing all sort of problems
26161 # (the dirname of $[0] is not the place where we might find the
26162 # original and so on. Autoconf is especially sensitive to this).
26163 . "./$as_me.lineno"
26164 # Exit status is that of the last command.
26165 exit
26166}
26167
26168
26169if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26170 as_dirname=dirname
26171else
26172 as_dirname=false
26173fi
13772 26174
13773ECHO_C= ECHO_N= ECHO_T= 26175ECHO_C= ECHO_N= ECHO_T=
13774case `echo -n x` in #((((( 26176case `echo -n x` in
13775-n*) 26177-n*)
13776 case `echo 'xy\c'` in 26178 case `echo 'x\c'` in
13777 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 26179 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13778 xy) ECHO_C='\c';; 26180 *) ECHO_C='\c';;
13779 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13780 ECHO_T=' ';;
13781 esac;; 26181 esac;;
13782*) 26182*)
13783 ECHO_N='-n';; 26183 ECHO_N='-n';;
13784esac 26184esac
26185if expr a : '\(a\)' >/dev/null 2>&1 &&
26186 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26187 as_expr=expr
26188else
26189 as_expr=false
26190fi
13785 26191
13786rm -f conf$$ conf$$.exe conf$$.file 26192rm -f conf$$ conf$$.exe conf$$.file
13787if test -d conf$$.dir; then 26193if test -d conf$$.dir; then
@@ -13810,56 +26216,8 @@ fi
13810rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 26216rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13811rmdir conf$$.dir 2>/dev/null 26217rmdir conf$$.dir 2>/dev/null
13812 26218
13813
13814# as_fn_mkdir_p
13815# -------------
13816# Create "$as_dir" as a directory, including parents if necessary.
13817as_fn_mkdir_p ()
13818{
13819
13820 case $as_dir in #(
13821 -*) as_dir=./$as_dir;;
13822 esac
13823 test -d "$as_dir" || eval $as_mkdir_p || {
13824 as_dirs=
13825 while :; do
13826 case $as_dir in #(
13827 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13828 *) as_qdir=$as_dir;;
13829 esac
13830 as_dirs="'$as_qdir' $as_dirs"
13831 as_dir=`$as_dirname -- "$as_dir" ||
13832$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13833 X"$as_dir" : 'X\(//\)[^/]' \| \
13834 X"$as_dir" : 'X\(//\)$' \| \
13835 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13836$as_echo X"$as_dir" |
13837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13838 s//\1/
13839 q
13840 }
13841 /^X\(\/\/\)[^/].*/{
13842 s//\1/
13843 q
13844 }
13845 /^X\(\/\/\)$/{
13846 s//\1/
13847 q
13848 }
13849 /^X\(\/\).*/{
13850 s//\1/
13851 q
13852 }
13853 s/.*/./; q'`
13854 test -d "$as_dir" && break
13855 done
13856 test -z "$as_dirs" || eval "mkdir $as_dirs"
13857 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13858
13859
13860} # as_fn_mkdir_p
13861if mkdir -p . 2>/dev/null; then 26219if mkdir -p . 2>/dev/null; then
13862 as_mkdir_p='mkdir -p "$as_dir"' 26220 as_mkdir_p=:
13863else 26221else
13864 test -d ./-p && rmdir ./-p 26222 test -d ./-p && rmdir ./-p
13865 as_mkdir_p=false 26223 as_mkdir_p=false
@@ -13878,10 +26236,10 @@ else
13878 if test -d "$1"; then 26236 if test -d "$1"; then
13879 test -d "$1/."; 26237 test -d "$1/.";
13880 else 26238 else
13881 case $1 in #( 26239 case $1 in
13882 -*)set "./$1";; 26240 -*)set "./$1";;
13883 esac; 26241 esac;
13884 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 26242 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13885 ???[sx]*):;;*)false;;esac;fi 26243 ???[sx]*):;;*)false;;esac;fi
13886 '\'' sh 26244 '\'' sh
13887 ' 26245 '
@@ -13896,19 +26254,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13896 26254
13897 26255
13898exec 6>&1 26256exec 6>&1
13899## ----------------------------------- ##
13900## Main body of $CONFIG_STATUS script. ##
13901## ----------------------------------- ##
13902_ASEOF
13903test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13904 26257
13905cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26258# Save the log message, to keep $[0] and so on meaningful, and to
13906# Save the log message, to keep $0 and so on meaningful, and to
13907# report actual input values of CONFIG_FILES etc. instead of their 26259# report actual input values of CONFIG_FILES etc. instead of their
13908# values after options handling. 26260# values after options handling.
13909ac_log=" 26261ac_log="
13910This file was extended by emacs $as_me 23.1.92, which was 26262This file was extended by emacs $as_me 23.1.92, which was
13911generated by GNU Autoconf 2.65. Invocation command line was 26263generated by GNU Autoconf 2.62. Invocation command line was
13912 26264
13913 CONFIG_FILES = $CONFIG_FILES 26265 CONFIG_FILES = $CONFIG_FILES
13914 CONFIG_HEADERS = $CONFIG_HEADERS 26266 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -13921,15 +26273,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
13921 26273
13922_ACEOF 26274_ACEOF
13923 26275
13924case $ac_config_files in *"
13925"*) set x $ac_config_files; shift; ac_config_files=$*;;
13926esac
13927
13928case $ac_config_headers in *"
13929"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13930esac
13931
13932
13933cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26276cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934# Files that config.status was made for. 26277# Files that config.status was made for.
13935config_files="$ac_config_files" 26278config_files="$ac_config_files"
@@ -13940,22 +26283,19 @@ _ACEOF
13940 26283
13941cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13942ac_cs_usage="\ 26285ac_cs_usage="\
13943\`$as_me' instantiates files and other configuration actions 26286\`$as_me' instantiates files from templates according to the
13944from templates according to the current configuration. Unless the files 26287current configuration.
13945and actions are specified as TAGs, all are instantiated by default.
13946 26288
13947Usage: $0 [OPTION]... [TAG]... 26289Usage: $0 [OPTIONS] [FILE]...
13948 26290
13949 -h, --help print this help, then exit 26291 -h, --help print this help, then exit
13950 -V, --version print version number and configuration settings, then exit 26292 -V, --version print version number and configuration settings, then exit
13951 --config print configuration, then exit 26293 -q, --quiet do not print progress messages
13952 -q, --quiet, --silent
13953 do not print progress messages
13954 -d, --debug don't remove temporary files 26294 -d, --debug don't remove temporary files
13955 --recheck update $as_me by reconfiguring in the same conditions 26295 --recheck update $as_me by reconfiguring in the same conditions
13956 --file=FILE[:TEMPLATE] 26296 --file=FILE[:TEMPLATE]
13957 instantiate the configuration file FILE 26297 instantiate the configuration file FILE
13958 --header=FILE[:TEMPLATE] 26298 --header=FILE[:TEMPLATE]
13959 instantiate the configuration header FILE 26299 instantiate the configuration header FILE
13960 26300
13961Configuration files: 26301Configuration files:
@@ -13967,17 +26307,16 @@ $config_headers
13967Configuration commands: 26307Configuration commands:
13968$config_commands 26308$config_commands
13969 26309
13970Report bugs to the package provider." 26310Report bugs to <bug-autoconf@gnu.org>."
13971 26311
13972_ACEOF 26312_ACEOF
13973cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26313cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13974ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13975ac_cs_version="\\ 26314ac_cs_version="\\
13976emacs config.status 23.1.92 26315emacs config.status 23.1.92
13977configured by $0, generated by GNU Autoconf 2.65, 26316configured by $0, generated by GNU Autoconf 2.62,
13978 with options \\"\$ac_cs_config\\" 26317 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13979 26318
13980Copyright (C) 2009 Free Software Foundation, Inc. 26319Copyright (C) 2008 Free Software Foundation, Inc.
13981This config.status script is free software; the Free Software Foundation 26320This config.status script is free software; the Free Software Foundation
13982gives unlimited permission to copy, distribute and modify it." 26321gives unlimited permission to copy, distribute and modify it."
13983 26322
@@ -14011,8 +26350,6 @@ do
14011 ac_cs_recheck=: ;; 26350 ac_cs_recheck=: ;;
14012 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 26351 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14013 $as_echo "$ac_cs_version"; exit ;; 26352 $as_echo "$ac_cs_version"; exit ;;
14014 --config | --confi | --conf | --con | --co | --c )
14015 $as_echo "$ac_cs_config"; exit ;;
14016 --debug | --debu | --deb | --de | --d | -d ) 26353 --debug | --debu | --deb | --de | --d | -d )
14017 debug=: ;; 26354 debug=: ;;
14018 --file | --fil | --fi | --f ) 26355 --file | --fil | --fi | --f )
@@ -14020,19 +26357,20 @@ do
14020 case $ac_optarg in 26357 case $ac_optarg in
14021 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 26358 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14022 esac 26359 esac
14023 as_fn_append CONFIG_FILES " '$ac_optarg'" 26360 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14024 ac_need_defaults=false;; 26361 ac_need_defaults=false;;
14025 --header | --heade | --head | --hea ) 26362 --header | --heade | --head | --hea )
14026 $ac_shift 26363 $ac_shift
14027 case $ac_optarg in 26364 case $ac_optarg in
14028 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 26365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14029 esac 26366 esac
14030 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 26367 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14031 ac_need_defaults=false;; 26368 ac_need_defaults=false;;
14032 --he | --h) 26369 --he | --h)
14033 # Conflict between --help and --header 26370 # Conflict between --help and --header
14034 as_fn_error "ambiguous option: \`$1' 26371 { $as_echo "$as_me: error: ambiguous option: $1
14035Try \`$0 --help' for more information.";; 26372Try \`$0 --help' for more information." >&2
26373 { (exit 1); exit 1; }; };;
14036 --help | --hel | -h ) 26374 --help | --hel | -h )
14037 $as_echo "$ac_cs_usage"; exit ;; 26375 $as_echo "$ac_cs_usage"; exit ;;
14038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 26376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -14040,10 +26378,11 @@ Try \`$0 --help' for more information.";;
14040 ac_cs_silent=: ;; 26378 ac_cs_silent=: ;;
14041 26379
14042 # This is an error. 26380 # This is an error.
14043 -*) as_fn_error "unrecognized option: \`$1' 26381 -*) { $as_echo "$as_me: error: unrecognized option: $1
14044Try \`$0 --help' for more information." ;; 26382Try \`$0 --help' for more information." >&2
26383 { (exit 1); exit 1; }; } ;;
14045 26384
14046 *) as_fn_append ac_config_targets " $1" 26385 *) ac_config_targets="$ac_config_targets $1"
14047 ac_need_defaults=false ;; 26386 ac_need_defaults=false ;;
14048 26387
14049 esac 26388 esac
@@ -14108,7 +26447,9 @@ do
14108 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 26447 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
14109 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 26448 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
14110 26449
14111 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 26450 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26451$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26452 { (exit 1); exit 1; }; };;
14112 esac 26453 esac
14113done 26454done
14114 26455
@@ -14135,7 +26476,7 @@ $debug ||
14135 trap 'exit_status=$? 26476 trap 'exit_status=$?
14136 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 26477 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14137' 0 26478' 0
14138 trap 'as_fn_exit 1' 1 2 13 15 26479 trap '{ (exit 1); exit 1; }' 1 2 13 15
14139} 26480}
14140# Create a (secure) tmp directory for tmp files. 26481# Create a (secure) tmp directory for tmp files.
14141 26482
@@ -14146,7 +26487,11 @@ $debug ||
14146{ 26487{
14147 tmp=./conf$$-$RANDOM 26488 tmp=./conf$$-$RANDOM
14148 (umask 077 && mkdir "$tmp") 26489 (umask 077 && mkdir "$tmp")
14149} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 26490} ||
26491{
26492 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26493 { (exit 1); exit 1; }
26494}
14150 26495
14151# Set up the scripts for CONFIG_FILES section. 26496# Set up the scripts for CONFIG_FILES section.
14152# No need to generate them if there are no CONFIG_FILES. 26497# No need to generate them if there are no CONFIG_FILES.
@@ -14154,16 +26499,10 @@ $debug ||
14154if test -n "$CONFIG_FILES"; then 26499if test -n "$CONFIG_FILES"; then
14155 26500
14156 26501
14157ac_cr=`echo X | tr X '\015'` 26502ac_cr=' '
14158# On cygwin, bash can eat \r inside `` if the user requested igncr.
14159# But we know of no other shell where ac_cr would be empty at this
14160# point, so we can use a bashism as a fallback.
14161if test "x$ac_cr" = x; then
14162 eval ac_cr=\$\'\\r\'
14163fi
14164ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 26503ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14165if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 26504if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14166 ac_cs_awk_cr='\r' 26505 ac_cs_awk_cr='\\r'
14167else 26506else
14168 ac_cs_awk_cr=$ac_cr 26507 ac_cs_awk_cr=$ac_cr
14169fi 26508fi
@@ -14177,18 +26516,23 @@ _ACEOF
14177 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 26516 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14178 echo "_ACEOF" 26517 echo "_ACEOF"
14179} >conf$$subs.sh || 26518} >conf$$subs.sh ||
14180 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 26519 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26520$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26521 { (exit 1); exit 1; }; }
14181ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 26522ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14182ac_delim='%!_!# ' 26523ac_delim='%!_!# '
14183for ac_last_try in false false false false false :; do 26524for ac_last_try in false false false false false :; do
14184 . ./conf$$subs.sh || 26525 . ./conf$$subs.sh ||
14185 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 26526 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26527$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26528 { (exit 1); exit 1; }; }
14186 26529
14187 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 26530 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14188 if test $ac_delim_n = $ac_delim_num; then
14189 break 26531 break
14190 elif $ac_last_try; then 26532 elif $ac_last_try; then
14191 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 26533 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26534$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26535 { (exit 1); exit 1; }; }
14192 else 26536 else
14193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26537 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14194 fi 26538 fi
@@ -14210,7 +26554,7 @@ s/'"$ac_delim"'$//
14210t delim 26554t delim
14211:nl 26555:nl
14212h 26556h
14213s/\(.\{148\}\)..*/\1/ 26557s/\(.\{148\}\).*/\1/
14214t more1 26558t more1
14215s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 26559s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14216p 26560p
@@ -14224,7 +26568,7 @@ s/.\{148\}//
14224t nl 26568t nl
14225:delim 26569:delim
14226h 26570h
14227s/\(.\{148\}\)..*/\1/ 26571s/\(.\{148\}\).*/\1/
14228t more2 26572t more2
14229s/["\\]/\\&/g; s/^/"/; s/$/"/ 26573s/["\\]/\\&/g; s/^/"/; s/$/"/
14230p 26574p
@@ -14277,7 +26621,9 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14277else 26621else
14278 cat 26622 cat
14279fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 26623fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14280 || as_fn_error "could not setup config files machinery" "$LINENO" 5 26624 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26625$as_echo "$as_me: error: could not setup config files machinery" >&2;}
26626 { (exit 1); exit 1; }; }
14281_ACEOF 26627_ACEOF
14282 26628
14283# VPATH may cause trouble with some makes, so we remove $(srcdir), 26629# VPATH may cause trouble with some makes, so we remove $(srcdir),
@@ -14318,7 +26664,9 @@ for ac_last_try in false false :; do
14318 if test -z "$ac_t"; then 26664 if test -z "$ac_t"; then
14319 break 26665 break
14320 elif $ac_last_try; then 26666 elif $ac_last_try; then
14321 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 26667 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26668$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26669 { (exit 1); exit 1; }; }
14322 else 26670 else
14323 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26671 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14324 fi 26672 fi
@@ -14384,9 +26732,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14384 } 26732 }
14385 split(mac1, mac2, "(") #) 26733 split(mac1, mac2, "(") #)
14386 macro = mac2[1] 26734 macro = mac2[1]
14387 prefix = substr(line, 1, index(line, defundef) - 1)
14388 if (D_is_set[macro]) { 26735 if (D_is_set[macro]) {
14389 # Preserve the white space surrounding the "#". 26736 # Preserve the white space surrounding the "#".
26737 prefix = substr(line, 1, index(line, defundef) - 1)
14390 print prefix "define", macro P[macro] D[macro] 26738 print prefix "define", macro P[macro] D[macro]
14391 next 26739 next
14392 } else { 26740 } else {
@@ -14394,7 +26742,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14394 # in the case of _POSIX_SOURCE, which is predefined and required 26742 # in the case of _POSIX_SOURCE, which is predefined and required
14395 # on some systems where configure will not decide to define it. 26743 # on some systems where configure will not decide to define it.
14396 if (defundef == "undef") { 26744 if (defundef == "undef") {
14397 print "/*", prefix defundef, macro, "*/" 26745 print "/*", line, "*/"
14398 next 26746 next
14399 } 26747 }
14400 } 26748 }
@@ -14403,7 +26751,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14403_ACAWK 26751_ACAWK
14404_ACEOF 26752_ACEOF
14405cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14406 as_fn_error "could not setup config headers machinery" "$LINENO" 5 26754 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26755$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26756 { (exit 1); exit 1; }; }
14407fi # test -n "$CONFIG_HEADERS" 26757fi # test -n "$CONFIG_HEADERS"
14408 26758
14409 26759
@@ -14416,7 +26766,9 @@ do
14416 esac 26766 esac
14417 case $ac_mode$ac_tag in 26767 case $ac_mode$ac_tag in
14418 :[FHL]*:*);; 26768 :[FHL]*:*);;
14419 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 26769 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26770$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26771 { (exit 1); exit 1; }; };;
14420 :[FH]-) ac_tag=-:-;; 26772 :[FH]-) ac_tag=-:-;;
14421 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 26773 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14422 esac 26774 esac
@@ -14444,10 +26796,12 @@ do
14444 [\\/$]*) false;; 26796 [\\/$]*) false;;
14445 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 26797 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14446 esac || 26798 esac ||
14447 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 26799 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26800$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26801 { (exit 1); exit 1; }; };;
14448 esac 26802 esac
14449 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 26803 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14450 as_fn_append ac_file_inputs " '$ac_f'" 26804 ac_file_inputs="$ac_file_inputs '$ac_f'"
14451 done 26805 done
14452 26806
14453 # Let's still pretend it is `configure' which instantiates (i.e., don't 26807 # Let's still pretend it is `configure' which instantiates (i.e., don't
@@ -14458,7 +26812,7 @@ do
14458 `' by configure.' 26812 `' by configure.'
14459 if test x"$ac_file" != x-; then 26813 if test x"$ac_file" != x-; then
14460 configure_input="$ac_file. $configure_input" 26814 configure_input="$ac_file. $configure_input"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 26815 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14462$as_echo "$as_me: creating $ac_file" >&6;} 26816$as_echo "$as_me: creating $ac_file" >&6;}
14463 fi 26817 fi
14464 # Neutralize special characters interpreted by sed in replacement strings. 26818 # Neutralize special characters interpreted by sed in replacement strings.
@@ -14471,7 +26825,9 @@ $as_echo "$as_me: creating $ac_file" >&6;}
14471 26825
14472 case $ac_tag in 26826 case $ac_tag in
14473 *:-:* | *:-) cat >"$tmp/stdin" \ 26827 *:-:* | *:-) cat >"$tmp/stdin" \
14474 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 26828 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26829$as_echo "$as_me: error: could not create $ac_file" >&2;}
26830 { (exit 1); exit 1; }; } ;;
14475 esac 26831 esac
14476 ;; 26832 ;;
14477 esac 26833 esac
@@ -14499,7 +26855,47 @@ $as_echo X"$ac_file" |
14499 q 26855 q
14500 } 26856 }
14501 s/.*/./; q'` 26857 s/.*/./; q'`
14502 as_dir="$ac_dir"; as_fn_mkdir_p 26858 { as_dir="$ac_dir"
26859 case $as_dir in #(
26860 -*) as_dir=./$as_dir;;
26861 esac
26862 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26863 as_dirs=
26864 while :; do
26865 case $as_dir in #(
26866 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26867 *) as_qdir=$as_dir;;
26868 esac
26869 as_dirs="'$as_qdir' $as_dirs"
26870 as_dir=`$as_dirname -- "$as_dir" ||
26871$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26872 X"$as_dir" : 'X\(//\)[^/]' \| \
26873 X"$as_dir" : 'X\(//\)$' \| \
26874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26875$as_echo X"$as_dir" |
26876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26877 s//\1/
26878 q
26879 }
26880 /^X\(\/\/\)[^/].*/{
26881 s//\1/
26882 q
26883 }
26884 /^X\(\/\/\)$/{
26885 s//\1/
26886 q
26887 }
26888 /^X\(\/\).*/{
26889 s//\1/
26890 q
26891 }
26892 s/.*/./; q'`
26893 test -d "$as_dir" && break
26894 done
26895 test -z "$as_dirs" || eval "mkdir $as_dirs"
26896 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26897$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26898 { (exit 1); exit 1; }; }; }
14503 ac_builddir=. 26899 ac_builddir=.
14504 26900
14505case "$ac_dir" in 26901case "$ac_dir" in
@@ -14551,6 +26947,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14551# If the template does not know about datarootdir, expand it. 26947# If the template does not know about datarootdir, expand it.
14552# FIXME: This hack should be removed a few years after 2.60. 26948# FIXME: This hack should be removed a few years after 2.60.
14553ac_datarootdir_hack=; ac_datarootdir_seen= 26949ac_datarootdir_hack=; ac_datarootdir_seen=
26950
14554ac_sed_dataroot=' 26951ac_sed_dataroot='
14555/datarootdir/ { 26952/datarootdir/ {
14556 p 26953 p
@@ -14560,11 +26957,12 @@ ac_sed_dataroot='
14560/@docdir@/p 26957/@docdir@/p
14561/@infodir@/p 26958/@infodir@/p
14562/@localedir@/p 26959/@localedir@/p
14563/@mandir@/p' 26960/@mandir@/p
26961'
14564case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 26962case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14565*datarootdir*) ac_datarootdir_seen=yes;; 26963*datarootdir*) ac_datarootdir_seen=yes;;
14566*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 26964*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 26965 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14568$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 26966$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14569_ACEOF 26967_ACEOF
14570cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -14574,7 +26972,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14574 s&@infodir@&$infodir&g 26972 s&@infodir@&$infodir&g
14575 s&@localedir@&$localedir&g 26973 s&@localedir@&$localedir&g
14576 s&@mandir@&$mandir&g 26974 s&@mandir@&$mandir&g
14577 s&\\\${datarootdir}&$datarootdir&g' ;; 26975 s&\\\${datarootdir}&$datarootdir&g' ;;
14578esac 26976esac
14579_ACEOF 26977_ACEOF
14580 26978
@@ -14602,12 +27000,14 @@ s&@INSTALL@&$ac_INSTALL&;t t
14602$ac_datarootdir_hack 27000$ac_datarootdir_hack
14603" 27001"
14604eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 27002eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14605 || as_fn_error "could not create $ac_file" "$LINENO" 5 27003 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27004$as_echo "$as_me: error: could not create $ac_file" >&2;}
27005 { (exit 1); exit 1; }; }
14606 27006
14607test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 27007test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14608 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 27008 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14609 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 27009 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 27010 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14611which seems to be undefined. Please make sure it is defined." >&5 27011which seems to be undefined. Please make sure it is defined." >&5
14612$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 27012$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14613which seems to be undefined. Please make sure it is defined." >&2;} 27013which seems to be undefined. Please make sure it is defined." >&2;}
@@ -14617,7 +27017,9 @@ which seems to be undefined. Please make sure it is defined." >&2;}
14617 -) cat "$tmp/out" && rm -f "$tmp/out";; 27017 -) cat "$tmp/out" && rm -f "$tmp/out";;
14618 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 27018 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14619 esac \ 27019 esac \
14620 || as_fn_error "could not create $ac_file" "$LINENO" 5 27020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27021$as_echo "$as_me: error: could not create $ac_file" >&2;}
27022 { (exit 1); exit 1; }; }
14621 ;; 27023 ;;
14622 :H) 27024 :H)
14623 # 27025 #
@@ -14628,23 +27030,29 @@ which seems to be undefined. Please make sure it is defined." >&2;}
14628 $as_echo "/* $configure_input */" \ 27030 $as_echo "/* $configure_input */" \
14629 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 27031 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14630 } >"$tmp/config.h" \ 27032 } >"$tmp/config.h" \
14631 || as_fn_error "could not create $ac_file" "$LINENO" 5 27033 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27034$as_echo "$as_me: error: could not create $ac_file" >&2;}
27035 { (exit 1); exit 1; }; }
14632 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 27036 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 27037 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14634$as_echo "$as_me: $ac_file is unchanged" >&6;} 27038$as_echo "$as_me: $ac_file is unchanged" >&6;}
14635 else 27039 else
14636 rm -f "$ac_file" 27040 rm -f "$ac_file"
14637 mv "$tmp/config.h" "$ac_file" \ 27041 mv "$tmp/config.h" "$ac_file" \
14638 || as_fn_error "could not create $ac_file" "$LINENO" 5 27042 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27043$as_echo "$as_me: error: could not create $ac_file" >&2;}
27044 { (exit 1); exit 1; }; }
14639 fi 27045 fi
14640 else 27046 else
14641 $as_echo "/* $configure_input */" \ 27047 $as_echo "/* $configure_input */" \
14642 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 27048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14643 || as_fn_error "could not create -" "$LINENO" 5 27049 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
27050$as_echo "$as_me: error: could not create -" >&2;}
27051 { (exit 1); exit 1; }; }
14644 fi 27052 fi
14645 ;; 27053 ;;
14646 27054
14647 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 27055 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14648$as_echo "$as_me: executing $ac_file commands" >&6;} 27056$as_echo "$as_me: executing $ac_file commands" >&6;}
14649 ;; 27057 ;;
14650 esac 27058 esac
@@ -14715,12 +27123,15 @@ fi
14715done # for ac_tag 27123done # for ac_tag
14716 27124
14717 27125
14718as_fn_exit 0 27126{ (exit 0); exit 0; }
14719_ACEOF 27127_ACEOF
27128chmod +x $CONFIG_STATUS
14720ac_clean_files=$ac_clean_files_save 27129ac_clean_files=$ac_clean_files_save
14721 27130
14722test $ac_write_fail = 0 || 27131test $ac_write_fail = 0 ||
14723 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 27132 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
27133$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
27134 { (exit 1); exit 1; }; }
14724 27135
14725 27136
14726# configure is writing to config.log, and then calls config.status. 27137# configure is writing to config.log, and then calls config.status.
@@ -14741,11 +27152,11 @@ if test "$no_create" != yes; then
14741 exec 5>>config.log 27152 exec 5>>config.log
14742 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 27153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14743 # would make configure fail if this is the last instruction. 27154 # would make configure fail if this is the last instruction.
14744 $ac_cs_success || as_fn_exit $? 27155 $ac_cs_success || { (exit 1); exit 1; }
14745fi 27156fi
14746if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 27157if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 27158 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
14748$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 27159$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
14749fi 27160fi
14750 27161
14751 27162