aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-04-23 19:25:45 -0700
committerGlenn Morris2010-04-23 19:25:45 -0700
commit0c309b800cde56aafeed87c0ca8ee0b2b8dcdb61 (patch)
treedad528adb9f7b2e870b797da3dfc69d3fa04dccf
parent70eab5c1825a15ead8010be9aafc1d72486fd07d (diff)
downloademacs-0c309b800cde56aafeed87c0ca8ee0b2b8dcdb61.tar.gz
emacs-0c309b800cde56aafeed87c0ca8ee0b2b8dcdb61.zip
Regenerate configure, src/config.in.
-rwxr-xr-xconfigure18959
-rw-r--r--src/config.in3
2 files changed, 15723 insertions, 3239 deletions
diff --git a/configure b/configure
index b64a76ffd2b..80a030ea892 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 24.0.50. 3# Generated by GNU Autoconf 2.62 for emacs 24.0.50.
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='24.0.50' 597PACKAGE_VERSION='24.0.50'
553PACKAGE_STRING='emacs 24.0.50' 598PACKAGE_STRING='emacs 24.0.50'
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,157 +638,157 @@ 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
598XOBJ
599XMENU_OBJ
600OTHER_FILES
601LIB_SRC_EXTRA_INSTALLABLES
602GNU_OBJC_CFLAGS
603GNUSTEP_SYSTEM_LIBRARIES
604GNUSTEP_SYSTEM_HEADERS
605GNUSTEP_MAKEFILES
606ns_appsrc
607ns_appresdir
608ns_appbindir
609ns_appdir
610opsysfile
611machfile
612X_TOOLKIT_TYPE
613C_SWITCH_X_SITE
614LD_SWITCH_X_SITE_AUX
615LD_SWITCH_X_SITE
616c_switch_machine
617c_switch_system
618gameuser
619gamedir
620bitmapdir
621archlibdir
622etcdir
623x_default_search_path
624lisppath
625locallisppath
626lispdir
627srcdir
628canonical
629configuration
630version
631KRB4LIB
632DESLIB
633KRB5LIB
634CRYPTOLIB
635COM_ERRLIB
636LIBRESOLV
637LIBHESIOD
638GETOPTOBJS
639GETOPT_H
640GETLOADAVG_LIBS
641KMEM_GROUP
642NEED_SETGID
643LIBOBJS
644LIBS_MAIL
645liblockfile
646ALLOCA
647LIBXSM
648LIBGPM
649LIBGIF
650LIBTIFF
651LIBPNG
652LIBJPEG
653LIBXPM
654FREETYPE_LIBS
655FREETYPE_CFLAGS
656M17N_FLT_LIBS
657M17N_FLT_CFLAGS
658LIBOTF_LIBS
659LIBOTF_CFLAGS
660XFT_LIBS
661XFT_CFLAGS
662FONTCONFIG_LIBS
663FONTCONFIG_CFLAGS
664LIBSELINUX_LIBS
665GCONF_LIBS
666GCONF_CFLAGS
667DBUS_OBJ
668DBUS_LIBS
669DBUS_CFLAGS
670GTK_OBJ
671GTK_LIBS
672GTK_CFLAGS
673RSVG_LIBS
674RSVG_CFLAGS
675HAVE_XSERVER
676XMKMF
677SET_MAKE
678CFLAGS_SOUND
679ALSA_LIBS
680ALSA_CFLAGS
681PKG_CONFIG
682LIBSOUND
683MAKEINFO
684GZIP_PROG
685INSTALL_INFO
686RANLIB
687INSTALL_DATA
688INSTALL_SCRIPT
689INSTALL_PROGRAM
690LN_S
691EGREP
692GREP
693CPP
694OBJEXT
695EXEEXT
696ac_ct_CC
697CPPFLAGS
698LDFLAGS
699CFLAGS
700CC
701host_os
702host_vendor
703host_cpu
704host
705build_os
706build_vendor
707build_cpu
708build
709MAINT
710target_alias
711host_alias
712build_alias
713LIBS
714ECHO_T
715ECHO_N
716ECHO_C
717DEFS
718mandir
719localedir
720libdir
721psdir
722pdfdir
723dvidir
724htmldir
725infodir
726docdir
727oldincludedir
728includedir
729localstatedir
730sharedstatedir
731sysconfdir
732datadir
733datarootdir
734libexecdir
735sbindir
736bindir
737program_transform_name
738prefix
739exec_prefix
740PACKAGE_URL
741PACKAGE_BUGREPORT
742PACKAGE_STRING
743PACKAGE_VERSION
744PACKAGE_TARNAME
745PACKAGE_NAME
746PATH_SEPARATOR 642PATH_SEPARATOR
747SHELL' 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
705CRT_DIR
706LIBSOUND
707PKG_CONFIG
708ALSA_CFLAGS
709ALSA_LIBS
710CFLAGS_SOUND
711SET_MAKE
712XMKMF
713HAVE_XSERVER
714RSVG_CFLAGS
715RSVG_LIBS
716GTK_CFLAGS
717GTK_LIBS
718GTK_OBJ
719DBUS_CFLAGS
720DBUS_LIBS
721DBUS_OBJ
722GCONF_CFLAGS
723GCONF_LIBS
724LIBSELINUX_LIBS
725FONTCONFIG_CFLAGS
726FONTCONFIG_LIBS
727XFT_CFLAGS
728XFT_LIBS
729LIBOTF_CFLAGS
730LIBOTF_LIBS
731M17N_FLT_CFLAGS
732M17N_FLT_LIBS
733FREETYPE_CFLAGS
734FREETYPE_LIBS
735LIBXPM
736LIBJPEG
737LIBPNG
738LIBTIFF
739LIBGIF
740LIBGPM
741LIBXSM
742ALLOCA
743liblockfile
744LIBS_MAIL
745LIBOBJS
746NEED_SETGID
747KMEM_GROUP
748GETLOADAVG_LIBS
749GETOPT_H
750GETOPTOBJS
751LIBHESIOD
752LIBRESOLV
753COM_ERRLIB
754CRYPTOLIB
755KRB5LIB
756DESLIB
757KRB4LIB
758version
759configuration
760canonical
761srcdir
762lispdir
763locallisppath
764lisppath
765x_default_search_path
766etcdir
767archlibdir
768bitmapdir
769gamedir
770gameuser
771c_switch_system
772c_switch_machine
773LD_SWITCH_X_SITE
774LD_SWITCH_X_SITE_AUX
775C_SWITCH_X_SITE
776X_TOOLKIT_TYPE
777machfile
778opsysfile
779ns_appdir
780ns_appbindir
781ns_appresdir
782ns_appsrc
783GNUSTEP_MAKEFILES
784GNUSTEP_SYSTEM_HEADERS
785GNUSTEP_SYSTEM_LIBRARIES
786GNU_OBJC_CFLAGS
787LIB_SRC_EXTRA_INSTALLABLES
788OTHER_FILES
789XMENU_OBJ
790XOBJ
791LTLIBOBJS'
748ac_subst_files='' 792ac_subst_files=''
749ac_user_opts=' 793ac_user_opts='
750enable_option_checking 794enable_option_checking
@@ -779,6 +823,7 @@ with_makeinfo
779with_gtk 823with_gtk
780with_gcc 824with_gcc
781with_pkg_config_prog 825with_pkg_config_prog
826with_crt_dir
782with_gnustep_conf 827with_gnustep_conf
783enable_ns_self_contained 828enable_ns_self_contained
784enable_asserts 829enable_asserts
@@ -908,7 +953,8 @@ do
908 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 953 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
909 # Reject names that are not valid shell variable names. 954 # Reject names that are not valid shell variable names.
910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911 as_fn_error "invalid feature name: $ac_useropt" 956 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
957 { (exit 1); exit 1; }; }
912 ac_useropt_orig=$ac_useropt 958 ac_useropt_orig=$ac_useropt
913 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914 case $ac_user_opts in 960 case $ac_user_opts in
@@ -934,7 +980,8 @@ do
934 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 980 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935 # Reject names that are not valid shell variable names. 981 # Reject names that are not valid shell variable names.
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937 as_fn_error "invalid feature name: $ac_useropt" 983 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
984 { (exit 1); exit 1; }; }
938 ac_useropt_orig=$ac_useropt 985 ac_useropt_orig=$ac_useropt
939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940 case $ac_user_opts in 987 case $ac_user_opts in
@@ -1138,7 +1185,8 @@ do
1138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139 # Reject names that are not valid shell variable names. 1186 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error "invalid package name: $ac_useropt" 1188 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1189 { (exit 1); exit 1; }; }
1142 ac_useropt_orig=$ac_useropt 1190 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in 1192 case $ac_user_opts in
@@ -1154,7 +1202,8 @@ do
1154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155 # Reject names that are not valid shell variable names. 1203 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 as_fn_error "invalid package name: $ac_useropt" 1205 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1206 { (exit 1); exit 1; }; }
1158 ac_useropt_orig=$ac_useropt 1207 ac_useropt_orig=$ac_useropt
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in 1209 case $ac_user_opts in
@@ -1184,17 +1233,17 @@ do
1184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185 x_libraries=$ac_optarg ;; 1234 x_libraries=$ac_optarg ;;
1186 1235
1187 -*) as_fn_error "unrecognized option: \`$ac_option' 1236 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1188Try \`$0 --help' for more information." 1237Try \`$0 --help' for more information." >&2
1238 { (exit 1); exit 1; }; }
1189 ;; 1239 ;;
1190 1240
1191 *=*) 1241 *=*)
1192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193 # Reject names that are not valid shell variable names. 1243 # Reject names that are not valid shell variable names.
1194 case $ac_envvar in #( 1244 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1195 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1245 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1196 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1246 { (exit 1); exit 1; }; }
1197 esac
1198 eval $ac_envvar=\$ac_optarg 1247 eval $ac_envvar=\$ac_optarg
1199 export $ac_envvar ;; 1248 export $ac_envvar ;;
1200 1249
@@ -1211,14 +1260,16 @@ done
1211 1260
1212if test -n "$ac_prev"; then 1261if test -n "$ac_prev"; then
1213 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214 as_fn_error "missing argument to $ac_option" 1263 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1264 { (exit 1); exit 1; }; }
1215fi 1265fi
1216 1266
1217if test -n "$ac_unrecognized_opts"; then 1267if test -n "$ac_unrecognized_opts"; then
1218 case $enable_option_checking in 1268 case $enable_option_checking in
1219 no) ;; 1269 no) ;;
1220 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1270 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1221 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1271 { (exit 1); exit 1; }; } ;;
1272 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222 esac 1273 esac
1223fi 1274fi
1224 1275
@@ -1240,7 +1291,8 @@ do
1240 [\\/$]* | ?:[\\/]* ) continue;; 1291 [\\/$]* | ?:[\\/]* ) continue;;
1241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242 esac 1293 esac
1243 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1294 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1295 { (exit 1); exit 1; }; }
1244done 1296done
1245 1297
1246# There might be people who depend on the old broken behavior: `$host' 1298# There might be people who depend on the old broken behavior: `$host'
@@ -1270,9 +1322,11 @@ test "$silent" = yes && exec 6>/dev/null
1270ac_pwd=`pwd` && test -n "$ac_pwd" && 1322ac_pwd=`pwd` && test -n "$ac_pwd" &&
1271ac_ls_di=`ls -di .` && 1323ac_ls_di=`ls -di .` &&
1272ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1324ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error "working directory cannot be determined" 1325 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1326 { (exit 1); exit 1; }; }
1274test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1327test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error "pwd does not report name of working directory" 1328 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1329 { (exit 1); exit 1; }; }
1276 1330
1277 1331
1278# Find the source files, if location was not specified. 1332# Find the source files, if location was not specified.
@@ -1311,11 +1365,13 @@ else
1311fi 1365fi
1312if test ! -r "$srcdir/$ac_unique_file"; then 1366if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1367 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1314 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1368 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1369 { (exit 1); exit 1; }; }
1315fi 1370fi
1316ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1371ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1317ac_abs_confdir=`( 1372ac_abs_confdir=`(
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1373 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1374 { (exit 1); exit 1; }; }
1319 pwd)` 1375 pwd)`
1320# When building in place, set srcdir=. 1376# When building in place, set srcdir=.
1321if test "$ac_abs_confdir" = "$ac_pwd"; then 1377if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1482,6 +1538,8 @@ Optional Packages:
1482 1538
1483 --with-pkg-config-prog=PATH 1539 --with-pkg-config-prog=PATH
1484 path to pkg-config for finding GTK and librsvg 1540 path to pkg-config for finding GTK and librsvg
1541 --with-crt-dir=DIR directory containing crtn.o etc. This option is only
1542 used on x86-64 and s390x GNU/Linux architectures.
1485 --with-gnustep-conf=PATH 1543 --with-gnustep-conf=PATH
1486 path to GNUstep.conf; default $GNUSTEP_CONFIG_FILE, 1544 path to GNUstep.conf; default $GNUSTEP_CONFIG_FILE,
1487 or /etc/GNUstep/GNUstep.conf 1545 or /etc/GNUstep/GNUstep.conf
@@ -1493,7 +1551,7 @@ Some influential environment variables:
1493 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1551 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1494 nonstandard directory <lib dir> 1552 nonstandard directory <lib dir>
1495 LIBS libraries to pass to the linker, e.g. -l<library> 1553 LIBS libraries to pass to the linker, e.g. -l<library>
1496 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1554 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1497 you have headers in a nonstandard directory <include dir> 1555 you have headers in a nonstandard directory <include dir>
1498 CPP C preprocessor 1556 CPP C preprocessor
1499 XMKMF Path to xmkmf, Makefile generator for X Window System 1557 XMKMF Path to xmkmf, Makefile generator for X Window System
@@ -1501,7 +1559,6 @@ Some influential environment variables:
1501Use these variables to override the choices made by `configure' or to help 1559Use these variables to override the choices made by `configure' or to help
1502it to find libraries and programs with nonstandard names/locations. 1560it to find libraries and programs with nonstandard names/locations.
1503 1561
1504Report bugs to the package provider.
1505_ACEOF 1562_ACEOF
1506ac_status=$? 1563ac_status=$?
1507fi 1564fi
@@ -1565,551 +1622,21 @@ test -n "$ac_init_help" && exit $ac_status
1565if $ac_init_version; then 1622if $ac_init_version; then
1566 cat <<\_ACEOF 1623 cat <<\_ACEOF
1567emacs configure 24.0.50 1624emacs configure 24.0.50
1568generated by GNU Autoconf 2.65 1625generated by GNU Autoconf 2.62
1569 1626
1570Copyright (C) 2009 Free Software Foundation, Inc. 1627Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16282002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1571This configure script is free software; the Free Software Foundation 1629This configure script is free software; the Free Software Foundation
1572gives unlimited permission to copy, distribute and modify it. 1630gives unlimited permission to copy, distribute and modify it.
1573_ACEOF 1631_ACEOF
1574 exit 1632 exit
1575fi 1633fi
1576
1577## ------------------------ ##
1578## Autoconf initialization. ##
1579## ------------------------ ##
1580
1581# ac_fn_c_try_compile LINENO
1582# --------------------------
1583# Try to compile conftest.$ac_ext, and return whether this succeeded.
1584ac_fn_c_try_compile ()
1585{
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1589case "(($ac_try" in
1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1592esac
1593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594$as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1596 ac_status=$?
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1601 fi
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.$ac_objext; then :
1607 ac_retval=0
1608else
1609 $as_echo "$as_me: failed program was:" >&5
1610sed 's/^/| /' conftest.$ac_ext >&5
1611
1612 ac_retval=1
1613fi
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 as_fn_set_status $ac_retval
1616
1617} # ac_fn_c_try_compile
1618
1619# ac_fn_c_try_link LINENO
1620# -----------------------
1621# Try to link conftest.$ac_ext, and return whether this succeeded.
1622ac_fn_c_try_link ()
1623{
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext conftest$ac_exeext
1626 if { { ac_try="$ac_link"
1627case "(($ac_try" in
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1630esac
1631eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632$as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_link") 2>conftest.err
1634 ac_status=$?
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1639 fi
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_c_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest$ac_exeext && {
1645 test "$cross_compiling" = yes ||
1646 $as_test_x conftest$ac_exeext
1647 }; then :
1648 ac_retval=0
1649else
1650 $as_echo "$as_me: failed program was:" >&5
1651sed 's/^/| /' conftest.$ac_ext >&5
1652
1653 ac_retval=1
1654fi
1655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1657 # interfere with the next link command; also delete a directory that is
1658 # left behind by Apple's compiler. We do this before executing the actions.
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661 as_fn_set_status $ac_retval
1662
1663} # ac_fn_c_try_link
1664
1665# ac_fn_c_try_cpp LINENO
1666# ----------------------
1667# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1668ac_fn_c_try_cpp ()
1669{
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_cpp conftest.$ac_ext"
1672case "(($ac_try" in
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1675esac
1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677$as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1679 ac_status=$?
1680 if test -s conftest.err; then
1681 grep -v '^ *+' conftest.err >conftest.er1
1682 cat conftest.er1 >&5
1683 mv -f conftest.er1 conftest.err
1684 fi
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } >/dev/null && {
1687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 }; then :
1690 ac_retval=0
1691else
1692 $as_echo "$as_me: failed program was:" >&5
1693sed 's/^/| /' conftest.$ac_ext >&5
1694
1695 ac_retval=1
1696fi
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1698 as_fn_set_status $ac_retval
1699
1700} # ac_fn_c_try_cpp
1701
1702# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1703# -------------------------------------------------------
1704# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1705# the include files in INCLUDES and setting the cache variable VAR
1706# accordingly.
1707ac_fn_c_check_header_mongrel ()
1708{
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712$as_echo_n "checking for $2... " >&6; }
1713if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1714 $as_echo_n "(cached) " >&6
1715fi
1716eval ac_res=\$$3
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718$as_echo "$ac_res" >&6; }
1719else
1720 # Is the header compilable?
1721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1722$as_echo_n "checking $2 usability... " >&6; }
1723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724/* end confdefs.h. */
1725$4
1726#include <$2>
1727_ACEOF
1728if ac_fn_c_try_compile "$LINENO"; then :
1729 ac_header_compiler=yes
1730else
1731 ac_header_compiler=no
1732fi
1733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1735$as_echo "$ac_header_compiler" >&6; }
1736
1737# Is the header present?
1738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1739$as_echo_n "checking $2 presence... " >&6; }
1740cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741/* end confdefs.h. */
1742#include <$2>
1743_ACEOF
1744if ac_fn_c_try_cpp "$LINENO"; then :
1745 ac_header_preproc=yes
1746else
1747 ac_header_preproc=no
1748fi
1749rm -f conftest.err conftest.$ac_ext
1750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1751$as_echo "$ac_header_preproc" >&6; }
1752
1753# So? What about this header?
1754case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1755 yes:no: )
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1757$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1759$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1760 ;;
1761 no:yes:* )
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1763$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1765$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1767$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1769$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1771$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1772 ;;
1773esac
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775$as_echo_n "checking for $2... " >&6; }
1776if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1777 $as_echo_n "(cached) " >&6
1778else
1779 eval "$3=\$ac_header_compiler"
1780fi
1781eval ac_res=\$$3
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783$as_echo "$ac_res" >&6; }
1784fi
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786
1787} # ac_fn_c_check_header_mongrel
1788
1789# ac_fn_c_try_run LINENO
1790# ----------------------
1791# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1792# that executables *can* be run.
1793ac_fn_c_try_run ()
1794{
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_link"
1797case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800esac
1801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802$as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>&5
1804 ac_status=$?
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1807 { { case "(($ac_try" in
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1810esac
1811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812$as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_try") 2>&5
1814 ac_status=$?
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; }; }; then :
1817 ac_retval=0
1818else
1819 $as_echo "$as_me: program exited with status $ac_status" >&5
1820 $as_echo "$as_me: failed program was:" >&5
1821sed 's/^/| /' conftest.$ac_ext >&5
1822
1823 ac_retval=$ac_status
1824fi
1825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827 as_fn_set_status $ac_retval
1828
1829} # ac_fn_c_try_run
1830
1831# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1832# -------------------------------------------------------
1833# Tests whether HEADER exists and can be compiled using the include files in
1834# INCLUDES, setting the cache variable VAR accordingly.
1835ac_fn_c_check_header_compile ()
1836{
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839$as_echo_n "checking for $2... " >&6; }
1840if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841 $as_echo_n "(cached) " >&6
1842else
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844/* end confdefs.h. */
1845$4
1846#include <$2>
1847_ACEOF
1848if ac_fn_c_try_compile "$LINENO"; then :
1849 eval "$3=yes"
1850else
1851 eval "$3=no"
1852fi
1853rm -f core conftest.err conftest.$ac_objext 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_compile
1861
1862# ac_fn_c_check_header_preproc LINENO HEADER VAR
1863# ----------------------------------------------
1864# Tests whether HEADER is present, setting the cache variable VAR accordingly.
1865ac_fn_c_check_header_preproc ()
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 for $2" >&5
1869$as_echo_n "checking for $2... " >&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#include <$2>
1876_ACEOF
1877if ac_fn_c_try_cpp "$LINENO"; then :
1878 eval "$3=yes"
1879else
1880 eval "$3=no"
1881fi
1882rm -f conftest.err conftest.$ac_ext
1883fi
1884eval ac_res=\$$3
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886$as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888
1889} # ac_fn_c_check_header_preproc
1890
1891# ac_fn_c_check_decl LINENO SYMBOL VAR
1892# ------------------------------------
1893# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1894ac_fn_c_check_decl ()
1895{
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1898$as_echo_n "checking whether $2 is declared... " >&6; }
1899if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1900 $as_echo_n "(cached) " >&6
1901else
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903/* end confdefs.h. */
1904$4
1905int
1906main ()
1907{
1908#ifndef $2
1909 (void) $2;
1910#endif
1911
1912 ;
1913 return 0;
1914}
1915_ACEOF
1916if ac_fn_c_try_compile "$LINENO"; then :
1917 eval "$3=yes"
1918else
1919 eval "$3=no"
1920fi
1921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922fi
1923eval ac_res=\$$3
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925$as_echo "$ac_res" >&6; }
1926 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1927
1928} # ac_fn_c_check_decl
1929
1930# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1931# ----------------------------------------------------
1932# Tries to find if the field MEMBER exists in type AGGR, after including
1933# INCLUDES, setting cache variable VAR accordingly.
1934ac_fn_c_check_member ()
1935{
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1938$as_echo_n "checking for $2.$3... " >&6; }
1939if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1940 $as_echo_n "(cached) " >&6
1941else
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943/* end confdefs.h. */
1944$5
1945int
1946main ()
1947{
1948static $2 ac_aggr;
1949if (ac_aggr.$3)
1950return 0;
1951 ;
1952 return 0;
1953}
1954_ACEOF
1955if ac_fn_c_try_compile "$LINENO"; then :
1956 eval "$4=yes"
1957else
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959/* end confdefs.h. */
1960$5
1961int
1962main ()
1963{
1964static $2 ac_aggr;
1965if (sizeof ac_aggr.$3)
1966return 0;
1967 ;
1968 return 0;
1969}
1970_ACEOF
1971if ac_fn_c_try_compile "$LINENO"; then :
1972 eval "$4=yes"
1973else
1974 eval "$4=no"
1975fi
1976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1977fi
1978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979fi
1980eval ac_res=\$$4
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982$as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984
1985} # ac_fn_c_check_member
1986
1987# ac_fn_c_check_func LINENO FUNC VAR
1988# ----------------------------------
1989# Tests whether FUNC exists, setting the cache variable VAR accordingly
1990ac_fn_c_check_func ()
1991{
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994$as_echo_n "checking for $2... " >&6; }
1995if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1996 $as_echo_n "(cached) " >&6
1997else
1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1999/* end confdefs.h. */
2000/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2002#define $2 innocuous_$2
2003
2004/* System header to define __stub macros and hopefully few prototypes,
2005 which can conflict with char $2 (); below.
2006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2007 <limits.h> exists even on freestanding compilers. */
2008
2009#ifdef __STDC__
2010# include <limits.h>
2011#else
2012# include <assert.h>
2013#endif
2014
2015#undef $2
2016
2017/* Override any GCC internal prototype to avoid an error.
2018 Use char because int might match the return type of a GCC
2019 builtin and then its argument prototype would still apply. */
2020#ifdef __cplusplus
2021extern "C"
2022#endif
2023char $2 ();
2024/* The GNU C library defines this for functions which it implements
2025 to always fail with ENOSYS. Some functions are actually named
2026 something starting with __ and the normal name is an alias. */
2027#if defined __stub_$2 || defined __stub___$2
2028choke me
2029#endif
2030
2031int
2032main ()
2033{
2034return $2 ();
2035 ;
2036 return 0;
2037}
2038_ACEOF
2039if ac_fn_c_try_link "$LINENO"; then :
2040 eval "$3=yes"
2041else
2042 eval "$3=no"
2043fi
2044rm -f core conftest.err conftest.$ac_objext \
2045 conftest$ac_exeext conftest.$ac_ext
2046fi
2047eval ac_res=\$$3
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049$as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2051
2052} # ac_fn_c_check_func
2053
2054# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2055# -------------------------------------------
2056# Tests whether TYPE exists after having included INCLUDES, setting cache
2057# variable VAR accordingly.
2058ac_fn_c_check_type ()
2059{
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062$as_echo_n "checking for $2... " >&6; }
2063if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2064 $as_echo_n "(cached) " >&6
2065else
2066 eval "$3=no"
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068/* end confdefs.h. */
2069$4
2070int
2071main ()
2072{
2073if (sizeof ($2))
2074 return 0;
2075 ;
2076 return 0;
2077}
2078_ACEOF
2079if ac_fn_c_try_compile "$LINENO"; then :
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081/* end confdefs.h. */
2082$4
2083int
2084main ()
2085{
2086if (sizeof (($2)))
2087 return 0;
2088 ;
2089 return 0;
2090}
2091_ACEOF
2092if ac_fn_c_try_compile "$LINENO"; then :
2093
2094else
2095 eval "$3=yes"
2096fi
2097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098fi
2099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100fi
2101eval ac_res=\$$3
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103$as_echo "$ac_res" >&6; }
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2105
2106} # ac_fn_c_check_type
2107cat >config.log <<_ACEOF 1634cat >config.log <<_ACEOF
2108This file contains any messages produced by compilers while 1635This file contains any messages produced by compilers while
2109running configure, to aid debugging if configure makes a mistake. 1636running configure, to aid debugging if configure makes a mistake.
2110 1637
2111It was created by emacs $as_me 24.0.50, which was 1638It was created by emacs $as_me 24.0.50, which was
2112generated by GNU Autoconf 2.65. Invocation command line was 1639generated by GNU Autoconf 2.62. Invocation command line was
2113 1640
2114 $ $0 $@ 1641 $ $0 $@
2115 1642
@@ -2145,8 +1672,8 @@ for as_dir in $PATH
2145do 1672do
2146 IFS=$as_save_IFS 1673 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=. 1674 test -z "$as_dir" && as_dir=.
2148 $as_echo "PATH: $as_dir" 1675 $as_echo "PATH: $as_dir"
2149 done 1676done
2150IFS=$as_save_IFS 1677IFS=$as_save_IFS
2151 1678
2152} >&5 1679} >&5
@@ -2183,9 +1710,9 @@ do
2183 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1710 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 esac 1711 esac
2185 case $ac_pass in 1712 case $ac_pass in
2186 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1713 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2187 2) 1714 2)
2188 as_fn_append ac_configure_args1 " '$ac_arg'" 1715 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2189 if test $ac_must_keep_next = true; then 1716 if test $ac_must_keep_next = true; then
2190 ac_must_keep_next=false # Got value, back to normal. 1717 ac_must_keep_next=false # Got value, back to normal.
2191 else 1718 else
@@ -2201,13 +1728,13 @@ do
2201 -* ) ac_must_keep_next=true ;; 1728 -* ) ac_must_keep_next=true ;;
2202 esac 1729 esac
2203 fi 1730 fi
2204 as_fn_append ac_configure_args " '$ac_arg'" 1731 ac_configure_args="$ac_configure_args '$ac_arg'"
2205 ;; 1732 ;;
2206 esac 1733 esac
2207 done 1734 done
2208done 1735done
2209{ ac_configure_args0=; unset ac_configure_args0;} 1736$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2210{ ac_configure_args1=; unset ac_configure_args1;} 1737$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2211 1738
2212# When interrupted or exit'd, cleanup temporary files, and complete 1739# When interrupted or exit'd, cleanup temporary files, and complete
2213# config.log. We remove comments because anyway the quotes in there 1740# config.log. We remove comments because anyway the quotes in there
@@ -2232,13 +1759,13 @@ _ASBOX
2232 case $ac_val in #( 1759 case $ac_val in #(
2233 *${as_nl}*) 1760 *${as_nl}*)
2234 case $ac_var in #( 1761 case $ac_var in #(
2235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1762 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2236$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1763$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2237 esac 1764 esac
2238 case $ac_var in #( 1765 case $ac_var in #(
2239 _ | IFS | as_nl) ;; #( 1766 _ | IFS | as_nl) ;; #(
2240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2241 *) { eval $ac_var=; unset $ac_var;} ;; 1768 *) $as_unset $ac_var ;;
2242 esac ;; 1769 esac ;;
2243 esac 1770 esac
2244 done 1771 done
@@ -2310,39 +1837,37 @@ _ASBOX
2310 exit $exit_status 1837 exit $exit_status
2311' 0 1838' 0
2312for ac_signal in 1 2 13 15; do 1839for ac_signal in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1840 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2314done 1841done
2315ac_signal=0 1842ac_signal=0
2316 1843
2317# confdefs.h avoids OS command line length limits that DEFS can exceed. 1844# confdefs.h avoids OS command line length limits that DEFS can exceed.
2318rm -f -r conftest* confdefs.h 1845rm -f -r conftest* confdefs.h
2319 1846
2320$as_echo "/* confdefs.h */" > confdefs.h
2321
2322# Predefined preprocessor variables. 1847# Predefined preprocessor variables.
2323 1848
2324cat >>confdefs.h <<_ACEOF 1849cat >>confdefs.h <<_ACEOF
2325#define PACKAGE_NAME "$PACKAGE_NAME" 1850#define PACKAGE_NAME "$PACKAGE_NAME"
2326_ACEOF 1851_ACEOF
2327 1852
1853
2328cat >>confdefs.h <<_ACEOF 1854cat >>confdefs.h <<_ACEOF
2329#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1855#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2330_ACEOF 1856_ACEOF
2331 1857
1858
2332cat >>confdefs.h <<_ACEOF 1859cat >>confdefs.h <<_ACEOF
2333#define PACKAGE_VERSION "$PACKAGE_VERSION" 1860#define PACKAGE_VERSION "$PACKAGE_VERSION"
2334_ACEOF 1861_ACEOF
2335 1862
1863
2336cat >>confdefs.h <<_ACEOF 1864cat >>confdefs.h <<_ACEOF
2337#define PACKAGE_STRING "$PACKAGE_STRING" 1865#define PACKAGE_STRING "$PACKAGE_STRING"
2338_ACEOF 1866_ACEOF
2339 1867
2340cat >>confdefs.h <<_ACEOF
2341#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2342_ACEOF
2343 1868
2344cat >>confdefs.h <<_ACEOF 1869cat >>confdefs.h <<_ACEOF
2345#define PACKAGE_URL "$PACKAGE_URL" 1870#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346_ACEOF 1871_ACEOF
2347 1872
2348 1873
@@ -2362,8 +1887,8 @@ fi
2362for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1887for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2363do 1888do
2364 test "x$ac_site_file" = xNONE && continue 1889 test "x$ac_site_file" = xNONE && continue
2365 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1890 if test -r "$ac_site_file"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1891 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2367$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1892$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2368 sed 's/^/| /' "$ac_site_file" >&5 1893 sed 's/^/| /' "$ac_site_file" >&5
2369 . "$ac_site_file" 1894 . "$ac_site_file"
@@ -2371,10 +1896,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2371done 1896done
2372 1897
2373if test -r "$cache_file"; then 1898if test -r "$cache_file"; then
2374 # Some versions of bash will fail to source /dev/null (special files 1899 # Some versions of bash will fail to source /dev/null (special
2375 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1900 # files actually), so we avoid doing that.
2376 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1901 if test -f "$cache_file"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1902 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2378$as_echo "$as_me: loading cache $cache_file" >&6;} 1903$as_echo "$as_me: loading cache $cache_file" >&6;}
2379 case $cache_file in 1904 case $cache_file in
2380 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1905 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -2382,16 +1907,14 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
2382 esac 1907 esac
2383 fi 1908 fi
2384else 1909else
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1910 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2386$as_echo "$as_me: creating cache $cache_file" >&6;} 1911$as_echo "$as_me: creating cache $cache_file" >&6;}
2387 >$cache_file 1912 >$cache_file
2388fi 1913fi
2389 1914
2390as_fn_append ac_header_list " stdlib.h" 1915ac_header_list="$ac_header_list sys/time.h"
2391as_fn_append ac_header_list " unistd.h" 1916ac_header_list="$ac_header_list unistd.h"
2392as_fn_append ac_header_list " sys/param.h" 1917ac_func_list="$ac_func_list alarm"
2393as_fn_append ac_header_list " sys/time.h"
2394as_fn_append ac_func_list " alarm"
2395# Check that the precious variables saved in the cache have kept the same 1918# Check that the precious variables saved in the cache have kept the same
2396# value. 1919# value.
2397ac_cache_corrupted=false 1920ac_cache_corrupted=false
@@ -2402,11 +1925,11 @@ for ac_var in $ac_precious_vars; do
2402 eval ac_new_val=\$ac_env_${ac_var}_value 1925 eval ac_new_val=\$ac_env_${ac_var}_value
2403 case $ac_old_set,$ac_new_set in 1926 case $ac_old_set,$ac_new_set in
2404 set,) 1927 set,)
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1928 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2406$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1929$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2407 ac_cache_corrupted=: ;; 1930 ac_cache_corrupted=: ;;
2408 ,set) 1931 ,set)
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1932 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2410$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1933$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2411 ac_cache_corrupted=: ;; 1934 ac_cache_corrupted=: ;;
2412 ,);; 1935 ,);;
@@ -2416,17 +1939,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2416 ac_old_val_w=`echo x $ac_old_val` 1939 ac_old_val_w=`echo x $ac_old_val`
2417 ac_new_val_w=`echo x $ac_new_val` 1940 ac_new_val_w=`echo x $ac_new_val`
2418 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1942 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2420$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1943$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2421 ac_cache_corrupted=: 1944 ac_cache_corrupted=:
2422 else 1945 else
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1946 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2424$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1947$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2425 eval $ac_var=\$ac_old_val 1948 eval $ac_var=\$ac_old_val
2426 fi 1949 fi
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1950 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2428$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1951$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1952 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2430$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1953$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2431 fi;; 1954 fi;;
2432 esac 1955 esac
@@ -2438,20 +1961,41 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2438 esac 1961 esac
2439 case " $ac_configure_args " in 1962 case " $ac_configure_args " in
2440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2441 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1964 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2442 esac 1965 esac
2443 fi 1966 fi
2444done 1967done
2445if $ac_cache_corrupted; then 1968if $ac_cache_corrupted; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1969 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2449$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1970$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2450 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1971 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1972$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1973 { (exit 1); exit 1; }; }
2451fi 1974fi
2452## -------------------- ## 1975
2453## Main body of script. ## 1976
2454## -------------------- ## 1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
2455 1999
2456ac_ext=c 2000ac_ext=c
2457ac_cpp='$CPP $CPPFLAGS' 2001ac_cpp='$CPP $CPPFLAGS'
@@ -2490,33 +2034,39 @@ gameuser=games
2490 2034
2491 2035
2492# Check whether --with-pop was given. 2036# Check whether --with-pop was given.
2493if test "${with_pop+set}" = set; then : 2037if test "${with_pop+set}" = set; then
2494 withval=$with_pop; 2038 withval=$with_pop;
2495else 2039else
2496 with_pop=yes 2040 with_pop=yes
2497fi 2041fi
2498 2042
2499if test "$with_pop" = yes; then 2043if test "$with_pop" = yes; then
2500 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h 2044 cat >>confdefs.h <<\_ACEOF
2045#define MAIL_USE_POP 1
2046_ACEOF
2501 2047
2502fi 2048fi
2503 2049
2504 2050
2051
2505# Check whether --with-kerberos was given. 2052# Check whether --with-kerberos was given.
2506if test "${with_kerberos+set}" = set; then : 2053if test "${with_kerberos+set}" = set; then
2507 withval=$with_kerberos; 2054 withval=$with_kerberos;
2508else 2055else
2509 with_kerberos=no 2056 with_kerberos=no
2510fi 2057fi
2511 2058
2512if test "$with_kerberos" != no; then 2059if test "$with_kerberos" != no; then
2513 $as_echo "#define KERBEROS 1" >>confdefs.h 2060 cat >>confdefs.h <<\_ACEOF
2061#define KERBEROS 1
2062_ACEOF
2514 2063
2515fi 2064fi
2516 2065
2517 2066
2067
2518# Check whether --with-kerberos5 was given. 2068# Check whether --with-kerberos5 was given.
2519if test "${with_kerberos5+set}" = set; then : 2069if test "${with_kerberos5+set}" = set; then
2520 withval=$with_kerberos5; 2070 withval=$with_kerberos5;
2521else 2071else
2522 with_kerberos5=no 2072 with_kerberos5=no
@@ -2525,17 +2075,21 @@ fi
2525if test "${with_kerberos5}" != no; then 2075if test "${with_kerberos5}" != no; then
2526 if test "${with_kerberos}" = no; then 2076 if test "${with_kerberos}" = no; then
2527 with_kerberos=yes 2077 with_kerberos=yes
2528 $as_echo "#define KERBEROS 1" >>confdefs.h 2078 cat >>confdefs.h <<\_ACEOF
2079#define KERBEROS 1
2080_ACEOF
2529 2081
2530 fi 2082 fi
2531 2083
2532$as_echo "#define KERBEROS5 1" >>confdefs.h 2084cat >>confdefs.h <<\_ACEOF
2085#define KERBEROS5 1
2086_ACEOF
2533 2087
2534fi 2088fi
2535 2089
2536 2090
2537# Check whether --with-hesiod was given. 2091# Check whether --with-hesiod was given.
2538if test "${with_hesiod+set}" = set; then : 2092if test "${with_hesiod+set}" = set; then
2539 withval=$with_hesiod; 2093 withval=$with_hesiod;
2540else 2094else
2541 with_hesiod=no 2095 with_hesiod=no
@@ -2543,13 +2097,15 @@ fi
2543 2097
2544if test "$with_hesiod" != no; then 2098if test "$with_hesiod" != no; then
2545 2099
2546$as_echo "#define HESIOD 1" >>confdefs.h 2100cat >>confdefs.h <<\_ACEOF
2101#define HESIOD 1
2102_ACEOF
2547 2103
2548fi 2104fi
2549 2105
2550 2106
2551# Check whether --with-mmdf was given. 2107# Check whether --with-mmdf was given.
2552if test "${with_mmdf+set}" = set; then : 2108if test "${with_mmdf+set}" = set; then
2553 withval=$with_mmdf; 2109 withval=$with_mmdf;
2554else 2110else
2555 with_mmdf=no 2111 with_mmdf=no
@@ -2557,13 +2113,15 @@ fi
2557 2113
2558if test "$with_mmdf" != no; then 2114if test "$with_mmdf" != no; then
2559 2115
2560$as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h 2116cat >>confdefs.h <<\_ACEOF
2117#define MAIL_USE_MMDF 1
2118_ACEOF
2561 2119
2562fi 2120fi
2563 2121
2564 2122
2565# Check whether --with-mail-unlink was given. 2123# Check whether --with-mail-unlink was given.
2566if test "${with_mail_unlink+set}" = set; then : 2124if test "${with_mail_unlink+set}" = set; then
2567 withval=$with_mail_unlink; 2125 withval=$with_mail_unlink;
2568else 2126else
2569 with_mail_unlink=no 2127 with_mail_unlink=no
@@ -2571,13 +2129,15 @@ fi
2571 2129
2572if test "$with_mail_unlink" != no; then 2130if test "$with_mail_unlink" != no; then
2573 2131
2574$as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h 2132cat >>confdefs.h <<\_ACEOF
2133#define MAIL_UNLINK_SPOOL 1
2134_ACEOF
2575 2135
2576fi 2136fi
2577 2137
2578 2138
2579# Check whether --with-mailhost was given. 2139# Check whether --with-mailhost was given.
2580if test "${with_mailhost+set}" = set; then : 2140if test "${with_mailhost+set}" = set; then
2581 withval=$with_mailhost; 2141 withval=$with_mailhost;
2582cat >>confdefs.h <<_ACEOF 2142cat >>confdefs.h <<_ACEOF
2583#define MAILHOST "$withval" 2143#define MAILHOST "$withval"
@@ -2588,7 +2148,7 @@ fi
2588 2148
2589 2149
2590# Check whether --with-sound was given. 2150# Check whether --with-sound was given.
2591if test "${with_sound+set}" = set; then : 2151if test "${with_sound+set}" = set; then
2592 withval=$with_sound; 2152 withval=$with_sound;
2593else 2153else
2594 with_sound=yes 2154 with_sound=yes
@@ -2597,7 +2157,7 @@ fi
2597 2157
2598 2158
2599# Check whether --with-sync-input was given. 2159# Check whether --with-sync-input was given.
2600if test "${with_sync_input+set}" = set; then : 2160if test "${with_sync_input+set}" = set; then
2601 withval=$with_sync_input; 2161 withval=$with_sync_input;
2602else 2162else
2603 with_sync_input=yes 2163 with_sync_input=yes
@@ -2605,13 +2165,15 @@ fi
2605 2165
2606if test "$with_sync_input" = yes; then 2166if test "$with_sync_input" = yes; then
2607 2167
2608$as_echo "#define SYNC_INPUT 1" >>confdefs.h 2168cat >>confdefs.h <<\_ACEOF
2169#define SYNC_INPUT 1
2170_ACEOF
2609 2171
2610fi 2172fi
2611 2173
2612 2174
2613# Check whether --with-x-toolkit was given. 2175# Check whether --with-x-toolkit was given.
2614if test "${with_x_toolkit+set}" = set; then : 2176if test "${with_x_toolkit+set}" = set; then
2615 withval=$with_x_toolkit; case "${withval}" in 2177 withval=$with_x_toolkit; case "${withval}" in
2616 y | ye | yes ) val=gtk ;; 2178 y | ye | yes ) val=gtk ;;
2617 n | no ) val=no ;; 2179 n | no ) val=no ;;
@@ -2620,9 +2182,13 @@ if test "${with_x_toolkit+set}" = set; then :
2620 m | mo | mot | moti | motif ) val=motif ;; 2182 m | mo | mot | moti | motif ) val=motif ;;
2621 g | gt | gtk ) val=gtk ;; 2183 g | gt | gtk ) val=gtk ;;
2622 * ) 2184 * )
2623as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2185{ { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid;
2186this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2187\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5
2188$as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
2624this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2189this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2625\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2190\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
2191 { (exit 1); exit 1; }; }
2626 ;; 2192 ;;
2627 esac 2193 esac
2628 with_x_toolkit=$val 2194 with_x_toolkit=$val
@@ -2632,7 +2198,7 @@ fi
2632 2198
2633 2199
2634# Check whether --with-xpm was given. 2200# Check whether --with-xpm was given.
2635if test "${with_xpm+set}" = set; then : 2201if test "${with_xpm+set}" = set; then
2636 withval=$with_xpm; 2202 withval=$with_xpm;
2637else 2203else
2638 with_xpm=yes 2204 with_xpm=yes
@@ -2640,7 +2206,7 @@ fi
2640 2206
2641 2207
2642# Check whether --with-jpeg was given. 2208# Check whether --with-jpeg was given.
2643if test "${with_jpeg+set}" = set; then : 2209if test "${with_jpeg+set}" = set; then
2644 withval=$with_jpeg; 2210 withval=$with_jpeg;
2645else 2211else
2646 with_jpeg=yes 2212 with_jpeg=yes
@@ -2648,7 +2214,7 @@ fi
2648 2214
2649 2215
2650# Check whether --with-tiff was given. 2216# Check whether --with-tiff was given.
2651if test "${with_tiff+set}" = set; then : 2217if test "${with_tiff+set}" = set; then
2652 withval=$with_tiff; 2218 withval=$with_tiff;
2653else 2219else
2654 with_tiff=yes 2220 with_tiff=yes
@@ -2656,7 +2222,7 @@ fi
2656 2222
2657 2223
2658# Check whether --with-gif was given. 2224# Check whether --with-gif was given.
2659if test "${with_gif+set}" = set; then : 2225if test "${with_gif+set}" = set; then
2660 withval=$with_gif; 2226 withval=$with_gif;
2661else 2227else
2662 with_gif=yes 2228 with_gif=yes
@@ -2664,7 +2230,7 @@ fi
2664 2230
2665 2231
2666# Check whether --with-png was given. 2232# Check whether --with-png was given.
2667if test "${with_png+set}" = set; then : 2233if test "${with_png+set}" = set; then
2668 withval=$with_png; 2234 withval=$with_png;
2669else 2235else
2670 with_png=yes 2236 with_png=yes
@@ -2672,7 +2238,7 @@ fi
2672 2238
2673 2239
2674# Check whether --with-rsvg was given. 2240# Check whether --with-rsvg was given.
2675if test "${with_rsvg+set}" = set; then : 2241if test "${with_rsvg+set}" = set; then
2676 withval=$with_rsvg; 2242 withval=$with_rsvg;
2677else 2243else
2678 with_rsvg=yes 2244 with_rsvg=yes
@@ -2681,7 +2247,7 @@ fi
2681 2247
2682 2248
2683# Check whether --with-xft was given. 2249# Check whether --with-xft was given.
2684if test "${with_xft+set}" = set; then : 2250if test "${with_xft+set}" = set; then
2685 withval=$with_xft; 2251 withval=$with_xft;
2686else 2252else
2687 with_xft=yes 2253 with_xft=yes
@@ -2689,7 +2255,7 @@ fi
2689 2255
2690 2256
2691# Check whether --with-libotf was given. 2257# Check whether --with-libotf was given.
2692if test "${with_libotf+set}" = set; then : 2258if test "${with_libotf+set}" = set; then
2693 withval=$with_libotf; 2259 withval=$with_libotf;
2694else 2260else
2695 with_libotf=yes 2261 with_libotf=yes
@@ -2697,7 +2263,7 @@ fi
2697 2263
2698 2264
2699# Check whether --with-m17n-flt was given. 2265# Check whether --with-m17n-flt was given.
2700if test "${with_m17n_flt+set}" = set; then : 2266if test "${with_m17n_flt+set}" = set; then
2701 withval=$with_m17n_flt; 2267 withval=$with_m17n_flt;
2702else 2268else
2703 with_m17n_flt=yes 2269 with_m17n_flt=yes
@@ -2706,7 +2272,7 @@ fi
2706 2272
2707 2273
2708# Check whether --with-toolkit-scroll-bars was given. 2274# Check whether --with-toolkit-scroll-bars was given.
2709if test "${with_toolkit_scroll_bars+set}" = set; then : 2275if test "${with_toolkit_scroll_bars+set}" = set; then
2710 withval=$with_toolkit_scroll_bars; 2276 withval=$with_toolkit_scroll_bars;
2711else 2277else
2712 with_toolkit_scroll_bars=yes 2278 with_toolkit_scroll_bars=yes
@@ -2714,7 +2280,7 @@ fi
2714 2280
2715 2281
2716# Check whether --with-xaw3d was given. 2282# Check whether --with-xaw3d was given.
2717if test "${with_xaw3d+set}" = set; then : 2283if test "${with_xaw3d+set}" = set; then
2718 withval=$with_xaw3d; 2284 withval=$with_xaw3d;
2719else 2285else
2720 with_xaw3d=yes 2286 with_xaw3d=yes
@@ -2722,7 +2288,7 @@ fi
2722 2288
2723 2289
2724# Check whether --with-xim was given. 2290# Check whether --with-xim was given.
2725if test "${with_xim+set}" = set; then : 2291if test "${with_xim+set}" = set; then
2726 withval=$with_xim; 2292 withval=$with_xim;
2727else 2293else
2728 with_xim=yes 2294 with_xim=yes
@@ -2730,7 +2296,7 @@ fi
2730 2296
2731 2297
2732# Check whether --with-ns was given. 2298# Check whether --with-ns was given.
2733if test "${with_ns+set}" = set; then : 2299if test "${with_ns+set}" = set; then
2734 withval=$with_ns; 2300 withval=$with_ns;
2735else 2301else
2736 with_ns=no 2302 with_ns=no
@@ -2739,7 +2305,7 @@ fi
2739 2305
2740 2306
2741# Check whether --with-gpm was given. 2307# Check whether --with-gpm was given.
2742if test "${with_gpm+set}" = set; then : 2308if test "${with_gpm+set}" = set; then
2743 withval=$with_gpm; 2309 withval=$with_gpm;
2744else 2310else
2745 with_gpm=yes 2311 with_gpm=yes
@@ -2747,7 +2313,7 @@ fi
2747 2313
2748 2314
2749# Check whether --with-dbus was given. 2315# Check whether --with-dbus was given.
2750if test "${with_dbus+set}" = set; then : 2316if test "${with_dbus+set}" = set; then
2751 withval=$with_dbus; 2317 withval=$with_dbus;
2752else 2318else
2753 with_dbus=yes 2319 with_dbus=yes
@@ -2755,7 +2321,7 @@ fi
2755 2321
2756 2322
2757# Check whether --with-gconf was given. 2323# Check whether --with-gconf was given.
2758if test "${with_gconf+set}" = set; then : 2324if test "${with_gconf+set}" = set; then
2759 withval=$with_gconf; 2325 withval=$with_gconf;
2760else 2326else
2761 with_gconf=yes 2327 with_gconf=yes
@@ -2763,7 +2329,7 @@ fi
2763 2329
2764 2330
2765# Check whether --with-selinux was given. 2331# Check whether --with-selinux was given.
2766if test "${with_selinux+set}" = set; then : 2332if test "${with_selinux+set}" = set; then
2767 withval=$with_selinux; 2333 withval=$with_selinux;
2768else 2334else
2769 with_selinux=yes 2335 with_selinux=yes
@@ -2774,7 +2340,7 @@ fi
2774## a suitable makeinfo, and can live without the manuals. 2340## a suitable makeinfo, and can live without the manuals.
2775 2341
2776# Check whether --with-makeinfo was given. 2342# Check whether --with-makeinfo was given.
2777if test "${with_makeinfo+set}" = set; then : 2343if test "${with_makeinfo+set}" = set; then
2778 withval=$with_makeinfo; 2344 withval=$with_makeinfo;
2779else 2345else
2780 with_makeinfo=yes 2346 with_makeinfo=yes
@@ -2783,23 +2349,29 @@ fi
2783 2349
2784 2350
2785# Check whether --with-gtk was given. 2351# Check whether --with-gtk was given.
2786if test "${with_gtk+set}" = set; then : 2352if test "${with_gtk+set}" = set; then
2787 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to 2353 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to
2788specify a toolkit." "$LINENO" 5 2354specify a toolkit." >&5
2355$as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2356specify a toolkit." >&2;}
2357 { (exit 1); exit 1; }; }
2789fi 2358fi
2790 2359
2791 2360
2792 2361
2793# Check whether --with-gcc was given. 2362# Check whether --with-gcc was given.
2794if test "${with_gcc+set}" = set; then : 2363if test "${with_gcc+set}" = set; then
2795 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment 2364 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment
2796variable to specify a compiler." "$LINENO" 5 2365variable to specify a compiler." >&5
2366$as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2367variable to specify a compiler." >&2;}
2368 { (exit 1); exit 1; }; }
2797fi 2369fi
2798 2370
2799 2371
2800 2372
2801# Check whether --with-pkg-config-prog was given. 2373# Check whether --with-pkg-config-prog was given.
2802if test "${with_pkg_config_prog+set}" = set; then : 2374if test "${with_pkg_config_prog+set}" = set; then
2803 withval=$with_pkg_config_prog; 2375 withval=$with_pkg_config_prog;
2804fi 2376fi
2805 2377
@@ -2809,9 +2381,18 @@ if test "X${with_pkg_config_prog}" != X; then
2809 fi 2381 fi
2810fi 2382fi
2811 2383
2384CRT_DIR=
2385
2386# Check whether --with-crt-dir was given.
2387if test "${with_crt_dir+set}" = set; then
2388 withval=$with_crt_dir;
2389fi
2390
2391CRT_DIR="${with_crt_dir}"
2392
2812 2393
2813# Check whether --with-gnustep-conf was given. 2394# Check whether --with-gnustep-conf was given.
2814if test "${with_gnustep_conf+set}" = set; then : 2395if test "${with_gnustep_conf+set}" = set; then
2815 withval=$with_gnustep_conf; 2396 withval=$with_gnustep_conf;
2816fi 2397fi
2817 2398
@@ -2821,7 +2402,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \
2821 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf 2402 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf
2822 2403
2823# Check whether --enable-ns-self-contained was given. 2404# Check whether --enable-ns-self-contained was given.
2824if test "${enable_ns_self_contained+set}" = set; then : 2405if test "${enable_ns_self_contained+set}" = set; then
2825 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval 2406 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval
2826else 2407else
2827 EN_NS_SELF_CONTAINED=yes 2408 EN_NS_SELF_CONTAINED=yes
@@ -2829,7 +2410,7 @@ fi
2829 2410
2830 2411
2831# Check whether --enable-asserts was given. 2412# Check whether --enable-asserts was given.
2832if test "${enable_asserts+set}" = set; then : 2413if test "${enable_asserts+set}" = set; then
2833 enableval=$enable_asserts; USE_XASSERTS=$enableval 2414 enableval=$enable_asserts; USE_XASSERTS=$enableval
2834else 2415else
2835 USE_XASSERTS=no 2416 USE_XASSERTS=no
@@ -2837,7 +2418,7 @@ fi
2837 2418
2838 2419
2839# Check whether --enable-maintainer-mode was given. 2420# Check whether --enable-maintainer-mode was given.
2840if test "${enable_maintainer_mode+set}" = set; then : 2421if test "${enable_maintainer_mode+set}" = set; then
2841 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2422 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2842else 2423else
2843 USE_MAINTAINER_MODE=no 2424 USE_MAINTAINER_MODE=no
@@ -2851,7 +2432,7 @@ fi
2851 2432
2852 2433
2853# Check whether --enable-locallisppath was given. 2434# Check whether --enable-locallisppath was given.
2854if test "${enable_locallisppath+set}" = set; then : 2435if test "${enable_locallisppath+set}" = set; then
2855 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then 2436 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then
2856 locallisppath= 2437 locallisppath=
2857elif test "${enableval}" != "yes"; then 2438elif test "${enableval}" != "yes"; then
@@ -2861,7 +2442,7 @@ fi
2861 2442
2862 2443
2863# Check whether --enable-checking was given. 2444# Check whether --enable-checking was given.
2864if test "${enable_checking+set}" = set; then : 2445if test "${enable_checking+set}" = set; then
2865 enableval=$enable_checking; ac_checking_flags="${enableval}" 2446 enableval=$enable_checking; ac_checking_flags="${enableval}"
2866fi 2447fi
2867 2448
@@ -2889,44 +2470,58 @@ do
2889 stringfreelist) ac_gc_check_string_free_list=1 ;; 2470 stringfreelist) ac_gc_check_string_free_list=1 ;;
2890 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2471 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2891 conslist) ac_gc_check_cons_list=1 ;; 2472 conslist) ac_gc_check_cons_list=1 ;;
2892 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 2473 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5
2474$as_echo "$as_me: error: unknown check category $check" >&2;}
2475 { (exit 1); exit 1; }; } ;;
2893 esac 2476 esac
2894done 2477done
2895IFS="$ac_save_IFS" 2478IFS="$ac_save_IFS"
2896 2479
2897if test x$ac_enable_checking != x ; then 2480if test x$ac_enable_checking != x ; then
2898 2481
2899$as_echo "#define ENABLE_CHECKING 1" >>confdefs.h 2482cat >>confdefs.h <<\_ACEOF
2483#define ENABLE_CHECKING 1
2484_ACEOF
2900 2485
2901fi 2486fi
2902if test x$ac_gc_check_stringbytes != x ; then 2487if test x$ac_gc_check_stringbytes != x ; then
2903 2488
2904$as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h 2489cat >>confdefs.h <<\_ACEOF
2490#define GC_CHECK_STRING_BYTES 1
2491_ACEOF
2905 2492
2906fi 2493fi
2907if test x$ac_gc_check_stringoverrun != x ; then 2494if test x$ac_gc_check_stringoverrun != x ; then
2908 2495
2909$as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h 2496cat >>confdefs.h <<\_ACEOF
2497#define GC_CHECK_STRING_OVERRUN 1
2498_ACEOF
2910 2499
2911fi 2500fi
2912if test x$ac_gc_check_string_free_list != x ; then 2501if test x$ac_gc_check_string_free_list != x ; then
2913 2502
2914$as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h 2503cat >>confdefs.h <<\_ACEOF
2504#define GC_CHECK_STRING_FREE_LIST 1
2505_ACEOF
2915 2506
2916fi 2507fi
2917if test x$ac_xmalloc_overrun != x ; then 2508if test x$ac_xmalloc_overrun != x ; then
2918 2509
2919$as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h 2510cat >>confdefs.h <<\_ACEOF
2511#define XMALLOC_OVERRUN_CHECK 1
2512_ACEOF
2920 2513
2921fi 2514fi
2922if test x$ac_gc_check_cons_list != x ; then 2515if test x$ac_gc_check_cons_list != x ; then
2923 2516
2924$as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h 2517cat >>confdefs.h <<\_ACEOF
2518#define GC_CHECK_CONS_LIST 1
2519_ACEOF
2925 2520
2926fi 2521fi
2927 2522
2928# Check whether --enable-profiling was given. 2523# Check whether --enable-profiling was given.
2929if test "${enable_profiling+set}" = set; then : 2524if test "${enable_profiling+set}" = set; then
2930 enableval=$enable_profiling; ac_enable_profiling="${enableval}" 2525 enableval=$enable_profiling; ac_enable_profiling="${enableval}"
2931fi 2526fi
2932 2527
@@ -2939,7 +2534,7 @@ else
2939fi 2534fi
2940 2535
2941# Check whether --enable-autodepend was given. 2536# Check whether --enable-autodepend was given.
2942if test "${enable_autodepend+set}" = set; then : 2537if test "${enable_autodepend+set}" = set; then
2943 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" 2538 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}"
2944else 2539else
2945 ac_enable_autodepend=yes 2540 ac_enable_autodepend=yes
@@ -2973,7 +2568,7 @@ esac
2973#### Check if the source directory already has a configured system in it. 2568#### Check if the source directory already has a configured system in it.
2974if test `pwd` != `(cd ${srcdir} && pwd)` \ 2569if test `pwd` != `(cd ${srcdir} && pwd)` \
2975 && test -f "${srcdir}/src/config.h" ; then 2570 && test -f "${srcdir}/src/config.h" ; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used 2571 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
2977 as a build directory right now; it has been configured in its own 2572 as a build directory right now; it has been configured in its own
2978 right. To configure in another directory as well, you MUST 2573 right. To configure in another directory as well, you MUST
2979 use GNU make. If you do not have GNU make, then you must 2574 use GNU make. If you do not have GNU make, then you must
@@ -2994,16 +2589,24 @@ fi
2994 2589
2995ac_aux_dir= 2590ac_aux_dir=
2996for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2591for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2997 for ac_t in install-sh install.sh shtool; do 2592 if test -f "$ac_dir/install-sh"; then
2998 if test -f "$ac_dir/$ac_t"; then 2593 ac_aux_dir=$ac_dir
2999 ac_aux_dir=$ac_dir 2594 ac_install_sh="$ac_aux_dir/install-sh -c"
3000 ac_install_sh="$ac_aux_dir/$ac_t -c" 2595 break
3001 break 2 2596 elif test -f "$ac_dir/install.sh"; then
3002 fi 2597 ac_aux_dir=$ac_dir
3003 done 2598 ac_install_sh="$ac_aux_dir/install.sh -c"
2599 break
2600 elif test -f "$ac_dir/shtool"; then
2601 ac_aux_dir=$ac_dir
2602 ac_install_sh="$ac_aux_dir/shtool install -c"
2603 break
2604 fi
3004done 2605done
3005if test -z "$ac_aux_dir"; then 2606if test -z "$ac_aux_dir"; then
3006 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2607 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2608$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2609 { (exit 1); exit 1; }; }
3007fi 2610fi
3008 2611
3009# These three variables are undocumented and unsupported, 2612# These three variables are undocumented and unsupported,
@@ -3017,27 +2620,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3017 2620
3018# Make sure we can run config.sub. 2621# Make sure we can run config.sub.
3019$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2622$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3020 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2623 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2624$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2625 { (exit 1); exit 1; }; }
3021 2626
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2627{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3023$as_echo_n "checking build system type... " >&6; } 2628$as_echo_n "checking build system type... " >&6; }
3024if test "${ac_cv_build+set}" = set; then : 2629if test "${ac_cv_build+set}" = set; then
3025 $as_echo_n "(cached) " >&6 2630 $as_echo_n "(cached) " >&6
3026else 2631else
3027 ac_build_alias=$build_alias 2632 ac_build_alias=$build_alias
3028test "x$ac_build_alias" = x && 2633test "x$ac_build_alias" = x &&
3029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2634 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3030test "x$ac_build_alias" = x && 2635test "x$ac_build_alias" = x &&
3031 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2636 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2637$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2638 { (exit 1); exit 1; }; }
3032ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2639ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3033 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2640 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2641$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2642 { (exit 1); exit 1; }; }
3034 2643
3035fi 2644fi
3036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2645{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3037$as_echo "$ac_cv_build" >&6; } 2646$as_echo "$ac_cv_build" >&6; }
3038case $ac_cv_build in 2647case $ac_cv_build in
3039*-*-*) ;; 2648*-*-*) ;;
3040*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2649*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2650$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2651 { (exit 1); exit 1; }; };;
3041esac 2652esac
3042build=$ac_cv_build 2653build=$ac_cv_build
3043ac_save_IFS=$IFS; IFS='-' 2654ac_save_IFS=$IFS; IFS='-'
@@ -3053,24 +2664,28 @@ IFS=$ac_save_IFS
3053case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2664case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3054 2665
3055 2666
3056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2667{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3057$as_echo_n "checking host system type... " >&6; } 2668$as_echo_n "checking host system type... " >&6; }
3058if test "${ac_cv_host+set}" = set; then : 2669if test "${ac_cv_host+set}" = set; then
3059 $as_echo_n "(cached) " >&6 2670 $as_echo_n "(cached) " >&6
3060else 2671else
3061 if test "x$host_alias" = x; then 2672 if test "x$host_alias" = x; then
3062 ac_cv_host=$ac_cv_build 2673 ac_cv_host=$ac_cv_build
3063else 2674else
3064 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3065 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2676 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2677$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2678 { (exit 1); exit 1; }; }
3066fi 2679fi
3067 2680
3068fi 2681fi
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2682{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3070$as_echo "$ac_cv_host" >&6; } 2683$as_echo "$ac_cv_host" >&6; }
3071case $ac_cv_host in 2684case $ac_cv_host in
3072*-*-*) ;; 2685*-*-*) ;;
3073*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2686*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2687$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2688 { (exit 1); exit 1; }; };;
3074esac 2689esac
3075host=$ac_cv_host 2690host=$ac_cv_host
3076ac_save_IFS=$IFS; IFS='-' 2691ac_save_IFS=$IFS; IFS='-'
@@ -3150,7 +2765,9 @@ case "${canonical}" in
3150 opsys=netbsd 2765 opsys=netbsd
3151 if test -f /usr/lib/crti.o; then 2766 if test -f /usr/lib/crti.o; then
3152 2767
3153$as_echo "#define HAVE_CRTIN /**/" >>confdefs.h 2768cat >>confdefs.h <<\_ACEOF
2769#define HAVE_CRTIN /**/
2770_ACEOF
3154 2771
3155 fi 2772 fi
3156 2773
@@ -3375,8 +2992,11 @@ fi
3375 2992
3376 2993
3377if test $unported = yes; then 2994if test $unported = yes; then
3378 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 2995 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
3379Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 2996Check \`etc/MACHINES' for recognized configuration names." >&5
2997$as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2998Check \`etc/MACHINES' for recognized configuration names." >&2;}
2999 { (exit 1); exit 1; }; }
3380fi 3000fi
3381 3001
3382machfile="m/${machine}.h" 3002machfile="m/${machine}.h"
@@ -3397,9 +3017,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397if test -n "$ac_tool_prefix"; then 3017if test -n "$ac_tool_prefix"; then
3398 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3018 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3399set dummy ${ac_tool_prefix}gcc; ac_word=$2 3019set dummy ${ac_tool_prefix}gcc; ac_word=$2
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3020{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3401$as_echo_n "checking for $ac_word... " >&6; } 3021$as_echo_n "checking for $ac_word... " >&6; }
3402if test "${ac_cv_prog_CC+set}" = set; then : 3022if test "${ac_cv_prog_CC+set}" = set; then
3403 $as_echo_n "(cached) " >&6 3023 $as_echo_n "(cached) " >&6
3404else 3024else
3405 if test -n "$CC"; then 3025 if test -n "$CC"; then
@@ -3410,24 +3030,24 @@ for as_dir in $PATH
3410do 3030do
3411 IFS=$as_save_IFS 3031 IFS=$as_save_IFS
3412 test -z "$as_dir" && as_dir=. 3032 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do 3033 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3035 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 break 2 3037 break 2
3418 fi 3038 fi
3419done 3039done
3420 done 3040done
3421IFS=$as_save_IFS 3041IFS=$as_save_IFS
3422 3042
3423fi 3043fi
3424fi 3044fi
3425CC=$ac_cv_prog_CC 3045CC=$ac_cv_prog_CC
3426if test -n "$CC"; then 3046if test -n "$CC"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3047 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3428$as_echo "$CC" >&6; } 3048$as_echo "$CC" >&6; }
3429else 3049else
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3050 { $as_echo "$as_me:$LINENO: result: no" >&5
3431$as_echo "no" >&6; } 3051$as_echo "no" >&6; }
3432fi 3052fi
3433 3053
@@ -3437,9 +3057,9 @@ if test -z "$ac_cv_prog_CC"; then
3437 ac_ct_CC=$CC 3057 ac_ct_CC=$CC
3438 # Extract the first word of "gcc", so it can be a program name with args. 3058 # Extract the first word of "gcc", so it can be a program name with args.
3439set dummy gcc; ac_word=$2 3059set dummy gcc; ac_word=$2
3440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3060{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3441$as_echo_n "checking for $ac_word... " >&6; } 3061$as_echo_n "checking for $ac_word... " >&6; }
3442if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3062if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3443 $as_echo_n "(cached) " >&6 3063 $as_echo_n "(cached) " >&6
3444else 3064else
3445 if test -n "$ac_ct_CC"; then 3065 if test -n "$ac_ct_CC"; then
@@ -3450,24 +3070,24 @@ for as_dir in $PATH
3450do 3070do
3451 IFS=$as_save_IFS 3071 IFS=$as_save_IFS
3452 test -z "$as_dir" && as_dir=. 3072 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do 3073 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455 ac_cv_prog_ac_ct_CC="gcc" 3075 ac_cv_prog_ac_ct_CC="gcc"
3456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3076 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3457 break 2 3077 break 2
3458 fi 3078 fi
3459done 3079done
3460 done 3080done
3461IFS=$as_save_IFS 3081IFS=$as_save_IFS
3462 3082
3463fi 3083fi
3464fi 3084fi
3465ac_ct_CC=$ac_cv_prog_ac_ct_CC 3085ac_ct_CC=$ac_cv_prog_ac_ct_CC
3466if test -n "$ac_ct_CC"; then 3086if test -n "$ac_ct_CC"; then
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3087 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3468$as_echo "$ac_ct_CC" >&6; } 3088$as_echo "$ac_ct_CC" >&6; }
3469else 3089else
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3090 { $as_echo "$as_me:$LINENO: result: no" >&5
3471$as_echo "no" >&6; } 3091$as_echo "no" >&6; }
3472fi 3092fi
3473 3093
@@ -3476,8 +3096,12 @@ fi
3476 else 3096 else
3477 case $cross_compiling:$ac_tool_warned in 3097 case $cross_compiling:$ac_tool_warned in
3478yes:) 3098yes:)
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3099{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3480$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3100whose name does not start with the host triplet. If you think this
3101configuration is useful to you, please write to autoconf@gnu.org." >&5
3102$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3103whose name does not start with the host triplet. If you think this
3104configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3481ac_tool_warned=yes ;; 3105ac_tool_warned=yes ;;
3482esac 3106esac
3483 CC=$ac_ct_CC 3107 CC=$ac_ct_CC
@@ -3490,9 +3114,9 @@ if test -z "$CC"; then
3490 if test -n "$ac_tool_prefix"; then 3114 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3492set dummy ${ac_tool_prefix}cc; ac_word=$2 3116set dummy ${ac_tool_prefix}cc; ac_word=$2
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3117{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3494$as_echo_n "checking for $ac_word... " >&6; } 3118$as_echo_n "checking for $ac_word... " >&6; }
3495if test "${ac_cv_prog_CC+set}" = set; then : 3119if test "${ac_cv_prog_CC+set}" = set; then
3496 $as_echo_n "(cached) " >&6 3120 $as_echo_n "(cached) " >&6
3497else 3121else
3498 if test -n "$CC"; then 3122 if test -n "$CC"; then
@@ -3503,24 +3127,24 @@ for as_dir in $PATH
3503do 3127do
3504 IFS=$as_save_IFS 3128 IFS=$as_save_IFS
3505 test -z "$as_dir" && as_dir=. 3129 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do 3130 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_CC="${ac_tool_prefix}cc" 3132 ac_cv_prog_CC="${ac_tool_prefix}cc"
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 break 2 3134 break 2
3511 fi 3135 fi
3512done 3136done
3513 done 3137done
3514IFS=$as_save_IFS 3138IFS=$as_save_IFS
3515 3139
3516fi 3140fi
3517fi 3141fi
3518CC=$ac_cv_prog_CC 3142CC=$ac_cv_prog_CC
3519if test -n "$CC"; then 3143if test -n "$CC"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3144 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3521$as_echo "$CC" >&6; } 3145$as_echo "$CC" >&6; }
3522else 3146else
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3147 { $as_echo "$as_me:$LINENO: result: no" >&5
3524$as_echo "no" >&6; } 3148$as_echo "no" >&6; }
3525fi 3149fi
3526 3150
@@ -3530,9 +3154,9 @@ fi
3530if test -z "$CC"; then 3154if test -z "$CC"; then
3531 # Extract the first word of "cc", so it can be a program name with args. 3155 # Extract the first word of "cc", so it can be a program name with args.
3532set dummy cc; ac_word=$2 3156set dummy cc; ac_word=$2
3533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3157{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3534$as_echo_n "checking for $ac_word... " >&6; } 3158$as_echo_n "checking for $ac_word... " >&6; }
3535if test "${ac_cv_prog_CC+set}" = set; then : 3159if test "${ac_cv_prog_CC+set}" = set; then
3536 $as_echo_n "(cached) " >&6 3160 $as_echo_n "(cached) " >&6
3537else 3161else
3538 if test -n "$CC"; then 3162 if test -n "$CC"; then
@@ -3544,18 +3168,18 @@ for as_dir in $PATH
3544do 3168do
3545 IFS=$as_save_IFS 3169 IFS=$as_save_IFS
3546 test -z "$as_dir" && as_dir=. 3170 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do 3171 for ac_exec_ext in '' $ac_executable_extensions; do
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3550 ac_prog_rejected=yes 3174 ac_prog_rejected=yes
3551 continue 3175 continue
3552 fi 3176 fi
3553 ac_cv_prog_CC="cc" 3177 ac_cv_prog_CC="cc"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 break 2 3179 break 2
3556 fi 3180 fi
3557done 3181done
3558 done 3182done
3559IFS=$as_save_IFS 3183IFS=$as_save_IFS
3560 3184
3561if test $ac_prog_rejected = yes; then 3185if test $ac_prog_rejected = yes; then
@@ -3574,10 +3198,10 @@ fi
3574fi 3198fi
3575CC=$ac_cv_prog_CC 3199CC=$ac_cv_prog_CC
3576if test -n "$CC"; then 3200if test -n "$CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3201 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3578$as_echo "$CC" >&6; } 3202$as_echo "$CC" >&6; }
3579else 3203else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3204 { $as_echo "$as_me:$LINENO: result: no" >&5
3581$as_echo "no" >&6; } 3205$as_echo "no" >&6; }
3582fi 3206fi
3583 3207
@@ -3589,9 +3213,9 @@ if test -z "$CC"; then
3589 do 3213 do
3590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3591set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3215set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3216{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3593$as_echo_n "checking for $ac_word... " >&6; } 3217$as_echo_n "checking for $ac_word... " >&6; }
3594if test "${ac_cv_prog_CC+set}" = set; then : 3218if test "${ac_cv_prog_CC+set}" = set; then
3595 $as_echo_n "(cached) " >&6 3219 $as_echo_n "(cached) " >&6
3596else 3220else
3597 if test -n "$CC"; then 3221 if test -n "$CC"; then
@@ -3602,24 +3226,24 @@ for as_dir in $PATH
3602do 3226do
3603 IFS=$as_save_IFS 3227 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=. 3228 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do 3229 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3232 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2 3233 break 2
3610 fi 3234 fi
3611done 3235done
3612 done 3236done
3613IFS=$as_save_IFS 3237IFS=$as_save_IFS
3614 3238
3615fi 3239fi
3616fi 3240fi
3617CC=$ac_cv_prog_CC 3241CC=$ac_cv_prog_CC
3618if test -n "$CC"; then 3242if test -n "$CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3243 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3620$as_echo "$CC" >&6; } 3244$as_echo "$CC" >&6; }
3621else 3245else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3246 { $as_echo "$as_me:$LINENO: result: no" >&5
3623$as_echo "no" >&6; } 3247$as_echo "no" >&6; }
3624fi 3248fi
3625 3249
@@ -3633,9 +3257,9 @@ if test -z "$CC"; then
3633do 3257do
3634 # Extract the first word of "$ac_prog", so it can be a program name with args. 3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3635set dummy $ac_prog; ac_word=$2 3259set dummy $ac_prog; ac_word=$2
3636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3260{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3637$as_echo_n "checking for $ac_word... " >&6; } 3261$as_echo_n "checking for $ac_word... " >&6; }
3638if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3262if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3639 $as_echo_n "(cached) " >&6 3263 $as_echo_n "(cached) " >&6
3640else 3264else
3641 if test -n "$ac_ct_CC"; then 3265 if test -n "$ac_ct_CC"; then
@@ -3646,24 +3270,24 @@ for as_dir in $PATH
3646do 3270do
3647 IFS=$as_save_IFS 3271 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=. 3272 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do 3273 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_ac_ct_CC="$ac_prog" 3275 ac_cv_prog_ac_ct_CC="$ac_prog"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3276 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2 3277 break 2
3654 fi 3278 fi
3655done 3279done
3656 done 3280done
3657IFS=$as_save_IFS 3281IFS=$as_save_IFS
3658 3282
3659fi 3283fi
3660fi 3284fi
3661ac_ct_CC=$ac_cv_prog_ac_ct_CC 3285ac_ct_CC=$ac_cv_prog_ac_ct_CC
3662if test -n "$ac_ct_CC"; then 3286if test -n "$ac_ct_CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3287 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3664$as_echo "$ac_ct_CC" >&6; } 3288$as_echo "$ac_ct_CC" >&6; }
3665else 3289else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3290 { $as_echo "$as_me:$LINENO: result: no" >&5
3667$as_echo "no" >&6; } 3291$as_echo "no" >&6; }
3668fi 3292fi
3669 3293
@@ -3676,8 +3300,12 @@ done
3676 else 3300 else
3677 case $cross_compiling:$ac_tool_warned in 3301 case $cross_compiling:$ac_tool_warned in
3678yes:) 3302yes:)
3679{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3303{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3680$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3304whose name does not start with the host triplet. If you think this
3305configuration is useful to you, please write to autoconf@gnu.org." >&5
3306$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3307whose name does not start with the host triplet. If you think this
3308configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3681ac_tool_warned=yes ;; 3309ac_tool_warned=yes ;;
3682esac 3310esac
3683 CC=$ac_ct_CC 3311 CC=$ac_ct_CC
@@ -3687,37 +3315,55 @@ fi
3687fi 3315fi
3688 3316
3689 3317
3690test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3318test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3691$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3319See \`config.log' for more details." >&5
3692as_fn_error "no acceptable C compiler found in \$PATH 3320$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3693See \`config.log' for more details." "$LINENO" 5; } 3321See \`config.log' for more details." >&2;}
3322 { (exit 1); exit 1; }; }
3694 3323
3695# Provide some information about the compiler. 3324# Provide some information about the compiler.
3696$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3325$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3697set X $ac_compile 3326set X $ac_compile
3698ac_compiler=$2 3327ac_compiler=$2
3699for ac_option in --version -v -V -qversion; do 3328{ (ac_try="$ac_compiler --version >&5"
3700 { { ac_try="$ac_compiler $ac_option >&5"
3701case "(($ac_try" in 3329case "(($ac_try" in
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;; 3331 *) ac_try_echo=$ac_try;;
3704esac 3332esac
3705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3333eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3706$as_echo "$ac_try_echo"; } >&5 3334$as_echo "$ac_try_echo") >&5
3707 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3335 (eval "$ac_compiler --version >&5") 2>&5
3708 ac_status=$? 3336 ac_status=$?
3709 if test -s conftest.err; then 3337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 sed '10a\ 3338 (exit $ac_status); }
3711... rest of stderr output deleted ... 3339{ (ac_try="$ac_compiler -v >&5"
3712 10q' conftest.err >conftest.er1 3340case "(($ac_try" in
3713 cat conftest.er1 >&5 3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714 fi 3342 *) ac_try_echo=$ac_try;;
3715 rm -f conftest.er1 conftest.err 3343esac
3716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3717 test $ac_status = 0; } 3345$as_echo "$ac_try_echo") >&5
3718done 3346 (eval "$ac_compiler -v >&5") 2>&5
3347 ac_status=$?
3348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }
3350{ (ac_try="$ac_compiler -V >&5"
3351case "(($ac_try" in
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3354esac
3355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3356$as_echo "$ac_try_echo") >&5
3357 (eval "$ac_compiler -V >&5") 2>&5
3358 ac_status=$?
3359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); }
3719 3361
3720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362cat >conftest.$ac_ext <<_ACEOF
3363/* confdefs.h. */
3364_ACEOF
3365cat confdefs.h >>conftest.$ac_ext
3366cat >>conftest.$ac_ext <<_ACEOF
3721/* end confdefs.h. */ 3367/* end confdefs.h. */
3722 3368
3723int 3369int
@@ -3733,8 +3379,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3733# Try to create an executable without -o first, disregard a.out. 3379# Try to create an executable without -o first, disregard a.out.
3734# It will help us diagnose broken compilers, and finding out an intuition 3380# It will help us diagnose broken compilers, and finding out an intuition
3735# of exeext. 3381# of exeext.
3736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3382{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3737$as_echo_n "checking whether the C compiler works... " >&6; } 3383$as_echo_n "checking for C compiler default output file name... " >&6; }
3738ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3384ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3739 3385
3740# The possible output files: 3386# The possible output files:
@@ -3750,17 +3396,17 @@ do
3750done 3396done
3751rm -f $ac_rmfiles 3397rm -f $ac_rmfiles
3752 3398
3753if { { ac_try="$ac_link_default" 3399if { (ac_try="$ac_link_default"
3754case "(($ac_try" in 3400case "(($ac_try" in
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;; 3402 *) ac_try_echo=$ac_try;;
3757esac 3403esac
3758eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3404eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3759$as_echo "$ac_try_echo"; } >&5 3405$as_echo "$ac_try_echo") >&5
3760 (eval "$ac_link_default") 2>&5 3406 (eval "$ac_link_default") 2>&5
3761 ac_status=$? 3407 ac_status=$?
3762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 test $ac_status = 0; }; then : 3409 (exit $ac_status); }; then
3764 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3410 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3765# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3411# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3766# in a Makefile. We should not override ac_cv_exeext if it was cached, 3412# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -3777,7 +3423,7 @@ do
3777 # certainly right. 3423 # certainly right.
3778 break;; 3424 break;;
3779 *.* ) 3425 *.* )
3780 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3426 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3781 then :; else 3427 then :; else
3782 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3783 fi 3429 fi
@@ -3796,42 +3442,80 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3796else 3442else
3797 ac_file='' 3443 ac_file=''
3798fi 3444fi
3799if test -z "$ac_file"; then : 3445
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3446{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3801$as_echo "no" >&6; } 3447$as_echo "$ac_file" >&6; }
3802$as_echo "$as_me: failed program was:" >&5 3448if test -z "$ac_file"; then
3449 $as_echo "$as_me: failed program was:" >&5
3803sed 's/^/| /' conftest.$ac_ext >&5 3450sed 's/^/| /' conftest.$ac_ext >&5
3804 3451
3805{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3452{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3806$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3453See \`config.log' for more details." >&5
3807{ as_fn_set_status 77 3454$as_echo "$as_me: error: C compiler cannot create executables
3808as_fn_error "C compiler cannot create executables 3455See \`config.log' for more details." >&2;}
3809See \`config.log' for more details." "$LINENO" 5; }; } 3456 { (exit 77); exit 77; }; }
3810else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3812$as_echo "yes" >&6; }
3813fi 3457fi
3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3458
3815$as_echo_n "checking for C compiler default output file name... " >&6; }
3816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3817$as_echo "$ac_file" >&6; }
3818ac_exeext=$ac_cv_exeext 3459ac_exeext=$ac_cv_exeext
3819 3460
3461# Check that the compiler produces executables we can run. If not, either
3462# the compiler is broken, or we cross compile.
3463{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3464$as_echo_n "checking whether the C compiler works... " >&6; }
3465# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3466# If not cross compiling, check that we can run a simple program.
3467if test "$cross_compiling" != yes; then
3468 if { ac_try='./$ac_file'
3469 { (case "(($ac_try" in
3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3472esac
3473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3474$as_echo "$ac_try_echo") >&5
3475 (eval "$ac_try") 2>&5
3476 ac_status=$?
3477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3479 cross_compiling=no
3480 else
3481 if test "$cross_compiling" = maybe; then
3482 cross_compiling=yes
3483 else
3484 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3485If you meant to cross compile, use \`--host'.
3486See \`config.log' for more details." >&5
3487$as_echo "$as_me: error: cannot run C compiled programs.
3488If you meant to cross compile, use \`--host'.
3489See \`config.log' for more details." >&2;}
3490 { (exit 1); exit 1; }; }
3491 fi
3492 fi
3493fi
3494{ $as_echo "$as_me:$LINENO: result: yes" >&5
3495$as_echo "yes" >&6; }
3496
3820rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3497rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3821ac_clean_files=$ac_clean_files_save 3498ac_clean_files=$ac_clean_files_save
3822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3499# Check that the compiler produces executables we can run. If not, either
3500# the compiler is broken, or we cross compile.
3501{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3502$as_echo_n "checking whether we are cross compiling... " >&6; }
3503{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3504$as_echo "$cross_compiling" >&6; }
3505
3506{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3823$as_echo_n "checking for suffix of executables... " >&6; } 3507$as_echo_n "checking for suffix of executables... " >&6; }
3824if { { ac_try="$ac_link" 3508if { (ac_try="$ac_link"
3825case "(($ac_try" in 3509case "(($ac_try" in
3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;; 3511 *) ac_try_echo=$ac_try;;
3828esac 3512esac
3829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3513eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3830$as_echo "$ac_try_echo"; } >&5 3514$as_echo "$ac_try_echo") >&5
3831 (eval "$ac_link") 2>&5 3515 (eval "$ac_link") 2>&5
3832 ac_status=$? 3516 ac_status=$?
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 test $ac_status = 0; }; then : 3518 (exit $ac_status); }; then
3835 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3519 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3836# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3520# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3837# work properly (i.e., refer to `conftest.exe'), while it won't with 3521# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3846,83 +3530,30 @@ for ac_file in conftest.exe conftest conftest.*; do
3846 esac 3530 esac
3847done 3531done
3848else 3532else
3849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3533 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3534See \`config.log' for more details." >&5
3851as_fn_error "cannot compute suffix of executables: cannot compile and link 3535$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3852See \`config.log' for more details." "$LINENO" 5; } 3536See \`config.log' for more details." >&2;}
3537 { (exit 1); exit 1; }; }
3853fi 3538fi
3854rm -f conftest conftest$ac_cv_exeext 3539
3855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3540rm -f conftest$ac_cv_exeext
3541{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3856$as_echo "$ac_cv_exeext" >&6; } 3542$as_echo "$ac_cv_exeext" >&6; }
3857 3543
3858rm -f conftest.$ac_ext 3544rm -f conftest.$ac_ext
3859EXEEXT=$ac_cv_exeext 3545EXEEXT=$ac_cv_exeext
3860ac_exeext=$EXEEXT 3546ac_exeext=$EXEEXT
3861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3547{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3862/* end confdefs.h. */
3863#include <stdio.h>
3864int
3865main ()
3866{
3867FILE *f = fopen ("conftest.out", "w");
3868 return ferror (f) || fclose (f) != 0;
3869
3870 ;
3871 return 0;
3872}
3873_ACEOF
3874ac_clean_files="$ac_clean_files conftest.out"
3875# Check that the compiler produces executables we can run. If not, either
3876# the compiler is broken, or we cross compile.
3877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3878$as_echo_n "checking whether we are cross compiling... " >&6; }
3879if test "$cross_compiling" != yes; then
3880 { { ac_try="$ac_link"
3881case "(($ac_try" in
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3884esac
3885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886$as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_link") 2>&5
3888 ac_status=$?
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }
3891 if { ac_try='./conftest$ac_cv_exeext'
3892 { { case "(($ac_try" in
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3895esac
3896eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897$as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_try") 2>&5
3899 ac_status=$?
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }; }; then
3902 cross_compiling=no
3903 else
3904 if test "$cross_compiling" = maybe; then
3905 cross_compiling=yes
3906 else
3907 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3908$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3909as_fn_error "cannot run C compiled programs.
3910If you meant to cross compile, use \`--host'.
3911See \`config.log' for more details." "$LINENO" 5; }
3912 fi
3913 fi
3914fi
3915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3916$as_echo "$cross_compiling" >&6; }
3917
3918rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3919ac_clean_files=$ac_clean_files_save
3920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3921$as_echo_n "checking for suffix of object files... " >&6; } 3548$as_echo_n "checking for suffix of object files... " >&6; }
3922if test "${ac_cv_objext+set}" = set; then : 3549if test "${ac_cv_objext+set}" = set; then
3923 $as_echo_n "(cached) " >&6 3550 $as_echo_n "(cached) " >&6
3924else 3551else
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3552 cat >conftest.$ac_ext <<_ACEOF
3553/* confdefs.h. */
3554_ACEOF
3555cat confdefs.h >>conftest.$ac_ext
3556cat >>conftest.$ac_ext <<_ACEOF
3926/* end confdefs.h. */ 3557/* end confdefs.h. */
3927 3558
3928int 3559int
@@ -3934,17 +3565,17 @@ main ()
3934} 3565}
3935_ACEOF 3566_ACEOF
3936rm -f conftest.o conftest.obj 3567rm -f conftest.o conftest.obj
3937if { { ac_try="$ac_compile" 3568if { (ac_try="$ac_compile"
3938case "(($ac_try" in 3569case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;; 3571 *) ac_try_echo=$ac_try;;
3941esac 3572esac
3942eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3943$as_echo "$ac_try_echo"; } >&5 3574$as_echo "$ac_try_echo") >&5
3944 (eval "$ac_compile") 2>&5 3575 (eval "$ac_compile") 2>&5
3945 ac_status=$? 3576 ac_status=$?
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 test $ac_status = 0; }; then : 3578 (exit $ac_status); }; then
3948 for ac_file in conftest.o conftest.obj conftest.*; do 3579 for ac_file in conftest.o conftest.obj conftest.*; do
3949 test -f "$ac_file" || continue; 3580 test -f "$ac_file" || continue;
3950 case $ac_file in 3581 case $ac_file in
@@ -3957,23 +3588,29 @@ else
3957 $as_echo "$as_me: failed program was:" >&5 3588 $as_echo "$as_me: failed program was:" >&5
3958sed 's/^/| /' conftest.$ac_ext >&5 3589sed 's/^/| /' conftest.$ac_ext >&5
3959 3590
3960{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3591{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3592See \`config.log' for more details." >&5
3962as_fn_error "cannot compute suffix of object files: cannot compile 3593$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3963See \`config.log' for more details." "$LINENO" 5; } 3594See \`config.log' for more details." >&2;}
3595 { (exit 1); exit 1; }; }
3964fi 3596fi
3597
3965rm -f conftest.$ac_cv_objext conftest.$ac_ext 3598rm -f conftest.$ac_cv_objext conftest.$ac_ext
3966fi 3599fi
3967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3600{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3968$as_echo "$ac_cv_objext" >&6; } 3601$as_echo "$ac_cv_objext" >&6; }
3969OBJEXT=$ac_cv_objext 3602OBJEXT=$ac_cv_objext
3970ac_objext=$OBJEXT 3603ac_objext=$OBJEXT
3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3604{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3972$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3605$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3973if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3606if test "${ac_cv_c_compiler_gnu+set}" = set; then
3974 $as_echo_n "(cached) " >&6 3607 $as_echo_n "(cached) " >&6
3975else 3608else
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609 cat >conftest.$ac_ext <<_ACEOF
3610/* confdefs.h. */
3611_ACEOF
3612cat confdefs.h >>conftest.$ac_ext
3613cat >>conftest.$ac_ext <<_ACEOF
3977/* end confdefs.h. */ 3614/* end confdefs.h. */
3978 3615
3979int 3616int
@@ -3987,16 +3624,37 @@ main ()
3987 return 0; 3624 return 0;
3988} 3625}
3989_ACEOF 3626_ACEOF
3990if ac_fn_c_try_compile "$LINENO"; then : 3627rm -f conftest.$ac_objext
3628if { (ac_try="$ac_compile"
3629case "(($ac_try" in
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3632esac
3633eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3634$as_echo "$ac_try_echo") >&5
3635 (eval "$ac_compile") 2>conftest.er1
3636 ac_status=$?
3637 grep -v '^ *+' conftest.er1 >conftest.err
3638 rm -f conftest.er1
3639 cat conftest.err >&5
3640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } && {
3642 test -z "$ac_c_werror_flag" ||
3643 test ! -s conftest.err
3644 } && test -s conftest.$ac_objext; then
3991 ac_compiler_gnu=yes 3645 ac_compiler_gnu=yes
3992else 3646else
3993 ac_compiler_gnu=no 3647 $as_echo "$as_me: failed program was:" >&5
3648sed 's/^/| /' conftest.$ac_ext >&5
3649
3650 ac_compiler_gnu=no
3994fi 3651fi
3652
3995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996ac_cv_c_compiler_gnu=$ac_compiler_gnu 3654ac_cv_c_compiler_gnu=$ac_compiler_gnu
3997 3655
3998fi 3656fi
3999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3657{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4000$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3658$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4001if test $ac_compiler_gnu = yes; then 3659if test $ac_compiler_gnu = yes; then
4002 GCC=yes 3660 GCC=yes
@@ -4005,16 +3663,20 @@ else
4005fi 3663fi
4006ac_test_CFLAGS=${CFLAGS+set} 3664ac_test_CFLAGS=${CFLAGS+set}
4007ac_save_CFLAGS=$CFLAGS 3665ac_save_CFLAGS=$CFLAGS
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3666{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4009$as_echo_n "checking whether $CC accepts -g... " >&6; } 3667$as_echo_n "checking whether $CC accepts -g... " >&6; }
4010if test "${ac_cv_prog_cc_g+set}" = set; then : 3668if test "${ac_cv_prog_cc_g+set}" = set; then
4011 $as_echo_n "(cached) " >&6 3669 $as_echo_n "(cached) " >&6
4012else 3670else
4013 ac_save_c_werror_flag=$ac_c_werror_flag 3671 ac_save_c_werror_flag=$ac_c_werror_flag
4014 ac_c_werror_flag=yes 3672 ac_c_werror_flag=yes
4015 ac_cv_prog_cc_g=no 3673 ac_cv_prog_cc_g=no
4016 CFLAGS="-g" 3674 CFLAGS="-g"
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3675 cat >conftest.$ac_ext <<_ACEOF
3676/* confdefs.h. */
3677_ACEOF
3678cat confdefs.h >>conftest.$ac_ext
3679cat >>conftest.$ac_ext <<_ACEOF
4018/* end confdefs.h. */ 3680/* end confdefs.h. */
4019 3681
4020int 3682int
@@ -4025,11 +3687,35 @@ main ()
4025 return 0; 3687 return 0;
4026} 3688}
4027_ACEOF 3689_ACEOF
4028if ac_fn_c_try_compile "$LINENO"; then : 3690rm -f conftest.$ac_objext
3691if { (ac_try="$ac_compile"
3692case "(($ac_try" in
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3695esac
3696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3697$as_echo "$ac_try_echo") >&5
3698 (eval "$ac_compile") 2>conftest.er1
3699 ac_status=$?
3700 grep -v '^ *+' conftest.er1 >conftest.err
3701 rm -f conftest.er1
3702 cat conftest.err >&5
3703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } && {
3705 test -z "$ac_c_werror_flag" ||
3706 test ! -s conftest.err
3707 } && test -s conftest.$ac_objext; then
4029 ac_cv_prog_cc_g=yes 3708 ac_cv_prog_cc_g=yes
4030else 3709else
4031 CFLAGS="" 3710 $as_echo "$as_me: failed program was:" >&5
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3711sed 's/^/| /' conftest.$ac_ext >&5
3712
3713 CFLAGS=""
3714 cat >conftest.$ac_ext <<_ACEOF
3715/* confdefs.h. */
3716_ACEOF
3717cat confdefs.h >>conftest.$ac_ext
3718cat >>conftest.$ac_ext <<_ACEOF
4033/* end confdefs.h. */ 3719/* end confdefs.h. */
4034 3720
4035int 3721int
@@ -4040,12 +3726,36 @@ main ()
4040 return 0; 3726 return 0;
4041} 3727}
4042_ACEOF 3728_ACEOF
4043if ac_fn_c_try_compile "$LINENO"; then : 3729rm -f conftest.$ac_objext
4044 3730if { (ac_try="$ac_compile"
3731case "(($ac_try" in
3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733 *) ac_try_echo=$ac_try;;
3734esac
3735eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3736$as_echo "$ac_try_echo") >&5
3737 (eval "$ac_compile") 2>conftest.er1
3738 ac_status=$?
3739 grep -v '^ *+' conftest.er1 >conftest.err
3740 rm -f conftest.er1
3741 cat conftest.err >&5
3742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } && {
3744 test -z "$ac_c_werror_flag" ||
3745 test ! -s conftest.err
3746 } && test -s conftest.$ac_objext; then
3747 :
4045else 3748else
4046 ac_c_werror_flag=$ac_save_c_werror_flag 3749 $as_echo "$as_me: failed program was:" >&5
3750sed 's/^/| /' conftest.$ac_ext >&5
3751
3752 ac_c_werror_flag=$ac_save_c_werror_flag
4047 CFLAGS="-g" 3753 CFLAGS="-g"
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3754 cat >conftest.$ac_ext <<_ACEOF
3755/* confdefs.h. */
3756_ACEOF
3757cat confdefs.h >>conftest.$ac_ext
3758cat >>conftest.$ac_ext <<_ACEOF
4049/* end confdefs.h. */ 3759/* end confdefs.h. */
4050 3760
4051int 3761int
@@ -4056,17 +3766,42 @@ main ()
4056 return 0; 3766 return 0;
4057} 3767}
4058_ACEOF 3768_ACEOF
4059if ac_fn_c_try_compile "$LINENO"; then : 3769rm -f conftest.$ac_objext
3770if { (ac_try="$ac_compile"
3771case "(($ac_try" in
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3774esac
3775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3776$as_echo "$ac_try_echo") >&5
3777 (eval "$ac_compile") 2>conftest.er1
3778 ac_status=$?
3779 grep -v '^ *+' conftest.er1 >conftest.err
3780 rm -f conftest.er1
3781 cat conftest.err >&5
3782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } && {
3784 test -z "$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3786 } && test -s conftest.$ac_objext; then
4060 ac_cv_prog_cc_g=yes 3787 ac_cv_prog_cc_g=yes
3788else
3789 $as_echo "$as_me: failed program was:" >&5
3790sed 's/^/| /' conftest.$ac_ext >&5
3791
3792
4061fi 3793fi
3794
4062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4063fi 3796fi
3797
4064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065fi 3799fi
3800
4066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 ac_c_werror_flag=$ac_save_c_werror_flag 3802 ac_c_werror_flag=$ac_save_c_werror_flag
4068fi 3803fi
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3804{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4070$as_echo "$ac_cv_prog_cc_g" >&6; } 3805$as_echo "$ac_cv_prog_cc_g" >&6; }
4071if test "$ac_test_CFLAGS" = set; then 3806if test "$ac_test_CFLAGS" = set; then
4072 CFLAGS=$ac_save_CFLAGS 3807 CFLAGS=$ac_save_CFLAGS
@@ -4083,14 +3818,18 @@ else
4083 CFLAGS= 3818 CFLAGS=
4084 fi 3819 fi
4085fi 3820fi
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3821{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4087$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3822$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4088if test "${ac_cv_prog_cc_c89+set}" = set; then : 3823if test "${ac_cv_prog_cc_c89+set}" = set; then
4089 $as_echo_n "(cached) " >&6 3824 $as_echo_n "(cached) " >&6
4090else 3825else
4091 ac_cv_prog_cc_c89=no 3826 ac_cv_prog_cc_c89=no
4092ac_save_CC=$CC 3827ac_save_CC=$CC
4093cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3828cat >conftest.$ac_ext <<_ACEOF
3829/* confdefs.h. */
3830_ACEOF
3831cat confdefs.h >>conftest.$ac_ext
3832cat >>conftest.$ac_ext <<_ACEOF
4094/* end confdefs.h. */ 3833/* end confdefs.h. */
4095#include <stdarg.h> 3834#include <stdarg.h>
4096#include <stdio.h> 3835#include <stdio.h>
@@ -4147,9 +3886,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4148do 3887do
4149 CC="$ac_save_CC $ac_arg" 3888 CC="$ac_save_CC $ac_arg"
4150 if ac_fn_c_try_compile "$LINENO"; then : 3889 rm -f conftest.$ac_objext
3890if { (ac_try="$ac_compile"
3891case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3894esac
3895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3896$as_echo "$ac_try_echo") >&5
3897 (eval "$ac_compile") 2>conftest.er1
3898 ac_status=$?
3899 grep -v '^ *+' conftest.er1 >conftest.err
3900 rm -f conftest.er1
3901 cat conftest.err >&5
3902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); } && {
3904 test -z "$ac_c_werror_flag" ||
3905 test ! -s conftest.err
3906 } && test -s conftest.$ac_objext; then
4151 ac_cv_prog_cc_c89=$ac_arg 3907 ac_cv_prog_cc_c89=$ac_arg
3908else
3909 $as_echo "$as_me: failed program was:" >&5
3910sed 's/^/| /' conftest.$ac_ext >&5
3911
3912
4152fi 3913fi
3914
4153rm -f core conftest.err conftest.$ac_objext 3915rm -f core conftest.err conftest.$ac_objext
4154 test "x$ac_cv_prog_cc_c89" != "xno" && break 3916 test "x$ac_cv_prog_cc_c89" != "xno" && break
4155done 3917done
@@ -4160,19 +3922,17 @@ fi
4160# AC_CACHE_VAL 3922# AC_CACHE_VAL
4161case "x$ac_cv_prog_cc_c89" in 3923case "x$ac_cv_prog_cc_c89" in
4162 x) 3924 x)
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3925 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4164$as_echo "none needed" >&6; } ;; 3926$as_echo "none needed" >&6; } ;;
4165 xno) 3927 xno)
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3928 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4167$as_echo "unsupported" >&6; } ;; 3929$as_echo "unsupported" >&6; } ;;
4168 *) 3930 *)
4169 CC="$CC $ac_cv_prog_cc_c89" 3931 CC="$CC $ac_cv_prog_cc_c89"
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3932 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4171$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3933$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4172esac 3934esac
4173if test "x$ac_cv_prog_cc_c89" != xno; then :
4174 3935
4175fi
4176 3936
4177ac_ext=c 3937ac_ext=c
4178ac_cpp='$CPP $CPPFLAGS' 3938ac_cpp='$CPP $CPPFLAGS'
@@ -4190,13 +3950,17 @@ fi
4190## using a Sun compiler, which needs -Xs to prevent whitespace. 3950## using a Sun compiler, which needs -Xs to prevent whitespace.
4191if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 3951if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
4192 test x"$CPP" = x; then 3952 test x"$CPP" = x; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 3953 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5
4194$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 3954$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
4195 3955
4196if test "${emacs_cv_sunpro_c+set}" = set; then : 3956if test "${emacs_cv_sunpro_c+set}" = set; then
4197 $as_echo_n "(cached) " >&6 3957 $as_echo_n "(cached) " >&6
4198else 3958else
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3959 cat >conftest.$ac_ext <<_ACEOF
3960/* confdefs.h. */
3961_ACEOF
3962cat confdefs.h >>conftest.$ac_ext
3963cat >>conftest.$ac_ext <<_ACEOF
4200/* end confdefs.h. */ 3964/* end confdefs.h. */
4201 3965
4202int 3966int
@@ -4210,16 +3974,41 @@ fail;
4210 return 0; 3974 return 0;
4211} 3975}
4212_ACEOF 3976_ACEOF
4213if ac_fn_c_try_link "$LINENO"; then : 3977rm -f conftest.$ac_objext conftest$ac_exeext
3978if { (ac_try="$ac_link"
3979case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982esac
3983eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3984$as_echo "$ac_try_echo") >&5
3985 (eval "$ac_link") 2>conftest.er1
3986 ac_status=$?
3987 grep -v '^ *+' conftest.er1 >conftest.err
3988 rm -f conftest.er1
3989 cat conftest.err >&5
3990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest$ac_exeext && {
3995 test "$cross_compiling" = yes ||
3996 $as_test_x conftest$ac_exeext
3997 }; then
4214 emacs_cv_sunpro_c=yes 3998 emacs_cv_sunpro_c=yes
4215else 3999else
4216 emacs_cv_sunpro_c=no 4000 $as_echo "$as_me: failed program was:" >&5
4001sed 's/^/| /' conftest.$ac_ext >&5
4002
4003 emacs_cv_sunpro_c=no
4217fi 4004fi
4218rm -f core conftest.err conftest.$ac_objext \ 4005
4219 conftest$ac_exeext conftest.$ac_ext 4006rm -rf conftest.dSYM
4007rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4008 conftest$ac_exeext conftest.$ac_ext
4220fi 4009fi
4221 4010
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 4011 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5
4223$as_echo "$emacs_cv_sunpro_c" >&6; } 4012$as_echo "$emacs_cv_sunpro_c" >&6; }
4224 4013
4225 if test x"$emacs_cv_sunpro_c" = xyes; then 4014 if test x"$emacs_cv_sunpro_c" = xyes; then
@@ -4259,14 +4048,14 @@ ac_cpp='$CPP $CPPFLAGS'
4259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261ac_compiler_gnu=$ac_cv_c_compiler_gnu 4050ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4051{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4263$as_echo_n "checking how to run the C preprocessor... " >&6; } 4052$as_echo_n "checking how to run the C preprocessor... " >&6; }
4264# On Suns, sometimes $CPP names a directory. 4053# On Suns, sometimes $CPP names a directory.
4265if test -n "$CPP" && test -d "$CPP"; then 4054if test -n "$CPP" && test -d "$CPP"; then
4266 CPP= 4055 CPP=
4267fi 4056fi
4268if test -z "$CPP"; then 4057if test -z "$CPP"; then
4269 if test "${ac_cv_prog_CPP+set}" = set; then : 4058 if test "${ac_cv_prog_CPP+set}" = set; then
4270 $as_echo_n "(cached) " >&6 4059 $as_echo_n "(cached) " >&6
4271else 4060else
4272 # Double quotes because CPP needs to be expanded 4061 # Double quotes because CPP needs to be expanded
@@ -4281,7 +4070,11 @@ do
4281 # <limits.h> exists even on freestanding compilers. 4070 # <limits.h> exists even on freestanding compilers.
4282 # On the NeXT, cc -E runs the code through the compiler's parser, 4071 # On the NeXT, cc -E runs the code through the compiler's parser,
4283 # not just through cpp. "Syntax error" is here to catch this case. 4072 # not just through cpp. "Syntax error" is here to catch this case.
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4073 cat >conftest.$ac_ext <<_ACEOF
4074/* confdefs.h. */
4075_ACEOF
4076cat confdefs.h >>conftest.$ac_ext
4077cat >>conftest.$ac_ext <<_ACEOF
4285/* end confdefs.h. */ 4078/* end confdefs.h. */
4286#ifdef __STDC__ 4079#ifdef __STDC__
4287# include <limits.h> 4080# include <limits.h>
@@ -4290,34 +4083,78 @@ do
4290#endif 4083#endif
4291 Syntax error 4084 Syntax error
4292_ACEOF 4085_ACEOF
4293if ac_fn_c_try_cpp "$LINENO"; then : 4086if { (ac_try="$ac_cpp conftest.$ac_ext"
4294 4087case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090esac
4091eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4092$as_echo "$ac_try_echo") >&5
4093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4094 ac_status=$?
4095 grep -v '^ *+' conftest.er1 >conftest.err
4096 rm -f conftest.er1
4097 cat conftest.err >&5
4098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } >/dev/null && {
4100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4101 test ! -s conftest.err
4102 }; then
4103 :
4295else 4104else
4105 $as_echo "$as_me: failed program was:" >&5
4106sed 's/^/| /' conftest.$ac_ext >&5
4107
4296 # Broken: fails on valid input. 4108 # Broken: fails on valid input.
4297continue 4109continue
4298fi 4110fi
4111
4299rm -f conftest.err conftest.$ac_ext 4112rm -f conftest.err conftest.$ac_ext
4300 4113
4301 # OK, works on sane cases. Now check whether nonexistent headers 4114 # OK, works on sane cases. Now check whether nonexistent headers
4302 # can be detected and how. 4115 # can be detected and how.
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4116 cat >conftest.$ac_ext <<_ACEOF
4117/* confdefs.h. */
4118_ACEOF
4119cat confdefs.h >>conftest.$ac_ext
4120cat >>conftest.$ac_ext <<_ACEOF
4304/* end confdefs.h. */ 4121/* end confdefs.h. */
4305#include <ac_nonexistent.h> 4122#include <ac_nonexistent.h>
4306_ACEOF 4123_ACEOF
4307if ac_fn_c_try_cpp "$LINENO"; then : 4124if { (ac_try="$ac_cpp conftest.$ac_ext"
4125case "(($ac_try" in
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4128esac
4129eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4130$as_echo "$ac_try_echo") >&5
4131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4132 ac_status=$?
4133 grep -v '^ *+' conftest.er1 >conftest.err
4134 rm -f conftest.er1
4135 cat conftest.err >&5
4136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } >/dev/null && {
4138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 }; then
4308 # Broken: success on invalid input. 4141 # Broken: success on invalid input.
4309continue 4142continue
4310else 4143else
4144 $as_echo "$as_me: failed program was:" >&5
4145sed 's/^/| /' conftest.$ac_ext >&5
4146
4311 # Passes both tests. 4147 # Passes both tests.
4312ac_preproc_ok=: 4148ac_preproc_ok=:
4313break 4149break
4314fi 4150fi
4151
4315rm -f conftest.err conftest.$ac_ext 4152rm -f conftest.err conftest.$ac_ext
4316 4153
4317done 4154done
4318# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4155# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4319rm -f conftest.err conftest.$ac_ext 4156rm -f conftest.err conftest.$ac_ext
4320if $ac_preproc_ok; then : 4157if $ac_preproc_ok; then
4321 break 4158 break
4322fi 4159fi
4323 4160
@@ -4329,7 +4166,7 @@ fi
4329else 4166else
4330 ac_cv_prog_CPP=$CPP 4167 ac_cv_prog_CPP=$CPP
4331fi 4168fi
4332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4169{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4333$as_echo "$CPP" >&6; } 4170$as_echo "$CPP" >&6; }
4334ac_preproc_ok=false 4171ac_preproc_ok=false
4335for ac_c_preproc_warn_flag in '' yes 4172for ac_c_preproc_warn_flag in '' yes
@@ -4340,7 +4177,11 @@ do
4340 # <limits.h> exists even on freestanding compilers. 4177 # <limits.h> exists even on freestanding compilers.
4341 # On the NeXT, cc -E runs the code through the compiler's parser, 4178 # On the NeXT, cc -E runs the code through the compiler's parser,
4342 # not just through cpp. "Syntax error" is here to catch this case. 4179 # not just through cpp. "Syntax error" is here to catch this case.
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180 cat >conftest.$ac_ext <<_ACEOF
4181/* confdefs.h. */
4182_ACEOF
4183cat confdefs.h >>conftest.$ac_ext
4184cat >>conftest.$ac_ext <<_ACEOF
4344/* end confdefs.h. */ 4185/* end confdefs.h. */
4345#ifdef __STDC__ 4186#ifdef __STDC__
4346# include <limits.h> 4187# include <limits.h>
@@ -4349,40 +4190,85 @@ do
4349#endif 4190#endif
4350 Syntax error 4191 Syntax error
4351_ACEOF 4192_ACEOF
4352if ac_fn_c_try_cpp "$LINENO"; then : 4193if { (ac_try="$ac_cpp conftest.$ac_ext"
4353 4194case "(($ac_try" in
4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4197esac
4198eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4199$as_echo "$ac_try_echo") >&5
4200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4201 ac_status=$?
4202 grep -v '^ *+' conftest.er1 >conftest.err
4203 rm -f conftest.er1
4204 cat conftest.err >&5
4205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } >/dev/null && {
4207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4209 }; then
4210 :
4354else 4211else
4212 $as_echo "$as_me: failed program was:" >&5
4213sed 's/^/| /' conftest.$ac_ext >&5
4214
4355 # Broken: fails on valid input. 4215 # Broken: fails on valid input.
4356continue 4216continue
4357fi 4217fi
4218
4358rm -f conftest.err conftest.$ac_ext 4219rm -f conftest.err conftest.$ac_ext
4359 4220
4360 # OK, works on sane cases. Now check whether nonexistent headers 4221 # OK, works on sane cases. Now check whether nonexistent headers
4361 # can be detected and how. 4222 # can be detected and how.
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4223 cat >conftest.$ac_ext <<_ACEOF
4224/* confdefs.h. */
4225_ACEOF
4226cat confdefs.h >>conftest.$ac_ext
4227cat >>conftest.$ac_ext <<_ACEOF
4363/* end confdefs.h. */ 4228/* end confdefs.h. */
4364#include <ac_nonexistent.h> 4229#include <ac_nonexistent.h>
4365_ACEOF 4230_ACEOF
4366if ac_fn_c_try_cpp "$LINENO"; then : 4231if { (ac_try="$ac_cpp conftest.$ac_ext"
4232case "(($ac_try" in
4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4234 *) ac_try_echo=$ac_try;;
4235esac
4236eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4237$as_echo "$ac_try_echo") >&5
4238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4239 ac_status=$?
4240 grep -v '^ *+' conftest.er1 >conftest.err
4241 rm -f conftest.er1
4242 cat conftest.err >&5
4243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } >/dev/null && {
4245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 }; then
4367 # Broken: success on invalid input. 4248 # Broken: success on invalid input.
4368continue 4249continue
4369else 4250else
4251 $as_echo "$as_me: failed program was:" >&5
4252sed 's/^/| /' conftest.$ac_ext >&5
4253
4370 # Passes both tests. 4254 # Passes both tests.
4371ac_preproc_ok=: 4255ac_preproc_ok=:
4372break 4256break
4373fi 4257fi
4258
4374rm -f conftest.err conftest.$ac_ext 4259rm -f conftest.err conftest.$ac_ext
4375 4260
4376done 4261done
4377# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4262# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4378rm -f conftest.err conftest.$ac_ext 4263rm -f conftest.err conftest.$ac_ext
4379if $ac_preproc_ok; then : 4264if $ac_preproc_ok; then
4380 4265 :
4381else 4266else
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4267 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4268See \`config.log' for more details." >&5
4384as_fn_error "C preprocessor \"$CPP\" fails sanity check 4269$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4385See \`config.log' for more details." "$LINENO" 5; } 4270See \`config.log' for more details." >&2;}
4271 { (exit 1); exit 1; }; }
4386fi 4272fi
4387 4273
4388ac_ext=c 4274ac_ext=c
@@ -4392,9 +4278,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4392ac_compiler_gnu=$ac_cv_c_compiler_gnu 4278ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393 4279
4394 4280
4395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4281{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4396$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4282$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4397if test "${ac_cv_path_GREP+set}" = set; then : 4283if test "${ac_cv_path_GREP+set}" = set; then
4398 $as_echo_n "(cached) " >&6 4284 $as_echo_n "(cached) " >&6
4399else 4285else
4400 if test -z "$GREP"; then 4286 if test -z "$GREP"; then
@@ -4405,7 +4291,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4405do 4291do
4406 IFS=$as_save_IFS 4292 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=. 4293 test -z "$as_dir" && as_dir=.
4408 for ac_prog in grep ggrep; do 4294 for ac_prog in grep ggrep; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do 4295 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4296 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4297 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -4425,7 +4311,7 @@ case `"$ac_path_GREP" --version 2>&1` in
4425 $as_echo 'GREP' >> "conftest.nl" 4311 $as_echo 'GREP' >> "conftest.nl"
4426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4312 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 as_fn_arith $ac_count + 1 && ac_count=$as_val 4314 ac_count=`expr $ac_count + 1`
4429 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4315 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4430 # Best one so far, save it but keep looking for a better one 4316 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_GREP="$ac_path_GREP" 4317 ac_cv_path_GREP="$ac_path_GREP"
@@ -4440,24 +4326,26 @@ esac
4440 $ac_path_GREP_found && break 3 4326 $ac_path_GREP_found && break 3
4441 done 4327 done
4442 done 4328 done
4443 done 4329done
4444IFS=$as_save_IFS 4330IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_GREP"; then 4331 if test -z "$ac_cv_path_GREP"; then
4446 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4332 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4333$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4334 { (exit 1); exit 1; }; }
4447 fi 4335 fi
4448else 4336else
4449 ac_cv_path_GREP=$GREP 4337 ac_cv_path_GREP=$GREP
4450fi 4338fi
4451 4339
4452fi 4340fi
4453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4341{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4454$as_echo "$ac_cv_path_GREP" >&6; } 4342$as_echo "$ac_cv_path_GREP" >&6; }
4455 GREP="$ac_cv_path_GREP" 4343 GREP="$ac_cv_path_GREP"
4456 4344
4457 4345
4458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4346{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4459$as_echo_n "checking for egrep... " >&6; } 4347$as_echo_n "checking for egrep... " >&6; }
4460if test "${ac_cv_path_EGREP+set}" = set; then : 4348if test "${ac_cv_path_EGREP+set}" = set; then
4461 $as_echo_n "(cached) " >&6 4349 $as_echo_n "(cached) " >&6
4462else 4350else
4463 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4351 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4471,7 +4359,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4471do 4359do
4472 IFS=$as_save_IFS 4360 IFS=$as_save_IFS
4473 test -z "$as_dir" && as_dir=. 4361 test -z "$as_dir" && as_dir=.
4474 for ac_prog in egrep; do 4362 for ac_prog in egrep; do
4475 for ac_exec_ext in '' $ac_executable_extensions; do 4363 for ac_exec_ext in '' $ac_executable_extensions; do
4476 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4364 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4477 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4365 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -4491,7 +4379,7 @@ case `"$ac_path_EGREP" --version 2>&1` in
4491 $as_echo 'EGREP' >> "conftest.nl" 4379 $as_echo 'EGREP' >> "conftest.nl"
4492 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4380 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4493 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4381 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4494 as_fn_arith $ac_count + 1 && ac_count=$as_val 4382 ac_count=`expr $ac_count + 1`
4495 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4383 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4496 # Best one so far, save it but keep looking for a better one 4384 # Best one so far, save it but keep looking for a better one
4497 ac_cv_path_EGREP="$ac_path_EGREP" 4385 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -4506,10 +4394,12 @@ esac
4506 $ac_path_EGREP_found && break 3 4394 $ac_path_EGREP_found && break 3
4507 done 4395 done
4508 done 4396 done
4509 done 4397done
4510IFS=$as_save_IFS 4398IFS=$as_save_IFS
4511 if test -z "$ac_cv_path_EGREP"; then 4399 if test -z "$ac_cv_path_EGREP"; then
4512 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4400 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4401$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4402 { (exit 1); exit 1; }; }
4513 fi 4403 fi
4514else 4404else
4515 ac_cv_path_EGREP=$EGREP 4405 ac_cv_path_EGREP=$EGREP
@@ -4517,17 +4407,21 @@ fi
4517 4407
4518 fi 4408 fi
4519fi 4409fi
4520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4410{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4521$as_echo "$ac_cv_path_EGREP" >&6; } 4411$as_echo "$ac_cv_path_EGREP" >&6; }
4522 EGREP="$ac_cv_path_EGREP" 4412 EGREP="$ac_cv_path_EGREP"
4523 4413
4524 4414
4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4415{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4526$as_echo_n "checking for ANSI C header files... " >&6; } 4416$as_echo_n "checking for ANSI C header files... " >&6; }
4527if test "${ac_cv_header_stdc+set}" = set; then : 4417if test "${ac_cv_header_stdc+set}" = set; then
4528 $as_echo_n "(cached) " >&6 4418 $as_echo_n "(cached) " >&6
4529else 4419else
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4420 cat >conftest.$ac_ext <<_ACEOF
4421/* confdefs.h. */
4422_ACEOF
4423cat confdefs.h >>conftest.$ac_ext
4424cat >>conftest.$ac_ext <<_ACEOF
4531/* end confdefs.h. */ 4425/* end confdefs.h. */
4532#include <stdlib.h> 4426#include <stdlib.h>
4533#include <stdarg.h> 4427#include <stdarg.h>
@@ -4542,23 +4436,48 @@ main ()
4542 return 0; 4436 return 0;
4543} 4437}
4544_ACEOF 4438_ACEOF
4545if ac_fn_c_try_compile "$LINENO"; then : 4439rm -f conftest.$ac_objext
4440if { (ac_try="$ac_compile"
4441case "(($ac_try" in
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4444esac
4445eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4446$as_echo "$ac_try_echo") >&5
4447 (eval "$ac_compile") 2>conftest.er1
4448 ac_status=$?
4449 grep -v '^ *+' conftest.er1 >conftest.err
4450 rm -f conftest.er1
4451 cat conftest.err >&5
4452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } && {
4454 test -z "$ac_c_werror_flag" ||
4455 test ! -s conftest.err
4456 } && test -s conftest.$ac_objext; then
4546 ac_cv_header_stdc=yes 4457 ac_cv_header_stdc=yes
4547else 4458else
4548 ac_cv_header_stdc=no 4459 $as_echo "$as_me: failed program was:" >&5
4460sed 's/^/| /' conftest.$ac_ext >&5
4461
4462 ac_cv_header_stdc=no
4549fi 4463fi
4464
4550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 4466
4552if test $ac_cv_header_stdc = yes; then 4467if test $ac_cv_header_stdc = yes; then
4553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4468 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4469 cat >conftest.$ac_ext <<_ACEOF
4470/* confdefs.h. */
4471_ACEOF
4472cat confdefs.h >>conftest.$ac_ext
4473cat >>conftest.$ac_ext <<_ACEOF
4555/* end confdefs.h. */ 4474/* end confdefs.h. */
4556#include <string.h> 4475#include <string.h>
4557 4476
4558_ACEOF 4477_ACEOF
4559if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4478if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4560 $EGREP "memchr" >/dev/null 2>&1; then : 4479 $EGREP "memchr" >/dev/null 2>&1; then
4561 4480 :
4562else 4481else
4563 ac_cv_header_stdc=no 4482 ac_cv_header_stdc=no
4564fi 4483fi
@@ -4568,14 +4487,18 @@ fi
4568 4487
4569if test $ac_cv_header_stdc = yes; then 4488if test $ac_cv_header_stdc = yes; then
4570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4490 cat >conftest.$ac_ext <<_ACEOF
4491/* confdefs.h. */
4492_ACEOF
4493cat confdefs.h >>conftest.$ac_ext
4494cat >>conftest.$ac_ext <<_ACEOF
4572/* end confdefs.h. */ 4495/* end confdefs.h. */
4573#include <stdlib.h> 4496#include <stdlib.h>
4574 4497
4575_ACEOF 4498_ACEOF
4576if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4577 $EGREP "free" >/dev/null 2>&1; then : 4500 $EGREP "free" >/dev/null 2>&1; then
4578 4501 :
4579else 4502else
4580 ac_cv_header_stdc=no 4503 ac_cv_header_stdc=no
4581fi 4504fi
@@ -4585,10 +4508,14 @@ fi
4585 4508
4586if test $ac_cv_header_stdc = yes; then 4509if test $ac_cv_header_stdc = yes; then
4587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4510 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4588 if test "$cross_compiling" = yes; then : 4511 if test "$cross_compiling" = yes; then
4589 : 4512 :
4590else 4513else
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4514 cat >conftest.$ac_ext <<_ACEOF
4515/* confdefs.h. */
4516_ACEOF
4517cat confdefs.h >>conftest.$ac_ext
4518cat >>conftest.$ac_ext <<_ACEOF
4592/* end confdefs.h. */ 4519/* end confdefs.h. */
4593#include <ctype.h> 4520#include <ctype.h>
4594#include <stdlib.h> 4521#include <stdlib.h>
@@ -4615,34 +4542,117 @@ main ()
4615 return 0; 4542 return 0;
4616} 4543}
4617_ACEOF 4544_ACEOF
4618if ac_fn_c_try_run "$LINENO"; then : 4545rm -f conftest$ac_exeext
4619 4546if { (ac_try="$ac_link"
4547case "(($ac_try" in
4548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4549 *) ac_try_echo=$ac_try;;
4550esac
4551eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4552$as_echo "$ac_try_echo") >&5
4553 (eval "$ac_link") 2>&5
4554 ac_status=$?
4555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4557 { (case "(($ac_try" in
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4560esac
4561eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4562$as_echo "$ac_try_echo") >&5
4563 (eval "$ac_try") 2>&5
4564 ac_status=$?
4565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); }; }; then
4567 :
4620else 4568else
4621 ac_cv_header_stdc=no 4569 $as_echo "$as_me: program exited with status $ac_status" >&5
4570$as_echo "$as_me: failed program was:" >&5
4571sed 's/^/| /' conftest.$ac_ext >&5
4572
4573( exit $ac_status )
4574ac_cv_header_stdc=no
4622fi 4575fi
4623rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4576rm -rf conftest.dSYM
4624 conftest.$ac_objext conftest.beam conftest.$ac_ext 4577rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4625fi 4578fi
4626 4579
4580
4627fi 4581fi
4628fi 4582fi
4629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4583{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4630$as_echo "$ac_cv_header_stdc" >&6; } 4584$as_echo "$ac_cv_header_stdc" >&6; }
4631if test $ac_cv_header_stdc = yes; then 4585if test $ac_cv_header_stdc = yes; then
4632 4586
4633$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4587cat >>confdefs.h <<\_ACEOF
4588#define STDC_HEADERS 1
4589_ACEOF
4634 4590
4635fi 4591fi
4636 4592
4637# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4593# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4594
4595
4596
4597
4598
4599
4600
4601
4602
4638for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4603for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4639 inttypes.h stdint.h unistd.h 4604 inttypes.h stdint.h unistd.h
4640do : 4605do
4641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4606as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4642ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4607{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4643" 4608$as_echo_n "checking for $ac_header... " >&6; }
4644eval as_val=\$$as_ac_Header 4609if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4645 if test "x$as_val" = x""yes; then : 4610 $as_echo_n "(cached) " >&6
4611else
4612 cat >conftest.$ac_ext <<_ACEOF
4613/* confdefs.h. */
4614_ACEOF
4615cat confdefs.h >>conftest.$ac_ext
4616cat >>conftest.$ac_ext <<_ACEOF
4617/* end confdefs.h. */
4618$ac_includes_default
4619
4620#include <$ac_header>
4621_ACEOF
4622rm -f conftest.$ac_objext
4623if { (ac_try="$ac_compile"
4624case "(($ac_try" in
4625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4626 *) ac_try_echo=$ac_try;;
4627esac
4628eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4629$as_echo "$ac_try_echo") >&5
4630 (eval "$ac_compile") 2>conftest.er1
4631 ac_status=$?
4632 grep -v '^ *+' conftest.er1 >conftest.err
4633 rm -f conftest.er1
4634 cat conftest.err >&5
4635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } && {
4637 test -z "$ac_c_werror_flag" ||
4638 test ! -s conftest.err
4639 } && test -s conftest.$ac_objext; then
4640 eval "$as_ac_Header=yes"
4641else
4642 $as_echo "$as_me: failed program was:" >&5
4643sed 's/^/| /' conftest.$ac_ext >&5
4644
4645 eval "$as_ac_Header=no"
4646fi
4647
4648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649fi
4650ac_res=`eval 'as_val=${'$as_ac_Header'}
4651 $as_echo "$as_val"'`
4652 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4653$as_echo "$ac_res" >&6; }
4654if test `eval 'as_val=${'$as_ac_Header'}
4655 $as_echo "$as_val"'` = yes; then
4646 cat >>confdefs.h <<_ACEOF 4656 cat >>confdefs.h <<_ACEOF
4647#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4657#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4648_ACEOF 4658_ACEOF
@@ -4653,8 +4663,134 @@ done
4653 4663
4654 4664
4655 4665
4656 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4666 if test "${ac_cv_header_minix_config_h+set}" = set; then
4657if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4667 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4668$as_echo_n "checking for minix/config.h... " >&6; }
4669if test "${ac_cv_header_minix_config_h+set}" = set; then
4670 $as_echo_n "(cached) " >&6
4671fi
4672{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4673$as_echo "$ac_cv_header_minix_config_h" >&6; }
4674else
4675 # Is the header compilable?
4676{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4677$as_echo_n "checking minix/config.h usability... " >&6; }
4678cat >conftest.$ac_ext <<_ACEOF
4679/* confdefs.h. */
4680_ACEOF
4681cat confdefs.h >>conftest.$ac_ext
4682cat >>conftest.$ac_ext <<_ACEOF
4683/* end confdefs.h. */
4684$ac_includes_default
4685#include <minix/config.h>
4686_ACEOF
4687rm -f conftest.$ac_objext
4688if { (ac_try="$ac_compile"
4689case "(($ac_try" in
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4692esac
4693eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4694$as_echo "$ac_try_echo") >&5
4695 (eval "$ac_compile") 2>conftest.er1
4696 ac_status=$?
4697 grep -v '^ *+' conftest.er1 >conftest.err
4698 rm -f conftest.er1
4699 cat conftest.err >&5
4700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } && {
4702 test -z "$ac_c_werror_flag" ||
4703 test ! -s conftest.err
4704 } && test -s conftest.$ac_objext; then
4705 ac_header_compiler=yes
4706else
4707 $as_echo "$as_me: failed program was:" >&5
4708sed 's/^/| /' conftest.$ac_ext >&5
4709
4710 ac_header_compiler=no
4711fi
4712
4713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4714{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4715$as_echo "$ac_header_compiler" >&6; }
4716
4717# Is the header present?
4718{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4719$as_echo_n "checking minix/config.h presence... " >&6; }
4720cat >conftest.$ac_ext <<_ACEOF
4721/* confdefs.h. */
4722_ACEOF
4723cat confdefs.h >>conftest.$ac_ext
4724cat >>conftest.$ac_ext <<_ACEOF
4725/* end confdefs.h. */
4726#include <minix/config.h>
4727_ACEOF
4728if { (ac_try="$ac_cpp conftest.$ac_ext"
4729case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732esac
4733eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4734$as_echo "$ac_try_echo") >&5
4735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4736 ac_status=$?
4737 grep -v '^ *+' conftest.er1 >conftest.err
4738 rm -f conftest.er1
4739 cat conftest.err >&5
4740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } >/dev/null && {
4742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 }; then
4745 ac_header_preproc=yes
4746else
4747 $as_echo "$as_me: failed program was:" >&5
4748sed 's/^/| /' conftest.$ac_ext >&5
4749
4750 ac_header_preproc=no
4751fi
4752
4753rm -f conftest.err conftest.$ac_ext
4754{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4755$as_echo "$ac_header_preproc" >&6; }
4756
4757# So? What about this header?
4758case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4759 yes:no: )
4760 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4761$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4762 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4763$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4764 ac_header_preproc=yes
4765 ;;
4766 no:yes:* )
4767 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4768$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4769 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4770$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4771 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4772$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4773 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4774$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4775 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4776$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4777 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4778$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4779
4780 ;;
4781esac
4782{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4783$as_echo_n "checking for minix/config.h... " >&6; }
4784if test "${ac_cv_header_minix_config_h+set}" = set; then
4785 $as_echo_n "(cached) " >&6
4786else
4787 ac_cv_header_minix_config_h=$ac_header_preproc
4788fi
4789{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4790$as_echo "$ac_cv_header_minix_config_h" >&6; }
4791
4792fi
4793if test $ac_cv_header_minix_config_h = yes; then
4658 MINIX=yes 4794 MINIX=yes
4659else 4795else
4660 MINIX= 4796 MINIX=
@@ -4663,23 +4799,34 @@ fi
4663 4799
4664 if test "$MINIX" = yes; then 4800 if test "$MINIX" = yes; then
4665 4801
4666$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4802cat >>confdefs.h <<\_ACEOF
4803#define _POSIX_SOURCE 1
4804_ACEOF
4667 4805
4668 4806
4669$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4807cat >>confdefs.h <<\_ACEOF
4808#define _POSIX_1_SOURCE 2
4809_ACEOF
4670 4810
4671 4811
4672$as_echo "#define _MINIX 1" >>confdefs.h 4812cat >>confdefs.h <<\_ACEOF
4813#define _MINIX 1
4814_ACEOF
4673 4815
4674 fi 4816 fi
4675 4817
4676 4818
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4819
4820 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4678$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4821$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4679if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4822if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4680 $as_echo_n "(cached) " >&6 4823 $as_echo_n "(cached) " >&6
4681else 4824else
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4825 cat >conftest.$ac_ext <<_ACEOF
4826/* confdefs.h. */
4827_ACEOF
4828cat confdefs.h >>conftest.$ac_ext
4829cat >>conftest.$ac_ext <<_ACEOF
4683/* end confdefs.h. */ 4830/* end confdefs.h. */
4684 4831
4685# define __EXTENSIONS__ 1 4832# define __EXTENSIONS__ 1
@@ -4692,34 +4839,69 @@ main ()
4692 return 0; 4839 return 0;
4693} 4840}
4694_ACEOF 4841_ACEOF
4695if ac_fn_c_try_compile "$LINENO"; then : 4842rm -f conftest.$ac_objext
4843if { (ac_try="$ac_compile"
4844case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4847esac
4848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4849$as_echo "$ac_try_echo") >&5
4850 (eval "$ac_compile") 2>conftest.er1
4851 ac_status=$?
4852 grep -v '^ *+' conftest.er1 >conftest.err
4853 rm -f conftest.er1
4854 cat conftest.err >&5
4855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); } && {
4857 test -z "$ac_c_werror_flag" ||
4858 test ! -s conftest.err
4859 } && test -s conftest.$ac_objext; then
4696 ac_cv_safe_to_define___extensions__=yes 4860 ac_cv_safe_to_define___extensions__=yes
4697else 4861else
4698 ac_cv_safe_to_define___extensions__=no 4862 $as_echo "$as_me: failed program was:" >&5
4863sed 's/^/| /' conftest.$ac_ext >&5
4864
4865 ac_cv_safe_to_define___extensions__=no
4699fi 4866fi
4867
4700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701fi 4869fi
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4870{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4703$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4871$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4704 test $ac_cv_safe_to_define___extensions__ = yes && 4872 test $ac_cv_safe_to_define___extensions__ = yes &&
4705 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4873 cat >>confdefs.h <<\_ACEOF
4874#define __EXTENSIONS__ 1
4875_ACEOF
4706 4876
4707 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4877 cat >>confdefs.h <<\_ACEOF
4878#define _ALL_SOURCE 1
4879_ACEOF
4708 4880
4709 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4881 cat >>confdefs.h <<\_ACEOF
4882#define _GNU_SOURCE 1
4883_ACEOF
4710 4884
4711 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4885 cat >>confdefs.h <<\_ACEOF
4886#define _POSIX_PTHREAD_SEMANTICS 1
4887_ACEOF
4712 4888
4713 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4889 cat >>confdefs.h <<\_ACEOF
4890#define _TANDEM_SOURCE 1
4891_ACEOF
4714 4892
4715 4893
4716 4894
4717### Use -Wno-pointer-sign if the compiler supports it 4895### Use -Wno-pointer-sign if the compiler supports it
4718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 4896{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5
4719$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } 4897$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; }
4720SAVE_CFLAGS="$CFLAGS" 4898SAVE_CFLAGS="$CFLAGS"
4721CFLAGS="$CFLAGS -Wno-pointer-sign" 4899CFLAGS="$CFLAGS -Wno-pointer-sign"
4722cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4900cat >conftest.$ac_ext <<_ACEOF
4901/* confdefs.h. */
4902_ACEOF
4903cat confdefs.h >>conftest.$ac_ext
4904cat >>conftest.$ac_ext <<_ACEOF
4723/* end confdefs.h. */ 4905/* end confdefs.h. */
4724 4906
4725int 4907int
@@ -4730,27 +4912,52 @@ main ()
4730 return 0; 4912 return 0;
4731} 4913}
4732_ACEOF 4914_ACEOF
4733if ac_fn_c_try_compile "$LINENO"; then : 4915rm -f conftest.$ac_objext
4916if { (ac_try="$ac_compile"
4917case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920esac
4921eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4922$as_echo "$ac_try_echo") >&5
4923 (eval "$ac_compile") 2>conftest.er1
4924 ac_status=$?
4925 grep -v '^ *+' conftest.er1 >conftest.err
4926 rm -f conftest.er1
4927 cat conftest.err >&5
4928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); } && {
4930 test -z "$ac_c_werror_flag" ||
4931 test ! -s conftest.err
4932 } && test -s conftest.$ac_objext; then
4734 has_option=yes 4933 has_option=yes
4735else 4934else
4736 has_option=no 4935 $as_echo "$as_me: failed program was:" >&5
4936sed 's/^/| /' conftest.$ac_ext >&5
4937
4938 has_option=no
4737fi 4939fi
4940
4738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739if test $has_option = yes; then 4942if test $has_option = yes; then
4740 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4943 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4741fi 4944fi
4742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 4945{ $as_echo "$as_me:$LINENO: result: $has_option" >&5
4743$as_echo "$has_option" >&6; } 4946$as_echo "$has_option" >&6; }
4744CFLAGS="$SAVE_CFLAGS" 4947CFLAGS="$SAVE_CFLAGS"
4745unset has_option 4948unset has_option
4746unset SAVE_CFLAGS 4949unset SAVE_CFLAGS
4747 4950
4748### Use -Wdeclaration-after-statement if the compiler supports it 4951### Use -Wdeclaration-after-statement if the compiler supports it
4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 4952{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5
4750$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } 4953$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; }
4751SAVE_CFLAGS="$CFLAGS" 4954SAVE_CFLAGS="$CFLAGS"
4752CFLAGS="$CFLAGS -Wdeclaration-after-statement" 4955CFLAGS="$CFLAGS -Wdeclaration-after-statement"
4753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4956cat >conftest.$ac_ext <<_ACEOF
4957/* confdefs.h. */
4958_ACEOF
4959cat confdefs.h >>conftest.$ac_ext
4960cat >>conftest.$ac_ext <<_ACEOF
4754/* end confdefs.h. */ 4961/* end confdefs.h. */
4755 4962
4756int 4963int
@@ -4761,16 +4968,37 @@ main ()
4761 return 0; 4968 return 0;
4762} 4969}
4763_ACEOF 4970_ACEOF
4764if ac_fn_c_try_compile "$LINENO"; then : 4971rm -f conftest.$ac_objext
4972if { (ac_try="$ac_compile"
4973case "(($ac_try" in
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4976esac
4977eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4978$as_echo "$ac_try_echo") >&5
4979 (eval "$ac_compile") 2>conftest.er1
4980 ac_status=$?
4981 grep -v '^ *+' conftest.er1 >conftest.err
4982 rm -f conftest.er1
4983 cat conftest.err >&5
4984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } && {
4986 test -z "$ac_c_werror_flag" ||
4987 test ! -s conftest.err
4988 } && test -s conftest.$ac_objext; then
4765 has_option=yes 4989 has_option=yes
4766else 4990else
4767 has_option=no 4991 $as_echo "$as_me: failed program was:" >&5
4992sed 's/^/| /' conftest.$ac_ext >&5
4993
4994 has_option=no
4768fi 4995fi
4996
4769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770if test $has_option = yes; then 4998if test $has_option = yes; then
4771 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" 4999 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH"
4772fi 5000fi
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 5001{ $as_echo "$as_me:$LINENO: result: $has_option" >&5
4774$as_echo "$has_option" >&6; } 5002$as_echo "$has_option" >&6; }
4775CFLAGS="$SAVE_CFLAGS" 5003CFLAGS="$SAVE_CFLAGS"
4776unset has_option 5004unset has_option
@@ -4778,14 +5006,14 @@ unset SAVE_CFLAGS
4778 5006
4779#### Some other nice autoconf tests. 5007#### Some other nice autoconf tests.
4780 5008
4781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5009{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4782$as_echo_n "checking whether ln -s works... " >&6; } 5010$as_echo_n "checking whether ln -s works... " >&6; }
4783LN_S=$as_ln_s 5011LN_S=$as_ln_s
4784if test "$LN_S" = "ln -s"; then 5012if test "$LN_S" = "ln -s"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5013 { $as_echo "$as_me:$LINENO: result: yes" >&5
4786$as_echo "yes" >&6; } 5014$as_echo "yes" >&6; }
4787else 5015else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5016 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4789$as_echo "no, using $LN_S" >&6; } 5017$as_echo "no, using $LN_S" >&6; }
4790fi 5018fi
4791 5019
@@ -4794,14 +5022,14 @@ ac_cpp='$CPP $CPPFLAGS'
4794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796ac_compiler_gnu=$ac_cv_c_compiler_gnu 5024ac_compiler_gnu=$ac_cv_c_compiler_gnu
4797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5025{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4798$as_echo_n "checking how to run the C preprocessor... " >&6; } 5026$as_echo_n "checking how to run the C preprocessor... " >&6; }
4799# On Suns, sometimes $CPP names a directory. 5027# On Suns, sometimes $CPP names a directory.
4800if test -n "$CPP" && test -d "$CPP"; then 5028if test -n "$CPP" && test -d "$CPP"; then
4801 CPP= 5029 CPP=
4802fi 5030fi
4803if test -z "$CPP"; then 5031if test -z "$CPP"; then
4804 if test "${ac_cv_prog_CPP+set}" = set; then : 5032 if test "${ac_cv_prog_CPP+set}" = set; then
4805 $as_echo_n "(cached) " >&6 5033 $as_echo_n "(cached) " >&6
4806else 5034else
4807 # Double quotes because CPP needs to be expanded 5035 # Double quotes because CPP needs to be expanded
@@ -4816,7 +5044,11 @@ do
4816 # <limits.h> exists even on freestanding compilers. 5044 # <limits.h> exists even on freestanding compilers.
4817 # On the NeXT, cc -E runs the code through the compiler's parser, 5045 # On the NeXT, cc -E runs the code through the compiler's parser,
4818 # not just through cpp. "Syntax error" is here to catch this case. 5046 # not just through cpp. "Syntax error" is here to catch this case.
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5047 cat >conftest.$ac_ext <<_ACEOF
5048/* confdefs.h. */
5049_ACEOF
5050cat confdefs.h >>conftest.$ac_ext
5051cat >>conftest.$ac_ext <<_ACEOF
4820/* end confdefs.h. */ 5052/* end confdefs.h. */
4821#ifdef __STDC__ 5053#ifdef __STDC__
4822# include <limits.h> 5054# include <limits.h>
@@ -4825,34 +5057,78 @@ do
4825#endif 5057#endif
4826 Syntax error 5058 Syntax error
4827_ACEOF 5059_ACEOF
4828if ac_fn_c_try_cpp "$LINENO"; then : 5060if { (ac_try="$ac_cpp conftest.$ac_ext"
4829 5061case "(($ac_try" in
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5064esac
5065eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5066$as_echo "$ac_try_echo") >&5
5067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5068 ac_status=$?
5069 grep -v '^ *+' conftest.er1 >conftest.err
5070 rm -f conftest.er1
5071 cat conftest.err >&5
5072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } >/dev/null && {
5074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 }; then
5077 :
4830else 5078else
5079 $as_echo "$as_me: failed program was:" >&5
5080sed 's/^/| /' conftest.$ac_ext >&5
5081
4831 # Broken: fails on valid input. 5082 # Broken: fails on valid input.
4832continue 5083continue
4833fi 5084fi
5085
4834rm -f conftest.err conftest.$ac_ext 5086rm -f conftest.err conftest.$ac_ext
4835 5087
4836 # OK, works on sane cases. Now check whether nonexistent headers 5088 # OK, works on sane cases. Now check whether nonexistent headers
4837 # can be detected and how. 5089 # can be detected and how.
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5090 cat >conftest.$ac_ext <<_ACEOF
5091/* confdefs.h. */
5092_ACEOF
5093cat confdefs.h >>conftest.$ac_ext
5094cat >>conftest.$ac_ext <<_ACEOF
4839/* end confdefs.h. */ 5095/* end confdefs.h. */
4840#include <ac_nonexistent.h> 5096#include <ac_nonexistent.h>
4841_ACEOF 5097_ACEOF
4842if ac_fn_c_try_cpp "$LINENO"; then : 5098if { (ac_try="$ac_cpp conftest.$ac_ext"
5099case "(($ac_try" in
5100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5102esac
5103eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5104$as_echo "$ac_try_echo") >&5
5105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5106 ac_status=$?
5107 grep -v '^ *+' conftest.er1 >conftest.err
5108 rm -f conftest.er1
5109 cat conftest.err >&5
5110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } >/dev/null && {
5112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5113 test ! -s conftest.err
5114 }; then
4843 # Broken: success on invalid input. 5115 # Broken: success on invalid input.
4844continue 5116continue
4845else 5117else
5118 $as_echo "$as_me: failed program was:" >&5
5119sed 's/^/| /' conftest.$ac_ext >&5
5120
4846 # Passes both tests. 5121 # Passes both tests.
4847ac_preproc_ok=: 5122ac_preproc_ok=:
4848break 5123break
4849fi 5124fi
5125
4850rm -f conftest.err conftest.$ac_ext 5126rm -f conftest.err conftest.$ac_ext
4851 5127
4852done 5128done
4853# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5129# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4854rm -f conftest.err conftest.$ac_ext 5130rm -f conftest.err conftest.$ac_ext
4855if $ac_preproc_ok; then : 5131if $ac_preproc_ok; then
4856 break 5132 break
4857fi 5133fi
4858 5134
@@ -4864,7 +5140,7 @@ fi
4864else 5140else
4865 ac_cv_prog_CPP=$CPP 5141 ac_cv_prog_CPP=$CPP
4866fi 5142fi
4867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5143{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4868$as_echo "$CPP" >&6; } 5144$as_echo "$CPP" >&6; }
4869ac_preproc_ok=false 5145ac_preproc_ok=false
4870for ac_c_preproc_warn_flag in '' yes 5146for ac_c_preproc_warn_flag in '' yes
@@ -4875,7 +5151,11 @@ do
4875 # <limits.h> exists even on freestanding compilers. 5151 # <limits.h> exists even on freestanding compilers.
4876 # On the NeXT, cc -E runs the code through the compiler's parser, 5152 # On the NeXT, cc -E runs the code through the compiler's parser,
4877 # not just through cpp. "Syntax error" is here to catch this case. 5153 # not just through cpp. "Syntax error" is here to catch this case.
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5154 cat >conftest.$ac_ext <<_ACEOF
5155/* confdefs.h. */
5156_ACEOF
5157cat confdefs.h >>conftest.$ac_ext
5158cat >>conftest.$ac_ext <<_ACEOF
4879/* end confdefs.h. */ 5159/* end confdefs.h. */
4880#ifdef __STDC__ 5160#ifdef __STDC__
4881# include <limits.h> 5161# include <limits.h>
@@ -4884,40 +5164,85 @@ do
4884#endif 5164#endif
4885 Syntax error 5165 Syntax error
4886_ACEOF 5166_ACEOF
4887if ac_fn_c_try_cpp "$LINENO"; then : 5167if { (ac_try="$ac_cpp conftest.$ac_ext"
4888 5168case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171esac
5172eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5173$as_echo "$ac_try_echo") >&5
5174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5175 ac_status=$?
5176 grep -v '^ *+' conftest.er1 >conftest.err
5177 rm -f conftest.er1
5178 cat conftest.err >&5
5179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } >/dev/null && {
5181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 }; then
5184 :
4889else 5185else
5186 $as_echo "$as_me: failed program was:" >&5
5187sed 's/^/| /' conftest.$ac_ext >&5
5188
4890 # Broken: fails on valid input. 5189 # Broken: fails on valid input.
4891continue 5190continue
4892fi 5191fi
5192
4893rm -f conftest.err conftest.$ac_ext 5193rm -f conftest.err conftest.$ac_ext
4894 5194
4895 # OK, works on sane cases. Now check whether nonexistent headers 5195 # OK, works on sane cases. Now check whether nonexistent headers
4896 # can be detected and how. 5196 # can be detected and how.
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5197 cat >conftest.$ac_ext <<_ACEOF
5198/* confdefs.h. */
5199_ACEOF
5200cat confdefs.h >>conftest.$ac_ext
5201cat >>conftest.$ac_ext <<_ACEOF
4898/* end confdefs.h. */ 5202/* end confdefs.h. */
4899#include <ac_nonexistent.h> 5203#include <ac_nonexistent.h>
4900_ACEOF 5204_ACEOF
4901if ac_fn_c_try_cpp "$LINENO"; then : 5205if { (ac_try="$ac_cpp conftest.$ac_ext"
5206case "(($ac_try" in
5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5209esac
5210eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5211$as_echo "$ac_try_echo") >&5
5212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5213 ac_status=$?
5214 grep -v '^ *+' conftest.er1 >conftest.err
5215 rm -f conftest.er1
5216 cat conftest.err >&5
5217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } >/dev/null && {
5219 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5220 test ! -s conftest.err
5221 }; then
4902 # Broken: success on invalid input. 5222 # Broken: success on invalid input.
4903continue 5223continue
4904else 5224else
5225 $as_echo "$as_me: failed program was:" >&5
5226sed 's/^/| /' conftest.$ac_ext >&5
5227
4905 # Passes both tests. 5228 # Passes both tests.
4906ac_preproc_ok=: 5229ac_preproc_ok=:
4907break 5230break
4908fi 5231fi
5232
4909rm -f conftest.err conftest.$ac_ext 5233rm -f conftest.err conftest.$ac_ext
4910 5234
4911done 5235done
4912# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5236# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4913rm -f conftest.err conftest.$ac_ext 5237rm -f conftest.err conftest.$ac_ext
4914if $ac_preproc_ok; then : 5238if $ac_preproc_ok; then
4915 5239 :
4916else 5240else
4917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5241 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5242See \`config.log' for more details." >&5
4919as_fn_error "C preprocessor \"$CPP\" fails sanity check 5243$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4920See \`config.log' for more details." "$LINENO" 5; } 5244See \`config.log' for more details." >&2;}
5245 { (exit 1); exit 1; }; }
4921fi 5246fi
4922 5247
4923ac_ext=c 5248ac_ext=c
@@ -4940,10 +5265,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4940# OS/2's system install, which has a completely different semantic 5265# OS/2's system install, which has a completely different semantic
4941# ./install, which can be erroneously created by make from ./install.sh. 5266# ./install, which can be erroneously created by make from ./install.sh.
4942# Reject install programs that cannot install multiple files. 5267# Reject install programs that cannot install multiple files.
4943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5268{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4944$as_echo_n "checking for a BSD-compatible install... " >&6; } 5269$as_echo_n "checking for a BSD-compatible install... " >&6; }
4945if test -z "$INSTALL"; then 5270if test -z "$INSTALL"; then
4946if test "${ac_cv_path_install+set}" = set; then : 5271if test "${ac_cv_path_install+set}" = set; then
4947 $as_echo_n "(cached) " >&6 5272 $as_echo_n "(cached) " >&6
4948else 5273else
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4951,11 +5276,11 @@ for as_dir in $PATH
4951do 5276do
4952 IFS=$as_save_IFS 5277 IFS=$as_save_IFS
4953 test -z "$as_dir" && as_dir=. 5278 test -z "$as_dir" && as_dir=.
4954 # Account for people who put trailing slashes in PATH elements. 5279 # Account for people who put trailing slashes in PATH elements.
4955case $as_dir/ in #(( 5280case $as_dir/ in
4956 ./ | .// | /[cC]/* | \ 5281 ./ | .// | /cC/* | \
4957 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 5282 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4958 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 5283 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4959 /usr/ucb/* ) ;; 5284 /usr/ucb/* ) ;;
4960 *) 5285 *)
4961 # OSF1 and SCO ODT 3.0 have their own names for install. 5286 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -4992,7 +5317,7 @@ case $as_dir/ in #((
4992 ;; 5317 ;;
4993esac 5318esac
4994 5319
4995 done 5320done
4996IFS=$as_save_IFS 5321IFS=$as_save_IFS
4997 5322
4998rm -rf conftest.one conftest.two conftest.dir 5323rm -rf conftest.one conftest.two conftest.dir
@@ -5008,7 +5333,7 @@ fi
5008 INSTALL=$ac_install_sh 5333 INSTALL=$ac_install_sh
5009 fi 5334 fi
5010fi 5335fi
5011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 5336{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5012$as_echo "$INSTALL" >&6; } 5337$as_echo "$INSTALL" >&6; }
5013 5338
5014# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5339# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -5023,9 +5348,9 @@ if test "x$RANLIB" = x; then
5023 if test -n "$ac_tool_prefix"; then 5348 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5025set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5350set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5027$as_echo_n "checking for $ac_word... " >&6; } 5352$as_echo_n "checking for $ac_word... " >&6; }
5028if test "${ac_cv_prog_RANLIB+set}" = set; then : 5353if test "${ac_cv_prog_RANLIB+set}" = set; then
5029 $as_echo_n "(cached) " >&6 5354 $as_echo_n "(cached) " >&6
5030else 5355else
5031 if test -n "$RANLIB"; then 5356 if test -n "$RANLIB"; then
@@ -5036,24 +5361,24 @@ for as_dir in $PATH
5036do 5361do
5037 IFS=$as_save_IFS 5362 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=. 5363 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do 5364 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2 5368 break 2
5044 fi 5369 fi
5045done 5370done
5046 done 5371done
5047IFS=$as_save_IFS 5372IFS=$as_save_IFS
5048 5373
5049fi 5374fi
5050fi 5375fi
5051RANLIB=$ac_cv_prog_RANLIB 5376RANLIB=$ac_cv_prog_RANLIB
5052if test -n "$RANLIB"; then 5377if test -n "$RANLIB"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5378 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5054$as_echo "$RANLIB" >&6; } 5379$as_echo "$RANLIB" >&6; }
5055else 5380else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5381 { $as_echo "$as_me:$LINENO: result: no" >&5
5057$as_echo "no" >&6; } 5382$as_echo "no" >&6; }
5058fi 5383fi
5059 5384
@@ -5063,9 +5388,9 @@ if test -z "$ac_cv_prog_RANLIB"; then
5063 ac_ct_RANLIB=$RANLIB 5388 ac_ct_RANLIB=$RANLIB
5064 # Extract the first word of "ranlib", so it can be a program name with args. 5389 # Extract the first word of "ranlib", so it can be a program name with args.
5065set dummy ranlib; ac_word=$2 5390set dummy ranlib; ac_word=$2
5066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5391{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5067$as_echo_n "checking for $ac_word... " >&6; } 5392$as_echo_n "checking for $ac_word... " >&6; }
5068if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5393if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5069 $as_echo_n "(cached) " >&6 5394 $as_echo_n "(cached) " >&6
5070else 5395else
5071 if test -n "$ac_ct_RANLIB"; then 5396 if test -n "$ac_ct_RANLIB"; then
@@ -5076,24 +5401,24 @@ for as_dir in $PATH
5076do 5401do
5077 IFS=$as_save_IFS 5402 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=. 5403 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do 5404 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_RANLIB="ranlib" 5406 ac_cv_prog_ac_ct_RANLIB="ranlib"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5407 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2 5408 break 2
5084 fi 5409 fi
5085done 5410done
5086 done 5411done
5087IFS=$as_save_IFS 5412IFS=$as_save_IFS
5088 5413
5089fi 5414fi
5090fi 5415fi
5091ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5416ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5092if test -n "$ac_ct_RANLIB"; then 5417if test -n "$ac_ct_RANLIB"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5418 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5094$as_echo "$ac_ct_RANLIB" >&6; } 5419$as_echo "$ac_ct_RANLIB" >&6; }
5095else 5420else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5421 { $as_echo "$as_me:$LINENO: result: no" >&5
5097$as_echo "no" >&6; } 5422$as_echo "no" >&6; }
5098fi 5423fi
5099 5424
@@ -5102,8 +5427,12 @@ fi
5102 else 5427 else
5103 case $cross_compiling:$ac_tool_warned in 5428 case $cross_compiling:$ac_tool_warned in
5104yes:) 5429yes:)
5105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5430{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5431whose name does not start with the host triplet. If you think this
5432configuration is useful to you, please write to autoconf@gnu.org." >&5
5433$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5434whose name does not start with the host triplet. If you think this
5435configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5107ac_tool_warned=yes ;; 5436ac_tool_warned=yes ;;
5108esac 5437esac
5109 RANLIB=$ac_ct_RANLIB 5438 RANLIB=$ac_ct_RANLIB
@@ -5115,9 +5444,9 @@ fi
5115fi 5444fi
5116# Extract the first word of "install-info", so it can be a program name with args. 5445# Extract the first word of "install-info", so it can be a program name with args.
5117set dummy install-info; ac_word=$2 5446set dummy install-info; ac_word=$2
5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5447{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5119$as_echo_n "checking for $ac_word... " >&6; } 5448$as_echo_n "checking for $ac_word... " >&6; }
5120if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5449if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5121 $as_echo_n "(cached) " >&6 5450 $as_echo_n "(cached) " >&6
5122else 5451else
5123 case $INSTALL_INFO in 5452 case $INSTALL_INFO in
@@ -5130,14 +5459,14 @@ for as_dir in $PATH
5130do 5459do
5131 IFS=$as_save_IFS 5460 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=. 5461 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do 5462 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5464 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2 5466 break 2
5138 fi 5467 fi
5139done 5468done
5140 done 5469done
5141IFS=$as_save_IFS 5470IFS=$as_save_IFS
5142 5471
5143 ;; 5472 ;;
@@ -5145,19 +5474,19 @@ esac
5145fi 5474fi
5146INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5475INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5147if test -n "$INSTALL_INFO"; then 5476if test -n "$INSTALL_INFO"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 5477 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5149$as_echo "$INSTALL_INFO" >&6; } 5478$as_echo "$INSTALL_INFO" >&6; }
5150else 5479else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5480 { $as_echo "$as_me:$LINENO: result: no" >&5
5152$as_echo "no" >&6; } 5481$as_echo "no" >&6; }
5153fi 5482fi
5154 5483
5155 5484
5156# Extract the first word of "install-info", so it can be a program name with args. 5485# Extract the first word of "install-info", so it can be a program name with args.
5157set dummy install-info; ac_word=$2 5486set dummy install-info; ac_word=$2
5158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5487{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5159$as_echo_n "checking for $ac_word... " >&6; } 5488$as_echo_n "checking for $ac_word... " >&6; }
5160if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5489if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5161 $as_echo_n "(cached) " >&6 5490 $as_echo_n "(cached) " >&6
5162else 5491else
5163 case $INSTALL_INFO in 5492 case $INSTALL_INFO in
@@ -5170,14 +5499,14 @@ for as_dir in /usr/sbin
5170do 5499do
5171 IFS=$as_save_IFS 5500 IFS=$as_save_IFS
5172 test -z "$as_dir" && as_dir=. 5501 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do 5502 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5504 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5505 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 break 2 5506 break 2
5178 fi 5507 fi
5179done 5508done
5180 done 5509done
5181IFS=$as_save_IFS 5510IFS=$as_save_IFS
5182 5511
5183 ;; 5512 ;;
@@ -5185,19 +5514,19 @@ esac
5185fi 5514fi
5186INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5515INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5187if test -n "$INSTALL_INFO"; then 5516if test -n "$INSTALL_INFO"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 5517 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5189$as_echo "$INSTALL_INFO" >&6; } 5518$as_echo "$INSTALL_INFO" >&6; }
5190else 5519else
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5520 { $as_echo "$as_me:$LINENO: result: no" >&5
5192$as_echo "no" >&6; } 5521$as_echo "no" >&6; }
5193fi 5522fi
5194 5523
5195 5524
5196# Extract the first word of "install-info", so it can be a program name with args. 5525# Extract the first word of "install-info", so it can be a program name with args.
5197set dummy install-info; ac_word=$2 5526set dummy install-info; ac_word=$2
5198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5527{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5199$as_echo_n "checking for $ac_word... " >&6; } 5528$as_echo_n "checking for $ac_word... " >&6; }
5200if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : 5529if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5201 $as_echo_n "(cached) " >&6 5530 $as_echo_n "(cached) " >&6
5202else 5531else
5203 case $INSTALL_INFO in 5532 case $INSTALL_INFO in
@@ -5210,14 +5539,14 @@ for as_dir in /sbin
5210do 5539do
5211 IFS=$as_save_IFS 5540 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=. 5541 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do 5542 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5544 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5545 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2 5546 break 2
5218 fi 5547 fi
5219done 5548done
5220 done 5549done
5221IFS=$as_save_IFS 5550IFS=$as_save_IFS
5222 5551
5223 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" 5552 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":"
@@ -5226,19 +5555,19 @@ esac
5226fi 5555fi
5227INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5556INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5228if test -n "$INSTALL_INFO"; then 5557if test -n "$INSTALL_INFO"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 5558 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5230$as_echo "$INSTALL_INFO" >&6; } 5559$as_echo "$INSTALL_INFO" >&6; }
5231else 5560else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5561 { $as_echo "$as_me:$LINENO: result: no" >&5
5233$as_echo "no" >&6; } 5562$as_echo "no" >&6; }
5234fi 5563fi
5235 5564
5236 5565
5237# Extract the first word of "gzip", so it can be a program name with args. 5566# Extract the first word of "gzip", so it can be a program name with args.
5238set dummy gzip; ac_word=$2 5567set dummy gzip; ac_word=$2
5239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5568{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5240$as_echo_n "checking for $ac_word... " >&6; } 5569$as_echo_n "checking for $ac_word... " >&6; }
5241if test "${ac_cv_path_GZIP_PROG+set}" = set; then : 5570if test "${ac_cv_path_GZIP_PROG+set}" = set; then
5242 $as_echo_n "(cached) " >&6 5571 $as_echo_n "(cached) " >&6
5243else 5572else
5244 case $GZIP_PROG in 5573 case $GZIP_PROG in
@@ -5251,14 +5580,14 @@ for as_dir in $PATH
5251do 5580do
5252 IFS=$as_save_IFS 5581 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=. 5582 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do 5583 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5585 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2 5587 break 2
5259 fi 5588 fi
5260done 5589done
5261 done 5590done
5262IFS=$as_save_IFS 5591IFS=$as_save_IFS
5263 5592
5264 ;; 5593 ;;
@@ -5266,10 +5595,10 @@ esac
5266fi 5595fi
5267GZIP_PROG=$ac_cv_path_GZIP_PROG 5596GZIP_PROG=$ac_cv_path_GZIP_PROG
5268if test -n "$GZIP_PROG"; then 5597if test -n "$GZIP_PROG"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 5598 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
5270$as_echo "$GZIP_PROG" >&6; } 5599$as_echo "$GZIP_PROG" >&6; }
5271else 5600else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5601 { $as_echo "$as_me:$LINENO: result: no" >&5
5273$as_echo "no" >&6; } 5602$as_echo "no" >&6; }
5274fi 5603fi
5275 5604
@@ -5279,9 +5608,9 @@ fi
5279## Need makeinfo >= 4.6 (?) to build the manuals. 5608## Need makeinfo >= 4.6 (?) to build the manuals.
5280# Extract the first word of "makeinfo", so it can be a program name with args. 5609# Extract the first word of "makeinfo", so it can be a program name with args.
5281set dummy makeinfo; ac_word=$2 5610set dummy makeinfo; ac_word=$2
5282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5611{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5283$as_echo_n "checking for $ac_word... " >&6; } 5612$as_echo_n "checking for $ac_word... " >&6; }
5284if test "${ac_cv_path_MAKEINFO+set}" = set; then : 5613if test "${ac_cv_path_MAKEINFO+set}" = set; then
5285 $as_echo_n "(cached) " >&6 5614 $as_echo_n "(cached) " >&6
5286else 5615else
5287 case $MAKEINFO in 5616 case $MAKEINFO in
@@ -5294,14 +5623,14 @@ for as_dir in $PATH
5294do 5623do
5295 IFS=$as_save_IFS 5624 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=. 5625 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do 5626 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5299 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5628 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2 5630 break 2
5302 fi 5631 fi
5303done 5632done
5304 done 5633done
5305IFS=$as_save_IFS 5634IFS=$as_save_IFS
5306 5635
5307 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" 5636 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
@@ -5310,10 +5639,10 @@ esac
5310fi 5639fi
5311MAKEINFO=$ac_cv_path_MAKEINFO 5640MAKEINFO=$ac_cv_path_MAKEINFO
5312if test -n "$MAKEINFO"; then 5641if test -n "$MAKEINFO"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 5642 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5314$as_echo "$MAKEINFO" >&6; } 5643$as_echo "$MAKEINFO" >&6; }
5315else 5644else
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5645 { $as_echo "$as_me:$LINENO: result: no" >&5
5317$as_echo "no" >&6; } 5646$as_echo "no" >&6; }
5318fi 5647fi
5319 5648
@@ -5336,10 +5665,15 @@ if test "$MAKEINFO" = "no"; then
5336 if test "x${with_makeinfo}" = "xno"; then 5665 if test "x${with_makeinfo}" = "xno"; then
5337 MAKEINFO=off 5666 MAKEINFO=off
5338 elif test ! -e $srcdir/info/emacs; then 5667 elif test ! -e $srcdir/info/emacs; then
5339 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5668 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your
5669source tree does not seem to have pre-built manuals in the \`info' directory.
5670Either install a suitable version of makeinfo, or re-run configure
5671with the \`--without-makeinfo' option to build without the manuals. " >&5
5672$as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5340source tree does not seem to have pre-built manuals in the \`info' directory. 5673source tree does not seem to have pre-built manuals in the \`info' directory.
5341Either install a suitable version of makeinfo, or re-run configure 5674Either install a suitable version of makeinfo, or re-run configure
5342with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5675with the \`--without-makeinfo' option to build without the manuals. " >&2;}
5676 { (exit 1); exit 1; }; }
5343 fi 5677 fi
5344fi 5678fi
5345 5679
@@ -5362,26 +5696,50 @@ else
5362 LDFLAGS="$LDFLAGS -znocombreloc" 5696 LDFLAGS="$LDFLAGS -znocombreloc"
5363fi 5697fi
5364 5698
5365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 5699{ $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5
5366$as_echo_n "checking for -znocombreloc... " >&6; } 5700$as_echo_n "checking for -znocombreloc... " >&6; }
5367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5701cat >conftest.$ac_ext <<_ACEOF
5368/* end confdefs.h. */
5369main(){return 0;} 5702main(){return 0;}
5370_ACEOF 5703_ACEOF
5371if ac_fn_c_try_link "$LINENO"; then : 5704rm -f conftest.$ac_objext conftest$ac_exeext
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5705if { (ac_try="$ac_link"
5706case "(($ac_try" in
5707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5708 *) ac_try_echo=$ac_try;;
5709esac
5710eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5711$as_echo "$ac_try_echo") >&5
5712 (eval "$ac_link") 2>conftest.er1
5713 ac_status=$?
5714 grep -v '^ *+' conftest.er1 >conftest.err
5715 rm -f conftest.er1
5716 cat conftest.err >&5
5717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); } && {
5719 test -z "$ac_c_werror_flag" ||
5720 test ! -s conftest.err
5721 } && test -s conftest$ac_exeext && {
5722 test "$cross_compiling" = yes ||
5723 $as_test_x conftest$ac_exeext
5724 }; then
5725 { $as_echo "$as_me:$LINENO: result: yes" >&5
5373$as_echo "yes" >&6; } 5726$as_echo "yes" >&6; }
5374else 5727else
5375 LDFLAGS=$late_LDFLAGS 5728 $as_echo "$as_me: failed program was:" >&5
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5729sed 's/^/| /' conftest.$ac_ext >&5
5730
5731 LDFLAGS=$late_LDFLAGS
5732 { $as_echo "$as_me:$LINENO: result: no" >&5
5377$as_echo "no" >&6; } 5733$as_echo "no" >&6; }
5378fi 5734fi
5379rm -f core conftest.err conftest.$ac_objext \ 5735
5380 conftest$ac_exeext conftest.$ac_ext 5736rm -rf conftest.dSYM
5737rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5738 conftest$ac_exeext conftest.$ac_ext
5381 5739
5382#### Extract some information from the operating system and machine files. 5740#### Extract some information from the operating system and machine files.
5383 5741
5384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out 5742{ $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
5385 - which libraries the lib-src programs will want, and 5743 - which libraries the lib-src programs will want, and
5386 - whether the GNU malloc routines are usable..." >&5 5744 - whether the GNU malloc routines are usable..." >&5
5387$as_echo "$as_me: checking the machine- and system-dependent files to find out 5745$as_echo "$as_me: checking the machine- and system-dependent files to find out
@@ -5522,15 +5880,15 @@ fi
5522 5880
5523 5881
5524# Check whether --enable-largefile was given. 5882# Check whether --enable-largefile was given.
5525if test "${enable_largefile+set}" = set; then : 5883if test "${enable_largefile+set}" = set; then
5526 enableval=$enable_largefile; 5884 enableval=$enable_largefile;
5527fi 5885fi
5528 5886
5529if test "$enable_largefile" != no; then 5887if test "$enable_largefile" != no; then
5530 5888
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5889 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5532$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5890$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5533if test "${ac_cv_sys_largefile_CC+set}" = set; then : 5891if test "${ac_cv_sys_largefile_CC+set}" = set; then
5534 $as_echo_n "(cached) " >&6 5892 $as_echo_n "(cached) " >&6
5535else 5893else
5536 ac_cv_sys_largefile_CC=no 5894 ac_cv_sys_largefile_CC=no
@@ -5539,7 +5897,11 @@ else
5539 while :; do 5897 while :; do
5540 # IRIX 6.2 and later do not support large files by default, 5898 # IRIX 6.2 and later do not support large files by default,
5541 # so use the C compiler's -n32 option if that helps. 5899 # so use the C compiler's -n32 option if that helps.
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5900 cat >conftest.$ac_ext <<_ACEOF
5901/* confdefs.h. */
5902_ACEOF
5903cat confdefs.h >>conftest.$ac_ext
5904cat >>conftest.$ac_ext <<_ACEOF
5543/* end confdefs.h. */ 5905/* end confdefs.h. */
5544#include <sys/types.h> 5906#include <sys/types.h>
5545 /* Check that off_t can represent 2**63 - 1 correctly. 5907 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5558,14 +5920,60 @@ main ()
5558 return 0; 5920 return 0;
5559} 5921}
5560_ACEOF 5922_ACEOF
5561 if ac_fn_c_try_compile "$LINENO"; then : 5923 rm -f conftest.$ac_objext
5924if { (ac_try="$ac_compile"
5925case "(($ac_try" in
5926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5927 *) ac_try_echo=$ac_try;;
5928esac
5929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5930$as_echo "$ac_try_echo") >&5
5931 (eval "$ac_compile") 2>conftest.er1
5932 ac_status=$?
5933 grep -v '^ *+' conftest.er1 >conftest.err
5934 rm -f conftest.er1
5935 cat conftest.err >&5
5936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } && {
5938 test -z "$ac_c_werror_flag" ||
5939 test ! -s conftest.err
5940 } && test -s conftest.$ac_objext; then
5562 break 5941 break
5942else
5943 $as_echo "$as_me: failed program was:" >&5
5944sed 's/^/| /' conftest.$ac_ext >&5
5945
5946
5563fi 5947fi
5948
5564rm -f core conftest.err conftest.$ac_objext 5949rm -f core conftest.err conftest.$ac_objext
5565 CC="$CC -n32" 5950 CC="$CC -n32"
5566 if ac_fn_c_try_compile "$LINENO"; then : 5951 rm -f conftest.$ac_objext
5952if { (ac_try="$ac_compile"
5953case "(($ac_try" in
5954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5955 *) ac_try_echo=$ac_try;;
5956esac
5957eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5958$as_echo "$ac_try_echo") >&5
5959 (eval "$ac_compile") 2>conftest.er1
5960 ac_status=$?
5961 grep -v '^ *+' conftest.er1 >conftest.err
5962 rm -f conftest.er1
5963 cat conftest.err >&5
5964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_c_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest.$ac_objext; then
5567 ac_cv_sys_largefile_CC=' -n32'; break 5969 ac_cv_sys_largefile_CC=' -n32'; break
5970else
5971 $as_echo "$as_me: failed program was:" >&5
5972sed 's/^/| /' conftest.$ac_ext >&5
5973
5974
5568fi 5975fi
5976
5569rm -f core conftest.err conftest.$ac_objext 5977rm -f core conftest.err conftest.$ac_objext
5570 break 5978 break
5571 done 5979 done
@@ -5573,19 +5981,23 @@ rm -f core conftest.err conftest.$ac_objext
5573 rm -f conftest.$ac_ext 5981 rm -f conftest.$ac_ext
5574 fi 5982 fi
5575fi 5983fi
5576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 5984{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5577$as_echo "$ac_cv_sys_largefile_CC" >&6; } 5985$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5578 if test "$ac_cv_sys_largefile_CC" != no; then 5986 if test "$ac_cv_sys_largefile_CC" != no; then
5579 CC=$CC$ac_cv_sys_largefile_CC 5987 CC=$CC$ac_cv_sys_largefile_CC
5580 fi 5988 fi
5581 5989
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5990 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5583$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5991$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5584if test "${ac_cv_sys_file_offset_bits+set}" = set; then : 5992if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5585 $as_echo_n "(cached) " >&6 5993 $as_echo_n "(cached) " >&6
5586else 5994else
5587 while :; do 5995 while :; do
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5996 cat >conftest.$ac_ext <<_ACEOF
5997/* confdefs.h. */
5998_ACEOF
5999cat confdefs.h >>conftest.$ac_ext
6000cat >>conftest.$ac_ext <<_ACEOF
5589/* end confdefs.h. */ 6001/* end confdefs.h. */
5590#include <sys/types.h> 6002#include <sys/types.h>
5591 /* Check that off_t can represent 2**63 - 1 correctly. 6003 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5604,11 +6016,38 @@ main ()
5604 return 0; 6016 return 0;
5605} 6017}
5606_ACEOF 6018_ACEOF
5607if ac_fn_c_try_compile "$LINENO"; then : 6019rm -f conftest.$ac_objext
6020if { (ac_try="$ac_compile"
6021case "(($ac_try" in
6022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6023 *) ac_try_echo=$ac_try;;
6024esac
6025eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6026$as_echo "$ac_try_echo") >&5
6027 (eval "$ac_compile") 2>conftest.er1
6028 ac_status=$?
6029 grep -v '^ *+' conftest.er1 >conftest.err
6030 rm -f conftest.er1
6031 cat conftest.err >&5
6032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); } && {
6034 test -z "$ac_c_werror_flag" ||
6035 test ! -s conftest.err
6036 } && test -s conftest.$ac_objext; then
5608 ac_cv_sys_file_offset_bits=no; break 6037 ac_cv_sys_file_offset_bits=no; break
6038else
6039 $as_echo "$as_me: failed program was:" >&5
6040sed 's/^/| /' conftest.$ac_ext >&5
6041
6042
5609fi 6043fi
6044
5610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6046 cat >conftest.$ac_ext <<_ACEOF
6047/* confdefs.h. */
6048_ACEOF
6049cat confdefs.h >>conftest.$ac_ext
6050cat >>conftest.$ac_ext <<_ACEOF
5612/* end confdefs.h. */ 6051/* end confdefs.h. */
5613#define _FILE_OFFSET_BITS 64 6052#define _FILE_OFFSET_BITS 64
5614#include <sys/types.h> 6053#include <sys/types.h>
@@ -5628,15 +6067,38 @@ main ()
5628 return 0; 6067 return 0;
5629} 6068}
5630_ACEOF 6069_ACEOF
5631if ac_fn_c_try_compile "$LINENO"; then : 6070rm -f conftest.$ac_objext
6071if { (ac_try="$ac_compile"
6072case "(($ac_try" in
6073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6074 *) ac_try_echo=$ac_try;;
6075esac
6076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6077$as_echo "$ac_try_echo") >&5
6078 (eval "$ac_compile") 2>conftest.er1
6079 ac_status=$?
6080 grep -v '^ *+' conftest.er1 >conftest.err
6081 rm -f conftest.er1
6082 cat conftest.err >&5
6083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } && {
6085 test -z "$ac_c_werror_flag" ||
6086 test ! -s conftest.err
6087 } && test -s conftest.$ac_objext; then
5632 ac_cv_sys_file_offset_bits=64; break 6088 ac_cv_sys_file_offset_bits=64; break
6089else
6090 $as_echo "$as_me: failed program was:" >&5
6091sed 's/^/| /' conftest.$ac_ext >&5
6092
6093
5633fi 6094fi
6095
5634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5635 ac_cv_sys_file_offset_bits=unknown 6097 ac_cv_sys_file_offset_bits=unknown
5636 break 6098 break
5637done 6099done
5638fi 6100fi
5639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 6101{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5640$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 6102$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5641case $ac_cv_sys_file_offset_bits in #( 6103case $ac_cv_sys_file_offset_bits in #(
5642 no | unknown) ;; 6104 no | unknown) ;;
@@ -5648,13 +6110,17 @@ _ACEOF
5648esac 6110esac
5649rm -rf conftest* 6111rm -rf conftest*
5650 if test $ac_cv_sys_file_offset_bits = unknown; then 6112 if test $ac_cv_sys_file_offset_bits = unknown; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 6113 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5652$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 6114$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5653if test "${ac_cv_sys_large_files+set}" = set; then : 6115if test "${ac_cv_sys_large_files+set}" = set; then
5654 $as_echo_n "(cached) " >&6 6116 $as_echo_n "(cached) " >&6
5655else 6117else
5656 while :; do 6118 while :; do
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6119 cat >conftest.$ac_ext <<_ACEOF
6120/* confdefs.h. */
6121_ACEOF
6122cat confdefs.h >>conftest.$ac_ext
6123cat >>conftest.$ac_ext <<_ACEOF
5658/* end confdefs.h. */ 6124/* end confdefs.h. */
5659#include <sys/types.h> 6125#include <sys/types.h>
5660 /* Check that off_t can represent 2**63 - 1 correctly. 6126 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5673,11 +6139,38 @@ main ()
5673 return 0; 6139 return 0;
5674} 6140}
5675_ACEOF 6141_ACEOF
5676if ac_fn_c_try_compile "$LINENO"; then : 6142rm -f conftest.$ac_objext
6143if { (ac_try="$ac_compile"
6144case "(($ac_try" in
6145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6146 *) ac_try_echo=$ac_try;;
6147esac
6148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6149$as_echo "$ac_try_echo") >&5
6150 (eval "$ac_compile") 2>conftest.er1
6151 ac_status=$?
6152 grep -v '^ *+' conftest.er1 >conftest.err
6153 rm -f conftest.er1
6154 cat conftest.err >&5
6155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } && {
6157 test -z "$ac_c_werror_flag" ||
6158 test ! -s conftest.err
6159 } && test -s conftest.$ac_objext; then
5677 ac_cv_sys_large_files=no; break 6160 ac_cv_sys_large_files=no; break
6161else
6162 $as_echo "$as_me: failed program was:" >&5
6163sed 's/^/| /' conftest.$ac_ext >&5
6164
6165
5678fi 6166fi
6167
5679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6169 cat >conftest.$ac_ext <<_ACEOF
6170/* confdefs.h. */
6171_ACEOF
6172cat confdefs.h >>conftest.$ac_ext
6173cat >>conftest.$ac_ext <<_ACEOF
5681/* end confdefs.h. */ 6174/* end confdefs.h. */
5682#define _LARGE_FILES 1 6175#define _LARGE_FILES 1
5683#include <sys/types.h> 6176#include <sys/types.h>
@@ -5697,15 +6190,38 @@ main ()
5697 return 0; 6190 return 0;
5698} 6191}
5699_ACEOF 6192_ACEOF
5700if ac_fn_c_try_compile "$LINENO"; then : 6193rm -f conftest.$ac_objext
6194if { (ac_try="$ac_compile"
6195case "(($ac_try" in
6196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6197 *) ac_try_echo=$ac_try;;
6198esac
6199eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6200$as_echo "$ac_try_echo") >&5
6201 (eval "$ac_compile") 2>conftest.er1
6202 ac_status=$?
6203 grep -v '^ *+' conftest.er1 >conftest.err
6204 rm -f conftest.er1
6205 cat conftest.err >&5
6206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } && {
6208 test -z "$ac_c_werror_flag" ||
6209 test ! -s conftest.err
6210 } && test -s conftest.$ac_objext; then
5701 ac_cv_sys_large_files=1; break 6211 ac_cv_sys_large_files=1; break
6212else
6213 $as_echo "$as_me: failed program was:" >&5
6214sed 's/^/| /' conftest.$ac_ext >&5
6215
6216
5702fi 6217fi
6218
5703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5704 ac_cv_sys_large_files=unknown 6220 ac_cv_sys_large_files=unknown
5705 break 6221 break
5706done 6222done
5707fi 6223fi
5708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 6224{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5709$as_echo "$ac_cv_sys_large_files" >&6; } 6225$as_echo "$ac_cv_sys_large_files" >&6; }
5710case $ac_cv_sys_large_files in #( 6226case $ac_cv_sys_large_files in #(
5711 no | unknown) ;; 6227 no | unknown) ;;
@@ -5721,30 +6237,178 @@ fi
5721 6237
5722 6238
5723 6239
5724### The standard library on x86-64 and s390x GNU/Linux distributions can 6240## Note: at present CRT_DIR is only used for amdx86-64 and ibms390x.
5725### be located in either /usr/lib64 or /usr/lib. 6241## Other machine types hard-code the location in src/[ms]/*.h.
5726### In some rare cases, /usr/lib64 exists but does not contain the
5727### relevant files (bug#1287). Hence test for crtn.o.
5728case "${canonical}" in 6242case "${canonical}" in
5729 x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) 6243 x86_64-*-linux-gnu* | s390x-*-linux-gnu* )
5730 if test -e /usr/lib64/crtn.o; then
5731 6244
5732$as_echo "#define HAVE_LIB64_DIR 1" >>confdefs.h 6245 ## On x86-64 and s390x GNU/Linux distributions, the standard library
6246 ## can be in a variety of places. We only try /usr/lib64 and /usr/lib.
6247 ## For anything else (eg /usr/lib32), it is up the user to specify
6248 ## the location (bug#5655).
6249 ## Test for crtn.o, not just the directory, because sometimes the
6250 ## directory exists but does not have the relevant files (bug#1287).
6251 ## If user specified a crt-dir, use that unconditionally.
6252 if test "X$CRT_DIR" = "X"; then
6253 CRT_DIR=/usr/lib
6254 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64
6255 fi
6256
6257 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
6258 { { $as_echo "$as_me:$LINENO: error: crt*.o not found. Use --with-crt-dir to specify the location." >&5
6259$as_echo "$as_me: error: crt*.o not found. Use --with-crt-dir to specify the location." >&2;}
6260 { (exit 1); exit 1; }; }
6261 ;;
5733 6262
5734fi
5735esac 6263esac
6264test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
6265
6266
5736 6267
5737 6268
5738 6269
5739 6270
5740if test "${with_sound}" != "no"; then 6271if test "${with_sound}" != "no"; then
5741 # Sound support for GNU/Linux and the free BSDs. 6272 # Sound support for GNU/Linux and the free BSDs.
5742 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6273
5743do : 6274
5744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6275
5745ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6276for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5746eval as_val=\$$as_ac_Header 6277do
5747 if test "x$as_val" = x""yes; then : 6278as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6279if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6280 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6281$as_echo_n "checking for $ac_header... " >&6; }
6282if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6283 $as_echo_n "(cached) " >&6
6284fi
6285ac_res=`eval 'as_val=${'$as_ac_Header'}
6286 $as_echo "$as_val"'`
6287 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6288$as_echo "$ac_res" >&6; }
6289else
6290 # Is the header compilable?
6291{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6292$as_echo_n "checking $ac_header usability... " >&6; }
6293cat >conftest.$ac_ext <<_ACEOF
6294/* confdefs.h. */
6295_ACEOF
6296cat confdefs.h >>conftest.$ac_ext
6297cat >>conftest.$ac_ext <<_ACEOF
6298/* end confdefs.h. */
6299$ac_includes_default
6300#include <$ac_header>
6301_ACEOF
6302rm -f conftest.$ac_objext
6303if { (ac_try="$ac_compile"
6304case "(($ac_try" in
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306 *) ac_try_echo=$ac_try;;
6307esac
6308eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6309$as_echo "$ac_try_echo") >&5
6310 (eval "$ac_compile") 2>conftest.er1
6311 ac_status=$?
6312 grep -v '^ *+' conftest.er1 >conftest.err
6313 rm -f conftest.er1
6314 cat conftest.err >&5
6315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); } && {
6317 test -z "$ac_c_werror_flag" ||
6318 test ! -s conftest.err
6319 } && test -s conftest.$ac_objext; then
6320 ac_header_compiler=yes
6321else
6322 $as_echo "$as_me: failed program was:" >&5
6323sed 's/^/| /' conftest.$ac_ext >&5
6324
6325 ac_header_compiler=no
6326fi
6327
6328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6329{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6330$as_echo "$ac_header_compiler" >&6; }
6331
6332# Is the header present?
6333{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6334$as_echo_n "checking $ac_header presence... " >&6; }
6335cat >conftest.$ac_ext <<_ACEOF
6336/* confdefs.h. */
6337_ACEOF
6338cat confdefs.h >>conftest.$ac_ext
6339cat >>conftest.$ac_ext <<_ACEOF
6340/* end confdefs.h. */
6341#include <$ac_header>
6342_ACEOF
6343if { (ac_try="$ac_cpp conftest.$ac_ext"
6344case "(($ac_try" in
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6347esac
6348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6349$as_echo "$ac_try_echo") >&5
6350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6351 ac_status=$?
6352 grep -v '^ *+' conftest.er1 >conftest.err
6353 rm -f conftest.er1
6354 cat conftest.err >&5
6355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } >/dev/null && {
6357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6358 test ! -s conftest.err
6359 }; then
6360 ac_header_preproc=yes
6361else
6362 $as_echo "$as_me: failed program was:" >&5
6363sed 's/^/| /' conftest.$ac_ext >&5
6364
6365 ac_header_preproc=no
6366fi
6367
6368rm -f conftest.err conftest.$ac_ext
6369{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6370$as_echo "$ac_header_preproc" >&6; }
6371
6372# So? What about this header?
6373case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6374 yes:no: )
6375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6376$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6378$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6379 ac_header_preproc=yes
6380 ;;
6381 no:yes:* )
6382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6383$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6385$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6387$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6389$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6391$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6393$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6394
6395 ;;
6396esac
6397{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6398$as_echo_n "checking for $ac_header... " >&6; }
6399if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6400 $as_echo_n "(cached) " >&6
6401else
6402 eval "$as_ac_Header=\$ac_header_preproc"
6403fi
6404ac_res=`eval 'as_val=${'$as_ac_Header'}
6405 $as_echo "$as_val"'`
6406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6407$as_echo "$ac_res" >&6; }
6408
6409fi
6410if test `eval 'as_val=${'$as_ac_Header'}
6411 $as_echo "$as_val"'` = yes; then
5748 cat >>confdefs.h <<_ACEOF 6412 cat >>confdefs.h <<_ACEOF
5749#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6413#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5750_ACEOF 6414_ACEOF
@@ -5754,14 +6418,18 @@ fi
5754done 6418done
5755 6419
5756 # Emulation library used on NetBSD. 6420 # Emulation library used on NetBSD.
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 6421 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5758$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 6422$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5759if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 6423if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5760 $as_echo_n "(cached) " >&6 6424 $as_echo_n "(cached) " >&6
5761else 6425else
5762 ac_check_lib_save_LIBS=$LIBS 6426 ac_check_lib_save_LIBS=$LIBS
5763LIBS="-lossaudio $LIBS" 6427LIBS="-lossaudio $LIBS"
5764cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6428cat >conftest.$ac_ext <<_ACEOF
6429/* confdefs.h. */
6430_ACEOF
6431cat confdefs.h >>conftest.$ac_ext
6432cat >>conftest.$ac_ext <<_ACEOF
5765/* end confdefs.h. */ 6433/* end confdefs.h. */
5766 6434
5767/* Override any GCC internal prototype to avoid an error. 6435/* Override any GCC internal prototype to avoid an error.
@@ -5779,18 +6447,43 @@ return _oss_ioctl ();
5779 return 0; 6447 return 0;
5780} 6448}
5781_ACEOF 6449_ACEOF
5782if ac_fn_c_try_link "$LINENO"; then : 6450rm -f conftest.$ac_objext conftest$ac_exeext
6451if { (ac_try="$ac_link"
6452case "(($ac_try" in
6453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6454 *) ac_try_echo=$ac_try;;
6455esac
6456eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6457$as_echo "$ac_try_echo") >&5
6458 (eval "$ac_link") 2>conftest.er1
6459 ac_status=$?
6460 grep -v '^ *+' conftest.er1 >conftest.err
6461 rm -f conftest.er1
6462 cat conftest.err >&5
6463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); } && {
6465 test -z "$ac_c_werror_flag" ||
6466 test ! -s conftest.err
6467 } && test -s conftest$ac_exeext && {
6468 test "$cross_compiling" = yes ||
6469 $as_test_x conftest$ac_exeext
6470 }; then
5783 ac_cv_lib_ossaudio__oss_ioctl=yes 6471 ac_cv_lib_ossaudio__oss_ioctl=yes
5784else 6472else
5785 ac_cv_lib_ossaudio__oss_ioctl=no 6473 $as_echo "$as_me: failed program was:" >&5
6474sed 's/^/| /' conftest.$ac_ext >&5
6475
6476 ac_cv_lib_ossaudio__oss_ioctl=no
5786fi 6477fi
5787rm -f core conftest.err conftest.$ac_objext \ 6478
5788 conftest$ac_exeext conftest.$ac_ext 6479rm -rf conftest.dSYM
6480rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6481 conftest$ac_exeext conftest.$ac_ext
5789LIBS=$ac_check_lib_save_LIBS 6482LIBS=$ac_check_lib_save_LIBS
5790fi 6483fi
5791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6484{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5792$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6485$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5793if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 6486if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5794 LIBSOUND=-lossaudio 6487 LIBSOUND=-lossaudio
5795else 6488else
5796 LIBSOUND= 6489 LIBSOUND=
@@ -5805,9 +6498,9 @@ fi
5805 6498
5806 # Extract the first word of "pkg-config", so it can be a program name with args. 6499 # Extract the first word of "pkg-config", so it can be a program name with args.
5807set dummy pkg-config; ac_word=$2 6500set dummy pkg-config; ac_word=$2
5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6501{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5809$as_echo_n "checking for $ac_word... " >&6; } 6502$as_echo_n "checking for $ac_word... " >&6; }
5810if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 6503if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5811 $as_echo_n "(cached) " >&6 6504 $as_echo_n "(cached) " >&6
5812else 6505else
5813 case $PKG_CONFIG in 6506 case $PKG_CONFIG in
@@ -5820,14 +6513,14 @@ for as_dir in $PATH
5820do 6513do
5821 IFS=$as_save_IFS 6514 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=. 6515 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do 6516 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6518 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2 6520 break 2
5828 fi 6521 fi
5829done 6522done
5830 done 6523done
5831IFS=$as_save_IFS 6524IFS=$as_save_IFS
5832 6525
5833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 6526 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -5836,10 +6529,10 @@ esac
5836fi 6529fi
5837PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6530PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5838if test -n "$PKG_CONFIG"; then 6531if test -n "$PKG_CONFIG"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6532 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5840$as_echo "$PKG_CONFIG" >&6; } 6533$as_echo "$PKG_CONFIG" >&6; }
5841else 6534else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6535 { $as_echo "$as_me:$LINENO: result: no" >&5
5843$as_echo "no" >&6; } 6536$as_echo "no" >&6; }
5844fi 6537fi
5845 6538
@@ -5850,27 +6543,27 @@ fi
5850 else 6543 else
5851 PKG_CONFIG_MIN_VERSION=0.9.0 6544 PKG_CONFIG_MIN_VERSION=0.9.0
5852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6545 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 6546 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
5854$as_echo_n "checking for $ALSA_MODULES... " >&6; } 6547$as_echo_n "checking for $ALSA_MODULES... " >&6; }
5855 6548
5856 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6549 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6550 { $as_echo "$as_me:$LINENO: result: yes" >&5
5858$as_echo "yes" >&6; } 6551$as_echo "yes" >&6; }
5859 succeeded=yes 6552 succeeded=yes
5860 6553
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 6554 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
5862$as_echo_n "checking ALSA_CFLAGS... " >&6; } 6555$as_echo_n "checking ALSA_CFLAGS... " >&6; }
5863 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6556 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 6557 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
5865$as_echo "$ALSA_CFLAGS" >&6; } 6558$as_echo "$ALSA_CFLAGS" >&6; }
5866 6559
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 6560 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
5868$as_echo_n "checking ALSA_LIBS... " >&6; } 6561$as_echo_n "checking ALSA_LIBS... " >&6; }
5869 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6562 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 6563 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
5871$as_echo "$ALSA_LIBS" >&6; } 6564$as_echo "$ALSA_LIBS" >&6; }
5872 else 6565 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6566 { $as_echo "$as_me:$LINENO: result: no" >&5
5874$as_echo "no" >&6; } 6567$as_echo "no" >&6; }
5875 ALSA_CFLAGS="" 6568 ALSA_CFLAGS=""
5876 ALSA_LIBS="" 6569 ALSA_LIBS=""
@@ -5899,7 +6592,11 @@ $as_echo "no" >&6; }
5899 SAVE_LDFLAGS="$LDFLAGS" 6592 SAVE_LDFLAGS="$LDFLAGS"
5900 CFLAGS="$ALSA_CFLAGS $CFLAGS" 6593 CFLAGS="$ALSA_CFLAGS $CFLAGS"
5901 LDFLAGS="$ALSA_LIBS $LDFLAGS" 6594 LDFLAGS="$ALSA_LIBS $LDFLAGS"
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6595 cat >conftest.$ac_ext <<_ACEOF
6596/* confdefs.h. */
6597_ACEOF
6598cat confdefs.h >>conftest.$ac_ext
6599cat >>conftest.$ac_ext <<_ACEOF
5903/* end confdefs.h. */ 6600/* end confdefs.h. */
5904#include <asoundlib.h> 6601#include <asoundlib.h>
5905int 6602int
@@ -5910,14 +6607,39 @@ snd_lib_error_set_handler (0);
5910 return 0; 6607 return 0;
5911} 6608}
5912_ACEOF 6609_ACEOF
5913if ac_fn_c_try_compile "$LINENO"; then : 6610rm -f conftest.$ac_objext
6611if { (ac_try="$ac_compile"
6612case "(($ac_try" in
6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614 *) ac_try_echo=$ac_try;;
6615esac
6616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6617$as_echo "$ac_try_echo") >&5
6618 (eval "$ac_compile") 2>conftest.er1
6619 ac_status=$?
6620 grep -v '^ *+' conftest.er1 >conftest.err
6621 rm -f conftest.er1
6622 cat conftest.err >&5
6623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } && {
6625 test -z "$ac_c_werror_flag" ||
6626 test ! -s conftest.err
6627 } && test -s conftest.$ac_objext; then
5914 emacs_alsa_normal=yes 6628 emacs_alsa_normal=yes
5915else 6629else
5916 emacs_alsa_normal=no 6630 $as_echo "$as_me: failed program was:" >&5
6631sed 's/^/| /' conftest.$ac_ext >&5
6632
6633 emacs_alsa_normal=no
5917fi 6634fi
6635
5918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5919 if test "$emacs_alsa_normal" != yes; then 6637 if test "$emacs_alsa_normal" != yes; then
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6638 cat >conftest.$ac_ext <<_ACEOF
6639/* confdefs.h. */
6640_ACEOF
6641cat confdefs.h >>conftest.$ac_ext
6642cat >>conftest.$ac_ext <<_ACEOF
5921/* end confdefs.h. */ 6643/* end confdefs.h. */
5922#include <alsa/asoundlib.h> 6644#include <alsa/asoundlib.h>
5923int 6645int
@@ -5928,14 +6650,37 @@ snd_lib_error_set_handler (0);
5928 return 0; 6650 return 0;
5929} 6651}
5930_ACEOF 6652_ACEOF
5931if ac_fn_c_try_compile "$LINENO"; then : 6653rm -f conftest.$ac_objext
6654if { (ac_try="$ac_compile"
6655case "(($ac_try" in
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6658esac
6659eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6660$as_echo "$ac_try_echo") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6662 ac_status=$?
6663 grep -v '^ *+' conftest.er1 >conftest.err
6664 rm -f conftest.er1
6665 cat conftest.err >&5
6666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.$ac_objext; then
5932 emacs_alsa_subdir=yes 6671 emacs_alsa_subdir=yes
5933else 6672else
5934 emacs_alsa_subdir=no 6673 $as_echo "$as_me: failed program was:" >&5
6674sed 's/^/| /' conftest.$ac_ext >&5
6675
6676 emacs_alsa_subdir=no
5935fi 6677fi
6678
5936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5937 if test "$emacs_alsa_subdir" != yes; then 6680 if test "$emacs_alsa_subdir" != yes; then
5938 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6681 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5
6682$as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6683 { (exit 1); exit 1; }; }
5939 fi 6684 fi
5940 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6685 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
5941 fi 6686 fi
@@ -5945,22 +6690,179 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 LIBSOUND="$LIBSOUND $ALSA_LIBS" 6690 LIBSOUND="$LIBSOUND $ALSA_LIBS"
5946 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" 6691 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
5947 6692
5948$as_echo "#define HAVE_ALSA 1" >>confdefs.h 6693cat >>confdefs.h <<\_ACEOF
6694#define HAVE_ALSA 1
6695_ACEOF
5949 6696
5950 fi 6697 fi
5951 6698
5952fi 6699fi
5953 6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
5954for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 6726for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
5955 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6727 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
5956 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6728 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
5957 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6729 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
5958 sys/utsname.h pwd.h utmp.h 6730 sys/utsname.h pwd.h utmp.h
5959do : 6731do
5960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6732as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5961ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6733if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5962eval as_val=\$$as_ac_Header 6734 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5963 if test "x$as_val" = x""yes; then : 6735$as_echo_n "checking for $ac_header... " >&6; }
6736if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6737 $as_echo_n "(cached) " >&6
6738fi
6739ac_res=`eval 'as_val=${'$as_ac_Header'}
6740 $as_echo "$as_val"'`
6741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6742$as_echo "$ac_res" >&6; }
6743else
6744 # Is the header compilable?
6745{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6746$as_echo_n "checking $ac_header usability... " >&6; }
6747cat >conftest.$ac_ext <<_ACEOF
6748/* confdefs.h. */
6749_ACEOF
6750cat confdefs.h >>conftest.$ac_ext
6751cat >>conftest.$ac_ext <<_ACEOF
6752/* end confdefs.h. */
6753$ac_includes_default
6754#include <$ac_header>
6755_ACEOF
6756rm -f conftest.$ac_objext
6757if { (ac_try="$ac_compile"
6758case "(($ac_try" in
6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6760 *) ac_try_echo=$ac_try;;
6761esac
6762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6763$as_echo "$ac_try_echo") >&5
6764 (eval "$ac_compile") 2>conftest.er1
6765 ac_status=$?
6766 grep -v '^ *+' conftest.er1 >conftest.err
6767 rm -f conftest.er1
6768 cat conftest.err >&5
6769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } && {
6771 test -z "$ac_c_werror_flag" ||
6772 test ! -s conftest.err
6773 } && test -s conftest.$ac_objext; then
6774 ac_header_compiler=yes
6775else
6776 $as_echo "$as_me: failed program was:" >&5
6777sed 's/^/| /' conftest.$ac_ext >&5
6778
6779 ac_header_compiler=no
6780fi
6781
6782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6783{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6784$as_echo "$ac_header_compiler" >&6; }
6785
6786# Is the header present?
6787{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6788$as_echo_n "checking $ac_header presence... " >&6; }
6789cat >conftest.$ac_ext <<_ACEOF
6790/* confdefs.h. */
6791_ACEOF
6792cat confdefs.h >>conftest.$ac_ext
6793cat >>conftest.$ac_ext <<_ACEOF
6794/* end confdefs.h. */
6795#include <$ac_header>
6796_ACEOF
6797if { (ac_try="$ac_cpp conftest.$ac_ext"
6798case "(($ac_try" in
6799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6800 *) ac_try_echo=$ac_try;;
6801esac
6802eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6803$as_echo "$ac_try_echo") >&5
6804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6805 ac_status=$?
6806 grep -v '^ *+' conftest.er1 >conftest.err
6807 rm -f conftest.er1
6808 cat conftest.err >&5
6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } >/dev/null && {
6811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6812 test ! -s conftest.err
6813 }; then
6814 ac_header_preproc=yes
6815else
6816 $as_echo "$as_me: failed program was:" >&5
6817sed 's/^/| /' conftest.$ac_ext >&5
6818
6819 ac_header_preproc=no
6820fi
6821
6822rm -f conftest.err conftest.$ac_ext
6823{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6824$as_echo "$ac_header_preproc" >&6; }
6825
6826# So? What about this header?
6827case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6828 yes:no: )
6829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6830$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6832$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6833 ac_header_preproc=yes
6834 ;;
6835 no:yes:* )
6836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6837$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6839$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6841$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6843$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6844 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6845$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6847$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6848
6849 ;;
6850esac
6851{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6852$as_echo_n "checking for $ac_header... " >&6; }
6853if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6854 $as_echo_n "(cached) " >&6
6855else
6856 eval "$as_ac_Header=\$ac_header_preproc"
6857fi
6858ac_res=`eval 'as_val=${'$as_ac_Header'}
6859 $as_echo "$as_val"'`
6860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6861$as_echo "$ac_res" >&6; }
6862
6863fi
6864if test `eval 'as_val=${'$as_ac_Header'}
6865 $as_echo "$as_val"'` = yes; then
5964 cat >>confdefs.h <<_ACEOF 6866 cat >>confdefs.h <<_ACEOF
5965#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6867#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5966_ACEOF 6868_ACEOF
@@ -5970,9 +6872,13 @@ fi
5970done 6872done
5971 6873
5972 6874
5973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 6875{ $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5974$as_echo_n "checking if personality LINUX32 can be set... " >&6; } 6876$as_echo_n "checking if personality LINUX32 can be set... " >&6; }
5975cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6877cat >conftest.$ac_ext <<_ACEOF
6878/* confdefs.h. */
6879_ACEOF
6880cat confdefs.h >>conftest.$ac_ext
6881cat >>conftest.$ac_ext <<_ACEOF
5976/* end confdefs.h. */ 6882/* end confdefs.h. */
5977#include <sys/personality.h> 6883#include <sys/personality.h>
5978int 6884int
@@ -5983,39 +6889,112 @@ personality (PER_LINUX32)
5983 return 0; 6889 return 0;
5984} 6890}
5985_ACEOF 6891_ACEOF
5986if ac_fn_c_try_compile "$LINENO"; then : 6892rm -f conftest.$ac_objext
6893if { (ac_try="$ac_compile"
6894case "(($ac_try" in
6895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6896 *) ac_try_echo=$ac_try;;
6897esac
6898eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6899$as_echo "$ac_try_echo") >&5
6900 (eval "$ac_compile") 2>conftest.er1
6901 ac_status=$?
6902 grep -v '^ *+' conftest.er1 >conftest.err
6903 rm -f conftest.er1
6904 cat conftest.err >&5
6905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } && {
6907 test -z "$ac_c_werror_flag" ||
6908 test ! -s conftest.err
6909 } && test -s conftest.$ac_objext; then
5987 emacs_cv_personality_linux32=yes 6910 emacs_cv_personality_linux32=yes
5988else 6911else
5989 emacs_cv_personality_linux32=no 6912 $as_echo "$as_me: failed program was:" >&5
6913sed 's/^/| /' conftest.$ac_ext >&5
6914
6915 emacs_cv_personality_linux32=no
5990fi 6916fi
6917
5991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 6919{ $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
5993$as_echo "$emacs_cv_personality_linux32" >&6; } 6920$as_echo "$emacs_cv_personality_linux32" >&6; }
5994 6921
5995if test $emacs_cv_personality_linux32 = yes; then 6922if test $emacs_cv_personality_linux32 = yes; then
5996 6923
5997$as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h 6924cat >>confdefs.h <<\_ACEOF
6925#define HAVE_PERSONALITY_LINUX32 1
6926_ACEOF
5998 6927
5999fi 6928fi
6000 6929
6930
6001for ac_header in term.h 6931for ac_header in term.h
6002do : 6932do
6003 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" 6933as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6004if test "x$ac_cv_header_term_h" = x""yes; then : 6934{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6935$as_echo_n "checking for $ac_header... " >&6; }
6936if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937 $as_echo_n "(cached) " >&6
6938else
6939 cat >conftest.$ac_ext <<_ACEOF
6940/* confdefs.h. */
6941_ACEOF
6942cat confdefs.h >>conftest.$ac_ext
6943cat >>conftest.$ac_ext <<_ACEOF
6944/* end confdefs.h. */
6945#include <$ac_header>
6946_ACEOF
6947if { (ac_try="$ac_cpp conftest.$ac_ext"
6948case "(($ac_try" in
6949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6950 *) ac_try_echo=$ac_try;;
6951esac
6952eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6953$as_echo "$ac_try_echo") >&5
6954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6955 ac_status=$?
6956 grep -v '^ *+' conftest.er1 >conftest.err
6957 rm -f conftest.er1
6958 cat conftest.err >&5
6959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); } >/dev/null && {
6961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6962 test ! -s conftest.err
6963 }; then
6964 eval "$as_ac_Header=yes"
6965else
6966 $as_echo "$as_me: failed program was:" >&5
6967sed 's/^/| /' conftest.$ac_ext >&5
6968
6969 eval "$as_ac_Header=no"
6970fi
6971
6972rm -f conftest.err conftest.$ac_ext
6973fi
6974ac_res=`eval 'as_val=${'$as_ac_Header'}
6975 $as_echo "$as_val"'`
6976 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6977$as_echo "$ac_res" >&6; }
6978if test `eval 'as_val=${'$as_ac_Header'}
6979 $as_echo "$as_val"'` = yes; then
6005 cat >>confdefs.h <<_ACEOF 6980 cat >>confdefs.h <<_ACEOF
6006#define HAVE_TERM_H 1 6981#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6007_ACEOF 6982_ACEOF
6008 6983
6009fi 6984fi
6010 6985
6011done 6986done
6012 6987
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6988{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6014$as_echo_n "checking for ANSI C header files... " >&6; } 6989$as_echo_n "checking for ANSI C header files... " >&6; }
6015if test "${ac_cv_header_stdc+set}" = set; then : 6990if test "${ac_cv_header_stdc+set}" = set; then
6016 $as_echo_n "(cached) " >&6 6991 $as_echo_n "(cached) " >&6
6017else 6992else
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6993 cat >conftest.$ac_ext <<_ACEOF
6994/* confdefs.h. */
6995_ACEOF
6996cat confdefs.h >>conftest.$ac_ext
6997cat >>conftest.$ac_ext <<_ACEOF
6019/* end confdefs.h. */ 6998/* end confdefs.h. */
6020#include <stdlib.h> 6999#include <stdlib.h>
6021#include <stdarg.h> 7000#include <stdarg.h>
@@ -6030,23 +7009,48 @@ main ()
6030 return 0; 7009 return 0;
6031} 7010}
6032_ACEOF 7011_ACEOF
6033if ac_fn_c_try_compile "$LINENO"; then : 7012rm -f conftest.$ac_objext
7013if { (ac_try="$ac_compile"
7014case "(($ac_try" in
7015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7016 *) ac_try_echo=$ac_try;;
7017esac
7018eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7019$as_echo "$ac_try_echo") >&5
7020 (eval "$ac_compile") 2>conftest.er1
7021 ac_status=$?
7022 grep -v '^ *+' conftest.er1 >conftest.err
7023 rm -f conftest.er1
7024 cat conftest.err >&5
7025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } && {
7027 test -z "$ac_c_werror_flag" ||
7028 test ! -s conftest.err
7029 } && test -s conftest.$ac_objext; then
6034 ac_cv_header_stdc=yes 7030 ac_cv_header_stdc=yes
6035else 7031else
6036 ac_cv_header_stdc=no 7032 $as_echo "$as_me: failed program was:" >&5
7033sed 's/^/| /' conftest.$ac_ext >&5
7034
7035 ac_cv_header_stdc=no
6037fi 7036fi
7037
6038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6039 7039
6040if test $ac_cv_header_stdc = yes; then 7040if test $ac_cv_header_stdc = yes; then
6041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7042 cat >conftest.$ac_ext <<_ACEOF
7043/* confdefs.h. */
7044_ACEOF
7045cat confdefs.h >>conftest.$ac_ext
7046cat >>conftest.$ac_ext <<_ACEOF
6043/* end confdefs.h. */ 7047/* end confdefs.h. */
6044#include <string.h> 7048#include <string.h>
6045 7049
6046_ACEOF 7050_ACEOF
6047if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7051if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6048 $EGREP "memchr" >/dev/null 2>&1; then : 7052 $EGREP "memchr" >/dev/null 2>&1; then
6049 7053 :
6050else 7054else
6051 ac_cv_header_stdc=no 7055 ac_cv_header_stdc=no
6052fi 7056fi
@@ -6056,14 +7060,18 @@ fi
6056 7060
6057if test $ac_cv_header_stdc = yes; then 7061if test $ac_cv_header_stdc = yes; then
6058 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7063 cat >conftest.$ac_ext <<_ACEOF
7064/* confdefs.h. */
7065_ACEOF
7066cat confdefs.h >>conftest.$ac_ext
7067cat >>conftest.$ac_ext <<_ACEOF
6060/* end confdefs.h. */ 7068/* end confdefs.h. */
6061#include <stdlib.h> 7069#include <stdlib.h>
6062 7070
6063_ACEOF 7071_ACEOF
6064if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7072if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6065 $EGREP "free" >/dev/null 2>&1; then : 7073 $EGREP "free" >/dev/null 2>&1; then
6066 7074 :
6067else 7075else
6068 ac_cv_header_stdc=no 7076 ac_cv_header_stdc=no
6069fi 7077fi
@@ -6073,10 +7081,14 @@ fi
6073 7081
6074if test $ac_cv_header_stdc = yes; then 7082if test $ac_cv_header_stdc = yes; then
6075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6076 if test "$cross_compiling" = yes; then : 7084 if test "$cross_compiling" = yes; then
6077 : 7085 :
6078else 7086else
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7087 cat >conftest.$ac_ext <<_ACEOF
7088/* confdefs.h. */
7089_ACEOF
7090cat confdefs.h >>conftest.$ac_ext
7091cat >>conftest.$ac_ext <<_ACEOF
6080/* end confdefs.h. */ 7092/* end confdefs.h. */
6081#include <ctype.h> 7093#include <ctype.h>
6082#include <stdlib.h> 7094#include <stdlib.h>
@@ -6103,31 +7115,64 @@ main ()
6103 return 0; 7115 return 0;
6104} 7116}
6105_ACEOF 7117_ACEOF
6106if ac_fn_c_try_run "$LINENO"; then : 7118rm -f conftest$ac_exeext
6107 7119if { (ac_try="$ac_link"
7120case "(($ac_try" in
7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7122 *) ac_try_echo=$ac_try;;
7123esac
7124eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7125$as_echo "$ac_try_echo") >&5
7126 (eval "$ac_link") 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7130 { (case "(($ac_try" in
7131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7133esac
7134eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7135$as_echo "$ac_try_echo") >&5
7136 (eval "$ac_try") 2>&5
7137 ac_status=$?
7138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; }; then
7140 :
6108else 7141else
6109 ac_cv_header_stdc=no 7142 $as_echo "$as_me: program exited with status $ac_status" >&5
7143$as_echo "$as_me: failed program was:" >&5
7144sed 's/^/| /' conftest.$ac_ext >&5
7145
7146( exit $ac_status )
7147ac_cv_header_stdc=no
6110fi 7148fi
6111rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7149rm -rf conftest.dSYM
6112 conftest.$ac_objext conftest.beam conftest.$ac_ext 7150rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6113fi 7151fi
6114 7152
7153
6115fi 7154fi
6116fi 7155fi
6117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7156{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6118$as_echo "$ac_cv_header_stdc" >&6; } 7157$as_echo "$ac_cv_header_stdc" >&6; }
6119if test $ac_cv_header_stdc = yes; then 7158if test $ac_cv_header_stdc = yes; then
6120 7159
6121$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7160cat >>confdefs.h <<\_ACEOF
7161#define STDC_HEADERS 1
7162_ACEOF
6122 7163
6123fi 7164fi
6124 7165
6125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7166{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6126$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7167$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6127if test "${ac_cv_header_time+set}" = set; then : 7168if test "${ac_cv_header_time+set}" = set; then
6128 $as_echo_n "(cached) " >&6 7169 $as_echo_n "(cached) " >&6
6129else 7170else
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7171 cat >conftest.$ac_ext <<_ACEOF
7172/* confdefs.h. */
7173_ACEOF
7174cat confdefs.h >>conftest.$ac_ext
7175cat >>conftest.$ac_ext <<_ACEOF
6131/* end confdefs.h. */ 7176/* end confdefs.h. */
6132#include <sys/types.h> 7177#include <sys/types.h>
6133#include <sys/time.h> 7178#include <sys/time.h>
@@ -6142,57 +7187,202 @@ return 0;
6142 return 0; 7187 return 0;
6143} 7188}
6144_ACEOF 7189_ACEOF
6145if ac_fn_c_try_compile "$LINENO"; then : 7190rm -f conftest.$ac_objext
7191if { (ac_try="$ac_compile"
7192case "(($ac_try" in
7193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7194 *) ac_try_echo=$ac_try;;
7195esac
7196eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7197$as_echo "$ac_try_echo") >&5
7198 (eval "$ac_compile") 2>conftest.er1
7199 ac_status=$?
7200 grep -v '^ *+' conftest.er1 >conftest.err
7201 rm -f conftest.er1
7202 cat conftest.err >&5
7203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } && {
7205 test -z "$ac_c_werror_flag" ||
7206 test ! -s conftest.err
7207 } && test -s conftest.$ac_objext; then
6146 ac_cv_header_time=yes 7208 ac_cv_header_time=yes
6147else 7209else
6148 ac_cv_header_time=no 7210 $as_echo "$as_me: failed program was:" >&5
7211sed 's/^/| /' conftest.$ac_ext >&5
7212
7213 ac_cv_header_time=no
6149fi 7214fi
7215
6150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151fi 7217fi
6152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 7218{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6153$as_echo "$ac_cv_header_time" >&6; } 7219$as_echo "$ac_cv_header_time" >&6; }
6154if test $ac_cv_header_time = yes; then 7220if test $ac_cv_header_time = yes; then
6155 7221
6156$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 7222cat >>confdefs.h <<\_ACEOF
7223#define TIME_WITH_SYS_TIME 1
7224_ACEOF
6157 7225
6158fi 7226fi
6159 7227
6160ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" 7228{ $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
6161if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 7229$as_echo_n "checking whether sys_siglist is declared... " >&6; }
6162 ac_have_decl=1 7230if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
7231 $as_echo_n "(cached) " >&6
7232else
7233 cat >conftest.$ac_ext <<_ACEOF
7234/* confdefs.h. */
7235_ACEOF
7236cat confdefs.h >>conftest.$ac_ext
7237cat >>conftest.$ac_ext <<_ACEOF
7238/* end confdefs.h. */
7239$ac_includes_default
7240int
7241main ()
7242{
7243#ifndef sys_siglist
7244 (void) sys_siglist;
7245#endif
7246
7247 ;
7248 return 0;
7249}
7250_ACEOF
7251rm -f conftest.$ac_objext
7252if { (ac_try="$ac_compile"
7253case "(($ac_try" in
7254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7255 *) ac_try_echo=$ac_try;;
7256esac
7257eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7258$as_echo "$ac_try_echo") >&5
7259 (eval "$ac_compile") 2>conftest.er1
7260 ac_status=$?
7261 grep -v '^ *+' conftest.er1 >conftest.err
7262 rm -f conftest.er1
7263 cat conftest.err >&5
7264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } && {
7266 test -z "$ac_c_werror_flag" ||
7267 test ! -s conftest.err
7268 } && test -s conftest.$ac_objext; then
7269 ac_cv_have_decl_sys_siglist=yes
6163else 7270else
6164 ac_have_decl=0 7271 $as_echo "$as_me: failed program was:" >&5
7272sed 's/^/| /' conftest.$ac_ext >&5
7273
7274 ac_cv_have_decl_sys_siglist=no
6165fi 7275fi
6166 7276
7277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7278fi
7279{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7280$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
7281if test $ac_cv_have_decl_sys_siglist = yes; then
7282
6167cat >>confdefs.h <<_ACEOF 7283cat >>confdefs.h <<_ACEOF
6168#define HAVE_DECL_SYS_SIGLIST $ac_have_decl 7284#define HAVE_DECL_SYS_SIGLIST 1
7285_ACEOF
7286
7287
7288else
7289 cat >>confdefs.h <<_ACEOF
7290#define HAVE_DECL_SYS_SIGLIST 0
6169_ACEOF 7291_ACEOF
6170 7292
7293
7294fi
7295
7296
6171if test $ac_cv_have_decl_sys_siglist != yes; then 7297if test $ac_cv_have_decl_sys_siglist != yes; then
6172 # For Tru64, at least: 7298 # For Tru64, at least:
6173 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" 7299 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
6174if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : 7300$as_echo_n "checking whether __sys_siglist is declared... " >&6; }
6175 ac_have_decl=1 7301if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
7302 $as_echo_n "(cached) " >&6
7303else
7304 cat >conftest.$ac_ext <<_ACEOF
7305/* confdefs.h. */
7306_ACEOF
7307cat confdefs.h >>conftest.$ac_ext
7308cat >>conftest.$ac_ext <<_ACEOF
7309/* end confdefs.h. */
7310$ac_includes_default
7311int
7312main ()
7313{
7314#ifndef __sys_siglist
7315 (void) __sys_siglist;
7316#endif
7317
7318 ;
7319 return 0;
7320}
7321_ACEOF
7322rm -f conftest.$ac_objext
7323if { (ac_try="$ac_compile"
7324case "(($ac_try" in
7325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7326 *) ac_try_echo=$ac_try;;
7327esac
7328eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7329$as_echo "$ac_try_echo") >&5
7330 (eval "$ac_compile") 2>conftest.er1
7331 ac_status=$?
7332 grep -v '^ *+' conftest.er1 >conftest.err
7333 rm -f conftest.er1
7334 cat conftest.err >&5
7335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); } && {
7337 test -z "$ac_c_werror_flag" ||
7338 test ! -s conftest.err
7339 } && test -s conftest.$ac_objext; then
7340 ac_cv_have_decl___sys_siglist=yes
6176else 7341else
6177 ac_have_decl=0 7342 $as_echo "$as_me: failed program was:" >&5
7343sed 's/^/| /' conftest.$ac_ext >&5
7344
7345 ac_cv_have_decl___sys_siglist=no
6178fi 7346fi
6179 7347
7348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7349fi
7350{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7351$as_echo "$ac_cv_have_decl___sys_siglist" >&6; }
7352if test $ac_cv_have_decl___sys_siglist = yes; then
7353
6180cat >>confdefs.h <<_ACEOF 7354cat >>confdefs.h <<_ACEOF
6181#define HAVE_DECL___SYS_SIGLIST $ac_have_decl 7355#define HAVE_DECL___SYS_SIGLIST 1
7356_ACEOF
7357
7358
7359else
7360 cat >>confdefs.h <<_ACEOF
7361#define HAVE_DECL___SYS_SIGLIST 0
6182_ACEOF 7362_ACEOF
6183 7363
7364
7365fi
7366
7367
6184 if test $ac_cv_have_decl___sys_siglist = yes; then 7368 if test $ac_cv_have_decl___sys_siglist = yes; then
6185 7369
6186$as_echo "#define sys_siglist __sys_siglist" >>confdefs.h 7370cat >>confdefs.h <<\_ACEOF
7371#define sys_siglist __sys_siglist
7372_ACEOF
6187 7373
6188 fi 7374 fi
6189fi 7375fi
6190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 7376{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6191$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 7377$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6192if test "${ac_cv_header_sys_wait_h+set}" = set; then : 7378if test "${ac_cv_header_sys_wait_h+set}" = set; then
6193 $as_echo_n "(cached) " >&6 7379 $as_echo_n "(cached) " >&6
6194else 7380else
6195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7381 cat >conftest.$ac_ext <<_ACEOF
7382/* confdefs.h. */
7383_ACEOF
7384cat confdefs.h >>conftest.$ac_ext
7385cat >>conftest.$ac_ext <<_ACEOF
6196/* end confdefs.h. */ 7386/* end confdefs.h. */
6197#include <sys/types.h> 7387#include <sys/types.h>
6198#include <sys/wait.h> 7388#include <sys/wait.h>
@@ -6213,28 +7403,55 @@ main ()
6213 return 0; 7403 return 0;
6214} 7404}
6215_ACEOF 7405_ACEOF
6216if ac_fn_c_try_compile "$LINENO"; then : 7406rm -f conftest.$ac_objext
7407if { (ac_try="$ac_compile"
7408case "(($ac_try" in
7409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7410 *) ac_try_echo=$ac_try;;
7411esac
7412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7413$as_echo "$ac_try_echo") >&5
7414 (eval "$ac_compile") 2>conftest.er1
7415 ac_status=$?
7416 grep -v '^ *+' conftest.er1 >conftest.err
7417 rm -f conftest.er1
7418 cat conftest.err >&5
7419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); } && {
7421 test -z "$ac_c_werror_flag" ||
7422 test ! -s conftest.err
7423 } && test -s conftest.$ac_objext; then
6217 ac_cv_header_sys_wait_h=yes 7424 ac_cv_header_sys_wait_h=yes
6218else 7425else
6219 ac_cv_header_sys_wait_h=no 7426 $as_echo "$as_me: failed program was:" >&5
7427sed 's/^/| /' conftest.$ac_ext >&5
7428
7429 ac_cv_header_sys_wait_h=no
6220fi 7430fi
7431
6221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6222fi 7433fi
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 7434{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6224$as_echo "$ac_cv_header_sys_wait_h" >&6; } 7435$as_echo "$ac_cv_header_sys_wait_h" >&6; }
6225if test $ac_cv_header_sys_wait_h = yes; then 7436if test $ac_cv_header_sys_wait_h = yes; then
6226 7437
6227$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 7438cat >>confdefs.h <<\_ACEOF
7439#define HAVE_SYS_WAIT_H 1
7440_ACEOF
6228 7441
6229fi 7442fi
6230 7443
6231 7444
6232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 7445{ $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6233$as_echo_n "checking for struct utimbuf... " >&6; } 7446$as_echo_n "checking for struct utimbuf... " >&6; }
6234if test "${emacs_cv_struct_utimbuf+set}" = set; then : 7447if test "${emacs_cv_struct_utimbuf+set}" = set; then
6235 $as_echo_n "(cached) " >&6 7448 $as_echo_n "(cached) " >&6
6236else 7449else
6237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7450 cat >conftest.$ac_ext <<_ACEOF
7451/* confdefs.h. */
7452_ACEOF
7453cat confdefs.h >>conftest.$ac_ext
7454cat >>conftest.$ac_ext <<_ACEOF
6238/* end confdefs.h. */ 7455/* end confdefs.h. */
6239#ifdef TIME_WITH_SYS_TIME 7456#ifdef TIME_WITH_SYS_TIME
6240#include <sys/time.h> 7457#include <sys/time.h>
@@ -6257,27 +7474,54 @@ static struct utimbuf x; x.actime = x.modtime;
6257 return 0; 7474 return 0;
6258} 7475}
6259_ACEOF 7476_ACEOF
6260if ac_fn_c_try_compile "$LINENO"; then : 7477rm -f conftest.$ac_objext
7478if { (ac_try="$ac_compile"
7479case "(($ac_try" in
7480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7481 *) ac_try_echo=$ac_try;;
7482esac
7483eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7484$as_echo "$ac_try_echo") >&5
7485 (eval "$ac_compile") 2>conftest.er1
7486 ac_status=$?
7487 grep -v '^ *+' conftest.er1 >conftest.err
7488 rm -f conftest.er1
7489 cat conftest.err >&5
7490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); } && {
7492 test -z "$ac_c_werror_flag" ||
7493 test ! -s conftest.err
7494 } && test -s conftest.$ac_objext; then
6261 emacs_cv_struct_utimbuf=yes 7495 emacs_cv_struct_utimbuf=yes
6262else 7496else
6263 emacs_cv_struct_utimbuf=no 7497 $as_echo "$as_me: failed program was:" >&5
7498sed 's/^/| /' conftest.$ac_ext >&5
7499
7500 emacs_cv_struct_utimbuf=no
6264fi 7501fi
7502
6265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6266fi 7504fi
6267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 7505{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6268$as_echo "$emacs_cv_struct_utimbuf" >&6; } 7506$as_echo "$emacs_cv_struct_utimbuf" >&6; }
6269if test $emacs_cv_struct_utimbuf = yes; then 7507if test $emacs_cv_struct_utimbuf = yes; then
6270 7508
6271$as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h 7509cat >>confdefs.h <<\_ACEOF
7510#define HAVE_STRUCT_UTIMBUF 1
7511_ACEOF
6272 7512
6273fi 7513fi
6274 7514
6275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7515{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6276$as_echo_n "checking return type of signal handlers... " >&6; } 7516$as_echo_n "checking return type of signal handlers... " >&6; }
6277if test "${ac_cv_type_signal+set}" = set; then : 7517if test "${ac_cv_type_signal+set}" = set; then
6278 $as_echo_n "(cached) " >&6 7518 $as_echo_n "(cached) " >&6
6279else 7519else
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7520 cat >conftest.$ac_ext <<_ACEOF
7521/* confdefs.h. */
7522_ACEOF
7523cat confdefs.h >>conftest.$ac_ext
7524cat >>conftest.$ac_ext <<_ACEOF
6281/* end confdefs.h. */ 7525/* end confdefs.h. */
6282#include <sys/types.h> 7526#include <sys/types.h>
6283#include <signal.h> 7527#include <signal.h>
@@ -6290,14 +7534,35 @@ return *(signal (0, 0)) (0) == 1;
6290 return 0; 7534 return 0;
6291} 7535}
6292_ACEOF 7536_ACEOF
6293if 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
6294 ac_cv_type_signal=int 7555 ac_cv_type_signal=int
6295else 7556else
6296 ac_cv_type_signal=void 7557 $as_echo "$as_me: failed program was:" >&5
7558sed 's/^/| /' conftest.$ac_ext >&5
7559
7560 ac_cv_type_signal=void
6297fi 7561fi
7562
6298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299fi 7564fi
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 7565{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6301$as_echo "$ac_cv_type_signal" >&6; } 7566$as_echo "$ac_cv_type_signal" >&6; }
6302 7567
6303cat >>confdefs.h <<_ACEOF 7568cat >>confdefs.h <<_ACEOF
@@ -6306,12 +7571,16 @@ _ACEOF
6306 7571
6307 7572
6308 7573
6309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 7574{ $as_echo "$as_me:$LINENO: checking for speed_t" >&5
6310$as_echo_n "checking for speed_t... " >&6; } 7575$as_echo_n "checking for speed_t... " >&6; }
6311if test "${emacs_cv_speed_t+set}" = set; then : 7576if test "${emacs_cv_speed_t+set}" = set; then
6312 $as_echo_n "(cached) " >&6 7577 $as_echo_n "(cached) " >&6
6313else 7578else
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7579 cat >conftest.$ac_ext <<_ACEOF
7580/* confdefs.h. */
7581_ACEOF
7582cat confdefs.h >>conftest.$ac_ext
7583cat >>conftest.$ac_ext <<_ACEOF
6315/* end confdefs.h. */ 7584/* end confdefs.h. */
6316#include <termios.h> 7585#include <termios.h>
6317int 7586int
@@ -6322,27 +7591,54 @@ speed_t x = 1;
6322 return 0; 7591 return 0;
6323} 7592}
6324_ACEOF 7593_ACEOF
6325if ac_fn_c_try_compile "$LINENO"; then : 7594rm -f conftest.$ac_objext
7595if { (ac_try="$ac_compile"
7596case "(($ac_try" in
7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598 *) ac_try_echo=$ac_try;;
7599esac
7600eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7601$as_echo "$ac_try_echo") >&5
7602 (eval "$ac_compile") 2>conftest.er1
7603 ac_status=$?
7604 grep -v '^ *+' conftest.er1 >conftest.err
7605 rm -f conftest.er1
7606 cat conftest.err >&5
7607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); } && {
7609 test -z "$ac_c_werror_flag" ||
7610 test ! -s conftest.err
7611 } && test -s conftest.$ac_objext; then
6326 emacs_cv_speed_t=yes 7612 emacs_cv_speed_t=yes
6327else 7613else
6328 emacs_cv_speed_t=no 7614 $as_echo "$as_me: failed program was:" >&5
7615sed 's/^/| /' conftest.$ac_ext >&5
7616
7617 emacs_cv_speed_t=no
6329fi 7618fi
7619
6330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6331fi 7621fi
6332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 7622{ $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6333$as_echo "$emacs_cv_speed_t" >&6; } 7623$as_echo "$emacs_cv_speed_t" >&6; }
6334if test $emacs_cv_speed_t = yes; then 7624if test $emacs_cv_speed_t = yes; then
6335 7625
6336$as_echo "#define HAVE_SPEED_T 1" >>confdefs.h 7626cat >>confdefs.h <<\_ACEOF
7627#define HAVE_SPEED_T 1
7628_ACEOF
6337 7629
6338fi 7630fi
6339 7631
6340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 7632{ $as_echo "$as_me:$LINENO: checking for struct timeval" >&5
6341$as_echo_n "checking for struct timeval... " >&6; } 7633$as_echo_n "checking for struct timeval... " >&6; }
6342if test "${emacs_cv_struct_timeval+set}" = set; then : 7634if test "${emacs_cv_struct_timeval+set}" = set; then
6343 $as_echo_n "(cached) " >&6 7635 $as_echo_n "(cached) " >&6
6344else 7636else
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7637 cat >conftest.$ac_ext <<_ACEOF
7638/* confdefs.h. */
7639_ACEOF
7640cat confdefs.h >>conftest.$ac_ext
7641cat >>conftest.$ac_ext <<_ACEOF
6346/* end confdefs.h. */ 7642/* end confdefs.h. */
6347#ifdef TIME_WITH_SYS_TIME 7643#ifdef TIME_WITH_SYS_TIME
6348#include <sys/time.h> 7644#include <sys/time.h>
@@ -6362,28 +7658,55 @@ static struct timeval x; x.tv_sec = x.tv_usec;
6362 return 0; 7658 return 0;
6363} 7659}
6364_ACEOF 7660_ACEOF
6365if ac_fn_c_try_compile "$LINENO"; then : 7661rm -f conftest.$ac_objext
7662if { (ac_try="$ac_compile"
7663case "(($ac_try" in
7664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7665 *) ac_try_echo=$ac_try;;
7666esac
7667eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7668$as_echo "$ac_try_echo") >&5
7669 (eval "$ac_compile") 2>conftest.er1
7670 ac_status=$?
7671 grep -v '^ *+' conftest.er1 >conftest.err
7672 rm -f conftest.er1
7673 cat conftest.err >&5
7674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } && {
7676 test -z "$ac_c_werror_flag" ||
7677 test ! -s conftest.err
7678 } && test -s conftest.$ac_objext; then
6366 emacs_cv_struct_timeval=yes 7679 emacs_cv_struct_timeval=yes
6367else 7680else
6368 emacs_cv_struct_timeval=no 7681 $as_echo "$as_me: failed program was:" >&5
7682sed 's/^/| /' conftest.$ac_ext >&5
7683
7684 emacs_cv_struct_timeval=no
6369fi 7685fi
7686
6370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6371fi 7688fi
6372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 7689{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6373$as_echo "$emacs_cv_struct_timeval" >&6; } 7690$as_echo "$emacs_cv_struct_timeval" >&6; }
6374HAVE_TIMEVAL=$emacs_cv_struct_timeval 7691HAVE_TIMEVAL=$emacs_cv_struct_timeval
6375if test $emacs_cv_struct_timeval = yes; then 7692if test $emacs_cv_struct_timeval = yes; then
6376 7693
6377$as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h 7694cat >>confdefs.h <<\_ACEOF
7695#define HAVE_TIMEVAL 1
7696_ACEOF
6378 7697
6379fi 7698fi
6380 7699
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 7700{ $as_echo "$as_me:$LINENO: checking for struct exception" >&5
6382$as_echo_n "checking for struct exception... " >&6; } 7701$as_echo_n "checking for struct exception... " >&6; }
6383if test "${emacs_cv_struct_exception+set}" = set; then : 7702if test "${emacs_cv_struct_exception+set}" = set; then
6384 $as_echo_n "(cached) " >&6 7703 $as_echo_n "(cached) " >&6
6385else 7704else
6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7705 cat >conftest.$ac_ext <<_ACEOF
7706/* confdefs.h. */
7707_ACEOF
7708cat confdefs.h >>conftest.$ac_ext
7709cat >>conftest.$ac_ext <<_ACEOF
6387/* end confdefs.h. */ 7710/* end confdefs.h. */
6388#include <math.h> 7711#include <math.h>
6389int 7712int
@@ -6394,44 +7717,248 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6394 return 0; 7717 return 0;
6395} 7718}
6396_ACEOF 7719_ACEOF
6397if ac_fn_c_try_compile "$LINENO"; then : 7720rm -f conftest.$ac_objext
7721if { (ac_try="$ac_compile"
7722case "(($ac_try" in
7723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7724 *) ac_try_echo=$ac_try;;
7725esac
7726eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7727$as_echo "$ac_try_echo") >&5
7728 (eval "$ac_compile") 2>conftest.er1
7729 ac_status=$?
7730 grep -v '^ *+' conftest.er1 >conftest.err
7731 rm -f conftest.er1
7732 cat conftest.err >&5
7733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); } && {
7735 test -z "$ac_c_werror_flag" ||
7736 test ! -s conftest.err
7737 } && test -s conftest.$ac_objext; then
6398 emacs_cv_struct_exception=yes 7738 emacs_cv_struct_exception=yes
6399else 7739else
6400 emacs_cv_struct_exception=no 7740 $as_echo "$as_me: failed program was:" >&5
7741sed 's/^/| /' conftest.$ac_ext >&5
7742
7743 emacs_cv_struct_exception=no
6401fi 7744fi
7745
6402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403fi 7747fi
6404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 7748{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6405$as_echo "$emacs_cv_struct_exception" >&6; } 7749$as_echo "$emacs_cv_struct_exception" >&6; }
6406HAVE_EXCEPTION=$emacs_cv_struct_exception 7750HAVE_EXCEPTION=$emacs_cv_struct_exception
6407if test $emacs_cv_struct_exception != yes; then 7751if test $emacs_cv_struct_exception != yes; then
6408 7752
6409$as_echo "#define NO_MATHERR 1" >>confdefs.h 7753cat >>confdefs.h <<\_ACEOF
7754#define NO_MATHERR 1
7755_ACEOF
6410 7756
6411fi 7757fi
6412 7758
7759
6413for ac_header in sys/socket.h 7760for ac_header in sys/socket.h
6414do : 7761do
6415 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 7762as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6416if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 7763if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7764 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7765$as_echo_n "checking for $ac_header... " >&6; }
7766if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7767 $as_echo_n "(cached) " >&6
7768fi
7769ac_res=`eval 'as_val=${'$as_ac_Header'}
7770 $as_echo "$as_val"'`
7771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7772$as_echo "$ac_res" >&6; }
7773else
7774 # Is the header compilable?
7775{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7776$as_echo_n "checking $ac_header usability... " >&6; }
7777cat >conftest.$ac_ext <<_ACEOF
7778/* confdefs.h. */
7779_ACEOF
7780cat confdefs.h >>conftest.$ac_ext
7781cat >>conftest.$ac_ext <<_ACEOF
7782/* end confdefs.h. */
7783$ac_includes_default
7784#include <$ac_header>
7785_ACEOF
7786rm -f conftest.$ac_objext
7787if { (ac_try="$ac_compile"
7788case "(($ac_try" in
7789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7790 *) ac_try_echo=$ac_try;;
7791esac
7792eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7793$as_echo "$ac_try_echo") >&5
7794 (eval "$ac_compile") 2>conftest.er1
7795 ac_status=$?
7796 grep -v '^ *+' conftest.er1 >conftest.err
7797 rm -f conftest.er1
7798 cat conftest.err >&5
7799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); } && {
7801 test -z "$ac_c_werror_flag" ||
7802 test ! -s conftest.err
7803 } && test -s conftest.$ac_objext; then
7804 ac_header_compiler=yes
7805else
7806 $as_echo "$as_me: failed program was:" >&5
7807sed 's/^/| /' conftest.$ac_ext >&5
7808
7809 ac_header_compiler=no
7810fi
7811
7812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7813{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7814$as_echo "$ac_header_compiler" >&6; }
7815
7816# Is the header present?
7817{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7818$as_echo_n "checking $ac_header presence... " >&6; }
7819cat >conftest.$ac_ext <<_ACEOF
7820/* confdefs.h. */
7821_ACEOF
7822cat confdefs.h >>conftest.$ac_ext
7823cat >>conftest.$ac_ext <<_ACEOF
7824/* end confdefs.h. */
7825#include <$ac_header>
7826_ACEOF
7827if { (ac_try="$ac_cpp conftest.$ac_ext"
7828case "(($ac_try" in
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7831esac
7832eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7833$as_echo "$ac_try_echo") >&5
7834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7835 ac_status=$?
7836 grep -v '^ *+' conftest.er1 >conftest.err
7837 rm -f conftest.er1
7838 cat conftest.err >&5
7839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); } >/dev/null && {
7841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7842 test ! -s conftest.err
7843 }; then
7844 ac_header_preproc=yes
7845else
7846 $as_echo "$as_me: failed program was:" >&5
7847sed 's/^/| /' conftest.$ac_ext >&5
7848
7849 ac_header_preproc=no
7850fi
7851
7852rm -f conftest.err conftest.$ac_ext
7853{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7854$as_echo "$ac_header_preproc" >&6; }
7855
7856# So? What about this header?
7857case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7858 yes:no: )
7859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7860$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7862$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7863 ac_header_preproc=yes
7864 ;;
7865 no:yes:* )
7866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7867$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7869$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7871$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7873$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7875$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7877$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7878
7879 ;;
7880esac
7881{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7882$as_echo_n "checking for $ac_header... " >&6; }
7883if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7884 $as_echo_n "(cached) " >&6
7885else
7886 eval "$as_ac_Header=\$ac_header_preproc"
7887fi
7888ac_res=`eval 'as_val=${'$as_ac_Header'}
7889 $as_echo "$as_val"'`
7890 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7891$as_echo "$ac_res" >&6; }
7892
7893fi
7894if test `eval 'as_val=${'$as_ac_Header'}
7895 $as_echo "$as_val"'` = yes; then
6417 cat >>confdefs.h <<_ACEOF 7896 cat >>confdefs.h <<_ACEOF
6418#define HAVE_SYS_SOCKET_H 1 7897#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6419_ACEOF 7898_ACEOF
6420 7899
6421fi 7900fi
6422 7901
6423done 7902done
6424 7903
7904
6425for ac_header in net/if.h 7905for ac_header in net/if.h
6426do : 7906do
6427 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default 7907as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7909$as_echo_n "checking for $ac_header... " >&6; }
7910if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7911 $as_echo_n "(cached) " >&6
7912else
7913 cat >conftest.$ac_ext <<_ACEOF
7914/* confdefs.h. */
7915_ACEOF
7916cat confdefs.h >>conftest.$ac_ext
7917cat >>conftest.$ac_ext <<_ACEOF
7918/* end confdefs.h. */
7919$ac_includes_default
6428#if HAVE_SYS_SOCKET_H 7920#if HAVE_SYS_SOCKET_H
6429#include <sys/socket.h> 7921#include <sys/socket.h>
6430#endif 7922#endif
6431" 7923
6432if test "x$ac_cv_header_net_if_h" = x""yes; then : 7924#include <$ac_header>
7925_ACEOF
7926rm -f conftest.$ac_objext
7927if { (ac_try="$ac_compile"
7928case "(($ac_try" in
7929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7930 *) ac_try_echo=$ac_try;;
7931esac
7932eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7933$as_echo "$ac_try_echo") >&5
7934 (eval "$ac_compile") 2>conftest.er1
7935 ac_status=$?
7936 grep -v '^ *+' conftest.er1 >conftest.err
7937 rm -f conftest.er1
7938 cat conftest.err >&5
7939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } && {
7941 test -z "$ac_c_werror_flag" ||
7942 test ! -s conftest.err
7943 } && test -s conftest.$ac_objext; then
7944 eval "$as_ac_Header=yes"
7945else
7946 $as_echo "$as_me: failed program was:" >&5
7947sed 's/^/| /' conftest.$ac_ext >&5
7948
7949 eval "$as_ac_Header=no"
7950fi
7951
7952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7953fi
7954ac_res=`eval 'as_val=${'$as_ac_Header'}
7955 $as_echo "$as_val"'`
7956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7957$as_echo "$ac_res" >&6; }
7958if test `eval 'as_val=${'$as_ac_Header'}
7959 $as_echo "$as_val"'` = yes; then
6433 cat >>confdefs.h <<_ACEOF 7960 cat >>confdefs.h <<_ACEOF
6434#define HAVE_NET_IF_H 1 7961#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6435_ACEOF 7962_ACEOF
6436 7963
6437fi 7964fi
@@ -6439,12 +7966,16 @@ fi
6439done 7966done
6440 7967
6441 7968
6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7969{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6443$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7970$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6444if test "${ac_cv_struct_tm+set}" = set; then : 7971if test "${ac_cv_struct_tm+set}" = set; then
6445 $as_echo_n "(cached) " >&6 7972 $as_echo_n "(cached) " >&6
6446else 7973else
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7974 cat >conftest.$ac_ext <<_ACEOF
7975/* confdefs.h. */
7976_ACEOF
7977cat confdefs.h >>conftest.$ac_ext
7978cat >>conftest.$ac_ext <<_ACEOF
6448/* end confdefs.h. */ 7979/* end confdefs.h. */
6449#include <sys/types.h> 7980#include <sys/types.h>
6450#include <time.h> 7981#include <time.h>
@@ -6459,26 +7990,146 @@ struct tm tm;
6459 return 0; 7990 return 0;
6460} 7991}
6461_ACEOF 7992_ACEOF
6462if ac_fn_c_try_compile "$LINENO"; then : 7993rm -f conftest.$ac_objext
7994if { (ac_try="$ac_compile"
7995case "(($ac_try" in
7996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7997 *) ac_try_echo=$ac_try;;
7998esac
7999eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8000$as_echo "$ac_try_echo") >&5
8001 (eval "$ac_compile") 2>conftest.er1
8002 ac_status=$?
8003 grep -v '^ *+' conftest.er1 >conftest.err
8004 rm -f conftest.er1
8005 cat conftest.err >&5
8006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } && {
8008 test -z "$ac_c_werror_flag" ||
8009 test ! -s conftest.err
8010 } && test -s conftest.$ac_objext; then
6463 ac_cv_struct_tm=time.h 8011 ac_cv_struct_tm=time.h
6464else 8012else
6465 ac_cv_struct_tm=sys/time.h 8013 $as_echo "$as_me: failed program was:" >&5
8014sed 's/^/| /' conftest.$ac_ext >&5
8015
8016 ac_cv_struct_tm=sys/time.h
6466fi 8017fi
8018
6467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6468fi 8020fi
6469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 8021{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6470$as_echo "$ac_cv_struct_tm" >&6; } 8022$as_echo "$ac_cv_struct_tm" >&6; }
6471if test $ac_cv_struct_tm = sys/time.h; then 8023if test $ac_cv_struct_tm = sys/time.h; then
6472 8024
6473$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 8025cat >>confdefs.h <<\_ACEOF
8026#define TM_IN_SYS_TIME 1
8027_ACEOF
6474 8028
6475fi 8029fi
6476 8030
6477ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 8031{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
8032$as_echo_n "checking for struct tm.tm_zone... " >&6; }
8033if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8034 $as_echo_n "(cached) " >&6
8035else
8036 cat >conftest.$ac_ext <<_ACEOF
8037/* confdefs.h. */
8038_ACEOF
8039cat confdefs.h >>conftest.$ac_ext
8040cat >>conftest.$ac_ext <<_ACEOF
8041/* end confdefs.h. */
8042#include <sys/types.h>
6478#include <$ac_cv_struct_tm> 8043#include <$ac_cv_struct_tm>
6479 8044
6480" 8045
6481if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 8046int
8047main ()
8048{
8049static struct tm ac_aggr;
8050if (ac_aggr.tm_zone)
8051return 0;
8052 ;
8053 return 0;
8054}
8055_ACEOF
8056rm -f conftest.$ac_objext
8057if { (ac_try="$ac_compile"
8058case "(($ac_try" in
8059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8060 *) ac_try_echo=$ac_try;;
8061esac
8062eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8063$as_echo "$ac_try_echo") >&5
8064 (eval "$ac_compile") 2>conftest.er1
8065 ac_status=$?
8066 grep -v '^ *+' conftest.er1 >conftest.err
8067 rm -f conftest.er1
8068 cat conftest.err >&5
8069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } && {
8071 test -z "$ac_c_werror_flag" ||
8072 test ! -s conftest.err
8073 } && test -s conftest.$ac_objext; then
8074 ac_cv_member_struct_tm_tm_zone=yes
8075else
8076 $as_echo "$as_me: failed program was:" >&5
8077sed 's/^/| /' conftest.$ac_ext >&5
8078
8079 cat >conftest.$ac_ext <<_ACEOF
8080/* confdefs.h. */
8081_ACEOF
8082cat confdefs.h >>conftest.$ac_ext
8083cat >>conftest.$ac_ext <<_ACEOF
8084/* end confdefs.h. */
8085#include <sys/types.h>
8086#include <$ac_cv_struct_tm>
8087
8088
8089int
8090main ()
8091{
8092static struct tm ac_aggr;
8093if (sizeof ac_aggr.tm_zone)
8094return 0;
8095 ;
8096 return 0;
8097}
8098_ACEOF
8099rm -f conftest.$ac_objext
8100if { (ac_try="$ac_compile"
8101case "(($ac_try" in
8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8103 *) ac_try_echo=$ac_try;;
8104esac
8105eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8106$as_echo "$ac_try_echo") >&5
8107 (eval "$ac_compile") 2>conftest.er1
8108 ac_status=$?
8109 grep -v '^ *+' conftest.er1 >conftest.err
8110 rm -f conftest.er1
8111 cat conftest.err >&5
8112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } && {
8114 test -z "$ac_c_werror_flag" ||
8115 test ! -s conftest.err
8116 } && test -s conftest.$ac_objext; then
8117 ac_cv_member_struct_tm_tm_zone=yes
8118else
8119 $as_echo "$as_me: failed program was:" >&5
8120sed 's/^/| /' conftest.$ac_ext >&5
8121
8122 ac_cv_member_struct_tm_tm_zone=no
8123fi
8124
8125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8126fi
8127
8128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8129fi
8130{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8131$as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
8132if test $ac_cv_member_struct_tm_tm_zone = yes; then
6482 8133
6483cat >>confdefs.h <<_ACEOF 8134cat >>confdefs.h <<_ACEOF
6484#define HAVE_STRUCT_TM_TM_ZONE 1 8135#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -6489,27 +8140,91 @@ fi
6489 8140
6490if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 8141if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6491 8142
6492$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 8143cat >>confdefs.h <<\_ACEOF
8144#define HAVE_TM_ZONE 1
8145_ACEOF
6493 8146
6494else 8147else
6495 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 8148 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6496" 8149$as_echo_n "checking whether tzname is declared... " >&6; }
6497if test "x$ac_cv_have_decl_tzname" = x""yes; then : 8150if test "${ac_cv_have_decl_tzname+set}" = set; then
6498 ac_have_decl=1 8151 $as_echo_n "(cached) " >&6
6499else 8152else
6500 ac_have_decl=0 8153 cat >conftest.$ac_ext <<_ACEOF
8154/* confdefs.h. */
8155_ACEOF
8156cat confdefs.h >>conftest.$ac_ext
8157cat >>conftest.$ac_ext <<_ACEOF
8158/* end confdefs.h. */
8159#include <time.h>
8160
8161int
8162main ()
8163{
8164#ifndef tzname
8165 (void) tzname;
8166#endif
8167
8168 ;
8169 return 0;
8170}
8171_ACEOF
8172rm -f conftest.$ac_objext
8173if { (ac_try="$ac_compile"
8174case "(($ac_try" in
8175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8176 *) ac_try_echo=$ac_try;;
8177esac
8178eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8179$as_echo "$ac_try_echo") >&5
8180 (eval "$ac_compile") 2>conftest.er1
8181 ac_status=$?
8182 grep -v '^ *+' conftest.er1 >conftest.err
8183 rm -f conftest.er1
8184 cat conftest.err >&5
8185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); } && {
8187 test -z "$ac_c_werror_flag" ||
8188 test ! -s conftest.err
8189 } && test -s conftest.$ac_objext; then
8190 ac_cv_have_decl_tzname=yes
8191else
8192 $as_echo "$as_me: failed program was:" >&5
8193sed 's/^/| /' conftest.$ac_ext >&5
8194
8195 ac_cv_have_decl_tzname=no
8196fi
8197
8198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6501fi 8199fi
8200{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
8201$as_echo "$ac_cv_have_decl_tzname" >&6; }
8202if test $ac_cv_have_decl_tzname = yes; then
6502 8203
6503cat >>confdefs.h <<_ACEOF 8204cat >>confdefs.h <<_ACEOF
6504#define HAVE_DECL_TZNAME $ac_have_decl 8205#define HAVE_DECL_TZNAME 1
8206_ACEOF
8207
8208
8209else
8210 cat >>confdefs.h <<_ACEOF
8211#define HAVE_DECL_TZNAME 0
6505_ACEOF 8212_ACEOF
6506 8213
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 8214
8215fi
8216
8217
8218 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
6508$as_echo_n "checking for tzname... " >&6; } 8219$as_echo_n "checking for tzname... " >&6; }
6509if test "${ac_cv_var_tzname+set}" = set; then : 8220if test "${ac_cv_var_tzname+set}" = set; then
6510 $as_echo_n "(cached) " >&6 8221 $as_echo_n "(cached) " >&6
6511else 8222else
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8223 cat >conftest.$ac_ext <<_ACEOF
8224/* confdefs.h. */
8225_ACEOF
8226cat confdefs.h >>conftest.$ac_ext
8227cat >>conftest.$ac_ext <<_ACEOF
6513/* end confdefs.h. */ 8228/* end confdefs.h. */
6514#include <time.h> 8229#include <time.h>
6515#if !HAVE_DECL_TZNAME 8230#if !HAVE_DECL_TZNAME
@@ -6524,40 +8239,265 @@ return tzname[0][0];
6524 return 0; 8239 return 0;
6525} 8240}
6526_ACEOF 8241_ACEOF
6527if ac_fn_c_try_link "$LINENO"; then : 8242rm -f conftest.$ac_objext conftest$ac_exeext
8243if { (ac_try="$ac_link"
8244case "(($ac_try" in
8245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8246 *) ac_try_echo=$ac_try;;
8247esac
8248eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8249$as_echo "$ac_try_echo") >&5
8250 (eval "$ac_link") 2>conftest.er1
8251 ac_status=$?
8252 grep -v '^ *+' conftest.er1 >conftest.err
8253 rm -f conftest.er1
8254 cat conftest.err >&5
8255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } && {
8257 test -z "$ac_c_werror_flag" ||
8258 test ! -s conftest.err
8259 } && test -s conftest$ac_exeext && {
8260 test "$cross_compiling" = yes ||
8261 $as_test_x conftest$ac_exeext
8262 }; then
6528 ac_cv_var_tzname=yes 8263 ac_cv_var_tzname=yes
6529else 8264else
6530 ac_cv_var_tzname=no 8265 $as_echo "$as_me: failed program was:" >&5
8266sed 's/^/| /' conftest.$ac_ext >&5
8267
8268 ac_cv_var_tzname=no
6531fi 8269fi
6532rm -f core conftest.err conftest.$ac_objext \ 8270
6533 conftest$ac_exeext conftest.$ac_ext 8271rm -rf conftest.dSYM
8272rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8273 conftest$ac_exeext conftest.$ac_ext
6534fi 8274fi
6535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 8275{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6536$as_echo "$ac_cv_var_tzname" >&6; } 8276$as_echo "$ac_cv_var_tzname" >&6; }
6537 if test $ac_cv_var_tzname = yes; then 8277 if test $ac_cv_var_tzname = yes; then
6538 8278
6539$as_echo "#define HAVE_TZNAME 1" >>confdefs.h 8279cat >>confdefs.h <<\_ACEOF
8280#define HAVE_TZNAME 1
8281_ACEOF
6540 8282
6541 fi 8283 fi
6542fi 8284fi
6543 8285
6544ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> 8286{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6545" 8287$as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
6546if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : 8288if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
8289 $as_echo_n "(cached) " >&6
8290else
8291 cat >conftest.$ac_ext <<_ACEOF
8292/* confdefs.h. */
8293_ACEOF
8294cat confdefs.h >>conftest.$ac_ext
8295cat >>conftest.$ac_ext <<_ACEOF
8296/* end confdefs.h. */
8297#include <time.h>
6547 8298
6548$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h 8299int
8300main ()
8301{
8302static struct tm ac_aggr;
8303if (ac_aggr.tm_gmtoff)
8304return 0;
8305 ;
8306 return 0;
8307}
8308_ACEOF
8309rm -f conftest.$ac_objext
8310if { (ac_try="$ac_compile"
8311case "(($ac_try" in
8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313 *) ac_try_echo=$ac_try;;
8314esac
8315eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8316$as_echo "$ac_try_echo") >&5
8317 (eval "$ac_compile") 2>conftest.er1
8318 ac_status=$?
8319 grep -v '^ *+' conftest.er1 >conftest.err
8320 rm -f conftest.er1
8321 cat conftest.err >&5
8322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); } && {
8324 test -z "$ac_c_werror_flag" ||
8325 test ! -s conftest.err
8326 } && test -s conftest.$ac_objext; then
8327 ac_cv_member_struct_tm_tm_gmtoff=yes
8328else
8329 $as_echo "$as_me: failed program was:" >&5
8330sed 's/^/| /' conftest.$ac_ext >&5
6549 8331
8332 cat >conftest.$ac_ext <<_ACEOF
8333/* confdefs.h. */
8334_ACEOF
8335cat confdefs.h >>conftest.$ac_ext
8336cat >>conftest.$ac_ext <<_ACEOF
8337/* end confdefs.h. */
8338#include <time.h>
8339
8340int
8341main ()
8342{
8343static struct tm ac_aggr;
8344if (sizeof ac_aggr.tm_gmtoff)
8345return 0;
8346 ;
8347 return 0;
8348}
8349_ACEOF
8350rm -f conftest.$ac_objext
8351if { (ac_try="$ac_compile"
8352case "(($ac_try" in
8353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8354 *) ac_try_echo=$ac_try;;
8355esac
8356eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8357$as_echo "$ac_try_echo") >&5
8358 (eval "$ac_compile") 2>conftest.er1
8359 ac_status=$?
8360 grep -v '^ *+' conftest.er1 >conftest.err
8361 rm -f conftest.er1
8362 cat conftest.err >&5
8363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); } && {
8365 test -z "$ac_c_werror_flag" ||
8366 test ! -s conftest.err
8367 } && test -s conftest.$ac_objext; then
8368 ac_cv_member_struct_tm_tm_gmtoff=yes
8369else
8370 $as_echo "$as_me: failed program was:" >&5
8371sed 's/^/| /' conftest.$ac_ext >&5
8372
8373 ac_cv_member_struct_tm_tm_gmtoff=no
8374fi
8375
8376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6550fi 8377fi
6551 8378
6552ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default 8379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8380fi
8381{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8382$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8383if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8384
8385cat >>confdefs.h <<\_ACEOF
8386#define HAVE_TM_GMTOFF 1
8387_ACEOF
8388
8389fi
8390
8391{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
8392$as_echo_n "checking for struct ifreq.ifr_flags... " >&6; }
8393if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8394 $as_echo_n "(cached) " >&6
8395else
8396 cat >conftest.$ac_ext <<_ACEOF
8397/* confdefs.h. */
8398_ACEOF
8399cat confdefs.h >>conftest.$ac_ext
8400cat >>conftest.$ac_ext <<_ACEOF
8401/* end confdefs.h. */
8402$ac_includes_default
6553#if HAVE_SYS_SOCKET_H 8403#if HAVE_SYS_SOCKET_H
6554#include <sys/socket.h> 8404#include <sys/socket.h>
6555#endif 8405#endif
6556#if HAVE_NET_IF_H 8406#if HAVE_NET_IF_H
6557#include <net/if.h> 8407#include <net/if.h>
6558#endif 8408#endif
6559" 8409
6560if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : 8410int
8411main ()
8412{
8413static struct ifreq ac_aggr;
8414if (ac_aggr.ifr_flags)
8415return 0;
8416 ;
8417 return 0;
8418}
8419_ACEOF
8420rm -f conftest.$ac_objext
8421if { (ac_try="$ac_compile"
8422case "(($ac_try" in
8423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8424 *) ac_try_echo=$ac_try;;
8425esac
8426eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8427$as_echo "$ac_try_echo") >&5
8428 (eval "$ac_compile") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest.$ac_objext; then
8438 ac_cv_member_struct_ifreq_ifr_flags=yes
8439else
8440 $as_echo "$as_me: failed program was:" >&5
8441sed 's/^/| /' conftest.$ac_ext >&5
8442
8443 cat >conftest.$ac_ext <<_ACEOF
8444/* confdefs.h. */
8445_ACEOF
8446cat confdefs.h >>conftest.$ac_ext
8447cat >>conftest.$ac_ext <<_ACEOF
8448/* end confdefs.h. */
8449$ac_includes_default
8450#if HAVE_SYS_SOCKET_H
8451#include <sys/socket.h>
8452#endif
8453#if HAVE_NET_IF_H
8454#include <net/if.h>
8455#endif
8456
8457int
8458main ()
8459{
8460static struct ifreq ac_aggr;
8461if (sizeof ac_aggr.ifr_flags)
8462return 0;
8463 ;
8464 return 0;
8465}
8466_ACEOF
8467rm -f conftest.$ac_objext
8468if { (ac_try="$ac_compile"
8469case "(($ac_try" in
8470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8471 *) ac_try_echo=$ac_try;;
8472esac
8473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8474$as_echo "$ac_try_echo") >&5
8475 (eval "$ac_compile") 2>conftest.er1
8476 ac_status=$?
8477 grep -v '^ *+' conftest.er1 >conftest.err
8478 rm -f conftest.er1
8479 cat conftest.err >&5
8480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } && {
8482 test -z "$ac_c_werror_flag" ||
8483 test ! -s conftest.err
8484 } && test -s conftest.$ac_objext; then
8485 ac_cv_member_struct_ifreq_ifr_flags=yes
8486else
8487 $as_echo "$as_me: failed program was:" >&5
8488sed 's/^/| /' conftest.$ac_ext >&5
8489
8490 ac_cv_member_struct_ifreq_ifr_flags=no
8491fi
8492
8493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8494fi
8495
8496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8497fi
8498{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8499$as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8500if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
6561 8501
6562cat >>confdefs.h <<_ACEOF 8502cat >>confdefs.h <<_ACEOF
6563#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8503#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -6565,15 +8505,116 @@ _ACEOF
6565 8505
6566 8506
6567fi 8507fi
6568ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default 8508{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
8509$as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; }
8510if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8511 $as_echo_n "(cached) " >&6
8512else
8513 cat >conftest.$ac_ext <<_ACEOF
8514/* confdefs.h. */
8515_ACEOF
8516cat confdefs.h >>conftest.$ac_ext
8517cat >>conftest.$ac_ext <<_ACEOF
8518/* end confdefs.h. */
8519$ac_includes_default
8520#if HAVE_SYS_SOCKET_H
8521#include <sys/socket.h>
8522#endif
8523#if HAVE_NET_IF_H
8524#include <net/if.h>
8525#endif
8526
8527int
8528main ()
8529{
8530static struct ifreq ac_aggr;
8531if (ac_aggr.ifr_hwaddr)
8532return 0;
8533 ;
8534 return 0;
8535}
8536_ACEOF
8537rm -f conftest.$ac_objext
8538if { (ac_try="$ac_compile"
8539case "(($ac_try" in
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8541 *) ac_try_echo=$ac_try;;
8542esac
8543eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8544$as_echo "$ac_try_echo") >&5
8545 (eval "$ac_compile") 2>conftest.er1
8546 ac_status=$?
8547 grep -v '^ *+' conftest.er1 >conftest.err
8548 rm -f conftest.er1
8549 cat conftest.err >&5
8550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } && {
8552 test -z "$ac_c_werror_flag" ||
8553 test ! -s conftest.err
8554 } && test -s conftest.$ac_objext; then
8555 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8556else
8557 $as_echo "$as_me: failed program was:" >&5
8558sed 's/^/| /' conftest.$ac_ext >&5
8559
8560 cat >conftest.$ac_ext <<_ACEOF
8561/* confdefs.h. */
8562_ACEOF
8563cat confdefs.h >>conftest.$ac_ext
8564cat >>conftest.$ac_ext <<_ACEOF
8565/* end confdefs.h. */
8566$ac_includes_default
6569#if HAVE_SYS_SOCKET_H 8567#if HAVE_SYS_SOCKET_H
6570#include <sys/socket.h> 8568#include <sys/socket.h>
6571#endif 8569#endif
6572#if HAVE_NET_IF_H 8570#if HAVE_NET_IF_H
6573#include <net/if.h> 8571#include <net/if.h>
6574#endif 8572#endif
6575" 8573
6576if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : 8574int
8575main ()
8576{
8577static struct ifreq ac_aggr;
8578if (sizeof ac_aggr.ifr_hwaddr)
8579return 0;
8580 ;
8581 return 0;
8582}
8583_ACEOF
8584rm -f conftest.$ac_objext
8585if { (ac_try="$ac_compile"
8586case "(($ac_try" in
8587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8588 *) ac_try_echo=$ac_try;;
8589esac
8590eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8591$as_echo "$ac_try_echo") >&5
8592 (eval "$ac_compile") 2>conftest.er1
8593 ac_status=$?
8594 grep -v '^ *+' conftest.er1 >conftest.err
8595 rm -f conftest.er1
8596 cat conftest.err >&5
8597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } && {
8599 test -z "$ac_c_werror_flag" ||
8600 test ! -s conftest.err
8601 } && test -s conftest.$ac_objext; then
8602 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8603else
8604 $as_echo "$as_me: failed program was:" >&5
8605sed 's/^/| /' conftest.$ac_ext >&5
8606
8607 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8608fi
8609
8610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8611fi
8612
8613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8614fi
8615{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8616$as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8617if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
6577 8618
6578cat >>confdefs.h <<_ACEOF 8619cat >>confdefs.h <<_ACEOF
6579#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8620#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -6581,15 +8622,116 @@ _ACEOF
6581 8622
6582 8623
6583fi 8624fi
6584ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default 8625{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
8626$as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; }
8627if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8628 $as_echo_n "(cached) " >&6
8629else
8630 cat >conftest.$ac_ext <<_ACEOF
8631/* confdefs.h. */
8632_ACEOF
8633cat confdefs.h >>conftest.$ac_ext
8634cat >>conftest.$ac_ext <<_ACEOF
8635/* end confdefs.h. */
8636$ac_includes_default
6585#if HAVE_SYS_SOCKET_H 8637#if HAVE_SYS_SOCKET_H
6586#include <sys/socket.h> 8638#include <sys/socket.h>
6587#endif 8639#endif
6588#if HAVE_NET_IF_H 8640#if HAVE_NET_IF_H
6589#include <net/if.h> 8641#include <net/if.h>
6590#endif 8642#endif
6591" 8643
6592if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : 8644int
8645main ()
8646{
8647static struct ifreq ac_aggr;
8648if (ac_aggr.ifr_netmask)
8649return 0;
8650 ;
8651 return 0;
8652}
8653_ACEOF
8654rm -f conftest.$ac_objext
8655if { (ac_try="$ac_compile"
8656case "(($ac_try" in
8657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8658 *) ac_try_echo=$ac_try;;
8659esac
8660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8661$as_echo "$ac_try_echo") >&5
8662 (eval "$ac_compile") 2>conftest.er1
8663 ac_status=$?
8664 grep -v '^ *+' conftest.er1 >conftest.err
8665 rm -f conftest.er1
8666 cat conftest.err >&5
8667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && {
8669 test -z "$ac_c_werror_flag" ||
8670 test ! -s conftest.err
8671 } && test -s conftest.$ac_objext; then
8672 ac_cv_member_struct_ifreq_ifr_netmask=yes
8673else
8674 $as_echo "$as_me: failed program was:" >&5
8675sed 's/^/| /' conftest.$ac_ext >&5
8676
8677 cat >conftest.$ac_ext <<_ACEOF
8678/* confdefs.h. */
8679_ACEOF
8680cat confdefs.h >>conftest.$ac_ext
8681cat >>conftest.$ac_ext <<_ACEOF
8682/* end confdefs.h. */
8683$ac_includes_default
8684#if HAVE_SYS_SOCKET_H
8685#include <sys/socket.h>
8686#endif
8687#if HAVE_NET_IF_H
8688#include <net/if.h>
8689#endif
8690
8691int
8692main ()
8693{
8694static struct ifreq ac_aggr;
8695if (sizeof ac_aggr.ifr_netmask)
8696return 0;
8697 ;
8698 return 0;
8699}
8700_ACEOF
8701rm -f conftest.$ac_objext
8702if { (ac_try="$ac_compile"
8703case "(($ac_try" in
8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8705 *) ac_try_echo=$ac_try;;
8706esac
8707eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8708$as_echo "$ac_try_echo") >&5
8709 (eval "$ac_compile") 2>conftest.er1
8710 ac_status=$?
8711 grep -v '^ *+' conftest.er1 >conftest.err
8712 rm -f conftest.er1
8713 cat conftest.err >&5
8714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && {
8716 test -z "$ac_c_werror_flag" ||
8717 test ! -s conftest.err
8718 } && test -s conftest.$ac_objext; then
8719 ac_cv_member_struct_ifreq_ifr_netmask=yes
8720else
8721 $as_echo "$as_me: failed program was:" >&5
8722sed 's/^/| /' conftest.$ac_ext >&5
8723
8724 ac_cv_member_struct_ifreq_ifr_netmask=no
8725fi
8726
8727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8728fi
8729
8730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8731fi
8732{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8733$as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8734if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
6593 8735
6594cat >>confdefs.h <<_ACEOF 8736cat >>confdefs.h <<_ACEOF
6595#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8737#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -6597,15 +8739,116 @@ _ACEOF
6597 8739
6598 8740
6599fi 8741fi
6600ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default 8742{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
8743$as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; }
8744if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8745 $as_echo_n "(cached) " >&6
8746else
8747 cat >conftest.$ac_ext <<_ACEOF
8748/* confdefs.h. */
8749_ACEOF
8750cat confdefs.h >>conftest.$ac_ext
8751cat >>conftest.$ac_ext <<_ACEOF
8752/* end confdefs.h. */
8753$ac_includes_default
6601#if HAVE_SYS_SOCKET_H 8754#if HAVE_SYS_SOCKET_H
6602#include <sys/socket.h> 8755#include <sys/socket.h>
6603#endif 8756#endif
6604#if HAVE_NET_IF_H 8757#if HAVE_NET_IF_H
6605#include <net/if.h> 8758#include <net/if.h>
6606#endif 8759#endif
6607" 8760
6608if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : 8761int
8762main ()
8763{
8764static struct ifreq ac_aggr;
8765if (ac_aggr.ifr_broadaddr)
8766return 0;
8767 ;
8768 return 0;
8769}
8770_ACEOF
8771rm -f conftest.$ac_objext
8772if { (ac_try="$ac_compile"
8773case "(($ac_try" in
8774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8775 *) ac_try_echo=$ac_try;;
8776esac
8777eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8778$as_echo "$ac_try_echo") >&5
8779 (eval "$ac_compile") 2>conftest.er1
8780 ac_status=$?
8781 grep -v '^ *+' conftest.er1 >conftest.err
8782 rm -f conftest.er1
8783 cat conftest.err >&5
8784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); } && {
8786 test -z "$ac_c_werror_flag" ||
8787 test ! -s conftest.err
8788 } && test -s conftest.$ac_objext; then
8789 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8790else
8791 $as_echo "$as_me: failed program was:" >&5
8792sed 's/^/| /' conftest.$ac_ext >&5
8793
8794 cat >conftest.$ac_ext <<_ACEOF
8795/* confdefs.h. */
8796_ACEOF
8797cat confdefs.h >>conftest.$ac_ext
8798cat >>conftest.$ac_ext <<_ACEOF
8799/* end confdefs.h. */
8800$ac_includes_default
8801#if HAVE_SYS_SOCKET_H
8802#include <sys/socket.h>
8803#endif
8804#if HAVE_NET_IF_H
8805#include <net/if.h>
8806#endif
8807
8808int
8809main ()
8810{
8811static struct ifreq ac_aggr;
8812if (sizeof ac_aggr.ifr_broadaddr)
8813return 0;
8814 ;
8815 return 0;
8816}
8817_ACEOF
8818rm -f conftest.$ac_objext
8819if { (ac_try="$ac_compile"
8820case "(($ac_try" in
8821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8822 *) ac_try_echo=$ac_try;;
8823esac
8824eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8825$as_echo "$ac_try_echo") >&5
8826 (eval "$ac_compile") 2>conftest.er1
8827 ac_status=$?
8828 grep -v '^ *+' conftest.er1 >conftest.err
8829 rm -f conftest.er1
8830 cat conftest.err >&5
8831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); } && {
8833 test -z "$ac_c_werror_flag" ||
8834 test ! -s conftest.err
8835 } && test -s conftest.$ac_objext; then
8836 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8837else
8838 $as_echo "$as_me: failed program was:" >&5
8839sed 's/^/| /' conftest.$ac_ext >&5
8840
8841 ac_cv_member_struct_ifreq_ifr_broadaddr=no
8842fi
8843
8844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8845fi
8846
8847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8848fi
8849{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8850$as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8851if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
6609 8852
6610cat >>confdefs.h <<_ACEOF 8853cat >>confdefs.h <<_ACEOF
6611#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8854#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -6613,15 +8856,116 @@ _ACEOF
6613 8856
6614 8857
6615fi 8858fi
6616ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default 8859{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
8860$as_echo_n "checking for struct ifreq.ifr_addr... " >&6; }
8861if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
8862 $as_echo_n "(cached) " >&6
8863else
8864 cat >conftest.$ac_ext <<_ACEOF
8865/* confdefs.h. */
8866_ACEOF
8867cat confdefs.h >>conftest.$ac_ext
8868cat >>conftest.$ac_ext <<_ACEOF
8869/* end confdefs.h. */
8870$ac_includes_default
6617#if HAVE_SYS_SOCKET_H 8871#if HAVE_SYS_SOCKET_H
6618#include <sys/socket.h> 8872#include <sys/socket.h>
6619#endif 8873#endif
6620#if HAVE_NET_IF_H 8874#if HAVE_NET_IF_H
6621#include <net/if.h> 8875#include <net/if.h>
6622#endif 8876#endif
6623" 8877
6624if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : 8878int
8879main ()
8880{
8881static struct ifreq ac_aggr;
8882if (ac_aggr.ifr_addr)
8883return 0;
8884 ;
8885 return 0;
8886}
8887_ACEOF
8888rm -f conftest.$ac_objext
8889if { (ac_try="$ac_compile"
8890case "(($ac_try" in
8891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8892 *) ac_try_echo=$ac_try;;
8893esac
8894eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8895$as_echo "$ac_try_echo") >&5
8896 (eval "$ac_compile") 2>conftest.er1
8897 ac_status=$?
8898 grep -v '^ *+' conftest.er1 >conftest.err
8899 rm -f conftest.er1
8900 cat conftest.err >&5
8901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_c_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest.$ac_objext; then
8906 ac_cv_member_struct_ifreq_ifr_addr=yes
8907else
8908 $as_echo "$as_me: failed program was:" >&5
8909sed 's/^/| /' conftest.$ac_ext >&5
8910
8911 cat >conftest.$ac_ext <<_ACEOF
8912/* confdefs.h. */
8913_ACEOF
8914cat confdefs.h >>conftest.$ac_ext
8915cat >>conftest.$ac_ext <<_ACEOF
8916/* end confdefs.h. */
8917$ac_includes_default
8918#if HAVE_SYS_SOCKET_H
8919#include <sys/socket.h>
8920#endif
8921#if HAVE_NET_IF_H
8922#include <net/if.h>
8923#endif
8924
8925int
8926main ()
8927{
8928static struct ifreq ac_aggr;
8929if (sizeof ac_aggr.ifr_addr)
8930return 0;
8931 ;
8932 return 0;
8933}
8934_ACEOF
8935rm -f conftest.$ac_objext
8936if { (ac_try="$ac_compile"
8937case "(($ac_try" in
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8940esac
8941eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8942$as_echo "$ac_try_echo") >&5
8943 (eval "$ac_compile") 2>conftest.er1
8944 ac_status=$?
8945 grep -v '^ *+' conftest.er1 >conftest.err
8946 rm -f conftest.er1
8947 cat conftest.err >&5
8948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } && {
8950 test -z "$ac_c_werror_flag" ||
8951 test ! -s conftest.err
8952 } && test -s conftest.$ac_objext; then
8953 ac_cv_member_struct_ifreq_ifr_addr=yes
8954else
8955 $as_echo "$as_me: failed program was:" >&5
8956sed 's/^/| /' conftest.$ac_ext >&5
8957
8958 ac_cv_member_struct_ifreq_ifr_addr=no
8959fi
8960
8961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8962fi
8963
8964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965fi
8966{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8967$as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8968if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
6625 8969
6626cat >>confdefs.h <<_ACEOF 8970cat >>confdefs.h <<_ACEOF
6627#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8971#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -6632,28 +8976,36 @@ fi
6632 8976
6633 8977
6634 8978
6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 8979{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
6636$as_echo_n "checking for function prototypes... " >&6; } 8980$as_echo_n "checking for function prototypes... " >&6; }
6637if test "$ac_cv_prog_cc_c89" != no; then 8981if test "$ac_cv_prog_cc_c89" != no; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8982 { $as_echo "$as_me:$LINENO: result: yes" >&5
6639$as_echo "yes" >&6; } 8983$as_echo "yes" >&6; }
6640 8984
6641$as_echo "#define PROTOTYPES 1" >>confdefs.h 8985cat >>confdefs.h <<\_ACEOF
8986#define PROTOTYPES 1
8987_ACEOF
6642 8988
6643 8989
6644$as_echo "#define __PROTOTYPES 1" >>confdefs.h 8990cat >>confdefs.h <<\_ACEOF
8991#define __PROTOTYPES 1
8992_ACEOF
6645 8993
6646else 8994else
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8995 { $as_echo "$as_me:$LINENO: result: no" >&5
6648$as_echo "no" >&6; } 8996$as_echo "no" >&6; }
6649fi 8997fi
6650 8998
6651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 8999{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5
6652$as_echo_n "checking for working volatile... " >&6; } 9000$as_echo_n "checking for working volatile... " >&6; }
6653if test "${ac_cv_c_volatile+set}" = set; then : 9001if test "${ac_cv_c_volatile+set}" = set; then
6654 $as_echo_n "(cached) " >&6 9002 $as_echo_n "(cached) " >&6
6655else 9003else
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9004 cat >conftest.$ac_ext <<_ACEOF
9005/* confdefs.h. */
9006_ACEOF
9007cat confdefs.h >>conftest.$ac_ext
9008cat >>conftest.$ac_ext <<_ACEOF
6657/* end confdefs.h. */ 9009/* end confdefs.h. */
6658 9010
6659int 9011int
@@ -6667,27 +9019,54 @@ return !x && !y;
6667 return 0; 9019 return 0;
6668} 9020}
6669_ACEOF 9021_ACEOF
6670if ac_fn_c_try_compile "$LINENO"; then : 9022rm -f conftest.$ac_objext
9023if { (ac_try="$ac_compile"
9024case "(($ac_try" in
9025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9026 *) ac_try_echo=$ac_try;;
9027esac
9028eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9029$as_echo "$ac_try_echo") >&5
9030 (eval "$ac_compile") 2>conftest.er1
9031 ac_status=$?
9032 grep -v '^ *+' conftest.er1 >conftest.err
9033 rm -f conftest.er1
9034 cat conftest.err >&5
9035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } && {
9037 test -z "$ac_c_werror_flag" ||
9038 test ! -s conftest.err
9039 } && test -s conftest.$ac_objext; then
6671 ac_cv_c_volatile=yes 9040 ac_cv_c_volatile=yes
6672else 9041else
6673 ac_cv_c_volatile=no 9042 $as_echo "$as_me: failed program was:" >&5
9043sed 's/^/| /' conftest.$ac_ext >&5
9044
9045 ac_cv_c_volatile=no
6674fi 9046fi
9047
6675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9048rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676fi 9049fi
6677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 9050{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
6678$as_echo "$ac_cv_c_volatile" >&6; } 9051$as_echo "$ac_cv_c_volatile" >&6; }
6679if test $ac_cv_c_volatile = no; then 9052if test $ac_cv_c_volatile = no; then
6680 9053
6681$as_echo "#define volatile /**/" >>confdefs.h 9054cat >>confdefs.h <<\_ACEOF
9055#define volatile /**/
9056_ACEOF
6682 9057
6683fi 9058fi
6684 9059
6685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 9060{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6686$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 9061$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6687if test "${ac_cv_c_const+set}" = set; then : 9062if test "${ac_cv_c_const+set}" = set; then
6688 $as_echo_n "(cached) " >&6 9063 $as_echo_n "(cached) " >&6
6689else 9064else
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9065 cat >conftest.$ac_ext <<_ACEOF
9066/* confdefs.h. */
9067_ACEOF
9068cat confdefs.h >>conftest.$ac_ext
9069cat >>conftest.$ac_ext <<_ACEOF
6691/* end confdefs.h. */ 9070/* end confdefs.h. */
6692 9071
6693int 9072int
@@ -6747,27 +9126,54 @@ main ()
6747 return 0; 9126 return 0;
6748} 9127}
6749_ACEOF 9128_ACEOF
6750if ac_fn_c_try_compile "$LINENO"; then : 9129rm -f conftest.$ac_objext
9130if { (ac_try="$ac_compile"
9131case "(($ac_try" in
9132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9133 *) ac_try_echo=$ac_try;;
9134esac
9135eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9136$as_echo "$ac_try_echo") >&5
9137 (eval "$ac_compile") 2>conftest.er1
9138 ac_status=$?
9139 grep -v '^ *+' conftest.er1 >conftest.err
9140 rm -f conftest.er1
9141 cat conftest.err >&5
9142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } && {
9144 test -z "$ac_c_werror_flag" ||
9145 test ! -s conftest.err
9146 } && test -s conftest.$ac_objext; then
6751 ac_cv_c_const=yes 9147 ac_cv_c_const=yes
6752else 9148else
6753 ac_cv_c_const=no 9149 $as_echo "$as_me: failed program was:" >&5
9150sed 's/^/| /' conftest.$ac_ext >&5
9151
9152 ac_cv_c_const=no
6754fi 9153fi
9154
6755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6756fi 9156fi
6757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 9157{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6758$as_echo "$ac_cv_c_const" >&6; } 9158$as_echo "$ac_cv_c_const" >&6; }
6759if test $ac_cv_c_const = no; then 9159if test $ac_cv_c_const = no; then
6760 9160
6761$as_echo "#define const /**/" >>confdefs.h 9161cat >>confdefs.h <<\_ACEOF
9162#define const /**/
9163_ACEOF
6762 9164
6763fi 9165fi
6764 9166
6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 9167{ $as_echo "$as_me:$LINENO: checking for void * support" >&5
6766$as_echo_n "checking for void * support... " >&6; } 9168$as_echo_n "checking for void * support... " >&6; }
6767if test "${emacs_cv_void_star+set}" = set; then : 9169if test "${emacs_cv_void_star+set}" = set; then
6768 $as_echo_n "(cached) " >&6 9170 $as_echo_n "(cached) " >&6
6769else 9171else
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9172 cat >conftest.$ac_ext <<_ACEOF
9173/* confdefs.h. */
9174_ACEOF
9175cat confdefs.h >>conftest.$ac_ext
9176cat >>conftest.$ac_ext <<_ACEOF
6771/* end confdefs.h. */ 9177/* end confdefs.h. */
6772 9178
6773int 9179int
@@ -6778,31 +9184,57 @@ void * foo;
6778 return 0; 9184 return 0;
6779} 9185}
6780_ACEOF 9186_ACEOF
6781if ac_fn_c_try_compile "$LINENO"; then : 9187rm -f conftest.$ac_objext
9188if { (ac_try="$ac_compile"
9189case "(($ac_try" in
9190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9191 *) ac_try_echo=$ac_try;;
9192esac
9193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9194$as_echo "$ac_try_echo") >&5
9195 (eval "$ac_compile") 2>conftest.er1
9196 ac_status=$?
9197 grep -v '^ *+' conftest.er1 >conftest.err
9198 rm -f conftest.er1
9199 cat conftest.err >&5
9200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } && {
9202 test -z "$ac_c_werror_flag" ||
9203 test ! -s conftest.err
9204 } && test -s conftest.$ac_objext; then
6782 emacs_cv_void_star=yes 9205 emacs_cv_void_star=yes
6783else 9206else
6784 emacs_cv_void_star=no 9207 $as_echo "$as_me: failed program was:" >&5
9208sed 's/^/| /' conftest.$ac_ext >&5
9209
9210 emacs_cv_void_star=no
6785fi 9211fi
9212
6786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6787fi 9214fi
6788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 9215{ $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
6789$as_echo "$emacs_cv_void_star" >&6; } 9216$as_echo "$emacs_cv_void_star" >&6; }
6790if test $emacs_cv_void_star = yes; then 9217if test $emacs_cv_void_star = yes; then
6791 $as_echo "#define POINTER_TYPE void" >>confdefs.h 9218 cat >>confdefs.h <<\_ACEOF
9219#define POINTER_TYPE void
9220_ACEOF
6792 9221
6793else 9222else
6794 $as_echo "#define POINTER_TYPE char" >>confdefs.h 9223 cat >>confdefs.h <<\_ACEOF
9224#define POINTER_TYPE char
9225_ACEOF
6795 9226
6796fi 9227fi
6797 9228
6798 9229
6799 9230
6800 9231
6801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 9232
9233{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6802$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 9234$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6803set x ${MAKE-make} 9235set x ${MAKE-make}
6804ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 9236ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6805if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 9237if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6806 $as_echo_n "(cached) " >&6 9238 $as_echo_n "(cached) " >&6
6807else 9239else
6808 cat >conftest.make <<\_ACEOF 9240 cat >conftest.make <<\_ACEOF
@@ -6820,18 +9252,18 @@ esac
6820rm -f conftest.make 9252rm -f conftest.make
6821fi 9253fi
6822if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 9254if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9255 { $as_echo "$as_me:$LINENO: result: yes" >&5
6824$as_echo "yes" >&6; } 9256$as_echo "yes" >&6; }
6825 SET_MAKE= 9257 SET_MAKE=
6826else 9258else
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9259 { $as_echo "$as_me:$LINENO: result: no" >&5
6828$as_echo "no" >&6; } 9260$as_echo "no" >&6; }
6829 SET_MAKE="MAKE=${MAKE-make}" 9261 SET_MAKE="MAKE=${MAKE-make}"
6830fi 9262fi
6831 9263
6832 9264
6833if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then 9265if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 9266 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5
6835$as_echo_n "checking whether we are using GNU Make... " >&6; } 9267$as_echo_n "checking whether we are using GNU Make... " >&6; }
6836 HAVE_GNU_MAKE=no 9268 HAVE_GNU_MAKE=no
6837 testval=`make --version 2>/dev/null | grep 'GNU Make'` 9269 testval=`make --version 2>/dev/null | grep 'GNU Make'`
@@ -6840,14 +9272,18 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; }
6840 else 9272 else
6841 ac_enable_autodepend=no 9273 ac_enable_autodepend=no
6842 fi 9274 fi
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 9275 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5
6844$as_echo "$HAVE_GNU_MAKE" >&6; } 9276$as_echo "$HAVE_GNU_MAKE" >&6; }
6845 if test $HAVE_GNU_MAKE = yes; then 9277 if test $HAVE_GNU_MAKE = yes; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 9278 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5
6847$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } 9279$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; }
6848 SAVE_CFLAGS="$CFLAGS" 9280 SAVE_CFLAGS="$CFLAGS"
6849 CFLAGS="$CFLAGS -MMD -MF deps.d" 9281 CFLAGS="$CFLAGS -MMD -MF deps.d"
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9282 cat >conftest.$ac_ext <<_ACEOF
9283/* confdefs.h. */
9284_ACEOF
9285cat confdefs.h >>conftest.$ac_ext
9286cat >>conftest.$ac_ext <<_ACEOF
6851/* end confdefs.h. */ 9287/* end confdefs.h. */
6852 9288
6853int 9289int
@@ -6858,28 +9294,51 @@ main ()
6858 return 0; 9294 return 0;
6859} 9295}
6860_ACEOF 9296_ACEOF
6861if ac_fn_c_try_compile "$LINENO"; then : 9297rm -f conftest.$ac_objext
6862 9298if { (ac_try="$ac_compile"
9299case "(($ac_try" in
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9302esac
9303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9304$as_echo "$ac_try_echo") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9306 ac_status=$?
9307 grep -v '^ *+' conftest.er1 >conftest.err
9308 rm -f conftest.er1
9309 cat conftest.err >&5
9310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } && {
9312 test -z "$ac_c_werror_flag" ||
9313 test ! -s conftest.err
9314 } && test -s conftest.$ac_objext; then
9315 :
6863else 9316else
6864 ac_enable_autodepend=no 9317 $as_echo "$as_me: failed program was:" >&5
9318sed 's/^/| /' conftest.$ac_ext >&5
9319
9320 ac_enable_autodepend=no
6865fi 9321fi
9322
6866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 CFLAGS="$SAVE_CFLAGS" 9324 CFLAGS="$SAVE_CFLAGS"
6868 test -f deps.d || ac_enable_autodepend=no 9325 test -f deps.d || ac_enable_autodepend=no
6869 rm -rf deps.d 9326 rm -rf deps.d
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 9327 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5
6871$as_echo "$ac_enable_autodepend" >&6; } 9328$as_echo "$ac_enable_autodepend" >&6; }
6872 fi 9329 fi
6873 if test $ac_enable_autodepend = yes; then 9330 if test $ac_enable_autodepend = yes; then
6874 9331
6875$as_echo "#define AUTO_DEPEND 1" >>confdefs.h 9332cat >>confdefs.h <<\_ACEOF
9333#define AUTO_DEPEND 1
9334_ACEOF
6876 9335
6877 fi 9336 fi
6878fi 9337fi
6879 9338
6880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 9339{ $as_echo "$as_me:$LINENO: checking for long file names" >&5
6881$as_echo_n "checking for long file names... " >&6; } 9340$as_echo_n "checking for long file names... " >&6; }
6882if test "${ac_cv_sys_long_file_names+set}" = set; then : 9341if test "${ac_cv_sys_long_file_names+set}" = set; then
6883 $as_echo_n "(cached) " >&6 9342 $as_echo_n "(cached) " >&6
6884else 9343else
6885 ac_cv_sys_long_file_names=yes 9344 ac_cv_sys_long_file_names=yes
@@ -6909,23 +9368,25 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib
6909 test $ac_cv_sys_long_file_names = no && break 9368 test $ac_cv_sys_long_file_names = no && break
6910done 9369done
6911fi 9370fi
6912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 9371{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
6913$as_echo "$ac_cv_sys_long_file_names" >&6; } 9372$as_echo "$ac_cv_sys_long_file_names" >&6; }
6914if test $ac_cv_sys_long_file_names = yes; then 9373if test $ac_cv_sys_long_file_names = yes; then
6915 9374
6916$as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h 9375cat >>confdefs.h <<\_ACEOF
9376#define HAVE_LONG_FILE_NAMES 1
9377_ACEOF
6917 9378
6918fi 9379fi
6919 9380
6920 9381
6921#### Choose a window system. 9382#### Choose a window system.
6922 9383
6923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 9384{ $as_echo "$as_me:$LINENO: checking for X" >&5
6924$as_echo_n "checking for X... " >&6; } 9385$as_echo_n "checking for X... " >&6; }
6925 9386
6926 9387
6927# Check whether --with-x was given. 9388# Check whether --with-x was given.
6928if test "${with_x+set}" = set; then : 9389if test "${with_x+set}" = set; then
6929 withval=$with_x; 9390 withval=$with_x;
6930fi 9391fi
6931 9392
@@ -6935,8 +9396,10 @@ if test "x$with_x" = xno; then
6935 have_x=disabled 9396 have_x=disabled
6936else 9397else
6937 case $x_includes,$x_libraries in #( 9398 case $x_includes,$x_libraries in #(
6938 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 9399 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
6939 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 9400$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
9401 { (exit 1); exit 1; }; };; #(
9402 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
6940 $as_echo_n "(cached) " >&6 9403 $as_echo_n "(cached) " >&6
6941else 9404else
6942 # One or both of the vars are not set, and there is no cached value. 9405 # One or both of the vars are not set, and there is no cached value.
@@ -6972,7 +9435,7 @@ _ACEOF
6972 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 9435 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6973 esac 9436 esac
6974 case $ac_im_usrlibdir in 9437 case $ac_im_usrlibdir in
6975 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 9438 /usr/lib | /lib) ;;
6976 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 9439 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6977 esac 9440 esac
6978 fi 9441 fi
@@ -6984,25 +9447,21 @@ fi
6984# Check X11 before X11Rn because it is often a symlink to the current release. 9447# Check X11 before X11Rn because it is often a symlink to the current release.
6985ac_x_header_dirs=' 9448ac_x_header_dirs='
6986/usr/X11/include 9449/usr/X11/include
6987/usr/X11R7/include
6988/usr/X11R6/include 9450/usr/X11R6/include
6989/usr/X11R5/include 9451/usr/X11R5/include
6990/usr/X11R4/include 9452/usr/X11R4/include
6991 9453
6992/usr/include/X11 9454/usr/include/X11
6993/usr/include/X11R7
6994/usr/include/X11R6 9455/usr/include/X11R6
6995/usr/include/X11R5 9456/usr/include/X11R5
6996/usr/include/X11R4 9457/usr/include/X11R4
6997 9458
6998/usr/local/X11/include 9459/usr/local/X11/include
6999/usr/local/X11R7/include
7000/usr/local/X11R6/include 9460/usr/local/X11R6/include
7001/usr/local/X11R5/include 9461/usr/local/X11R5/include
7002/usr/local/X11R4/include 9462/usr/local/X11R4/include
7003 9463
7004/usr/local/include/X11 9464/usr/local/include/X11
7005/usr/local/include/X11R7
7006/usr/local/include/X11R6 9465/usr/local/include/X11R6
7007/usr/local/include/X11R5 9466/usr/local/include/X11R5
7008/usr/local/include/X11R4 9467/usr/local/include/X11R4
@@ -7024,14 +9483,37 @@ ac_x_header_dirs='
7024if test "$ac_x_includes" = no; then 9483if test "$ac_x_includes" = no; then
7025 # Guess where to find include files, by looking for Xlib.h. 9484 # Guess where to find include files, by looking for Xlib.h.
7026 # First, try using that file with no special directory specified. 9485 # First, try using that file with no special directory specified.
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9486 cat >conftest.$ac_ext <<_ACEOF
9487/* confdefs.h. */
9488_ACEOF
9489cat confdefs.h >>conftest.$ac_ext
9490cat >>conftest.$ac_ext <<_ACEOF
7028/* end confdefs.h. */ 9491/* end confdefs.h. */
7029#include <X11/Xlib.h> 9492#include <X11/Xlib.h>
7030_ACEOF 9493_ACEOF
7031if ac_fn_c_try_cpp "$LINENO"; then : 9494if { (ac_try="$ac_cpp conftest.$ac_ext"
9495case "(($ac_try" in
9496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9497 *) ac_try_echo=$ac_try;;
9498esac
9499eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9500$as_echo "$ac_try_echo") >&5
9501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9502 ac_status=$?
9503 grep -v '^ *+' conftest.er1 >conftest.err
9504 rm -f conftest.er1
9505 cat conftest.err >&5
9506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); } >/dev/null && {
9508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9509 test ! -s conftest.err
9510 }; then
7032 # We can compile using X headers with no special include directory. 9511 # We can compile using X headers with no special include directory.
7033ac_x_includes= 9512ac_x_includes=
7034else 9513else
9514 $as_echo "$as_me: failed program was:" >&5
9515sed 's/^/| /' conftest.$ac_ext >&5
9516
7035 for ac_dir in $ac_x_header_dirs; do 9517 for ac_dir in $ac_x_header_dirs; do
7036 if test -r "$ac_dir/X11/Xlib.h"; then 9518 if test -r "$ac_dir/X11/Xlib.h"; then
7037 ac_x_includes=$ac_dir 9519 ac_x_includes=$ac_dir
@@ -7039,6 +9521,7 @@ else
7039 fi 9521 fi
7040done 9522done
7041fi 9523fi
9524
7042rm -f conftest.err conftest.$ac_ext 9525rm -f conftest.err conftest.$ac_ext
7043fi # $ac_x_includes = no 9526fi # $ac_x_includes = no
7044 9527
@@ -7048,7 +9531,11 @@ if test "$ac_x_libraries" = no; then
7048 # Don't add to $LIBS permanently. 9531 # Don't add to $LIBS permanently.
7049 ac_save_LIBS=$LIBS 9532 ac_save_LIBS=$LIBS
7050 LIBS="-lX11 $LIBS" 9533 LIBS="-lX11 $LIBS"
7051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9534 cat >conftest.$ac_ext <<_ACEOF
9535/* confdefs.h. */
9536_ACEOF
9537cat confdefs.h >>conftest.$ac_ext
9538cat >>conftest.$ac_ext <<_ACEOF
7052/* end confdefs.h. */ 9539/* end confdefs.h. */
7053#include <X11/Xlib.h> 9540#include <X11/Xlib.h>
7054int 9541int
@@ -7059,12 +9546,35 @@ XrmInitialize ()
7059 return 0; 9546 return 0;
7060} 9547}
7061_ACEOF 9548_ACEOF
7062if ac_fn_c_try_link "$LINENO"; then : 9549rm -f conftest.$ac_objext conftest$ac_exeext
9550if { (ac_try="$ac_link"
9551case "(($ac_try" in
9552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9553 *) ac_try_echo=$ac_try;;
9554esac
9555eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9556$as_echo "$ac_try_echo") >&5
9557 (eval "$ac_link") 2>conftest.er1
9558 ac_status=$?
9559 grep -v '^ *+' conftest.er1 >conftest.err
9560 rm -f conftest.er1
9561 cat conftest.err >&5
9562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } && {
9564 test -z "$ac_c_werror_flag" ||
9565 test ! -s conftest.err
9566 } && test -s conftest$ac_exeext && {
9567 test "$cross_compiling" = yes ||
9568 $as_test_x conftest$ac_exeext
9569 }; then
7063 LIBS=$ac_save_LIBS 9570 LIBS=$ac_save_LIBS
7064# We can link X programs with no special library path. 9571# We can link X programs with no special library path.
7065ac_x_libraries= 9572ac_x_libraries=
7066else 9573else
7067 LIBS=$ac_save_LIBS 9574 $as_echo "$as_me: failed program was:" >&5
9575sed 's/^/| /' conftest.$ac_ext >&5
9576
9577 LIBS=$ac_save_LIBS
7068for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9578for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7069do 9579do
7070 # Don't even attempt the hair of trying to link an X program! 9580 # Don't even attempt the hair of trying to link an X program!
@@ -7076,8 +9586,10 @@ do
7076 done 9586 done
7077done 9587done
7078fi 9588fi
7079rm -f core conftest.err conftest.$ac_objext \ 9589
7080 conftest$ac_exeext conftest.$ac_ext 9590rm -rf conftest.dSYM
9591rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9592 conftest$ac_exeext conftest.$ac_ext
7081fi # $ac_x_libraries = no 9593fi # $ac_x_libraries = no
7082 9594
7083case $ac_x_includes,$ac_x_libraries in #( 9595case $ac_x_includes,$ac_x_libraries in #(
@@ -7098,7 +9610,7 @@ fi
7098fi # $with_x != no 9610fi # $with_x != no
7099 9611
7100if test "$have_x" != yes; then 9612if test "$have_x" != yes; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 9613 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
7102$as_echo "$have_x" >&6; } 9614$as_echo "$have_x" >&6; }
7103 no_x=yes 9615 no_x=yes
7104else 9616else
@@ -7109,7 +9621,7 @@ else
7109 ac_cv_have_x="have_x=yes\ 9621 ac_cv_have_x="have_x=yes\
7110 ac_x_includes='$x_includes'\ 9622 ac_x_includes='$x_includes'\
7111 ac_x_libraries='$x_libraries'" 9623 ac_x_libraries='$x_libraries'"
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 9624 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7113$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 9625$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7114fi 9626fi
7115 9627
@@ -7205,17 +9717,150 @@ if test "${with_ns}" != no; then
7205 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9717 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
7206 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 9718 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
7207 fi 9719 fi
7208 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 9720 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
7209if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 9721 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9722$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9723if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9724 $as_echo_n "(cached) " >&6
9725fi
9726{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9727$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9728else
9729 # Is the header compilable?
9730{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9731$as_echo_n "checking AppKit/AppKit.h usability... " >&6; }
9732cat >conftest.$ac_ext <<_ACEOF
9733/* confdefs.h. */
9734_ACEOF
9735cat confdefs.h >>conftest.$ac_ext
9736cat >>conftest.$ac_ext <<_ACEOF
9737/* end confdefs.h. */
9738$ac_includes_default
9739#include <AppKit/AppKit.h>
9740_ACEOF
9741rm -f conftest.$ac_objext
9742if { (ac_try="$ac_compile"
9743case "(($ac_try" in
9744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9745 *) ac_try_echo=$ac_try;;
9746esac
9747eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9748$as_echo "$ac_try_echo") >&5
9749 (eval "$ac_compile") 2>conftest.er1
9750 ac_status=$?
9751 grep -v '^ *+' conftest.er1 >conftest.err
9752 rm -f conftest.er1
9753 cat conftest.err >&5
9754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } && {
9756 test -z "$ac_c_werror_flag" ||
9757 test ! -s conftest.err
9758 } && test -s conftest.$ac_objext; then
9759 ac_header_compiler=yes
9760else
9761 $as_echo "$as_me: failed program was:" >&5
9762sed 's/^/| /' conftest.$ac_ext >&5
9763
9764 ac_header_compiler=no
9765fi
9766
9767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9768{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9769$as_echo "$ac_header_compiler" >&6; }
9770
9771# Is the header present?
9772{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
9773$as_echo_n "checking AppKit/AppKit.h presence... " >&6; }
9774cat >conftest.$ac_ext <<_ACEOF
9775/* confdefs.h. */
9776_ACEOF
9777cat confdefs.h >>conftest.$ac_ext
9778cat >>conftest.$ac_ext <<_ACEOF
9779/* end confdefs.h. */
9780#include <AppKit/AppKit.h>
9781_ACEOF
9782if { (ac_try="$ac_cpp conftest.$ac_ext"
9783case "(($ac_try" in
9784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9785 *) ac_try_echo=$ac_try;;
9786esac
9787eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9788$as_echo "$ac_try_echo") >&5
9789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9790 ac_status=$?
9791 grep -v '^ *+' conftest.er1 >conftest.err
9792 rm -f conftest.er1
9793 cat conftest.err >&5
9794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } >/dev/null && {
9796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9797 test ! -s conftest.err
9798 }; then
9799 ac_header_preproc=yes
9800else
9801 $as_echo "$as_me: failed program was:" >&5
9802sed 's/^/| /' conftest.$ac_ext >&5
9803
9804 ac_header_preproc=no
9805fi
9806
9807rm -f conftest.err conftest.$ac_ext
9808{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9809$as_echo "$ac_header_preproc" >&6; }
9810
9811# So? What about this header?
9812case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9813 yes:no: )
9814 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
9815$as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9816 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
9817$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
9818 ac_header_preproc=yes
9819 ;;
9820 no:yes:* )
9821 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
9822$as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
9823 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
9824$as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
9825 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
9826$as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
9827 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
9828$as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
9829 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
9830$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
9831 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
9832$as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
9833
9834 ;;
9835esac
9836{ $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9837$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9838if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9839 $as_echo_n "(cached) " >&6
9840else
9841 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
9842fi
9843{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9844$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9845
9846fi
9847if test $ac_cv_header_AppKit_AppKit_h = yes; then
7210 HAVE_NS=yes 9848 HAVE_NS=yes
7211else 9849else
7212 as_fn_error "\`--with-ns' was specified, but the include 9850 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include
7213 files are missing or cannot be compiled." "$LINENO" 5 9851 files are missing or cannot be compiled." >&5
9852$as_echo "$as_me: error: \`--with-ns' was specified, but the include
9853 files are missing or cannot be compiled." >&2;}
9854 { (exit 1); exit 1; }; }
7214fi 9855fi
7215 9856
7216 9857
7217 NS_HAVE_NSINTEGER=yes 9858 NS_HAVE_NSINTEGER=yes
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9859 cat >conftest.$ac_ext <<_ACEOF
9860/* confdefs.h. */
9861_ACEOF
9862cat confdefs.h >>conftest.$ac_ext
9863cat >>conftest.$ac_ext <<_ACEOF
7219/* end confdefs.h. */ 9864/* end confdefs.h. */
7220#include <Foundation/NSObjCRuntime.h> 9865#include <Foundation/NSObjCRuntime.h>
7221int 9866int
@@ -7226,11 +9871,32 @@ NSInteger i;
7226 return 0; 9871 return 0;
7227} 9872}
7228_ACEOF 9873_ACEOF
7229if ac_fn_c_try_compile "$LINENO"; then : 9874rm -f conftest.$ac_objext
9875if { (ac_try="$ac_compile"
9876case "(($ac_try" in
9877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9879esac
9880eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9881$as_echo "$ac_try_echo") >&5
9882 (eval "$ac_compile") 2>conftest.er1
9883 ac_status=$?
9884 grep -v '^ *+' conftest.er1 >conftest.err
9885 rm -f conftest.er1
9886 cat conftest.err >&5
9887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } && {
9889 test -z "$ac_c_werror_flag" ||
9890 test ! -s conftest.err
9891 } && test -s conftest.$ac_objext; then
7230 ns_have_nsinteger=yes 9892 ns_have_nsinteger=yes
7231else 9893else
7232 ns_have_nsinteger=no 9894 $as_echo "$as_me: failed program was:" >&5
9895sed 's/^/| /' conftest.$ac_ext >&5
9896
9897 ns_have_nsinteger=no
7233fi 9898fi
9899
7234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7235 if test $ns_have_nsinteger = no; then 9901 if test $ns_have_nsinteger = no; then
7236 NS_HAVE_NSINTEGER=no 9902 NS_HAVE_NSINTEGER=no
@@ -7272,9 +9938,9 @@ esac
7272if test "$window_system" = none && test "X$with_x" != "Xno"; then 9938if test "$window_system" = none && test "X$with_x" != "Xno"; then
7273 # Extract the first word of "X", so it can be a program name with args. 9939 # Extract the first word of "X", so it can be a program name with args.
7274set dummy X; ac_word=$2 9940set dummy X; ac_word=$2
7275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9941{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7276$as_echo_n "checking for $ac_word... " >&6; } 9942$as_echo_n "checking for $ac_word... " >&6; }
7277if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : 9943if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then
7278 $as_echo_n "(cached) " >&6 9944 $as_echo_n "(cached) " >&6
7279else 9945else
7280 if test -n "$HAVE_XSERVER"; then 9946 if test -n "$HAVE_XSERVER"; then
@@ -7285,14 +9951,14 @@ for as_dir in $PATH
7285do 9951do
7286 IFS=$as_save_IFS 9952 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=. 9953 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do 9954 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_HAVE_XSERVER="true" 9956 ac_cv_prog_HAVE_XSERVER="true"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9957 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2 9958 break 2
7293 fi 9959 fi
7294done 9960done
7295 done 9961done
7296IFS=$as_save_IFS 9962IFS=$as_save_IFS
7297 9963
7298 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 9964 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
@@ -7300,10 +9966,10 @@ fi
7300fi 9966fi
7301HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 9967HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
7302if test -n "$HAVE_XSERVER"; then 9968if test -n "$HAVE_XSERVER"; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 9969 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5
7304$as_echo "$HAVE_XSERVER" >&6; } 9970$as_echo "$HAVE_XSERVER" >&6; }
7305else 9971else
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9972 { $as_echo "$as_me:$LINENO: result: no" >&5
7307$as_echo "no" >&6; } 9973$as_echo "no" >&6; }
7308fi 9974fi
7309 9975
@@ -7311,14 +9977,23 @@ fi
7311 if test "$HAVE_XSERVER" = true || 9977 if test "$HAVE_XSERVER" = true ||
7312 test -n "$DISPLAY" || 9978 test -n "$DISPLAY" ||
7313 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 9979 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7314 as_fn_error "You seem to be running X, but no X development libraries 9980 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries
9981were found. You should install the relevant development files for X
9982and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9983sure you have development files for image handling, i.e.
9984tiff, gif, jpeg, png and xpm.
9985If you are sure you want Emacs compiled without X window support, pass
9986 --without-x
9987to configure." >&5
9988$as_echo "$as_me: error: You seem to be running X, but no X development libraries
7315were found. You should install the relevant development files for X 9989were found. You should install the relevant development files for X
7316and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9990and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7317sure you have development files for image handling, i.e. 9991sure you have development files for image handling, i.e.
7318tiff, gif, jpeg, png and xpm. 9992tiff, gif, jpeg, png and xpm.
7319If you are sure you want Emacs compiled without X window support, pass 9993If you are sure you want Emacs compiled without X window support, pass
7320 --without-x 9994 --without-x
7321to configure." "$LINENO" 5 9995to configure." >&2;}
9996 { (exit 1); exit 1; }; }
7322 fi 9997 fi
7323fi 9998fi
7324 9999
@@ -7332,26 +10007,198 @@ esac
7332# Assume not, until told otherwise. 10007# Assume not, until told otherwise.
7333GNU_MALLOC=yes 10008GNU_MALLOC=yes
7334doug_lea_malloc=yes 10009doug_lea_malloc=yes
7335ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" 10010{ $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5
7336if test "x$ac_cv_func_malloc_get_state" = x""yes; then : 10011$as_echo_n "checking for malloc_get_state... " >&6; }
10012if test "${ac_cv_func_malloc_get_state+set}" = set; then
10013 $as_echo_n "(cached) " >&6
10014else
10015 cat >conftest.$ac_ext <<_ACEOF
10016/* confdefs.h. */
10017_ACEOF
10018cat confdefs.h >>conftest.$ac_ext
10019cat >>conftest.$ac_ext <<_ACEOF
10020/* end confdefs.h. */
10021/* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
10022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10023#define malloc_get_state innocuous_malloc_get_state
7337 10024
10025/* System header to define __stub macros and hopefully few prototypes,
10026 which can conflict with char malloc_get_state (); below.
10027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10028 <limits.h> exists even on freestanding compilers. */
10029
10030#ifdef __STDC__
10031# include <limits.h>
10032#else
10033# include <assert.h>
10034#endif
10035
10036#undef malloc_get_state
10037
10038/* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041#ifdef __cplusplus
10042extern "C"
10043#endif
10044char malloc_get_state ();
10045/* The GNU C library defines this for functions which it implements
10046 to always fail with ENOSYS. Some functions are actually named
10047 something starting with __ and the normal name is an alias. */
10048#if defined __stub_malloc_get_state || defined __stub___malloc_get_state
10049choke me
10050#endif
10051
10052int
10053main ()
10054{
10055return malloc_get_state ();
10056 ;
10057 return 0;
10058}
10059_ACEOF
10060rm -f conftest.$ac_objext conftest$ac_exeext
10061if { (ac_try="$ac_link"
10062case "(($ac_try" in
10063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10064 *) ac_try_echo=$ac_try;;
10065esac
10066eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10067$as_echo "$ac_try_echo") >&5
10068 (eval "$ac_link") 2>conftest.er1
10069 ac_status=$?
10070 grep -v '^ *+' conftest.er1 >conftest.err
10071 rm -f conftest.er1
10072 cat conftest.err >&5
10073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); } && {
10075 test -z "$ac_c_werror_flag" ||
10076 test ! -s conftest.err
10077 } && test -s conftest$ac_exeext && {
10078 test "$cross_compiling" = yes ||
10079 $as_test_x conftest$ac_exeext
10080 }; then
10081 ac_cv_func_malloc_get_state=yes
10082else
10083 $as_echo "$as_me: failed program was:" >&5
10084sed 's/^/| /' conftest.$ac_ext >&5
10085
10086 ac_cv_func_malloc_get_state=no
10087fi
10088
10089rm -rf conftest.dSYM
10090rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10091 conftest$ac_exeext conftest.$ac_ext
10092fi
10093{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
10094$as_echo "$ac_cv_func_malloc_get_state" >&6; }
10095if test $ac_cv_func_malloc_get_state = yes; then
10096 :
7338else 10097else
7339 doug_lea_malloc=no 10098 doug_lea_malloc=no
7340fi 10099fi
7341 10100
7342ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 10101{ $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5
7343if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 10102$as_echo_n "checking for malloc_set_state... " >&6; }
10103if test "${ac_cv_func_malloc_set_state+set}" = set; then
10104 $as_echo_n "(cached) " >&6
10105else
10106 cat >conftest.$ac_ext <<_ACEOF
10107/* confdefs.h. */
10108_ACEOF
10109cat confdefs.h >>conftest.$ac_ext
10110cat >>conftest.$ac_ext <<_ACEOF
10111/* end confdefs.h. */
10112/* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
10113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10114#define malloc_set_state innocuous_malloc_set_state
10115
10116/* System header to define __stub macros and hopefully few prototypes,
10117 which can conflict with char malloc_set_state (); below.
10118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10119 <limits.h> exists even on freestanding compilers. */
10120
10121#ifdef __STDC__
10122# include <limits.h>
10123#else
10124# include <assert.h>
10125#endif
10126
10127#undef malloc_set_state
7344 10128
10129/* Override any GCC internal prototype to avoid an error.
10130 Use char because int might match the return type of a GCC
10131 builtin and then its argument prototype would still apply. */
10132#ifdef __cplusplus
10133extern "C"
10134#endif
10135char malloc_set_state ();
10136/* The GNU C library defines this for functions which it implements
10137 to always fail with ENOSYS. Some functions are actually named
10138 something starting with __ and the normal name is an alias. */
10139#if defined __stub_malloc_set_state || defined __stub___malloc_set_state
10140choke me
10141#endif
10142
10143int
10144main ()
10145{
10146return malloc_set_state ();
10147 ;
10148 return 0;
10149}
10150_ACEOF
10151rm -f conftest.$ac_objext conftest$ac_exeext
10152if { (ac_try="$ac_link"
10153case "(($ac_try" in
10154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10155 *) ac_try_echo=$ac_try;;
10156esac
10157eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10158$as_echo "$ac_try_echo") >&5
10159 (eval "$ac_link") 2>conftest.er1
10160 ac_status=$?
10161 grep -v '^ *+' conftest.er1 >conftest.err
10162 rm -f conftest.er1
10163 cat conftest.err >&5
10164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } && {
10166 test -z "$ac_c_werror_flag" ||
10167 test ! -s conftest.err
10168 } && test -s conftest$ac_exeext && {
10169 test "$cross_compiling" = yes ||
10170 $as_test_x conftest$ac_exeext
10171 }; then
10172 ac_cv_func_malloc_set_state=yes
10173else
10174 $as_echo "$as_me: failed program was:" >&5
10175sed 's/^/| /' conftest.$ac_ext >&5
10176
10177 ac_cv_func_malloc_set_state=no
10178fi
10179
10180rm -rf conftest.dSYM
10181rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10182 conftest$ac_exeext conftest.$ac_ext
10183fi
10184{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
10185$as_echo "$ac_cv_func_malloc_set_state" >&6; }
10186if test $ac_cv_func_malloc_set_state = yes; then
10187 :
7345else 10188else
7346 doug_lea_malloc=no 10189 doug_lea_malloc=no
7347fi 10190fi
7348 10191
7349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 10192{ $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
7350$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 10193$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
7351if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : 10194if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
7352 $as_echo_n "(cached) " >&6 10195 $as_echo_n "(cached) " >&6
7353else 10196else
7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10197 cat >conftest.$ac_ext <<_ACEOF
10198/* confdefs.h. */
10199_ACEOF
10200cat confdefs.h >>conftest.$ac_ext
10201cat >>conftest.$ac_ext <<_ACEOF
7355/* end confdefs.h. */ 10202/* end confdefs.h. */
7356extern void (* __after_morecore_hook)(); 10203extern void (* __after_morecore_hook)();
7357int 10204int
@@ -7362,15 +10209,40 @@ __after_morecore_hook = 0
7362 return 0; 10209 return 0;
7363} 10210}
7364_ACEOF 10211_ACEOF
7365if ac_fn_c_try_link "$LINENO"; then : 10212rm -f conftest.$ac_objext conftest$ac_exeext
10213if { (ac_try="$ac_link"
10214case "(($ac_try" in
10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10216 *) ac_try_echo=$ac_try;;
10217esac
10218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10219$as_echo "$ac_try_echo") >&5
10220 (eval "$ac_link") 2>conftest.er1
10221 ac_status=$?
10222 grep -v '^ *+' conftest.er1 >conftest.err
10223 rm -f conftest.er1
10224 cat conftest.err >&5
10225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } && {
10227 test -z "$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10229 } && test -s conftest$ac_exeext && {
10230 test "$cross_compiling" = yes ||
10231 $as_test_x conftest$ac_exeext
10232 }; then
7366 emacs_cv_var___after_morecore_hook=yes 10233 emacs_cv_var___after_morecore_hook=yes
7367else 10234else
7368 emacs_cv_var___after_morecore_hook=no 10235 $as_echo "$as_me: failed program was:" >&5
10236sed 's/^/| /' conftest.$ac_ext >&5
10237
10238 emacs_cv_var___after_morecore_hook=no
7369fi 10239fi
7370rm -f core conftest.err conftest.$ac_objext \ 10240
7371 conftest$ac_exeext conftest.$ac_ext 10241rm -rf conftest.dSYM
10242rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10243 conftest$ac_exeext conftest.$ac_ext
7372fi 10244fi
7373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 10245{ $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
7374$as_echo "$emacs_cv_var___after_morecore_hook" >&6; } 10246$as_echo "$emacs_cv_var___after_morecore_hook" >&6; }
7375if test $emacs_cv_var___after_morecore_hook = no; then 10247if test $emacs_cv_var___after_morecore_hook = no; then
7376 doug_lea_malloc=no 10248 doug_lea_malloc=no
@@ -7386,7 +10258,9 @@ if test "$doug_lea_malloc" = "yes" ; then
7386 (Using Doug Lea's new malloc from the GNU C Library.)" 10258 (Using Doug Lea's new malloc from the GNU C Library.)"
7387 fi 10259 fi
7388 10260
7389$as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h 10261cat >>confdefs.h <<\_ACEOF
10262#define DOUG_LEA_MALLOC 1
10263_ACEOF
7390 10264
7391fi 10265fi
7392 10266
@@ -7397,14 +10271,142 @@ fi
7397 10271
7398 10272
7399 10273
10274for ac_header in stdlib.h unistd.h
10275do
10276as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10277if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10278 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10279$as_echo_n "checking for $ac_header... " >&6; }
10280if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10281 $as_echo_n "(cached) " >&6
10282fi
10283ac_res=`eval 'as_val=${'$as_ac_Header'}
10284 $as_echo "$as_val"'`
10285 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10286$as_echo "$ac_res" >&6; }
10287else
10288 # Is the header compilable?
10289{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10290$as_echo_n "checking $ac_header usability... " >&6; }
10291cat >conftest.$ac_ext <<_ACEOF
10292/* confdefs.h. */
10293_ACEOF
10294cat confdefs.h >>conftest.$ac_ext
10295cat >>conftest.$ac_ext <<_ACEOF
10296/* end confdefs.h. */
10297$ac_includes_default
10298#include <$ac_header>
10299_ACEOF
10300rm -f conftest.$ac_objext
10301if { (ac_try="$ac_compile"
10302case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10305esac
10306eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10307$as_echo "$ac_try_echo") >&5
10308 (eval "$ac_compile") 2>conftest.er1
10309 ac_status=$?
10310 grep -v '^ *+' conftest.er1 >conftest.err
10311 rm -f conftest.er1
10312 cat conftest.err >&5
10313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } && {
10315 test -z "$ac_c_werror_flag" ||
10316 test ! -s conftest.err
10317 } && test -s conftest.$ac_objext; then
10318 ac_header_compiler=yes
10319else
10320 $as_echo "$as_me: failed program was:" >&5
10321sed 's/^/| /' conftest.$ac_ext >&5
7400 10322
7401 for ac_header in $ac_header_list 10323 ac_header_compiler=no
7402do : 10324fi
7403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10325
7404ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 10326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7405" 10327{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7406eval as_val=\$$as_ac_Header 10328$as_echo "$ac_header_compiler" >&6; }
7407 if test "x$as_val" = x""yes; then : 10329
10330# Is the header present?
10331{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10332$as_echo_n "checking $ac_header presence... " >&6; }
10333cat >conftest.$ac_ext <<_ACEOF
10334/* confdefs.h. */
10335_ACEOF
10336cat confdefs.h >>conftest.$ac_ext
10337cat >>conftest.$ac_ext <<_ACEOF
10338/* end confdefs.h. */
10339#include <$ac_header>
10340_ACEOF
10341if { (ac_try="$ac_cpp conftest.$ac_ext"
10342case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10345esac
10346eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10347$as_echo "$ac_try_echo") >&5
10348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10349 ac_status=$?
10350 grep -v '^ *+' conftest.er1 >conftest.err
10351 rm -f conftest.er1
10352 cat conftest.err >&5
10353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } >/dev/null && {
10355 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10356 test ! -s conftest.err
10357 }; then
10358 ac_header_preproc=yes
10359else
10360 $as_echo "$as_me: failed program was:" >&5
10361sed 's/^/| /' conftest.$ac_ext >&5
10362
10363 ac_header_preproc=no
10364fi
10365
10366rm -f conftest.err conftest.$ac_ext
10367{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10368$as_echo "$ac_header_preproc" >&6; }
10369
10370# So? What about this header?
10371case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10372 yes:no: )
10373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10374$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10376$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10377 ac_header_preproc=yes
10378 ;;
10379 no:yes:* )
10380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10381$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10383$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10385$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10387$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10389$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10391$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10392
10393 ;;
10394esac
10395{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10396$as_echo_n "checking for $ac_header... " >&6; }
10397if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10398 $as_echo_n "(cached) " >&6
10399else
10400 eval "$as_ac_Header=\$ac_header_preproc"
10401fi
10402ac_res=`eval 'as_val=${'$as_ac_Header'}
10403 $as_echo "$as_val"'`
10404 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10405$as_echo "$ac_res" >&6; }
10406
10407fi
10408if test `eval 'as_val=${'$as_ac_Header'}
10409 $as_echo "$as_val"'` = yes; then
7408 cat >>confdefs.h <<_ACEOF 10410 cat >>confdefs.h <<_ACEOF
7409#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10411#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7410_ACEOF 10412_ACEOF
@@ -7414,32 +10416,118 @@ fi
7414done 10416done
7415 10417
7416 10418
10419for ac_func in getpagesize
10420do
10421as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10422{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10423$as_echo_n "checking for $ac_func... " >&6; }
10424if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10425 $as_echo_n "(cached) " >&6
10426else
10427 cat >conftest.$ac_ext <<_ACEOF
10428/* confdefs.h. */
10429_ACEOF
10430cat confdefs.h >>conftest.$ac_ext
10431cat >>conftest.$ac_ext <<_ACEOF
10432/* end confdefs.h. */
10433/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10435#define $ac_func innocuous_$ac_func
10436
10437/* System header to define __stub macros and hopefully few prototypes,
10438 which can conflict with char $ac_func (); below.
10439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10440 <limits.h> exists even on freestanding compilers. */
7417 10441
10442#ifdef __STDC__
10443# include <limits.h>
10444#else
10445# include <assert.h>
10446#endif
7418 10447
10448#undef $ac_func
7419 10449
10450/* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10453#ifdef __cplusplus
10454extern "C"
10455#endif
10456char $ac_func ();
10457/* The GNU C library defines this for functions which it implements
10458 to always fail with ENOSYS. Some functions are actually named
10459 something starting with __ and the normal name is an alias. */
10460#if defined __stub_$ac_func || defined __stub___$ac_func
10461choke me
10462#endif
7420 10463
10464int
10465main ()
10466{
10467return $ac_func ();
10468 ;
10469 return 0;
10470}
10471_ACEOF
10472rm -f conftest.$ac_objext conftest$ac_exeext
10473if { (ac_try="$ac_link"
10474case "(($ac_try" in
10475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10477esac
10478eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10479$as_echo "$ac_try_echo") >&5
10480 (eval "$ac_link") 2>conftest.er1
10481 ac_status=$?
10482 grep -v '^ *+' conftest.er1 >conftest.err
10483 rm -f conftest.er1
10484 cat conftest.err >&5
10485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); } && {
10487 test -z "$ac_c_werror_flag" ||
10488 test ! -s conftest.err
10489 } && test -s conftest$ac_exeext && {
10490 test "$cross_compiling" = yes ||
10491 $as_test_x conftest$ac_exeext
10492 }; then
10493 eval "$as_ac_var=yes"
10494else
10495 $as_echo "$as_me: failed program was:" >&5
10496sed 's/^/| /' conftest.$ac_ext >&5
7421 10497
10498 eval "$as_ac_var=no"
10499fi
7422 10500
7423for ac_func in getpagesize 10501rm -rf conftest.dSYM
7424do : 10502rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7425 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" 10503 conftest$ac_exeext conftest.$ac_ext
7426if test "x$ac_cv_func_getpagesize" = x""yes; then : 10504fi
10505ac_res=`eval 'as_val=${'$as_ac_var'}
10506 $as_echo "$as_val"'`
10507 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10508$as_echo "$ac_res" >&6; }
10509if test `eval 'as_val=${'$as_ac_var'}
10510 $as_echo "$as_val"'` = yes; then
7427 cat >>confdefs.h <<_ACEOF 10511 cat >>confdefs.h <<_ACEOF
7428#define HAVE_GETPAGESIZE 1 10512#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7429_ACEOF 10513_ACEOF
7430 10514
7431fi 10515fi
7432done 10516done
7433 10517
7434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 10518{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5
7435$as_echo_n "checking for working mmap... " >&6; } 10519$as_echo_n "checking for working mmap... " >&6; }
7436if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : 10520if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7437 $as_echo_n "(cached) " >&6 10521 $as_echo_n "(cached) " >&6
7438else 10522else
7439 if test "$cross_compiling" = yes; then : 10523 if test "$cross_compiling" = yes; then
7440 ac_cv_func_mmap_fixed_mapped=no 10524 ac_cv_func_mmap_fixed_mapped=no
7441else 10525else
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10526 cat >conftest.$ac_ext <<_ACEOF
10527/* confdefs.h. */
10528_ACEOF
10529cat confdefs.h >>conftest.$ac_ext
10530cat >>conftest.$ac_ext <<_ACEOF
7443/* end confdefs.h. */ 10531/* end confdefs.h. */
7444$ac_includes_default 10532$ac_includes_default
7445/* malloc might have been renamed as rpl_malloc. */ 10533/* malloc might have been renamed as rpl_malloc. */
@@ -7476,6 +10564,11 @@ char *malloc ();
7476 10564
7477/* This mess was copied from the GNU getpagesize.h. */ 10565/* This mess was copied from the GNU getpagesize.h. */
7478#ifndef HAVE_GETPAGESIZE 10566#ifndef HAVE_GETPAGESIZE
10567/* Assume that all systems that can run configure have sys/param.h. */
10568# ifndef HAVE_SYS_PARAM_H
10569# define HAVE_SYS_PARAM_H 1
10570# endif
10571
7479# ifdef _SC_PAGESIZE 10572# ifdef _SC_PAGESIZE
7480# define getpagesize() sysconf(_SC_PAGESIZE) 10573# define getpagesize() sysconf(_SC_PAGESIZE)
7481# else /* no _SC_PAGESIZE */ 10574# else /* no _SC_PAGESIZE */
@@ -7511,7 +10604,7 @@ main ()
7511{ 10604{
7512 char *data, *data2, *data3; 10605 char *data, *data2, *data3;
7513 int i, pagesize; 10606 int i, pagesize;
7514 int fd, fd2; 10607 int fd;
7515 10608
7516 pagesize = getpagesize (); 10609 pagesize = getpagesize ();
7517 10610
@@ -7524,41 +10617,27 @@ main ()
7524 umask (0); 10617 umask (0);
7525 fd = creat ("conftest.mmap", 0600); 10618 fd = creat ("conftest.mmap", 0600);
7526 if (fd < 0) 10619 if (fd < 0)
7527 return 2; 10620 return 1;
7528 if (write (fd, data, pagesize) != pagesize) 10621 if (write (fd, data, pagesize) != pagesize)
7529 return 3; 10622 return 1;
7530 close (fd); 10623 close (fd);
7531 10624
7532 /* Next, check that the tail of a page is zero-filled. File must have
7533 non-zero length, otherwise we risk SIGBUS for entire page. */
7534 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7535 if (fd2 < 0)
7536 return 4;
7537 data2 = "";
7538 if (write (fd2, data2, 1) != 1)
7539 return 5;
7540 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7541 if (data2 == MAP_FAILED)
7542 return 6;
7543 for (i = 0; i < pagesize; ++i)
7544 if (*(data2 + i))
7545 return 7;
7546 close (fd2);
7547 if (munmap (data2, pagesize))
7548 return 8;
7549
7550 /* Next, try to mmap the file at a fixed address which already has 10625 /* Next, try to mmap the file at a fixed address which already has
7551 something else allocated at it. If we can, also make sure that 10626 something else allocated at it. If we can, also make sure that
7552 we see the same garbage. */ 10627 we see the same garbage. */
7553 fd = open ("conftest.mmap", O_RDWR); 10628 fd = open ("conftest.mmap", O_RDWR);
7554 if (fd < 0) 10629 if (fd < 0)
7555 return 9; 10630 return 1;
10631 data2 = (char *) malloc (2 * pagesize);
10632 if (!data2)
10633 return 1;
10634 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7556 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 10635 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7557 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 10636 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7558 return 10; 10637 return 1;
7559 for (i = 0; i < pagesize; ++i) 10638 for (i = 0; i < pagesize; ++i)
7560 if (*(data + i) != *(data2 + i)) 10639 if (*(data + i) != *(data2 + i))
7561 return 11; 10640 return 1;
7562 10641
7563 /* Finally, make sure that changes to the mapped area do not 10642 /* Finally, make sure that changes to the mapped area do not
7564 percolate back to the file as seen by read(). (This is a bug on 10643 percolate back to the file as seen by read(). (This is a bug on
@@ -7567,34 +10646,63 @@ main ()
7567 *(data2 + i) = *(data2 + i) + 1; 10646 *(data2 + i) = *(data2 + i) + 1;
7568 data3 = (char *) malloc (pagesize); 10647 data3 = (char *) malloc (pagesize);
7569 if (!data3) 10648 if (!data3)
7570 return 12; 10649 return 1;
7571 if (read (fd, data3, pagesize) != pagesize) 10650 if (read (fd, data3, pagesize) != pagesize)
7572 return 13; 10651 return 1;
7573 for (i = 0; i < pagesize; ++i) 10652 for (i = 0; i < pagesize; ++i)
7574 if (*(data + i) != *(data3 + i)) 10653 if (*(data + i) != *(data3 + i))
7575 return 14; 10654 return 1;
7576 close (fd); 10655 close (fd);
7577 return 0; 10656 return 0;
7578} 10657}
7579_ACEOF 10658_ACEOF
7580if ac_fn_c_try_run "$LINENO"; then : 10659rm -f conftest$ac_exeext
10660if { (ac_try="$ac_link"
10661case "(($ac_try" in
10662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10663 *) ac_try_echo=$ac_try;;
10664esac
10665eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10666$as_echo "$ac_try_echo") >&5
10667 (eval "$ac_link") 2>&5
10668 ac_status=$?
10669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10671 { (case "(($ac_try" in
10672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10673 *) ac_try_echo=$ac_try;;
10674esac
10675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10676$as_echo "$ac_try_echo") >&5
10677 (eval "$ac_try") 2>&5
10678 ac_status=$?
10679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); }; }; then
7581 ac_cv_func_mmap_fixed_mapped=yes 10681 ac_cv_func_mmap_fixed_mapped=yes
7582else 10682else
7583 ac_cv_func_mmap_fixed_mapped=no 10683 $as_echo "$as_me: program exited with status $ac_status" >&5
10684$as_echo "$as_me: failed program was:" >&5
10685sed 's/^/| /' conftest.$ac_ext >&5
10686
10687( exit $ac_status )
10688ac_cv_func_mmap_fixed_mapped=no
7584fi 10689fi
7585rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 10690rm -rf conftest.dSYM
7586 conftest.$ac_objext conftest.beam conftest.$ac_ext 10691rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7587fi 10692fi
7588 10693
10694
7589fi 10695fi
7590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 10696{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7591$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 10697$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7592if test $ac_cv_func_mmap_fixed_mapped = yes; then 10698if test $ac_cv_func_mmap_fixed_mapped = yes; then
7593 10699
7594$as_echo "#define HAVE_MMAP 1" >>confdefs.h 10700cat >>confdefs.h <<\_ACEOF
10701#define HAVE_MMAP 1
10702_ACEOF
7595 10703
7596fi 10704fi
7597rm -f conftest.mmap conftest.txt 10705rm -f conftest.mmap
7598 10706
7599if test $use_mmap_for_buffers = yes; then 10707if test $use_mmap_for_buffers = yes; then
7600 REL_ALLOC=no 10708 REL_ALLOC=no
@@ -7602,14 +10710,19 @@ fi
7602 10710
7603LIBS="$libsrc_libs $LIBS" 10711LIBS="$libsrc_libs $LIBS"
7604 10712
7605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 10713
10714{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7606$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 10715$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7607if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 10716if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7608 $as_echo_n "(cached) " >&6 10717 $as_echo_n "(cached) " >&6
7609else 10718else
7610 ac_check_lib_save_LIBS=$LIBS 10719 ac_check_lib_save_LIBS=$LIBS
7611LIBS="-ldnet $LIBS" 10720LIBS="-ldnet $LIBS"
7612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10721cat >conftest.$ac_ext <<_ACEOF
10722/* confdefs.h. */
10723_ACEOF
10724cat confdefs.h >>conftest.$ac_ext
10725cat >>conftest.$ac_ext <<_ACEOF
7613/* end confdefs.h. */ 10726/* end confdefs.h. */
7614 10727
7615/* Override any GCC internal prototype to avoid an error. 10728/* Override any GCC internal prototype to avoid an error.
@@ -7627,18 +10740,43 @@ return dnet_ntoa ();
7627 return 0; 10740 return 0;
7628} 10741}
7629_ACEOF 10742_ACEOF
7630if ac_fn_c_try_link "$LINENO"; then : 10743rm -f conftest.$ac_objext conftest$ac_exeext
10744if { (ac_try="$ac_link"
10745case "(($ac_try" in
10746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10747 *) ac_try_echo=$ac_try;;
10748esac
10749eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10750$as_echo "$ac_try_echo") >&5
10751 (eval "$ac_link") 2>conftest.er1
10752 ac_status=$?
10753 grep -v '^ *+' conftest.er1 >conftest.err
10754 rm -f conftest.er1
10755 cat conftest.err >&5
10756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } && {
10758 test -z "$ac_c_werror_flag" ||
10759 test ! -s conftest.err
10760 } && test -s conftest$ac_exeext && {
10761 test "$cross_compiling" = yes ||
10762 $as_test_x conftest$ac_exeext
10763 }; then
7631 ac_cv_lib_dnet_dnet_ntoa=yes 10764 ac_cv_lib_dnet_dnet_ntoa=yes
7632else 10765else
7633 ac_cv_lib_dnet_dnet_ntoa=no 10766 $as_echo "$as_me: failed program was:" >&5
10767sed 's/^/| /' conftest.$ac_ext >&5
10768
10769 ac_cv_lib_dnet_dnet_ntoa=no
7634fi 10770fi
7635rm -f core conftest.err conftest.$ac_objext \ 10771
7636 conftest$ac_exeext conftest.$ac_ext 10772rm -rf conftest.dSYM
10773rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10774 conftest$ac_exeext conftest.$ac_ext
7637LIBS=$ac_check_lib_save_LIBS 10775LIBS=$ac_check_lib_save_LIBS
7638fi 10776fi
7639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10777{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7640$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10778$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7641if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 10779if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7642 cat >>confdefs.h <<_ACEOF 10780 cat >>confdefs.h <<_ACEOF
7643#define HAVE_LIBDNET 1 10781#define HAVE_LIBDNET 1
7644_ACEOF 10782_ACEOF
@@ -7648,14 +10786,18 @@ _ACEOF
7648fi 10786fi
7649 10787
7650 10788
7651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 10789{ $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
7652$as_echo_n "checking for main in -lXbsd... " >&6; } 10790$as_echo_n "checking for main in -lXbsd... " >&6; }
7653if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 10791if test "${ac_cv_lib_Xbsd_main+set}" = set; then
7654 $as_echo_n "(cached) " >&6 10792 $as_echo_n "(cached) " >&6
7655else 10793else
7656 ac_check_lib_save_LIBS=$LIBS 10794 ac_check_lib_save_LIBS=$LIBS
7657LIBS="-lXbsd $LIBS" 10795LIBS="-lXbsd $LIBS"
7658cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10796cat >conftest.$ac_ext <<_ACEOF
10797/* confdefs.h. */
10798_ACEOF
10799cat confdefs.h >>conftest.$ac_ext
10800cat >>conftest.$ac_ext <<_ACEOF
7659/* end confdefs.h. */ 10801/* end confdefs.h. */
7660 10802
7661 10803
@@ -7667,30 +10809,60 @@ return main ();
7667 return 0; 10809 return 0;
7668} 10810}
7669_ACEOF 10811_ACEOF
7670if ac_fn_c_try_link "$LINENO"; then : 10812rm -f conftest.$ac_objext conftest$ac_exeext
10813if { (ac_try="$ac_link"
10814case "(($ac_try" in
10815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10816 *) ac_try_echo=$ac_try;;
10817esac
10818eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10819$as_echo "$ac_try_echo") >&5
10820 (eval "$ac_link") 2>conftest.er1
10821 ac_status=$?
10822 grep -v '^ *+' conftest.er1 >conftest.err
10823 rm -f conftest.er1
10824 cat conftest.err >&5
10825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826 (exit $ac_status); } && {
10827 test -z "$ac_c_werror_flag" ||
10828 test ! -s conftest.err
10829 } && test -s conftest$ac_exeext && {
10830 test "$cross_compiling" = yes ||
10831 $as_test_x conftest$ac_exeext
10832 }; then
7671 ac_cv_lib_Xbsd_main=yes 10833 ac_cv_lib_Xbsd_main=yes
7672else 10834else
7673 ac_cv_lib_Xbsd_main=no 10835 $as_echo "$as_me: failed program was:" >&5
10836sed 's/^/| /' conftest.$ac_ext >&5
10837
10838 ac_cv_lib_Xbsd_main=no
7674fi 10839fi
7675rm -f core conftest.err conftest.$ac_objext \ 10840
7676 conftest$ac_exeext conftest.$ac_ext 10841rm -rf conftest.dSYM
10842rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10843 conftest$ac_exeext conftest.$ac_ext
7677LIBS=$ac_check_lib_save_LIBS 10844LIBS=$ac_check_lib_save_LIBS
7678fi 10845fi
7679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 10846{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
7680$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 10847$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
7681if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 10848if test $ac_cv_lib_Xbsd_main = yes; then
7682 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10849 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
7683fi 10850fi
7684 10851
7685 10852
7686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 10853
10854{ $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
7687$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 10855$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
7688if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 10856if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
7689 $as_echo_n "(cached) " >&6 10857 $as_echo_n "(cached) " >&6
7690else 10858else
7691 ac_check_lib_save_LIBS=$LIBS 10859 ac_check_lib_save_LIBS=$LIBS
7692LIBS="-lpthreads $LIBS" 10860LIBS="-lpthreads $LIBS"
7693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10861cat >conftest.$ac_ext <<_ACEOF
10862/* confdefs.h. */
10863_ACEOF
10864cat confdefs.h >>conftest.$ac_ext
10865cat >>conftest.$ac_ext <<_ACEOF
7694/* end confdefs.h. */ 10866/* end confdefs.h. */
7695 10867
7696/* Override any GCC internal prototype to avoid an error. 10868/* Override any GCC internal prototype to avoid an error.
@@ -7708,18 +10880,43 @@ return cma_open ();
7708 return 0; 10880 return 0;
7709} 10881}
7710_ACEOF 10882_ACEOF
7711if ac_fn_c_try_link "$LINENO"; then : 10883rm -f conftest.$ac_objext conftest$ac_exeext
10884if { (ac_try="$ac_link"
10885case "(($ac_try" in
10886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10887 *) ac_try_echo=$ac_try;;
10888esac
10889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10890$as_echo "$ac_try_echo") >&5
10891 (eval "$ac_link") 2>conftest.er1
10892 ac_status=$?
10893 grep -v '^ *+' conftest.er1 >conftest.err
10894 rm -f conftest.er1
10895 cat conftest.err >&5
10896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); } && {
10898 test -z "$ac_c_werror_flag" ||
10899 test ! -s conftest.err
10900 } && test -s conftest$ac_exeext && {
10901 test "$cross_compiling" = yes ||
10902 $as_test_x conftest$ac_exeext
10903 }; then
7712 ac_cv_lib_pthreads_cma_open=yes 10904 ac_cv_lib_pthreads_cma_open=yes
7713else 10905else
7714 ac_cv_lib_pthreads_cma_open=no 10906 $as_echo "$as_me: failed program was:" >&5
10907sed 's/^/| /' conftest.$ac_ext >&5
10908
10909 ac_cv_lib_pthreads_cma_open=no
7715fi 10910fi
7716rm -f core conftest.err conftest.$ac_objext \ 10911
7717 conftest$ac_exeext conftest.$ac_ext 10912rm -rf conftest.dSYM
10913rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10914 conftest$ac_exeext conftest.$ac_ext
7718LIBS=$ac_check_lib_save_LIBS 10915LIBS=$ac_check_lib_save_LIBS
7719fi 10916fi
7720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 10917{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
7721$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 10918$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
7722if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : 10919if test $ac_cv_lib_pthreads_cma_open = yes; then
7723 cat >>confdefs.h <<_ACEOF 10920 cat >>confdefs.h <<_ACEOF
7724#define HAVE_LIBPTHREADS 1 10921#define HAVE_LIBPTHREADS 1
7725_ACEOF 10922_ACEOF
@@ -7732,9 +10929,9 @@ fi
7732 10929
7733case ${host_os} in 10930case ${host_os} in
7734aix*) 10931aix*)
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 10932 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
7736$as_echo_n "checking for -bbigtoc option... " >&6; } 10933$as_echo_n "checking for -bbigtoc option... " >&6; }
7737if test "${gdb_cv_bigtoc+set}" = set; then : 10934if test "${gdb_cv_bigtoc+set}" = set; then
7738 $as_echo_n "(cached) " >&6 10935 $as_echo_n "(cached) " >&6
7739else 10936else
7740 10937
@@ -7744,7 +10941,11 @@ else
7744 esac 10941 esac
7745 10942
7746 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc 10943 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10944 cat >conftest.$ac_ext <<_ACEOF
10945/* confdefs.h. */
10946_ACEOF
10947cat confdefs.h >>conftest.$ac_ext
10948cat >>conftest.$ac_ext <<_ACEOF
7748/* end confdefs.h. */ 10949/* end confdefs.h. */
7749 10950
7750int 10951int
@@ -7755,16 +10956,41 @@ int i;
7755 return 0; 10956 return 0;
7756} 10957}
7757_ACEOF 10958_ACEOF
7758if ac_fn_c_try_link "$LINENO"; then : 10959rm -f conftest.$ac_objext conftest$ac_exeext
7759 10960if { (ac_try="$ac_link"
10961case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10964esac
10965eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10966$as_echo "$ac_try_echo") >&5
10967 (eval "$ac_link") 2>conftest.er1
10968 ac_status=$?
10969 grep -v '^ *+' conftest.er1 >conftest.err
10970 rm -f conftest.er1
10971 cat conftest.err >&5
10972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } && {
10974 test -z "$ac_c_werror_flag" ||
10975 test ! -s conftest.err
10976 } && test -s conftest$ac_exeext && {
10977 test "$cross_compiling" = yes ||
10978 $as_test_x conftest$ac_exeext
10979 }; then
10980 :
7760else 10981else
7761 gdb_cv_bigtoc= 10982 $as_echo "$as_me: failed program was:" >&5
10983sed 's/^/| /' conftest.$ac_ext >&5
10984
10985 gdb_cv_bigtoc=
7762fi 10986fi
7763rm -f core conftest.err conftest.$ac_objext \ 10987
7764 conftest$ac_exeext conftest.$ac_ext 10988rm -rf conftest.dSYM
10989rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10990 conftest$ac_exeext conftest.$ac_ext
7765 10991
7766fi 10992fi
7767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 10993{ $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
7768$as_echo "$gdb_cv_bigtoc" >&6; } 10994$as_echo "$gdb_cv_bigtoc" >&6; }
7769 ;; 10995 ;;
7770esac 10996esac
@@ -7792,9 +11018,13 @@ if test "${HAVE_X11}" = "yes"; then
7792 fi 11018 fi
7793 11019
7794 if test "${opsys}" = "gnu-linux"; then 11020 if test "${opsys}" = "gnu-linux"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 11021 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
7796$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } 11022$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; }
7797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11023 cat >conftest.$ac_ext <<_ACEOF
11024/* confdefs.h. */
11025_ACEOF
11026cat confdefs.h >>conftest.$ac_ext
11027cat >>conftest.$ac_ext <<_ACEOF
7798/* end confdefs.h. */ 11028/* end confdefs.h. */
7799 11029
7800int 11030int
@@ -7805,13 +11035,38 @@ XOpenDisplay ("foo");
7805 return 0; 11035 return 0;
7806} 11036}
7807_ACEOF 11037_ACEOF
7808if ac_fn_c_try_link "$LINENO"; then : 11038rm -f conftest.$ac_objext conftest$ac_exeext
11039if { (ac_try="$ac_link"
11040case "(($ac_try" in
11041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11042 *) ac_try_echo=$ac_try;;
11043esac
11044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11045$as_echo "$ac_try_echo") >&5
11046 (eval "$ac_link") 2>conftest.er1
11047 ac_status=$?
11048 grep -v '^ *+' conftest.er1 >conftest.err
11049 rm -f conftest.er1
11050 cat conftest.err >&5
11051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } && {
11053 test -z "$ac_c_werror_flag" ||
11054 test ! -s conftest.err
11055 } && test -s conftest$ac_exeext && {
11056 test "$cross_compiling" = yes ||
11057 $as_test_x conftest$ac_exeext
11058 }; then
7809 xlinux_first_failure=no 11059 xlinux_first_failure=no
7810else 11060else
7811 xlinux_first_failure=yes 11061 $as_echo "$as_me: failed program was:" >&5
11062sed 's/^/| /' conftest.$ac_ext >&5
11063
11064 xlinux_first_failure=yes
7812fi 11065fi
7813rm -f core conftest.err conftest.$ac_objext \ 11066
7814 conftest$ac_exeext conftest.$ac_ext 11067rm -rf conftest.dSYM
11068rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11069 conftest$ac_exeext conftest.$ac_ext
7815 if test "${xlinux_first_failure}" = "yes"; then 11070 if test "${xlinux_first_failure}" = "yes"; then
7816 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 11071 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
7817 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 11072 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
@@ -7821,7 +11076,11 @@ rm -f core conftest.err conftest.$ac_objext \
7821 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 11076 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
7822 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 11077 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
7823 LIBS="$LIBS -b i486-linuxaout" 11078 LIBS="$LIBS -b i486-linuxaout"
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11079 cat >conftest.$ac_ext <<_ACEOF
11080/* confdefs.h. */
11081_ACEOF
11082cat confdefs.h >>conftest.$ac_ext
11083cat >>conftest.$ac_ext <<_ACEOF
7825/* end confdefs.h. */ 11084/* end confdefs.h. */
7826 11085
7827int 11086int
@@ -7832,13 +11091,38 @@ XOpenDisplay ("foo");
7832 return 0; 11091 return 0;
7833} 11092}
7834_ACEOF 11093_ACEOF
7835if ac_fn_c_try_link "$LINENO"; then : 11094rm -f conftest.$ac_objext conftest$ac_exeext
11095if { (ac_try="$ac_link"
11096case "(($ac_try" in
11097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11098 *) ac_try_echo=$ac_try;;
11099esac
11100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11101$as_echo "$ac_try_echo") >&5
11102 (eval "$ac_link") 2>conftest.er1
11103 ac_status=$?
11104 grep -v '^ *+' conftest.er1 >conftest.err
11105 rm -f conftest.er1
11106 cat conftest.err >&5
11107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } && {
11109 test -z "$ac_c_werror_flag" ||
11110 test ! -s conftest.err
11111 } && test -s conftest$ac_exeext && {
11112 test "$cross_compiling" = yes ||
11113 $as_test_x conftest$ac_exeext
11114 }; then
7836 xlinux_second_failure=no 11115 xlinux_second_failure=no
7837else 11116else
7838 xlinux_second_failure=yes 11117 $as_echo "$as_me: failed program was:" >&5
11118sed 's/^/| /' conftest.$ac_ext >&5
11119
11120 xlinux_second_failure=yes
7839fi 11121fi
7840rm -f core conftest.err conftest.$ac_objext \ 11122
7841 conftest$ac_exeext conftest.$ac_ext 11123rm -rf conftest.dSYM
11124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11125 conftest$ac_exeext conftest.$ac_ext
7842 if test "${xlinux_second_failure}" = "yes"; then 11126 if test "${xlinux_second_failure}" = "yes"; then
7843 # If we get the same failure with -b, there is no use adding -b. 11127 # If we get the same failure with -b, there is no use adding -b.
7844 # So take it out. This plays safe. 11128 # So take it out. This plays safe.
@@ -7846,23 +11130,27 @@ rm -f core conftest.err conftest.$ac_objext \
7846 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 11130 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
7847 CPPFLAGS="$OLD_CPPFLAGS" 11131 CPPFLAGS="$OLD_CPPFLAGS"
7848 LIBS="$OLD_LIBS" 11132 LIBS="$OLD_LIBS"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11133 { $as_echo "$as_me:$LINENO: result: no" >&5
7850$as_echo "no" >&6; } 11134$as_echo "no" >&6; }
7851 else 11135 else
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11136 { $as_echo "$as_me:$LINENO: result: yes" >&5
7853$as_echo "yes" >&6; } 11137$as_echo "yes" >&6; }
7854 fi 11138 fi
7855 else 11139 else
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11140 { $as_echo "$as_me:$LINENO: result: no" >&5
7857$as_echo "no" >&6; } 11141$as_echo "no" >&6; }
7858 fi 11142 fi
7859 fi 11143 fi
7860 11144
7861 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 11145 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
7862 # header files included from there. 11146 # header files included from there.
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 11147 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5
7864$as_echo_n "checking for Xkb... " >&6; } 11148$as_echo_n "checking for Xkb... " >&6; }
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11149 cat >conftest.$ac_ext <<_ACEOF
11150/* confdefs.h. */
11151_ACEOF
11152cat confdefs.h >>conftest.$ac_ext
11153cat >>conftest.$ac_ext <<_ACEOF
7866/* end confdefs.h. */ 11154/* end confdefs.h. */
7867#include <X11/Xlib.h> 11155#include <X11/Xlib.h>
7868#include <X11/XKBlib.h> 11156#include <X11/XKBlib.h>
@@ -7874,28 +11162,145 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
7874 return 0; 11162 return 0;
7875} 11163}
7876_ACEOF 11164_ACEOF
7877if ac_fn_c_try_link "$LINENO"; then : 11165rm -f conftest.$ac_objext conftest$ac_exeext
11166if { (ac_try="$ac_link"
11167case "(($ac_try" in
11168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11169 *) ac_try_echo=$ac_try;;
11170esac
11171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11172$as_echo "$ac_try_echo") >&5
11173 (eval "$ac_link") 2>conftest.er1
11174 ac_status=$?
11175 grep -v '^ *+' conftest.er1 >conftest.err
11176 rm -f conftest.er1
11177 cat conftest.err >&5
11178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } && {
11180 test -z "$ac_c_werror_flag" ||
11181 test ! -s conftest.err
11182 } && test -s conftest$ac_exeext && {
11183 test "$cross_compiling" = yes ||
11184 $as_test_x conftest$ac_exeext
11185 }; then
7878 emacs_xkb=yes 11186 emacs_xkb=yes
7879else 11187else
7880 emacs_xkb=no 11188 $as_echo "$as_me: failed program was:" >&5
11189sed 's/^/| /' conftest.$ac_ext >&5
11190
11191 emacs_xkb=no
7881fi 11192fi
7882rm -f core conftest.err conftest.$ac_objext \ 11193
7883 conftest$ac_exeext conftest.$ac_ext 11194rm -rf conftest.dSYM
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 11195rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11196 conftest$ac_exeext conftest.$ac_ext
11197 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5
7885$as_echo "$emacs_xkb" >&6; } 11198$as_echo "$emacs_xkb" >&6; }
7886 if test $emacs_xkb = yes; then 11199 if test $emacs_xkb = yes; then
7887 11200
7888$as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h 11201cat >>confdefs.h <<\_ACEOF
11202#define HAVE_XKBGETKEYBOARD 1
11203_ACEOF
7889 11204
7890 fi 11205 fi
7891 11206
7892 for ac_func in XrmSetDatabase XScreenResourceString \ 11207
11208
11209
11210
11211for ac_func in XrmSetDatabase XScreenResourceString \
7893XScreenNumberOfScreen XSetWMProtocols 11212XScreenNumberOfScreen XSetWMProtocols
7894do : 11213do
7895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11214as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7896ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11215{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7897eval as_val=\$$as_ac_var 11216$as_echo_n "checking for $ac_func... " >&6; }
7898 if test "x$as_val" = x""yes; then : 11217if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11218 $as_echo_n "(cached) " >&6
11219else
11220 cat >conftest.$ac_ext <<_ACEOF
11221/* confdefs.h. */
11222_ACEOF
11223cat confdefs.h >>conftest.$ac_ext
11224cat >>conftest.$ac_ext <<_ACEOF
11225/* end confdefs.h. */
11226/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11228#define $ac_func innocuous_$ac_func
11229
11230/* System header to define __stub macros and hopefully few prototypes,
11231 which can conflict with char $ac_func (); below.
11232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11233 <limits.h> exists even on freestanding compilers. */
11234
11235#ifdef __STDC__
11236# include <limits.h>
11237#else
11238# include <assert.h>
11239#endif
11240
11241#undef $ac_func
11242
11243/* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246#ifdef __cplusplus
11247extern "C"
11248#endif
11249char $ac_func ();
11250/* The GNU C library defines this for functions which it implements
11251 to always fail with ENOSYS. Some functions are actually named
11252 something starting with __ and the normal name is an alias. */
11253#if defined __stub_$ac_func || defined __stub___$ac_func
11254choke me
11255#endif
11256
11257int
11258main ()
11259{
11260return $ac_func ();
11261 ;
11262 return 0;
11263}
11264_ACEOF
11265rm -f conftest.$ac_objext conftest$ac_exeext
11266if { (ac_try="$ac_link"
11267case "(($ac_try" in
11268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11269 *) ac_try_echo=$ac_try;;
11270esac
11271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11272$as_echo "$ac_try_echo") >&5
11273 (eval "$ac_link") 2>conftest.er1
11274 ac_status=$?
11275 grep -v '^ *+' conftest.er1 >conftest.err
11276 rm -f conftest.er1
11277 cat conftest.err >&5
11278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } && {
11280 test -z "$ac_c_werror_flag" ||
11281 test ! -s conftest.err
11282 } && test -s conftest$ac_exeext && {
11283 test "$cross_compiling" = yes ||
11284 $as_test_x conftest$ac_exeext
11285 }; then
11286 eval "$as_ac_var=yes"
11287else
11288 $as_echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5
11290
11291 eval "$as_ac_var=no"
11292fi
11293
11294rm -rf conftest.dSYM
11295rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11296 conftest$ac_exeext conftest.$ac_ext
11297fi
11298ac_res=`eval 'as_val=${'$as_ac_var'}
11299 $as_echo "$as_val"'`
11300 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11301$as_echo "$ac_res" >&6; }
11302if test `eval 'as_val=${'$as_ac_var'}
11303 $as_echo "$as_val"'` = yes; then
7899 cat >>confdefs.h <<_ACEOF 11304 cat >>confdefs.h <<_ACEOF
7900#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11305#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7901_ACEOF 11306_ACEOF
@@ -7906,12 +11311,16 @@ done
7906fi 11311fi
7907 11312
7908if test "${window_system}" = "x11"; then 11313if test "${window_system}" = "x11"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 11314 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5
7910$as_echo_n "checking X11 version 6... " >&6; } 11315$as_echo_n "checking X11 version 6... " >&6; }
7911 if test "${emacs_cv_x11_version_6+set}" = set; then : 11316 if test "${emacs_cv_x11_version_6+set}" = set; then
7912 $as_echo_n "(cached) " >&6 11317 $as_echo_n "(cached) " >&6
7913else 11318else
7914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11319 cat >conftest.$ac_ext <<_ACEOF
11320/* confdefs.h. */
11321_ACEOF
11322cat confdefs.h >>conftest.$ac_ext
11323cat >>conftest.$ac_ext <<_ACEOF
7915/* end confdefs.h. */ 11324/* end confdefs.h. */
7916#include <X11/Xlib.h> 11325#include <X11/Xlib.h>
7917int 11326int
@@ -7925,23 +11334,50 @@ fail;
7925 return 0; 11334 return 0;
7926} 11335}
7927_ACEOF 11336_ACEOF
7928if ac_fn_c_try_link "$LINENO"; then : 11337rm -f conftest.$ac_objext conftest$ac_exeext
11338if { (ac_try="$ac_link"
11339case "(($ac_try" in
11340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11341 *) ac_try_echo=$ac_try;;
11342esac
11343eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11344$as_echo "$ac_try_echo") >&5
11345 (eval "$ac_link") 2>conftest.er1
11346 ac_status=$?
11347 grep -v '^ *+' conftest.er1 >conftest.err
11348 rm -f conftest.er1
11349 cat conftest.err >&5
11350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); } && {
11352 test -z "$ac_c_werror_flag" ||
11353 test ! -s conftest.err
11354 } && test -s conftest$ac_exeext && {
11355 test "$cross_compiling" = yes ||
11356 $as_test_x conftest$ac_exeext
11357 }; then
7929 emacs_cv_x11_version_6=yes 11358 emacs_cv_x11_version_6=yes
7930else 11359else
7931 emacs_cv_x11_version_6=no 11360 $as_echo "$as_me: failed program was:" >&5
11361sed 's/^/| /' conftest.$ac_ext >&5
11362
11363 emacs_cv_x11_version_6=no
7932fi 11364fi
7933rm -f core conftest.err conftest.$ac_objext \ 11365
7934 conftest$ac_exeext conftest.$ac_ext 11366rm -rf conftest.dSYM
11367rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11368 conftest$ac_exeext conftest.$ac_ext
7935fi 11369fi
7936 11370
7937 if test $emacs_cv_x11_version_6 = yes; then 11371 if test $emacs_cv_x11_version_6 = yes; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 11372 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5
7939$as_echo "6 or newer" >&6; } 11373$as_echo "6 or newer" >&6; }
7940 11374
7941$as_echo "#define HAVE_X11R6 1" >>confdefs.h 11375cat >>confdefs.h <<\_ACEOF
11376#define HAVE_X11R6 1
11377_ACEOF
7942 11378
7943 else 11379 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 11380 { $as_echo "$as_me:$LINENO: result: before 6" >&5
7945$as_echo "before 6" >&6; } 11381$as_echo "before 6" >&6; }
7946 fi 11382 fi
7947fi 11383fi
@@ -7959,9 +11395,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
7959 11395
7960 # Extract the first word of "pkg-config", so it can be a program name with args. 11396 # Extract the first word of "pkg-config", so it can be a program name with args.
7961set dummy pkg-config; ac_word=$2 11397set dummy pkg-config; ac_word=$2
7962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11398{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7963$as_echo_n "checking for $ac_word... " >&6; } 11399$as_echo_n "checking for $ac_word... " >&6; }
7964if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11400if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7965 $as_echo_n "(cached) " >&6 11401 $as_echo_n "(cached) " >&6
7966else 11402else
7967 case $PKG_CONFIG in 11403 case $PKG_CONFIG in
@@ -7974,14 +11410,14 @@ for as_dir in $PATH
7974do 11410do
7975 IFS=$as_save_IFS 11411 IFS=$as_save_IFS
7976 test -z "$as_dir" && as_dir=. 11412 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do 11413 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11415 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7981 break 2 11417 break 2
7982 fi 11418 fi
7983done 11419done
7984 done 11420done
7985IFS=$as_save_IFS 11421IFS=$as_save_IFS
7986 11422
7987 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 11423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -7990,10 +11426,10 @@ esac
7990fi 11426fi
7991PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11427PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7992if test -n "$PKG_CONFIG"; then 11428if test -n "$PKG_CONFIG"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11429 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7994$as_echo "$PKG_CONFIG" >&6; } 11430$as_echo "$PKG_CONFIG" >&6; }
7995else 11431else
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11432 { $as_echo "$as_me:$LINENO: result: no" >&5
7997$as_echo "no" >&6; } 11433$as_echo "no" >&6; }
7998fi 11434fi
7999 11435
@@ -8004,27 +11440,27 @@ fi
8004 else 11440 else
8005 PKG_CONFIG_MIN_VERSION=0.9.0 11441 PKG_CONFIG_MIN_VERSION=0.9.0
8006 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11442 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 11443 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5
8008$as_echo_n "checking for $RSVG_MODULE... " >&6; } 11444$as_echo_n "checking for $RSVG_MODULE... " >&6; }
8009 11445
8010 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 11446 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11447 { $as_echo "$as_me:$LINENO: result: yes" >&5
8012$as_echo "yes" >&6; } 11448$as_echo "yes" >&6; }
8013 succeeded=yes 11449 succeeded=yes
8014 11450
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 11451 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5
8016$as_echo_n "checking RSVG_CFLAGS... " >&6; } 11452$as_echo_n "checking RSVG_CFLAGS... " >&6; }
8017 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 11453 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 11454 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5
8019$as_echo "$RSVG_CFLAGS" >&6; } 11455$as_echo "$RSVG_CFLAGS" >&6; }
8020 11456
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 11457 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5
8022$as_echo_n "checking RSVG_LIBS... " >&6; } 11458$as_echo_n "checking RSVG_LIBS... " >&6; }
8023 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 11459 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 11460 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5
8025$as_echo "$RSVG_LIBS" >&6; } 11461$as_echo "$RSVG_LIBS" >&6; }
8026 else 11462 else
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11463 { $as_echo "$as_me:$LINENO: result: no" >&5
8028$as_echo "no" >&6; } 11464$as_echo "no" >&6; }
8029 RSVG_CFLAGS="" 11465 RSVG_CFLAGS=""
8030 RSVG_LIBS="" 11466 RSVG_LIBS=""
@@ -8054,7 +11490,9 @@ $as_echo "no" >&6; }
8054 if test ".${RSVG_CFLAGS}" != "."; then 11490 if test ".${RSVG_CFLAGS}" != "."; then
8055 HAVE_RSVG=yes 11491 HAVE_RSVG=yes
8056 11492
8057$as_echo "#define HAVE_RSVG 1" >>confdefs.h 11493cat >>confdefs.h <<\_ACEOF
11494#define HAVE_RSVG 1
11495_ACEOF
8058 11496
8059 CFLAGS="$CFLAGS $RSVG_CFLAGS" 11497 CFLAGS="$CFLAGS $RSVG_CFLAGS"
8060 LIBS="$RSVG_LIBS $LIBS" 11498 LIBS="$RSVG_LIBS $LIBS"
@@ -8074,9 +11512,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
8074 11512
8075 # Extract the first word of "pkg-config", so it can be a program name with args. 11513 # Extract the first word of "pkg-config", so it can be a program name with args.
8076set dummy pkg-config; ac_word=$2 11514set dummy pkg-config; ac_word=$2
8077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11515{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8078$as_echo_n "checking for $ac_word... " >&6; } 11516$as_echo_n "checking for $ac_word... " >&6; }
8079if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 11517if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8080 $as_echo_n "(cached) " >&6 11518 $as_echo_n "(cached) " >&6
8081else 11519else
8082 case $PKG_CONFIG in 11520 case $PKG_CONFIG in
@@ -8089,14 +11527,14 @@ for as_dir in $PATH
8089do 11527do
8090 IFS=$as_save_IFS 11528 IFS=$as_save_IFS
8091 test -z "$as_dir" && as_dir=. 11529 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do 11530 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8094 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 break 2 11534 break 2
8097 fi 11535 fi
8098done 11536done
8099 done 11537done
8100IFS=$as_save_IFS 11538IFS=$as_save_IFS
8101 11539
8102 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 11540 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -8105,10 +11543,10 @@ esac
8105fi 11543fi
8106PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11544PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8107if test -n "$PKG_CONFIG"; then 11545if test -n "$PKG_CONFIG"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 11546 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8109$as_echo "$PKG_CONFIG" >&6; } 11547$as_echo "$PKG_CONFIG" >&6; }
8110else 11548else
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11549 { $as_echo "$as_me:$LINENO: result: no" >&5
8112$as_echo "no" >&6; } 11550$as_echo "no" >&6; }
8113fi 11551fi
8114 11552
@@ -8119,27 +11557,27 @@ fi
8119 else 11557 else
8120 PKG_CONFIG_MIN_VERSION=0.9.0 11558 PKG_CONFIG_MIN_VERSION=0.9.0
8121 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11559 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 11560 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
8123$as_echo_n "checking for $GTK_MODULES... " >&6; } 11561$as_echo_n "checking for $GTK_MODULES... " >&6; }
8124 11562
8125 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 11563 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11564 { $as_echo "$as_me:$LINENO: result: yes" >&5
8127$as_echo "yes" >&6; } 11565$as_echo "yes" >&6; }
8128 succeeded=yes 11566 succeeded=yes
8129 11567
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 11568 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
8131$as_echo_n "checking GTK_CFLAGS... " >&6; } 11569$as_echo_n "checking GTK_CFLAGS... " >&6; }
8132 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 11570 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 11571 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
8134$as_echo "$GTK_CFLAGS" >&6; } 11572$as_echo "$GTK_CFLAGS" >&6; }
8135 11573
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 11574 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5
8137$as_echo_n "checking GTK_LIBS... " >&6; } 11575$as_echo_n "checking GTK_LIBS... " >&6; }
8138 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 11576 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 11577 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
8140$as_echo "$GTK_LIBS" >&6; } 11578$as_echo "$GTK_LIBS" >&6; }
8141 else 11579 else
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11580 { $as_echo "$as_me:$LINENO: result: no" >&5
8143$as_echo "no" >&6; } 11581$as_echo "no" >&6; }
8144 GTK_CFLAGS="" 11582 GTK_CFLAGS=""
8145 GTK_LIBS="" 11583 GTK_LIBS=""
@@ -8164,7 +11602,9 @@ $as_echo "no" >&6; }
8164 fi 11602 fi
8165 11603
8166 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11604 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8167 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 11605 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5
11606$as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11607 { (exit 1); exit 1; }; }
8168 fi 11608 fi
8169fi 11609fi
8170 11610
@@ -8178,12 +11618,101 @@ if test x"$pkg_check_gtk" = xyes; then
8178 CFLAGS="$CFLAGS $GTK_CFLAGS" 11618 CFLAGS="$CFLAGS $GTK_CFLAGS"
8179 LIBS="$GTK_LIBS $LIBS" 11619 LIBS="$GTK_LIBS $LIBS"
8180 GTK_COMPILES=no 11620 GTK_COMPILES=no
8181 for ac_func in gtk_main 11621
8182do : 11622for ac_func in gtk_main
8183 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" 11623do
8184if test "x$ac_cv_func_gtk_main" = x""yes; then : 11624as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11625{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11626$as_echo_n "checking for $ac_func... " >&6; }
11627if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11628 $as_echo_n "(cached) " >&6
11629else
11630 cat >conftest.$ac_ext <<_ACEOF
11631/* confdefs.h. */
11632_ACEOF
11633cat confdefs.h >>conftest.$ac_ext
11634cat >>conftest.$ac_ext <<_ACEOF
11635/* end confdefs.h. */
11636/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11638#define $ac_func innocuous_$ac_func
11639
11640/* System header to define __stub macros and hopefully few prototypes,
11641 which can conflict with char $ac_func (); below.
11642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11643 <limits.h> exists even on freestanding compilers. */
11644
11645#ifdef __STDC__
11646# include <limits.h>
11647#else
11648# include <assert.h>
11649#endif
11650
11651#undef $ac_func
11652
11653/* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11656#ifdef __cplusplus
11657extern "C"
11658#endif
11659char $ac_func ();
11660/* The GNU C library defines this for functions which it implements
11661 to always fail with ENOSYS. Some functions are actually named
11662 something starting with __ and the normal name is an alias. */
11663#if defined __stub_$ac_func || defined __stub___$ac_func
11664choke me
11665#endif
11666
11667int
11668main ()
11669{
11670return $ac_func ();
11671 ;
11672 return 0;
11673}
11674_ACEOF
11675rm -f conftest.$ac_objext conftest$ac_exeext
11676if { (ac_try="$ac_link"
11677case "(($ac_try" in
11678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11679 *) ac_try_echo=$ac_try;;
11680esac
11681eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11682$as_echo "$ac_try_echo") >&5
11683 (eval "$ac_link") 2>conftest.er1
11684 ac_status=$?
11685 grep -v '^ *+' conftest.er1 >conftest.err
11686 rm -f conftest.er1
11687 cat conftest.err >&5
11688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); } && {
11690 test -z "$ac_c_werror_flag" ||
11691 test ! -s conftest.err
11692 } && test -s conftest$ac_exeext && {
11693 test "$cross_compiling" = yes ||
11694 $as_test_x conftest$ac_exeext
11695 }; then
11696 eval "$as_ac_var=yes"
11697else
11698 $as_echo "$as_me: failed program was:" >&5
11699sed 's/^/| /' conftest.$ac_ext >&5
11700
11701 eval "$as_ac_var=no"
11702fi
11703
11704rm -rf conftest.dSYM
11705rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11706 conftest$ac_exeext conftest.$ac_ext
11707fi
11708ac_res=`eval 'as_val=${'$as_ac_var'}
11709 $as_echo "$as_val"'`
11710 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11711$as_echo "$ac_res" >&6; }
11712if test `eval 'as_val=${'$as_ac_var'}
11713 $as_echo "$as_val"'` = yes; then
8185 cat >>confdefs.h <<_ACEOF 11714 cat >>confdefs.h <<_ACEOF
8186#define HAVE_GTK_MAIN 1 11715#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8187_ACEOF 11716_ACEOF
8188 GTK_COMPILES=yes 11717 GTK_COMPILES=yes
8189fi 11718fi
@@ -8191,19 +11720,23 @@ done
8191 11720
8192 if test "${GTK_COMPILES}" != "yes"; then 11721 if test "${GTK_COMPILES}" != "yes"; then
8193 if test "$USE_X_TOOLKIT" != "maybe"; then 11722 if test "$USE_X_TOOLKIT" != "maybe"; then
8194 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 11723 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5
11724$as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11725 { (exit 1); exit 1; }; };
8195 fi 11726 fi
8196 else 11727 else
8197 HAVE_GTK=yes 11728 HAVE_GTK=yes
8198 11729
8199$as_echo "#define USE_GTK 1" >>confdefs.h 11730cat >>confdefs.h <<\_ACEOF
11731#define USE_GTK 1
11732_ACEOF
8200 11733
8201 GTK_OBJ=gtkutil.o 11734 GTK_OBJ=gtkutil.o
8202 USE_X_TOOLKIT=none 11735 USE_X_TOOLKIT=none
8203 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 11736 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
8204 : 11737 :
8205 else 11738 else
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with 11739 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with
8207 closing open displays. This is no problem if you just use 11740 closing open displays. This is no problem if you just use
8208 one display, but if you use more than one and close one of them 11741 one display, but if you use more than one and close one of them
8209 Emacs may crash." >&5 11742 Emacs may crash." >&5
@@ -8226,12 +11759,101 @@ if test "${HAVE_GTK}" = "yes"; then
8226 fi 11759 fi
8227 11760
8228 HAVE_GTK_MULTIDISPLAY=no 11761 HAVE_GTK_MULTIDISPLAY=no
8229 for ac_func in gdk_display_open 11762
8230do : 11763for ac_func in gdk_display_open
8231 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" 11764do
8232if test "x$ac_cv_func_gdk_display_open" = x""yes; then : 11765as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11766{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11767$as_echo_n "checking for $ac_func... " >&6; }
11768if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11769 $as_echo_n "(cached) " >&6
11770else
11771 cat >conftest.$ac_ext <<_ACEOF
11772/* confdefs.h. */
11773_ACEOF
11774cat confdefs.h >>conftest.$ac_ext
11775cat >>conftest.$ac_ext <<_ACEOF
11776/* end confdefs.h. */
11777/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11779#define $ac_func innocuous_$ac_func
11780
11781/* System header to define __stub macros and hopefully few prototypes,
11782 which can conflict with char $ac_func (); below.
11783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11784 <limits.h> exists even on freestanding compilers. */
11785
11786#ifdef __STDC__
11787# include <limits.h>
11788#else
11789# include <assert.h>
11790#endif
11791
11792#undef $ac_func
11793
11794/* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11797#ifdef __cplusplus
11798extern "C"
11799#endif
11800char $ac_func ();
11801/* The GNU C library defines this for functions which it implements
11802 to always fail with ENOSYS. Some functions are actually named
11803 something starting with __ and the normal name is an alias. */
11804#if defined __stub_$ac_func || defined __stub___$ac_func
11805choke me
11806#endif
11807
11808int
11809main ()
11810{
11811return $ac_func ();
11812 ;
11813 return 0;
11814}
11815_ACEOF
11816rm -f conftest.$ac_objext conftest$ac_exeext
11817if { (ac_try="$ac_link"
11818case "(($ac_try" in
11819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11820 *) ac_try_echo=$ac_try;;
11821esac
11822eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11823$as_echo "$ac_try_echo") >&5
11824 (eval "$ac_link") 2>conftest.er1
11825 ac_status=$?
11826 grep -v '^ *+' conftest.er1 >conftest.err
11827 rm -f conftest.er1
11828 cat conftest.err >&5
11829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); } && {
11831 test -z "$ac_c_werror_flag" ||
11832 test ! -s conftest.err
11833 } && test -s conftest$ac_exeext && {
11834 test "$cross_compiling" = yes ||
11835 $as_test_x conftest$ac_exeext
11836 }; then
11837 eval "$as_ac_var=yes"
11838else
11839 $as_echo "$as_me: failed program was:" >&5
11840sed 's/^/| /' conftest.$ac_ext >&5
11841
11842 eval "$as_ac_var=no"
11843fi
11844
11845rm -rf conftest.dSYM
11846rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11847 conftest$ac_exeext conftest.$ac_ext
11848fi
11849ac_res=`eval 'as_val=${'$as_ac_var'}
11850 $as_echo "$as_val"'`
11851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11852$as_echo "$ac_res" >&6; }
11853if test `eval 'as_val=${'$as_ac_var'}
11854 $as_echo "$as_val"'` = yes; then
8233 cat >>confdefs.h <<_ACEOF 11855 cat >>confdefs.h <<_ACEOF
8234#define HAVE_GDK_DISPLAY_OPEN 1 11856#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8235_ACEOF 11857_ACEOF
8236 HAVE_GTK_MULTIDISPLAY=yes 11858 HAVE_GTK_MULTIDISPLAY=yes
8237fi 11859fi
@@ -8239,27 +11861,170 @@ done
8239 11861
8240 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then 11862 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
8241 11863
8242$as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h 11864cat >>confdefs.h <<\_ACEOF
11865#define HAVE_GTK_MULTIDISPLAY 1
11866_ACEOF
8243 11867
8244 fi 11868 fi
8245 11869
8246 HAVE_GTK_FILE_SELECTION=no 11870 HAVE_GTK_FILE_SELECTION=no
8247 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default 11871 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5
11872$as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; }
11873if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then
11874 $as_echo_n "(cached) " >&6
11875else
11876 cat >conftest.$ac_ext <<_ACEOF
11877/* confdefs.h. */
11878_ACEOF
11879cat confdefs.h >>conftest.$ac_ext
11880cat >>conftest.$ac_ext <<_ACEOF
11881/* end confdefs.h. */
11882$ac_includes_default
8248#include <gtk/gtk.h> 11883#include <gtk/gtk.h>
8249" 11884
8250if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : 11885int
11886main ()
11887{
11888#ifndef GTK_TYPE_FILE_SELECTION
11889 (void) GTK_TYPE_FILE_SELECTION;
11890#endif
11891
11892 ;
11893 return 0;
11894}
11895_ACEOF
11896rm -f conftest.$ac_objext
11897if { (ac_try="$ac_compile"
11898case "(($ac_try" in
11899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11900 *) ac_try_echo=$ac_try;;
11901esac
11902eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11903$as_echo "$ac_try_echo") >&5
11904 (eval "$ac_compile") 2>conftest.er1
11905 ac_status=$?
11906 grep -v '^ *+' conftest.er1 >conftest.err
11907 rm -f conftest.er1
11908 cat conftest.err >&5
11909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); } && {
11911 test -z "$ac_c_werror_flag" ||
11912 test ! -s conftest.err
11913 } && test -s conftest.$ac_objext; then
11914 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes
11915else
11916 $as_echo "$as_me: failed program was:" >&5
11917sed 's/^/| /' conftest.$ac_ext >&5
11918
11919 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no
11920fi
11921
11922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11923fi
11924{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
11925$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
11926if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then
8251 HAVE_GTK_FILE_SELECTION=yes 11927 HAVE_GTK_FILE_SELECTION=yes
8252else 11928else
8253 HAVE_GTK_FILE_SELECTION=no 11929 HAVE_GTK_FILE_SELECTION=no
8254fi 11930fi
8255 11931
8256 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 11932 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
8257 for ac_func in gtk_file_selection_new 11933
8258do : 11934for ac_func in gtk_file_selection_new
8259 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" 11935do
8260if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : 11936as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11937{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11938$as_echo_n "checking for $ac_func... " >&6; }
11939if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11940 $as_echo_n "(cached) " >&6
11941else
11942 cat >conftest.$ac_ext <<_ACEOF
11943/* confdefs.h. */
11944_ACEOF
11945cat confdefs.h >>conftest.$ac_ext
11946cat >>conftest.$ac_ext <<_ACEOF
11947/* end confdefs.h. */
11948/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11950#define $ac_func innocuous_$ac_func
11951
11952/* System header to define __stub macros and hopefully few prototypes,
11953 which can conflict with char $ac_func (); below.
11954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11955 <limits.h> exists even on freestanding compilers. */
11956
11957#ifdef __STDC__
11958# include <limits.h>
11959#else
11960# include <assert.h>
11961#endif
11962
11963#undef $ac_func
11964
11965/* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968#ifdef __cplusplus
11969extern "C"
11970#endif
11971char $ac_func ();
11972/* The GNU C library defines this for functions which it implements
11973 to always fail with ENOSYS. Some functions are actually named
11974 something starting with __ and the normal name is an alias. */
11975#if defined __stub_$ac_func || defined __stub___$ac_func
11976choke me
11977#endif
11978
11979int
11980main ()
11981{
11982return $ac_func ();
11983 ;
11984 return 0;
11985}
11986_ACEOF
11987rm -f conftest.$ac_objext conftest$ac_exeext
11988if { (ac_try="$ac_link"
11989case "(($ac_try" in
11990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11991 *) ac_try_echo=$ac_try;;
11992esac
11993eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11994$as_echo "$ac_try_echo") >&5
11995 (eval "$ac_link") 2>conftest.er1
11996 ac_status=$?
11997 grep -v '^ *+' conftest.er1 >conftest.err
11998 rm -f conftest.er1
11999 cat conftest.err >&5
12000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); } && {
12002 test -z "$ac_c_werror_flag" ||
12003 test ! -s conftest.err
12004 } && test -s conftest$ac_exeext && {
12005 test "$cross_compiling" = yes ||
12006 $as_test_x conftest$ac_exeext
12007 }; then
12008 eval "$as_ac_var=yes"
12009else
12010 $as_echo "$as_me: failed program was:" >&5
12011sed 's/^/| /' conftest.$ac_ext >&5
12012
12013 eval "$as_ac_var=no"
12014fi
12015
12016rm -rf conftest.dSYM
12017rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12018 conftest$ac_exeext conftest.$ac_ext
12019fi
12020ac_res=`eval 'as_val=${'$as_ac_var'}
12021 $as_echo "$as_val"'`
12022 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12023$as_echo "$ac_res" >&6; }
12024if test `eval 'as_val=${'$as_ac_var'}
12025 $as_echo "$as_val"'` = yes; then
8261 cat >>confdefs.h <<_ACEOF 12026 cat >>confdefs.h <<_ACEOF
8262#define HAVE_GTK_FILE_SELECTION_NEW 1 12027#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8263_ACEOF 12028_ACEOF
8264 HAVE_GTK_FILE_SELECTION=yes 12029 HAVE_GTK_FILE_SELECTION=yes
8265else 12030else
@@ -8270,22 +12035,163 @@ done
8270 fi 12035 fi
8271 12036
8272 HAVE_GTK_FILE_CHOOSER=no 12037 HAVE_GTK_FILE_CHOOSER=no
8273 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default 12038 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5
12039$as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; }
12040if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then
12041 $as_echo_n "(cached) " >&6
12042else
12043 cat >conftest.$ac_ext <<_ACEOF
12044/* confdefs.h. */
12045_ACEOF
12046cat confdefs.h >>conftest.$ac_ext
12047cat >>conftest.$ac_ext <<_ACEOF
12048/* end confdefs.h. */
12049$ac_includes_default
8274#include <gtk/gtk.h> 12050#include <gtk/gtk.h>
8275" 12051
8276if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : 12052int
12053main ()
12054{
12055#ifndef GTK_TYPE_FILE_CHOOSER
12056 (void) GTK_TYPE_FILE_CHOOSER;
12057#endif
12058
12059 ;
12060 return 0;
12061}
12062_ACEOF
12063rm -f conftest.$ac_objext
12064if { (ac_try="$ac_compile"
12065case "(($ac_try" in
12066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12067 *) ac_try_echo=$ac_try;;
12068esac
12069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12070$as_echo "$ac_try_echo") >&5
12071 (eval "$ac_compile") 2>conftest.er1
12072 ac_status=$?
12073 grep -v '^ *+' conftest.er1 >conftest.err
12074 rm -f conftest.er1
12075 cat conftest.err >&5
12076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } && {
12078 test -z "$ac_c_werror_flag" ||
12079 test ! -s conftest.err
12080 } && test -s conftest.$ac_objext; then
12081 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes
12082else
12083 $as_echo "$as_me: failed program was:" >&5
12084sed 's/^/| /' conftest.$ac_ext >&5
12085
12086 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no
12087fi
12088
12089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12090fi
12091{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
12092$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
12093if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then
8277 HAVE_GTK_FILE_CHOOSER=yes 12094 HAVE_GTK_FILE_CHOOSER=yes
8278else 12095else
8279 HAVE_GTK_FILE_CHOOSER=no 12096 HAVE_GTK_FILE_CHOOSER=no
8280fi 12097fi
8281 12098
8282 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12099 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
8283 for ac_func in gtk_file_chooser_dialog_new 12100
8284do : 12101for ac_func in gtk_file_chooser_dialog_new
8285 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" 12102do
8286if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : 12103as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12104{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12105$as_echo_n "checking for $ac_func... " >&6; }
12106if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12107 $as_echo_n "(cached) " >&6
12108else
12109 cat >conftest.$ac_ext <<_ACEOF
12110/* confdefs.h. */
12111_ACEOF
12112cat confdefs.h >>conftest.$ac_ext
12113cat >>conftest.$ac_ext <<_ACEOF
12114/* end confdefs.h. */
12115/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12117#define $ac_func innocuous_$ac_func
12118
12119/* System header to define __stub macros and hopefully few prototypes,
12120 which can conflict with char $ac_func (); below.
12121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12122 <limits.h> exists even on freestanding compilers. */
12123
12124#ifdef __STDC__
12125# include <limits.h>
12126#else
12127# include <assert.h>
12128#endif
12129
12130#undef $ac_func
12131
12132/* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12135#ifdef __cplusplus
12136extern "C"
12137#endif
12138char $ac_func ();
12139/* The GNU C library defines this for functions which it implements
12140 to always fail with ENOSYS. Some functions are actually named
12141 something starting with __ and the normal name is an alias. */
12142#if defined __stub_$ac_func || defined __stub___$ac_func
12143choke me
12144#endif
12145
12146int
12147main ()
12148{
12149return $ac_func ();
12150 ;
12151 return 0;
12152}
12153_ACEOF
12154rm -f conftest.$ac_objext conftest$ac_exeext
12155if { (ac_try="$ac_link"
12156case "(($ac_try" in
12157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12158 *) ac_try_echo=$ac_try;;
12159esac
12160eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12161$as_echo "$ac_try_echo") >&5
12162 (eval "$ac_link") 2>conftest.er1
12163 ac_status=$?
12164 grep -v '^ *+' conftest.er1 >conftest.err
12165 rm -f conftest.er1
12166 cat conftest.err >&5
12167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } && {
12169 test -z "$ac_c_werror_flag" ||
12170 test ! -s conftest.err
12171 } && test -s conftest$ac_exeext && {
12172 test "$cross_compiling" = yes ||
12173 $as_test_x conftest$ac_exeext
12174 }; then
12175 eval "$as_ac_var=yes"
12176else
12177 $as_echo "$as_me: failed program was:" >&5
12178sed 's/^/| /' conftest.$ac_ext >&5
12179
12180 eval "$as_ac_var=no"
12181fi
12182
12183rm -rf conftest.dSYM
12184rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12185 conftest$ac_exeext conftest.$ac_ext
12186fi
12187ac_res=`eval 'as_val=${'$as_ac_var'}
12188 $as_echo "$as_val"'`
12189 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12190$as_echo "$ac_res" >&6; }
12191if test `eval 'as_val=${'$as_ac_var'}
12192 $as_echo "$as_val"'` = yes; then
8287 cat >>confdefs.h <<_ACEOF 12193 cat >>confdefs.h <<_ACEOF
8288#define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 12194#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8289_ACEOF 12195_ACEOF
8290 HAVE_GTK_FILE_CHOOSER=yes 12196 HAVE_GTK_FILE_CHOOSER=yes
8291else 12197else
@@ -8298,18 +12204,153 @@ done
8298 if test "$HAVE_GTK_FILE_SELECTION" = yes \ 12204 if test "$HAVE_GTK_FILE_SELECTION" = yes \
8299 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12205 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
8300 12206
8301$as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h 12207cat >>confdefs.h <<\_ACEOF
12208#define HAVE_GTK_FILE_BOTH 1
12209_ACEOF
8302 12210
8303 fi 12211 fi
8304 12212
8305 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12213 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
8306 HAVE_GTK_AND_PTHREAD=no 12214 HAVE_GTK_AND_PTHREAD=no
8307 for ac_header in pthread.h 12215
8308do : 12216for ac_header in pthread.h
8309 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 12217do
8310if test "x$ac_cv_header_pthread_h" = x""yes; then : 12218as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12219if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12220 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12221$as_echo_n "checking for $ac_header... " >&6; }
12222if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12223 $as_echo_n "(cached) " >&6
12224fi
12225ac_res=`eval 'as_val=${'$as_ac_Header'}
12226 $as_echo "$as_val"'`
12227 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12228$as_echo "$ac_res" >&6; }
12229else
12230 # Is the header compilable?
12231{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12232$as_echo_n "checking $ac_header usability... " >&6; }
12233cat >conftest.$ac_ext <<_ACEOF
12234/* confdefs.h. */
12235_ACEOF
12236cat confdefs.h >>conftest.$ac_ext
12237cat >>conftest.$ac_ext <<_ACEOF
12238/* end confdefs.h. */
12239$ac_includes_default
12240#include <$ac_header>
12241_ACEOF
12242rm -f conftest.$ac_objext
12243if { (ac_try="$ac_compile"
12244case "(($ac_try" in
12245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12246 *) ac_try_echo=$ac_try;;
12247esac
12248eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12249$as_echo "$ac_try_echo") >&5
12250 (eval "$ac_compile") 2>conftest.er1
12251 ac_status=$?
12252 grep -v '^ *+' conftest.er1 >conftest.err
12253 rm -f conftest.er1
12254 cat conftest.err >&5
12255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest.$ac_objext; then
12260 ac_header_compiler=yes
12261else
12262 $as_echo "$as_me: failed program was:" >&5
12263sed 's/^/| /' conftest.$ac_ext >&5
12264
12265 ac_header_compiler=no
12266fi
12267
12268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12269{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12270$as_echo "$ac_header_compiler" >&6; }
12271
12272# Is the header present?
12273{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12274$as_echo_n "checking $ac_header presence... " >&6; }
12275cat >conftest.$ac_ext <<_ACEOF
12276/* confdefs.h. */
12277_ACEOF
12278cat confdefs.h >>conftest.$ac_ext
12279cat >>conftest.$ac_ext <<_ACEOF
12280/* end confdefs.h. */
12281#include <$ac_header>
12282_ACEOF
12283if { (ac_try="$ac_cpp conftest.$ac_ext"
12284case "(($ac_try" in
12285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12286 *) ac_try_echo=$ac_try;;
12287esac
12288eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12289$as_echo "$ac_try_echo") >&5
12290 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12291 ac_status=$?
12292 grep -v '^ *+' conftest.er1 >conftest.err
12293 rm -f conftest.er1
12294 cat conftest.err >&5
12295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } >/dev/null && {
12297 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12298 test ! -s conftest.err
12299 }; then
12300 ac_header_preproc=yes
12301else
12302 $as_echo "$as_me: failed program was:" >&5
12303sed 's/^/| /' conftest.$ac_ext >&5
12304
12305 ac_header_preproc=no
12306fi
12307
12308rm -f conftest.err conftest.$ac_ext
12309{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12310$as_echo "$ac_header_preproc" >&6; }
12311
12312# So? What about this header?
12313case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12314 yes:no: )
12315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12316$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12318$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12319 ac_header_preproc=yes
12320 ;;
12321 no:yes:* )
12322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12323$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12325$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12327$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12329$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12331$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12333$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12334
12335 ;;
12336esac
12337{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12338$as_echo_n "checking for $ac_header... " >&6; }
12339if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12340 $as_echo_n "(cached) " >&6
12341else
12342 eval "$as_ac_Header=\$ac_header_preproc"
12343fi
12344ac_res=`eval 'as_val=${'$as_ac_Header'}
12345 $as_echo "$as_val"'`
12346 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12347$as_echo "$ac_res" >&6; }
12348
12349fi
12350if test `eval 'as_val=${'$as_ac_Header'}
12351 $as_echo "$as_val"'` = yes; then
8311 cat >>confdefs.h <<_ACEOF 12352 cat >>confdefs.h <<_ACEOF
8312#define HAVE_PTHREAD_H 1 12353#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8313_ACEOF 12354_ACEOF
8314 12355
8315fi 12356fi
@@ -8317,14 +12358,18 @@ fi
8317done 12358done
8318 12359
8319 if test "$ac_cv_header_pthread_h"; then 12360 if test "$ac_cv_header_pthread_h"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 12361 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
8321$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 12362$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
8322if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 12363if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
8323 $as_echo_n "(cached) " >&6 12364 $as_echo_n "(cached) " >&6
8324else 12365else
8325 ac_check_lib_save_LIBS=$LIBS 12366 ac_check_lib_save_LIBS=$LIBS
8326LIBS="-lpthread $LIBS" 12367LIBS="-lpthread $LIBS"
8327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12368cat >conftest.$ac_ext <<_ACEOF
12369/* confdefs.h. */
12370_ACEOF
12371cat confdefs.h >>conftest.$ac_ext
12372cat >>conftest.$ac_ext <<_ACEOF
8328/* end confdefs.h. */ 12373/* end confdefs.h. */
8329 12374
8330/* Override any GCC internal prototype to avoid an error. 12375/* Override any GCC internal prototype to avoid an error.
@@ -8342,18 +12387,43 @@ return pthread_self ();
8342 return 0; 12387 return 0;
8343} 12388}
8344_ACEOF 12389_ACEOF
8345if ac_fn_c_try_link "$LINENO"; then : 12390rm -f conftest.$ac_objext conftest$ac_exeext
12391if { (ac_try="$ac_link"
12392case "(($ac_try" in
12393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12394 *) ac_try_echo=$ac_try;;
12395esac
12396eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12397$as_echo "$ac_try_echo") >&5
12398 (eval "$ac_link") 2>conftest.er1
12399 ac_status=$?
12400 grep -v '^ *+' conftest.er1 >conftest.err
12401 rm -f conftest.er1
12402 cat conftest.err >&5
12403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } && {
12405 test -z "$ac_c_werror_flag" ||
12406 test ! -s conftest.err
12407 } && test -s conftest$ac_exeext && {
12408 test "$cross_compiling" = yes ||
12409 $as_test_x conftest$ac_exeext
12410 }; then
8346 ac_cv_lib_pthread_pthread_self=yes 12411 ac_cv_lib_pthread_pthread_self=yes
8347else 12412else
8348 ac_cv_lib_pthread_pthread_self=no 12413 $as_echo "$as_me: failed program was:" >&5
12414sed 's/^/| /' conftest.$ac_ext >&5
12415
12416 ac_cv_lib_pthread_pthread_self=no
8349fi 12417fi
8350rm -f core conftest.err conftest.$ac_objext \ 12418
8351 conftest$ac_exeext conftest.$ac_ext 12419rm -rf conftest.dSYM
12420rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12421 conftest$ac_exeext conftest.$ac_ext
8352LIBS=$ac_check_lib_save_LIBS 12422LIBS=$ac_check_lib_save_LIBS
8353fi 12423fi
8354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 12424{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
8355$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 12425$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
8356if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 12426if test $ac_cv_lib_pthread_pthread_self = yes; then
8357 HAVE_GTK_AND_PTHREAD=yes 12427 HAVE_GTK_AND_PTHREAD=yes
8358fi 12428fi
8359 12429
@@ -8364,7 +12434,9 @@ fi
8364 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; 12434 *) GTK_LIBS="$GTK_LIBS -lpthread" ;;
8365 esac 12435 esac
8366 12436
8367$as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h 12437cat >>confdefs.h <<\_ACEOF
12438#define HAVE_GTK_AND_PTHREAD 1
12439_ACEOF
8368 12440
8369 fi 12441 fi
8370 fi 12442 fi
@@ -8378,9 +12450,9 @@ if test "${with_dbus}" = "yes"; then
8378 12450
8379 # Extract the first word of "pkg-config", so it can be a program name with args. 12451 # Extract the first word of "pkg-config", so it can be a program name with args.
8380set dummy pkg-config; ac_word=$2 12452set dummy pkg-config; ac_word=$2
8381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12453{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8382$as_echo_n "checking for $ac_word... " >&6; } 12454$as_echo_n "checking for $ac_word... " >&6; }
8383if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12455if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8384 $as_echo_n "(cached) " >&6 12456 $as_echo_n "(cached) " >&6
8385else 12457else
8386 case $PKG_CONFIG in 12458 case $PKG_CONFIG in
@@ -8393,14 +12465,14 @@ for as_dir in $PATH
8393do 12465do
8394 IFS=$as_save_IFS 12466 IFS=$as_save_IFS
8395 test -z "$as_dir" && as_dir=. 12467 test -z "$as_dir" && as_dir=.
8396 for ac_exec_ext in '' $ac_executable_extensions; do 12468 for ac_exec_ext in '' $ac_executable_extensions; do
8397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8398 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12470 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8400 break 2 12472 break 2
8401 fi 12473 fi
8402done 12474done
8403 done 12475done
8404IFS=$as_save_IFS 12476IFS=$as_save_IFS
8405 12477
8406 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 12478 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -8409,10 +12481,10 @@ esac
8409fi 12481fi
8410PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12482PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8411if test -n "$PKG_CONFIG"; then 12483if test -n "$PKG_CONFIG"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12484 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8413$as_echo "$PKG_CONFIG" >&6; } 12485$as_echo "$PKG_CONFIG" >&6; }
8414else 12486else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12487 { $as_echo "$as_me:$LINENO: result: no" >&5
8416$as_echo "no" >&6; } 12488$as_echo "no" >&6; }
8417fi 12489fi
8418 12490
@@ -8423,27 +12495,27 @@ fi
8423 else 12495 else
8424 PKG_CONFIG_MIN_VERSION=0.9.0 12496 PKG_CONFIG_MIN_VERSION=0.9.0
8425 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12497 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 12498 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5
8427$as_echo_n "checking for dbus-1 >= 1.0... " >&6; } 12499$as_echo_n "checking for dbus-1 >= 1.0... " >&6; }
8428 12500
8429 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 12501 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12502 { $as_echo "$as_me:$LINENO: result: yes" >&5
8431$as_echo "yes" >&6; } 12503$as_echo "yes" >&6; }
8432 succeeded=yes 12504 succeeded=yes
8433 12505
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 12506 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
8435$as_echo_n "checking DBUS_CFLAGS... " >&6; } 12507$as_echo_n "checking DBUS_CFLAGS... " >&6; }
8436 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 12508 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 12509 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
8438$as_echo "$DBUS_CFLAGS" >&6; } 12510$as_echo "$DBUS_CFLAGS" >&6; }
8439 12511
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 12512 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
8441$as_echo_n "checking DBUS_LIBS... " >&6; } 12513$as_echo_n "checking DBUS_LIBS... " >&6; }
8442 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 12514 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 12515 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
8444$as_echo "$DBUS_LIBS" >&6; } 12516$as_echo "$DBUS_LIBS" >&6; }
8445 else 12517 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12518 { $as_echo "$as_me:$LINENO: result: no" >&5
8447$as_echo "no" >&6; } 12519$as_echo "no" >&6; }
8448 DBUS_CFLAGS="" 12520 DBUS_CFLAGS=""
8449 DBUS_LIBS="" 12521 DBUS_LIBS=""
@@ -8470,14 +12542,105 @@ $as_echo "no" >&6; }
8470 if test "$HAVE_DBUS" = yes; then 12542 if test "$HAVE_DBUS" = yes; then
8471 LIBS="$LIBS $DBUS_LIBS" 12543 LIBS="$LIBS $DBUS_LIBS"
8472 12544
8473$as_echo "#define HAVE_DBUS 1" >>confdefs.h 12545cat >>confdefs.h <<\_ACEOF
12546#define HAVE_DBUS 1
12547_ACEOF
12548
12549
12550for ac_func in dbus_watch_get_unix_fd
12551do
12552as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12553{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12554$as_echo_n "checking for $ac_func... " >&6; }
12555if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12556 $as_echo_n "(cached) " >&6
12557else
12558 cat >conftest.$ac_ext <<_ACEOF
12559/* confdefs.h. */
12560_ACEOF
12561cat confdefs.h >>conftest.$ac_ext
12562cat >>conftest.$ac_ext <<_ACEOF
12563/* end confdefs.h. */
12564/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12566#define $ac_func innocuous_$ac_func
12567
12568/* System header to define __stub macros and hopefully few prototypes,
12569 which can conflict with char $ac_func (); below.
12570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12571 <limits.h> exists even on freestanding compilers. */
12572
12573#ifdef __STDC__
12574# include <limits.h>
12575#else
12576# include <assert.h>
12577#endif
12578
12579#undef $ac_func
12580
12581/* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12584#ifdef __cplusplus
12585extern "C"
12586#endif
12587char $ac_func ();
12588/* The GNU C library defines this for functions which it implements
12589 to always fail with ENOSYS. Some functions are actually named
12590 something starting with __ and the normal name is an alias. */
12591#if defined __stub_$ac_func || defined __stub___$ac_func
12592choke me
12593#endif
12594
12595int
12596main ()
12597{
12598return $ac_func ();
12599 ;
12600 return 0;
12601}
12602_ACEOF
12603rm -f conftest.$ac_objext conftest$ac_exeext
12604if { (ac_try="$ac_link"
12605case "(($ac_try" in
12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12607 *) ac_try_echo=$ac_try;;
12608esac
12609eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12610$as_echo "$ac_try_echo") >&5
12611 (eval "$ac_link") 2>conftest.er1
12612 ac_status=$?
12613 grep -v '^ *+' conftest.er1 >conftest.err
12614 rm -f conftest.er1
12615 cat conftest.err >&5
12616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); } && {
12618 test -z "$ac_c_werror_flag" ||
12619 test ! -s conftest.err
12620 } && test -s conftest$ac_exeext && {
12621 test "$cross_compiling" = yes ||
12622 $as_test_x conftest$ac_exeext
12623 }; then
12624 eval "$as_ac_var=yes"
12625else
12626 $as_echo "$as_me: failed program was:" >&5
12627sed 's/^/| /' conftest.$ac_ext >&5
12628
12629 eval "$as_ac_var=no"
12630fi
8474 12631
8475 for ac_func in dbus_watch_get_unix_fd 12632rm -rf conftest.dSYM
8476do : 12633rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8477 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" 12634 conftest$ac_exeext conftest.$ac_ext
8478if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : 12635fi
12636ac_res=`eval 'as_val=${'$as_ac_var'}
12637 $as_echo "$as_val"'`
12638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12639$as_echo "$ac_res" >&6; }
12640if test `eval 'as_val=${'$as_ac_var'}
12641 $as_echo "$as_val"'` = yes; then
8479 cat >>confdefs.h <<_ACEOF 12642 cat >>confdefs.h <<_ACEOF
8480#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 12643#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8481_ACEOF 12644_ACEOF
8482 12645
8483fi 12646fi
@@ -8495,9 +12658,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
8495 12658
8496 # Extract the first word of "pkg-config", so it can be a program name with args. 12659 # Extract the first word of "pkg-config", so it can be a program name with args.
8497set dummy pkg-config; ac_word=$2 12660set dummy pkg-config; ac_word=$2
8498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12661{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8499$as_echo_n "checking for $ac_word... " >&6; } 12662$as_echo_n "checking for $ac_word... " >&6; }
8500if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 12663if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8501 $as_echo_n "(cached) " >&6 12664 $as_echo_n "(cached) " >&6
8502else 12665else
8503 case $PKG_CONFIG in 12666 case $PKG_CONFIG in
@@ -8510,14 +12673,14 @@ for as_dir in $PATH
8510do 12673do
8511 IFS=$as_save_IFS 12674 IFS=$as_save_IFS
8512 test -z "$as_dir" && as_dir=. 12675 test -z "$as_dir" && as_dir=.
8513 for ac_exec_ext in '' $ac_executable_extensions; do 12676 for ac_exec_ext in '' $ac_executable_extensions; do
8514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8515 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8517 break 2 12680 break 2
8518 fi 12681 fi
8519done 12682done
8520 done 12683done
8521IFS=$as_save_IFS 12684IFS=$as_save_IFS
8522 12685
8523 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 12686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -8526,10 +12689,10 @@ esac
8526fi 12689fi
8527PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12690PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8528if test -n "$PKG_CONFIG"; then 12691if test -n "$PKG_CONFIG"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12692 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8530$as_echo "$PKG_CONFIG" >&6; } 12693$as_echo "$PKG_CONFIG" >&6; }
8531else 12694else
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12695 { $as_echo "$as_me:$LINENO: result: no" >&5
8533$as_echo "no" >&6; } 12696$as_echo "no" >&6; }
8534fi 12697fi
8535 12698
@@ -8540,27 +12703,27 @@ fi
8540 else 12703 else
8541 PKG_CONFIG_MIN_VERSION=0.9.0 12704 PKG_CONFIG_MIN_VERSION=0.9.0
8542 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12705 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 12706 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5
8544$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } 12707$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; }
8545 12708
8546 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then 12709 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12710 { $as_echo "$as_me:$LINENO: result: yes" >&5
8548$as_echo "yes" >&6; } 12711$as_echo "yes" >&6; }
8549 succeeded=yes 12712 succeeded=yes
8550 12713
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 12714 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5
8552$as_echo_n "checking GCONF_CFLAGS... " >&6; } 12715$as_echo_n "checking GCONF_CFLAGS... " >&6; }
8553 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 12716 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 12717 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5
8555$as_echo "$GCONF_CFLAGS" >&6; } 12718$as_echo "$GCONF_CFLAGS" >&6; }
8556 12719
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 12720 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5
8558$as_echo_n "checking GCONF_LIBS... " >&6; } 12721$as_echo_n "checking GCONF_LIBS... " >&6; }
8559 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 12722 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 12723 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5
8561$as_echo "$GCONF_LIBS" >&6; } 12724$as_echo "$GCONF_LIBS" >&6; }
8562 else 12725 else
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12726 { $as_echo "$as_me:$LINENO: result: no" >&5
8564$as_echo "no" >&6; } 12727$as_echo "no" >&6; }
8565 GCONF_CFLAGS="" 12728 GCONF_CFLAGS=""
8566 GCONF_LIBS="" 12729 GCONF_LIBS=""
@@ -8586,7 +12749,9 @@ $as_echo "no" >&6; }
8586 12749
8587 if test "$HAVE_GCONF" = yes; then 12750 if test "$HAVE_GCONF" = yes; then
8588 12751
8589$as_echo "#define HAVE_GCONF 1" >>confdefs.h 12752cat >>confdefs.h <<\_ACEOF
12753#define HAVE_GCONF 1
12754_ACEOF
8590 12755
8591 fi 12756 fi
8592fi 12757fi
@@ -8594,14 +12759,18 @@ fi
8594HAVE_LIBSELINUX=no 12759HAVE_LIBSELINUX=no
8595LIBSELINUX_LIBS= 12760LIBSELINUX_LIBS=
8596if test "${with_selinux}" = "yes"; then 12761if test "${with_selinux}" = "yes"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 12762 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5
8598$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 12763$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
8599if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : 12764if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then
8600 $as_echo_n "(cached) " >&6 12765 $as_echo_n "(cached) " >&6
8601else 12766else
8602 ac_check_lib_save_LIBS=$LIBS 12767 ac_check_lib_save_LIBS=$LIBS
8603LIBS="-lselinux $LIBS" 12768LIBS="-lselinux $LIBS"
8604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12769cat >conftest.$ac_ext <<_ACEOF
12770/* confdefs.h. */
12771_ACEOF
12772cat confdefs.h >>conftest.$ac_ext
12773cat >>conftest.$ac_ext <<_ACEOF
8605/* end confdefs.h. */ 12774/* end confdefs.h. */
8606 12775
8607/* Override any GCC internal prototype to avoid an error. 12776/* Override any GCC internal prototype to avoid an error.
@@ -8619,18 +12788,43 @@ return lgetfilecon ();
8619 return 0; 12788 return 0;
8620} 12789}
8621_ACEOF 12790_ACEOF
8622if ac_fn_c_try_link "$LINENO"; then : 12791rm -f conftest.$ac_objext conftest$ac_exeext
12792if { (ac_try="$ac_link"
12793case "(($ac_try" in
12794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12795 *) ac_try_echo=$ac_try;;
12796esac
12797eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12798$as_echo "$ac_try_echo") >&5
12799 (eval "$ac_link") 2>conftest.er1
12800 ac_status=$?
12801 grep -v '^ *+' conftest.er1 >conftest.err
12802 rm -f conftest.er1
12803 cat conftest.err >&5
12804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); } && {
12806 test -z "$ac_c_werror_flag" ||
12807 test ! -s conftest.err
12808 } && test -s conftest$ac_exeext && {
12809 test "$cross_compiling" = yes ||
12810 $as_test_x conftest$ac_exeext
12811 }; then
8623 ac_cv_lib_selinux_lgetfilecon=yes 12812 ac_cv_lib_selinux_lgetfilecon=yes
8624else 12813else
8625 ac_cv_lib_selinux_lgetfilecon=no 12814 $as_echo "$as_me: failed program was:" >&5
12815sed 's/^/| /' conftest.$ac_ext >&5
12816
12817 ac_cv_lib_selinux_lgetfilecon=no
8626fi 12818fi
8627rm -f core conftest.err conftest.$ac_objext \ 12819
8628 conftest$ac_exeext conftest.$ac_ext 12820rm -rf conftest.dSYM
12821rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12822 conftest$ac_exeext conftest.$ac_ext
8629LIBS=$ac_check_lib_save_LIBS 12823LIBS=$ac_check_lib_save_LIBS
8630fi 12824fi
8631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 12825{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5
8632$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 12826$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
8633if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : 12827if test $ac_cv_lib_selinux_lgetfilecon = yes; then
8634 HAVE_LIBSELINUX=yes 12828 HAVE_LIBSELINUX=yes
8635else 12829else
8636 HAVE_LIBSELINUX=no 12830 HAVE_LIBSELINUX=no
@@ -8638,7 +12832,9 @@ fi
8638 12832
8639 if test "$HAVE_LIBSELINUX" = yes; then 12833 if test "$HAVE_LIBSELINUX" = yes; then
8640 12834
8641$as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h 12835cat >>confdefs.h <<\_ACEOF
12836#define HAVE_LIBSELINUX 1
12837_ACEOF
8642 12838
8643 LIBSELINUX_LIBS=-lselinux 12839 LIBSELINUX_LIBS=-lselinux
8644 fi 12840 fi
@@ -8648,12 +12844,16 @@ fi
8648HAVE_XAW3D=no 12844HAVE_XAW3D=no
8649if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 12845if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
8650 if test "$with_xaw3d" != no; then 12846 if test "$with_xaw3d" != no; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 12847 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5
8652$as_echo_n "checking for xaw3d... " >&6; } 12848$as_echo_n "checking for xaw3d... " >&6; }
8653 if test "${emacs_cv_xaw3d+set}" = set; then : 12849 if test "${emacs_cv_xaw3d+set}" = set; then
8654 $as_echo_n "(cached) " >&6 12850 $as_echo_n "(cached) " >&6
8655else 12851else
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12852 cat >conftest.$ac_ext <<_ACEOF
12853/* confdefs.h. */
12854_ACEOF
12855cat confdefs.h >>conftest.$ac_ext
12856cat >>conftest.$ac_ext <<_ACEOF
8657/* end confdefs.h. */ 12857/* end confdefs.h. */
8658 12858
8659#include <X11/Intrinsic.h> 12859#include <X11/Intrinsic.h>
@@ -8666,35 +12866,66 @@ main ()
8666 return 0; 12866 return 0;
8667} 12867}
8668_ACEOF 12868_ACEOF
8669if 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
8670 emacs_cv_xaw3d=yes 12890 emacs_cv_xaw3d=yes
8671else 12891else
8672 emacs_cv_xaw3d=no 12892 $as_echo "$as_me: failed program was:" >&5
12893sed 's/^/| /' conftest.$ac_ext >&5
12894
12895 emacs_cv_xaw3d=no
8673fi 12896fi
8674rm -f core conftest.err conftest.$ac_objext \ 12897
8675 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
8676fi 12901fi
8677 12902
8678 else 12903 else
8679 emacs_cv_xaw3d=no 12904 emacs_cv_xaw3d=no
8680 fi 12905 fi
8681 if test $emacs_cv_xaw3d = yes; then 12906 if test $emacs_cv_xaw3d = yes; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 12907 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
8683$as_echo "yes; using Lucid toolkit" >&6; } 12908$as_echo "yes; using Lucid toolkit" >&6; }
8684 USE_X_TOOLKIT=LUCID 12909 USE_X_TOOLKIT=LUCID
8685 HAVE_XAW3D=yes 12910 HAVE_XAW3D=yes
8686 12911
8687$as_echo "#define HAVE_XAW3D 1" >>confdefs.h 12912cat >>confdefs.h <<\_ACEOF
12913#define HAVE_XAW3D 1
12914_ACEOF
8688 12915
8689 else 12916 else
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12917 { $as_echo "$as_me:$LINENO: result: no" >&5
8691$as_echo "no" >&6; } 12918$as_echo "no" >&6; }
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 12919 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5
8693$as_echo_n "checking for libXaw... " >&6; } 12920$as_echo_n "checking for libXaw... " >&6; }
8694 if test "${emacs_cv_xaw+set}" = set; then : 12921 if test "${emacs_cv_xaw+set}" = set; then
8695 $as_echo_n "(cached) " >&6 12922 $as_echo_n "(cached) " >&6
8696else 12923else
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12924 cat >conftest.$ac_ext <<_ACEOF
12925/* confdefs.h. */
12926_ACEOF
12927cat confdefs.h >>conftest.$ac_ext
12928cat >>conftest.$ac_ext <<_ACEOF
8698/* end confdefs.h. */ 12929/* end confdefs.h. */
8699 12930
8700#include <X11/Intrinsic.h> 12931#include <X11/Intrinsic.h>
@@ -8707,23 +12938,50 @@ main ()
8707 return 0; 12938 return 0;
8708} 12939}
8709_ACEOF 12940_ACEOF
8710if ac_fn_c_try_link "$LINENO"; then : 12941rm -f conftest.$ac_objext conftest$ac_exeext
12942if { (ac_try="$ac_link"
12943case "(($ac_try" in
12944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12945 *) ac_try_echo=$ac_try;;
12946esac
12947eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12948$as_echo "$ac_try_echo") >&5
12949 (eval "$ac_link") 2>conftest.er1
12950 ac_status=$?
12951 grep -v '^ *+' conftest.er1 >conftest.err
12952 rm -f conftest.er1
12953 cat conftest.err >&5
12954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } && {
12956 test -z "$ac_c_werror_flag" ||
12957 test ! -s conftest.err
12958 } && test -s conftest$ac_exeext && {
12959 test "$cross_compiling" = yes ||
12960 $as_test_x conftest$ac_exeext
12961 }; then
8711 emacs_cv_xaw=yes 12962 emacs_cv_xaw=yes
8712else 12963else
8713 emacs_cv_xaw=no 12964 $as_echo "$as_me: failed program was:" >&5
12965sed 's/^/| /' conftest.$ac_ext >&5
12966
12967 emacs_cv_xaw=no
8714fi 12968fi
8715rm -f core conftest.err conftest.$ac_objext \ 12969
8716 conftest$ac_exeext conftest.$ac_ext 12970rm -rf conftest.dSYM
12971rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12972 conftest$ac_exeext conftest.$ac_ext
8717fi 12973fi
8718 12974
8719 if test $emacs_cv_xaw = yes; then 12975 if test $emacs_cv_xaw = yes; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 12976 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
8721$as_echo "yes; using Lucid toolkit" >&6; } 12977$as_echo "yes; using Lucid toolkit" >&6; }
8722 USE_X_TOOLKIT=LUCID 12978 USE_X_TOOLKIT=LUCID
8723 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 12979 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
8724 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 12980 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
12981$as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
12982 { (exit 1); exit 1; }; }
8725 else 12983 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 12984 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
8727$as_echo "no; do not use toolkit by default" >&6; } 12985$as_echo "no; do not use toolkit by default" >&6; }
8728 USE_X_TOOLKIT=none 12986 USE_X_TOOLKIT=none
8729 fi 12987 fi
@@ -8733,12 +12991,16 @@ fi
8733X_TOOLKIT_TYPE=$USE_X_TOOLKIT 12991X_TOOLKIT_TYPE=$USE_X_TOOLKIT
8734 12992
8735if test "${USE_X_TOOLKIT}" != "none"; then 12993if test "${USE_X_TOOLKIT}" != "none"; then
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 12994 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5
8737$as_echo_n "checking X11 toolkit version... " >&6; } 12995$as_echo_n "checking X11 toolkit version... " >&6; }
8738 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : 12996 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
8739 $as_echo_n "(cached) " >&6 12997 $as_echo_n "(cached) " >&6
8740else 12998else
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12999 cat >conftest.$ac_ext <<_ACEOF
13000/* confdefs.h. */
13001_ACEOF
13002cat confdefs.h >>conftest.$ac_ext
13003cat >>conftest.$ac_ext <<_ACEOF
8742/* end confdefs.h. */ 13004/* end confdefs.h. */
8743#include <X11/Intrinsic.h> 13005#include <X11/Intrinsic.h>
8744int 13006int
@@ -8752,24 +13014,51 @@ fail;
8752 return 0; 13014 return 0;
8753} 13015}
8754_ACEOF 13016_ACEOF
8755if ac_fn_c_try_link "$LINENO"; then : 13017rm -f conftest.$ac_objext conftest$ac_exeext
13018if { (ac_try="$ac_link"
13019case "(($ac_try" in
13020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13021 *) ac_try_echo=$ac_try;;
13022esac
13023eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13024$as_echo "$ac_try_echo") >&5
13025 (eval "$ac_link") 2>conftest.er1
13026 ac_status=$?
13027 grep -v '^ *+' conftest.er1 >conftest.err
13028 rm -f conftest.er1
13029 cat conftest.err >&5
13030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } && {
13032 test -z "$ac_c_werror_flag" ||
13033 test ! -s conftest.err
13034 } && test -s conftest$ac_exeext && {
13035 test "$cross_compiling" = yes ||
13036 $as_test_x conftest$ac_exeext
13037 }; then
8756 emacs_cv_x11_toolkit_version_6=yes 13038 emacs_cv_x11_toolkit_version_6=yes
8757else 13039else
8758 emacs_cv_x11_toolkit_version_6=no 13040 $as_echo "$as_me: failed program was:" >&5
13041sed 's/^/| /' conftest.$ac_ext >&5
13042
13043 emacs_cv_x11_toolkit_version_6=no
8759fi 13044fi
8760rm -f core conftest.err conftest.$ac_objext \ 13045
8761 conftest$ac_exeext conftest.$ac_ext 13046rm -rf conftest.dSYM
13047rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13048 conftest$ac_exeext conftest.$ac_ext
8762fi 13049fi
8763 13050
8764 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 13051 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
8765 if test $emacs_cv_x11_toolkit_version_6 = yes; then 13052 if test $emacs_cv_x11_toolkit_version_6 = yes; then
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 13053 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5
8767$as_echo "6 or newer" >&6; } 13054$as_echo "6 or newer" >&6; }
8768 13055
8769$as_echo "#define HAVE_X11XTR6 1" >>confdefs.h 13056cat >>confdefs.h <<\_ACEOF
13057#define HAVE_X11XTR6 1
13058_ACEOF
8770 13059
8771 else 13060 else
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 13061 { $as_echo "$as_me:$LINENO: result: before 6" >&5
8773$as_echo "before 6" >&6; } 13062$as_echo "before 6" >&6; }
8774 fi 13063 fi
8775 13064
@@ -8779,14 +13068,19 @@ $as_echo "before 6" >&6; }
8779 else 13068 else
8780 LIBS="-lXt $LIBS" 13069 LIBS="-lXt $LIBS"
8781 fi 13070 fi
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 13071
13072{ $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
8783$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 13073$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
8784if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : 13074if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
8785 $as_echo_n "(cached) " >&6 13075 $as_echo_n "(cached) " >&6
8786else 13076else
8787 ac_check_lib_save_LIBS=$LIBS 13077 ac_check_lib_save_LIBS=$LIBS
8788LIBS="-lXmu $LIBS" 13078LIBS="-lXmu $LIBS"
8789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13079cat >conftest.$ac_ext <<_ACEOF
13080/* confdefs.h. */
13081_ACEOF
13082cat confdefs.h >>conftest.$ac_ext
13083cat >>conftest.$ac_ext <<_ACEOF
8790/* end confdefs.h. */ 13084/* end confdefs.h. */
8791 13085
8792/* Override any GCC internal prototype to avoid an error. 13086/* Override any GCC internal prototype to avoid an error.
@@ -8804,18 +13098,43 @@ return XmuConvertStandardSelection ();
8804 return 0; 13098 return 0;
8805} 13099}
8806_ACEOF 13100_ACEOF
8807if ac_fn_c_try_link "$LINENO"; then : 13101rm -f conftest.$ac_objext conftest$ac_exeext
13102if { (ac_try="$ac_link"
13103case "(($ac_try" in
13104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13105 *) ac_try_echo=$ac_try;;
13106esac
13107eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13108$as_echo "$ac_try_echo") >&5
13109 (eval "$ac_link") 2>conftest.er1
13110 ac_status=$?
13111 grep -v '^ *+' conftest.er1 >conftest.err
13112 rm -f conftest.er1
13113 cat conftest.err >&5
13114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); } && {
13116 test -z "$ac_c_werror_flag" ||
13117 test ! -s conftest.err
13118 } && test -s conftest$ac_exeext && {
13119 test "$cross_compiling" = yes ||
13120 $as_test_x conftest$ac_exeext
13121 }; then
8808 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 13122 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
8809else 13123else
8810 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 13124 $as_echo "$as_me: failed program was:" >&5
13125sed 's/^/| /' conftest.$ac_ext >&5
13126
13127 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
8811fi 13128fi
8812rm -f core conftest.err conftest.$ac_objext \ 13129
8813 conftest$ac_exeext conftest.$ac_ext 13130rm -rf conftest.dSYM
13131rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13132 conftest$ac_exeext conftest.$ac_ext
8814LIBS=$ac_check_lib_save_LIBS 13133LIBS=$ac_check_lib_save_LIBS
8815fi 13134fi
8816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 13135{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
8817$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 13136$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
8818if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : 13137if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
8819 cat >>confdefs.h <<_ACEOF 13138 cat >>confdefs.h <<_ACEOF
8820#define HAVE_LIBXMU 1 13139#define HAVE_LIBXMU 1
8821_ACEOF 13140_ACEOF
@@ -8830,14 +13149,19 @@ fi
8830# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 13149# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
8831if test "${HAVE_X11}" = "yes"; then 13150if test "${HAVE_X11}" = "yes"; then
8832 if test "${USE_X_TOOLKIT}" != "none"; then 13151 if test "${USE_X_TOOLKIT}" != "none"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 13152
13153{ $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8834$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 13154$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8835if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : 13155if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8836 $as_echo_n "(cached) " >&6 13156 $as_echo_n "(cached) " >&6
8837else 13157else
8838 ac_check_lib_save_LIBS=$LIBS 13158 ac_check_lib_save_LIBS=$LIBS
8839LIBS="-lXext $LIBS" 13159LIBS="-lXext $LIBS"
8840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13160cat >conftest.$ac_ext <<_ACEOF
13161/* confdefs.h. */
13162_ACEOF
13163cat confdefs.h >>conftest.$ac_ext
13164cat >>conftest.$ac_ext <<_ACEOF
8841/* end confdefs.h. */ 13165/* end confdefs.h. */
8842 13166
8843/* Override any GCC internal prototype to avoid an error. 13167/* Override any GCC internal prototype to avoid an error.
@@ -8855,18 +13179,43 @@ return XShapeQueryExtension ();
8855 return 0; 13179 return 0;
8856} 13180}
8857_ACEOF 13181_ACEOF
8858if ac_fn_c_try_link "$LINENO"; then : 13182rm -f conftest.$ac_objext conftest$ac_exeext
13183if { (ac_try="$ac_link"
13184case "(($ac_try" in
13185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13186 *) ac_try_echo=$ac_try;;
13187esac
13188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13189$as_echo "$ac_try_echo") >&5
13190 (eval "$ac_link") 2>conftest.er1
13191 ac_status=$?
13192 grep -v '^ *+' conftest.er1 >conftest.err
13193 rm -f conftest.er1
13194 cat conftest.err >&5
13195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); } && {
13197 test -z "$ac_c_werror_flag" ||
13198 test ! -s conftest.err
13199 } && test -s conftest$ac_exeext && {
13200 test "$cross_compiling" = yes ||
13201 $as_test_x conftest$ac_exeext
13202 }; then
8859 ac_cv_lib_Xext_XShapeQueryExtension=yes 13203 ac_cv_lib_Xext_XShapeQueryExtension=yes
8860else 13204else
8861 ac_cv_lib_Xext_XShapeQueryExtension=no 13205 $as_echo "$as_me: failed program was:" >&5
13206sed 's/^/| /' conftest.$ac_ext >&5
13207
13208 ac_cv_lib_Xext_XShapeQueryExtension=no
8862fi 13209fi
8863rm -f core conftest.err conftest.$ac_objext \ 13210
8864 conftest$ac_exeext conftest.$ac_ext 13211rm -rf conftest.dSYM
13212rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13213 conftest$ac_exeext conftest.$ac_ext
8865LIBS=$ac_check_lib_save_LIBS 13214LIBS=$ac_check_lib_save_LIBS
8866fi 13215fi
8867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 13216{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8868$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 13217$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8869if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : 13218if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8870 cat >>confdefs.h <<_ACEOF 13219 cat >>confdefs.h <<_ACEOF
8871#define HAVE_LIBXEXT 1 13220#define HAVE_LIBXEXT 1
8872_ACEOF 13221_ACEOF
@@ -8879,12 +13228,16 @@ fi
8879fi 13228fi
8880 13229
8881if test "${USE_X_TOOLKIT}" = "MOTIF"; then 13230if test "${USE_X_TOOLKIT}" = "MOTIF"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 13231 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
8883$as_echo_n "checking for Motif version 2.1... " >&6; } 13232$as_echo_n "checking for Motif version 2.1... " >&6; }
8884if test "${emacs_cv_motif_version_2_1+set}" = set; then : 13233if test "${emacs_cv_motif_version_2_1+set}" = set; then
8885 $as_echo_n "(cached) " >&6 13234 $as_echo_n "(cached) " >&6
8886else 13235else
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13236 cat >conftest.$ac_ext <<_ACEOF
13237/* confdefs.h. */
13238_ACEOF
13239cat confdefs.h >>conftest.$ac_ext
13240cat >>conftest.$ac_ext <<_ACEOF
8888/* end confdefs.h. */ 13241/* end confdefs.h. */
8889#include <Xm/Xm.h> 13242#include <Xm/Xm.h>
8890int 13243int
@@ -8899,29 +13252,56 @@ Motif version prior to 2.1.
8899 return 0; 13252 return 0;
8900} 13253}
8901_ACEOF 13254_ACEOF
8902if ac_fn_c_try_compile "$LINENO"; then : 13255rm -f conftest.$ac_objext
13256if { (ac_try="$ac_compile"
13257case "(($ac_try" in
13258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13259 *) ac_try_echo=$ac_try;;
13260esac
13261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13262$as_echo "$ac_try_echo") >&5
13263 (eval "$ac_compile") 2>conftest.er1
13264 ac_status=$?
13265 grep -v '^ *+' conftest.er1 >conftest.err
13266 rm -f conftest.er1
13267 cat conftest.err >&5
13268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); } && {
13270 test -z "$ac_c_werror_flag" ||
13271 test ! -s conftest.err
13272 } && test -s conftest.$ac_objext; then
8903 emacs_cv_motif_version_2_1=yes 13273 emacs_cv_motif_version_2_1=yes
8904else 13274else
8905 emacs_cv_motif_version_2_1=no 13275 $as_echo "$as_me: failed program was:" >&5
13276sed 's/^/| /' conftest.$ac_ext >&5
13277
13278 emacs_cv_motif_version_2_1=no
8906fi 13279fi
13280
8907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8908fi 13282fi
8909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 13283{ $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
8910$as_echo "$emacs_cv_motif_version_2_1" >&6; } 13284$as_echo "$emacs_cv_motif_version_2_1" >&6; }
8911 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 13285 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
8912 if test $emacs_cv_motif_version_2_1 = yes; then 13286 if test $emacs_cv_motif_version_2_1 = yes; then
8913 HAVE_LIBXP=no 13287 HAVE_LIBXP=no
8914 13288
8915$as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h 13289cat >>confdefs.h <<\_ACEOF
13290#define HAVE_MOTIF_2_1 1
13291_ACEOF
8916 13292
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 13293 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
8918$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 13294$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
8919if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : 13295if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
8920 $as_echo_n "(cached) " >&6 13296 $as_echo_n "(cached) " >&6
8921else 13297else
8922 ac_check_lib_save_LIBS=$LIBS 13298 ac_check_lib_save_LIBS=$LIBS
8923LIBS="-lXp $LIBS" 13299LIBS="-lXp $LIBS"
8924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13300cat >conftest.$ac_ext <<_ACEOF
13301/* confdefs.h. */
13302_ACEOF
13303cat confdefs.h >>conftest.$ac_ext
13304cat >>conftest.$ac_ext <<_ACEOF
8925/* end confdefs.h. */ 13305/* end confdefs.h. */
8926 13306
8927/* Override any GCC internal prototype to avoid an error. 13307/* Override any GCC internal prototype to avoid an error.
@@ -8939,30 +13319,57 @@ return XpCreateContext ();
8939 return 0; 13319 return 0;
8940} 13320}
8941_ACEOF 13321_ACEOF
8942if ac_fn_c_try_link "$LINENO"; then : 13322rm -f conftest.$ac_objext conftest$ac_exeext
13323if { (ac_try="$ac_link"
13324case "(($ac_try" in
13325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13326 *) ac_try_echo=$ac_try;;
13327esac
13328eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13329$as_echo "$ac_try_echo") >&5
13330 (eval "$ac_link") 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } && {
13337 test -z "$ac_c_werror_flag" ||
13338 test ! -s conftest.err
13339 } && test -s conftest$ac_exeext && {
13340 test "$cross_compiling" = yes ||
13341 $as_test_x conftest$ac_exeext
13342 }; then
8943 ac_cv_lib_Xp_XpCreateContext=yes 13343 ac_cv_lib_Xp_XpCreateContext=yes
8944else 13344else
8945 ac_cv_lib_Xp_XpCreateContext=no 13345 $as_echo "$as_me: failed program was:" >&5
13346sed 's/^/| /' conftest.$ac_ext >&5
13347
13348 ac_cv_lib_Xp_XpCreateContext=no
8946fi 13349fi
8947rm -f core conftest.err conftest.$ac_objext \ 13350
8948 conftest$ac_exeext conftest.$ac_ext 13351rm -rf conftest.dSYM
13352rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13353 conftest$ac_exeext conftest.$ac_ext
8949LIBS=$ac_check_lib_save_LIBS 13354LIBS=$ac_check_lib_save_LIBS
8950fi 13355fi
8951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 13356{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
8952$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 13357$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
8953if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : 13358if test $ac_cv_lib_Xp_XpCreateContext = yes; then
8954 HAVE_LIBXP=yes 13359 HAVE_LIBXP=yes
8955fi 13360fi
8956 13361
8957 if test ${HAVE_LIBXP} = yes; then 13362 if test ${HAVE_LIBXP} = yes; then
8958 13363
8959$as_echo "#define HAVE_LIBXP 1" >>confdefs.h 13364cat >>confdefs.h <<\_ACEOF
13365#define HAVE_LIBXP 1
13366_ACEOF
8960 13367
8961 fi 13368 fi
8962 else 13369 else
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 13370 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
8964$as_echo_n "checking for LessTif where some systems put it... " >&6; } 13371$as_echo_n "checking for LessTif where some systems put it... " >&6; }
8965if test "${emacs_cv_lesstif+set}" = set; then : 13372if test "${emacs_cv_lesstif+set}" = set; then
8966 $as_echo_n "(cached) " >&6 13373 $as_echo_n "(cached) " >&6
8967else 13374else
8968 # We put this in CFLAGS temporarily to precede other -I options 13375 # We put this in CFLAGS temporarily to precede other -I options
@@ -8972,7 +13379,11 @@ else
8972 OLD_CFLAGS=$CFLAGS 13379 OLD_CFLAGS=$CFLAGS
8973 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 13380 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
8974 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 13381 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13382 cat >conftest.$ac_ext <<_ACEOF
13383/* confdefs.h. */
13384_ACEOF
13385cat confdefs.h >>conftest.$ac_ext
13386cat >>conftest.$ac_ext <<_ACEOF
8976/* end confdefs.h. */ 13387/* end confdefs.h. */
8977#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 13388#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
8978int 13389int
@@ -8983,14 +13394,35 @@ int x = 5;
8983 return 0; 13394 return 0;
8984} 13395}
8985_ACEOF 13396_ACEOF
8986if ac_fn_c_try_compile "$LINENO"; then : 13397rm -f conftest.$ac_objext
13398if { (ac_try="$ac_compile"
13399case "(($ac_try" in
13400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13402esac
13403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13404$as_echo "$ac_try_echo") >&5
13405 (eval "$ac_compile") 2>conftest.er1
13406 ac_status=$?
13407 grep -v '^ *+' conftest.er1 >conftest.err
13408 rm -f conftest.er1
13409 cat conftest.err >&5
13410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } && {
13412 test -z "$ac_c_werror_flag" ||
13413 test ! -s conftest.err
13414 } && test -s conftest.$ac_objext; then
8987 emacs_cv_lesstif=yes 13415 emacs_cv_lesstif=yes
8988else 13416else
8989 emacs_cv_lesstif=no 13417 $as_echo "$as_me: failed program was:" >&5
13418sed 's/^/| /' conftest.$ac_ext >&5
13419
13420 emacs_cv_lesstif=no
8990fi 13421fi
13422
8991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992fi 13424fi
8993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 13425{ $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
8994$as_echo "$emacs_cv_lesstif" >&6; } 13426$as_echo "$emacs_cv_lesstif" >&6; }
8995 if test $emacs_cv_lesstif = yes; then 13427 if test $emacs_cv_lesstif = yes; then
8996 # Make sure this -I option remains in CPPFLAGS after it is set 13428 # Make sure this -I option remains in CPPFLAGS after it is set
@@ -9008,31 +13440,44 @@ $as_echo "$emacs_cv_lesstif" >&6; }
9008fi 13440fi
9009 13441
9010 13442
13443
9011USE_TOOLKIT_SCROLL_BARS=no 13444USE_TOOLKIT_SCROLL_BARS=no
9012if test "${with_toolkit_scroll_bars}" != "no"; then 13445if test "${with_toolkit_scroll_bars}" != "no"; then
9013 if test "${USE_X_TOOLKIT}" != "none"; then 13446 if test "${USE_X_TOOLKIT}" != "none"; then
9014 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 13447 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
9015 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13448 cat >>confdefs.h <<\_ACEOF
13449#define USE_TOOLKIT_SCROLL_BARS 1
13450_ACEOF
9016 13451
9017 HAVE_XAW3D=no 13452 HAVE_XAW3D=no
9018 USE_TOOLKIT_SCROLL_BARS=yes 13453 USE_TOOLKIT_SCROLL_BARS=yes
9019 elif test "${HAVE_XAW3D}" = "yes"; then 13454 elif test "${HAVE_XAW3D}" = "yes"; then
9020 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13455 cat >>confdefs.h <<\_ACEOF
13456#define USE_TOOLKIT_SCROLL_BARS 1
13457_ACEOF
9021 13458
9022 USE_TOOLKIT_SCROLL_BARS=yes 13459 USE_TOOLKIT_SCROLL_BARS=yes
9023 fi 13460 fi
9024 elif test "${HAVE_GTK}" = "yes"; then 13461 elif test "${HAVE_GTK}" = "yes"; then
9025 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13462 cat >>confdefs.h <<\_ACEOF
13463#define USE_TOOLKIT_SCROLL_BARS 1
13464_ACEOF
9026 13465
9027 USE_TOOLKIT_SCROLL_BARS=yes 13466 USE_TOOLKIT_SCROLL_BARS=yes
9028 elif test "${HAVE_NS}" = "yes"; then 13467 elif test "${HAVE_NS}" = "yes"; then
9029 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h 13468 cat >>confdefs.h <<\_ACEOF
13469#define USE_TOOLKIT_SCROLL_BARS 1
13470_ACEOF
9030 13471
9031 USE_TOOLKIT_SCROLL_BARS=yes 13472 USE_TOOLKIT_SCROLL_BARS=yes
9032 fi 13473 fi
9033fi 13474fi
9034 13475
9035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13476cat >conftest.$ac_ext <<_ACEOF
13477/* confdefs.h. */
13478_ACEOF
13479cat confdefs.h >>conftest.$ac_ext
13480cat >>conftest.$ac_ext <<_ACEOF
9036/* end confdefs.h. */ 13481/* end confdefs.h. */
9037 13482
9038 #include <X11/Xlib.h> 13483 #include <X11/Xlib.h>
@@ -9045,20 +13490,45 @@ XIMProc callback;
9045 return 0; 13490 return 0;
9046} 13491}
9047_ACEOF 13492_ACEOF
9048if ac_fn_c_try_compile "$LINENO"; then : 13493rm -f conftest.$ac_objext
13494if { (ac_try="$ac_compile"
13495case "(($ac_try" in
13496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13497 *) ac_try_echo=$ac_try;;
13498esac
13499eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13500$as_echo "$ac_try_echo") >&5
13501 (eval "$ac_compile") 2>conftest.er1
13502 ac_status=$?
13503 grep -v '^ *+' conftest.er1 >conftest.err
13504 rm -f conftest.er1
13505 cat conftest.err >&5
13506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest.$ac_objext; then
9049 HAVE_XIM=yes 13511 HAVE_XIM=yes
9050 13512
9051$as_echo "#define HAVE_XIM 1" >>confdefs.h 13513cat >>confdefs.h <<\_ACEOF
13514#define HAVE_XIM 1
13515_ACEOF
9052 13516
9053else 13517else
9054 HAVE_XIM=no 13518 $as_echo "$as_me: failed program was:" >&5
13519sed 's/^/| /' conftest.$ac_ext >&5
13520
13521 HAVE_XIM=no
9055fi 13522fi
13523
9056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9057 13525
9058 13526
9059if test "${with_xim}" != "no"; then 13527if test "${with_xim}" != "no"; then
9060 13528
9061$as_echo "#define USE_XIM 1" >>confdefs.h 13529cat >>confdefs.h <<\_ACEOF
13530#define USE_XIM 1
13531_ACEOF
9062 13532
9063fi 13533fi
9064 13534
@@ -9068,7 +13538,11 @@ if test "${HAVE_XIM}" != "no"; then
9068 if test "$GCC" = yes; then 13538 if test "$GCC" = yes; then
9069 CFLAGS="$CFLAGS --pedantic-errors" 13539 CFLAGS="$CFLAGS --pedantic-errors"
9070 fi 13540 fi
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13541 cat >conftest.$ac_ext <<_ACEOF
13542/* confdefs.h. */
13543_ACEOF
13544cat confdefs.h >>conftest.$ac_ext
13545cat >>conftest.$ac_ext <<_ACEOF
9072/* end confdefs.h. */ 13546/* end confdefs.h. */
9073 13547
9074#include <X11/Xlib.h> 13548#include <X11/Xlib.h>
@@ -9094,15 +13568,43 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
9094 return 0; 13568 return 0;
9095} 13569}
9096_ACEOF 13570_ACEOF
9097if ac_fn_c_try_compile "$LINENO"; then : 13571rm -f conftest.$ac_objext
13572if { (ac_try="$ac_compile"
13573case "(($ac_try" in
13574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13575 *) ac_try_echo=$ac_try;;
13576esac
13577eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13578$as_echo "$ac_try_echo") >&5
13579 (eval "$ac_compile") 2>conftest.er1
13580 ac_status=$?
13581 grep -v '^ *+' conftest.er1 >conftest.err
13582 rm -f conftest.er1
13583 cat conftest.err >&5
13584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); } && {
13586 test -z "$ac_c_werror_flag" ||
13587 test ! -s conftest.err
13588 } && test -s conftest.$ac_objext; then
9098 emacs_cv_arg6_star=yes 13589 emacs_cv_arg6_star=yes
13590else
13591 $as_echo "$as_me: failed program was:" >&5
13592sed 's/^/| /' conftest.$ac_ext >&5
13593
13594
9099fi 13595fi
13596
9100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9101 if test "$emacs_cv_arg6_star" = yes; then 13598
9102 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h 13599 if test "$emacs_cv_arg6_star" = yes; then
13600 cat >>confdefs.h <<\_ACEOF
13601#define XRegisterIMInstantiateCallback_arg6 XPointer*
13602_ACEOF
9103 13603
9104 else 13604 else
9105 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h 13605 cat >>confdefs.h <<\_ACEOF
13606#define XRegisterIMInstantiateCallback_arg6 XPointer
13607_ACEOF
9106 13608
9107 fi 13609 fi
9108 CFLAGS=$late_CFLAGS 13610 CFLAGS=$late_CFLAGS
@@ -9119,9 +13621,9 @@ if test "${HAVE_X11}" = "yes"; then
9119 13621
9120 # Extract the first word of "pkg-config", so it can be a program name with args. 13622 # Extract the first word of "pkg-config", so it can be a program name with args.
9121set dummy pkg-config; ac_word=$2 13623set dummy pkg-config; ac_word=$2
9122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13624{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9123$as_echo_n "checking for $ac_word... " >&6; } 13625$as_echo_n "checking for $ac_word... " >&6; }
9124if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13626if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9125 $as_echo_n "(cached) " >&6 13627 $as_echo_n "(cached) " >&6
9126else 13628else
9127 case $PKG_CONFIG in 13629 case $PKG_CONFIG in
@@ -9134,14 +13636,14 @@ for as_dir in $PATH
9134do 13636do
9135 IFS=$as_save_IFS 13637 IFS=$as_save_IFS
9136 test -z "$as_dir" && as_dir=. 13638 test -z "$as_dir" && as_dir=.
9137 for ac_exec_ext in '' $ac_executable_extensions; do 13639 for ac_exec_ext in '' $ac_executable_extensions; do
9138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9139 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13641 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9141 break 2 13643 break 2
9142 fi 13644 fi
9143done 13645done
9144 done 13646done
9145IFS=$as_save_IFS 13647IFS=$as_save_IFS
9146 13648
9147 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 13649 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9150,10 +13652,10 @@ esac
9150fi 13652fi
9151PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13653PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9152if test -n "$PKG_CONFIG"; then 13654if test -n "$PKG_CONFIG"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13655 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9154$as_echo "$PKG_CONFIG" >&6; } 13656$as_echo "$PKG_CONFIG" >&6; }
9155else 13657else
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13658 { $as_echo "$as_me:$LINENO: result: no" >&5
9157$as_echo "no" >&6; } 13659$as_echo "no" >&6; }
9158fi 13660fi
9159 13661
@@ -9164,27 +13666,27 @@ fi
9164 else 13666 else
9165 PKG_CONFIG_MIN_VERSION=0.9.0 13667 PKG_CONFIG_MIN_VERSION=0.9.0
9166 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 13669 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5
9168$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } 13670$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; }
9169 13671
9170 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 13672 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13673 { $as_echo "$as_me:$LINENO: result: yes" >&5
9172$as_echo "yes" >&6; } 13674$as_echo "yes" >&6; }
9173 succeeded=yes 13675 succeeded=yes
9174 13676
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 13677 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5
9176$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } 13678$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; }
9177 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 13679 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 13680 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5
9179$as_echo "$FONTCONFIG_CFLAGS" >&6; } 13681$as_echo "$FONTCONFIG_CFLAGS" >&6; }
9180 13682
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 13683 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5
9182$as_echo_n "checking FONTCONFIG_LIBS... " >&6; } 13684$as_echo_n "checking FONTCONFIG_LIBS... " >&6; }
9183 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 13685 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 13686 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5
9185$as_echo "$FONTCONFIG_LIBS" >&6; } 13687$as_echo "$FONTCONFIG_LIBS" >&6; }
9186 else 13688 else
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13689 { $as_echo "$as_me:$LINENO: result: no" >&5
9188$as_echo "no" >&6; } 13690$as_echo "no" >&6; }
9189 FONTCONFIG_CFLAGS="" 13691 FONTCONFIG_CFLAGS=""
9190 FONTCONFIG_LIBS="" 13692 FONTCONFIG_LIBS=""
@@ -9221,9 +13723,9 @@ $as_echo "no" >&6; }
9221 13723
9222 # Extract the first word of "pkg-config", so it can be a program name with args. 13724 # Extract the first word of "pkg-config", so it can be a program name with args.
9223set dummy pkg-config; ac_word=$2 13725set dummy pkg-config; ac_word=$2
9224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13726{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9225$as_echo_n "checking for $ac_word... " >&6; } 13727$as_echo_n "checking for $ac_word... " >&6; }
9226if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 13728if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9227 $as_echo_n "(cached) " >&6 13729 $as_echo_n "(cached) " >&6
9228else 13730else
9229 case $PKG_CONFIG in 13731 case $PKG_CONFIG in
@@ -9236,14 +13738,14 @@ for as_dir in $PATH
9236do 13738do
9237 IFS=$as_save_IFS 13739 IFS=$as_save_IFS
9238 test -z "$as_dir" && as_dir=. 13740 test -z "$as_dir" && as_dir=.
9239 for ac_exec_ext in '' $ac_executable_extensions; do 13741 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13744 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9243 break 2 13745 break 2
9244 fi 13746 fi
9245done 13747done
9246 done 13748done
9247IFS=$as_save_IFS 13749IFS=$as_save_IFS
9248 13750
9249 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 13751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9252,10 +13754,10 @@ esac
9252fi 13754fi
9253PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13755PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9254if test -n "$PKG_CONFIG"; then 13756if test -n "$PKG_CONFIG"; then
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13757 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9256$as_echo "$PKG_CONFIG" >&6; } 13758$as_echo "$PKG_CONFIG" >&6; }
9257else 13759else
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13760 { $as_echo "$as_me:$LINENO: result: no" >&5
9259$as_echo "no" >&6; } 13761$as_echo "no" >&6; }
9260fi 13762fi
9261 13763
@@ -9266,27 +13768,27 @@ fi
9266 else 13768 else
9267 PKG_CONFIG_MIN_VERSION=0.9.0 13769 PKG_CONFIG_MIN_VERSION=0.9.0
9268 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13770 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 13771 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5
9270$as_echo_n "checking for xft >= 0.13.0... " >&6; } 13772$as_echo_n "checking for xft >= 0.13.0... " >&6; }
9271 13773
9272 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 13774 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13775 { $as_echo "$as_me:$LINENO: result: yes" >&5
9274$as_echo "yes" >&6; } 13776$as_echo "yes" >&6; }
9275 succeeded=yes 13777 succeeded=yes
9276 13778
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 13779 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5
9278$as_echo_n "checking XFT_CFLAGS... " >&6; } 13780$as_echo_n "checking XFT_CFLAGS... " >&6; }
9279 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 13781 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 13782 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5
9281$as_echo "$XFT_CFLAGS" >&6; } 13783$as_echo "$XFT_CFLAGS" >&6; }
9282 13784
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 13785 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5
9284$as_echo_n "checking XFT_LIBS... " >&6; } 13786$as_echo_n "checking XFT_LIBS... " >&6; }
9285 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 13787 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 13788 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5
9287$as_echo "$XFT_LIBS" >&6; } 13789$as_echo "$XFT_LIBS" >&6; }
9288 else 13790 else
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13791 { $as_echo "$as_me:$LINENO: result: no" >&5
9290$as_echo "no" >&6; } 13792$as_echo "no" >&6; }
9291 XFT_CFLAGS="" 13793 XFT_CFLAGS=""
9292 XFT_LIBS="" 13794 XFT_LIBS=""
@@ -9313,14 +13815,18 @@ $as_echo "no" >&6; }
9313 ## Because xftfont.c uses XRenderQueryExtension, we also 13815 ## Because xftfont.c uses XRenderQueryExtension, we also
9314 ## need to link to -lXrender. 13816 ## need to link to -lXrender.
9315 HAVE_XRENDER=no 13817 HAVE_XRENDER=no
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 13818 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
9317$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 13819$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
9318if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 13820if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
9319 $as_echo_n "(cached) " >&6 13821 $as_echo_n "(cached) " >&6
9320else 13822else
9321 ac_check_lib_save_LIBS=$LIBS 13823 ac_check_lib_save_LIBS=$LIBS
9322LIBS="-lXrender $LIBS" 13824LIBS="-lXrender $LIBS"
9323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13825cat >conftest.$ac_ext <<_ACEOF
13826/* confdefs.h. */
13827_ACEOF
13828cat confdefs.h >>conftest.$ac_ext
13829cat >>conftest.$ac_ext <<_ACEOF
9324/* end confdefs.h. */ 13830/* end confdefs.h. */
9325 13831
9326/* Override any GCC internal prototype to avoid an error. 13832/* Override any GCC internal prototype to avoid an error.
@@ -9338,18 +13844,43 @@ return XRenderQueryExtension ();
9338 return 0; 13844 return 0;
9339} 13845}
9340_ACEOF 13846_ACEOF
9341if ac_fn_c_try_link "$LINENO"; then : 13847rm -f conftest.$ac_objext conftest$ac_exeext
13848if { (ac_try="$ac_link"
13849case "(($ac_try" in
13850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13851 *) ac_try_echo=$ac_try;;
13852esac
13853eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13854$as_echo "$ac_try_echo") >&5
13855 (eval "$ac_link") 2>conftest.er1
13856 ac_status=$?
13857 grep -v '^ *+' conftest.er1 >conftest.err
13858 rm -f conftest.er1
13859 cat conftest.err >&5
13860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } && {
13862 test -z "$ac_c_werror_flag" ||
13863 test ! -s conftest.err
13864 } && test -s conftest$ac_exeext && {
13865 test "$cross_compiling" = yes ||
13866 $as_test_x conftest$ac_exeext
13867 }; then
9342 ac_cv_lib_Xrender_XRenderQueryExtension=yes 13868 ac_cv_lib_Xrender_XRenderQueryExtension=yes
9343else 13869else
9344 ac_cv_lib_Xrender_XRenderQueryExtension=no 13870 $as_echo "$as_me: failed program was:" >&5
13871sed 's/^/| /' conftest.$ac_ext >&5
13872
13873 ac_cv_lib_Xrender_XRenderQueryExtension=no
9345fi 13874fi
9346rm -f core conftest.err conftest.$ac_objext \ 13875
9347 conftest$ac_exeext conftest.$ac_ext 13876rm -rf conftest.dSYM
13877rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13878 conftest$ac_exeext conftest.$ac_ext
9348LIBS=$ac_check_lib_save_LIBS 13879LIBS=$ac_check_lib_save_LIBS
9349fi 13880fi
9350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 13881{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
9351$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 13882$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
9352if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 13883if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
9353 HAVE_XRENDER=yes 13884 HAVE_XRENDER=yes
9354fi 13885fi
9355 13886
@@ -9361,16 +13892,146 @@ fi
9361 CFLAGS="$CFLAGS $XFT_CFLAGS" 13892 CFLAGS="$CFLAGS $XFT_CFLAGS"
9362 XFT_LIBS="-lXrender $XFT_LIBS" 13893 XFT_LIBS="-lXrender $XFT_LIBS"
9363 LIBS="$XFT_LIBS $LIBS" 13894 LIBS="$XFT_LIBS $LIBS"
9364 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 13895 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
9365if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : 13896 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 13897$as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
13898if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13899 $as_echo_n "(cached) " >&6
13900fi
13901{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13902$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13903else
13904 # Is the header compilable?
13905{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
13906$as_echo_n "checking X11/Xft/Xft.h usability... " >&6; }
13907cat >conftest.$ac_ext <<_ACEOF
13908/* confdefs.h. */
13909_ACEOF
13910cat confdefs.h >>conftest.$ac_ext
13911cat >>conftest.$ac_ext <<_ACEOF
13912/* end confdefs.h. */
13913$ac_includes_default
13914#include <X11/Xft/Xft.h>
13915_ACEOF
13916rm -f conftest.$ac_objext
13917if { (ac_try="$ac_compile"
13918case "(($ac_try" in
13919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13920 *) ac_try_echo=$ac_try;;
13921esac
13922eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13923$as_echo "$ac_try_echo") >&5
13924 (eval "$ac_compile") 2>conftest.er1
13925 ac_status=$?
13926 grep -v '^ *+' conftest.er1 >conftest.err
13927 rm -f conftest.er1
13928 cat conftest.err >&5
13929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); } && {
13931 test -z "$ac_c_werror_flag" ||
13932 test ! -s conftest.err
13933 } && test -s conftest.$ac_objext; then
13934 ac_header_compiler=yes
13935else
13936 $as_echo "$as_me: failed program was:" >&5
13937sed 's/^/| /' conftest.$ac_ext >&5
13938
13939 ac_header_compiler=no
13940fi
13941
13942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13943{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13944$as_echo "$ac_header_compiler" >&6; }
13945
13946# Is the header present?
13947{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
13948$as_echo_n "checking X11/Xft/Xft.h presence... " >&6; }
13949cat >conftest.$ac_ext <<_ACEOF
13950/* confdefs.h. */
13951_ACEOF
13952cat confdefs.h >>conftest.$ac_ext
13953cat >>conftest.$ac_ext <<_ACEOF
13954/* end confdefs.h. */
13955#include <X11/Xft/Xft.h>
13956_ACEOF
13957if { (ac_try="$ac_cpp conftest.$ac_ext"
13958case "(($ac_try" in
13959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13960 *) ac_try_echo=$ac_try;;
13961esac
13962eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13963$as_echo "$ac_try_echo") >&5
13964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13965 ac_status=$?
13966 grep -v '^ *+' conftest.er1 >conftest.err
13967 rm -f conftest.er1
13968 cat conftest.err >&5
13969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } >/dev/null && {
13971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13972 test ! -s conftest.err
13973 }; then
13974 ac_header_preproc=yes
13975else
13976 $as_echo "$as_me: failed program was:" >&5
13977sed 's/^/| /' conftest.$ac_ext >&5
13978
13979 ac_header_preproc=no
13980fi
13981
13982rm -f conftest.err conftest.$ac_ext
13983{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13984$as_echo "$ac_header_preproc" >&6; }
13985
13986# So? What about this header?
13987case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13988 yes:no: )
13989 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
13990$as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13991 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
13992$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
13993 ac_header_preproc=yes
13994 ;;
13995 no:yes:* )
13996 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
13997$as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
13998 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
13999$as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
14000 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
14001$as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
14002 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
14003$as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
14004 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
14005$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
14006 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
14007$as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
14008
14009 ;;
14010esac
14011{ $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
14012$as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
14013if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
14014 $as_echo_n "(cached) " >&6
14015else
14016 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
14017fi
14018{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
14019$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
14020
14021fi
14022if test $ac_cv_header_X11_Xft_Xft_h = yes; then
14023 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
9367$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 14024$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
9368if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 14025if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then
9369 $as_echo_n "(cached) " >&6 14026 $as_echo_n "(cached) " >&6
9370else 14027else
9371 ac_check_lib_save_LIBS=$LIBS 14028 ac_check_lib_save_LIBS=$LIBS
9372LIBS="-lXft $XFT_LIBS $LIBS" 14029LIBS="-lXft $XFT_LIBS $LIBS"
9373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14030cat >conftest.$ac_ext <<_ACEOF
14031/* confdefs.h. */
14032_ACEOF
14033cat confdefs.h >>conftest.$ac_ext
14034cat >>conftest.$ac_ext <<_ACEOF
9374/* end confdefs.h. */ 14035/* end confdefs.h. */
9375 14036
9376/* Override any GCC internal prototype to avoid an error. 14037/* Override any GCC internal prototype to avoid an error.
@@ -9388,18 +14049,43 @@ return XftFontOpen ();
9388 return 0; 14049 return 0;
9389} 14050}
9390_ACEOF 14051_ACEOF
9391if ac_fn_c_try_link "$LINENO"; then : 14052rm -f conftest.$ac_objext conftest$ac_exeext
14053if { (ac_try="$ac_link"
14054case "(($ac_try" in
14055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056 *) ac_try_echo=$ac_try;;
14057esac
14058eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14059$as_echo "$ac_try_echo") >&5
14060 (eval "$ac_link") 2>conftest.er1
14061 ac_status=$?
14062 grep -v '^ *+' conftest.er1 >conftest.err
14063 rm -f conftest.er1
14064 cat conftest.err >&5
14065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } && {
14067 test -z "$ac_c_werror_flag" ||
14068 test ! -s conftest.err
14069 } && test -s conftest$ac_exeext && {
14070 test "$cross_compiling" = yes ||
14071 $as_test_x conftest$ac_exeext
14072 }; then
9392 ac_cv_lib_Xft_XftFontOpen=yes 14073 ac_cv_lib_Xft_XftFontOpen=yes
9393else 14074else
9394 ac_cv_lib_Xft_XftFontOpen=no 14075 $as_echo "$as_me: failed program was:" >&5
14076sed 's/^/| /' conftest.$ac_ext >&5
14077
14078 ac_cv_lib_Xft_XftFontOpen=no
9395fi 14079fi
9396rm -f core conftest.err conftest.$ac_objext \ 14080
9397 conftest$ac_exeext conftest.$ac_ext 14081rm -rf conftest.dSYM
14082rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14083 conftest$ac_exeext conftest.$ac_ext
9398LIBS=$ac_check_lib_save_LIBS 14084LIBS=$ac_check_lib_save_LIBS
9399fi 14085fi
9400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 14086{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5
9401$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 14087$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
9402if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 14088if test $ac_cv_lib_Xft_XftFontOpen = yes; then
9403 HAVE_XFT=yes 14089 HAVE_XFT=yes
9404fi 14090fi
9405 14091
@@ -9409,7 +14095,9 @@ fi
9409 14095
9410 if test "${HAVE_XFT}" = "yes"; then 14096 if test "${HAVE_XFT}" = "yes"; then
9411 14097
9412$as_echo "#define HAVE_XFT 1" >>confdefs.h 14098cat >>confdefs.h <<\_ACEOF
14099#define HAVE_XFT 1
14100_ACEOF
9413 14101
9414 14102
9415 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" 14103 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS"
@@ -9438,7 +14126,9 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h
9438 HAVE_LIBOTF=no 14126 HAVE_LIBOTF=no
9439 if test "${HAVE_FREETYPE}" = "yes"; then 14127 if test "${HAVE_FREETYPE}" = "yes"; then
9440 14128
9441$as_echo "#define HAVE_FREETYPE 1" >>confdefs.h 14129cat >>confdefs.h <<\_ACEOF
14130#define HAVE_FREETYPE 1
14131_ACEOF
9442 14132
9443 if test "${with_libotf}" != "no"; then 14133 if test "${with_libotf}" != "no"; then
9444 14134
@@ -9446,9 +14136,9 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
9446 14136
9447 # Extract the first word of "pkg-config", so it can be a program name with args. 14137 # Extract the first word of "pkg-config", so it can be a program name with args.
9448set dummy pkg-config; ac_word=$2 14138set dummy pkg-config; ac_word=$2
9449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14139{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9450$as_echo_n "checking for $ac_word... " >&6; } 14140$as_echo_n "checking for $ac_word... " >&6; }
9451if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 14141if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9452 $as_echo_n "(cached) " >&6 14142 $as_echo_n "(cached) " >&6
9453else 14143else
9454 case $PKG_CONFIG in 14144 case $PKG_CONFIG in
@@ -9461,14 +14151,14 @@ for as_dir in $PATH
9461do 14151do
9462 IFS=$as_save_IFS 14152 IFS=$as_save_IFS
9463 test -z "$as_dir" && as_dir=. 14153 test -z "$as_dir" && as_dir=.
9464 for ac_exec_ext in '' $ac_executable_extensions; do 14154 for ac_exec_ext in '' $ac_executable_extensions; do
9465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14157 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9468 break 2 14158 break 2
9469 fi 14159 fi
9470done 14160done
9471 done 14161done
9472IFS=$as_save_IFS 14162IFS=$as_save_IFS
9473 14163
9474 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 14164 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9477,10 +14167,10 @@ esac
9477fi 14167fi
9478PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14168PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9479if test -n "$PKG_CONFIG"; then 14169if test -n "$PKG_CONFIG"; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14170 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9481$as_echo "$PKG_CONFIG" >&6; } 14171$as_echo "$PKG_CONFIG" >&6; }
9482else 14172else
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14173 { $as_echo "$as_me:$LINENO: result: no" >&5
9484$as_echo "no" >&6; } 14174$as_echo "no" >&6; }
9485fi 14175fi
9486 14176
@@ -9491,27 +14181,27 @@ fi
9491 else 14181 else
9492 PKG_CONFIG_MIN_VERSION=0.9.0 14182 PKG_CONFIG_MIN_VERSION=0.9.0
9493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 14183 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 14184 { $as_echo "$as_me:$LINENO: checking for libotf" >&5
9495$as_echo_n "checking for libotf... " >&6; } 14185$as_echo_n "checking for libotf... " >&6; }
9496 14186
9497 if $PKG_CONFIG --exists "libotf" 2>&5; then 14187 if $PKG_CONFIG --exists "libotf" 2>&5; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14188 { $as_echo "$as_me:$LINENO: result: yes" >&5
9499$as_echo "yes" >&6; } 14189$as_echo "yes" >&6; }
9500 succeeded=yes 14190 succeeded=yes
9501 14191
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 14192 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5
9503$as_echo_n "checking LIBOTF_CFLAGS... " >&6; } 14193$as_echo_n "checking LIBOTF_CFLAGS... " >&6; }
9504 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` 14194 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 14195 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5
9506$as_echo "$LIBOTF_CFLAGS" >&6; } 14196$as_echo "$LIBOTF_CFLAGS" >&6; }
9507 14197
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 14198 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5
9509$as_echo_n "checking LIBOTF_LIBS... " >&6; } 14199$as_echo_n "checking LIBOTF_LIBS... " >&6; }
9510 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` 14200 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 14201 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5
9512$as_echo "$LIBOTF_LIBS" >&6; } 14202$as_echo "$LIBOTF_LIBS" >&6; }
9513 else 14203 else
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14204 { $as_echo "$as_me:$LINENO: result: no" >&5
9515$as_echo "no" >&6; } 14205$as_echo "no" >&6; }
9516 LIBOTF_CFLAGS="" 14206 LIBOTF_CFLAGS=""
9517 LIBOTF_LIBS="" 14207 LIBOTF_LIBS=""
@@ -9537,16 +14227,22 @@ $as_echo "no" >&6; }
9537 14227
9538 if test "$HAVE_LIBOTF" = "yes"; then 14228 if test "$HAVE_LIBOTF" = "yes"; then
9539 14229
9540$as_echo "#define HAVE_LIBOTF 1" >>confdefs.h 14230cat >>confdefs.h <<\_ACEOF
14231#define HAVE_LIBOTF 1
14232_ACEOF
9541 14233
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 14234 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5
9543$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 14235$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
9544if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : 14236if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then
9545 $as_echo_n "(cached) " >&6 14237 $as_echo_n "(cached) " >&6
9546else 14238else
9547 ac_check_lib_save_LIBS=$LIBS 14239 ac_check_lib_save_LIBS=$LIBS
9548LIBS="-lotf $LIBS" 14240LIBS="-lotf $LIBS"
9549cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14241cat >conftest.$ac_ext <<_ACEOF
14242/* confdefs.h. */
14243_ACEOF
14244cat confdefs.h >>conftest.$ac_ext
14245cat >>conftest.$ac_ext <<_ACEOF
9550/* end confdefs.h. */ 14246/* end confdefs.h. */
9551 14247
9552/* Override any GCC internal prototype to avoid an error. 14248/* Override any GCC internal prototype to avoid an error.
@@ -9564,18 +14260,43 @@ return OTF_get_variation_glyphs ();
9564 return 0; 14260 return 0;
9565} 14261}
9566_ACEOF 14262_ACEOF
9567if ac_fn_c_try_link "$LINENO"; then : 14263rm -f conftest.$ac_objext conftest$ac_exeext
14264if { (ac_try="$ac_link"
14265case "(($ac_try" in
14266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14267 *) ac_try_echo=$ac_try;;
14268esac
14269eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14270$as_echo "$ac_try_echo") >&5
14271 (eval "$ac_link") 2>conftest.er1
14272 ac_status=$?
14273 grep -v '^ *+' conftest.er1 >conftest.err
14274 rm -f conftest.er1
14275 cat conftest.err >&5
14276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } && {
14278 test -z "$ac_c_werror_flag" ||
14279 test ! -s conftest.err
14280 } && test -s conftest$ac_exeext && {
14281 test "$cross_compiling" = yes ||
14282 $as_test_x conftest$ac_exeext
14283 }; then
9568 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 14284 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
9569else 14285else
9570 ac_cv_lib_otf_OTF_get_variation_glyphs=no 14286 $as_echo "$as_me: failed program was:" >&5
14287sed 's/^/| /' conftest.$ac_ext >&5
14288
14289 ac_cv_lib_otf_OTF_get_variation_glyphs=no
9571fi 14290fi
9572rm -f core conftest.err conftest.$ac_objext \ 14291
9573 conftest$ac_exeext conftest.$ac_ext 14292rm -rf conftest.dSYM
14293rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14294 conftest$ac_exeext conftest.$ac_ext
9574LIBS=$ac_check_lib_save_LIBS 14295LIBS=$ac_check_lib_save_LIBS
9575fi 14296fi
9576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 14297{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
9577$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 14298$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
9578if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : 14299if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then
9579 HAVE_OTF_GET_VARIATION_GLYPHS=yes 14300 HAVE_OTF_GET_VARIATION_GLYPHS=yes
9580else 14301else
9581 HAVE_OTF_GET_VARIATION_GLYPHS=no 14302 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -9583,7 +14304,9 @@ fi
9583 14304
9584 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then 14305 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then
9585 14306
9586$as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h 14307cat >>confdefs.h <<\_ACEOF
14308#define HAVE_OTF_GET_VARIATION_GLYPHS 1
14309_ACEOF
9587 14310
9588 fi 14311 fi
9589 fi 14312 fi
@@ -9598,9 +14321,9 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
9598 14321
9599 # Extract the first word of "pkg-config", so it can be a program name with args. 14322 # Extract the first word of "pkg-config", so it can be a program name with args.
9600set dummy pkg-config; ac_word=$2 14323set dummy pkg-config; ac_word=$2
9601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14324{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9602$as_echo_n "checking for $ac_word... " >&6; } 14325$as_echo_n "checking for $ac_word... " >&6; }
9603if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 14326if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9604 $as_echo_n "(cached) " >&6 14327 $as_echo_n "(cached) " >&6
9605else 14328else
9606 case $PKG_CONFIG in 14329 case $PKG_CONFIG in
@@ -9613,14 +14336,14 @@ for as_dir in $PATH
9613do 14336do
9614 IFS=$as_save_IFS 14337 IFS=$as_save_IFS
9615 test -z "$as_dir" && as_dir=. 14338 test -z "$as_dir" && as_dir=.
9616 for ac_exec_ext in '' $ac_executable_extensions; do 14339 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9618 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14341 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9620 break 2 14343 break 2
9621 fi 14344 fi
9622done 14345done
9623 done 14346done
9624IFS=$as_save_IFS 14347IFS=$as_save_IFS
9625 14348
9626 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 14349 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -9629,10 +14352,10 @@ esac
9629fi 14352fi
9630PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14353PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9631if test -n "$PKG_CONFIG"; then 14354if test -n "$PKG_CONFIG"; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14355 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9633$as_echo "$PKG_CONFIG" >&6; } 14356$as_echo "$PKG_CONFIG" >&6; }
9634else 14357else
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14358 { $as_echo "$as_me:$LINENO: result: no" >&5
9636$as_echo "no" >&6; } 14359$as_echo "no" >&6; }
9637fi 14360fi
9638 14361
@@ -9643,27 +14366,27 @@ fi
9643 else 14366 else
9644 PKG_CONFIG_MIN_VERSION=0.9.0 14367 PKG_CONFIG_MIN_VERSION=0.9.0
9645 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 14368 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 14369 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5
9647$as_echo_n "checking for m17n-flt... " >&6; } 14370$as_echo_n "checking for m17n-flt... " >&6; }
9648 14371
9649 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 14372 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14373 { $as_echo "$as_me:$LINENO: result: yes" >&5
9651$as_echo "yes" >&6; } 14374$as_echo "yes" >&6; }
9652 succeeded=yes 14375 succeeded=yes
9653 14376
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 14377 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5
9655$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } 14378$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; }
9656 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 14379 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 14380 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5
9658$as_echo "$M17N_FLT_CFLAGS" >&6; } 14381$as_echo "$M17N_FLT_CFLAGS" >&6; }
9659 14382
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 14383 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5
9661$as_echo_n "checking M17N_FLT_LIBS... " >&6; } 14384$as_echo_n "checking M17N_FLT_LIBS... " >&6; }
9662 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 14385 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 14386 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5
9664$as_echo "$M17N_FLT_LIBS" >&6; } 14387$as_echo "$M17N_FLT_LIBS" >&6; }
9665 else 14388 else
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14389 { $as_echo "$as_me:$LINENO: result: no" >&5
9667$as_echo "no" >&6; } 14390$as_echo "no" >&6; }
9668 M17N_FLT_CFLAGS="" 14391 M17N_FLT_CFLAGS=""
9669 M17N_FLT_LIBS="" 14392 M17N_FLT_LIBS=""
@@ -9689,7 +14412,9 @@ $as_echo "no" >&6; }
9689 14412
9690 if test "$HAVE_M17N_FLT" = "yes"; then 14413 if test "$HAVE_M17N_FLT" = "yes"; then
9691 14414
9692$as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h 14415cat >>confdefs.h <<\_ACEOF
14416#define HAVE_M17N_FLT 1
14417_ACEOF
9693 14418
9694 fi 14419 fi
9695 fi 14420 fi
@@ -9716,16 +14441,146 @@ HAVE_XPM=no
9716LIBXPM= 14441LIBXPM=
9717if test "${HAVE_X11}" = "yes"; then 14442if test "${HAVE_X11}" = "yes"; then
9718 if test "${with_xpm}" != "no"; then 14443 if test "${with_xpm}" != "no"; then
9719 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" 14444 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
9720if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : 14445 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 14446$as_echo_n "checking for X11/xpm.h... " >&6; }
14447if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14448 $as_echo_n "(cached) " >&6
14449fi
14450{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14451$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14452else
14453 # Is the header compilable?
14454{ $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
14455$as_echo_n "checking X11/xpm.h usability... " >&6; }
14456cat >conftest.$ac_ext <<_ACEOF
14457/* confdefs.h. */
14458_ACEOF
14459cat confdefs.h >>conftest.$ac_ext
14460cat >>conftest.$ac_ext <<_ACEOF
14461/* end confdefs.h. */
14462$ac_includes_default
14463#include <X11/xpm.h>
14464_ACEOF
14465rm -f conftest.$ac_objext
14466if { (ac_try="$ac_compile"
14467case "(($ac_try" in
14468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14469 *) ac_try_echo=$ac_try;;
14470esac
14471eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14472$as_echo "$ac_try_echo") >&5
14473 (eval "$ac_compile") 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } && {
14480 test -z "$ac_c_werror_flag" ||
14481 test ! -s conftest.err
14482 } && test -s conftest.$ac_objext; then
14483 ac_header_compiler=yes
14484else
14485 $as_echo "$as_me: failed program was:" >&5
14486sed 's/^/| /' conftest.$ac_ext >&5
14487
14488 ac_header_compiler=no
14489fi
14490
14491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14492{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14493$as_echo "$ac_header_compiler" >&6; }
14494
14495# Is the header present?
14496{ $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
14497$as_echo_n "checking X11/xpm.h presence... " >&6; }
14498cat >conftest.$ac_ext <<_ACEOF
14499/* confdefs.h. */
14500_ACEOF
14501cat confdefs.h >>conftest.$ac_ext
14502cat >>conftest.$ac_ext <<_ACEOF
14503/* end confdefs.h. */
14504#include <X11/xpm.h>
14505_ACEOF
14506if { (ac_try="$ac_cpp conftest.$ac_ext"
14507case "(($ac_try" in
14508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14510esac
14511eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14512$as_echo "$ac_try_echo") >&5
14513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14514 ac_status=$?
14515 grep -v '^ *+' conftest.er1 >conftest.err
14516 rm -f conftest.er1
14517 cat conftest.err >&5
14518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } >/dev/null && {
14520 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14521 test ! -s conftest.err
14522 }; then
14523 ac_header_preproc=yes
14524else
14525 $as_echo "$as_me: failed program was:" >&5
14526sed 's/^/| /' conftest.$ac_ext >&5
14527
14528 ac_header_preproc=no
14529fi
14530
14531rm -f conftest.err conftest.$ac_ext
14532{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14533$as_echo "$ac_header_preproc" >&6; }
14534
14535# So? What about this header?
14536case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14537 yes:no: )
14538 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
14539$as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14540 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
14541$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
14542 ac_header_preproc=yes
14543 ;;
14544 no:yes:* )
14545 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
14546$as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
14547 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
14548$as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
14549 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
14550$as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
14551 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
14552$as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
14553 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
14554$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
14555 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
14556$as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
14557
14558 ;;
14559esac
14560{ $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
14561$as_echo_n "checking for X11/xpm.h... " >&6; }
14562if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14563 $as_echo_n "(cached) " >&6
14564else
14565 ac_cv_header_X11_xpm_h=$ac_header_preproc
14566fi
14567{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14568$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14569
14570fi
14571if test $ac_cv_header_X11_xpm_h = yes; then
14572 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
9722$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 14573$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
9723if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : 14574if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
9724 $as_echo_n "(cached) " >&6 14575 $as_echo_n "(cached) " >&6
9725else 14576else
9726 ac_check_lib_save_LIBS=$LIBS 14577 ac_check_lib_save_LIBS=$LIBS
9727LIBS="-lXpm -lX11 $LIBS" 14578LIBS="-lXpm -lX11 $LIBS"
9728cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14579cat >conftest.$ac_ext <<_ACEOF
14580/* confdefs.h. */
14581_ACEOF
14582cat confdefs.h >>conftest.$ac_ext
14583cat >>conftest.$ac_ext <<_ACEOF
9729/* end confdefs.h. */ 14584/* end confdefs.h. */
9730 14585
9731/* Override any GCC internal prototype to avoid an error. 14586/* Override any GCC internal prototype to avoid an error.
@@ -9743,18 +14598,43 @@ return XpmReadFileToPixmap ();
9743 return 0; 14598 return 0;
9744} 14599}
9745_ACEOF 14600_ACEOF
9746if ac_fn_c_try_link "$LINENO"; then : 14601rm -f conftest.$ac_objext conftest$ac_exeext
14602if { (ac_try="$ac_link"
14603case "(($ac_try" in
14604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14605 *) ac_try_echo=$ac_try;;
14606esac
14607eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14608$as_echo "$ac_try_echo") >&5
14609 (eval "$ac_link") 2>conftest.er1
14610 ac_status=$?
14611 grep -v '^ *+' conftest.er1 >conftest.err
14612 rm -f conftest.er1
14613 cat conftest.err >&5
14614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } && {
14616 test -z "$ac_c_werror_flag" ||
14617 test ! -s conftest.err
14618 } && test -s conftest$ac_exeext && {
14619 test "$cross_compiling" = yes ||
14620 $as_test_x conftest$ac_exeext
14621 }; then
9747 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 14622 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
9748else 14623else
9749 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 14624 $as_echo "$as_me: failed program was:" >&5
14625sed 's/^/| /' conftest.$ac_ext >&5
14626
14627 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
9750fi 14628fi
9751rm -f core conftest.err conftest.$ac_objext \ 14629
9752 conftest$ac_exeext conftest.$ac_ext 14630rm -rf conftest.dSYM
14631rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14632 conftest$ac_exeext conftest.$ac_ext
9753LIBS=$ac_check_lib_save_LIBS 14633LIBS=$ac_check_lib_save_LIBS
9754fi 14634fi
9755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 14635{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
9756$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 14636$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
9757if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : 14637if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
9758 HAVE_XPM=yes 14638 HAVE_XPM=yes
9759fi 14639fi
9760 14640
@@ -9762,9 +14642,13 @@ fi
9762 14642
9763 14643
9764 if test "${HAVE_XPM}" = "yes"; then 14644 if test "${HAVE_XPM}" = "yes"; then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 14645 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
9766$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } 14646$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; }
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14647 cat >conftest.$ac_ext <<_ACEOF
14648/* confdefs.h. */
14649_ACEOF
14650cat confdefs.h >>conftest.$ac_ext
14651cat >>conftest.$ac_ext <<_ACEOF
9768/* end confdefs.h. */ 14652/* end confdefs.h. */
9769#include "X11/xpm.h" 14653#include "X11/xpm.h"
9770#ifndef XpmReturnAllocPixels 14654#ifndef XpmReturnAllocPixels
@@ -9773,7 +14657,7 @@ no_return_alloc_pixels
9773 14657
9774_ACEOF 14658_ACEOF
9775if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14659if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9776 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : 14660 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then
9777 HAVE_XPM=no 14661 HAVE_XPM=no
9778else 14662else
9779 HAVE_XPM=yes 14663 HAVE_XPM=yes
@@ -9782,10 +14666,10 @@ rm -f conftest*
9782 14666
9783 14667
9784 if test "${HAVE_XPM}" = "yes"; then 14668 if test "${HAVE_XPM}" = "yes"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14669 { $as_echo "$as_me:$LINENO: result: yes" >&5
9786$as_echo "yes" >&6; } 14670$as_echo "yes" >&6; }
9787 else 14671 else
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14672 { $as_echo "$as_me:$LINENO: result: no" >&5
9789$as_echo "no" >&6; } 14673$as_echo "no" >&6; }
9790 fi 14674 fi
9791 fi 14675 fi
@@ -9793,7 +14677,9 @@ $as_echo "no" >&6; }
9793 14677
9794 if test "${HAVE_XPM}" = "yes"; then 14678 if test "${HAVE_XPM}" = "yes"; then
9795 14679
9796$as_echo "#define HAVE_XPM 1" >>confdefs.h 14680cat >>confdefs.h <<\_ACEOF
14681#define HAVE_XPM 1
14682_ACEOF
9797 14683
9798 LIBXPM=-lXpm 14684 LIBXPM=-lXpm
9799 fi 14685 fi
@@ -9805,16 +14691,146 @@ HAVE_JPEG=no
9805LIBJPEG= 14691LIBJPEG=
9806if test "${HAVE_X11}" = "yes"; then 14692if test "${HAVE_X11}" = "yes"; then
9807 if test "${with_jpeg}" != "no"; then 14693 if test "${with_jpeg}" != "no"; then
9808 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" 14694 if test "${ac_cv_header_jerror_h+set}" = set; then
9809if test "x$ac_cv_header_jerror_h" = x""yes; then : 14695 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 14696$as_echo_n "checking for jerror.h... " >&6; }
14697if test "${ac_cv_header_jerror_h+set}" = set; then
14698 $as_echo_n "(cached) " >&6
14699fi
14700{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14701$as_echo "$ac_cv_header_jerror_h" >&6; }
14702else
14703 # Is the header compilable?
14704{ $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5
14705$as_echo_n "checking jerror.h usability... " >&6; }
14706cat >conftest.$ac_ext <<_ACEOF
14707/* confdefs.h. */
14708_ACEOF
14709cat confdefs.h >>conftest.$ac_ext
14710cat >>conftest.$ac_ext <<_ACEOF
14711/* end confdefs.h. */
14712$ac_includes_default
14713#include <jerror.h>
14714_ACEOF
14715rm -f conftest.$ac_objext
14716if { (ac_try="$ac_compile"
14717case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14720esac
14721eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14722$as_echo "$ac_try_echo") >&5
14723 (eval "$ac_compile") 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } && {
14730 test -z "$ac_c_werror_flag" ||
14731 test ! -s conftest.err
14732 } && test -s conftest.$ac_objext; then
14733 ac_header_compiler=yes
14734else
14735 $as_echo "$as_me: failed program was:" >&5
14736sed 's/^/| /' conftest.$ac_ext >&5
14737
14738 ac_header_compiler=no
14739fi
14740
14741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14742{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14743$as_echo "$ac_header_compiler" >&6; }
14744
14745# Is the header present?
14746{ $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5
14747$as_echo_n "checking jerror.h presence... " >&6; }
14748cat >conftest.$ac_ext <<_ACEOF
14749/* confdefs.h. */
14750_ACEOF
14751cat confdefs.h >>conftest.$ac_ext
14752cat >>conftest.$ac_ext <<_ACEOF
14753/* end confdefs.h. */
14754#include <jerror.h>
14755_ACEOF
14756if { (ac_try="$ac_cpp conftest.$ac_ext"
14757case "(($ac_try" in
14758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14759 *) ac_try_echo=$ac_try;;
14760esac
14761eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14762$as_echo "$ac_try_echo") >&5
14763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14764 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1
14767 cat conftest.err >&5
14768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } >/dev/null && {
14770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 }; then
14773 ac_header_preproc=yes
14774else
14775 $as_echo "$as_me: failed program was:" >&5
14776sed 's/^/| /' conftest.$ac_ext >&5
14777
14778 ac_header_preproc=no
14779fi
14780
14781rm -f conftest.err conftest.$ac_ext
14782{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14783$as_echo "$ac_header_preproc" >&6; }
14784
14785# So? What about this header?
14786case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14787 yes:no: )
14788 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
14789$as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14790 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
14791$as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
14792 ac_header_preproc=yes
14793 ;;
14794 no:yes:* )
14795 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
14796$as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
14797 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
14798$as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
14799 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
14800$as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
14801 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
14802$as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
14803 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
14804$as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
14805 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
14806$as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
14807
14808 ;;
14809esac
14810{ $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
14811$as_echo_n "checking for jerror.h... " >&6; }
14812if test "${ac_cv_header_jerror_h+set}" = set; then
14813 $as_echo_n "(cached) " >&6
14814else
14815 ac_cv_header_jerror_h=$ac_header_preproc
14816fi
14817{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14818$as_echo "$ac_cv_header_jerror_h" >&6; }
14819
14820fi
14821if test $ac_cv_header_jerror_h = yes; then
14822 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
9811$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 14823$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
9812if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : 14824if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
9813 $as_echo_n "(cached) " >&6 14825 $as_echo_n "(cached) " >&6
9814else 14826else
9815 ac_check_lib_save_LIBS=$LIBS 14827 ac_check_lib_save_LIBS=$LIBS
9816LIBS="-ljpeg $LIBS" 14828LIBS="-ljpeg $LIBS"
9817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14829cat >conftest.$ac_ext <<_ACEOF
14830/* confdefs.h. */
14831_ACEOF
14832cat confdefs.h >>conftest.$ac_ext
14833cat >>conftest.$ac_ext <<_ACEOF
9818/* end confdefs.h. */ 14834/* end confdefs.h. */
9819 14835
9820/* Override any GCC internal prototype to avoid an error. 14836/* Override any GCC internal prototype to avoid an error.
@@ -9832,18 +14848,43 @@ return jpeg_destroy_compress ();
9832 return 0; 14848 return 0;
9833} 14849}
9834_ACEOF 14850_ACEOF
9835if ac_fn_c_try_link "$LINENO"; then : 14851rm -f conftest.$ac_objext conftest$ac_exeext
14852if { (ac_try="$ac_link"
14853case "(($ac_try" in
14854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14855 *) ac_try_echo=$ac_try;;
14856esac
14857eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14858$as_echo "$ac_try_echo") >&5
14859 (eval "$ac_link") 2>conftest.er1
14860 ac_status=$?
14861 grep -v '^ *+' conftest.er1 >conftest.err
14862 rm -f conftest.er1
14863 cat conftest.err >&5
14864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } && {
14866 test -z "$ac_c_werror_flag" ||
14867 test ! -s conftest.err
14868 } && test -s conftest$ac_exeext && {
14869 test "$cross_compiling" = yes ||
14870 $as_test_x conftest$ac_exeext
14871 }; then
9836 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 14872 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
9837else 14873else
9838 ac_cv_lib_jpeg_jpeg_destroy_compress=no 14874 $as_echo "$as_me: failed program was:" >&5
14875sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 ac_cv_lib_jpeg_jpeg_destroy_compress=no
9839fi 14878fi
9840rm -f core conftest.err conftest.$ac_objext \ 14879
9841 conftest$ac_exeext conftest.$ac_ext 14880rm -rf conftest.dSYM
14881rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14882 conftest$ac_exeext conftest.$ac_ext
9842LIBS=$ac_check_lib_save_LIBS 14883LIBS=$ac_check_lib_save_LIBS
9843fi 14884fi
9844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 14885{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
9845$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 14886$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
9846if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : 14887if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
9847 HAVE_JPEG=yes 14888 HAVE_JPEG=yes
9848fi 14889fi
9849 14890
@@ -9852,21 +14893,30 @@ fi
9852 14893
9853 fi 14894 fi
9854 14895
9855 if test "${HAVE_JPEG}" = "yes"; then
9856 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
9857 14896
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14897 if test "${HAVE_JPEG}" = "yes"; then
14898 cat >>confdefs.h <<\_ACEOF
14899#define HAVE_JPEG 1
14900_ACEOF
14901
14902 cat >conftest.$ac_ext <<_ACEOF
14903/* confdefs.h. */
14904_ACEOF
14905cat confdefs.h >>conftest.$ac_ext
14906cat >>conftest.$ac_ext <<_ACEOF
9859/* end confdefs.h. */ 14907/* end confdefs.h. */
9860#include <jpeglib.h> 14908#include <jpeglib.h>
9861 version=JPEG_LIB_VERSION 14909 version=JPEG_LIB_VERSION
9862 14910
9863_ACEOF 14911_ACEOF
9864if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14912if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9865 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : 14913 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
9866 $as_echo "#define HAVE_JPEG 1" >>confdefs.h 14914 cat >>confdefs.h <<\_ACEOF
14915#define HAVE_JPEG 1
14916_ACEOF
9867 14917
9868else 14918else
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 14919 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
9870$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 14920$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
9871 HAVE_JPEG=no 14921 HAVE_JPEG=no
9872fi 14922fi
@@ -9886,12 +14936,144 @@ if test "${HAVE_X11}" = "yes"; then
9886 if test "${with_png}" != "no"; then 14936 if test "${with_png}" != "no"; then
9887 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h 14937 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
9888 # in /usr/include/libpng. 14938 # in /usr/include/libpng.
9889 for ac_header in png.h libpng/png.h 14939
9890do : 14940
9891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14941for ac_header in png.h libpng/png.h
9892ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 14942do
9893eval as_val=\$$as_ac_Header 14943as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9894 if test "x$as_val" = x""yes; then : 14944if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14945 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14946$as_echo_n "checking for $ac_header... " >&6; }
14947if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14948 $as_echo_n "(cached) " >&6
14949fi
14950ac_res=`eval 'as_val=${'$as_ac_Header'}
14951 $as_echo "$as_val"'`
14952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14953$as_echo "$ac_res" >&6; }
14954else
14955 # Is the header compilable?
14956{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14957$as_echo_n "checking $ac_header usability... " >&6; }
14958cat >conftest.$ac_ext <<_ACEOF
14959/* confdefs.h. */
14960_ACEOF
14961cat confdefs.h >>conftest.$ac_ext
14962cat >>conftest.$ac_ext <<_ACEOF
14963/* end confdefs.h. */
14964$ac_includes_default
14965#include <$ac_header>
14966_ACEOF
14967rm -f conftest.$ac_objext
14968if { (ac_try="$ac_compile"
14969case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972esac
14973eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14974$as_echo "$ac_try_echo") >&5
14975 (eval "$ac_compile") 2>conftest.er1
14976 ac_status=$?
14977 grep -v '^ *+' conftest.er1 >conftest.err
14978 rm -f conftest.er1
14979 cat conftest.err >&5
14980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } && {
14982 test -z "$ac_c_werror_flag" ||
14983 test ! -s conftest.err
14984 } && test -s conftest.$ac_objext; then
14985 ac_header_compiler=yes
14986else
14987 $as_echo "$as_me: failed program was:" >&5
14988sed 's/^/| /' conftest.$ac_ext >&5
14989
14990 ac_header_compiler=no
14991fi
14992
14993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14995$as_echo "$ac_header_compiler" >&6; }
14996
14997# Is the header present?
14998{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14999$as_echo_n "checking $ac_header presence... " >&6; }
15000cat >conftest.$ac_ext <<_ACEOF
15001/* confdefs.h. */
15002_ACEOF
15003cat confdefs.h >>conftest.$ac_ext
15004cat >>conftest.$ac_ext <<_ACEOF
15005/* end confdefs.h. */
15006#include <$ac_header>
15007_ACEOF
15008if { (ac_try="$ac_cpp conftest.$ac_ext"
15009case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
15012esac
15013eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15014$as_echo "$ac_try_echo") >&5
15015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15016 ac_status=$?
15017 grep -v '^ *+' conftest.er1 >conftest.err
15018 rm -f conftest.er1
15019 cat conftest.err >&5
15020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); } >/dev/null && {
15022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15023 test ! -s conftest.err
15024 }; then
15025 ac_header_preproc=yes
15026else
15027 $as_echo "$as_me: failed program was:" >&5
15028sed 's/^/| /' conftest.$ac_ext >&5
15029
15030 ac_header_preproc=no
15031fi
15032
15033rm -f conftest.err conftest.$ac_ext
15034{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15035$as_echo "$ac_header_preproc" >&6; }
15036
15037# So? What about this header?
15038case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15039 yes:no: )
15040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15041$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15043$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15044 ac_header_preproc=yes
15045 ;;
15046 no:yes:* )
15047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15048$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15050$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15052$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15054$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15056$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15058$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15059
15060 ;;
15061esac
15062{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15063$as_echo_n "checking for $ac_header... " >&6; }
15064if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15065 $as_echo_n "(cached) " >&6
15066else
15067 eval "$as_ac_Header=\$ac_header_preproc"
15068fi
15069ac_res=`eval 'as_val=${'$as_ac_Header'}
15070 $as_echo "$as_val"'`
15071 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15072$as_echo "$ac_res" >&6; }
15073
15074fi
15075if test `eval 'as_val=${'$as_ac_Header'}
15076 $as_echo "$as_val"'` = yes; then
9895 cat >>confdefs.h <<_ACEOF 15077 cat >>confdefs.h <<_ACEOF
9896#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15078#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9897_ACEOF 15079_ACEOF
@@ -9901,14 +15083,18 @@ fi
9901done 15083done
9902 15084
9903 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 15085 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 15086 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
9905$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 15087$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
9906if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : 15088if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
9907 $as_echo_n "(cached) " >&6 15089 $as_echo_n "(cached) " >&6
9908else 15090else
9909 ac_check_lib_save_LIBS=$LIBS 15091 ac_check_lib_save_LIBS=$LIBS
9910LIBS="-lpng -lz -lm $LIBS" 15092LIBS="-lpng -lz -lm $LIBS"
9911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15093cat >conftest.$ac_ext <<_ACEOF
15094/* confdefs.h. */
15095_ACEOF
15096cat confdefs.h >>conftest.$ac_ext
15097cat >>conftest.$ac_ext <<_ACEOF
9912/* end confdefs.h. */ 15098/* end confdefs.h. */
9913 15099
9914/* Override any GCC internal prototype to avoid an error. 15100/* Override any GCC internal prototype to avoid an error.
@@ -9926,18 +15112,43 @@ return png_get_channels ();
9926 return 0; 15112 return 0;
9927} 15113}
9928_ACEOF 15114_ACEOF
9929if ac_fn_c_try_link "$LINENO"; then : 15115rm -f conftest.$ac_objext conftest$ac_exeext
15116if { (ac_try="$ac_link"
15117case "(($ac_try" in
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15120esac
15121eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15122$as_echo "$ac_try_echo") >&5
15123 (eval "$ac_link") 2>conftest.er1
15124 ac_status=$?
15125 grep -v '^ *+' conftest.er1 >conftest.err
15126 rm -f conftest.er1
15127 cat conftest.err >&5
15128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } && {
15130 test -z "$ac_c_werror_flag" ||
15131 test ! -s conftest.err
15132 } && test -s conftest$ac_exeext && {
15133 test "$cross_compiling" = yes ||
15134 $as_test_x conftest$ac_exeext
15135 }; then
9930 ac_cv_lib_png_png_get_channels=yes 15136 ac_cv_lib_png_png_get_channels=yes
9931else 15137else
9932 ac_cv_lib_png_png_get_channels=no 15138 $as_echo "$as_me: failed program was:" >&5
15139sed 's/^/| /' conftest.$ac_ext >&5
15140
15141 ac_cv_lib_png_png_get_channels=no
9933fi 15142fi
9934rm -f core conftest.err conftest.$ac_objext \ 15143
9935 conftest$ac_exeext conftest.$ac_ext 15144rm -rf conftest.dSYM
15145rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15146 conftest$ac_exeext conftest.$ac_ext
9936LIBS=$ac_check_lib_save_LIBS 15147LIBS=$ac_check_lib_save_LIBS
9937fi 15148fi
9938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 15149{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
9939$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 15150$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
9940if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : 15151if test $ac_cv_lib_png_png_get_channels = yes; then
9941 HAVE_PNG=yes 15152 HAVE_PNG=yes
9942fi 15153fi
9943 15154
@@ -9946,7 +15157,9 @@ fi
9946 15157
9947 if test "${HAVE_PNG}" = "yes"; then 15158 if test "${HAVE_PNG}" = "yes"; then
9948 15159
9949$as_echo "#define HAVE_PNG 1" >>confdefs.h 15160cat >>confdefs.h <<\_ACEOF
15161#define HAVE_PNG 1
15162_ACEOF
9950 15163
9951 LIBPNG="-lpng -lz -lm" 15164 LIBPNG="-lpng -lz -lm"
9952 fi 15165 fi
@@ -9958,19 +15171,149 @@ HAVE_TIFF=no
9958LIBTIFF= 15171LIBTIFF=
9959if test "${HAVE_X11}" = "yes"; then 15172if test "${HAVE_X11}" = "yes"; then
9960 if test "${with_tiff}" != "no"; then 15173 if test "${with_tiff}" != "no"; then
9961 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 15174 if test "${ac_cv_header_tiffio_h+set}" = set; then
9962if test "x$ac_cv_header_tiffio_h" = x""yes; then : 15175 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
15176$as_echo_n "checking for tiffio.h... " >&6; }
15177if test "${ac_cv_header_tiffio_h+set}" = set; then
15178 $as_echo_n "(cached) " >&6
15179fi
15180{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15181$as_echo "$ac_cv_header_tiffio_h" >&6; }
15182else
15183 # Is the header compilable?
15184{ $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5
15185$as_echo_n "checking tiffio.h usability... " >&6; }
15186cat >conftest.$ac_ext <<_ACEOF
15187/* confdefs.h. */
15188_ACEOF
15189cat confdefs.h >>conftest.$ac_ext
15190cat >>conftest.$ac_ext <<_ACEOF
15191/* end confdefs.h. */
15192$ac_includes_default
15193#include <tiffio.h>
15194_ACEOF
15195rm -f conftest.$ac_objext
15196if { (ac_try="$ac_compile"
15197case "(($ac_try" in
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199 *) ac_try_echo=$ac_try;;
15200esac
15201eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15202$as_echo "$ac_try_echo") >&5
15203 (eval "$ac_compile") 2>conftest.er1
15204 ac_status=$?
15205 grep -v '^ *+' conftest.er1 >conftest.err
15206 rm -f conftest.er1
15207 cat conftest.err >&5
15208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); } && {
15210 test -z "$ac_c_werror_flag" ||
15211 test ! -s conftest.err
15212 } && test -s conftest.$ac_objext; then
15213 ac_header_compiler=yes
15214else
15215 $as_echo "$as_me: failed program was:" >&5
15216sed 's/^/| /' conftest.$ac_ext >&5
15217
15218 ac_header_compiler=no
15219fi
15220
15221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15222{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15223$as_echo "$ac_header_compiler" >&6; }
15224
15225# Is the header present?
15226{ $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5
15227$as_echo_n "checking tiffio.h presence... " >&6; }
15228cat >conftest.$ac_ext <<_ACEOF
15229/* confdefs.h. */
15230_ACEOF
15231cat confdefs.h >>conftest.$ac_ext
15232cat >>conftest.$ac_ext <<_ACEOF
15233/* end confdefs.h. */
15234#include <tiffio.h>
15235_ACEOF
15236if { (ac_try="$ac_cpp conftest.$ac_ext"
15237case "(($ac_try" in
15238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15239 *) ac_try_echo=$ac_try;;
15240esac
15241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15242$as_echo "$ac_try_echo") >&5
15243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15244 ac_status=$?
15245 grep -v '^ *+' conftest.er1 >conftest.err
15246 rm -f conftest.er1
15247 cat conftest.err >&5
15248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } >/dev/null && {
15250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15251 test ! -s conftest.err
15252 }; then
15253 ac_header_preproc=yes
15254else
15255 $as_echo "$as_me: failed program was:" >&5
15256sed 's/^/| /' conftest.$ac_ext >&5
15257
15258 ac_header_preproc=no
15259fi
15260
15261rm -f conftest.err conftest.$ac_ext
15262{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15263$as_echo "$ac_header_preproc" >&6; }
15264
15265# So? What about this header?
15266case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15267 yes:no: )
15268 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
15269$as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15270 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
15271$as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
15272 ac_header_preproc=yes
15273 ;;
15274 no:yes:* )
15275 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
15276$as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
15277 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
15278$as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
15279 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
15280$as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
15281 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
15282$as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
15283 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
15284$as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
15285 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
15286$as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
15287
15288 ;;
15289esac
15290{ $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
15291$as_echo_n "checking for tiffio.h... " >&6; }
15292if test "${ac_cv_header_tiffio_h+set}" = set; then
15293 $as_echo_n "(cached) " >&6
15294else
15295 ac_cv_header_tiffio_h=$ac_header_preproc
15296fi
15297{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15298$as_echo "$ac_cv_header_tiffio_h" >&6; }
15299
15300fi
15301if test $ac_cv_header_tiffio_h = yes; then
9963 tifflibs="-lz -lm" 15302 tifflibs="-lz -lm"
9964 # At least one tiff package requires the jpeg library. 15303 # At least one tiff package requires the jpeg library.
9965 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 15304 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 15305 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
9967$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 15306$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
9968if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : 15307if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
9969 $as_echo_n "(cached) " >&6 15308 $as_echo_n "(cached) " >&6
9970else 15309else
9971 ac_check_lib_save_LIBS=$LIBS 15310 ac_check_lib_save_LIBS=$LIBS
9972LIBS="-ltiff $tifflibs $LIBS" 15311LIBS="-ltiff $tifflibs $LIBS"
9973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15312cat >conftest.$ac_ext <<_ACEOF
15313/* confdefs.h. */
15314_ACEOF
15315cat confdefs.h >>conftest.$ac_ext
15316cat >>conftest.$ac_ext <<_ACEOF
9974/* end confdefs.h. */ 15317/* end confdefs.h. */
9975 15318
9976/* Override any GCC internal prototype to avoid an error. 15319/* Override any GCC internal prototype to avoid an error.
@@ -9988,18 +15331,43 @@ return TIFFGetVersion ();
9988 return 0; 15331 return 0;
9989} 15332}
9990_ACEOF 15333_ACEOF
9991if ac_fn_c_try_link "$LINENO"; then : 15334rm -f conftest.$ac_objext conftest$ac_exeext
15335if { (ac_try="$ac_link"
15336case "(($ac_try" in
15337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15338 *) ac_try_echo=$ac_try;;
15339esac
15340eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15341$as_echo "$ac_try_echo") >&5
15342 (eval "$ac_link") 2>conftest.er1
15343 ac_status=$?
15344 grep -v '^ *+' conftest.er1 >conftest.err
15345 rm -f conftest.er1
15346 cat conftest.err >&5
15347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } && {
15349 test -z "$ac_c_werror_flag" ||
15350 test ! -s conftest.err
15351 } && test -s conftest$ac_exeext && {
15352 test "$cross_compiling" = yes ||
15353 $as_test_x conftest$ac_exeext
15354 }; then
9992 ac_cv_lib_tiff_TIFFGetVersion=yes 15355 ac_cv_lib_tiff_TIFFGetVersion=yes
9993else 15356else
9994 ac_cv_lib_tiff_TIFFGetVersion=no 15357 $as_echo "$as_me: failed program was:" >&5
15358sed 's/^/| /' conftest.$ac_ext >&5
15359
15360 ac_cv_lib_tiff_TIFFGetVersion=no
9995fi 15361fi
9996rm -f core conftest.err conftest.$ac_objext \ 15362
9997 conftest$ac_exeext conftest.$ac_ext 15363rm -rf conftest.dSYM
15364rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15365 conftest$ac_exeext conftest.$ac_ext
9998LIBS=$ac_check_lib_save_LIBS 15366LIBS=$ac_check_lib_save_LIBS
9999fi 15367fi
10000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 15368{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
10001$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 15369$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
10002if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : 15370if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
10003 HAVE_TIFF=yes 15371 HAVE_TIFF=yes
10004fi 15372fi
10005 15373
@@ -10010,7 +15378,9 @@ fi
10010 15378
10011 if test "${HAVE_TIFF}" = "yes"; then 15379 if test "${HAVE_TIFF}" = "yes"; then
10012 15380
10013$as_echo "#define HAVE_TIFF 1" >>confdefs.h 15381cat >>confdefs.h <<\_ACEOF
15382#define HAVE_TIFF 1
15383_ACEOF
10014 15384
10015 LIBTIFF=-ltiff 15385 LIBTIFF=-ltiff
10016 fi 15386 fi
@@ -10021,18 +15391,148 @@ fi
10021HAVE_GIF=no 15391HAVE_GIF=no
10022LIBGIF= 15392LIBGIF=
10023if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 15393if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
10024 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 15394 if test "${ac_cv_header_gif_lib_h+set}" = set; then
10025if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 15395 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
15396$as_echo_n "checking for gif_lib.h... " >&6; }
15397if test "${ac_cv_header_gif_lib_h+set}" = set; then
15398 $as_echo_n "(cached) " >&6
15399fi
15400{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15401$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15402else
15403 # Is the header compilable?
15404{ $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
15405$as_echo_n "checking gif_lib.h usability... " >&6; }
15406cat >conftest.$ac_ext <<_ACEOF
15407/* confdefs.h. */
15408_ACEOF
15409cat confdefs.h >>conftest.$ac_ext
15410cat >>conftest.$ac_ext <<_ACEOF
15411/* end confdefs.h. */
15412$ac_includes_default
15413#include <gif_lib.h>
15414_ACEOF
15415rm -f conftest.$ac_objext
15416if { (ac_try="$ac_compile"
15417case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420esac
15421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15422$as_echo "$ac_try_echo") >&5
15423 (eval "$ac_compile") 2>conftest.er1
15424 ac_status=$?
15425 grep -v '^ *+' conftest.er1 >conftest.err
15426 rm -f conftest.er1
15427 cat conftest.err >&5
15428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } && {
15430 test -z "$ac_c_werror_flag" ||
15431 test ! -s conftest.err
15432 } && test -s conftest.$ac_objext; then
15433 ac_header_compiler=yes
15434else
15435 $as_echo "$as_me: failed program was:" >&5
15436sed 's/^/| /' conftest.$ac_ext >&5
15437
15438 ac_header_compiler=no
15439fi
15440
15441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15442{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15443$as_echo "$ac_header_compiler" >&6; }
15444
15445# Is the header present?
15446{ $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
15447$as_echo_n "checking gif_lib.h presence... " >&6; }
15448cat >conftest.$ac_ext <<_ACEOF
15449/* confdefs.h. */
15450_ACEOF
15451cat confdefs.h >>conftest.$ac_ext
15452cat >>conftest.$ac_ext <<_ACEOF
15453/* end confdefs.h. */
15454#include <gif_lib.h>
15455_ACEOF
15456if { (ac_try="$ac_cpp conftest.$ac_ext"
15457case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15460esac
15461eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15462$as_echo "$ac_try_echo") >&5
15463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15464 ac_status=$?
15465 grep -v '^ *+' conftest.er1 >conftest.err
15466 rm -f conftest.er1
15467 cat conftest.err >&5
15468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } >/dev/null && {
15470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15471 test ! -s conftest.err
15472 }; then
15473 ac_header_preproc=yes
15474else
15475 $as_echo "$as_me: failed program was:" >&5
15476sed 's/^/| /' conftest.$ac_ext >&5
15477
15478 ac_header_preproc=no
15479fi
15480
15481rm -f conftest.err conftest.$ac_ext
15482{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15483$as_echo "$ac_header_preproc" >&6; }
15484
15485# So? What about this header?
15486case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15487 yes:no: )
15488 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15489$as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15490 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
15491$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
15492 ac_header_preproc=yes
15493 ;;
15494 no:yes:* )
15495 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
15496$as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
15497 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
15498$as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
15499 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
15500$as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
15501 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
15502$as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15503 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
15504$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
15505 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
15506$as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
15507
15508 ;;
15509esac
15510{ $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
15511$as_echo_n "checking for gif_lib.h... " >&6; }
15512if test "${ac_cv_header_gif_lib_h+set}" = set; then
15513 $as_echo_n "(cached) " >&6
15514else
15515 ac_cv_header_gif_lib_h=$ac_header_preproc
15516fi
15517{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15518$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15519
15520fi
15521if test $ac_cv_header_gif_lib_h = yes; then
10026 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 15522 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
10027# Earlier versions can crash Emacs. 15523# Earlier versions can crash Emacs.
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 15524 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
10029$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 15525$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
10030if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 15526if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
10031 $as_echo_n "(cached) " >&6 15527 $as_echo_n "(cached) " >&6
10032else 15528else
10033 ac_check_lib_save_LIBS=$LIBS 15529 ac_check_lib_save_LIBS=$LIBS
10034LIBS="-lgif $LIBS" 15530LIBS="-lgif $LIBS"
10035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15531cat >conftest.$ac_ext <<_ACEOF
15532/* confdefs.h. */
15533_ACEOF
15534cat confdefs.h >>conftest.$ac_ext
15535cat >>conftest.$ac_ext <<_ACEOF
10036/* end confdefs.h. */ 15536/* end confdefs.h. */
10037 15537
10038/* Override any GCC internal prototype to avoid an error. 15538/* Override any GCC internal prototype to avoid an error.
@@ -10050,18 +15550,43 @@ return EGifPutExtensionLast ();
10050 return 0; 15550 return 0;
10051} 15551}
10052_ACEOF 15552_ACEOF
10053if ac_fn_c_try_link "$LINENO"; then : 15553rm -f conftest.$ac_objext conftest$ac_exeext
15554if { (ac_try="$ac_link"
15555case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15558esac
15559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15560$as_echo "$ac_try_echo") >&5
15561 (eval "$ac_link") 2>conftest.er1
15562 ac_status=$?
15563 grep -v '^ *+' conftest.er1 >conftest.err
15564 rm -f conftest.er1
15565 cat conftest.err >&5
15566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest$ac_exeext && {
15571 test "$cross_compiling" = yes ||
15572 $as_test_x conftest$ac_exeext
15573 }; then
10054 ac_cv_lib_gif_EGifPutExtensionLast=yes 15574 ac_cv_lib_gif_EGifPutExtensionLast=yes
10055else 15575else
10056 ac_cv_lib_gif_EGifPutExtensionLast=no 15576 $as_echo "$as_me: failed program was:" >&5
15577sed 's/^/| /' conftest.$ac_ext >&5
15578
15579 ac_cv_lib_gif_EGifPutExtensionLast=no
10057fi 15580fi
10058rm -f core conftest.err conftest.$ac_objext \ 15581
10059 conftest$ac_exeext conftest.$ac_ext 15582rm -rf conftest.dSYM
15583rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15584 conftest$ac_exeext conftest.$ac_ext
10060LIBS=$ac_check_lib_save_LIBS 15585LIBS=$ac_check_lib_save_LIBS
10061fi 15586fi
10062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 15587{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
10063$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 15588$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
10064if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 15589if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
10065 HAVE_GIF=yes 15590 HAVE_GIF=yes
10066else 15591else
10067 HAVE_GIF=maybe 15592 HAVE_GIF=maybe
@@ -10075,14 +15600,18 @@ fi
10075 LIBGIF=-lgif 15600 LIBGIF=-lgif
10076 elif test "$HAVE_GIF" = maybe; then 15601 elif test "$HAVE_GIF" = maybe; then
10077# If gif_lib.h but no libgif, try libungif. 15602# If gif_lib.h but no libgif, try libungif.
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 15603 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
10079$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 15604$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
10080if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 15605if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
10081 $as_echo_n "(cached) " >&6 15606 $as_echo_n "(cached) " >&6
10082else 15607else
10083 ac_check_lib_save_LIBS=$LIBS 15608 ac_check_lib_save_LIBS=$LIBS
10084LIBS="-lungif $LIBS" 15609LIBS="-lungif $LIBS"
10085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15610cat >conftest.$ac_ext <<_ACEOF
15611/* confdefs.h. */
15612_ACEOF
15613cat confdefs.h >>conftest.$ac_ext
15614cat >>conftest.$ac_ext <<_ACEOF
10086/* end confdefs.h. */ 15615/* end confdefs.h. */
10087 15616
10088/* Override any GCC internal prototype to avoid an error. 15617/* Override any GCC internal prototype to avoid an error.
@@ -10100,18 +15629,43 @@ return EGifPutExtensionLast ();
10100 return 0; 15629 return 0;
10101} 15630}
10102_ACEOF 15631_ACEOF
10103if ac_fn_c_try_link "$LINENO"; then : 15632rm -f conftest.$ac_objext conftest$ac_exeext
15633if { (ac_try="$ac_link"
15634case "(($ac_try" in
15635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15636 *) ac_try_echo=$ac_try;;
15637esac
15638eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15639$as_echo "$ac_try_echo") >&5
15640 (eval "$ac_link") 2>conftest.er1
15641 ac_status=$?
15642 grep -v '^ *+' conftest.er1 >conftest.err
15643 rm -f conftest.er1
15644 cat conftest.err >&5
15645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest$ac_exeext && {
15650 test "$cross_compiling" = yes ||
15651 $as_test_x conftest$ac_exeext
15652 }; then
10104 ac_cv_lib_ungif_EGifPutExtensionLast=yes 15653 ac_cv_lib_ungif_EGifPutExtensionLast=yes
10105else 15654else
10106 ac_cv_lib_ungif_EGifPutExtensionLast=no 15655 $as_echo "$as_me: failed program was:" >&5
15656sed 's/^/| /' conftest.$ac_ext >&5
15657
15658 ac_cv_lib_ungif_EGifPutExtensionLast=no
10107fi 15659fi
10108rm -f core conftest.err conftest.$ac_objext \ 15660
10109 conftest$ac_exeext conftest.$ac_ext 15661rm -rf conftest.dSYM
15662rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15663 conftest$ac_exeext conftest.$ac_ext
10110LIBS=$ac_check_lib_save_LIBS 15664LIBS=$ac_check_lib_save_LIBS
10111fi 15665fi
10112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 15666{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
10113$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 15667$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
10114if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 15668if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
10115 HAVE_GIF=yes 15669 HAVE_GIF=yes
10116else 15670else
10117 HAVE_GIF=no 15671 HAVE_GIF=no
@@ -10122,7 +15676,9 @@ fi
10122 15676
10123 if test "${HAVE_GIF}" = "yes"; then 15677 if test "${HAVE_GIF}" = "yes"; then
10124 15678
10125$as_echo "#define HAVE_GIF 1" >>confdefs.h 15679cat >>confdefs.h <<\_ACEOF
15680#define HAVE_GIF 1
15681_ACEOF
10126 15682
10127 fi 15683 fi
10128fi 15684fi
@@ -10143,12 +15699,19 @@ if test "${HAVE_X11}" = "yes"; then
10143 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 15699 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
10144 15700
10145 if test "X${MISSING}" != X; then 15701 if test "X${MISSING}" != X; then
10146 as_fn_error "The following required libraries were not found: 15702 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found:
15703 $MISSING
15704Maybe some development libraries/packages are missing?
15705If you don't want to link with them give
15706 $WITH_NO
15707as options to configure" >&5
15708$as_echo "$as_me: error: The following required libraries were not found:
10147 $MISSING 15709 $MISSING
10148Maybe some development libraries/packages are missing? 15710Maybe some development libraries/packages are missing?
10149If you don't want to link with them give 15711If you don't want to link with them give
10150 $WITH_NO 15712 $WITH_NO
10151as options to configure" "$LINENO" 5 15713as options to configure" >&2;}
15714 { (exit 1); exit 1; }; }
10152 fi 15715 fi
10153fi 15716fi
10154 15717
@@ -10156,16 +15719,146 @@ fi
10156HAVE_GPM=no 15719HAVE_GPM=no
10157LIBGPM= 15720LIBGPM=
10158if test "${with_gpm}" != "no"; then 15721if test "${with_gpm}" != "no"; then
10159 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 15722 if test "${ac_cv_header_gpm_h+set}" = set; then
10160if test "x$ac_cv_header_gpm_h" = x""yes; then : 15723 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 15724$as_echo_n "checking for gpm.h... " >&6; }
15725if test "${ac_cv_header_gpm_h+set}" = set; then
15726 $as_echo_n "(cached) " >&6
15727fi
15728{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15729$as_echo "$ac_cv_header_gpm_h" >&6; }
15730else
15731 # Is the header compilable?
15732{ $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5
15733$as_echo_n "checking gpm.h usability... " >&6; }
15734cat >conftest.$ac_ext <<_ACEOF
15735/* confdefs.h. */
15736_ACEOF
15737cat confdefs.h >>conftest.$ac_ext
15738cat >>conftest.$ac_ext <<_ACEOF
15739/* end confdefs.h. */
15740$ac_includes_default
15741#include <gpm.h>
15742_ACEOF
15743rm -f conftest.$ac_objext
15744if { (ac_try="$ac_compile"
15745case "(($ac_try" in
15746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15748esac
15749eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15750$as_echo "$ac_try_echo") >&5
15751 (eval "$ac_compile") 2>conftest.er1
15752 ac_status=$?
15753 grep -v '^ *+' conftest.er1 >conftest.err
15754 rm -f conftest.er1
15755 cat conftest.err >&5
15756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } && {
15758 test -z "$ac_c_werror_flag" ||
15759 test ! -s conftest.err
15760 } && test -s conftest.$ac_objext; then
15761 ac_header_compiler=yes
15762else
15763 $as_echo "$as_me: failed program was:" >&5
15764sed 's/^/| /' conftest.$ac_ext >&5
15765
15766 ac_header_compiler=no
15767fi
15768
15769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15771$as_echo "$ac_header_compiler" >&6; }
15772
15773# Is the header present?
15774{ $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5
15775$as_echo_n "checking gpm.h presence... " >&6; }
15776cat >conftest.$ac_ext <<_ACEOF
15777/* confdefs.h. */
15778_ACEOF
15779cat confdefs.h >>conftest.$ac_ext
15780cat >>conftest.$ac_ext <<_ACEOF
15781/* end confdefs.h. */
15782#include <gpm.h>
15783_ACEOF
15784if { (ac_try="$ac_cpp conftest.$ac_ext"
15785case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15788esac
15789eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15790$as_echo "$ac_try_echo") >&5
15791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } >/dev/null && {
15798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15799 test ! -s conftest.err
15800 }; then
15801 ac_header_preproc=yes
15802else
15803 $as_echo "$as_me: failed program was:" >&5
15804sed 's/^/| /' conftest.$ac_ext >&5
15805
15806 ac_header_preproc=no
15807fi
15808
15809rm -f conftest.err conftest.$ac_ext
15810{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15811$as_echo "$ac_header_preproc" >&6; }
15812
15813# So? What about this header?
15814case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15815 yes:no: )
15816 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
15817$as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15818 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
15819$as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
15820 ac_header_preproc=yes
15821 ;;
15822 no:yes:* )
15823 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
15824$as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
15825 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
15826$as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
15827 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
15828$as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
15829 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
15830$as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
15831 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
15832$as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
15833 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
15834$as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
15835
15836 ;;
15837esac
15838{ $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
15839$as_echo_n "checking for gpm.h... " >&6; }
15840if test "${ac_cv_header_gpm_h+set}" = set; then
15841 $as_echo_n "(cached) " >&6
15842else
15843 ac_cv_header_gpm_h=$ac_header_preproc
15844fi
15845{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15846$as_echo "$ac_cv_header_gpm_h" >&6; }
15847
15848fi
15849if test $ac_cv_header_gpm_h = yes; then
15850 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
10162$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 15851$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
10163if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 15852if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
10164 $as_echo_n "(cached) " >&6 15853 $as_echo_n "(cached) " >&6
10165else 15854else
10166 ac_check_lib_save_LIBS=$LIBS 15855 ac_check_lib_save_LIBS=$LIBS
10167LIBS="-lgpm $LIBS" 15856LIBS="-lgpm $LIBS"
10168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15857cat >conftest.$ac_ext <<_ACEOF
15858/* confdefs.h. */
15859_ACEOF
15860cat confdefs.h >>conftest.$ac_ext
15861cat >>conftest.$ac_ext <<_ACEOF
10169/* end confdefs.h. */ 15862/* end confdefs.h. */
10170 15863
10171/* Override any GCC internal prototype to avoid an error. 15864/* Override any GCC internal prototype to avoid an error.
@@ -10183,18 +15876,43 @@ return Gpm_Open ();
10183 return 0; 15876 return 0;
10184} 15877}
10185_ACEOF 15878_ACEOF
10186if ac_fn_c_try_link "$LINENO"; then : 15879rm -f conftest.$ac_objext conftest$ac_exeext
15880if { (ac_try="$ac_link"
15881case "(($ac_try" in
15882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15883 *) ac_try_echo=$ac_try;;
15884esac
15885eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15886$as_echo "$ac_try_echo") >&5
15887 (eval "$ac_link") 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && {
15894 test -z "$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 } && test -s conftest$ac_exeext && {
15897 test "$cross_compiling" = yes ||
15898 $as_test_x conftest$ac_exeext
15899 }; then
10187 ac_cv_lib_gpm_Gpm_Open=yes 15900 ac_cv_lib_gpm_Gpm_Open=yes
10188else 15901else
10189 ac_cv_lib_gpm_Gpm_Open=no 15902 $as_echo "$as_me: failed program was:" >&5
15903sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 ac_cv_lib_gpm_Gpm_Open=no
10190fi 15906fi
10191rm -f core conftest.err conftest.$ac_objext \ 15907
10192 conftest$ac_exeext conftest.$ac_ext 15908rm -rf conftest.dSYM
15909rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15910 conftest$ac_exeext conftest.$ac_ext
10193LIBS=$ac_check_lib_save_LIBS 15911LIBS=$ac_check_lib_save_LIBS
10194fi 15912fi
10195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 15913{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
10196$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 15914$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
10197if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 15915if test $ac_cv_lib_gpm_Gpm_Open = yes; then
10198 HAVE_GPM=yes 15916 HAVE_GPM=yes
10199fi 15917fi
10200 15918
@@ -10204,17 +15922,147 @@ fi
10204 15922
10205 if test "${HAVE_GPM}" = "yes"; then 15923 if test "${HAVE_GPM}" = "yes"; then
10206 15924
10207$as_echo "#define HAVE_GPM 1" >>confdefs.h 15925cat >>confdefs.h <<\_ACEOF
15926#define HAVE_GPM 1
15927_ACEOF
10208 15928
10209 LIBGPM=-lgpm 15929 LIBGPM=-lgpm
10210 fi 15930 fi
10211fi 15931fi
10212 15932
10213 15933
10214ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" 15934if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
10215if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : 15935 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15936$as_echo_n "checking for malloc/malloc.h... " >&6; }
15937if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15938 $as_echo_n "(cached) " >&6
15939fi
15940{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15941$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
15942else
15943 # Is the header compilable?
15944{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
15945$as_echo_n "checking malloc/malloc.h usability... " >&6; }
15946cat >conftest.$ac_ext <<_ACEOF
15947/* confdefs.h. */
15948_ACEOF
15949cat confdefs.h >>conftest.$ac_ext
15950cat >>conftest.$ac_ext <<_ACEOF
15951/* end confdefs.h. */
15952$ac_includes_default
15953#include <malloc/malloc.h>
15954_ACEOF
15955rm -f conftest.$ac_objext
15956if { (ac_try="$ac_compile"
15957case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15960esac
15961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15962$as_echo "$ac_try_echo") >&5
15963 (eval "$ac_compile") 2>conftest.er1
15964 ac_status=$?
15965 grep -v '^ *+' conftest.er1 >conftest.err
15966 rm -f conftest.er1
15967 cat conftest.err >&5
15968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } && {
15970 test -z "$ac_c_werror_flag" ||
15971 test ! -s conftest.err
15972 } && test -s conftest.$ac_objext; then
15973 ac_header_compiler=yes
15974else
15975 $as_echo "$as_me: failed program was:" >&5
15976sed 's/^/| /' conftest.$ac_ext >&5
15977
15978 ac_header_compiler=no
15979fi
15980
15981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15982{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15983$as_echo "$ac_header_compiler" >&6; }
15984
15985# Is the header present?
15986{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
15987$as_echo_n "checking malloc/malloc.h presence... " >&6; }
15988cat >conftest.$ac_ext <<_ACEOF
15989/* confdefs.h. */
15990_ACEOF
15991cat confdefs.h >>conftest.$ac_ext
15992cat >>conftest.$ac_ext <<_ACEOF
15993/* end confdefs.h. */
15994#include <malloc/malloc.h>
15995_ACEOF
15996if { (ac_try="$ac_cpp conftest.$ac_ext"
15997case "(($ac_try" in
15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15999 *) ac_try_echo=$ac_try;;
16000esac
16001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16002$as_echo "$ac_try_echo") >&5
16003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16004 ac_status=$?
16005 grep -v '^ *+' conftest.er1 >conftest.err
16006 rm -f conftest.er1
16007 cat conftest.err >&5
16008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } >/dev/null && {
16010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16011 test ! -s conftest.err
16012 }; then
16013 ac_header_preproc=yes
16014else
16015 $as_echo "$as_me: failed program was:" >&5
16016sed 's/^/| /' conftest.$ac_ext >&5
16017
16018 ac_header_preproc=no
16019fi
16020
16021rm -f conftest.err conftest.$ac_ext
16022{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16023$as_echo "$ac_header_preproc" >&6; }
16024
16025# So? What about this header?
16026case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16027 yes:no: )
16028 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
16029$as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16030 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
16031$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
16032 ac_header_preproc=yes
16033 ;;
16034 no:yes:* )
16035 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
16036$as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
16037 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
16038$as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
16039 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
16040$as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
16041 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
16042$as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
16043 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
16044$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
16045 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
16046$as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
10216 16047
10217$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h 16048 ;;
16049esac
16050{ $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
16051$as_echo_n "checking for malloc/malloc.h... " >&6; }
16052if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
16053 $as_echo_n "(cached) " >&6
16054else
16055 ac_cv_header_malloc_malloc_h=$ac_header_preproc
16056fi
16057{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
16058$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
16059
16060fi
16061if test $ac_cv_header_malloc_malloc_h = yes; then
16062
16063cat >>confdefs.h <<\_ACEOF
16064#define HAVE_MALLOC_MALLOC_H 1
16065_ACEOF
10218 16066
10219fi 16067fi
10220 16068
@@ -10223,23 +16071,31 @@ fi
10223### Use NeXTstep API to implement GUI. 16071### Use NeXTstep API to implement GUI.
10224if test "${HAVE_NS}" = "yes"; then 16072if test "${HAVE_NS}" = "yes"; then
10225 16073
10226$as_echo "#define HAVE_NS 1" >>confdefs.h 16074cat >>confdefs.h <<\_ACEOF
16075#define HAVE_NS 1
16076_ACEOF
10227 16077
10228 if test "${NS_IMPL_COCOA}" = "yes"; then 16078 if test "${NS_IMPL_COCOA}" = "yes"; then
10229 16079
10230$as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h 16080cat >>confdefs.h <<\_ACEOF
16081#define NS_IMPL_COCOA 1
16082_ACEOF
10231 16083
10232 GNU_OBJC_CFLAGS= 16084 GNU_OBJC_CFLAGS=
10233 fi 16085 fi
10234 if test "${NS_IMPL_GNUSTEP}" = "yes"; then 16086 if test "${NS_IMPL_GNUSTEP}" = "yes"; then
10235 16087
10236$as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h 16088cat >>confdefs.h <<\_ACEOF
16089#define NS_IMPL_GNUSTEP 1
16090_ACEOF
10237 16091
10238 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" 16092 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE"
10239 fi 16093 fi
10240 if test "${NS_HAVE_NSINTEGER}" = "yes"; then 16094 if test "${NS_HAVE_NSINTEGER}" = "yes"; then
10241 16095
10242$as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h 16096cat >>confdefs.h <<\_ACEOF
16097#define NS_HAVE_NSINTEGER 1
16098_ACEOF
10243 16099
10244 fi 16100 fi
10245 # We also have mouse menus. 16101 # We also have mouse menus.
@@ -10252,16 +16108,146 @@ fi
10252HAVE_X_SM=no 16108HAVE_X_SM=no
10253LIBXSM= 16109LIBXSM=
10254if test "${HAVE_X11}" = "yes"; then 16110if test "${HAVE_X11}" = "yes"; then
10255 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" 16111 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
10256if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : 16112 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 16113$as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
16114if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16115 $as_echo_n "(cached) " >&6
16116fi
16117{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16118$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16119else
16120 # Is the header compilable?
16121{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
16122$as_echo_n "checking X11/SM/SMlib.h usability... " >&6; }
16123cat >conftest.$ac_ext <<_ACEOF
16124/* confdefs.h. */
16125_ACEOF
16126cat confdefs.h >>conftest.$ac_ext
16127cat >>conftest.$ac_ext <<_ACEOF
16128/* end confdefs.h. */
16129$ac_includes_default
16130#include <X11/SM/SMlib.h>
16131_ACEOF
16132rm -f conftest.$ac_objext
16133if { (ac_try="$ac_compile"
16134case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16137esac
16138eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16139$as_echo "$ac_try_echo") >&5
16140 (eval "$ac_compile") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest.$ac_objext; then
16150 ac_header_compiler=yes
16151else
16152 $as_echo "$as_me: failed program was:" >&5
16153sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 ac_header_compiler=no
16156fi
16157
16158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16159{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16160$as_echo "$ac_header_compiler" >&6; }
16161
16162# Is the header present?
16163{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
16164$as_echo_n "checking X11/SM/SMlib.h presence... " >&6; }
16165cat >conftest.$ac_ext <<_ACEOF
16166/* confdefs.h. */
16167_ACEOF
16168cat confdefs.h >>conftest.$ac_ext
16169cat >>conftest.$ac_ext <<_ACEOF
16170/* end confdefs.h. */
16171#include <X11/SM/SMlib.h>
16172_ACEOF
16173if { (ac_try="$ac_cpp conftest.$ac_ext"
16174case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16176 *) ac_try_echo=$ac_try;;
16177esac
16178eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16179$as_echo "$ac_try_echo") >&5
16180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16181 ac_status=$?
16182 grep -v '^ *+' conftest.er1 >conftest.err
16183 rm -f conftest.er1
16184 cat conftest.err >&5
16185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } >/dev/null && {
16187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16188 test ! -s conftest.err
16189 }; then
16190 ac_header_preproc=yes
16191else
16192 $as_echo "$as_me: failed program was:" >&5
16193sed 's/^/| /' conftest.$ac_ext >&5
16194
16195 ac_header_preproc=no
16196fi
16197
16198rm -f conftest.err conftest.$ac_ext
16199{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16200$as_echo "$ac_header_preproc" >&6; }
16201
16202# So? What about this header?
16203case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16204 yes:no: )
16205 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16206$as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16207 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
16208$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
16209 ac_header_preproc=yes
16210 ;;
16211 no:yes:* )
16212 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
16213$as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
16214 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
16215$as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
16216 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
16217$as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
16218 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
16219$as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16220 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
16221$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
16222 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
16223$as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
16224
16225 ;;
16226esac
16227{ $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
16228$as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
16229if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16230 $as_echo_n "(cached) " >&6
16231else
16232 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
16233fi
16234{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16235$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16236
16237fi
16238if test $ac_cv_header_X11_SM_SMlib_h = yes; then
16239 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
10258$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 16240$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
10259if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : 16241if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
10260 $as_echo_n "(cached) " >&6 16242 $as_echo_n "(cached) " >&6
10261else 16243else
10262 ac_check_lib_save_LIBS=$LIBS 16244 ac_check_lib_save_LIBS=$LIBS
10263LIBS="-lSM -lICE $LIBS" 16245LIBS="-lSM -lICE $LIBS"
10264cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16246cat >conftest.$ac_ext <<_ACEOF
16247/* confdefs.h. */
16248_ACEOF
16249cat confdefs.h >>conftest.$ac_ext
16250cat >>conftest.$ac_ext <<_ACEOF
10265/* end confdefs.h. */ 16251/* end confdefs.h. */
10266 16252
10267/* Override any GCC internal prototype to avoid an error. 16253/* Override any GCC internal prototype to avoid an error.
@@ -10279,18 +16265,43 @@ return SmcOpenConnection ();
10279 return 0; 16265 return 0;
10280} 16266}
10281_ACEOF 16267_ACEOF
10282if ac_fn_c_try_link "$LINENO"; then : 16268rm -f conftest.$ac_objext conftest$ac_exeext
16269if { (ac_try="$ac_link"
16270case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273esac
16274eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16275$as_echo "$ac_try_echo") >&5
16276 (eval "$ac_link") 2>conftest.er1
16277 ac_status=$?
16278 grep -v '^ *+' conftest.er1 >conftest.err
16279 rm -f conftest.er1
16280 cat conftest.err >&5
16281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } && {
16283 test -z "$ac_c_werror_flag" ||
16284 test ! -s conftest.err
16285 } && test -s conftest$ac_exeext && {
16286 test "$cross_compiling" = yes ||
16287 $as_test_x conftest$ac_exeext
16288 }; then
10283 ac_cv_lib_SM_SmcOpenConnection=yes 16289 ac_cv_lib_SM_SmcOpenConnection=yes
10284else 16290else
10285 ac_cv_lib_SM_SmcOpenConnection=no 16291 $as_echo "$as_me: failed program was:" >&5
16292sed 's/^/| /' conftest.$ac_ext >&5
16293
16294 ac_cv_lib_SM_SmcOpenConnection=no
10286fi 16295fi
10287rm -f core conftest.err conftest.$ac_objext \ 16296
10288 conftest$ac_exeext conftest.$ac_ext 16297rm -rf conftest.dSYM
16298rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16299 conftest$ac_exeext conftest.$ac_ext
10289LIBS=$ac_check_lib_save_LIBS 16300LIBS=$ac_check_lib_save_LIBS
10290fi 16301fi
10291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 16302{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
10292$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 16303$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
10293if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : 16304if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
10294 HAVE_X_SM=yes 16305 HAVE_X_SM=yes
10295fi 16306fi
10296 16307
@@ -10300,7 +16311,9 @@ fi
10300 16311
10301 if test "${HAVE_X_SM}" = "yes"; then 16312 if test "${HAVE_X_SM}" = "yes"; then
10302 16313
10303$as_echo "#define HAVE_X_SM 1" >>confdefs.h 16314cat >>confdefs.h <<\_ACEOF
16315#define HAVE_X_SM 1
16316_ACEOF
10304 16317
10305 LIBXSM="-lSM -lICE" 16318 LIBXSM="-lSM -lICE"
10306 case "$LIBS" in 16319 case "$LIBS" in
@@ -10312,12 +16325,16 @@ fi
10312 16325
10313 16326
10314# If netdb.h doesn't declare h_errno, we must declare it by hand. 16327# If netdb.h doesn't declare h_errno, we must declare it by hand.
10315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 16328{ $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
10316$as_echo_n "checking whether netdb declares h_errno... " >&6; } 16329$as_echo_n "checking whether netdb declares h_errno... " >&6; }
10317if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : 16330if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
10318 $as_echo_n "(cached) " >&6 16331 $as_echo_n "(cached) " >&6
10319else 16332else
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16333 cat >conftest.$ac_ext <<_ACEOF
16334/* confdefs.h. */
16335_ACEOF
16336cat confdefs.h >>conftest.$ac_ext
16337cat >>conftest.$ac_ext <<_ACEOF
10321/* end confdefs.h. */ 16338/* end confdefs.h. */
10322#include <netdb.h> 16339#include <netdb.h>
10323int 16340int
@@ -10328,30 +16345,61 @@ return h_errno;
10328 return 0; 16345 return 0;
10329} 16346}
10330_ACEOF 16347_ACEOF
10331if ac_fn_c_try_link "$LINENO"; then : 16348rm -f conftest.$ac_objext conftest$ac_exeext
16349if { (ac_try="$ac_link"
16350case "(($ac_try" in
16351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16352 *) ac_try_echo=$ac_try;;
16353esac
16354eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16355$as_echo "$ac_try_echo") >&5
16356 (eval "$ac_link") 2>conftest.er1
16357 ac_status=$?
16358 grep -v '^ *+' conftest.er1 >conftest.err
16359 rm -f conftest.er1
16360 cat conftest.err >&5
16361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); } && {
16363 test -z "$ac_c_werror_flag" ||
16364 test ! -s conftest.err
16365 } && test -s conftest$ac_exeext && {
16366 test "$cross_compiling" = yes ||
16367 $as_test_x conftest$ac_exeext
16368 }; then
10332 emacs_cv_netdb_declares_h_errno=yes 16369 emacs_cv_netdb_declares_h_errno=yes
10333else 16370else
10334 emacs_cv_netdb_declares_h_errno=no 16371 $as_echo "$as_me: failed program was:" >&5
16372sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 emacs_cv_netdb_declares_h_errno=no
10335fi 16375fi
10336rm -f core conftest.err conftest.$ac_objext \ 16376
10337 conftest$ac_exeext conftest.$ac_ext 16377rm -rf conftest.dSYM
16378rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16379 conftest$ac_exeext conftest.$ac_ext
10338fi 16380fi
10339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 16381{ $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
10340$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } 16382$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; }
10341if test $emacs_cv_netdb_declares_h_errno = yes; then 16383if test $emacs_cv_netdb_declares_h_errno = yes; then
10342 16384
10343$as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h 16385cat >>confdefs.h <<\_ACEOF
16386#define HAVE_H_ERRNO 1
16387_ACEOF
10344 16388
10345fi 16389fi
10346 16390
10347# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 16391# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10348# for constant arguments. Useless! 16392# for constant arguments. Useless!
10349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 16393{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
10350$as_echo_n "checking for working alloca.h... " >&6; } 16394$as_echo_n "checking for working alloca.h... " >&6; }
10351if test "${ac_cv_working_alloca_h+set}" = set; then : 16395if test "${ac_cv_working_alloca_h+set}" = set; then
10352 $as_echo_n "(cached) " >&6 16396 $as_echo_n "(cached) " >&6
10353else 16397else
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16398 cat >conftest.$ac_ext <<_ACEOF
16399/* confdefs.h. */
16400_ACEOF
16401cat confdefs.h >>conftest.$ac_ext
16402cat >>conftest.$ac_ext <<_ACEOF
10355/* end confdefs.h. */ 16403/* end confdefs.h. */
10356#include <alloca.h> 16404#include <alloca.h>
10357int 16405int
@@ -10363,28 +16411,59 @@ char *p = (char *) alloca (2 * sizeof (int));
10363 return 0; 16411 return 0;
10364} 16412}
10365_ACEOF 16413_ACEOF
10366if ac_fn_c_try_link "$LINENO"; then : 16414rm -f conftest.$ac_objext conftest$ac_exeext
16415if { (ac_try="$ac_link"
16416case "(($ac_try" in
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;;
16419esac
16420eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16421$as_echo "$ac_try_echo") >&5
16422 (eval "$ac_link") 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && {
16429 test -z "$ac_c_werror_flag" ||
16430 test ! -s conftest.err
16431 } && test -s conftest$ac_exeext && {
16432 test "$cross_compiling" = yes ||
16433 $as_test_x conftest$ac_exeext
16434 }; then
10367 ac_cv_working_alloca_h=yes 16435 ac_cv_working_alloca_h=yes
10368else 16436else
10369 ac_cv_working_alloca_h=no 16437 $as_echo "$as_me: failed program was:" >&5
16438sed 's/^/| /' conftest.$ac_ext >&5
16439
16440 ac_cv_working_alloca_h=no
10370fi 16441fi
10371rm -f core conftest.err conftest.$ac_objext \ 16442
10372 conftest$ac_exeext conftest.$ac_ext 16443rm -rf conftest.dSYM
16444rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16445 conftest$ac_exeext conftest.$ac_ext
10373fi 16446fi
10374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 16447{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
10375$as_echo "$ac_cv_working_alloca_h" >&6; } 16448$as_echo "$ac_cv_working_alloca_h" >&6; }
10376if test $ac_cv_working_alloca_h = yes; then 16449if test $ac_cv_working_alloca_h = yes; then
10377 16450
10378$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 16451cat >>confdefs.h <<\_ACEOF
16452#define HAVE_ALLOCA_H 1
16453_ACEOF
10379 16454
10380fi 16455fi
10381 16456
10382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 16457{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
10383$as_echo_n "checking for alloca... " >&6; } 16458$as_echo_n "checking for alloca... " >&6; }
10384if test "${ac_cv_func_alloca_works+set}" = set; then : 16459if test "${ac_cv_func_alloca_works+set}" = set; then
10385 $as_echo_n "(cached) " >&6 16460 $as_echo_n "(cached) " >&6
10386else 16461else
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16462 cat >conftest.$ac_ext <<_ACEOF
16463/* confdefs.h. */
16464_ACEOF
16465cat confdefs.h >>conftest.$ac_ext
16466cat >>conftest.$ac_ext <<_ACEOF
10388/* end confdefs.h. */ 16467/* end confdefs.h. */
10389#ifdef __GNUC__ 16468#ifdef __GNUC__
10390# define alloca __builtin_alloca 16469# define alloca __builtin_alloca
@@ -10416,20 +16495,47 @@ char *p = (char *) alloca (1);
10416 return 0; 16495 return 0;
10417} 16496}
10418_ACEOF 16497_ACEOF
10419if ac_fn_c_try_link "$LINENO"; then : 16498rm -f conftest.$ac_objext conftest$ac_exeext
16499if { (ac_try="$ac_link"
16500case "(($ac_try" in
16501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16502 *) ac_try_echo=$ac_try;;
16503esac
16504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16505$as_echo "$ac_try_echo") >&5
16506 (eval "$ac_link") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest$ac_exeext && {
16516 test "$cross_compiling" = yes ||
16517 $as_test_x conftest$ac_exeext
16518 }; then
10420 ac_cv_func_alloca_works=yes 16519 ac_cv_func_alloca_works=yes
10421else 16520else
10422 ac_cv_func_alloca_works=no 16521 $as_echo "$as_me: failed program was:" >&5
16522sed 's/^/| /' conftest.$ac_ext >&5
16523
16524 ac_cv_func_alloca_works=no
10423fi 16525fi
10424rm -f core conftest.err conftest.$ac_objext \ 16526
10425 conftest$ac_exeext conftest.$ac_ext 16527rm -rf conftest.dSYM
16528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16529 conftest$ac_exeext conftest.$ac_ext
10426fi 16530fi
10427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 16531{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
10428$as_echo "$ac_cv_func_alloca_works" >&6; } 16532$as_echo "$ac_cv_func_alloca_works" >&6; }
10429 16533
10430if test $ac_cv_func_alloca_works = yes; then 16534if test $ac_cv_func_alloca_works = yes; then
10431 16535
10432$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 16536cat >>confdefs.h <<\_ACEOF
16537#define HAVE_ALLOCA 1
16538_ACEOF
10433 16539
10434else 16540else
10435 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 16541 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
@@ -10439,15 +16545,21 @@ else
10439 16545
10440ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 16546ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
10441 16547
10442$as_echo "#define C_ALLOCA 1" >>confdefs.h 16548cat >>confdefs.h <<\_ACEOF
16549#define C_ALLOCA 1
16550_ACEOF
10443 16551
10444 16552
10445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 16553{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
10446$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 16554$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
10447if test "${ac_cv_os_cray+set}" = set; then : 16555if test "${ac_cv_os_cray+set}" = set; then
10448 $as_echo_n "(cached) " >&6 16556 $as_echo_n "(cached) " >&6
10449else 16557else
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16558 cat >conftest.$ac_ext <<_ACEOF
16559/* confdefs.h. */
16560_ACEOF
16561cat confdefs.h >>conftest.$ac_ext
16562cat >>conftest.$ac_ext <<_ACEOF
10451/* end confdefs.h. */ 16563/* end confdefs.h. */
10452#if defined CRAY && ! defined CRAY2 16564#if defined CRAY && ! defined CRAY2
10453webecray 16565webecray
@@ -10457,7 +16569,7 @@ wenotbecray
10457 16569
10458_ACEOF 16570_ACEOF
10459if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 16571if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10460 $EGREP "webecray" >/dev/null 2>&1; then : 16572 $EGREP "webecray" >/dev/null 2>&1; then
10461 ac_cv_os_cray=yes 16573 ac_cv_os_cray=yes
10462else 16574else
10463 ac_cv_os_cray=no 16575 ac_cv_os_cray=no
@@ -10465,14 +16577,100 @@ fi
10465rm -f conftest* 16577rm -f conftest*
10466 16578
10467fi 16579fi
10468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 16580{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
10469$as_echo "$ac_cv_os_cray" >&6; } 16581$as_echo "$ac_cv_os_cray" >&6; }
10470if test $ac_cv_os_cray = yes; then 16582if test $ac_cv_os_cray = yes; then
10471 for ac_func in _getb67 GETB67 getb67; do 16583 for ac_func in _getb67 GETB67 getb67; do
10472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10473ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16585{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10474eval as_val=\$$as_ac_var 16586$as_echo_n "checking for $ac_func... " >&6; }
10475 if test "x$as_val" = x""yes; then : 16587if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16588 $as_echo_n "(cached) " >&6
16589else
16590 cat >conftest.$ac_ext <<_ACEOF
16591/* confdefs.h. */
16592_ACEOF
16593cat confdefs.h >>conftest.$ac_ext
16594cat >>conftest.$ac_ext <<_ACEOF
16595/* end confdefs.h. */
16596/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16598#define $ac_func innocuous_$ac_func
16599
16600/* System header to define __stub macros and hopefully few prototypes,
16601 which can conflict with char $ac_func (); below.
16602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16603 <limits.h> exists even on freestanding compilers. */
16604
16605#ifdef __STDC__
16606# include <limits.h>
16607#else
16608# include <assert.h>
16609#endif
16610
16611#undef $ac_func
16612
16613/* Override any GCC internal prototype to avoid an error.
16614 Use char because int might match the return type of a GCC
16615 builtin and then its argument prototype would still apply. */
16616#ifdef __cplusplus
16617extern "C"
16618#endif
16619char $ac_func ();
16620/* The GNU C library defines this for functions which it implements
16621 to always fail with ENOSYS. Some functions are actually named
16622 something starting with __ and the normal name is an alias. */
16623#if defined __stub_$ac_func || defined __stub___$ac_func
16624choke me
16625#endif
16626
16627int
16628main ()
16629{
16630return $ac_func ();
16631 ;
16632 return 0;
16633}
16634_ACEOF
16635rm -f conftest.$ac_objext conftest$ac_exeext
16636if { (ac_try="$ac_link"
16637case "(($ac_try" in
16638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16639 *) ac_try_echo=$ac_try;;
16640esac
16641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16642$as_echo "$ac_try_echo") >&5
16643 (eval "$ac_link") 2>conftest.er1
16644 ac_status=$?
16645 grep -v '^ *+' conftest.er1 >conftest.err
16646 rm -f conftest.er1
16647 cat conftest.err >&5
16648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } && {
16650 test -z "$ac_c_werror_flag" ||
16651 test ! -s conftest.err
16652 } && test -s conftest$ac_exeext && {
16653 test "$cross_compiling" = yes ||
16654 $as_test_x conftest$ac_exeext
16655 }; then
16656 eval "$as_ac_var=yes"
16657else
16658 $as_echo "$as_me: failed program was:" >&5
16659sed 's/^/| /' conftest.$ac_ext >&5
16660
16661 eval "$as_ac_var=no"
16662fi
16663
16664rm -rf conftest.dSYM
16665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16666 conftest$ac_exeext conftest.$ac_ext
16667fi
16668ac_res=`eval 'as_val=${'$as_ac_var'}
16669 $as_echo "$as_val"'`
16670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16671$as_echo "$ac_res" >&6; }
16672if test `eval 'as_val=${'$as_ac_var'}
16673 $as_echo "$as_val"'` = yes; then
10476 16674
10477cat >>confdefs.h <<_ACEOF 16675cat >>confdefs.h <<_ACEOF
10478#define CRAY_STACKSEG_END $ac_func 16676#define CRAY_STACKSEG_END $ac_func
@@ -10484,15 +16682,19 @@ fi
10484 done 16682 done
10485fi 16683fi
10486 16684
10487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 16685{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
10488$as_echo_n "checking stack direction for C alloca... " >&6; } 16686$as_echo_n "checking stack direction for C alloca... " >&6; }
10489if test "${ac_cv_c_stack_direction+set}" = set; then : 16687if test "${ac_cv_c_stack_direction+set}" = set; then
10490 $as_echo_n "(cached) " >&6 16688 $as_echo_n "(cached) " >&6
10491else 16689else
10492 if test "$cross_compiling" = yes; then : 16690 if test "$cross_compiling" = yes; then
10493 ac_cv_c_stack_direction=0 16691 ac_cv_c_stack_direction=0
10494else 16692else
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16693 cat >conftest.$ac_ext <<_ACEOF
16694/* confdefs.h. */
16695_ACEOF
16696cat confdefs.h >>conftest.$ac_ext
16697cat >>conftest.$ac_ext <<_ACEOF
10496/* end confdefs.h. */ 16698/* end confdefs.h. */
10497$ac_includes_default 16699$ac_includes_default
10498int 16700int
@@ -10515,18 +16717,46 @@ main ()
10515 return find_stack_direction () < 0; 16717 return find_stack_direction () < 0;
10516} 16718}
10517_ACEOF 16719_ACEOF
10518if ac_fn_c_try_run "$LINENO"; then : 16720rm -f conftest$ac_exeext
16721if { (ac_try="$ac_link"
16722case "(($ac_try" in
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16725esac
16726eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16727$as_echo "$ac_try_echo") >&5
16728 (eval "$ac_link") 2>&5
16729 ac_status=$?
16730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16732 { (case "(($ac_try" in
16733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16734 *) ac_try_echo=$ac_try;;
16735esac
16736eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16737$as_echo "$ac_try_echo") >&5
16738 (eval "$ac_try") 2>&5
16739 ac_status=$?
16740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
10519 ac_cv_c_stack_direction=1 16742 ac_cv_c_stack_direction=1
10520else 16743else
10521 ac_cv_c_stack_direction=-1 16744 $as_echo "$as_me: program exited with status $ac_status" >&5
16745$as_echo "$as_me: failed program was:" >&5
16746sed 's/^/| /' conftest.$ac_ext >&5
16747
16748( exit $ac_status )
16749ac_cv_c_stack_direction=-1
10522fi 16750fi
10523rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 16751rm -rf conftest.dSYM
10524 conftest.$ac_objext conftest.beam conftest.$ac_ext 16752rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10525fi 16753fi
10526 16754
16755
10527fi 16756fi
10528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 16757{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
10529$as_echo "$ac_cv_c_stack_direction" >&6; } 16758$as_echo "$ac_cv_c_stack_direction" >&6; }
16759
10530cat >>confdefs.h <<_ACEOF 16760cat >>confdefs.h <<_ACEOF
10531#define STACK_DIRECTION $ac_cv_c_stack_direction 16761#define STACK_DIRECTION $ac_cv_c_stack_direction
10532_ACEOF 16762_ACEOF
@@ -10536,19 +16766,26 @@ fi
10536 16766
10537 16767
10538if test x"$ac_cv_func_alloca_works" != xyes; then 16768if test x"$ac_cv_func_alloca_works" != xyes; then
10539 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 16769 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5
16770$as_echo "$as_me: error: a system implementation of alloca is required " >&2;}
16771 { (exit 1); exit 1; }; }
10540fi 16772fi
10541 16773
10542# fmod, logb, and frexp are found in -lm on most systems. 16774# fmod, logb, and frexp are found in -lm on most systems.
10543# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 16775# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
10544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 16776
16777{ $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
10545$as_echo_n "checking for sqrt in -lm... " >&6; } 16778$as_echo_n "checking for sqrt in -lm... " >&6; }
10546if test "${ac_cv_lib_m_sqrt+set}" = set; then : 16779if test "${ac_cv_lib_m_sqrt+set}" = set; then
10547 $as_echo_n "(cached) " >&6 16780 $as_echo_n "(cached) " >&6
10548else 16781else
10549 ac_check_lib_save_LIBS=$LIBS 16782 ac_check_lib_save_LIBS=$LIBS
10550LIBS="-lm $LIBS" 16783LIBS="-lm $LIBS"
10551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16784cat >conftest.$ac_ext <<_ACEOF
16785/* confdefs.h. */
16786_ACEOF
16787cat confdefs.h >>conftest.$ac_ext
16788cat >>conftest.$ac_ext <<_ACEOF
10552/* end confdefs.h. */ 16789/* end confdefs.h. */
10553 16790
10554/* Override any GCC internal prototype to avoid an error. 16791/* Override any GCC internal prototype to avoid an error.
@@ -10566,18 +16803,43 @@ return sqrt ();
10566 return 0; 16803 return 0;
10567} 16804}
10568_ACEOF 16805_ACEOF
10569if ac_fn_c_try_link "$LINENO"; then : 16806rm -f conftest.$ac_objext conftest$ac_exeext
16807if { (ac_try="$ac_link"
16808case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16811esac
16812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16813$as_echo "$ac_try_echo") >&5
16814 (eval "$ac_link") 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_c_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest$ac_exeext && {
16824 test "$cross_compiling" = yes ||
16825 $as_test_x conftest$ac_exeext
16826 }; then
10570 ac_cv_lib_m_sqrt=yes 16827 ac_cv_lib_m_sqrt=yes
10571else 16828else
10572 ac_cv_lib_m_sqrt=no 16829 $as_echo "$as_me: failed program was:" >&5
16830sed 's/^/| /' conftest.$ac_ext >&5
16831
16832 ac_cv_lib_m_sqrt=no
10573fi 16833fi
10574rm -f core conftest.err conftest.$ac_objext \ 16834
10575 conftest$ac_exeext conftest.$ac_ext 16835rm -rf conftest.dSYM
16836rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16837 conftest$ac_exeext conftest.$ac_ext
10576LIBS=$ac_check_lib_save_LIBS 16838LIBS=$ac_check_lib_save_LIBS
10577fi 16839fi
10578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 16840{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
10579$as_echo "$ac_cv_lib_m_sqrt" >&6; } 16841$as_echo "$ac_cv_lib_m_sqrt" >&6; }
10580if test "x$ac_cv_lib_m_sqrt" = x""yes; then : 16842if test $ac_cv_lib_m_sqrt = yes; then
10581 cat >>confdefs.h <<_ACEOF 16843 cat >>confdefs.h <<_ACEOF
10582#define HAVE_LIBM 1 16844#define HAVE_LIBM 1
10583_ACEOF 16845_ACEOF
@@ -10589,14 +16851,18 @@ fi
10589 16851
10590# Check for mail-locking functions in a "mail" library. Probably this should 16852# Check for mail-locking functions in a "mail" library. Probably this should
10591# have the same check as for liblockfile below. 16853# have the same check as for liblockfile below.
10592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 16854{ $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
10593$as_echo_n "checking for maillock in -lmail... " >&6; } 16855$as_echo_n "checking for maillock in -lmail... " >&6; }
10594if test "${ac_cv_lib_mail_maillock+set}" = set; then : 16856if test "${ac_cv_lib_mail_maillock+set}" = set; then
10595 $as_echo_n "(cached) " >&6 16857 $as_echo_n "(cached) " >&6
10596else 16858else
10597 ac_check_lib_save_LIBS=$LIBS 16859 ac_check_lib_save_LIBS=$LIBS
10598LIBS="-lmail $LIBS" 16860LIBS="-lmail $LIBS"
10599cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16861cat >conftest.$ac_ext <<_ACEOF
16862/* confdefs.h. */
16863_ACEOF
16864cat confdefs.h >>conftest.$ac_ext
16865cat >>conftest.$ac_ext <<_ACEOF
10600/* end confdefs.h. */ 16866/* end confdefs.h. */
10601 16867
10602/* Override any GCC internal prototype to avoid an error. 16868/* Override any GCC internal prototype to avoid an error.
@@ -10614,18 +16880,43 @@ return maillock ();
10614 return 0; 16880 return 0;
10615} 16881}
10616_ACEOF 16882_ACEOF
10617if ac_fn_c_try_link "$LINENO"; then : 16883rm -f conftest.$ac_objext conftest$ac_exeext
16884if { (ac_try="$ac_link"
16885case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16888esac
16889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16890$as_echo "$ac_try_echo") >&5
16891 (eval "$ac_link") 2>conftest.er1
16892 ac_status=$?
16893 grep -v '^ *+' conftest.er1 >conftest.err
16894 rm -f conftest.er1
16895 cat conftest.err >&5
16896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } && {
16898 test -z "$ac_c_werror_flag" ||
16899 test ! -s conftest.err
16900 } && test -s conftest$ac_exeext && {
16901 test "$cross_compiling" = yes ||
16902 $as_test_x conftest$ac_exeext
16903 }; then
10618 ac_cv_lib_mail_maillock=yes 16904 ac_cv_lib_mail_maillock=yes
10619else 16905else
10620 ac_cv_lib_mail_maillock=no 16906 $as_echo "$as_me: failed program was:" >&5
16907sed 's/^/| /' conftest.$ac_ext >&5
16908
16909 ac_cv_lib_mail_maillock=no
10621fi 16910fi
10622rm -f core conftest.err conftest.$ac_objext \ 16911
10623 conftest$ac_exeext conftest.$ac_ext 16912rm -rf conftest.dSYM
16913rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16914 conftest$ac_exeext conftest.$ac_ext
10624LIBS=$ac_check_lib_save_LIBS 16915LIBS=$ac_check_lib_save_LIBS
10625fi 16916fi
10626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 16917{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
10627$as_echo "$ac_cv_lib_mail_maillock" >&6; } 16918$as_echo "$ac_cv_lib_mail_maillock" >&6; }
10628if test "x$ac_cv_lib_mail_maillock" = x""yes; then : 16919if test $ac_cv_lib_mail_maillock = yes; then
10629 have_mail=yes 16920 have_mail=yes
10630else 16921else
10631 have_mail=no 16922 have_mail=no
@@ -10635,19 +16926,25 @@ if test $have_mail = yes; then
10635 LIBS_MAIL=-lmail 16926 LIBS_MAIL=-lmail
10636 LIBS="$LIBS_MAIL $LIBS" 16927 LIBS="$LIBS_MAIL $LIBS"
10637 16928
10638$as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h 16929cat >>confdefs.h <<\_ACEOF
16930#define HAVE_LIBMAIL 1
16931_ACEOF
10639 16932
10640else 16933else
10641 LIBS_MAIL= 16934 LIBS_MAIL=
10642fi 16935fi
10643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 16936{ $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
10644$as_echo_n "checking for maillock in -llockfile... " >&6; } 16937$as_echo_n "checking for maillock in -llockfile... " >&6; }
10645if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : 16938if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
10646 $as_echo_n "(cached) " >&6 16939 $as_echo_n "(cached) " >&6
10647else 16940else
10648 ac_check_lib_save_LIBS=$LIBS 16941 ac_check_lib_save_LIBS=$LIBS
10649LIBS="-llockfile $LIBS" 16942LIBS="-llockfile $LIBS"
10650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16943cat >conftest.$ac_ext <<_ACEOF
16944/* confdefs.h. */
16945_ACEOF
16946cat confdefs.h >>conftest.$ac_ext
16947cat >>conftest.$ac_ext <<_ACEOF
10651/* end confdefs.h. */ 16948/* end confdefs.h. */
10652 16949
10653/* Override any GCC internal prototype to avoid an error. 16950/* Override any GCC internal prototype to avoid an error.
@@ -10665,18 +16962,43 @@ return maillock ();
10665 return 0; 16962 return 0;
10666} 16963}
10667_ACEOF 16964_ACEOF
10668if ac_fn_c_try_link "$LINENO"; then : 16965rm -f conftest.$ac_objext conftest$ac_exeext
16966if { (ac_try="$ac_link"
16967case "(($ac_try" in
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16970esac
16971eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16972$as_echo "$ac_try_echo") >&5
16973 (eval "$ac_link") 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_c_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest$ac_exeext && {
16983 test "$cross_compiling" = yes ||
16984 $as_test_x conftest$ac_exeext
16985 }; then
10669 ac_cv_lib_lockfile_maillock=yes 16986 ac_cv_lib_lockfile_maillock=yes
10670else 16987else
10671 ac_cv_lib_lockfile_maillock=no 16988 $as_echo "$as_me: failed program was:" >&5
16989sed 's/^/| /' conftest.$ac_ext >&5
16990
16991 ac_cv_lib_lockfile_maillock=no
10672fi 16992fi
10673rm -f core conftest.err conftest.$ac_objext \ 16993
10674 conftest$ac_exeext conftest.$ac_ext 16994rm -rf conftest.dSYM
16995rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16996 conftest$ac_exeext conftest.$ac_ext
10675LIBS=$ac_check_lib_save_LIBS 16997LIBS=$ac_check_lib_save_LIBS
10676fi 16998fi
10677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 16999{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
10678$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 17000$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
10679if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : 17001if test $ac_cv_lib_lockfile_maillock = yes; then
10680 have_lockfile=yes 17002 have_lockfile=yes
10681else 17003else
10682 have_lockfile=no 17004 have_lockfile=no
@@ -10686,7 +17008,9 @@ if test $have_lockfile = yes; then
10686 LIBS_MAIL=-llockfile 17008 LIBS_MAIL=-llockfile
10687 LIBS="$LIBS_MAIL $LIBS" 17009 LIBS="$LIBS_MAIL $LIBS"
10688 17010
10689$as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h 17011cat >>confdefs.h <<\_ACEOF
17012#define HAVE_LIBLOCKFILE 1
17013_ACEOF
10690 17014
10691else 17015else
10692# If we have the shared liblockfile, assume we must use it for mail 17016# If we have the shared liblockfile, assume we must use it for mail
@@ -10694,9 +17018,9 @@ else
10694# (no liblockfile.a installed), ensure that we don't need to. 17018# (no liblockfile.a installed), ensure that we don't need to.
10695 # Extract the first word of "liblockfile.so", so it can be a program name with args. 17019 # Extract the first word of "liblockfile.so", so it can be a program name with args.
10696set dummy liblockfile.so; ac_word=$2 17020set dummy liblockfile.so; ac_word=$2
10697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17021{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10698$as_echo_n "checking for $ac_word... " >&6; } 17022$as_echo_n "checking for $ac_word... " >&6; }
10699if test "${ac_cv_prog_liblockfile+set}" = set; then : 17023if test "${ac_cv_prog_liblockfile+set}" = set; then
10700 $as_echo_n "(cached) " >&6 17024 $as_echo_n "(cached) " >&6
10701else 17025else
10702 if test -n "$liblockfile"; then 17026 if test -n "$liblockfile"; then
@@ -10708,14 +17032,14 @@ for as_dir in $as_dummy
10708do 17032do
10709 IFS=$as_save_IFS 17033 IFS=$as_save_IFS
10710 test -z "$as_dir" && as_dir=. 17034 test -z "$as_dir" && as_dir=.
10711 for ac_exec_ext in '' $ac_executable_extensions; do 17035 for ac_exec_ext in '' $ac_executable_extensions; do
10712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10713 ac_cv_prog_liblockfile="yes" 17037 ac_cv_prog_liblockfile="yes"
10714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10715 break 2 17039 break 2
10716 fi 17040 fi
10717done 17041done
10718 done 17042done
10719IFS=$as_save_IFS 17043IFS=$as_save_IFS
10720 17044
10721 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 17045 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
@@ -10723,37 +17047,263 @@ fi
10723fi 17047fi
10724liblockfile=$ac_cv_prog_liblockfile 17048liblockfile=$ac_cv_prog_liblockfile
10725if test -n "$liblockfile"; then 17049if test -n "$liblockfile"; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 17050 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5
10727$as_echo "$liblockfile" >&6; } 17051$as_echo "$liblockfile" >&6; }
10728else 17052else
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17053 { $as_echo "$as_me:$LINENO: result: no" >&5
10730$as_echo "no" >&6; } 17054$as_echo "no" >&6; }
10731fi 17055fi
10732 17056
10733 17057
10734 if test $ac_cv_prog_liblockfile = yes; then 17058 if test $ac_cv_prog_liblockfile = yes; then
10735 as_fn_error "Shared liblockfile found but can't link against it. 17059 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
10736This probably means that movemail could lose mail. 17060This probably means that movemail could lose mail.
10737There may be a \`development' package to install containing liblockfile." "$LINENO" 5 17061There may be a \`development' package to install containing liblockfile." >&5
17062$as_echo "$as_me: error: Shared liblockfile found but can't link against it.
17063This probably means that movemail could lose mail.
17064There may be a \`development' package to install containing liblockfile." >&2;}
17065 { (exit 1); exit 1; }; }
10738 fi 17066 fi
10739fi 17067fi
17068
10740for ac_func in touchlock 17069for ac_func in touchlock
10741do : 17070do
10742 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" 17071as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10743if test "x$ac_cv_func_touchlock" = x""yes; then : 17072{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17073$as_echo_n "checking for $ac_func... " >&6; }
17074if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17075 $as_echo_n "(cached) " >&6
17076else
17077 cat >conftest.$ac_ext <<_ACEOF
17078/* confdefs.h. */
17079_ACEOF
17080cat confdefs.h >>conftest.$ac_ext
17081cat >>conftest.$ac_ext <<_ACEOF
17082/* end confdefs.h. */
17083/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17085#define $ac_func innocuous_$ac_func
17086
17087/* System header to define __stub macros and hopefully few prototypes,
17088 which can conflict with char $ac_func (); below.
17089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17090 <limits.h> exists even on freestanding compilers. */
17091
17092#ifdef __STDC__
17093# include <limits.h>
17094#else
17095# include <assert.h>
17096#endif
17097
17098#undef $ac_func
17099
17100/* Override any GCC internal prototype to avoid an error.
17101 Use char because int might match the return type of a GCC
17102 builtin and then its argument prototype would still apply. */
17103#ifdef __cplusplus
17104extern "C"
17105#endif
17106char $ac_func ();
17107/* The GNU C library defines this for functions which it implements
17108 to always fail with ENOSYS. Some functions are actually named
17109 something starting with __ and the normal name is an alias. */
17110#if defined __stub_$ac_func || defined __stub___$ac_func
17111choke me
17112#endif
17113
17114int
17115main ()
17116{
17117return $ac_func ();
17118 ;
17119 return 0;
17120}
17121_ACEOF
17122rm -f conftest.$ac_objext conftest$ac_exeext
17123if { (ac_try="$ac_link"
17124case "(($ac_try" in
17125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17126 *) ac_try_echo=$ac_try;;
17127esac
17128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17129$as_echo "$ac_try_echo") >&5
17130 (eval "$ac_link") 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_c_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest$ac_exeext && {
17140 test "$cross_compiling" = yes ||
17141 $as_test_x conftest$ac_exeext
17142 }; then
17143 eval "$as_ac_var=yes"
17144else
17145 $as_echo "$as_me: failed program was:" >&5
17146sed 's/^/| /' conftest.$ac_ext >&5
17147
17148 eval "$as_ac_var=no"
17149fi
17150
17151rm -rf conftest.dSYM
17152rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17153 conftest$ac_exeext conftest.$ac_ext
17154fi
17155ac_res=`eval 'as_val=${'$as_ac_var'}
17156 $as_echo "$as_val"'`
17157 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17158$as_echo "$ac_res" >&6; }
17159if test `eval 'as_val=${'$as_ac_var'}
17160 $as_echo "$as_val"'` = yes; then
10744 cat >>confdefs.h <<_ACEOF 17161 cat >>confdefs.h <<_ACEOF
10745#define HAVE_TOUCHLOCK 1 17162#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10746_ACEOF 17163_ACEOF
10747 17164
10748fi 17165fi
10749done 17166done
10750 17167
17168
10751for ac_header in maillock.h 17169for ac_header in maillock.h
10752do : 17170do
10753 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" 17171as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10754if test "x$ac_cv_header_maillock_h" = x""yes; then : 17172if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17174$as_echo_n "checking for $ac_header... " >&6; }
17175if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17176 $as_echo_n "(cached) " >&6
17177fi
17178ac_res=`eval 'as_val=${'$as_ac_Header'}
17179 $as_echo "$as_val"'`
17180 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17181$as_echo "$ac_res" >&6; }
17182else
17183 # Is the header compilable?
17184{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17185$as_echo_n "checking $ac_header usability... " >&6; }
17186cat >conftest.$ac_ext <<_ACEOF
17187/* confdefs.h. */
17188_ACEOF
17189cat confdefs.h >>conftest.$ac_ext
17190cat >>conftest.$ac_ext <<_ACEOF
17191/* end confdefs.h. */
17192$ac_includes_default
17193#include <$ac_header>
17194_ACEOF
17195rm -f conftest.$ac_objext
17196if { (ac_try="$ac_compile"
17197case "(($ac_try" in
17198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17200esac
17201eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17202$as_echo "$ac_try_echo") >&5
17203 (eval "$ac_compile") 2>conftest.er1
17204 ac_status=$?
17205 grep -v '^ *+' conftest.er1 >conftest.err
17206 rm -f conftest.er1
17207 cat conftest.err >&5
17208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } && {
17210 test -z "$ac_c_werror_flag" ||
17211 test ! -s conftest.err
17212 } && test -s conftest.$ac_objext; then
17213 ac_header_compiler=yes
17214else
17215 $as_echo "$as_me: failed program was:" >&5
17216sed 's/^/| /' conftest.$ac_ext >&5
17217
17218 ac_header_compiler=no
17219fi
17220
17221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17222{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17223$as_echo "$ac_header_compiler" >&6; }
17224
17225# Is the header present?
17226{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17227$as_echo_n "checking $ac_header presence... " >&6; }
17228cat >conftest.$ac_ext <<_ACEOF
17229/* confdefs.h. */
17230_ACEOF
17231cat confdefs.h >>conftest.$ac_ext
17232cat >>conftest.$ac_ext <<_ACEOF
17233/* end confdefs.h. */
17234#include <$ac_header>
17235_ACEOF
17236if { (ac_try="$ac_cpp conftest.$ac_ext"
17237case "(($ac_try" in
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239 *) ac_try_echo=$ac_try;;
17240esac
17241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17242$as_echo "$ac_try_echo") >&5
17243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } >/dev/null && {
17250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 }; then
17253 ac_header_preproc=yes
17254else
17255 $as_echo "$as_me: failed program was:" >&5
17256sed 's/^/| /' conftest.$ac_ext >&5
17257
17258 ac_header_preproc=no
17259fi
17260
17261rm -f conftest.err conftest.$ac_ext
17262{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17263$as_echo "$ac_header_preproc" >&6; }
17264
17265# So? What about this header?
17266case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17267 yes:no: )
17268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17269$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17271$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17272 ac_header_preproc=yes
17273 ;;
17274 no:yes:* )
17275 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17276$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17278$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17280$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17282$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17284$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17286$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17287
17288 ;;
17289esac
17290{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17291$as_echo_n "checking for $ac_header... " >&6; }
17292if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17293 $as_echo_n "(cached) " >&6
17294else
17295 eval "$as_ac_Header=\$ac_header_preproc"
17296fi
17297ac_res=`eval 'as_val=${'$as_ac_Header'}
17298 $as_echo "$as_val"'`
17299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17300$as_echo "$ac_res" >&6; }
17301
17302fi
17303if test `eval 'as_val=${'$as_ac_Header'}
17304 $as_echo "$as_val"'` = yes; then
10755 cat >>confdefs.h <<_ACEOF 17305 cat >>confdefs.h <<_ACEOF
10756#define HAVE_MAILLOCK_H 1 17306#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10757_ACEOF 17307_ACEOF
10758 17308
10759fi 17309fi
@@ -10762,6 +17312,77 @@ done
10762 17312
10763 17313
10764 17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
10765for ac_func in gethostname getdomainname dup2 \ 17386for ac_func in gethostname getdomainname dup2 \
10766rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ 17387rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
10767random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ 17388random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
@@ -10772,11 +17393,97 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \
10772gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 17393gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
10773memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 17394memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
10774cfmakeraw cfsetspeed 17395cfmakeraw cfsetspeed
10775do : 17396do
10776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17397as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10777ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17398{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10778eval as_val=\$$as_ac_var 17399$as_echo_n "checking for $ac_func... " >&6; }
10779 if test "x$as_val" = x""yes; then : 17400if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17401 $as_echo_n "(cached) " >&6
17402else
17403 cat >conftest.$ac_ext <<_ACEOF
17404/* confdefs.h. */
17405_ACEOF
17406cat confdefs.h >>conftest.$ac_ext
17407cat >>conftest.$ac_ext <<_ACEOF
17408/* end confdefs.h. */
17409/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17411#define $ac_func innocuous_$ac_func
17412
17413/* System header to define __stub macros and hopefully few prototypes,
17414 which can conflict with char $ac_func (); below.
17415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17416 <limits.h> exists even on freestanding compilers. */
17417
17418#ifdef __STDC__
17419# include <limits.h>
17420#else
17421# include <assert.h>
17422#endif
17423
17424#undef $ac_func
17425
17426/* Override any GCC internal prototype to avoid an error.
17427 Use char because int might match the return type of a GCC
17428 builtin and then its argument prototype would still apply. */
17429#ifdef __cplusplus
17430extern "C"
17431#endif
17432char $ac_func ();
17433/* The GNU C library defines this for functions which it implements
17434 to always fail with ENOSYS. Some functions are actually named
17435 something starting with __ and the normal name is an alias. */
17436#if defined __stub_$ac_func || defined __stub___$ac_func
17437choke me
17438#endif
17439
17440int
17441main ()
17442{
17443return $ac_func ();
17444 ;
17445 return 0;
17446}
17447_ACEOF
17448rm -f conftest.$ac_objext conftest$ac_exeext
17449if { (ac_try="$ac_link"
17450case "(($ac_try" in
17451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17452 *) ac_try_echo=$ac_try;;
17453esac
17454eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17455$as_echo "$ac_try_echo") >&5
17456 (eval "$ac_link") 2>conftest.er1
17457 ac_status=$?
17458 grep -v '^ *+' conftest.er1 >conftest.err
17459 rm -f conftest.er1
17460 cat conftest.err >&5
17461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } && {
17463 test -z "$ac_c_werror_flag" ||
17464 test ! -s conftest.err
17465 } && test -s conftest$ac_exeext && {
17466 test "$cross_compiling" = yes ||
17467 $as_test_x conftest$ac_exeext
17468 }; then
17469 eval "$as_ac_var=yes"
17470else
17471 $as_echo "$as_me: failed program was:" >&5
17472sed 's/^/| /' conftest.$ac_ext >&5
17473
17474 eval "$as_ac_var=no"
17475fi
17476
17477rm -rf conftest.dSYM
17478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17479 conftest$ac_exeext conftest.$ac_ext
17480fi
17481ac_res=`eval 'as_val=${'$as_ac_var'}
17482 $as_echo "$as_val"'`
17483 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17484$as_echo "$ac_res" >&6; }
17485if test `eval 'as_val=${'$as_ac_var'}
17486 $as_echo "$as_val"'` = yes; then
10780 cat >>confdefs.h <<_ACEOF 17487 cat >>confdefs.h <<_ACEOF
10781#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17488#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10782_ACEOF 17489_ACEOF
@@ -10785,12 +17492,294 @@ fi
10785done 17492done
10786 17493
10787 17494
17495
10788for ac_header in sys/un.h 17496for ac_header in sys/un.h
10789do : 17497do
10790 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" 17498as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10791if test "x$ac_cv_header_sys_un_h" = x""yes; then : 17499if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17500 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17501$as_echo_n "checking for $ac_header... " >&6; }
17502if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17503 $as_echo_n "(cached) " >&6
17504fi
17505ac_res=`eval 'as_val=${'$as_ac_Header'}
17506 $as_echo "$as_val"'`
17507 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17508$as_echo "$ac_res" >&6; }
17509else
17510 # Is the header compilable?
17511{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17512$as_echo_n "checking $ac_header usability... " >&6; }
17513cat >conftest.$ac_ext <<_ACEOF
17514/* confdefs.h. */
17515_ACEOF
17516cat confdefs.h >>conftest.$ac_ext
17517cat >>conftest.$ac_ext <<_ACEOF
17518/* end confdefs.h. */
17519$ac_includes_default
17520#include <$ac_header>
17521_ACEOF
17522rm -f conftest.$ac_objext
17523if { (ac_try="$ac_compile"
17524case "(($ac_try" in
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;;
17527esac
17528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17529$as_echo "$ac_try_echo") >&5
17530 (eval "$ac_compile") 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && {
17537 test -z "$ac_c_werror_flag" ||
17538 test ! -s conftest.err
17539 } && test -s conftest.$ac_objext; then
17540 ac_header_compiler=yes
17541else
17542 $as_echo "$as_me: failed program was:" >&5
17543sed 's/^/| /' conftest.$ac_ext >&5
17544
17545 ac_header_compiler=no
17546fi
17547
17548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17550$as_echo "$ac_header_compiler" >&6; }
17551
17552# Is the header present?
17553{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17554$as_echo_n "checking $ac_header presence... " >&6; }
17555cat >conftest.$ac_ext <<_ACEOF
17556/* confdefs.h. */
17557_ACEOF
17558cat confdefs.h >>conftest.$ac_ext
17559cat >>conftest.$ac_ext <<_ACEOF
17560/* end confdefs.h. */
17561#include <$ac_header>
17562_ACEOF
17563if { (ac_try="$ac_cpp conftest.$ac_ext"
17564case "(($ac_try" in
17565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566 *) ac_try_echo=$ac_try;;
17567esac
17568eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17569$as_echo "$ac_try_echo") >&5
17570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17571 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1
17574 cat conftest.err >&5
17575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } >/dev/null && {
17577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17578 test ! -s conftest.err
17579 }; then
17580 ac_header_preproc=yes
17581else
17582 $as_echo "$as_me: failed program was:" >&5
17583sed 's/^/| /' conftest.$ac_ext >&5
17584
17585 ac_header_preproc=no
17586fi
17587
17588rm -f conftest.err conftest.$ac_ext
17589{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17590$as_echo "$ac_header_preproc" >&6; }
17591
17592# So? What about this header?
17593case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17594 yes:no: )
17595 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17596$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17597 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17598$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17599 ac_header_preproc=yes
17600 ;;
17601 no:yes:* )
17602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17603$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17605$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17607$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17609$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17611$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17613$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17614
17615 ;;
17616esac
17617{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17618$as_echo_n "checking for $ac_header... " >&6; }
17619if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17620 $as_echo_n "(cached) " >&6
17621else
17622 eval "$as_ac_Header=\$ac_header_preproc"
17623fi
17624ac_res=`eval 'as_val=${'$as_ac_Header'}
17625 $as_echo "$as_val"'`
17626 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17627$as_echo "$ac_res" >&6; }
17628
17629fi
17630if test `eval 'as_val=${'$as_ac_Header'}
17631 $as_echo "$as_val"'` = yes; then
17632 cat >>confdefs.h <<_ACEOF
17633#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17634_ACEOF
17635
17636fi
17637
17638done
17639
17640
17641
17642
17643
17644
17645for ac_header in $ac_header_list
17646do
17647as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17648if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17649 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17650$as_echo_n "checking for $ac_header... " >&6; }
17651if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17652 $as_echo_n "(cached) " >&6
17653fi
17654ac_res=`eval 'as_val=${'$as_ac_Header'}
17655 $as_echo "$as_val"'`
17656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17657$as_echo "$ac_res" >&6; }
17658else
17659 # Is the header compilable?
17660{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17661$as_echo_n "checking $ac_header usability... " >&6; }
17662cat >conftest.$ac_ext <<_ACEOF
17663/* confdefs.h. */
17664_ACEOF
17665cat confdefs.h >>conftest.$ac_ext
17666cat >>conftest.$ac_ext <<_ACEOF
17667/* end confdefs.h. */
17668$ac_includes_default
17669#include <$ac_header>
17670_ACEOF
17671rm -f conftest.$ac_objext
17672if { (ac_try="$ac_compile"
17673case "(($ac_try" in
17674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17676esac
17677eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17678$as_echo "$ac_try_echo") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_c_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.$ac_objext; then
17689 ac_header_compiler=yes
17690else
17691 $as_echo "$as_me: failed program was:" >&5
17692sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 ac_header_compiler=no
17695fi
17696
17697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17699$as_echo "$ac_header_compiler" >&6; }
17700
17701# Is the header present?
17702{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17703$as_echo_n "checking $ac_header presence... " >&6; }
17704cat >conftest.$ac_ext <<_ACEOF
17705/* confdefs.h. */
17706_ACEOF
17707cat confdefs.h >>conftest.$ac_ext
17708cat >>conftest.$ac_ext <<_ACEOF
17709/* end confdefs.h. */
17710#include <$ac_header>
17711_ACEOF
17712if { (ac_try="$ac_cpp conftest.$ac_ext"
17713case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17716esac
17717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17718$as_echo "$ac_try_echo") >&5
17719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } >/dev/null && {
17726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17727 test ! -s conftest.err
17728 }; then
17729 ac_header_preproc=yes
17730else
17731 $as_echo "$as_me: failed program was:" >&5
17732sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 ac_header_preproc=no
17735fi
17736
17737rm -f conftest.err conftest.$ac_ext
17738{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17739$as_echo "$ac_header_preproc" >&6; }
17740
17741# So? What about this header?
17742case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17743 yes:no: )
17744 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17745$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17746 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17747$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17748 ac_header_preproc=yes
17749 ;;
17750 no:yes:* )
17751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17752$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17754$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17756$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17758$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17760$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17762$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17763
17764 ;;
17765esac
17766{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17767$as_echo_n "checking for $ac_header... " >&6; }
17768if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17769 $as_echo_n "(cached) " >&6
17770else
17771 eval "$as_ac_Header=\$ac_header_preproc"
17772fi
17773ac_res=`eval 'as_val=${'$as_ac_Header'}
17774 $as_echo "$as_val"'`
17775 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17776$as_echo "$ac_res" >&6; }
17777
17778fi
17779if test `eval 'as_val=${'$as_ac_Header'}
17780 $as_echo "$as_val"'` = yes; then
10792 cat >>confdefs.h <<_ACEOF 17781 cat >>confdefs.h <<_ACEOF
10793#define HAVE_SYS_UN_H 1 17782#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10794_ACEOF 17783_ACEOF
10795 17784
10796fi 17785fi
@@ -10803,12 +17792,100 @@ done
10803 17792
10804 17793
10805 17794
10806 for ac_func in $ac_func_list 17795
10807do : 17796
10808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17797for ac_func in $ac_func_list
10809ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17798do
10810eval as_val=\$$as_ac_var 17799as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10811 if test "x$as_val" = x""yes; then : 17800{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17801$as_echo_n "checking for $ac_func... " >&6; }
17802if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17803 $as_echo_n "(cached) " >&6
17804else
17805 cat >conftest.$ac_ext <<_ACEOF
17806/* confdefs.h. */
17807_ACEOF
17808cat confdefs.h >>conftest.$ac_ext
17809cat >>conftest.$ac_ext <<_ACEOF
17810/* end confdefs.h. */
17811/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17813#define $ac_func innocuous_$ac_func
17814
17815/* System header to define __stub macros and hopefully few prototypes,
17816 which can conflict with char $ac_func (); below.
17817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17818 <limits.h> exists even on freestanding compilers. */
17819
17820#ifdef __STDC__
17821# include <limits.h>
17822#else
17823# include <assert.h>
17824#endif
17825
17826#undef $ac_func
17827
17828/* Override any GCC internal prototype to avoid an error.
17829 Use char because int might match the return type of a GCC
17830 builtin and then its argument prototype would still apply. */
17831#ifdef __cplusplus
17832extern "C"
17833#endif
17834char $ac_func ();
17835/* The GNU C library defines this for functions which it implements
17836 to always fail with ENOSYS. Some functions are actually named
17837 something starting with __ and the normal name is an alias. */
17838#if defined __stub_$ac_func || defined __stub___$ac_func
17839choke me
17840#endif
17841
17842int
17843main ()
17844{
17845return $ac_func ();
17846 ;
17847 return 0;
17848}
17849_ACEOF
17850rm -f conftest.$ac_objext conftest$ac_exeext
17851if { (ac_try="$ac_link"
17852case "(($ac_try" in
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854 *) ac_try_echo=$ac_try;;
17855esac
17856eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17857$as_echo "$ac_try_echo") >&5
17858 (eval "$ac_link") 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } && {
17865 test -z "$ac_c_werror_flag" ||
17866 test ! -s conftest.err
17867 } && test -s conftest$ac_exeext && {
17868 test "$cross_compiling" = yes ||
17869 $as_test_x conftest$ac_exeext
17870 }; then
17871 eval "$as_ac_var=yes"
17872else
17873 $as_echo "$as_me: failed program was:" >&5
17874sed 's/^/| /' conftest.$ac_ext >&5
17875
17876 eval "$as_ac_var=no"
17877fi
17878
17879rm -rf conftest.dSYM
17880rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17881 conftest$ac_exeext conftest.$ac_ext
17882fi
17883ac_res=`eval 'as_val=${'$as_ac_var'}
17884 $as_echo "$as_val"'`
17885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17886$as_echo "$ac_res" >&6; }
17887if test `eval 'as_val=${'$as_ac_var'}
17888 $as_echo "$as_val"'` = yes; then
10812 cat >>confdefs.h <<_ACEOF 17889 cat >>confdefs.h <<_ACEOF
10813#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17890#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10814_ACEOF 17891_ACEOF
@@ -10820,15 +17897,31 @@ done
10820 17897
10821 17898
10822 17899
10823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912{ $as_echo "$as_me:$LINENO: checking for working mktime" >&5
10824$as_echo_n "checking for working mktime... " >&6; } 17913$as_echo_n "checking for working mktime... " >&6; }
10825if test "${ac_cv_func_working_mktime+set}" = set; then : 17914if test "${ac_cv_func_working_mktime+set}" = set; then
10826 $as_echo_n "(cached) " >&6 17915 $as_echo_n "(cached) " >&6
10827else 17916else
10828 if test "$cross_compiling" = yes; then : 17917 if test "$cross_compiling" = yes; then
10829 ac_cv_func_working_mktime=no 17918 ac_cv_func_working_mktime=no
10830else 17919else
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17920 cat >conftest.$ac_ext <<_ACEOF
17921/* confdefs.h. */
17922_ACEOF
17923cat confdefs.h >>conftest.$ac_ext
17924cat >>conftest.$ac_ext <<_ACEOF
10832/* end confdefs.h. */ 17925/* end confdefs.h. */
10833/* Test program from Paul Eggert and Tony Leneis. */ 17926/* Test program from Paul Eggert and Tony Leneis. */
10834#ifdef TIME_WITH_SYS_TIME 17927#ifdef TIME_WITH_SYS_TIME
@@ -11025,17 +18118,44 @@ main ()
11025 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 18118 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
11026} 18119}
11027_ACEOF 18120_ACEOF
11028if ac_fn_c_try_run "$LINENO"; then : 18121rm -f conftest$ac_exeext
18122if { (ac_try="$ac_link"
18123case "(($ac_try" in
18124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18125 *) ac_try_echo=$ac_try;;
18126esac
18127eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18128$as_echo "$ac_try_echo") >&5
18129 (eval "$ac_link") 2>&5
18130 ac_status=$?
18131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18133 { (case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18136esac
18137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18138$as_echo "$ac_try_echo") >&5
18139 (eval "$ac_try") 2>&5
18140 ac_status=$?
18141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
11029 ac_cv_func_working_mktime=yes 18143 ac_cv_func_working_mktime=yes
11030else 18144else
11031 ac_cv_func_working_mktime=no 18145 $as_echo "$as_me: program exited with status $ac_status" >&5
18146$as_echo "$as_me: failed program was:" >&5
18147sed 's/^/| /' conftest.$ac_ext >&5
18148
18149( exit $ac_status )
18150ac_cv_func_working_mktime=no
11032fi 18151fi
11033rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18152rm -rf conftest.dSYM
11034 conftest.$ac_objext conftest.beam conftest.$ac_ext 18153rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11035fi 18154fi
11036 18155
18156
11037fi 18157fi
11038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 18158{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
11039$as_echo "$ac_cv_func_working_mktime" >&6; } 18159$as_echo "$ac_cv_func_working_mktime" >&6; }
11040if test $ac_cv_func_working_mktime = no; then 18160if test $ac_cv_func_working_mktime = no; then
11041 case " $LIBOBJS " in 18161 case " $LIBOBJS " in
@@ -11048,7 +18168,9 @@ fi
11048 18168
11049if test "$ac_cv_func_working_mktime" = no; then 18169if test "$ac_cv_func_working_mktime" = no; then
11050 18170
11051$as_echo "#define BROKEN_MKTIME 1" >>confdefs.h 18171cat >>confdefs.h <<\_ACEOF
18172#define BROKEN_MKTIME 1
18173_ACEOF
11052 18174
11053fi 18175fi
11054 18176
@@ -11056,13 +18178,99 @@ ac_have_func=no # yes means we've found a way to get the load average.
11056 18178
11057# Make sure getloadavg.c is where it belongs, at configure-time. 18179# Make sure getloadavg.c is where it belongs, at configure-time.
11058test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 18180test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
11059 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 18181 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
18182$as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
18183 { (exit 1); exit 1; }; }
11060 18184
11061ac_save_LIBS=$LIBS 18185ac_save_LIBS=$LIBS
11062 18186
11063# Check for getloadavg, but be sure not to touch the cache variable. 18187# Check for getloadavg, but be sure not to touch the cache variable.
11064(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 18188({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5
11065if test "x$ac_cv_func_getloadavg" = x""yes; then : 18189$as_echo_n "checking for getloadavg... " >&6; }
18190if test "${ac_cv_func_getloadavg+set}" = set; then
18191 $as_echo_n "(cached) " >&6
18192else
18193 cat >conftest.$ac_ext <<_ACEOF
18194/* confdefs.h. */
18195_ACEOF
18196cat confdefs.h >>conftest.$ac_ext
18197cat >>conftest.$ac_ext <<_ACEOF
18198/* end confdefs.h. */
18199/* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
18200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18201#define getloadavg innocuous_getloadavg
18202
18203/* System header to define __stub macros and hopefully few prototypes,
18204 which can conflict with char getloadavg (); below.
18205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18206 <limits.h> exists even on freestanding compilers. */
18207
18208#ifdef __STDC__
18209# include <limits.h>
18210#else
18211# include <assert.h>
18212#endif
18213
18214#undef getloadavg
18215
18216/* Override any GCC internal prototype to avoid an error.
18217 Use char because int might match the return type of a GCC
18218 builtin and then its argument prototype would still apply. */
18219#ifdef __cplusplus
18220extern "C"
18221#endif
18222char getloadavg ();
18223/* The GNU C library defines this for functions which it implements
18224 to always fail with ENOSYS. Some functions are actually named
18225 something starting with __ and the normal name is an alias. */
18226#if defined __stub_getloadavg || defined __stub___getloadavg
18227choke me
18228#endif
18229
18230int
18231main ()
18232{
18233return getloadavg ();
18234 ;
18235 return 0;
18236}
18237_ACEOF
18238rm -f conftest.$ac_objext conftest$ac_exeext
18239if { (ac_try="$ac_link"
18240case "(($ac_try" in
18241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18242 *) ac_try_echo=$ac_try;;
18243esac
18244eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18245$as_echo "$ac_try_echo") >&5
18246 (eval "$ac_link") 2>conftest.er1
18247 ac_status=$?
18248 grep -v '^ *+' conftest.er1 >conftest.err
18249 rm -f conftest.er1
18250 cat conftest.err >&5
18251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); } && {
18253 test -z "$ac_c_werror_flag" ||
18254 test ! -s conftest.err
18255 } && test -s conftest$ac_exeext && {
18256 test "$cross_compiling" = yes ||
18257 $as_test_x conftest$ac_exeext
18258 }; then
18259 ac_cv_func_getloadavg=yes
18260else
18261 $as_echo "$as_me: failed program was:" >&5
18262sed 's/^/| /' conftest.$ac_ext >&5
18263
18264 ac_cv_func_getloadavg=no
18265fi
18266
18267rm -rf conftest.dSYM
18268rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18269 conftest$ac_exeext conftest.$ac_ext
18270fi
18271{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
18272$as_echo "$ac_cv_func_getloadavg" >&6; }
18273if test $ac_cv_func_getloadavg = yes; then
11066 exit 0 18274 exit 0
11067else 18275else
11068 exit 1 18276 exit 1
@@ -11070,12 +18278,101 @@ fi
11070) && ac_have_func=yes 18278) && ac_have_func=yes
11071 18279
11072# On HPUX9, an unprivileged user can get load averages through this function. 18280# On HPUX9, an unprivileged user can get load averages through this function.
18281
11073for ac_func in pstat_getdynamic 18282for ac_func in pstat_getdynamic
11074do : 18283do
11075 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" 18284as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11076if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : 18285{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18286$as_echo_n "checking for $ac_func... " >&6; }
18287if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18288 $as_echo_n "(cached) " >&6
18289else
18290 cat >conftest.$ac_ext <<_ACEOF
18291/* confdefs.h. */
18292_ACEOF
18293cat confdefs.h >>conftest.$ac_ext
18294cat >>conftest.$ac_ext <<_ACEOF
18295/* end confdefs.h. */
18296/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18298#define $ac_func innocuous_$ac_func
18299
18300/* System header to define __stub macros and hopefully few prototypes,
18301 which can conflict with char $ac_func (); below.
18302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18303 <limits.h> exists even on freestanding compilers. */
18304
18305#ifdef __STDC__
18306# include <limits.h>
18307#else
18308# include <assert.h>
18309#endif
18310
18311#undef $ac_func
18312
18313/* Override any GCC internal prototype to avoid an error.
18314 Use char because int might match the return type of a GCC
18315 builtin and then its argument prototype would still apply. */
18316#ifdef __cplusplus
18317extern "C"
18318#endif
18319char $ac_func ();
18320/* The GNU C library defines this for functions which it implements
18321 to always fail with ENOSYS. Some functions are actually named
18322 something starting with __ and the normal name is an alias. */
18323#if defined __stub_$ac_func || defined __stub___$ac_func
18324choke me
18325#endif
18326
18327int
18328main ()
18329{
18330return $ac_func ();
18331 ;
18332 return 0;
18333}
18334_ACEOF
18335rm -f conftest.$ac_objext conftest$ac_exeext
18336if { (ac_try="$ac_link"
18337case "(($ac_try" in
18338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18339 *) ac_try_echo=$ac_try;;
18340esac
18341eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18342$as_echo "$ac_try_echo") >&5
18343 (eval "$ac_link") 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest$ac_exeext && {
18353 test "$cross_compiling" = yes ||
18354 $as_test_x conftest$ac_exeext
18355 }; then
18356 eval "$as_ac_var=yes"
18357else
18358 $as_echo "$as_me: failed program was:" >&5
18359sed 's/^/| /' conftest.$ac_ext >&5
18360
18361 eval "$as_ac_var=no"
18362fi
18363
18364rm -rf conftest.dSYM
18365rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18366 conftest$ac_exeext conftest.$ac_ext
18367fi
18368ac_res=`eval 'as_val=${'$as_ac_var'}
18369 $as_echo "$as_val"'`
18370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18371$as_echo "$ac_res" >&6; }
18372if test `eval 'as_val=${'$as_ac_var'}
18373 $as_echo "$as_val"'` = yes; then
11077 cat >>confdefs.h <<_ACEOF 18374 cat >>confdefs.h <<_ACEOF
11078#define HAVE_PSTAT_GETDYNAMIC 1 18375#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11079_ACEOF 18376_ACEOF
11080 18377
11081fi 18378fi
@@ -11083,14 +18380,19 @@ done
11083 18380
11084 18381
11085# Solaris has libkstat which does not require root. 18382# Solaris has libkstat which does not require root.
11086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 18383
18384{ $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
11087$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 18385$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11088if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 18386if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
11089 $as_echo_n "(cached) " >&6 18387 $as_echo_n "(cached) " >&6
11090else 18388else
11091 ac_check_lib_save_LIBS=$LIBS 18389 ac_check_lib_save_LIBS=$LIBS
11092LIBS="-lkstat $LIBS" 18390LIBS="-lkstat $LIBS"
11093cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18391cat >conftest.$ac_ext <<_ACEOF
18392/* confdefs.h. */
18393_ACEOF
18394cat confdefs.h >>conftest.$ac_ext
18395cat >>conftest.$ac_ext <<_ACEOF
11094/* end confdefs.h. */ 18396/* end confdefs.h. */
11095 18397
11096/* Override any GCC internal prototype to avoid an error. 18398/* Override any GCC internal prototype to avoid an error.
@@ -11108,18 +18410,43 @@ return kstat_open ();
11108 return 0; 18410 return 0;
11109} 18411}
11110_ACEOF 18412_ACEOF
11111if ac_fn_c_try_link "$LINENO"; then : 18413rm -f conftest.$ac_objext conftest$ac_exeext
18414if { (ac_try="$ac_link"
18415case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18418esac
18419eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18420$as_echo "$ac_try_echo") >&5
18421 (eval "$ac_link") 2>conftest.er1
18422 ac_status=$?
18423 grep -v '^ *+' conftest.er1 >conftest.err
18424 rm -f conftest.er1
18425 cat conftest.err >&5
18426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } && {
18428 test -z "$ac_c_werror_flag" ||
18429 test ! -s conftest.err
18430 } && test -s conftest$ac_exeext && {
18431 test "$cross_compiling" = yes ||
18432 $as_test_x conftest$ac_exeext
18433 }; then
11112 ac_cv_lib_kstat_kstat_open=yes 18434 ac_cv_lib_kstat_kstat_open=yes
11113else 18435else
11114 ac_cv_lib_kstat_kstat_open=no 18436 $as_echo "$as_me: failed program was:" >&5
18437sed 's/^/| /' conftest.$ac_ext >&5
18438
18439 ac_cv_lib_kstat_kstat_open=no
11115fi 18440fi
11116rm -f core conftest.err conftest.$ac_objext \ 18441
11117 conftest$ac_exeext conftest.$ac_ext 18442rm -rf conftest.dSYM
18443rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18444 conftest$ac_exeext conftest.$ac_ext
11118LIBS=$ac_check_lib_save_LIBS 18445LIBS=$ac_check_lib_save_LIBS
11119fi 18446fi
11120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 18447{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
11121$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 18448$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11122if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 18449if test $ac_cv_lib_kstat_kstat_open = yes; then
11123 cat >>confdefs.h <<_ACEOF 18450 cat >>confdefs.h <<_ACEOF
11124#define HAVE_LIBKSTAT 1 18451#define HAVE_LIBKSTAT 1
11125_ACEOF 18452_ACEOF
@@ -11135,14 +18462,18 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
11135# to get the right answer into the cache. 18462# to get the right answer into the cache.
11136# For kstat on solaris, we need libelf to force the definition of SVR4 below. 18463# For kstat on solaris, we need libelf to force the definition of SVR4 below.
11137if test $ac_have_func = no; then 18464if test $ac_have_func = no; then
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 18465 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
11139$as_echo_n "checking for elf_begin in -lelf... " >&6; } 18466$as_echo_n "checking for elf_begin in -lelf... " >&6; }
11140if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : 18467if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
11141 $as_echo_n "(cached) " >&6 18468 $as_echo_n "(cached) " >&6
11142else 18469else
11143 ac_check_lib_save_LIBS=$LIBS 18470 ac_check_lib_save_LIBS=$LIBS
11144LIBS="-lelf $LIBS" 18471LIBS="-lelf $LIBS"
11145cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18472cat >conftest.$ac_ext <<_ACEOF
18473/* confdefs.h. */
18474_ACEOF
18475cat confdefs.h >>conftest.$ac_ext
18476cat >>conftest.$ac_ext <<_ACEOF
11146/* end confdefs.h. */ 18477/* end confdefs.h. */
11147 18478
11148/* Override any GCC internal prototype to avoid an error. 18479/* Override any GCC internal prototype to avoid an error.
@@ -11160,31 +18491,60 @@ return elf_begin ();
11160 return 0; 18491 return 0;
11161} 18492}
11162_ACEOF 18493_ACEOF
11163if ac_fn_c_try_link "$LINENO"; then : 18494rm -f conftest.$ac_objext conftest$ac_exeext
18495if { (ac_try="$ac_link"
18496case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499esac
18500eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18501$as_echo "$ac_try_echo") >&5
18502 (eval "$ac_link") 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest$ac_exeext && {
18512 test "$cross_compiling" = yes ||
18513 $as_test_x conftest$ac_exeext
18514 }; then
11164 ac_cv_lib_elf_elf_begin=yes 18515 ac_cv_lib_elf_elf_begin=yes
11165else 18516else
11166 ac_cv_lib_elf_elf_begin=no 18517 $as_echo "$as_me: failed program was:" >&5
18518sed 's/^/| /' conftest.$ac_ext >&5
18519
18520 ac_cv_lib_elf_elf_begin=no
11167fi 18521fi
11168rm -f core conftest.err conftest.$ac_objext \ 18522
11169 conftest$ac_exeext conftest.$ac_ext 18523rm -rf conftest.dSYM
18524rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18525 conftest$ac_exeext conftest.$ac_ext
11170LIBS=$ac_check_lib_save_LIBS 18526LIBS=$ac_check_lib_save_LIBS
11171fi 18527fi
11172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 18528{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
11173$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 18529$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
11174if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : 18530if test $ac_cv_lib_elf_elf_begin = yes; then
11175 LIBS="-lelf $LIBS" 18531 LIBS="-lelf $LIBS"
11176fi 18532fi
11177 18533
11178fi 18534fi
11179if test $ac_have_func = no; then 18535if test $ac_have_func = no; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 18536 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
11181$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 18537$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
11182if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : 18538if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
11183 $as_echo_n "(cached) " >&6 18539 $as_echo_n "(cached) " >&6
11184else 18540else
11185 ac_check_lib_save_LIBS=$LIBS 18541 ac_check_lib_save_LIBS=$LIBS
11186LIBS="-lkvm $LIBS" 18542LIBS="-lkvm $LIBS"
11187cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18543cat >conftest.$ac_ext <<_ACEOF
18544/* confdefs.h. */
18545_ACEOF
18546cat confdefs.h >>conftest.$ac_ext
18547cat >>conftest.$ac_ext <<_ACEOF
11188/* end confdefs.h. */ 18548/* end confdefs.h. */
11189 18549
11190/* Override any GCC internal prototype to avoid an error. 18550/* Override any GCC internal prototype to avoid an error.
@@ -11202,30 +18562,59 @@ return kvm_open ();
11202 return 0; 18562 return 0;
11203} 18563}
11204_ACEOF 18564_ACEOF
11205if ac_fn_c_try_link "$LINENO"; then : 18565rm -f conftest.$ac_objext conftest$ac_exeext
18566if { (ac_try="$ac_link"
18567case "(($ac_try" in
18568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18569 *) ac_try_echo=$ac_try;;
18570esac
18571eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18572$as_echo "$ac_try_echo") >&5
18573 (eval "$ac_link") 2>conftest.er1
18574 ac_status=$?
18575 grep -v '^ *+' conftest.er1 >conftest.err
18576 rm -f conftest.er1
18577 cat conftest.err >&5
18578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } && {
18580 test -z "$ac_c_werror_flag" ||
18581 test ! -s conftest.err
18582 } && test -s conftest$ac_exeext && {
18583 test "$cross_compiling" = yes ||
18584 $as_test_x conftest$ac_exeext
18585 }; then
11206 ac_cv_lib_kvm_kvm_open=yes 18586 ac_cv_lib_kvm_kvm_open=yes
11207else 18587else
11208 ac_cv_lib_kvm_kvm_open=no 18588 $as_echo "$as_me: failed program was:" >&5
18589sed 's/^/| /' conftest.$ac_ext >&5
18590
18591 ac_cv_lib_kvm_kvm_open=no
11209fi 18592fi
11210rm -f core conftest.err conftest.$ac_objext \ 18593
11211 conftest$ac_exeext conftest.$ac_ext 18594rm -rf conftest.dSYM
18595rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18596 conftest$ac_exeext conftest.$ac_ext
11212LIBS=$ac_check_lib_save_LIBS 18597LIBS=$ac_check_lib_save_LIBS
11213fi 18598fi
11214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 18599{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
11215$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 18600$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
11216if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : 18601if test $ac_cv_lib_kvm_kvm_open = yes; then
11217 LIBS="-lkvm $LIBS" 18602 LIBS="-lkvm $LIBS"
11218fi 18603fi
11219 18604
11220 # Check for the 4.4BSD definition of getloadavg. 18605 # Check for the 4.4BSD definition of getloadavg.
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 18606 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
11222$as_echo_n "checking for getloadavg in -lutil... " >&6; } 18607$as_echo_n "checking for getloadavg in -lutil... " >&6; }
11223if test "${ac_cv_lib_util_getloadavg+set}" = set; then : 18608if test "${ac_cv_lib_util_getloadavg+set}" = set; then
11224 $as_echo_n "(cached) " >&6 18609 $as_echo_n "(cached) " >&6
11225else 18610else
11226 ac_check_lib_save_LIBS=$LIBS 18611 ac_check_lib_save_LIBS=$LIBS
11227LIBS="-lutil $LIBS" 18612LIBS="-lutil $LIBS"
11228cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18613cat >conftest.$ac_ext <<_ACEOF
18614/* confdefs.h. */
18615_ACEOF
18616cat confdefs.h >>conftest.$ac_ext
18617cat >>conftest.$ac_ext <<_ACEOF
11229/* end confdefs.h. */ 18618/* end confdefs.h. */
11230 18619
11231/* Override any GCC internal prototype to avoid an error. 18620/* Override any GCC internal prototype to avoid an error.
@@ -11243,18 +18632,43 @@ return getloadavg ();
11243 return 0; 18632 return 0;
11244} 18633}
11245_ACEOF 18634_ACEOF
11246if ac_fn_c_try_link "$LINENO"; then : 18635rm -f conftest.$ac_objext conftest$ac_exeext
18636if { (ac_try="$ac_link"
18637case "(($ac_try" in
18638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18639 *) ac_try_echo=$ac_try;;
18640esac
18641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18642$as_echo "$ac_try_echo") >&5
18643 (eval "$ac_link") 2>conftest.er1
18644 ac_status=$?
18645 grep -v '^ *+' conftest.er1 >conftest.err
18646 rm -f conftest.er1
18647 cat conftest.err >&5
18648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } && {
18650 test -z "$ac_c_werror_flag" ||
18651 test ! -s conftest.err
18652 } && test -s conftest$ac_exeext && {
18653 test "$cross_compiling" = yes ||
18654 $as_test_x conftest$ac_exeext
18655 }; then
11247 ac_cv_lib_util_getloadavg=yes 18656 ac_cv_lib_util_getloadavg=yes
11248else 18657else
11249 ac_cv_lib_util_getloadavg=no 18658 $as_echo "$as_me: failed program was:" >&5
18659sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 ac_cv_lib_util_getloadavg=no
11250fi 18662fi
11251rm -f core conftest.err conftest.$ac_objext \ 18663
11252 conftest$ac_exeext conftest.$ac_ext 18664rm -rf conftest.dSYM
18665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18666 conftest$ac_exeext conftest.$ac_ext
11253LIBS=$ac_check_lib_save_LIBS 18667LIBS=$ac_check_lib_save_LIBS
11254fi 18668fi
11255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 18669{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
11256$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 18670$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
11257if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : 18671if test $ac_cv_lib_util_getloadavg = yes; then
11258 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 18672 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
11259fi 18673fi
11260 18674
@@ -11265,14 +18679,18 @@ if test $ac_have_func = no; then
11265 # Since it is not a standard part of AIX, it might be installed locally. 18679 # Since it is not a standard part of AIX, it might be installed locally.
11266 ac_getloadavg_LIBS=$LIBS 18680 ac_getloadavg_LIBS=$LIBS
11267 LIBS="-L/usr/local/lib $LIBS" 18681 LIBS="-L/usr/local/lib $LIBS"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 18682 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
11269$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 18683$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
11270if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : 18684if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
11271 $as_echo_n "(cached) " >&6 18685 $as_echo_n "(cached) " >&6
11272else 18686else
11273 ac_check_lib_save_LIBS=$LIBS 18687 ac_check_lib_save_LIBS=$LIBS
11274LIBS="-lgetloadavg $LIBS" 18688LIBS="-lgetloadavg $LIBS"
11275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18689cat >conftest.$ac_ext <<_ACEOF
18690/* confdefs.h. */
18691_ACEOF
18692cat confdefs.h >>conftest.$ac_ext
18693cat >>conftest.$ac_ext <<_ACEOF
11276/* end confdefs.h. */ 18694/* end confdefs.h. */
11277 18695
11278/* Override any GCC internal prototype to avoid an error. 18696/* Override any GCC internal prototype to avoid an error.
@@ -11290,18 +18708,43 @@ return getloadavg ();
11290 return 0; 18708 return 0;
11291} 18709}
11292_ACEOF 18710_ACEOF
11293if ac_fn_c_try_link "$LINENO"; then : 18711rm -f conftest.$ac_objext conftest$ac_exeext
18712if { (ac_try="$ac_link"
18713case "(($ac_try" in
18714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18715 *) ac_try_echo=$ac_try;;
18716esac
18717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18718$as_echo "$ac_try_echo") >&5
18719 (eval "$ac_link") 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } && {
18726 test -z "$ac_c_werror_flag" ||
18727 test ! -s conftest.err
18728 } && test -s conftest$ac_exeext && {
18729 test "$cross_compiling" = yes ||
18730 $as_test_x conftest$ac_exeext
18731 }; then
11294 ac_cv_lib_getloadavg_getloadavg=yes 18732 ac_cv_lib_getloadavg_getloadavg=yes
11295else 18733else
11296 ac_cv_lib_getloadavg_getloadavg=no 18734 $as_echo "$as_me: failed program was:" >&5
18735sed 's/^/| /' conftest.$ac_ext >&5
18736
18737 ac_cv_lib_getloadavg_getloadavg=no
11297fi 18738fi
11298rm -f core conftest.err conftest.$ac_objext \ 18739
11299 conftest$ac_exeext conftest.$ac_ext 18740rm -rf conftest.dSYM
18741rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18742 conftest$ac_exeext conftest.$ac_ext
11300LIBS=$ac_check_lib_save_LIBS 18743LIBS=$ac_check_lib_save_LIBS
11301fi 18744fi
11302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 18745{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
11303$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 18746$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
11304if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : 18747if test $ac_cv_lib_getloadavg_getloadavg = yes; then
11305 LIBS="-lgetloadavg $LIBS" 18748 LIBS="-lgetloadavg $LIBS"
11306else 18749else
11307 LIBS=$ac_getloadavg_LIBS 18750 LIBS=$ac_getloadavg_LIBS
@@ -11311,12 +18754,101 @@ fi
11311 18754
11312# Make sure it is really in the library, if we think we found it, 18755# Make sure it is really in the library, if we think we found it,
11313# otherwise set up the replacement function. 18756# otherwise set up the replacement function.
18757
11314for ac_func in getloadavg 18758for ac_func in getloadavg
11315do : 18759do
11316 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 18760as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11317if test "x$ac_cv_func_getloadavg" = x""yes; then : 18761{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18762$as_echo_n "checking for $ac_func... " >&6; }
18763if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18764 $as_echo_n "(cached) " >&6
18765else
18766 cat >conftest.$ac_ext <<_ACEOF
18767/* confdefs.h. */
18768_ACEOF
18769cat confdefs.h >>conftest.$ac_ext
18770cat >>conftest.$ac_ext <<_ACEOF
18771/* end confdefs.h. */
18772/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18774#define $ac_func innocuous_$ac_func
18775
18776/* System header to define __stub macros and hopefully few prototypes,
18777 which can conflict with char $ac_func (); below.
18778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18779 <limits.h> exists even on freestanding compilers. */
18780
18781#ifdef __STDC__
18782# include <limits.h>
18783#else
18784# include <assert.h>
18785#endif
18786
18787#undef $ac_func
18788
18789/* Override any GCC internal prototype to avoid an error.
18790 Use char because int might match the return type of a GCC
18791 builtin and then its argument prototype would still apply. */
18792#ifdef __cplusplus
18793extern "C"
18794#endif
18795char $ac_func ();
18796/* The GNU C library defines this for functions which it implements
18797 to always fail with ENOSYS. Some functions are actually named
18798 something starting with __ and the normal name is an alias. */
18799#if defined __stub_$ac_func || defined __stub___$ac_func
18800choke me
18801#endif
18802
18803int
18804main ()
18805{
18806return $ac_func ();
18807 ;
18808 return 0;
18809}
18810_ACEOF
18811rm -f conftest.$ac_objext conftest$ac_exeext
18812if { (ac_try="$ac_link"
18813case "(($ac_try" in
18814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18815 *) ac_try_echo=$ac_try;;
18816esac
18817eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18818$as_echo "$ac_try_echo") >&5
18819 (eval "$ac_link") 2>conftest.er1
18820 ac_status=$?
18821 grep -v '^ *+' conftest.er1 >conftest.err
18822 rm -f conftest.er1
18823 cat conftest.err >&5
18824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } && {
18826 test -z "$ac_c_werror_flag" ||
18827 test ! -s conftest.err
18828 } && test -s conftest$ac_exeext && {
18829 test "$cross_compiling" = yes ||
18830 $as_test_x conftest$ac_exeext
18831 }; then
18832 eval "$as_ac_var=yes"
18833else
18834 $as_echo "$as_me: failed program was:" >&5
18835sed 's/^/| /' conftest.$ac_ext >&5
18836
18837 eval "$as_ac_var=no"
18838fi
18839
18840rm -rf conftest.dSYM
18841rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18842 conftest$ac_exeext conftest.$ac_ext
18843fi
18844ac_res=`eval 'as_val=${'$as_ac_var'}
18845 $as_echo "$as_val"'`
18846 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18847$as_echo "$ac_res" >&6; }
18848if test `eval 'as_val=${'$as_ac_var'}
18849 $as_echo "$as_val"'` = yes; then
11318 cat >>confdefs.h <<_ACEOF 18850 cat >>confdefs.h <<_ACEOF
11319#define HAVE_GETLOADAVG 1 18851#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11320_ACEOF 18852_ACEOF
11321 18853
11322else 18854else
@@ -11327,24 +18859,159 @@ else
11327esac 18859esac
11328 18860
11329 18861
11330$as_echo "#define C_GETLOADAVG 1" >>confdefs.h 18862cat >>confdefs.h <<\_ACEOF
18863#define C_GETLOADAVG 1
18864_ACEOF
11331 18865
11332# Figure out what our getloadavg.c needs. 18866# Figure out what our getloadavg.c needs.
11333ac_have_func=no 18867ac_have_func=no
11334ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" 18868if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11335if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : 18869 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18870$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
18871if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18872 $as_echo_n "(cached) " >&6
18873fi
18874{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18875$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
18876else
18877 # Is the header compilable?
18878{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
18879$as_echo_n "checking sys/dg_sys_info.h usability... " >&6; }
18880cat >conftest.$ac_ext <<_ACEOF
18881/* confdefs.h. */
18882_ACEOF
18883cat confdefs.h >>conftest.$ac_ext
18884cat >>conftest.$ac_ext <<_ACEOF
18885/* end confdefs.h. */
18886$ac_includes_default
18887#include <sys/dg_sys_info.h>
18888_ACEOF
18889rm -f conftest.$ac_objext
18890if { (ac_try="$ac_compile"
18891case "(($ac_try" in
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18894esac
18895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18896$as_echo "$ac_try_echo") >&5
18897 (eval "$ac_compile") 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } && {
18904 test -z "$ac_c_werror_flag" ||
18905 test ! -s conftest.err
18906 } && test -s conftest.$ac_objext; then
18907 ac_header_compiler=yes
18908else
18909 $as_echo "$as_me: failed program was:" >&5
18910sed 's/^/| /' conftest.$ac_ext >&5
18911
18912 ac_header_compiler=no
18913fi
18914
18915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18916{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18917$as_echo "$ac_header_compiler" >&6; }
18918
18919# Is the header present?
18920{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
18921$as_echo_n "checking sys/dg_sys_info.h presence... " >&6; }
18922cat >conftest.$ac_ext <<_ACEOF
18923/* confdefs.h. */
18924_ACEOF
18925cat confdefs.h >>conftest.$ac_ext
18926cat >>conftest.$ac_ext <<_ACEOF
18927/* end confdefs.h. */
18928#include <sys/dg_sys_info.h>
18929_ACEOF
18930if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
18944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18945 test ! -s conftest.err
18946 }; then
18947 ac_header_preproc=yes
18948else
18949 $as_echo "$as_me: failed program was:" >&5
18950sed 's/^/| /' conftest.$ac_ext >&5
18951
18952 ac_header_preproc=no
18953fi
18954
18955rm -f conftest.err conftest.$ac_ext
18956{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18957$as_echo "$ac_header_preproc" >&6; }
18958
18959# So? What about this header?
18960case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18961 yes:no: )
18962 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
18963$as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18964 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
18965$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
18966 ac_header_preproc=yes
18967 ;;
18968 no:yes:* )
18969 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
18970$as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
18971 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
18972$as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
18973 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
18974$as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
18975 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
18976$as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
18977 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
18978$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
18979 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
18980$as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
18981
18982 ;;
18983esac
18984{ $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18985$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
18986if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18987 $as_echo_n "(cached) " >&6
18988else
18989 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
18990fi
18991{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18992$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
18993
18994fi
18995if test $ac_cv_header_sys_dg_sys_info_h = yes; then
11336 ac_have_func=yes 18996 ac_have_func=yes
11337 18997
11338$as_echo "#define DGUX 1" >>confdefs.h 18998cat >>confdefs.h <<\_ACEOF
18999#define DGUX 1
19000_ACEOF
19001
11339 19002
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 19003{ $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
11341$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 19004$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
11342if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : 19005if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
11343 $as_echo_n "(cached) " >&6 19006 $as_echo_n "(cached) " >&6
11344else 19007else
11345 ac_check_lib_save_LIBS=$LIBS 19008 ac_check_lib_save_LIBS=$LIBS
11346LIBS="-ldgc $LIBS" 19009LIBS="-ldgc $LIBS"
11347cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19010cat >conftest.$ac_ext <<_ACEOF
19011/* confdefs.h. */
19012_ACEOF
19013cat confdefs.h >>conftest.$ac_ext
19014cat >>conftest.$ac_ext <<_ACEOF
11348/* end confdefs.h. */ 19015/* end confdefs.h. */
11349 19016
11350/* Override any GCC internal prototype to avoid an error. 19017/* Override any GCC internal prototype to avoid an error.
@@ -11362,18 +19029,43 @@ return dg_sys_info ();
11362 return 0; 19029 return 0;
11363} 19030}
11364_ACEOF 19031_ACEOF
11365if ac_fn_c_try_link "$LINENO"; then : 19032rm -f conftest.$ac_objext conftest$ac_exeext
19033if { (ac_try="$ac_link"
19034case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19037esac
19038eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19039$as_echo "$ac_try_echo") >&5
19040 (eval "$ac_link") 2>conftest.er1
19041 ac_status=$?
19042 grep -v '^ *+' conftest.er1 >conftest.err
19043 rm -f conftest.er1
19044 cat conftest.err >&5
19045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } && {
19047 test -z "$ac_c_werror_flag" ||
19048 test ! -s conftest.err
19049 } && test -s conftest$ac_exeext && {
19050 test "$cross_compiling" = yes ||
19051 $as_test_x conftest$ac_exeext
19052 }; then
11366 ac_cv_lib_dgc_dg_sys_info=yes 19053 ac_cv_lib_dgc_dg_sys_info=yes
11367else 19054else
11368 ac_cv_lib_dgc_dg_sys_info=no 19055 $as_echo "$as_me: failed program was:" >&5
19056sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 ac_cv_lib_dgc_dg_sys_info=no
11369fi 19059fi
11370rm -f core conftest.err conftest.$ac_objext \ 19060
11371 conftest$ac_exeext conftest.$ac_ext 19061rm -rf conftest.dSYM
19062rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19063 conftest$ac_exeext conftest.$ac_ext
11372LIBS=$ac_check_lib_save_LIBS 19064LIBS=$ac_check_lib_save_LIBS
11373fi 19065fi
11374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 19066{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
11375$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 19067$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
11376if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : 19068if test $ac_cv_lib_dgc_dg_sys_info = yes; then
11377 cat >>confdefs.h <<_ACEOF 19069 cat >>confdefs.h <<_ACEOF
11378#define HAVE_LIBDGC 1 19070#define HAVE_LIBDGC 1
11379_ACEOF 19071_ACEOF
@@ -11386,18 +19078,230 @@ fi
11386 19078
11387 19079
11388 19080
11389ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 19081if test "${ac_cv_header_locale_h+set}" = set; then
11390if test "x$ac_cv_header_locale_h" = x""yes; then : 19082 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5
19083$as_echo_n "checking for locale.h... " >&6; }
19084if test "${ac_cv_header_locale_h+set}" = set; then
19085 $as_echo_n "(cached) " >&6
19086fi
19087{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19088$as_echo "$ac_cv_header_locale_h" >&6; }
19089else
19090 # Is the header compilable?
19091{ $as_echo "$as_me:$LINENO: checking locale.h usability" >&5
19092$as_echo_n "checking locale.h usability... " >&6; }
19093cat >conftest.$ac_ext <<_ACEOF
19094/* confdefs.h. */
19095_ACEOF
19096cat confdefs.h >>conftest.$ac_ext
19097cat >>conftest.$ac_ext <<_ACEOF
19098/* end confdefs.h. */
19099$ac_includes_default
19100#include <locale.h>
19101_ACEOF
19102rm -f conftest.$ac_objext
19103if { (ac_try="$ac_compile"
19104case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19107esac
19108eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19109$as_echo "$ac_try_echo") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 ac_header_compiler=yes
19121else
19122 $as_echo "$as_me: failed program was:" >&5
19123sed 's/^/| /' conftest.$ac_ext >&5
19124
19125 ac_header_compiler=no
19126fi
19127
19128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19130$as_echo "$ac_header_compiler" >&6; }
19131
19132# Is the header present?
19133{ $as_echo "$as_me:$LINENO: checking locale.h presence" >&5
19134$as_echo_n "checking locale.h presence... " >&6; }
19135cat >conftest.$ac_ext <<_ACEOF
19136/* confdefs.h. */
19137_ACEOF
19138cat confdefs.h >>conftest.$ac_ext
19139cat >>conftest.$ac_ext <<_ACEOF
19140/* end confdefs.h. */
19141#include <locale.h>
19142_ACEOF
19143if { (ac_try="$ac_cpp conftest.$ac_ext"
19144case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19147esac
19148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19149$as_echo "$ac_try_echo") >&5
19150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19151 ac_status=$?
19152 grep -v '^ *+' conftest.er1 >conftest.err
19153 rm -f conftest.er1
19154 cat conftest.err >&5
19155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } >/dev/null && {
19157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19158 test ! -s conftest.err
19159 }; then
19160 ac_header_preproc=yes
19161else
19162 $as_echo "$as_me: failed program was:" >&5
19163sed 's/^/| /' conftest.$ac_ext >&5
19164
19165 ac_header_preproc=no
19166fi
19167
19168rm -f conftest.err conftest.$ac_ext
19169{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19170$as_echo "$ac_header_preproc" >&6; }
19171
19172# So? What about this header?
19173case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19174 yes:no: )
19175 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
19176$as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19177 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
19178$as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
19179 ac_header_preproc=yes
19180 ;;
19181 no:yes:* )
19182 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
19183$as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
19184 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
19185$as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
19186 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
19187$as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
19188 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
19189$as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
19190 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
19191$as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
19192 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
19193$as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
19194
19195 ;;
19196esac
19197{ $as_echo "$as_me:$LINENO: checking for locale.h" >&5
19198$as_echo_n "checking for locale.h... " >&6; }
19199if test "${ac_cv_header_locale_h+set}" = set; then
19200 $as_echo_n "(cached) " >&6
19201else
19202 ac_cv_header_locale_h=$ac_header_preproc
19203fi
19204{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19205$as_echo "$ac_cv_header_locale_h" >&6; }
11391 19206
11392fi 19207fi
11393 19208
11394 19209
19210
11395for ac_func in setlocale 19211for ac_func in setlocale
11396do : 19212do
11397 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 19213as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11398if test "x$ac_cv_func_setlocale" = x""yes; then : 19214{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19215$as_echo_n "checking for $ac_func... " >&6; }
19216if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19217 $as_echo_n "(cached) " >&6
19218else
19219 cat >conftest.$ac_ext <<_ACEOF
19220/* confdefs.h. */
19221_ACEOF
19222cat confdefs.h >>conftest.$ac_ext
19223cat >>conftest.$ac_ext <<_ACEOF
19224/* end confdefs.h. */
19225/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19227#define $ac_func innocuous_$ac_func
19228
19229/* System header to define __stub macros and hopefully few prototypes,
19230 which can conflict with char $ac_func (); below.
19231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19232 <limits.h> exists even on freestanding compilers. */
19233
19234#ifdef __STDC__
19235# include <limits.h>
19236#else
19237# include <assert.h>
19238#endif
19239
19240#undef $ac_func
19241
19242/* Override any GCC internal prototype to avoid an error.
19243 Use char because int might match the return type of a GCC
19244 builtin and then its argument prototype would still apply. */
19245#ifdef __cplusplus
19246extern "C"
19247#endif
19248char $ac_func ();
19249/* The GNU C library defines this for functions which it implements
19250 to always fail with ENOSYS. Some functions are actually named
19251 something starting with __ and the normal name is an alias. */
19252#if defined __stub_$ac_func || defined __stub___$ac_func
19253choke me
19254#endif
19255
19256int
19257main ()
19258{
19259return $ac_func ();
19260 ;
19261 return 0;
19262}
19263_ACEOF
19264rm -f conftest.$ac_objext conftest$ac_exeext
19265if { (ac_try="$ac_link"
19266case "(($ac_try" in
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19269esac
19270eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19271$as_echo "$ac_try_echo") >&5
19272 (eval "$ac_link") 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_c_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest$ac_exeext && {
19282 test "$cross_compiling" = yes ||
19283 $as_test_x conftest$ac_exeext
19284 }; then
19285 eval "$as_ac_var=yes"
19286else
19287 $as_echo "$as_me: failed program was:" >&5
19288sed 's/^/| /' conftest.$ac_ext >&5
19289
19290 eval "$as_ac_var=no"
19291fi
19292
19293rm -rf conftest.dSYM
19294rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19295 conftest$ac_exeext conftest.$ac_ext
19296fi
19297ac_res=`eval 'as_val=${'$as_ac_var'}
19298 $as_echo "$as_val"'`
19299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19300$as_echo "$ac_res" >&6; }
19301if test `eval 'as_val=${'$as_ac_var'}
19302 $as_echo "$as_val"'` = yes; then
11399 cat >>confdefs.h <<_ACEOF 19303 cat >>confdefs.h <<_ACEOF
11400#define HAVE_SETLOCALE 1 19304#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11401_ACEOF 19305_ACEOF
11402 19306
11403fi 19307fi
@@ -11410,19 +19314,151 @@ done
11410if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 19314if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
11411 ac_have_func=yes 19315 ac_have_func=yes
11412 19316
11413$as_echo "#define SVR4 1" >>confdefs.h 19317cat >>confdefs.h <<\_ACEOF
19318#define SVR4 1
19319_ACEOF
11414 19320
11415fi 19321fi
11416 19322
11417if test $ac_have_func = no; then 19323if test $ac_have_func = no; then
11418 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" 19324 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11419if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : 19325 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
19326$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19327if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19328 $as_echo_n "(cached) " >&6
19329fi
19330{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19331$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19332else
19333 # Is the header compilable?
19334{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
19335$as_echo_n "checking inq_stats/cpustats.h usability... " >&6; }
19336cat >conftest.$ac_ext <<_ACEOF
19337/* confdefs.h. */
19338_ACEOF
19339cat confdefs.h >>conftest.$ac_ext
19340cat >>conftest.$ac_ext <<_ACEOF
19341/* end confdefs.h. */
19342$ac_includes_default
19343#include <inq_stats/cpustats.h>
19344_ACEOF
19345rm -f conftest.$ac_objext
19346if { (ac_try="$ac_compile"
19347case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19350esac
19351eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19352$as_echo "$ac_try_echo") >&5
19353 (eval "$ac_compile") 2>conftest.er1
19354 ac_status=$?
19355 grep -v '^ *+' conftest.er1 >conftest.err
19356 rm -f conftest.er1
19357 cat conftest.err >&5
19358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); } && {
19360 test -z "$ac_c_werror_flag" ||
19361 test ! -s conftest.err
19362 } && test -s conftest.$ac_objext; then
19363 ac_header_compiler=yes
19364else
19365 $as_echo "$as_me: failed program was:" >&5
19366sed 's/^/| /' conftest.$ac_ext >&5
19367
19368 ac_header_compiler=no
19369fi
19370
19371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19372{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19373$as_echo "$ac_header_compiler" >&6; }
19374
19375# Is the header present?
19376{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
19377$as_echo_n "checking inq_stats/cpustats.h presence... " >&6; }
19378cat >conftest.$ac_ext <<_ACEOF
19379/* confdefs.h. */
19380_ACEOF
19381cat confdefs.h >>conftest.$ac_ext
19382cat >>conftest.$ac_ext <<_ACEOF
19383/* end confdefs.h. */
19384#include <inq_stats/cpustats.h>
19385_ACEOF
19386if { (ac_try="$ac_cpp conftest.$ac_ext"
19387case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19390esac
19391eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19392$as_echo "$ac_try_echo") >&5
19393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19394 ac_status=$?
19395 grep -v '^ *+' conftest.er1 >conftest.err
19396 rm -f conftest.er1
19397 cat conftest.err >&5
19398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } >/dev/null && {
19400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19401 test ! -s conftest.err
19402 }; then
19403 ac_header_preproc=yes
19404else
19405 $as_echo "$as_me: failed program was:" >&5
19406sed 's/^/| /' conftest.$ac_ext >&5
19407
19408 ac_header_preproc=no
19409fi
19410
19411rm -f conftest.err conftest.$ac_ext
19412{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19413$as_echo "$ac_header_preproc" >&6; }
19414
19415# So? What about this header?
19416case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19417 yes:no: )
19418 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19419$as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19420 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
19421$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
19422 ac_header_preproc=yes
19423 ;;
19424 no:yes:* )
19425 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
19426$as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
19427 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
19428$as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
19429 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
19430$as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
19431 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19432$as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19433 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
19434$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
19435 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
19436$as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
19437
19438 ;;
19439esac
19440{ $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
19441$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19442if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19443 $as_echo_n "(cached) " >&6
19444else
19445 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
19446fi
19447{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19448$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19449
19450fi
19451if test $ac_cv_header_inq_stats_cpustats_h = yes; then
11420 ac_have_func=yes 19452 ac_have_func=yes
11421 19453
11422$as_echo "#define UMAX 1" >>confdefs.h 19454cat >>confdefs.h <<\_ACEOF
19455#define UMAX 1
19456_ACEOF
11423 19457
11424 19458
11425$as_echo "#define UMAX4_3 1" >>confdefs.h 19459cat >>confdefs.h <<\_ACEOF
19460#define UMAX4_3 1
19461_ACEOF
11426 19462
11427fi 19463fi
11428 19464
@@ -11430,9 +19466,137 @@ fi
11430fi 19466fi
11431 19467
11432if test $ac_have_func = no; then 19468if test $ac_have_func = no; then
11433 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" 19469 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11434if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : 19470 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11435 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h 19471$as_echo_n "checking for sys/cpustats.h... " >&6; }
19472if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19473 $as_echo_n "(cached) " >&6
19474fi
19475{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19476$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19477else
19478 # Is the header compilable?
19479{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
19480$as_echo_n "checking sys/cpustats.h usability... " >&6; }
19481cat >conftest.$ac_ext <<_ACEOF
19482/* confdefs.h. */
19483_ACEOF
19484cat confdefs.h >>conftest.$ac_ext
19485cat >>conftest.$ac_ext <<_ACEOF
19486/* end confdefs.h. */
19487$ac_includes_default
19488#include <sys/cpustats.h>
19489_ACEOF
19490rm -f conftest.$ac_objext
19491if { (ac_try="$ac_compile"
19492case "(($ac_try" in
19493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19494 *) ac_try_echo=$ac_try;;
19495esac
19496eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19497$as_echo "$ac_try_echo") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_header_compiler=yes
19509else
19510 $as_echo "$as_me: failed program was:" >&5
19511sed 's/^/| /' conftest.$ac_ext >&5
19512
19513 ac_header_compiler=no
19514fi
19515
19516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19517{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19518$as_echo "$ac_header_compiler" >&6; }
19519
19520# Is the header present?
19521{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
19522$as_echo_n "checking sys/cpustats.h presence... " >&6; }
19523cat >conftest.$ac_ext <<_ACEOF
19524/* confdefs.h. */
19525_ACEOF
19526cat confdefs.h >>conftest.$ac_ext
19527cat >>conftest.$ac_ext <<_ACEOF
19528/* end confdefs.h. */
19529#include <sys/cpustats.h>
19530_ACEOF
19531if { (ac_try="$ac_cpp conftest.$ac_ext"
19532case "(($ac_try" in
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 *) ac_try_echo=$ac_try;;
19535esac
19536eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19537$as_echo "$ac_try_echo") >&5
19538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } >/dev/null && {
19545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19546 test ! -s conftest.err
19547 }; then
19548 ac_header_preproc=yes
19549else
19550 $as_echo "$as_me: failed program was:" >&5
19551sed 's/^/| /' conftest.$ac_ext >&5
19552
19553 ac_header_preproc=no
19554fi
19555
19556rm -f conftest.err conftest.$ac_ext
19557{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19558$as_echo "$ac_header_preproc" >&6; }
19559
19560# So? What about this header?
19561case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19562 yes:no: )
19563 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19564$as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19565 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
19566$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
19567 ac_header_preproc=yes
19568 ;;
19569 no:yes:* )
19570 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
19571$as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
19572 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
19573$as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
19574 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
19575$as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
19576 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19577$as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19578 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
19579$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
19580 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
19581$as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
19582
19583 ;;
19584esac
19585{ $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
19586$as_echo_n "checking for sys/cpustats.h... " >&6; }
19587if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19588 $as_echo_n "(cached) " >&6
19589else
19590 ac_cv_header_sys_cpustats_h=$ac_header_preproc
19591fi
19592{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19593$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19594
19595fi
19596if test $ac_cv_header_sys_cpustats_h = yes; then
19597 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
19598#define UMAX 1
19599_ACEOF
11436 19600
11437fi 19601fi
11438 19602
@@ -11440,12 +19604,145 @@ fi
11440fi 19604fi
11441 19605
11442if test $ac_have_func = no; then 19606if test $ac_have_func = no; then
11443 for ac_header in mach/mach.h 19607
11444do : 19608for ac_header in mach/mach.h
11445 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" 19609do
11446if test "x$ac_cv_header_mach_mach_h" = x""yes; then : 19610as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19611if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19612 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19613$as_echo_n "checking for $ac_header... " >&6; }
19614if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19615 $as_echo_n "(cached) " >&6
19616fi
19617ac_res=`eval 'as_val=${'$as_ac_Header'}
19618 $as_echo "$as_val"'`
19619 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19620$as_echo "$ac_res" >&6; }
19621else
19622 # Is the header compilable?
19623{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19624$as_echo_n "checking $ac_header usability... " >&6; }
19625cat >conftest.$ac_ext <<_ACEOF
19626/* confdefs.h. */
19627_ACEOF
19628cat confdefs.h >>conftest.$ac_ext
19629cat >>conftest.$ac_ext <<_ACEOF
19630/* end confdefs.h. */
19631$ac_includes_default
19632#include <$ac_header>
19633_ACEOF
19634rm -f conftest.$ac_objext
19635if { (ac_try="$ac_compile"
19636case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19639esac
19640eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19641$as_echo "$ac_try_echo") >&5
19642 (eval "$ac_compile") 2>conftest.er1
19643 ac_status=$?
19644 grep -v '^ *+' conftest.er1 >conftest.err
19645 rm -f conftest.er1
19646 cat conftest.err >&5
19647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest.$ac_objext; then
19652 ac_header_compiler=yes
19653else
19654 $as_echo "$as_me: failed program was:" >&5
19655sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 ac_header_compiler=no
19658fi
19659
19660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19662$as_echo "$ac_header_compiler" >&6; }
19663
19664# Is the header present?
19665{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19666$as_echo_n "checking $ac_header presence... " >&6; }
19667cat >conftest.$ac_ext <<_ACEOF
19668/* confdefs.h. */
19669_ACEOF
19670cat confdefs.h >>conftest.$ac_ext
19671cat >>conftest.$ac_ext <<_ACEOF
19672/* end confdefs.h. */
19673#include <$ac_header>
19674_ACEOF
19675if { (ac_try="$ac_cpp conftest.$ac_ext"
19676case "(($ac_try" in
19677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19678 *) ac_try_echo=$ac_try;;
19679esac
19680eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19681$as_echo "$ac_try_echo") >&5
19682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19683 ac_status=$?
19684 grep -v '^ *+' conftest.er1 >conftest.err
19685 rm -f conftest.er1
19686 cat conftest.err >&5
19687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } >/dev/null && {
19689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19690 test ! -s conftest.err
19691 }; then
19692 ac_header_preproc=yes
19693else
19694 $as_echo "$as_me: failed program was:" >&5
19695sed 's/^/| /' conftest.$ac_ext >&5
19696
19697 ac_header_preproc=no
19698fi
19699
19700rm -f conftest.err conftest.$ac_ext
19701{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19702$as_echo "$ac_header_preproc" >&6; }
19703
19704# So? What about this header?
19705case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19706 yes:no: )
19707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19708$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19710$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19711 ac_header_preproc=yes
19712 ;;
19713 no:yes:* )
19714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19715$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19717$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19719$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19721$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19722 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19723$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19725$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19726
19727 ;;
19728esac
19729{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19730$as_echo_n "checking for $ac_header... " >&6; }
19731if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19732 $as_echo_n "(cached) " >&6
19733else
19734 eval "$as_ac_Header=\$ac_header_preproc"
19735fi
19736ac_res=`eval 'as_val=${'$as_ac_Header'}
19737 $as_echo "$as_val"'`
19738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19739$as_echo "$ac_res" >&6; }
19740
19741fi
19742if test `eval 'as_val=${'$as_ac_Header'}
19743 $as_echo "$as_val"'` = yes; then
11447 cat >>confdefs.h <<_ACEOF 19744 cat >>confdefs.h <<_ACEOF
11448#define HAVE_MACH_MACH_H 1 19745#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11449_ACEOF 19746_ACEOF
11450 19747
11451fi 19748fi
@@ -11454,23 +19751,253 @@ done
11454 19751
11455fi 19752fi
11456 19753
19754
11457for ac_header in nlist.h 19755for ac_header in nlist.h
11458do : 19756do
11459 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 19757as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11460if test "x$ac_cv_header_nlist_h" = x""yes; then : 19758if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19759 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19760$as_echo_n "checking for $ac_header... " >&6; }
19761if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19762 $as_echo_n "(cached) " >&6
19763fi
19764ac_res=`eval 'as_val=${'$as_ac_Header'}
19765 $as_echo "$as_val"'`
19766 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19767$as_echo "$ac_res" >&6; }
19768else
19769 # Is the header compilable?
19770{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19771$as_echo_n "checking $ac_header usability... " >&6; }
19772cat >conftest.$ac_ext <<_ACEOF
19773/* confdefs.h. */
19774_ACEOF
19775cat confdefs.h >>conftest.$ac_ext
19776cat >>conftest.$ac_ext <<_ACEOF
19777/* end confdefs.h. */
19778$ac_includes_default
19779#include <$ac_header>
19780_ACEOF
19781rm -f conftest.$ac_objext
19782if { (ac_try="$ac_compile"
19783case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19786esac
19787eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19788$as_echo "$ac_try_echo") >&5
19789 (eval "$ac_compile") 2>conftest.er1
19790 ac_status=$?
19791 grep -v '^ *+' conftest.er1 >conftest.err
19792 rm -f conftest.er1
19793 cat conftest.err >&5
19794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } && {
19796 test -z "$ac_c_werror_flag" ||
19797 test ! -s conftest.err
19798 } && test -s conftest.$ac_objext; then
19799 ac_header_compiler=yes
19800else
19801 $as_echo "$as_me: failed program was:" >&5
19802sed 's/^/| /' conftest.$ac_ext >&5
19803
19804 ac_header_compiler=no
19805fi
19806
19807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19808{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19809$as_echo "$ac_header_compiler" >&6; }
19810
19811# Is the header present?
19812{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19813$as_echo_n "checking $ac_header presence... " >&6; }
19814cat >conftest.$ac_ext <<_ACEOF
19815/* confdefs.h. */
19816_ACEOF
19817cat confdefs.h >>conftest.$ac_ext
19818cat >>conftest.$ac_ext <<_ACEOF
19819/* end confdefs.h. */
19820#include <$ac_header>
19821_ACEOF
19822if { (ac_try="$ac_cpp conftest.$ac_ext"
19823case "(($ac_try" in
19824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19826esac
19827eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19828$as_echo "$ac_try_echo") >&5
19829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19830 ac_status=$?
19831 grep -v '^ *+' conftest.er1 >conftest.err
19832 rm -f conftest.er1
19833 cat conftest.err >&5
19834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } >/dev/null && {
19836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19837 test ! -s conftest.err
19838 }; then
19839 ac_header_preproc=yes
19840else
19841 $as_echo "$as_me: failed program was:" >&5
19842sed 's/^/| /' conftest.$ac_ext >&5
19843
19844 ac_header_preproc=no
19845fi
19846
19847rm -f conftest.err conftest.$ac_ext
19848{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19849$as_echo "$ac_header_preproc" >&6; }
19850
19851# So? What about this header?
19852case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19853 yes:no: )
19854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19855$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19857$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19858 ac_header_preproc=yes
19859 ;;
19860 no:yes:* )
19861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19862$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19864$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19866$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19868$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19870$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19871 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19872$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19873
19874 ;;
19875esac
19876{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19877$as_echo_n "checking for $ac_header... " >&6; }
19878if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19879 $as_echo_n "(cached) " >&6
19880else
19881 eval "$as_ac_Header=\$ac_header_preproc"
19882fi
19883ac_res=`eval 'as_val=${'$as_ac_Header'}
19884 $as_echo "$as_val"'`
19885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19886$as_echo "$ac_res" >&6; }
19887
19888fi
19889if test `eval 'as_val=${'$as_ac_Header'}
19890 $as_echo "$as_val"'` = yes; then
11461 cat >>confdefs.h <<_ACEOF 19891 cat >>confdefs.h <<_ACEOF
11462#define HAVE_NLIST_H 1 19892#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11463_ACEOF 19893_ACEOF
11464 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> 19894 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
11465" 19895$as_echo_n "checking for struct nlist.n_un.n_name... " >&6; }
11466if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : 19896if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
19897 $as_echo_n "(cached) " >&6
19898else
19899 cat >conftest.$ac_ext <<_ACEOF
19900/* confdefs.h. */
19901_ACEOF
19902cat confdefs.h >>conftest.$ac_ext
19903cat >>conftest.$ac_ext <<_ACEOF
19904/* end confdefs.h. */
19905#include <nlist.h>
19906
19907int
19908main ()
19909{
19910static struct nlist ac_aggr;
19911if (ac_aggr.n_un.n_name)
19912return 0;
19913 ;
19914 return 0;
19915}
19916_ACEOF
19917rm -f conftest.$ac_objext
19918if { (ac_try="$ac_compile"
19919case "(($ac_try" in
19920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19921 *) ac_try_echo=$ac_try;;
19922esac
19923eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19924$as_echo "$ac_try_echo") >&5
19925 (eval "$ac_compile") 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } && {
19932 test -z "$ac_c_werror_flag" ||
19933 test ! -s conftest.err
19934 } && test -s conftest.$ac_objext; then
19935 ac_cv_member_struct_nlist_n_un_n_name=yes
19936else
19937 $as_echo "$as_me: failed program was:" >&5
19938sed 's/^/| /' conftest.$ac_ext >&5
19939
19940 cat >conftest.$ac_ext <<_ACEOF
19941/* confdefs.h. */
19942_ACEOF
19943cat confdefs.h >>conftest.$ac_ext
19944cat >>conftest.$ac_ext <<_ACEOF
19945/* end confdefs.h. */
19946#include <nlist.h>
19947
19948int
19949main ()
19950{
19951static struct nlist ac_aggr;
19952if (sizeof ac_aggr.n_un.n_name)
19953return 0;
19954 ;
19955 return 0;
19956}
19957_ACEOF
19958rm -f conftest.$ac_objext
19959if { (ac_try="$ac_compile"
19960case "(($ac_try" in
19961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19962 *) ac_try_echo=$ac_try;;
19963esac
19964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19965$as_echo "$ac_try_echo") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1
19970 cat conftest.err >&5
19971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_cv_member_struct_nlist_n_un_n_name=yes
19977else
19978 $as_echo "$as_me: failed program was:" >&5
19979sed 's/^/| /' conftest.$ac_ext >&5
19980
19981 ac_cv_member_struct_nlist_n_un_n_name=no
19982fi
19983
19984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19985fi
19986
19987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19988fi
19989{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
19990$as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
19991if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
11467 19992
11468cat >>confdefs.h <<_ACEOF 19993cat >>confdefs.h <<_ACEOF
11469#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 19994#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
11470_ACEOF 19995_ACEOF
11471 19996
11472 19997
11473$as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h 19998cat >>confdefs.h <<\_ACEOF
19999#define NLIST_NAME_UNION 1
20000_ACEOF
11474 20001
11475fi 20002fi
11476 20003
@@ -11484,12 +20011,16 @@ done
11484 20011
11485 20012
11486# Some definitions of getloadavg require that the program be installed setgid. 20013# Some definitions of getloadavg require that the program be installed setgid.
11487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 20014{ $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
11488$as_echo_n "checking whether getloadavg requires setgid... " >&6; } 20015$as_echo_n "checking whether getloadavg requires setgid... " >&6; }
11489if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : 20016if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
11490 $as_echo_n "(cached) " >&6 20017 $as_echo_n "(cached) " >&6
11491else 20018else
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20019 cat >conftest.$ac_ext <<_ACEOF
20020/* confdefs.h. */
20021_ACEOF
20022cat confdefs.h >>conftest.$ac_ext
20023cat >>conftest.$ac_ext <<_ACEOF
11493/* end confdefs.h. */ 20024/* end confdefs.h. */
11494#include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 20025#include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
11495#ifdef LDAV_PRIVILEGED 20026#ifdef LDAV_PRIVILEGED
@@ -11497,7 +20028,7 @@ Yowza Am I SETGID yet
11497#endif 20028#endif
11498_ACEOF 20029_ACEOF
11499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 20030if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11500 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : 20031 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then
11501 ac_cv_func_getloadavg_setgid=yes 20032 ac_cv_func_getloadavg_setgid=yes
11502else 20033else
11503 ac_cv_func_getloadavg_setgid=no 20034 ac_cv_func_getloadavg_setgid=no
@@ -11505,21 +20036,23 @@ fi
11505rm -f conftest* 20036rm -f conftest*
11506 20037
11507fi 20038fi
11508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 20039{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
11509$as_echo "$ac_cv_func_getloadavg_setgid" >&6; } 20040$as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
11510if test $ac_cv_func_getloadavg_setgid = yes; then 20041if test $ac_cv_func_getloadavg_setgid = yes; then
11511 NEED_SETGID=true 20042 NEED_SETGID=true
11512 20043
11513$as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h 20044cat >>confdefs.h <<\_ACEOF
20045#define GETLOADAVG_PRIVILEGED 1
20046_ACEOF
11514 20047
11515else 20048else
11516 NEED_SETGID=false 20049 NEED_SETGID=false
11517fi 20050fi
11518 20051
11519if test $ac_cv_func_getloadavg_setgid = yes; then 20052if test $ac_cv_func_getloadavg_setgid = yes; then
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 20053 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
11521$as_echo_n "checking group of /dev/kmem... " >&6; } 20054$as_echo_n "checking group of /dev/kmem... " >&6; }
11522if test "${ac_cv_group_kmem+set}" = set; then : 20055if test "${ac_cv_group_kmem+set}" = set; then
11523 $as_echo_n "(cached) " >&6 20056 $as_echo_n "(cached) " >&6
11524else 20057else
11525 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 20058 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
@@ -11532,7 +20065,7 @@ else
11532 / /s/.* //;p;'` 20065 / /s/.* //;p;'`
11533 20066
11534fi 20067fi
11535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 20068{ $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
11536$as_echo "$ac_cv_group_kmem" >&6; } 20069$as_echo "$ac_cv_group_kmem" >&6; }
11537 KMEM_GROUP=$ac_cv_group_kmem 20070 KMEM_GROUP=$ac_cv_group_kmem
11538fi 20071fi
@@ -11545,13 +20078,17 @@ LIBS=$ac_save_LIBS
11545 20078
11546 20079
11547 20080
11548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 20081{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
11549$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 20082$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
11550if test "${ac_cv_sys_largefile_source+set}" = set; then : 20083if test "${ac_cv_sys_largefile_source+set}" = set; then
11551 $as_echo_n "(cached) " >&6 20084 $as_echo_n "(cached) " >&6
11552else 20085else
11553 while :; do 20086 while :; do
11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20087 cat >conftest.$ac_ext <<_ACEOF
20088/* confdefs.h. */
20089_ACEOF
20090cat confdefs.h >>conftest.$ac_ext
20091cat >>conftest.$ac_ext <<_ACEOF
11555/* end confdefs.h. */ 20092/* end confdefs.h. */
11556#include <sys/types.h> /* for off_t */ 20093#include <sys/types.h> /* for off_t */
11557 #include <stdio.h> 20094 #include <stdio.h>
@@ -11564,12 +20101,43 @@ int (*fp) (FILE *, off_t, int) = fseeko;
11564 return 0; 20101 return 0;
11565} 20102}
11566_ACEOF 20103_ACEOF
11567if ac_fn_c_try_link "$LINENO"; then : 20104rm -f conftest.$ac_objext conftest$ac_exeext
20105if { (ac_try="$ac_link"
20106case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20109esac
20110eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20111$as_echo "$ac_try_echo") >&5
20112 (eval "$ac_link") 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_c_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest$ac_exeext && {
20122 test "$cross_compiling" = yes ||
20123 $as_test_x conftest$ac_exeext
20124 }; then
11568 ac_cv_sys_largefile_source=no; break 20125 ac_cv_sys_largefile_source=no; break
20126else
20127 $as_echo "$as_me: failed program was:" >&5
20128sed 's/^/| /' conftest.$ac_ext >&5
20129
20130
11569fi 20131fi
11570rm -f core conftest.err conftest.$ac_objext \ 20132
11571 conftest$ac_exeext conftest.$ac_ext 20133rm -rf conftest.dSYM
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20134rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20135 conftest$ac_exeext conftest.$ac_ext
20136 cat >conftest.$ac_ext <<_ACEOF
20137/* confdefs.h. */
20138_ACEOF
20139cat confdefs.h >>conftest.$ac_ext
20140cat >>conftest.$ac_ext <<_ACEOF
11573/* end confdefs.h. */ 20141/* end confdefs.h. */
11574#define _LARGEFILE_SOURCE 1 20142#define _LARGEFILE_SOURCE 1
11575#include <sys/types.h> /* for off_t */ 20143#include <sys/types.h> /* for off_t */
@@ -11583,16 +20151,43 @@ int (*fp) (FILE *, off_t, int) = fseeko;
11583 return 0; 20151 return 0;
11584} 20152}
11585_ACEOF 20153_ACEOF
11586if ac_fn_c_try_link "$LINENO"; then : 20154rm -f conftest.$ac_objext conftest$ac_exeext
20155if { (ac_try="$ac_link"
20156case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20159esac
20160eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20161$as_echo "$ac_try_echo") >&5
20162 (eval "$ac_link") 2>conftest.er1
20163 ac_status=$?
20164 grep -v '^ *+' conftest.er1 >conftest.err
20165 rm -f conftest.er1
20166 cat conftest.err >&5
20167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest$ac_exeext && {
20172 test "$cross_compiling" = yes ||
20173 $as_test_x conftest$ac_exeext
20174 }; then
11587 ac_cv_sys_largefile_source=1; break 20175 ac_cv_sys_largefile_source=1; break
20176else
20177 $as_echo "$as_me: failed program was:" >&5
20178sed 's/^/| /' conftest.$ac_ext >&5
20179
20180
11588fi 20181fi
11589rm -f core conftest.err conftest.$ac_objext \ 20182
11590 conftest$ac_exeext conftest.$ac_ext 20183rm -rf conftest.dSYM
20184rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20185 conftest$ac_exeext conftest.$ac_ext
11591 ac_cv_sys_largefile_source=unknown 20186 ac_cv_sys_largefile_source=unknown
11592 break 20187 break
11593done 20188done
11594fi 20189fi
11595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 20190{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
11596$as_echo "$ac_cv_sys_largefile_source" >&6; } 20191$as_echo "$ac_cv_sys_largefile_source" >&6; }
11597case $ac_cv_sys_largefile_source in #( 20192case $ac_cv_sys_largefile_source in #(
11598 no | unknown) ;; 20193 no | unknown) ;;
@@ -11609,7 +20204,9 @@ rm -rf conftest*
11609# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 20204# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11610if test $ac_cv_sys_largefile_source != unknown; then 20205if test $ac_cv_sys_largefile_source != unknown; then
11611 20206
11612$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h 20207cat >>confdefs.h <<\_ACEOF
20208#define HAVE_FSEEKO 1
20209_ACEOF
11613 20210
11614fi 20211fi
11615 20212
@@ -11637,12 +20234,145 @@ fi
11637 20234
11638 20235
11639 GETOPT_H= 20236 GETOPT_H=
11640 for ac_header in getopt.h 20237
11641do : 20238for ac_header in getopt.h
11642 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 20239do
11643if test "x$ac_cv_header_getopt_h" = x""yes; then : 20240as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20241if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20242 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20243$as_echo_n "checking for $ac_header... " >&6; }
20244if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20245 $as_echo_n "(cached) " >&6
20246fi
20247ac_res=`eval 'as_val=${'$as_ac_Header'}
20248 $as_echo "$as_val"'`
20249 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20250$as_echo "$ac_res" >&6; }
20251else
20252 # Is the header compilable?
20253{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20254$as_echo_n "checking $ac_header usability... " >&6; }
20255cat >conftest.$ac_ext <<_ACEOF
20256/* confdefs.h. */
20257_ACEOF
20258cat confdefs.h >>conftest.$ac_ext
20259cat >>conftest.$ac_ext <<_ACEOF
20260/* end confdefs.h. */
20261$ac_includes_default
20262#include <$ac_header>
20263_ACEOF
20264rm -f conftest.$ac_objext
20265if { (ac_try="$ac_compile"
20266case "(($ac_try" in
20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20268 *) ac_try_echo=$ac_try;;
20269esac
20270eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20271$as_echo "$ac_try_echo") >&5
20272 (eval "$ac_compile") 2>conftest.er1
20273 ac_status=$?
20274 grep -v '^ *+' conftest.er1 >conftest.err
20275 rm -f conftest.er1
20276 cat conftest.err >&5
20277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && {
20279 test -z "$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20281 } && test -s conftest.$ac_objext; then
20282 ac_header_compiler=yes
20283else
20284 $as_echo "$as_me: failed program was:" >&5
20285sed 's/^/| /' conftest.$ac_ext >&5
20286
20287 ac_header_compiler=no
20288fi
20289
20290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20291{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20292$as_echo "$ac_header_compiler" >&6; }
20293
20294# Is the header present?
20295{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20296$as_echo_n "checking $ac_header presence... " >&6; }
20297cat >conftest.$ac_ext <<_ACEOF
20298/* confdefs.h. */
20299_ACEOF
20300cat confdefs.h >>conftest.$ac_ext
20301cat >>conftest.$ac_ext <<_ACEOF
20302/* end confdefs.h. */
20303#include <$ac_header>
20304_ACEOF
20305if { (ac_try="$ac_cpp conftest.$ac_ext"
20306case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20309esac
20310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20311$as_echo "$ac_try_echo") >&5
20312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } >/dev/null && {
20319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 }; then
20322 ac_header_preproc=yes
20323else
20324 $as_echo "$as_me: failed program was:" >&5
20325sed 's/^/| /' conftest.$ac_ext >&5
20326
20327 ac_header_preproc=no
20328fi
20329
20330rm -f conftest.err conftest.$ac_ext
20331{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20332$as_echo "$ac_header_preproc" >&6; }
20333
20334# So? What about this header?
20335case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20336 yes:no: )
20337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20338$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20340$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20341 ac_header_preproc=yes
20342 ;;
20343 no:yes:* )
20344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20345$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20347$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20349$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20351$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20353$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20355$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20356
20357 ;;
20358esac
20359{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20360$as_echo_n "checking for $ac_header... " >&6; }
20361if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20362 $as_echo_n "(cached) " >&6
20363else
20364 eval "$as_ac_Header=\$ac_header_preproc"
20365fi
20366ac_res=`eval 'as_val=${'$as_ac_Header'}
20367 $as_echo "$as_val"'`
20368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20369$as_echo "$ac_res" >&6; }
20370
20371fi
20372if test `eval 'as_val=${'$as_ac_Header'}
20373 $as_echo "$as_val"'` = yes; then
11644 cat >>confdefs.h <<_ACEOF 20374 cat >>confdefs.h <<_ACEOF
11645#define HAVE_GETOPT_H 1 20375#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11646_ACEOF 20376_ACEOF
11647 20377
11648else 20378else
@@ -11652,12 +20382,101 @@ fi
11652done 20382done
11653 20383
11654 if test -z "$GETOPT_H"; then 20384 if test -z "$GETOPT_H"; then
11655 for ac_func in getopt_long_only 20385
11656do : 20386for ac_func in getopt_long_only
11657 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" 20387do
11658if test "x$ac_cv_func_getopt_long_only" = x""yes; then : 20388as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20389{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20390$as_echo_n "checking for $ac_func... " >&6; }
20391if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20392 $as_echo_n "(cached) " >&6
20393else
20394 cat >conftest.$ac_ext <<_ACEOF
20395/* confdefs.h. */
20396_ACEOF
20397cat confdefs.h >>conftest.$ac_ext
20398cat >>conftest.$ac_ext <<_ACEOF
20399/* end confdefs.h. */
20400/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20402#define $ac_func innocuous_$ac_func
20403
20404/* System header to define __stub macros and hopefully few prototypes,
20405 which can conflict with char $ac_func (); below.
20406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20407 <limits.h> exists even on freestanding compilers. */
20408
20409#ifdef __STDC__
20410# include <limits.h>
20411#else
20412# include <assert.h>
20413#endif
20414
20415#undef $ac_func
20416
20417/* Override any GCC internal prototype to avoid an error.
20418 Use char because int might match the return type of a GCC
20419 builtin and then its argument prototype would still apply. */
20420#ifdef __cplusplus
20421extern "C"
20422#endif
20423char $ac_func ();
20424/* The GNU C library defines this for functions which it implements
20425 to always fail with ENOSYS. Some functions are actually named
20426 something starting with __ and the normal name is an alias. */
20427#if defined __stub_$ac_func || defined __stub___$ac_func
20428choke me
20429#endif
20430
20431int
20432main ()
20433{
20434return $ac_func ();
20435 ;
20436 return 0;
20437}
20438_ACEOF
20439rm -f conftest.$ac_objext conftest$ac_exeext
20440if { (ac_try="$ac_link"
20441case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20444esac
20445eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20446$as_echo "$ac_try_echo") >&5
20447 (eval "$ac_link") 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } && {
20454 test -z "$ac_c_werror_flag" ||
20455 test ! -s conftest.err
20456 } && test -s conftest$ac_exeext && {
20457 test "$cross_compiling" = yes ||
20458 $as_test_x conftest$ac_exeext
20459 }; then
20460 eval "$as_ac_var=yes"
20461else
20462 $as_echo "$as_me: failed program was:" >&5
20463sed 's/^/| /' conftest.$ac_ext >&5
20464
20465 eval "$as_ac_var=no"
20466fi
20467
20468rm -rf conftest.dSYM
20469rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20470 conftest$ac_exeext conftest.$ac_ext
20471fi
20472ac_res=`eval 'as_val=${'$as_ac_var'}
20473 $as_echo "$as_val"'`
20474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20475$as_echo "$ac_res" >&6; }
20476if test `eval 'as_val=${'$as_ac_var'}
20477 $as_echo "$as_val"'` = yes; then
11659 cat >>confdefs.h <<_ACEOF 20478 cat >>confdefs.h <<_ACEOF
11660#define HAVE_GETOPT_LONG_ONLY 1 20479#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11661_ACEOF 20480_ACEOF
11662 20481
11663else 20482else
@@ -11668,31 +20487,139 @@ done
11668 fi 20487 fi
11669 20488
11670 if test -z "$GETOPT_H"; then 20489 if test -z "$GETOPT_H"; then
11671 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> 20490 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5
11672" 20491$as_echo_n "checking whether optreset is declared... " >&6; }
11673if test "x$ac_cv_have_decl_optreset" = x""yes; then : 20492if test "${ac_cv_have_decl_optreset+set}" = set; then
20493 $as_echo_n "(cached) " >&6
20494else
20495 cat >conftest.$ac_ext <<_ACEOF
20496/* confdefs.h. */
20497_ACEOF
20498cat confdefs.h >>conftest.$ac_ext
20499cat >>conftest.$ac_ext <<_ACEOF
20500/* end confdefs.h. */
20501#include <getopt.h>
20502
20503int
20504main ()
20505{
20506#ifndef optreset
20507 (void) optreset;
20508#endif
20509
20510 ;
20511 return 0;
20512}
20513_ACEOF
20514rm -f conftest.$ac_objext
20515if { (ac_try="$ac_compile"
20516case "(($ac_try" in
20517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20518 *) ac_try_echo=$ac_try;;
20519esac
20520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20521$as_echo "$ac_try_echo") >&5
20522 (eval "$ac_compile") 2>conftest.er1
20523 ac_status=$?
20524 grep -v '^ *+' conftest.er1 >conftest.err
20525 rm -f conftest.er1
20526 cat conftest.err >&5
20527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } && {
20529 test -z "$ac_c_werror_flag" ||
20530 test ! -s conftest.err
20531 } && test -s conftest.$ac_objext; then
20532 ac_cv_have_decl_optreset=yes
20533else
20534 $as_echo "$as_me: failed program was:" >&5
20535sed 's/^/| /' conftest.$ac_ext >&5
20536
20537 ac_cv_have_decl_optreset=no
20538fi
20539
20540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20541fi
20542{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
20543$as_echo "$ac_cv_have_decl_optreset" >&6; }
20544if test $ac_cv_have_decl_optreset = yes; then
11674 GETOPT_H=getopt.h 20545 GETOPT_H=getopt.h
11675fi 20546fi
11676 20547
11677 fi 20548 fi
11678 20549
11679 if test -z "$GETOPT_H"; then 20550 if test -z "$GETOPT_H"; then
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 20551 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
11681$as_echo_n "checking for working GNU getopt function... " >&6; } 20552$as_echo_n "checking for working GNU getopt function... " >&6; }
11682if test "${gl_cv_func_gnu_getopt+set}" = set; then : 20553if test "${gl_cv_func_gnu_getopt+set}" = set; then
11683 $as_echo_n "(cached) " >&6 20554 $as_echo_n "(cached) " >&6
11684else 20555else
11685 if test "$cross_compiling" = yes; then : 20556 if test "$cross_compiling" = yes; then
11686 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> 20557 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
11687" 20558$as_echo_n "checking whether getopt_clip is declared... " >&6; }
11688if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : 20559if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
20560 $as_echo_n "(cached) " >&6
20561else
20562 cat >conftest.$ac_ext <<_ACEOF
20563/* confdefs.h. */
20564_ACEOF
20565cat confdefs.h >>conftest.$ac_ext
20566cat >>conftest.$ac_ext <<_ACEOF
20567/* end confdefs.h. */
20568#include <getopt.h>
20569
20570int
20571main ()
20572{
20573#ifndef getopt_clip
20574 (void) getopt_clip;
20575#endif
20576
20577 ;
20578 return 0;
20579}
20580_ACEOF
20581rm -f conftest.$ac_objext
20582if { (ac_try="$ac_compile"
20583case "(($ac_try" in
20584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20585 *) ac_try_echo=$ac_try;;
20586esac
20587eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20588$as_echo "$ac_try_echo") >&5
20589 (eval "$ac_compile") 2>conftest.er1
20590 ac_status=$?
20591 grep -v '^ *+' conftest.er1 >conftest.err
20592 rm -f conftest.er1
20593 cat conftest.err >&5
20594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); } && {
20596 test -z "$ac_c_werror_flag" ||
20597 test ! -s conftest.err
20598 } && test -s conftest.$ac_objext; then
20599 ac_cv_have_decl_getopt_clip=yes
20600else
20601 $as_echo "$as_me: failed program was:" >&5
20602sed 's/^/| /' conftest.$ac_ext >&5
20603
20604 ac_cv_have_decl_getopt_clip=no
20605fi
20606
20607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20608fi
20609{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20610$as_echo "$ac_cv_have_decl_getopt_clip" >&6; }
20611if test $ac_cv_have_decl_getopt_clip = yes; then
11689 gl_cv_func_gnu_getopt=no 20612 gl_cv_func_gnu_getopt=no
11690else 20613else
11691 gl_cv_func_gnu_getopt=yes 20614 gl_cv_func_gnu_getopt=yes
11692fi 20615fi
11693 20616
11694else 20617else
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20618 cat >conftest.$ac_ext <<_ACEOF
20619/* confdefs.h. */
20620_ACEOF
20621cat confdefs.h >>conftest.$ac_ext
20622cat >>conftest.$ac_ext <<_ACEOF
11696/* end confdefs.h. */ 20623/* end confdefs.h. */
11697#include <getopt.h> 20624#include <getopt.h>
11698int 20625int
@@ -11709,17 +20636,44 @@ main ()
11709 return 0; 20636 return 0;
11710} 20637}
11711_ACEOF 20638_ACEOF
11712if ac_fn_c_try_run "$LINENO"; then : 20639rm -f conftest$ac_exeext
20640if { (ac_try="$ac_link"
20641case "(($ac_try" in
20642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20643 *) ac_try_echo=$ac_try;;
20644esac
20645eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20646$as_echo "$ac_try_echo") >&5
20647 (eval "$ac_link") 2>&5
20648 ac_status=$?
20649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20651 { (case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654esac
20655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20656$as_echo "$ac_try_echo") >&5
20657 (eval "$ac_try") 2>&5
20658 ac_status=$?
20659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
11713 gl_cv_func_gnu_getopt=yes 20661 gl_cv_func_gnu_getopt=yes
11714else 20662else
11715 gl_cv_func_gnu_getopt=no 20663 $as_echo "$as_me: program exited with status $ac_status" >&5
20664$as_echo "$as_me: failed program was:" >&5
20665sed 's/^/| /' conftest.$ac_ext >&5
20666
20667( exit $ac_status )
20668gl_cv_func_gnu_getopt=no
11716fi 20669fi
11717rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20670rm -rf conftest.dSYM
11718 conftest.$ac_objext conftest.beam conftest.$ac_ext 20671rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11719fi 20672fi
11720 20673
20674
11721fi 20675fi
11722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 20676{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
11723$as_echo "$gl_cv_func_gnu_getopt" >&6; } 20677$as_echo "$gl_cv_func_gnu_getopt" >&6; }
11724 if test "$gl_cv_func_gnu_getopt" = "no"; then 20678 if test "$gl_cv_func_gnu_getopt" = "no"; then
11725 GETOPT_H=getopt.h 20679 GETOPT_H=getopt.h
@@ -11728,12 +20682,14 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; }
11728 20682
11729 20683
11730 20684
11731 if test -n "$GETOPT_H"; then : 20685 if test -n "$GETOPT_H"; then
11732 20686
11733 20687
11734 GETOPT_H=getopt.h 20688 GETOPT_H=getopt.h
11735 20689
11736$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h 20690cat >>confdefs.h <<\_ACEOF
20691#define __GETOPT_PREFIX rpl_
20692_ACEOF
11737 20693
11738 20694
11739 20695
@@ -11744,13 +20700,18 @@ fi
11744 20700
11745 20701
11746 20702
11747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 20703
20704{ $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
11748$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 20705$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
11749if test "${ac_cv_func_getpgrp_void+set}" = set; then : 20706if test "${ac_cv_func_getpgrp_void+set}" = set; then
11750 $as_echo_n "(cached) " >&6 20707 $as_echo_n "(cached) " >&6
11751else 20708else
11752 # Use it with a single arg. 20709 # Use it with a single arg.
11753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20710cat >conftest.$ac_ext <<_ACEOF
20711/* confdefs.h. */
20712_ACEOF
20713cat confdefs.h >>conftest.$ac_ext
20714cat >>conftest.$ac_ext <<_ACEOF
11754/* end confdefs.h. */ 20715/* end confdefs.h. */
11755$ac_includes_default 20716$ac_includes_default
11756int 20717int
@@ -11761,41 +20722,157 @@ getpgrp (0);
11761 return 0; 20722 return 0;
11762} 20723}
11763_ACEOF 20724_ACEOF
11764if ac_fn_c_try_compile "$LINENO"; then : 20725rm -f conftest.$ac_objext
20726if { (ac_try="$ac_compile"
20727case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20730esac
20731eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20732$as_echo "$ac_try_echo") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
11765 ac_cv_func_getpgrp_void=no 20743 ac_cv_func_getpgrp_void=no
11766else 20744else
11767 ac_cv_func_getpgrp_void=yes 20745 $as_echo "$as_me: failed program was:" >&5
20746sed 's/^/| /' conftest.$ac_ext >&5
20747
20748 ac_cv_func_getpgrp_void=yes
11768fi 20749fi
20750
11769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11770 20752
11771fi 20753fi
11772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 20754{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
11773$as_echo "$ac_cv_func_getpgrp_void" >&6; } 20755$as_echo "$ac_cv_func_getpgrp_void" >&6; }
11774if test $ac_cv_func_getpgrp_void = yes; then 20756if test $ac_cv_func_getpgrp_void = yes; then
11775 20757
11776$as_echo "#define GETPGRP_VOID 1" >>confdefs.h 20758cat >>confdefs.h <<\_ACEOF
20759#define GETPGRP_VOID 1
20760_ACEOF
11777 20761
11778fi 20762fi
11779 20763
11780 20764
20765
11781for ac_func in strftime 20766for ac_func in strftime
11782do : 20767do
11783 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 20768as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11784if test "x$ac_cv_func_strftime" = x""yes; then : 20769{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20770$as_echo_n "checking for $ac_func... " >&6; }
20771if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20772 $as_echo_n "(cached) " >&6
20773else
20774 cat >conftest.$ac_ext <<_ACEOF
20775/* confdefs.h. */
20776_ACEOF
20777cat confdefs.h >>conftest.$ac_ext
20778cat >>conftest.$ac_ext <<_ACEOF
20779/* end confdefs.h. */
20780/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20782#define $ac_func innocuous_$ac_func
20783
20784/* System header to define __stub macros and hopefully few prototypes,
20785 which can conflict with char $ac_func (); below.
20786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20787 <limits.h> exists even on freestanding compilers. */
20788
20789#ifdef __STDC__
20790# include <limits.h>
20791#else
20792# include <assert.h>
20793#endif
20794
20795#undef $ac_func
20796
20797/* Override any GCC internal prototype to avoid an error.
20798 Use char because int might match the return type of a GCC
20799 builtin and then its argument prototype would still apply. */
20800#ifdef __cplusplus
20801extern "C"
20802#endif
20803char $ac_func ();
20804/* The GNU C library defines this for functions which it implements
20805 to always fail with ENOSYS. Some functions are actually named
20806 something starting with __ and the normal name is an alias. */
20807#if defined __stub_$ac_func || defined __stub___$ac_func
20808choke me
20809#endif
20810
20811int
20812main ()
20813{
20814return $ac_func ();
20815 ;
20816 return 0;
20817}
20818_ACEOF
20819rm -f conftest.$ac_objext conftest$ac_exeext
20820if { (ac_try="$ac_link"
20821case "(($ac_try" in
20822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20823 *) ac_try_echo=$ac_try;;
20824esac
20825eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20826$as_echo "$ac_try_echo") >&5
20827 (eval "$ac_link") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest$ac_exeext && {
20837 test "$cross_compiling" = yes ||
20838 $as_test_x conftest$ac_exeext
20839 }; then
20840 eval "$as_ac_var=yes"
20841else
20842 $as_echo "$as_me: failed program was:" >&5
20843sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 eval "$as_ac_var=no"
20846fi
20847
20848rm -rf conftest.dSYM
20849rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20850 conftest$ac_exeext conftest.$ac_ext
20851fi
20852ac_res=`eval 'as_val=${'$as_ac_var'}
20853 $as_echo "$as_val"'`
20854 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20855$as_echo "$ac_res" >&6; }
20856if test `eval 'as_val=${'$as_ac_var'}
20857 $as_echo "$as_val"'` = yes; then
11785 cat >>confdefs.h <<_ACEOF 20858 cat >>confdefs.h <<_ACEOF
11786#define HAVE_STRFTIME 1 20859#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11787_ACEOF 20860_ACEOF
11788 20861
11789else 20862else
11790 # strftime is in -lintl on SCO UNIX. 20863 # strftime is in -lintl on SCO UNIX.
11791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 20864{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
11792$as_echo_n "checking for strftime in -lintl... " >&6; } 20865$as_echo_n "checking for strftime in -lintl... " >&6; }
11793if test "${ac_cv_lib_intl_strftime+set}" = set; then : 20866if test "${ac_cv_lib_intl_strftime+set}" = set; then
11794 $as_echo_n "(cached) " >&6 20867 $as_echo_n "(cached) " >&6
11795else 20868else
11796 ac_check_lib_save_LIBS=$LIBS 20869 ac_check_lib_save_LIBS=$LIBS
11797LIBS="-lintl $LIBS" 20870LIBS="-lintl $LIBS"
11798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20871cat >conftest.$ac_ext <<_ACEOF
20872/* confdefs.h. */
20873_ACEOF
20874cat confdefs.h >>conftest.$ac_ext
20875cat >>conftest.$ac_ext <<_ACEOF
11799/* end confdefs.h. */ 20876/* end confdefs.h. */
11800 20877
11801/* Override any GCC internal prototype to avoid an error. 20878/* Override any GCC internal prototype to avoid an error.
@@ -11813,19 +20890,46 @@ return strftime ();
11813 return 0; 20890 return 0;
11814} 20891}
11815_ACEOF 20892_ACEOF
11816if ac_fn_c_try_link "$LINENO"; then : 20893rm -f conftest.$ac_objext conftest$ac_exeext
20894if { (ac_try="$ac_link"
20895case "(($ac_try" in
20896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20898esac
20899eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20900$as_echo "$ac_try_echo") >&5
20901 (eval "$ac_link") 2>conftest.er1
20902 ac_status=$?
20903 grep -v '^ *+' conftest.er1 >conftest.err
20904 rm -f conftest.er1
20905 cat conftest.err >&5
20906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } && {
20908 test -z "$ac_c_werror_flag" ||
20909 test ! -s conftest.err
20910 } && test -s conftest$ac_exeext && {
20911 test "$cross_compiling" = yes ||
20912 $as_test_x conftest$ac_exeext
20913 }; then
11817 ac_cv_lib_intl_strftime=yes 20914 ac_cv_lib_intl_strftime=yes
11818else 20915else
11819 ac_cv_lib_intl_strftime=no 20916 $as_echo "$as_me: failed program was:" >&5
20917sed 's/^/| /' conftest.$ac_ext >&5
20918
20919 ac_cv_lib_intl_strftime=no
11820fi 20920fi
11821rm -f core conftest.err conftest.$ac_objext \ 20921
11822 conftest$ac_exeext conftest.$ac_ext 20922rm -rf conftest.dSYM
20923rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20924 conftest$ac_exeext conftest.$ac_ext
11823LIBS=$ac_check_lib_save_LIBS 20925LIBS=$ac_check_lib_save_LIBS
11824fi 20926fi
11825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 20927{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
11826$as_echo "$ac_cv_lib_intl_strftime" >&6; } 20928$as_echo "$ac_cv_lib_intl_strftime" >&6; }
11827if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 20929if test $ac_cv_lib_intl_strftime = yes; then
11828 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 20930 cat >>confdefs.h <<\_ACEOF
20931#define HAVE_STRFTIME 1
20932_ACEOF
11829 20933
11830LIBS="-lintl $LIBS" 20934LIBS="-lintl $LIBS"
11831fi 20935fi
@@ -11835,12 +20939,101 @@ done
11835 20939
11836 20940
11837# UNIX98 PTYs. 20941# UNIX98 PTYs.
20942
11838for ac_func in grantpt 20943for ac_func in grantpt
11839do : 20944do
11840 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" 20945as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11841if test "x$ac_cv_func_grantpt" = x""yes; then : 20946{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20947$as_echo_n "checking for $ac_func... " >&6; }
20948if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20949 $as_echo_n "(cached) " >&6
20950else
20951 cat >conftest.$ac_ext <<_ACEOF
20952/* confdefs.h. */
20953_ACEOF
20954cat confdefs.h >>conftest.$ac_ext
20955cat >>conftest.$ac_ext <<_ACEOF
20956/* end confdefs.h. */
20957/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20959#define $ac_func innocuous_$ac_func
20960
20961/* System header to define __stub macros and hopefully few prototypes,
20962 which can conflict with char $ac_func (); below.
20963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20964 <limits.h> exists even on freestanding compilers. */
20965
20966#ifdef __STDC__
20967# include <limits.h>
20968#else
20969# include <assert.h>
20970#endif
20971
20972#undef $ac_func
20973
20974/* Override any GCC internal prototype to avoid an error.
20975 Use char because int might match the return type of a GCC
20976 builtin and then its argument prototype would still apply. */
20977#ifdef __cplusplus
20978extern "C"
20979#endif
20980char $ac_func ();
20981/* The GNU C library defines this for functions which it implements
20982 to always fail with ENOSYS. Some functions are actually named
20983 something starting with __ and the normal name is an alias. */
20984#if defined __stub_$ac_func || defined __stub___$ac_func
20985choke me
20986#endif
20987
20988int
20989main ()
20990{
20991return $ac_func ();
20992 ;
20993 return 0;
20994}
20995_ACEOF
20996rm -f conftest.$ac_objext conftest$ac_exeext
20997if { (ac_try="$ac_link"
20998case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001esac
21002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21003$as_echo "$ac_try_echo") >&5
21004 (eval "$ac_link") 2>conftest.er1
21005 ac_status=$?
21006 grep -v '^ *+' conftest.er1 >conftest.err
21007 rm -f conftest.er1
21008 cat conftest.err >&5
21009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest$ac_exeext && {
21014 test "$cross_compiling" = yes ||
21015 $as_test_x conftest$ac_exeext
21016 }; then
21017 eval "$as_ac_var=yes"
21018else
21019 $as_echo "$as_me: failed program was:" >&5
21020sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 eval "$as_ac_var=no"
21023fi
21024
21025rm -rf conftest.dSYM
21026rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21027 conftest$ac_exeext conftest.$ac_ext
21028fi
21029ac_res=`eval 'as_val=${'$as_ac_var'}
21030 $as_echo "$as_val"'`
21031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21032$as_echo "$ac_res" >&6; }
21033if test `eval 'as_val=${'$as_ac_var'}
21034 $as_echo "$as_val"'` = yes; then
11842 cat >>confdefs.h <<_ACEOF 21035 cat >>confdefs.h <<_ACEOF
11843#define HAVE_GRANTPT 1 21036#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11844_ACEOF 21037_ACEOF
11845 21038
11846fi 21039fi
@@ -11848,12 +21041,101 @@ done
11848 21041
11849 21042
11850# PTY-related GNU extensions. 21043# PTY-related GNU extensions.
21044
11851for ac_func in getpt 21045for ac_func in getpt
11852do : 21046do
11853 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" 21047as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11854if test "x$ac_cv_func_getpt" = x""yes; then : 21048{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
21049$as_echo_n "checking for $ac_func... " >&6; }
21050if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21051 $as_echo_n "(cached) " >&6
21052else
21053 cat >conftest.$ac_ext <<_ACEOF
21054/* confdefs.h. */
21055_ACEOF
21056cat confdefs.h >>conftest.$ac_ext
21057cat >>conftest.$ac_ext <<_ACEOF
21058/* end confdefs.h. */
21059/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21061#define $ac_func innocuous_$ac_func
21062
21063/* System header to define __stub macros and hopefully few prototypes,
21064 which can conflict with char $ac_func (); below.
21065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21066 <limits.h> exists even on freestanding compilers. */
21067
21068#ifdef __STDC__
21069# include <limits.h>
21070#else
21071# include <assert.h>
21072#endif
21073
21074#undef $ac_func
21075
21076/* Override any GCC internal prototype to avoid an error.
21077 Use char because int might match the return type of a GCC
21078 builtin and then its argument prototype would still apply. */
21079#ifdef __cplusplus
21080extern "C"
21081#endif
21082char $ac_func ();
21083/* The GNU C library defines this for functions which it implements
21084 to always fail with ENOSYS. Some functions are actually named
21085 something starting with __ and the normal name is an alias. */
21086#if defined __stub_$ac_func || defined __stub___$ac_func
21087choke me
21088#endif
21089
21090int
21091main ()
21092{
21093return $ac_func ();
21094 ;
21095 return 0;
21096}
21097_ACEOF
21098rm -f conftest.$ac_objext conftest$ac_exeext
21099if { (ac_try="$ac_link"
21100case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21103esac
21104eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21105$as_echo "$ac_try_echo") >&5
21106 (eval "$ac_link") 2>conftest.er1
21107 ac_status=$?
21108 grep -v '^ *+' conftest.er1 >conftest.err
21109 rm -f conftest.er1
21110 cat conftest.err >&5
21111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); } && {
21113 test -z "$ac_c_werror_flag" ||
21114 test ! -s conftest.err
21115 } && test -s conftest$ac_exeext && {
21116 test "$cross_compiling" = yes ||
21117 $as_test_x conftest$ac_exeext
21118 }; then
21119 eval "$as_ac_var=yes"
21120else
21121 $as_echo "$as_me: failed program was:" >&5
21122sed 's/^/| /' conftest.$ac_ext >&5
21123
21124 eval "$as_ac_var=no"
21125fi
21126
21127rm -rf conftest.dSYM
21128rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21129 conftest$ac_exeext conftest.$ac_ext
21130fi
21131ac_res=`eval 'as_val=${'$as_ac_var'}
21132 $as_echo "$as_val"'`
21133 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21134$as_echo "$ac_res" >&6; }
21135if test `eval 'as_val=${'$as_ac_var'}
21136 $as_echo "$as_val"'` = yes; then
11855 cat >>confdefs.h <<_ACEOF 21137 cat >>confdefs.h <<_ACEOF
11856#define HAVE_GETPT 1 21138#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11857_ACEOF 21139_ACEOF
11858 21140
11859fi 21141fi
@@ -11866,13 +21148,17 @@ done
11866# than to expect to find it in ncurses. 21148# than to expect to find it in ncurses.
11867# Also we need tputs and frieds to be able to build at all. 21149# Also we need tputs and frieds to be able to build at all.
11868have_tputs_et_al=true 21150have_tputs_et_al=true
11869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 21151{ $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5
11870$as_echo_n "checking for library containing tputs... " >&6; } 21152$as_echo_n "checking for library containing tputs... " >&6; }
11871if test "${ac_cv_search_tputs+set}" = set; then : 21153if test "${ac_cv_search_tputs+set}" = set; then
11872 $as_echo_n "(cached) " >&6 21154 $as_echo_n "(cached) " >&6
11873else 21155else
11874 ac_func_search_save_LIBS=$LIBS 21156 ac_func_search_save_LIBS=$LIBS
11875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21157cat >conftest.$ac_ext <<_ACEOF
21158/* confdefs.h. */
21159_ACEOF
21160cat confdefs.h >>conftest.$ac_ext
21161cat >>conftest.$ac_ext <<_ACEOF
11876/* end confdefs.h. */ 21162/* end confdefs.h. */
11877 21163
11878/* Override any GCC internal prototype to avoid an error. 21164/* Override any GCC internal prototype to avoid an error.
@@ -11897,27 +21183,54 @@ for ac_lib in '' ncurses terminfo termcap; do
11897 ac_res=-l$ac_lib 21183 ac_res=-l$ac_lib
11898 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11899 fi 21185 fi
11900 if ac_fn_c_try_link "$LINENO"; then : 21186 rm -f conftest.$ac_objext conftest$ac_exeext
21187if { (ac_try="$ac_link"
21188case "(($ac_try" in
21189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21190 *) ac_try_echo=$ac_try;;
21191esac
21192eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21193$as_echo "$ac_try_echo") >&5
21194 (eval "$ac_link") 2>conftest.er1
21195 ac_status=$?
21196 grep -v '^ *+' conftest.er1 >conftest.err
21197 rm -f conftest.er1
21198 cat conftest.err >&5
21199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } && {
21201 test -z "$ac_c_werror_flag" ||
21202 test ! -s conftest.err
21203 } && test -s conftest$ac_exeext && {
21204 test "$cross_compiling" = yes ||
21205 $as_test_x conftest$ac_exeext
21206 }; then
11901 ac_cv_search_tputs=$ac_res 21207 ac_cv_search_tputs=$ac_res
21208else
21209 $as_echo "$as_me: failed program was:" >&5
21210sed 's/^/| /' conftest.$ac_ext >&5
21211
21212
11902fi 21213fi
11903rm -f core conftest.err conftest.$ac_objext \ 21214
11904 conftest$ac_exeext 21215rm -rf conftest.dSYM
11905 if test "${ac_cv_search_tputs+set}" = set; then : 21216rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21217 conftest$ac_exeext
21218 if test "${ac_cv_search_tputs+set}" = set; then
11906 break 21219 break
11907fi 21220fi
11908done 21221done
11909if test "${ac_cv_search_tputs+set}" = set; then : 21222if test "${ac_cv_search_tputs+set}" = set; then
11910 21223 :
11911else 21224else
11912 ac_cv_search_tputs=no 21225 ac_cv_search_tputs=no
11913fi 21226fi
11914rm conftest.$ac_ext 21227rm conftest.$ac_ext
11915LIBS=$ac_func_search_save_LIBS 21228LIBS=$ac_func_search_save_LIBS
11916fi 21229fi
11917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 21230{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5
11918$as_echo "$ac_cv_search_tputs" >&6; } 21231$as_echo "$ac_cv_search_tputs" >&6; }
11919ac_res=$ac_cv_search_tputs 21232ac_res=$ac_cv_search_tputs
11920if test "$ac_res" != no; then : 21233if test "$ac_res" != no; then
11921 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 21234 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11922 21235
11923else 21236else
@@ -11925,19 +21238,29 @@ else
11925fi 21238fi
11926 21239
11927if test "$have_tputs_et_al" != true; then 21240if test "$have_tputs_et_al" != true; then
11928 as_fn_error "I couldn't find termcap functions (tputs and friends). 21241 { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends).
11929Maybe some development libraries/packages are missing? Try installing 21242Maybe some development libraries/packages are missing? Try installing
11930libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 21243libncurses-dev(el), libterminfo-dev(el) or similar." >&5
21244$as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends).
21245Maybe some development libraries/packages are missing? Try installing
21246libncurses-dev(el), libterminfo-dev(el) or similar." >&2;}
21247 { (exit 1); exit 1; }; }
11931fi 21248fi
11932# Must define this when any termcap library is found. 21249# Must define this when any termcap library is found.
11933 21250
11934$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h 21251cat >>confdefs.h <<\_ACEOF
21252#define HAVE_LIBNCURSES 1
21253_ACEOF
11935 21254
11936 21255
11937# Do we have res_init, for detecting changes in /etc/resolv.conf? 21256# Do we have res_init, for detecting changes in /etc/resolv.conf?
11938 21257
11939resolv=no 21258resolv=no
11940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21259cat >conftest.$ac_ext <<_ACEOF
21260/* confdefs.h. */
21261_ACEOF
21262cat confdefs.h >>conftest.$ac_ext
21263cat >>conftest.$ac_ext <<_ACEOF
11941/* end confdefs.h. */ 21264/* end confdefs.h. */
11942#include <netinet/in.h> 21265#include <netinet/in.h>
11943#include <arpa/nameser.h> 21266#include <arpa/nameser.h>
@@ -11950,19 +21273,48 @@ return res_init();
11950 return 0; 21273 return 0;
11951} 21274}
11952_ACEOF 21275_ACEOF
11953if ac_fn_c_try_link "$LINENO"; then : 21276rm -f conftest.$ac_objext conftest$ac_exeext
21277if { (ac_try="$ac_link"
21278case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21281esac
21282eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21283$as_echo "$ac_try_echo") >&5
21284 (eval "$ac_link") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest$ac_exeext && {
21294 test "$cross_compiling" = yes ||
21295 $as_test_x conftest$ac_exeext
21296 }; then
11954 have_res_init=yes 21297 have_res_init=yes
11955else 21298else
11956 have_res_init=no 21299 $as_echo "$as_me: failed program was:" >&5
21300sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 have_res_init=no
11957fi 21303fi
11958rm -f core conftest.err conftest.$ac_objext \ 21304
11959 conftest$ac_exeext conftest.$ac_ext 21305rm -rf conftest.dSYM
21306rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21307 conftest$ac_exeext conftest.$ac_ext
11960if test "$have_res_init" = no; then 21308if test "$have_res_init" = no; then
11961 OLIBS="$LIBS" 21309 OLIBS="$LIBS"
11962 LIBS="$LIBS -lresolv" 21310 LIBS="$LIBS -lresolv"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 21311 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5
11964$as_echo_n "checking for res_init with -lresolv... " >&6; } 21312$as_echo_n "checking for res_init with -lresolv... " >&6; }
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21313 cat >conftest.$ac_ext <<_ACEOF
21314/* confdefs.h. */
21315_ACEOF
21316cat confdefs.h >>conftest.$ac_ext
21317cat >>conftest.$ac_ext <<_ACEOF
11966/* end confdefs.h. */ 21318/* end confdefs.h. */
11967#include <netinet/in.h> 21319#include <netinet/in.h>
11968#include <arpa/nameser.h> 21320#include <arpa/nameser.h>
@@ -11975,14 +21327,39 @@ return res_init();
11975 return 0; 21327 return 0;
11976} 21328}
11977_ACEOF 21329_ACEOF
11978if ac_fn_c_try_link "$LINENO"; then : 21330rm -f conftest.$ac_objext conftest$ac_exeext
21331if { (ac_try="$ac_link"
21332case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21335esac
21336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21337$as_echo "$ac_try_echo") >&5
21338 (eval "$ac_link") 2>conftest.er1
21339 ac_status=$?
21340 grep -v '^ *+' conftest.er1 >conftest.err
21341 rm -f conftest.er1
21342 cat conftest.err >&5
21343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } && {
21345 test -z "$ac_c_werror_flag" ||
21346 test ! -s conftest.err
21347 } && test -s conftest$ac_exeext && {
21348 test "$cross_compiling" = yes ||
21349 $as_test_x conftest$ac_exeext
21350 }; then
11979 have_res_init=yes 21351 have_res_init=yes
11980else 21352else
11981 have_res_init=no 21353 $as_echo "$as_me: failed program was:" >&5
21354sed 's/^/| /' conftest.$ac_ext >&5
21355
21356 have_res_init=no
11982fi 21357fi
11983rm -f core conftest.err conftest.$ac_objext \ 21358
11984 conftest$ac_exeext conftest.$ac_ext 21359rm -rf conftest.dSYM
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 21360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21361 conftest$ac_exeext conftest.$ac_ext
21362 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5
11986$as_echo "$have_res_init" >&6; } 21363$as_echo "$have_res_init" >&6; }
11987 if test "$have_res_init" = yes ; then 21364 if test "$have_res_init" = yes ; then
11988 resolv=yes 21365 resolv=yes
@@ -11992,7 +21369,9 @@ fi
11992 21369
11993if test "$have_res_init" = yes; then 21370if test "$have_res_init" = yes; then
11994 21371
11995$as_echo "#define HAVE_RES_INIT 1" >>confdefs.h 21372cat >>confdefs.h <<\_ACEOF
21373#define HAVE_RES_INIT 1
21374_ACEOF
11996 21375
11997fi 21376fi
11998 21377
@@ -12000,22 +21379,194 @@ fi
12000LIBHESIOD= 21379LIBHESIOD=
12001if test "$with_hesiod" != no ; then 21380if test "$with_hesiod" != no ; then
12002 # Don't set $LIBS here -- see comments above. FIXME which comments? 21381 # Don't set $LIBS here -- see comments above. FIXME which comments?
12003 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" 21382 { $as_echo "$as_me:$LINENO: checking for res_send" >&5
12004if test "x$ac_cv_func_res_send" = x""yes; then : 21383$as_echo_n "checking for res_send... " >&6; }
21384if test "${ac_cv_func_res_send+set}" = set; then
21385 $as_echo_n "(cached) " >&6
21386else
21387 cat >conftest.$ac_ext <<_ACEOF
21388/* confdefs.h. */
21389_ACEOF
21390cat confdefs.h >>conftest.$ac_ext
21391cat >>conftest.$ac_ext <<_ACEOF
21392/* end confdefs.h. */
21393/* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
21394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21395#define res_send innocuous_res_send
21396
21397/* System header to define __stub macros and hopefully few prototypes,
21398 which can conflict with char res_send (); below.
21399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21400 <limits.h> exists even on freestanding compilers. */
21401
21402#ifdef __STDC__
21403# include <limits.h>
21404#else
21405# include <assert.h>
21406#endif
12005 21407
21408#undef res_send
21409
21410/* Override any GCC internal prototype to avoid an error.
21411 Use char because int might match the return type of a GCC
21412 builtin and then its argument prototype would still apply. */
21413#ifdef __cplusplus
21414extern "C"
21415#endif
21416char res_send ();
21417/* The GNU C library defines this for functions which it implements
21418 to always fail with ENOSYS. Some functions are actually named
21419 something starting with __ and the normal name is an alias. */
21420#if defined __stub_res_send || defined __stub___res_send
21421choke me
21422#endif
21423
21424int
21425main ()
21426{
21427return res_send ();
21428 ;
21429 return 0;
21430}
21431_ACEOF
21432rm -f conftest.$ac_objext conftest$ac_exeext
21433if { (ac_try="$ac_link"
21434case "(($ac_try" in
21435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21436 *) ac_try_echo=$ac_try;;
21437esac
21438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21439$as_echo "$ac_try_echo") >&5
21440 (eval "$ac_link") 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest$ac_exeext && {
21450 test "$cross_compiling" = yes ||
21451 $as_test_x conftest$ac_exeext
21452 }; then
21453 ac_cv_func_res_send=yes
21454else
21455 $as_echo "$as_me: failed program was:" >&5
21456sed 's/^/| /' conftest.$ac_ext >&5
21457
21458 ac_cv_func_res_send=no
21459fi
21460
21461rm -rf conftest.dSYM
21462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21463 conftest$ac_exeext conftest.$ac_ext
21464fi
21465{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
21466$as_echo "$ac_cv_func_res_send" >&6; }
21467if test $ac_cv_func_res_send = yes; then
21468 :
21469else
21470 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5
21471$as_echo_n "checking for __res_send... " >&6; }
21472if test "${ac_cv_func___res_send+set}" = set; then
21473 $as_echo_n "(cached) " >&6
21474else
21475 cat >conftest.$ac_ext <<_ACEOF
21476/* confdefs.h. */
21477_ACEOF
21478cat confdefs.h >>conftest.$ac_ext
21479cat >>conftest.$ac_ext <<_ACEOF
21480/* end confdefs.h. */
21481/* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
21482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21483#define __res_send innocuous___res_send
21484
21485/* System header to define __stub macros and hopefully few prototypes,
21486 which can conflict with char __res_send (); below.
21487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21488 <limits.h> exists even on freestanding compilers. */
21489
21490#ifdef __STDC__
21491# include <limits.h>
21492#else
21493# include <assert.h>
21494#endif
21495
21496#undef __res_send
21497
21498/* Override any GCC internal prototype to avoid an error.
21499 Use char because int might match the return type of a GCC
21500 builtin and then its argument prototype would still apply. */
21501#ifdef __cplusplus
21502extern "C"
21503#endif
21504char __res_send ();
21505/* The GNU C library defines this for functions which it implements
21506 to always fail with ENOSYS. Some functions are actually named
21507 something starting with __ and the normal name is an alias. */
21508#if defined __stub___res_send || defined __stub_____res_send
21509choke me
21510#endif
21511
21512int
21513main ()
21514{
21515return __res_send ();
21516 ;
21517 return 0;
21518}
21519_ACEOF
21520rm -f conftest.$ac_objext conftest$ac_exeext
21521if { (ac_try="$ac_link"
21522case "(($ac_try" in
21523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21524 *) ac_try_echo=$ac_try;;
21525esac
21526eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21527$as_echo "$ac_try_echo") >&5
21528 (eval "$ac_link") 2>conftest.er1
21529 ac_status=$?
21530 grep -v '^ *+' conftest.er1 >conftest.err
21531 rm -f conftest.er1
21532 cat conftest.err >&5
21533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } && {
21535 test -z "$ac_c_werror_flag" ||
21536 test ! -s conftest.err
21537 } && test -s conftest$ac_exeext && {
21538 test "$cross_compiling" = yes ||
21539 $as_test_x conftest$ac_exeext
21540 }; then
21541 ac_cv_func___res_send=yes
12006else 21542else
12007 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" 21543 $as_echo "$as_me: failed program was:" >&5
12008if test "x$ac_cv_func___res_send" = x""yes; then : 21544sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 ac_cv_func___res_send=no
21547fi
12009 21548
21549rm -rf conftest.dSYM
21550rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21551 conftest$ac_exeext conftest.$ac_ext
21552fi
21553{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
21554$as_echo "$ac_cv_func___res_send" >&6; }
21555if test $ac_cv_func___res_send = yes; then
21556 :
12010else 21557else
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 21558 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
12012$as_echo_n "checking for res_send in -lresolv... " >&6; } 21559$as_echo_n "checking for res_send in -lresolv... " >&6; }
12013if test "${ac_cv_lib_resolv_res_send+set}" = set; then : 21560if test "${ac_cv_lib_resolv_res_send+set}" = set; then
12014 $as_echo_n "(cached) " >&6 21561 $as_echo_n "(cached) " >&6
12015else 21562else
12016 ac_check_lib_save_LIBS=$LIBS 21563 ac_check_lib_save_LIBS=$LIBS
12017LIBS="-lresolv $LIBS" 21564LIBS="-lresolv $LIBS"
12018cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21565cat >conftest.$ac_ext <<_ACEOF
21566/* confdefs.h. */
21567_ACEOF
21568cat confdefs.h >>conftest.$ac_ext
21569cat >>conftest.$ac_ext <<_ACEOF
12019/* end confdefs.h. */ 21570/* end confdefs.h. */
12020 21571
12021/* Override any GCC internal prototype to avoid an error. 21572/* Override any GCC internal prototype to avoid an error.
@@ -12033,28 +21584,57 @@ return res_send ();
12033 return 0; 21584 return 0;
12034} 21585}
12035_ACEOF 21586_ACEOF
12036if ac_fn_c_try_link "$LINENO"; then : 21587rm -f conftest.$ac_objext conftest$ac_exeext
21588if { (ac_try="$ac_link"
21589case "(($ac_try" in
21590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21591 *) ac_try_echo=$ac_try;;
21592esac
21593eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21594$as_echo "$ac_try_echo") >&5
21595 (eval "$ac_link") 2>conftest.er1
21596 ac_status=$?
21597 grep -v '^ *+' conftest.er1 >conftest.err
21598 rm -f conftest.er1
21599 cat conftest.err >&5
21600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest$ac_exeext && {
21605 test "$cross_compiling" = yes ||
21606 $as_test_x conftest$ac_exeext
21607 }; then
12037 ac_cv_lib_resolv_res_send=yes 21608 ac_cv_lib_resolv_res_send=yes
12038else 21609else
12039 ac_cv_lib_resolv_res_send=no 21610 $as_echo "$as_me: failed program was:" >&5
21611sed 's/^/| /' conftest.$ac_ext >&5
21612
21613 ac_cv_lib_resolv_res_send=no
12040fi 21614fi
12041rm -f core conftest.err conftest.$ac_objext \ 21615
12042 conftest$ac_exeext conftest.$ac_ext 21616rm -rf conftest.dSYM
21617rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21618 conftest$ac_exeext conftest.$ac_ext
12043LIBS=$ac_check_lib_save_LIBS 21619LIBS=$ac_check_lib_save_LIBS
12044fi 21620fi
12045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 21621{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
12046$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 21622$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
12047if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : 21623if test $ac_cv_lib_resolv_res_send = yes; then
12048 resolv=yes 21624 resolv=yes
12049else 21625else
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 21626 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
12051$as_echo_n "checking for __res_send in -lresolv... " >&6; } 21627$as_echo_n "checking for __res_send in -lresolv... " >&6; }
12052if test "${ac_cv_lib_resolv___res_send+set}" = set; then : 21628if test "${ac_cv_lib_resolv___res_send+set}" = set; then
12053 $as_echo_n "(cached) " >&6 21629 $as_echo_n "(cached) " >&6
12054else 21630else
12055 ac_check_lib_save_LIBS=$LIBS 21631 ac_check_lib_save_LIBS=$LIBS
12056LIBS="-lresolv $LIBS" 21632LIBS="-lresolv $LIBS"
12057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21633cat >conftest.$ac_ext <<_ACEOF
21634/* confdefs.h. */
21635_ACEOF
21636cat confdefs.h >>conftest.$ac_ext
21637cat >>conftest.$ac_ext <<_ACEOF
12058/* end confdefs.h. */ 21638/* end confdefs.h. */
12059 21639
12060/* Override any GCC internal prototype to avoid an error. 21640/* Override any GCC internal prototype to avoid an error.
@@ -12072,18 +21652,43 @@ return __res_send ();
12072 return 0; 21652 return 0;
12073} 21653}
12074_ACEOF 21654_ACEOF
12075if ac_fn_c_try_link "$LINENO"; then : 21655rm -f conftest.$ac_objext conftest$ac_exeext
21656if { (ac_try="$ac_link"
21657case "(($ac_try" in
21658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21659 *) ac_try_echo=$ac_try;;
21660esac
21661eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21662$as_echo "$ac_try_echo") >&5
21663 (eval "$ac_link") 2>conftest.er1
21664 ac_status=$?
21665 grep -v '^ *+' conftest.er1 >conftest.err
21666 rm -f conftest.er1
21667 cat conftest.err >&5
21668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && {
21670 test -z "$ac_c_werror_flag" ||
21671 test ! -s conftest.err
21672 } && test -s conftest$ac_exeext && {
21673 test "$cross_compiling" = yes ||
21674 $as_test_x conftest$ac_exeext
21675 }; then
12076 ac_cv_lib_resolv___res_send=yes 21676 ac_cv_lib_resolv___res_send=yes
12077else 21677else
12078 ac_cv_lib_resolv___res_send=no 21678 $as_echo "$as_me: failed program was:" >&5
21679sed 's/^/| /' conftest.$ac_ext >&5
21680
21681 ac_cv_lib_resolv___res_send=no
12079fi 21682fi
12080rm -f core conftest.err conftest.$ac_objext \ 21683
12081 conftest$ac_exeext conftest.$ac_ext 21684rm -rf conftest.dSYM
21685rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21686 conftest$ac_exeext conftest.$ac_ext
12082LIBS=$ac_check_lib_save_LIBS 21687LIBS=$ac_check_lib_save_LIBS
12083fi 21688fi
12084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 21689{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
12085$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 21690$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
12086if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : 21691if test $ac_cv_lib_resolv___res_send = yes; then
12087 resolv=yes 21692 resolv=yes
12088fi 21693fi
12089 21694
@@ -12098,18 +21703,106 @@ fi
12098 else 21703 else
12099 RESOLVLIB= 21704 RESOLVLIB=
12100 fi 21705 fi
12101 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" 21706 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
12102if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : 21707$as_echo_n "checking for hes_getmailhost... " >&6; }
21708if test "${ac_cv_func_hes_getmailhost+set}" = set; then
21709 $as_echo_n "(cached) " >&6
21710else
21711 cat >conftest.$ac_ext <<_ACEOF
21712/* confdefs.h. */
21713_ACEOF
21714cat confdefs.h >>conftest.$ac_ext
21715cat >>conftest.$ac_ext <<_ACEOF
21716/* end confdefs.h. */
21717/* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
21718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21719#define hes_getmailhost innocuous_hes_getmailhost
21720
21721/* System header to define __stub macros and hopefully few prototypes,
21722 which can conflict with char hes_getmailhost (); below.
21723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21724 <limits.h> exists even on freestanding compilers. */
21725
21726#ifdef __STDC__
21727# include <limits.h>
21728#else
21729# include <assert.h>
21730#endif
21731
21732#undef hes_getmailhost
21733
21734/* Override any GCC internal prototype to avoid an error.
21735 Use char because int might match the return type of a GCC
21736 builtin and then its argument prototype would still apply. */
21737#ifdef __cplusplus
21738extern "C"
21739#endif
21740char hes_getmailhost ();
21741/* The GNU C library defines this for functions which it implements
21742 to always fail with ENOSYS. Some functions are actually named
21743 something starting with __ and the normal name is an alias. */
21744#if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost
21745choke me
21746#endif
21747
21748int
21749main ()
21750{
21751return hes_getmailhost ();
21752 ;
21753 return 0;
21754}
21755_ACEOF
21756rm -f conftest.$ac_objext conftest$ac_exeext
21757if { (ac_try="$ac_link"
21758case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21761esac
21762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21763$as_echo "$ac_try_echo") >&5
21764 (eval "$ac_link") 2>conftest.er1
21765 ac_status=$?
21766 grep -v '^ *+' conftest.er1 >conftest.err
21767 rm -f conftest.er1
21768 cat conftest.err >&5
21769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && {
21771 test -z "$ac_c_werror_flag" ||
21772 test ! -s conftest.err
21773 } && test -s conftest$ac_exeext && {
21774 test "$cross_compiling" = yes ||
21775 $as_test_x conftest$ac_exeext
21776 }; then
21777 ac_cv_func_hes_getmailhost=yes
21778else
21779 $as_echo "$as_me: failed program was:" >&5
21780sed 's/^/| /' conftest.$ac_ext >&5
12103 21781
21782 ac_cv_func_hes_getmailhost=no
21783fi
21784
21785rm -rf conftest.dSYM
21786rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21787 conftest$ac_exeext conftest.$ac_ext
21788fi
21789{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
21790$as_echo "$ac_cv_func_hes_getmailhost" >&6; }
21791if test $ac_cv_func_hes_getmailhost = yes; then
21792 :
12104else 21793else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 21794 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
12106$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 21795$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
12107if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : 21796if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
12108 $as_echo_n "(cached) " >&6 21797 $as_echo_n "(cached) " >&6
12109else 21798else
12110 ac_check_lib_save_LIBS=$LIBS 21799 ac_check_lib_save_LIBS=$LIBS
12111LIBS="-lhesiod $RESOLVLIB $LIBS" 21800LIBS="-lhesiod $RESOLVLIB $LIBS"
12112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21801cat >conftest.$ac_ext <<_ACEOF
21802/* confdefs.h. */
21803_ACEOF
21804cat confdefs.h >>conftest.$ac_ext
21805cat >>conftest.$ac_ext <<_ACEOF
12113/* end confdefs.h. */ 21806/* end confdefs.h. */
12114 21807
12115/* Override any GCC internal prototype to avoid an error. 21808/* Override any GCC internal prototype to avoid an error.
@@ -12127,18 +21820,43 @@ return hes_getmailhost ();
12127 return 0; 21820 return 0;
12128} 21821}
12129_ACEOF 21822_ACEOF
12130if ac_fn_c_try_link "$LINENO"; then : 21823rm -f conftest.$ac_objext conftest$ac_exeext
21824if { (ac_try="$ac_link"
21825case "(($ac_try" in
21826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21827 *) ac_try_echo=$ac_try;;
21828esac
21829eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21830$as_echo "$ac_try_echo") >&5
21831 (eval "$ac_link") 2>conftest.er1
21832 ac_status=$?
21833 grep -v '^ *+' conftest.er1 >conftest.err
21834 rm -f conftest.er1
21835 cat conftest.err >&5
21836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } && {
21838 test -z "$ac_c_werror_flag" ||
21839 test ! -s conftest.err
21840 } && test -s conftest$ac_exeext && {
21841 test "$cross_compiling" = yes ||
21842 $as_test_x conftest$ac_exeext
21843 }; then
12131 ac_cv_lib_hesiod_hes_getmailhost=yes 21844 ac_cv_lib_hesiod_hes_getmailhost=yes
12132else 21845else
12133 ac_cv_lib_hesiod_hes_getmailhost=no 21846 $as_echo "$as_me: failed program was:" >&5
21847sed 's/^/| /' conftest.$ac_ext >&5
21848
21849 ac_cv_lib_hesiod_hes_getmailhost=no
12134fi 21850fi
12135rm -f core conftest.err conftest.$ac_objext \ 21851
12136 conftest$ac_exeext conftest.$ac_ext 21852rm -rf conftest.dSYM
21853rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21854 conftest$ac_exeext conftest.$ac_ext
12137LIBS=$ac_check_lib_save_LIBS 21855LIBS=$ac_check_lib_save_LIBS
12138fi 21856fi
12139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 21857{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
12140$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 21858$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
12141if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : 21859if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
12142 hesiod=yes 21860 hesiod=yes
12143else 21861else
12144 : 21862 :
@@ -12149,7 +21867,9 @@ fi
12149 21867
12150 if test x"$hesiod" = xyes; then 21868 if test x"$hesiod" = xyes; then
12151 21869
12152$as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h 21870cat >>confdefs.h <<\_ACEOF
21871#define HAVE_LIBHESIOD 1
21872_ACEOF
12153 21873
12154 LIBHESIOD=-lhesiod 21874 LIBHESIOD=-lhesiod
12155 fi 21875 fi
@@ -12159,7 +21879,9 @@ fi
12159# Do we need libresolv (due to res_init or Hesiod)? 21879# Do we need libresolv (due to res_init or Hesiod)?
12160if test "$resolv" = yes ; then 21880if test "$resolv" = yes ; then
12161 21881
12162$as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h 21882cat >>confdefs.h <<\_ACEOF
21883#define HAVE_LIBRESOLV 1
21884_ACEOF
12163 21885
12164 LIBRESOLV=-lresolv 21886 LIBRESOLV=-lresolv
12165else 21887else
@@ -12175,14 +21897,18 @@ DESLIB=
12175KRB4LIB= 21897KRB4LIB=
12176 21898
12177if test "${with_kerberos}" != no; then 21899if test "${with_kerberos}" != no; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 21900 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
12179$as_echo_n "checking for com_err in -lcom_err... " >&6; } 21901$as_echo_n "checking for com_err in -lcom_err... " >&6; }
12180if test "${ac_cv_lib_com_err_com_err+set}" = set; then : 21902if test "${ac_cv_lib_com_err_com_err+set}" = set; then
12181 $as_echo_n "(cached) " >&6 21903 $as_echo_n "(cached) " >&6
12182else 21904else
12183 ac_check_lib_save_LIBS=$LIBS 21905 ac_check_lib_save_LIBS=$LIBS
12184LIBS="-lcom_err $LIBS" 21906LIBS="-lcom_err $LIBS"
12185cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21907cat >conftest.$ac_ext <<_ACEOF
21908/* confdefs.h. */
21909_ACEOF
21910cat confdefs.h >>conftest.$ac_ext
21911cat >>conftest.$ac_ext <<_ACEOF
12186/* end confdefs.h. */ 21912/* end confdefs.h. */
12187 21913
12188/* Override any GCC internal prototype to avoid an error. 21914/* Override any GCC internal prototype to avoid an error.
@@ -12200,18 +21926,43 @@ return com_err ();
12200 return 0; 21926 return 0;
12201} 21927}
12202_ACEOF 21928_ACEOF
12203if ac_fn_c_try_link "$LINENO"; then : 21929rm -f conftest.$ac_objext conftest$ac_exeext
21930if { (ac_try="$ac_link"
21931case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21934esac
21935eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21936$as_echo "$ac_try_echo") >&5
21937 (eval "$ac_link") 2>conftest.er1
21938 ac_status=$?
21939 grep -v '^ *+' conftest.er1 >conftest.err
21940 rm -f conftest.er1
21941 cat conftest.err >&5
21942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } && {
21944 test -z "$ac_c_werror_flag" ||
21945 test ! -s conftest.err
21946 } && test -s conftest$ac_exeext && {
21947 test "$cross_compiling" = yes ||
21948 $as_test_x conftest$ac_exeext
21949 }; then
12204 ac_cv_lib_com_err_com_err=yes 21950 ac_cv_lib_com_err_com_err=yes
12205else 21951else
12206 ac_cv_lib_com_err_com_err=no 21952 $as_echo "$as_me: failed program was:" >&5
21953sed 's/^/| /' conftest.$ac_ext >&5
21954
21955 ac_cv_lib_com_err_com_err=no
12207fi 21956fi
12208rm -f core conftest.err conftest.$ac_objext \ 21957
12209 conftest$ac_exeext conftest.$ac_ext 21958rm -rf conftest.dSYM
21959rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21960 conftest$ac_exeext conftest.$ac_ext
12210LIBS=$ac_check_lib_save_LIBS 21961LIBS=$ac_check_lib_save_LIBS
12211fi 21962fi
12212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 21963{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
12213$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 21964$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
12214if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : 21965if test $ac_cv_lib_com_err_com_err = yes; then
12215 have_com_err=yes 21966 have_com_err=yes
12216else 21967else
12217 have_com_err=no 21968 have_com_err=no
@@ -12221,17 +21972,23 @@ fi
12221 COM_ERRLIB=-lcom_err 21972 COM_ERRLIB=-lcom_err
12222 LIBS="$COM_ERRLIB $LIBS" 21973 LIBS="$COM_ERRLIB $LIBS"
12223 21974
12224$as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h 21975cat >>confdefs.h <<\_ACEOF
21976#define HAVE_LIBCOM_ERR 1
21977_ACEOF
12225 21978
12226 fi 21979 fi
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 21980 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
12228$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 21981$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
12229if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : 21982if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
12230 $as_echo_n "(cached) " >&6 21983 $as_echo_n "(cached) " >&6
12231else 21984else
12232 ac_check_lib_save_LIBS=$LIBS 21985 ac_check_lib_save_LIBS=$LIBS
12233LIBS="-lcrypto $LIBS" 21986LIBS="-lcrypto $LIBS"
12234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21987cat >conftest.$ac_ext <<_ACEOF
21988/* confdefs.h. */
21989_ACEOF
21990cat confdefs.h >>conftest.$ac_ext
21991cat >>conftest.$ac_ext <<_ACEOF
12235/* end confdefs.h. */ 21992/* end confdefs.h. */
12236 21993
12237/* Override any GCC internal prototype to avoid an error. 21994/* Override any GCC internal prototype to avoid an error.
@@ -12249,18 +22006,43 @@ return mit_des_cbc_encrypt ();
12249 return 0; 22006 return 0;
12250} 22007}
12251_ACEOF 22008_ACEOF
12252if ac_fn_c_try_link "$LINENO"; then : 22009rm -f conftest.$ac_objext conftest$ac_exeext
22010if { (ac_try="$ac_link"
22011case "(($ac_try" in
22012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22013 *) ac_try_echo=$ac_try;;
22014esac
22015eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22016$as_echo "$ac_try_echo") >&5
22017 (eval "$ac_link") 2>conftest.er1
22018 ac_status=$?
22019 grep -v '^ *+' conftest.er1 >conftest.err
22020 rm -f conftest.er1
22021 cat conftest.err >&5
22022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } && {
22024 test -z "$ac_c_werror_flag" ||
22025 test ! -s conftest.err
22026 } && test -s conftest$ac_exeext && {
22027 test "$cross_compiling" = yes ||
22028 $as_test_x conftest$ac_exeext
22029 }; then
12253 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 22030 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
12254else 22031else
12255 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 22032 $as_echo "$as_me: failed program was:" >&5
22033sed 's/^/| /' conftest.$ac_ext >&5
22034
22035 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
12256fi 22036fi
12257rm -f core conftest.err conftest.$ac_objext \ 22037
12258 conftest$ac_exeext conftest.$ac_ext 22038rm -rf conftest.dSYM
22039rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22040 conftest$ac_exeext conftest.$ac_ext
12259LIBS=$ac_check_lib_save_LIBS 22041LIBS=$ac_check_lib_save_LIBS
12260fi 22042fi
12261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 22043{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
12262$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 22044$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
12263if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : 22045if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
12264 have_crypto=yes 22046 have_crypto=yes
12265else 22047else
12266 have_crypto=no 22048 have_crypto=no
@@ -12270,17 +22052,23 @@ fi
12270 CRYPTOLIB=-lcrypto 22052 CRYPTOLIB=-lcrypto
12271 LIBS="$CRYPTOLIB $LIBS" 22053 LIBS="$CRYPTOLIB $LIBS"
12272 22054
12273$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h 22055cat >>confdefs.h <<\_ACEOF
22056#define HAVE_LIBCRYPTO 1
22057_ACEOF
12274 22058
12275 fi 22059 fi
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 22060 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
12277$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 22061$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
12278if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : 22062if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
12279 $as_echo_n "(cached) " >&6 22063 $as_echo_n "(cached) " >&6
12280else 22064else
12281 ac_check_lib_save_LIBS=$LIBS 22065 ac_check_lib_save_LIBS=$LIBS
12282LIBS="-lk5crypto $LIBS" 22066LIBS="-lk5crypto $LIBS"
12283cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22067cat >conftest.$ac_ext <<_ACEOF
22068/* confdefs.h. */
22069_ACEOF
22070cat confdefs.h >>conftest.$ac_ext
22071cat >>conftest.$ac_ext <<_ACEOF
12284/* end confdefs.h. */ 22072/* end confdefs.h. */
12285 22073
12286/* Override any GCC internal prototype to avoid an error. 22074/* Override any GCC internal prototype to avoid an error.
@@ -12298,18 +22086,43 @@ return mit_des_cbc_encrypt ();
12298 return 0; 22086 return 0;
12299} 22087}
12300_ACEOF 22088_ACEOF
12301if ac_fn_c_try_link "$LINENO"; then : 22089rm -f conftest.$ac_objext conftest$ac_exeext
22090if { (ac_try="$ac_link"
22091case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22093 *) ac_try_echo=$ac_try;;
22094esac
22095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22096$as_echo "$ac_try_echo") >&5
22097 (eval "$ac_link") 2>conftest.er1
22098 ac_status=$?
22099 grep -v '^ *+' conftest.er1 >conftest.err
22100 rm -f conftest.er1
22101 cat conftest.err >&5
22102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } && {
22104 test -z "$ac_c_werror_flag" ||
22105 test ! -s conftest.err
22106 } && test -s conftest$ac_exeext && {
22107 test "$cross_compiling" = yes ||
22108 $as_test_x conftest$ac_exeext
22109 }; then
12302 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 22110 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
12303else 22111else
12304 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 22112 $as_echo "$as_me: failed program was:" >&5
22113sed 's/^/| /' conftest.$ac_ext >&5
22114
22115 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
12305fi 22116fi
12306rm -f core conftest.err conftest.$ac_objext \ 22117
12307 conftest$ac_exeext conftest.$ac_ext 22118rm -rf conftest.dSYM
22119rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22120 conftest$ac_exeext conftest.$ac_ext
12308LIBS=$ac_check_lib_save_LIBS 22121LIBS=$ac_check_lib_save_LIBS
12309fi 22122fi
12310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 22123{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
12311$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 22124$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
12312if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : 22125if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
12313 have_k5crypto=yes 22126 have_k5crypto=yes
12314else 22127else
12315 have_k5crypto=no 22128 have_k5crypto=no
@@ -12319,17 +22132,23 @@ fi
12319 CRYPTOLIB=-lk5crypto 22132 CRYPTOLIB=-lk5crypto
12320 LIBS="$CRYPTOLIB $LIBS" 22133 LIBS="$CRYPTOLIB $LIBS"
12321 22134
12322$as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h 22135cat >>confdefs.h <<\_ACEOF
22136#define HAVE_LIBK5CRYPTO 1
22137_ACEOF
12323 22138
12324 fi 22139 fi
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 22140 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
12326$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 22141$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
12327if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : 22142if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
12328 $as_echo_n "(cached) " >&6 22143 $as_echo_n "(cached) " >&6
12329else 22144else
12330 ac_check_lib_save_LIBS=$LIBS 22145 ac_check_lib_save_LIBS=$LIBS
12331LIBS="-lkrb5 $LIBS" 22146LIBS="-lkrb5 $LIBS"
12332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22147cat >conftest.$ac_ext <<_ACEOF
22148/* confdefs.h. */
22149_ACEOF
22150cat confdefs.h >>conftest.$ac_ext
22151cat >>conftest.$ac_ext <<_ACEOF
12333/* end confdefs.h. */ 22152/* end confdefs.h. */
12334 22153
12335/* Override any GCC internal prototype to avoid an error. 22154/* Override any GCC internal prototype to avoid an error.
@@ -12347,18 +22166,43 @@ return krb5_init_context ();
12347 return 0; 22166 return 0;
12348} 22167}
12349_ACEOF 22168_ACEOF
12350if ac_fn_c_try_link "$LINENO"; then : 22169rm -f conftest.$ac_objext conftest$ac_exeext
22170if { (ac_try="$ac_link"
22171case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174esac
22175eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22176$as_echo "$ac_try_echo") >&5
22177 (eval "$ac_link") 2>conftest.er1
22178 ac_status=$?
22179 grep -v '^ *+' conftest.er1 >conftest.err
22180 rm -f conftest.er1
22181 cat conftest.err >&5
22182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } && {
22184 test -z "$ac_c_werror_flag" ||
22185 test ! -s conftest.err
22186 } && test -s conftest$ac_exeext && {
22187 test "$cross_compiling" = yes ||
22188 $as_test_x conftest$ac_exeext
22189 }; then
12351 ac_cv_lib_krb5_krb5_init_context=yes 22190 ac_cv_lib_krb5_krb5_init_context=yes
12352else 22191else
12353 ac_cv_lib_krb5_krb5_init_context=no 22192 $as_echo "$as_me: failed program was:" >&5
22193sed 's/^/| /' conftest.$ac_ext >&5
22194
22195 ac_cv_lib_krb5_krb5_init_context=no
12354fi 22196fi
12355rm -f core conftest.err conftest.$ac_objext \ 22197
12356 conftest$ac_exeext conftest.$ac_ext 22198rm -rf conftest.dSYM
22199rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22200 conftest$ac_exeext conftest.$ac_ext
12357LIBS=$ac_check_lib_save_LIBS 22201LIBS=$ac_check_lib_save_LIBS
12358fi 22202fi
12359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 22203{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
12360$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 22204$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
12361if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : 22205if test $ac_cv_lib_krb5_krb5_init_context = yes; then
12362 have_krb5=yes 22206 have_krb5=yes
12363else 22207else
12364 have_krb5=no 22208 have_krb5=no
@@ -12368,18 +22212,24 @@ fi
12368 KRB5LIB=-lkrb5 22212 KRB5LIB=-lkrb5
12369 LIBS="$KRB5LIB $LIBS" 22213 LIBS="$KRB5LIB $LIBS"
12370 22214
12371$as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h 22215cat >>confdefs.h <<\_ACEOF
22216#define HAVE_LIBKRB5 1
22217_ACEOF
12372 22218
12373 fi 22219 fi
12374 if test "${with_kerberos5}" = no; then 22220 if test "${with_kerberos5}" = no; then
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 22221 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
12376$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 22222$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
12377if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : 22223if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
12378 $as_echo_n "(cached) " >&6 22224 $as_echo_n "(cached) " >&6
12379else 22225else
12380 ac_check_lib_save_LIBS=$LIBS 22226 ac_check_lib_save_LIBS=$LIBS
12381LIBS="-ldes425 $LIBS" 22227LIBS="-ldes425 $LIBS"
12382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22228cat >conftest.$ac_ext <<_ACEOF
22229/* confdefs.h. */
22230_ACEOF
22231cat confdefs.h >>conftest.$ac_ext
22232cat >>conftest.$ac_ext <<_ACEOF
12383/* end confdefs.h. */ 22233/* end confdefs.h. */
12384 22234
12385/* Override any GCC internal prototype to avoid an error. 22235/* Override any GCC internal prototype to avoid an error.
@@ -12397,18 +22247,43 @@ return des_cbc_encrypt ();
12397 return 0; 22247 return 0;
12398} 22248}
12399_ACEOF 22249_ACEOF
12400if ac_fn_c_try_link "$LINENO"; then : 22250rm -f conftest.$ac_objext conftest$ac_exeext
22251if { (ac_try="$ac_link"
22252case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22255esac
22256eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22257$as_echo "$ac_try_echo") >&5
22258 (eval "$ac_link") 2>conftest.er1
22259 ac_status=$?
22260 grep -v '^ *+' conftest.er1 >conftest.err
22261 rm -f conftest.er1
22262 cat conftest.err >&5
22263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && {
22265 test -z "$ac_c_werror_flag" ||
22266 test ! -s conftest.err
22267 } && test -s conftest$ac_exeext && {
22268 test "$cross_compiling" = yes ||
22269 $as_test_x conftest$ac_exeext
22270 }; then
12401 ac_cv_lib_des425_des_cbc_encrypt=yes 22271 ac_cv_lib_des425_des_cbc_encrypt=yes
12402else 22272else
12403 ac_cv_lib_des425_des_cbc_encrypt=no 22273 $as_echo "$as_me: failed program was:" >&5
22274sed 's/^/| /' conftest.$ac_ext >&5
22275
22276 ac_cv_lib_des425_des_cbc_encrypt=no
12404fi 22277fi
12405rm -f core conftest.err conftest.$ac_objext \ 22278
12406 conftest$ac_exeext conftest.$ac_ext 22279rm -rf conftest.dSYM
22280rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22281 conftest$ac_exeext conftest.$ac_ext
12407LIBS=$ac_check_lib_save_LIBS 22282LIBS=$ac_check_lib_save_LIBS
12408fi 22283fi
12409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 22284{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
12410$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 22285$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
12411if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : 22286if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
12412 have_des425=yes 22287 have_des425=yes
12413else 22288else
12414 have_des425=no 22289 have_des425=no
@@ -12418,17 +22293,23 @@ fi
12418 DESLIB=-ldes425 22293 DESLIB=-ldes425
12419 LIBS="$DESLIB $LIBS" 22294 LIBS="$DESLIB $LIBS"
12420 22295
12421$as_echo "#define HAVE_LIBDES425 1" >>confdefs.h 22296cat >>confdefs.h <<\_ACEOF
22297#define HAVE_LIBDES425 1
22298_ACEOF
12422 22299
12423 else 22300 else
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 22301 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
12425$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 22302$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
12426if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : 22303if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
12427 $as_echo_n "(cached) " >&6 22304 $as_echo_n "(cached) " >&6
12428else 22305else
12429 ac_check_lib_save_LIBS=$LIBS 22306 ac_check_lib_save_LIBS=$LIBS
12430LIBS="-ldes $LIBS" 22307LIBS="-ldes $LIBS"
12431cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22308cat >conftest.$ac_ext <<_ACEOF
22309/* confdefs.h. */
22310_ACEOF
22311cat confdefs.h >>conftest.$ac_ext
22312cat >>conftest.$ac_ext <<_ACEOF
12432/* end confdefs.h. */ 22313/* end confdefs.h. */
12433 22314
12434/* Override any GCC internal prototype to avoid an error. 22315/* Override any GCC internal prototype to avoid an error.
@@ -12446,18 +22327,43 @@ return des_cbc_encrypt ();
12446 return 0; 22327 return 0;
12447} 22328}
12448_ACEOF 22329_ACEOF
12449if ac_fn_c_try_link "$LINENO"; then : 22330rm -f conftest.$ac_objext conftest$ac_exeext
22331if { (ac_try="$ac_link"
22332case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22335esac
22336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22337$as_echo "$ac_try_echo") >&5
22338 (eval "$ac_link") 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest$ac_exeext && {
22348 test "$cross_compiling" = yes ||
22349 $as_test_x conftest$ac_exeext
22350 }; then
12450 ac_cv_lib_des_des_cbc_encrypt=yes 22351 ac_cv_lib_des_des_cbc_encrypt=yes
12451else 22352else
12452 ac_cv_lib_des_des_cbc_encrypt=no 22353 $as_echo "$as_me: failed program was:" >&5
22354sed 's/^/| /' conftest.$ac_ext >&5
22355
22356 ac_cv_lib_des_des_cbc_encrypt=no
12453fi 22357fi
12454rm -f core conftest.err conftest.$ac_objext \ 22358
12455 conftest$ac_exeext conftest.$ac_ext 22359rm -rf conftest.dSYM
22360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22361 conftest$ac_exeext conftest.$ac_ext
12456LIBS=$ac_check_lib_save_LIBS 22362LIBS=$ac_check_lib_save_LIBS
12457fi 22363fi
12458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 22364{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
12459$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 22365$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
12460if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : 22366if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
12461 have_des=yes 22367 have_des=yes
12462else 22368else
12463 have_des=no 22369 have_des=no
@@ -12467,18 +22373,24 @@ fi
12467 DESLIB=-ldes 22373 DESLIB=-ldes
12468 LIBS="$DESLIB $LIBS" 22374 LIBS="$DESLIB $LIBS"
12469 22375
12470$as_echo "#define HAVE_LIBDES 1" >>confdefs.h 22376cat >>confdefs.h <<\_ACEOF
22377#define HAVE_LIBDES 1
22378_ACEOF
12471 22379
12472 fi 22380 fi
12473 fi 22381 fi
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 22382 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
12475$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 22383$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
12476if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : 22384if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
12477 $as_echo_n "(cached) " >&6 22385 $as_echo_n "(cached) " >&6
12478else 22386else
12479 ac_check_lib_save_LIBS=$LIBS 22387 ac_check_lib_save_LIBS=$LIBS
12480LIBS="-lkrb4 $LIBS" 22388LIBS="-lkrb4 $LIBS"
12481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22389cat >conftest.$ac_ext <<_ACEOF
22390/* confdefs.h. */
22391_ACEOF
22392cat confdefs.h >>conftest.$ac_ext
22393cat >>conftest.$ac_ext <<_ACEOF
12482/* end confdefs.h. */ 22394/* end confdefs.h. */
12483 22395
12484/* Override any GCC internal prototype to avoid an error. 22396/* Override any GCC internal prototype to avoid an error.
@@ -12496,18 +22408,43 @@ return krb_get_cred ();
12496 return 0; 22408 return 0;
12497} 22409}
12498_ACEOF 22410_ACEOF
12499if ac_fn_c_try_link "$LINENO"; then : 22411rm -f conftest.$ac_objext conftest$ac_exeext
22412if { (ac_try="$ac_link"
22413case "(($ac_try" in
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22416esac
22417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22418$as_echo "$ac_try_echo") >&5
22419 (eval "$ac_link") 2>conftest.er1
22420 ac_status=$?
22421 grep -v '^ *+' conftest.er1 >conftest.err
22422 rm -f conftest.er1
22423 cat conftest.err >&5
22424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } && {
22426 test -z "$ac_c_werror_flag" ||
22427 test ! -s conftest.err
22428 } && test -s conftest$ac_exeext && {
22429 test "$cross_compiling" = yes ||
22430 $as_test_x conftest$ac_exeext
22431 }; then
12500 ac_cv_lib_krb4_krb_get_cred=yes 22432 ac_cv_lib_krb4_krb_get_cred=yes
12501else 22433else
12502 ac_cv_lib_krb4_krb_get_cred=no 22434 $as_echo "$as_me: failed program was:" >&5
22435sed 's/^/| /' conftest.$ac_ext >&5
22436
22437 ac_cv_lib_krb4_krb_get_cred=no
12503fi 22438fi
12504rm -f core conftest.err conftest.$ac_objext \ 22439
12505 conftest$ac_exeext conftest.$ac_ext 22440rm -rf conftest.dSYM
22441rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22442 conftest$ac_exeext conftest.$ac_ext
12506LIBS=$ac_check_lib_save_LIBS 22443LIBS=$ac_check_lib_save_LIBS
12507fi 22444fi
12508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 22445{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
12509$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 22446$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
12510if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : 22447if test $ac_cv_lib_krb4_krb_get_cred = yes; then
12511 have_krb4=yes 22448 have_krb4=yes
12512else 22449else
12513 have_krb4=no 22450 have_krb4=no
@@ -12517,17 +22454,23 @@ fi
12517 KRB4LIB=-lkrb4 22454 KRB4LIB=-lkrb4
12518 LIBS="$KRB4LIB $LIBS" 22455 LIBS="$KRB4LIB $LIBS"
12519 22456
12520$as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h 22457cat >>confdefs.h <<\_ACEOF
22458#define HAVE_LIBKRB4 1
22459_ACEOF
12521 22460
12522 else 22461 else
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 22462 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
12524$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 22463$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
12525if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : 22464if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
12526 $as_echo_n "(cached) " >&6 22465 $as_echo_n "(cached) " >&6
12527else 22466else
12528 ac_check_lib_save_LIBS=$LIBS 22467 ac_check_lib_save_LIBS=$LIBS
12529LIBS="-lkrb $LIBS" 22468LIBS="-lkrb $LIBS"
12530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22469cat >conftest.$ac_ext <<_ACEOF
22470/* confdefs.h. */
22471_ACEOF
22472cat confdefs.h >>conftest.$ac_ext
22473cat >>conftest.$ac_ext <<_ACEOF
12531/* end confdefs.h. */ 22474/* end confdefs.h. */
12532 22475
12533/* Override any GCC internal prototype to avoid an error. 22476/* Override any GCC internal prototype to avoid an error.
@@ -12545,18 +22488,43 @@ return krb_get_cred ();
12545 return 0; 22488 return 0;
12546} 22489}
12547_ACEOF 22490_ACEOF
12548if ac_fn_c_try_link "$LINENO"; then : 22491rm -f conftest.$ac_objext conftest$ac_exeext
22492if { (ac_try="$ac_link"
22493case "(($ac_try" in
22494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22495 *) ac_try_echo=$ac_try;;
22496esac
22497eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22498$as_echo "$ac_try_echo") >&5
22499 (eval "$ac_link") 2>conftest.er1
22500 ac_status=$?
22501 grep -v '^ *+' conftest.er1 >conftest.err
22502 rm -f conftest.er1
22503 cat conftest.err >&5
22504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } && {
22506 test -z "$ac_c_werror_flag" ||
22507 test ! -s conftest.err
22508 } && test -s conftest$ac_exeext && {
22509 test "$cross_compiling" = yes ||
22510 $as_test_x conftest$ac_exeext
22511 }; then
12549 ac_cv_lib_krb_krb_get_cred=yes 22512 ac_cv_lib_krb_krb_get_cred=yes
12550else 22513else
12551 ac_cv_lib_krb_krb_get_cred=no 22514 $as_echo "$as_me: failed program was:" >&5
22515sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 ac_cv_lib_krb_krb_get_cred=no
12552fi 22518fi
12553rm -f core conftest.err conftest.$ac_objext \ 22519
12554 conftest$ac_exeext conftest.$ac_ext 22520rm -rf conftest.dSYM
22521rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22522 conftest$ac_exeext conftest.$ac_ext
12555LIBS=$ac_check_lib_save_LIBS 22523LIBS=$ac_check_lib_save_LIBS
12556fi 22524fi
12557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 22525{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
12558$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 22526$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
12559if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : 22527if test $ac_cv_lib_krb_krb_get_cred = yes; then
12560 have_krb=yes 22528 have_krb=yes
12561else 22529else
12562 have_krb=no 22530 have_krb=no
@@ -12566,23 +22534,253 @@ fi
12566 KRB4LIB=-lkrb 22534 KRB4LIB=-lkrb
12567 LIBS="$KRB4LIB $LIBS" 22535 LIBS="$KRB4LIB $LIBS"
12568 22536
12569$as_echo "#define HAVE_LIBKRB 1" >>confdefs.h 22537cat >>confdefs.h <<\_ACEOF
22538#define HAVE_LIBKRB 1
22539_ACEOF
12570 22540
12571 fi 22541 fi
12572 fi 22542 fi
12573 fi 22543 fi
12574 22544
12575 if test "${with_kerberos5}" != no; then 22545 if test "${with_kerberos5}" != no; then
12576 for ac_header in krb5.h 22546
12577do : 22547for ac_header in krb5.h
12578 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" 22548do
12579if test "x$ac_cv_header_krb5_h" = x""yes; then : 22549as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22550if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22551 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22552$as_echo_n "checking for $ac_header... " >&6; }
22553if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22554 $as_echo_n "(cached) " >&6
22555fi
22556ac_res=`eval 'as_val=${'$as_ac_Header'}
22557 $as_echo "$as_val"'`
22558 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22559$as_echo "$ac_res" >&6; }
22560else
22561 # Is the header compilable?
22562{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22563$as_echo_n "checking $ac_header usability... " >&6; }
22564cat >conftest.$ac_ext <<_ACEOF
22565/* confdefs.h. */
22566_ACEOF
22567cat confdefs.h >>conftest.$ac_ext
22568cat >>conftest.$ac_ext <<_ACEOF
22569/* end confdefs.h. */
22570$ac_includes_default
22571#include <$ac_header>
22572_ACEOF
22573rm -f conftest.$ac_objext
22574if { (ac_try="$ac_compile"
22575case "(($ac_try" in
22576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22577 *) ac_try_echo=$ac_try;;
22578esac
22579eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22580$as_echo "$ac_try_echo") >&5
22581 (eval "$ac_compile") 2>conftest.er1
22582 ac_status=$?
22583 grep -v '^ *+' conftest.er1 >conftest.err
22584 rm -f conftest.er1
22585 cat conftest.err >&5
22586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } && {
22588 test -z "$ac_c_werror_flag" ||
22589 test ! -s conftest.err
22590 } && test -s conftest.$ac_objext; then
22591 ac_header_compiler=yes
22592else
22593 $as_echo "$as_me: failed program was:" >&5
22594sed 's/^/| /' conftest.$ac_ext >&5
22595
22596 ac_header_compiler=no
22597fi
22598
22599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22600{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22601$as_echo "$ac_header_compiler" >&6; }
22602
22603# Is the header present?
22604{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22605$as_echo_n "checking $ac_header presence... " >&6; }
22606cat >conftest.$ac_ext <<_ACEOF
22607/* confdefs.h. */
22608_ACEOF
22609cat confdefs.h >>conftest.$ac_ext
22610cat >>conftest.$ac_ext <<_ACEOF
22611/* end confdefs.h. */
22612#include <$ac_header>
22613_ACEOF
22614if { (ac_try="$ac_cpp conftest.$ac_ext"
22615case "(($ac_try" in
22616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22618esac
22619eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22620$as_echo "$ac_try_echo") >&5
22621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22622 ac_status=$?
22623 grep -v '^ *+' conftest.er1 >conftest.err
22624 rm -f conftest.er1
22625 cat conftest.err >&5
22626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } >/dev/null && {
22628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22629 test ! -s conftest.err
22630 }; then
22631 ac_header_preproc=yes
22632else
22633 $as_echo "$as_me: failed program was:" >&5
22634sed 's/^/| /' conftest.$ac_ext >&5
22635
22636 ac_header_preproc=no
22637fi
22638
22639rm -f conftest.err conftest.$ac_ext
22640{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22641$as_echo "$ac_header_preproc" >&6; }
22642
22643# So? What about this header?
22644case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22645 yes:no: )
22646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22647$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22649$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22650 ac_header_preproc=yes
22651 ;;
22652 no:yes:* )
22653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22654$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22656$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22657 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22658$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22659 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22660$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22662$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22664$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22665
22666 ;;
22667esac
22668{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22669$as_echo_n "checking for $ac_header... " >&6; }
22670if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22671 $as_echo_n "(cached) " >&6
22672else
22673 eval "$as_ac_Header=\$ac_header_preproc"
22674fi
22675ac_res=`eval 'as_val=${'$as_ac_Header'}
22676 $as_echo "$as_val"'`
22677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22678$as_echo "$ac_res" >&6; }
22679
22680fi
22681if test `eval 'as_val=${'$as_ac_Header'}
22682 $as_echo "$as_val"'` = yes; then
12580 cat >>confdefs.h <<_ACEOF 22683 cat >>confdefs.h <<_ACEOF
12581#define HAVE_KRB5_H 1 22684#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12582_ACEOF 22685_ACEOF
12583 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> 22686 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5
12584" 22687$as_echo_n "checking for krb5_error.text... " >&6; }
12585if test "x$ac_cv_member_krb5_error_text" = x""yes; then : 22688if test "${ac_cv_member_krb5_error_text+set}" = set; then
22689 $as_echo_n "(cached) " >&6
22690else
22691 cat >conftest.$ac_ext <<_ACEOF
22692/* confdefs.h. */
22693_ACEOF
22694cat confdefs.h >>conftest.$ac_ext
22695cat >>conftest.$ac_ext <<_ACEOF
22696/* end confdefs.h. */
22697#include <krb5.h>
22698
22699int
22700main ()
22701{
22702static krb5_error ac_aggr;
22703if (ac_aggr.text)
22704return 0;
22705 ;
22706 return 0;
22707}
22708_ACEOF
22709rm -f conftest.$ac_objext
22710if { (ac_try="$ac_compile"
22711case "(($ac_try" in
22712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22713 *) ac_try_echo=$ac_try;;
22714esac
22715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22716$as_echo "$ac_try_echo") >&5
22717 (eval "$ac_compile") 2>conftest.er1
22718 ac_status=$?
22719 grep -v '^ *+' conftest.er1 >conftest.err
22720 rm -f conftest.er1
22721 cat conftest.err >&5
22722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } && {
22724 test -z "$ac_c_werror_flag" ||
22725 test ! -s conftest.err
22726 } && test -s conftest.$ac_objext; then
22727 ac_cv_member_krb5_error_text=yes
22728else
22729 $as_echo "$as_me: failed program was:" >&5
22730sed 's/^/| /' conftest.$ac_ext >&5
22731
22732 cat >conftest.$ac_ext <<_ACEOF
22733/* confdefs.h. */
22734_ACEOF
22735cat confdefs.h >>conftest.$ac_ext
22736cat >>conftest.$ac_ext <<_ACEOF
22737/* end confdefs.h. */
22738#include <krb5.h>
22739
22740int
22741main ()
22742{
22743static krb5_error ac_aggr;
22744if (sizeof ac_aggr.text)
22745return 0;
22746 ;
22747 return 0;
22748}
22749_ACEOF
22750rm -f conftest.$ac_objext
22751if { (ac_try="$ac_compile"
22752case "(($ac_try" in
22753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22754 *) ac_try_echo=$ac_try;;
22755esac
22756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22757$as_echo "$ac_try_echo") >&5
22758 (eval "$ac_compile") 2>conftest.er1
22759 ac_status=$?
22760 grep -v '^ *+' conftest.er1 >conftest.err
22761 rm -f conftest.er1
22762 cat conftest.err >&5
22763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } && {
22765 test -z "$ac_c_werror_flag" ||
22766 test ! -s conftest.err
22767 } && test -s conftest.$ac_objext; then
22768 ac_cv_member_krb5_error_text=yes
22769else
22770 $as_echo "$as_me: failed program was:" >&5
22771sed 's/^/| /' conftest.$ac_ext >&5
22772
22773 ac_cv_member_krb5_error_text=no
22774fi
22775
22776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22777fi
22778
22779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22780fi
22781{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
22782$as_echo "$ac_cv_member_krb5_error_text" >&6; }
22783if test $ac_cv_member_krb5_error_text = yes; then
12586 22784
12587cat >>confdefs.h <<_ACEOF 22785cat >>confdefs.h <<_ACEOF
12588#define HAVE_KRB5_ERROR_TEXT 1 22786#define HAVE_KRB5_ERROR_TEXT 1
@@ -12590,9 +22788,104 @@ _ACEOF
12590 22788
12591 22789
12592fi 22790fi
12593ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> 22791{ $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5
12594" 22792$as_echo_n "checking for krb5_error.e_text... " >&6; }
12595if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : 22793if test "${ac_cv_member_krb5_error_e_text+set}" = set; then
22794 $as_echo_n "(cached) " >&6
22795else
22796 cat >conftest.$ac_ext <<_ACEOF
22797/* confdefs.h. */
22798_ACEOF
22799cat confdefs.h >>conftest.$ac_ext
22800cat >>conftest.$ac_ext <<_ACEOF
22801/* end confdefs.h. */
22802#include <krb5.h>
22803
22804int
22805main ()
22806{
22807static krb5_error ac_aggr;
22808if (ac_aggr.e_text)
22809return 0;
22810 ;
22811 return 0;
22812}
22813_ACEOF
22814rm -f conftest.$ac_objext
22815if { (ac_try="$ac_compile"
22816case "(($ac_try" in
22817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22818 *) ac_try_echo=$ac_try;;
22819esac
22820eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22821$as_echo "$ac_try_echo") >&5
22822 (eval "$ac_compile") 2>conftest.er1
22823 ac_status=$?
22824 grep -v '^ *+' conftest.er1 >conftest.err
22825 rm -f conftest.er1
22826 cat conftest.err >&5
22827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); } && {
22829 test -z "$ac_c_werror_flag" ||
22830 test ! -s conftest.err
22831 } && test -s conftest.$ac_objext; then
22832 ac_cv_member_krb5_error_e_text=yes
22833else
22834 $as_echo "$as_me: failed program was:" >&5
22835sed 's/^/| /' conftest.$ac_ext >&5
22836
22837 cat >conftest.$ac_ext <<_ACEOF
22838/* confdefs.h. */
22839_ACEOF
22840cat confdefs.h >>conftest.$ac_ext
22841cat >>conftest.$ac_ext <<_ACEOF
22842/* end confdefs.h. */
22843#include <krb5.h>
22844
22845int
22846main ()
22847{
22848static krb5_error ac_aggr;
22849if (sizeof ac_aggr.e_text)
22850return 0;
22851 ;
22852 return 0;
22853}
22854_ACEOF
22855rm -f conftest.$ac_objext
22856if { (ac_try="$ac_compile"
22857case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22859 *) ac_try_echo=$ac_try;;
22860esac
22861eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22862$as_echo "$ac_try_echo") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_c_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22873 ac_cv_member_krb5_error_e_text=yes
22874else
22875 $as_echo "$as_me: failed program was:" >&5
22876sed 's/^/| /' conftest.$ac_ext >&5
22877
22878 ac_cv_member_krb5_error_e_text=no
22879fi
22880
22881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22882fi
22883
22884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885fi
22886{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
22887$as_echo "$ac_cv_member_krb5_error_e_text" >&6; }
22888if test $ac_cv_member_krb5_error_e_text = yes; then
12596 22889
12597cat >>confdefs.h <<_ACEOF 22890cat >>confdefs.h <<_ACEOF
12598#define HAVE_KRB5_ERROR_E_TEXT 1 22891#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -12606,30 +22899,429 @@ fi
12606done 22899done
12607 22900
12608 else 22901 else
12609 for ac_header in des.h 22902
12610do : 22903for ac_header in des.h
12611 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" 22904do
12612if test "x$ac_cv_header_des_h" = x""yes; then : 22905as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22906if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22907 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22908$as_echo_n "checking for $ac_header... " >&6; }
22909if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22910 $as_echo_n "(cached) " >&6
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; }
22916else
22917 # Is the header compilable?
22918{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22919$as_echo_n "checking $ac_header usability... " >&6; }
22920cat >conftest.$ac_ext <<_ACEOF
22921/* confdefs.h. */
22922_ACEOF
22923cat confdefs.h >>conftest.$ac_ext
22924cat >>conftest.$ac_ext <<_ACEOF
22925/* end confdefs.h. */
22926$ac_includes_default
22927#include <$ac_header>
22928_ACEOF
22929rm -f conftest.$ac_objext
22930if { (ac_try="$ac_compile"
22931case "(($ac_try" in
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 *) ac_try_echo=$ac_try;;
22934esac
22935eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22936$as_echo "$ac_try_echo") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 ac_header_compiler=yes
22948else
22949 $as_echo "$as_me: failed program was:" >&5
22950sed 's/^/| /' conftest.$ac_ext >&5
22951
22952 ac_header_compiler=no
22953fi
22954
22955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22956{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22957$as_echo "$ac_header_compiler" >&6; }
22958
22959# Is the header present?
22960{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22961$as_echo_n "checking $ac_header presence... " >&6; }
22962cat >conftest.$ac_ext <<_ACEOF
22963/* confdefs.h. */
22964_ACEOF
22965cat confdefs.h >>conftest.$ac_ext
22966cat >>conftest.$ac_ext <<_ACEOF
22967/* end confdefs.h. */
22968#include <$ac_header>
22969_ACEOF
22970if { (ac_try="$ac_cpp conftest.$ac_ext"
22971case "(($ac_try" in
22972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22973 *) ac_try_echo=$ac_try;;
22974esac
22975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22976$as_echo "$ac_try_echo") >&5
22977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22978 ac_status=$?
22979 grep -v '^ *+' conftest.er1 >conftest.err
22980 rm -f conftest.er1
22981 cat conftest.err >&5
22982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } >/dev/null && {
22984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22985 test ! -s conftest.err
22986 }; then
22987 ac_header_preproc=yes
22988else
22989 $as_echo "$as_me: failed program was:" >&5
22990sed 's/^/| /' conftest.$ac_ext >&5
22991
22992 ac_header_preproc=no
22993fi
22994
22995rm -f conftest.err conftest.$ac_ext
22996{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22997$as_echo "$ac_header_preproc" >&6; }
22998
22999# So? What about this header?
23000case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23001 yes:no: )
23002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23003$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23005$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23006 ac_header_preproc=yes
23007 ;;
23008 no:yes:* )
23009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23010$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23012$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23014$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23016$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23018$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23020$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23021
23022 ;;
23023esac
23024{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23025$as_echo_n "checking for $ac_header... " >&6; }
23026if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23027 $as_echo_n "(cached) " >&6
23028else
23029 eval "$as_ac_Header=\$ac_header_preproc"
23030fi
23031ac_res=`eval 'as_val=${'$as_ac_Header'}
23032 $as_echo "$as_val"'`
23033 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23034$as_echo "$ac_res" >&6; }
23035
23036fi
23037if test `eval 'as_val=${'$as_ac_Header'}
23038 $as_echo "$as_val"'` = yes; then
12613 cat >>confdefs.h <<_ACEOF 23039 cat >>confdefs.h <<_ACEOF
12614#define HAVE_DES_H 1 23040#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23041_ACEOF
23042
23043else
23044
23045for ac_header in kerberosIV/des.h
23046do
23047as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23048if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23049 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23050$as_echo_n "checking for $ac_header... " >&6; }
23051if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23052 $as_echo_n "(cached) " >&6
23053fi
23054ac_res=`eval 'as_val=${'$as_ac_Header'}
23055 $as_echo "$as_val"'`
23056 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23057$as_echo "$ac_res" >&6; }
23058else
23059 # Is the header compilable?
23060{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23061$as_echo_n "checking $ac_header usability... " >&6; }
23062cat >conftest.$ac_ext <<_ACEOF
23063/* confdefs.h. */
23064_ACEOF
23065cat confdefs.h >>conftest.$ac_ext
23066cat >>conftest.$ac_ext <<_ACEOF
23067/* end confdefs.h. */
23068$ac_includes_default
23069#include <$ac_header>
23070_ACEOF
23071rm -f conftest.$ac_objext
23072if { (ac_try="$ac_compile"
23073case "(($ac_try" in
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23076esac
23077eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23078$as_echo "$ac_try_echo") >&5
23079 (eval "$ac_compile") 2>conftest.er1
23080 ac_status=$?
23081 grep -v '^ *+' conftest.er1 >conftest.err
23082 rm -f conftest.er1
23083 cat conftest.err >&5
23084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && {
23086 test -z "$ac_c_werror_flag" ||
23087 test ! -s conftest.err
23088 } && test -s conftest.$ac_objext; then
23089 ac_header_compiler=yes
23090else
23091 $as_echo "$as_me: failed program was:" >&5
23092sed 's/^/| /' conftest.$ac_ext >&5
23093
23094 ac_header_compiler=no
23095fi
23096
23097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23099$as_echo "$ac_header_compiler" >&6; }
23100
23101# Is the header present?
23102{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23103$as_echo_n "checking $ac_header presence... " >&6; }
23104cat >conftest.$ac_ext <<_ACEOF
23105/* confdefs.h. */
23106_ACEOF
23107cat confdefs.h >>conftest.$ac_ext
23108cat >>conftest.$ac_ext <<_ACEOF
23109/* end confdefs.h. */
23110#include <$ac_header>
12615_ACEOF 23111_ACEOF
23112if { (ac_try="$ac_cpp conftest.$ac_ext"
23113case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23116esac
23117eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23118$as_echo "$ac_try_echo") >&5
23119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23120 ac_status=$?
23121 grep -v '^ *+' conftest.er1 >conftest.err
23122 rm -f conftest.er1
23123 cat conftest.err >&5
23124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } >/dev/null && {
23126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23127 test ! -s conftest.err
23128 }; then
23129 ac_header_preproc=yes
23130else
23131 $as_echo "$as_me: failed program was:" >&5
23132sed 's/^/| /' conftest.$ac_ext >&5
23133
23134 ac_header_preproc=no
23135fi
23136
23137rm -f conftest.err conftest.$ac_ext
23138{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23139$as_echo "$ac_header_preproc" >&6; }
23140
23141# So? What about this header?
23142case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23143 yes:no: )
23144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23145$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23147$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23148 ac_header_preproc=yes
23149 ;;
23150 no:yes:* )
23151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23152$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23154$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23156$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23158$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23160$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23162$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12616 23163
23164 ;;
23165esac
23166{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23167$as_echo_n "checking for $ac_header... " >&6; }
23168if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23169 $as_echo_n "(cached) " >&6
12617else 23170else
12618 for ac_header in kerberosIV/des.h 23171 eval "$as_ac_Header=\$ac_header_preproc"
12619do : 23172fi
12620 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" 23173ac_res=`eval 'as_val=${'$as_ac_Header'}
12621if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : 23174 $as_echo "$as_val"'`
23175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23176$as_echo "$ac_res" >&6; }
23177
23178fi
23179if test `eval 'as_val=${'$as_ac_Header'}
23180 $as_echo "$as_val"'` = yes; then
12622 cat >>confdefs.h <<_ACEOF 23181 cat >>confdefs.h <<_ACEOF
12623#define HAVE_KERBEROSIV_DES_H 1 23182#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23183_ACEOF
23184
23185else
23186
23187for ac_header in kerberos/des.h
23188do
23189as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23190if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23191 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23192$as_echo_n "checking for $ac_header... " >&6; }
23193if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23194 $as_echo_n "(cached) " >&6
23195fi
23196ac_res=`eval 'as_val=${'$as_ac_Header'}
23197 $as_echo "$as_val"'`
23198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23199$as_echo "$ac_res" >&6; }
23200else
23201 # Is the header compilable?
23202{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23203$as_echo_n "checking $ac_header usability... " >&6; }
23204cat >conftest.$ac_ext <<_ACEOF
23205/* confdefs.h. */
23206_ACEOF
23207cat confdefs.h >>conftest.$ac_ext
23208cat >>conftest.$ac_ext <<_ACEOF
23209/* end confdefs.h. */
23210$ac_includes_default
23211#include <$ac_header>
23212_ACEOF
23213rm -f conftest.$ac_objext
23214if { (ac_try="$ac_compile"
23215case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218esac
23219eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23220$as_echo "$ac_try_echo") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_c_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 ac_header_compiler=yes
23232else
23233 $as_echo "$as_me: failed program was:" >&5
23234sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 ac_header_compiler=no
23237fi
23238
23239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23241$as_echo "$ac_header_compiler" >&6; }
23242
23243# Is the header present?
23244{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23245$as_echo_n "checking $ac_header presence... " >&6; }
23246cat >conftest.$ac_ext <<_ACEOF
23247/* confdefs.h. */
23248_ACEOF
23249cat confdefs.h >>conftest.$ac_ext
23250cat >>conftest.$ac_ext <<_ACEOF
23251/* end confdefs.h. */
23252#include <$ac_header>
12624_ACEOF 23253_ACEOF
23254if { (ac_try="$ac_cpp conftest.$ac_ext"
23255case "(($ac_try" in
23256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23257 *) ac_try_echo=$ac_try;;
23258esac
23259eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23260$as_echo "$ac_try_echo") >&5
23261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23262 ac_status=$?
23263 grep -v '^ *+' conftest.er1 >conftest.err
23264 rm -f conftest.er1
23265 cat conftest.err >&5
23266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } >/dev/null && {
23268 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23269 test ! -s conftest.err
23270 }; then
23271 ac_header_preproc=yes
23272else
23273 $as_echo "$as_me: failed program was:" >&5
23274sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 ac_header_preproc=no
23277fi
23278
23279rm -f conftest.err conftest.$ac_ext
23280{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23281$as_echo "$ac_header_preproc" >&6; }
23282
23283# So? What about this header?
23284case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23285 yes:no: )
23286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23287$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23289$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23290 ac_header_preproc=yes
23291 ;;
23292 no:yes:* )
23293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23294$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23296$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23298$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23300$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23302$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23304$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12625 23305
23306 ;;
23307esac
23308{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23309$as_echo_n "checking for $ac_header... " >&6; }
23310if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23311 $as_echo_n "(cached) " >&6
12626else 23312else
12627 for ac_header in kerberos/des.h 23313 eval "$as_ac_Header=\$ac_header_preproc"
12628do : 23314fi
12629 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" 23315ac_res=`eval 'as_val=${'$as_ac_Header'}
12630if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : 23316 $as_echo "$as_val"'`
23317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23318$as_echo "$ac_res" >&6; }
23319
23320fi
23321if test `eval 'as_val=${'$as_ac_Header'}
23322 $as_echo "$as_val"'` = yes; then
12631 cat >>confdefs.h <<_ACEOF 23323 cat >>confdefs.h <<_ACEOF
12632#define HAVE_KERBEROS_DES_H 1 23324#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12633_ACEOF 23325_ACEOF
12634 23326
12635fi 23327fi
@@ -12644,30 +23336,429 @@ fi
12644 23336
12645done 23337done
12646 23338
12647 for ac_header in krb.h 23339
12648do : 23340for ac_header in krb.h
12649 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" 23341do
12650if test "x$ac_cv_header_krb_h" = x""yes; then : 23342as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23343if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23344 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23345$as_echo_n "checking for $ac_header... " >&6; }
23346if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23347 $as_echo_n "(cached) " >&6
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; }
23353else
23354 # Is the header compilable?
23355{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23356$as_echo_n "checking $ac_header usability... " >&6; }
23357cat >conftest.$ac_ext <<_ACEOF
23358/* confdefs.h. */
23359_ACEOF
23360cat confdefs.h >>conftest.$ac_ext
23361cat >>conftest.$ac_ext <<_ACEOF
23362/* end confdefs.h. */
23363$ac_includes_default
23364#include <$ac_header>
23365_ACEOF
23366rm -f conftest.$ac_objext
23367if { (ac_try="$ac_compile"
23368case "(($ac_try" in
23369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23370 *) ac_try_echo=$ac_try;;
23371esac
23372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23373$as_echo "$ac_try_echo") >&5
23374 (eval "$ac_compile") 2>conftest.er1
23375 ac_status=$?
23376 grep -v '^ *+' conftest.er1 >conftest.err
23377 rm -f conftest.er1
23378 cat conftest.err >&5
23379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); } && {
23381 test -z "$ac_c_werror_flag" ||
23382 test ! -s conftest.err
23383 } && test -s conftest.$ac_objext; then
23384 ac_header_compiler=yes
23385else
23386 $as_echo "$as_me: failed program was:" >&5
23387sed 's/^/| /' conftest.$ac_ext >&5
23388
23389 ac_header_compiler=no
23390fi
23391
23392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23393{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23394$as_echo "$ac_header_compiler" >&6; }
23395
23396# Is the header present?
23397{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23398$as_echo_n "checking $ac_header presence... " >&6; }
23399cat >conftest.$ac_ext <<_ACEOF
23400/* confdefs.h. */
23401_ACEOF
23402cat confdefs.h >>conftest.$ac_ext
23403cat >>conftest.$ac_ext <<_ACEOF
23404/* end confdefs.h. */
23405#include <$ac_header>
23406_ACEOF
23407if { (ac_try="$ac_cpp conftest.$ac_ext"
23408case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23410 *) ac_try_echo=$ac_try;;
23411esac
23412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23413$as_echo "$ac_try_echo") >&5
23414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } >/dev/null && {
23421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23422 test ! -s conftest.err
23423 }; then
23424 ac_header_preproc=yes
23425else
23426 $as_echo "$as_me: failed program was:" >&5
23427sed 's/^/| /' conftest.$ac_ext >&5
23428
23429 ac_header_preproc=no
23430fi
23431
23432rm -f conftest.err conftest.$ac_ext
23433{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23434$as_echo "$ac_header_preproc" >&6; }
23435
23436# So? What about this header?
23437case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23438 yes:no: )
23439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23440$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23442$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23443 ac_header_preproc=yes
23444 ;;
23445 no:yes:* )
23446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23447$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23449$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23451$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23453$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23455$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23457$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23458
23459 ;;
23460esac
23461{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23462$as_echo_n "checking for $ac_header... " >&6; }
23463if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23464 $as_echo_n "(cached) " >&6
23465else
23466 eval "$as_ac_Header=\$ac_header_preproc"
23467fi
23468ac_res=`eval 'as_val=${'$as_ac_Header'}
23469 $as_echo "$as_val"'`
23470 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23471$as_echo "$ac_res" >&6; }
23472
23473fi
23474if test `eval 'as_val=${'$as_ac_Header'}
23475 $as_echo "$as_val"'` = yes; then
12651 cat >>confdefs.h <<_ACEOF 23476 cat >>confdefs.h <<_ACEOF
12652#define HAVE_KRB_H 1 23477#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23478_ACEOF
23479
23480else
23481
23482for ac_header in kerberosIV/krb.h
23483do
23484as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23485if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23486 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23487$as_echo_n "checking for $ac_header... " >&6; }
23488if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23489 $as_echo_n "(cached) " >&6
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; }
23495else
23496 # Is the header compilable?
23497{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23498$as_echo_n "checking $ac_header usability... " >&6; }
23499cat >conftest.$ac_ext <<_ACEOF
23500/* confdefs.h. */
23501_ACEOF
23502cat confdefs.h >>conftest.$ac_ext
23503cat >>conftest.$ac_ext <<_ACEOF
23504/* end confdefs.h. */
23505$ac_includes_default
23506#include <$ac_header>
23507_ACEOF
23508rm -f conftest.$ac_objext
23509if { (ac_try="$ac_compile"
23510case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23513esac
23514eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23515$as_echo "$ac_try_echo") >&5
23516 (eval "$ac_compile") 2>conftest.er1
23517 ac_status=$?
23518 grep -v '^ *+' conftest.er1 >conftest.err
23519 rm -f conftest.er1
23520 cat conftest.err >&5
23521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && {
23523 test -z "$ac_c_werror_flag" ||
23524 test ! -s conftest.err
23525 } && test -s conftest.$ac_objext; then
23526 ac_header_compiler=yes
23527else
23528 $as_echo "$as_me: failed program was:" >&5
23529sed 's/^/| /' conftest.$ac_ext >&5
23530
23531 ac_header_compiler=no
23532fi
23533
23534rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23536$as_echo "$ac_header_compiler" >&6; }
23537
23538# Is the header present?
23539{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23540$as_echo_n "checking $ac_header presence... " >&6; }
23541cat >conftest.$ac_ext <<_ACEOF
23542/* confdefs.h. */
23543_ACEOF
23544cat confdefs.h >>conftest.$ac_ext
23545cat >>conftest.$ac_ext <<_ACEOF
23546/* end confdefs.h. */
23547#include <$ac_header>
12653_ACEOF 23548_ACEOF
23549if { (ac_try="$ac_cpp conftest.$ac_ext"
23550case "(($ac_try" in
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23552 *) ac_try_echo=$ac_try;;
23553esac
23554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23555$as_echo "$ac_try_echo") >&5
23556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } >/dev/null && {
23563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23564 test ! -s conftest.err
23565 }; then
23566 ac_header_preproc=yes
23567else
23568 $as_echo "$as_me: failed program was:" >&5
23569sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 ac_header_preproc=no
23572fi
12654 23573
23574rm -f conftest.err conftest.$ac_ext
23575{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23576$as_echo "$ac_header_preproc" >&6; }
23577
23578# So? What about this header?
23579case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23580 yes:no: )
23581 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23582$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23583 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23584$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23585 ac_header_preproc=yes
23586 ;;
23587 no:yes:* )
23588 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23589$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23590 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23591$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23592 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23593$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23595$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23597$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23599$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23600
23601 ;;
23602esac
23603{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23604$as_echo_n "checking for $ac_header... " >&6; }
23605if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23606 $as_echo_n "(cached) " >&6
12655else 23607else
12656 for ac_header in kerberosIV/krb.h 23608 eval "$as_ac_Header=\$ac_header_preproc"
12657do : 23609fi
12658 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" 23610ac_res=`eval 'as_val=${'$as_ac_Header'}
12659if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : 23611 $as_echo "$as_val"'`
23612 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23613$as_echo "$ac_res" >&6; }
23614
23615fi
23616if test `eval 'as_val=${'$as_ac_Header'}
23617 $as_echo "$as_val"'` = yes; then
12660 cat >>confdefs.h <<_ACEOF 23618 cat >>confdefs.h <<_ACEOF
12661#define HAVE_KERBEROSIV_KRB_H 1 23619#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12662_ACEOF 23620_ACEOF
12663 23621
12664else 23622else
12665 for ac_header in kerberos/krb.h 23623
12666do : 23624for ac_header in kerberos/krb.h
12667 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" 23625do
12668if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : 23626as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23627if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23628 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23629$as_echo_n "checking for $ac_header... " >&6; }
23630if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23631 $as_echo_n "(cached) " >&6
23632fi
23633ac_res=`eval 'as_val=${'$as_ac_Header'}
23634 $as_echo "$as_val"'`
23635 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23636$as_echo "$ac_res" >&6; }
23637else
23638 # Is the header compilable?
23639{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23640$as_echo_n "checking $ac_header usability... " >&6; }
23641cat >conftest.$ac_ext <<_ACEOF
23642/* confdefs.h. */
23643_ACEOF
23644cat confdefs.h >>conftest.$ac_ext
23645cat >>conftest.$ac_ext <<_ACEOF
23646/* end confdefs.h. */
23647$ac_includes_default
23648#include <$ac_header>
23649_ACEOF
23650rm -f conftest.$ac_objext
23651if { (ac_try="$ac_compile"
23652case "(($ac_try" in
23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23654 *) ac_try_echo=$ac_try;;
23655esac
23656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23657$as_echo "$ac_try_echo") >&5
23658 (eval "$ac_compile") 2>conftest.er1
23659 ac_status=$?
23660 grep -v '^ *+' conftest.er1 >conftest.err
23661 rm -f conftest.er1
23662 cat conftest.err >&5
23663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } && {
23665 test -z "$ac_c_werror_flag" ||
23666 test ! -s conftest.err
23667 } && test -s conftest.$ac_objext; then
23668 ac_header_compiler=yes
23669else
23670 $as_echo "$as_me: failed program was:" >&5
23671sed 's/^/| /' conftest.$ac_ext >&5
23672
23673 ac_header_compiler=no
23674fi
23675
23676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23678$as_echo "$ac_header_compiler" >&6; }
23679
23680# Is the header present?
23681{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23682$as_echo_n "checking $ac_header presence... " >&6; }
23683cat >conftest.$ac_ext <<_ACEOF
23684/* confdefs.h. */
23685_ACEOF
23686cat confdefs.h >>conftest.$ac_ext
23687cat >>conftest.$ac_ext <<_ACEOF
23688/* end confdefs.h. */
23689#include <$ac_header>
23690_ACEOF
23691if { (ac_try="$ac_cpp conftest.$ac_ext"
23692case "(($ac_try" in
23693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23694 *) ac_try_echo=$ac_try;;
23695esac
23696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23697$as_echo "$ac_try_echo") >&5
23698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23699 ac_status=$?
23700 grep -v '^ *+' conftest.er1 >conftest.err
23701 rm -f conftest.er1
23702 cat conftest.err >&5
23703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } >/dev/null && {
23705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23706 test ! -s conftest.err
23707 }; then
23708 ac_header_preproc=yes
23709else
23710 $as_echo "$as_me: failed program was:" >&5
23711sed 's/^/| /' conftest.$ac_ext >&5
23712
23713 ac_header_preproc=no
23714fi
23715
23716rm -f conftest.err conftest.$ac_ext
23717{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23718$as_echo "$ac_header_preproc" >&6; }
23719
23720# So? What about this header?
23721case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23722 yes:no: )
23723 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23724$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23725 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23726$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23727 ac_header_preproc=yes
23728 ;;
23729 no:yes:* )
23730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23731$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23732 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23733$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23734 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23735$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23736 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23737$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23739$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23741$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23742
23743 ;;
23744esac
23745{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23746$as_echo_n "checking for $ac_header... " >&6; }
23747if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23748 $as_echo_n "(cached) " >&6
23749else
23750 eval "$as_ac_Header=\$ac_header_preproc"
23751fi
23752ac_res=`eval 'as_val=${'$as_ac_Header'}
23753 $as_echo "$as_val"'`
23754 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23755$as_echo "$ac_res" >&6; }
23756
23757fi
23758if test `eval 'as_val=${'$as_ac_Header'}
23759 $as_echo "$as_val"'` = yes; then
12669 cat >>confdefs.h <<_ACEOF 23760 cat >>confdefs.h <<_ACEOF
12670#define HAVE_KERBEROS_KRB_H 1 23761#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12671_ACEOF 23762_ACEOF
12672 23763
12673fi 23764fi
@@ -12683,12 +23774,145 @@ fi
12683done 23774done
12684 23775
12685 fi 23776 fi
12686 for ac_header in com_err.h 23777
12687do : 23778for ac_header in com_err.h
12688 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" 23779do
12689if test "x$ac_cv_header_com_err_h" = x""yes; then : 23780as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23781if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23782 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23783$as_echo_n "checking for $ac_header... " >&6; }
23784if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23785 $as_echo_n "(cached) " >&6
23786fi
23787ac_res=`eval 'as_val=${'$as_ac_Header'}
23788 $as_echo "$as_val"'`
23789 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23790$as_echo "$ac_res" >&6; }
23791else
23792 # Is the header compilable?
23793{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23794$as_echo_n "checking $ac_header usability... " >&6; }
23795cat >conftest.$ac_ext <<_ACEOF
23796/* confdefs.h. */
23797_ACEOF
23798cat confdefs.h >>conftest.$ac_ext
23799cat >>conftest.$ac_ext <<_ACEOF
23800/* end confdefs.h. */
23801$ac_includes_default
23802#include <$ac_header>
23803_ACEOF
23804rm -f conftest.$ac_objext
23805if { (ac_try="$ac_compile"
23806case "(($ac_try" in
23807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23808 *) ac_try_echo=$ac_try;;
23809esac
23810eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23811$as_echo "$ac_try_echo") >&5
23812 (eval "$ac_compile") 2>conftest.er1
23813 ac_status=$?
23814 grep -v '^ *+' conftest.er1 >conftest.err
23815 rm -f conftest.er1
23816 cat conftest.err >&5
23817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } && {
23819 test -z "$ac_c_werror_flag" ||
23820 test ! -s conftest.err
23821 } && test -s conftest.$ac_objext; then
23822 ac_header_compiler=yes
23823else
23824 $as_echo "$as_me: failed program was:" >&5
23825sed 's/^/| /' conftest.$ac_ext >&5
23826
23827 ac_header_compiler=no
23828fi
23829
23830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23831{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23832$as_echo "$ac_header_compiler" >&6; }
23833
23834# Is the header present?
23835{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23836$as_echo_n "checking $ac_header presence... " >&6; }
23837cat >conftest.$ac_ext <<_ACEOF
23838/* confdefs.h. */
23839_ACEOF
23840cat confdefs.h >>conftest.$ac_ext
23841cat >>conftest.$ac_ext <<_ACEOF
23842/* end confdefs.h. */
23843#include <$ac_header>
23844_ACEOF
23845if { (ac_try="$ac_cpp conftest.$ac_ext"
23846case "(($ac_try" in
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23848 *) ac_try_echo=$ac_try;;
23849esac
23850eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23851$as_echo "$ac_try_echo") >&5
23852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23853 ac_status=$?
23854 grep -v '^ *+' conftest.er1 >conftest.err
23855 rm -f conftest.er1
23856 cat conftest.err >&5
23857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } >/dev/null && {
23859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23860 test ! -s conftest.err
23861 }; then
23862 ac_header_preproc=yes
23863else
23864 $as_echo "$as_me: failed program was:" >&5
23865sed 's/^/| /' conftest.$ac_ext >&5
23866
23867 ac_header_preproc=no
23868fi
23869
23870rm -f conftest.err conftest.$ac_ext
23871{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23872$as_echo "$ac_header_preproc" >&6; }
23873
23874# So? What about this header?
23875case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23876 yes:no: )
23877 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23878$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23879 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23880$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23881 ac_header_preproc=yes
23882 ;;
23883 no:yes:* )
23884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23885$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23887$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23889$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23891$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23893$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23895$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23896
23897 ;;
23898esac
23899{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23900$as_echo_n "checking for $ac_header... " >&6; }
23901if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23902 $as_echo_n "(cached) " >&6
23903else
23904 eval "$as_ac_Header=\$ac_header_preproc"
23905fi
23906ac_res=`eval 'as_val=${'$as_ac_Header'}
23907 $as_echo "$as_val"'`
23908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23909$as_echo "$ac_res" >&6; }
23910
23911fi
23912if test `eval 'as_val=${'$as_ac_Header'}
23913 $as_echo "$as_val"'` = yes; then
12690 cat >>confdefs.h <<_ACEOF 23914 cat >>confdefs.h <<_ACEOF
12691#define HAVE_COM_ERR_H 1 23915#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12692_ACEOF 23916_ACEOF
12693 23917
12694fi 23918fi
@@ -12705,14 +23929,19 @@ fi
12705 23929
12706# Solaris requires -lintl if you want strerror (which calls dgettext) 23930# Solaris requires -lintl if you want strerror (which calls dgettext)
12707# to return localized messages. 23931# to return localized messages.
12708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 23932
23933{ $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
12709$as_echo_n "checking for dgettext in -lintl... " >&6; } 23934$as_echo_n "checking for dgettext in -lintl... " >&6; }
12710if test "${ac_cv_lib_intl_dgettext+set}" = set; then : 23935if test "${ac_cv_lib_intl_dgettext+set}" = set; then
12711 $as_echo_n "(cached) " >&6 23936 $as_echo_n "(cached) " >&6
12712else 23937else
12713 ac_check_lib_save_LIBS=$LIBS 23938 ac_check_lib_save_LIBS=$LIBS
12714LIBS="-lintl $LIBS" 23939LIBS="-lintl $LIBS"
12715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23940cat >conftest.$ac_ext <<_ACEOF
23941/* confdefs.h. */
23942_ACEOF
23943cat confdefs.h >>conftest.$ac_ext
23944cat >>conftest.$ac_ext <<_ACEOF
12716/* end confdefs.h. */ 23945/* end confdefs.h. */
12717 23946
12718/* Override any GCC internal prototype to avoid an error. 23947/* Override any GCC internal prototype to avoid an error.
@@ -12730,18 +23959,43 @@ return dgettext ();
12730 return 0; 23959 return 0;
12731} 23960}
12732_ACEOF 23961_ACEOF
12733if ac_fn_c_try_link "$LINENO"; then : 23962rm -f conftest.$ac_objext conftest$ac_exeext
23963if { (ac_try="$ac_link"
23964case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23967esac
23968eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23969$as_echo "$ac_try_echo") >&5
23970 (eval "$ac_link") 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } && {
23977 test -z "$ac_c_werror_flag" ||
23978 test ! -s conftest.err
23979 } && test -s conftest$ac_exeext && {
23980 test "$cross_compiling" = yes ||
23981 $as_test_x conftest$ac_exeext
23982 }; then
12734 ac_cv_lib_intl_dgettext=yes 23983 ac_cv_lib_intl_dgettext=yes
12735else 23984else
12736 ac_cv_lib_intl_dgettext=no 23985 $as_echo "$as_me: failed program was:" >&5
23986sed 's/^/| /' conftest.$ac_ext >&5
23987
23988 ac_cv_lib_intl_dgettext=no
12737fi 23989fi
12738rm -f core conftest.err conftest.$ac_objext \ 23990
12739 conftest$ac_exeext conftest.$ac_ext 23991rm -rf conftest.dSYM
23992rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23993 conftest$ac_exeext conftest.$ac_ext
12740LIBS=$ac_check_lib_save_LIBS 23994LIBS=$ac_check_lib_save_LIBS
12741fi 23995fi
12742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 23996{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
12743$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 23997$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12744if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : 23998if test $ac_cv_lib_intl_dgettext = yes; then
12745 cat >>confdefs.h <<_ACEOF 23999 cat >>confdefs.h <<_ACEOF
12746#define HAVE_LIBINTL 1 24000#define HAVE_LIBINTL 1
12747_ACEOF 24001_ACEOF
@@ -12751,17 +24005,21 @@ _ACEOF
12751fi 24005fi
12752 24006
12753 24007
12754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 24008{ $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
12755$as_echo_n "checking whether localtime caches TZ... " >&6; } 24009$as_echo_n "checking whether localtime caches TZ... " >&6; }
12756if test "${emacs_cv_localtime_cache+set}" = set; then : 24010if test "${emacs_cv_localtime_cache+set}" = set; then
12757 $as_echo_n "(cached) " >&6 24011 $as_echo_n "(cached) " >&6
12758else 24012else
12759 if test x$ac_cv_func_tzset = xyes; then 24013 if test x$ac_cv_func_tzset = xyes; then
12760if test "$cross_compiling" = yes; then : 24014if test "$cross_compiling" = yes; then
12761 # If we have tzset, assume the worst when cross-compiling. 24015 # If we have tzset, assume the worst when cross-compiling.
12762emacs_cv_localtime_cache=yes 24016emacs_cv_localtime_cache=yes
12763else 24017else
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24018 cat >conftest.$ac_ext <<_ACEOF
24019/* confdefs.h. */
24020_ACEOF
24021cat confdefs.h >>conftest.$ac_ext
24022cat >>conftest.$ac_ext <<_ACEOF
12765/* end confdefs.h. */ 24023/* end confdefs.h. */
12766#include <time.h> 24024#include <time.h>
12767extern char **environ; 24025extern char **environ;
@@ -12793,48 +24051,170 @@ main()
12793 exit (0); 24051 exit (0);
12794} 24052}
12795_ACEOF 24053_ACEOF
12796if ac_fn_c_try_run "$LINENO"; then : 24054rm -f conftest$ac_exeext
24055if { (ac_try="$ac_link"
24056case "(($ac_try" in
24057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24058 *) ac_try_echo=$ac_try;;
24059esac
24060eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24061$as_echo "$ac_try_echo") >&5
24062 (eval "$ac_link") 2>&5
24063 ac_status=$?
24064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24066 { (case "(($ac_try" in
24067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24068 *) ac_try_echo=$ac_try;;
24069esac
24070eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24071$as_echo "$ac_try_echo") >&5
24072 (eval "$ac_try") 2>&5
24073 ac_status=$?
24074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; }; then
12797 emacs_cv_localtime_cache=no 24076 emacs_cv_localtime_cache=no
12798else 24077else
12799 emacs_cv_localtime_cache=yes 24078 $as_echo "$as_me: program exited with status $ac_status" >&5
24079$as_echo "$as_me: failed program was:" >&5
24080sed 's/^/| /' conftest.$ac_ext >&5
24081
24082( exit $ac_status )
24083emacs_cv_localtime_cache=yes
12800fi 24084fi
12801rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 24085rm -rf conftest.dSYM
12802 conftest.$ac_objext conftest.beam conftest.$ac_ext 24086rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12803fi 24087fi
12804 24088
24089
12805else 24090else
12806 # If we lack tzset, report that localtime does not cache TZ, 24091 # If we lack tzset, report that localtime does not cache TZ,
12807 # since we can't invalidate the cache if we don't have tzset. 24092 # since we can't invalidate the cache if we don't have tzset.
12808 emacs_cv_localtime_cache=no 24093 emacs_cv_localtime_cache=no
12809fi 24094fi
12810fi 24095fi
12811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 24096{ $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
12812$as_echo "$emacs_cv_localtime_cache" >&6; } 24097$as_echo "$emacs_cv_localtime_cache" >&6; }
12813if test $emacs_cv_localtime_cache = yes; then 24098if test $emacs_cv_localtime_cache = yes; then
12814 24099
12815$as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h 24100cat >>confdefs.h <<\_ACEOF
24101#define LOCALTIME_CACHE 1
24102_ACEOF
12816 24103
12817fi 24104fi
12818 24105
12819if test "x$HAVE_TIMEVAL" = xyes; then 24106if test "x$HAVE_TIMEVAL" = xyes; then
12820 for ac_func in gettimeofday 24107
12821do : 24108for ac_func in gettimeofday
12822 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 24109do
12823if test "x$ac_cv_func_gettimeofday" = x""yes; then : 24110as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24111{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24112$as_echo_n "checking for $ac_func... " >&6; }
24113if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24114 $as_echo_n "(cached) " >&6
24115else
24116 cat >conftest.$ac_ext <<_ACEOF
24117/* confdefs.h. */
24118_ACEOF
24119cat confdefs.h >>conftest.$ac_ext
24120cat >>conftest.$ac_ext <<_ACEOF
24121/* end confdefs.h. */
24122/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24124#define $ac_func innocuous_$ac_func
24125
24126/* System header to define __stub macros and hopefully few prototypes,
24127 which can conflict with char $ac_func (); below.
24128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24129 <limits.h> exists even on freestanding compilers. */
24130
24131#ifdef __STDC__
24132# include <limits.h>
24133#else
24134# include <assert.h>
24135#endif
24136
24137#undef $ac_func
24138
24139/* Override any GCC internal prototype to avoid an error.
24140 Use char because int might match the return type of a GCC
24141 builtin and then its argument prototype would still apply. */
24142#ifdef __cplusplus
24143extern "C"
24144#endif
24145char $ac_func ();
24146/* The GNU C library defines this for functions which it implements
24147 to always fail with ENOSYS. Some functions are actually named
24148 something starting with __ and the normal name is an alias. */
24149#if defined __stub_$ac_func || defined __stub___$ac_func
24150choke me
24151#endif
24152
24153int
24154main ()
24155{
24156return $ac_func ();
24157 ;
24158 return 0;
24159}
24160_ACEOF
24161rm -f conftest.$ac_objext conftest$ac_exeext
24162if { (ac_try="$ac_link"
24163case "(($ac_try" in
24164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24165 *) ac_try_echo=$ac_try;;
24166esac
24167eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24168$as_echo "$ac_try_echo") >&5
24169 (eval "$ac_link") 2>conftest.er1
24170 ac_status=$?
24171 grep -v '^ *+' conftest.er1 >conftest.err
24172 rm -f conftest.er1
24173 cat conftest.err >&5
24174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); } && {
24176 test -z "$ac_c_werror_flag" ||
24177 test ! -s conftest.err
24178 } && test -s conftest$ac_exeext && {
24179 test "$cross_compiling" = yes ||
24180 $as_test_x conftest$ac_exeext
24181 }; then
24182 eval "$as_ac_var=yes"
24183else
24184 $as_echo "$as_me: failed program was:" >&5
24185sed 's/^/| /' conftest.$ac_ext >&5
24186
24187 eval "$as_ac_var=no"
24188fi
24189
24190rm -rf conftest.dSYM
24191rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24192 conftest$ac_exeext conftest.$ac_ext
24193fi
24194ac_res=`eval 'as_val=${'$as_ac_var'}
24195 $as_echo "$as_val"'`
24196 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24197$as_echo "$ac_res" >&6; }
24198if test `eval 'as_val=${'$as_ac_var'}
24199 $as_echo "$as_val"'` = yes; then
12824 cat >>confdefs.h <<_ACEOF 24200 cat >>confdefs.h <<_ACEOF
12825#define HAVE_GETTIMEOFDAY 1 24201#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12826_ACEOF 24202_ACEOF
12827 24203
12828fi 24204fi
12829done 24205done
12830 24206
12831 if test $ac_cv_func_gettimeofday = yes; then 24207 if test $ac_cv_func_gettimeofday = yes; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 24208 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
12833$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 24209$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
12834if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : 24210if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
12835 $as_echo_n "(cached) " >&6 24211 $as_echo_n "(cached) " >&6
12836else 24212else
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24213 cat >conftest.$ac_ext <<_ACEOF
24214/* confdefs.h. */
24215_ACEOF
24216cat confdefs.h >>conftest.$ac_ext
24217cat >>conftest.$ac_ext <<_ACEOF
12838/* end confdefs.h. */ 24218/* end confdefs.h. */
12839 24219
12840#ifdef TIME_WITH_SYS_TIME 24220#ifdef TIME_WITH_SYS_TIME
@@ -12856,35 +24236,268 @@ struct timeval time;
12856 return 0; 24236 return 0;
12857} 24237}
12858_ACEOF 24238_ACEOF
12859if ac_fn_c_try_compile "$LINENO"; then : 24239rm -f conftest.$ac_objext
24240if { (ac_try="$ac_compile"
24241case "(($ac_try" in
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24244esac
24245eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24246$as_echo "$ac_try_echo") >&5
24247 (eval "$ac_compile") 2>conftest.er1
24248 ac_status=$?
24249 grep -v '^ *+' conftest.er1 >conftest.err
24250 rm -f conftest.er1
24251 cat conftest.err >&5
24252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } && {
24254 test -z "$ac_c_werror_flag" ||
24255 test ! -s conftest.err
24256 } && test -s conftest.$ac_objext; then
12860 emacs_cv_gettimeofday_two_arguments=yes 24257 emacs_cv_gettimeofday_two_arguments=yes
12861else 24258else
12862 emacs_cv_gettimeofday_two_arguments=no 24259 $as_echo "$as_me: failed program was:" >&5
24260sed 's/^/| /' conftest.$ac_ext >&5
24261
24262 emacs_cv_gettimeofday_two_arguments=no
12863fi 24263fi
24264
12864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12865fi 24266fi
12866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 24267{ $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
12867$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } 24268$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; }
12868 if test $emacs_cv_gettimeofday_two_arguments = no; then 24269 if test $emacs_cv_gettimeofday_two_arguments = no; then
12869 24270
12870$as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h 24271cat >>confdefs.h <<\_ACEOF
24272#define GETTIMEOFDAY_ONE_ARGUMENT 1
24273_ACEOF
12871 24274
12872 fi 24275 fi
12873 fi 24276 fi
12874fi 24277fi
12875 24278
12876ok_so_far=yes 24279ok_so_far=yes
12877ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 24280{ $as_echo "$as_me:$LINENO: checking for socket" >&5
12878if test "x$ac_cv_func_socket" = x""yes; then : 24281$as_echo_n "checking for socket... " >&6; }
24282if test "${ac_cv_func_socket+set}" = set; then
24283 $as_echo_n "(cached) " >&6
24284else
24285 cat >conftest.$ac_ext <<_ACEOF
24286/* confdefs.h. */
24287_ACEOF
24288cat confdefs.h >>conftest.$ac_ext
24289cat >>conftest.$ac_ext <<_ACEOF
24290/* end confdefs.h. */
24291/* Define socket to an innocuous variant, in case <limits.h> declares socket.
24292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24293#define socket innocuous_socket
24294
24295/* System header to define __stub macros and hopefully few prototypes,
24296 which can conflict with char socket (); below.
24297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24298 <limits.h> exists even on freestanding compilers. */
24299
24300#ifdef __STDC__
24301# include <limits.h>
24302#else
24303# include <assert.h>
24304#endif
24305
24306#undef socket
24307
24308/* Override any GCC internal prototype to avoid an error.
24309 Use char because int might match the return type of a GCC
24310 builtin and then its argument prototype would still apply. */
24311#ifdef __cplusplus
24312extern "C"
24313#endif
24314char socket ();
24315/* The GNU C library defines this for functions which it implements
24316 to always fail with ENOSYS. Some functions are actually named
24317 something starting with __ and the normal name is an alias. */
24318#if defined __stub_socket || defined __stub___socket
24319choke me
24320#endif
24321
24322int
24323main ()
24324{
24325return socket ();
24326 ;
24327 return 0;
24328}
24329_ACEOF
24330rm -f conftest.$ac_objext conftest$ac_exeext
24331if { (ac_try="$ac_link"
24332case "(($ac_try" in
24333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24334 *) ac_try_echo=$ac_try;;
24335esac
24336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24337$as_echo "$ac_try_echo") >&5
24338 (eval "$ac_link") 2>conftest.er1
24339 ac_status=$?
24340 grep -v '^ *+' conftest.er1 >conftest.err
24341 rm -f conftest.er1
24342 cat conftest.err >&5
24343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); } && {
24345 test -z "$ac_c_werror_flag" ||
24346 test ! -s conftest.err
24347 } && test -s conftest$ac_exeext && {
24348 test "$cross_compiling" = yes ||
24349 $as_test_x conftest$ac_exeext
24350 }; then
24351 ac_cv_func_socket=yes
24352else
24353 $as_echo "$as_me: failed program was:" >&5
24354sed 's/^/| /' conftest.$ac_ext >&5
24355
24356 ac_cv_func_socket=no
24357fi
12879 24358
24359rm -rf conftest.dSYM
24360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24361 conftest$ac_exeext conftest.$ac_ext
24362fi
24363{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
24364$as_echo "$ac_cv_func_socket" >&6; }
24365if test $ac_cv_func_socket = yes; then
24366 :
12880else 24367else
12881 ok_so_far=no 24368 ok_so_far=no
12882fi 24369fi
12883 24370
12884if test $ok_so_far = yes; then 24371if test $ok_so_far = yes; then
12885 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 24372 if test "${ac_cv_header_netinet_in_h+set}" = set; then
12886if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 24373 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
24374$as_echo_n "checking for netinet/in.h... " >&6; }
24375if test "${ac_cv_header_netinet_in_h+set}" = set; then
24376 $as_echo_n "(cached) " >&6
24377fi
24378{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24379$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24380else
24381 # Is the header compilable?
24382{ $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
24383$as_echo_n "checking netinet/in.h usability... " >&6; }
24384cat >conftest.$ac_ext <<_ACEOF
24385/* confdefs.h. */
24386_ACEOF
24387cat confdefs.h >>conftest.$ac_ext
24388cat >>conftest.$ac_ext <<_ACEOF
24389/* end confdefs.h. */
24390$ac_includes_default
24391#include <netinet/in.h>
24392_ACEOF
24393rm -f conftest.$ac_objext
24394if { (ac_try="$ac_compile"
24395case "(($ac_try" in
24396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24397 *) ac_try_echo=$ac_try;;
24398esac
24399eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24400$as_echo "$ac_try_echo") >&5
24401 (eval "$ac_compile") 2>conftest.er1
24402 ac_status=$?
24403 grep -v '^ *+' conftest.er1 >conftest.err
24404 rm -f conftest.er1
24405 cat conftest.err >&5
24406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); } && {
24408 test -z "$ac_c_werror_flag" ||
24409 test ! -s conftest.err
24410 } && test -s conftest.$ac_objext; then
24411 ac_header_compiler=yes
24412else
24413 $as_echo "$as_me: failed program was:" >&5
24414sed 's/^/| /' conftest.$ac_ext >&5
24415
24416 ac_header_compiler=no
24417fi
24418
24419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24421$as_echo "$ac_header_compiler" >&6; }
24422
24423# Is the header present?
24424{ $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
24425$as_echo_n "checking netinet/in.h presence... " >&6; }
24426cat >conftest.$ac_ext <<_ACEOF
24427/* confdefs.h. */
24428_ACEOF
24429cat confdefs.h >>conftest.$ac_ext
24430cat >>conftest.$ac_ext <<_ACEOF
24431/* end confdefs.h. */
24432#include <netinet/in.h>
24433_ACEOF
24434if { (ac_try="$ac_cpp conftest.$ac_ext"
24435case "(($ac_try" in
24436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24437 *) ac_try_echo=$ac_try;;
24438esac
24439eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24440$as_echo "$ac_try_echo") >&5
24441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24442 ac_status=$?
24443 grep -v '^ *+' conftest.er1 >conftest.err
24444 rm -f conftest.er1
24445 cat conftest.err >&5
24446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); } >/dev/null && {
24448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24449 test ! -s conftest.err
24450 }; then
24451 ac_header_preproc=yes
24452else
24453 $as_echo "$as_me: failed program was:" >&5
24454sed 's/^/| /' conftest.$ac_ext >&5
24455
24456 ac_header_preproc=no
24457fi
24458
24459rm -f conftest.err conftest.$ac_ext
24460{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24461$as_echo "$ac_header_preproc" >&6; }
24462
24463# So? What about this header?
24464case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24465 yes:no: )
24466 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
24467$as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24468 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
24469$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
24470 ac_header_preproc=yes
24471 ;;
24472 no:yes:* )
24473 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
24474$as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
24475 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
24476$as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
24477 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
24478$as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
24479 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
24480$as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
24481 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
24482$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
24483 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
24484$as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
24485
24486 ;;
24487esac
24488{ $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
24489$as_echo_n "checking for netinet/in.h... " >&6; }
24490if test "${ac_cv_header_netinet_in_h+set}" = set; then
24491 $as_echo_n "(cached) " >&6
24492else
24493 ac_cv_header_netinet_in_h=$ac_header_preproc
24494fi
24495{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24496$as_echo "$ac_cv_header_netinet_in_h" >&6; }
12887 24497
24498fi
24499if test $ac_cv_header_netinet_in_h = yes; then
24500 :
12888else 24501else
12889 ok_so_far=no 24502 ok_so_far=no
12890fi 24503fi
@@ -12892,9 +24505,135 @@ fi
12892 24505
12893fi 24506fi
12894if test $ok_so_far = yes; then 24507if test $ok_so_far = yes; then
12895 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 24508 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12896if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 24509 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
24510$as_echo_n "checking for arpa/inet.h... " >&6; }
24511if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24512 $as_echo_n "(cached) " >&6
24513fi
24514{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24515$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
24516else
24517 # Is the header compilable?
24518{ $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
24519$as_echo_n "checking arpa/inet.h usability... " >&6; }
24520cat >conftest.$ac_ext <<_ACEOF
24521/* confdefs.h. */
24522_ACEOF
24523cat confdefs.h >>conftest.$ac_ext
24524cat >>conftest.$ac_ext <<_ACEOF
24525/* end confdefs.h. */
24526$ac_includes_default
24527#include <arpa/inet.h>
24528_ACEOF
24529rm -f conftest.$ac_objext
24530if { (ac_try="$ac_compile"
24531case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534esac
24535eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24536$as_echo "$ac_try_echo") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_header_compiler=yes
24548else
24549 $as_echo "$as_me: failed program was:" >&5
24550sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 ac_header_compiler=no
24553fi
24554
24555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24556{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24557$as_echo "$ac_header_compiler" >&6; }
24558
24559# Is the header present?
24560{ $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
24561$as_echo_n "checking arpa/inet.h presence... " >&6; }
24562cat >conftest.$ac_ext <<_ACEOF
24563/* confdefs.h. */
24564_ACEOF
24565cat confdefs.h >>conftest.$ac_ext
24566cat >>conftest.$ac_ext <<_ACEOF
24567/* end confdefs.h. */
24568#include <arpa/inet.h>
24569_ACEOF
24570if { (ac_try="$ac_cpp conftest.$ac_ext"
24571case "(($ac_try" in
24572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24573 *) ac_try_echo=$ac_try;;
24574esac
24575eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24576$as_echo "$ac_try_echo") >&5
24577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24578 ac_status=$?
24579 grep -v '^ *+' conftest.er1 >conftest.err
24580 rm -f conftest.er1
24581 cat conftest.err >&5
24582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } >/dev/null && {
24584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24585 test ! -s conftest.err
24586 }; then
24587 ac_header_preproc=yes
24588else
24589 $as_echo "$as_me: failed program was:" >&5
24590sed 's/^/| /' conftest.$ac_ext >&5
24591
24592 ac_header_preproc=no
24593fi
24594
24595rm -f conftest.err conftest.$ac_ext
24596{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24597$as_echo "$ac_header_preproc" >&6; }
24598
24599# So? What about this header?
24600case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24601 yes:no: )
24602 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
24603$as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24604 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
24605$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
24606 ac_header_preproc=yes
24607 ;;
24608 no:yes:* )
24609 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
24610$as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
24611 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
24612$as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
24613 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
24614$as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
24615 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
24616$as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
24617 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
24618$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
24619 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
24620$as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
24621
24622 ;;
24623esac
24624{ $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
24625$as_echo_n "checking for arpa/inet.h... " >&6; }
24626if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24627 $as_echo_n "(cached) " >&6
24628else
24629 ac_cv_header_arpa_inet_h=$ac_header_preproc
24630fi
24631{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24632$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
12897 24633
24634fi
24635if test $ac_cv_header_arpa_inet_h = yes; then
24636 :
12898else 24637else
12899 ok_so_far=no 24638 ok_so_far=no
12900fi 24639fi
@@ -12903,16 +24642,151 @@ fi
12903fi 24642fi
12904if test $ok_so_far = yes; then 24643if test $ok_so_far = yes; then
12905 24644
12906$as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h 24645cat >>confdefs.h <<\_ACEOF
24646#define HAVE_INET_SOCKETS 1
24647_ACEOF
12907 24648
12908fi 24649fi
12909 24650
24651
12910for ac_header in sys/ioctl.h 24652for ac_header in sys/ioctl.h
12911do : 24653do
12912 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 24654as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12913if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 24655if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24656 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24657$as_echo_n "checking for $ac_header... " >&6; }
24658if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24659 $as_echo_n "(cached) " >&6
24660fi
24661ac_res=`eval 'as_val=${'$as_ac_Header'}
24662 $as_echo "$as_val"'`
24663 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24664$as_echo "$ac_res" >&6; }
24665else
24666 # Is the header compilable?
24667{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24668$as_echo_n "checking $ac_header usability... " >&6; }
24669cat >conftest.$ac_ext <<_ACEOF
24670/* confdefs.h. */
24671_ACEOF
24672cat confdefs.h >>conftest.$ac_ext
24673cat >>conftest.$ac_ext <<_ACEOF
24674/* end confdefs.h. */
24675$ac_includes_default
24676#include <$ac_header>
24677_ACEOF
24678rm -f conftest.$ac_objext
24679if { (ac_try="$ac_compile"
24680case "(($ac_try" in
24681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24682 *) ac_try_echo=$ac_try;;
24683esac
24684eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24685$as_echo "$ac_try_echo") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24687 ac_status=$?
24688 grep -v '^ *+' conftest.er1 >conftest.err
24689 rm -f conftest.er1
24690 cat conftest.err >&5
24691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_c_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24696 ac_header_compiler=yes
24697else
24698 $as_echo "$as_me: failed program was:" >&5
24699sed 's/^/| /' conftest.$ac_ext >&5
24700
24701 ac_header_compiler=no
24702fi
24703
24704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24706$as_echo "$ac_header_compiler" >&6; }
24707
24708# Is the header present?
24709{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24710$as_echo_n "checking $ac_header presence... " >&6; }
24711cat >conftest.$ac_ext <<_ACEOF
24712/* confdefs.h. */
24713_ACEOF
24714cat confdefs.h >>conftest.$ac_ext
24715cat >>conftest.$ac_ext <<_ACEOF
24716/* end confdefs.h. */
24717#include <$ac_header>
24718_ACEOF
24719if { (ac_try="$ac_cpp conftest.$ac_ext"
24720case "(($ac_try" in
24721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24722 *) ac_try_echo=$ac_try;;
24723esac
24724eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24725$as_echo "$ac_try_echo") >&5
24726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24727 ac_status=$?
24728 grep -v '^ *+' conftest.er1 >conftest.err
24729 rm -f conftest.er1
24730 cat conftest.err >&5
24731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } >/dev/null && {
24733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24734 test ! -s conftest.err
24735 }; then
24736 ac_header_preproc=yes
24737else
24738 $as_echo "$as_me: failed program was:" >&5
24739sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 ac_header_preproc=no
24742fi
24743
24744rm -f conftest.err conftest.$ac_ext
24745{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24746$as_echo "$ac_header_preproc" >&6; }
24747
24748# So? What about this header?
24749case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24750 yes:no: )
24751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24752$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24754$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24755 ac_header_preproc=yes
24756 ;;
24757 no:yes:* )
24758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24759$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24761$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24763$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24765$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24767$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24768 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24769$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24770
24771 ;;
24772esac
24773{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24774$as_echo_n "checking for $ac_header... " >&6; }
24775if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24776 $as_echo_n "(cached) " >&6
24777else
24778 eval "$as_ac_Header=\$ac_header_preproc"
24779fi
24780ac_res=`eval 'as_val=${'$as_ac_Header'}
24781 $as_echo "$as_val"'`
24782 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24783$as_echo "$ac_res" >&6; }
24784
24785fi
24786if test `eval 'as_val=${'$as_ac_Header'}
24787 $as_echo "$as_val"'` = yes; then
12914 cat >>confdefs.h <<_ACEOF 24788 cat >>confdefs.h <<_ACEOF
12915#define HAVE_SYS_IOCTL_H 1 24789#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12916_ACEOF 24790_ACEOF
12917 24791
12918fi 24792fi
@@ -12922,26 +24796,123 @@ done
12922 24796
12923if test -f /usr/lpp/X11/bin/smt.exp; then 24797if test -f /usr/lpp/X11/bin/smt.exp; then
12924 24798
12925$as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h 24799cat >>confdefs.h <<\_ACEOF
24800#define HAVE_AIX_SMT_EXP 1
24801_ACEOF
12926 24802
12927fi 24803fi
12928 24804
12929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 24805{ $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
12930$as_echo_n "checking whether system supports dynamic ptys... " >&6; } 24806$as_echo_n "checking whether system supports dynamic ptys... " >&6; }
12931if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 24807if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24808 { $as_echo "$as_me:$LINENO: result: yes" >&5
12933$as_echo "yes" >&6; } 24809$as_echo "yes" >&6; }
12934 24810
12935$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h 24811cat >>confdefs.h <<\_ACEOF
24812#define HAVE_DEV_PTMX 1
24813_ACEOF
12936 24814
12937else 24815else
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24816 { $as_echo "$as_me:$LINENO: result: no" >&5
12939$as_echo "no" >&6; } 24817$as_echo "no" >&6; }
12940fi 24818fi
12941 24819
12942ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 24820{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
12943if test "x$ac_cv_type_pid_t" = x""yes; then : 24821$as_echo_n "checking for pid_t... " >&6; }
24822if test "${ac_cv_type_pid_t+set}" = set; then
24823 $as_echo_n "(cached) " >&6
24824else
24825 ac_cv_type_pid_t=no
24826cat >conftest.$ac_ext <<_ACEOF
24827/* confdefs.h. */
24828_ACEOF
24829cat confdefs.h >>conftest.$ac_ext
24830cat >>conftest.$ac_ext <<_ACEOF
24831/* end confdefs.h. */
24832$ac_includes_default
24833int
24834main ()
24835{
24836if (sizeof (pid_t))
24837 return 0;
24838 ;
24839 return 0;
24840}
24841_ACEOF
24842rm -f conftest.$ac_objext
24843if { (ac_try="$ac_compile"
24844case "(($ac_try" in
24845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24846 *) ac_try_echo=$ac_try;;
24847esac
24848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24849$as_echo "$ac_try_echo") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24851 ac_status=$?
24852 grep -v '^ *+' conftest.er1 >conftest.err
24853 rm -f conftest.er1
24854 cat conftest.err >&5
24855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then
24860 cat >conftest.$ac_ext <<_ACEOF
24861/* confdefs.h. */
24862_ACEOF
24863cat confdefs.h >>conftest.$ac_ext
24864cat >>conftest.$ac_ext <<_ACEOF
24865/* end confdefs.h. */
24866$ac_includes_default
24867int
24868main ()
24869{
24870if (sizeof ((pid_t)))
24871 return 0;
24872 ;
24873 return 0;
24874}
24875_ACEOF
24876rm -f conftest.$ac_objext
24877if { (ac_try="$ac_compile"
24878case "(($ac_try" in
24879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24880 *) ac_try_echo=$ac_try;;
24881esac
24882eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24883$as_echo "$ac_try_echo") >&5
24884 (eval "$ac_compile") 2>conftest.er1
24885 ac_status=$?
24886 grep -v '^ *+' conftest.er1 >conftest.err
24887 rm -f conftest.er1
24888 cat conftest.err >&5
24889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); } && {
24891 test -z "$ac_c_werror_flag" ||
24892 test ! -s conftest.err
24893 } && test -s conftest.$ac_objext; then
24894 :
24895else
24896 $as_echo "$as_me: failed program was:" >&5
24897sed 's/^/| /' conftest.$ac_ext >&5
24898
24899 ac_cv_type_pid_t=yes
24900fi
24901
24902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903else
24904 $as_echo "$as_me: failed program was:" >&5
24905sed 's/^/| /' conftest.$ac_ext >&5
12944 24906
24907
24908fi
24909
24910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911fi
24912{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24913$as_echo "$ac_cv_type_pid_t" >&6; }
24914if test $ac_cv_type_pid_t = yes; then
24915 :
12945else 24916else
12946 24917
12947cat >>confdefs.h <<_ACEOF 24918cat >>confdefs.h <<_ACEOF
@@ -12950,24 +24921,245 @@ _ACEOF
12950 24921
12951fi 24922fi
12952 24923
24924
12953for ac_header in vfork.h 24925for ac_header in vfork.h
12954do : 24926do
12955 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 24927as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12956if test "x$ac_cv_header_vfork_h" = x""yes; then : 24928if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24929 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24930$as_echo_n "checking for $ac_header... " >&6; }
24931if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24932 $as_echo_n "(cached) " >&6
24933fi
24934ac_res=`eval 'as_val=${'$as_ac_Header'}
24935 $as_echo "$as_val"'`
24936 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24937$as_echo "$ac_res" >&6; }
24938else
24939 # Is the header compilable?
24940{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24941$as_echo_n "checking $ac_header usability... " >&6; }
24942cat >conftest.$ac_ext <<_ACEOF
24943/* confdefs.h. */
24944_ACEOF
24945cat confdefs.h >>conftest.$ac_ext
24946cat >>conftest.$ac_ext <<_ACEOF
24947/* end confdefs.h. */
24948$ac_includes_default
24949#include <$ac_header>
24950_ACEOF
24951rm -f conftest.$ac_objext
24952if { (ac_try="$ac_compile"
24953case "(($ac_try" in
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24955 *) ac_try_echo=$ac_try;;
24956esac
24957eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24958$as_echo "$ac_try_echo") >&5
24959 (eval "$ac_compile") 2>conftest.er1
24960 ac_status=$?
24961 grep -v '^ *+' conftest.er1 >conftest.err
24962 rm -f conftest.er1
24963 cat conftest.err >&5
24964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); } && {
24966 test -z "$ac_c_werror_flag" ||
24967 test ! -s conftest.err
24968 } && test -s conftest.$ac_objext; then
24969 ac_header_compiler=yes
24970else
24971 $as_echo "$as_me: failed program was:" >&5
24972sed 's/^/| /' conftest.$ac_ext >&5
24973
24974 ac_header_compiler=no
24975fi
24976
24977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24978{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24979$as_echo "$ac_header_compiler" >&6; }
24980
24981# Is the header present?
24982{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24983$as_echo_n "checking $ac_header presence... " >&6; }
24984cat >conftest.$ac_ext <<_ACEOF
24985/* confdefs.h. */
24986_ACEOF
24987cat confdefs.h >>conftest.$ac_ext
24988cat >>conftest.$ac_ext <<_ACEOF
24989/* end confdefs.h. */
24990#include <$ac_header>
24991_ACEOF
24992if { (ac_try="$ac_cpp conftest.$ac_ext"
24993case "(($ac_try" in
24994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24995 *) ac_try_echo=$ac_try;;
24996esac
24997eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24998$as_echo "$ac_try_echo") >&5
24999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25000 ac_status=$?
25001 grep -v '^ *+' conftest.er1 >conftest.err
25002 rm -f conftest.er1
25003 cat conftest.err >&5
25004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); } >/dev/null && {
25006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25007 test ! -s conftest.err
25008 }; then
25009 ac_header_preproc=yes
25010else
25011 $as_echo "$as_me: failed program was:" >&5
25012sed 's/^/| /' conftest.$ac_ext >&5
25013
25014 ac_header_preproc=no
25015fi
25016
25017rm -f conftest.err conftest.$ac_ext
25018{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25019$as_echo "$ac_header_preproc" >&6; }
25020
25021# So? What about this header?
25022case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25023 yes:no: )
25024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25025$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25027$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25028 ac_header_preproc=yes
25029 ;;
25030 no:yes:* )
25031 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25032$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25034$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25036$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25038$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25040$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25042$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25043
25044 ;;
25045esac
25046{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25047$as_echo_n "checking for $ac_header... " >&6; }
25048if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25049 $as_echo_n "(cached) " >&6
25050else
25051 eval "$as_ac_Header=\$ac_header_preproc"
25052fi
25053ac_res=`eval 'as_val=${'$as_ac_Header'}
25054 $as_echo "$as_val"'`
25055 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25056$as_echo "$ac_res" >&6; }
25057
25058fi
25059if test `eval 'as_val=${'$as_ac_Header'}
25060 $as_echo "$as_val"'` = yes; then
12957 cat >>confdefs.h <<_ACEOF 25061 cat >>confdefs.h <<_ACEOF
12958#define HAVE_VFORK_H 1 25062#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12959_ACEOF 25063_ACEOF
12960 25064
12961fi 25065fi
12962 25066
12963done 25067done
12964 25068
25069
25070
12965for ac_func in fork vfork 25071for ac_func in fork vfork
12966do : 25072do
12967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 25073as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12968ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 25074{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12969eval as_val=\$$as_ac_var 25075$as_echo_n "checking for $ac_func... " >&6; }
12970 if test "x$as_val" = x""yes; then : 25076if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25077 $as_echo_n "(cached) " >&6
25078else
25079 cat >conftest.$ac_ext <<_ACEOF
25080/* confdefs.h. */
25081_ACEOF
25082cat confdefs.h >>conftest.$ac_ext
25083cat >>conftest.$ac_ext <<_ACEOF
25084/* end confdefs.h. */
25085/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25087#define $ac_func innocuous_$ac_func
25088
25089/* System header to define __stub macros and hopefully few prototypes,
25090 which can conflict with char $ac_func (); below.
25091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25092 <limits.h> exists even on freestanding compilers. */
25093
25094#ifdef __STDC__
25095# include <limits.h>
25096#else
25097# include <assert.h>
25098#endif
25099
25100#undef $ac_func
25101
25102/* Override any GCC internal prototype to avoid an error.
25103 Use char because int might match the return type of a GCC
25104 builtin and then its argument prototype would still apply. */
25105#ifdef __cplusplus
25106extern "C"
25107#endif
25108char $ac_func ();
25109/* The GNU C library defines this for functions which it implements
25110 to always fail with ENOSYS. Some functions are actually named
25111 something starting with __ and the normal name is an alias. */
25112#if defined __stub_$ac_func || defined __stub___$ac_func
25113choke me
25114#endif
25115
25116int
25117main ()
25118{
25119return $ac_func ();
25120 ;
25121 return 0;
25122}
25123_ACEOF
25124rm -f conftest.$ac_objext conftest$ac_exeext
25125if { (ac_try="$ac_link"
25126case "(($ac_try" in
25127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25128 *) ac_try_echo=$ac_try;;
25129esac
25130eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25131$as_echo "$ac_try_echo") >&5
25132 (eval "$ac_link") 2>conftest.er1
25133 ac_status=$?
25134 grep -v '^ *+' conftest.er1 >conftest.err
25135 rm -f conftest.er1
25136 cat conftest.err >&5
25137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } && {
25139 test -z "$ac_c_werror_flag" ||
25140 test ! -s conftest.err
25141 } && test -s conftest$ac_exeext && {
25142 test "$cross_compiling" = yes ||
25143 $as_test_x conftest$ac_exeext
25144 }; then
25145 eval "$as_ac_var=yes"
25146else
25147 $as_echo "$as_me: failed program was:" >&5
25148sed 's/^/| /' conftest.$ac_ext >&5
25149
25150 eval "$as_ac_var=no"
25151fi
25152
25153rm -rf conftest.dSYM
25154rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25155 conftest$ac_exeext conftest.$ac_ext
25156fi
25157ac_res=`eval 'as_val=${'$as_ac_var'}
25158 $as_echo "$as_val"'`
25159 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25160$as_echo "$ac_res" >&6; }
25161if test `eval 'as_val=${'$as_ac_var'}
25162 $as_echo "$as_val"'` = yes; then
12971 cat >>confdefs.h <<_ACEOF 25163 cat >>confdefs.h <<_ACEOF
12972#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 25164#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12973_ACEOF 25165_ACEOF
@@ -12976,15 +25168,19 @@ fi
12976done 25168done
12977 25169
12978if test "x$ac_cv_func_fork" = xyes; then 25170if test "x$ac_cv_func_fork" = xyes; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 25171 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
12980$as_echo_n "checking for working fork... " >&6; } 25172$as_echo_n "checking for working fork... " >&6; }
12981if test "${ac_cv_func_fork_works+set}" = set; then : 25173if test "${ac_cv_func_fork_works+set}" = set; then
12982 $as_echo_n "(cached) " >&6 25174 $as_echo_n "(cached) " >&6
12983else 25175else
12984 if test "$cross_compiling" = yes; then : 25176 if test "$cross_compiling" = yes; then
12985 ac_cv_func_fork_works=cross 25177 ac_cv_func_fork_works=cross
12986else 25178else
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25179 cat >conftest.$ac_ext <<_ACEOF
25180/* confdefs.h. */
25181_ACEOF
25182cat confdefs.h >>conftest.$ac_ext
25183cat >>conftest.$ac_ext <<_ACEOF
12988/* end confdefs.h. */ 25184/* end confdefs.h. */
12989$ac_includes_default 25185$ac_includes_default
12990int 25186int
@@ -12998,17 +25194,44 @@ main ()
12998 return 0; 25194 return 0;
12999} 25195}
13000_ACEOF 25196_ACEOF
13001if ac_fn_c_try_run "$LINENO"; then : 25197rm -f conftest$ac_exeext
25198if { (ac_try="$ac_link"
25199case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25201 *) ac_try_echo=$ac_try;;
25202esac
25203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25204$as_echo "$ac_try_echo") >&5
25205 (eval "$ac_link") 2>&5
25206 ac_status=$?
25207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25209 { (case "(($ac_try" in
25210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25211 *) ac_try_echo=$ac_try;;
25212esac
25213eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25214$as_echo "$ac_try_echo") >&5
25215 (eval "$ac_try") 2>&5
25216 ac_status=$?
25217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; }; then
13002 ac_cv_func_fork_works=yes 25219 ac_cv_func_fork_works=yes
13003else 25220else
13004 ac_cv_func_fork_works=no 25221 $as_echo "$as_me: program exited with status $ac_status" >&5
25222$as_echo "$as_me: failed program was:" >&5
25223sed 's/^/| /' conftest.$ac_ext >&5
25224
25225( exit $ac_status )
25226ac_cv_func_fork_works=no
13005fi 25227fi
13006rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 25228rm -rf conftest.dSYM
13007 conftest.$ac_objext conftest.beam conftest.$ac_ext 25229rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13008fi 25230fi
13009 25231
25232
13010fi 25233fi
13011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 25234{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
13012$as_echo "$ac_cv_func_fork_works" >&6; } 25235$as_echo "$ac_cv_func_fork_works" >&6; }
13013 25236
13014else 25237else
@@ -13024,20 +25247,24 @@ if test "x$ac_cv_func_fork_works" = xcross; then
13024 ac_cv_func_fork_works=yes 25247 ac_cv_func_fork_works=yes
13025 ;; 25248 ;;
13026 esac 25249 esac
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 25250 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
13028$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 25251$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
13029fi 25252fi
13030ac_cv_func_vfork_works=$ac_cv_func_vfork 25253ac_cv_func_vfork_works=$ac_cv_func_vfork
13031if test "x$ac_cv_func_vfork" = xyes; then 25254if test "x$ac_cv_func_vfork" = xyes; then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 25255 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
13033$as_echo_n "checking for working vfork... " >&6; } 25256$as_echo_n "checking for working vfork... " >&6; }
13034if test "${ac_cv_func_vfork_works+set}" = set; then : 25257if test "${ac_cv_func_vfork_works+set}" = set; then
13035 $as_echo_n "(cached) " >&6 25258 $as_echo_n "(cached) " >&6
13036else 25259else
13037 if test "$cross_compiling" = yes; then : 25260 if test "$cross_compiling" = yes; then
13038 ac_cv_func_vfork_works=cross 25261 ac_cv_func_vfork_works=cross
13039else 25262else
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25263 cat >conftest.$ac_ext <<_ACEOF
25264/* confdefs.h. */
25265_ACEOF
25266cat confdefs.h >>conftest.$ac_ext
25267cat >>conftest.$ac_ext <<_ACEOF
13041/* end confdefs.h. */ 25268/* end confdefs.h. */
13042/* Thanks to Paul Eggert for this test. */ 25269/* Thanks to Paul Eggert for this test. */
13043$ac_includes_default 25270$ac_includes_default
@@ -13129,48 +25356,85 @@ main ()
13129 } 25356 }
13130} 25357}
13131_ACEOF 25358_ACEOF
13132if ac_fn_c_try_run "$LINENO"; then : 25359rm -f conftest$ac_exeext
25360if { (ac_try="$ac_link"
25361case "(($ac_try" in
25362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25363 *) ac_try_echo=$ac_try;;
25364esac
25365eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25366$as_echo "$ac_try_echo") >&5
25367 (eval "$ac_link") 2>&5
25368 ac_status=$?
25369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25371 { (case "(($ac_try" in
25372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25373 *) ac_try_echo=$ac_try;;
25374esac
25375eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25376$as_echo "$ac_try_echo") >&5
25377 (eval "$ac_try") 2>&5
25378 ac_status=$?
25379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; }; then
13133 ac_cv_func_vfork_works=yes 25381 ac_cv_func_vfork_works=yes
13134else 25382else
13135 ac_cv_func_vfork_works=no 25383 $as_echo "$as_me: program exited with status $ac_status" >&5
25384$as_echo "$as_me: failed program was:" >&5
25385sed 's/^/| /' conftest.$ac_ext >&5
25386
25387( exit $ac_status )
25388ac_cv_func_vfork_works=no
13136fi 25389fi
13137rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 25390rm -rf conftest.dSYM
13138 conftest.$ac_objext conftest.beam conftest.$ac_ext 25391rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13139fi 25392fi
13140 25393
25394
13141fi 25395fi
13142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 25396{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
13143$as_echo "$ac_cv_func_vfork_works" >&6; } 25397$as_echo "$ac_cv_func_vfork_works" >&6; }
13144 25398
13145fi; 25399fi;
13146if test "x$ac_cv_func_fork_works" = xcross; then 25400if test "x$ac_cv_func_fork_works" = xcross; then
13147 ac_cv_func_vfork_works=$ac_cv_func_vfork 25401 ac_cv_func_vfork_works=$ac_cv_func_vfork
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 25402 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13149$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 25403$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13150fi 25404fi
13151 25405
13152if test "x$ac_cv_func_vfork_works" = xyes; then 25406if test "x$ac_cv_func_vfork_works" = xyes; then
13153 25407
13154$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 25408cat >>confdefs.h <<\_ACEOF
25409#define HAVE_WORKING_VFORK 1
25410_ACEOF
13155 25411
13156else 25412else
13157 25413
13158$as_echo "#define vfork fork" >>confdefs.h 25414cat >>confdefs.h <<\_ACEOF
25415#define vfork fork
25416_ACEOF
13159 25417
13160fi 25418fi
13161if test "x$ac_cv_func_fork_works" = xyes; then 25419if test "x$ac_cv_func_fork_works" = xyes; then
13162 25420
13163$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 25421cat >>confdefs.h <<\_ACEOF
25422#define HAVE_WORKING_FORK 1
25423_ACEOF
13164 25424
13165fi 25425fi
13166 25426
13167 25427
13168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 25428{ $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
13169$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 25429$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
13170if test "${emacs_cv_langinfo_codeset+set}" = set; then : 25430if test "${emacs_cv_langinfo_codeset+set}" = set; then
13171 $as_echo_n "(cached) " >&6 25431 $as_echo_n "(cached) " >&6
13172else 25432else
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25433 cat >conftest.$ac_ext <<_ACEOF
25434/* confdefs.h. */
25435_ACEOF
25436cat confdefs.h >>conftest.$ac_ext
25437cat >>conftest.$ac_ext <<_ACEOF
13174/* end confdefs.h. */ 25438/* end confdefs.h. */
13175#include <langinfo.h> 25439#include <langinfo.h>
13176int 25440int
@@ -13181,25 +25445,145 @@ char* cs = nl_langinfo(CODESET);
13181 return 0; 25445 return 0;
13182} 25446}
13183_ACEOF 25447_ACEOF
13184if ac_fn_c_try_link "$LINENO"; then : 25448rm -f conftest.$ac_objext conftest$ac_exeext
25449if { (ac_try="$ac_link"
25450case "(($ac_try" in
25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25453esac
25454eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25455$as_echo "$ac_try_echo") >&5
25456 (eval "$ac_link") 2>conftest.er1
25457 ac_status=$?
25458 grep -v '^ *+' conftest.er1 >conftest.err
25459 rm -f conftest.er1
25460 cat conftest.err >&5
25461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } && {
25463 test -z "$ac_c_werror_flag" ||
25464 test ! -s conftest.err
25465 } && test -s conftest$ac_exeext && {
25466 test "$cross_compiling" = yes ||
25467 $as_test_x conftest$ac_exeext
25468 }; then
13185 emacs_cv_langinfo_codeset=yes 25469 emacs_cv_langinfo_codeset=yes
13186else 25470else
13187 emacs_cv_langinfo_codeset=no 25471 $as_echo "$as_me: failed program was:" >&5
25472sed 's/^/| /' conftest.$ac_ext >&5
25473
25474 emacs_cv_langinfo_codeset=no
13188fi 25475fi
13189rm -f core conftest.err conftest.$ac_objext \ 25476
13190 conftest$ac_exeext conftest.$ac_ext 25477rm -rf conftest.dSYM
25478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25479 conftest$ac_exeext conftest.$ac_ext
13191 25480
13192fi 25481fi
13193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 25482{ $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
13194$as_echo "$emacs_cv_langinfo_codeset" >&6; } 25483$as_echo "$emacs_cv_langinfo_codeset" >&6; }
13195if test $emacs_cv_langinfo_codeset = yes; then 25484if test $emacs_cv_langinfo_codeset = yes; then
13196 25485
13197$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 25486cat >>confdefs.h <<\_ACEOF
25487#define HAVE_LANGINFO_CODESET 1
25488_ACEOF
25489
25490fi
25491
25492{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
25493$as_echo_n "checking for size_t... " >&6; }
25494if test "${ac_cv_type_size_t+set}" = set; then
25495 $as_echo_n "(cached) " >&6
25496else
25497 ac_cv_type_size_t=no
25498cat >conftest.$ac_ext <<_ACEOF
25499/* confdefs.h. */
25500_ACEOF
25501cat confdefs.h >>conftest.$ac_ext
25502cat >>conftest.$ac_ext <<_ACEOF
25503/* end confdefs.h. */
25504$ac_includes_default
25505int
25506main ()
25507{
25508if (sizeof (size_t))
25509 return 0;
25510 ;
25511 return 0;
25512}
25513_ACEOF
25514rm -f conftest.$ac_objext
25515if { (ac_try="$ac_compile"
25516case "(($ac_try" in
25517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25518 *) ac_try_echo=$ac_try;;
25519esac
25520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25521$as_echo "$ac_try_echo") >&5
25522 (eval "$ac_compile") 2>conftest.er1
25523 ac_status=$?
25524 grep -v '^ *+' conftest.er1 >conftest.err
25525 rm -f conftest.er1
25526 cat conftest.err >&5
25527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); } && {
25529 test -z "$ac_c_werror_flag" ||
25530 test ! -s conftest.err
25531 } && test -s conftest.$ac_objext; then
25532 cat >conftest.$ac_ext <<_ACEOF
25533/* confdefs.h. */
25534_ACEOF
25535cat confdefs.h >>conftest.$ac_ext
25536cat >>conftest.$ac_ext <<_ACEOF
25537/* end confdefs.h. */
25538$ac_includes_default
25539int
25540main ()
25541{
25542if (sizeof ((size_t)))
25543 return 0;
25544 ;
25545 return 0;
25546}
25547_ACEOF
25548rm -f conftest.$ac_objext
25549if { (ac_try="$ac_compile"
25550case "(($ac_try" in
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552 *) ac_try_echo=$ac_try;;
25553esac
25554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25555$as_echo "$ac_try_echo") >&5
25556 (eval "$ac_compile") 2>conftest.er1
25557 ac_status=$?
25558 grep -v '^ *+' conftest.er1 >conftest.err
25559 rm -f conftest.er1
25560 cat conftest.err >&5
25561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25562 (exit $ac_status); } && {
25563 test -z "$ac_c_werror_flag" ||
25564 test ! -s conftest.err
25565 } && test -s conftest.$ac_objext; then
25566 :
25567else
25568 $as_echo "$as_me: failed program was:" >&5
25569sed 's/^/| /' conftest.$ac_ext >&5
25570
25571 ac_cv_type_size_t=yes
25572fi
25573
25574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25575else
25576 $as_echo "$as_me: failed program was:" >&5
25577sed 's/^/| /' conftest.$ac_ext >&5
25578
13198 25579
13199fi 25580fi
13200 25581
13201ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 25582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202if test "x$ac_cv_type_size_t" = x""yes; then : 25583fi
25584{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25585$as_echo "$ac_cv_type_size_t" >&6; }
25586if test $ac_cv_type_size_t = yes; then
13203 25587
13204cat >>confdefs.h <<_ACEOF 25588cat >>confdefs.h <<_ACEOF
13205#define HAVE_SIZE_T 1 25589#define HAVE_SIZE_T 1
@@ -13209,12 +25593,16 @@ _ACEOF
13209fi 25593fi
13210 25594
13211 25595
13212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 25596{ $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5
13213$as_echo_n "checking for mbstate_t... " >&6; } 25597$as_echo_n "checking for mbstate_t... " >&6; }
13214if test "${ac_cv_type_mbstate_t+set}" = set; then : 25598if test "${ac_cv_type_mbstate_t+set}" = set; then
13215 $as_echo_n "(cached) " >&6 25599 $as_echo_n "(cached) " >&6
13216else 25600else
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25601 cat >conftest.$ac_ext <<_ACEOF
25602/* confdefs.h. */
25603_ACEOF
25604cat confdefs.h >>conftest.$ac_ext
25605cat >>conftest.$ac_ext <<_ACEOF
13218/* end confdefs.h. */ 25606/* end confdefs.h. */
13219$ac_includes_default 25607$ac_includes_default
13220# include <wchar.h> 25608# include <wchar.h>
@@ -13226,31 +25614,60 @@ mbstate_t x; return sizeof x;
13226 return 0; 25614 return 0;
13227} 25615}
13228_ACEOF 25616_ACEOF
13229if ac_fn_c_try_compile "$LINENO"; then : 25617rm -f conftest.$ac_objext
25618if { (ac_try="$ac_compile"
25619case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622esac
25623eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25624$as_echo "$ac_try_echo") >&5
25625 (eval "$ac_compile") 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } && {
25632 test -z "$ac_c_werror_flag" ||
25633 test ! -s conftest.err
25634 } && test -s conftest.$ac_objext; then
13230 ac_cv_type_mbstate_t=yes 25635 ac_cv_type_mbstate_t=yes
13231else 25636else
13232 ac_cv_type_mbstate_t=no 25637 $as_echo "$as_me: failed program was:" >&5
25638sed 's/^/| /' conftest.$ac_ext >&5
25639
25640 ac_cv_type_mbstate_t=no
13233fi 25641fi
25642
13234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13235fi 25644fi
13236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 25645{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
13237$as_echo "$ac_cv_type_mbstate_t" >&6; } 25646$as_echo "$ac_cv_type_mbstate_t" >&6; }
13238 if test $ac_cv_type_mbstate_t = yes; then 25647 if test $ac_cv_type_mbstate_t = yes; then
13239 25648
13240$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h 25649cat >>confdefs.h <<\_ACEOF
25650#define HAVE_MBSTATE_T 1
25651_ACEOF
13241 25652
13242 else 25653 else
13243 25654
13244$as_echo "#define mbstate_t int" >>confdefs.h 25655cat >>confdefs.h <<\_ACEOF
25656#define mbstate_t int
25657_ACEOF
13245 25658
13246 fi 25659 fi
13247 25660
13248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 25661{ $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5
13249$as_echo_n "checking for C restrict keyword... " >&6; } 25662$as_echo_n "checking for C restrict keyword... " >&6; }
13250if test "${emacs_cv_c_restrict+set}" = set; then : 25663if test "${emacs_cv_c_restrict+set}" = set; then
13251 $as_echo_n "(cached) " >&6 25664 $as_echo_n "(cached) " >&6
13252else 25665else
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25666 cat >conftest.$ac_ext <<_ACEOF
25667/* confdefs.h. */
25668_ACEOF
25669cat confdefs.h >>conftest.$ac_ext
25670cat >>conftest.$ac_ext <<_ACEOF
13254/* end confdefs.h. */ 25671/* end confdefs.h. */
13255void fred (int *restrict x); 25672void fred (int *restrict x);
13256int 25673int
@@ -13261,10 +25678,34 @@ main ()
13261 return 0; 25678 return 0;
13262} 25679}
13263_ACEOF 25680_ACEOF
13264if ac_fn_c_try_compile "$LINENO"; then : 25681rm -f conftest.$ac_objext
25682if { (ac_try="$ac_compile"
25683case "(($ac_try" in
25684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25685 *) ac_try_echo=$ac_try;;
25686esac
25687eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25688$as_echo "$ac_try_echo") >&5
25689 (eval "$ac_compile") 2>conftest.er1
25690 ac_status=$?
25691 grep -v '^ *+' conftest.er1 >conftest.err
25692 rm -f conftest.er1
25693 cat conftest.err >&5
25694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } && {
25696 test -z "$ac_c_werror_flag" ||
25697 test ! -s conftest.err
25698 } && test -s conftest.$ac_objext; then
13265 emacs_cv_c_restrict=yes 25699 emacs_cv_c_restrict=yes
13266else 25700else
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25701 $as_echo "$as_me: failed program was:" >&5
25702sed 's/^/| /' conftest.$ac_ext >&5
25703
25704 cat >conftest.$ac_ext <<_ACEOF
25705/* confdefs.h. */
25706_ACEOF
25707cat confdefs.h >>conftest.$ac_ext
25708cat >>conftest.$ac_ext <<_ACEOF
13268/* end confdefs.h. */ 25709/* end confdefs.h. */
13269void fred (int *__restrict x); 25710void fred (int *__restrict x);
13270int 25711int
@@ -13275,16 +25716,38 @@ main ()
13275 return 0; 25716 return 0;
13276} 25717}
13277_ACEOF 25718_ACEOF
13278if ac_fn_c_try_compile "$LINENO"; then : 25719rm -f conftest.$ac_objext
25720if { (ac_try="$ac_compile"
25721case "(($ac_try" in
25722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25724esac
25725eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25726$as_echo "$ac_try_echo") >&5
25727 (eval "$ac_compile") 2>conftest.er1
25728 ac_status=$?
25729 grep -v '^ *+' conftest.er1 >conftest.err
25730 rm -f conftest.er1
25731 cat conftest.err >&5
25732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } && {
25734 test -z "$ac_c_werror_flag" ||
25735 test ! -s conftest.err
25736 } && test -s conftest.$ac_objext; then
13279 emacs_cv_c_restrict=__restrict 25737 emacs_cv_c_restrict=__restrict
13280else 25738else
13281 emacs_cv_c_restrict=no 25739 $as_echo "$as_me: failed program was:" >&5
25740sed 's/^/| /' conftest.$ac_ext >&5
25741
25742 emacs_cv_c_restrict=no
13282fi 25743fi
25744
13283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13284fi 25746fi
25747
13285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13286fi 25749fi
13287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 25750{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
13288$as_echo "$emacs_cv_c_restrict" >&6; } 25751$as_echo "$emacs_cv_c_restrict" >&6; }
13289case "$emacs_cv_c_restrict" in 25752case "$emacs_cv_c_restrict" in
13290 yes) emacs_restrict=restrict;; 25753 yes) emacs_restrict=restrict;;
@@ -13299,12 +25762,16 @@ _ACEOF
13299 25762
13300fi 25763fi
13301 25764
13302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 25765{ $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
13303$as_echo_n "checking for C restricted array declarations... " >&6; } 25766$as_echo_n "checking for C restricted array declarations... " >&6; }
13304if test "${emacs_cv_c_restrict_arr+set}" = set; then : 25767if test "${emacs_cv_c_restrict_arr+set}" = set; then
13305 $as_echo_n "(cached) " >&6 25768 $as_echo_n "(cached) " >&6
13306else 25769else
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25770 cat >conftest.$ac_ext <<_ACEOF
25771/* confdefs.h. */
25772_ACEOF
25773cat confdefs.h >>conftest.$ac_ext
25774cat >>conftest.$ac_ext <<_ACEOF
13308/* end confdefs.h. */ 25775/* end confdefs.h. */
13309void fred (int x[__restrict]); 25776void fred (int x[__restrict]);
13310int 25777int
@@ -13315,18 +25782,41 @@ main ()
13315 return 0; 25782 return 0;
13316} 25783}
13317_ACEOF 25784_ACEOF
13318if ac_fn_c_try_compile "$LINENO"; then : 25785rm -f conftest.$ac_objext
25786if { (ac_try="$ac_compile"
25787case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25790esac
25791eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25792$as_echo "$ac_try_echo") >&5
25793 (eval "$ac_compile") 2>conftest.er1
25794 ac_status=$?
25795 grep -v '^ *+' conftest.er1 >conftest.err
25796 rm -f conftest.er1
25797 cat conftest.err >&5
25798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } && {
25800 test -z "$ac_c_werror_flag" ||
25801 test ! -s conftest.err
25802 } && test -s conftest.$ac_objext; then
13319 emacs_cv_c_restrict_arr=yes 25803 emacs_cv_c_restrict_arr=yes
13320else 25804else
13321 emacs_cv_c_restrict_arr=no 25805 $as_echo "$as_me: failed program was:" >&5
25806sed 's/^/| /' conftest.$ac_ext >&5
25807
25808 emacs_cv_c_restrict_arr=no
13322fi 25809fi
25810
13323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13324fi 25812fi
13325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 25813{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
13326$as_echo "$emacs_cv_c_restrict_arr" >&6; } 25814$as_echo "$emacs_cv_c_restrict_arr" >&6; }
13327if test "$emacs_cv_c_restrict_arr" = yes; then 25815if test "$emacs_cv_c_restrict_arr" = yes; then
13328 25816
13329$as_echo "#define __restrict_arr __restrict" >>confdefs.h 25817cat >>confdefs.h <<\_ACEOF
25818#define __restrict_arr __restrict
25819_ACEOF
13330 25820
13331fi 25821fi
13332 25822
@@ -13340,10 +25830,12 @@ CPPFLAGS="$REAL_CPPFLAGS"
13340version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 25830version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
13341 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 25831 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
13342if test x"${version}" = x; then 25832if test x"${version}" = x; then
13343 as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 25833 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
25834$as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
25835 { (exit 1); exit 1; }; }
13344fi 25836fi
13345if test x"${version}" != x"$PACKAGE_VERSION"; then 25837if test x"${version}" != x"$PACKAGE_VERSION"; then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 25838 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5
13347$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} 25839$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;}
13348fi 25840fi
13349 25841
@@ -13437,7 +25929,9 @@ XMENU_OBJ=
13437XOBJ= 25929XOBJ=
13438if test "${HAVE_X_WINDOWS}" = "yes" ; then 25930if test "${HAVE_X_WINDOWS}" = "yes" ; then
13439 25931
13440$as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h 25932cat >>confdefs.h <<\_ACEOF
25933#define HAVE_X_WINDOWS 1
25934_ACEOF
13441 25935
13442 XMENU_OBJ=xmenu.o 25936 XMENU_OBJ=xmenu.o
13443 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" 25937 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o"
@@ -13447,42 +25941,58 @@ fi
13447 25941
13448if test "${USE_X_TOOLKIT}" != "none" ; then 25942if test "${USE_X_TOOLKIT}" != "none" ; then
13449 25943
13450$as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h 25944cat >>confdefs.h <<\_ACEOF
25945#define USE_X_TOOLKIT 1
25946_ACEOF
13451 25947
13452 if test "${USE_X_TOOLKIT}" = "LUCID"; then 25948 if test "${USE_X_TOOLKIT}" = "LUCID"; then
13453 25949
13454$as_echo "#define USE_LUCID 1" >>confdefs.h 25950cat >>confdefs.h <<\_ACEOF
25951#define USE_LUCID 1
25952_ACEOF
13455 25953
13456 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then 25954 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then
13457 25955
13458$as_echo "#define USE_MOTIF 1" >>confdefs.h 25956cat >>confdefs.h <<\_ACEOF
25957#define USE_MOTIF 1
25958_ACEOF
13459 25959
13460 fi 25960 fi
13461fi 25961fi
13462if test "${HAVE_X11}" = "yes" ; then 25962if test "${HAVE_X11}" = "yes" ; then
13463 25963
13464$as_echo "#define HAVE_X11 1" >>confdefs.h 25964cat >>confdefs.h <<\_ACEOF
25965#define HAVE_X11 1
25966_ACEOF
13465 25967
13466fi 25968fi
13467if test "${HAVE_MENUS}" = "yes" ; then 25969if test "${HAVE_MENUS}" = "yes" ; then
13468 25970
13469$as_echo "#define HAVE_MENUS 1" >>confdefs.h 25971cat >>confdefs.h <<\_ACEOF
25972#define HAVE_MENUS 1
25973_ACEOF
13470 25974
13471fi 25975fi
13472if test "${GNU_MALLOC}" = "yes" ; then 25976if test "${GNU_MALLOC}" = "yes" ; then
13473 25977
13474$as_echo "#define GNU_MALLOC 1" >>confdefs.h 25978cat >>confdefs.h <<\_ACEOF
25979#define GNU_MALLOC 1
25980_ACEOF
13475 25981
13476fi 25982fi
13477if test "${REL_ALLOC}" = "yes" ; then 25983if test "${REL_ALLOC}" = "yes" ; then
13478 25984
13479$as_echo "#define REL_ALLOC 1" >>confdefs.h 25985cat >>confdefs.h <<\_ACEOF
25986#define REL_ALLOC 1
25987_ACEOF
13480 25988
13481fi 25989fi
13482 25990
13483 25991
13484 25992
13485 25993
25994
25995
13486#### Report on what we decided to do. 25996#### Report on what we decided to do.
13487#### Report GTK as a toolkit, even if it doesn't use Xt. 25997#### Report GTK as a toolkit, even if it doesn't use Xt.
13488#### It makes printing result more understandable as using GTK sets 25998#### It makes printing result more understandable as using GTK sets
@@ -13584,12 +26094,16 @@ cpp_undefs="`echo $srcdir $configuration $canonical unix |
13584## from Makefile.c can correctly provide the arg `-traditional' to the 26094## from Makefile.c can correctly provide the arg `-traditional' to the
13585## C preprocessor. 26095## C preprocessor.
13586 26096
13587cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26097cat >conftest.$ac_ext <<_ACEOF
26098/* confdefs.h. */
26099_ACEOF
26100cat confdefs.h >>conftest.$ac_ext
26101cat >>conftest.$ac_ext <<_ACEOF
13588/* end confdefs.h. */ 26102/* end confdefs.h. */
13589yes..yes 26103yes..yes
13590_ACEOF 26104_ACEOF
13591if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 26105if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13592 $EGREP "yes..yes" >/dev/null 2>&1; then : 26106 $EGREP "yes..yes" >/dev/null 2>&1; then
13593 CPP_NEED_TRADITIONAL=no 26107 CPP_NEED_TRADITIONAL=no
13594else 26108else
13595 CPP_NEED_TRADITIONAL=yes 26109 CPP_NEED_TRADITIONAL=yes
@@ -13628,13 +26142,13 @@ _ACEOF
13628 case $ac_val in #( 26142 case $ac_val in #(
13629 *${as_nl}*) 26143 *${as_nl}*)
13630 case $ac_var in #( 26144 case $ac_var in #(
13631 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 26145 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13632$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 26146$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13633 esac 26147 esac
13634 case $ac_var in #( 26148 case $ac_var in #(
13635 _ | IFS | as_nl) ;; #( 26149 _ | IFS | as_nl) ;; #(
13636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 26150 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13637 *) { eval $ac_var=; unset $ac_var;} ;; 26151 *) $as_unset $ac_var ;;
13638 esac ;; 26152 esac ;;
13639 esac 26153 esac
13640 done 26154 done
@@ -13642,8 +26156,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13642 (set) 2>&1 | 26156 (set) 2>&1 |
13643 case $as_nl`(ac_space=' '; set) 2>&1` in #( 26157 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13644 *${as_nl}ac_space=\ *) 26158 *${as_nl}ac_space=\ *)
13645 # `set' does not quote correctly, so add quotes: double-quote 26159 # `set' does not quote correctly, so add quotes (double-quote
13646 # substitution turns \\\\ into \\, and sed turns \\ into \. 26160 # substitution turns \\\\ into \\, and sed turns \\ into \).
13647 sed -n \ 26161 sed -n \
13648 "s/'/'\\\\''/g; 26162 "s/'/'\\\\''/g;
13649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 26163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -13666,11 +26180,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13666if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 26180if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13667 if test -w "$cache_file"; then 26181 if test -w "$cache_file"; then
13668 test "x$cache_file" != "x/dev/null" && 26182 test "x$cache_file" != "x/dev/null" &&
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 26183 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13670$as_echo "$as_me: updating cache $cache_file" >&6;} 26184$as_echo "$as_me: updating cache $cache_file" >&6;}
13671 cat confcache >$cache_file 26185 cat confcache >$cache_file
13672 else 26186 else
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 26187 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13674$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 26188$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13675 fi 26189 fi
13676fi 26190fi
@@ -13690,8 +26204,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13690 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 26204 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13691 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 26205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13692 # will be set to the directory where LIBOBJS objects are built. 26206 # will be set to the directory where LIBOBJS objects are built.
13693 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 26207 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13694 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 26208 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13695done 26209done
13696LIBOBJS=$ac_libobjs 26210LIBOBJS=$ac_libobjs
13697 26211
@@ -13703,10 +26217,9 @@ LTLIBOBJS=$ac_ltlibobjs
13703ac_write_fail=0 26217ac_write_fail=0
13704ac_clean_files_save=$ac_clean_files 26218ac_clean_files_save=$ac_clean_files
13705ac_clean_files="$ac_clean_files $CONFIG_STATUS" 26219ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13706{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 26220{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13707$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 26221$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13708as_write_fail=0 26222cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13709cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13710#! $SHELL 26223#! $SHELL
13711# Generated by $as_me. 26224# Generated by $as_me.
13712# Run this file to recreate the current configuration. 26225# Run this file to recreate the current configuration.
@@ -13716,18 +26229,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13716debug=false 26229debug=false
13717ac_cs_recheck=false 26230ac_cs_recheck=false
13718ac_cs_silent=false 26231ac_cs_silent=false
13719
13720SHELL=\${CONFIG_SHELL-$SHELL} 26232SHELL=\${CONFIG_SHELL-$SHELL}
13721export SHELL 26233_ACEOF
13722_ASEOF 26234
13723cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 26235cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13724## -------------------- ## 26236## --------------------- ##
13725## M4sh Initialization. ## 26237## M4sh Initialization. ##
13726## -------------------- ## 26238## --------------------- ##
13727 26239
13728# Be more Bourne compatible 26240# Be more Bourne compatible
13729DUALCASE=1; export DUALCASE # for MKS sh 26241DUALCASE=1; export DUALCASE # for MKS sh
13730if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 26242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13731 emulate sh 26243 emulate sh
13732 NULLCMD=: 26244 NULLCMD=:
13733 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26245 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -13735,15 +26247,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13735 alias -g '${1+"$@"}'='"$@"' 26247 alias -g '${1+"$@"}'='"$@"'
13736 setopt NO_GLOB_SUBST 26248 setopt NO_GLOB_SUBST
13737else 26249else
13738 case `(set -o) 2>/dev/null` in #( 26250 case `(set -o) 2>/dev/null` in
13739 *posix*) : 26251 *posix*) set -o posix ;;
13740 set -o posix ;; #(
13741 *) :
13742 ;;
13743esac 26252esac
26253
13744fi 26254fi
13745 26255
13746 26256
26257
26258
26259# PATH needs CR
26260# Avoid depending upon Character Ranges.
26261as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26262as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26263as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26264as_cr_digits='0123456789'
26265as_cr_alnum=$as_cr_Letters$as_cr_digits
26266
13747as_nl=' 26267as_nl='
13748' 26268'
13749export as_nl 26269export as_nl
@@ -13751,13 +26271,7 @@ export as_nl
13751as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 26271as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13752as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 26272as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13753as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 26273as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13754# Prefer a ksh shell builtin over an external printf program on Solaris, 26274if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13755# but without wasting forks for bash or zsh.
13756if test -z "$BASH_VERSION$ZSH_VERSION" \
13757 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13758 as_echo='print -r --'
13759 as_echo_n='print -rn --'
13760elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13761 as_echo='printf %s\n' 26275 as_echo='printf %s\n'
13762 as_echo_n='printf %s' 26276 as_echo_n='printf %s'
13763else 26277else
@@ -13768,7 +26282,7 @@ else
13768 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 26282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13769 as_echo_n_body='eval 26283 as_echo_n_body='eval
13770 arg=$1; 26284 arg=$1;
13771 case $arg in #( 26285 case $arg in
13772 *"$as_nl"*) 26286 *"$as_nl"*)
13773 expr "X$arg" : "X\\(.*\\)$as_nl"; 26287 expr "X$arg" : "X\\(.*\\)$as_nl";
13774 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 26288 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -13791,6 +26305,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
13791 } 26305 }
13792fi 26306fi
13793 26307
26308# Support unset when possible.
26309if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26310 as_unset=unset
26311else
26312 as_unset=false
26313fi
26314
13794 26315
13795# IFS 26316# IFS
13796# We need space, tab and new line, in precisely that order. Quoting is 26317# We need space, tab and new line, in precisely that order. Quoting is
@@ -13800,15 +26321,15 @@ fi
13800IFS=" "" $as_nl" 26321IFS=" "" $as_nl"
13801 26322
13802# Find who we are. Look in the path if we contain no directory separator. 26323# Find who we are. Look in the path if we contain no directory separator.
13803case $0 in #(( 26324case $0 in
13804 *[\\/]* ) as_myself=$0 ;; 26325 *[\\/]* ) as_myself=$0 ;;
13805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13806for as_dir in $PATH 26327for as_dir in $PATH
13807do 26328do
13808 IFS=$as_save_IFS 26329 IFS=$as_save_IFS
13809 test -z "$as_dir" && as_dir=. 26330 test -z "$as_dir" && as_dir=.
13810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 26331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13811 done 26332done
13812IFS=$as_save_IFS 26333IFS=$as_save_IFS
13813 26334
13814 ;; 26335 ;;
@@ -13820,16 +26341,12 @@ if test "x$as_myself" = x; then
13820fi 26341fi
13821if test ! -f "$as_myself"; then 26342if test ! -f "$as_myself"; then
13822 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 26343 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13823 exit 1 26344 { (exit 1); exit 1; }
13824fi 26345fi
13825 26346
13826# Unset variables that we do not need and which cause bugs (e.g. in 26347# Work around bugs in pre-3.0 UWIN ksh.
13827# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 26348for as_var in ENV MAIL MAILPATH
13828# suppresses any "Segmentation fault" message there. '((' could 26349do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13829# trigger a bug in pdksh 5.2.14.
13830for as_var in BASH_ENV ENV MAIL MAILPATH
13831do eval test x\${$as_var+set} = xset \
13832 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13833done 26350done
13834PS1='$ ' 26351PS1='$ '
13835PS2='> ' 26352PS2='> '
@@ -13841,89 +26358,7 @@ export LC_ALL
13841LANGUAGE=C 26358LANGUAGE=C
13842export LANGUAGE 26359export LANGUAGE
13843 26360
13844# CDPATH. 26361# Required to use basename.
13845(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13846
13847
13848# as_fn_error ERROR [LINENO LOG_FD]
13849# ---------------------------------
13850# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13851# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13852# script with status $?, using 1 if that was 0.
13853as_fn_error ()
13854{
13855 as_status=$?; test $as_status -eq 0 && as_status=1
13856 if test "$3"; then
13857 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13858 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13859 fi
13860 $as_echo "$as_me: error: $1" >&2
13861 as_fn_exit $as_status
13862} # as_fn_error
13863
13864
13865# as_fn_set_status STATUS
13866# -----------------------
13867# Set $? to STATUS, without forking.
13868as_fn_set_status ()
13869{
13870 return $1
13871} # as_fn_set_status
13872
13873# as_fn_exit STATUS
13874# -----------------
13875# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13876as_fn_exit ()
13877{
13878 set +e
13879 as_fn_set_status $1
13880 exit $1
13881} # as_fn_exit
13882
13883# as_fn_unset VAR
13884# ---------------
13885# Portably unset VAR.
13886as_fn_unset ()
13887{
13888 { eval $1=; unset $1;}
13889}
13890as_unset=as_fn_unset
13891# as_fn_append VAR VALUE
13892# ----------------------
13893# Append the text in VALUE to the end of the definition contained in VAR. Take
13894# advantage of any shell optimizations that allow amortized linear growth over
13895# repeated appends, instead of the typical quadratic growth present in naive
13896# implementations.
13897if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13898 eval 'as_fn_append ()
13899 {
13900 eval $1+=\$2
13901 }'
13902else
13903 as_fn_append ()
13904 {
13905 eval $1=\$$1\$2
13906 }
13907fi # as_fn_append
13908
13909# as_fn_arith ARG...
13910# ------------------
13911# Perform arithmetic evaluation on the ARGs, and store the result in the
13912# global $as_val. Take advantage of shells that can avoid forks. The arguments
13913# must be portable across $(()) and expr.
13914if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13915 eval 'as_fn_arith ()
13916 {
13917 as_val=$(( $* ))
13918 }'
13919else
13920 as_fn_arith ()
13921 {
13922 as_val=`expr "$@" || test $? -eq 1`
13923 }
13924fi # as_fn_arith
13925
13926
13927if expr a : '\(a\)' >/dev/null 2>&1 && 26362if expr a : '\(a\)' >/dev/null 2>&1 &&
13928 test "X`expr 00001 : '.*\(...\)'`" = X001; then 26363 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13929 as_expr=expr 26364 as_expr=expr
@@ -13937,12 +26372,8 @@ else
13937 as_basename=false 26372 as_basename=false
13938fi 26373fi
13939 26374
13940if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13941 as_dirname=dirname
13942else
13943 as_dirname=false
13944fi
13945 26375
26376# Name of the executable.
13946as_me=`$as_basename -- "$0" || 26377as_me=`$as_basename -- "$0" ||
13947$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 26378$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13948 X"$0" : 'X\(//\)$' \| \ 26379 X"$0" : 'X\(//\)$' \| \
@@ -13962,25 +26393,76 @@ $as_echo X/"$0" |
13962 } 26393 }
13963 s/.*/./; q'` 26394 s/.*/./; q'`
13964 26395
13965# Avoid depending upon Character Ranges. 26396# CDPATH.
13966as_cr_letters='abcdefghijklmnopqrstuvwxyz' 26397$as_unset CDPATH
13967as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 26398
13968as_cr_Letters=$as_cr_letters$as_cr_LETTERS 26399
13969as_cr_digits='0123456789' 26400
13970as_cr_alnum=$as_cr_Letters$as_cr_digits 26401 as_lineno_1=$LINENO
26402 as_lineno_2=$LINENO
26403 test "x$as_lineno_1" != "x$as_lineno_2" &&
26404 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26405
26406 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26407 # uniformly replaced by the line number. The first 'sed' inserts a
26408 # line-number line after each line using $LINENO; the second 'sed'
26409 # does the real work. The second script uses 'N' to pair each
26410 # line-number line with the line containing $LINENO, and appends
26411 # trailing '-' during substitution so that $LINENO is not a special
26412 # case at line end.
26413 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26414 # scripts with optimization help from Paolo Bonzini. Blame Lee
26415 # E. McMahon (1931-1989) for sed's syntax. :-)
26416 sed -n '
26417 p
26418 /[$]LINENO/=
26419 ' <$as_myself |
26420 sed '
26421 s/[$]LINENO.*/&-/
26422 t lineno
26423 b
26424 :lineno
26425 N
26426 :loop
26427 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26428 t loop
26429 s/-\n.*//
26430 ' >$as_me.lineno &&
26431 chmod +x "$as_me.lineno" ||
26432 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26433 { (exit 1); exit 1; }; }
26434
26435 # Don't try to exec as it changes $[0], causing all sort of problems
26436 # (the dirname of $[0] is not the place where we might find the
26437 # original and so on. Autoconf is especially sensitive to this).
26438 . "./$as_me.lineno"
26439 # Exit status is that of the last command.
26440 exit
26441}
26442
26443
26444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26445 as_dirname=dirname
26446else
26447 as_dirname=false
26448fi
13971 26449
13972ECHO_C= ECHO_N= ECHO_T= 26450ECHO_C= ECHO_N= ECHO_T=
13973case `echo -n x` in #((((( 26451case `echo -n x` in
13974-n*) 26452-n*)
13975 case `echo 'xy\c'` in 26453 case `echo 'x\c'` in
13976 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 26454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13977 xy) ECHO_C='\c';; 26455 *) ECHO_C='\c';;
13978 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13979 ECHO_T=' ';;
13980 esac;; 26456 esac;;
13981*) 26457*)
13982 ECHO_N='-n';; 26458 ECHO_N='-n';;
13983esac 26459esac
26460if expr a : '\(a\)' >/dev/null 2>&1 &&
26461 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26462 as_expr=expr
26463else
26464 as_expr=false
26465fi
13984 26466
13985rm -f conf$$ conf$$.exe conf$$.file 26467rm -f conf$$ conf$$.exe conf$$.file
13986if test -d conf$$.dir; then 26468if test -d conf$$.dir; then
@@ -14009,56 +26491,8 @@ fi
14009rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 26491rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14010rmdir conf$$.dir 2>/dev/null 26492rmdir conf$$.dir 2>/dev/null
14011 26493
14012
14013# as_fn_mkdir_p
14014# -------------
14015# Create "$as_dir" as a directory, including parents if necessary.
14016as_fn_mkdir_p ()
14017{
14018
14019 case $as_dir in #(
14020 -*) as_dir=./$as_dir;;
14021 esac
14022 test -d "$as_dir" || eval $as_mkdir_p || {
14023 as_dirs=
14024 while :; do
14025 case $as_dir in #(
14026 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14027 *) as_qdir=$as_dir;;
14028 esac
14029 as_dirs="'$as_qdir' $as_dirs"
14030 as_dir=`$as_dirname -- "$as_dir" ||
14031$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14032 X"$as_dir" : 'X\(//\)[^/]' \| \
14033 X"$as_dir" : 'X\(//\)$' \| \
14034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14035$as_echo X"$as_dir" |
14036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14037 s//\1/
14038 q
14039 }
14040 /^X\(\/\/\)[^/].*/{
14041 s//\1/
14042 q
14043 }
14044 /^X\(\/\/\)$/{
14045 s//\1/
14046 q
14047 }
14048 /^X\(\/\).*/{
14049 s//\1/
14050 q
14051 }
14052 s/.*/./; q'`
14053 test -d "$as_dir" && break
14054 done
14055 test -z "$as_dirs" || eval "mkdir $as_dirs"
14056 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14057
14058
14059} # as_fn_mkdir_p
14060if mkdir -p . 2>/dev/null; then 26494if mkdir -p . 2>/dev/null; then
14061 as_mkdir_p='mkdir -p "$as_dir"' 26495 as_mkdir_p=:
14062else 26496else
14063 test -d ./-p && rmdir ./-p 26497 test -d ./-p && rmdir ./-p
14064 as_mkdir_p=false 26498 as_mkdir_p=false
@@ -14077,10 +26511,10 @@ else
14077 if test -d "$1"; then 26511 if test -d "$1"; then
14078 test -d "$1/."; 26512 test -d "$1/.";
14079 else 26513 else
14080 case $1 in #( 26514 case $1 in
14081 -*)set "./$1";; 26515 -*)set "./$1";;
14082 esac; 26516 esac;
14083 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 26517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14084 ???[sx]*):;;*)false;;esac;fi 26518 ???[sx]*):;;*)false;;esac;fi
14085 '\'' sh 26519 '\'' sh
14086 ' 26520 '
@@ -14095,19 +26529,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14095 26529
14096 26530
14097exec 6>&1 26531exec 6>&1
14098## ----------------------------------- ##
14099## Main body of $CONFIG_STATUS script. ##
14100## ----------------------------------- ##
14101_ASEOF
14102test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14103 26532
14104cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26533# Save the log message, to keep $[0] and so on meaningful, and to
14105# Save the log message, to keep $0 and so on meaningful, and to
14106# report actual input values of CONFIG_FILES etc. instead of their 26534# report actual input values of CONFIG_FILES etc. instead of their
14107# values after options handling. 26535# values after options handling.
14108ac_log=" 26536ac_log="
14109This file was extended by emacs $as_me 24.0.50, which was 26537This file was extended by emacs $as_me 24.0.50, which was
14110generated by GNU Autoconf 2.65. Invocation command line was 26538generated by GNU Autoconf 2.62. Invocation command line was
14111 26539
14112 CONFIG_FILES = $CONFIG_FILES 26540 CONFIG_FILES = $CONFIG_FILES
14113 CONFIG_HEADERS = $CONFIG_HEADERS 26541 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -14120,15 +26548,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
14120 26548
14121_ACEOF 26549_ACEOF
14122 26550
14123case $ac_config_files in *"
14124"*) set x $ac_config_files; shift; ac_config_files=$*;;
14125esac
14126
14127case $ac_config_headers in *"
14128"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14129esac
14130
14131
14132cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26551cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14133# Files that config.status was made for. 26552# Files that config.status was made for.
14134config_files="$ac_config_files" 26553config_files="$ac_config_files"
@@ -14139,22 +26558,19 @@ _ACEOF
14139 26558
14140cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 26559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14141ac_cs_usage="\ 26560ac_cs_usage="\
14142\`$as_me' instantiates files and other configuration actions 26561\`$as_me' instantiates files from templates according to the
14143from templates according to the current configuration. Unless the files 26562current configuration.
14144and actions are specified as TAGs, all are instantiated by default.
14145 26563
14146Usage: $0 [OPTION]... [TAG]... 26564Usage: $0 [OPTIONS] [FILE]...
14147 26565
14148 -h, --help print this help, then exit 26566 -h, --help print this help, then exit
14149 -V, --version print version number and configuration settings, then exit 26567 -V, --version print version number and configuration settings, then exit
14150 --config print configuration, then exit 26568 -q, --quiet do not print progress messages
14151 -q, --quiet, --silent
14152 do not print progress messages
14153 -d, --debug don't remove temporary files 26569 -d, --debug don't remove temporary files
14154 --recheck update $as_me by reconfiguring in the same conditions 26570 --recheck update $as_me by reconfiguring in the same conditions
14155 --file=FILE[:TEMPLATE] 26571 --file=FILE[:TEMPLATE]
14156 instantiate the configuration file FILE 26572 instantiate the configuration file FILE
14157 --header=FILE[:TEMPLATE] 26573 --header=FILE[:TEMPLATE]
14158 instantiate the configuration header FILE 26574 instantiate the configuration header FILE
14159 26575
14160Configuration files: 26576Configuration files:
@@ -14166,17 +26582,16 @@ $config_headers
14166Configuration commands: 26582Configuration commands:
14167$config_commands 26583$config_commands
14168 26584
14169Report bugs to the package provider." 26585Report bugs to <bug-autoconf@gnu.org>."
14170 26586
14171_ACEOF 26587_ACEOF
14172cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26588cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14173ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14174ac_cs_version="\\ 26589ac_cs_version="\\
14175emacs config.status 24.0.50 26590emacs config.status 24.0.50
14176configured by $0, generated by GNU Autoconf 2.65, 26591configured by $0, generated by GNU Autoconf 2.62,
14177 with options \\"\$ac_cs_config\\" 26592 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14178 26593
14179Copyright (C) 2009 Free Software Foundation, Inc. 26594Copyright (C) 2008 Free Software Foundation, Inc.
14180This config.status script is free software; the Free Software Foundation 26595This config.status script is free software; the Free Software Foundation
14181gives unlimited permission to copy, distribute and modify it." 26596gives unlimited permission to copy, distribute and modify it."
14182 26597
@@ -14210,8 +26625,6 @@ do
14210 ac_cs_recheck=: ;; 26625 ac_cs_recheck=: ;;
14211 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 26626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14212 $as_echo "$ac_cs_version"; exit ;; 26627 $as_echo "$ac_cs_version"; exit ;;
14213 --config | --confi | --conf | --con | --co | --c )
14214 $as_echo "$ac_cs_config"; exit ;;
14215 --debug | --debu | --deb | --de | --d | -d ) 26628 --debug | --debu | --deb | --de | --d | -d )
14216 debug=: ;; 26629 debug=: ;;
14217 --file | --fil | --fi | --f ) 26630 --file | --fil | --fi | --f )
@@ -14219,19 +26632,20 @@ do
14219 case $ac_optarg in 26632 case $ac_optarg in
14220 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 26633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14221 esac 26634 esac
14222 as_fn_append CONFIG_FILES " '$ac_optarg'" 26635 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14223 ac_need_defaults=false;; 26636 ac_need_defaults=false;;
14224 --header | --heade | --head | --hea ) 26637 --header | --heade | --head | --hea )
14225 $ac_shift 26638 $ac_shift
14226 case $ac_optarg in 26639 case $ac_optarg in
14227 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 26640 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14228 esac 26641 esac
14229 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 26642 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14230 ac_need_defaults=false;; 26643 ac_need_defaults=false;;
14231 --he | --h) 26644 --he | --h)
14232 # Conflict between --help and --header 26645 # Conflict between --help and --header
14233 as_fn_error "ambiguous option: \`$1' 26646 { $as_echo "$as_me: error: ambiguous option: $1
14234Try \`$0 --help' for more information.";; 26647Try \`$0 --help' for more information." >&2
26648 { (exit 1); exit 1; }; };;
14235 --help | --hel | -h ) 26649 --help | --hel | -h )
14236 $as_echo "$ac_cs_usage"; exit ;; 26650 $as_echo "$ac_cs_usage"; exit ;;
14237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 26651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -14239,10 +26653,11 @@ Try \`$0 --help' for more information.";;
14239 ac_cs_silent=: ;; 26653 ac_cs_silent=: ;;
14240 26654
14241 # This is an error. 26655 # This is an error.
14242 -*) as_fn_error "unrecognized option: \`$1' 26656 -*) { $as_echo "$as_me: error: unrecognized option: $1
14243Try \`$0 --help' for more information." ;; 26657Try \`$0 --help' for more information." >&2
26658 { (exit 1); exit 1; }; } ;;
14244 26659
14245 *) as_fn_append ac_config_targets " $1" 26660 *) ac_config_targets="$ac_config_targets $1"
14246 ac_need_defaults=false ;; 26661 ac_need_defaults=false ;;
14247 26662
14248 esac 26663 esac
@@ -14307,7 +26722,9 @@ do
14307 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 26722 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
14308 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 26723 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
14309 26724
14310 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 26725 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26726$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26727 { (exit 1); exit 1; }; };;
14311 esac 26728 esac
14312done 26729done
14313 26730
@@ -14334,7 +26751,7 @@ $debug ||
14334 trap 'exit_status=$? 26751 trap 'exit_status=$?
14335 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 26752 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14336' 0 26753' 0
14337 trap 'as_fn_exit 1' 1 2 13 15 26754 trap '{ (exit 1); exit 1; }' 1 2 13 15
14338} 26755}
14339# Create a (secure) tmp directory for tmp files. 26756# Create a (secure) tmp directory for tmp files.
14340 26757
@@ -14345,7 +26762,11 @@ $debug ||
14345{ 26762{
14346 tmp=./conf$$-$RANDOM 26763 tmp=./conf$$-$RANDOM
14347 (umask 077 && mkdir "$tmp") 26764 (umask 077 && mkdir "$tmp")
14348} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 26765} ||
26766{
26767 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26768 { (exit 1); exit 1; }
26769}
14349 26770
14350# Set up the scripts for CONFIG_FILES section. 26771# Set up the scripts for CONFIG_FILES section.
14351# No need to generate them if there are no CONFIG_FILES. 26772# No need to generate them if there are no CONFIG_FILES.
@@ -14353,16 +26774,10 @@ $debug ||
14353if test -n "$CONFIG_FILES"; then 26774if test -n "$CONFIG_FILES"; then
14354 26775
14355 26776
14356ac_cr=`echo X | tr X '\015'` 26777ac_cr=' '
14357# On cygwin, bash can eat \r inside `` if the user requested igncr.
14358# But we know of no other shell where ac_cr would be empty at this
14359# point, so we can use a bashism as a fallback.
14360if test "x$ac_cr" = x; then
14361 eval ac_cr=\$\'\\r\'
14362fi
14363ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 26778ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14364if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 26779if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14365 ac_cs_awk_cr='\r' 26780 ac_cs_awk_cr='\\r'
14366else 26781else
14367 ac_cs_awk_cr=$ac_cr 26782 ac_cs_awk_cr=$ac_cr
14368fi 26783fi
@@ -14376,18 +26791,23 @@ _ACEOF
14376 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 26791 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14377 echo "_ACEOF" 26792 echo "_ACEOF"
14378} >conf$$subs.sh || 26793} >conf$$subs.sh ||
14379 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 26794 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26795$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26796 { (exit 1); exit 1; }; }
14380ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 26797ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14381ac_delim='%!_!# ' 26798ac_delim='%!_!# '
14382for ac_last_try in false false false false false :; do 26799for ac_last_try in false false false false false :; do
14383 . ./conf$$subs.sh || 26800 . ./conf$$subs.sh ||
14384 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 26801 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26802$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26803 { (exit 1); exit 1; }; }
14385 26804
14386 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 26805 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14387 if test $ac_delim_n = $ac_delim_num; then
14388 break 26806 break
14389 elif $ac_last_try; then 26807 elif $ac_last_try; then
14390 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 26808 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26809$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26810 { (exit 1); exit 1; }; }
14391 else 26811 else
14392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26812 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14393 fi 26813 fi
@@ -14409,7 +26829,7 @@ s/'"$ac_delim"'$//
14409t delim 26829t delim
14410:nl 26830:nl
14411h 26831h
14412s/\(.\{148\}\)..*/\1/ 26832s/\(.\{148\}\).*/\1/
14413t more1 26833t more1
14414s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 26834s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14415p 26835p
@@ -14423,7 +26843,7 @@ s/.\{148\}//
14423t nl 26843t nl
14424:delim 26844:delim
14425h 26845h
14426s/\(.\{148\}\)..*/\1/ 26846s/\(.\{148\}\).*/\1/
14427t more2 26847t more2
14428s/["\\]/\\&/g; s/^/"/; s/$/"/ 26848s/["\\]/\\&/g; s/^/"/; s/$/"/
14429p 26849p
@@ -14476,7 +26896,9 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14476else 26896else
14477 cat 26897 cat
14478fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 26898fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14479 || as_fn_error "could not setup config files machinery" "$LINENO" 5 26899 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26900$as_echo "$as_me: error: could not setup config files machinery" >&2;}
26901 { (exit 1); exit 1; }; }
14480_ACEOF 26902_ACEOF
14481 26903
14482# VPATH may cause trouble with some makes, so we remove $(srcdir), 26904# VPATH may cause trouble with some makes, so we remove $(srcdir),
@@ -14517,7 +26939,9 @@ for ac_last_try in false false :; do
14517 if test -z "$ac_t"; then 26939 if test -z "$ac_t"; then
14518 break 26940 break
14519 elif $ac_last_try; then 26941 elif $ac_last_try; then
14520 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 26942 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26943$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26944 { (exit 1); exit 1; }; }
14521 else 26945 else
14522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26946 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14523 fi 26947 fi
@@ -14583,9 +27007,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14583 } 27007 }
14584 split(mac1, mac2, "(") #) 27008 split(mac1, mac2, "(") #)
14585 macro = mac2[1] 27009 macro = mac2[1]
14586 prefix = substr(line, 1, index(line, defundef) - 1)
14587 if (D_is_set[macro]) { 27010 if (D_is_set[macro]) {
14588 # Preserve the white space surrounding the "#". 27011 # Preserve the white space surrounding the "#".
27012 prefix = substr(line, 1, index(line, defundef) - 1)
14589 print prefix "define", macro P[macro] D[macro] 27013 print prefix "define", macro P[macro] D[macro]
14590 next 27014 next
14591 } else { 27015 } else {
@@ -14593,7 +27017,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14593 # in the case of _POSIX_SOURCE, which is predefined and required 27017 # in the case of _POSIX_SOURCE, which is predefined and required
14594 # on some systems where configure will not decide to define it. 27018 # on some systems where configure will not decide to define it.
14595 if (defundef == "undef") { 27019 if (defundef == "undef") {
14596 print "/*", prefix defundef, macro, "*/" 27020 print "/*", line, "*/"
14597 next 27021 next
14598 } 27022 }
14599 } 27023 }
@@ -14602,7 +27026,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14602_ACAWK 27026_ACAWK
14603_ACEOF 27027_ACEOF
14604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 27028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14605 as_fn_error "could not setup config headers machinery" "$LINENO" 5 27029 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
27030$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
27031 { (exit 1); exit 1; }; }
14606fi # test -n "$CONFIG_HEADERS" 27032fi # test -n "$CONFIG_HEADERS"
14607 27033
14608 27034
@@ -14615,7 +27041,9 @@ do
14615 esac 27041 esac
14616 case $ac_mode$ac_tag in 27042 case $ac_mode$ac_tag in
14617 :[FHL]*:*);; 27043 :[FHL]*:*);;
14618 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 27044 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27045$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27046 { (exit 1); exit 1; }; };;
14619 :[FH]-) ac_tag=-:-;; 27047 :[FH]-) ac_tag=-:-;;
14620 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 27048 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14621 esac 27049 esac
@@ -14643,10 +27071,12 @@ do
14643 [\\/$]*) false;; 27071 [\\/$]*) false;;
14644 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 27072 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14645 esac || 27073 esac ||
14646 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 27074 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27075$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27076 { (exit 1); exit 1; }; };;
14647 esac 27077 esac
14648 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 27078 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14649 as_fn_append ac_file_inputs " '$ac_f'" 27079 ac_file_inputs="$ac_file_inputs '$ac_f'"
14650 done 27080 done
14651 27081
14652 # Let's still pretend it is `configure' which instantiates (i.e., don't 27082 # Let's still pretend it is `configure' which instantiates (i.e., don't
@@ -14657,7 +27087,7 @@ do
14657 `' by configure.' 27087 `' by configure.'
14658 if test x"$ac_file" != x-; then 27088 if test x"$ac_file" != x-; then
14659 configure_input="$ac_file. $configure_input" 27089 configure_input="$ac_file. $configure_input"
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 27090 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14661$as_echo "$as_me: creating $ac_file" >&6;} 27091$as_echo "$as_me: creating $ac_file" >&6;}
14662 fi 27092 fi
14663 # Neutralize special characters interpreted by sed in replacement strings. 27093 # Neutralize special characters interpreted by sed in replacement strings.
@@ -14670,7 +27100,9 @@ $as_echo "$as_me: creating $ac_file" >&6;}
14670 27100
14671 case $ac_tag in 27101 case $ac_tag in
14672 *:-:* | *:-) cat >"$tmp/stdin" \ 27102 *:-:* | *:-) cat >"$tmp/stdin" \
14673 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 27103 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27104$as_echo "$as_me: error: could not create $ac_file" >&2;}
27105 { (exit 1); exit 1; }; } ;;
14674 esac 27106 esac
14675 ;; 27107 ;;
14676 esac 27108 esac
@@ -14698,7 +27130,47 @@ $as_echo X"$ac_file" |
14698 q 27130 q
14699 } 27131 }
14700 s/.*/./; q'` 27132 s/.*/./; q'`
14701 as_dir="$ac_dir"; as_fn_mkdir_p 27133 { as_dir="$ac_dir"
27134 case $as_dir in #(
27135 -*) as_dir=./$as_dir;;
27136 esac
27137 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27138 as_dirs=
27139 while :; do
27140 case $as_dir in #(
27141 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27142 *) as_qdir=$as_dir;;
27143 esac
27144 as_dirs="'$as_qdir' $as_dirs"
27145 as_dir=`$as_dirname -- "$as_dir" ||
27146$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27147 X"$as_dir" : 'X\(//\)[^/]' \| \
27148 X"$as_dir" : 'X\(//\)$' \| \
27149 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27150$as_echo X"$as_dir" |
27151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27152 s//\1/
27153 q
27154 }
27155 /^X\(\/\/\)[^/].*/{
27156 s//\1/
27157 q
27158 }
27159 /^X\(\/\/\)$/{
27160 s//\1/
27161 q
27162 }
27163 /^X\(\/\).*/{
27164 s//\1/
27165 q
27166 }
27167 s/.*/./; q'`
27168 test -d "$as_dir" && break
27169 done
27170 test -z "$as_dirs" || eval "mkdir $as_dirs"
27171 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27172$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27173 { (exit 1); exit 1; }; }; }
14702 ac_builddir=. 27174 ac_builddir=.
14703 27175
14704case "$ac_dir" in 27176case "$ac_dir" in
@@ -14750,6 +27222,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14750# If the template does not know about datarootdir, expand it. 27222# If the template does not know about datarootdir, expand it.
14751# FIXME: This hack should be removed a few years after 2.60. 27223# FIXME: This hack should be removed a few years after 2.60.
14752ac_datarootdir_hack=; ac_datarootdir_seen= 27224ac_datarootdir_hack=; ac_datarootdir_seen=
27225
14753ac_sed_dataroot=' 27226ac_sed_dataroot='
14754/datarootdir/ { 27227/datarootdir/ {
14755 p 27228 p
@@ -14759,11 +27232,12 @@ ac_sed_dataroot='
14759/@docdir@/p 27232/@docdir@/p
14760/@infodir@/p 27233/@infodir@/p
14761/@localedir@/p 27234/@localedir@/p
14762/@mandir@/p' 27235/@mandir@/p
27236'
14763case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 27237case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14764*datarootdir*) ac_datarootdir_seen=yes;; 27238*datarootdir*) ac_datarootdir_seen=yes;;
14765*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 27239*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 27240 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14767$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 27241$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14768_ACEOF 27242_ACEOF
14769cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 27243cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -14773,7 +27247,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14773 s&@infodir@&$infodir&g 27247 s&@infodir@&$infodir&g
14774 s&@localedir@&$localedir&g 27248 s&@localedir@&$localedir&g
14775 s&@mandir@&$mandir&g 27249 s&@mandir@&$mandir&g
14776 s&\\\${datarootdir}&$datarootdir&g' ;; 27250 s&\\\${datarootdir}&$datarootdir&g' ;;
14777esac 27251esac
14778_ACEOF 27252_ACEOF
14779 27253
@@ -14801,12 +27275,14 @@ s&@INSTALL@&$ac_INSTALL&;t t
14801$ac_datarootdir_hack 27275$ac_datarootdir_hack
14802" 27276"
14803eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 27277eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14804 || as_fn_error "could not create $ac_file" "$LINENO" 5 27278 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27279$as_echo "$as_me: error: could not create $ac_file" >&2;}
27280 { (exit 1); exit 1; }; }
14805 27281
14806test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 27282test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14807 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 27283 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14808 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 27284 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 27285 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14810which seems to be undefined. Please make sure it is defined." >&5 27286which seems to be undefined. Please make sure it is defined." >&5
14811$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 27287$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14812which seems to be undefined. Please make sure it is defined." >&2;} 27288which seems to be undefined. Please make sure it is defined." >&2;}
@@ -14816,7 +27292,9 @@ which seems to be undefined. Please make sure it is defined." >&2;}
14816 -) cat "$tmp/out" && rm -f "$tmp/out";; 27292 -) cat "$tmp/out" && rm -f "$tmp/out";;
14817 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 27293 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14818 esac \ 27294 esac \
14819 || as_fn_error "could not create $ac_file" "$LINENO" 5 27295 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27296$as_echo "$as_me: error: could not create $ac_file" >&2;}
27297 { (exit 1); exit 1; }; }
14820 ;; 27298 ;;
14821 :H) 27299 :H)
14822 # 27300 #
@@ -14827,23 +27305,29 @@ which seems to be undefined. Please make sure it is defined." >&2;}
14827 $as_echo "/* $configure_input */" \ 27305 $as_echo "/* $configure_input */" \
14828 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 27306 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14829 } >"$tmp/config.h" \ 27307 } >"$tmp/config.h" \
14830 || as_fn_error "could not create $ac_file" "$LINENO" 5 27308 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27309$as_echo "$as_me: error: could not create $ac_file" >&2;}
27310 { (exit 1); exit 1; }; }
14831 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 27311 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 27312 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14833$as_echo "$as_me: $ac_file is unchanged" >&6;} 27313$as_echo "$as_me: $ac_file is unchanged" >&6;}
14834 else 27314 else
14835 rm -f "$ac_file" 27315 rm -f "$ac_file"
14836 mv "$tmp/config.h" "$ac_file" \ 27316 mv "$tmp/config.h" "$ac_file" \
14837 || as_fn_error "could not create $ac_file" "$LINENO" 5 27317 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27318$as_echo "$as_me: error: could not create $ac_file" >&2;}
27319 { (exit 1); exit 1; }; }
14838 fi 27320 fi
14839 else 27321 else
14840 $as_echo "/* $configure_input */" \ 27322 $as_echo "/* $configure_input */" \
14841 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 27323 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14842 || as_fn_error "could not create -" "$LINENO" 5 27324 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
27325$as_echo "$as_me: error: could not create -" >&2;}
27326 { (exit 1); exit 1; }; }
14843 fi 27327 fi
14844 ;; 27328 ;;
14845 27329
14846 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 27330 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14847$as_echo "$as_me: executing $ac_file commands" >&6;} 27331$as_echo "$as_me: executing $ac_file commands" >&6;}
14848 ;; 27332 ;;
14849 esac 27333 esac
@@ -14914,12 +27398,15 @@ fi
14914done # for ac_tag 27398done # for ac_tag
14915 27399
14916 27400
14917as_fn_exit 0 27401{ (exit 0); exit 0; }
14918_ACEOF 27402_ACEOF
27403chmod +x $CONFIG_STATUS
14919ac_clean_files=$ac_clean_files_save 27404ac_clean_files=$ac_clean_files_save
14920 27405
14921test $ac_write_fail = 0 || 27406test $ac_write_fail = 0 ||
14922 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 27407 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
27408$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
27409 { (exit 1); exit 1; }; }
14923 27410
14924 27411
14925# configure is writing to config.log, and then calls config.status. 27412# configure is writing to config.log, and then calls config.status.
@@ -14940,11 +27427,11 @@ if test "$no_create" != yes; then
14940 exec 5>>config.log 27427 exec 5>>config.log
14941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 27428 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14942 # would make configure fail if this is the last instruction. 27429 # would make configure fail if this is the last instruction.
14943 $ac_cs_success || as_fn_exit $? 27430 $ac_cs_success || { (exit 1); exit 1; }
14944fi 27431fi
14945if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 27432if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 27433 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
14947$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 27434$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
14948fi 27435fi
14949 27436
14950 27437
diff --git a/src/config.in b/src/config.in
index 7999e101efc..654f32346ec 100644
--- a/src/config.in
+++ b/src/config.in
@@ -333,9 +333,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
333/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 333/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
334#undef HAVE_LANGINFO_CODESET 334#undef HAVE_LANGINFO_CODESET
335 335
336/* Define to 1 if the directory /usr/lib64 exists. */
337#undef HAVE_LIB64_DIR
338
339/* Define to 1 if you have the `com_err' library (-lcom_err). */ 336/* Define to 1 if you have the `com_err' library (-lcom_err). */
340#undef HAVE_LIBCOM_ERR 337#undef HAVE_LIBCOM_ERR
341 338