aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2010-04-26 20:47:47 -0700
committerDan Nicolaescu2010-04-26 20:47:47 -0700
commitaaa36002bef7223e1dce0b0431d54f728ef589ba (patch)
tree400345a8c530aab9ce268471273dc0fd659441a2
parent8ea5f2d92ff7d9d3c243e76c67ed99f25c2bdae2 (diff)
downloademacs-aaa36002bef7223e1dce0b0431d54f728ef589ba.tar.gz
emacs-aaa36002bef7223e1dce0b0431d54f728ef589ba.zip
Reduce CPP usage.
* Makefile.in (LIB_X11_LIB): Remove, inline in the only user. (obj): Use autoconf for unexec instead of cpp. * configure.in (LIB_X11_LIB): Remove, inline in the only user. (unexec): Define unconditionally, all platforms define UNEXEC. AC_SUBST it. (UNEXEC_SRC): Remove, unused.
-rw-r--r--ChangeLog8
-rwxr-xr-xconfigure18942
-rw-r--r--configure.in13
-rw-r--r--src/ChangeLog6
-rw-r--r--src/Makefile.in8
-rw-r--r--src/config.in68
6 files changed, 3289 insertions, 15756 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a70a00484a..dd9b04f4244 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
12010-04-27 Dan Nicolaescu <dann@ics.uci.edu>
2
3 Reduce CPP usage.
4 * configure.in (LIB_X11_LIB): Remove, inline in the only user.
5 (unexec): Define unconditionally, all platforms define
6 UNEXEC. AC_SUBST it.
7 (UNEXEC_SRC): Remove, unused.
8
12010-04-27 Glenn Morris <rgm@gnu.org> 92010-04-27 Glenn Morris <rgm@gnu.org>
2 10
3 * configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs, 11 * configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs,
diff --git a/configure b/configure
index cf4b43fd09a..90ee24fdb5c 100755
--- a/configure
+++ b/configure
@@ -1,18 +1,22 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.62 for emacs 24.0.50. 3# Generated by GNU Autoconf 2.65 for emacs 24.0.50.
4#
4# 5#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Inc.
9#
10#
7# This configure script is free software; the Free Software Foundation 11# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 12# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 13## -------------------- ##
10## M4sh Initialization. ## 14## M4sh Initialization. ##
11## --------------------- ## 15## -------------------- ##
12 16
13# Be more Bourne compatible 17# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh 18DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 emulate sh 20 emulate sh
17 NULLCMD=: 21 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -20,23 +24,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 alias -g '${1+"$@"}'='"$@"' 24 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST 25 setopt NO_GLOB_SUBST
22else 26else
23 case `(set -o) 2>/dev/null` in 27 case `(set -o) 2>/dev/null` in #(
24 *posix*) set -o posix ;; 28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
25esac 32esac
26
27fi 33fi
28 34
29 35
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40as_nl=' 36as_nl='
41' 37'
42export as_nl 38export as_nl
@@ -44,7 +40,13 @@ export as_nl
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n' 50 as_echo='printf %s\n'
49 as_echo_n='printf %s' 51 as_echo_n='printf %s'
50else 52else
@@ -55,7 +57,7 @@ else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval 58 as_echo_n_body='eval
57 arg=$1; 59 arg=$1;
58 case $arg in 60 case $arg in #(
59 *"$as_nl"*) 61 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl"; 62 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -78,13 +80,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
78 } 80 }
79fi 81fi
80 82
81# Support unset when possible.
82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84else
85 as_unset=false
86fi
87
88 83
89# IFS 84# IFS
90# We need space, tab and new line, in precisely that order. Quoting is 85# We need space, tab and new line, in precisely that order. Quoting is
@@ -94,15 +89,15 @@ fi
94IFS=" "" $as_nl" 89IFS=" "" $as_nl"
95 90
96# Find who we are. Look in the path if we contain no directory separator. 91# Find who we are. Look in the path if we contain no directory separator.
97case $0 in 92case $0 in #((
98 *[\\/]* ) as_myself=$0 ;; 93 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH 95for as_dir in $PATH
101do 96do
102 IFS=$as_save_IFS 97 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=. 98 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105done 100 done
106IFS=$as_save_IFS 101IFS=$as_save_IFS
107 102
108 ;; 103 ;;
@@ -114,12 +109,16 @@ if test "x$as_myself" = x; then
114fi 109fi
115if test ! -f "$as_myself"; then 110if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; } 112 exit 1
118fi 113fi
119 114
120# Work around bugs in pre-3.0 UWIN ksh. 115# Unset variables that we do not need and which cause bugs (e.g. in
121for as_var in ENV MAIL MAILPATH 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 117# suppresses any "Segmentation fault" message there. '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done 122done
124PS1='$ ' 123PS1='$ '
125PS2='> ' 124PS2='> '
@@ -131,330 +130,299 @@ export LC_ALL
131LANGUAGE=C 130LANGUAGE=C
132export LANGUAGE 131export LANGUAGE
133 132
134# Required to use basename.
135if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138else
139 as_expr=false
140fi
141
142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144else
145 as_basename=false
146fi
147
148
149# Name of the executable.
150as_me=`$as_basename -- "$0" ||
151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154$as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
157 q
158 }
159 /^X\/\(\/\/\)$/{
160 s//\1/
161 q
162 }
163 /^X\/\(\/\).*/{
164 s//\1/
165 q
166 }
167 s/.*/./; q'`
168
169# CDPATH. 133# CDPATH.
170$as_unset CDPATH 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
171
172 135
173if test "x$CONFIG_SHELL" = x; then 136if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
175 as_have_required=yes 138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
176else 144else
177 as_have_required=no 145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150esac
178fi 151fi
179 152"
180 if test $as_have_required = yes && (eval ": 153 as_required="as_fn_return () { (exit \$1); }
181(as_func_return () { 154as_fn_success () { as_fn_return 0; }
182 (exit \$1) 155as_fn_failure () { as_fn_return 1; }
183} 156as_fn_ret_success () { return 0; }
184as_func_success () { 157as_fn_ret_failure () { return 1; }
185 as_func_return 0
186}
187as_func_failure () {
188 as_func_return 1
189}
190as_func_ret_success () {
191 return 0
192}
193as_func_ret_failure () {
194 return 1
195}
196 158
197exitcode=0 159exitcode=0
198if as_func_success; then 160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
199 : 161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
200else 162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
201 exitcode=1 163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
202 echo as_func_success failed. 164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
203fi 165
204 166else
205if as_func_failure; then 167 exitcode=1; echo positional parameters were not saved.
206 exitcode=1 168fi
207 echo as_func_failure succeeded. 169test x\$exitcode = x0 || exit 1"
208fi 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
209 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
210if as_func_ret_success; then 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211 : 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
212else 174test \$(( 1 + 1 )) = 2 || exit 1"
213 exitcode=1 175 if (eval "$as_required") 2>/dev/null; then :
214 echo as_func_ret_success failed. 176 as_have_required=yes
215fi
216
217if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
220fi
221
222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 :
224else 177else
225 exitcode=1 178 as_have_required=no
226 echo positional parameters were not saved.
227fi 179fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
228 181
229test \$exitcode = 0) || { (exit 1); exit 1; }
230
231(
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236") 2> /dev/null; then
237 :
238else 182else
239 as_candidate_shells= 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184as_found=false
241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242do 186do
243 IFS=$as_save_IFS 187 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=. 188 test -z "$as_dir" && as_dir=.
245 case $as_dir in 189 as_found=:
190 case $as_dir in #(
246 /*) 191 /*)
247 for as_base in sh bash ksh sh5; do 192 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200fi
201fi
249 done;; 202 done;;
250 esac 203 esac
204 as_found=false
251done 205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
252IFS=$as_save_IFS 210IFS=$as_save_IFS
253 211
254 212
255 for as_shell in $as_candidate_shells $SHELL; do 213 if test "x$CONFIG_SHELL" != x; then :
256 # Try only shells that exist, to save several forks. 214 # We cannot yet assume a decent shell, so we have to provide a
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 215 # neutralization value for shells without unset; and this also
258 { ("$as_shell") 2> /dev/null <<\_ASEOF 216 # works around shells that cannot unset nonexistent variables.
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 217 BASH_ENV=/dev/null
260 emulate sh 218 ENV=/dev/null
261 NULLCMD=: 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269esac
270
271fi
272
273
274:
275_ASEOF
276}; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290esac
291
292fi
293
294
295:
296(as_func_return () {
297 (exit $1)
298}
299as_func_success () {
300 as_func_return 0
301}
302as_func_failure () {
303 as_func_return 1
304}
305as_func_ret_success () {
306 return 0
307}
308as_func_ret_failure () {
309 return 1
310}
311
312exitcode=0
313if as_func_success; then
314 :
315else
316 exitcode=1
317 echo as_func_success failed.
318fi
319
320if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
323fi
324
325if as_func_ret_success; then
326 :
327else
328 exitcode=1
329 echo as_func_ret_success failed.
330fi
331
332if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
335fi
336
337if ( set x; as_func_ret_success y && test x = "$1" ); then
338 :
339else
340 exitcode=1
341 echo positional parameters were not saved.
342fi
343
344test $exitcode = 0) || { (exit 1); exit 1; }
345
346(
347 as_lineno_1=$LINENO
348 as_lineno_2=$LINENO
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352_ASEOF
353}; then
354 break
355fi
356
357fi
358
359 done
360
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL 220 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi 222fi
368 223
369 224 if test x$as_have_required = xno; then :
370 if test $as_have_required = no; then 225 $as_echo "$0: This script requires a shell more modern than all"
371 echo This script requires a shell more modern than all the 226 $as_echo "$0: the shells that I found on your system."
372 echo shells that I found on your system. Please install a 227 if test x${ZSH_VERSION+set} = xset ; then
373 echo modern shell, or manually run the script under such a 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
374 echo shell if you do have one. 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
375 { (exit 1); exit 1; } 230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235 fi
236 exit 1
376fi 237fi
377
378
379fi 238fi
380
381fi 239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254 { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
382 257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263 return $1
264} # as_fn_set_status
383 265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271 set +e
272 as_fn_set_status $1
273 exit $1
274} # as_fn_exit
384 275
385(eval "as_func_return () { 276# as_fn_mkdir_p
386 (exit \$1) 277# -------------
387} 278# Create "$as_dir" as a directory, including parents if necessary.
388as_func_success () { 279as_fn_mkdir_p ()
389 as_func_return 0 280{
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 281
401exitcode=0 282 case $as_dir in #(
402if as_func_success; then 283 -*) as_dir=./$as_dir;;
403 : 284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
404else 334else
405 exitcode=1 335 as_fn_append ()
406 echo as_func_success failed. 336 {
407fi 337 eval $1=\$$1\$2
338 }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356fi # as_fn_arith
408 357
409if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
412fi
413 358
414if as_func_ret_success; then 359# as_fn_error ERROR [LINENO LOG_FD]
415 : 360# ---------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0.
364as_fn_error ()
365{
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
416else 378else
417 exitcode=1 379 as_expr=false
418 echo as_func_ret_success failed.
419fi 380fi
420 381
421if as_func_ret_failure; then 382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
422 exitcode=1 383 as_basename=basename
423 echo as_func_ret_failure succeeded. 384else
385 as_basename=false
424fi 386fi
425 387
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
427 : 389 as_dirname=dirname
428else 390else
429 exitcode=1 391 as_dirname=false
430 echo positional parameters were not saved.
431fi 392fi
432 393
433test \$exitcode = 0") || { 394as_me=`$as_basename -- "$0" ||
434 echo No shell found that supports shell functions. 395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
435 echo Please tell bug-autoconf@gnu.org about your system, 396 X"$0" : 'X\(//\)$' \| \
436 echo including any error possibly output before this message. 397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
437 echo This can help us improve future autoconf versions. 398$as_echo X/"$0" |
438 echo Configuration will now proceed without shell functions. 399 sed '/^.*\/\([^/][^/]*\)\/*$/{
439} 400 s//\1/
440 401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
441 412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
442 419
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447 420
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
450 # line-number line after each line using $LINENO; the second 'sed' 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
451 # does the real work. The second script uses 'N' to pair each 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
452 # line-number line with the line containing $LINENO, and appends 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n ' 426 sed -n '
459 p 427 p
460 /[$]LINENO/= 428 /[$]LINENO/=
@@ -471,8 +439,7 @@ test \$exitcode = 0") || {
471 s/-\n.*// 439 s/-\n.*//
472 ' >$as_me.lineno && 440 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" || 441 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475 { (exit 1); exit 1; }; }
476 443
477 # Don't try to exec as it changes $[0], causing all sort of problems 444 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the 445 # (the dirname of $[0] is not the place where we might find the
@@ -482,29 +449,18 @@ test \$exitcode = 0") || {
482 exit 449 exit
483} 450}
484 451
485
486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488else
489 as_dirname=false
490fi
491
492ECHO_C= ECHO_N= ECHO_T= 452ECHO_C= ECHO_N= ECHO_T=
493case `echo -n x` in 453case `echo -n x` in #(((((
494-n*) 454-n*)
495 case `echo 'x\c'` in 455 case `echo 'xy\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
498 esac;; 460 esac;;
499*) 461*)
500 ECHO_N='-n';; 462 ECHO_N='-n';;
501esac 463esac
502if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505else
506 as_expr=false
507fi
508 464
509rm -f conf$$ conf$$.exe conf$$.file 465rm -f conf$$ conf$$.exe conf$$.file
510if test -d conf$$.dir; then 466if test -d conf$$.dir; then
@@ -534,7 +490,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534rmdir conf$$.dir 2>/dev/null 490rmdir conf$$.dir 2>/dev/null
535 491
536if mkdir -p . 2>/dev/null; then 492if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=: 493 as_mkdir_p='mkdir -p "$as_dir"'
538else 494else
539 test -d ./-p && rmdir ./-p 495 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false 496 as_mkdir_p=false
@@ -553,10 +509,10 @@ else
553 if test -d "$1"; then 509 if test -d "$1"; then
554 test -d "$1/."; 510 test -d "$1/.";
555 else 511 else
556 case $1 in 512 case $1 in #(
557 -*)set "./$1";; 513 -*)set "./$1";;
558 esac; 514 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560 ???[sx]*):;;*)false;;esac;fi 516 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh 517 '\'' sh
562 ' 518 '
@@ -570,8 +526,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571 527
572 528
573 529test -n "$DJDIR" || exec 7<&0 </dev/null
574exec 7<&0 </dev/null 6>&1 530exec 6>&1
575 531
576# Name of the host. 532# Name of the host.
577# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -589,7 +545,6 @@ cross_compiling=no
589subdirs= 545subdirs=
590MFLAGS= 546MFLAGS=
591MAKEFLAGS= 547MAKEFLAGS=
592SHELL=${CONFIG_SHELL-/bin/sh}
593 548
594# Identity of this package. 549# Identity of this package.
595PACKAGE_NAME='emacs' 550PACKAGE_NAME='emacs'
@@ -597,6 +552,7 @@ PACKAGE_TARNAME='emacs'
597PACKAGE_VERSION='24.0.50' 552PACKAGE_VERSION='24.0.50'
598PACKAGE_STRING='emacs 24.0.50' 553PACKAGE_STRING='emacs 24.0.50'
599PACKAGE_BUGREPORT='' 554PACKAGE_BUGREPORT=''
555PACKAGE_URL=''
600 556
601ac_unique_file="src/lisp.h" 557ac_unique_file="src/lisp.h"
602# Factoring default headers for most tests. 558# Factoring default headers for most tests.
@@ -638,161 +594,163 @@ ac_includes_default="\
638ac_config_libobj_dir=src 594ac_config_libobj_dir=src
639ac_header_list= 595ac_header_list=
640ac_func_list= 596ac_func_list=
641ac_subst_vars='SHELL 597ac_subst_vars='LTLIBOBJS
642PATH_SEPARATOR
643PACKAGE_NAME
644PACKAGE_TARNAME
645PACKAGE_VERSION
646PACKAGE_STRING
647PACKAGE_BUGREPORT
648exec_prefix
649prefix
650program_transform_name
651bindir
652sbindir
653libexecdir
654datarootdir
655datadir
656sysconfdir
657sharedstatedir
658localstatedir
659includedir
660oldincludedir
661docdir
662infodir
663htmldir
664dvidir
665pdfdir
666psdir
667libdir
668localedir
669mandir
670DEFS
671ECHO_C
672ECHO_N
673ECHO_T
674LIBS
675build_alias
676host_alias
677target_alias
678MAINT
679build
680build_cpu
681build_vendor
682build_os
683host
684host_cpu
685host_vendor
686host_os
687CC
688CFLAGS
689LDFLAGS
690CPPFLAGS
691ac_ct_CC
692EXEEXT
693OBJEXT
694CPP
695GREP
696EGREP
697LN_S
698INSTALL_PROGRAM
699INSTALL_SCRIPT
700INSTALL_DATA
701RANLIB
702INSTALL_INFO
703GZIP_PROG
704MAKEINFO
705LIB_MATH
706CRT_DIR
707LIBSOUND
708PKG_CONFIG
709ALSA_CFLAGS
710ALSA_LIBS
711CFLAGS_SOUND
712SET_MAKE
713XMKMF
714HAVE_XSERVER
715RSVG_CFLAGS
716RSVG_LIBS
717GTK_CFLAGS
718GTK_LIBS
719GTK_OBJ
720DBUS_CFLAGS
721DBUS_LIBS
722DBUS_OBJ
723GCONF_CFLAGS
724GCONF_LIBS
725LIBSELINUX_LIBS
726LUCID_LIBW
727LIBXP
728FONTCONFIG_CFLAGS
729FONTCONFIG_LIBS
730XFT_CFLAGS
731XFT_LIBS
732LIBOTF_CFLAGS
733LIBOTF_LIBS
734M17N_FLT_CFLAGS
735M17N_FLT_LIBS
736FREETYPE_CFLAGS
737FREETYPE_LIBS
738LIBXPM
739LIBJPEG
740LIBPNG
741LIBTIFF
742LIBGIF
743LIBGPM
744LIBXSM
745ALLOCA
746liblockfile
747LIBS_MAIL
748LIBOBJS
749NEED_SETGID
750KMEM_GROUP
751GETLOADAVG_LIBS
752GETOPT_H
753GETOPTOBJS
754LIBHESIOD
755LIBRESOLV
756COM_ERRLIB
757CRYPTOLIB
758KRB5LIB
759DESLIB
760KRB4LIB
761version
762configuration
763canonical
764srcdir
765lispdir
766locallisppath
767lisppath
768x_default_search_path
769etcdir
770archlibdir
771bitmapdir
772gamedir
773gameuser
774c_switch_system
775c_switch_machine
776LD_SWITCH_X_SITE
777LD_SWITCH_X_SITE_AUX
778C_SWITCH_X_SITE
779X_TOOLKIT_TYPE
780machfile
781opsysfile
782ns_appdir
783ns_appbindir
784ns_appresdir
785ns_appsrc
786GNUSTEP_MAKEFILES
787GNUSTEP_SYSTEM_HEADERS
788GNUSTEP_SYSTEM_LIBRARIES
789GNU_OBJC_CFLAGS
790LIB_SRC_EXTRA_INSTALLABLES
791OTHER_FILES
792XMENU_OBJ
793XOBJ
794WIDGET_OBJ 598WIDGET_OBJ
795LTLIBOBJS' 599XOBJ
600XMENU_OBJ
601OTHER_FILES
602LIB_SRC_EXTRA_INSTALLABLES
603GNU_OBJC_CFLAGS
604GNUSTEP_SYSTEM_LIBRARIES
605GNUSTEP_SYSTEM_HEADERS
606GNUSTEP_MAKEFILES
607ns_appsrc
608ns_appresdir
609ns_appbindir
610ns_appdir
611opsysfile
612machfile
613X_TOOLKIT_TYPE
614C_SWITCH_X_SITE
615LD_SWITCH_X_SITE_AUX
616LD_SWITCH_X_SITE
617unexec
618c_switch_machine
619c_switch_system
620gameuser
621gamedir
622bitmapdir
623archlibdir
624etcdir
625x_default_search_path
626lisppath
627locallisppath
628lispdir
629srcdir
630canonical
631configuration
632version
633KRB4LIB
634DESLIB
635KRB5LIB
636CRYPTOLIB
637COM_ERRLIB
638LIBRESOLV
639LIBHESIOD
640GETOPTOBJS
641GETOPT_H
642GETLOADAVG_LIBS
643KMEM_GROUP
644NEED_SETGID
645LIBOBJS
646LIBS_MAIL
647liblockfile
648ALLOCA
649LIBXSM
650LIBGPM
651LIBGIF
652LIBTIFF
653LIBPNG
654LIBJPEG
655LIBXPM
656FREETYPE_LIBS
657FREETYPE_CFLAGS
658M17N_FLT_LIBS
659M17N_FLT_CFLAGS
660LIBOTF_LIBS
661LIBOTF_CFLAGS
662XFT_LIBS
663XFT_CFLAGS
664FONTCONFIG_LIBS
665FONTCONFIG_CFLAGS
666LIBXP
667LUCID_LIBW
668LIBSELINUX_LIBS
669GCONF_LIBS
670GCONF_CFLAGS
671DBUS_OBJ
672DBUS_LIBS
673DBUS_CFLAGS
674GTK_OBJ
675GTK_LIBS
676GTK_CFLAGS
677RSVG_LIBS
678RSVG_CFLAGS
679HAVE_XSERVER
680XMKMF
681SET_MAKE
682CFLAGS_SOUND
683ALSA_LIBS
684ALSA_CFLAGS
685PKG_CONFIG
686LIBSOUND
687CRT_DIR
688LIB_MATH
689MAKEINFO
690GZIP_PROG
691INSTALL_INFO
692RANLIB
693INSTALL_DATA
694INSTALL_SCRIPT
695INSTALL_PROGRAM
696LN_S
697EGREP
698GREP
699CPP
700OBJEXT
701EXEEXT
702ac_ct_CC
703CPPFLAGS
704LDFLAGS
705CFLAGS
706CC
707host_os
708host_vendor
709host_cpu
710host
711build_os
712build_vendor
713build_cpu
714build
715MAINT
716target_alias
717host_alias
718build_alias
719LIBS
720ECHO_T
721ECHO_N
722ECHO_C
723DEFS
724mandir
725localedir
726libdir
727psdir
728pdfdir
729dvidir
730htmldir
731infodir
732docdir
733oldincludedir
734includedir
735localstatedir
736sharedstatedir
737sysconfdir
738datadir
739datarootdir
740libexecdir
741sbindir
742bindir
743program_transform_name
744prefix
745exec_prefix
746PACKAGE_URL
747PACKAGE_BUGREPORT
748PACKAGE_STRING
749PACKAGE_VERSION
750PACKAGE_TARNAME
751PACKAGE_NAME
752PATH_SEPARATOR
753SHELL'
796ac_subst_files='' 754ac_subst_files=''
797ac_user_opts=' 755ac_user_opts='
798enable_option_checking 756enable_option_checking
@@ -957,8 +915,7 @@ do
957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 915 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names. 916 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 918 as_fn_error "invalid feature name: $ac_useropt"
961 { (exit 1); exit 1; }; }
962 ac_useropt_orig=$ac_useropt 919 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in 921 case $ac_user_opts in
@@ -984,8 +941,7 @@ do
984 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 941 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
985 # Reject names that are not valid shell variable names. 942 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
987 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 944 as_fn_error "invalid feature name: $ac_useropt"
988 { (exit 1); exit 1; }; }
989 ac_useropt_orig=$ac_useropt 945 ac_useropt_orig=$ac_useropt
990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in 947 case $ac_user_opts in
@@ -1189,8 +1145,7 @@ do
1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1145 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names. 1146 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1148 as_fn_error "invalid package name: $ac_useropt"
1193 { (exit 1); exit 1; }; }
1194 ac_useropt_orig=$ac_useropt 1149 ac_useropt_orig=$ac_useropt
1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in 1151 case $ac_user_opts in
@@ -1206,8 +1161,7 @@ do
1206 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1161 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207 # Reject names that are not valid shell variable names. 1162 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1164 as_fn_error "invalid package name: $ac_useropt"
1210 { (exit 1); exit 1; }; }
1211 ac_useropt_orig=$ac_useropt 1165 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in 1167 case $ac_user_opts in
@@ -1237,17 +1191,17 @@ do
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1191 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries=$ac_optarg ;; 1192 x_libraries=$ac_optarg ;;
1239 1193
1240 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1194 -*) as_fn_error "unrecognized option: \`$ac_option'
1241Try \`$0 --help' for more information." >&2 1195Try \`$0 --help' for more information."
1242 { (exit 1); exit 1; }; }
1243 ;; 1196 ;;
1244 1197
1245 *=*) 1198 *=*)
1246 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1199 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1247 # Reject names that are not valid shell variable names. 1200 # Reject names that are not valid shell variable names.
1248 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1201 case $ac_envvar in #(
1249 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1202 '' | [0-9]* | *[!_$as_cr_alnum]* )
1250 { (exit 1); exit 1; }; } 1203 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1204 esac
1251 eval $ac_envvar=\$ac_optarg 1205 eval $ac_envvar=\$ac_optarg
1252 export $ac_envvar ;; 1206 export $ac_envvar ;;
1253 1207
@@ -1264,16 +1218,14 @@ done
1264 1218
1265if test -n "$ac_prev"; then 1219if test -n "$ac_prev"; then
1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1220 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1221 as_fn_error "missing argument to $ac_option"
1268 { (exit 1); exit 1; }; }
1269fi 1222fi
1270 1223
1271if test -n "$ac_unrecognized_opts"; then 1224if test -n "$ac_unrecognized_opts"; then
1272 case $enable_option_checking in 1225 case $enable_option_checking in
1273 no) ;; 1226 no) ;;
1274 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1227 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1275 { (exit 1); exit 1; }; } ;; 1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1277 esac 1229 esac
1278fi 1230fi
1279 1231
@@ -1295,8 +1247,7 @@ do
1295 [\\/$]* | ?:[\\/]* ) continue;; 1247 [\\/$]* | ?:[\\/]* ) continue;;
1296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1248 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1297 esac 1249 esac
1298 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1250 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1299 { (exit 1); exit 1; }; }
1300done 1251done
1301 1252
1302# There might be people who depend on the old broken behavior: `$host' 1253# There might be people who depend on the old broken behavior: `$host'
@@ -1326,11 +1277,9 @@ test "$silent" = yes && exec 6>/dev/null
1326ac_pwd=`pwd` && test -n "$ac_pwd" && 1277ac_pwd=`pwd` && test -n "$ac_pwd" &&
1327ac_ls_di=`ls -di .` && 1278ac_ls_di=`ls -di .` &&
1328ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1279ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1329 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1280 as_fn_error "working directory cannot be determined"
1330 { (exit 1); exit 1; }; }
1331test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1281test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1282 as_fn_error "pwd does not report name of working directory"
1333 { (exit 1); exit 1; }; }
1334 1283
1335 1284
1336# Find the source files, if location was not specified. 1285# Find the source files, if location was not specified.
@@ -1369,13 +1318,11 @@ else
1369fi 1318fi
1370if test ! -r "$srcdir/$ac_unique_file"; then 1319if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1320 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1321 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1373 { (exit 1); exit 1; }; }
1374fi 1322fi
1375ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1323ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376ac_abs_confdir=`( 1324ac_abs_confdir=`(
1377 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1325 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1378 { (exit 1); exit 1; }; }
1379 pwd)` 1326 pwd)`
1380# When building in place, set srcdir=. 1327# When building in place, set srcdir=.
1381if test "$ac_abs_confdir" = "$ac_pwd"; then 1328if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1555,7 +1502,7 @@ Some influential environment variables:
1555 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1556 nonstandard directory <lib dir> 1503 nonstandard directory <lib dir>
1557 LIBS libraries to pass to the linker, e.g. -l<library> 1504 LIBS libraries to pass to the linker, e.g. -l<library>
1558 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1559 you have headers in a nonstandard directory <include dir> 1506 you have headers in a nonstandard directory <include dir>
1560 CPP C preprocessor 1507 CPP C preprocessor
1561 XMKMF Path to xmkmf, Makefile generator for X Window System 1508 XMKMF Path to xmkmf, Makefile generator for X Window System
@@ -1563,6 +1510,7 @@ Some influential environment variables:
1563Use these variables to override the choices made by `configure' or to help 1510Use these variables to override the choices made by `configure' or to help
1564it to find libraries and programs with nonstandard names/locations. 1511it to find libraries and programs with nonstandard names/locations.
1565 1512
1513Report bugs to the package provider.
1566_ACEOF 1514_ACEOF
1567ac_status=$? 1515ac_status=$?
1568fi 1516fi
@@ -1626,21 +1574,551 @@ test -n "$ac_init_help" && exit $ac_status
1626if $ac_init_version; then 1574if $ac_init_version; then
1627 cat <<\_ACEOF 1575 cat <<\_ACEOF
1628emacs configure 24.0.50 1576emacs configure 24.0.50
1629generated by GNU Autoconf 2.62 1577generated by GNU Autoconf 2.65
1630 1578
1631Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1579Copyright (C) 2009 Free Software Foundation, Inc.
16322002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1633This configure script is free software; the Free Software Foundation 1580This configure script is free software; the Free Software Foundation
1634gives unlimited permission to copy, distribute and modify it. 1581gives unlimited permission to copy, distribute and modify it.
1635_ACEOF 1582_ACEOF
1636 exit 1583 exit
1637fi 1584fi
1585
1586## ------------------------ ##
1587## Autoconf initialization. ##
1588## ------------------------ ##
1589
1590# ac_fn_c_try_compile LINENO
1591# --------------------------
1592# Try to compile conftest.$ac_ext, and return whether this succeeded.
1593ac_fn_c_try_compile ()
1594{
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1598case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1601esac
1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603$as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1605 ac_status=$?
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1610 fi
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.$ac_objext; then :
1616 ac_retval=0
1617else
1618 $as_echo "$as_me: failed program was:" >&5
1619sed 's/^/| /' conftest.$ac_ext >&5
1620
1621 ac_retval=1
1622fi
1623 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1624 as_fn_set_status $ac_retval
1625
1626} # ac_fn_c_try_compile
1627
1628# ac_fn_c_try_link LINENO
1629# -----------------------
1630# Try to link conftest.$ac_ext, and return whether this succeeded.
1631ac_fn_c_try_link ()
1632{
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 rm -f conftest.$ac_objext conftest$ac_exeext
1635 if { { ac_try="$ac_link"
1636case "(($ac_try" in
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1639esac
1640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641$as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_link") 2>conftest.err
1643 ac_status=$?
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1648 fi
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && {
1651 test -z "$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1653 } && test -s conftest$ac_exeext && {
1654 test "$cross_compiling" = yes ||
1655 $as_test_x conftest$ac_exeext
1656 }; then :
1657 ac_retval=0
1658else
1659 $as_echo "$as_me: failed program was:" >&5
1660sed 's/^/| /' conftest.$ac_ext >&5
1661
1662 ac_retval=1
1663fi
1664 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1665 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1666 # interfere with the next link command; also delete a directory that is
1667 # left behind by Apple's compiler. We do this before executing the actions.
1668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1670 as_fn_set_status $ac_retval
1671
1672} # ac_fn_c_try_link
1673
1674# ac_fn_c_try_cpp LINENO
1675# ----------------------
1676# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1677ac_fn_c_try_cpp ()
1678{
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_cpp conftest.$ac_ext"
1681case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684esac
1685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686$as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1688 ac_status=$?
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1693 fi
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } >/dev/null && {
1696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 }; then :
1699 ac_retval=0
1700else
1701 $as_echo "$as_me: failed program was:" >&5
1702sed 's/^/| /' conftest.$ac_ext >&5
1703
1704 ac_retval=1
1705fi
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 as_fn_set_status $ac_retval
1708
1709} # ac_fn_c_try_cpp
1710
1711# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1712# -------------------------------------------------------
1713# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1714# the include files in INCLUDES and setting the cache variable VAR
1715# accordingly.
1716ac_fn_c_check_header_mongrel ()
1717{
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721$as_echo_n "checking for $2... " >&6; }
1722if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1723 $as_echo_n "(cached) " >&6
1724fi
1725eval ac_res=\$$3
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727$as_echo "$ac_res" >&6; }
1728else
1729 # Is the header compilable?
1730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1731$as_echo_n "checking $2 usability... " >&6; }
1732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733/* end confdefs.h. */
1734$4
1735#include <$2>
1736_ACEOF
1737if ac_fn_c_try_compile "$LINENO"; then :
1738 ac_header_compiler=yes
1739else
1740 ac_header_compiler=no
1741fi
1742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1744$as_echo "$ac_header_compiler" >&6; }
1745
1746# Is the header present?
1747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1748$as_echo_n "checking $2 presence... " >&6; }
1749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750/* end confdefs.h. */
1751#include <$2>
1752_ACEOF
1753if ac_fn_c_try_cpp "$LINENO"; then :
1754 ac_header_preproc=yes
1755else
1756 ac_header_preproc=no
1757fi
1758rm -f conftest.err conftest.$ac_ext
1759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1760$as_echo "$ac_header_preproc" >&6; }
1761
1762# So? What about this header?
1763case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1764 yes:no: )
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1766$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1768$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1769 ;;
1770 no:yes:* )
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1772$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1774$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1776$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1778$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1781 ;;
1782esac
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784$as_echo_n "checking for $2... " >&6; }
1785if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 $as_echo_n "(cached) " >&6
1787else
1788 eval "$3=\$ac_header_compiler"
1789fi
1790eval ac_res=\$$3
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792$as_echo "$ac_res" >&6; }
1793fi
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795
1796} # ac_fn_c_check_header_mongrel
1797
1798# ac_fn_c_try_run LINENO
1799# ----------------------
1800# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801# that executables *can* be run.
1802ac_fn_c_try_run ()
1803{
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_link"
1806case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809esac
1810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811$as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>&5
1813 ac_status=$?
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816 { { case "(($ac_try" in
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1819esac
1820eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821$as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_try") 2>&5
1823 ac_status=$?
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; }; }; then :
1826 ac_retval=0
1827else
1828 $as_echo "$as_me: program exited with status $ac_status" >&5
1829 $as_echo "$as_me: failed program was:" >&5
1830sed 's/^/| /' conftest.$ac_ext >&5
1831
1832 ac_retval=$ac_status
1833fi
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 as_fn_set_status $ac_retval
1837
1838} # ac_fn_c_try_run
1839
1840# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841# -------------------------------------------------------
1842# Tests whether HEADER exists and can be compiled using the include files in
1843# INCLUDES, setting the cache variable VAR accordingly.
1844ac_fn_c_check_header_compile ()
1845{
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848$as_echo_n "checking for $2... " >&6; }
1849if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 $as_echo_n "(cached) " >&6
1851else
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853/* end confdefs.h. */
1854$4
1855#include <$2>
1856_ACEOF
1857if ac_fn_c_try_compile "$LINENO"; then :
1858 eval "$3=yes"
1859else
1860 eval "$3=no"
1861fi
1862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863fi
1864eval ac_res=\$$3
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866$as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868
1869} # ac_fn_c_check_header_compile
1870
1871# ac_fn_c_check_header_preproc LINENO HEADER VAR
1872# ----------------------------------------------
1873# Tests whether HEADER is present, setting the cache variable VAR accordingly.
1874ac_fn_c_check_header_preproc ()
1875{
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878$as_echo_n "checking for $2... " >&6; }
1879if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1881else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883/* end confdefs.h. */
1884#include <$2>
1885_ACEOF
1886if ac_fn_c_try_cpp "$LINENO"; then :
1887 eval "$3=yes"
1888else
1889 eval "$3=no"
1890fi
1891rm -f conftest.err conftest.$ac_ext
1892fi
1893eval ac_res=\$$3
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895$as_echo "$ac_res" >&6; }
1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1897
1898} # ac_fn_c_check_header_preproc
1899
1900# ac_fn_c_check_decl LINENO SYMBOL VAR
1901# ------------------------------------
1902# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1903ac_fn_c_check_decl ()
1904{
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1907$as_echo_n "checking whether $2 is declared... " >&6; }
1908if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1909 $as_echo_n "(cached) " >&6
1910else
1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912/* end confdefs.h. */
1913$4
1914int
1915main ()
1916{
1917#ifndef $2
1918 (void) $2;
1919#endif
1920
1921 ;
1922 return 0;
1923}
1924_ACEOF
1925if ac_fn_c_try_compile "$LINENO"; then :
1926 eval "$3=yes"
1927else
1928 eval "$3=no"
1929fi
1930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931fi
1932eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934$as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
1937} # ac_fn_c_check_decl
1938
1939# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1940# ----------------------------------------------------
1941# Tries to find if the field MEMBER exists in type AGGR, after including
1942# INCLUDES, setting cache variable VAR accordingly.
1943ac_fn_c_check_member ()
1944{
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1947$as_echo_n "checking for $2.$3... " >&6; }
1948if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1949 $as_echo_n "(cached) " >&6
1950else
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952/* end confdefs.h. */
1953$5
1954int
1955main ()
1956{
1957static $2 ac_aggr;
1958if (ac_aggr.$3)
1959return 0;
1960 ;
1961 return 0;
1962}
1963_ACEOF
1964if ac_fn_c_try_compile "$LINENO"; then :
1965 eval "$4=yes"
1966else
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968/* end confdefs.h. */
1969$5
1970int
1971main ()
1972{
1973static $2 ac_aggr;
1974if (sizeof ac_aggr.$3)
1975return 0;
1976 ;
1977 return 0;
1978}
1979_ACEOF
1980if ac_fn_c_try_compile "$LINENO"; then :
1981 eval "$4=yes"
1982else
1983 eval "$4=no"
1984fi
1985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1986fi
1987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988fi
1989eval ac_res=\$$4
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991$as_echo "$ac_res" >&6; }
1992 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993
1994} # ac_fn_c_check_member
1995
1996# ac_fn_c_check_func LINENO FUNC VAR
1997# ----------------------------------
1998# Tests whether FUNC exists, setting the cache variable VAR accordingly
1999ac_fn_c_check_func ()
2000{
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003$as_echo_n "checking for $2... " >&6; }
2004if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2005 $as_echo_n "(cached) " >&6
2006else
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008/* end confdefs.h. */
2009/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2011#define $2 innocuous_$2
2012
2013/* System header to define __stub macros and hopefully few prototypes,
2014 which can conflict with char $2 (); below.
2015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2016 <limits.h> exists even on freestanding compilers. */
2017
2018#ifdef __STDC__
2019# include <limits.h>
2020#else
2021# include <assert.h>
2022#endif
2023
2024#undef $2
2025
2026/* Override any GCC internal prototype to avoid an error.
2027 Use char because int might match the return type of a GCC
2028 builtin and then its argument prototype would still apply. */
2029#ifdef __cplusplus
2030extern "C"
2031#endif
2032char $2 ();
2033/* The GNU C library defines this for functions which it implements
2034 to always fail with ENOSYS. Some functions are actually named
2035 something starting with __ and the normal name is an alias. */
2036#if defined __stub_$2 || defined __stub___$2
2037choke me
2038#endif
2039
2040int
2041main ()
2042{
2043return $2 ();
2044 ;
2045 return 0;
2046}
2047_ACEOF
2048if ac_fn_c_try_link "$LINENO"; then :
2049 eval "$3=yes"
2050else
2051 eval "$3=no"
2052fi
2053rm -f core conftest.err conftest.$ac_objext \
2054 conftest$ac_exeext conftest.$ac_ext
2055fi
2056eval ac_res=\$$3
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058$as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060
2061} # ac_fn_c_check_func
2062
2063# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2064# -------------------------------------------
2065# Tests whether TYPE exists after having included INCLUDES, setting cache
2066# variable VAR accordingly.
2067ac_fn_c_check_type ()
2068{
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2071$as_echo_n "checking for $2... " >&6; }
2072if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2073 $as_echo_n "(cached) " >&6
2074else
2075 eval "$3=no"
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077/* end confdefs.h. */
2078$4
2079int
2080main ()
2081{
2082if (sizeof ($2))
2083 return 0;
2084 ;
2085 return 0;
2086}
2087_ACEOF
2088if ac_fn_c_try_compile "$LINENO"; then :
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090/* end confdefs.h. */
2091$4
2092int
2093main ()
2094{
2095if (sizeof (($2)))
2096 return 0;
2097 ;
2098 return 0;
2099}
2100_ACEOF
2101if ac_fn_c_try_compile "$LINENO"; then :
2102
2103else
2104 eval "$3=yes"
2105fi
2106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107fi
2108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109fi
2110eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112$as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2114
2115} # ac_fn_c_check_type
1638cat >config.log <<_ACEOF 2116cat >config.log <<_ACEOF
1639This file contains any messages produced by compilers while 2117This file contains any messages produced by compilers while
1640running configure, to aid debugging if configure makes a mistake. 2118running configure, to aid debugging if configure makes a mistake.
1641 2119
1642It was created by emacs $as_me 24.0.50, which was 2120It was created by emacs $as_me 24.0.50, which was
1643generated by GNU Autoconf 2.62. Invocation command line was 2121generated by GNU Autoconf 2.65. Invocation command line was
1644 2122
1645 $ $0 $@ 2123 $ $0 $@
1646 2124
@@ -1676,8 +2154,8 @@ for as_dir in $PATH
1676do 2154do
1677 IFS=$as_save_IFS 2155 IFS=$as_save_IFS
1678 test -z "$as_dir" && as_dir=. 2156 test -z "$as_dir" && as_dir=.
1679 $as_echo "PATH: $as_dir" 2157 $as_echo "PATH: $as_dir"
1680done 2158 done
1681IFS=$as_save_IFS 2159IFS=$as_save_IFS
1682 2160
1683} >&5 2161} >&5
@@ -1714,9 +2192,9 @@ do
1714 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2192 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1715 esac 2193 esac
1716 case $ac_pass in 2194 case $ac_pass in
1717 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2195 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1718 2) 2196 2)
1719 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2197 as_fn_append ac_configure_args1 " '$ac_arg'"
1720 if test $ac_must_keep_next = true; then 2198 if test $ac_must_keep_next = true; then
1721 ac_must_keep_next=false # Got value, back to normal. 2199 ac_must_keep_next=false # Got value, back to normal.
1722 else 2200 else
@@ -1732,13 +2210,13 @@ do
1732 -* ) ac_must_keep_next=true ;; 2210 -* ) ac_must_keep_next=true ;;
1733 esac 2211 esac
1734 fi 2212 fi
1735 ac_configure_args="$ac_configure_args '$ac_arg'" 2213 as_fn_append ac_configure_args " '$ac_arg'"
1736 ;; 2214 ;;
1737 esac 2215 esac
1738 done 2216 done
1739done 2217done
1740$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 2218{ ac_configure_args0=; unset ac_configure_args0;}
1741$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2219{ ac_configure_args1=; unset ac_configure_args1;}
1742 2220
1743# When interrupted or exit'd, cleanup temporary files, and complete 2221# When interrupted or exit'd, cleanup temporary files, and complete
1744# config.log. We remove comments because anyway the quotes in there 2222# config.log. We remove comments because anyway the quotes in there
@@ -1763,13 +2241,13 @@ _ASBOX
1763 case $ac_val in #( 2241 case $ac_val in #(
1764 *${as_nl}*) 2242 *${as_nl}*)
1765 case $ac_var in #( 2243 case $ac_var in #(
1766 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2244 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1767$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2245$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1768 esac 2246 esac
1769 case $ac_var in #( 2247 case $ac_var in #(
1770 _ | IFS | as_nl) ;; #( 2248 _ | IFS | as_nl) ;; #(
1771 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1772 *) $as_unset $ac_var ;; 2250 *) { eval $ac_var=; unset $ac_var;} ;;
1773 esac ;; 2251 esac ;;
1774 esac 2252 esac
1775 done 2253 done
@@ -1841,39 +2319,41 @@ _ASBOX
1841 exit $exit_status 2319 exit $exit_status
1842' 0 2320' 0
1843for ac_signal in 1 2 13 15; do 2321for ac_signal in 1 2 13 15; do
1844 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2322 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1845done 2323done
1846ac_signal=0 2324ac_signal=0
1847 2325
1848# confdefs.h avoids OS command line length limits that DEFS can exceed. 2326# confdefs.h avoids OS command line length limits that DEFS can exceed.
1849rm -f -r conftest* confdefs.h 2327rm -f -r conftest* confdefs.h
1850 2328
2329$as_echo "/* confdefs.h */" > confdefs.h
2330
1851# Predefined preprocessor variables. 2331# Predefined preprocessor variables.
1852 2332
1853cat >>confdefs.h <<_ACEOF 2333cat >>confdefs.h <<_ACEOF
1854#define PACKAGE_NAME "$PACKAGE_NAME" 2334#define PACKAGE_NAME "$PACKAGE_NAME"
1855_ACEOF 2335_ACEOF
1856 2336
1857
1858cat >>confdefs.h <<_ACEOF 2337cat >>confdefs.h <<_ACEOF
1859#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2338#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1860_ACEOF 2339_ACEOF
1861 2340
1862
1863cat >>confdefs.h <<_ACEOF 2341cat >>confdefs.h <<_ACEOF
1864#define PACKAGE_VERSION "$PACKAGE_VERSION" 2342#define PACKAGE_VERSION "$PACKAGE_VERSION"
1865_ACEOF 2343_ACEOF
1866 2344
1867
1868cat >>confdefs.h <<_ACEOF 2345cat >>confdefs.h <<_ACEOF
1869#define PACKAGE_STRING "$PACKAGE_STRING" 2346#define PACKAGE_STRING "$PACKAGE_STRING"
1870_ACEOF 2347_ACEOF
1871 2348
1872
1873cat >>confdefs.h <<_ACEOF 2349cat >>confdefs.h <<_ACEOF
1874#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2350#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1875_ACEOF 2351_ACEOF
1876 2352
2353cat >>confdefs.h <<_ACEOF
2354#define PACKAGE_URL "$PACKAGE_URL"
2355_ACEOF
2356
1877 2357
1878# Let the site file select an alternate cache file if it wants to. 2358# Let the site file select an alternate cache file if it wants to.
1879# Prefer an explicitly selected file to automatically selected ones. 2359# Prefer an explicitly selected file to automatically selected ones.
@@ -1891,8 +2371,8 @@ fi
1891for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2371for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1892do 2372do
1893 test "x$ac_site_file" = xNONE && continue 2373 test "x$ac_site_file" = xNONE && continue
1894 if test -r "$ac_site_file"; then 2374 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1895 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1896$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2376$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1897 sed 's/^/| /' "$ac_site_file" >&5 2377 sed 's/^/| /' "$ac_site_file" >&5
1898 . "$ac_site_file" 2378 . "$ac_site_file"
@@ -1900,10 +2380,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1900done 2380done
1901 2381
1902if test -r "$cache_file"; then 2382if test -r "$cache_file"; then
1903 # Some versions of bash will fail to source /dev/null (special 2383 # Some versions of bash will fail to source /dev/null (special files
1904 # files actually), so we avoid doing that. 2384 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1905 if test -f "$cache_file"; then 2385 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1906 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1907$as_echo "$as_me: loading cache $cache_file" >&6;} 2387$as_echo "$as_me: loading cache $cache_file" >&6;}
1908 case $cache_file in 2388 case $cache_file in
1909 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2389 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -1911,14 +2391,16 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
1911 esac 2391 esac
1912 fi 2392 fi
1913else 2393else
1914 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1915$as_echo "$as_me: creating cache $cache_file" >&6;} 2395$as_echo "$as_me: creating cache $cache_file" >&6;}
1916 >$cache_file 2396 >$cache_file
1917fi 2397fi
1918 2398
1919ac_header_list="$ac_header_list sys/time.h" 2399as_fn_append ac_header_list " stdlib.h"
1920ac_header_list="$ac_header_list unistd.h" 2400as_fn_append ac_header_list " unistd.h"
1921ac_func_list="$ac_func_list alarm" 2401as_fn_append ac_header_list " sys/param.h"
2402as_fn_append ac_header_list " sys/time.h"
2403as_fn_append ac_func_list " alarm"
1922# Check that the precious variables saved in the cache have kept the same 2404# Check that the precious variables saved in the cache have kept the same
1923# value. 2405# value.
1924ac_cache_corrupted=false 2406ac_cache_corrupted=false
@@ -1929,11 +2411,11 @@ for ac_var in $ac_precious_vars; do
1929 eval ac_new_val=\$ac_env_${ac_var}_value 2411 eval ac_new_val=\$ac_env_${ac_var}_value
1930 case $ac_old_set,$ac_new_set in 2412 case $ac_old_set,$ac_new_set in
1931 set,) 2413 set,)
1932 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1933$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2415$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1934 ac_cache_corrupted=: ;; 2416 ac_cache_corrupted=: ;;
1935 ,set) 2417 ,set)
1936 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1937$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2419$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1938 ac_cache_corrupted=: ;; 2420 ac_cache_corrupted=: ;;
1939 ,);; 2421 ,);;
@@ -1943,17 +2425,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1943 ac_old_val_w=`echo x $ac_old_val` 2425 ac_old_val_w=`echo x $ac_old_val`
1944 ac_new_val_w=`echo x $ac_new_val` 2426 ac_new_val_w=`echo x $ac_new_val`
1945 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2427 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1946 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1947$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2429$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1948 ac_cache_corrupted=: 2430 ac_cache_corrupted=:
1949 else 2431 else
1950 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2432 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1951$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2433$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1952 eval $ac_var=\$ac_old_val 2434 eval $ac_var=\$ac_old_val
1953 fi 2435 fi
1954 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1955$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2437$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1956 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1957$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2439$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1958 fi;; 2440 fi;;
1959 esac 2441 esac
@@ -1965,41 +2447,20 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1965 esac 2447 esac
1966 case " $ac_configure_args " in 2448 case " $ac_configure_args " in
1967 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2449 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1968 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2450 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1969 esac 2451 esac
1970 fi 2452 fi
1971done 2453done
1972if $ac_cache_corrupted; then 2454if $ac_cache_corrupted; then
1973 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1974$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2458$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1975 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2459 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1976$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1977 { (exit 1); exit 1; }; }
1978fi 2460fi
1979 2461## -------------------- ##
1980 2462## Main body of script. ##
1981 2463## -------------------- ##
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003 2464
2004ac_ext=c 2465ac_ext=c
2005ac_cpp='$CPP $CPPFLAGS' 2466ac_cpp='$CPP $CPPFLAGS'
@@ -2038,39 +2499,33 @@ gameuser=games
2038 2499
2039 2500
2040# Check whether --with-pop was given. 2501# Check whether --with-pop was given.
2041if test "${with_pop+set}" = set; then 2502if test "${with_pop+set}" = set; then :
2042 withval=$with_pop; 2503 withval=$with_pop;
2043else 2504else
2044 with_pop=yes 2505 with_pop=yes
2045fi 2506fi
2046 2507
2047if test "$with_pop" = yes; then 2508if test "$with_pop" = yes; then
2048 cat >>confdefs.h <<\_ACEOF 2509 $as_echo "#define MAIL_USE_POP 1" >>confdefs.h
2049#define MAIL_USE_POP 1
2050_ACEOF
2051 2510
2052fi 2511fi
2053 2512
2054 2513
2055
2056# Check whether --with-kerberos was given. 2514# Check whether --with-kerberos was given.
2057if test "${with_kerberos+set}" = set; then 2515if test "${with_kerberos+set}" = set; then :
2058 withval=$with_kerberos; 2516 withval=$with_kerberos;
2059else 2517else
2060 with_kerberos=no 2518 with_kerberos=no
2061fi 2519fi
2062 2520
2063if test "$with_kerberos" != no; then 2521if test "$with_kerberos" != no; then
2064 cat >>confdefs.h <<\_ACEOF 2522 $as_echo "#define KERBEROS 1" >>confdefs.h
2065#define KERBEROS 1
2066_ACEOF
2067 2523
2068fi 2524fi
2069 2525
2070 2526
2071
2072# Check whether --with-kerberos5 was given. 2527# Check whether --with-kerberos5 was given.
2073if test "${with_kerberos5+set}" = set; then 2528if test "${with_kerberos5+set}" = set; then :
2074 withval=$with_kerberos5; 2529 withval=$with_kerberos5;
2075else 2530else
2076 with_kerberos5=no 2531 with_kerberos5=no
@@ -2079,21 +2534,17 @@ fi
2079if test "${with_kerberos5}" != no; then 2534if test "${with_kerberos5}" != no; then
2080 if test "${with_kerberos}" = no; then 2535 if test "${with_kerberos}" = no; then
2081 with_kerberos=yes 2536 with_kerberos=yes
2082 cat >>confdefs.h <<\_ACEOF 2537 $as_echo "#define KERBEROS 1" >>confdefs.h
2083#define KERBEROS 1
2084_ACEOF
2085 2538
2086 fi 2539 fi
2087 2540
2088cat >>confdefs.h <<\_ACEOF 2541$as_echo "#define KERBEROS5 1" >>confdefs.h
2089#define KERBEROS5 1
2090_ACEOF
2091 2542
2092fi 2543fi
2093 2544
2094 2545
2095# Check whether --with-hesiod was given. 2546# Check whether --with-hesiod was given.
2096if test "${with_hesiod+set}" = set; then 2547if test "${with_hesiod+set}" = set; then :
2097 withval=$with_hesiod; 2548 withval=$with_hesiod;
2098else 2549else
2099 with_hesiod=no 2550 with_hesiod=no
@@ -2101,15 +2552,13 @@ fi
2101 2552
2102if test "$with_hesiod" != no; then 2553if test "$with_hesiod" != no; then
2103 2554
2104cat >>confdefs.h <<\_ACEOF 2555$as_echo "#define HESIOD 1" >>confdefs.h
2105#define HESIOD 1
2106_ACEOF
2107 2556
2108fi 2557fi
2109 2558
2110 2559
2111# Check whether --with-mmdf was given. 2560# Check whether --with-mmdf was given.
2112if test "${with_mmdf+set}" = set; then 2561if test "${with_mmdf+set}" = set; then :
2113 withval=$with_mmdf; 2562 withval=$with_mmdf;
2114else 2563else
2115 with_mmdf=no 2564 with_mmdf=no
@@ -2117,15 +2566,13 @@ fi
2117 2566
2118if test "$with_mmdf" != no; then 2567if test "$with_mmdf" != no; then
2119 2568
2120cat >>confdefs.h <<\_ACEOF 2569$as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h
2121#define MAIL_USE_MMDF 1
2122_ACEOF
2123 2570
2124fi 2571fi
2125 2572
2126 2573
2127# Check whether --with-mail-unlink was given. 2574# Check whether --with-mail-unlink was given.
2128if test "${with_mail_unlink+set}" = set; then 2575if test "${with_mail_unlink+set}" = set; then :
2129 withval=$with_mail_unlink; 2576 withval=$with_mail_unlink;
2130else 2577else
2131 with_mail_unlink=no 2578 with_mail_unlink=no
@@ -2133,15 +2580,13 @@ fi
2133 2580
2134if test "$with_mail_unlink" != no; then 2581if test "$with_mail_unlink" != no; then
2135 2582
2136cat >>confdefs.h <<\_ACEOF 2583$as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h
2137#define MAIL_UNLINK_SPOOL 1
2138_ACEOF
2139 2584
2140fi 2585fi
2141 2586
2142 2587
2143# Check whether --with-mailhost was given. 2588# Check whether --with-mailhost was given.
2144if test "${with_mailhost+set}" = set; then 2589if test "${with_mailhost+set}" = set; then :
2145 withval=$with_mailhost; 2590 withval=$with_mailhost;
2146cat >>confdefs.h <<_ACEOF 2591cat >>confdefs.h <<_ACEOF
2147#define MAILHOST "$withval" 2592#define MAILHOST "$withval"
@@ -2152,7 +2597,7 @@ fi
2152 2597
2153 2598
2154# Check whether --with-sound was given. 2599# Check whether --with-sound was given.
2155if test "${with_sound+set}" = set; then 2600if test "${with_sound+set}" = set; then :
2156 withval=$with_sound; 2601 withval=$with_sound;
2157else 2602else
2158 with_sound=yes 2603 with_sound=yes
@@ -2161,7 +2606,7 @@ fi
2161 2606
2162 2607
2163# Check whether --with-sync-input was given. 2608# Check whether --with-sync-input was given.
2164if test "${with_sync_input+set}" = set; then 2609if test "${with_sync_input+set}" = set; then :
2165 withval=$with_sync_input; 2610 withval=$with_sync_input;
2166else 2611else
2167 with_sync_input=yes 2612 with_sync_input=yes
@@ -2169,15 +2614,13 @@ fi
2169 2614
2170if test "$with_sync_input" = yes; then 2615if test "$with_sync_input" = yes; then
2171 2616
2172cat >>confdefs.h <<\_ACEOF 2617$as_echo "#define SYNC_INPUT 1" >>confdefs.h
2173#define SYNC_INPUT 1
2174_ACEOF
2175 2618
2176fi 2619fi
2177 2620
2178 2621
2179# Check whether --with-x-toolkit was given. 2622# Check whether --with-x-toolkit was given.
2180if test "${with_x_toolkit+set}" = set; then 2623if test "${with_x_toolkit+set}" = set; then :
2181 withval=$with_x_toolkit; case "${withval}" in 2624 withval=$with_x_toolkit; case "${withval}" in
2182 y | ye | yes ) val=gtk ;; 2625 y | ye | yes ) val=gtk ;;
2183 n | no ) val=no ;; 2626 n | no ) val=no ;;
@@ -2186,13 +2629,9 @@ if test "${with_x_toolkit+set}" = set; then
2186 m | mo | mot | moti | motif ) val=motif ;; 2629 m | mo | mot | moti | motif ) val=motif ;;
2187 g | gt | gtk ) val=gtk ;; 2630 g | gt | gtk ) val=gtk ;;
2188 * ) 2631 * )
2189{ { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; 2632as_fn_error "\`--with-x-toolkit=$withval' is invalid;
2190this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2633this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2191\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 2634\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2192$as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
2193this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2194\`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
2195 { (exit 1); exit 1; }; }
2196 ;; 2635 ;;
2197 esac 2636 esac
2198 with_x_toolkit=$val 2637 with_x_toolkit=$val
@@ -2202,7 +2641,7 @@ fi
2202 2641
2203 2642
2204# Check whether --with-xpm was given. 2643# Check whether --with-xpm was given.
2205if test "${with_xpm+set}" = set; then 2644if test "${with_xpm+set}" = set; then :
2206 withval=$with_xpm; 2645 withval=$with_xpm;
2207else 2646else
2208 with_xpm=yes 2647 with_xpm=yes
@@ -2210,7 +2649,7 @@ fi
2210 2649
2211 2650
2212# Check whether --with-jpeg was given. 2651# Check whether --with-jpeg was given.
2213if test "${with_jpeg+set}" = set; then 2652if test "${with_jpeg+set}" = set; then :
2214 withval=$with_jpeg; 2653 withval=$with_jpeg;
2215else 2654else
2216 with_jpeg=yes 2655 with_jpeg=yes
@@ -2218,7 +2657,7 @@ fi
2218 2657
2219 2658
2220# Check whether --with-tiff was given. 2659# Check whether --with-tiff was given.
2221if test "${with_tiff+set}" = set; then 2660if test "${with_tiff+set}" = set; then :
2222 withval=$with_tiff; 2661 withval=$with_tiff;
2223else 2662else
2224 with_tiff=yes 2663 with_tiff=yes
@@ -2226,7 +2665,7 @@ fi
2226 2665
2227 2666
2228# Check whether --with-gif was given. 2667# Check whether --with-gif was given.
2229if test "${with_gif+set}" = set; then 2668if test "${with_gif+set}" = set; then :
2230 withval=$with_gif; 2669 withval=$with_gif;
2231else 2670else
2232 with_gif=yes 2671 with_gif=yes
@@ -2234,7 +2673,7 @@ fi
2234 2673
2235 2674
2236# Check whether --with-png was given. 2675# Check whether --with-png was given.
2237if test "${with_png+set}" = set; then 2676if test "${with_png+set}" = set; then :
2238 withval=$with_png; 2677 withval=$with_png;
2239else 2678else
2240 with_png=yes 2679 with_png=yes
@@ -2242,7 +2681,7 @@ fi
2242 2681
2243 2682
2244# Check whether --with-rsvg was given. 2683# Check whether --with-rsvg was given.
2245if test "${with_rsvg+set}" = set; then 2684if test "${with_rsvg+set}" = set; then :
2246 withval=$with_rsvg; 2685 withval=$with_rsvg;
2247else 2686else
2248 with_rsvg=yes 2687 with_rsvg=yes
@@ -2251,7 +2690,7 @@ fi
2251 2690
2252 2691
2253# Check whether --with-xft was given. 2692# Check whether --with-xft was given.
2254if test "${with_xft+set}" = set; then 2693if test "${with_xft+set}" = set; then :
2255 withval=$with_xft; 2694 withval=$with_xft;
2256else 2695else
2257 with_xft=yes 2696 with_xft=yes
@@ -2259,7 +2698,7 @@ fi
2259 2698
2260 2699
2261# Check whether --with-libotf was given. 2700# Check whether --with-libotf was given.
2262if test "${with_libotf+set}" = set; then 2701if test "${with_libotf+set}" = set; then :
2263 withval=$with_libotf; 2702 withval=$with_libotf;
2264else 2703else
2265 with_libotf=yes 2704 with_libotf=yes
@@ -2267,7 +2706,7 @@ fi
2267 2706
2268 2707
2269# Check whether --with-m17n-flt was given. 2708# Check whether --with-m17n-flt was given.
2270if test "${with_m17n_flt+set}" = set; then 2709if test "${with_m17n_flt+set}" = set; then :
2271 withval=$with_m17n_flt; 2710 withval=$with_m17n_flt;
2272else 2711else
2273 with_m17n_flt=yes 2712 with_m17n_flt=yes
@@ -2276,7 +2715,7 @@ fi
2276 2715
2277 2716
2278# Check whether --with-toolkit-scroll-bars was given. 2717# Check whether --with-toolkit-scroll-bars was given.
2279if test "${with_toolkit_scroll_bars+set}" = set; then 2718if test "${with_toolkit_scroll_bars+set}" = set; then :
2280 withval=$with_toolkit_scroll_bars; 2719 withval=$with_toolkit_scroll_bars;
2281else 2720else
2282 with_toolkit_scroll_bars=yes 2721 with_toolkit_scroll_bars=yes
@@ -2284,7 +2723,7 @@ fi
2284 2723
2285 2724
2286# Check whether --with-xaw3d was given. 2725# Check whether --with-xaw3d was given.
2287if test "${with_xaw3d+set}" = set; then 2726if test "${with_xaw3d+set}" = set; then :
2288 withval=$with_xaw3d; 2727 withval=$with_xaw3d;
2289else 2728else
2290 with_xaw3d=yes 2729 with_xaw3d=yes
@@ -2292,7 +2731,7 @@ fi
2292 2731
2293 2732
2294# Check whether --with-xim was given. 2733# Check whether --with-xim was given.
2295if test "${with_xim+set}" = set; then 2734if test "${with_xim+set}" = set; then :
2296 withval=$with_xim; 2735 withval=$with_xim;
2297else 2736else
2298 with_xim=yes 2737 with_xim=yes
@@ -2300,7 +2739,7 @@ fi
2300 2739
2301 2740
2302# Check whether --with-ns was given. 2741# Check whether --with-ns was given.
2303if test "${with_ns+set}" = set; then 2742if test "${with_ns+set}" = set; then :
2304 withval=$with_ns; 2743 withval=$with_ns;
2305else 2744else
2306 with_ns=no 2745 with_ns=no
@@ -2309,7 +2748,7 @@ fi
2309 2748
2310 2749
2311# Check whether --with-gpm was given. 2750# Check whether --with-gpm was given.
2312if test "${with_gpm+set}" = set; then 2751if test "${with_gpm+set}" = set; then :
2313 withval=$with_gpm; 2752 withval=$with_gpm;
2314else 2753else
2315 with_gpm=yes 2754 with_gpm=yes
@@ -2317,7 +2756,7 @@ fi
2317 2756
2318 2757
2319# Check whether --with-dbus was given. 2758# Check whether --with-dbus was given.
2320if test "${with_dbus+set}" = set; then 2759if test "${with_dbus+set}" = set; then :
2321 withval=$with_dbus; 2760 withval=$with_dbus;
2322else 2761else
2323 with_dbus=yes 2762 with_dbus=yes
@@ -2325,7 +2764,7 @@ fi
2325 2764
2326 2765
2327# Check whether --with-gconf was given. 2766# Check whether --with-gconf was given.
2328if test "${with_gconf+set}" = set; then 2767if test "${with_gconf+set}" = set; then :
2329 withval=$with_gconf; 2768 withval=$with_gconf;
2330else 2769else
2331 with_gconf=yes 2770 with_gconf=yes
@@ -2333,7 +2772,7 @@ fi
2333 2772
2334 2773
2335# Check whether --with-selinux was given. 2774# Check whether --with-selinux was given.
2336if test "${with_selinux+set}" = set; then 2775if test "${with_selinux+set}" = set; then :
2337 withval=$with_selinux; 2776 withval=$with_selinux;
2338else 2777else
2339 with_selinux=yes 2778 with_selinux=yes
@@ -2344,7 +2783,7 @@ fi
2344## a suitable makeinfo, and can live without the manuals. 2783## a suitable makeinfo, and can live without the manuals.
2345 2784
2346# Check whether --with-makeinfo was given. 2785# Check whether --with-makeinfo was given.
2347if test "${with_makeinfo+set}" = set; then 2786if test "${with_makeinfo+set}" = set; then :
2348 withval=$with_makeinfo; 2787 withval=$with_makeinfo;
2349else 2788else
2350 with_makeinfo=yes 2789 with_makeinfo=yes
@@ -2353,29 +2792,23 @@ fi
2353 2792
2354 2793
2355# Check whether --with-gtk was given. 2794# Check whether --with-gtk was given.
2356if test "${with_gtk+set}" = set; then 2795if test "${with_gtk+set}" = set; then :
2357 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to 2796 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to
2358specify a toolkit." >&5 2797specify a toolkit." "$LINENO" 5
2359$as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2360specify a toolkit." >&2;}
2361 { (exit 1); exit 1; }; }
2362fi 2798fi
2363 2799
2364 2800
2365 2801
2366# Check whether --with-gcc was given. 2802# Check whether --with-gcc was given.
2367if test "${with_gcc+set}" = set; then 2803if test "${with_gcc+set}" = set; then :
2368 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment 2804 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment
2369variable to specify a compiler." >&5 2805variable to specify a compiler." "$LINENO" 5
2370$as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2371variable to specify a compiler." >&2;}
2372 { (exit 1); exit 1; }; }
2373fi 2806fi
2374 2807
2375 2808
2376 2809
2377# Check whether --with-pkg-config-prog was given. 2810# Check whether --with-pkg-config-prog was given.
2378if test "${with_pkg_config_prog+set}" = set; then 2811if test "${with_pkg_config_prog+set}" = set; then :
2379 withval=$with_pkg_config_prog; 2812 withval=$with_pkg_config_prog;
2380fi 2813fi
2381 2814
@@ -2388,7 +2821,7 @@ fi
2388CRT_DIR= 2821CRT_DIR=
2389 2822
2390# Check whether --with-crt-dir was given. 2823# Check whether --with-crt-dir was given.
2391if test "${with_crt_dir+set}" = set; then 2824if test "${with_crt_dir+set}" = set; then :
2392 withval=$with_crt_dir; 2825 withval=$with_crt_dir;
2393fi 2826fi
2394 2827
@@ -2396,7 +2829,7 @@ CRT_DIR="${with_crt_dir}"
2396 2829
2397 2830
2398# Check whether --with-gnustep-conf was given. 2831# Check whether --with-gnustep-conf was given.
2399if test "${with_gnustep_conf+set}" = set; then 2832if test "${with_gnustep_conf+set}" = set; then :
2400 withval=$with_gnustep_conf; 2833 withval=$with_gnustep_conf;
2401fi 2834fi
2402 2835
@@ -2406,7 +2839,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \
2406 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf 2839 GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf
2407 2840
2408# Check whether --enable-ns-self-contained was given. 2841# Check whether --enable-ns-self-contained was given.
2409if test "${enable_ns_self_contained+set}" = set; then 2842if test "${enable_ns_self_contained+set}" = set; then :
2410 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval 2843 enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval
2411else 2844else
2412 EN_NS_SELF_CONTAINED=yes 2845 EN_NS_SELF_CONTAINED=yes
@@ -2414,7 +2847,7 @@ fi
2414 2847
2415 2848
2416# Check whether --enable-asserts was given. 2849# Check whether --enable-asserts was given.
2417if test "${enable_asserts+set}" = set; then 2850if test "${enable_asserts+set}" = set; then :
2418 enableval=$enable_asserts; USE_XASSERTS=$enableval 2851 enableval=$enable_asserts; USE_XASSERTS=$enableval
2419else 2852else
2420 USE_XASSERTS=no 2853 USE_XASSERTS=no
@@ -2422,7 +2855,7 @@ fi
2422 2855
2423 2856
2424# Check whether --enable-maintainer-mode was given. 2857# Check whether --enable-maintainer-mode was given.
2425if test "${enable_maintainer_mode+set}" = set; then 2858if test "${enable_maintainer_mode+set}" = set; then :
2426 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2859 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2427else 2860else
2428 USE_MAINTAINER_MODE=no 2861 USE_MAINTAINER_MODE=no
@@ -2436,7 +2869,7 @@ fi
2436 2869
2437 2870
2438# Check whether --enable-locallisppath was given. 2871# Check whether --enable-locallisppath was given.
2439if test "${enable_locallisppath+set}" = set; then 2872if test "${enable_locallisppath+set}" = set; then :
2440 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then 2873 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then
2441 locallisppath= 2874 locallisppath=
2442elif test "${enableval}" != "yes"; then 2875elif test "${enableval}" != "yes"; then
@@ -2446,7 +2879,7 @@ fi
2446 2879
2447 2880
2448# Check whether --enable-checking was given. 2881# Check whether --enable-checking was given.
2449if test "${enable_checking+set}" = set; then 2882if test "${enable_checking+set}" = set; then :
2450 enableval=$enable_checking; ac_checking_flags="${enableval}" 2883 enableval=$enable_checking; ac_checking_flags="${enableval}"
2451fi 2884fi
2452 2885
@@ -2474,58 +2907,44 @@ do
2474 stringfreelist) ac_gc_check_string_free_list=1 ;; 2907 stringfreelist) ac_gc_check_string_free_list=1 ;;
2475 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2908 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2476 conslist) ac_gc_check_cons_list=1 ;; 2909 conslist) ac_gc_check_cons_list=1 ;;
2477 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 2910 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;;
2478$as_echo "$as_me: error: unknown check category $check" >&2;}
2479 { (exit 1); exit 1; }; } ;;
2480 esac 2911 esac
2481done 2912done
2482IFS="$ac_save_IFS" 2913IFS="$ac_save_IFS"
2483 2914
2484if test x$ac_enable_checking != x ; then 2915if test x$ac_enable_checking != x ; then
2485 2916
2486cat >>confdefs.h <<\_ACEOF 2917$as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
2487#define ENABLE_CHECKING 1
2488_ACEOF
2489 2918
2490fi 2919fi
2491if test x$ac_gc_check_stringbytes != x ; then 2920if test x$ac_gc_check_stringbytes != x ; then
2492 2921
2493cat >>confdefs.h <<\_ACEOF 2922$as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h
2494#define GC_CHECK_STRING_BYTES 1
2495_ACEOF
2496 2923
2497fi 2924fi
2498if test x$ac_gc_check_stringoverrun != x ; then 2925if test x$ac_gc_check_stringoverrun != x ; then
2499 2926
2500cat >>confdefs.h <<\_ACEOF 2927$as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h
2501#define GC_CHECK_STRING_OVERRUN 1
2502_ACEOF
2503 2928
2504fi 2929fi
2505if test x$ac_gc_check_string_free_list != x ; then 2930if test x$ac_gc_check_string_free_list != x ; then
2506 2931
2507cat >>confdefs.h <<\_ACEOF 2932$as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h
2508#define GC_CHECK_STRING_FREE_LIST 1
2509_ACEOF
2510 2933
2511fi 2934fi
2512if test x$ac_xmalloc_overrun != x ; then 2935if test x$ac_xmalloc_overrun != x ; then
2513 2936
2514cat >>confdefs.h <<\_ACEOF 2937$as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h
2515#define XMALLOC_OVERRUN_CHECK 1
2516_ACEOF
2517 2938
2518fi 2939fi
2519if test x$ac_gc_check_cons_list != x ; then 2940if test x$ac_gc_check_cons_list != x ; then
2520 2941
2521cat >>confdefs.h <<\_ACEOF 2942$as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h
2522#define GC_CHECK_CONS_LIST 1
2523_ACEOF
2524 2943
2525fi 2944fi
2526 2945
2527# Check whether --enable-profiling was given. 2946# Check whether --enable-profiling was given.
2528if test "${enable_profiling+set}" = set; then 2947if test "${enable_profiling+set}" = set; then :
2529 enableval=$enable_profiling; ac_enable_profiling="${enableval}" 2948 enableval=$enable_profiling; ac_enable_profiling="${enableval}"
2530fi 2949fi
2531 2950
@@ -2538,7 +2957,7 @@ else
2538fi 2957fi
2539 2958
2540# Check whether --enable-autodepend was given. 2959# Check whether --enable-autodepend was given.
2541if test "${enable_autodepend+set}" = set; then 2960if test "${enable_autodepend+set}" = set; then :
2542 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" 2961 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}"
2543else 2962else
2544 ac_enable_autodepend=yes 2963 ac_enable_autodepend=yes
@@ -2572,7 +2991,7 @@ esac
2572#### Check if the source directory already has a configured system in it. 2991#### Check if the source directory already has a configured system in it.
2573if test `pwd` != `(cd ${srcdir} && pwd)` \ 2992if test `pwd` != `(cd ${srcdir} && pwd)` \
2574 && test -f "${srcdir}/src/config.h" ; then 2993 && test -f "${srcdir}/src/config.h" ; then
2575 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used
2576 as a build directory right now; it has been configured in its own 2995 as a build directory right now; it has been configured in its own
2577 right. To configure in another directory as well, you MUST 2996 right. To configure in another directory as well, you MUST
2578 use GNU make. If you do not have GNU make, then you must 2997 use GNU make. If you do not have GNU make, then you must
@@ -2593,24 +3012,16 @@ fi
2593 3012
2594ac_aux_dir= 3013ac_aux_dir=
2595for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3014for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2596 if test -f "$ac_dir/install-sh"; then 3015 for ac_t in install-sh install.sh shtool; do
2597 ac_aux_dir=$ac_dir 3016 if test -f "$ac_dir/$ac_t"; then
2598 ac_install_sh="$ac_aux_dir/install-sh -c" 3017 ac_aux_dir=$ac_dir
2599 break 3018 ac_install_sh="$ac_aux_dir/$ac_t -c"
2600 elif test -f "$ac_dir/install.sh"; then 3019 break 2
2601 ac_aux_dir=$ac_dir 3020 fi
2602 ac_install_sh="$ac_aux_dir/install.sh -c" 3021 done
2603 break
2604 elif test -f "$ac_dir/shtool"; then
2605 ac_aux_dir=$ac_dir
2606 ac_install_sh="$ac_aux_dir/shtool install -c"
2607 break
2608 fi
2609done 3022done
2610if test -z "$ac_aux_dir"; then 3023if test -z "$ac_aux_dir"; then
2611 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3024 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2612$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2613 { (exit 1); exit 1; }; }
2614fi 3025fi
2615 3026
2616# These three variables are undocumented and unsupported, 3027# These three variables are undocumented and unsupported,
@@ -2624,35 +3035,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2624 3035
2625# Make sure we can run config.sub. 3036# Make sure we can run config.sub.
2626$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3037$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2627 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3038 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2628$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2629 { (exit 1); exit 1; }; }
2630 3039
2631{ $as_echo "$as_me:$LINENO: checking build system type" >&5 3040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2632$as_echo_n "checking build system type... " >&6; } 3041$as_echo_n "checking build system type... " >&6; }
2633if test "${ac_cv_build+set}" = set; then 3042if test "${ac_cv_build+set}" = set; then :
2634 $as_echo_n "(cached) " >&6 3043 $as_echo_n "(cached) " >&6
2635else 3044else
2636 ac_build_alias=$build_alias 3045 ac_build_alias=$build_alias
2637test "x$ac_build_alias" = x && 3046test "x$ac_build_alias" = x &&
2638 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3047 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2639test "x$ac_build_alias" = x && 3048test "x$ac_build_alias" = x &&
2640 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3049 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2641$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2642 { (exit 1); exit 1; }; }
2643ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3050ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2644 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3051 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2645$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2646 { (exit 1); exit 1; }; }
2647 3052
2648fi 3053fi
2649{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2650$as_echo "$ac_cv_build" >&6; } 3055$as_echo "$ac_cv_build" >&6; }
2651case $ac_cv_build in 3056case $ac_cv_build in
2652*-*-*) ;; 3057*-*-*) ;;
2653*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3058*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2654$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2655 { (exit 1); exit 1; }; };;
2656esac 3059esac
2657build=$ac_cv_build 3060build=$ac_cv_build
2658ac_save_IFS=$IFS; IFS='-' 3061ac_save_IFS=$IFS; IFS='-'
@@ -2668,28 +3071,24 @@ IFS=$ac_save_IFS
2668case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3071case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2669 3072
2670 3073
2671{ $as_echo "$as_me:$LINENO: checking host system type" >&5 3074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2672$as_echo_n "checking host system type... " >&6; } 3075$as_echo_n "checking host system type... " >&6; }
2673if test "${ac_cv_host+set}" = set; then 3076if test "${ac_cv_host+set}" = set; then :
2674 $as_echo_n "(cached) " >&6 3077 $as_echo_n "(cached) " >&6
2675else 3078else
2676 if test "x$host_alias" = x; then 3079 if test "x$host_alias" = x; then
2677 ac_cv_host=$ac_cv_build 3080 ac_cv_host=$ac_cv_build
2678else 3081else
2679 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3082 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2680 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3083 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2681$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2682 { (exit 1); exit 1; }; }
2683fi 3084fi
2684 3085
2685fi 3086fi
2686{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2687$as_echo "$ac_cv_host" >&6; } 3088$as_echo "$ac_cv_host" >&6; }
2688case $ac_cv_host in 3089case $ac_cv_host in
2689*-*-*) ;; 3090*-*-*) ;;
2690*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3091*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2691$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2692 { (exit 1); exit 1; }; };;
2693esac 3092esac
2694host=$ac_cv_host 3093host=$ac_cv_host
2695ac_save_IFS=$IFS; IFS='-' 3094ac_save_IFS=$IFS; IFS='-'
@@ -2769,9 +3168,7 @@ case "${canonical}" in
2769 opsys=netbsd 3168 opsys=netbsd
2770 if test -f /usr/lib/crti.o; then 3169 if test -f /usr/lib/crti.o; then
2771 3170
2772cat >>confdefs.h <<\_ACEOF 3171$as_echo "#define HAVE_CRTIN /**/" >>confdefs.h
2773#define HAVE_CRTIN /**/
2774_ACEOF
2775 3172
2776 fi 3173 fi
2777 3174
@@ -2996,11 +3393,8 @@ fi
2996 3393
2997 3394
2998if test $unported = yes; then 3395if test $unported = yes; then
2999 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. 3396 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems.
3000Check \`etc/MACHINES' for recognized configuration names." >&5 3397Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3001$as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
3002Check \`etc/MACHINES' for recognized configuration names." >&2;}
3003 { (exit 1); exit 1; }; }
3004fi 3398fi
3005 3399
3006machfile="m/${machine}.h" 3400machfile="m/${machine}.h"
@@ -3021,9 +3415,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021if test -n "$ac_tool_prefix"; then 3415if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3416 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3023set dummy ${ac_tool_prefix}gcc; ac_word=$2 3417set dummy ${ac_tool_prefix}gcc; ac_word=$2
3024{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025$as_echo_n "checking for $ac_word... " >&6; } 3419$as_echo_n "checking for $ac_word... " >&6; }
3026if test "${ac_cv_prog_CC+set}" = set; then 3420if test "${ac_cv_prog_CC+set}" = set; then :
3027 $as_echo_n "(cached) " >&6 3421 $as_echo_n "(cached) " >&6
3028else 3422else
3029 if test -n "$CC"; then 3423 if test -n "$CC"; then
@@ -3034,24 +3428,24 @@ for as_dir in $PATH
3034do 3428do
3035 IFS=$as_save_IFS 3429 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=. 3430 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do 3431 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3433 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3040 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2 3435 break 2
3042 fi 3436 fi
3043done 3437done
3044done 3438 done
3045IFS=$as_save_IFS 3439IFS=$as_save_IFS
3046 3440
3047fi 3441fi
3048fi 3442fi
3049CC=$ac_cv_prog_CC 3443CC=$ac_cv_prog_CC
3050if test -n "$CC"; then 3444if test -n "$CC"; then
3051 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052$as_echo "$CC" >&6; } 3446$as_echo "$CC" >&6; }
3053else 3447else
3054 { $as_echo "$as_me:$LINENO: result: no" >&5 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055$as_echo "no" >&6; } 3449$as_echo "no" >&6; }
3056fi 3450fi
3057 3451
@@ -3061,9 +3455,9 @@ if test -z "$ac_cv_prog_CC"; then
3061 ac_ct_CC=$CC 3455 ac_ct_CC=$CC
3062 # Extract the first word of "gcc", so it can be a program name with args. 3456 # Extract the first word of "gcc", so it can be a program name with args.
3063set dummy gcc; ac_word=$2 3457set dummy gcc; ac_word=$2
3064{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065$as_echo_n "checking for $ac_word... " >&6; } 3459$as_echo_n "checking for $ac_word... " >&6; }
3066if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3460if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3067 $as_echo_n "(cached) " >&6 3461 $as_echo_n "(cached) " >&6
3068else 3462else
3069 if test -n "$ac_ct_CC"; then 3463 if test -n "$ac_ct_CC"; then
@@ -3074,24 +3468,24 @@ for as_dir in $PATH
3074do 3468do
3075 IFS=$as_save_IFS 3469 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=. 3470 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do 3471 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 ac_cv_prog_ac_ct_CC="gcc" 3473 ac_cv_prog_ac_ct_CC="gcc"
3080 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 break 2 3475 break 2
3082 fi 3476 fi
3083done 3477done
3084done 3478 done
3085IFS=$as_save_IFS 3479IFS=$as_save_IFS
3086 3480
3087fi 3481fi
3088fi 3482fi
3089ac_ct_CC=$ac_cv_prog_ac_ct_CC 3483ac_ct_CC=$ac_cv_prog_ac_ct_CC
3090if test -n "$ac_ct_CC"; then 3484if test -n "$ac_ct_CC"; then
3091 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3092$as_echo "$ac_ct_CC" >&6; } 3486$as_echo "$ac_ct_CC" >&6; }
3093else 3487else
3094 { $as_echo "$as_me:$LINENO: result: no" >&5 3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095$as_echo "no" >&6; } 3489$as_echo "no" >&6; }
3096fi 3490fi
3097 3491
@@ -3100,12 +3494,8 @@ fi
3100 else 3494 else
3101 case $cross_compiling:$ac_tool_warned in 3495 case $cross_compiling:$ac_tool_warned in
3102yes:) 3496yes:)
3103{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3497{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104whose name does not start with the host triplet. If you think this 3498$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105configuration is useful to you, please write to autoconf@gnu.org." >&5
3106$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3107whose name does not start with the host triplet. If you think this
3108configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3109ac_tool_warned=yes ;; 3499ac_tool_warned=yes ;;
3110esac 3500esac
3111 CC=$ac_ct_CC 3501 CC=$ac_ct_CC
@@ -3118,9 +3508,9 @@ if test -z "$CC"; then
3118 if test -n "$ac_tool_prefix"; then 3508 if test -n "$ac_tool_prefix"; then
3119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3509 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3120set dummy ${ac_tool_prefix}cc; ac_word=$2 3510set dummy ${ac_tool_prefix}cc; ac_word=$2
3121{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122$as_echo_n "checking for $ac_word... " >&6; } 3512$as_echo_n "checking for $ac_word... " >&6; }
3123if test "${ac_cv_prog_CC+set}" = set; then 3513if test "${ac_cv_prog_CC+set}" = set; then :
3124 $as_echo_n "(cached) " >&6 3514 $as_echo_n "(cached) " >&6
3125else 3515else
3126 if test -n "$CC"; then 3516 if test -n "$CC"; then
@@ -3131,24 +3521,24 @@ for as_dir in $PATH
3131do 3521do
3132 IFS=$as_save_IFS 3522 IFS=$as_save_IFS
3133 test -z "$as_dir" && as_dir=. 3523 test -z "$as_dir" && as_dir=.
3134 for ac_exec_ext in '' $ac_executable_extensions; do 3524 for ac_exec_ext in '' $ac_executable_extensions; do
3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136 ac_cv_prog_CC="${ac_tool_prefix}cc" 3526 ac_cv_prog_CC="${ac_tool_prefix}cc"
3137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 break 2 3528 break 2
3139 fi 3529 fi
3140done 3530done
3141done 3531 done
3142IFS=$as_save_IFS 3532IFS=$as_save_IFS
3143 3533
3144fi 3534fi
3145fi 3535fi
3146CC=$ac_cv_prog_CC 3536CC=$ac_cv_prog_CC
3147if test -n "$CC"; then 3537if test -n "$CC"; then
3148 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3149$as_echo "$CC" >&6; } 3539$as_echo "$CC" >&6; }
3150else 3540else
3151 { $as_echo "$as_me:$LINENO: result: no" >&5 3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152$as_echo "no" >&6; } 3542$as_echo "no" >&6; }
3153fi 3543fi
3154 3544
@@ -3158,9 +3548,9 @@ fi
3158if test -z "$CC"; then 3548if test -z "$CC"; then
3159 # Extract the first word of "cc", so it can be a program name with args. 3549 # Extract the first word of "cc", so it can be a program name with args.
3160set dummy cc; ac_word=$2 3550set dummy cc; ac_word=$2
3161{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162$as_echo_n "checking for $ac_word... " >&6; } 3552$as_echo_n "checking for $ac_word... " >&6; }
3163if test "${ac_cv_prog_CC+set}" = set; then 3553if test "${ac_cv_prog_CC+set}" = set; then :
3164 $as_echo_n "(cached) " >&6 3554 $as_echo_n "(cached) " >&6
3165else 3555else
3166 if test -n "$CC"; then 3556 if test -n "$CC"; then
@@ -3172,18 +3562,18 @@ for as_dir in $PATH
3172do 3562do
3173 IFS=$as_save_IFS 3563 IFS=$as_save_IFS
3174 test -z "$as_dir" && as_dir=. 3564 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do 3565 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3567 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3178 ac_prog_rejected=yes 3568 ac_prog_rejected=yes
3179 continue 3569 continue
3180 fi 3570 fi
3181 ac_cv_prog_CC="cc" 3571 ac_cv_prog_CC="cc"
3182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 break 2 3573 break 2
3184 fi 3574 fi
3185done 3575done
3186done 3576 done
3187IFS=$as_save_IFS 3577IFS=$as_save_IFS
3188 3578
3189if test $ac_prog_rejected = yes; then 3579if test $ac_prog_rejected = yes; then
@@ -3202,10 +3592,10 @@ fi
3202fi 3592fi
3203CC=$ac_cv_prog_CC 3593CC=$ac_cv_prog_CC
3204if test -n "$CC"; then 3594if test -n "$CC"; then
3205 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3206$as_echo "$CC" >&6; } 3596$as_echo "$CC" >&6; }
3207else 3597else
3208 { $as_echo "$as_me:$LINENO: result: no" >&5 3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209$as_echo "no" >&6; } 3599$as_echo "no" >&6; }
3210fi 3600fi
3211 3601
@@ -3217,9 +3607,9 @@ if test -z "$CC"; then
3217 do 3607 do
3218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3219set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3609set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3220{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221$as_echo_n "checking for $ac_word... " >&6; } 3611$as_echo_n "checking for $ac_word... " >&6; }
3222if test "${ac_cv_prog_CC+set}" = set; then 3612if test "${ac_cv_prog_CC+set}" = set; then :
3223 $as_echo_n "(cached) " >&6 3613 $as_echo_n "(cached) " >&6
3224else 3614else
3225 if test -n "$CC"; then 3615 if test -n "$CC"; then
@@ -3230,24 +3620,24 @@ for as_dir in $PATH
3230do 3620do
3231 IFS=$as_save_IFS 3621 IFS=$as_save_IFS
3232 test -z "$as_dir" && as_dir=. 3622 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do 3623 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3625 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3236 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 break 2 3627 break 2
3238 fi 3628 fi
3239done 3629done
3240done 3630 done
3241IFS=$as_save_IFS 3631IFS=$as_save_IFS
3242 3632
3243fi 3633fi
3244fi 3634fi
3245CC=$ac_cv_prog_CC 3635CC=$ac_cv_prog_CC
3246if test -n "$CC"; then 3636if test -n "$CC"; then
3247 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3248$as_echo "$CC" >&6; } 3638$as_echo "$CC" >&6; }
3249else 3639else
3250 { $as_echo "$as_me:$LINENO: result: no" >&5 3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251$as_echo "no" >&6; } 3641$as_echo "no" >&6; }
3252fi 3642fi
3253 3643
@@ -3261,9 +3651,9 @@ if test -z "$CC"; then
3261do 3651do
3262 # Extract the first word of "$ac_prog", so it can be a program name with args. 3652 # Extract the first word of "$ac_prog", so it can be a program name with args.
3263set dummy $ac_prog; ac_word=$2 3653set dummy $ac_prog; ac_word=$2
3264{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265$as_echo_n "checking for $ac_word... " >&6; } 3655$as_echo_n "checking for $ac_word... " >&6; }
3266if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3656if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3267 $as_echo_n "(cached) " >&6 3657 $as_echo_n "(cached) " >&6
3268else 3658else
3269 if test -n "$ac_ct_CC"; then 3659 if test -n "$ac_ct_CC"; then
@@ -3274,24 +3664,24 @@ for as_dir in $PATH
3274do 3664do
3275 IFS=$as_save_IFS 3665 IFS=$as_save_IFS
3276 test -z "$as_dir" && as_dir=. 3666 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do 3667 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279 ac_cv_prog_ac_ct_CC="$ac_prog" 3669 ac_cv_prog_ac_ct_CC="$ac_prog"
3280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 break 2 3671 break 2
3282 fi 3672 fi
3283done 3673done
3284done 3674 done
3285IFS=$as_save_IFS 3675IFS=$as_save_IFS
3286 3676
3287fi 3677fi
3288fi 3678fi
3289ac_ct_CC=$ac_cv_prog_ac_ct_CC 3679ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290if test -n "$ac_ct_CC"; then 3680if test -n "$ac_ct_CC"; then
3291 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3292$as_echo "$ac_ct_CC" >&6; } 3682$as_echo "$ac_ct_CC" >&6; }
3293else 3683else
3294 { $as_echo "$as_me:$LINENO: result: no" >&5 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295$as_echo "no" >&6; } 3685$as_echo "no" >&6; }
3296fi 3686fi
3297 3687
@@ -3304,12 +3694,8 @@ done
3304 else 3694 else
3305 case $cross_compiling:$ac_tool_warned in 3695 case $cross_compiling:$ac_tool_warned in
3306yes:) 3696yes:)
3307{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3308whose name does not start with the host triplet. If you think this 3698$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3309configuration is useful to you, please write to autoconf@gnu.org." >&5
3310$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3311whose name does not start with the host triplet. If you think this
3312configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3313ac_tool_warned=yes ;; 3699ac_tool_warned=yes ;;
3314esac 3700esac
3315 CC=$ac_ct_CC 3701 CC=$ac_ct_CC
@@ -3319,55 +3705,37 @@ fi
3319fi 3705fi
3320 3706
3321 3707
3322test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3708test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323See \`config.log' for more details." >&5 3709$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3710as_fn_error "no acceptable C compiler found in \$PATH
3325See \`config.log' for more details." >&2;} 3711See \`config.log' for more details." "$LINENO" 5; }
3326 { (exit 1); exit 1; }; }
3327 3712
3328# Provide some information about the compiler. 3713# Provide some information about the compiler.
3329$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3714$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3330set X $ac_compile 3715set X $ac_compile
3331ac_compiler=$2 3716ac_compiler=$2
3332{ (ac_try="$ac_compiler --version >&5" 3717for ac_option in --version -v -V -qversion; do
3333case "(($ac_try" in 3718 { { ac_try="$ac_compiler $ac_option >&5"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3336esac
3337eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3338$as_echo "$ac_try_echo") >&5
3339 (eval "$ac_compiler --version >&5") 2>&5
3340 ac_status=$?
3341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }
3343{ (ac_try="$ac_compiler -v >&5"
3344case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347esac
3348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3349$as_echo "$ac_try_echo") >&5
3350 (eval "$ac_compiler -v >&5") 2>&5
3351 ac_status=$?
3352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }
3354{ (ac_try="$ac_compiler -V >&5"
3355case "(($ac_try" in 3719case "(($ac_try" in
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;; 3721 *) ac_try_echo=$ac_try;;
3358esac 3722esac
3359eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3723eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360$as_echo "$ac_try_echo") >&5 3724$as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_compiler -V >&5") 2>&5 3725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3362 ac_status=$? 3726 ac_status=$?
3363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3727 if test -s conftest.err; then
3364 (exit $ac_status); } 3728 sed '10a\
3729... rest of stderr output deleted ...
3730 10q' conftest.err >conftest.er1
3731 cat conftest.er1 >&5
3732 fi
3733 rm -f conftest.er1 conftest.err
3734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3735 test $ac_status = 0; }
3736done
3365 3737
3366cat >conftest.$ac_ext <<_ACEOF 3738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367/* confdefs.h. */
3368_ACEOF
3369cat confdefs.h >>conftest.$ac_ext
3370cat >>conftest.$ac_ext <<_ACEOF
3371/* end confdefs.h. */ 3739/* end confdefs.h. */
3372 3740
3373int 3741int
@@ -3383,8 +3751,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3383# Try to create an executable without -o first, disregard a.out. 3751# Try to create an executable without -o first, disregard a.out.
3384# It will help us diagnose broken compilers, and finding out an intuition 3752# It will help us diagnose broken compilers, and finding out an intuition
3385# of exeext. 3753# of exeext.
3386{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3387$as_echo_n "checking for C compiler default output file name... " >&6; } 3755$as_echo_n "checking whether the C compiler works... " >&6; }
3388ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3756ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3389 3757
3390# The possible output files: 3758# The possible output files:
@@ -3400,17 +3768,17 @@ do
3400done 3768done
3401rm -f $ac_rmfiles 3769rm -f $ac_rmfiles
3402 3770
3403if { (ac_try="$ac_link_default" 3771if { { ac_try="$ac_link_default"
3404case "(($ac_try" in 3772case "(($ac_try" in
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;; 3774 *) ac_try_echo=$ac_try;;
3407esac 3775esac
3408eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3776eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409$as_echo "$ac_try_echo") >&5 3777$as_echo "$ac_try_echo"; } >&5
3410 (eval "$ac_link_default") 2>&5 3778 (eval "$ac_link_default") 2>&5
3411 ac_status=$? 3779 ac_status=$?
3412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 (exit $ac_status); }; then 3781 test $ac_status = 0; }; then :
3414 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3782 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3415# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3783# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3416# in a Makefile. We should not override ac_cv_exeext if it was cached, 3784# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -3427,7 +3795,7 @@ do
3427 # certainly right. 3795 # certainly right.
3428 break;; 3796 break;;
3429 *.* ) 3797 *.* )
3430 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3798 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3431 then :; else 3799 then :; else
3432 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3800 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433 fi 3801 fi
@@ -3446,80 +3814,42 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
3446else 3814else
3447 ac_file='' 3815 ac_file=''
3448fi 3816fi
3449 3817if test -z "$ac_file"; then :
3450{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451$as_echo "$ac_file" >&6; } 3819$as_echo "no" >&6; }
3452if test -z "$ac_file"; then 3820$as_echo "$as_me: failed program was:" >&5
3453 $as_echo "$as_me: failed program was:" >&5
3454sed 's/^/| /' conftest.$ac_ext >&5 3821sed 's/^/| /' conftest.$ac_ext >&5
3455 3822
3456{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3823{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457See \`config.log' for more details." >&5 3824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458$as_echo "$as_me: error: C compiler cannot create executables 3825{ as_fn_set_status 77
3459See \`config.log' for more details." >&2;} 3826as_fn_error "C compiler cannot create executables
3460 { (exit 77); exit 77; }; } 3827See \`config.log' for more details." "$LINENO" 5; }; }
3828else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3830$as_echo "yes" >&6; }
3461fi 3831fi
3462 3832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3833$as_echo_n "checking for C compiler default output file name... " >&6; }
3834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3835$as_echo "$ac_file" >&6; }
3463ac_exeext=$ac_cv_exeext 3836ac_exeext=$ac_cv_exeext
3464 3837
3465# Check that the compiler produces executables we can run. If not, either
3466# the compiler is broken, or we cross compile.
3467{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3468$as_echo_n "checking whether the C compiler works... " >&6; }
3469# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3470# If not cross compiling, check that we can run a simple program.
3471if test "$cross_compiling" != yes; then
3472 if { ac_try='./$ac_file'
3473 { (case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476esac
3477eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3478$as_echo "$ac_try_echo") >&5
3479 (eval "$ac_try") 2>&5
3480 ac_status=$?
3481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3483 cross_compiling=no
3484 else
3485 if test "$cross_compiling" = maybe; then
3486 cross_compiling=yes
3487 else
3488 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3489If you meant to cross compile, use \`--host'.
3490See \`config.log' for more details." >&5
3491$as_echo "$as_me: error: cannot run C compiled programs.
3492If you meant to cross compile, use \`--host'.
3493See \`config.log' for more details." >&2;}
3494 { (exit 1); exit 1; }; }
3495 fi
3496 fi
3497fi
3498{ $as_echo "$as_me:$LINENO: result: yes" >&5
3499$as_echo "yes" >&6; }
3500
3501rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3838rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3502ac_clean_files=$ac_clean_files_save 3839ac_clean_files=$ac_clean_files_save
3503# Check that the compiler produces executables we can run. If not, either 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3504# the compiler is broken, or we cross compile.
3505{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3506$as_echo_n "checking whether we are cross compiling... " >&6; }
3507{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3508$as_echo "$cross_compiling" >&6; }
3509
3510{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3511$as_echo_n "checking for suffix of executables... " >&6; } 3841$as_echo_n "checking for suffix of executables... " >&6; }
3512if { (ac_try="$ac_link" 3842if { { ac_try="$ac_link"
3513case "(($ac_try" in 3843case "(($ac_try" in
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;; 3845 *) ac_try_echo=$ac_try;;
3516esac 3846esac
3517eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3847eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3518$as_echo "$ac_try_echo") >&5 3848$as_echo "$ac_try_echo"; } >&5
3519 (eval "$ac_link") 2>&5 3849 (eval "$ac_link") 2>&5
3520 ac_status=$? 3850 ac_status=$?
3521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3522 (exit $ac_status); }; then 3852 test $ac_status = 0; }; then :
3523 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3853 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3524# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3854# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3525# work properly (i.e., refer to `conftest.exe'), while it won't with 3855# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -3534,30 +3864,83 @@ for ac_file in conftest.exe conftest conftest.*; do
3534 esac 3864 esac
3535done 3865done
3536else 3866else
3537 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538See \`config.log' for more details." >&5 3868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3869as_fn_error "cannot compute suffix of executables: cannot compile and link
3540See \`config.log' for more details." >&2;} 3870See \`config.log' for more details." "$LINENO" 5; }
3541 { (exit 1); exit 1; }; }
3542fi 3871fi
3543 3872rm -f conftest conftest$ac_cv_exeext
3544rm -f conftest$ac_cv_exeext 3873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3545{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3546$as_echo "$ac_cv_exeext" >&6; } 3874$as_echo "$ac_cv_exeext" >&6; }
3547 3875
3548rm -f conftest.$ac_ext 3876rm -f conftest.$ac_ext
3549EXEEXT=$ac_cv_exeext 3877EXEEXT=$ac_cv_exeext
3550ac_exeext=$EXEEXT 3878ac_exeext=$EXEEXT
3551{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3879cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880/* end confdefs.h. */
3881#include <stdio.h>
3882int
3883main ()
3884{
3885FILE *f = fopen ("conftest.out", "w");
3886 return ferror (f) || fclose (f) != 0;
3887
3888 ;
3889 return 0;
3890}
3891_ACEOF
3892ac_clean_files="$ac_clean_files conftest.out"
3893# Check that the compiler produces executables we can run. If not, either
3894# the compiler is broken, or we cross compile.
3895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3896$as_echo_n "checking whether we are cross compiling... " >&6; }
3897if test "$cross_compiling" != yes; then
3898 { { ac_try="$ac_link"
3899case "(($ac_try" in
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3902esac
3903eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904$as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_link") 2>&5
3906 ac_status=$?
3907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908 test $ac_status = 0; }
3909 if { ac_try='./conftest$ac_cv_exeext'
3910 { { case "(($ac_try" in
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3913esac
3914eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3915$as_echo "$ac_try_echo"; } >&5
3916 (eval "$ac_try") 2>&5
3917 ac_status=$?
3918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 test $ac_status = 0; }; }; then
3920 cross_compiling=no
3921 else
3922 if test "$cross_compiling" = maybe; then
3923 cross_compiling=yes
3924 else
3925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3927as_fn_error "cannot run C compiled programs.
3928If you meant to cross compile, use \`--host'.
3929See \`config.log' for more details." "$LINENO" 5; }
3930 fi
3931 fi
3932fi
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3934$as_echo "$cross_compiling" >&6; }
3935
3936rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3937ac_clean_files=$ac_clean_files_save
3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3552$as_echo_n "checking for suffix of object files... " >&6; } 3939$as_echo_n "checking for suffix of object files... " >&6; }
3553if test "${ac_cv_objext+set}" = set; then 3940if test "${ac_cv_objext+set}" = set; then :
3554 $as_echo_n "(cached) " >&6 3941 $as_echo_n "(cached) " >&6
3555else 3942else
3556 cat >conftest.$ac_ext <<_ACEOF 3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557/* confdefs.h. */
3558_ACEOF
3559cat confdefs.h >>conftest.$ac_ext
3560cat >>conftest.$ac_ext <<_ACEOF
3561/* end confdefs.h. */ 3944/* end confdefs.h. */
3562 3945
3563int 3946int
@@ -3569,17 +3952,17 @@ main ()
3569} 3952}
3570_ACEOF 3953_ACEOF
3571rm -f conftest.o conftest.obj 3954rm -f conftest.o conftest.obj
3572if { (ac_try="$ac_compile" 3955if { { ac_try="$ac_compile"
3573case "(($ac_try" in 3956case "(($ac_try" in
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;; 3958 *) ac_try_echo=$ac_try;;
3576esac 3959esac
3577eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3960eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578$as_echo "$ac_try_echo") >&5 3961$as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_compile") 2>&5 3962 (eval "$ac_compile") 2>&5
3580 ac_status=$? 3963 ac_status=$?
3581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 (exit $ac_status); }; then 3965 test $ac_status = 0; }; then :
3583 for ac_file in conftest.o conftest.obj conftest.*; do 3966 for ac_file in conftest.o conftest.obj conftest.*; do
3584 test -f "$ac_file" || continue; 3967 test -f "$ac_file" || continue;
3585 case $ac_file in 3968 case $ac_file in
@@ -3592,29 +3975,23 @@ else
3592 $as_echo "$as_me: failed program was:" >&5 3975 $as_echo "$as_me: failed program was:" >&5
3593sed 's/^/| /' conftest.$ac_ext >&5 3976sed 's/^/| /' conftest.$ac_ext >&5
3594 3977
3595{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3978{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596See \`config.log' for more details." >&5 3979$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3980as_fn_error "cannot compute suffix of object files: cannot compile
3598See \`config.log' for more details." >&2;} 3981See \`config.log' for more details." "$LINENO" 5; }
3599 { (exit 1); exit 1; }; }
3600fi 3982fi
3601
3602rm -f conftest.$ac_cv_objext conftest.$ac_ext 3983rm -f conftest.$ac_cv_objext conftest.$ac_ext
3603fi 3984fi
3604{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3605$as_echo "$ac_cv_objext" >&6; } 3986$as_echo "$ac_cv_objext" >&6; }
3606OBJEXT=$ac_cv_objext 3987OBJEXT=$ac_cv_objext
3607ac_objext=$OBJEXT 3988ac_objext=$OBJEXT
3608{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3609$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3990$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3610if test "${ac_cv_c_compiler_gnu+set}" = set; then 3991if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3611 $as_echo_n "(cached) " >&6 3992 $as_echo_n "(cached) " >&6
3612else 3993else
3613 cat >conftest.$ac_ext <<_ACEOF 3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614/* confdefs.h. */
3615_ACEOF
3616cat confdefs.h >>conftest.$ac_ext
3617cat >>conftest.$ac_ext <<_ACEOF
3618/* end confdefs.h. */ 3995/* end confdefs.h. */
3619 3996
3620int 3997int
@@ -3628,37 +4005,16 @@ main ()
3628 return 0; 4005 return 0;
3629} 4006}
3630_ACEOF 4007_ACEOF
3631rm -f conftest.$ac_objext 4008if ac_fn_c_try_compile "$LINENO"; then :
3632if { (ac_try="$ac_compile"
3633case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3636esac
3637eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3638$as_echo "$ac_try_echo") >&5
3639 (eval "$ac_compile") 2>conftest.er1
3640 ac_status=$?
3641 grep -v '^ *+' conftest.er1 >conftest.err
3642 rm -f conftest.er1
3643 cat conftest.err >&5
3644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } && {
3646 test -z "$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3648 } && test -s conftest.$ac_objext; then
3649 ac_compiler_gnu=yes 4009 ac_compiler_gnu=yes
3650else 4010else
3651 $as_echo "$as_me: failed program was:" >&5 4011 ac_compiler_gnu=no
3652sed 's/^/| /' conftest.$ac_ext >&5
3653
3654 ac_compiler_gnu=no
3655fi 4012fi
3656
3657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658ac_cv_c_compiler_gnu=$ac_compiler_gnu 4014ac_cv_c_compiler_gnu=$ac_compiler_gnu
3659 4015
3660fi 4016fi
3661{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3662$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4018$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3663if test $ac_compiler_gnu = yes; then 4019if test $ac_compiler_gnu = yes; then
3664 GCC=yes 4020 GCC=yes
@@ -3667,20 +4023,16 @@ else
3667fi 4023fi
3668ac_test_CFLAGS=${CFLAGS+set} 4024ac_test_CFLAGS=${CFLAGS+set}
3669ac_save_CFLAGS=$CFLAGS 4025ac_save_CFLAGS=$CFLAGS
3670{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 4026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3671$as_echo_n "checking whether $CC accepts -g... " >&6; } 4027$as_echo_n "checking whether $CC accepts -g... " >&6; }
3672if test "${ac_cv_prog_cc_g+set}" = set; then 4028if test "${ac_cv_prog_cc_g+set}" = set; then :
3673 $as_echo_n "(cached) " >&6 4029 $as_echo_n "(cached) " >&6
3674else 4030else
3675 ac_save_c_werror_flag=$ac_c_werror_flag 4031 ac_save_c_werror_flag=$ac_c_werror_flag
3676 ac_c_werror_flag=yes 4032 ac_c_werror_flag=yes
3677 ac_cv_prog_cc_g=no 4033 ac_cv_prog_cc_g=no
3678 CFLAGS="-g" 4034 CFLAGS="-g"
3679 cat >conftest.$ac_ext <<_ACEOF 4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680/* confdefs.h. */
3681_ACEOF
3682cat confdefs.h >>conftest.$ac_ext
3683cat >>conftest.$ac_ext <<_ACEOF
3684/* end confdefs.h. */ 4036/* end confdefs.h. */
3685 4037
3686int 4038int
@@ -3691,35 +4043,11 @@ main ()
3691 return 0; 4043 return 0;
3692} 4044}
3693_ACEOF 4045_ACEOF
3694rm -f conftest.$ac_objext 4046if ac_fn_c_try_compile "$LINENO"; then :
3695if { (ac_try="$ac_compile"
3696case "(($ac_try" in
3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3698 *) ac_try_echo=$ac_try;;
3699esac
3700eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3701$as_echo "$ac_try_echo") >&5
3702 (eval "$ac_compile") 2>conftest.er1
3703 ac_status=$?
3704 grep -v '^ *+' conftest.er1 >conftest.err
3705 rm -f conftest.er1
3706 cat conftest.err >&5
3707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } && {
3709 test -z "$ac_c_werror_flag" ||
3710 test ! -s conftest.err
3711 } && test -s conftest.$ac_objext; then
3712 ac_cv_prog_cc_g=yes 4047 ac_cv_prog_cc_g=yes
3713else 4048else
3714 $as_echo "$as_me: failed program was:" >&5 4049 CFLAGS=""
3715sed 's/^/| /' conftest.$ac_ext >&5 4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716
3717 CFLAGS=""
3718 cat >conftest.$ac_ext <<_ACEOF
3719/* confdefs.h. */
3720_ACEOF
3721cat confdefs.h >>conftest.$ac_ext
3722cat >>conftest.$ac_ext <<_ACEOF
3723/* end confdefs.h. */ 4051/* end confdefs.h. */
3724 4052
3725int 4053int
@@ -3730,36 +4058,12 @@ main ()
3730 return 0; 4058 return 0;
3731} 4059}
3732_ACEOF 4060_ACEOF
3733rm -f conftest.$ac_objext 4061if ac_fn_c_try_compile "$LINENO"; then :
3734if { (ac_try="$ac_compile"
3735case "(($ac_try" in
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3738esac
3739eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3740$as_echo "$ac_try_echo") >&5
3741 (eval "$ac_compile") 2>conftest.er1
3742 ac_status=$?
3743 grep -v '^ *+' conftest.er1 >conftest.err
3744 rm -f conftest.er1
3745 cat conftest.err >&5
3746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); } && {
3748 test -z "$ac_c_werror_flag" ||
3749 test ! -s conftest.err
3750 } && test -s conftest.$ac_objext; then
3751 :
3752else
3753 $as_echo "$as_me: failed program was:" >&5
3754sed 's/^/| /' conftest.$ac_ext >&5
3755 4062
3756 ac_c_werror_flag=$ac_save_c_werror_flag 4063else
4064 ac_c_werror_flag=$ac_save_c_werror_flag
3757 CFLAGS="-g" 4065 CFLAGS="-g"
3758 cat >conftest.$ac_ext <<_ACEOF 4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759/* confdefs.h. */
3760_ACEOF
3761cat confdefs.h >>conftest.$ac_ext
3762cat >>conftest.$ac_ext <<_ACEOF
3763/* end confdefs.h. */ 4067/* end confdefs.h. */
3764 4068
3765int 4069int
@@ -3770,42 +4074,17 @@ main ()
3770 return 0; 4074 return 0;
3771} 4075}
3772_ACEOF 4076_ACEOF
3773rm -f conftest.$ac_objext 4077if ac_fn_c_try_compile "$LINENO"; then :
3774if { (ac_try="$ac_compile"
3775case "(($ac_try" in
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3778esac
3779eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3780$as_echo "$ac_try_echo") >&5
3781 (eval "$ac_compile") 2>conftest.er1
3782 ac_status=$?
3783 grep -v '^ *+' conftest.er1 >conftest.err
3784 rm -f conftest.er1
3785 cat conftest.err >&5
3786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); } && {
3788 test -z "$ac_c_werror_flag" ||
3789 test ! -s conftest.err
3790 } && test -s conftest.$ac_objext; then
3791 ac_cv_prog_cc_g=yes 4078 ac_cv_prog_cc_g=yes
3792else
3793 $as_echo "$as_me: failed program was:" >&5
3794sed 's/^/| /' conftest.$ac_ext >&5
3795
3796
3797fi 4079fi
3798
3799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3800fi 4081fi
3801
3802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3803fi 4083fi
3804
3805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 ac_c_werror_flag=$ac_save_c_werror_flag 4085 ac_c_werror_flag=$ac_save_c_werror_flag
3807fi 4086fi
3808{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 4087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3809$as_echo "$ac_cv_prog_cc_g" >&6; } 4088$as_echo "$ac_cv_prog_cc_g" >&6; }
3810if test "$ac_test_CFLAGS" = set; then 4089if test "$ac_test_CFLAGS" = set; then
3811 CFLAGS=$ac_save_CFLAGS 4090 CFLAGS=$ac_save_CFLAGS
@@ -3822,18 +4101,14 @@ else
3822 CFLAGS= 4101 CFLAGS=
3823 fi 4102 fi
3824fi 4103fi
3825{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 4104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3826$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4105$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3827if test "${ac_cv_prog_cc_c89+set}" = set; then 4106if test "${ac_cv_prog_cc_c89+set}" = set; then :
3828 $as_echo_n "(cached) " >&6 4107 $as_echo_n "(cached) " >&6
3829else 4108else
3830 ac_cv_prog_cc_c89=no 4109 ac_cv_prog_cc_c89=no
3831ac_save_CC=$CC 4110ac_save_CC=$CC
3832cat >conftest.$ac_ext <<_ACEOF 4111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833/* confdefs.h. */
3834_ACEOF
3835cat confdefs.h >>conftest.$ac_ext
3836cat >>conftest.$ac_ext <<_ACEOF
3837/* end confdefs.h. */ 4112/* end confdefs.h. */
3838#include <stdarg.h> 4113#include <stdarg.h>
3839#include <stdio.h> 4114#include <stdio.h>
@@ -3890,32 +4165,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3890 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4165 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891do 4166do
3892 CC="$ac_save_CC $ac_arg" 4167 CC="$ac_save_CC $ac_arg"
3893 rm -f conftest.$ac_objext 4168 if ac_fn_c_try_compile "$LINENO"; then :
3894if { (ac_try="$ac_compile"
3895case "(($ac_try" in
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3898esac
3899eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3900$as_echo "$ac_try_echo") >&5
3901 (eval "$ac_compile") 2>conftest.er1
3902 ac_status=$?
3903 grep -v '^ *+' conftest.er1 >conftest.err
3904 rm -f conftest.er1
3905 cat conftest.err >&5
3906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } && {
3908 test -z "$ac_c_werror_flag" ||
3909 test ! -s conftest.err
3910 } && test -s conftest.$ac_objext; then
3911 ac_cv_prog_cc_c89=$ac_arg 4169 ac_cv_prog_cc_c89=$ac_arg
3912else
3913 $as_echo "$as_me: failed program was:" >&5
3914sed 's/^/| /' conftest.$ac_ext >&5
3915
3916
3917fi 4170fi
3918
3919rm -f core conftest.err conftest.$ac_objext 4171rm -f core conftest.err conftest.$ac_objext
3920 test "x$ac_cv_prog_cc_c89" != "xno" && break 4172 test "x$ac_cv_prog_cc_c89" != "xno" && break
3921done 4173done
@@ -3926,17 +4178,19 @@ fi
3926# AC_CACHE_VAL 4178# AC_CACHE_VAL
3927case "x$ac_cv_prog_cc_c89" in 4179case "x$ac_cv_prog_cc_c89" in
3928 x) 4180 x)
3929 { $as_echo "$as_me:$LINENO: result: none needed" >&5 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3930$as_echo "none needed" >&6; } ;; 4182$as_echo "none needed" >&6; } ;;
3931 xno) 4183 xno)
3932 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3933$as_echo "unsupported" >&6; } ;; 4185$as_echo "unsupported" >&6; } ;;
3934 *) 4186 *)
3935 CC="$CC $ac_cv_prog_cc_c89" 4187 CC="$CC $ac_cv_prog_cc_c89"
3936 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3937$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4189$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3938esac 4190esac
4191if test "x$ac_cv_prog_cc_c89" != xno; then :
3939 4192
4193fi
3940 4194
3941ac_ext=c 4195ac_ext=c
3942ac_cpp='$CPP $CPPFLAGS' 4196ac_cpp='$CPP $CPPFLAGS'
@@ -3954,17 +4208,13 @@ fi
3954## using a Sun compiler, which needs -Xs to prevent whitespace. 4208## using a Sun compiler, which needs -Xs to prevent whitespace.
3955if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 4209if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
3956 test x"$CPP" = x; then 4210 test x"$CPP" = x; then
3957 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5
3958$as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 4212$as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
3959 4213
3960if test "${emacs_cv_sunpro_c+set}" = set; then 4214if test "${emacs_cv_sunpro_c+set}" = set; then :
3961 $as_echo_n "(cached) " >&6 4215 $as_echo_n "(cached) " >&6
3962else 4216else
3963 cat >conftest.$ac_ext <<_ACEOF 4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964/* confdefs.h. */
3965_ACEOF
3966cat confdefs.h >>conftest.$ac_ext
3967cat >>conftest.$ac_ext <<_ACEOF
3968/* end confdefs.h. */ 4218/* end confdefs.h. */
3969 4219
3970int 4220int
@@ -3978,41 +4228,16 @@ fail;
3978 return 0; 4228 return 0;
3979} 4229}
3980_ACEOF 4230_ACEOF
3981rm -f conftest.$ac_objext conftest$ac_exeext 4231if ac_fn_c_try_link "$LINENO"; then :
3982if { (ac_try="$ac_link"
3983case "(($ac_try" in
3984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3986esac
3987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3988$as_echo "$ac_try_echo") >&5
3989 (eval "$ac_link") 2>conftest.er1
3990 ac_status=$?
3991 grep -v '^ *+' conftest.er1 >conftest.err
3992 rm -f conftest.er1
3993 cat conftest.err >&5
3994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); } && {
3996 test -z "$ac_c_werror_flag" ||
3997 test ! -s conftest.err
3998 } && test -s conftest$ac_exeext && {
3999 test "$cross_compiling" = yes ||
4000 $as_test_x conftest$ac_exeext
4001 }; then
4002 emacs_cv_sunpro_c=yes 4232 emacs_cv_sunpro_c=yes
4003else 4233else
4004 $as_echo "$as_me: failed program was:" >&5 4234 emacs_cv_sunpro_c=no
4005sed 's/^/| /' conftest.$ac_ext >&5
4006
4007 emacs_cv_sunpro_c=no
4008fi 4235fi
4009 4236rm -f core conftest.err conftest.$ac_objext \
4010rm -rf conftest.dSYM 4237 conftest$ac_exeext conftest.$ac_ext
4011rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4012 conftest$ac_exeext conftest.$ac_ext
4013fi 4238fi
4014 4239
4015 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5
4016$as_echo "$emacs_cv_sunpro_c" >&6; } 4241$as_echo "$emacs_cv_sunpro_c" >&6; }
4017 4242
4018 if test x"$emacs_cv_sunpro_c" = xyes; then 4243 if test x"$emacs_cv_sunpro_c" = xyes; then
@@ -4052,14 +4277,14 @@ ac_cpp='$CPP $CPPFLAGS'
4052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4054ac_compiler_gnu=$ac_cv_c_compiler_gnu 4279ac_compiler_gnu=$ac_cv_c_compiler_gnu
4055{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4056$as_echo_n "checking how to run the C preprocessor... " >&6; } 4281$as_echo_n "checking how to run the C preprocessor... " >&6; }
4057# On Suns, sometimes $CPP names a directory. 4282# On Suns, sometimes $CPP names a directory.
4058if test -n "$CPP" && test -d "$CPP"; then 4283if test -n "$CPP" && test -d "$CPP"; then
4059 CPP= 4284 CPP=
4060fi 4285fi
4061if test -z "$CPP"; then 4286if test -z "$CPP"; then
4062 if test "${ac_cv_prog_CPP+set}" = set; then 4287 if test "${ac_cv_prog_CPP+set}" = set; then :
4063 $as_echo_n "(cached) " >&6 4288 $as_echo_n "(cached) " >&6
4064else 4289else
4065 # Double quotes because CPP needs to be expanded 4290 # Double quotes because CPP needs to be expanded
@@ -4074,11 +4299,7 @@ do
4074 # <limits.h> exists even on freestanding compilers. 4299 # <limits.h> exists even on freestanding compilers.
4075 # On the NeXT, cc -E runs the code through the compiler's parser, 4300 # On the NeXT, cc -E runs the code through the compiler's parser,
4076 # not just through cpp. "Syntax error" is here to catch this case. 4301 # not just through cpp. "Syntax error" is here to catch this case.
4077 cat >conftest.$ac_ext <<_ACEOF 4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078/* confdefs.h. */
4079_ACEOF
4080cat confdefs.h >>conftest.$ac_ext
4081cat >>conftest.$ac_ext <<_ACEOF
4082/* end confdefs.h. */ 4303/* end confdefs.h. */
4083#ifdef __STDC__ 4304#ifdef __STDC__
4084# include <limits.h> 4305# include <limits.h>
@@ -4087,78 +4308,34 @@ cat >>conftest.$ac_ext <<_ACEOF
4087#endif 4308#endif
4088 Syntax error 4309 Syntax error
4089_ACEOF 4310_ACEOF
4090if { (ac_try="$ac_cpp conftest.$ac_ext" 4311if ac_fn_c_try_cpp "$LINENO"; then :
4091case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094esac
4095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4096$as_echo "$ac_try_echo") >&5
4097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4098 ac_status=$?
4099 grep -v '^ *+' conftest.er1 >conftest.err
4100 rm -f conftest.er1
4101 cat conftest.err >&5
4102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } >/dev/null && {
4104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 }; then
4107 :
4108else
4109 $as_echo "$as_me: failed program was:" >&5
4110sed 's/^/| /' conftest.$ac_ext >&5
4111 4312
4313else
4112 # Broken: fails on valid input. 4314 # Broken: fails on valid input.
4113continue 4315continue
4114fi 4316fi
4115
4116rm -f conftest.err conftest.$ac_ext 4317rm -f conftest.err conftest.$ac_ext
4117 4318
4118 # OK, works on sane cases. Now check whether nonexistent headers 4319 # OK, works on sane cases. Now check whether nonexistent headers
4119 # can be detected and how. 4320 # can be detected and how.
4120 cat >conftest.$ac_ext <<_ACEOF 4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121/* confdefs.h. */
4122_ACEOF
4123cat confdefs.h >>conftest.$ac_ext
4124cat >>conftest.$ac_ext <<_ACEOF
4125/* end confdefs.h. */ 4322/* end confdefs.h. */
4126#include <ac_nonexistent.h> 4323#include <ac_nonexistent.h>
4127_ACEOF 4324_ACEOF
4128if { (ac_try="$ac_cpp conftest.$ac_ext" 4325if ac_fn_c_try_cpp "$LINENO"; then :
4129case "(($ac_try" in
4130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4132esac
4133eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4134$as_echo "$ac_try_echo") >&5
4135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4136 ac_status=$?
4137 grep -v '^ *+' conftest.er1 >conftest.err
4138 rm -f conftest.er1
4139 cat conftest.err >&5
4140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } >/dev/null && {
4142 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4143 test ! -s conftest.err
4144 }; then
4145 # Broken: success on invalid input. 4326 # Broken: success on invalid input.
4146continue 4327continue
4147else 4328else
4148 $as_echo "$as_me: failed program was:" >&5
4149sed 's/^/| /' conftest.$ac_ext >&5
4150
4151 # Passes both tests. 4329 # Passes both tests.
4152ac_preproc_ok=: 4330ac_preproc_ok=:
4153break 4331break
4154fi 4332fi
4155
4156rm -f conftest.err conftest.$ac_ext 4333rm -f conftest.err conftest.$ac_ext
4157 4334
4158done 4335done
4159# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4336# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4160rm -f conftest.err conftest.$ac_ext 4337rm -f conftest.err conftest.$ac_ext
4161if $ac_preproc_ok; then 4338if $ac_preproc_ok; then :
4162 break 4339 break
4163fi 4340fi
4164 4341
@@ -4170,7 +4347,7 @@ fi
4170else 4347else
4171 ac_cv_prog_CPP=$CPP 4348 ac_cv_prog_CPP=$CPP
4172fi 4349fi
4173{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 4350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4174$as_echo "$CPP" >&6; } 4351$as_echo "$CPP" >&6; }
4175ac_preproc_ok=false 4352ac_preproc_ok=false
4176for ac_c_preproc_warn_flag in '' yes 4353for ac_c_preproc_warn_flag in '' yes
@@ -4181,11 +4358,7 @@ do
4181 # <limits.h> exists even on freestanding compilers. 4358 # <limits.h> exists even on freestanding compilers.
4182 # On the NeXT, cc -E runs the code through the compiler's parser, 4359 # On the NeXT, cc -E runs the code through the compiler's parser,
4183 # not just through cpp. "Syntax error" is here to catch this case. 4360 # not just through cpp. "Syntax error" is here to catch this case.
4184 cat >conftest.$ac_ext <<_ACEOF 4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185/* confdefs.h. */
4186_ACEOF
4187cat confdefs.h >>conftest.$ac_ext
4188cat >>conftest.$ac_ext <<_ACEOF
4189/* end confdefs.h. */ 4362/* end confdefs.h. */
4190#ifdef __STDC__ 4363#ifdef __STDC__
4191# include <limits.h> 4364# include <limits.h>
@@ -4194,85 +4367,40 @@ cat >>conftest.$ac_ext <<_ACEOF
4194#endif 4367#endif
4195 Syntax error 4368 Syntax error
4196_ACEOF 4369_ACEOF
4197if { (ac_try="$ac_cpp conftest.$ac_ext" 4370if ac_fn_c_try_cpp "$LINENO"; then :
4198case "(($ac_try" in
4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4201esac
4202eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4203$as_echo "$ac_try_echo") >&5
4204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4205 ac_status=$?
4206 grep -v '^ *+' conftest.er1 >conftest.err
4207 rm -f conftest.er1
4208 cat conftest.err >&5
4209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } >/dev/null && {
4211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 }; then
4214 :
4215else
4216 $as_echo "$as_me: failed program was:" >&5
4217sed 's/^/| /' conftest.$ac_ext >&5
4218 4371
4372else
4219 # Broken: fails on valid input. 4373 # Broken: fails on valid input.
4220continue 4374continue
4221fi 4375fi
4222
4223rm -f conftest.err conftest.$ac_ext 4376rm -f conftest.err conftest.$ac_ext
4224 4377
4225 # OK, works on sane cases. Now check whether nonexistent headers 4378 # OK, works on sane cases. Now check whether nonexistent headers
4226 # can be detected and how. 4379 # can be detected and how.
4227 cat >conftest.$ac_ext <<_ACEOF 4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228/* confdefs.h. */
4229_ACEOF
4230cat confdefs.h >>conftest.$ac_ext
4231cat >>conftest.$ac_ext <<_ACEOF
4232/* end confdefs.h. */ 4381/* end confdefs.h. */
4233#include <ac_nonexistent.h> 4382#include <ac_nonexistent.h>
4234_ACEOF 4383_ACEOF
4235if { (ac_try="$ac_cpp conftest.$ac_ext" 4384if ac_fn_c_try_cpp "$LINENO"; then :
4236case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239esac
4240eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4241$as_echo "$ac_try_echo") >&5
4242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4243 ac_status=$?
4244 grep -v '^ *+' conftest.er1 >conftest.err
4245 rm -f conftest.er1
4246 cat conftest.err >&5
4247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } >/dev/null && {
4249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4250 test ! -s conftest.err
4251 }; then
4252 # Broken: success on invalid input. 4385 # Broken: success on invalid input.
4253continue 4386continue
4254else 4387else
4255 $as_echo "$as_me: failed program was:" >&5
4256sed 's/^/| /' conftest.$ac_ext >&5
4257
4258 # Passes both tests. 4388 # Passes both tests.
4259ac_preproc_ok=: 4389ac_preproc_ok=:
4260break 4390break
4261fi 4391fi
4262
4263rm -f conftest.err conftest.$ac_ext 4392rm -f conftest.err conftest.$ac_ext
4264 4393
4265done 4394done
4266# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4395# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4267rm -f conftest.err conftest.$ac_ext 4396rm -f conftest.err conftest.$ac_ext
4268if $ac_preproc_ok; then 4397if $ac_preproc_ok; then :
4269 : 4398
4270else 4399else
4271 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272See \`config.log' for more details." >&5 4401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4402as_fn_error "C preprocessor \"$CPP\" fails sanity check
4274See \`config.log' for more details." >&2;} 4403See \`config.log' for more details." "$LINENO" 5; }
4275 { (exit 1); exit 1; }; }
4276fi 4404fi
4277 4405
4278ac_ext=c 4406ac_ext=c
@@ -4282,9 +4410,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4282ac_compiler_gnu=$ac_cv_c_compiler_gnu 4410ac_compiler_gnu=$ac_cv_c_compiler_gnu
4283 4411
4284 4412
4285{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4286$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4414$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4287if test "${ac_cv_path_GREP+set}" = set; then 4415if test "${ac_cv_path_GREP+set}" = set; then :
4288 $as_echo_n "(cached) " >&6 4416 $as_echo_n "(cached) " >&6
4289else 4417else
4290 if test -z "$GREP"; then 4418 if test -z "$GREP"; then
@@ -4295,7 +4423,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4295do 4423do
4296 IFS=$as_save_IFS 4424 IFS=$as_save_IFS
4297 test -z "$as_dir" && as_dir=. 4425 test -z "$as_dir" && as_dir=.
4298 for ac_prog in grep ggrep; do 4426 for ac_prog in grep ggrep; do
4299 for ac_exec_ext in '' $ac_executable_extensions; do 4427 for ac_exec_ext in '' $ac_executable_extensions; do
4300 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4428 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4301 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4429 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -4315,7 +4443,7 @@ case `"$ac_path_GREP" --version 2>&1` in
4315 $as_echo 'GREP' >> "conftest.nl" 4443 $as_echo 'GREP' >> "conftest.nl"
4316 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4444 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4445 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4318 ac_count=`expr $ac_count + 1` 4446 as_fn_arith $ac_count + 1 && ac_count=$as_val
4319 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4447 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one 4448 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_GREP="$ac_path_GREP" 4449 ac_cv_path_GREP="$ac_path_GREP"
@@ -4330,26 +4458,24 @@ esac
4330 $ac_path_GREP_found && break 3 4458 $ac_path_GREP_found && break 3
4331 done 4459 done
4332 done 4460 done
4333done 4461 done
4334IFS=$as_save_IFS 4462IFS=$as_save_IFS
4335 if test -z "$ac_cv_path_GREP"; then 4463 if test -z "$ac_cv_path_GREP"; then
4336 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4464 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4337$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4338 { (exit 1); exit 1; }; }
4339 fi 4465 fi
4340else 4466else
4341 ac_cv_path_GREP=$GREP 4467 ac_cv_path_GREP=$GREP
4342fi 4468fi
4343 4469
4344fi 4470fi
4345{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4346$as_echo "$ac_cv_path_GREP" >&6; } 4472$as_echo "$ac_cv_path_GREP" >&6; }
4347 GREP="$ac_cv_path_GREP" 4473 GREP="$ac_cv_path_GREP"
4348 4474
4349 4475
4350{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4351$as_echo_n "checking for egrep... " >&6; } 4477$as_echo_n "checking for egrep... " >&6; }
4352if test "${ac_cv_path_EGREP+set}" = set; then 4478if test "${ac_cv_path_EGREP+set}" = set; then :
4353 $as_echo_n "(cached) " >&6 4479 $as_echo_n "(cached) " >&6
4354else 4480else
4355 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4481 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4363,7 +4489,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4363do 4489do
4364 IFS=$as_save_IFS 4490 IFS=$as_save_IFS
4365 test -z "$as_dir" && as_dir=. 4491 test -z "$as_dir" && as_dir=.
4366 for ac_prog in egrep; do 4492 for ac_prog in egrep; do
4367 for ac_exec_ext in '' $ac_executable_extensions; do 4493 for ac_exec_ext in '' $ac_executable_extensions; do
4368 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4494 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4495 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -4383,7 +4509,7 @@ case `"$ac_path_EGREP" --version 2>&1` in
4383 $as_echo 'EGREP' >> "conftest.nl" 4509 $as_echo 'EGREP' >> "conftest.nl"
4384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4510 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4386 ac_count=`expr $ac_count + 1` 4512 as_fn_arith $ac_count + 1 && ac_count=$as_val
4387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4513 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4388 # Best one so far, save it but keep looking for a better one 4514 # Best one so far, save it but keep looking for a better one
4389 ac_cv_path_EGREP="$ac_path_EGREP" 4515 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -4398,12 +4524,10 @@ esac
4398 $ac_path_EGREP_found && break 3 4524 $ac_path_EGREP_found && break 3
4399 done 4525 done
4400 done 4526 done
4401done 4527 done
4402IFS=$as_save_IFS 4528IFS=$as_save_IFS
4403 if test -z "$ac_cv_path_EGREP"; then 4529 if test -z "$ac_cv_path_EGREP"; then
4404 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4530 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4405$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4406 { (exit 1); exit 1; }; }
4407 fi 4531 fi
4408else 4532else
4409 ac_cv_path_EGREP=$EGREP 4533 ac_cv_path_EGREP=$EGREP
@@ -4411,21 +4535,17 @@ fi
4411 4535
4412 fi 4536 fi
4413fi 4537fi
4414{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4415$as_echo "$ac_cv_path_EGREP" >&6; } 4539$as_echo "$ac_cv_path_EGREP" >&6; }
4416 EGREP="$ac_cv_path_EGREP" 4540 EGREP="$ac_cv_path_EGREP"
4417 4541
4418 4542
4419{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4420$as_echo_n "checking for ANSI C header files... " >&6; } 4544$as_echo_n "checking for ANSI C header files... " >&6; }
4421if test "${ac_cv_header_stdc+set}" = set; then 4545if test "${ac_cv_header_stdc+set}" = set; then :
4422 $as_echo_n "(cached) " >&6 4546 $as_echo_n "(cached) " >&6
4423else 4547else
4424 cat >conftest.$ac_ext <<_ACEOF 4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425/* confdefs.h. */
4426_ACEOF
4427cat confdefs.h >>conftest.$ac_ext
4428cat >>conftest.$ac_ext <<_ACEOF
4429/* end confdefs.h. */ 4549/* end confdefs.h. */
4430#include <stdlib.h> 4550#include <stdlib.h>
4431#include <stdarg.h> 4551#include <stdarg.h>
@@ -4440,48 +4560,23 @@ main ()
4440 return 0; 4560 return 0;
4441} 4561}
4442_ACEOF 4562_ACEOF
4443rm -f conftest.$ac_objext 4563if ac_fn_c_try_compile "$LINENO"; then :
4444if { (ac_try="$ac_compile"
4445case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448esac
4449eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4450$as_echo "$ac_try_echo") >&5
4451 (eval "$ac_compile") 2>conftest.er1
4452 ac_status=$?
4453 grep -v '^ *+' conftest.er1 >conftest.err
4454 rm -f conftest.er1
4455 cat conftest.err >&5
4456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } && {
4458 test -z "$ac_c_werror_flag" ||
4459 test ! -s conftest.err
4460 } && test -s conftest.$ac_objext; then
4461 ac_cv_header_stdc=yes 4564 ac_cv_header_stdc=yes
4462else 4565else
4463 $as_echo "$as_me: failed program was:" >&5 4566 ac_cv_header_stdc=no
4464sed 's/^/| /' conftest.$ac_ext >&5
4465
4466 ac_cv_header_stdc=no
4467fi 4567fi
4468
4469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 4569
4471if test $ac_cv_header_stdc = yes; then 4570if test $ac_cv_header_stdc = yes; then
4472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4571 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4473 cat >conftest.$ac_ext <<_ACEOF 4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474/* confdefs.h. */
4475_ACEOF
4476cat confdefs.h >>conftest.$ac_ext
4477cat >>conftest.$ac_ext <<_ACEOF
4478/* end confdefs.h. */ 4573/* end confdefs.h. */
4479#include <string.h> 4574#include <string.h>
4480 4575
4481_ACEOF 4576_ACEOF
4482if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4577if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4483 $EGREP "memchr" >/dev/null 2>&1; then 4578 $EGREP "memchr" >/dev/null 2>&1; then :
4484 : 4579
4485else 4580else
4486 ac_cv_header_stdc=no 4581 ac_cv_header_stdc=no
4487fi 4582fi
@@ -4491,18 +4586,14 @@ fi
4491 4586
4492if test $ac_cv_header_stdc = yes; then 4587if test $ac_cv_header_stdc = yes; then
4493 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4588 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4494 cat >conftest.$ac_ext <<_ACEOF 4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495/* confdefs.h. */
4496_ACEOF
4497cat confdefs.h >>conftest.$ac_ext
4498cat >>conftest.$ac_ext <<_ACEOF
4499/* end confdefs.h. */ 4590/* end confdefs.h. */
4500#include <stdlib.h> 4591#include <stdlib.h>
4501 4592
4502_ACEOF 4593_ACEOF
4503if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4594if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4504 $EGREP "free" >/dev/null 2>&1; then 4595 $EGREP "free" >/dev/null 2>&1; then :
4505 : 4596
4506else 4597else
4507 ac_cv_header_stdc=no 4598 ac_cv_header_stdc=no
4508fi 4599fi
@@ -4512,14 +4603,10 @@ fi
4512 4603
4513if test $ac_cv_header_stdc = yes; then 4604if test $ac_cv_header_stdc = yes; then
4514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4605 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4515 if test "$cross_compiling" = yes; then 4606 if test "$cross_compiling" = yes; then :
4516 : 4607 :
4517else 4608else
4518 cat >conftest.$ac_ext <<_ACEOF 4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519/* confdefs.h. */
4520_ACEOF
4521cat confdefs.h >>conftest.$ac_ext
4522cat >>conftest.$ac_ext <<_ACEOF
4523/* end confdefs.h. */ 4610/* end confdefs.h. */
4524#include <ctype.h> 4611#include <ctype.h>
4525#include <stdlib.h> 4612#include <stdlib.h>
@@ -4546,117 +4633,34 @@ main ()
4546 return 0; 4633 return 0;
4547} 4634}
4548_ACEOF 4635_ACEOF
4549rm -f conftest$ac_exeext 4636if ac_fn_c_try_run "$LINENO"; then :
4550if { (ac_try="$ac_link"
4551case "(($ac_try" in
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4554esac
4555eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4556$as_echo "$ac_try_echo") >&5
4557 (eval "$ac_link") 2>&5
4558 ac_status=$?
4559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4561 { (case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4564esac
4565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4566$as_echo "$ac_try_echo") >&5
4567 (eval "$ac_try") 2>&5
4568 ac_status=$?
4569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; }; then
4571 :
4572else
4573 $as_echo "$as_me: program exited with status $ac_status" >&5
4574$as_echo "$as_me: failed program was:" >&5
4575sed 's/^/| /' conftest.$ac_ext >&5
4576 4637
4577( exit $ac_status ) 4638else
4578ac_cv_header_stdc=no 4639 ac_cv_header_stdc=no
4579fi 4640fi
4580rm -rf conftest.dSYM 4641rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4581rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4642 conftest.$ac_objext conftest.beam conftest.$ac_ext
4582fi 4643fi
4583 4644
4584
4585fi 4645fi
4586fi 4646fi
4587{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4588$as_echo "$ac_cv_header_stdc" >&6; } 4648$as_echo "$ac_cv_header_stdc" >&6; }
4589if test $ac_cv_header_stdc = yes; then 4649if test $ac_cv_header_stdc = yes; then
4590 4650
4591cat >>confdefs.h <<\_ACEOF 4651$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4592#define STDC_HEADERS 1
4593_ACEOF
4594 4652
4595fi 4653fi
4596 4654
4597# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4655# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4656for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4608 inttypes.h stdint.h unistd.h 4657 inttypes.h stdint.h unistd.h
4609do 4658do :
4610as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4659 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4611{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4660ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4612$as_echo_n "checking for $ac_header... " >&6; } 4661"
4613if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4662eval as_val=\$$as_ac_Header
4614 $as_echo_n "(cached) " >&6 4663 if test "x$as_val" = x""yes; then :
4615else
4616 cat >conftest.$ac_ext <<_ACEOF
4617/* confdefs.h. */
4618_ACEOF
4619cat confdefs.h >>conftest.$ac_ext
4620cat >>conftest.$ac_ext <<_ACEOF
4621/* end confdefs.h. */
4622$ac_includes_default
4623
4624#include <$ac_header>
4625_ACEOF
4626rm -f conftest.$ac_objext
4627if { (ac_try="$ac_compile"
4628case "(($ac_try" in
4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4630 *) ac_try_echo=$ac_try;;
4631esac
4632eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4633$as_echo "$ac_try_echo") >&5
4634 (eval "$ac_compile") 2>conftest.er1
4635 ac_status=$?
4636 grep -v '^ *+' conftest.er1 >conftest.err
4637 rm -f conftest.er1
4638 cat conftest.err >&5
4639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } && {
4641 test -z "$ac_c_werror_flag" ||
4642 test ! -s conftest.err
4643 } && test -s conftest.$ac_objext; then
4644 eval "$as_ac_Header=yes"
4645else
4646 $as_echo "$as_me: failed program was:" >&5
4647sed 's/^/| /' conftest.$ac_ext >&5
4648
4649 eval "$as_ac_Header=no"
4650fi
4651
4652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653fi
4654ac_res=`eval 'as_val=${'$as_ac_Header'}
4655 $as_echo "$as_val"'`
4656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4657$as_echo "$ac_res" >&6; }
4658if test `eval 'as_val=${'$as_ac_Header'}
4659 $as_echo "$as_val"'` = yes; then
4660 cat >>confdefs.h <<_ACEOF 4664 cat >>confdefs.h <<_ACEOF
4661#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4665#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4662_ACEOF 4666_ACEOF
@@ -4667,134 +4671,8 @@ done
4667 4671
4668 4672
4669 4673
4670 if test "${ac_cv_header_minix_config_h+set}" = set; then 4674 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4671 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4675if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4672$as_echo_n "checking for minix/config.h... " >&6; }
4673if test "${ac_cv_header_minix_config_h+set}" = set; then
4674 $as_echo_n "(cached) " >&6
4675fi
4676{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4677$as_echo "$ac_cv_header_minix_config_h" >&6; }
4678else
4679 # Is the header compilable?
4680{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4681$as_echo_n "checking minix/config.h usability... " >&6; }
4682cat >conftest.$ac_ext <<_ACEOF
4683/* confdefs.h. */
4684_ACEOF
4685cat confdefs.h >>conftest.$ac_ext
4686cat >>conftest.$ac_ext <<_ACEOF
4687/* end confdefs.h. */
4688$ac_includes_default
4689#include <minix/config.h>
4690_ACEOF
4691rm -f conftest.$ac_objext
4692if { (ac_try="$ac_compile"
4693case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4696esac
4697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4698$as_echo "$ac_try_echo") >&5
4699 (eval "$ac_compile") 2>conftest.er1
4700 ac_status=$?
4701 grep -v '^ *+' conftest.er1 >conftest.err
4702 rm -f conftest.er1
4703 cat conftest.err >&5
4704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } && {
4706 test -z "$ac_c_werror_flag" ||
4707 test ! -s conftest.err
4708 } && test -s conftest.$ac_objext; then
4709 ac_header_compiler=yes
4710else
4711 $as_echo "$as_me: failed program was:" >&5
4712sed 's/^/| /' conftest.$ac_ext >&5
4713
4714 ac_header_compiler=no
4715fi
4716
4717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4719$as_echo "$ac_header_compiler" >&6; }
4720
4721# Is the header present?
4722{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4723$as_echo_n "checking minix/config.h presence... " >&6; }
4724cat >conftest.$ac_ext <<_ACEOF
4725/* confdefs.h. */
4726_ACEOF
4727cat confdefs.h >>conftest.$ac_ext
4728cat >>conftest.$ac_ext <<_ACEOF
4729/* end confdefs.h. */
4730#include <minix/config.h>
4731_ACEOF
4732if { (ac_try="$ac_cpp conftest.$ac_ext"
4733case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4736esac
4737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4738$as_echo "$ac_try_echo") >&5
4739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4740 ac_status=$?
4741 grep -v '^ *+' conftest.er1 >conftest.err
4742 rm -f conftest.er1
4743 cat conftest.err >&5
4744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } >/dev/null && {
4746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4747 test ! -s conftest.err
4748 }; then
4749 ac_header_preproc=yes
4750else
4751 $as_echo "$as_me: failed program was:" >&5
4752sed 's/^/| /' conftest.$ac_ext >&5
4753
4754 ac_header_preproc=no
4755fi
4756
4757rm -f conftest.err conftest.$ac_ext
4758{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4759$as_echo "$ac_header_preproc" >&6; }
4760
4761# So? What about this header?
4762case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4763 yes:no: )
4764 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4765$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4766 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4767$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4768 ac_header_preproc=yes
4769 ;;
4770 no:yes:* )
4771 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4772$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4773 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4774$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4775 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4776$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4777 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4778$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4779 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4780$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4781 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4782$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4783
4784 ;;
4785esac
4786{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4787$as_echo_n "checking for minix/config.h... " >&6; }
4788if test "${ac_cv_header_minix_config_h+set}" = set; then
4789 $as_echo_n "(cached) " >&6
4790else
4791 ac_cv_header_minix_config_h=$ac_header_preproc
4792fi
4793{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4794$as_echo "$ac_cv_header_minix_config_h" >&6; }
4795
4796fi
4797if test $ac_cv_header_minix_config_h = yes; then
4798 MINIX=yes 4676 MINIX=yes
4799else 4677else
4800 MINIX= 4678 MINIX=
@@ -4803,34 +4681,23 @@ fi
4803 4681
4804 if test "$MINIX" = yes; then 4682 if test "$MINIX" = yes; then
4805 4683
4806cat >>confdefs.h <<\_ACEOF 4684$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4807#define _POSIX_SOURCE 1
4808_ACEOF
4809 4685
4810 4686
4811cat >>confdefs.h <<\_ACEOF 4687$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4812#define _POSIX_1_SOURCE 2
4813_ACEOF
4814 4688
4815 4689
4816cat >>confdefs.h <<\_ACEOF 4690$as_echo "#define _MINIX 1" >>confdefs.h
4817#define _MINIX 1
4818_ACEOF
4819 4691
4820 fi 4692 fi
4821 4693
4822 4694
4823 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4824 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4825$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4696$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4826if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4697if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4827 $as_echo_n "(cached) " >&6 4698 $as_echo_n "(cached) " >&6
4828else 4699else
4829 cat >conftest.$ac_ext <<_ACEOF 4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830/* confdefs.h. */
4831_ACEOF
4832cat confdefs.h >>conftest.$ac_ext
4833cat >>conftest.$ac_ext <<_ACEOF
4834/* end confdefs.h. */ 4701/* end confdefs.h. */
4835 4702
4836# define __EXTENSIONS__ 1 4703# define __EXTENSIONS__ 1
@@ -4843,69 +4710,34 @@ main ()
4843 return 0; 4710 return 0;
4844} 4711}
4845_ACEOF 4712_ACEOF
4846rm -f conftest.$ac_objext 4713if ac_fn_c_try_compile "$LINENO"; then :
4847if { (ac_try="$ac_compile"
4848case "(($ac_try" in
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4851esac
4852eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4853$as_echo "$ac_try_echo") >&5
4854 (eval "$ac_compile") 2>conftest.er1
4855 ac_status=$?
4856 grep -v '^ *+' conftest.er1 >conftest.err
4857 rm -f conftest.er1
4858 cat conftest.err >&5
4859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } && {
4861 test -z "$ac_c_werror_flag" ||
4862 test ! -s conftest.err
4863 } && test -s conftest.$ac_objext; then
4864 ac_cv_safe_to_define___extensions__=yes 4714 ac_cv_safe_to_define___extensions__=yes
4865else 4715else
4866 $as_echo "$as_me: failed program was:" >&5 4716 ac_cv_safe_to_define___extensions__=no
4867sed 's/^/| /' conftest.$ac_ext >&5
4868
4869 ac_cv_safe_to_define___extensions__=no
4870fi 4717fi
4871
4872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4873fi 4719fi
4874{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4875$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4721$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4876 test $ac_cv_safe_to_define___extensions__ = yes && 4722 test $ac_cv_safe_to_define___extensions__ = yes &&
4877 cat >>confdefs.h <<\_ACEOF 4723 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4878#define __EXTENSIONS__ 1
4879_ACEOF
4880 4724
4881 cat >>confdefs.h <<\_ACEOF 4725 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4882#define _ALL_SOURCE 1
4883_ACEOF
4884 4726
4885 cat >>confdefs.h <<\_ACEOF 4727 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4886#define _GNU_SOURCE 1
4887_ACEOF
4888 4728
4889 cat >>confdefs.h <<\_ACEOF 4729 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4890#define _POSIX_PTHREAD_SEMANTICS 1
4891_ACEOF
4892 4730
4893 cat >>confdefs.h <<\_ACEOF 4731 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4894#define _TANDEM_SOURCE 1
4895_ACEOF
4896 4732
4897 4733
4898 4734
4899### Use -Wno-pointer-sign if the compiler supports it 4735### Use -Wno-pointer-sign if the compiler supports it
4900{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5
4901$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } 4737$as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; }
4902SAVE_CFLAGS="$CFLAGS" 4738SAVE_CFLAGS="$CFLAGS"
4903CFLAGS="$CFLAGS -Wno-pointer-sign" 4739CFLAGS="$CFLAGS -Wno-pointer-sign"
4904cat >conftest.$ac_ext <<_ACEOF 4740cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905/* confdefs.h. */
4906_ACEOF
4907cat confdefs.h >>conftest.$ac_ext
4908cat >>conftest.$ac_ext <<_ACEOF
4909/* end confdefs.h. */ 4741/* end confdefs.h. */
4910 4742
4911int 4743int
@@ -4916,52 +4748,27 @@ main ()
4916 return 0; 4748 return 0;
4917} 4749}
4918_ACEOF 4750_ACEOF
4919rm -f conftest.$ac_objext 4751if ac_fn_c_try_compile "$LINENO"; then :
4920if { (ac_try="$ac_compile"
4921case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924esac
4925eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4926$as_echo "$ac_try_echo") >&5
4927 (eval "$ac_compile") 2>conftest.er1
4928 ac_status=$?
4929 grep -v '^ *+' conftest.er1 >conftest.err
4930 rm -f conftest.er1
4931 cat conftest.err >&5
4932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } && {
4934 test -z "$ac_c_werror_flag" ||
4935 test ! -s conftest.err
4936 } && test -s conftest.$ac_objext; then
4937 has_option=yes 4752 has_option=yes
4938else 4753else
4939 $as_echo "$as_me: failed program was:" >&5 4754 has_option=no
4940sed 's/^/| /' conftest.$ac_ext >&5
4941
4942 has_option=no
4943fi 4755fi
4944
4945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946if test $has_option = yes; then 4757if test $has_option = yes; then
4947 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4758 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4948fi 4759fi
4949{ $as_echo "$as_me:$LINENO: result: $has_option" >&5 4760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
4950$as_echo "$has_option" >&6; } 4761$as_echo "$has_option" >&6; }
4951CFLAGS="$SAVE_CFLAGS" 4762CFLAGS="$SAVE_CFLAGS"
4952unset has_option 4763unset has_option
4953unset SAVE_CFLAGS 4764unset SAVE_CFLAGS
4954 4765
4955### Use -Wdeclaration-after-statement if the compiler supports it 4766### Use -Wdeclaration-after-statement if the compiler supports it
4956{ $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5
4957$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } 4768$as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; }
4958SAVE_CFLAGS="$CFLAGS" 4769SAVE_CFLAGS="$CFLAGS"
4959CFLAGS="$CFLAGS -Wdeclaration-after-statement" 4770CFLAGS="$CFLAGS -Wdeclaration-after-statement"
4960cat >conftest.$ac_ext <<_ACEOF 4771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961/* confdefs.h. */
4962_ACEOF
4963cat confdefs.h >>conftest.$ac_ext
4964cat >>conftest.$ac_ext <<_ACEOF
4965/* end confdefs.h. */ 4772/* end confdefs.h. */
4966 4773
4967int 4774int
@@ -4972,37 +4779,16 @@ main ()
4972 return 0; 4779 return 0;
4973} 4780}
4974_ACEOF 4781_ACEOF
4975rm -f conftest.$ac_objext 4782if ac_fn_c_try_compile "$LINENO"; then :
4976if { (ac_try="$ac_compile"
4977case "(($ac_try" in
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4980esac
4981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4982$as_echo "$ac_try_echo") >&5
4983 (eval "$ac_compile") 2>conftest.er1
4984 ac_status=$?
4985 grep -v '^ *+' conftest.er1 >conftest.err
4986 rm -f conftest.er1
4987 cat conftest.err >&5
4988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } && {
4990 test -z "$ac_c_werror_flag" ||
4991 test ! -s conftest.err
4992 } && test -s conftest.$ac_objext; then
4993 has_option=yes 4783 has_option=yes
4994else 4784else
4995 $as_echo "$as_me: failed program was:" >&5 4785 has_option=no
4996sed 's/^/| /' conftest.$ac_ext >&5
4997
4998 has_option=no
4999fi 4786fi
5000
5001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002if test $has_option = yes; then 4788if test $has_option = yes; then
5003 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" 4789 C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH"
5004fi 4790fi
5005{ $as_echo "$as_me:$LINENO: result: $has_option" >&5 4791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
5006$as_echo "$has_option" >&6; } 4792$as_echo "$has_option" >&6; }
5007CFLAGS="$SAVE_CFLAGS" 4793CFLAGS="$SAVE_CFLAGS"
5008unset has_option 4794unset has_option
@@ -5010,14 +4796,14 @@ unset SAVE_CFLAGS
5010 4796
5011#### Some other nice autoconf tests. 4797#### Some other nice autoconf tests.
5012 4798
5013{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5014$as_echo_n "checking whether ln -s works... " >&6; } 4800$as_echo_n "checking whether ln -s works... " >&6; }
5015LN_S=$as_ln_s 4801LN_S=$as_ln_s
5016if test "$LN_S" = "ln -s"; then 4802if test "$LN_S" = "ln -s"; then
5017 { $as_echo "$as_me:$LINENO: result: yes" >&5 4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5018$as_echo "yes" >&6; } 4804$as_echo "yes" >&6; }
5019else 4805else
5020 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5021$as_echo "no, using $LN_S" >&6; } 4807$as_echo "no, using $LN_S" >&6; }
5022fi 4808fi
5023 4809
@@ -5026,14 +4812,14 @@ ac_cpp='$CPP $CPPFLAGS'
5026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5028ac_compiler_gnu=$ac_cv_c_compiler_gnu 4814ac_compiler_gnu=$ac_cv_c_compiler_gnu
5029{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5030$as_echo_n "checking how to run the C preprocessor... " >&6; } 4816$as_echo_n "checking how to run the C preprocessor... " >&6; }
5031# On Suns, sometimes $CPP names a directory. 4817# On Suns, sometimes $CPP names a directory.
5032if test -n "$CPP" && test -d "$CPP"; then 4818if test -n "$CPP" && test -d "$CPP"; then
5033 CPP= 4819 CPP=
5034fi 4820fi
5035if test -z "$CPP"; then 4821if test -z "$CPP"; then
5036 if test "${ac_cv_prog_CPP+set}" = set; then 4822 if test "${ac_cv_prog_CPP+set}" = set; then :
5037 $as_echo_n "(cached) " >&6 4823 $as_echo_n "(cached) " >&6
5038else 4824else
5039 # Double quotes because CPP needs to be expanded 4825 # Double quotes because CPP needs to be expanded
@@ -5048,11 +4834,7 @@ do
5048 # <limits.h> exists even on freestanding compilers. 4834 # <limits.h> exists even on freestanding compilers.
5049 # On the NeXT, cc -E runs the code through the compiler's parser, 4835 # On the NeXT, cc -E runs the code through the compiler's parser,
5050 # not just through cpp. "Syntax error" is here to catch this case. 4836 # not just through cpp. "Syntax error" is here to catch this case.
5051 cat >conftest.$ac_ext <<_ACEOF 4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052/* confdefs.h. */
5053_ACEOF
5054cat confdefs.h >>conftest.$ac_ext
5055cat >>conftest.$ac_ext <<_ACEOF
5056/* end confdefs.h. */ 4838/* end confdefs.h. */
5057#ifdef __STDC__ 4839#ifdef __STDC__
5058# include <limits.h> 4840# include <limits.h>
@@ -5061,78 +4843,34 @@ cat >>conftest.$ac_ext <<_ACEOF
5061#endif 4843#endif
5062 Syntax error 4844 Syntax error
5063_ACEOF 4845_ACEOF
5064if { (ac_try="$ac_cpp conftest.$ac_ext" 4846if ac_fn_c_try_cpp "$LINENO"; then :
5065case "(($ac_try" in
5066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5067 *) ac_try_echo=$ac_try;;
5068esac
5069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5070$as_echo "$ac_try_echo") >&5
5071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5072 ac_status=$?
5073 grep -v '^ *+' conftest.er1 >conftest.err
5074 rm -f conftest.er1
5075 cat conftest.err >&5
5076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } >/dev/null && {
5078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5079 test ! -s conftest.err
5080 }; then
5081 :
5082else
5083 $as_echo "$as_me: failed program was:" >&5
5084sed 's/^/| /' conftest.$ac_ext >&5
5085 4847
4848else
5086 # Broken: fails on valid input. 4849 # Broken: fails on valid input.
5087continue 4850continue
5088fi 4851fi
5089
5090rm -f conftest.err conftest.$ac_ext 4852rm -f conftest.err conftest.$ac_ext
5091 4853
5092 # OK, works on sane cases. Now check whether nonexistent headers 4854 # OK, works on sane cases. Now check whether nonexistent headers
5093 # can be detected and how. 4855 # can be detected and how.
5094 cat >conftest.$ac_ext <<_ACEOF 4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095/* confdefs.h. */
5096_ACEOF
5097cat confdefs.h >>conftest.$ac_ext
5098cat >>conftest.$ac_ext <<_ACEOF
5099/* end confdefs.h. */ 4857/* end confdefs.h. */
5100#include <ac_nonexistent.h> 4858#include <ac_nonexistent.h>
5101_ACEOF 4859_ACEOF
5102if { (ac_try="$ac_cpp conftest.$ac_ext" 4860if ac_fn_c_try_cpp "$LINENO"; then :
5103case "(($ac_try" in
5104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5106esac
5107eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5108$as_echo "$ac_try_echo") >&5
5109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5110 ac_status=$?
5111 grep -v '^ *+' conftest.er1 >conftest.err
5112 rm -f conftest.er1
5113 cat conftest.err >&5
5114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } >/dev/null && {
5116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5117 test ! -s conftest.err
5118 }; then
5119 # Broken: success on invalid input. 4861 # Broken: success on invalid input.
5120continue 4862continue
5121else 4863else
5122 $as_echo "$as_me: failed program was:" >&5
5123sed 's/^/| /' conftest.$ac_ext >&5
5124
5125 # Passes both tests. 4864 # Passes both tests.
5126ac_preproc_ok=: 4865ac_preproc_ok=:
5127break 4866break
5128fi 4867fi
5129
5130rm -f conftest.err conftest.$ac_ext 4868rm -f conftest.err conftest.$ac_ext
5131 4869
5132done 4870done
5133# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4871# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5134rm -f conftest.err conftest.$ac_ext 4872rm -f conftest.err conftest.$ac_ext
5135if $ac_preproc_ok; then 4873if $ac_preproc_ok; then :
5136 break 4874 break
5137fi 4875fi
5138 4876
@@ -5144,7 +4882,7 @@ fi
5144else 4882else
5145 ac_cv_prog_CPP=$CPP 4883 ac_cv_prog_CPP=$CPP
5146fi 4884fi
5147{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 4885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5148$as_echo "$CPP" >&6; } 4886$as_echo "$CPP" >&6; }
5149ac_preproc_ok=false 4887ac_preproc_ok=false
5150for ac_c_preproc_warn_flag in '' yes 4888for ac_c_preproc_warn_flag in '' yes
@@ -5155,11 +4893,7 @@ do
5155 # <limits.h> exists even on freestanding compilers. 4893 # <limits.h> exists even on freestanding compilers.
5156 # On the NeXT, cc -E runs the code through the compiler's parser, 4894 # On the NeXT, cc -E runs the code through the compiler's parser,
5157 # not just through cpp. "Syntax error" is here to catch this case. 4895 # not just through cpp. "Syntax error" is here to catch this case.
5158 cat >conftest.$ac_ext <<_ACEOF 4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5159/* confdefs.h. */
5160_ACEOF
5161cat confdefs.h >>conftest.$ac_ext
5162cat >>conftest.$ac_ext <<_ACEOF
5163/* end confdefs.h. */ 4897/* end confdefs.h. */
5164#ifdef __STDC__ 4898#ifdef __STDC__
5165# include <limits.h> 4899# include <limits.h>
@@ -5168,85 +4902,40 @@ cat >>conftest.$ac_ext <<_ACEOF
5168#endif 4902#endif
5169 Syntax error 4903 Syntax error
5170_ACEOF 4904_ACEOF
5171if { (ac_try="$ac_cpp conftest.$ac_ext" 4905if ac_fn_c_try_cpp "$LINENO"; then :
5172case "(($ac_try" in
5173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
5175esac
5176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5177$as_echo "$ac_try_echo") >&5
5178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5179 ac_status=$?
5180 grep -v '^ *+' conftest.er1 >conftest.err
5181 rm -f conftest.er1
5182 cat conftest.err >&5
5183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); } >/dev/null && {
5185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5186 test ! -s conftest.err
5187 }; then
5188 :
5189else
5190 $as_echo "$as_me: failed program was:" >&5
5191sed 's/^/| /' conftest.$ac_ext >&5
5192 4906
4907else
5193 # Broken: fails on valid input. 4908 # Broken: fails on valid input.
5194continue 4909continue
5195fi 4910fi
5196
5197rm -f conftest.err conftest.$ac_ext 4911rm -f conftest.err conftest.$ac_ext
5198 4912
5199 # OK, works on sane cases. Now check whether nonexistent headers 4913 # OK, works on sane cases. Now check whether nonexistent headers
5200 # can be detected and how. 4914 # can be detected and how.
5201 cat >conftest.$ac_ext <<_ACEOF 4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202/* confdefs.h. */
5203_ACEOF
5204cat confdefs.h >>conftest.$ac_ext
5205cat >>conftest.$ac_ext <<_ACEOF
5206/* end confdefs.h. */ 4916/* end confdefs.h. */
5207#include <ac_nonexistent.h> 4917#include <ac_nonexistent.h>
5208_ACEOF 4918_ACEOF
5209if { (ac_try="$ac_cpp conftest.$ac_ext" 4919if ac_fn_c_try_cpp "$LINENO"; then :
5210case "(($ac_try" in
5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5213esac
5214eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5215$as_echo "$ac_try_echo") >&5
5216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5217 ac_status=$?
5218 grep -v '^ *+' conftest.er1 >conftest.err
5219 rm -f conftest.er1
5220 cat conftest.err >&5
5221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); } >/dev/null && {
5223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5224 test ! -s conftest.err
5225 }; then
5226 # Broken: success on invalid input. 4920 # Broken: success on invalid input.
5227continue 4921continue
5228else 4922else
5229 $as_echo "$as_me: failed program was:" >&5
5230sed 's/^/| /' conftest.$ac_ext >&5
5231
5232 # Passes both tests. 4923 # Passes both tests.
5233ac_preproc_ok=: 4924ac_preproc_ok=:
5234break 4925break
5235fi 4926fi
5236
5237rm -f conftest.err conftest.$ac_ext 4927rm -f conftest.err conftest.$ac_ext
5238 4928
5239done 4929done
5240# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4930# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5241rm -f conftest.err conftest.$ac_ext 4931rm -f conftest.err conftest.$ac_ext
5242if $ac_preproc_ok; then 4932if $ac_preproc_ok; then :
5243 : 4933
5244else 4934else
5245 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5246See \`config.log' for more details." >&5 4936$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5247$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4937as_fn_error "C preprocessor \"$CPP\" fails sanity check
5248See \`config.log' for more details." >&2;} 4938See \`config.log' for more details." "$LINENO" 5; }
5249 { (exit 1); exit 1; }; }
5250fi 4939fi
5251 4940
5252ac_ext=c 4941ac_ext=c
@@ -5269,10 +4958,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5269# OS/2's system install, which has a completely different semantic 4958# OS/2's system install, which has a completely different semantic
5270# ./install, which can be erroneously created by make from ./install.sh. 4959# ./install, which can be erroneously created by make from ./install.sh.
5271# Reject install programs that cannot install multiple files. 4960# Reject install programs that cannot install multiple files.
5272{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5273$as_echo_n "checking for a BSD-compatible install... " >&6; } 4962$as_echo_n "checking for a BSD-compatible install... " >&6; }
5274if test -z "$INSTALL"; then 4963if test -z "$INSTALL"; then
5275if test "${ac_cv_path_install+set}" = set; then 4964if test "${ac_cv_path_install+set}" = set; then :
5276 $as_echo_n "(cached) " >&6 4965 $as_echo_n "(cached) " >&6
5277else 4966else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5280,11 +4969,11 @@ for as_dir in $PATH
5280do 4969do
5281 IFS=$as_save_IFS 4970 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=. 4971 test -z "$as_dir" && as_dir=.
5283 # Account for people who put trailing slashes in PATH elements. 4972 # Account for people who put trailing slashes in PATH elements.
5284case $as_dir/ in 4973case $as_dir/ in #((
5285 ./ | .// | /cC/* | \ 4974 ./ | .// | /[cC]/* | \
5286 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4975 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5287 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4976 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5288 /usr/ucb/* ) ;; 4977 /usr/ucb/* ) ;;
5289 *) 4978 *)
5290 # OSF1 and SCO ODT 3.0 have their own names for install. 4979 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -5321,7 +5010,7 @@ case $as_dir/ in
5321 ;; 5010 ;;
5322esac 5011esac
5323 5012
5324done 5013 done
5325IFS=$as_save_IFS 5014IFS=$as_save_IFS
5326 5015
5327rm -rf conftest.one conftest.two conftest.dir 5016rm -rf conftest.one conftest.two conftest.dir
@@ -5337,7 +5026,7 @@ fi
5337 INSTALL=$ac_install_sh 5026 INSTALL=$ac_install_sh
5338 fi 5027 fi
5339fi 5028fi
5340{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 5029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5341$as_echo "$INSTALL" >&6; } 5030$as_echo "$INSTALL" >&6; }
5342 5031
5343# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5032# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -5352,9 +5041,9 @@ if test "x$RANLIB" = x; then
5352 if test -n "$ac_tool_prefix"; then 5041 if test -n "$ac_tool_prefix"; then
5353 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5042 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5354set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5043set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5355{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356$as_echo_n "checking for $ac_word... " >&6; } 5045$as_echo_n "checking for $ac_word... " >&6; }
5357if test "${ac_cv_prog_RANLIB+set}" = set; then 5046if test "${ac_cv_prog_RANLIB+set}" = set; then :
5358 $as_echo_n "(cached) " >&6 5047 $as_echo_n "(cached) " >&6
5359else 5048else
5360 if test -n "$RANLIB"; then 5049 if test -n "$RANLIB"; then
@@ -5365,24 +5054,24 @@ for as_dir in $PATH
5365do 5054do
5366 IFS=$as_save_IFS 5055 IFS=$as_save_IFS
5367 test -z "$as_dir" && as_dir=. 5056 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do 5057 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5059 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 break 2 5061 break 2
5373 fi 5062 fi
5374done 5063done
5375done 5064 done
5376IFS=$as_save_IFS 5065IFS=$as_save_IFS
5377 5066
5378fi 5067fi
5379fi 5068fi
5380RANLIB=$ac_cv_prog_RANLIB 5069RANLIB=$ac_cv_prog_RANLIB
5381if test -n "$RANLIB"; then 5070if test -n "$RANLIB"; then
5382 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5383$as_echo "$RANLIB" >&6; } 5072$as_echo "$RANLIB" >&6; }
5384else 5073else
5385 { $as_echo "$as_me:$LINENO: result: no" >&5 5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386$as_echo "no" >&6; } 5075$as_echo "no" >&6; }
5387fi 5076fi
5388 5077
@@ -5392,9 +5081,9 @@ if test -z "$ac_cv_prog_RANLIB"; then
5392 ac_ct_RANLIB=$RANLIB 5081 ac_ct_RANLIB=$RANLIB
5393 # Extract the first word of "ranlib", so it can be a program name with args. 5082 # Extract the first word of "ranlib", so it can be a program name with args.
5394set dummy ranlib; ac_word=$2 5083set dummy ranlib; ac_word=$2
5395{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396$as_echo_n "checking for $ac_word... " >&6; } 5085$as_echo_n "checking for $ac_word... " >&6; }
5397if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5086if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5398 $as_echo_n "(cached) " >&6 5087 $as_echo_n "(cached) " >&6
5399else 5088else
5400 if test -n "$ac_ct_RANLIB"; then 5089 if test -n "$ac_ct_RANLIB"; then
@@ -5405,24 +5094,24 @@ for as_dir in $PATH
5405do 5094do
5406 IFS=$as_save_IFS 5095 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=. 5096 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do 5097 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_ac_ct_RANLIB="ranlib" 5099 ac_cv_prog_ac_ct_RANLIB="ranlib"
5411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 break 2 5101 break 2
5413 fi 5102 fi
5414done 5103done
5415done 5104 done
5416IFS=$as_save_IFS 5105IFS=$as_save_IFS
5417 5106
5418fi 5107fi
5419fi 5108fi
5420ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5109ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5421if test -n "$ac_ct_RANLIB"; then 5110if test -n "$ac_ct_RANLIB"; then
5422 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5423$as_echo "$ac_ct_RANLIB" >&6; } 5112$as_echo "$ac_ct_RANLIB" >&6; }
5424else 5113else
5425 { $as_echo "$as_me:$LINENO: result: no" >&5 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426$as_echo "no" >&6; } 5115$as_echo "no" >&6; }
5427fi 5116fi
5428 5117
@@ -5431,12 +5120,8 @@ fi
5431 else 5120 else
5432 case $cross_compiling:$ac_tool_warned in 5121 case $cross_compiling:$ac_tool_warned in
5433yes:) 5122yes:)
5434{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5123{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5435whose name does not start with the host triplet. If you think this 5124$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5436configuration is useful to you, please write to autoconf@gnu.org." >&5
5437$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438whose name does not start with the host triplet. If you think this
5439configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440ac_tool_warned=yes ;; 5125ac_tool_warned=yes ;;
5441esac 5126esac
5442 RANLIB=$ac_ct_RANLIB 5127 RANLIB=$ac_ct_RANLIB
@@ -5448,9 +5133,9 @@ fi
5448fi 5133fi
5449# Extract the first word of "install-info", so it can be a program name with args. 5134# Extract the first word of "install-info", so it can be a program name with args.
5450set dummy install-info; ac_word=$2 5135set dummy install-info; ac_word=$2
5451{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452$as_echo_n "checking for $ac_word... " >&6; } 5137$as_echo_n "checking for $ac_word... " >&6; }
5453if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5138if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5454 $as_echo_n "(cached) " >&6 5139 $as_echo_n "(cached) " >&6
5455else 5140else
5456 case $INSTALL_INFO in 5141 case $INSTALL_INFO in
@@ -5463,14 +5148,14 @@ for as_dir in $PATH
5463do 5148do
5464 IFS=$as_save_IFS 5149 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=. 5150 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do 5151 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5468 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5153 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5469 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 break 2 5155 break 2
5471 fi 5156 fi
5472done 5157done
5473done 5158 done
5474IFS=$as_save_IFS 5159IFS=$as_save_IFS
5475 5160
5476 ;; 5161 ;;
@@ -5478,19 +5163,19 @@ esac
5478fi 5163fi
5479INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5164INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5480if test -n "$INSTALL_INFO"; then 5165if test -n "$INSTALL_INFO"; then
5481 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5482$as_echo "$INSTALL_INFO" >&6; } 5167$as_echo "$INSTALL_INFO" >&6; }
5483else 5168else
5484 { $as_echo "$as_me:$LINENO: result: no" >&5 5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485$as_echo "no" >&6; } 5170$as_echo "no" >&6; }
5486fi 5171fi
5487 5172
5488 5173
5489# Extract the first word of "install-info", so it can be a program name with args. 5174# Extract the first word of "install-info", so it can be a program name with args.
5490set dummy install-info; ac_word=$2 5175set dummy install-info; ac_word=$2
5491{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492$as_echo_n "checking for $ac_word... " >&6; } 5177$as_echo_n "checking for $ac_word... " >&6; }
5493if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5178if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5494 $as_echo_n "(cached) " >&6 5179 $as_echo_n "(cached) " >&6
5495else 5180else
5496 case $INSTALL_INFO in 5181 case $INSTALL_INFO in
@@ -5503,14 +5188,14 @@ for as_dir in /usr/sbin
5503do 5188do
5504 IFS=$as_save_IFS 5189 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=. 5190 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do 5191 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5193 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2 5195 break 2
5511 fi 5196 fi
5512done 5197done
5513done 5198 done
5514IFS=$as_save_IFS 5199IFS=$as_save_IFS
5515 5200
5516 ;; 5201 ;;
@@ -5518,19 +5203,19 @@ esac
5518fi 5203fi
5519INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5204INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5520if test -n "$INSTALL_INFO"; then 5205if test -n "$INSTALL_INFO"; then
5521 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5522$as_echo "$INSTALL_INFO" >&6; } 5207$as_echo "$INSTALL_INFO" >&6; }
5523else 5208else
5524 { $as_echo "$as_me:$LINENO: result: no" >&5 5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525$as_echo "no" >&6; } 5210$as_echo "no" >&6; }
5526fi 5211fi
5527 5212
5528 5213
5529# Extract the first word of "install-info", so it can be a program name with args. 5214# Extract the first word of "install-info", so it can be a program name with args.
5530set dummy install-info; ac_word=$2 5215set dummy install-info; ac_word=$2
5531{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532$as_echo_n "checking for $ac_word... " >&6; } 5217$as_echo_n "checking for $ac_word... " >&6; }
5533if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5218if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
5534 $as_echo_n "(cached) " >&6 5219 $as_echo_n "(cached) " >&6
5535else 5220else
5536 case $INSTALL_INFO in 5221 case $INSTALL_INFO in
@@ -5543,14 +5228,14 @@ for as_dir in /sbin
5543do 5228do
5544 IFS=$as_save_IFS 5229 IFS=$as_save_IFS
5545 test -z "$as_dir" && as_dir=. 5230 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do 5231 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5233 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5549 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 break 2 5235 break 2
5551 fi 5236 fi
5552done 5237done
5553done 5238 done
5554IFS=$as_save_IFS 5239IFS=$as_save_IFS
5555 5240
5556 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" 5241 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":"
@@ -5559,19 +5244,19 @@ esac
5559fi 5244fi
5560INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5245INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5561if test -n "$INSTALL_INFO"; then 5246if test -n "$INSTALL_INFO"; then
5562 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5563$as_echo "$INSTALL_INFO" >&6; } 5248$as_echo "$INSTALL_INFO" >&6; }
5564else 5249else
5565 { $as_echo "$as_me:$LINENO: result: no" >&5 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566$as_echo "no" >&6; } 5251$as_echo "no" >&6; }
5567fi 5252fi
5568 5253
5569 5254
5570# Extract the first word of "gzip", so it can be a program name with args. 5255# Extract the first word of "gzip", so it can be a program name with args.
5571set dummy gzip; ac_word=$2 5256set dummy gzip; ac_word=$2
5572{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573$as_echo_n "checking for $ac_word... " >&6; } 5258$as_echo_n "checking for $ac_word... " >&6; }
5574if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5259if test "${ac_cv_path_GZIP_PROG+set}" = set; then :
5575 $as_echo_n "(cached) " >&6 5260 $as_echo_n "(cached) " >&6
5576else 5261else
5577 case $GZIP_PROG in 5262 case $GZIP_PROG in
@@ -5584,14 +5269,14 @@ for as_dir in $PATH
5584do 5269do
5585 IFS=$as_save_IFS 5270 IFS=$as_save_IFS
5586 test -z "$as_dir" && as_dir=. 5271 test -z "$as_dir" && as_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do 5272 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5274 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5590 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 break 2 5276 break 2
5592 fi 5277 fi
5593done 5278done
5594done 5279 done
5595IFS=$as_save_IFS 5280IFS=$as_save_IFS
5596 5281
5597 ;; 5282 ;;
@@ -5599,10 +5284,10 @@ esac
5599fi 5284fi
5600GZIP_PROG=$ac_cv_path_GZIP_PROG 5285GZIP_PROG=$ac_cv_path_GZIP_PROG
5601if test -n "$GZIP_PROG"; then 5286if test -n "$GZIP_PROG"; then
5602 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5
5603$as_echo "$GZIP_PROG" >&6; } 5288$as_echo "$GZIP_PROG" >&6; }
5604else 5289else
5605 { $as_echo "$as_me:$LINENO: result: no" >&5 5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606$as_echo "no" >&6; } 5291$as_echo "no" >&6; }
5607fi 5292fi
5608 5293
@@ -5612,9 +5297,9 @@ fi
5612## Need makeinfo >= 4.6 (?) to build the manuals. 5297## Need makeinfo >= 4.6 (?) to build the manuals.
5613# Extract the first word of "makeinfo", so it can be a program name with args. 5298# Extract the first word of "makeinfo", so it can be a program name with args.
5614set dummy makeinfo; ac_word=$2 5299set dummy makeinfo; ac_word=$2
5615{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616$as_echo_n "checking for $ac_word... " >&6; } 5301$as_echo_n "checking for $ac_word... " >&6; }
5617if test "${ac_cv_path_MAKEINFO+set}" = set; then 5302if test "${ac_cv_path_MAKEINFO+set}" = set; then :
5618 $as_echo_n "(cached) " >&6 5303 $as_echo_n "(cached) " >&6
5619else 5304else
5620 case $MAKEINFO in 5305 case $MAKEINFO in
@@ -5627,14 +5312,14 @@ for as_dir in $PATH
5627do 5312do
5628 IFS=$as_save_IFS 5313 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=. 5314 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do 5315 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5317 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5633 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2 5319 break 2
5635 fi 5320 fi
5636done 5321done
5637done 5322 done
5638IFS=$as_save_IFS 5323IFS=$as_save_IFS
5639 5324
5640 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" 5325 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
@@ -5643,10 +5328,10 @@ esac
5643fi 5328fi
5644MAKEINFO=$ac_cv_path_MAKEINFO 5329MAKEINFO=$ac_cv_path_MAKEINFO
5645if test -n "$MAKEINFO"; then 5330if test -n "$MAKEINFO"; then
5646 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5647$as_echo "$MAKEINFO" >&6; } 5332$as_echo "$MAKEINFO" >&6; }
5648else 5333else
5649 { $as_echo "$as_me:$LINENO: result: no" >&5 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650$as_echo "no" >&6; } 5335$as_echo "no" >&6; }
5651fi 5336fi
5652 5337
@@ -5669,15 +5354,10 @@ if test "$MAKEINFO" = "no"; then
5669 if test "x${with_makeinfo}" = "xno"; then 5354 if test "x${with_makeinfo}" = "xno"; then
5670 MAKEINFO=off 5355 MAKEINFO=off
5671 elif test ! -e $srcdir/info/emacs; then 5356 elif test ! -e $srcdir/info/emacs; then
5672 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your 5357 as_fn_error "You do not seem to have makeinfo >= 4.6, and your
5673source tree does not seem to have pre-built manuals in the \`info' directory.
5674Either install a suitable version of makeinfo, or re-run configure
5675with the \`--without-makeinfo' option to build without the manuals. " >&5
5676$as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5677source tree does not seem to have pre-built manuals in the \`info' directory. 5358source tree does not seem to have pre-built manuals in the \`info' directory.
5678Either install a suitable version of makeinfo, or re-run configure 5359Either install a suitable version of makeinfo, or re-run configure
5679with the \`--without-makeinfo' option to build without the manuals. " >&2;} 5360with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
5680 { (exit 1); exit 1; }; }
5681 fi 5361 fi
5682fi 5362fi
5683 5363
@@ -5700,46 +5380,22 @@ else
5700 LDFLAGS="$LDFLAGS -znocombreloc" 5380 LDFLAGS="$LDFLAGS -znocombreloc"
5701fi 5381fi
5702 5382
5703{ $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5
5704$as_echo_n "checking for -znocombreloc... " >&6; } 5384$as_echo_n "checking for -znocombreloc... " >&6; }
5705cat >conftest.$ac_ext <<_ACEOF 5385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386/* end confdefs.h. */
5706main(){return 0;} 5387main(){return 0;}
5707_ACEOF 5388_ACEOF
5708rm -f conftest.$ac_objext conftest$ac_exeext 5389if ac_fn_c_try_link "$LINENO"; then :
5709if { (ac_try="$ac_link" 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5710case "(($ac_try" in
5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5713esac
5714eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5715$as_echo "$ac_try_echo") >&5
5716 (eval "$ac_link") 2>conftest.er1
5717 ac_status=$?
5718 grep -v '^ *+' conftest.er1 >conftest.err
5719 rm -f conftest.er1
5720 cat conftest.err >&5
5721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); } && {
5723 test -z "$ac_c_werror_flag" ||
5724 test ! -s conftest.err
5725 } && test -s conftest$ac_exeext && {
5726 test "$cross_compiling" = yes ||
5727 $as_test_x conftest$ac_exeext
5728 }; then
5729 { $as_echo "$as_me:$LINENO: result: yes" >&5
5730$as_echo "yes" >&6; } 5391$as_echo "yes" >&6; }
5731else 5392else
5732 $as_echo "$as_me: failed program was:" >&5 5393 LDFLAGS=$late_LDFLAGS
5733sed 's/^/| /' conftest.$ac_ext >&5 5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734
5735 LDFLAGS=$late_LDFLAGS
5736 { $as_echo "$as_me:$LINENO: result: no" >&5
5737$as_echo "no" >&6; } 5395$as_echo "no" >&6; }
5738fi 5396fi
5739 5397rm -f core conftest.err conftest.$ac_objext \
5740rm -rf conftest.dSYM 5398 conftest$ac_exeext conftest.$ac_ext
5741rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5742 conftest$ac_exeext conftest.$ac_ext
5743 5399
5744LIB_MATH=-lm 5400LIB_MATH=-lm
5745 5401
@@ -5757,7 +5413,7 @@ esac
5757 5413
5758#### Extract some information from the operating system and machine files. 5414#### Extract some information from the operating system and machine files.
5759 5415
5760{ $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 5416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out
5761 - which libraries the lib-src programs will want, and 5417 - which libraries the lib-src programs will want, and
5762 - whether the GNU malloc routines are usable..." >&5 5418 - whether the GNU malloc routines are usable..." >&5
5763$as_echo "$as_me: checking the machine- and system-dependent files to find out 5419$as_echo "$as_me: checking the machine- and system-dependent files to find out
@@ -5795,17 +5451,9 @@ configure___ libsrc_libs=LIBS_SYSTEM
5795configure___ c_switch_system=C_SWITCH_SYSTEM 5451configure___ c_switch_system=C_SWITCH_SYSTEM
5796configure___ c_switch_machine=C_SWITCH_MACHINE 5452configure___ c_switch_machine=C_SWITCH_MACHINE
5797 5453
5798#ifndef LIB_X11_LIB 5454configure___ LIBX=-lX11
5799#define LIB_X11_LIB -lX11
5800#endif
5801
5802configure___ LIBX=LIB_X11_LIB
5803 5455
5804#ifdef UNEXEC
5805configure___ unexec=UNEXEC 5456configure___ unexec=UNEXEC
5806#else
5807configure___ unexec=unexec.o
5808#endif
5809 5457
5810#ifdef SYSTEM_MALLOC 5458#ifdef SYSTEM_MALLOC
5811configure___ system_malloc=yes 5459configure___ system_malloc=yes
@@ -5895,15 +5543,15 @@ fi
5895 5543
5896 5544
5897# Check whether --enable-largefile was given. 5545# Check whether --enable-largefile was given.
5898if test "${enable_largefile+set}" = set; then 5546if test "${enable_largefile+set}" = set; then :
5899 enableval=$enable_largefile; 5547 enableval=$enable_largefile;
5900fi 5548fi
5901 5549
5902if test "$enable_largefile" != no; then 5550if test "$enable_largefile" != no; then
5903 5551
5904 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5905$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5553$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5906if test "${ac_cv_sys_largefile_CC+set}" = set; then 5554if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5907 $as_echo_n "(cached) " >&6 5555 $as_echo_n "(cached) " >&6
5908else 5556else
5909 ac_cv_sys_largefile_CC=no 5557 ac_cv_sys_largefile_CC=no
@@ -5912,11 +5560,7 @@ else
5912 while :; do 5560 while :; do
5913 # IRIX 6.2 and later do not support large files by default, 5561 # IRIX 6.2 and later do not support large files by default,
5914 # so use the C compiler's -n32 option if that helps. 5562 # so use the C compiler's -n32 option if that helps.
5915 cat >conftest.$ac_ext <<_ACEOF 5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916/* confdefs.h. */
5917_ACEOF
5918cat confdefs.h >>conftest.$ac_ext
5919cat >>conftest.$ac_ext <<_ACEOF
5920/* end confdefs.h. */ 5564/* end confdefs.h. */
5921#include <sys/types.h> 5565#include <sys/types.h>
5922 /* Check that off_t can represent 2**63 - 1 correctly. 5566 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -5935,60 +5579,14 @@ main ()
5935 return 0; 5579 return 0;
5936} 5580}
5937_ACEOF 5581_ACEOF
5938 rm -f conftest.$ac_objext 5582 if ac_fn_c_try_compile "$LINENO"; then :
5939if { (ac_try="$ac_compile"
5940case "(($ac_try" in
5941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5942 *) ac_try_echo=$ac_try;;
5943esac
5944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5945$as_echo "$ac_try_echo") >&5
5946 (eval "$ac_compile") 2>conftest.er1
5947 ac_status=$?
5948 grep -v '^ *+' conftest.er1 >conftest.err
5949 rm -f conftest.er1
5950 cat conftest.err >&5
5951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } && {
5953 test -z "$ac_c_werror_flag" ||
5954 test ! -s conftest.err
5955 } && test -s conftest.$ac_objext; then
5956 break 5583 break
5957else
5958 $as_echo "$as_me: failed program was:" >&5
5959sed 's/^/| /' conftest.$ac_ext >&5
5960
5961
5962fi 5584fi
5963
5964rm -f core conftest.err conftest.$ac_objext 5585rm -f core conftest.err conftest.$ac_objext
5965 CC="$CC -n32" 5586 CC="$CC -n32"
5966 rm -f conftest.$ac_objext 5587 if ac_fn_c_try_compile "$LINENO"; then :
5967if { (ac_try="$ac_compile"
5968case "(($ac_try" in
5969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5970 *) ac_try_echo=$ac_try;;
5971esac
5972eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5973$as_echo "$ac_try_echo") >&5
5974 (eval "$ac_compile") 2>conftest.er1
5975 ac_status=$?
5976 grep -v '^ *+' conftest.er1 >conftest.err
5977 rm -f conftest.er1
5978 cat conftest.err >&5
5979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); } && {
5981 test -z "$ac_c_werror_flag" ||
5982 test ! -s conftest.err
5983 } && test -s conftest.$ac_objext; then
5984 ac_cv_sys_largefile_CC=' -n32'; break 5588 ac_cv_sys_largefile_CC=' -n32'; break
5985else
5986 $as_echo "$as_me: failed program was:" >&5
5987sed 's/^/| /' conftest.$ac_ext >&5
5988
5989
5990fi 5589fi
5991
5992rm -f core conftest.err conftest.$ac_objext 5590rm -f core conftest.err conftest.$ac_objext
5993 break 5591 break
5994 done 5592 done
@@ -5996,23 +5594,19 @@ rm -f core conftest.err conftest.$ac_objext
5996 rm -f conftest.$ac_ext 5594 rm -f conftest.$ac_ext
5997 fi 5595 fi
5998fi 5596fi
5999{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6000$as_echo "$ac_cv_sys_largefile_CC" >&6; } 5598$as_echo "$ac_cv_sys_largefile_CC" >&6; }
6001 if test "$ac_cv_sys_largefile_CC" != no; then 5599 if test "$ac_cv_sys_largefile_CC" != no; then
6002 CC=$CC$ac_cv_sys_largefile_CC 5600 CC=$CC$ac_cv_sys_largefile_CC
6003 fi 5601 fi
6004 5602
6005 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6006$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5604$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6007if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5605if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
6008 $as_echo_n "(cached) " >&6 5606 $as_echo_n "(cached) " >&6
6009else 5607else
6010 while :; do 5608 while :; do
6011 cat >conftest.$ac_ext <<_ACEOF 5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012/* confdefs.h. */
6013_ACEOF
6014cat confdefs.h >>conftest.$ac_ext
6015cat >>conftest.$ac_ext <<_ACEOF
6016/* end confdefs.h. */ 5610/* end confdefs.h. */
6017#include <sys/types.h> 5611#include <sys/types.h>
6018 /* Check that off_t can represent 2**63 - 1 correctly. 5612 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6031,38 +5625,11 @@ main ()
6031 return 0; 5625 return 0;
6032} 5626}
6033_ACEOF 5627_ACEOF
6034rm -f conftest.$ac_objext 5628if ac_fn_c_try_compile "$LINENO"; then :
6035if { (ac_try="$ac_compile"
6036case "(($ac_try" in
6037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6038 *) ac_try_echo=$ac_try;;
6039esac
6040eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6041$as_echo "$ac_try_echo") >&5
6042 (eval "$ac_compile") 2>conftest.er1
6043 ac_status=$?
6044 grep -v '^ *+' conftest.er1 >conftest.err
6045 rm -f conftest.er1
6046 cat conftest.err >&5
6047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); } && {
6049 test -z "$ac_c_werror_flag" ||
6050 test ! -s conftest.err
6051 } && test -s conftest.$ac_objext; then
6052 ac_cv_sys_file_offset_bits=no; break 5629 ac_cv_sys_file_offset_bits=no; break
6053else
6054 $as_echo "$as_me: failed program was:" >&5
6055sed 's/^/| /' conftest.$ac_ext >&5
6056
6057
6058fi 5630fi
6059
6060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6061 cat >conftest.$ac_ext <<_ACEOF 5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6062/* confdefs.h. */
6063_ACEOF
6064cat confdefs.h >>conftest.$ac_ext
6065cat >>conftest.$ac_ext <<_ACEOF
6066/* end confdefs.h. */ 5633/* end confdefs.h. */
6067#define _FILE_OFFSET_BITS 64 5634#define _FILE_OFFSET_BITS 64
6068#include <sys/types.h> 5635#include <sys/types.h>
@@ -6082,38 +5649,15 @@ main ()
6082 return 0; 5649 return 0;
6083} 5650}
6084_ACEOF 5651_ACEOF
6085rm -f conftest.$ac_objext 5652if ac_fn_c_try_compile "$LINENO"; then :
6086if { (ac_try="$ac_compile"
6087case "(($ac_try" in
6088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6089 *) ac_try_echo=$ac_try;;
6090esac
6091eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6092$as_echo "$ac_try_echo") >&5
6093 (eval "$ac_compile") 2>conftest.er1
6094 ac_status=$?
6095 grep -v '^ *+' conftest.er1 >conftest.err
6096 rm -f conftest.er1
6097 cat conftest.err >&5
6098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } && {
6100 test -z "$ac_c_werror_flag" ||
6101 test ! -s conftest.err
6102 } && test -s conftest.$ac_objext; then
6103 ac_cv_sys_file_offset_bits=64; break 5653 ac_cv_sys_file_offset_bits=64; break
6104else
6105 $as_echo "$as_me: failed program was:" >&5
6106sed 's/^/| /' conftest.$ac_ext >&5
6107
6108
6109fi 5654fi
6110
6111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112 ac_cv_sys_file_offset_bits=unknown 5656 ac_cv_sys_file_offset_bits=unknown
6113 break 5657 break
6114done 5658done
6115fi 5659fi
6116{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6117$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5661$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6118case $ac_cv_sys_file_offset_bits in #( 5662case $ac_cv_sys_file_offset_bits in #(
6119 no | unknown) ;; 5663 no | unknown) ;;
@@ -6125,17 +5669,13 @@ _ACEOF
6125esac 5669esac
6126rm -rf conftest* 5670rm -rf conftest*
6127 if test $ac_cv_sys_file_offset_bits = unknown; then 5671 if test $ac_cv_sys_file_offset_bits = unknown; then
6128 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6129$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5673$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6130if test "${ac_cv_sys_large_files+set}" = set; then 5674if test "${ac_cv_sys_large_files+set}" = set; then :
6131 $as_echo_n "(cached) " >&6 5675 $as_echo_n "(cached) " >&6
6132else 5676else
6133 while :; do 5677 while :; do
6134 cat >conftest.$ac_ext <<_ACEOF 5678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6135/* confdefs.h. */
6136_ACEOF
6137cat confdefs.h >>conftest.$ac_ext
6138cat >>conftest.$ac_ext <<_ACEOF
6139/* end confdefs.h. */ 5679/* end confdefs.h. */
6140#include <sys/types.h> 5680#include <sys/types.h>
6141 /* Check that off_t can represent 2**63 - 1 correctly. 5681 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6154,38 +5694,11 @@ main ()
6154 return 0; 5694 return 0;
6155} 5695}
6156_ACEOF 5696_ACEOF
6157rm -f conftest.$ac_objext 5697if ac_fn_c_try_compile "$LINENO"; then :
6158if { (ac_try="$ac_compile"
6159case "(($ac_try" in
6160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6161 *) ac_try_echo=$ac_try;;
6162esac
6163eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6164$as_echo "$ac_try_echo") >&5
6165 (eval "$ac_compile") 2>conftest.er1
6166 ac_status=$?
6167 grep -v '^ *+' conftest.er1 >conftest.err
6168 rm -f conftest.er1
6169 cat conftest.err >&5
6170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } && {
6172 test -z "$ac_c_werror_flag" ||
6173 test ! -s conftest.err
6174 } && test -s conftest.$ac_objext; then
6175 ac_cv_sys_large_files=no; break 5698 ac_cv_sys_large_files=no; break
6176else
6177 $as_echo "$as_me: failed program was:" >&5
6178sed 's/^/| /' conftest.$ac_ext >&5
6179
6180
6181fi 5699fi
6182
6183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 cat >conftest.$ac_ext <<_ACEOF 5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185/* confdefs.h. */
6186_ACEOF
6187cat confdefs.h >>conftest.$ac_ext
6188cat >>conftest.$ac_ext <<_ACEOF
6189/* end confdefs.h. */ 5702/* end confdefs.h. */
6190#define _LARGE_FILES 1 5703#define _LARGE_FILES 1
6191#include <sys/types.h> 5704#include <sys/types.h>
@@ -6205,38 +5718,15 @@ main ()
6205 return 0; 5718 return 0;
6206} 5719}
6207_ACEOF 5720_ACEOF
6208rm -f conftest.$ac_objext 5721if ac_fn_c_try_compile "$LINENO"; then :
6209if { (ac_try="$ac_compile"
6210case "(($ac_try" in
6211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6213esac
6214eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6215$as_echo "$ac_try_echo") >&5
6216 (eval "$ac_compile") 2>conftest.er1
6217 ac_status=$?
6218 grep -v '^ *+' conftest.er1 >conftest.err
6219 rm -f conftest.er1
6220 cat conftest.err >&5
6221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest.$ac_objext; then
6226 ac_cv_sys_large_files=1; break 5722 ac_cv_sys_large_files=1; break
6227else
6228 $as_echo "$as_me: failed program was:" >&5
6229sed 's/^/| /' conftest.$ac_ext >&5
6230
6231
6232fi 5723fi
6233
6234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6235 ac_cv_sys_large_files=unknown 5725 ac_cv_sys_large_files=unknown
6236 break 5726 break
6237done 5727done
6238fi 5728fi
6239{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6240$as_echo "$ac_cv_sys_large_files" >&6; } 5730$as_echo "$ac_cv_sys_large_files" >&6; }
6241case $ac_cv_sys_large_files in #( 5731case $ac_cv_sys_large_files in #(
6242 no | unknown) ;; 5732 no | unknown) ;;
@@ -6282,9 +5772,7 @@ else
6282 ## Some platforms don't use any of these files, so it is not 5772 ## Some platforms don't use any of these files, so it is not
6283 ## appropriate to put this test outside the if block. 5773 ## appropriate to put this test outside the if block.
6284 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5774 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
6285 { { $as_echo "$as_me:$LINENO: error: crt*.o not found in specified location." >&5 5775 as_fn_error "crt*.o not found in specified location." "$LINENO" 5
6286$as_echo "$as_me: error: crt*.o not found in specified location." >&2;}
6287 { (exit 1); exit 1; }; }
6288 5776
6289fi 5777fi
6290 5778
@@ -6296,145 +5784,12 @@ fi
6296 5784
6297if test "${with_sound}" != "no"; then 5785if test "${with_sound}" != "no"; then
6298 # Sound support for GNU/Linux and the free BSDs. 5786 # Sound support for GNU/Linux and the free BSDs.
6299 5787 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
6300 5788do :
6301 5789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6302for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 5790ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6303do 5791eval as_val=\$$as_ac_Header
6304as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5792 if test "x$as_val" = x""yes; then :
6305if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6306 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6307$as_echo_n "checking for $ac_header... " >&6; }
6308if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6309 $as_echo_n "(cached) " >&6
6310fi
6311ac_res=`eval 'as_val=${'$as_ac_Header'}
6312 $as_echo "$as_val"'`
6313 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6314$as_echo "$ac_res" >&6; }
6315else
6316 # Is the header compilable?
6317{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6318$as_echo_n "checking $ac_header usability... " >&6; }
6319cat >conftest.$ac_ext <<_ACEOF
6320/* confdefs.h. */
6321_ACEOF
6322cat confdefs.h >>conftest.$ac_ext
6323cat >>conftest.$ac_ext <<_ACEOF
6324/* end confdefs.h. */
6325$ac_includes_default
6326#include <$ac_header>
6327_ACEOF
6328rm -f conftest.$ac_objext
6329if { (ac_try="$ac_compile"
6330case "(($ac_try" in
6331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6332 *) ac_try_echo=$ac_try;;
6333esac
6334eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6335$as_echo "$ac_try_echo") >&5
6336 (eval "$ac_compile") 2>conftest.er1
6337 ac_status=$?
6338 grep -v '^ *+' conftest.er1 >conftest.err
6339 rm -f conftest.er1
6340 cat conftest.err >&5
6341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } && {
6343 test -z "$ac_c_werror_flag" ||
6344 test ! -s conftest.err
6345 } && test -s conftest.$ac_objext; then
6346 ac_header_compiler=yes
6347else
6348 $as_echo "$as_me: failed program was:" >&5
6349sed 's/^/| /' conftest.$ac_ext >&5
6350
6351 ac_header_compiler=no
6352fi
6353
6354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6355{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6356$as_echo "$ac_header_compiler" >&6; }
6357
6358# Is the header present?
6359{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6360$as_echo_n "checking $ac_header presence... " >&6; }
6361cat >conftest.$ac_ext <<_ACEOF
6362/* confdefs.h. */
6363_ACEOF
6364cat confdefs.h >>conftest.$ac_ext
6365cat >>conftest.$ac_ext <<_ACEOF
6366/* end confdefs.h. */
6367#include <$ac_header>
6368_ACEOF
6369if { (ac_try="$ac_cpp conftest.$ac_ext"
6370case "(($ac_try" in
6371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6372 *) ac_try_echo=$ac_try;;
6373esac
6374eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6375$as_echo "$ac_try_echo") >&5
6376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } >/dev/null && {
6383 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 }; then
6386 ac_header_preproc=yes
6387else
6388 $as_echo "$as_me: failed program was:" >&5
6389sed 's/^/| /' conftest.$ac_ext >&5
6390
6391 ac_header_preproc=no
6392fi
6393
6394rm -f conftest.err conftest.$ac_ext
6395{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6396$as_echo "$ac_header_preproc" >&6; }
6397
6398# So? What about this header?
6399case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6400 yes:no: )
6401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6402$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6404$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6405 ac_header_preproc=yes
6406 ;;
6407 no:yes:* )
6408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6409$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6411$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6413$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6415$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6417$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6418 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6419$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6420
6421 ;;
6422esac
6423{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6424$as_echo_n "checking for $ac_header... " >&6; }
6425if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6426 $as_echo_n "(cached) " >&6
6427else
6428 eval "$as_ac_Header=\$ac_header_preproc"
6429fi
6430ac_res=`eval 'as_val=${'$as_ac_Header'}
6431 $as_echo "$as_val"'`
6432 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6433$as_echo "$ac_res" >&6; }
6434
6435fi
6436if test `eval 'as_val=${'$as_ac_Header'}
6437 $as_echo "$as_val"'` = yes; then
6438 cat >>confdefs.h <<_ACEOF 5793 cat >>confdefs.h <<_ACEOF
6439#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5794#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6440_ACEOF 5795_ACEOF
@@ -6444,18 +5799,14 @@ fi
6444done 5799done
6445 5800
6446 # Emulation library used on NetBSD. 5801 # Emulation library used on NetBSD.
6447 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6448$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 5803$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6449if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 5804if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
6450 $as_echo_n "(cached) " >&6 5805 $as_echo_n "(cached) " >&6
6451else 5806else
6452 ac_check_lib_save_LIBS=$LIBS 5807 ac_check_lib_save_LIBS=$LIBS
6453LIBS="-lossaudio $LIBS" 5808LIBS="-lossaudio $LIBS"
6454cat >conftest.$ac_ext <<_ACEOF 5809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455/* confdefs.h. */
6456_ACEOF
6457cat confdefs.h >>conftest.$ac_ext
6458cat >>conftest.$ac_ext <<_ACEOF
6459/* end confdefs.h. */ 5810/* end confdefs.h. */
6460 5811
6461/* Override any GCC internal prototype to avoid an error. 5812/* Override any GCC internal prototype to avoid an error.
@@ -6473,43 +5824,18 @@ return _oss_ioctl ();
6473 return 0; 5824 return 0;
6474} 5825}
6475_ACEOF 5826_ACEOF
6476rm -f conftest.$ac_objext conftest$ac_exeext 5827if ac_fn_c_try_link "$LINENO"; then :
6477if { (ac_try="$ac_link"
6478case "(($ac_try" in
6479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6480 *) ac_try_echo=$ac_try;;
6481esac
6482eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6483$as_echo "$ac_try_echo") >&5
6484 (eval "$ac_link") 2>conftest.er1
6485 ac_status=$?
6486 grep -v '^ *+' conftest.er1 >conftest.err
6487 rm -f conftest.er1
6488 cat conftest.err >&5
6489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } && {
6491 test -z "$ac_c_werror_flag" ||
6492 test ! -s conftest.err
6493 } && test -s conftest$ac_exeext && {
6494 test "$cross_compiling" = yes ||
6495 $as_test_x conftest$ac_exeext
6496 }; then
6497 ac_cv_lib_ossaudio__oss_ioctl=yes 5828 ac_cv_lib_ossaudio__oss_ioctl=yes
6498else 5829else
6499 $as_echo "$as_me: failed program was:" >&5 5830 ac_cv_lib_ossaudio__oss_ioctl=no
6500sed 's/^/| /' conftest.$ac_ext >&5
6501
6502 ac_cv_lib_ossaudio__oss_ioctl=no
6503fi 5831fi
6504 5832rm -f core conftest.err conftest.$ac_objext \
6505rm -rf conftest.dSYM 5833 conftest$ac_exeext conftest.$ac_ext
6506rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6507 conftest$ac_exeext conftest.$ac_ext
6508LIBS=$ac_check_lib_save_LIBS 5834LIBS=$ac_check_lib_save_LIBS
6509fi 5835fi
6510{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 5836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6511$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 5837$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6512if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 5838if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
6513 LIBSOUND=-lossaudio 5839 LIBSOUND=-lossaudio
6514else 5840else
6515 LIBSOUND= 5841 LIBSOUND=
@@ -6524,9 +5850,9 @@ fi
6524 5850
6525 # Extract the first word of "pkg-config", so it can be a program name with args. 5851 # Extract the first word of "pkg-config", so it can be a program name with args.
6526set dummy pkg-config; ac_word=$2 5852set dummy pkg-config; ac_word=$2
6527{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528$as_echo_n "checking for $ac_word... " >&6; } 5854$as_echo_n "checking for $ac_word... " >&6; }
6529if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5855if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6530 $as_echo_n "(cached) " >&6 5856 $as_echo_n "(cached) " >&6
6531else 5857else
6532 case $PKG_CONFIG in 5858 case $PKG_CONFIG in
@@ -6539,14 +5865,14 @@ for as_dir in $PATH
6539do 5865do
6540 IFS=$as_save_IFS 5866 IFS=$as_save_IFS
6541 test -z "$as_dir" && as_dir=. 5867 test -z "$as_dir" && as_dir=.
6542 for ac_exec_ext in '' $ac_executable_extensions; do 5868 for ac_exec_ext in '' $ac_executable_extensions; do
6543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6544 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5870 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6545 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 break 2 5872 break 2
6547 fi 5873 fi
6548done 5874done
6549done 5875 done
6550IFS=$as_save_IFS 5876IFS=$as_save_IFS
6551 5877
6552 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 5878 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -6555,10 +5881,10 @@ esac
6555fi 5881fi
6556PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5882PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6557if test -n "$PKG_CONFIG"; then 5883if test -n "$PKG_CONFIG"; then
6558 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6559$as_echo "$PKG_CONFIG" >&6; } 5885$as_echo "$PKG_CONFIG" >&6; }
6560else 5886else
6561 { $as_echo "$as_me:$LINENO: result: no" >&5 5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562$as_echo "no" >&6; } 5888$as_echo "no" >&6; }
6563fi 5889fi
6564 5890
@@ -6569,27 +5895,27 @@ fi
6569 else 5895 else
6570 PKG_CONFIG_MIN_VERSION=0.9.0 5896 PKG_CONFIG_MIN_VERSION=0.9.0
6571 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 5897 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6572 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5
6573$as_echo_n "checking for $ALSA_MODULES... " >&6; } 5899$as_echo_n "checking for $ALSA_MODULES... " >&6; }
6574 5900
6575 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 5901 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
6576 { $as_echo "$as_me:$LINENO: result: yes" >&5 5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6577$as_echo "yes" >&6; } 5903$as_echo "yes" >&6; }
6578 succeeded=yes 5904 succeeded=yes
6579 5905
6580 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5
6581$as_echo_n "checking ALSA_CFLAGS... " >&6; } 5907$as_echo_n "checking ALSA_CFLAGS... " >&6; }
6582 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 5908 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6583 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
6584$as_echo "$ALSA_CFLAGS" >&6; } 5910$as_echo "$ALSA_CFLAGS" >&6; }
6585 5911
6586 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5
6587$as_echo_n "checking ALSA_LIBS... " >&6; } 5913$as_echo_n "checking ALSA_LIBS... " >&6; }
6588 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 5914 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6589 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
6590$as_echo "$ALSA_LIBS" >&6; } 5916$as_echo "$ALSA_LIBS" >&6; }
6591 else 5917 else
6592 { $as_echo "$as_me:$LINENO: result: no" >&5 5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593$as_echo "no" >&6; } 5919$as_echo "no" >&6; }
6594 ALSA_CFLAGS="" 5920 ALSA_CFLAGS=""
6595 ALSA_LIBS="" 5921 ALSA_LIBS=""
@@ -6618,11 +5944,7 @@ $as_echo "no" >&6; }
6618 SAVE_LDFLAGS="$LDFLAGS" 5944 SAVE_LDFLAGS="$LDFLAGS"
6619 CFLAGS="$ALSA_CFLAGS $CFLAGS" 5945 CFLAGS="$ALSA_CFLAGS $CFLAGS"
6620 LDFLAGS="$ALSA_LIBS $LDFLAGS" 5946 LDFLAGS="$ALSA_LIBS $LDFLAGS"
6621 cat >conftest.$ac_ext <<_ACEOF 5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622/* confdefs.h. */
6623_ACEOF
6624cat confdefs.h >>conftest.$ac_ext
6625cat >>conftest.$ac_ext <<_ACEOF
6626/* end confdefs.h. */ 5948/* end confdefs.h. */
6627#include <asoundlib.h> 5949#include <asoundlib.h>
6628int 5950int
@@ -6633,39 +5955,14 @@ snd_lib_error_set_handler (0);
6633 return 0; 5955 return 0;
6634} 5956}
6635_ACEOF 5957_ACEOF
6636rm -f conftest.$ac_objext 5958if ac_fn_c_try_compile "$LINENO"; then :
6637if { (ac_try="$ac_compile"
6638case "(($ac_try" in
6639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6640 *) ac_try_echo=$ac_try;;
6641esac
6642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6643$as_echo "$ac_try_echo") >&5
6644 (eval "$ac_compile") 2>conftest.er1
6645 ac_status=$?
6646 grep -v '^ *+' conftest.er1 >conftest.err
6647 rm -f conftest.er1
6648 cat conftest.err >&5
6649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); } && {
6651 test -z "$ac_c_werror_flag" ||
6652 test ! -s conftest.err
6653 } && test -s conftest.$ac_objext; then
6654 emacs_alsa_normal=yes 5959 emacs_alsa_normal=yes
6655else 5960else
6656 $as_echo "$as_me: failed program was:" >&5 5961 emacs_alsa_normal=no
6657sed 's/^/| /' conftest.$ac_ext >&5
6658
6659 emacs_alsa_normal=no
6660fi 5962fi
6661
6662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 if test "$emacs_alsa_normal" != yes; then 5964 if test "$emacs_alsa_normal" != yes; then
6664 cat >conftest.$ac_ext <<_ACEOF 5965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665/* confdefs.h. */
6666_ACEOF
6667cat confdefs.h >>conftest.$ac_ext
6668cat >>conftest.$ac_ext <<_ACEOF
6669/* end confdefs.h. */ 5966/* end confdefs.h. */
6670#include <alsa/asoundlib.h> 5967#include <alsa/asoundlib.h>
6671int 5968int
@@ -6676,37 +5973,14 @@ snd_lib_error_set_handler (0);
6676 return 0; 5973 return 0;
6677} 5974}
6678_ACEOF 5975_ACEOF
6679rm -f conftest.$ac_objext 5976if ac_fn_c_try_compile "$LINENO"; then :
6680if { (ac_try="$ac_compile"
6681case "(($ac_try" in
6682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6683 *) ac_try_echo=$ac_try;;
6684esac
6685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6686$as_echo "$ac_try_echo") >&5
6687 (eval "$ac_compile") 2>conftest.er1
6688 ac_status=$?
6689 grep -v '^ *+' conftest.er1 >conftest.err
6690 rm -f conftest.er1
6691 cat conftest.err >&5
6692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); } && {
6694 test -z "$ac_c_werror_flag" ||
6695 test ! -s conftest.err
6696 } && test -s conftest.$ac_objext; then
6697 emacs_alsa_subdir=yes 5977 emacs_alsa_subdir=yes
6698else 5978else
6699 $as_echo "$as_me: failed program was:" >&5 5979 emacs_alsa_subdir=no
6700sed 's/^/| /' conftest.$ac_ext >&5
6701
6702 emacs_alsa_subdir=no
6703fi 5980fi
6704
6705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6706 if test "$emacs_alsa_subdir" != yes; then 5982 if test "$emacs_alsa_subdir" != yes; then
6707 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 5983 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6708$as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6709 { (exit 1); exit 1; }; }
6710 fi 5984 fi
6711 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 5985 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6712 fi 5986 fi
@@ -6716,179 +5990,22 @@ $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See co
6716 LIBSOUND="$LIBSOUND $ALSA_LIBS" 5990 LIBSOUND="$LIBSOUND $ALSA_LIBS"
6717 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" 5991 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
6718 5992
6719cat >>confdefs.h <<\_ACEOF 5993$as_echo "#define HAVE_ALSA 1" >>confdefs.h
6720#define HAVE_ALSA 1
6721_ACEOF
6722 5994
6723 fi 5995 fi
6724 5996
6725fi 5997fi
6726 5998
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 5999for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
6753 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6000 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6754 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6001 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6755 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6002 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6756 sys/utsname.h pwd.h utmp.h 6003 sys/utsname.h pwd.h utmp.h
6757do 6004do :
6758as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6006ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6760 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6007eval as_val=\$$as_ac_Header
6761$as_echo_n "checking for $ac_header... " >&6; } 6008 if test "x$as_val" = x""yes; then :
6762if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6763 $as_echo_n "(cached) " >&6
6764fi
6765ac_res=`eval 'as_val=${'$as_ac_Header'}
6766 $as_echo "$as_val"'`
6767 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6768$as_echo "$ac_res" >&6; }
6769else
6770 # Is the header compilable?
6771{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6772$as_echo_n "checking $ac_header usability... " >&6; }
6773cat >conftest.$ac_ext <<_ACEOF
6774/* confdefs.h. */
6775_ACEOF
6776cat confdefs.h >>conftest.$ac_ext
6777cat >>conftest.$ac_ext <<_ACEOF
6778/* end confdefs.h. */
6779$ac_includes_default
6780#include <$ac_header>
6781_ACEOF
6782rm -f conftest.$ac_objext
6783if { (ac_try="$ac_compile"
6784case "(($ac_try" in
6785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6786 *) ac_try_echo=$ac_try;;
6787esac
6788eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6789$as_echo "$ac_try_echo") >&5
6790 (eval "$ac_compile") 2>conftest.er1
6791 ac_status=$?
6792 grep -v '^ *+' conftest.er1 >conftest.err
6793 rm -f conftest.er1
6794 cat conftest.err >&5
6795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } && {
6797 test -z "$ac_c_werror_flag" ||
6798 test ! -s conftest.err
6799 } && test -s conftest.$ac_objext; then
6800 ac_header_compiler=yes
6801else
6802 $as_echo "$as_me: failed program was:" >&5
6803sed 's/^/| /' conftest.$ac_ext >&5
6804
6805 ac_header_compiler=no
6806fi
6807
6808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6809{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6810$as_echo "$ac_header_compiler" >&6; }
6811
6812# Is the header present?
6813{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6814$as_echo_n "checking $ac_header presence... " >&6; }
6815cat >conftest.$ac_ext <<_ACEOF
6816/* confdefs.h. */
6817_ACEOF
6818cat confdefs.h >>conftest.$ac_ext
6819cat >>conftest.$ac_ext <<_ACEOF
6820/* end confdefs.h. */
6821#include <$ac_header>
6822_ACEOF
6823if { (ac_try="$ac_cpp conftest.$ac_ext"
6824case "(($ac_try" in
6825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6826 *) ac_try_echo=$ac_try;;
6827esac
6828eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6829$as_echo "$ac_try_echo") >&5
6830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6831 ac_status=$?
6832 grep -v '^ *+' conftest.er1 >conftest.err
6833 rm -f conftest.er1
6834 cat conftest.err >&5
6835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } >/dev/null && {
6837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6838 test ! -s conftest.err
6839 }; then
6840 ac_header_preproc=yes
6841else
6842 $as_echo "$as_me: failed program was:" >&5
6843sed 's/^/| /' conftest.$ac_ext >&5
6844
6845 ac_header_preproc=no
6846fi
6847
6848rm -f conftest.err conftest.$ac_ext
6849{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6850$as_echo "$ac_header_preproc" >&6; }
6851
6852# So? What about this header?
6853case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6854 yes:no: )
6855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6856$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6858$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6859 ac_header_preproc=yes
6860 ;;
6861 no:yes:* )
6862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6863$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6865$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6867$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6869$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6871$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6873$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6874
6875 ;;
6876esac
6877{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6878$as_echo_n "checking for $ac_header... " >&6; }
6879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6880 $as_echo_n "(cached) " >&6
6881else
6882 eval "$as_ac_Header=\$ac_header_preproc"
6883fi
6884ac_res=`eval 'as_val=${'$as_ac_Header'}
6885 $as_echo "$as_val"'`
6886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6887$as_echo "$ac_res" >&6; }
6888
6889fi
6890if test `eval 'as_val=${'$as_ac_Header'}
6891 $as_echo "$as_val"'` = yes; then
6892 cat >>confdefs.h <<_ACEOF 6009 cat >>confdefs.h <<_ACEOF
6893#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6010#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894_ACEOF 6011_ACEOF
@@ -6898,13 +6015,9 @@ fi
6898done 6015done
6899 6016
6900 6017
6901{ $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 6018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5
6902$as_echo_n "checking if personality LINUX32 can be set... " >&6; } 6019$as_echo_n "checking if personality LINUX32 can be set... " >&6; }
6903cat >conftest.$ac_ext <<_ACEOF 6020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904/* confdefs.h. */
6905_ACEOF
6906cat confdefs.h >>conftest.$ac_ext
6907cat >>conftest.$ac_ext <<_ACEOF
6908/* end confdefs.h. */ 6021/* end confdefs.h. */
6909#include <sys/personality.h> 6022#include <sys/personality.h>
6910int 6023int
@@ -6915,112 +6028,39 @@ personality (PER_LINUX32)
6915 return 0; 6028 return 0;
6916} 6029}
6917_ACEOF 6030_ACEOF
6918rm -f conftest.$ac_objext 6031if ac_fn_c_try_compile "$LINENO"; then :
6919if { (ac_try="$ac_compile"
6920case "(($ac_try" in
6921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6922 *) ac_try_echo=$ac_try;;
6923esac
6924eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6925$as_echo "$ac_try_echo") >&5
6926 (eval "$ac_compile") 2>conftest.er1
6927 ac_status=$?
6928 grep -v '^ *+' conftest.er1 >conftest.err
6929 rm -f conftest.er1
6930 cat conftest.err >&5
6931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } && {
6933 test -z "$ac_c_werror_flag" ||
6934 test ! -s conftest.err
6935 } && test -s conftest.$ac_objext; then
6936 emacs_cv_personality_linux32=yes 6032 emacs_cv_personality_linux32=yes
6937else 6033else
6938 $as_echo "$as_me: failed program was:" >&5 6034 emacs_cv_personality_linux32=no
6939sed 's/^/| /' conftest.$ac_ext >&5
6940
6941 emacs_cv_personality_linux32=no
6942fi 6035fi
6943
6944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6945{ $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 6037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5
6946$as_echo "$emacs_cv_personality_linux32" >&6; } 6038$as_echo "$emacs_cv_personality_linux32" >&6; }
6947 6039
6948if test $emacs_cv_personality_linux32 = yes; then 6040if test $emacs_cv_personality_linux32 = yes; then
6949 6041
6950cat >>confdefs.h <<\_ACEOF 6042$as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h
6951#define HAVE_PERSONALITY_LINUX32 1
6952_ACEOF
6953 6043
6954fi 6044fi
6955 6045
6956
6957for ac_header in term.h 6046for ac_header in term.h
6958do 6047do :
6959as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6048 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h"
6960{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6049if test "x$ac_cv_header_term_h" = x""yes; then :
6961$as_echo_n "checking for $ac_header... " >&6; }
6962if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6963 $as_echo_n "(cached) " >&6
6964else
6965 cat >conftest.$ac_ext <<_ACEOF
6966/* confdefs.h. */
6967_ACEOF
6968cat confdefs.h >>conftest.$ac_ext
6969cat >>conftest.$ac_ext <<_ACEOF
6970/* end confdefs.h. */
6971#include <$ac_header>
6972_ACEOF
6973if { (ac_try="$ac_cpp conftest.$ac_ext"
6974case "(($ac_try" in
6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 *) ac_try_echo=$ac_try;;
6977esac
6978eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6979$as_echo "$ac_try_echo") >&5
6980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6981 ac_status=$?
6982 grep -v '^ *+' conftest.er1 >conftest.err
6983 rm -f conftest.er1
6984 cat conftest.err >&5
6985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } >/dev/null && {
6987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6988 test ! -s conftest.err
6989 }; then
6990 eval "$as_ac_Header=yes"
6991else
6992 $as_echo "$as_me: failed program was:" >&5
6993sed 's/^/| /' conftest.$ac_ext >&5
6994
6995 eval "$as_ac_Header=no"
6996fi
6997
6998rm -f conftest.err conftest.$ac_ext
6999fi
7000ac_res=`eval 'as_val=${'$as_ac_Header'}
7001 $as_echo "$as_val"'`
7002 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7003$as_echo "$ac_res" >&6; }
7004if test `eval 'as_val=${'$as_ac_Header'}
7005 $as_echo "$as_val"'` = yes; then
7006 cat >>confdefs.h <<_ACEOF 6050 cat >>confdefs.h <<_ACEOF
7007#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6051#define HAVE_TERM_H 1
7008_ACEOF 6052_ACEOF
7009 6053
7010fi 6054fi
7011 6055
7012done 6056done
7013 6057
7014{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7015$as_echo_n "checking for ANSI C header files... " >&6; } 6059$as_echo_n "checking for ANSI C header files... " >&6; }
7016if test "${ac_cv_header_stdc+set}" = set; then 6060if test "${ac_cv_header_stdc+set}" = set; then :
7017 $as_echo_n "(cached) " >&6 6061 $as_echo_n "(cached) " >&6
7018else 6062else
7019 cat >conftest.$ac_ext <<_ACEOF 6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020/* confdefs.h. */
7021_ACEOF
7022cat confdefs.h >>conftest.$ac_ext
7023cat >>conftest.$ac_ext <<_ACEOF
7024/* end confdefs.h. */ 6064/* end confdefs.h. */
7025#include <stdlib.h> 6065#include <stdlib.h>
7026#include <stdarg.h> 6066#include <stdarg.h>
@@ -7035,48 +6075,23 @@ main ()
7035 return 0; 6075 return 0;
7036} 6076}
7037_ACEOF 6077_ACEOF
7038rm -f conftest.$ac_objext 6078if ac_fn_c_try_compile "$LINENO"; then :
7039if { (ac_try="$ac_compile"
7040case "(($ac_try" in
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7043esac
7044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7045$as_echo "$ac_try_echo") >&5
7046 (eval "$ac_compile") 2>conftest.er1
7047 ac_status=$?
7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } && {
7053 test -z "$ac_c_werror_flag" ||
7054 test ! -s conftest.err
7055 } && test -s conftest.$ac_objext; then
7056 ac_cv_header_stdc=yes 6079 ac_cv_header_stdc=yes
7057else 6080else
7058 $as_echo "$as_me: failed program was:" >&5 6081 ac_cv_header_stdc=no
7059sed 's/^/| /' conftest.$ac_ext >&5
7060
7061 ac_cv_header_stdc=no
7062fi 6082fi
7063
7064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7065 6084
7066if test $ac_cv_header_stdc = yes; then 6085if test $ac_cv_header_stdc = yes; then
7067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7068 cat >conftest.$ac_ext <<_ACEOF 6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069/* confdefs.h. */
7070_ACEOF
7071cat confdefs.h >>conftest.$ac_ext
7072cat >>conftest.$ac_ext <<_ACEOF
7073/* end confdefs.h. */ 6088/* end confdefs.h. */
7074#include <string.h> 6089#include <string.h>
7075 6090
7076_ACEOF 6091_ACEOF
7077if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6092if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7078 $EGREP "memchr" >/dev/null 2>&1; then 6093 $EGREP "memchr" >/dev/null 2>&1; then :
7079 : 6094
7080else 6095else
7081 ac_cv_header_stdc=no 6096 ac_cv_header_stdc=no
7082fi 6097fi
@@ -7086,18 +6101,14 @@ fi
7086 6101
7087if test $ac_cv_header_stdc = yes; then 6102if test $ac_cv_header_stdc = yes; then
7088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6103 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7089 cat >conftest.$ac_ext <<_ACEOF 6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7090/* confdefs.h. */
7091_ACEOF
7092cat confdefs.h >>conftest.$ac_ext
7093cat >>conftest.$ac_ext <<_ACEOF
7094/* end confdefs.h. */ 6105/* end confdefs.h. */
7095#include <stdlib.h> 6106#include <stdlib.h>
7096 6107
7097_ACEOF 6108_ACEOF
7098if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6109if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7099 $EGREP "free" >/dev/null 2>&1; then 6110 $EGREP "free" >/dev/null 2>&1; then :
7100 : 6111
7101else 6112else
7102 ac_cv_header_stdc=no 6113 ac_cv_header_stdc=no
7103fi 6114fi
@@ -7107,14 +6118,10 @@ fi
7107 6118
7108if test $ac_cv_header_stdc = yes; then 6119if test $ac_cv_header_stdc = yes; then
7109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7110 if test "$cross_compiling" = yes; then 6121 if test "$cross_compiling" = yes; then :
7111 : 6122 :
7112else 6123else
7113 cat >conftest.$ac_ext <<_ACEOF 6124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114/* confdefs.h. */
7115_ACEOF
7116cat confdefs.h >>conftest.$ac_ext
7117cat >>conftest.$ac_ext <<_ACEOF
7118/* end confdefs.h. */ 6125/* end confdefs.h. */
7119#include <ctype.h> 6126#include <ctype.h>
7120#include <stdlib.h> 6127#include <stdlib.h>
@@ -7141,64 +6148,31 @@ main ()
7141 return 0; 6148 return 0;
7142} 6149}
7143_ACEOF 6150_ACEOF
7144rm -f conftest$ac_exeext 6151if ac_fn_c_try_run "$LINENO"; then :
7145if { (ac_try="$ac_link"
7146case "(($ac_try" in
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7149esac
7150eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7151$as_echo "$ac_try_echo") >&5
7152 (eval "$ac_link") 2>&5
7153 ac_status=$?
7154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7156 { (case "(($ac_try" in
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7159esac
7160eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7161$as_echo "$ac_try_echo") >&5
7162 (eval "$ac_try") 2>&5
7163 ac_status=$?
7164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; }; then
7166 :
7167else
7168 $as_echo "$as_me: program exited with status $ac_status" >&5
7169$as_echo "$as_me: failed program was:" >&5
7170sed 's/^/| /' conftest.$ac_ext >&5
7171 6152
7172( exit $ac_status ) 6153else
7173ac_cv_header_stdc=no 6154 ac_cv_header_stdc=no
7174fi 6155fi
7175rm -rf conftest.dSYM 6156rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7176rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6157 conftest.$ac_objext conftest.beam conftest.$ac_ext
7177fi 6158fi
7178 6159
7179
7180fi 6160fi
7181fi 6161fi
7182{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7183$as_echo "$ac_cv_header_stdc" >&6; } 6163$as_echo "$ac_cv_header_stdc" >&6; }
7184if test $ac_cv_header_stdc = yes; then 6164if test $ac_cv_header_stdc = yes; then
7185 6165
7186cat >>confdefs.h <<\_ACEOF 6166$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7187#define STDC_HEADERS 1
7188_ACEOF
7189 6167
7190fi 6168fi
7191 6169
7192{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7193$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6171$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7194if test "${ac_cv_header_time+set}" = set; then 6172if test "${ac_cv_header_time+set}" = set; then :
7195 $as_echo_n "(cached) " >&6 6173 $as_echo_n "(cached) " >&6
7196else 6174else
7197 cat >conftest.$ac_ext <<_ACEOF 6175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198/* confdefs.h. */
7199_ACEOF
7200cat confdefs.h >>conftest.$ac_ext
7201cat >>conftest.$ac_ext <<_ACEOF
7202/* end confdefs.h. */ 6176/* end confdefs.h. */
7203#include <sys/types.h> 6177#include <sys/types.h>
7204#include <sys/time.h> 6178#include <sys/time.h>
@@ -7213,202 +6187,57 @@ return 0;
7213 return 0; 6187 return 0;
7214} 6188}
7215_ACEOF 6189_ACEOF
7216rm -f conftest.$ac_objext 6190if ac_fn_c_try_compile "$LINENO"; then :
7217if { (ac_try="$ac_compile"
7218case "(($ac_try" in
7219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7220 *) ac_try_echo=$ac_try;;
7221esac
7222eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7223$as_echo "$ac_try_echo") >&5
7224 (eval "$ac_compile") 2>conftest.er1
7225 ac_status=$?
7226 grep -v '^ *+' conftest.er1 >conftest.err
7227 rm -f conftest.er1
7228 cat conftest.err >&5
7229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest.$ac_objext; then
7234 ac_cv_header_time=yes 6191 ac_cv_header_time=yes
7235else 6192else
7236 $as_echo "$as_me: failed program was:" >&5 6193 ac_cv_header_time=no
7237sed 's/^/| /' conftest.$ac_ext >&5
7238
7239 ac_cv_header_time=no
7240fi 6194fi
7241
7242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243fi 6196fi
7244{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7245$as_echo "$ac_cv_header_time" >&6; } 6198$as_echo "$ac_cv_header_time" >&6; }
7246if test $ac_cv_header_time = yes; then 6199if test $ac_cv_header_time = yes; then
7247 6200
7248cat >>confdefs.h <<\_ACEOF 6201$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7249#define TIME_WITH_SYS_TIME 1
7250_ACEOF
7251 6202
7252fi 6203fi
7253 6204
7254{ $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 6205ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
7255$as_echo_n "checking whether sys_siglist is declared... " >&6; } 6206if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then :
7256if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 6207 ac_have_decl=1
7257 $as_echo_n "(cached) " >&6
7258else 6208else
7259 cat >conftest.$ac_ext <<_ACEOF 6209 ac_have_decl=0
7260/* confdefs.h. */
7261_ACEOF
7262cat confdefs.h >>conftest.$ac_ext
7263cat >>conftest.$ac_ext <<_ACEOF
7264/* end confdefs.h. */
7265$ac_includes_default
7266int
7267main ()
7268{
7269#ifndef sys_siglist
7270 (void) sys_siglist;
7271#endif
7272
7273 ;
7274 return 0;
7275}
7276_ACEOF
7277rm -f conftest.$ac_objext
7278if { (ac_try="$ac_compile"
7279case "(($ac_try" in
7280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7281 *) ac_try_echo=$ac_try;;
7282esac
7283eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7284$as_echo "$ac_try_echo") >&5
7285 (eval "$ac_compile") 2>conftest.er1
7286 ac_status=$?
7287 grep -v '^ *+' conftest.er1 >conftest.err
7288 rm -f conftest.er1
7289 cat conftest.err >&5
7290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); } && {
7292 test -z "$ac_c_werror_flag" ||
7293 test ! -s conftest.err
7294 } && test -s conftest.$ac_objext; then
7295 ac_cv_have_decl_sys_siglist=yes
7296else
7297 $as_echo "$as_me: failed program was:" >&5
7298sed 's/^/| /' conftest.$ac_ext >&5
7299
7300 ac_cv_have_decl_sys_siglist=no
7301fi
7302
7303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7304fi 6210fi
7305{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7306$as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
7307if test $ac_cv_have_decl_sys_siglist = yes; then
7308 6211
7309cat >>confdefs.h <<_ACEOF 6212cat >>confdefs.h <<_ACEOF
7310#define HAVE_DECL_SYS_SIGLIST 1 6213#define HAVE_DECL_SYS_SIGLIST $ac_have_decl
7311_ACEOF
7312
7313
7314else
7315 cat >>confdefs.h <<_ACEOF
7316#define HAVE_DECL_SYS_SIGLIST 0
7317_ACEOF 6214_ACEOF
7318 6215
7319
7320fi
7321
7322
7323if test $ac_cv_have_decl_sys_siglist != yes; then 6216if test $ac_cv_have_decl_sys_siglist != yes; then
7324 # For Tru64, at least: 6217 # For Tru64, at least:
7325 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 6218 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default"
7326$as_echo_n "checking whether __sys_siglist is declared... " >&6; } 6219if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then :
7327if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 6220 ac_have_decl=1
7328 $as_echo_n "(cached) " >&6
7329else 6221else
7330 cat >conftest.$ac_ext <<_ACEOF 6222 ac_have_decl=0
7331/* confdefs.h. */
7332_ACEOF
7333cat confdefs.h >>conftest.$ac_ext
7334cat >>conftest.$ac_ext <<_ACEOF
7335/* end confdefs.h. */
7336$ac_includes_default
7337int
7338main ()
7339{
7340#ifndef __sys_siglist
7341 (void) __sys_siglist;
7342#endif
7343
7344 ;
7345 return 0;
7346}
7347_ACEOF
7348rm -f conftest.$ac_objext
7349if { (ac_try="$ac_compile"
7350case "(($ac_try" in
7351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7352 *) ac_try_echo=$ac_try;;
7353esac
7354eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7355$as_echo "$ac_try_echo") >&5
7356 (eval "$ac_compile") 2>conftest.er1
7357 ac_status=$?
7358 grep -v '^ *+' conftest.er1 >conftest.err
7359 rm -f conftest.er1
7360 cat conftest.err >&5
7361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } && {
7363 test -z "$ac_c_werror_flag" ||
7364 test ! -s conftest.err
7365 } && test -s conftest.$ac_objext; then
7366 ac_cv_have_decl___sys_siglist=yes
7367else
7368 $as_echo "$as_me: failed program was:" >&5
7369sed 's/^/| /' conftest.$ac_ext >&5
7370
7371 ac_cv_have_decl___sys_siglist=no
7372fi
7373
7374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7375fi 6223fi
7376{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7377$as_echo "$ac_cv_have_decl___sys_siglist" >&6; }
7378if test $ac_cv_have_decl___sys_siglist = yes; then
7379 6224
7380cat >>confdefs.h <<_ACEOF 6225cat >>confdefs.h <<_ACEOF
7381#define HAVE_DECL___SYS_SIGLIST 1 6226#define HAVE_DECL___SYS_SIGLIST $ac_have_decl
7382_ACEOF
7383
7384
7385else
7386 cat >>confdefs.h <<_ACEOF
7387#define HAVE_DECL___SYS_SIGLIST 0
7388_ACEOF 6227_ACEOF
7389 6228
7390
7391fi
7392
7393
7394 if test $ac_cv_have_decl___sys_siglist = yes; then 6229 if test $ac_cv_have_decl___sys_siglist = yes; then
7395 6230
7396cat >>confdefs.h <<\_ACEOF 6231$as_echo "#define sys_siglist __sys_siglist" >>confdefs.h
7397#define sys_siglist __sys_siglist
7398_ACEOF
7399 6232
7400 fi 6233 fi
7401fi 6234fi
7402{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 6235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7403$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6236$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7404if test "${ac_cv_header_sys_wait_h+set}" = set; then 6237if test "${ac_cv_header_sys_wait_h+set}" = set; then :
7405 $as_echo_n "(cached) " >&6 6238 $as_echo_n "(cached) " >&6
7406else 6239else
7407 cat >conftest.$ac_ext <<_ACEOF 6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408/* confdefs.h. */
7409_ACEOF
7410cat confdefs.h >>conftest.$ac_ext
7411cat >>conftest.$ac_ext <<_ACEOF
7412/* end confdefs.h. */ 6241/* end confdefs.h. */
7413#include <sys/types.h> 6242#include <sys/types.h>
7414#include <sys/wait.h> 6243#include <sys/wait.h>
@@ -7429,55 +6258,28 @@ main ()
7429 return 0; 6258 return 0;
7430} 6259}
7431_ACEOF 6260_ACEOF
7432rm -f conftest.$ac_objext 6261if ac_fn_c_try_compile "$LINENO"; then :
7433if { (ac_try="$ac_compile"
7434case "(($ac_try" in
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7437esac
7438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7439$as_echo "$ac_try_echo") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 ac_cv_header_sys_wait_h=yes 6262 ac_cv_header_sys_wait_h=yes
7451else 6263else
7452 $as_echo "$as_me: failed program was:" >&5 6264 ac_cv_header_sys_wait_h=no
7453sed 's/^/| /' conftest.$ac_ext >&5
7454
7455 ac_cv_header_sys_wait_h=no
7456fi 6265fi
7457
7458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459fi 6267fi
7460{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 6268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7461$as_echo "$ac_cv_header_sys_wait_h" >&6; } 6269$as_echo "$ac_cv_header_sys_wait_h" >&6; }
7462if test $ac_cv_header_sys_wait_h = yes; then 6270if test $ac_cv_header_sys_wait_h = yes; then
7463 6271
7464cat >>confdefs.h <<\_ACEOF 6272$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7465#define HAVE_SYS_WAIT_H 1
7466_ACEOF
7467 6273
7468fi 6274fi
7469 6275
7470 6276
7471{ $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 6277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
7472$as_echo_n "checking for struct utimbuf... " >&6; } 6278$as_echo_n "checking for struct utimbuf... " >&6; }
7473if test "${emacs_cv_struct_utimbuf+set}" = set; then 6279if test "${emacs_cv_struct_utimbuf+set}" = set; then :
7474 $as_echo_n "(cached) " >&6 6280 $as_echo_n "(cached) " >&6
7475else 6281else
7476 cat >conftest.$ac_ext <<_ACEOF 6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477/* confdefs.h. */
7478_ACEOF
7479cat confdefs.h >>conftest.$ac_ext
7480cat >>conftest.$ac_ext <<_ACEOF
7481/* end confdefs.h. */ 6283/* end confdefs.h. */
7482#ifdef TIME_WITH_SYS_TIME 6284#ifdef TIME_WITH_SYS_TIME
7483#include <sys/time.h> 6285#include <sys/time.h>
@@ -7500,54 +6302,27 @@ static struct utimbuf x; x.actime = x.modtime;
7500 return 0; 6302 return 0;
7501} 6303}
7502_ACEOF 6304_ACEOF
7503rm -f conftest.$ac_objext 6305if ac_fn_c_try_compile "$LINENO"; then :
7504if { (ac_try="$ac_compile"
7505case "(($ac_try" in
7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7507 *) ac_try_echo=$ac_try;;
7508esac
7509eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7510$as_echo "$ac_try_echo") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 emacs_cv_struct_utimbuf=yes 6306 emacs_cv_struct_utimbuf=yes
7522else 6307else
7523 $as_echo "$as_me: failed program was:" >&5 6308 emacs_cv_struct_utimbuf=no
7524sed 's/^/| /' conftest.$ac_ext >&5
7525
7526 emacs_cv_struct_utimbuf=no
7527fi 6309fi
7528
7529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7530fi 6311fi
7531{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 6312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5
7532$as_echo "$emacs_cv_struct_utimbuf" >&6; } 6313$as_echo "$emacs_cv_struct_utimbuf" >&6; }
7533if test $emacs_cv_struct_utimbuf = yes; then 6314if test $emacs_cv_struct_utimbuf = yes; then
7534 6315
7535cat >>confdefs.h <<\_ACEOF 6316$as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h
7536#define HAVE_STRUCT_UTIMBUF 1
7537_ACEOF
7538 6317
7539fi 6318fi
7540 6319
7541{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7542$as_echo_n "checking return type of signal handlers... " >&6; } 6321$as_echo_n "checking return type of signal handlers... " >&6; }
7543if test "${ac_cv_type_signal+set}" = set; then 6322if test "${ac_cv_type_signal+set}" = set; then :
7544 $as_echo_n "(cached) " >&6 6323 $as_echo_n "(cached) " >&6
7545else 6324else
7546 cat >conftest.$ac_ext <<_ACEOF 6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547/* confdefs.h. */
7548_ACEOF
7549cat confdefs.h >>conftest.$ac_ext
7550cat >>conftest.$ac_ext <<_ACEOF
7551/* end confdefs.h. */ 6326/* end confdefs.h. */
7552#include <sys/types.h> 6327#include <sys/types.h>
7553#include <signal.h> 6328#include <signal.h>
@@ -7560,35 +6335,14 @@ return *(signal (0, 0)) (0) == 1;
7560 return 0; 6335 return 0;
7561} 6336}
7562_ACEOF 6337_ACEOF
7563rm -f conftest.$ac_objext 6338if ac_fn_c_try_compile "$LINENO"; then :
7564if { (ac_try="$ac_compile"
7565case "(($ac_try" in
7566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7567 *) ac_try_echo=$ac_try;;
7568esac
7569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7570$as_echo "$ac_try_echo") >&5
7571 (eval "$ac_compile") 2>conftest.er1
7572 ac_status=$?
7573 grep -v '^ *+' conftest.er1 >conftest.err
7574 rm -f conftest.er1
7575 cat conftest.err >&5
7576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } && {
7578 test -z "$ac_c_werror_flag" ||
7579 test ! -s conftest.err
7580 } && test -s conftest.$ac_objext; then
7581 ac_cv_type_signal=int 6339 ac_cv_type_signal=int
7582else 6340else
7583 $as_echo "$as_me: failed program was:" >&5 6341 ac_cv_type_signal=void
7584sed 's/^/| /' conftest.$ac_ext >&5
7585
7586 ac_cv_type_signal=void
7587fi 6342fi
7588
7589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7590fi 6344fi
7591{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
7592$as_echo "$ac_cv_type_signal" >&6; } 6346$as_echo "$ac_cv_type_signal" >&6; }
7593 6347
7594cat >>confdefs.h <<_ACEOF 6348cat >>confdefs.h <<_ACEOF
@@ -7597,16 +6351,12 @@ _ACEOF
7597 6351
7598 6352
7599 6353
7600{ $as_echo "$as_me:$LINENO: checking for speed_t" >&5 6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5
7601$as_echo_n "checking for speed_t... " >&6; } 6355$as_echo_n "checking for speed_t... " >&6; }
7602if test "${emacs_cv_speed_t+set}" = set; then 6356if test "${emacs_cv_speed_t+set}" = set; then :
7603 $as_echo_n "(cached) " >&6 6357 $as_echo_n "(cached) " >&6
7604else 6358else
7605 cat >conftest.$ac_ext <<_ACEOF 6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606/* confdefs.h. */
7607_ACEOF
7608cat confdefs.h >>conftest.$ac_ext
7609cat >>conftest.$ac_ext <<_ACEOF
7610/* end confdefs.h. */ 6360/* end confdefs.h. */
7611#include <termios.h> 6361#include <termios.h>
7612int 6362int
@@ -7617,54 +6367,27 @@ speed_t x = 1;
7617 return 0; 6367 return 0;
7618} 6368}
7619_ACEOF 6369_ACEOF
7620rm -f conftest.$ac_objext 6370if ac_fn_c_try_compile "$LINENO"; then :
7621if { (ac_try="$ac_compile"
7622case "(($ac_try" in
7623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7624 *) ac_try_echo=$ac_try;;
7625esac
7626eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7627$as_echo "$ac_try_echo") >&5
7628 (eval "$ac_compile") 2>conftest.er1
7629 ac_status=$?
7630 grep -v '^ *+' conftest.er1 >conftest.err
7631 rm -f conftest.er1
7632 cat conftest.err >&5
7633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } && {
7635 test -z "$ac_c_werror_flag" ||
7636 test ! -s conftest.err
7637 } && test -s conftest.$ac_objext; then
7638 emacs_cv_speed_t=yes 6371 emacs_cv_speed_t=yes
7639else 6372else
7640 $as_echo "$as_me: failed program was:" >&5 6373 emacs_cv_speed_t=no
7641sed 's/^/| /' conftest.$ac_ext >&5
7642
7643 emacs_cv_speed_t=no
7644fi 6374fi
7645
7646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7647fi 6376fi
7648{ $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 6377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5
7649$as_echo "$emacs_cv_speed_t" >&6; } 6378$as_echo "$emacs_cv_speed_t" >&6; }
7650if test $emacs_cv_speed_t = yes; then 6379if test $emacs_cv_speed_t = yes; then
7651 6380
7652cat >>confdefs.h <<\_ACEOF 6381$as_echo "#define HAVE_SPEED_T 1" >>confdefs.h
7653#define HAVE_SPEED_T 1
7654_ACEOF
7655 6382
7656fi 6383fi
7657 6384
7658{ $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 6385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
7659$as_echo_n "checking for struct timeval... " >&6; } 6386$as_echo_n "checking for struct timeval... " >&6; }
7660if test "${emacs_cv_struct_timeval+set}" = set; then 6387if test "${emacs_cv_struct_timeval+set}" = set; then :
7661 $as_echo_n "(cached) " >&6 6388 $as_echo_n "(cached) " >&6
7662else 6389else
7663 cat >conftest.$ac_ext <<_ACEOF 6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664/* confdefs.h. */
7665_ACEOF
7666cat confdefs.h >>conftest.$ac_ext
7667cat >>conftest.$ac_ext <<_ACEOF
7668/* end confdefs.h. */ 6391/* end confdefs.h. */
7669#ifdef TIME_WITH_SYS_TIME 6392#ifdef TIME_WITH_SYS_TIME
7670#include <sys/time.h> 6393#include <sys/time.h>
@@ -7684,55 +6407,28 @@ static struct timeval x; x.tv_sec = x.tv_usec;
7684 return 0; 6407 return 0;
7685} 6408}
7686_ACEOF 6409_ACEOF
7687rm -f conftest.$ac_objext 6410if ac_fn_c_try_compile "$LINENO"; then :
7688if { (ac_try="$ac_compile"
7689case "(($ac_try" in
7690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7691 *) ac_try_echo=$ac_try;;
7692esac
7693eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7694$as_echo "$ac_try_echo") >&5
7695 (eval "$ac_compile") 2>conftest.er1
7696 ac_status=$?
7697 grep -v '^ *+' conftest.er1 >conftest.err
7698 rm -f conftest.er1
7699 cat conftest.err >&5
7700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } && {
7702 test -z "$ac_c_werror_flag" ||
7703 test ! -s conftest.err
7704 } && test -s conftest.$ac_objext; then
7705 emacs_cv_struct_timeval=yes 6411 emacs_cv_struct_timeval=yes
7706else 6412else
7707 $as_echo "$as_me: failed program was:" >&5 6413 emacs_cv_struct_timeval=no
7708sed 's/^/| /' conftest.$ac_ext >&5
7709
7710 emacs_cv_struct_timeval=no
7711fi 6414fi
7712
7713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7714fi 6416fi
7715{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 6417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5
7716$as_echo "$emacs_cv_struct_timeval" >&6; } 6418$as_echo "$emacs_cv_struct_timeval" >&6; }
7717HAVE_TIMEVAL=$emacs_cv_struct_timeval 6419HAVE_TIMEVAL=$emacs_cv_struct_timeval
7718if test $emacs_cv_struct_timeval = yes; then 6420if test $emacs_cv_struct_timeval = yes; then
7719 6421
7720cat >>confdefs.h <<\_ACEOF 6422$as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h
7721#define HAVE_TIMEVAL 1
7722_ACEOF
7723 6423
7724fi 6424fi
7725 6425
7726{ $as_echo "$as_me:$LINENO: checking for struct exception" >&5 6426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5
7727$as_echo_n "checking for struct exception... " >&6; } 6427$as_echo_n "checking for struct exception... " >&6; }
7728if test "${emacs_cv_struct_exception+set}" = set; then 6428if test "${emacs_cv_struct_exception+set}" = set; then :
7729 $as_echo_n "(cached) " >&6 6429 $as_echo_n "(cached) " >&6
7730else 6430else
7731 cat >conftest.$ac_ext <<_ACEOF 6431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732/* confdefs.h. */
7733_ACEOF
7734cat confdefs.h >>conftest.$ac_ext
7735cat >>conftest.$ac_ext <<_ACEOF
7736/* end confdefs.h. */ 6432/* end confdefs.h. */
7737#include <math.h> 6433#include <math.h>
7738int 6434int
@@ -7743,248 +6439,44 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
7743 return 0; 6439 return 0;
7744} 6440}
7745_ACEOF 6441_ACEOF
7746rm -f conftest.$ac_objext 6442if ac_fn_c_try_compile "$LINENO"; then :
7747if { (ac_try="$ac_compile"
7748case "(($ac_try" in
7749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7750 *) ac_try_echo=$ac_try;;
7751esac
7752eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7753$as_echo "$ac_try_echo") >&5
7754 (eval "$ac_compile") 2>conftest.er1
7755 ac_status=$?
7756 grep -v '^ *+' conftest.er1 >conftest.err
7757 rm -f conftest.er1
7758 cat conftest.err >&5
7759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } && {
7761 test -z "$ac_c_werror_flag" ||
7762 test ! -s conftest.err
7763 } && test -s conftest.$ac_objext; then
7764 emacs_cv_struct_exception=yes 6443 emacs_cv_struct_exception=yes
7765else 6444else
7766 $as_echo "$as_me: failed program was:" >&5 6445 emacs_cv_struct_exception=no
7767sed 's/^/| /' conftest.$ac_ext >&5
7768
7769 emacs_cv_struct_exception=no
7770fi 6446fi
7771
7772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7773fi 6448fi
7774{ $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 6449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5
7775$as_echo "$emacs_cv_struct_exception" >&6; } 6450$as_echo "$emacs_cv_struct_exception" >&6; }
7776HAVE_EXCEPTION=$emacs_cv_struct_exception 6451HAVE_EXCEPTION=$emacs_cv_struct_exception
7777if test $emacs_cv_struct_exception != yes; then 6452if test $emacs_cv_struct_exception != yes; then
7778 6453
7779cat >>confdefs.h <<\_ACEOF 6454$as_echo "#define NO_MATHERR 1" >>confdefs.h
7780#define NO_MATHERR 1
7781_ACEOF
7782 6455
7783fi 6456fi
7784 6457
7785
7786for ac_header in sys/socket.h 6458for ac_header in sys/socket.h
7787do 6459do :
7788as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6460 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
7789if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6461if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
7790 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7791$as_echo_n "checking for $ac_header... " >&6; }
7792if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7793 $as_echo_n "(cached) " >&6
7794fi
7795ac_res=`eval 'as_val=${'$as_ac_Header'}
7796 $as_echo "$as_val"'`
7797 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7798$as_echo "$ac_res" >&6; }
7799else
7800 # Is the header compilable?
7801{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7802$as_echo_n "checking $ac_header usability... " >&6; }
7803cat >conftest.$ac_ext <<_ACEOF
7804/* confdefs.h. */
7805_ACEOF
7806cat confdefs.h >>conftest.$ac_ext
7807cat >>conftest.$ac_ext <<_ACEOF
7808/* end confdefs.h. */
7809$ac_includes_default
7810#include <$ac_header>
7811_ACEOF
7812rm -f conftest.$ac_objext
7813if { (ac_try="$ac_compile"
7814case "(($ac_try" in
7815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7816 *) ac_try_echo=$ac_try;;
7817esac
7818eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7819$as_echo "$ac_try_echo") >&5
7820 (eval "$ac_compile") 2>conftest.er1
7821 ac_status=$?
7822 grep -v '^ *+' conftest.er1 >conftest.err
7823 rm -f conftest.er1
7824 cat conftest.err >&5
7825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } && {
7827 test -z "$ac_c_werror_flag" ||
7828 test ! -s conftest.err
7829 } && test -s conftest.$ac_objext; then
7830 ac_header_compiler=yes
7831else
7832 $as_echo "$as_me: failed program was:" >&5
7833sed 's/^/| /' conftest.$ac_ext >&5
7834
7835 ac_header_compiler=no
7836fi
7837
7838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7839{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7840$as_echo "$ac_header_compiler" >&6; }
7841
7842# Is the header present?
7843{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7844$as_echo_n "checking $ac_header presence... " >&6; }
7845cat >conftest.$ac_ext <<_ACEOF
7846/* confdefs.h. */
7847_ACEOF
7848cat confdefs.h >>conftest.$ac_ext
7849cat >>conftest.$ac_ext <<_ACEOF
7850/* end confdefs.h. */
7851#include <$ac_header>
7852_ACEOF
7853if { (ac_try="$ac_cpp conftest.$ac_ext"
7854case "(($ac_try" in
7855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7856 *) ac_try_echo=$ac_try;;
7857esac
7858eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7859$as_echo "$ac_try_echo") >&5
7860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7861 ac_status=$?
7862 grep -v '^ *+' conftest.er1 >conftest.err
7863 rm -f conftest.er1
7864 cat conftest.err >&5
7865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } >/dev/null && {
7867 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7868 test ! -s conftest.err
7869 }; then
7870 ac_header_preproc=yes
7871else
7872 $as_echo "$as_me: failed program was:" >&5
7873sed 's/^/| /' conftest.$ac_ext >&5
7874
7875 ac_header_preproc=no
7876fi
7877
7878rm -f conftest.err conftest.$ac_ext
7879{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7880$as_echo "$ac_header_preproc" >&6; }
7881
7882# So? What about this header?
7883case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7884 yes:no: )
7885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7886$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7888$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7889 ac_header_preproc=yes
7890 ;;
7891 no:yes:* )
7892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7893$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7895$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7897$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7899$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7901$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7903$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7904
7905 ;;
7906esac
7907{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7908$as_echo_n "checking for $ac_header... " >&6; }
7909if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7910 $as_echo_n "(cached) " >&6
7911else
7912 eval "$as_ac_Header=\$ac_header_preproc"
7913fi
7914ac_res=`eval 'as_val=${'$as_ac_Header'}
7915 $as_echo "$as_val"'`
7916 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7917$as_echo "$ac_res" >&6; }
7918
7919fi
7920if test `eval 'as_val=${'$as_ac_Header'}
7921 $as_echo "$as_val"'` = yes; then
7922 cat >>confdefs.h <<_ACEOF 6462 cat >>confdefs.h <<_ACEOF
7923#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6463#define HAVE_SYS_SOCKET_H 1
7924_ACEOF 6464_ACEOF
7925 6465
7926fi 6466fi
7927 6467
7928done 6468done
7929 6469
7930
7931for ac_header in net/if.h 6470for ac_header in net/if.h
7932do 6471do :
7933as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6472 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default
7934{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7935$as_echo_n "checking for $ac_header... " >&6; }
7936if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7937 $as_echo_n "(cached) " >&6
7938else
7939 cat >conftest.$ac_ext <<_ACEOF
7940/* confdefs.h. */
7941_ACEOF
7942cat confdefs.h >>conftest.$ac_ext
7943cat >>conftest.$ac_ext <<_ACEOF
7944/* end confdefs.h. */
7945$ac_includes_default
7946#if HAVE_SYS_SOCKET_H 6473#if HAVE_SYS_SOCKET_H
7947#include <sys/socket.h> 6474#include <sys/socket.h>
7948#endif 6475#endif
7949 6476"
7950#include <$ac_header> 6477if test "x$ac_cv_header_net_if_h" = x""yes; then :
7951_ACEOF
7952rm -f conftest.$ac_objext
7953if { (ac_try="$ac_compile"
7954case "(($ac_try" in
7955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7956 *) ac_try_echo=$ac_try;;
7957esac
7958eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7959$as_echo "$ac_try_echo") >&5
7960 (eval "$ac_compile") 2>conftest.er1
7961 ac_status=$?
7962 grep -v '^ *+' conftest.er1 >conftest.err
7963 rm -f conftest.er1
7964 cat conftest.err >&5
7965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); } && {
7967 test -z "$ac_c_werror_flag" ||
7968 test ! -s conftest.err
7969 } && test -s conftest.$ac_objext; then
7970 eval "$as_ac_Header=yes"
7971else
7972 $as_echo "$as_me: failed program was:" >&5
7973sed 's/^/| /' conftest.$ac_ext >&5
7974
7975 eval "$as_ac_Header=no"
7976fi
7977
7978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979fi
7980ac_res=`eval 'as_val=${'$as_ac_Header'}
7981 $as_echo "$as_val"'`
7982 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7983$as_echo "$ac_res" >&6; }
7984if test `eval 'as_val=${'$as_ac_Header'}
7985 $as_echo "$as_val"'` = yes; then
7986 cat >>confdefs.h <<_ACEOF 6478 cat >>confdefs.h <<_ACEOF
7987#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6479#define HAVE_NET_IF_H 1
7988_ACEOF 6480_ACEOF
7989 6481
7990fi 6482fi
@@ -7992,16 +6484,12 @@ fi
7992done 6484done
7993 6485
7994 6486
7995{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 6487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7996$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6488$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7997if test "${ac_cv_struct_tm+set}" = set; then 6489if test "${ac_cv_struct_tm+set}" = set; then :
7998 $as_echo_n "(cached) " >&6 6490 $as_echo_n "(cached) " >&6
7999else 6491else
8000 cat >conftest.$ac_ext <<_ACEOF 6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001/* confdefs.h. */
8002_ACEOF
8003cat confdefs.h >>conftest.$ac_ext
8004cat >>conftest.$ac_ext <<_ACEOF
8005/* end confdefs.h. */ 6493/* end confdefs.h. */
8006#include <sys/types.h> 6494#include <sys/types.h>
8007#include <time.h> 6495#include <time.h>
@@ -8016,146 +6504,26 @@ struct tm tm;
8016 return 0; 6504 return 0;
8017} 6505}
8018_ACEOF 6506_ACEOF
8019rm -f conftest.$ac_objext 6507if ac_fn_c_try_compile "$LINENO"; then :
8020if { (ac_try="$ac_compile"
8021case "(($ac_try" in
8022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8023 *) ac_try_echo=$ac_try;;
8024esac
8025eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8026$as_echo "$ac_try_echo") >&5
8027 (eval "$ac_compile") 2>conftest.er1
8028 ac_status=$?
8029 grep -v '^ *+' conftest.er1 >conftest.err
8030 rm -f conftest.er1
8031 cat conftest.err >&5
8032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); } && {
8034 test -z "$ac_c_werror_flag" ||
8035 test ! -s conftest.err
8036 } && test -s conftest.$ac_objext; then
8037 ac_cv_struct_tm=time.h 6508 ac_cv_struct_tm=time.h
8038else 6509else
8039 $as_echo "$as_me: failed program was:" >&5 6510 ac_cv_struct_tm=sys/time.h
8040sed 's/^/| /' conftest.$ac_ext >&5
8041
8042 ac_cv_struct_tm=sys/time.h
8043fi 6511fi
8044
8045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8046fi 6513fi
8047{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 6514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8048$as_echo "$ac_cv_struct_tm" >&6; } 6515$as_echo "$ac_cv_struct_tm" >&6; }
8049if test $ac_cv_struct_tm = sys/time.h; then 6516if test $ac_cv_struct_tm = sys/time.h; then
8050 6517
8051cat >>confdefs.h <<\_ACEOF 6518$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8052#define TM_IN_SYS_TIME 1
8053_ACEOF
8054 6519
8055fi 6520fi
8056 6521
8057{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 6522ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
8058$as_echo_n "checking for struct tm.tm_zone... " >&6; }
8059if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
8060 $as_echo_n "(cached) " >&6
8061else
8062 cat >conftest.$ac_ext <<_ACEOF
8063/* confdefs.h. */
8064_ACEOF
8065cat confdefs.h >>conftest.$ac_ext
8066cat >>conftest.$ac_ext <<_ACEOF
8067/* end confdefs.h. */
8068#include <sys/types.h>
8069#include <$ac_cv_struct_tm>
8070
8071
8072int
8073main ()
8074{
8075static struct tm ac_aggr;
8076if (ac_aggr.tm_zone)
8077return 0;
8078 ;
8079 return 0;
8080}
8081_ACEOF
8082rm -f conftest.$ac_objext
8083if { (ac_try="$ac_compile"
8084case "(($ac_try" in
8085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8086 *) ac_try_echo=$ac_try;;
8087esac
8088eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8089$as_echo "$ac_try_echo") >&5
8090 (eval "$ac_compile") 2>conftest.er1
8091 ac_status=$?
8092 grep -v '^ *+' conftest.er1 >conftest.err
8093 rm -f conftest.er1
8094 cat conftest.err >&5
8095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } && {
8097 test -z "$ac_c_werror_flag" ||
8098 test ! -s conftest.err
8099 } && test -s conftest.$ac_objext; then
8100 ac_cv_member_struct_tm_tm_zone=yes
8101else
8102 $as_echo "$as_me: failed program was:" >&5
8103sed 's/^/| /' conftest.$ac_ext >&5
8104
8105 cat >conftest.$ac_ext <<_ACEOF
8106/* confdefs.h. */
8107_ACEOF
8108cat confdefs.h >>conftest.$ac_ext
8109cat >>conftest.$ac_ext <<_ACEOF
8110/* end confdefs.h. */
8111#include <sys/types.h>
8112#include <$ac_cv_struct_tm> 6523#include <$ac_cv_struct_tm>
8113 6524
8114 6525"
8115int 6526if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
8116main ()
8117{
8118static struct tm ac_aggr;
8119if (sizeof ac_aggr.tm_zone)
8120return 0;
8121 ;
8122 return 0;
8123}
8124_ACEOF
8125rm -f conftest.$ac_objext
8126if { (ac_try="$ac_compile"
8127case "(($ac_try" in
8128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8129 *) ac_try_echo=$ac_try;;
8130esac
8131eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8132$as_echo "$ac_try_echo") >&5
8133 (eval "$ac_compile") 2>conftest.er1
8134 ac_status=$?
8135 grep -v '^ *+' conftest.er1 >conftest.err
8136 rm -f conftest.er1
8137 cat conftest.err >&5
8138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); } && {
8140 test -z "$ac_c_werror_flag" ||
8141 test ! -s conftest.err
8142 } && test -s conftest.$ac_objext; then
8143 ac_cv_member_struct_tm_tm_zone=yes
8144else
8145 $as_echo "$as_me: failed program was:" >&5
8146sed 's/^/| /' conftest.$ac_ext >&5
8147
8148 ac_cv_member_struct_tm_tm_zone=no
8149fi
8150
8151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8152fi
8153
8154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8155fi
8156{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8157$as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
8158if test $ac_cv_member_struct_tm_tm_zone = yes; then
8159 6527
8160cat >>confdefs.h <<_ACEOF 6528cat >>confdefs.h <<_ACEOF
8161#define HAVE_STRUCT_TM_TM_ZONE 1 6529#define HAVE_STRUCT_TM_TM_ZONE 1
@@ -8166,91 +6534,27 @@ fi
8166 6534
8167if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 6535if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
8168 6536
8169cat >>confdefs.h <<\_ACEOF 6537$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
8170#define HAVE_TM_ZONE 1
8171_ACEOF
8172 6538
8173else 6539else
8174 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 6540 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
8175$as_echo_n "checking whether tzname is declared... " >&6; } 6541"
8176if test "${ac_cv_have_decl_tzname+set}" = set; then 6542if test "x$ac_cv_have_decl_tzname" = x""yes; then :
8177 $as_echo_n "(cached) " >&6 6543 ac_have_decl=1
8178else
8179 cat >conftest.$ac_ext <<_ACEOF
8180/* confdefs.h. */
8181_ACEOF
8182cat confdefs.h >>conftest.$ac_ext
8183cat >>conftest.$ac_ext <<_ACEOF
8184/* end confdefs.h. */
8185#include <time.h>
8186
8187int
8188main ()
8189{
8190#ifndef tzname
8191 (void) tzname;
8192#endif
8193
8194 ;
8195 return 0;
8196}
8197_ACEOF
8198rm -f conftest.$ac_objext
8199if { (ac_try="$ac_compile"
8200case "(($ac_try" in
8201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8202 *) ac_try_echo=$ac_try;;
8203esac
8204eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8205$as_echo "$ac_try_echo") >&5
8206 (eval "$ac_compile") 2>conftest.er1
8207 ac_status=$?
8208 grep -v '^ *+' conftest.er1 >conftest.err
8209 rm -f conftest.er1
8210 cat conftest.err >&5
8211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } && {
8213 test -z "$ac_c_werror_flag" ||
8214 test ! -s conftest.err
8215 } && test -s conftest.$ac_objext; then
8216 ac_cv_have_decl_tzname=yes
8217else 6544else
8218 $as_echo "$as_me: failed program was:" >&5 6545 ac_have_decl=0
8219sed 's/^/| /' conftest.$ac_ext >&5
8220
8221 ac_cv_have_decl_tzname=no
8222fi
8223
8224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8225fi 6546fi
8226{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
8227$as_echo "$ac_cv_have_decl_tzname" >&6; }
8228if test $ac_cv_have_decl_tzname = yes; then
8229 6547
8230cat >>confdefs.h <<_ACEOF 6548cat >>confdefs.h <<_ACEOF
8231#define HAVE_DECL_TZNAME 1 6549#define HAVE_DECL_TZNAME $ac_have_decl
8232_ACEOF 6550_ACEOF
8233 6551
8234 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
8235else
8236 cat >>confdefs.h <<_ACEOF
8237#define HAVE_DECL_TZNAME 0
8238_ACEOF
8239
8240
8241fi
8242
8243
8244 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
8245$as_echo_n "checking for tzname... " >&6; } 6553$as_echo_n "checking for tzname... " >&6; }
8246if test "${ac_cv_var_tzname+set}" = set; then 6554if test "${ac_cv_var_tzname+set}" = set; then :
8247 $as_echo_n "(cached) " >&6 6555 $as_echo_n "(cached) " >&6
8248else 6556else
8249 cat >conftest.$ac_ext <<_ACEOF 6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250/* confdefs.h. */
8251_ACEOF
8252cat confdefs.h >>conftest.$ac_ext
8253cat >>conftest.$ac_ext <<_ACEOF
8254/* end confdefs.h. */ 6558/* end confdefs.h. */
8255#include <time.h> 6559#include <time.h>
8256#if !HAVE_DECL_TZNAME 6560#if !HAVE_DECL_TZNAME
@@ -8265,265 +6569,40 @@ return tzname[0][0];
8265 return 0; 6569 return 0;
8266} 6570}
8267_ACEOF 6571_ACEOF
8268rm -f conftest.$ac_objext conftest$ac_exeext 6572if ac_fn_c_try_link "$LINENO"; then :
8269if { (ac_try="$ac_link"
8270case "(($ac_try" in
8271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8273esac
8274eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8275$as_echo "$ac_try_echo") >&5
8276 (eval "$ac_link") 2>conftest.er1
8277 ac_status=$?
8278 grep -v '^ *+' conftest.er1 >conftest.err
8279 rm -f conftest.er1
8280 cat conftest.err >&5
8281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } && {
8283 test -z "$ac_c_werror_flag" ||
8284 test ! -s conftest.err
8285 } && test -s conftest$ac_exeext && {
8286 test "$cross_compiling" = yes ||
8287 $as_test_x conftest$ac_exeext
8288 }; then
8289 ac_cv_var_tzname=yes 6573 ac_cv_var_tzname=yes
8290else 6574else
8291 $as_echo "$as_me: failed program was:" >&5 6575 ac_cv_var_tzname=no
8292sed 's/^/| /' conftest.$ac_ext >&5
8293
8294 ac_cv_var_tzname=no
8295fi 6576fi
8296 6577rm -f core conftest.err conftest.$ac_objext \
8297rm -rf conftest.dSYM 6578 conftest$ac_exeext conftest.$ac_ext
8298rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8299 conftest$ac_exeext conftest.$ac_ext
8300fi 6579fi
8301{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 6580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
8302$as_echo "$ac_cv_var_tzname" >&6; } 6581$as_echo "$ac_cv_var_tzname" >&6; }
8303 if test $ac_cv_var_tzname = yes; then 6582 if test $ac_cv_var_tzname = yes; then
8304 6583
8305cat >>confdefs.h <<\_ACEOF 6584$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
8306#define HAVE_TZNAME 1
8307_ACEOF
8308 6585
8309 fi 6586 fi
8310fi 6587fi
8311 6588
8312{ $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 6589ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
8313$as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } 6590"
8314if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 6591if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then :
8315 $as_echo_n "(cached) " >&6
8316else
8317 cat >conftest.$ac_ext <<_ACEOF
8318/* confdefs.h. */
8319_ACEOF
8320cat confdefs.h >>conftest.$ac_ext
8321cat >>conftest.$ac_ext <<_ACEOF
8322/* end confdefs.h. */
8323#include <time.h>
8324
8325int
8326main ()
8327{
8328static struct tm ac_aggr;
8329if (ac_aggr.tm_gmtoff)
8330return 0;
8331 ;
8332 return 0;
8333}
8334_ACEOF
8335rm -f conftest.$ac_objext
8336if { (ac_try="$ac_compile"
8337case "(($ac_try" in
8338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8339 *) ac_try_echo=$ac_try;;
8340esac
8341eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8342$as_echo "$ac_try_echo") >&5
8343 (eval "$ac_compile") 2>conftest.er1
8344 ac_status=$?
8345 grep -v '^ *+' conftest.er1 >conftest.err
8346 rm -f conftest.er1
8347 cat conftest.err >&5
8348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } && {
8350 test -z "$ac_c_werror_flag" ||
8351 test ! -s conftest.err
8352 } && test -s conftest.$ac_objext; then
8353 ac_cv_member_struct_tm_tm_gmtoff=yes
8354else
8355 $as_echo "$as_me: failed program was:" >&5
8356sed 's/^/| /' conftest.$ac_ext >&5
8357
8358 cat >conftest.$ac_ext <<_ACEOF
8359/* confdefs.h. */
8360_ACEOF
8361cat confdefs.h >>conftest.$ac_ext
8362cat >>conftest.$ac_ext <<_ACEOF
8363/* end confdefs.h. */
8364#include <time.h>
8365
8366int
8367main ()
8368{
8369static struct tm ac_aggr;
8370if (sizeof ac_aggr.tm_gmtoff)
8371return 0;
8372 ;
8373 return 0;
8374}
8375_ACEOF
8376rm -f conftest.$ac_objext
8377if { (ac_try="$ac_compile"
8378case "(($ac_try" in
8379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8380 *) ac_try_echo=$ac_try;;
8381esac
8382eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8383$as_echo "$ac_try_echo") >&5
8384 (eval "$ac_compile") 2>conftest.er1
8385 ac_status=$?
8386 grep -v '^ *+' conftest.er1 >conftest.err
8387 rm -f conftest.er1
8388 cat conftest.err >&5
8389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } && {
8391 test -z "$ac_c_werror_flag" ||
8392 test ! -s conftest.err
8393 } && test -s conftest.$ac_objext; then
8394 ac_cv_member_struct_tm_tm_gmtoff=yes
8395else
8396 $as_echo "$as_me: failed program was:" >&5
8397sed 's/^/| /' conftest.$ac_ext >&5
8398
8399 ac_cv_member_struct_tm_tm_gmtoff=no
8400fi
8401
8402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8403fi
8404
8405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8406fi
8407{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8408$as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8409if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8410 6592
8411cat >>confdefs.h <<\_ACEOF 6593$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
8412#define HAVE_TM_GMTOFF 1
8413_ACEOF
8414 6594
8415fi 6595fi
8416 6596
8417{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 6597ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default
8418$as_echo_n "checking for struct ifreq.ifr_flags... " >&6; }
8419if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8420 $as_echo_n "(cached) " >&6
8421else
8422 cat >conftest.$ac_ext <<_ACEOF
8423/* confdefs.h. */
8424_ACEOF
8425cat confdefs.h >>conftest.$ac_ext
8426cat >>conftest.$ac_ext <<_ACEOF
8427/* end confdefs.h. */
8428$ac_includes_default
8429#if HAVE_SYS_SOCKET_H
8430#include <sys/socket.h>
8431#endif
8432#if HAVE_NET_IF_H
8433#include <net/if.h>
8434#endif
8435
8436int
8437main ()
8438{
8439static struct ifreq ac_aggr;
8440if (ac_aggr.ifr_flags)
8441return 0;
8442 ;
8443 return 0;
8444}
8445_ACEOF
8446rm -f conftest.$ac_objext
8447if { (ac_try="$ac_compile"
8448case "(($ac_try" in
8449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8450 *) ac_try_echo=$ac_try;;
8451esac
8452eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8453$as_echo "$ac_try_echo") >&5
8454 (eval "$ac_compile") 2>conftest.er1
8455 ac_status=$?
8456 grep -v '^ *+' conftest.er1 >conftest.err
8457 rm -f conftest.er1
8458 cat conftest.err >&5
8459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } && {
8461 test -z "$ac_c_werror_flag" ||
8462 test ! -s conftest.err
8463 } && test -s conftest.$ac_objext; then
8464 ac_cv_member_struct_ifreq_ifr_flags=yes
8465else
8466 $as_echo "$as_me: failed program was:" >&5
8467sed 's/^/| /' conftest.$ac_ext >&5
8468
8469 cat >conftest.$ac_ext <<_ACEOF
8470/* confdefs.h. */
8471_ACEOF
8472cat confdefs.h >>conftest.$ac_ext
8473cat >>conftest.$ac_ext <<_ACEOF
8474/* end confdefs.h. */
8475$ac_includes_default
8476#if HAVE_SYS_SOCKET_H 6598#if HAVE_SYS_SOCKET_H
8477#include <sys/socket.h> 6599#include <sys/socket.h>
8478#endif 6600#endif
8479#if HAVE_NET_IF_H 6601#if HAVE_NET_IF_H
8480#include <net/if.h> 6602#include <net/if.h>
8481#endif 6603#endif
8482 6604"
8483int 6605if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then :
8484main ()
8485{
8486static struct ifreq ac_aggr;
8487if (sizeof ac_aggr.ifr_flags)
8488return 0;
8489 ;
8490 return 0;
8491}
8492_ACEOF
8493rm -f conftest.$ac_objext
8494if { (ac_try="$ac_compile"
8495case "(($ac_try" in
8496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8497 *) ac_try_echo=$ac_try;;
8498esac
8499eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8500$as_echo "$ac_try_echo") >&5
8501 (eval "$ac_compile") 2>conftest.er1
8502 ac_status=$?
8503 grep -v '^ *+' conftest.er1 >conftest.err
8504 rm -f conftest.er1
8505 cat conftest.err >&5
8506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } && {
8508 test -z "$ac_c_werror_flag" ||
8509 test ! -s conftest.err
8510 } && test -s conftest.$ac_objext; then
8511 ac_cv_member_struct_ifreq_ifr_flags=yes
8512else
8513 $as_echo "$as_me: failed program was:" >&5
8514sed 's/^/| /' conftest.$ac_ext >&5
8515
8516 ac_cv_member_struct_ifreq_ifr_flags=no
8517fi
8518
8519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520fi
8521
8522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8523fi
8524{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8525$as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8526if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
8527 6606
8528cat >>confdefs.h <<_ACEOF 6607cat >>confdefs.h <<_ACEOF
8529#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 6608#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
@@ -8531,116 +6610,15 @@ _ACEOF
8531 6610
8532 6611
8533fi 6612fi
8534{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 6613ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default
8535$as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; }
8536if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8537 $as_echo_n "(cached) " >&6
8538else
8539 cat >conftest.$ac_ext <<_ACEOF
8540/* confdefs.h. */
8541_ACEOF
8542cat confdefs.h >>conftest.$ac_ext
8543cat >>conftest.$ac_ext <<_ACEOF
8544/* end confdefs.h. */
8545$ac_includes_default
8546#if HAVE_SYS_SOCKET_H
8547#include <sys/socket.h>
8548#endif
8549#if HAVE_NET_IF_H
8550#include <net/if.h>
8551#endif
8552
8553int
8554main ()
8555{
8556static struct ifreq ac_aggr;
8557if (ac_aggr.ifr_hwaddr)
8558return 0;
8559 ;
8560 return 0;
8561}
8562_ACEOF
8563rm -f conftest.$ac_objext
8564if { (ac_try="$ac_compile"
8565case "(($ac_try" in
8566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8567 *) ac_try_echo=$ac_try;;
8568esac
8569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8570$as_echo "$ac_try_echo") >&5
8571 (eval "$ac_compile") 2>conftest.er1
8572 ac_status=$?
8573 grep -v '^ *+' conftest.er1 >conftest.err
8574 rm -f conftest.er1
8575 cat conftest.err >&5
8576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } && {
8578 test -z "$ac_c_werror_flag" ||
8579 test ! -s conftest.err
8580 } && test -s conftest.$ac_objext; then
8581 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8582else
8583 $as_echo "$as_me: failed program was:" >&5
8584sed 's/^/| /' conftest.$ac_ext >&5
8585
8586 cat >conftest.$ac_ext <<_ACEOF
8587/* confdefs.h. */
8588_ACEOF
8589cat confdefs.h >>conftest.$ac_ext
8590cat >>conftest.$ac_ext <<_ACEOF
8591/* end confdefs.h. */
8592$ac_includes_default
8593#if HAVE_SYS_SOCKET_H 6614#if HAVE_SYS_SOCKET_H
8594#include <sys/socket.h> 6615#include <sys/socket.h>
8595#endif 6616#endif
8596#if HAVE_NET_IF_H 6617#if HAVE_NET_IF_H
8597#include <net/if.h> 6618#include <net/if.h>
8598#endif 6619#endif
8599 6620"
8600int 6621if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then :
8601main ()
8602{
8603static struct ifreq ac_aggr;
8604if (sizeof ac_aggr.ifr_hwaddr)
8605return 0;
8606 ;
8607 return 0;
8608}
8609_ACEOF
8610rm -f conftest.$ac_objext
8611if { (ac_try="$ac_compile"
8612case "(($ac_try" in
8613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8614 *) ac_try_echo=$ac_try;;
8615esac
8616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8617$as_echo "$ac_try_echo") >&5
8618 (eval "$ac_compile") 2>conftest.er1
8619 ac_status=$?
8620 grep -v '^ *+' conftest.er1 >conftest.err
8621 rm -f conftest.er1
8622 cat conftest.err >&5
8623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } && {
8625 test -z "$ac_c_werror_flag" ||
8626 test ! -s conftest.err
8627 } && test -s conftest.$ac_objext; then
8628 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8629else
8630 $as_echo "$as_me: failed program was:" >&5
8631sed 's/^/| /' conftest.$ac_ext >&5
8632
8633 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8634fi
8635
8636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8637fi
8638
8639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8640fi
8641{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8642$as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8643if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
8644 6622
8645cat >>confdefs.h <<_ACEOF 6623cat >>confdefs.h <<_ACEOF
8646#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 6624#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
@@ -8648,116 +6626,15 @@ _ACEOF
8648 6626
8649 6627
8650fi 6628fi
8651{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 6629ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default
8652$as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; }
8653if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8654 $as_echo_n "(cached) " >&6
8655else
8656 cat >conftest.$ac_ext <<_ACEOF
8657/* confdefs.h. */
8658_ACEOF
8659cat confdefs.h >>conftest.$ac_ext
8660cat >>conftest.$ac_ext <<_ACEOF
8661/* end confdefs.h. */
8662$ac_includes_default
8663#if HAVE_SYS_SOCKET_H
8664#include <sys/socket.h>
8665#endif
8666#if HAVE_NET_IF_H
8667#include <net/if.h>
8668#endif
8669
8670int
8671main ()
8672{
8673static struct ifreq ac_aggr;
8674if (ac_aggr.ifr_netmask)
8675return 0;
8676 ;
8677 return 0;
8678}
8679_ACEOF
8680rm -f conftest.$ac_objext
8681if { (ac_try="$ac_compile"
8682case "(($ac_try" in
8683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8684 *) ac_try_echo=$ac_try;;
8685esac
8686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8687$as_echo "$ac_try_echo") >&5
8688 (eval "$ac_compile") 2>conftest.er1
8689 ac_status=$?
8690 grep -v '^ *+' conftest.er1 >conftest.err
8691 rm -f conftest.er1
8692 cat conftest.err >&5
8693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); } && {
8695 test -z "$ac_c_werror_flag" ||
8696 test ! -s conftest.err
8697 } && test -s conftest.$ac_objext; then
8698 ac_cv_member_struct_ifreq_ifr_netmask=yes
8699else
8700 $as_echo "$as_me: failed program was:" >&5
8701sed 's/^/| /' conftest.$ac_ext >&5
8702
8703 cat >conftest.$ac_ext <<_ACEOF
8704/* confdefs.h. */
8705_ACEOF
8706cat confdefs.h >>conftest.$ac_ext
8707cat >>conftest.$ac_ext <<_ACEOF
8708/* end confdefs.h. */
8709$ac_includes_default
8710#if HAVE_SYS_SOCKET_H 6630#if HAVE_SYS_SOCKET_H
8711#include <sys/socket.h> 6631#include <sys/socket.h>
8712#endif 6632#endif
8713#if HAVE_NET_IF_H 6633#if HAVE_NET_IF_H
8714#include <net/if.h> 6634#include <net/if.h>
8715#endif 6635#endif
8716 6636"
8717int 6637if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then :
8718main ()
8719{
8720static struct ifreq ac_aggr;
8721if (sizeof ac_aggr.ifr_netmask)
8722return 0;
8723 ;
8724 return 0;
8725}
8726_ACEOF
8727rm -f conftest.$ac_objext
8728if { (ac_try="$ac_compile"
8729case "(($ac_try" in
8730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8731 *) ac_try_echo=$ac_try;;
8732esac
8733eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8734$as_echo "$ac_try_echo") >&5
8735 (eval "$ac_compile") 2>conftest.er1
8736 ac_status=$?
8737 grep -v '^ *+' conftest.er1 >conftest.err
8738 rm -f conftest.er1
8739 cat conftest.err >&5
8740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } && {
8742 test -z "$ac_c_werror_flag" ||
8743 test ! -s conftest.err
8744 } && test -s conftest.$ac_objext; then
8745 ac_cv_member_struct_ifreq_ifr_netmask=yes
8746else
8747 $as_echo "$as_me: failed program was:" >&5
8748sed 's/^/| /' conftest.$ac_ext >&5
8749
8750 ac_cv_member_struct_ifreq_ifr_netmask=no
8751fi
8752
8753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8754fi
8755
8756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8757fi
8758{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8759$as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8760if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
8761 6638
8762cat >>confdefs.h <<_ACEOF 6639cat >>confdefs.h <<_ACEOF
8763#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 6640#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
@@ -8765,116 +6642,15 @@ _ACEOF
8765 6642
8766 6643
8767fi 6644fi
8768{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 6645ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default
8769$as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; }
8770if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8771 $as_echo_n "(cached) " >&6
8772else
8773 cat >conftest.$ac_ext <<_ACEOF
8774/* confdefs.h. */
8775_ACEOF
8776cat confdefs.h >>conftest.$ac_ext
8777cat >>conftest.$ac_ext <<_ACEOF
8778/* end confdefs.h. */
8779$ac_includes_default
8780#if HAVE_SYS_SOCKET_H 6646#if HAVE_SYS_SOCKET_H
8781#include <sys/socket.h> 6647#include <sys/socket.h>
8782#endif 6648#endif
8783#if HAVE_NET_IF_H 6649#if HAVE_NET_IF_H
8784#include <net/if.h> 6650#include <net/if.h>
8785#endif 6651#endif
8786 6652"
8787int 6653if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then :
8788main ()
8789{
8790static struct ifreq ac_aggr;
8791if (ac_aggr.ifr_broadaddr)
8792return 0;
8793 ;
8794 return 0;
8795}
8796_ACEOF
8797rm -f conftest.$ac_objext
8798if { (ac_try="$ac_compile"
8799case "(($ac_try" in
8800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8801 *) ac_try_echo=$ac_try;;
8802esac
8803eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8804$as_echo "$ac_try_echo") >&5
8805 (eval "$ac_compile") 2>conftest.er1
8806 ac_status=$?
8807 grep -v '^ *+' conftest.er1 >conftest.err
8808 rm -f conftest.er1
8809 cat conftest.err >&5
8810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && {
8812 test -z "$ac_c_werror_flag" ||
8813 test ! -s conftest.err
8814 } && test -s conftest.$ac_objext; then
8815 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8816else
8817 $as_echo "$as_me: failed program was:" >&5
8818sed 's/^/| /' conftest.$ac_ext >&5
8819
8820 cat >conftest.$ac_ext <<_ACEOF
8821/* confdefs.h. */
8822_ACEOF
8823cat confdefs.h >>conftest.$ac_ext
8824cat >>conftest.$ac_ext <<_ACEOF
8825/* end confdefs.h. */
8826$ac_includes_default
8827#if HAVE_SYS_SOCKET_H
8828#include <sys/socket.h>
8829#endif
8830#if HAVE_NET_IF_H
8831#include <net/if.h>
8832#endif
8833
8834int
8835main ()
8836{
8837static struct ifreq ac_aggr;
8838if (sizeof ac_aggr.ifr_broadaddr)
8839return 0;
8840 ;
8841 return 0;
8842}
8843_ACEOF
8844rm -f conftest.$ac_objext
8845if { (ac_try="$ac_compile"
8846case "(($ac_try" in
8847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848 *) ac_try_echo=$ac_try;;
8849esac
8850eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8851$as_echo "$ac_try_echo") >&5
8852 (eval "$ac_compile") 2>conftest.er1
8853 ac_status=$?
8854 grep -v '^ *+' conftest.er1 >conftest.err
8855 rm -f conftest.er1
8856 cat conftest.err >&5
8857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } && {
8859 test -z "$ac_c_werror_flag" ||
8860 test ! -s conftest.err
8861 } && test -s conftest.$ac_objext; then
8862 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8863else
8864 $as_echo "$as_me: failed program was:" >&5
8865sed 's/^/| /' conftest.$ac_ext >&5
8866
8867 ac_cv_member_struct_ifreq_ifr_broadaddr=no
8868fi
8869
8870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8871fi
8872
8873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8874fi
8875{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8876$as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8877if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
8878 6654
8879cat >>confdefs.h <<_ACEOF 6655cat >>confdefs.h <<_ACEOF
8880#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 6656#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
@@ -8882,116 +6658,15 @@ _ACEOF
8882 6658
8883 6659
8884fi 6660fi
8885{ $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 6661ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default
8886$as_echo_n "checking for struct ifreq.ifr_addr... " >&6; }
8887if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
8888 $as_echo_n "(cached) " >&6
8889else
8890 cat >conftest.$ac_ext <<_ACEOF
8891/* confdefs.h. */
8892_ACEOF
8893cat confdefs.h >>conftest.$ac_ext
8894cat >>conftest.$ac_ext <<_ACEOF
8895/* end confdefs.h. */
8896$ac_includes_default
8897#if HAVE_SYS_SOCKET_H
8898#include <sys/socket.h>
8899#endif
8900#if HAVE_NET_IF_H
8901#include <net/if.h>
8902#endif
8903
8904int
8905main ()
8906{
8907static struct ifreq ac_aggr;
8908if (ac_aggr.ifr_addr)
8909return 0;
8910 ;
8911 return 0;
8912}
8913_ACEOF
8914rm -f conftest.$ac_objext
8915if { (ac_try="$ac_compile"
8916case "(($ac_try" in
8917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8918 *) ac_try_echo=$ac_try;;
8919esac
8920eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8921$as_echo "$ac_try_echo") >&5
8922 (eval "$ac_compile") 2>conftest.er1
8923 ac_status=$?
8924 grep -v '^ *+' conftest.er1 >conftest.err
8925 rm -f conftest.er1
8926 cat conftest.err >&5
8927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } && {
8929 test -z "$ac_c_werror_flag" ||
8930 test ! -s conftest.err
8931 } && test -s conftest.$ac_objext; then
8932 ac_cv_member_struct_ifreq_ifr_addr=yes
8933else
8934 $as_echo "$as_me: failed program was:" >&5
8935sed 's/^/| /' conftest.$ac_ext >&5
8936
8937 cat >conftest.$ac_ext <<_ACEOF
8938/* confdefs.h. */
8939_ACEOF
8940cat confdefs.h >>conftest.$ac_ext
8941cat >>conftest.$ac_ext <<_ACEOF
8942/* end confdefs.h. */
8943$ac_includes_default
8944#if HAVE_SYS_SOCKET_H 6662#if HAVE_SYS_SOCKET_H
8945#include <sys/socket.h> 6663#include <sys/socket.h>
8946#endif 6664#endif
8947#if HAVE_NET_IF_H 6665#if HAVE_NET_IF_H
8948#include <net/if.h> 6666#include <net/if.h>
8949#endif 6667#endif
8950 6668"
8951int 6669if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then :
8952main ()
8953{
8954static struct ifreq ac_aggr;
8955if (sizeof ac_aggr.ifr_addr)
8956return 0;
8957 ;
8958 return 0;
8959}
8960_ACEOF
8961rm -f conftest.$ac_objext
8962if { (ac_try="$ac_compile"
8963case "(($ac_try" in
8964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8965 *) ac_try_echo=$ac_try;;
8966esac
8967eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8968$as_echo "$ac_try_echo") >&5
8969 (eval "$ac_compile") 2>conftest.er1
8970 ac_status=$?
8971 grep -v '^ *+' conftest.er1 >conftest.err
8972 rm -f conftest.er1
8973 cat conftest.err >&5
8974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } && {
8976 test -z "$ac_c_werror_flag" ||
8977 test ! -s conftest.err
8978 } && test -s conftest.$ac_objext; then
8979 ac_cv_member_struct_ifreq_ifr_addr=yes
8980else
8981 $as_echo "$as_me: failed program was:" >&5
8982sed 's/^/| /' conftest.$ac_ext >&5
8983
8984 ac_cv_member_struct_ifreq_ifr_addr=no
8985fi
8986
8987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8988fi
8989
8990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8991fi
8992{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8993$as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8994if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
8995 6670
8996cat >>confdefs.h <<_ACEOF 6671cat >>confdefs.h <<_ACEOF
8997#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 6672#define HAVE_STRUCT_IFREQ_IFR_ADDR 1
@@ -9002,36 +6677,28 @@ fi
9002 6677
9003 6678
9004 6679
9005{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 6680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
9006$as_echo_n "checking for function prototypes... " >&6; } 6681$as_echo_n "checking for function prototypes... " >&6; }
9007if test "$ac_cv_prog_cc_c89" != no; then 6682if test "$ac_cv_prog_cc_c89" != no; then
9008 { $as_echo "$as_me:$LINENO: result: yes" >&5 6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9009$as_echo "yes" >&6; } 6684$as_echo "yes" >&6; }
9010 6685
9011cat >>confdefs.h <<\_ACEOF 6686$as_echo "#define PROTOTYPES 1" >>confdefs.h
9012#define PROTOTYPES 1
9013_ACEOF
9014 6687
9015 6688
9016cat >>confdefs.h <<\_ACEOF 6689$as_echo "#define __PROTOTYPES 1" >>confdefs.h
9017#define __PROTOTYPES 1
9018_ACEOF
9019 6690
9020else 6691else
9021 { $as_echo "$as_me:$LINENO: result: no" >&5 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9022$as_echo "no" >&6; } 6693$as_echo "no" >&6; }
9023fi 6694fi
9024 6695
9025{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5 6696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
9026$as_echo_n "checking for working volatile... " >&6; } 6697$as_echo_n "checking for working volatile... " >&6; }
9027if test "${ac_cv_c_volatile+set}" = set; then 6698if test "${ac_cv_c_volatile+set}" = set; then :
9028 $as_echo_n "(cached) " >&6 6699 $as_echo_n "(cached) " >&6
9029else 6700else
9030 cat >conftest.$ac_ext <<_ACEOF 6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031/* confdefs.h. */
9032_ACEOF
9033cat confdefs.h >>conftest.$ac_ext
9034cat >>conftest.$ac_ext <<_ACEOF
9035/* end confdefs.h. */ 6702/* end confdefs.h. */
9036 6703
9037int 6704int
@@ -9045,54 +6712,27 @@ return !x && !y;
9045 return 0; 6712 return 0;
9046} 6713}
9047_ACEOF 6714_ACEOF
9048rm -f conftest.$ac_objext 6715if ac_fn_c_try_compile "$LINENO"; then :
9049if { (ac_try="$ac_compile"
9050case "(($ac_try" in
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9053esac
9054eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9055$as_echo "$ac_try_echo") >&5
9056 (eval "$ac_compile") 2>conftest.er1
9057 ac_status=$?
9058 grep -v '^ *+' conftest.er1 >conftest.err
9059 rm -f conftest.er1
9060 cat conftest.err >&5
9061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } && {
9063 test -z "$ac_c_werror_flag" ||
9064 test ! -s conftest.err
9065 } && test -s conftest.$ac_objext; then
9066 ac_cv_c_volatile=yes 6716 ac_cv_c_volatile=yes
9067else 6717else
9068 $as_echo "$as_me: failed program was:" >&5 6718 ac_cv_c_volatile=no
9069sed 's/^/| /' conftest.$ac_ext >&5
9070
9071 ac_cv_c_volatile=no
9072fi 6719fi
9073
9074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9075fi 6721fi
9076{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 6722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
9077$as_echo "$ac_cv_c_volatile" >&6; } 6723$as_echo "$ac_cv_c_volatile" >&6; }
9078if test $ac_cv_c_volatile = no; then 6724if test $ac_cv_c_volatile = no; then
9079 6725
9080cat >>confdefs.h <<\_ACEOF 6726$as_echo "#define volatile /**/" >>confdefs.h
9081#define volatile /**/
9082_ACEOF
9083 6727
9084fi 6728fi
9085 6729
9086{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 6730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9087$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 6731$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9088if test "${ac_cv_c_const+set}" = set; then 6732if test "${ac_cv_c_const+set}" = set; then :
9089 $as_echo_n "(cached) " >&6 6733 $as_echo_n "(cached) " >&6
9090else 6734else
9091 cat >conftest.$ac_ext <<_ACEOF 6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092/* confdefs.h. */
9093_ACEOF
9094cat confdefs.h >>conftest.$ac_ext
9095cat >>conftest.$ac_ext <<_ACEOF
9096/* end confdefs.h. */ 6736/* end confdefs.h. */
9097 6737
9098int 6738int
@@ -9152,54 +6792,27 @@ main ()
9152 return 0; 6792 return 0;
9153} 6793}
9154_ACEOF 6794_ACEOF
9155rm -f conftest.$ac_objext 6795if ac_fn_c_try_compile "$LINENO"; then :
9156if { (ac_try="$ac_compile"
9157case "(($ac_try" in
9158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9160esac
9161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9162$as_echo "$ac_try_echo") >&5
9163 (eval "$ac_compile") 2>conftest.er1
9164 ac_status=$?
9165 grep -v '^ *+' conftest.er1 >conftest.err
9166 rm -f conftest.er1
9167 cat conftest.err >&5
9168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest.$ac_objext; then
9173 ac_cv_c_const=yes 6796 ac_cv_c_const=yes
9174else 6797else
9175 $as_echo "$as_me: failed program was:" >&5 6798 ac_cv_c_const=no
9176sed 's/^/| /' conftest.$ac_ext >&5
9177
9178 ac_cv_c_const=no
9179fi 6799fi
9180
9181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9182fi 6801fi
9183{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 6802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9184$as_echo "$ac_cv_c_const" >&6; } 6803$as_echo "$ac_cv_c_const" >&6; }
9185if test $ac_cv_c_const = no; then 6804if test $ac_cv_c_const = no; then
9186 6805
9187cat >>confdefs.h <<\_ACEOF 6806$as_echo "#define const /**/" >>confdefs.h
9188#define const /**/
9189_ACEOF
9190 6807
9191fi 6808fi
9192 6809
9193{ $as_echo "$as_me:$LINENO: checking for void * support" >&5 6810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5
9194$as_echo_n "checking for void * support... " >&6; } 6811$as_echo_n "checking for void * support... " >&6; }
9195if test "${emacs_cv_void_star+set}" = set; then 6812if test "${emacs_cv_void_star+set}" = set; then :
9196 $as_echo_n "(cached) " >&6 6813 $as_echo_n "(cached) " >&6
9197else 6814else
9198 cat >conftest.$ac_ext <<_ACEOF 6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199/* confdefs.h. */
9200_ACEOF
9201cat confdefs.h >>conftest.$ac_ext
9202cat >>conftest.$ac_ext <<_ACEOF
9203/* end confdefs.h. */ 6816/* end confdefs.h. */
9204 6817
9205int 6818int
@@ -9210,57 +6823,31 @@ void * foo;
9210 return 0; 6823 return 0;
9211} 6824}
9212_ACEOF 6825_ACEOF
9213rm -f conftest.$ac_objext 6826if ac_fn_c_try_compile "$LINENO"; then :
9214if { (ac_try="$ac_compile"
9215case "(($ac_try" in
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9218esac
9219eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9220$as_echo "$ac_try_echo") >&5
9221 (eval "$ac_compile") 2>conftest.er1
9222 ac_status=$?
9223 grep -v '^ *+' conftest.er1 >conftest.err
9224 rm -f conftest.er1
9225 cat conftest.err >&5
9226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } && {
9228 test -z "$ac_c_werror_flag" ||
9229 test ! -s conftest.err
9230 } && test -s conftest.$ac_objext; then
9231 emacs_cv_void_star=yes 6827 emacs_cv_void_star=yes
9232else 6828else
9233 $as_echo "$as_me: failed program was:" >&5 6829 emacs_cv_void_star=no
9234sed 's/^/| /' conftest.$ac_ext >&5
9235
9236 emacs_cv_void_star=no
9237fi 6830fi
9238
9239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9240fi 6832fi
9241{ $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 6833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5
9242$as_echo "$emacs_cv_void_star" >&6; } 6834$as_echo "$emacs_cv_void_star" >&6; }
9243if test $emacs_cv_void_star = yes; then 6835if test $emacs_cv_void_star = yes; then
9244 cat >>confdefs.h <<\_ACEOF 6836 $as_echo "#define POINTER_TYPE void" >>confdefs.h
9245#define POINTER_TYPE void
9246_ACEOF
9247 6837
9248else 6838else
9249 cat >>confdefs.h <<\_ACEOF 6839 $as_echo "#define POINTER_TYPE char" >>confdefs.h
9250#define POINTER_TYPE char
9251_ACEOF
9252 6840
9253fi 6841fi
9254 6842
9255 6843
9256 6844
9257 6845
9258 6846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9259{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9260$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6847$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
9261set x ${MAKE-make} 6848set x ${MAKE-make}
9262ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6849ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9263if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 6850if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
9264 $as_echo_n "(cached) " >&6 6851 $as_echo_n "(cached) " >&6
9265else 6852else
9266 cat >conftest.make <<\_ACEOF 6853 cat >conftest.make <<\_ACEOF
@@ -9278,18 +6865,18 @@ esac
9278rm -f conftest.make 6865rm -f conftest.make
9279fi 6866fi
9280if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 6867if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
9281 { $as_echo "$as_me:$LINENO: result: yes" >&5 6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9282$as_echo "yes" >&6; } 6869$as_echo "yes" >&6; }
9283 SET_MAKE= 6870 SET_MAKE=
9284else 6871else
9285 { $as_echo "$as_me:$LINENO: result: no" >&5 6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9286$as_echo "no" >&6; } 6873$as_echo "no" >&6; }
9287 SET_MAKE="MAKE=${MAKE-make}" 6874 SET_MAKE="MAKE=${MAKE-make}"
9288fi 6875fi
9289 6876
9290 6877
9291if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then 6878if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
9292 { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5
9293$as_echo_n "checking whether we are using GNU Make... " >&6; } 6880$as_echo_n "checking whether we are using GNU Make... " >&6; }
9294 HAVE_GNU_MAKE=no 6881 HAVE_GNU_MAKE=no
9295 testval=`make --version 2>/dev/null | grep 'GNU Make'` 6882 testval=`make --version 2>/dev/null | grep 'GNU Make'`
@@ -9298,18 +6885,14 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; }
9298 else 6885 else
9299 ac_enable_autodepend=no 6886 ac_enable_autodepend=no
9300 fi 6887 fi
9301 { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5
9302$as_echo "$HAVE_GNU_MAKE" >&6; } 6889$as_echo "$HAVE_GNU_MAKE" >&6; }
9303 if test $HAVE_GNU_MAKE = yes; then 6890 if test $HAVE_GNU_MAKE = yes; then
9304 { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5
9305$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } 6892$as_echo_n "checking whether gcc understands -MMD -MF... " >&6; }
9306 SAVE_CFLAGS="$CFLAGS" 6893 SAVE_CFLAGS="$CFLAGS"
9307 CFLAGS="$CFLAGS -MMD -MF deps.d" 6894 CFLAGS="$CFLAGS -MMD -MF deps.d"
9308 cat >conftest.$ac_ext <<_ACEOF 6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309/* confdefs.h. */
9310_ACEOF
9311cat confdefs.h >>conftest.$ac_ext
9312cat >>conftest.$ac_ext <<_ACEOF
9313/* end confdefs.h. */ 6896/* end confdefs.h. */
9314 6897
9315int 6898int
@@ -9320,51 +6903,28 @@ main ()
9320 return 0; 6903 return 0;
9321} 6904}
9322_ACEOF 6905_ACEOF
9323rm -f conftest.$ac_objext 6906if ac_fn_c_try_compile "$LINENO"; then :
9324if { (ac_try="$ac_compile"
9325case "(($ac_try" in
9326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9327 *) ac_try_echo=$ac_try;;
9328esac
9329eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9330$as_echo "$ac_try_echo") >&5
9331 (eval "$ac_compile") 2>conftest.er1
9332 ac_status=$?
9333 grep -v '^ *+' conftest.er1 >conftest.err
9334 rm -f conftest.er1
9335 cat conftest.err >&5
9336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } && {
9338 test -z "$ac_c_werror_flag" ||
9339 test ! -s conftest.err
9340 } && test -s conftest.$ac_objext; then
9341 :
9342else
9343 $as_echo "$as_me: failed program was:" >&5
9344sed 's/^/| /' conftest.$ac_ext >&5
9345 6907
9346 ac_enable_autodepend=no 6908else
6909 ac_enable_autodepend=no
9347fi 6910fi
9348
9349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9350 CFLAGS="$SAVE_CFLAGS" 6912 CFLAGS="$SAVE_CFLAGS"
9351 test -f deps.d || ac_enable_autodepend=no 6913 test -f deps.d || ac_enable_autodepend=no
9352 rm -rf deps.d 6914 rm -rf deps.d
9353 { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5
9354$as_echo "$ac_enable_autodepend" >&6; } 6916$as_echo "$ac_enable_autodepend" >&6; }
9355 fi 6917 fi
9356 if test $ac_enable_autodepend = yes; then 6918 if test $ac_enable_autodepend = yes; then
9357 6919
9358cat >>confdefs.h <<\_ACEOF 6920$as_echo "#define AUTO_DEPEND 1" >>confdefs.h
9359#define AUTO_DEPEND 1
9360_ACEOF
9361 6921
9362 fi 6922 fi
9363fi 6923fi
9364 6924
9365{ $as_echo "$as_me:$LINENO: checking for long file names" >&5 6925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
9366$as_echo_n "checking for long file names... " >&6; } 6926$as_echo_n "checking for long file names... " >&6; }
9367if test "${ac_cv_sys_long_file_names+set}" = set; then 6927if test "${ac_cv_sys_long_file_names+set}" = set; then :
9368 $as_echo_n "(cached) " >&6 6928 $as_echo_n "(cached) " >&6
9369else 6929else
9370 ac_cv_sys_long_file_names=yes 6930 ac_cv_sys_long_file_names=yes
@@ -9394,25 +6954,23 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib
9394 test $ac_cv_sys_long_file_names = no && break 6954 test $ac_cv_sys_long_file_names = no && break
9395done 6955done
9396fi 6956fi
9397{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 6957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
9398$as_echo "$ac_cv_sys_long_file_names" >&6; } 6958$as_echo "$ac_cv_sys_long_file_names" >&6; }
9399if test $ac_cv_sys_long_file_names = yes; then 6959if test $ac_cv_sys_long_file_names = yes; then
9400 6960
9401cat >>confdefs.h <<\_ACEOF 6961$as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
9402#define HAVE_LONG_FILE_NAMES 1
9403_ACEOF
9404 6962
9405fi 6963fi
9406 6964
9407 6965
9408#### Choose a window system. 6966#### Choose a window system.
9409 6967
9410{ $as_echo "$as_me:$LINENO: checking for X" >&5 6968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9411$as_echo_n "checking for X... " >&6; } 6969$as_echo_n "checking for X... " >&6; }
9412 6970
9413 6971
9414# Check whether --with-x was given. 6972# Check whether --with-x was given.
9415if test "${with_x+set}" = set; then 6973if test "${with_x+set}" = set; then :
9416 withval=$with_x; 6974 withval=$with_x;
9417fi 6975fi
9418 6976
@@ -9422,10 +6980,8 @@ if test "x$with_x" = xno; then
9422 have_x=disabled 6980 have_x=disabled
9423else 6981else
9424 case $x_includes,$x_libraries in #( 6982 case $x_includes,$x_libraries in #(
9425 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 6983 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
9426$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} 6984 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
9427 { (exit 1); exit 1; }; };; #(
9428 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
9429 $as_echo_n "(cached) " >&6 6985 $as_echo_n "(cached) " >&6
9430else 6986else
9431 # One or both of the vars are not set, and there is no cached value. 6987 # One or both of the vars are not set, and there is no cached value.
@@ -9461,7 +7017,7 @@ _ACEOF
9461 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 7017 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9462 esac 7018 esac
9463 case $ac_im_usrlibdir in 7019 case $ac_im_usrlibdir in
9464 /usr/lib | /lib) ;; 7020 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9465 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 7021 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9466 esac 7022 esac
9467 fi 7023 fi
@@ -9473,21 +7029,25 @@ fi
9473# Check X11 before X11Rn because it is often a symlink to the current release. 7029# Check X11 before X11Rn because it is often a symlink to the current release.
9474ac_x_header_dirs=' 7030ac_x_header_dirs='
9475/usr/X11/include 7031/usr/X11/include
7032/usr/X11R7/include
9476/usr/X11R6/include 7033/usr/X11R6/include
9477/usr/X11R5/include 7034/usr/X11R5/include
9478/usr/X11R4/include 7035/usr/X11R4/include
9479 7036
9480/usr/include/X11 7037/usr/include/X11
7038/usr/include/X11R7
9481/usr/include/X11R6 7039/usr/include/X11R6
9482/usr/include/X11R5 7040/usr/include/X11R5
9483/usr/include/X11R4 7041/usr/include/X11R4
9484 7042
9485/usr/local/X11/include 7043/usr/local/X11/include
7044/usr/local/X11R7/include
9486/usr/local/X11R6/include 7045/usr/local/X11R6/include
9487/usr/local/X11R5/include 7046/usr/local/X11R5/include
9488/usr/local/X11R4/include 7047/usr/local/X11R4/include
9489 7048
9490/usr/local/include/X11 7049/usr/local/include/X11
7050/usr/local/include/X11R7
9491/usr/local/include/X11R6 7051/usr/local/include/X11R6
9492/usr/local/include/X11R5 7052/usr/local/include/X11R5
9493/usr/local/include/X11R4 7053/usr/local/include/X11R4
@@ -9509,37 +7069,14 @@ ac_x_header_dirs='
9509if test "$ac_x_includes" = no; then 7069if test "$ac_x_includes" = no; then
9510 # Guess where to find include files, by looking for Xlib.h. 7070 # Guess where to find include files, by looking for Xlib.h.
9511 # First, try using that file with no special directory specified. 7071 # First, try using that file with no special directory specified.
9512 cat >conftest.$ac_ext <<_ACEOF 7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513/* confdefs.h. */
9514_ACEOF
9515cat confdefs.h >>conftest.$ac_ext
9516cat >>conftest.$ac_ext <<_ACEOF
9517/* end confdefs.h. */ 7073/* end confdefs.h. */
9518#include <X11/Xlib.h> 7074#include <X11/Xlib.h>
9519_ACEOF 7075_ACEOF
9520if { (ac_try="$ac_cpp conftest.$ac_ext" 7076if ac_fn_c_try_cpp "$LINENO"; then :
9521case "(($ac_try" in
9522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9523 *) ac_try_echo=$ac_try;;
9524esac
9525eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9526$as_echo "$ac_try_echo") >&5
9527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9528 ac_status=$?
9529 grep -v '^ *+' conftest.er1 >conftest.err
9530 rm -f conftest.er1
9531 cat conftest.err >&5
9532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); } >/dev/null && {
9534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9535 test ! -s conftest.err
9536 }; then
9537 # We can compile using X headers with no special include directory. 7077 # We can compile using X headers with no special include directory.
9538ac_x_includes= 7078ac_x_includes=
9539else 7079else
9540 $as_echo "$as_me: failed program was:" >&5
9541sed 's/^/| /' conftest.$ac_ext >&5
9542
9543 for ac_dir in $ac_x_header_dirs; do 7080 for ac_dir in $ac_x_header_dirs; do
9544 if test -r "$ac_dir/X11/Xlib.h"; then 7081 if test -r "$ac_dir/X11/Xlib.h"; then
9545 ac_x_includes=$ac_dir 7082 ac_x_includes=$ac_dir
@@ -9547,7 +7084,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
9547 fi 7084 fi
9548done 7085done
9549fi 7086fi
9550
9551rm -f conftest.err conftest.$ac_ext 7087rm -f conftest.err conftest.$ac_ext
9552fi # $ac_x_includes = no 7088fi # $ac_x_includes = no
9553 7089
@@ -9557,11 +7093,7 @@ if test "$ac_x_libraries" = no; then
9557 # Don't add to $LIBS permanently. 7093 # Don't add to $LIBS permanently.
9558 ac_save_LIBS=$LIBS 7094 ac_save_LIBS=$LIBS
9559 LIBS="-lX11 $LIBS" 7095 LIBS="-lX11 $LIBS"
9560 cat >conftest.$ac_ext <<_ACEOF 7096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561/* confdefs.h. */
9562_ACEOF
9563cat confdefs.h >>conftest.$ac_ext
9564cat >>conftest.$ac_ext <<_ACEOF
9565/* end confdefs.h. */ 7097/* end confdefs.h. */
9566#include <X11/Xlib.h> 7098#include <X11/Xlib.h>
9567int 7099int
@@ -9572,35 +7104,12 @@ XrmInitialize ()
9572 return 0; 7104 return 0;
9573} 7105}
9574_ACEOF 7106_ACEOF
9575rm -f conftest.$ac_objext conftest$ac_exeext 7107if ac_fn_c_try_link "$LINENO"; then :
9576if { (ac_try="$ac_link"
9577case "(($ac_try" in
9578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9579 *) ac_try_echo=$ac_try;;
9580esac
9581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9582$as_echo "$ac_try_echo") >&5
9583 (eval "$ac_link") 2>conftest.er1
9584 ac_status=$?
9585 grep -v '^ *+' conftest.er1 >conftest.err
9586 rm -f conftest.er1
9587 cat conftest.err >&5
9588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); } && {
9590 test -z "$ac_c_werror_flag" ||
9591 test ! -s conftest.err
9592 } && test -s conftest$ac_exeext && {
9593 test "$cross_compiling" = yes ||
9594 $as_test_x conftest$ac_exeext
9595 }; then
9596 LIBS=$ac_save_LIBS 7108 LIBS=$ac_save_LIBS
9597# We can link X programs with no special library path. 7109# We can link X programs with no special library path.
9598ac_x_libraries= 7110ac_x_libraries=
9599else 7111else
9600 $as_echo "$as_me: failed program was:" >&5 7112 LIBS=$ac_save_LIBS
9601sed 's/^/| /' conftest.$ac_ext >&5
9602
9603 LIBS=$ac_save_LIBS
9604for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 7113for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9605do 7114do
9606 # Don't even attempt the hair of trying to link an X program! 7115 # Don't even attempt the hair of trying to link an X program!
@@ -9612,10 +7121,8 @@ do
9612 done 7121 done
9613done 7122done
9614fi 7123fi
9615 7124rm -f core conftest.err conftest.$ac_objext \
9616rm -rf conftest.dSYM 7125 conftest$ac_exeext conftest.$ac_ext
9617rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9618 conftest$ac_exeext conftest.$ac_ext
9619fi # $ac_x_libraries = no 7126fi # $ac_x_libraries = no
9620 7127
9621case $ac_x_includes,$ac_x_libraries in #( 7128case $ac_x_includes,$ac_x_libraries in #(
@@ -9636,7 +7143,7 @@ fi
9636fi # $with_x != no 7143fi # $with_x != no
9637 7144
9638if test "$have_x" != yes; then 7145if test "$have_x" != yes; then
9639 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9640$as_echo "$have_x" >&6; } 7147$as_echo "$have_x" >&6; }
9641 no_x=yes 7148 no_x=yes
9642else 7149else
@@ -9647,7 +7154,7 @@ else
9647 ac_cv_have_x="have_x=yes\ 7154 ac_cv_have_x="have_x=yes\
9648 ac_x_includes='$x_includes'\ 7155 ac_x_includes='$x_includes'\
9649 ac_x_libraries='$x_libraries'" 7156 ac_x_libraries='$x_libraries'"
9650 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9651$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 7158$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9652fi 7159fi
9653 7160
@@ -9743,150 +7250,17 @@ if test "${with_ns}" != no; then
9743 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 7250 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9744 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 7251 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
9745 fi 7252 fi
9746 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 7253 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
9747 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 7254if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
9748$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9749if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9750 $as_echo_n "(cached) " >&6
9751fi
9752{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9753$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9754else
9755 # Is the header compilable?
9756{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9757$as_echo_n "checking AppKit/AppKit.h usability... " >&6; }
9758cat >conftest.$ac_ext <<_ACEOF
9759/* confdefs.h. */
9760_ACEOF
9761cat confdefs.h >>conftest.$ac_ext
9762cat >>conftest.$ac_ext <<_ACEOF
9763/* end confdefs.h. */
9764$ac_includes_default
9765#include <AppKit/AppKit.h>
9766_ACEOF
9767rm -f conftest.$ac_objext
9768if { (ac_try="$ac_compile"
9769case "(($ac_try" in
9770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9771 *) ac_try_echo=$ac_try;;
9772esac
9773eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9774$as_echo "$ac_try_echo") >&5
9775 (eval "$ac_compile") 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest.$ac_objext; then
9785 ac_header_compiler=yes
9786else
9787 $as_echo "$as_me: failed program was:" >&5
9788sed 's/^/| /' conftest.$ac_ext >&5
9789
9790 ac_header_compiler=no
9791fi
9792
9793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9794{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9795$as_echo "$ac_header_compiler" >&6; }
9796
9797# Is the header present?
9798{ $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
9799$as_echo_n "checking AppKit/AppKit.h presence... " >&6; }
9800cat >conftest.$ac_ext <<_ACEOF
9801/* confdefs.h. */
9802_ACEOF
9803cat confdefs.h >>conftest.$ac_ext
9804cat >>conftest.$ac_ext <<_ACEOF
9805/* end confdefs.h. */
9806#include <AppKit/AppKit.h>
9807_ACEOF
9808if { (ac_try="$ac_cpp conftest.$ac_ext"
9809case "(($ac_try" in
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;;
9812esac
9813eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9814$as_echo "$ac_try_echo") >&5
9815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9816 ac_status=$?
9817 grep -v '^ *+' conftest.er1 >conftest.err
9818 rm -f conftest.er1
9819 cat conftest.err >&5
9820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } >/dev/null && {
9822 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9823 test ! -s conftest.err
9824 }; then
9825 ac_header_preproc=yes
9826else
9827 $as_echo "$as_me: failed program was:" >&5
9828sed 's/^/| /' conftest.$ac_ext >&5
9829
9830 ac_header_preproc=no
9831fi
9832
9833rm -f conftest.err conftest.$ac_ext
9834{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9835$as_echo "$ac_header_preproc" >&6; }
9836
9837# So? What about this header?
9838case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9839 yes:no: )
9840 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
9841$as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9842 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
9843$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
9844 ac_header_preproc=yes
9845 ;;
9846 no:yes:* )
9847 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
9848$as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
9849 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
9850$as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
9851 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
9852$as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
9853 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
9854$as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
9855 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
9856$as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
9857 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
9858$as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
9859
9860 ;;
9861esac
9862{ $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9863$as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9864if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9865 $as_echo_n "(cached) " >&6
9866else
9867 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
9868fi
9869{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9870$as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9871
9872fi
9873if test $ac_cv_header_AppKit_AppKit_h = yes; then
9874 HAVE_NS=yes 7255 HAVE_NS=yes
9875else 7256else
9876 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include 7257 as_fn_error "\`--with-ns' was specified, but the include
9877 files are missing or cannot be compiled." >&5 7258 files are missing or cannot be compiled." "$LINENO" 5
9878$as_echo "$as_me: error: \`--with-ns' was specified, but the include
9879 files are missing or cannot be compiled." >&2;}
9880 { (exit 1); exit 1; }; }
9881fi 7259fi
9882 7260
9883 7261
9884 NS_HAVE_NSINTEGER=yes 7262 NS_HAVE_NSINTEGER=yes
9885 cat >conftest.$ac_ext <<_ACEOF 7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886/* confdefs.h. */
9887_ACEOF
9888cat confdefs.h >>conftest.$ac_ext
9889cat >>conftest.$ac_ext <<_ACEOF
9890/* end confdefs.h. */ 7264/* end confdefs.h. */
9891#include <Foundation/NSObjCRuntime.h> 7265#include <Foundation/NSObjCRuntime.h>
9892int 7266int
@@ -9897,32 +7271,11 @@ NSInteger i;
9897 return 0; 7271 return 0;
9898} 7272}
9899_ACEOF 7273_ACEOF
9900rm -f conftest.$ac_objext 7274if ac_fn_c_try_compile "$LINENO"; then :
9901if { (ac_try="$ac_compile"
9902case "(($ac_try" in
9903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9905esac
9906eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9907$as_echo "$ac_try_echo") >&5
9908 (eval "$ac_compile") 2>conftest.er1
9909 ac_status=$?
9910 grep -v '^ *+' conftest.er1 >conftest.err
9911 rm -f conftest.er1
9912 cat conftest.err >&5
9913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } && {
9915 test -z "$ac_c_werror_flag" ||
9916 test ! -s conftest.err
9917 } && test -s conftest.$ac_objext; then
9918 ns_have_nsinteger=yes 7275 ns_have_nsinteger=yes
9919else 7276else
9920 $as_echo "$as_me: failed program was:" >&5 7277 ns_have_nsinteger=no
9921sed 's/^/| /' conftest.$ac_ext >&5
9922
9923 ns_have_nsinteger=no
9924fi 7278fi
9925
9926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9927 if test $ns_have_nsinteger = no; then 7280 if test $ns_have_nsinteger = no; then
9928 NS_HAVE_NSINTEGER=no 7281 NS_HAVE_NSINTEGER=no
@@ -9964,9 +7317,9 @@ esac
9964if test "$window_system" = none && test "X$with_x" != "Xno"; then 7317if test "$window_system" = none && test "X$with_x" != "Xno"; then
9965 # Extract the first word of "X", so it can be a program name with args. 7318 # Extract the first word of "X", so it can be a program name with args.
9966set dummy X; ac_word=$2 7319set dummy X; ac_word=$2
9967{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9968$as_echo_n "checking for $ac_word... " >&6; } 7321$as_echo_n "checking for $ac_word... " >&6; }
9969if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then 7322if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then :
9970 $as_echo_n "(cached) " >&6 7323 $as_echo_n "(cached) " >&6
9971else 7324else
9972 if test -n "$HAVE_XSERVER"; then 7325 if test -n "$HAVE_XSERVER"; then
@@ -9977,14 +7330,14 @@ for as_dir in $PATH
9977do 7330do
9978 IFS=$as_save_IFS 7331 IFS=$as_save_IFS
9979 test -z "$as_dir" && as_dir=. 7332 test -z "$as_dir" && as_dir=.
9980 for ac_exec_ext in '' $ac_executable_extensions; do 7333 for ac_exec_ext in '' $ac_executable_extensions; do
9981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9982 ac_cv_prog_HAVE_XSERVER="true" 7335 ac_cv_prog_HAVE_XSERVER="true"
9983 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 break 2 7337 break 2
9985 fi 7338 fi
9986done 7339done
9987done 7340 done
9988IFS=$as_save_IFS 7341IFS=$as_save_IFS
9989 7342
9990 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 7343 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
@@ -9992,10 +7345,10 @@ fi
9992fi 7345fi
9993HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 7346HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
9994if test -n "$HAVE_XSERVER"; then 7347if test -n "$HAVE_XSERVER"; then
9995 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5
9996$as_echo "$HAVE_XSERVER" >&6; } 7349$as_echo "$HAVE_XSERVER" >&6; }
9997else 7350else
9998 { $as_echo "$as_me:$LINENO: result: no" >&5 7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9999$as_echo "no" >&6; } 7352$as_echo "no" >&6; }
10000fi 7353fi
10001 7354
@@ -10003,23 +7356,14 @@ fi
10003 if test "$HAVE_XSERVER" = true || 7356 if test "$HAVE_XSERVER" = true ||
10004 test -n "$DISPLAY" || 7357 test -n "$DISPLAY" ||
10005 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7358 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
10006 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries 7359 as_fn_error "You seem to be running X, but no X development libraries
10007were found. You should install the relevant development files for X
10008and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
10009sure you have development files for image handling, i.e.
10010tiff, gif, jpeg, png and xpm.
10011If you are sure you want Emacs compiled without X window support, pass
10012 --without-x
10013to configure." >&5
10014$as_echo "$as_me: error: You seem to be running X, but no X development libraries
10015were found. You should install the relevant development files for X 7360were found. You should install the relevant development files for X
10016and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7361and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
10017sure you have development files for image handling, i.e. 7362sure you have development files for image handling, i.e.
10018tiff, gif, jpeg, png and xpm. 7363tiff, gif, jpeg, png and xpm.
10019If you are sure you want Emacs compiled without X window support, pass 7364If you are sure you want Emacs compiled without X window support, pass
10020 --without-x 7365 --without-x
10021to configure." >&2;} 7366to configure." "$LINENO" 5
10022 { (exit 1); exit 1; }; }
10023 fi 7367 fi
10024fi 7368fi
10025 7369
@@ -10033,198 +7377,26 @@ esac
10033# Assume not, until told otherwise. 7377# Assume not, until told otherwise.
10034GNU_MALLOC=yes 7378GNU_MALLOC=yes
10035doug_lea_malloc=yes 7379doug_lea_malloc=yes
10036{ $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 7380ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
10037$as_echo_n "checking for malloc_get_state... " >&6; } 7381if test "x$ac_cv_func_malloc_get_state" = x""yes; then :
10038if test "${ac_cv_func_malloc_get_state+set}" = set; then
10039 $as_echo_n "(cached) " >&6
10040else
10041 cat >conftest.$ac_ext <<_ACEOF
10042/* confdefs.h. */
10043_ACEOF
10044cat confdefs.h >>conftest.$ac_ext
10045cat >>conftest.$ac_ext <<_ACEOF
10046/* end confdefs.h. */
10047/* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
10048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10049#define malloc_get_state innocuous_malloc_get_state
10050
10051/* System header to define __stub macros and hopefully few prototypes,
10052 which can conflict with char malloc_get_state (); below.
10053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10054 <limits.h> exists even on freestanding compilers. */
10055
10056#ifdef __STDC__
10057# include <limits.h>
10058#else
10059# include <assert.h>
10060#endif
10061
10062#undef malloc_get_state
10063
10064/* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067#ifdef __cplusplus
10068extern "C"
10069#endif
10070char malloc_get_state ();
10071/* The GNU C library defines this for functions which it implements
10072 to always fail with ENOSYS. Some functions are actually named
10073 something starting with __ and the normal name is an alias. */
10074#if defined __stub_malloc_get_state || defined __stub___malloc_get_state
10075choke me
10076#endif
10077
10078int
10079main ()
10080{
10081return malloc_get_state ();
10082 ;
10083 return 0;
10084}
10085_ACEOF
10086rm -f conftest.$ac_objext conftest$ac_exeext
10087if { (ac_try="$ac_link"
10088case "(($ac_try" in
10089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10090 *) ac_try_echo=$ac_try;;
10091esac
10092eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10093$as_echo "$ac_try_echo") >&5
10094 (eval "$ac_link") 2>conftest.er1
10095 ac_status=$?
10096 grep -v '^ *+' conftest.er1 >conftest.err
10097 rm -f conftest.er1
10098 cat conftest.err >&5
10099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest$ac_exeext && {
10104 test "$cross_compiling" = yes ||
10105 $as_test_x conftest$ac_exeext
10106 }; then
10107 ac_cv_func_malloc_get_state=yes
10108else
10109 $as_echo "$as_me: failed program was:" >&5
10110sed 's/^/| /' conftest.$ac_ext >&5
10111
10112 ac_cv_func_malloc_get_state=no
10113fi
10114 7382
10115rm -rf conftest.dSYM
10116rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10117 conftest$ac_exeext conftest.$ac_ext
10118fi
10119{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
10120$as_echo "$ac_cv_func_malloc_get_state" >&6; }
10121if test $ac_cv_func_malloc_get_state = yes; then
10122 :
10123else 7383else
10124 doug_lea_malloc=no 7384 doug_lea_malloc=no
10125fi 7385fi
10126 7386
10127{ $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 7387ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
10128$as_echo_n "checking for malloc_set_state... " >&6; } 7388if test "x$ac_cv_func_malloc_set_state" = x""yes; then :
10129if test "${ac_cv_func_malloc_set_state+set}" = set; then
10130 $as_echo_n "(cached) " >&6
10131else
10132 cat >conftest.$ac_ext <<_ACEOF
10133/* confdefs.h. */
10134_ACEOF
10135cat confdefs.h >>conftest.$ac_ext
10136cat >>conftest.$ac_ext <<_ACEOF
10137/* end confdefs.h. */
10138/* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
10139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10140#define malloc_set_state innocuous_malloc_set_state
10141
10142/* System header to define __stub macros and hopefully few prototypes,
10143 which can conflict with char malloc_set_state (); below.
10144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10145 <limits.h> exists even on freestanding compilers. */
10146
10147#ifdef __STDC__
10148# include <limits.h>
10149#else
10150# include <assert.h>
10151#endif
10152
10153#undef malloc_set_state
10154
10155/* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158#ifdef __cplusplus
10159extern "C"
10160#endif
10161char malloc_set_state ();
10162/* The GNU C library defines this for functions which it implements
10163 to always fail with ENOSYS. Some functions are actually named
10164 something starting with __ and the normal name is an alias. */
10165#if defined __stub_malloc_set_state || defined __stub___malloc_set_state
10166choke me
10167#endif
10168
10169int
10170main ()
10171{
10172return malloc_set_state ();
10173 ;
10174 return 0;
10175}
10176_ACEOF
10177rm -f conftest.$ac_objext conftest$ac_exeext
10178if { (ac_try="$ac_link"
10179case "(($ac_try" in
10180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10182esac
10183eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10184$as_echo "$ac_try_echo") >&5
10185 (eval "$ac_link") 2>conftest.er1
10186 ac_status=$?
10187 grep -v '^ *+' conftest.er1 >conftest.err
10188 rm -f conftest.er1
10189 cat conftest.err >&5
10190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); } && {
10192 test -z "$ac_c_werror_flag" ||
10193 test ! -s conftest.err
10194 } && test -s conftest$ac_exeext && {
10195 test "$cross_compiling" = yes ||
10196 $as_test_x conftest$ac_exeext
10197 }; then
10198 ac_cv_func_malloc_set_state=yes
10199else
10200 $as_echo "$as_me: failed program was:" >&5
10201sed 's/^/| /' conftest.$ac_ext >&5
10202
10203 ac_cv_func_malloc_set_state=no
10204fi
10205 7389
10206rm -rf conftest.dSYM
10207rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10208 conftest$ac_exeext conftest.$ac_ext
10209fi
10210{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
10211$as_echo "$ac_cv_func_malloc_set_state" >&6; }
10212if test $ac_cv_func_malloc_set_state = yes; then
10213 :
10214else 7390else
10215 doug_lea_malloc=no 7391 doug_lea_malloc=no
10216fi 7392fi
10217 7393
10218{ $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 7394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5
10219$as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 7395$as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
10220if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 7396if test "${emacs_cv_var___after_morecore_hook+set}" = set; then :
10221 $as_echo_n "(cached) " >&6 7397 $as_echo_n "(cached) " >&6
10222else 7398else
10223 cat >conftest.$ac_ext <<_ACEOF 7399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224/* confdefs.h. */
10225_ACEOF
10226cat confdefs.h >>conftest.$ac_ext
10227cat >>conftest.$ac_ext <<_ACEOF
10228/* end confdefs.h. */ 7400/* end confdefs.h. */
10229extern void (* __after_morecore_hook)(); 7401extern void (* __after_morecore_hook)();
10230int 7402int
@@ -10235,40 +7407,15 @@ __after_morecore_hook = 0
10235 return 0; 7407 return 0;
10236} 7408}
10237_ACEOF 7409_ACEOF
10238rm -f conftest.$ac_objext conftest$ac_exeext 7410if ac_fn_c_try_link "$LINENO"; then :
10239if { (ac_try="$ac_link"
10240case "(($ac_try" in
10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10242 *) ac_try_echo=$ac_try;;
10243esac
10244eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10245$as_echo "$ac_try_echo") >&5
10246 (eval "$ac_link") 2>conftest.er1
10247 ac_status=$?
10248 grep -v '^ *+' conftest.er1 >conftest.err
10249 rm -f conftest.er1
10250 cat conftest.err >&5
10251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } && {
10253 test -z "$ac_c_werror_flag" ||
10254 test ! -s conftest.err
10255 } && test -s conftest$ac_exeext && {
10256 test "$cross_compiling" = yes ||
10257 $as_test_x conftest$ac_exeext
10258 }; then
10259 emacs_cv_var___after_morecore_hook=yes 7411 emacs_cv_var___after_morecore_hook=yes
10260else 7412else
10261 $as_echo "$as_me: failed program was:" >&5 7413 emacs_cv_var___after_morecore_hook=no
10262sed 's/^/| /' conftest.$ac_ext >&5
10263
10264 emacs_cv_var___after_morecore_hook=no
10265fi 7414fi
10266 7415rm -f core conftest.err conftest.$ac_objext \
10267rm -rf conftest.dSYM 7416 conftest$ac_exeext conftest.$ac_ext
10268rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10269 conftest$ac_exeext conftest.$ac_ext
10270fi 7417fi
10271{ $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 7418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5
10272$as_echo "$emacs_cv_var___after_morecore_hook" >&6; } 7419$as_echo "$emacs_cv_var___after_morecore_hook" >&6; }
10273if test $emacs_cv_var___after_morecore_hook = no; then 7420if test $emacs_cv_var___after_morecore_hook = no; then
10274 doug_lea_malloc=no 7421 doug_lea_malloc=no
@@ -10284,9 +7431,7 @@ if test "$doug_lea_malloc" = "yes" ; then
10284 (Using Doug Lea's new malloc from the GNU C Library.)" 7431 (Using Doug Lea's new malloc from the GNU C Library.)"
10285 fi 7432 fi
10286 7433
10287cat >>confdefs.h <<\_ACEOF 7434$as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h
10288#define DOUG_LEA_MALLOC 1
10289_ACEOF
10290 7435
10291fi 7436fi
10292 7437
@@ -10297,142 +7442,14 @@ fi
10297 7442
10298 7443
10299 7444
10300for ac_header in stdlib.h unistd.h
10301do
10302as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10303if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10304 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10305$as_echo_n "checking for $ac_header... " >&6; }
10306if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10307 $as_echo_n "(cached) " >&6
10308fi
10309ac_res=`eval 'as_val=${'$as_ac_Header'}
10310 $as_echo "$as_val"'`
10311 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10312$as_echo "$ac_res" >&6; }
10313else
10314 # Is the header compilable?
10315{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10316$as_echo_n "checking $ac_header usability... " >&6; }
10317cat >conftest.$ac_ext <<_ACEOF
10318/* confdefs.h. */
10319_ACEOF
10320cat confdefs.h >>conftest.$ac_ext
10321cat >>conftest.$ac_ext <<_ACEOF
10322/* end confdefs.h. */
10323$ac_includes_default
10324#include <$ac_header>
10325_ACEOF
10326rm -f conftest.$ac_objext
10327if { (ac_try="$ac_compile"
10328case "(($ac_try" in
10329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10330 *) ac_try_echo=$ac_try;;
10331esac
10332eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10333$as_echo "$ac_try_echo") >&5
10334 (eval "$ac_compile") 2>conftest.er1
10335 ac_status=$?
10336 grep -v '^ *+' conftest.er1 >conftest.err
10337 rm -f conftest.er1
10338 cat conftest.err >&5
10339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } && {
10341 test -z "$ac_c_werror_flag" ||
10342 test ! -s conftest.err
10343 } && test -s conftest.$ac_objext; then
10344 ac_header_compiler=yes
10345else
10346 $as_echo "$as_me: failed program was:" >&5
10347sed 's/^/| /' conftest.$ac_ext >&5
10348
10349 ac_header_compiler=no
10350fi
10351
10352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10353{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10354$as_echo "$ac_header_compiler" >&6; }
10355
10356# Is the header present?
10357{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10358$as_echo_n "checking $ac_header presence... " >&6; }
10359cat >conftest.$ac_ext <<_ACEOF
10360/* confdefs.h. */
10361_ACEOF
10362cat confdefs.h >>conftest.$ac_ext
10363cat >>conftest.$ac_ext <<_ACEOF
10364/* end confdefs.h. */
10365#include <$ac_header>
10366_ACEOF
10367if { (ac_try="$ac_cpp conftest.$ac_ext"
10368case "(($ac_try" in
10369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10370 *) ac_try_echo=$ac_try;;
10371esac
10372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10373$as_echo "$ac_try_echo") >&5
10374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10375 ac_status=$?
10376 grep -v '^ *+' conftest.er1 >conftest.err
10377 rm -f conftest.er1
10378 cat conftest.err >&5
10379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } >/dev/null && {
10381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10382 test ! -s conftest.err
10383 }; then
10384 ac_header_preproc=yes
10385else
10386 $as_echo "$as_me: failed program was:" >&5
10387sed 's/^/| /' conftest.$ac_ext >&5
10388
10389 ac_header_preproc=no
10390fi
10391
10392rm -f conftest.err conftest.$ac_ext
10393{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10394$as_echo "$ac_header_preproc" >&6; }
10395
10396# So? What about this header?
10397case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10398 yes:no: )
10399 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10400$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10402$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10403 ac_header_preproc=yes
10404 ;;
10405 no:yes:* )
10406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10407$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10409$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10411$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10413$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10415$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10417$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10418
10419 ;;
10420esac
10421{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10422$as_echo_n "checking for $ac_header... " >&6; }
10423if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10424 $as_echo_n "(cached) " >&6
10425else
10426 eval "$as_ac_Header=\$ac_header_preproc"
10427fi
10428ac_res=`eval 'as_val=${'$as_ac_Header'}
10429 $as_echo "$as_val"'`
10430 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10431$as_echo "$ac_res" >&6; }
10432 7445
10433fi 7446 for ac_header in $ac_header_list
10434if test `eval 'as_val=${'$as_ac_Header'} 7447do :
10435 $as_echo "$as_val"'` = yes; then 7448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7449ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7450"
7451eval as_val=\$$as_ac_Header
7452 if test "x$as_val" = x""yes; then :
10436 cat >>confdefs.h <<_ACEOF 7453 cat >>confdefs.h <<_ACEOF
10437#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7454#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10438_ACEOF 7455_ACEOF
@@ -10442,118 +7459,32 @@ fi
10442done 7459done
10443 7460
10444 7461
10445for ac_func in getpagesize
10446do
10447as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10448{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10449$as_echo_n "checking for $ac_func... " >&6; }
10450if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10451 $as_echo_n "(cached) " >&6
10452else
10453 cat >conftest.$ac_ext <<_ACEOF
10454/* confdefs.h. */
10455_ACEOF
10456cat confdefs.h >>conftest.$ac_ext
10457cat >>conftest.$ac_ext <<_ACEOF
10458/* end confdefs.h. */
10459/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10461#define $ac_func innocuous_$ac_func
10462
10463/* System header to define __stub macros and hopefully few prototypes,
10464 which can conflict with char $ac_func (); below.
10465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10466 <limits.h> exists even on freestanding compilers. */
10467 7462
10468#ifdef __STDC__
10469# include <limits.h>
10470#else
10471# include <assert.h>
10472#endif
10473 7463
10474#undef $ac_func
10475 7464
10476/* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10479#ifdef __cplusplus
10480extern "C"
10481#endif
10482char $ac_func ();
10483/* The GNU C library defines this for functions which it implements
10484 to always fail with ENOSYS. Some functions are actually named
10485 something starting with __ and the normal name is an alias. */
10486#if defined __stub_$ac_func || defined __stub___$ac_func
10487choke me
10488#endif
10489 7465
10490int
10491main ()
10492{
10493return $ac_func ();
10494 ;
10495 return 0;
10496}
10497_ACEOF
10498rm -f conftest.$ac_objext conftest$ac_exeext
10499if { (ac_try="$ac_link"
10500case "(($ac_try" in
10501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10502 *) ac_try_echo=$ac_try;;
10503esac
10504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10505$as_echo "$ac_try_echo") >&5
10506 (eval "$ac_link") 2>conftest.er1
10507 ac_status=$?
10508 grep -v '^ *+' conftest.er1 >conftest.err
10509 rm -f conftest.er1
10510 cat conftest.err >&5
10511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_c_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest$ac_exeext && {
10516 test "$cross_compiling" = yes ||
10517 $as_test_x conftest$ac_exeext
10518 }; then
10519 eval "$as_ac_var=yes"
10520else
10521 $as_echo "$as_me: failed program was:" >&5
10522sed 's/^/| /' conftest.$ac_ext >&5
10523 7466
10524 eval "$as_ac_var=no"
10525fi
10526 7467
10527rm -rf conftest.dSYM 7468for ac_func in getpagesize
10528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7469do :
10529 conftest$ac_exeext conftest.$ac_ext 7470 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
10530fi 7471if test "x$ac_cv_func_getpagesize" = x""yes; then :
10531ac_res=`eval 'as_val=${'$as_ac_var'}
10532 $as_echo "$as_val"'`
10533 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10534$as_echo "$ac_res" >&6; }
10535if test `eval 'as_val=${'$as_ac_var'}
10536 $as_echo "$as_val"'` = yes; then
10537 cat >>confdefs.h <<_ACEOF 7472 cat >>confdefs.h <<_ACEOF
10538#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7473#define HAVE_GETPAGESIZE 1
10539_ACEOF 7474_ACEOF
10540 7475
10541fi 7476fi
10542done 7477done
10543 7478
10544{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5 7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
10545$as_echo_n "checking for working mmap... " >&6; } 7480$as_echo_n "checking for working mmap... " >&6; }
10546if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 7481if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
10547 $as_echo_n "(cached) " >&6 7482 $as_echo_n "(cached) " >&6
10548else 7483else
10549 if test "$cross_compiling" = yes; then 7484 if test "$cross_compiling" = yes; then :
10550 ac_cv_func_mmap_fixed_mapped=no 7485 ac_cv_func_mmap_fixed_mapped=no
10551else 7486else
10552 cat >conftest.$ac_ext <<_ACEOF 7487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553/* confdefs.h. */
10554_ACEOF
10555cat confdefs.h >>conftest.$ac_ext
10556cat >>conftest.$ac_ext <<_ACEOF
10557/* end confdefs.h. */ 7488/* end confdefs.h. */
10558$ac_includes_default 7489$ac_includes_default
10559/* malloc might have been renamed as rpl_malloc. */ 7490/* malloc might have been renamed as rpl_malloc. */
@@ -10590,11 +7521,6 @@ char *malloc ();
10590 7521
10591/* This mess was copied from the GNU getpagesize.h. */ 7522/* This mess was copied from the GNU getpagesize.h. */
10592#ifndef HAVE_GETPAGESIZE 7523#ifndef HAVE_GETPAGESIZE
10593/* Assume that all systems that can run configure have sys/param.h. */
10594# ifndef HAVE_SYS_PARAM_H
10595# define HAVE_SYS_PARAM_H 1
10596# endif
10597
10598# ifdef _SC_PAGESIZE 7524# ifdef _SC_PAGESIZE
10599# define getpagesize() sysconf(_SC_PAGESIZE) 7525# define getpagesize() sysconf(_SC_PAGESIZE)
10600# else /* no _SC_PAGESIZE */ 7526# else /* no _SC_PAGESIZE */
@@ -10630,7 +7556,7 @@ main ()
10630{ 7556{
10631 char *data, *data2, *data3; 7557 char *data, *data2, *data3;
10632 int i, pagesize; 7558 int i, pagesize;
10633 int fd; 7559 int fd, fd2;
10634 7560
10635 pagesize = getpagesize (); 7561 pagesize = getpagesize ();
10636 7562
@@ -10643,27 +7569,41 @@ main ()
10643 umask (0); 7569 umask (0);
10644 fd = creat ("conftest.mmap", 0600); 7570 fd = creat ("conftest.mmap", 0600);
10645 if (fd < 0) 7571 if (fd < 0)
10646 return 1; 7572 return 2;
10647 if (write (fd, data, pagesize) != pagesize) 7573 if (write (fd, data, pagesize) != pagesize)
10648 return 1; 7574 return 3;
10649 close (fd); 7575 close (fd);
10650 7576
7577 /* Next, check that the tail of a page is zero-filled. File must have
7578 non-zero length, otherwise we risk SIGBUS for entire page. */
7579 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7580 if (fd2 < 0)
7581 return 4;
7582 data2 = "";
7583 if (write (fd2, data2, 1) != 1)
7584 return 5;
7585 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7586 if (data2 == MAP_FAILED)
7587 return 6;
7588 for (i = 0; i < pagesize; ++i)
7589 if (*(data2 + i))
7590 return 7;
7591 close (fd2);
7592 if (munmap (data2, pagesize))
7593 return 8;
7594
10651 /* Next, try to mmap the file at a fixed address which already has 7595 /* Next, try to mmap the file at a fixed address which already has
10652 something else allocated at it. If we can, also make sure that 7596 something else allocated at it. If we can, also make sure that
10653 we see the same garbage. */ 7597 we see the same garbage. */
10654 fd = open ("conftest.mmap", O_RDWR); 7598 fd = open ("conftest.mmap", O_RDWR);
10655 if (fd < 0) 7599 if (fd < 0)
10656 return 1; 7600 return 9;
10657 data2 = (char *) malloc (2 * pagesize);
10658 if (!data2)
10659 return 1;
10660 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
10661 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 7601 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10662 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 7602 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10663 return 1; 7603 return 10;
10664 for (i = 0; i < pagesize; ++i) 7604 for (i = 0; i < pagesize; ++i)
10665 if (*(data + i) != *(data2 + i)) 7605 if (*(data + i) != *(data2 + i))
10666 return 1; 7606 return 11;
10667 7607
10668 /* Finally, make sure that changes to the mapped area do not 7608 /* Finally, make sure that changes to the mapped area do not
10669 percolate back to the file as seen by read(). (This is a bug on 7609 percolate back to the file as seen by read(). (This is a bug on
@@ -10672,63 +7612,34 @@ main ()
10672 *(data2 + i) = *(data2 + i) + 1; 7612 *(data2 + i) = *(data2 + i) + 1;
10673 data3 = (char *) malloc (pagesize); 7613 data3 = (char *) malloc (pagesize);
10674 if (!data3) 7614 if (!data3)
10675 return 1; 7615 return 12;
10676 if (read (fd, data3, pagesize) != pagesize) 7616 if (read (fd, data3, pagesize) != pagesize)
10677 return 1; 7617 return 13;
10678 for (i = 0; i < pagesize; ++i) 7618 for (i = 0; i < pagesize; ++i)
10679 if (*(data + i) != *(data3 + i)) 7619 if (*(data + i) != *(data3 + i))
10680 return 1; 7620 return 14;
10681 close (fd); 7621 close (fd);
10682 return 0; 7622 return 0;
10683} 7623}
10684_ACEOF 7624_ACEOF
10685rm -f conftest$ac_exeext 7625if ac_fn_c_try_run "$LINENO"; then :
10686if { (ac_try="$ac_link"
10687case "(($ac_try" in
10688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10689 *) ac_try_echo=$ac_try;;
10690esac
10691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10692$as_echo "$ac_try_echo") >&5
10693 (eval "$ac_link") 2>&5
10694 ac_status=$?
10695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10697 { (case "(($ac_try" in
10698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10699 *) ac_try_echo=$ac_try;;
10700esac
10701eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10702$as_echo "$ac_try_echo") >&5
10703 (eval "$ac_try") 2>&5
10704 ac_status=$?
10705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; }; then
10707 ac_cv_func_mmap_fixed_mapped=yes 7626 ac_cv_func_mmap_fixed_mapped=yes
10708else 7627else
10709 $as_echo "$as_me: program exited with status $ac_status" >&5 7628 ac_cv_func_mmap_fixed_mapped=no
10710$as_echo "$as_me: failed program was:" >&5
10711sed 's/^/| /' conftest.$ac_ext >&5
10712
10713( exit $ac_status )
10714ac_cv_func_mmap_fixed_mapped=no
10715fi 7629fi
10716rm -rf conftest.dSYM 7630rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10717rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7631 conftest.$ac_objext conftest.beam conftest.$ac_ext
10718fi 7632fi
10719 7633
10720
10721fi 7634fi
10722{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 7635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
10723$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 7636$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
10724if test $ac_cv_func_mmap_fixed_mapped = yes; then 7637if test $ac_cv_func_mmap_fixed_mapped = yes; then
10725 7638
10726cat >>confdefs.h <<\_ACEOF 7639$as_echo "#define HAVE_MMAP 1" >>confdefs.h
10727#define HAVE_MMAP 1
10728_ACEOF
10729 7640
10730fi 7641fi
10731rm -f conftest.mmap 7642rm -f conftest.mmap conftest.txt
10732 7643
10733if test $use_mmap_for_buffers = yes; then 7644if test $use_mmap_for_buffers = yes; then
10734 REL_ALLOC=no 7645 REL_ALLOC=no
@@ -10736,19 +7647,14 @@ fi
10736 7647
10737LIBS="$libsrc_libs $LIBS" 7648LIBS="$libsrc_libs $LIBS"
10738 7649
10739 7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10740{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10741$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 7651$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10742if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 7652if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
10743 $as_echo_n "(cached) " >&6 7653 $as_echo_n "(cached) " >&6
10744else 7654else
10745 ac_check_lib_save_LIBS=$LIBS 7655 ac_check_lib_save_LIBS=$LIBS
10746LIBS="-ldnet $LIBS" 7656LIBS="-ldnet $LIBS"
10747cat >conftest.$ac_ext <<_ACEOF 7657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748/* confdefs.h. */
10749_ACEOF
10750cat confdefs.h >>conftest.$ac_ext
10751cat >>conftest.$ac_ext <<_ACEOF
10752/* end confdefs.h. */ 7658/* end confdefs.h. */
10753 7659
10754/* Override any GCC internal prototype to avoid an error. 7660/* Override any GCC internal prototype to avoid an error.
@@ -10766,43 +7672,18 @@ return dnet_ntoa ();
10766 return 0; 7672 return 0;
10767} 7673}
10768_ACEOF 7674_ACEOF
10769rm -f conftest.$ac_objext conftest$ac_exeext 7675if ac_fn_c_try_link "$LINENO"; then :
10770if { (ac_try="$ac_link"
10771case "(($ac_try" in
10772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10773 *) ac_try_echo=$ac_try;;
10774esac
10775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10776$as_echo "$ac_try_echo") >&5
10777 (eval "$ac_link") 2>conftest.er1
10778 ac_status=$?
10779 grep -v '^ *+' conftest.er1 >conftest.err
10780 rm -f conftest.er1
10781 cat conftest.err >&5
10782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } && {
10784 test -z "$ac_c_werror_flag" ||
10785 test ! -s conftest.err
10786 } && test -s conftest$ac_exeext && {
10787 test "$cross_compiling" = yes ||
10788 $as_test_x conftest$ac_exeext
10789 }; then
10790 ac_cv_lib_dnet_dnet_ntoa=yes 7676 ac_cv_lib_dnet_dnet_ntoa=yes
10791else 7677else
10792 $as_echo "$as_me: failed program was:" >&5 7678 ac_cv_lib_dnet_dnet_ntoa=no
10793sed 's/^/| /' conftest.$ac_ext >&5
10794
10795 ac_cv_lib_dnet_dnet_ntoa=no
10796fi 7679fi
10797 7680rm -f core conftest.err conftest.$ac_objext \
10798rm -rf conftest.dSYM 7681 conftest$ac_exeext conftest.$ac_ext
10799rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10800 conftest$ac_exeext conftest.$ac_ext
10801LIBS=$ac_check_lib_save_LIBS 7682LIBS=$ac_check_lib_save_LIBS
10802fi 7683fi
10803{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 7684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10804$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 7685$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10805if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 7686if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
10806 cat >>confdefs.h <<_ACEOF 7687 cat >>confdefs.h <<_ACEOF
10807#define HAVE_LIBDNET 1 7688#define HAVE_LIBDNET 1
10808_ACEOF 7689_ACEOF
@@ -10812,18 +7693,14 @@ _ACEOF
10812fi 7693fi
10813 7694
10814 7695
10815{ $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 7696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
10816$as_echo_n "checking for main in -lXbsd... " >&6; } 7697$as_echo_n "checking for main in -lXbsd... " >&6; }
10817if test "${ac_cv_lib_Xbsd_main+set}" = set; then 7698if test "${ac_cv_lib_Xbsd_main+set}" = set; then :
10818 $as_echo_n "(cached) " >&6 7699 $as_echo_n "(cached) " >&6
10819else 7700else
10820 ac_check_lib_save_LIBS=$LIBS 7701 ac_check_lib_save_LIBS=$LIBS
10821LIBS="-lXbsd $LIBS" 7702LIBS="-lXbsd $LIBS"
10822cat >conftest.$ac_ext <<_ACEOF 7703cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823/* confdefs.h. */
10824_ACEOF
10825cat confdefs.h >>conftest.$ac_ext
10826cat >>conftest.$ac_ext <<_ACEOF
10827/* end confdefs.h. */ 7704/* end confdefs.h. */
10828 7705
10829 7706
@@ -10835,60 +7712,30 @@ return main ();
10835 return 0; 7712 return 0;
10836} 7713}
10837_ACEOF 7714_ACEOF
10838rm -f conftest.$ac_objext conftest$ac_exeext 7715if ac_fn_c_try_link "$LINENO"; then :
10839if { (ac_try="$ac_link"
10840case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10843esac
10844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10845$as_echo "$ac_try_echo") >&5
10846 (eval "$ac_link") 2>conftest.er1
10847 ac_status=$?
10848 grep -v '^ *+' conftest.er1 >conftest.err
10849 rm -f conftest.er1
10850 cat conftest.err >&5
10851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } && {
10853 test -z "$ac_c_werror_flag" ||
10854 test ! -s conftest.err
10855 } && test -s conftest$ac_exeext && {
10856 test "$cross_compiling" = yes ||
10857 $as_test_x conftest$ac_exeext
10858 }; then
10859 ac_cv_lib_Xbsd_main=yes 7716 ac_cv_lib_Xbsd_main=yes
10860else 7717else
10861 $as_echo "$as_me: failed program was:" >&5 7718 ac_cv_lib_Xbsd_main=no
10862sed 's/^/| /' conftest.$ac_ext >&5
10863
10864 ac_cv_lib_Xbsd_main=no
10865fi 7719fi
10866 7720rm -f core conftest.err conftest.$ac_objext \
10867rm -rf conftest.dSYM 7721 conftest$ac_exeext conftest.$ac_ext
10868rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10869 conftest$ac_exeext conftest.$ac_ext
10870LIBS=$ac_check_lib_save_LIBS 7722LIBS=$ac_check_lib_save_LIBS
10871fi 7723fi
10872{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 7724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
10873$as_echo "$ac_cv_lib_Xbsd_main" >&6; } 7725$as_echo "$ac_cv_lib_Xbsd_main" >&6; }
10874if test $ac_cv_lib_Xbsd_main = yes; then 7726if test "x$ac_cv_lib_Xbsd_main" = x""yes; then :
10875 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 7727 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
10876fi 7728fi
10877 7729
10878 7730
10879 7731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5
10880{ $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
10881$as_echo_n "checking for cma_open in -lpthreads... " >&6; } 7732$as_echo_n "checking for cma_open in -lpthreads... " >&6; }
10882if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 7733if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then :
10883 $as_echo_n "(cached) " >&6 7734 $as_echo_n "(cached) " >&6
10884else 7735else
10885 ac_check_lib_save_LIBS=$LIBS 7736 ac_check_lib_save_LIBS=$LIBS
10886LIBS="-lpthreads $LIBS" 7737LIBS="-lpthreads $LIBS"
10887cat >conftest.$ac_ext <<_ACEOF 7738cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888/* confdefs.h. */
10889_ACEOF
10890cat confdefs.h >>conftest.$ac_ext
10891cat >>conftest.$ac_ext <<_ACEOF
10892/* end confdefs.h. */ 7739/* end confdefs.h. */
10893 7740
10894/* Override any GCC internal prototype to avoid an error. 7741/* Override any GCC internal prototype to avoid an error.
@@ -10906,43 +7753,18 @@ return cma_open ();
10906 return 0; 7753 return 0;
10907} 7754}
10908_ACEOF 7755_ACEOF
10909rm -f conftest.$ac_objext conftest$ac_exeext 7756if ac_fn_c_try_link "$LINENO"; then :
10910if { (ac_try="$ac_link"
10911case "(($ac_try" in
10912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10913 *) ac_try_echo=$ac_try;;
10914esac
10915eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10916$as_echo "$ac_try_echo") >&5
10917 (eval "$ac_link") 2>conftest.er1
10918 ac_status=$?
10919 grep -v '^ *+' conftest.er1 >conftest.err
10920 rm -f conftest.er1
10921 cat conftest.err >&5
10922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } && {
10924 test -z "$ac_c_werror_flag" ||
10925 test ! -s conftest.err
10926 } && test -s conftest$ac_exeext && {
10927 test "$cross_compiling" = yes ||
10928 $as_test_x conftest$ac_exeext
10929 }; then
10930 ac_cv_lib_pthreads_cma_open=yes 7757 ac_cv_lib_pthreads_cma_open=yes
10931else 7758else
10932 $as_echo "$as_me: failed program was:" >&5 7759 ac_cv_lib_pthreads_cma_open=no
10933sed 's/^/| /' conftest.$ac_ext >&5
10934
10935 ac_cv_lib_pthreads_cma_open=no
10936fi 7760fi
10937 7761rm -f core conftest.err conftest.$ac_objext \
10938rm -rf conftest.dSYM 7762 conftest$ac_exeext conftest.$ac_ext
10939rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10940 conftest$ac_exeext conftest.$ac_ext
10941LIBS=$ac_check_lib_save_LIBS 7763LIBS=$ac_check_lib_save_LIBS
10942fi 7764fi
10943{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 7765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5
10944$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 7766$as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
10945if test $ac_cv_lib_pthreads_cma_open = yes; then 7767if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then :
10946 cat >>confdefs.h <<_ACEOF 7768 cat >>confdefs.h <<_ACEOF
10947#define HAVE_LIBPTHREADS 1 7769#define HAVE_LIBPTHREADS 1
10948_ACEOF 7770_ACEOF
@@ -10955,9 +7777,9 @@ fi
10955 7777
10956case ${host_os} in 7778case ${host_os} in
10957aix*) 7779aix*)
10958 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5
10959$as_echo_n "checking for -bbigtoc option... " >&6; } 7781$as_echo_n "checking for -bbigtoc option... " >&6; }
10960if test "${gdb_cv_bigtoc+set}" = set; then 7782if test "${gdb_cv_bigtoc+set}" = set; then :
10961 $as_echo_n "(cached) " >&6 7783 $as_echo_n "(cached) " >&6
10962else 7784else
10963 7785
@@ -10967,11 +7789,7 @@ else
10967 esac 7789 esac
10968 7790
10969 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc 7791 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
10970 cat >conftest.$ac_ext <<_ACEOF 7792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971/* confdefs.h. */
10972_ACEOF
10973cat confdefs.h >>conftest.$ac_ext
10974cat >>conftest.$ac_ext <<_ACEOF
10975/* end confdefs.h. */ 7793/* end confdefs.h. */
10976 7794
10977int 7795int
@@ -10982,41 +7800,16 @@ int i;
10982 return 0; 7800 return 0;
10983} 7801}
10984_ACEOF 7802_ACEOF
10985rm -f conftest.$ac_objext conftest$ac_exeext 7803if ac_fn_c_try_link "$LINENO"; then :
10986if { (ac_try="$ac_link"
10987case "(($ac_try" in
10988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10990esac
10991eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10992$as_echo "$ac_try_echo") >&5
10993 (eval "$ac_link") 2>conftest.er1
10994 ac_status=$?
10995 grep -v '^ *+' conftest.er1 >conftest.err
10996 rm -f conftest.er1
10997 cat conftest.err >&5
10998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); } && {
11000 test -z "$ac_c_werror_flag" ||
11001 test ! -s conftest.err
11002 } && test -s conftest$ac_exeext && {
11003 test "$cross_compiling" = yes ||
11004 $as_test_x conftest$ac_exeext
11005 }; then
11006 :
11007else
11008 $as_echo "$as_me: failed program was:" >&5
11009sed 's/^/| /' conftest.$ac_ext >&5
11010 7804
11011 gdb_cv_bigtoc= 7805else
7806 gdb_cv_bigtoc=
11012fi 7807fi
11013 7808rm -f core conftest.err conftest.$ac_objext \
11014rm -rf conftest.dSYM 7809 conftest$ac_exeext conftest.$ac_ext
11015rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11016 conftest$ac_exeext conftest.$ac_ext
11017 7810
11018fi 7811fi
11019{ $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 7812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5
11020$as_echo "$gdb_cv_bigtoc" >&6; } 7813$as_echo "$gdb_cv_bigtoc" >&6; }
11021 ;; 7814 ;;
11022esac 7815esac
@@ -11044,13 +7837,9 @@ if test "${HAVE_X11}" = "yes"; then
11044 fi 7837 fi
11045 7838
11046 if test "${opsys}" = "gnu-linux"; then 7839 if test "${opsys}" = "gnu-linux"; then
11047 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5
11048$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } 7841$as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; }
11049 cat >conftest.$ac_ext <<_ACEOF 7842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050/* confdefs.h. */
11051_ACEOF
11052cat confdefs.h >>conftest.$ac_ext
11053cat >>conftest.$ac_ext <<_ACEOF
11054/* end confdefs.h. */ 7843/* end confdefs.h. */
11055 7844
11056int 7845int
@@ -11061,38 +7850,13 @@ XOpenDisplay ("foo");
11061 return 0; 7850 return 0;
11062} 7851}
11063_ACEOF 7852_ACEOF
11064rm -f conftest.$ac_objext conftest$ac_exeext 7853if ac_fn_c_try_link "$LINENO"; then :
11065if { (ac_try="$ac_link"
11066case "(($ac_try" in
11067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11068 *) ac_try_echo=$ac_try;;
11069esac
11070eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11071$as_echo "$ac_try_echo") >&5
11072 (eval "$ac_link") 2>conftest.er1
11073 ac_status=$?
11074 grep -v '^ *+' conftest.er1 >conftest.err
11075 rm -f conftest.er1
11076 cat conftest.err >&5
11077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } && {
11079 test -z "$ac_c_werror_flag" ||
11080 test ! -s conftest.err
11081 } && test -s conftest$ac_exeext && {
11082 test "$cross_compiling" = yes ||
11083 $as_test_x conftest$ac_exeext
11084 }; then
11085 xlinux_first_failure=no 7854 xlinux_first_failure=no
11086else 7855else
11087 $as_echo "$as_me: failed program was:" >&5 7856 xlinux_first_failure=yes
11088sed 's/^/| /' conftest.$ac_ext >&5
11089
11090 xlinux_first_failure=yes
11091fi 7857fi
11092 7858rm -f core conftest.err conftest.$ac_objext \
11093rm -rf conftest.dSYM 7859 conftest$ac_exeext conftest.$ac_ext
11094rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11095 conftest$ac_exeext conftest.$ac_ext
11096 if test "${xlinux_first_failure}" = "yes"; then 7860 if test "${xlinux_first_failure}" = "yes"; then
11097 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 7861 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
11098 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 7862 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
@@ -11102,11 +7866,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11102 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 7866 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
11103 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 7867 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
11104 LIBS="$LIBS -b i486-linuxaout" 7868 LIBS="$LIBS -b i486-linuxaout"
11105 cat >conftest.$ac_ext <<_ACEOF 7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106/* confdefs.h. */
11107_ACEOF
11108cat confdefs.h >>conftest.$ac_ext
11109cat >>conftest.$ac_ext <<_ACEOF
11110/* end confdefs.h. */ 7870/* end confdefs.h. */
11111 7871
11112int 7872int
@@ -11117,38 +7877,13 @@ XOpenDisplay ("foo");
11117 return 0; 7877 return 0;
11118} 7878}
11119_ACEOF 7879_ACEOF
11120rm -f conftest.$ac_objext conftest$ac_exeext 7880if ac_fn_c_try_link "$LINENO"; then :
11121if { (ac_try="$ac_link"
11122case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11125esac
11126eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11127$as_echo "$ac_try_echo") >&5
11128 (eval "$ac_link") 2>conftest.er1
11129 ac_status=$?
11130 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1
11132 cat conftest.err >&5
11133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } && {
11135 test -z "$ac_c_werror_flag" ||
11136 test ! -s conftest.err
11137 } && test -s conftest$ac_exeext && {
11138 test "$cross_compiling" = yes ||
11139 $as_test_x conftest$ac_exeext
11140 }; then
11141 xlinux_second_failure=no 7881 xlinux_second_failure=no
11142else 7882else
11143 $as_echo "$as_me: failed program was:" >&5 7883 xlinux_second_failure=yes
11144sed 's/^/| /' conftest.$ac_ext >&5
11145
11146 xlinux_second_failure=yes
11147fi 7884fi
11148 7885rm -f core conftest.err conftest.$ac_objext \
11149rm -rf conftest.dSYM 7886 conftest$ac_exeext conftest.$ac_ext
11150rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11151 conftest$ac_exeext conftest.$ac_ext
11152 if test "${xlinux_second_failure}" = "yes"; then 7887 if test "${xlinux_second_failure}" = "yes"; then
11153 # If we get the same failure with -b, there is no use adding -b. 7888 # If we get the same failure with -b, there is no use adding -b.
11154 # So take it out. This plays safe. 7889 # So take it out. This plays safe.
@@ -11156,27 +7891,23 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11156 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 7891 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
11157 CPPFLAGS="$OLD_CPPFLAGS" 7892 CPPFLAGS="$OLD_CPPFLAGS"
11158 LIBS="$OLD_LIBS" 7893 LIBS="$OLD_LIBS"
11159 { $as_echo "$as_me:$LINENO: result: no" >&5 7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11160$as_echo "no" >&6; } 7895$as_echo "no" >&6; }
11161 else 7896 else
11162 { $as_echo "$as_me:$LINENO: result: yes" >&5 7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11163$as_echo "yes" >&6; } 7898$as_echo "yes" >&6; }
11164 fi 7899 fi
11165 else 7900 else
11166 { $as_echo "$as_me:$LINENO: result: no" >&5 7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167$as_echo "no" >&6; } 7902$as_echo "no" >&6; }
11168 fi 7903 fi
11169 fi 7904 fi
11170 7905
11171 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 7906 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
11172 # header files included from there. 7907 # header files included from there.
11173 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5
11174$as_echo_n "checking for Xkb... " >&6; } 7909$as_echo_n "checking for Xkb... " >&6; }
11175 cat >conftest.$ac_ext <<_ACEOF 7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176/* confdefs.h. */
11177_ACEOF
11178cat confdefs.h >>conftest.$ac_ext
11179cat >>conftest.$ac_ext <<_ACEOF
11180/* end confdefs.h. */ 7911/* end confdefs.h. */
11181#include <X11/Xlib.h> 7912#include <X11/Xlib.h>
11182#include <X11/XKBlib.h> 7913#include <X11/XKBlib.h>
@@ -11188,145 +7919,28 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
11188 return 0; 7919 return 0;
11189} 7920}
11190_ACEOF 7921_ACEOF
11191rm -f conftest.$ac_objext conftest$ac_exeext 7922if ac_fn_c_try_link "$LINENO"; then :
11192if { (ac_try="$ac_link"
11193case "(($ac_try" in
11194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11195 *) ac_try_echo=$ac_try;;
11196esac
11197eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11198$as_echo "$ac_try_echo") >&5
11199 (eval "$ac_link") 2>conftest.er1
11200 ac_status=$?
11201 grep -v '^ *+' conftest.er1 >conftest.err
11202 rm -f conftest.er1
11203 cat conftest.err >&5
11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest$ac_exeext && {
11209 test "$cross_compiling" = yes ||
11210 $as_test_x conftest$ac_exeext
11211 }; then
11212 emacs_xkb=yes 7923 emacs_xkb=yes
11213else 7924else
11214 $as_echo "$as_me: failed program was:" >&5 7925 emacs_xkb=no
11215sed 's/^/| /' conftest.$ac_ext >&5
11216
11217 emacs_xkb=no
11218fi 7926fi
11219 7927rm -f core conftest.err conftest.$ac_objext \
11220rm -rf conftest.dSYM 7928 conftest$ac_exeext conftest.$ac_ext
11221rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5
11222 conftest$ac_exeext conftest.$ac_ext
11223 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5
11224$as_echo "$emacs_xkb" >&6; } 7930$as_echo "$emacs_xkb" >&6; }
11225 if test $emacs_xkb = yes; then 7931 if test $emacs_xkb = yes; then
11226 7932
11227cat >>confdefs.h <<\_ACEOF 7933$as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h
11228#define HAVE_XKBGETKEYBOARD 1
11229_ACEOF
11230 7934
11231 fi 7935 fi
11232 7936
11233 7937 for ac_func in XrmSetDatabase XScreenResourceString \
11234
11235
11236
11237for ac_func in XrmSetDatabase XScreenResourceString \
11238XScreenNumberOfScreen XSetWMProtocols 7938XScreenNumberOfScreen XSetWMProtocols
11239do 7939do :
11240as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11241{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 7941ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11242$as_echo_n "checking for $ac_func... " >&6; } 7942eval as_val=\$$as_ac_var
11243if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7943 if test "x$as_val" = x""yes; then :
11244 $as_echo_n "(cached) " >&6
11245else
11246 cat >conftest.$ac_ext <<_ACEOF
11247/* confdefs.h. */
11248_ACEOF
11249cat confdefs.h >>conftest.$ac_ext
11250cat >>conftest.$ac_ext <<_ACEOF
11251/* end confdefs.h. */
11252/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11254#define $ac_func innocuous_$ac_func
11255
11256/* System header to define __stub macros and hopefully few prototypes,
11257 which can conflict with char $ac_func (); below.
11258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11259 <limits.h> exists even on freestanding compilers. */
11260
11261#ifdef __STDC__
11262# include <limits.h>
11263#else
11264# include <assert.h>
11265#endif
11266
11267#undef $ac_func
11268
11269/* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272#ifdef __cplusplus
11273extern "C"
11274#endif
11275char $ac_func ();
11276/* The GNU C library defines this for functions which it implements
11277 to always fail with ENOSYS. Some functions are actually named
11278 something starting with __ and the normal name is an alias. */
11279#if defined __stub_$ac_func || defined __stub___$ac_func
11280choke me
11281#endif
11282
11283int
11284main ()
11285{
11286return $ac_func ();
11287 ;
11288 return 0;
11289}
11290_ACEOF
11291rm -f conftest.$ac_objext conftest$ac_exeext
11292if { (ac_try="$ac_link"
11293case "(($ac_try" in
11294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11295 *) ac_try_echo=$ac_try;;
11296esac
11297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11298$as_echo "$ac_try_echo") >&5
11299 (eval "$ac_link") 2>conftest.er1
11300 ac_status=$?
11301 grep -v '^ *+' conftest.er1 >conftest.err
11302 rm -f conftest.er1
11303 cat conftest.err >&5
11304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); } && {
11306 test -z "$ac_c_werror_flag" ||
11307 test ! -s conftest.err
11308 } && test -s conftest$ac_exeext && {
11309 test "$cross_compiling" = yes ||
11310 $as_test_x conftest$ac_exeext
11311 }; then
11312 eval "$as_ac_var=yes"
11313else
11314 $as_echo "$as_me: failed program was:" >&5
11315sed 's/^/| /' conftest.$ac_ext >&5
11316
11317 eval "$as_ac_var=no"
11318fi
11319
11320rm -rf conftest.dSYM
11321rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11322 conftest$ac_exeext conftest.$ac_ext
11323fi
11324ac_res=`eval 'as_val=${'$as_ac_var'}
11325 $as_echo "$as_val"'`
11326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11327$as_echo "$ac_res" >&6; }
11328if test `eval 'as_val=${'$as_ac_var'}
11329 $as_echo "$as_val"'` = yes; then
11330 cat >>confdefs.h <<_ACEOF 7944 cat >>confdefs.h <<_ACEOF
11331#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7945#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11332_ACEOF 7946_ACEOF
@@ -11337,16 +7951,12 @@ done
11337fi 7951fi
11338 7952
11339if test "${window_system}" = "x11"; then 7953if test "${window_system}" = "x11"; then
11340 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5
11341$as_echo_n "checking X11 version 6... " >&6; } 7955$as_echo_n "checking X11 version 6... " >&6; }
11342 if test "${emacs_cv_x11_version_6+set}" = set; then 7956 if test "${emacs_cv_x11_version_6+set}" = set; then :
11343 $as_echo_n "(cached) " >&6 7957 $as_echo_n "(cached) " >&6
11344else 7958else
11345 cat >conftest.$ac_ext <<_ACEOF 7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346/* confdefs.h. */
11347_ACEOF
11348cat confdefs.h >>conftest.$ac_ext
11349cat >>conftest.$ac_ext <<_ACEOF
11350/* end confdefs.h. */ 7960/* end confdefs.h. */
11351#include <X11/Xlib.h> 7961#include <X11/Xlib.h>
11352int 7962int
@@ -11360,50 +7970,23 @@ fail;
11360 return 0; 7970 return 0;
11361} 7971}
11362_ACEOF 7972_ACEOF
11363rm -f conftest.$ac_objext conftest$ac_exeext 7973if ac_fn_c_try_link "$LINENO"; then :
11364if { (ac_try="$ac_link"
11365case "(($ac_try" in
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367 *) ac_try_echo=$ac_try;;
11368esac
11369eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11370$as_echo "$ac_try_echo") >&5
11371 (eval "$ac_link") 2>conftest.er1
11372 ac_status=$?
11373 grep -v '^ *+' conftest.er1 >conftest.err
11374 rm -f conftest.er1
11375 cat conftest.err >&5
11376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); } && {
11378 test -z "$ac_c_werror_flag" ||
11379 test ! -s conftest.err
11380 } && test -s conftest$ac_exeext && {
11381 test "$cross_compiling" = yes ||
11382 $as_test_x conftest$ac_exeext
11383 }; then
11384 emacs_cv_x11_version_6=yes 7974 emacs_cv_x11_version_6=yes
11385else 7975else
11386 $as_echo "$as_me: failed program was:" >&5 7976 emacs_cv_x11_version_6=no
11387sed 's/^/| /' conftest.$ac_ext >&5
11388
11389 emacs_cv_x11_version_6=no
11390fi 7977fi
11391 7978rm -f core conftest.err conftest.$ac_objext \
11392rm -rf conftest.dSYM 7979 conftest$ac_exeext conftest.$ac_ext
11393rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11394 conftest$ac_exeext conftest.$ac_ext
11395fi 7980fi
11396 7981
11397 if test $emacs_cv_x11_version_6 = yes; then 7982 if test $emacs_cv_x11_version_6 = yes; then
11398 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5
11399$as_echo "6 or newer" >&6; } 7984$as_echo "6 or newer" >&6; }
11400 7985
11401cat >>confdefs.h <<\_ACEOF 7986$as_echo "#define HAVE_X11R6 1" >>confdefs.h
11402#define HAVE_X11R6 1
11403_ACEOF
11404 7987
11405 else 7988 else
11406 { $as_echo "$as_me:$LINENO: result: before 6" >&5 7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5
11407$as_echo "before 6" >&6; } 7990$as_echo "before 6" >&6; }
11408 fi 7991 fi
11409fi 7992fi
@@ -11421,9 +8004,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then
11421 8004
11422 # Extract the first word of "pkg-config", so it can be a program name with args. 8005 # Extract the first word of "pkg-config", so it can be a program name with args.
11423set dummy pkg-config; ac_word=$2 8006set dummy pkg-config; ac_word=$2
11424{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11425$as_echo_n "checking for $ac_word... " >&6; } 8008$as_echo_n "checking for $ac_word... " >&6; }
11426if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8009if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11427 $as_echo_n "(cached) " >&6 8010 $as_echo_n "(cached) " >&6
11428else 8011else
11429 case $PKG_CONFIG in 8012 case $PKG_CONFIG in
@@ -11436,14 +8019,14 @@ for as_dir in $PATH
11436do 8019do
11437 IFS=$as_save_IFS 8020 IFS=$as_save_IFS
11438 test -z "$as_dir" && as_dir=. 8021 test -z "$as_dir" && as_dir=.
11439 for ac_exec_ext in '' $ac_executable_extensions; do 8022 for ac_exec_ext in '' $ac_executable_extensions; do
11440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11441 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8024 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11442 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11443 break 2 8026 break 2
11444 fi 8027 fi
11445done 8028done
11446done 8029 done
11447IFS=$as_save_IFS 8030IFS=$as_save_IFS
11448 8031
11449 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8032 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -11452,10 +8035,10 @@ esac
11452fi 8035fi
11453PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8036PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11454if test -n "$PKG_CONFIG"; then 8037if test -n "$PKG_CONFIG"; then
11455 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11456$as_echo "$PKG_CONFIG" >&6; } 8039$as_echo "$PKG_CONFIG" >&6; }
11457else 8040else
11458 { $as_echo "$as_me:$LINENO: result: no" >&5 8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459$as_echo "no" >&6; } 8042$as_echo "no" >&6; }
11460fi 8043fi
11461 8044
@@ -11466,27 +8049,27 @@ fi
11466 else 8049 else
11467 PKG_CONFIG_MIN_VERSION=0.9.0 8050 PKG_CONFIG_MIN_VERSION=0.9.0
11468 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8051 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11469 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5
11470$as_echo_n "checking for $RSVG_MODULE... " >&6; } 8053$as_echo_n "checking for $RSVG_MODULE... " >&6; }
11471 8054
11472 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 8055 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
11473 { $as_echo "$as_me:$LINENO: result: yes" >&5 8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11474$as_echo "yes" >&6; } 8057$as_echo "yes" >&6; }
11475 succeeded=yes 8058 succeeded=yes
11476 8059
11477 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5
11478$as_echo_n "checking RSVG_CFLAGS... " >&6; } 8061$as_echo_n "checking RSVG_CFLAGS... " >&6; }
11479 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 8062 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11480 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5
11481$as_echo "$RSVG_CFLAGS" >&6; } 8064$as_echo "$RSVG_CFLAGS" >&6; }
11482 8065
11483 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5
11484$as_echo_n "checking RSVG_LIBS... " >&6; } 8067$as_echo_n "checking RSVG_LIBS... " >&6; }
11485 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 8068 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11486 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5
11487$as_echo "$RSVG_LIBS" >&6; } 8070$as_echo "$RSVG_LIBS" >&6; }
11488 else 8071 else
11489 { $as_echo "$as_me:$LINENO: result: no" >&5 8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11490$as_echo "no" >&6; } 8073$as_echo "no" >&6; }
11491 RSVG_CFLAGS="" 8074 RSVG_CFLAGS=""
11492 RSVG_LIBS="" 8075 RSVG_LIBS=""
@@ -11516,9 +8099,7 @@ $as_echo "no" >&6; }
11516 if test ".${RSVG_CFLAGS}" != "."; then 8099 if test ".${RSVG_CFLAGS}" != "."; then
11517 HAVE_RSVG=yes 8100 HAVE_RSVG=yes
11518 8101
11519cat >>confdefs.h <<\_ACEOF 8102$as_echo "#define HAVE_RSVG 1" >>confdefs.h
11520#define HAVE_RSVG 1
11521_ACEOF
11522 8103
11523 CFLAGS="$CFLAGS $RSVG_CFLAGS" 8104 CFLAGS="$CFLAGS $RSVG_CFLAGS"
11524 LIBS="$RSVG_LIBS $LIBS" 8105 LIBS="$RSVG_LIBS $LIBS"
@@ -11538,9 +8119,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
11538 8119
11539 # Extract the first word of "pkg-config", so it can be a program name with args. 8120 # Extract the first word of "pkg-config", so it can be a program name with args.
11540set dummy pkg-config; ac_word=$2 8121set dummy pkg-config; ac_word=$2
11541{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11542$as_echo_n "checking for $ac_word... " >&6; } 8123$as_echo_n "checking for $ac_word... " >&6; }
11543if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8124if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11544 $as_echo_n "(cached) " >&6 8125 $as_echo_n "(cached) " >&6
11545else 8126else
11546 case $PKG_CONFIG in 8127 case $PKG_CONFIG in
@@ -11553,14 +8134,14 @@ for as_dir in $PATH
11553do 8134do
11554 IFS=$as_save_IFS 8135 IFS=$as_save_IFS
11555 test -z "$as_dir" && as_dir=. 8136 test -z "$as_dir" && as_dir=.
11556 for ac_exec_ext in '' $ac_executable_extensions; do 8137 for ac_exec_ext in '' $ac_executable_extensions; do
11557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11558 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8139 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11560 break 2 8141 break 2
11561 fi 8142 fi
11562done 8143done
11563done 8144 done
11564IFS=$as_save_IFS 8145IFS=$as_save_IFS
11565 8146
11566 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8147 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -11569,10 +8150,10 @@ esac
11569fi 8150fi
11570PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8151PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11571if test -n "$PKG_CONFIG"; then 8152if test -n "$PKG_CONFIG"; then
11572 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11573$as_echo "$PKG_CONFIG" >&6; } 8154$as_echo "$PKG_CONFIG" >&6; }
11574else 8155else
11575 { $as_echo "$as_me:$LINENO: result: no" >&5 8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11576$as_echo "no" >&6; } 8157$as_echo "no" >&6; }
11577fi 8158fi
11578 8159
@@ -11583,27 +8164,27 @@ fi
11583 else 8164 else
11584 PKG_CONFIG_MIN_VERSION=0.9.0 8165 PKG_CONFIG_MIN_VERSION=0.9.0
11585 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8166 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11586 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5
11587$as_echo_n "checking for $GTK_MODULES... " >&6; } 8168$as_echo_n "checking for $GTK_MODULES... " >&6; }
11588 8169
11589 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 8170 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
11590 { $as_echo "$as_me:$LINENO: result: yes" >&5 8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11591$as_echo "yes" >&6; } 8172$as_echo "yes" >&6; }
11592 succeeded=yes 8173 succeeded=yes
11593 8174
11594 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
11595$as_echo_n "checking GTK_CFLAGS... " >&6; } 8176$as_echo_n "checking GTK_CFLAGS... " >&6; }
11596 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 8177 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
11597 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
11598$as_echo "$GTK_CFLAGS" >&6; } 8179$as_echo "$GTK_CFLAGS" >&6; }
11599 8180
11600 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
11601$as_echo_n "checking GTK_LIBS... " >&6; } 8182$as_echo_n "checking GTK_LIBS... " >&6; }
11602 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 8183 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
11603 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
11604$as_echo "$GTK_LIBS" >&6; } 8185$as_echo "$GTK_LIBS" >&6; }
11605 else 8186 else
11606 { $as_echo "$as_me:$LINENO: result: no" >&5 8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607$as_echo "no" >&6; } 8188$as_echo "no" >&6; }
11608 GTK_CFLAGS="" 8189 GTK_CFLAGS=""
11609 GTK_LIBS="" 8190 GTK_LIBS=""
@@ -11628,9 +8209,7 @@ $as_echo "no" >&6; }
11628 fi 8209 fi
11629 8210
11630 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8211 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
11631 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 8212 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
11632$as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11633 { (exit 1); exit 1; }; }
11634 fi 8213 fi
11635fi 8214fi
11636 8215
@@ -11644,101 +8223,12 @@ if test x"$pkg_check_gtk" = xyes; then
11644 CFLAGS="$CFLAGS $GTK_CFLAGS" 8223 CFLAGS="$CFLAGS $GTK_CFLAGS"
11645 LIBS="$GTK_LIBS $LIBS" 8224 LIBS="$GTK_LIBS $LIBS"
11646 GTK_COMPILES=no 8225 GTK_COMPILES=no
11647 8226 for ac_func in gtk_main
11648for ac_func in gtk_main 8227do :
11649do 8228 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
11650as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8229if test "x$ac_cv_func_gtk_main" = x""yes; then :
11651{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11652$as_echo_n "checking for $ac_func... " >&6; }
11653if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11654 $as_echo_n "(cached) " >&6
11655else
11656 cat >conftest.$ac_ext <<_ACEOF
11657/* confdefs.h. */
11658_ACEOF
11659cat confdefs.h >>conftest.$ac_ext
11660cat >>conftest.$ac_ext <<_ACEOF
11661/* end confdefs.h. */
11662/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11664#define $ac_func innocuous_$ac_func
11665
11666/* System header to define __stub macros and hopefully few prototypes,
11667 which can conflict with char $ac_func (); below.
11668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11669 <limits.h> exists even on freestanding compilers. */
11670
11671#ifdef __STDC__
11672# include <limits.h>
11673#else
11674# include <assert.h>
11675#endif
11676
11677#undef $ac_func
11678
11679/* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11682#ifdef __cplusplus
11683extern "C"
11684#endif
11685char $ac_func ();
11686/* The GNU C library defines this for functions which it implements
11687 to always fail with ENOSYS. Some functions are actually named
11688 something starting with __ and the normal name is an alias. */
11689#if defined __stub_$ac_func || defined __stub___$ac_func
11690choke me
11691#endif
11692
11693int
11694main ()
11695{
11696return $ac_func ();
11697 ;
11698 return 0;
11699}
11700_ACEOF
11701rm -f conftest.$ac_objext conftest$ac_exeext
11702if { (ac_try="$ac_link"
11703case "(($ac_try" in
11704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705 *) ac_try_echo=$ac_try;;
11706esac
11707eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11708$as_echo "$ac_try_echo") >&5
11709 (eval "$ac_link") 2>conftest.er1
11710 ac_status=$?
11711 grep -v '^ *+' conftest.er1 >conftest.err
11712 rm -f conftest.er1
11713 cat conftest.err >&5
11714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } && {
11716 test -z "$ac_c_werror_flag" ||
11717 test ! -s conftest.err
11718 } && test -s conftest$ac_exeext && {
11719 test "$cross_compiling" = yes ||
11720 $as_test_x conftest$ac_exeext
11721 }; then
11722 eval "$as_ac_var=yes"
11723else
11724 $as_echo "$as_me: failed program was:" >&5
11725sed 's/^/| /' conftest.$ac_ext >&5
11726
11727 eval "$as_ac_var=no"
11728fi
11729
11730rm -rf conftest.dSYM
11731rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11732 conftest$ac_exeext conftest.$ac_ext
11733fi
11734ac_res=`eval 'as_val=${'$as_ac_var'}
11735 $as_echo "$as_val"'`
11736 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11737$as_echo "$ac_res" >&6; }
11738if test `eval 'as_val=${'$as_ac_var'}
11739 $as_echo "$as_val"'` = yes; then
11740 cat >>confdefs.h <<_ACEOF 8230 cat >>confdefs.h <<_ACEOF
11741#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8231#define HAVE_GTK_MAIN 1
11742_ACEOF 8232_ACEOF
11743 GTK_COMPILES=yes 8233 GTK_COMPILES=yes
11744fi 8234fi
@@ -11746,23 +8236,19 @@ done
11746 8236
11747 if test "${GTK_COMPILES}" != "yes"; then 8237 if test "${GTK_COMPILES}" != "yes"; then
11748 if test "$USE_X_TOOLKIT" != "maybe"; then 8238 if test "$USE_X_TOOLKIT" != "maybe"; then
11749 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 8239 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
11750$as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11751 { (exit 1); exit 1; }; };
11752 fi 8240 fi
11753 else 8241 else
11754 HAVE_GTK=yes 8242 HAVE_GTK=yes
11755 8243
11756cat >>confdefs.h <<\_ACEOF 8244$as_echo "#define USE_GTK 1" >>confdefs.h
11757#define USE_GTK 1
11758_ACEOF
11759 8245
11760 GTK_OBJ=gtkutil.o 8246 GTK_OBJ=gtkutil.o
11761 USE_X_TOOLKIT=none 8247 USE_X_TOOLKIT=none
11762 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 8248 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
11763 : 8249 :
11764 else 8250 else
11765 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with 8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with
11766 closing open displays. This is no problem if you just use 8252 closing open displays. This is no problem if you just use
11767 one display, but if you use more than one and close one of them 8253 one display, but if you use more than one and close one of them
11768 Emacs may crash." >&5 8254 Emacs may crash." >&5
@@ -11785,101 +8271,12 @@ if test "${HAVE_GTK}" = "yes"; then
11785 fi 8271 fi
11786 8272
11787 HAVE_GTK_MULTIDISPLAY=no 8273 HAVE_GTK_MULTIDISPLAY=no
11788 8274 for ac_func in gdk_display_open
11789for ac_func in gdk_display_open 8275do :
11790do 8276 ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open"
11791as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8277if test "x$ac_cv_func_gdk_display_open" = x""yes; then :
11792{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11793$as_echo_n "checking for $ac_func... " >&6; }
11794if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11795 $as_echo_n "(cached) " >&6
11796else
11797 cat >conftest.$ac_ext <<_ACEOF
11798/* confdefs.h. */
11799_ACEOF
11800cat confdefs.h >>conftest.$ac_ext
11801cat >>conftest.$ac_ext <<_ACEOF
11802/* end confdefs.h. */
11803/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11805#define $ac_func innocuous_$ac_func
11806
11807/* System header to define __stub macros and hopefully few prototypes,
11808 which can conflict with char $ac_func (); below.
11809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11810 <limits.h> exists even on freestanding compilers. */
11811
11812#ifdef __STDC__
11813# include <limits.h>
11814#else
11815# include <assert.h>
11816#endif
11817
11818#undef $ac_func
11819
11820/* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11823#ifdef __cplusplus
11824extern "C"
11825#endif
11826char $ac_func ();
11827/* The GNU C library defines this for functions which it implements
11828 to always fail with ENOSYS. Some functions are actually named
11829 something starting with __ and the normal name is an alias. */
11830#if defined __stub_$ac_func || defined __stub___$ac_func
11831choke me
11832#endif
11833
11834int
11835main ()
11836{
11837return $ac_func ();
11838 ;
11839 return 0;
11840}
11841_ACEOF
11842rm -f conftest.$ac_objext conftest$ac_exeext
11843if { (ac_try="$ac_link"
11844case "(($ac_try" in
11845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11846 *) ac_try_echo=$ac_try;;
11847esac
11848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11849$as_echo "$ac_try_echo") >&5
11850 (eval "$ac_link") 2>conftest.er1
11851 ac_status=$?
11852 grep -v '^ *+' conftest.er1 >conftest.err
11853 rm -f conftest.er1
11854 cat conftest.err >&5
11855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } && {
11857 test -z "$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11859 } && test -s conftest$ac_exeext && {
11860 test "$cross_compiling" = yes ||
11861 $as_test_x conftest$ac_exeext
11862 }; then
11863 eval "$as_ac_var=yes"
11864else
11865 $as_echo "$as_me: failed program was:" >&5
11866sed 's/^/| /' conftest.$ac_ext >&5
11867
11868 eval "$as_ac_var=no"
11869fi
11870
11871rm -rf conftest.dSYM
11872rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11873 conftest$ac_exeext conftest.$ac_ext
11874fi
11875ac_res=`eval 'as_val=${'$as_ac_var'}
11876 $as_echo "$as_val"'`
11877 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11878$as_echo "$ac_res" >&6; }
11879if test `eval 'as_val=${'$as_ac_var'}
11880 $as_echo "$as_val"'` = yes; then
11881 cat >>confdefs.h <<_ACEOF 8278 cat >>confdefs.h <<_ACEOF
11882#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8279#define HAVE_GDK_DISPLAY_OPEN 1
11883_ACEOF 8280_ACEOF
11884 HAVE_GTK_MULTIDISPLAY=yes 8281 HAVE_GTK_MULTIDISPLAY=yes
11885fi 8282fi
@@ -11887,170 +8284,27 @@ done
11887 8284
11888 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then 8285 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
11889 8286
11890cat >>confdefs.h <<\_ACEOF 8287$as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h
11891#define HAVE_GTK_MULTIDISPLAY 1
11892_ACEOF
11893 8288
11894 fi 8289 fi
11895 8290
11896 HAVE_GTK_FILE_SELECTION=no 8291 HAVE_GTK_FILE_SELECTION=no
11897 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 8292 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default
11898$as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; }
11899if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then
11900 $as_echo_n "(cached) " >&6
11901else
11902 cat >conftest.$ac_ext <<_ACEOF
11903/* confdefs.h. */
11904_ACEOF
11905cat confdefs.h >>conftest.$ac_ext
11906cat >>conftest.$ac_ext <<_ACEOF
11907/* end confdefs.h. */
11908$ac_includes_default
11909#include <gtk/gtk.h> 8293#include <gtk/gtk.h>
11910 8294"
11911int 8295if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then :
11912main ()
11913{
11914#ifndef GTK_TYPE_FILE_SELECTION
11915 (void) GTK_TYPE_FILE_SELECTION;
11916#endif
11917
11918 ;
11919 return 0;
11920}
11921_ACEOF
11922rm -f conftest.$ac_objext
11923if { (ac_try="$ac_compile"
11924case "(($ac_try" in
11925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11926 *) ac_try_echo=$ac_try;;
11927esac
11928eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11929$as_echo "$ac_try_echo") >&5
11930 (eval "$ac_compile") 2>conftest.er1
11931 ac_status=$?
11932 grep -v '^ *+' conftest.er1 >conftest.err
11933 rm -f conftest.er1
11934 cat conftest.err >&5
11935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); } && {
11937 test -z "$ac_c_werror_flag" ||
11938 test ! -s conftest.err
11939 } && test -s conftest.$ac_objext; then
11940 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes
11941else
11942 $as_echo "$as_me: failed program was:" >&5
11943sed 's/^/| /' conftest.$ac_ext >&5
11944
11945 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no
11946fi
11947
11948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11949fi
11950{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
11951$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
11952if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then
11953 HAVE_GTK_FILE_SELECTION=yes 8296 HAVE_GTK_FILE_SELECTION=yes
11954else 8297else
11955 HAVE_GTK_FILE_SELECTION=no 8298 HAVE_GTK_FILE_SELECTION=no
11956fi 8299fi
11957 8300
11958 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 8301 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
11959 8302 for ac_func in gtk_file_selection_new
11960for ac_func in gtk_file_selection_new 8303do :
11961do 8304 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new"
11962as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8305if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then :
11963{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11964$as_echo_n "checking for $ac_func... " >&6; }
11965if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11966 $as_echo_n "(cached) " >&6
11967else
11968 cat >conftest.$ac_ext <<_ACEOF
11969/* confdefs.h. */
11970_ACEOF
11971cat confdefs.h >>conftest.$ac_ext
11972cat >>conftest.$ac_ext <<_ACEOF
11973/* end confdefs.h. */
11974/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11976#define $ac_func innocuous_$ac_func
11977
11978/* System header to define __stub macros and hopefully few prototypes,
11979 which can conflict with char $ac_func (); below.
11980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11981 <limits.h> exists even on freestanding compilers. */
11982
11983#ifdef __STDC__
11984# include <limits.h>
11985#else
11986# include <assert.h>
11987#endif
11988
11989#undef $ac_func
11990
11991/* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11994#ifdef __cplusplus
11995extern "C"
11996#endif
11997char $ac_func ();
11998/* The GNU C library defines this for functions which it implements
11999 to always fail with ENOSYS. Some functions are actually named
12000 something starting with __ and the normal name is an alias. */
12001#if defined __stub_$ac_func || defined __stub___$ac_func
12002choke me
12003#endif
12004
12005int
12006main ()
12007{
12008return $ac_func ();
12009 ;
12010 return 0;
12011}
12012_ACEOF
12013rm -f conftest.$ac_objext conftest$ac_exeext
12014if { (ac_try="$ac_link"
12015case "(($ac_try" in
12016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017 *) ac_try_echo=$ac_try;;
12018esac
12019eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12020$as_echo "$ac_try_echo") >&5
12021 (eval "$ac_link") 2>conftest.er1
12022 ac_status=$?
12023 grep -v '^ *+' conftest.er1 >conftest.err
12024 rm -f conftest.er1
12025 cat conftest.err >&5
12026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } && {
12028 test -z "$ac_c_werror_flag" ||
12029 test ! -s conftest.err
12030 } && test -s conftest$ac_exeext && {
12031 test "$cross_compiling" = yes ||
12032 $as_test_x conftest$ac_exeext
12033 }; then
12034 eval "$as_ac_var=yes"
12035else
12036 $as_echo "$as_me: failed program was:" >&5
12037sed 's/^/| /' conftest.$ac_ext >&5
12038
12039 eval "$as_ac_var=no"
12040fi
12041
12042rm -rf conftest.dSYM
12043rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12044 conftest$ac_exeext conftest.$ac_ext
12045fi
12046ac_res=`eval 'as_val=${'$as_ac_var'}
12047 $as_echo "$as_val"'`
12048 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12049$as_echo "$ac_res" >&6; }
12050if test `eval 'as_val=${'$as_ac_var'}
12051 $as_echo "$as_val"'` = yes; then
12052 cat >>confdefs.h <<_ACEOF 8306 cat >>confdefs.h <<_ACEOF
12053#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8307#define HAVE_GTK_FILE_SELECTION_NEW 1
12054_ACEOF 8308_ACEOF
12055 HAVE_GTK_FILE_SELECTION=yes 8309 HAVE_GTK_FILE_SELECTION=yes
12056else 8310else
@@ -12061,163 +8315,22 @@ done
12061 fi 8315 fi
12062 8316
12063 HAVE_GTK_FILE_CHOOSER=no 8317 HAVE_GTK_FILE_CHOOSER=no
12064 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 8318 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default
12065$as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; }
12066if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then
12067 $as_echo_n "(cached) " >&6
12068else
12069 cat >conftest.$ac_ext <<_ACEOF
12070/* confdefs.h. */
12071_ACEOF
12072cat confdefs.h >>conftest.$ac_ext
12073cat >>conftest.$ac_ext <<_ACEOF
12074/* end confdefs.h. */
12075$ac_includes_default
12076#include <gtk/gtk.h> 8319#include <gtk/gtk.h>
12077 8320"
12078int 8321if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then :
12079main ()
12080{
12081#ifndef GTK_TYPE_FILE_CHOOSER
12082 (void) GTK_TYPE_FILE_CHOOSER;
12083#endif
12084
12085 ;
12086 return 0;
12087}
12088_ACEOF
12089rm -f conftest.$ac_objext
12090if { (ac_try="$ac_compile"
12091case "(($ac_try" in
12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12094esac
12095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12096$as_echo "$ac_try_echo") >&5
12097 (eval "$ac_compile") 2>conftest.er1
12098 ac_status=$?
12099 grep -v '^ *+' conftest.er1 >conftest.err
12100 rm -f conftest.er1
12101 cat conftest.err >&5
12102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } && {
12104 test -z "$ac_c_werror_flag" ||
12105 test ! -s conftest.err
12106 } && test -s conftest.$ac_objext; then
12107 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes
12108else
12109 $as_echo "$as_me: failed program was:" >&5
12110sed 's/^/| /' conftest.$ac_ext >&5
12111
12112 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no
12113fi
12114
12115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12116fi
12117{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
12118$as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
12119if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then
12120 HAVE_GTK_FILE_CHOOSER=yes 8322 HAVE_GTK_FILE_CHOOSER=yes
12121else 8323else
12122 HAVE_GTK_FILE_CHOOSER=no 8324 HAVE_GTK_FILE_CHOOSER=no
12123fi 8325fi
12124 8326
12125 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 8327 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
12126 8328 for ac_func in gtk_file_chooser_dialog_new
12127for ac_func in gtk_file_chooser_dialog_new 8329do :
12128do 8330 ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new"
12129as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8331if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then :
12130{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12131$as_echo_n "checking for $ac_func... " >&6; }
12132if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12133 $as_echo_n "(cached) " >&6
12134else
12135 cat >conftest.$ac_ext <<_ACEOF
12136/* confdefs.h. */
12137_ACEOF
12138cat confdefs.h >>conftest.$ac_ext
12139cat >>conftest.$ac_ext <<_ACEOF
12140/* end confdefs.h. */
12141/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12143#define $ac_func innocuous_$ac_func
12144
12145/* System header to define __stub macros and hopefully few prototypes,
12146 which can conflict with char $ac_func (); below.
12147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12148 <limits.h> exists even on freestanding compilers. */
12149
12150#ifdef __STDC__
12151# include <limits.h>
12152#else
12153# include <assert.h>
12154#endif
12155
12156#undef $ac_func
12157
12158/* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161#ifdef __cplusplus
12162extern "C"
12163#endif
12164char $ac_func ();
12165/* The GNU C library defines this for functions which it implements
12166 to always fail with ENOSYS. Some functions are actually named
12167 something starting with __ and the normal name is an alias. */
12168#if defined __stub_$ac_func || defined __stub___$ac_func
12169choke me
12170#endif
12171
12172int
12173main ()
12174{
12175return $ac_func ();
12176 ;
12177 return 0;
12178}
12179_ACEOF
12180rm -f conftest.$ac_objext conftest$ac_exeext
12181if { (ac_try="$ac_link"
12182case "(($ac_try" in
12183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12184 *) ac_try_echo=$ac_try;;
12185esac
12186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12187$as_echo "$ac_try_echo") >&5
12188 (eval "$ac_link") 2>conftest.er1
12189 ac_status=$?
12190 grep -v '^ *+' conftest.er1 >conftest.err
12191 rm -f conftest.er1
12192 cat conftest.err >&5
12193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } && {
12195 test -z "$ac_c_werror_flag" ||
12196 test ! -s conftest.err
12197 } && test -s conftest$ac_exeext && {
12198 test "$cross_compiling" = yes ||
12199 $as_test_x conftest$ac_exeext
12200 }; then
12201 eval "$as_ac_var=yes"
12202else
12203 $as_echo "$as_me: failed program was:" >&5
12204sed 's/^/| /' conftest.$ac_ext >&5
12205
12206 eval "$as_ac_var=no"
12207fi
12208
12209rm -rf conftest.dSYM
12210rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12211 conftest$ac_exeext conftest.$ac_ext
12212fi
12213ac_res=`eval 'as_val=${'$as_ac_var'}
12214 $as_echo "$as_val"'`
12215 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12216$as_echo "$ac_res" >&6; }
12217if test `eval 'as_val=${'$as_ac_var'}
12218 $as_echo "$as_val"'` = yes; then
12219 cat >>confdefs.h <<_ACEOF 8332 cat >>confdefs.h <<_ACEOF
12220#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8333#define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1
12221_ACEOF 8334_ACEOF
12222 HAVE_GTK_FILE_CHOOSER=yes 8335 HAVE_GTK_FILE_CHOOSER=yes
12223else 8336else
@@ -12230,153 +8343,18 @@ done
12230 if test "$HAVE_GTK_FILE_SELECTION" = yes \ 8343 if test "$HAVE_GTK_FILE_SELECTION" = yes \
12231 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then 8344 && test "$HAVE_GTK_FILE_CHOOSER" = yes; then
12232 8345
12233cat >>confdefs.h <<\_ACEOF 8346$as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h
12234#define HAVE_GTK_FILE_BOTH 1
12235_ACEOF
12236 8347
12237 fi 8348 fi
12238 8349
12239 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 8350 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
12240 HAVE_GTK_AND_PTHREAD=no 8351 HAVE_GTK_AND_PTHREAD=no
12241 8352 for ac_header in pthread.h
12242for ac_header in pthread.h 8353do :
12243do 8354 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12244as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8355if test "x$ac_cv_header_pthread_h" = x""yes; then :
12245if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12246 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12247$as_echo_n "checking for $ac_header... " >&6; }
12248if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12249 $as_echo_n "(cached) " >&6
12250fi
12251ac_res=`eval 'as_val=${'$as_ac_Header'}
12252 $as_echo "$as_val"'`
12253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12254$as_echo "$ac_res" >&6; }
12255else
12256 # Is the header compilable?
12257{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12258$as_echo_n "checking $ac_header usability... " >&6; }
12259cat >conftest.$ac_ext <<_ACEOF
12260/* confdefs.h. */
12261_ACEOF
12262cat confdefs.h >>conftest.$ac_ext
12263cat >>conftest.$ac_ext <<_ACEOF
12264/* end confdefs.h. */
12265$ac_includes_default
12266#include <$ac_header>
12267_ACEOF
12268rm -f conftest.$ac_objext
12269if { (ac_try="$ac_compile"
12270case "(($ac_try" in
12271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12272 *) ac_try_echo=$ac_try;;
12273esac
12274eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12275$as_echo "$ac_try_echo") >&5
12276 (eval "$ac_compile") 2>conftest.er1
12277 ac_status=$?
12278 grep -v '^ *+' conftest.er1 >conftest.err
12279 rm -f conftest.er1
12280 cat conftest.err >&5
12281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } && {
12283 test -z "$ac_c_werror_flag" ||
12284 test ! -s conftest.err
12285 } && test -s conftest.$ac_objext; then
12286 ac_header_compiler=yes
12287else
12288 $as_echo "$as_me: failed program was:" >&5
12289sed 's/^/| /' conftest.$ac_ext >&5
12290
12291 ac_header_compiler=no
12292fi
12293
12294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12295{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12296$as_echo "$ac_header_compiler" >&6; }
12297
12298# Is the header present?
12299{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12300$as_echo_n "checking $ac_header presence... " >&6; }
12301cat >conftest.$ac_ext <<_ACEOF
12302/* confdefs.h. */
12303_ACEOF
12304cat confdefs.h >>conftest.$ac_ext
12305cat >>conftest.$ac_ext <<_ACEOF
12306/* end confdefs.h. */
12307#include <$ac_header>
12308_ACEOF
12309if { (ac_try="$ac_cpp conftest.$ac_ext"
12310case "(($ac_try" in
12311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12312 *) ac_try_echo=$ac_try;;
12313esac
12314eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12315$as_echo "$ac_try_echo") >&5
12316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12317 ac_status=$?
12318 grep -v '^ *+' conftest.er1 >conftest.err
12319 rm -f conftest.er1
12320 cat conftest.err >&5
12321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } >/dev/null && {
12323 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12324 test ! -s conftest.err
12325 }; then
12326 ac_header_preproc=yes
12327else
12328 $as_echo "$as_me: failed program was:" >&5
12329sed 's/^/| /' conftest.$ac_ext >&5
12330
12331 ac_header_preproc=no
12332fi
12333
12334rm -f conftest.err conftest.$ac_ext
12335{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12336$as_echo "$ac_header_preproc" >&6; }
12337
12338# So? What about this header?
12339case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12340 yes:no: )
12341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12342$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12344$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12345 ac_header_preproc=yes
12346 ;;
12347 no:yes:* )
12348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12349$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12351$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12353$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12355$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12357$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12359$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12360
12361 ;;
12362esac
12363{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12364$as_echo_n "checking for $ac_header... " >&6; }
12365if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12366 $as_echo_n "(cached) " >&6
12367else
12368 eval "$as_ac_Header=\$ac_header_preproc"
12369fi
12370ac_res=`eval 'as_val=${'$as_ac_Header'}
12371 $as_echo "$as_val"'`
12372 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12373$as_echo "$ac_res" >&6; }
12374
12375fi
12376if test `eval 'as_val=${'$as_ac_Header'}
12377 $as_echo "$as_val"'` = yes; then
12378 cat >>confdefs.h <<_ACEOF 8356 cat >>confdefs.h <<_ACEOF
12379#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8357#define HAVE_PTHREAD_H 1
12380_ACEOF 8358_ACEOF
12381 8359
12382fi 8360fi
@@ -12384,18 +8362,14 @@ fi
12384done 8362done
12385 8363
12386 if test "$ac_cv_header_pthread_h"; then 8364 if test "$ac_cv_header_pthread_h"; then
12387 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5
12388$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 8366$as_echo_n "checking for pthread_self in -lpthread... " >&6; }
12389if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 8367if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then :
12390 $as_echo_n "(cached) " >&6 8368 $as_echo_n "(cached) " >&6
12391else 8369else
12392 ac_check_lib_save_LIBS=$LIBS 8370 ac_check_lib_save_LIBS=$LIBS
12393LIBS="-lpthread $LIBS" 8371LIBS="-lpthread $LIBS"
12394cat >conftest.$ac_ext <<_ACEOF 8372cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395/* confdefs.h. */
12396_ACEOF
12397cat confdefs.h >>conftest.$ac_ext
12398cat >>conftest.$ac_ext <<_ACEOF
12399/* end confdefs.h. */ 8373/* end confdefs.h. */
12400 8374
12401/* Override any GCC internal prototype to avoid an error. 8375/* Override any GCC internal prototype to avoid an error.
@@ -12413,43 +8387,18 @@ return pthread_self ();
12413 return 0; 8387 return 0;
12414} 8388}
12415_ACEOF 8389_ACEOF
12416rm -f conftest.$ac_objext conftest$ac_exeext 8390if ac_fn_c_try_link "$LINENO"; then :
12417if { (ac_try="$ac_link"
12418case "(($ac_try" in
12419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12420 *) ac_try_echo=$ac_try;;
12421esac
12422eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12423$as_echo "$ac_try_echo") >&5
12424 (eval "$ac_link") 2>conftest.er1
12425 ac_status=$?
12426 grep -v '^ *+' conftest.er1 >conftest.err
12427 rm -f conftest.er1
12428 cat conftest.err >&5
12429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } && {
12431 test -z "$ac_c_werror_flag" ||
12432 test ! -s conftest.err
12433 } && test -s conftest$ac_exeext && {
12434 test "$cross_compiling" = yes ||
12435 $as_test_x conftest$ac_exeext
12436 }; then
12437 ac_cv_lib_pthread_pthread_self=yes 8391 ac_cv_lib_pthread_pthread_self=yes
12438else 8392else
12439 $as_echo "$as_me: failed program was:" >&5 8393 ac_cv_lib_pthread_pthread_self=no
12440sed 's/^/| /' conftest.$ac_ext >&5
12441
12442 ac_cv_lib_pthread_pthread_self=no
12443fi 8394fi
12444 8395rm -f core conftest.err conftest.$ac_objext \
12445rm -rf conftest.dSYM 8396 conftest$ac_exeext conftest.$ac_ext
12446rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12447 conftest$ac_exeext conftest.$ac_ext
12448LIBS=$ac_check_lib_save_LIBS 8397LIBS=$ac_check_lib_save_LIBS
12449fi 8398fi
12450{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 8399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5
12451$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 8400$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
12452if test $ac_cv_lib_pthread_pthread_self = yes; then 8401if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then :
12453 HAVE_GTK_AND_PTHREAD=yes 8402 HAVE_GTK_AND_PTHREAD=yes
12454fi 8403fi
12455 8404
@@ -12460,9 +8409,7 @@ fi
12460 *) GTK_LIBS="$GTK_LIBS -lpthread" ;; 8409 *) GTK_LIBS="$GTK_LIBS -lpthread" ;;
12461 esac 8410 esac
12462 8411
12463cat >>confdefs.h <<\_ACEOF 8412$as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h
12464#define HAVE_GTK_AND_PTHREAD 1
12465_ACEOF
12466 8413
12467 fi 8414 fi
12468 fi 8415 fi
@@ -12476,9 +8423,9 @@ if test "${with_dbus}" = "yes"; then
12476 8423
12477 # Extract the first word of "pkg-config", so it can be a program name with args. 8424 # Extract the first word of "pkg-config", so it can be a program name with args.
12478set dummy pkg-config; ac_word=$2 8425set dummy pkg-config; ac_word=$2
12479{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12480$as_echo_n "checking for $ac_word... " >&6; } 8427$as_echo_n "checking for $ac_word... " >&6; }
12481if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8428if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12482 $as_echo_n "(cached) " >&6 8429 $as_echo_n "(cached) " >&6
12483else 8430else
12484 case $PKG_CONFIG in 8431 case $PKG_CONFIG in
@@ -12491,14 +8438,14 @@ for as_dir in $PATH
12491do 8438do
12492 IFS=$as_save_IFS 8439 IFS=$as_save_IFS
12493 test -z "$as_dir" && as_dir=. 8440 test -z "$as_dir" && as_dir=.
12494 for ac_exec_ext in '' $ac_executable_extensions; do 8441 for ac_exec_ext in '' $ac_executable_extensions; do
12495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12496 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8443 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12497 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12498 break 2 8445 break 2
12499 fi 8446 fi
12500done 8447done
12501done 8448 done
12502IFS=$as_save_IFS 8449IFS=$as_save_IFS
12503 8450
12504 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8451 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -12507,10 +8454,10 @@ esac
12507fi 8454fi
12508PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8455PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12509if test -n "$PKG_CONFIG"; then 8456if test -n "$PKG_CONFIG"; then
12510 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12511$as_echo "$PKG_CONFIG" >&6; } 8458$as_echo "$PKG_CONFIG" >&6; }
12512else 8459else
12513 { $as_echo "$as_me:$LINENO: result: no" >&5 8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12514$as_echo "no" >&6; } 8461$as_echo "no" >&6; }
12515fi 8462fi
12516 8463
@@ -12521,27 +8468,27 @@ fi
12521 else 8468 else
12522 PKG_CONFIG_MIN_VERSION=0.9.0 8469 PKG_CONFIG_MIN_VERSION=0.9.0
12523 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8470 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12524 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5
12525$as_echo_n "checking for dbus-1 >= 1.0... " >&6; } 8472$as_echo_n "checking for dbus-1 >= 1.0... " >&6; }
12526 8473
12527 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 8474 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
12528 { $as_echo "$as_me:$LINENO: result: yes" >&5 8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12529$as_echo "yes" >&6; } 8476$as_echo "yes" >&6; }
12530 succeeded=yes 8477 succeeded=yes
12531 8478
12532 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5
12533$as_echo_n "checking DBUS_CFLAGS... " >&6; } 8480$as_echo_n "checking DBUS_CFLAGS... " >&6; }
12534 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 8481 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12535 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5
12536$as_echo "$DBUS_CFLAGS" >&6; } 8483$as_echo "$DBUS_CFLAGS" >&6; }
12537 8484
12538 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5
12539$as_echo_n "checking DBUS_LIBS... " >&6; } 8486$as_echo_n "checking DBUS_LIBS... " >&6; }
12540 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 8487 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12541 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5
12542$as_echo "$DBUS_LIBS" >&6; } 8489$as_echo "$DBUS_LIBS" >&6; }
12543 else 8490 else
12544 { $as_echo "$as_me:$LINENO: result: no" >&5 8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545$as_echo "no" >&6; } 8492$as_echo "no" >&6; }
12546 DBUS_CFLAGS="" 8493 DBUS_CFLAGS=""
12547 DBUS_LIBS="" 8494 DBUS_LIBS=""
@@ -12568,105 +8515,14 @@ $as_echo "no" >&6; }
12568 if test "$HAVE_DBUS" = yes; then 8515 if test "$HAVE_DBUS" = yes; then
12569 LIBS="$LIBS $DBUS_LIBS" 8516 LIBS="$LIBS $DBUS_LIBS"
12570 8517
12571cat >>confdefs.h <<\_ACEOF 8518$as_echo "#define HAVE_DBUS 1" >>confdefs.h
12572#define HAVE_DBUS 1
12573_ACEOF
12574
12575 8519
12576for ac_func in dbus_watch_get_unix_fd 8520 for ac_func in dbus_watch_get_unix_fd
12577do 8521do :
12578as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8522 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
12579{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 8523if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then :
12580$as_echo_n "checking for $ac_func... " >&6; }
12581if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12582 $as_echo_n "(cached) " >&6
12583else
12584 cat >conftest.$ac_ext <<_ACEOF
12585/* confdefs.h. */
12586_ACEOF
12587cat confdefs.h >>conftest.$ac_ext
12588cat >>conftest.$ac_ext <<_ACEOF
12589/* end confdefs.h. */
12590/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12592#define $ac_func innocuous_$ac_func
12593
12594/* System header to define __stub macros and hopefully few prototypes,
12595 which can conflict with char $ac_func (); below.
12596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12597 <limits.h> exists even on freestanding compilers. */
12598
12599#ifdef __STDC__
12600# include <limits.h>
12601#else
12602# include <assert.h>
12603#endif
12604
12605#undef $ac_func
12606
12607/* Override any GCC internal prototype to avoid an error.
12608 Use char because int might match the return type of a GCC
12609 builtin and then its argument prototype would still apply. */
12610#ifdef __cplusplus
12611extern "C"
12612#endif
12613char $ac_func ();
12614/* The GNU C library defines this for functions which it implements
12615 to always fail with ENOSYS. Some functions are actually named
12616 something starting with __ and the normal name is an alias. */
12617#if defined __stub_$ac_func || defined __stub___$ac_func
12618choke me
12619#endif
12620
12621int
12622main ()
12623{
12624return $ac_func ();
12625 ;
12626 return 0;
12627}
12628_ACEOF
12629rm -f conftest.$ac_objext conftest$ac_exeext
12630if { (ac_try="$ac_link"
12631case "(($ac_try" in
12632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12633 *) ac_try_echo=$ac_try;;
12634esac
12635eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12636$as_echo "$ac_try_echo") >&5
12637 (eval "$ac_link") 2>conftest.er1
12638 ac_status=$?
12639 grep -v '^ *+' conftest.er1 >conftest.err
12640 rm -f conftest.er1
12641 cat conftest.err >&5
12642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } && {
12644 test -z "$ac_c_werror_flag" ||
12645 test ! -s conftest.err
12646 } && test -s conftest$ac_exeext && {
12647 test "$cross_compiling" = yes ||
12648 $as_test_x conftest$ac_exeext
12649 }; then
12650 eval "$as_ac_var=yes"
12651else
12652 $as_echo "$as_me: failed program was:" >&5
12653sed 's/^/| /' conftest.$ac_ext >&5
12654
12655 eval "$as_ac_var=no"
12656fi
12657
12658rm -rf conftest.dSYM
12659rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12660 conftest$ac_exeext conftest.$ac_ext
12661fi
12662ac_res=`eval 'as_val=${'$as_ac_var'}
12663 $as_echo "$as_val"'`
12664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12665$as_echo "$ac_res" >&6; }
12666if test `eval 'as_val=${'$as_ac_var'}
12667 $as_echo "$as_val"'` = yes; then
12668 cat >>confdefs.h <<_ACEOF 8524 cat >>confdefs.h <<_ACEOF
12669#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8525#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
12670_ACEOF 8526_ACEOF
12671 8527
12672fi 8528fi
@@ -12684,9 +8540,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
12684 8540
12685 # Extract the first word of "pkg-config", so it can be a program name with args. 8541 # Extract the first word of "pkg-config", so it can be a program name with args.
12686set dummy pkg-config; ac_word=$2 8542set dummy pkg-config; ac_word=$2
12687{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12688$as_echo_n "checking for $ac_word... " >&6; } 8544$as_echo_n "checking for $ac_word... " >&6; }
12689if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8545if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12690 $as_echo_n "(cached) " >&6 8546 $as_echo_n "(cached) " >&6
12691else 8547else
12692 case $PKG_CONFIG in 8548 case $PKG_CONFIG in
@@ -12699,14 +8555,14 @@ for as_dir in $PATH
12699do 8555do
12700 IFS=$as_save_IFS 8556 IFS=$as_save_IFS
12701 test -z "$as_dir" && as_dir=. 8557 test -z "$as_dir" && as_dir=.
12702 for ac_exec_ext in '' $ac_executable_extensions; do 8558 for ac_exec_ext in '' $ac_executable_extensions; do
12703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12704 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8560 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12705 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12706 break 2 8562 break 2
12707 fi 8563 fi
12708done 8564done
12709done 8565 done
12710IFS=$as_save_IFS 8566IFS=$as_save_IFS
12711 8567
12712 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8568 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -12715,10 +8571,10 @@ esac
12715fi 8571fi
12716PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8572PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12717if test -n "$PKG_CONFIG"; then 8573if test -n "$PKG_CONFIG"; then
12718 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12719$as_echo "$PKG_CONFIG" >&6; } 8575$as_echo "$PKG_CONFIG" >&6; }
12720else 8576else
12721 { $as_echo "$as_me:$LINENO: result: no" >&5 8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722$as_echo "no" >&6; } 8578$as_echo "no" >&6; }
12723fi 8579fi
12724 8580
@@ -12729,27 +8585,27 @@ fi
12729 else 8585 else
12730 PKG_CONFIG_MIN_VERSION=0.9.0 8586 PKG_CONFIG_MIN_VERSION=0.9.0
12731 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 8587 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12732 { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5
12733$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } 8589$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; }
12734 8590
12735 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then 8591 if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then
12736 { $as_echo "$as_me:$LINENO: result: yes" >&5 8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12737$as_echo "yes" >&6; } 8593$as_echo "yes" >&6; }
12738 succeeded=yes 8594 succeeded=yes
12739 8595
12740 { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
12741$as_echo_n "checking GCONF_CFLAGS... " >&6; } 8597$as_echo_n "checking GCONF_CFLAGS... " >&6; }
12742 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 8598 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
12743 { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
12744$as_echo "$GCONF_CFLAGS" >&6; } 8600$as_echo "$GCONF_CFLAGS" >&6; }
12745 8601
12746 { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
12747$as_echo_n "checking GCONF_LIBS... " >&6; } 8603$as_echo_n "checking GCONF_LIBS... " >&6; }
12748 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` 8604 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
12749 { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
12750$as_echo "$GCONF_LIBS" >&6; } 8606$as_echo "$GCONF_LIBS" >&6; }
12751 else 8607 else
12752 { $as_echo "$as_me:$LINENO: result: no" >&5 8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753$as_echo "no" >&6; } 8609$as_echo "no" >&6; }
12754 GCONF_CFLAGS="" 8610 GCONF_CFLAGS=""
12755 GCONF_LIBS="" 8611 GCONF_LIBS=""
@@ -12775,9 +8631,7 @@ $as_echo "no" >&6; }
12775 8631
12776 if test "$HAVE_GCONF" = yes; then 8632 if test "$HAVE_GCONF" = yes; then
12777 8633
12778cat >>confdefs.h <<\_ACEOF 8634$as_echo "#define HAVE_GCONF 1" >>confdefs.h
12779#define HAVE_GCONF 1
12780_ACEOF
12781 8635
12782 fi 8636 fi
12783fi 8637fi
@@ -12785,18 +8639,14 @@ fi
12785HAVE_LIBSELINUX=no 8639HAVE_LIBSELINUX=no
12786LIBSELINUX_LIBS= 8640LIBSELINUX_LIBS=
12787if test "${with_selinux}" = "yes"; then 8641if test "${with_selinux}" = "yes"; then
12788 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
12789$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } 8643$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
12790if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then 8644if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then :
12791 $as_echo_n "(cached) " >&6 8645 $as_echo_n "(cached) " >&6
12792else 8646else
12793 ac_check_lib_save_LIBS=$LIBS 8647 ac_check_lib_save_LIBS=$LIBS
12794LIBS="-lselinux $LIBS" 8648LIBS="-lselinux $LIBS"
12795cat >conftest.$ac_ext <<_ACEOF 8649cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796/* confdefs.h. */
12797_ACEOF
12798cat confdefs.h >>conftest.$ac_ext
12799cat >>conftest.$ac_ext <<_ACEOF
12800/* end confdefs.h. */ 8650/* end confdefs.h. */
12801 8651
12802/* Override any GCC internal prototype to avoid an error. 8652/* Override any GCC internal prototype to avoid an error.
@@ -12814,43 +8664,18 @@ return lgetfilecon ();
12814 return 0; 8664 return 0;
12815} 8665}
12816_ACEOF 8666_ACEOF
12817rm -f conftest.$ac_objext conftest$ac_exeext 8667if ac_fn_c_try_link "$LINENO"; then :
12818if { (ac_try="$ac_link"
12819case "(($ac_try" in
12820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12821 *) ac_try_echo=$ac_try;;
12822esac
12823eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12824$as_echo "$ac_try_echo") >&5
12825 (eval "$ac_link") 2>conftest.er1
12826 ac_status=$?
12827 grep -v '^ *+' conftest.er1 >conftest.err
12828 rm -f conftest.er1
12829 cat conftest.err >&5
12830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } && {
12832 test -z "$ac_c_werror_flag" ||
12833 test ! -s conftest.err
12834 } && test -s conftest$ac_exeext && {
12835 test "$cross_compiling" = yes ||
12836 $as_test_x conftest$ac_exeext
12837 }; then
12838 ac_cv_lib_selinux_lgetfilecon=yes 8668 ac_cv_lib_selinux_lgetfilecon=yes
12839else 8669else
12840 $as_echo "$as_me: failed program was:" >&5 8670 ac_cv_lib_selinux_lgetfilecon=no
12841sed 's/^/| /' conftest.$ac_ext >&5
12842
12843 ac_cv_lib_selinux_lgetfilecon=no
12844fi 8671fi
12845 8672rm -f core conftest.err conftest.$ac_objext \
12846rm -rf conftest.dSYM 8673 conftest$ac_exeext conftest.$ac_ext
12847rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12848 conftest$ac_exeext conftest.$ac_ext
12849LIBS=$ac_check_lib_save_LIBS 8674LIBS=$ac_check_lib_save_LIBS
12850fi 8675fi
12851{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 8676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
12852$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } 8677$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
12853if test $ac_cv_lib_selinux_lgetfilecon = yes; then 8678if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then :
12854 HAVE_LIBSELINUX=yes 8679 HAVE_LIBSELINUX=yes
12855else 8680else
12856 HAVE_LIBSELINUX=no 8681 HAVE_LIBSELINUX=no
@@ -12858,9 +8683,7 @@ fi
12858 8683
12859 if test "$HAVE_LIBSELINUX" = yes; then 8684 if test "$HAVE_LIBSELINUX" = yes; then
12860 8685
12861cat >>confdefs.h <<\_ACEOF 8686$as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h
12862#define HAVE_LIBSELINUX 1
12863_ACEOF
12864 8687
12865 LIBSELINUX_LIBS=-lselinux 8688 LIBSELINUX_LIBS=-lselinux
12866 fi 8689 fi
@@ -12871,16 +8694,12 @@ HAVE_XAW3D=no
12871LUCID_LIBW= 8694LUCID_LIBW=
12872if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 8695if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
12873 if test "$with_xaw3d" != no; then 8696 if test "$with_xaw3d" != no; then
12874 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5
12875$as_echo_n "checking for xaw3d... " >&6; } 8698$as_echo_n "checking for xaw3d... " >&6; }
12876 if test "${emacs_cv_xaw3d+set}" = set; then 8699 if test "${emacs_cv_xaw3d+set}" = set; then :
12877 $as_echo_n "(cached) " >&6 8700 $as_echo_n "(cached) " >&6
12878else 8701else
12879 cat >conftest.$ac_ext <<_ACEOF 8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880/* confdefs.h. */
12881_ACEOF
12882cat confdefs.h >>conftest.$ac_ext
12883cat >>conftest.$ac_ext <<_ACEOF
12884/* end confdefs.h. */ 8703/* end confdefs.h. */
12885 8704
12886#include <X11/Intrinsic.h> 8705#include <X11/Intrinsic.h>
@@ -12893,67 +8712,36 @@ main ()
12893 return 0; 8712 return 0;
12894} 8713}
12895_ACEOF 8714_ACEOF
12896rm -f conftest.$ac_objext conftest$ac_exeext 8715if ac_fn_c_try_link "$LINENO"; then :
12897if { (ac_try="$ac_link"
12898case "(($ac_try" in
12899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12900 *) ac_try_echo=$ac_try;;
12901esac
12902eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12903$as_echo "$ac_try_echo") >&5
12904 (eval "$ac_link") 2>conftest.er1
12905 ac_status=$?
12906 grep -v '^ *+' conftest.er1 >conftest.err
12907 rm -f conftest.er1
12908 cat conftest.err >&5
12909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } && {
12911 test -z "$ac_c_werror_flag" ||
12912 test ! -s conftest.err
12913 } && test -s conftest$ac_exeext && {
12914 test "$cross_compiling" = yes ||
12915 $as_test_x conftest$ac_exeext
12916 }; then
12917 emacs_cv_xaw3d=yes 8716 emacs_cv_xaw3d=yes
12918else 8717else
12919 $as_echo "$as_me: failed program was:" >&5 8718 emacs_cv_xaw3d=no
12920sed 's/^/| /' conftest.$ac_ext >&5
12921
12922 emacs_cv_xaw3d=no
12923fi 8719fi
12924 8720rm -f core conftest.err conftest.$ac_objext \
12925rm -rf conftest.dSYM 8721 conftest$ac_exeext conftest.$ac_ext
12926rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12927 conftest$ac_exeext conftest.$ac_ext
12928fi 8722fi
12929 8723
12930 else 8724 else
12931 emacs_cv_xaw3d=no 8725 emacs_cv_xaw3d=no
12932 fi 8726 fi
12933 if test $emacs_cv_xaw3d = yes; then 8727 if test $emacs_cv_xaw3d = yes; then
12934 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
12935$as_echo "yes; using Lucid toolkit" >&6; } 8729$as_echo "yes; using Lucid toolkit" >&6; }
12936 USE_X_TOOLKIT=LUCID 8730 USE_X_TOOLKIT=LUCID
12937 HAVE_XAW3D=yes 8731 HAVE_XAW3D=yes
12938 LUCID_LIBW=-lXaw3d 8732 LUCID_LIBW=-lXaw3d
12939 8733
12940cat >>confdefs.h <<\_ACEOF 8734$as_echo "#define HAVE_XAW3D 1" >>confdefs.h
12941#define HAVE_XAW3D 1
12942_ACEOF
12943 8735
12944 else 8736 else
12945 { $as_echo "$as_me:$LINENO: result: no" >&5 8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946$as_echo "no" >&6; } 8738$as_echo "no" >&6; }
12947 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5
12948$as_echo_n "checking for libXaw... " >&6; } 8740$as_echo_n "checking for libXaw... " >&6; }
12949 if test "${emacs_cv_xaw+set}" = set; then 8741 if test "${emacs_cv_xaw+set}" = set; then :
12950 $as_echo_n "(cached) " >&6 8742 $as_echo_n "(cached) " >&6
12951else 8743else
12952 cat >conftest.$ac_ext <<_ACEOF 8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953/* confdefs.h. */
12954_ACEOF
12955cat confdefs.h >>conftest.$ac_ext
12956cat >>conftest.$ac_ext <<_ACEOF
12957/* end confdefs.h. */ 8745/* end confdefs.h. */
12958 8746
12959#include <X11/Intrinsic.h> 8747#include <X11/Intrinsic.h>
@@ -12966,51 +8754,24 @@ main ()
12966 return 0; 8754 return 0;
12967} 8755}
12968_ACEOF 8756_ACEOF
12969rm -f conftest.$ac_objext conftest$ac_exeext 8757if ac_fn_c_try_link "$LINENO"; then :
12970if { (ac_try="$ac_link"
12971case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12974esac
12975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12976$as_echo "$ac_try_echo") >&5
12977 (eval "$ac_link") 2>conftest.er1
12978 ac_status=$?
12979 grep -v '^ *+' conftest.er1 >conftest.err
12980 rm -f conftest.er1
12981 cat conftest.err >&5
12982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } && {
12984 test -z "$ac_c_werror_flag" ||
12985 test ! -s conftest.err
12986 } && test -s conftest$ac_exeext && {
12987 test "$cross_compiling" = yes ||
12988 $as_test_x conftest$ac_exeext
12989 }; then
12990 emacs_cv_xaw=yes 8758 emacs_cv_xaw=yes
12991else 8759else
12992 $as_echo "$as_me: failed program was:" >&5 8760 emacs_cv_xaw=no
12993sed 's/^/| /' conftest.$ac_ext >&5
12994
12995 emacs_cv_xaw=no
12996fi 8761fi
12997 8762rm -f core conftest.err conftest.$ac_objext \
12998rm -rf conftest.dSYM 8763 conftest$ac_exeext conftest.$ac_ext
12999rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13000 conftest$ac_exeext conftest.$ac_ext
13001fi 8764fi
13002 8765
13003 if test $emacs_cv_xaw = yes; then 8766 if test $emacs_cv_xaw = yes; then
13004 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
13005$as_echo "yes; using Lucid toolkit" >&6; } 8768$as_echo "yes; using Lucid toolkit" >&6; }
13006 USE_X_TOOLKIT=LUCID 8769 USE_X_TOOLKIT=LUCID
13007 LUCID_LIBW=-lXaw 8770 LUCID_LIBW=-lXaw
13008 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 8771 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
13009 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 8772 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
13010$as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
13011 { (exit 1); exit 1; }; }
13012 else 8773 else
13013 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
13014$as_echo "no; do not use toolkit by default" >&6; } 8775$as_echo "no; do not use toolkit by default" >&6; }
13015 USE_X_TOOLKIT=none 8776 USE_X_TOOLKIT=none
13016 fi 8777 fi
@@ -13021,16 +8782,12 @@ fi
13021X_TOOLKIT_TYPE=$USE_X_TOOLKIT 8782X_TOOLKIT_TYPE=$USE_X_TOOLKIT
13022 8783
13023if test "${USE_X_TOOLKIT}" != "none"; then 8784if test "${USE_X_TOOLKIT}" != "none"; then
13024 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5
13025$as_echo_n "checking X11 toolkit version... " >&6; } 8786$as_echo_n "checking X11 toolkit version... " >&6; }
13026 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 8787 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then :
13027 $as_echo_n "(cached) " >&6 8788 $as_echo_n "(cached) " >&6
13028else 8789else
13029 cat >conftest.$ac_ext <<_ACEOF 8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030/* confdefs.h. */
13031_ACEOF
13032cat confdefs.h >>conftest.$ac_ext
13033cat >>conftest.$ac_ext <<_ACEOF
13034/* end confdefs.h. */ 8791/* end confdefs.h. */
13035#include <X11/Intrinsic.h> 8792#include <X11/Intrinsic.h>
13036int 8793int
@@ -13044,51 +8801,24 @@ fail;
13044 return 0; 8801 return 0;
13045} 8802}
13046_ACEOF 8803_ACEOF
13047rm -f conftest.$ac_objext conftest$ac_exeext 8804if ac_fn_c_try_link "$LINENO"; then :
13048if { (ac_try="$ac_link"
13049case "(($ac_try" in
13050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13051 *) ac_try_echo=$ac_try;;
13052esac
13053eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13054$as_echo "$ac_try_echo") >&5
13055 (eval "$ac_link") 2>conftest.er1
13056 ac_status=$?
13057 grep -v '^ *+' conftest.er1 >conftest.err
13058 rm -f conftest.er1
13059 cat conftest.err >&5
13060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } && {
13062 test -z "$ac_c_werror_flag" ||
13063 test ! -s conftest.err
13064 } && test -s conftest$ac_exeext && {
13065 test "$cross_compiling" = yes ||
13066 $as_test_x conftest$ac_exeext
13067 }; then
13068 emacs_cv_x11_toolkit_version_6=yes 8805 emacs_cv_x11_toolkit_version_6=yes
13069else 8806else
13070 $as_echo "$as_me: failed program was:" >&5 8807 emacs_cv_x11_toolkit_version_6=no
13071sed 's/^/| /' conftest.$ac_ext >&5
13072
13073 emacs_cv_x11_toolkit_version_6=no
13074fi 8808fi
13075 8809rm -f core conftest.err conftest.$ac_objext \
13076rm -rf conftest.dSYM 8810 conftest$ac_exeext conftest.$ac_ext
13077rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13078 conftest$ac_exeext conftest.$ac_ext
13079fi 8811fi
13080 8812
13081 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 8813 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
13082 if test $emacs_cv_x11_toolkit_version_6 = yes; then 8814 if test $emacs_cv_x11_toolkit_version_6 = yes; then
13083 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5
13084$as_echo "6 or newer" >&6; } 8816$as_echo "6 or newer" >&6; }
13085 8817
13086cat >>confdefs.h <<\_ACEOF 8818$as_echo "#define HAVE_X11XTR6 1" >>confdefs.h
13087#define HAVE_X11XTR6 1
13088_ACEOF
13089 8819
13090 else 8820 else
13091 { $as_echo "$as_me:$LINENO: result: before 6" >&5 8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5
13092$as_echo "before 6" >&6; } 8822$as_echo "before 6" >&6; }
13093 fi 8823 fi
13094 8824
@@ -13098,19 +8828,14 @@ $as_echo "before 6" >&6; }
13098 else 8828 else
13099 LIBS="-lXt $LIBS" 8829 LIBS="-lXt $LIBS"
13100 fi 8830 fi
13101 8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5
13102{ $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
13103$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 8832$as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
13104if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 8833if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then :
13105 $as_echo_n "(cached) " >&6 8834 $as_echo_n "(cached) " >&6
13106else 8835else
13107 ac_check_lib_save_LIBS=$LIBS 8836 ac_check_lib_save_LIBS=$LIBS
13108LIBS="-lXmu $LIBS" 8837LIBS="-lXmu $LIBS"
13109cat >conftest.$ac_ext <<_ACEOF 8838cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110/* confdefs.h. */
13111_ACEOF
13112cat confdefs.h >>conftest.$ac_ext
13113cat >>conftest.$ac_ext <<_ACEOF
13114/* end confdefs.h. */ 8839/* end confdefs.h. */
13115 8840
13116/* Override any GCC internal prototype to avoid an error. 8841/* Override any GCC internal prototype to avoid an error.
@@ -13128,43 +8853,18 @@ return XmuConvertStandardSelection ();
13128 return 0; 8853 return 0;
13129} 8854}
13130_ACEOF 8855_ACEOF
13131rm -f conftest.$ac_objext conftest$ac_exeext 8856if ac_fn_c_try_link "$LINENO"; then :
13132if { (ac_try="$ac_link"
13133case "(($ac_try" in
13134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13135 *) ac_try_echo=$ac_try;;
13136esac
13137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13138$as_echo "$ac_try_echo") >&5
13139 (eval "$ac_link") 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } && {
13146 test -z "$ac_c_werror_flag" ||
13147 test ! -s conftest.err
13148 } && test -s conftest$ac_exeext && {
13149 test "$cross_compiling" = yes ||
13150 $as_test_x conftest$ac_exeext
13151 }; then
13152 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 8857 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
13153else 8858else
13154 $as_echo "$as_me: failed program was:" >&5 8859 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
13155sed 's/^/| /' conftest.$ac_ext >&5
13156
13157 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
13158fi 8860fi
13159 8861rm -f core conftest.err conftest.$ac_objext \
13160rm -rf conftest.dSYM 8862 conftest$ac_exeext conftest.$ac_ext
13161rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13162 conftest$ac_exeext conftest.$ac_ext
13163LIBS=$ac_check_lib_save_LIBS 8863LIBS=$ac_check_lib_save_LIBS
13164fi 8864fi
13165{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 8865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
13166$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 8866$as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
13167if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 8867if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then :
13168 cat >>confdefs.h <<_ACEOF 8868 cat >>confdefs.h <<_ACEOF
13169#define HAVE_LIBXMU 1 8869#define HAVE_LIBXMU 1
13170_ACEOF 8870_ACEOF
@@ -13179,19 +8879,14 @@ fi
13179# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 8879# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
13180if test "${HAVE_X11}" = "yes"; then 8880if test "${HAVE_X11}" = "yes"; then
13181 if test "${USE_X_TOOLKIT}" != "none"; then 8881 if test "${USE_X_TOOLKIT}" != "none"; then
13182 8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
13183{ $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
13184$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 8883$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
13185if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 8884if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
13186 $as_echo_n "(cached) " >&6 8885 $as_echo_n "(cached) " >&6
13187else 8886else
13188 ac_check_lib_save_LIBS=$LIBS 8887 ac_check_lib_save_LIBS=$LIBS
13189LIBS="-lXext $LIBS" 8888LIBS="-lXext $LIBS"
13190cat >conftest.$ac_ext <<_ACEOF 8889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191/* confdefs.h. */
13192_ACEOF
13193cat confdefs.h >>conftest.$ac_ext
13194cat >>conftest.$ac_ext <<_ACEOF
13195/* end confdefs.h. */ 8890/* end confdefs.h. */
13196 8891
13197/* Override any GCC internal prototype to avoid an error. 8892/* Override any GCC internal prototype to avoid an error.
@@ -13209,43 +8904,18 @@ return XShapeQueryExtension ();
13209 return 0; 8904 return 0;
13210} 8905}
13211_ACEOF 8906_ACEOF
13212rm -f conftest.$ac_objext conftest$ac_exeext 8907if ac_fn_c_try_link "$LINENO"; then :
13213if { (ac_try="$ac_link"
13214case "(($ac_try" in
13215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13216 *) ac_try_echo=$ac_try;;
13217esac
13218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13219$as_echo "$ac_try_echo") >&5
13220 (eval "$ac_link") 2>conftest.er1
13221 ac_status=$?
13222 grep -v '^ *+' conftest.er1 >conftest.err
13223 rm -f conftest.er1
13224 cat conftest.err >&5
13225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } && {
13227 test -z "$ac_c_werror_flag" ||
13228 test ! -s conftest.err
13229 } && test -s conftest$ac_exeext && {
13230 test "$cross_compiling" = yes ||
13231 $as_test_x conftest$ac_exeext
13232 }; then
13233 ac_cv_lib_Xext_XShapeQueryExtension=yes 8908 ac_cv_lib_Xext_XShapeQueryExtension=yes
13234else 8909else
13235 $as_echo "$as_me: failed program was:" >&5 8910 ac_cv_lib_Xext_XShapeQueryExtension=no
13236sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 ac_cv_lib_Xext_XShapeQueryExtension=no
13239fi 8911fi
13240 8912rm -f core conftest.err conftest.$ac_objext \
13241rm -rf conftest.dSYM 8913 conftest$ac_exeext conftest.$ac_ext
13242rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13243 conftest$ac_exeext conftest.$ac_ext
13244LIBS=$ac_check_lib_save_LIBS 8914LIBS=$ac_check_lib_save_LIBS
13245fi 8915fi
13246{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 8916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
13247$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 8917$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
13248if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 8918if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
13249 cat >>confdefs.h <<_ACEOF 8919 cat >>confdefs.h <<_ACEOF
13250#define HAVE_LIBXEXT 1 8920#define HAVE_LIBXEXT 1
13251_ACEOF 8921_ACEOF
@@ -13259,16 +8929,12 @@ fi
13259 8929
13260LIBXP= 8930LIBXP=
13261if test "${USE_X_TOOLKIT}" = "MOTIF"; then 8931if test "${USE_X_TOOLKIT}" = "MOTIF"; then
13262 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5
13263$as_echo_n "checking for Motif version 2.1... " >&6; } 8933$as_echo_n "checking for Motif version 2.1... " >&6; }
13264if test "${emacs_cv_motif_version_2_1+set}" = set; then 8934if test "${emacs_cv_motif_version_2_1+set}" = set; then :
13265 $as_echo_n "(cached) " >&6 8935 $as_echo_n "(cached) " >&6
13266else 8936else
13267 cat >conftest.$ac_ext <<_ACEOF 8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268/* confdefs.h. */
13269_ACEOF
13270cat confdefs.h >>conftest.$ac_ext
13271cat >>conftest.$ac_ext <<_ACEOF
13272/* end confdefs.h. */ 8938/* end confdefs.h. */
13273#include <Xm/Xm.h> 8939#include <Xm/Xm.h>
13274int 8940int
@@ -13283,50 +8949,25 @@ Motif version prior to 2.1.
13283 return 0; 8949 return 0;
13284} 8950}
13285_ACEOF 8951_ACEOF
13286rm -f conftest.$ac_objext 8952if ac_fn_c_try_compile "$LINENO"; then :
13287if { (ac_try="$ac_compile"
13288case "(($ac_try" in
13289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13290 *) ac_try_echo=$ac_try;;
13291esac
13292eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13293$as_echo "$ac_try_echo") >&5
13294 (eval "$ac_compile") 2>conftest.er1
13295 ac_status=$?
13296 grep -v '^ *+' conftest.er1 >conftest.err
13297 rm -f conftest.er1
13298 cat conftest.err >&5
13299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } && {
13301 test -z "$ac_c_werror_flag" ||
13302 test ! -s conftest.err
13303 } && test -s conftest.$ac_objext; then
13304 emacs_cv_motif_version_2_1=yes 8953 emacs_cv_motif_version_2_1=yes
13305else 8954else
13306 $as_echo "$as_me: failed program was:" >&5 8955 emacs_cv_motif_version_2_1=no
13307sed 's/^/| /' conftest.$ac_ext >&5
13308
13309 emacs_cv_motif_version_2_1=no
13310fi 8956fi
13311
13312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13313fi 8958fi
13314{ $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 8959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5
13315$as_echo "$emacs_cv_motif_version_2_1" >&6; } 8960$as_echo "$emacs_cv_motif_version_2_1" >&6; }
13316 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 8961 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
13317 if test $emacs_cv_motif_version_2_1 = yes; then 8962 if test $emacs_cv_motif_version_2_1 = yes; then
13318 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
13319$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 8964$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
13320if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 8965if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then :
13321 $as_echo_n "(cached) " >&6 8966 $as_echo_n "(cached) " >&6
13322else 8967else
13323 ac_check_lib_save_LIBS=$LIBS 8968 ac_check_lib_save_LIBS=$LIBS
13324LIBS="-lXp $LIBS" 8969LIBS="-lXp $LIBS"
13325cat >conftest.$ac_ext <<_ACEOF 8970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326/* confdefs.h. */
13327_ACEOF
13328cat confdefs.h >>conftest.$ac_ext
13329cat >>conftest.$ac_ext <<_ACEOF
13330/* end confdefs.h. */ 8971/* end confdefs.h. */
13331 8972
13332/* Override any GCC internal prototype to avoid an error. 8973/* Override any GCC internal prototype to avoid an error.
@@ -13344,50 +8985,25 @@ return XpCreateContext ();
13344 return 0; 8985 return 0;
13345} 8986}
13346_ACEOF 8987_ACEOF
13347rm -f conftest.$ac_objext conftest$ac_exeext 8988if ac_fn_c_try_link "$LINENO"; then :
13348if { (ac_try="$ac_link"
13349case "(($ac_try" in
13350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13351 *) ac_try_echo=$ac_try;;
13352esac
13353eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13354$as_echo "$ac_try_echo") >&5
13355 (eval "$ac_link") 2>conftest.er1
13356 ac_status=$?
13357 grep -v '^ *+' conftest.er1 >conftest.err
13358 rm -f conftest.er1
13359 cat conftest.err >&5
13360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } && {
13362 test -z "$ac_c_werror_flag" ||
13363 test ! -s conftest.err
13364 } && test -s conftest$ac_exeext && {
13365 test "$cross_compiling" = yes ||
13366 $as_test_x conftest$ac_exeext
13367 }; then
13368 ac_cv_lib_Xp_XpCreateContext=yes 8989 ac_cv_lib_Xp_XpCreateContext=yes
13369else 8990else
13370 $as_echo "$as_me: failed program was:" >&5 8991 ac_cv_lib_Xp_XpCreateContext=no
13371sed 's/^/| /' conftest.$ac_ext >&5
13372
13373 ac_cv_lib_Xp_XpCreateContext=no
13374fi 8992fi
13375 8993rm -f core conftest.err conftest.$ac_objext \
13376rm -rf conftest.dSYM 8994 conftest$ac_exeext conftest.$ac_ext
13377rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13378 conftest$ac_exeext conftest.$ac_ext
13379LIBS=$ac_check_lib_save_LIBS 8995LIBS=$ac_check_lib_save_LIBS
13380fi 8996fi
13381{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 8997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
13382$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 8998$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
13383if test $ac_cv_lib_Xp_XpCreateContext = yes; then 8999if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then :
13384 LIBXP=-lXp 9000 LIBXP=-lXp
13385fi 9001fi
13386 9002
13387 else 9003 else
13388 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
13389$as_echo_n "checking for LessTif where some systems put it... " >&6; } 9005$as_echo_n "checking for LessTif where some systems put it... " >&6; }
13390if test "${emacs_cv_lesstif+set}" = set; then 9006if test "${emacs_cv_lesstif+set}" = set; then :
13391 $as_echo_n "(cached) " >&6 9007 $as_echo_n "(cached) " >&6
13392else 9008else
13393 # We put this in CFLAGS temporarily to precede other -I options 9009 # We put this in CFLAGS temporarily to precede other -I options
@@ -13397,11 +9013,7 @@ else
13397 OLD_CFLAGS=$CFLAGS 9013 OLD_CFLAGS=$CFLAGS
13398 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 9014 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
13399 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" 9015 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
13400 cat >conftest.$ac_ext <<_ACEOF 9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401/* confdefs.h. */
13402_ACEOF
13403cat confdefs.h >>conftest.$ac_ext
13404cat >>conftest.$ac_ext <<_ACEOF
13405/* end confdefs.h. */ 9017/* end confdefs.h. */
13406#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 9018#include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
13407int 9019int
@@ -13412,35 +9024,14 @@ int x = 5;
13412 return 0; 9024 return 0;
13413} 9025}
13414_ACEOF 9026_ACEOF
13415rm -f conftest.$ac_objext 9027if ac_fn_c_try_compile "$LINENO"; then :
13416if { (ac_try="$ac_compile"
13417case "(($ac_try" in
13418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419 *) ac_try_echo=$ac_try;;
13420esac
13421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13422$as_echo "$ac_try_echo") >&5
13423 (eval "$ac_compile") 2>conftest.er1
13424 ac_status=$?
13425 grep -v '^ *+' conftest.er1 >conftest.err
13426 rm -f conftest.er1
13427 cat conftest.err >&5
13428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); } && {
13430 test -z "$ac_c_werror_flag" ||
13431 test ! -s conftest.err
13432 } && test -s conftest.$ac_objext; then
13433 emacs_cv_lesstif=yes 9028 emacs_cv_lesstif=yes
13434else 9029else
13435 $as_echo "$as_me: failed program was:" >&5 9030 emacs_cv_lesstif=no
13436sed 's/^/| /' conftest.$ac_ext >&5
13437
13438 emacs_cv_lesstif=no
13439fi 9031fi
13440
13441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13442fi 9033fi
13443{ $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 9034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5
13444$as_echo "$emacs_cv_lesstif" >&6; } 9035$as_echo "$emacs_cv_lesstif" >&6; }
13445 if test $emacs_cv_lesstif = yes; then 9036 if test $emacs_cv_lesstif = yes; then
13446 # Make sure this -I option remains in CPPFLAGS after it is set 9037 # Make sure this -I option remains in CPPFLAGS after it is set
@@ -13459,44 +9050,31 @@ fi
13459 9050
13460 9051
13461 9052
13462
13463USE_TOOLKIT_SCROLL_BARS=no 9053USE_TOOLKIT_SCROLL_BARS=no
13464if test "${with_toolkit_scroll_bars}" != "no"; then 9054if test "${with_toolkit_scroll_bars}" != "no"; then
13465 if test "${USE_X_TOOLKIT}" != "none"; then 9055 if test "${USE_X_TOOLKIT}" != "none"; then
13466 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 9056 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
13467 cat >>confdefs.h <<\_ACEOF 9057 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13468#define USE_TOOLKIT_SCROLL_BARS 1
13469_ACEOF
13470 9058
13471 HAVE_XAW3D=no 9059 HAVE_XAW3D=no
13472 USE_TOOLKIT_SCROLL_BARS=yes 9060 USE_TOOLKIT_SCROLL_BARS=yes
13473 elif test "${HAVE_XAW3D}" = "yes"; then 9061 elif test "${HAVE_XAW3D}" = "yes"; then
13474 cat >>confdefs.h <<\_ACEOF 9062 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13475#define USE_TOOLKIT_SCROLL_BARS 1
13476_ACEOF
13477 9063
13478 USE_TOOLKIT_SCROLL_BARS=yes 9064 USE_TOOLKIT_SCROLL_BARS=yes
13479 fi 9065 fi
13480 elif test "${HAVE_GTK}" = "yes"; then 9066 elif test "${HAVE_GTK}" = "yes"; then
13481 cat >>confdefs.h <<\_ACEOF 9067 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13482#define USE_TOOLKIT_SCROLL_BARS 1
13483_ACEOF
13484 9068
13485 USE_TOOLKIT_SCROLL_BARS=yes 9069 USE_TOOLKIT_SCROLL_BARS=yes
13486 elif test "${HAVE_NS}" = "yes"; then 9070 elif test "${HAVE_NS}" = "yes"; then
13487 cat >>confdefs.h <<\_ACEOF 9071 $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h
13488#define USE_TOOLKIT_SCROLL_BARS 1
13489_ACEOF
13490 9072
13491 USE_TOOLKIT_SCROLL_BARS=yes 9073 USE_TOOLKIT_SCROLL_BARS=yes
13492 fi 9074 fi
13493fi 9075fi
13494 9076
13495cat >conftest.$ac_ext <<_ACEOF 9077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496/* confdefs.h. */
13497_ACEOF
13498cat confdefs.h >>conftest.$ac_ext
13499cat >>conftest.$ac_ext <<_ACEOF
13500/* end confdefs.h. */ 9078/* end confdefs.h. */
13501 9079
13502 #include <X11/Xlib.h> 9080 #include <X11/Xlib.h>
@@ -13509,45 +9087,20 @@ XIMProc callback;
13509 return 0; 9087 return 0;
13510} 9088}
13511_ACEOF 9089_ACEOF
13512rm -f conftest.$ac_objext 9090if ac_fn_c_try_compile "$LINENO"; then :
13513if { (ac_try="$ac_compile"
13514case "(($ac_try" in
13515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13516 *) ac_try_echo=$ac_try;;
13517esac
13518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13519$as_echo "$ac_try_echo") >&5
13520 (eval "$ac_compile") 2>conftest.er1
13521 ac_status=$?
13522 grep -v '^ *+' conftest.er1 >conftest.err
13523 rm -f conftest.er1
13524 cat conftest.err >&5
13525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } && {
13527 test -z "$ac_c_werror_flag" ||
13528 test ! -s conftest.err
13529 } && test -s conftest.$ac_objext; then
13530 HAVE_XIM=yes 9091 HAVE_XIM=yes
13531 9092
13532cat >>confdefs.h <<\_ACEOF 9093$as_echo "#define HAVE_XIM 1" >>confdefs.h
13533#define HAVE_XIM 1
13534_ACEOF
13535 9094
13536else 9095else
13537 $as_echo "$as_me: failed program was:" >&5 9096 HAVE_XIM=no
13538sed 's/^/| /' conftest.$ac_ext >&5
13539
13540 HAVE_XIM=no
13541fi 9097fi
13542
13543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13544 9099
13545 9100
13546if test "${with_xim}" != "no"; then 9101if test "${with_xim}" != "no"; then
13547 9102
13548cat >>confdefs.h <<\_ACEOF 9103$as_echo "#define USE_XIM 1" >>confdefs.h
13549#define USE_XIM 1
13550_ACEOF
13551 9104
13552fi 9105fi
13553 9106
@@ -13557,11 +9110,7 @@ if test "${HAVE_XIM}" != "no"; then
13557 if test "$GCC" = yes; then 9110 if test "$GCC" = yes; then
13558 CFLAGS="$CFLAGS --pedantic-errors" 9111 CFLAGS="$CFLAGS --pedantic-errors"
13559 fi 9112 fi
13560 cat >conftest.$ac_ext <<_ACEOF 9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561/* confdefs.h. */
13562_ACEOF
13563cat confdefs.h >>conftest.$ac_ext
13564cat >>conftest.$ac_ext <<_ACEOF
13565/* end confdefs.h. */ 9114/* end confdefs.h. */
13566 9115
13567#include <X11/Xlib.h> 9116#include <X11/Xlib.h>
@@ -13587,43 +9136,15 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
13587 return 0; 9136 return 0;
13588} 9137}
13589_ACEOF 9138_ACEOF
13590rm -f conftest.$ac_objext 9139if ac_fn_c_try_compile "$LINENO"; then :
13591if { (ac_try="$ac_compile"
13592case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595esac
13596eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13597$as_echo "$ac_try_echo") >&5
13598 (eval "$ac_compile") 2>conftest.er1
13599 ac_status=$?
13600 grep -v '^ *+' conftest.er1 >conftest.err
13601 rm -f conftest.er1
13602 cat conftest.err >&5
13603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); } && {
13605 test -z "$ac_c_werror_flag" ||
13606 test ! -s conftest.err
13607 } && test -s conftest.$ac_objext; then
13608 emacs_cv_arg6_star=yes 9140 emacs_cv_arg6_star=yes
13609else
13610 $as_echo "$as_me: failed program was:" >&5
13611sed 's/^/| /' conftest.$ac_ext >&5
13612
13613
13614fi 9141fi
13615
13616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617 9143 if test "$emacs_cv_arg6_star" = yes; then
13618 if test "$emacs_cv_arg6_star" = yes; then 9144 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h
13619 cat >>confdefs.h <<\_ACEOF
13620#define XRegisterIMInstantiateCallback_arg6 XPointer*
13621_ACEOF
13622 9145
13623 else 9146 else
13624 cat >>confdefs.h <<\_ACEOF 9147 $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h
13625#define XRegisterIMInstantiateCallback_arg6 XPointer
13626_ACEOF
13627 9148
13628 fi 9149 fi
13629 CFLAGS=$late_CFLAGS 9150 CFLAGS=$late_CFLAGS
@@ -13640,9 +9161,9 @@ if test "${HAVE_X11}" = "yes"; then
13640 9161
13641 # Extract the first word of "pkg-config", so it can be a program name with args. 9162 # Extract the first word of "pkg-config", so it can be a program name with args.
13642set dummy pkg-config; ac_word=$2 9163set dummy pkg-config; ac_word=$2
13643{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13644$as_echo_n "checking for $ac_word... " >&6; } 9165$as_echo_n "checking for $ac_word... " >&6; }
13645if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9166if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13646 $as_echo_n "(cached) " >&6 9167 $as_echo_n "(cached) " >&6
13647else 9168else
13648 case $PKG_CONFIG in 9169 case $PKG_CONFIG in
@@ -13655,14 +9176,14 @@ for as_dir in $PATH
13655do 9176do
13656 IFS=$as_save_IFS 9177 IFS=$as_save_IFS
13657 test -z "$as_dir" && as_dir=. 9178 test -z "$as_dir" && as_dir=.
13658 for ac_exec_ext in '' $ac_executable_extensions; do 9179 for ac_exec_ext in '' $ac_executable_extensions; do
13659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13660 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9181 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13661 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13662 break 2 9183 break 2
13663 fi 9184 fi
13664done 9185done
13665done 9186 done
13666IFS=$as_save_IFS 9187IFS=$as_save_IFS
13667 9188
13668 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9189 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -13671,10 +9192,10 @@ esac
13671fi 9192fi
13672PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9193PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13673if test -n "$PKG_CONFIG"; then 9194if test -n "$PKG_CONFIG"; then
13674 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13675$as_echo "$PKG_CONFIG" >&6; } 9196$as_echo "$PKG_CONFIG" >&6; }
13676else 9197else
13677 { $as_echo "$as_me:$LINENO: result: no" >&5 9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13678$as_echo "no" >&6; } 9199$as_echo "no" >&6; }
13679fi 9200fi
13680 9201
@@ -13685,27 +9206,27 @@ fi
13685 else 9206 else
13686 PKG_CONFIG_MIN_VERSION=0.9.0 9207 PKG_CONFIG_MIN_VERSION=0.9.0
13687 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9208 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13688 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5
13689$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } 9210$as_echo_n "checking for fontconfig >= 2.2.0... " >&6; }
13690 9211
13691 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 9212 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
13692 { $as_echo "$as_me:$LINENO: result: yes" >&5 9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13693$as_echo "yes" >&6; } 9214$as_echo "yes" >&6; }
13694 succeeded=yes 9215 succeeded=yes
13695 9216
13696 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5
13697$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } 9218$as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; }
13698 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 9219 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
13699 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5
13700$as_echo "$FONTCONFIG_CFLAGS" >&6; } 9221$as_echo "$FONTCONFIG_CFLAGS" >&6; }
13701 9222
13702 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5
13703$as_echo_n "checking FONTCONFIG_LIBS... " >&6; } 9224$as_echo_n "checking FONTCONFIG_LIBS... " >&6; }
13704 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 9225 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
13705 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5
13706$as_echo "$FONTCONFIG_LIBS" >&6; } 9227$as_echo "$FONTCONFIG_LIBS" >&6; }
13707 else 9228 else
13708 { $as_echo "$as_me:$LINENO: result: no" >&5 9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13709$as_echo "no" >&6; } 9230$as_echo "no" >&6; }
13710 FONTCONFIG_CFLAGS="" 9231 FONTCONFIG_CFLAGS=""
13711 FONTCONFIG_LIBS="" 9232 FONTCONFIG_LIBS=""
@@ -13742,9 +9263,9 @@ $as_echo "no" >&6; }
13742 9263
13743 # Extract the first word of "pkg-config", so it can be a program name with args. 9264 # Extract the first word of "pkg-config", so it can be a program name with args.
13744set dummy pkg-config; ac_word=$2 9265set dummy pkg-config; ac_word=$2
13745{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13746$as_echo_n "checking for $ac_word... " >&6; } 9267$as_echo_n "checking for $ac_word... " >&6; }
13747if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9268if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13748 $as_echo_n "(cached) " >&6 9269 $as_echo_n "(cached) " >&6
13749else 9270else
13750 case $PKG_CONFIG in 9271 case $PKG_CONFIG in
@@ -13757,14 +9278,14 @@ for as_dir in $PATH
13757do 9278do
13758 IFS=$as_save_IFS 9279 IFS=$as_save_IFS
13759 test -z "$as_dir" && as_dir=. 9280 test -z "$as_dir" && as_dir=.
13760 for ac_exec_ext in '' $ac_executable_extensions; do 9281 for ac_exec_ext in '' $ac_executable_extensions; do
13761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13762 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9283 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13763 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13764 break 2 9285 break 2
13765 fi 9286 fi
13766done 9287done
13767done 9288 done
13768IFS=$as_save_IFS 9289IFS=$as_save_IFS
13769 9290
13770 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9291 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -13773,10 +9294,10 @@ esac
13773fi 9294fi
13774PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9295PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13775if test -n "$PKG_CONFIG"; then 9296if test -n "$PKG_CONFIG"; then
13776 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13777$as_echo "$PKG_CONFIG" >&6; } 9298$as_echo "$PKG_CONFIG" >&6; }
13778else 9299else
13779 { $as_echo "$as_me:$LINENO: result: no" >&5 9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780$as_echo "no" >&6; } 9301$as_echo "no" >&6; }
13781fi 9302fi
13782 9303
@@ -13787,27 +9308,27 @@ fi
13787 else 9308 else
13788 PKG_CONFIG_MIN_VERSION=0.9.0 9309 PKG_CONFIG_MIN_VERSION=0.9.0
13789 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9310 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13790 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5
13791$as_echo_n "checking for xft >= 0.13.0... " >&6; } 9312$as_echo_n "checking for xft >= 0.13.0... " >&6; }
13792 9313
13793 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 9314 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
13794 { $as_echo "$as_me:$LINENO: result: yes" >&5 9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13795$as_echo "yes" >&6; } 9316$as_echo "yes" >&6; }
13796 succeeded=yes 9317 succeeded=yes
13797 9318
13798 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5
13799$as_echo_n "checking XFT_CFLAGS... " >&6; } 9320$as_echo_n "checking XFT_CFLAGS... " >&6; }
13800 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 9321 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
13801 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5
13802$as_echo "$XFT_CFLAGS" >&6; } 9323$as_echo "$XFT_CFLAGS" >&6; }
13803 9324
13804 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5
13805$as_echo_n "checking XFT_LIBS... " >&6; } 9326$as_echo_n "checking XFT_LIBS... " >&6; }
13806 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 9327 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
13807 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5
13808$as_echo "$XFT_LIBS" >&6; } 9329$as_echo "$XFT_LIBS" >&6; }
13809 else 9330 else
13810 { $as_echo "$as_me:$LINENO: result: no" >&5 9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13811$as_echo "no" >&6; } 9332$as_echo "no" >&6; }
13812 XFT_CFLAGS="" 9333 XFT_CFLAGS=""
13813 XFT_LIBS="" 9334 XFT_LIBS=""
@@ -13834,18 +9355,14 @@ $as_echo "no" >&6; }
13834 ## Because xftfont.c uses XRenderQueryExtension, we also 9355 ## Because xftfont.c uses XRenderQueryExtension, we also
13835 ## need to link to -lXrender. 9356 ## need to link to -lXrender.
13836 HAVE_XRENDER=no 9357 HAVE_XRENDER=no
13837 { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
13838$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 9359$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
13839if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then 9360if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
13840 $as_echo_n "(cached) " >&6 9361 $as_echo_n "(cached) " >&6
13841else 9362else
13842 ac_check_lib_save_LIBS=$LIBS 9363 ac_check_lib_save_LIBS=$LIBS
13843LIBS="-lXrender $LIBS" 9364LIBS="-lXrender $LIBS"
13844cat >conftest.$ac_ext <<_ACEOF 9365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845/* confdefs.h. */
13846_ACEOF
13847cat confdefs.h >>conftest.$ac_ext
13848cat >>conftest.$ac_ext <<_ACEOF
13849/* end confdefs.h. */ 9366/* end confdefs.h. */
13850 9367
13851/* Override any GCC internal prototype to avoid an error. 9368/* Override any GCC internal prototype to avoid an error.
@@ -13863,43 +9380,18 @@ return XRenderQueryExtension ();
13863 return 0; 9380 return 0;
13864} 9381}
13865_ACEOF 9382_ACEOF
13866rm -f conftest.$ac_objext conftest$ac_exeext 9383if ac_fn_c_try_link "$LINENO"; then :
13867if { (ac_try="$ac_link"
13868case "(($ac_try" in
13869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13870 *) ac_try_echo=$ac_try;;
13871esac
13872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13873$as_echo "$ac_try_echo") >&5
13874 (eval "$ac_link") 2>conftest.er1
13875 ac_status=$?
13876 grep -v '^ *+' conftest.er1 >conftest.err
13877 rm -f conftest.er1
13878 cat conftest.err >&5
13879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } && {
13881 test -z "$ac_c_werror_flag" ||
13882 test ! -s conftest.err
13883 } && test -s conftest$ac_exeext && {
13884 test "$cross_compiling" = yes ||
13885 $as_test_x conftest$ac_exeext
13886 }; then
13887 ac_cv_lib_Xrender_XRenderQueryExtension=yes 9384 ac_cv_lib_Xrender_XRenderQueryExtension=yes
13888else 9385else
13889 $as_echo "$as_me: failed program was:" >&5 9386 ac_cv_lib_Xrender_XRenderQueryExtension=no
13890sed 's/^/| /' conftest.$ac_ext >&5
13891
13892 ac_cv_lib_Xrender_XRenderQueryExtension=no
13893fi 9387fi
13894 9388rm -f core conftest.err conftest.$ac_objext \
13895rm -rf conftest.dSYM 9389 conftest$ac_exeext conftest.$ac_ext
13896rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13897 conftest$ac_exeext conftest.$ac_ext
13898LIBS=$ac_check_lib_save_LIBS 9390LIBS=$ac_check_lib_save_LIBS
13899fi 9391fi
13900{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 9392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
13901$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 9393$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
13902if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then 9394if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then :
13903 HAVE_XRENDER=yes 9395 HAVE_XRENDER=yes
13904fi 9396fi
13905 9397
@@ -13911,146 +9403,16 @@ fi
13911 CFLAGS="$CFLAGS $XFT_CFLAGS" 9403 CFLAGS="$CFLAGS $XFT_CFLAGS"
13912 XFT_LIBS="-lXrender $XFT_LIBS" 9404 XFT_LIBS="-lXrender $XFT_LIBS"
13913 LIBS="$XFT_LIBS $LIBS" 9405 LIBS="$XFT_LIBS $LIBS"
13914 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 9406 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
13915 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 9407if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
13916$as_echo_n "checking for X11/Xft/Xft.h... " >&6; } 9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
13917if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13918 $as_echo_n "(cached) " >&6
13919fi
13920{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13921$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13922else
13923 # Is the header compilable?
13924{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
13925$as_echo_n "checking X11/Xft/Xft.h usability... " >&6; }
13926cat >conftest.$ac_ext <<_ACEOF
13927/* confdefs.h. */
13928_ACEOF
13929cat confdefs.h >>conftest.$ac_ext
13930cat >>conftest.$ac_ext <<_ACEOF
13931/* end confdefs.h. */
13932$ac_includes_default
13933#include <X11/Xft/Xft.h>
13934_ACEOF
13935rm -f conftest.$ac_objext
13936if { (ac_try="$ac_compile"
13937case "(($ac_try" in
13938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13939 *) ac_try_echo=$ac_try;;
13940esac
13941eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13942$as_echo "$ac_try_echo") >&5
13943 (eval "$ac_compile") 2>conftest.er1
13944 ac_status=$?
13945 grep -v '^ *+' conftest.er1 >conftest.err
13946 rm -f conftest.er1
13947 cat conftest.err >&5
13948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } && {
13950 test -z "$ac_c_werror_flag" ||
13951 test ! -s conftest.err
13952 } && test -s conftest.$ac_objext; then
13953 ac_header_compiler=yes
13954else
13955 $as_echo "$as_me: failed program was:" >&5
13956sed 's/^/| /' conftest.$ac_ext >&5
13957
13958 ac_header_compiler=no
13959fi
13960
13961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13962{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13963$as_echo "$ac_header_compiler" >&6; }
13964
13965# Is the header present?
13966{ $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
13967$as_echo_n "checking X11/Xft/Xft.h presence... " >&6; }
13968cat >conftest.$ac_ext <<_ACEOF
13969/* confdefs.h. */
13970_ACEOF
13971cat confdefs.h >>conftest.$ac_ext
13972cat >>conftest.$ac_ext <<_ACEOF
13973/* end confdefs.h. */
13974#include <X11/Xft/Xft.h>
13975_ACEOF
13976if { (ac_try="$ac_cpp conftest.$ac_ext"
13977case "(($ac_try" in
13978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13979 *) ac_try_echo=$ac_try;;
13980esac
13981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13982$as_echo "$ac_try_echo") >&5
13983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13984 ac_status=$?
13985 grep -v '^ *+' conftest.er1 >conftest.err
13986 rm -f conftest.er1
13987 cat conftest.err >&5
13988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } >/dev/null && {
13990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13991 test ! -s conftest.err
13992 }; then
13993 ac_header_preproc=yes
13994else
13995 $as_echo "$as_me: failed program was:" >&5
13996sed 's/^/| /' conftest.$ac_ext >&5
13997
13998 ac_header_preproc=no
13999fi
14000
14001rm -f conftest.err conftest.$ac_ext
14002{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14003$as_echo "$ac_header_preproc" >&6; }
14004
14005# So? What about this header?
14006case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14007 yes:no: )
14008 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
14009$as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14010 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
14011$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
14012 ac_header_preproc=yes
14013 ;;
14014 no:yes:* )
14015 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
14016$as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
14017 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
14018$as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
14019 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
14020$as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
14021 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
14022$as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
14023 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
14024$as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
14025 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
14026$as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
14027
14028 ;;
14029esac
14030{ $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
14031$as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
14032if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
14033 $as_echo_n "(cached) " >&6
14034else
14035 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
14036fi
14037{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
14038$as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
14039
14040fi
14041if test $ac_cv_header_X11_Xft_Xft_h = yes; then
14042 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
14043$as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 9409$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
14044if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then 9410if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then :
14045 $as_echo_n "(cached) " >&6 9411 $as_echo_n "(cached) " >&6
14046else 9412else
14047 ac_check_lib_save_LIBS=$LIBS 9413 ac_check_lib_save_LIBS=$LIBS
14048LIBS="-lXft $XFT_LIBS $LIBS" 9414LIBS="-lXft $XFT_LIBS $LIBS"
14049cat >conftest.$ac_ext <<_ACEOF 9415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050/* confdefs.h. */
14051_ACEOF
14052cat confdefs.h >>conftest.$ac_ext
14053cat >>conftest.$ac_ext <<_ACEOF
14054/* end confdefs.h. */ 9416/* end confdefs.h. */
14055 9417
14056/* Override any GCC internal prototype to avoid an error. 9418/* Override any GCC internal prototype to avoid an error.
@@ -14068,43 +9430,18 @@ return XftFontOpen ();
14068 return 0; 9430 return 0;
14069} 9431}
14070_ACEOF 9432_ACEOF
14071rm -f conftest.$ac_objext conftest$ac_exeext 9433if ac_fn_c_try_link "$LINENO"; then :
14072if { (ac_try="$ac_link"
14073case "(($ac_try" in
14074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14076esac
14077eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14078$as_echo "$ac_try_echo") >&5
14079 (eval "$ac_link") 2>conftest.er1
14080 ac_status=$?
14081 grep -v '^ *+' conftest.er1 >conftest.err
14082 rm -f conftest.er1
14083 cat conftest.err >&5
14084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && {
14086 test -z "$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest$ac_exeext && {
14089 test "$cross_compiling" = yes ||
14090 $as_test_x conftest$ac_exeext
14091 }; then
14092 ac_cv_lib_Xft_XftFontOpen=yes 9434 ac_cv_lib_Xft_XftFontOpen=yes
14093else 9435else
14094 $as_echo "$as_me: failed program was:" >&5 9436 ac_cv_lib_Xft_XftFontOpen=no
14095sed 's/^/| /' conftest.$ac_ext >&5
14096
14097 ac_cv_lib_Xft_XftFontOpen=no
14098fi 9437fi
14099 9438rm -f core conftest.err conftest.$ac_objext \
14100rm -rf conftest.dSYM 9439 conftest$ac_exeext conftest.$ac_ext
14101rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14102 conftest$ac_exeext conftest.$ac_ext
14103LIBS=$ac_check_lib_save_LIBS 9440LIBS=$ac_check_lib_save_LIBS
14104fi 9441fi
14105{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 9442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
14106$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 9443$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
14107if test $ac_cv_lib_Xft_XftFontOpen = yes; then 9444if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then :
14108 HAVE_XFT=yes 9445 HAVE_XFT=yes
14109fi 9446fi
14110 9447
@@ -14114,9 +9451,7 @@ fi
14114 9451
14115 if test "${HAVE_XFT}" = "yes"; then 9452 if test "${HAVE_XFT}" = "yes"; then
14116 9453
14117cat >>confdefs.h <<\_ACEOF 9454$as_echo "#define HAVE_XFT 1" >>confdefs.h
14118#define HAVE_XFT 1
14119_ACEOF
14120 9455
14121 9456
14122 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" 9457 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS"
@@ -14145,9 +9480,7 @@ _ACEOF
14145 HAVE_LIBOTF=no 9480 HAVE_LIBOTF=no
14146 if test "${HAVE_FREETYPE}" = "yes"; then 9481 if test "${HAVE_FREETYPE}" = "yes"; then
14147 9482
14148cat >>confdefs.h <<\_ACEOF 9483$as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14149#define HAVE_FREETYPE 1
14150_ACEOF
14151 9484
14152 if test "${with_libotf}" != "no"; then 9485 if test "${with_libotf}" != "no"; then
14153 9486
@@ -14155,9 +9488,9 @@ _ACEOF
14155 9488
14156 # Extract the first word of "pkg-config", so it can be a program name with args. 9489 # Extract the first word of "pkg-config", so it can be a program name with args.
14157set dummy pkg-config; ac_word=$2 9490set dummy pkg-config; ac_word=$2
14158{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14159$as_echo_n "checking for $ac_word... " >&6; } 9492$as_echo_n "checking for $ac_word... " >&6; }
14160if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9493if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14161 $as_echo_n "(cached) " >&6 9494 $as_echo_n "(cached) " >&6
14162else 9495else
14163 case $PKG_CONFIG in 9496 case $PKG_CONFIG in
@@ -14170,14 +9503,14 @@ for as_dir in $PATH
14170do 9503do
14171 IFS=$as_save_IFS 9504 IFS=$as_save_IFS
14172 test -z "$as_dir" && as_dir=. 9505 test -z "$as_dir" && as_dir=.
14173 for ac_exec_ext in '' $ac_executable_extensions; do 9506 for ac_exec_ext in '' $ac_executable_extensions; do
14174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14175 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9508 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14176 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14177 break 2 9510 break 2
14178 fi 9511 fi
14179done 9512done
14180done 9513 done
14181IFS=$as_save_IFS 9514IFS=$as_save_IFS
14182 9515
14183 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9516 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -14186,10 +9519,10 @@ esac
14186fi 9519fi
14187PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9520PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14188if test -n "$PKG_CONFIG"; then 9521if test -n "$PKG_CONFIG"; then
14189 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14190$as_echo "$PKG_CONFIG" >&6; } 9523$as_echo "$PKG_CONFIG" >&6; }
14191else 9524else
14192 { $as_echo "$as_me:$LINENO: result: no" >&5 9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14193$as_echo "no" >&6; } 9526$as_echo "no" >&6; }
14194fi 9527fi
14195 9528
@@ -14200,27 +9533,27 @@ fi
14200 else 9533 else
14201 PKG_CONFIG_MIN_VERSION=0.9.0 9534 PKG_CONFIG_MIN_VERSION=0.9.0
14202 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9535 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14203 { $as_echo "$as_me:$LINENO: checking for libotf" >&5 9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5
14204$as_echo_n "checking for libotf... " >&6; } 9537$as_echo_n "checking for libotf... " >&6; }
14205 9538
14206 if $PKG_CONFIG --exists "libotf" 2>&5; then 9539 if $PKG_CONFIG --exists "libotf" 2>&5; then
14207 { $as_echo "$as_me:$LINENO: result: yes" >&5 9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14208$as_echo "yes" >&6; } 9541$as_echo "yes" >&6; }
14209 succeeded=yes 9542 succeeded=yes
14210 9543
14211 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5
14212$as_echo_n "checking LIBOTF_CFLAGS... " >&6; } 9545$as_echo_n "checking LIBOTF_CFLAGS... " >&6; }
14213 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` 9546 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
14214 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5
14215$as_echo "$LIBOTF_CFLAGS" >&6; } 9548$as_echo "$LIBOTF_CFLAGS" >&6; }
14216 9549
14217 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5
14218$as_echo_n "checking LIBOTF_LIBS... " >&6; } 9551$as_echo_n "checking LIBOTF_LIBS... " >&6; }
14219 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` 9552 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
14220 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5
14221$as_echo "$LIBOTF_LIBS" >&6; } 9554$as_echo "$LIBOTF_LIBS" >&6; }
14222 else 9555 else
14223 { $as_echo "$as_me:$LINENO: result: no" >&5 9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14224$as_echo "no" >&6; } 9557$as_echo "no" >&6; }
14225 LIBOTF_CFLAGS="" 9558 LIBOTF_CFLAGS=""
14226 LIBOTF_LIBS="" 9559 LIBOTF_LIBS=""
@@ -14246,22 +9579,16 @@ $as_echo "no" >&6; }
14246 9579
14247 if test "$HAVE_LIBOTF" = "yes"; then 9580 if test "$HAVE_LIBOTF" = "yes"; then
14248 9581
14249cat >>confdefs.h <<\_ACEOF 9582$as_echo "#define HAVE_LIBOTF 1" >>confdefs.h
14250#define HAVE_LIBOTF 1
14251_ACEOF
14252 9583
14253 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5
14254$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 9585$as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
14255if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then 9586if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then :
14256 $as_echo_n "(cached) " >&6 9587 $as_echo_n "(cached) " >&6
14257else 9588else
14258 ac_check_lib_save_LIBS=$LIBS 9589 ac_check_lib_save_LIBS=$LIBS
14259LIBS="-lotf $LIBS" 9590LIBS="-lotf $LIBS"
14260cat >conftest.$ac_ext <<_ACEOF 9591cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261/* confdefs.h. */
14262_ACEOF
14263cat confdefs.h >>conftest.$ac_ext
14264cat >>conftest.$ac_ext <<_ACEOF
14265/* end confdefs.h. */ 9592/* end confdefs.h. */
14266 9593
14267/* Override any GCC internal prototype to avoid an error. 9594/* Override any GCC internal prototype to avoid an error.
@@ -14279,43 +9606,18 @@ return OTF_get_variation_glyphs ();
14279 return 0; 9606 return 0;
14280} 9607}
14281_ACEOF 9608_ACEOF
14282rm -f conftest.$ac_objext conftest$ac_exeext 9609if ac_fn_c_try_link "$LINENO"; then :
14283if { (ac_try="$ac_link"
14284case "(($ac_try" in
14285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14287esac
14288eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14289$as_echo "$ac_try_echo") >&5
14290 (eval "$ac_link") 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } && {
14297 test -z "$ac_c_werror_flag" ||
14298 test ! -s conftest.err
14299 } && test -s conftest$ac_exeext && {
14300 test "$cross_compiling" = yes ||
14301 $as_test_x conftest$ac_exeext
14302 }; then
14303 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 9610 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
14304else 9611else
14305 $as_echo "$as_me: failed program was:" >&5 9612 ac_cv_lib_otf_OTF_get_variation_glyphs=no
14306sed 's/^/| /' conftest.$ac_ext >&5
14307
14308 ac_cv_lib_otf_OTF_get_variation_glyphs=no
14309fi 9613fi
14310 9614rm -f core conftest.err conftest.$ac_objext \
14311rm -rf conftest.dSYM 9615 conftest$ac_exeext conftest.$ac_ext
14312rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14313 conftest$ac_exeext conftest.$ac_ext
14314LIBS=$ac_check_lib_save_LIBS 9616LIBS=$ac_check_lib_save_LIBS
14315fi 9617fi
14316{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 9618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
14317$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 9619$as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
14318if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then 9620if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then :
14319 HAVE_OTF_GET_VARIATION_GLYPHS=yes 9621 HAVE_OTF_GET_VARIATION_GLYPHS=yes
14320else 9622else
14321 HAVE_OTF_GET_VARIATION_GLYPHS=no 9623 HAVE_OTF_GET_VARIATION_GLYPHS=no
@@ -14323,9 +9625,7 @@ fi
14323 9625
14324 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then 9626 if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then
14325 9627
14326cat >>confdefs.h <<\_ACEOF 9628$as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h
14327#define HAVE_OTF_GET_VARIATION_GLYPHS 1
14328_ACEOF
14329 9629
14330 fi 9630 fi
14331 fi 9631 fi
@@ -14340,9 +9640,9 @@ _ACEOF
14340 9640
14341 # Extract the first word of "pkg-config", so it can be a program name with args. 9641 # Extract the first word of "pkg-config", so it can be a program name with args.
14342set dummy pkg-config; ac_word=$2 9642set dummy pkg-config; ac_word=$2
14343{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14344$as_echo_n "checking for $ac_word... " >&6; } 9644$as_echo_n "checking for $ac_word... " >&6; }
14345if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 9645if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14346 $as_echo_n "(cached) " >&6 9646 $as_echo_n "(cached) " >&6
14347else 9647else
14348 case $PKG_CONFIG in 9648 case $PKG_CONFIG in
@@ -14355,14 +9655,14 @@ for as_dir in $PATH
14355do 9655do
14356 IFS=$as_save_IFS 9656 IFS=$as_save_IFS
14357 test -z "$as_dir" && as_dir=. 9657 test -z "$as_dir" && as_dir=.
14358 for ac_exec_ext in '' $ac_executable_extensions; do 9658 for ac_exec_ext in '' $ac_executable_extensions; do
14359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14360 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 9660 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14361 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14362 break 2 9662 break 2
14363 fi 9663 fi
14364done 9664done
14365done 9665 done
14366IFS=$as_save_IFS 9666IFS=$as_save_IFS
14367 9667
14368 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 9668 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
@@ -14371,10 +9671,10 @@ esac
14371fi 9671fi
14372PKG_CONFIG=$ac_cv_path_PKG_CONFIG 9672PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14373if test -n "$PKG_CONFIG"; then 9673if test -n "$PKG_CONFIG"; then
14374 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14375$as_echo "$PKG_CONFIG" >&6; } 9675$as_echo "$PKG_CONFIG" >&6; }
14376else 9676else
14377 { $as_echo "$as_me:$LINENO: result: no" >&5 9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14378$as_echo "no" >&6; } 9678$as_echo "no" >&6; }
14379fi 9679fi
14380 9680
@@ -14385,27 +9685,27 @@ fi
14385 else 9685 else
14386 PKG_CONFIG_MIN_VERSION=0.9.0 9686 PKG_CONFIG_MIN_VERSION=0.9.0
14387 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 9687 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14388 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5
14389$as_echo_n "checking for m17n-flt... " >&6; } 9689$as_echo_n "checking for m17n-flt... " >&6; }
14390 9690
14391 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 9691 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
14392 { $as_echo "$as_me:$LINENO: result: yes" >&5 9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14393$as_echo "yes" >&6; } 9693$as_echo "yes" >&6; }
14394 succeeded=yes 9694 succeeded=yes
14395 9695
14396 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5
14397$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } 9697$as_echo_n "checking M17N_FLT_CFLAGS... " >&6; }
14398 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 9698 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
14399 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5
14400$as_echo "$M17N_FLT_CFLAGS" >&6; } 9700$as_echo "$M17N_FLT_CFLAGS" >&6; }
14401 9701
14402 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5
14403$as_echo_n "checking M17N_FLT_LIBS... " >&6; } 9703$as_echo_n "checking M17N_FLT_LIBS... " >&6; }
14404 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 9704 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
14405 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5
14406$as_echo "$M17N_FLT_LIBS" >&6; } 9706$as_echo "$M17N_FLT_LIBS" >&6; }
14407 else 9707 else
14408 { $as_echo "$as_me:$LINENO: result: no" >&5 9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14409$as_echo "no" >&6; } 9709$as_echo "no" >&6; }
14410 M17N_FLT_CFLAGS="" 9710 M17N_FLT_CFLAGS=""
14411 M17N_FLT_LIBS="" 9711 M17N_FLT_LIBS=""
@@ -14431,9 +9731,7 @@ $as_echo "no" >&6; }
14431 9731
14432 if test "$HAVE_M17N_FLT" = "yes"; then 9732 if test "$HAVE_M17N_FLT" = "yes"; then
14433 9733
14434cat >>confdefs.h <<\_ACEOF 9734$as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h
14435#define HAVE_M17N_FLT 1
14436_ACEOF
14437 9735
14438 fi 9736 fi
14439 fi 9737 fi
@@ -14460,146 +9758,16 @@ HAVE_XPM=no
14460LIBXPM= 9758LIBXPM=
14461if test "${HAVE_X11}" = "yes"; then 9759if test "${HAVE_X11}" = "yes"; then
14462 if test "${with_xpm}" != "no"; then 9760 if test "${with_xpm}" != "no"; then
14463 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 9761 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
14464 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 9762if test "x$ac_cv_header_X11_xpm_h" = x""yes; then :
14465$as_echo_n "checking for X11/xpm.h... " >&6; } 9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5
14466if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14467 $as_echo_n "(cached) " >&6
14468fi
14469{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14470$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14471else
14472 # Is the header compilable?
14473{ $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
14474$as_echo_n "checking X11/xpm.h usability... " >&6; }
14475cat >conftest.$ac_ext <<_ACEOF
14476/* confdefs.h. */
14477_ACEOF
14478cat confdefs.h >>conftest.$ac_ext
14479cat >>conftest.$ac_ext <<_ACEOF
14480/* end confdefs.h. */
14481$ac_includes_default
14482#include <X11/xpm.h>
14483_ACEOF
14484rm -f conftest.$ac_objext
14485if { (ac_try="$ac_compile"
14486case "(($ac_try" in
14487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14488 *) ac_try_echo=$ac_try;;
14489esac
14490eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14491$as_echo "$ac_try_echo") >&5
14492 (eval "$ac_compile") 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } && {
14499 test -z "$ac_c_werror_flag" ||
14500 test ! -s conftest.err
14501 } && test -s conftest.$ac_objext; then
14502 ac_header_compiler=yes
14503else
14504 $as_echo "$as_me: failed program was:" >&5
14505sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 ac_header_compiler=no
14508fi
14509
14510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14511{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14512$as_echo "$ac_header_compiler" >&6; }
14513
14514# Is the header present?
14515{ $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
14516$as_echo_n "checking X11/xpm.h presence... " >&6; }
14517cat >conftest.$ac_ext <<_ACEOF
14518/* confdefs.h. */
14519_ACEOF
14520cat confdefs.h >>conftest.$ac_ext
14521cat >>conftest.$ac_ext <<_ACEOF
14522/* end confdefs.h. */
14523#include <X11/xpm.h>
14524_ACEOF
14525if { (ac_try="$ac_cpp conftest.$ac_ext"
14526case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529esac
14530eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14531$as_echo "$ac_try_echo") >&5
14532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14533 ac_status=$?
14534 grep -v '^ *+' conftest.er1 >conftest.err
14535 rm -f conftest.er1
14536 cat conftest.err >&5
14537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } >/dev/null && {
14539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14540 test ! -s conftest.err
14541 }; then
14542 ac_header_preproc=yes
14543else
14544 $as_echo "$as_me: failed program was:" >&5
14545sed 's/^/| /' conftest.$ac_ext >&5
14546
14547 ac_header_preproc=no
14548fi
14549
14550rm -f conftest.err conftest.$ac_ext
14551{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14552$as_echo "$ac_header_preproc" >&6; }
14553
14554# So? What about this header?
14555case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14556 yes:no: )
14557 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
14558$as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14559 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
14560$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
14561 ac_header_preproc=yes
14562 ;;
14563 no:yes:* )
14564 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
14565$as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
14566 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
14567$as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
14568 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
14569$as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
14570 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
14571$as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
14572 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
14573$as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
14574 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
14575$as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
14576
14577 ;;
14578esac
14579{ $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
14580$as_echo_n "checking for X11/xpm.h... " >&6; }
14581if test "${ac_cv_header_X11_xpm_h+set}" = set; then
14582 $as_echo_n "(cached) " >&6
14583else
14584 ac_cv_header_X11_xpm_h=$ac_header_preproc
14585fi
14586{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
14587$as_echo "$ac_cv_header_X11_xpm_h" >&6; }
14588
14589fi
14590if test $ac_cv_header_X11_xpm_h = yes; then
14591 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
14592$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 9764$as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
14593if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 9765if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then :
14594 $as_echo_n "(cached) " >&6 9766 $as_echo_n "(cached) " >&6
14595else 9767else
14596 ac_check_lib_save_LIBS=$LIBS 9768 ac_check_lib_save_LIBS=$LIBS
14597LIBS="-lXpm -lX11 $LIBS" 9769LIBS="-lXpm -lX11 $LIBS"
14598cat >conftest.$ac_ext <<_ACEOF 9770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599/* confdefs.h. */
14600_ACEOF
14601cat confdefs.h >>conftest.$ac_ext
14602cat >>conftest.$ac_ext <<_ACEOF
14603/* end confdefs.h. */ 9771/* end confdefs.h. */
14604 9772
14605/* Override any GCC internal prototype to avoid an error. 9773/* Override any GCC internal prototype to avoid an error.
@@ -14617,43 +9785,18 @@ return XpmReadFileToPixmap ();
14617 return 0; 9785 return 0;
14618} 9786}
14619_ACEOF 9787_ACEOF
14620rm -f conftest.$ac_objext conftest$ac_exeext 9788if ac_fn_c_try_link "$LINENO"; then :
14621if { (ac_try="$ac_link"
14622case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14625esac
14626eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14627$as_echo "$ac_try_echo") >&5
14628 (eval "$ac_link") 2>conftest.er1
14629 ac_status=$?
14630 grep -v '^ *+' conftest.er1 >conftest.err
14631 rm -f conftest.er1
14632 cat conftest.err >&5
14633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); } && {
14635 test -z "$ac_c_werror_flag" ||
14636 test ! -s conftest.err
14637 } && test -s conftest$ac_exeext && {
14638 test "$cross_compiling" = yes ||
14639 $as_test_x conftest$ac_exeext
14640 }; then
14641 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 9789 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
14642else 9790else
14643 $as_echo "$as_me: failed program was:" >&5 9791 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
14644sed 's/^/| /' conftest.$ac_ext >&5
14645
14646 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
14647fi 9792fi
14648 9793rm -f core conftest.err conftest.$ac_objext \
14649rm -rf conftest.dSYM 9794 conftest$ac_exeext conftest.$ac_ext
14650rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14651 conftest$ac_exeext conftest.$ac_ext
14652LIBS=$ac_check_lib_save_LIBS 9795LIBS=$ac_check_lib_save_LIBS
14653fi 9796fi
14654{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 9797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
14655$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 9798$as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
14656if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 9799if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then :
14657 HAVE_XPM=yes 9800 HAVE_XPM=yes
14658fi 9801fi
14659 9802
@@ -14661,13 +9804,9 @@ fi
14661 9804
14662 9805
14663 if test "${HAVE_XPM}" = "yes"; then 9806 if test "${HAVE_XPM}" = "yes"; then
14664 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5
14665$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } 9808$as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; }
14666 cat >conftest.$ac_ext <<_ACEOF 9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667/* confdefs.h. */
14668_ACEOF
14669cat confdefs.h >>conftest.$ac_ext
14670cat >>conftest.$ac_ext <<_ACEOF
14671/* end confdefs.h. */ 9810/* end confdefs.h. */
14672#include "X11/xpm.h" 9811#include "X11/xpm.h"
14673#ifndef XpmReturnAllocPixels 9812#ifndef XpmReturnAllocPixels
@@ -14676,7 +9815,7 @@ no_return_alloc_pixels
14676 9815
14677_ACEOF 9816_ACEOF
14678if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9817if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14679 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then 9818 $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then :
14680 HAVE_XPM=no 9819 HAVE_XPM=no
14681else 9820else
14682 HAVE_XPM=yes 9821 HAVE_XPM=yes
@@ -14685,10 +9824,10 @@ rm -f conftest*
14685 9824
14686 9825
14687 if test "${HAVE_XPM}" = "yes"; then 9826 if test "${HAVE_XPM}" = "yes"; then
14688 { $as_echo "$as_me:$LINENO: result: yes" >&5 9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14689$as_echo "yes" >&6; } 9828$as_echo "yes" >&6; }
14690 else 9829 else
14691 { $as_echo "$as_me:$LINENO: result: no" >&5 9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14692$as_echo "no" >&6; } 9831$as_echo "no" >&6; }
14693 fi 9832 fi
14694 fi 9833 fi
@@ -14696,9 +9835,7 @@ $as_echo "no" >&6; }
14696 9835
14697 if test "${HAVE_XPM}" = "yes"; then 9836 if test "${HAVE_XPM}" = "yes"; then
14698 9837
14699cat >>confdefs.h <<\_ACEOF 9838$as_echo "#define HAVE_XPM 1" >>confdefs.h
14700#define HAVE_XPM 1
14701_ACEOF
14702 9839
14703 LIBXPM=-lXpm 9840 LIBXPM=-lXpm
14704 fi 9841 fi
@@ -14710,146 +9847,16 @@ HAVE_JPEG=no
14710LIBJPEG= 9847LIBJPEG=
14711if test "${HAVE_X11}" = "yes"; then 9848if test "${HAVE_X11}" = "yes"; then
14712 if test "${with_jpeg}" != "no"; then 9849 if test "${with_jpeg}" != "no"; then
14713 if test "${ac_cv_header_jerror_h+set}" = set; then 9850 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
14714 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 9851if test "x$ac_cv_header_jerror_h" = x""yes; then :
14715$as_echo_n "checking for jerror.h... " >&6; } 9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5
14716if test "${ac_cv_header_jerror_h+set}" = set; then
14717 $as_echo_n "(cached) " >&6
14718fi
14719{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14720$as_echo "$ac_cv_header_jerror_h" >&6; }
14721else
14722 # Is the header compilable?
14723{ $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5
14724$as_echo_n "checking jerror.h usability... " >&6; }
14725cat >conftest.$ac_ext <<_ACEOF
14726/* confdefs.h. */
14727_ACEOF
14728cat confdefs.h >>conftest.$ac_ext
14729cat >>conftest.$ac_ext <<_ACEOF
14730/* end confdefs.h. */
14731$ac_includes_default
14732#include <jerror.h>
14733_ACEOF
14734rm -f conftest.$ac_objext
14735if { (ac_try="$ac_compile"
14736case "(($ac_try" in
14737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14739esac
14740eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14741$as_echo "$ac_try_echo") >&5
14742 (eval "$ac_compile") 2>conftest.er1
14743 ac_status=$?
14744 grep -v '^ *+' conftest.er1 >conftest.err
14745 rm -f conftest.er1
14746 cat conftest.err >&5
14747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && {
14749 test -z "$ac_c_werror_flag" ||
14750 test ! -s conftest.err
14751 } && test -s conftest.$ac_objext; then
14752 ac_header_compiler=yes
14753else
14754 $as_echo "$as_me: failed program was:" >&5
14755sed 's/^/| /' conftest.$ac_ext >&5
14756
14757 ac_header_compiler=no
14758fi
14759
14760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14762$as_echo "$ac_header_compiler" >&6; }
14763
14764# Is the header present?
14765{ $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5
14766$as_echo_n "checking jerror.h presence... " >&6; }
14767cat >conftest.$ac_ext <<_ACEOF
14768/* confdefs.h. */
14769_ACEOF
14770cat confdefs.h >>conftest.$ac_ext
14771cat >>conftest.$ac_ext <<_ACEOF
14772/* end confdefs.h. */
14773#include <jerror.h>
14774_ACEOF
14775if { (ac_try="$ac_cpp conftest.$ac_ext"
14776case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14779esac
14780eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14781$as_echo "$ac_try_echo") >&5
14782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14783 ac_status=$?
14784 grep -v '^ *+' conftest.er1 >conftest.err
14785 rm -f conftest.er1
14786 cat conftest.err >&5
14787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } >/dev/null && {
14789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 }; then
14792 ac_header_preproc=yes
14793else
14794 $as_echo "$as_me: failed program was:" >&5
14795sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 ac_header_preproc=no
14798fi
14799
14800rm -f conftest.err conftest.$ac_ext
14801{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14802$as_echo "$ac_header_preproc" >&6; }
14803
14804# So? What about this header?
14805case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14806 yes:no: )
14807 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
14808$as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14809 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
14810$as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
14811 ac_header_preproc=yes
14812 ;;
14813 no:yes:* )
14814 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
14815$as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
14816 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
14817$as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
14818 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
14819$as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
14820 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
14821$as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
14822 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
14823$as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
14824 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
14825$as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
14826
14827 ;;
14828esac
14829{ $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
14830$as_echo_n "checking for jerror.h... " >&6; }
14831if test "${ac_cv_header_jerror_h+set}" = set; then
14832 $as_echo_n "(cached) " >&6
14833else
14834 ac_cv_header_jerror_h=$ac_header_preproc
14835fi
14836{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14837$as_echo "$ac_cv_header_jerror_h" >&6; }
14838
14839fi
14840if test $ac_cv_header_jerror_h = yes; then
14841 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
14842$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 9853$as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
14843if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 9854if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then :
14844 $as_echo_n "(cached) " >&6 9855 $as_echo_n "(cached) " >&6
14845else 9856else
14846 ac_check_lib_save_LIBS=$LIBS 9857 ac_check_lib_save_LIBS=$LIBS
14847LIBS="-ljpeg $LIBS" 9858LIBS="-ljpeg $LIBS"
14848cat >conftest.$ac_ext <<_ACEOF 9859cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849/* confdefs.h. */
14850_ACEOF
14851cat confdefs.h >>conftest.$ac_ext
14852cat >>conftest.$ac_ext <<_ACEOF
14853/* end confdefs.h. */ 9860/* end confdefs.h. */
14854 9861
14855/* Override any GCC internal prototype to avoid an error. 9862/* Override any GCC internal prototype to avoid an error.
@@ -14867,43 +9874,18 @@ return jpeg_destroy_compress ();
14867 return 0; 9874 return 0;
14868} 9875}
14869_ACEOF 9876_ACEOF
14870rm -f conftest.$ac_objext conftest$ac_exeext 9877if ac_fn_c_try_link "$LINENO"; then :
14871if { (ac_try="$ac_link"
14872case "(($ac_try" in
14873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874 *) ac_try_echo=$ac_try;;
14875esac
14876eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14877$as_echo "$ac_try_echo") >&5
14878 (eval "$ac_link") 2>conftest.er1
14879 ac_status=$?
14880 grep -v '^ *+' conftest.er1 >conftest.err
14881 rm -f conftest.er1
14882 cat conftest.err >&5
14883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } && {
14885 test -z "$ac_c_werror_flag" ||
14886 test ! -s conftest.err
14887 } && test -s conftest$ac_exeext && {
14888 test "$cross_compiling" = yes ||
14889 $as_test_x conftest$ac_exeext
14890 }; then
14891 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 9878 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
14892else 9879else
14893 $as_echo "$as_me: failed program was:" >&5 9880 ac_cv_lib_jpeg_jpeg_destroy_compress=no
14894sed 's/^/| /' conftest.$ac_ext >&5
14895
14896 ac_cv_lib_jpeg_jpeg_destroy_compress=no
14897fi 9881fi
14898 9882rm -f core conftest.err conftest.$ac_objext \
14899rm -rf conftest.dSYM 9883 conftest$ac_exeext conftest.$ac_ext
14900rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14901 conftest$ac_exeext conftest.$ac_ext
14902LIBS=$ac_check_lib_save_LIBS 9884LIBS=$ac_check_lib_save_LIBS
14903fi 9885fi
14904{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 9886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
14905$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 9887$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
14906if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 9888if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then :
14907 HAVE_JPEG=yes 9889 HAVE_JPEG=yes
14908fi 9890fi
14909 9891
@@ -14912,30 +9894,21 @@ fi
14912 9894
14913 fi 9895 fi
14914 9896
9897 if test "${HAVE_JPEG}" = "yes"; then
9898 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
14915 9899
14916 if test "${HAVE_JPEG}" = "yes"; then 9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 cat >>confdefs.h <<\_ACEOF
14918#define HAVE_JPEG 1
14919_ACEOF
14920
14921 cat >conftest.$ac_ext <<_ACEOF
14922/* confdefs.h. */
14923_ACEOF
14924cat confdefs.h >>conftest.$ac_ext
14925cat >>conftest.$ac_ext <<_ACEOF
14926/* end confdefs.h. */ 9901/* end confdefs.h. */
14927#include <jpeglib.h> 9902#include <jpeglib.h>
14928 version=JPEG_LIB_VERSION 9903 version=JPEG_LIB_VERSION
14929 9904
14930_ACEOF 9905_ACEOF
14931if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9906if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14932 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then 9907 $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then :
14933 cat >>confdefs.h <<\_ACEOF 9908 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
14934#define HAVE_JPEG 1
14935_ACEOF
14936 9909
14937else 9910else
14938 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 9911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5
14939$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 9912$as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
14940 HAVE_JPEG=no 9913 HAVE_JPEG=no
14941fi 9914fi
@@ -14955,144 +9928,12 @@ if test "${HAVE_X11}" = "yes"; then
14955 if test "${with_png}" != "no"; then 9928 if test "${with_png}" != "no"; then
14956 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h 9929 # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
14957 # in /usr/include/libpng. 9930 # in /usr/include/libpng.
14958 9931 for ac_header in png.h libpng/png.h
14959 9932do :
14960for ac_header in png.h libpng/png.h 9933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14961do 9934ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14962as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9935eval as_val=\$$as_ac_Header
14963if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9936 if test "x$as_val" = x""yes; then :
14964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14965$as_echo_n "checking for $ac_header... " >&6; }
14966if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14967 $as_echo_n "(cached) " >&6
14968fi
14969ac_res=`eval 'as_val=${'$as_ac_Header'}
14970 $as_echo "$as_val"'`
14971 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14972$as_echo "$ac_res" >&6; }
14973else
14974 # Is the header compilable?
14975{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14976$as_echo_n "checking $ac_header usability... " >&6; }
14977cat >conftest.$ac_ext <<_ACEOF
14978/* confdefs.h. */
14979_ACEOF
14980cat confdefs.h >>conftest.$ac_ext
14981cat >>conftest.$ac_ext <<_ACEOF
14982/* end confdefs.h. */
14983$ac_includes_default
14984#include <$ac_header>
14985_ACEOF
14986rm -f conftest.$ac_objext
14987if { (ac_try="$ac_compile"
14988case "(($ac_try" in
14989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14990 *) ac_try_echo=$ac_try;;
14991esac
14992eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14993$as_echo "$ac_try_echo") >&5
14994 (eval "$ac_compile") 2>conftest.er1
14995 ac_status=$?
14996 grep -v '^ *+' conftest.er1 >conftest.err
14997 rm -f conftest.er1
14998 cat conftest.err >&5
14999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } && {
15001 test -z "$ac_c_werror_flag" ||
15002 test ! -s conftest.err
15003 } && test -s conftest.$ac_objext; then
15004 ac_header_compiler=yes
15005else
15006 $as_echo "$as_me: failed program was:" >&5
15007sed 's/^/| /' conftest.$ac_ext >&5
15008
15009 ac_header_compiler=no
15010fi
15011
15012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15013{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15014$as_echo "$ac_header_compiler" >&6; }
15015
15016# Is the header present?
15017{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15018$as_echo_n "checking $ac_header presence... " >&6; }
15019cat >conftest.$ac_ext <<_ACEOF
15020/* confdefs.h. */
15021_ACEOF
15022cat confdefs.h >>conftest.$ac_ext
15023cat >>conftest.$ac_ext <<_ACEOF
15024/* end confdefs.h. */
15025#include <$ac_header>
15026_ACEOF
15027if { (ac_try="$ac_cpp conftest.$ac_ext"
15028case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15031esac
15032eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15033$as_echo "$ac_try_echo") >&5
15034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15035 ac_status=$?
15036 grep -v '^ *+' conftest.er1 >conftest.err
15037 rm -f conftest.er1
15038 cat conftest.err >&5
15039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } >/dev/null && {
15041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15042 test ! -s conftest.err
15043 }; then
15044 ac_header_preproc=yes
15045else
15046 $as_echo "$as_me: failed program was:" >&5
15047sed 's/^/| /' conftest.$ac_ext >&5
15048
15049 ac_header_preproc=no
15050fi
15051
15052rm -f conftest.err conftest.$ac_ext
15053{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15054$as_echo "$ac_header_preproc" >&6; }
15055
15056# So? What about this header?
15057case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15058 yes:no: )
15059 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15060$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15062$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15063 ac_header_preproc=yes
15064 ;;
15065 no:yes:* )
15066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15067$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15069$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15071$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15073$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15074 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15075$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15076 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15077$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15078
15079 ;;
15080esac
15081{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15082$as_echo_n "checking for $ac_header... " >&6; }
15083if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15084 $as_echo_n "(cached) " >&6
15085else
15086 eval "$as_ac_Header=\$ac_header_preproc"
15087fi
15088ac_res=`eval 'as_val=${'$as_ac_Header'}
15089 $as_echo "$as_val"'`
15090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15091$as_echo "$ac_res" >&6; }
15092
15093fi
15094if test `eval 'as_val=${'$as_ac_Header'}
15095 $as_echo "$as_val"'` = yes; then
15096 cat >>confdefs.h <<_ACEOF 9937 cat >>confdefs.h <<_ACEOF
15097#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9938#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15098_ACEOF 9939_ACEOF
@@ -15102,18 +9943,14 @@ fi
15102done 9943done
15103 9944
15104 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 9945 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
15105 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5
15106$as_echo_n "checking for png_get_channels in -lpng... " >&6; } 9947$as_echo_n "checking for png_get_channels in -lpng... " >&6; }
15107if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 9948if test "${ac_cv_lib_png_png_get_channels+set}" = set; then :
15108 $as_echo_n "(cached) " >&6 9949 $as_echo_n "(cached) " >&6
15109else 9950else
15110 ac_check_lib_save_LIBS=$LIBS 9951 ac_check_lib_save_LIBS=$LIBS
15111LIBS="-lpng -lz -lm $LIBS" 9952LIBS="-lpng -lz -lm $LIBS"
15112cat >conftest.$ac_ext <<_ACEOF 9953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113/* confdefs.h. */
15114_ACEOF
15115cat confdefs.h >>conftest.$ac_ext
15116cat >>conftest.$ac_ext <<_ACEOF
15117/* end confdefs.h. */ 9954/* end confdefs.h. */
15118 9955
15119/* Override any GCC internal prototype to avoid an error. 9956/* Override any GCC internal prototype to avoid an error.
@@ -15131,43 +9968,18 @@ return png_get_channels ();
15131 return 0; 9968 return 0;
15132} 9969}
15133_ACEOF 9970_ACEOF
15134rm -f conftest.$ac_objext conftest$ac_exeext 9971if ac_fn_c_try_link "$LINENO"; then :
15135if { (ac_try="$ac_link"
15136case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15139esac
15140eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15141$as_echo "$ac_try_echo") >&5
15142 (eval "$ac_link") 2>conftest.er1
15143 ac_status=$?
15144 grep -v '^ *+' conftest.er1 >conftest.err
15145 rm -f conftest.er1
15146 cat conftest.err >&5
15147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); } && {
15149 test -z "$ac_c_werror_flag" ||
15150 test ! -s conftest.err
15151 } && test -s conftest$ac_exeext && {
15152 test "$cross_compiling" = yes ||
15153 $as_test_x conftest$ac_exeext
15154 }; then
15155 ac_cv_lib_png_png_get_channels=yes 9972 ac_cv_lib_png_png_get_channels=yes
15156else 9973else
15157 $as_echo "$as_me: failed program was:" >&5 9974 ac_cv_lib_png_png_get_channels=no
15158sed 's/^/| /' conftest.$ac_ext >&5
15159
15160 ac_cv_lib_png_png_get_channels=no
15161fi 9975fi
15162 9976rm -f core conftest.err conftest.$ac_objext \
15163rm -rf conftest.dSYM 9977 conftest$ac_exeext conftest.$ac_ext
15164rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15165 conftest$ac_exeext conftest.$ac_ext
15166LIBS=$ac_check_lib_save_LIBS 9978LIBS=$ac_check_lib_save_LIBS
15167fi 9979fi
15168{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 9980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5
15169$as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 9981$as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
15170if test $ac_cv_lib_png_png_get_channels = yes; then 9982if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then :
15171 HAVE_PNG=yes 9983 HAVE_PNG=yes
15172fi 9984fi
15173 9985
@@ -15176,9 +9988,7 @@ fi
15176 9988
15177 if test "${HAVE_PNG}" = "yes"; then 9989 if test "${HAVE_PNG}" = "yes"; then
15178 9990
15179cat >>confdefs.h <<\_ACEOF 9991$as_echo "#define HAVE_PNG 1" >>confdefs.h
15180#define HAVE_PNG 1
15181_ACEOF
15182 9992
15183 LIBPNG="-lpng -lz -lm" 9993 LIBPNG="-lpng -lz -lm"
15184 fi 9994 fi
@@ -15190,149 +10000,19 @@ HAVE_TIFF=no
15190LIBTIFF= 10000LIBTIFF=
15191if test "${HAVE_X11}" = "yes"; then 10001if test "${HAVE_X11}" = "yes"; then
15192 if test "${with_tiff}" != "no"; then 10002 if test "${with_tiff}" != "no"; then
15193 if test "${ac_cv_header_tiffio_h+set}" = set; then 10003 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15194 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 10004if test "x$ac_cv_header_tiffio_h" = x""yes; then :
15195$as_echo_n "checking for tiffio.h... " >&6; }
15196if test "${ac_cv_header_tiffio_h+set}" = set; then
15197 $as_echo_n "(cached) " >&6
15198fi
15199{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15200$as_echo "$ac_cv_header_tiffio_h" >&6; }
15201else
15202 # Is the header compilable?
15203{ $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5
15204$as_echo_n "checking tiffio.h usability... " >&6; }
15205cat >conftest.$ac_ext <<_ACEOF
15206/* confdefs.h. */
15207_ACEOF
15208cat confdefs.h >>conftest.$ac_ext
15209cat >>conftest.$ac_ext <<_ACEOF
15210/* end confdefs.h. */
15211$ac_includes_default
15212#include <tiffio.h>
15213_ACEOF
15214rm -f conftest.$ac_objext
15215if { (ac_try="$ac_compile"
15216case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219esac
15220eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15221$as_echo "$ac_try_echo") >&5
15222 (eval "$ac_compile") 2>conftest.er1
15223 ac_status=$?
15224 grep -v '^ *+' conftest.er1 >conftest.err
15225 rm -f conftest.er1
15226 cat conftest.err >&5
15227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); } && {
15229 test -z "$ac_c_werror_flag" ||
15230 test ! -s conftest.err
15231 } && test -s conftest.$ac_objext; then
15232 ac_header_compiler=yes
15233else
15234 $as_echo "$as_me: failed program was:" >&5
15235sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ac_header_compiler=no
15238fi
15239
15240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15241{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15242$as_echo "$ac_header_compiler" >&6; }
15243
15244# Is the header present?
15245{ $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5
15246$as_echo_n "checking tiffio.h presence... " >&6; }
15247cat >conftest.$ac_ext <<_ACEOF
15248/* confdefs.h. */
15249_ACEOF
15250cat confdefs.h >>conftest.$ac_ext
15251cat >>conftest.$ac_ext <<_ACEOF
15252/* end confdefs.h. */
15253#include <tiffio.h>
15254_ACEOF
15255if { (ac_try="$ac_cpp conftest.$ac_ext"
15256case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15259esac
15260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15261$as_echo "$ac_try_echo") >&5
15262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15263 ac_status=$?
15264 grep -v '^ *+' conftest.er1 >conftest.err
15265 rm -f conftest.er1
15266 cat conftest.err >&5
15267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } >/dev/null && {
15269 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15270 test ! -s conftest.err
15271 }; then
15272 ac_header_preproc=yes
15273else
15274 $as_echo "$as_me: failed program was:" >&5
15275sed 's/^/| /' conftest.$ac_ext >&5
15276
15277 ac_header_preproc=no
15278fi
15279
15280rm -f conftest.err conftest.$ac_ext
15281{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15282$as_echo "$ac_header_preproc" >&6; }
15283
15284# So? What about this header?
15285case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15286 yes:no: )
15287 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
15288$as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15289 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
15290$as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
15291 ac_header_preproc=yes
15292 ;;
15293 no:yes:* )
15294 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
15295$as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
15296 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
15297$as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
15298 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
15299$as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
15300 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
15301$as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
15302 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
15303$as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
15304 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
15305$as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
15306
15307 ;;
15308esac
15309{ $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
15310$as_echo_n "checking for tiffio.h... " >&6; }
15311if test "${ac_cv_header_tiffio_h+set}" = set; then
15312 $as_echo_n "(cached) " >&6
15313else
15314 ac_cv_header_tiffio_h=$ac_header_preproc
15315fi
15316{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
15317$as_echo "$ac_cv_header_tiffio_h" >&6; }
15318
15319fi
15320if test $ac_cv_header_tiffio_h = yes; then
15321 tifflibs="-lz -lm" 10005 tifflibs="-lz -lm"
15322 # At least one tiff package requires the jpeg library. 10006 # At least one tiff package requires the jpeg library.
15323 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 10007 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
15324 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5
15325$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 10009$as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
15326if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 10010if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then :
15327 $as_echo_n "(cached) " >&6 10011 $as_echo_n "(cached) " >&6
15328else 10012else
15329 ac_check_lib_save_LIBS=$LIBS 10013 ac_check_lib_save_LIBS=$LIBS
15330LIBS="-ltiff $tifflibs $LIBS" 10014LIBS="-ltiff $tifflibs $LIBS"
15331cat >conftest.$ac_ext <<_ACEOF 10015cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332/* confdefs.h. */
15333_ACEOF
15334cat confdefs.h >>conftest.$ac_ext
15335cat >>conftest.$ac_ext <<_ACEOF
15336/* end confdefs.h. */ 10016/* end confdefs.h. */
15337 10017
15338/* Override any GCC internal prototype to avoid an error. 10018/* Override any GCC internal prototype to avoid an error.
@@ -15350,43 +10030,18 @@ return TIFFGetVersion ();
15350 return 0; 10030 return 0;
15351} 10031}
15352_ACEOF 10032_ACEOF
15353rm -f conftest.$ac_objext conftest$ac_exeext 10033if ac_fn_c_try_link "$LINENO"; then :
15354if { (ac_try="$ac_link"
15355case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15358esac
15359eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15360$as_echo "$ac_try_echo") >&5
15361 (eval "$ac_link") 2>conftest.er1
15362 ac_status=$?
15363 grep -v '^ *+' conftest.er1 >conftest.err
15364 rm -f conftest.er1
15365 cat conftest.err >&5
15366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } && {
15368 test -z "$ac_c_werror_flag" ||
15369 test ! -s conftest.err
15370 } && test -s conftest$ac_exeext && {
15371 test "$cross_compiling" = yes ||
15372 $as_test_x conftest$ac_exeext
15373 }; then
15374 ac_cv_lib_tiff_TIFFGetVersion=yes 10034 ac_cv_lib_tiff_TIFFGetVersion=yes
15375else 10035else
15376 $as_echo "$as_me: failed program was:" >&5 10036 ac_cv_lib_tiff_TIFFGetVersion=no
15377sed 's/^/| /' conftest.$ac_ext >&5
15378
15379 ac_cv_lib_tiff_TIFFGetVersion=no
15380fi 10037fi
15381 10038rm -f core conftest.err conftest.$ac_objext \
15382rm -rf conftest.dSYM 10039 conftest$ac_exeext conftest.$ac_ext
15383rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15384 conftest$ac_exeext conftest.$ac_ext
15385LIBS=$ac_check_lib_save_LIBS 10040LIBS=$ac_check_lib_save_LIBS
15386fi 10041fi
15387{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 10042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
15388$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 10043$as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
15389if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 10044if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then :
15390 HAVE_TIFF=yes 10045 HAVE_TIFF=yes
15391fi 10046fi
15392 10047
@@ -15397,9 +10052,7 @@ fi
15397 10052
15398 if test "${HAVE_TIFF}" = "yes"; then 10053 if test "${HAVE_TIFF}" = "yes"; then
15399 10054
15400cat >>confdefs.h <<\_ACEOF 10055$as_echo "#define HAVE_TIFF 1" >>confdefs.h
15401#define HAVE_TIFF 1
15402_ACEOF
15403 10056
15404 LIBTIFF=-ltiff 10057 LIBTIFF=-ltiff
15405 fi 10058 fi
@@ -15410,148 +10063,18 @@ fi
15410HAVE_GIF=no 10063HAVE_GIF=no
15411LIBGIF= 10064LIBGIF=
15412if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 10065if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
15413 if test "${ac_cv_header_gif_lib_h+set}" = set; then 10066 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
15414 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 10067if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
15415$as_echo_n "checking for gif_lib.h... " >&6; }
15416if test "${ac_cv_header_gif_lib_h+set}" = set; then
15417 $as_echo_n "(cached) " >&6
15418fi
15419{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15420$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15421else
15422 # Is the header compilable?
15423{ $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
15424$as_echo_n "checking gif_lib.h usability... " >&6; }
15425cat >conftest.$ac_ext <<_ACEOF
15426/* confdefs.h. */
15427_ACEOF
15428cat confdefs.h >>conftest.$ac_ext
15429cat >>conftest.$ac_ext <<_ACEOF
15430/* end confdefs.h. */
15431$ac_includes_default
15432#include <gif_lib.h>
15433_ACEOF
15434rm -f conftest.$ac_objext
15435if { (ac_try="$ac_compile"
15436case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15439esac
15440eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15441$as_echo "$ac_try_echo") >&5
15442 (eval "$ac_compile") 2>conftest.er1
15443 ac_status=$?
15444 grep -v '^ *+' conftest.er1 >conftest.err
15445 rm -f conftest.er1
15446 cat conftest.err >&5
15447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } && {
15449 test -z "$ac_c_werror_flag" ||
15450 test ! -s conftest.err
15451 } && test -s conftest.$ac_objext; then
15452 ac_header_compiler=yes
15453else
15454 $as_echo "$as_me: failed program was:" >&5
15455sed 's/^/| /' conftest.$ac_ext >&5
15456
15457 ac_header_compiler=no
15458fi
15459
15460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15461{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15462$as_echo "$ac_header_compiler" >&6; }
15463
15464# Is the header present?
15465{ $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
15466$as_echo_n "checking gif_lib.h presence... " >&6; }
15467cat >conftest.$ac_ext <<_ACEOF
15468/* confdefs.h. */
15469_ACEOF
15470cat confdefs.h >>conftest.$ac_ext
15471cat >>conftest.$ac_ext <<_ACEOF
15472/* end confdefs.h. */
15473#include <gif_lib.h>
15474_ACEOF
15475if { (ac_try="$ac_cpp conftest.$ac_ext"
15476case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15479esac
15480eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15481$as_echo "$ac_try_echo") >&5
15482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15483 ac_status=$?
15484 grep -v '^ *+' conftest.er1 >conftest.err
15485 rm -f conftest.er1
15486 cat conftest.err >&5
15487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } >/dev/null && {
15489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 }; then
15492 ac_header_preproc=yes
15493else
15494 $as_echo "$as_me: failed program was:" >&5
15495sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 ac_header_preproc=no
15498fi
15499
15500rm -f conftest.err conftest.$ac_ext
15501{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15502$as_echo "$ac_header_preproc" >&6; }
15503
15504# So? What about this header?
15505case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15506 yes:no: )
15507 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15508$as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15509 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
15510$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
15511 ac_header_preproc=yes
15512 ;;
15513 no:yes:* )
15514 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
15515$as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
15516 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
15517$as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
15518 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
15519$as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
15520 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
15521$as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15522 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
15523$as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
15524 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
15525$as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
15526
15527 ;;
15528esac
15529{ $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
15530$as_echo_n "checking for gif_lib.h... " >&6; }
15531if test "${ac_cv_header_gif_lib_h+set}" = set; then
15532 $as_echo_n "(cached) " >&6
15533else
15534 ac_cv_header_gif_lib_h=$ac_header_preproc
15535fi
15536{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
15537$as_echo "$ac_cv_header_gif_lib_h" >&6; }
15538
15539fi
15540if test $ac_cv_header_gif_lib_h = yes; then
15541 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 10068 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
15542# Earlier versions can crash Emacs. 10069# Earlier versions can crash Emacs.
15543 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
15544$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 10071$as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
15545if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then 10072if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then :
15546 $as_echo_n "(cached) " >&6 10073 $as_echo_n "(cached) " >&6
15547else 10074else
15548 ac_check_lib_save_LIBS=$LIBS 10075 ac_check_lib_save_LIBS=$LIBS
15549LIBS="-lgif $LIBS" 10076LIBS="-lgif $LIBS"
15550cat >conftest.$ac_ext <<_ACEOF 10077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551/* confdefs.h. */
15552_ACEOF
15553cat confdefs.h >>conftest.$ac_ext
15554cat >>conftest.$ac_ext <<_ACEOF
15555/* end confdefs.h. */ 10078/* end confdefs.h. */
15556 10079
15557/* Override any GCC internal prototype to avoid an error. 10080/* Override any GCC internal prototype to avoid an error.
@@ -15569,43 +10092,18 @@ return EGifPutExtensionLast ();
15569 return 0; 10092 return 0;
15570} 10093}
15571_ACEOF 10094_ACEOF
15572rm -f conftest.$ac_objext conftest$ac_exeext 10095if ac_fn_c_try_link "$LINENO"; then :
15573if { (ac_try="$ac_link"
15574case "(($ac_try" in
15575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15576 *) ac_try_echo=$ac_try;;
15577esac
15578eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15579$as_echo "$ac_try_echo") >&5
15580 (eval "$ac_link") 2>conftest.er1
15581 ac_status=$?
15582 grep -v '^ *+' conftest.er1 >conftest.err
15583 rm -f conftest.er1
15584 cat conftest.err >&5
15585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } && {
15587 test -z "$ac_c_werror_flag" ||
15588 test ! -s conftest.err
15589 } && test -s conftest$ac_exeext && {
15590 test "$cross_compiling" = yes ||
15591 $as_test_x conftest$ac_exeext
15592 }; then
15593 ac_cv_lib_gif_EGifPutExtensionLast=yes 10096 ac_cv_lib_gif_EGifPutExtensionLast=yes
15594else 10097else
15595 $as_echo "$as_me: failed program was:" >&5 10098 ac_cv_lib_gif_EGifPutExtensionLast=no
15596sed 's/^/| /' conftest.$ac_ext >&5
15597
15598 ac_cv_lib_gif_EGifPutExtensionLast=no
15599fi 10099fi
15600 10100rm -f core conftest.err conftest.$ac_objext \
15601rm -rf conftest.dSYM 10101 conftest$ac_exeext conftest.$ac_ext
15602rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15603 conftest$ac_exeext conftest.$ac_ext
15604LIBS=$ac_check_lib_save_LIBS 10102LIBS=$ac_check_lib_save_LIBS
15605fi 10103fi
15606{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 10104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
15607$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 10105$as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
15608if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then 10106if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then :
15609 HAVE_GIF=yes 10107 HAVE_GIF=yes
15610else 10108else
15611 HAVE_GIF=maybe 10109 HAVE_GIF=maybe
@@ -15619,18 +10117,14 @@ fi
15619 LIBGIF=-lgif 10117 LIBGIF=-lgif
15620 elif test "$HAVE_GIF" = maybe; then 10118 elif test "$HAVE_GIF" = maybe; then
15621# If gif_lib.h but no libgif, try libungif. 10119# If gif_lib.h but no libgif, try libungif.
15622 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
15623$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 10121$as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
15624if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 10122if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then :
15625 $as_echo_n "(cached) " >&6 10123 $as_echo_n "(cached) " >&6
15626else 10124else
15627 ac_check_lib_save_LIBS=$LIBS 10125 ac_check_lib_save_LIBS=$LIBS
15628LIBS="-lungif $LIBS" 10126LIBS="-lungif $LIBS"
15629cat >conftest.$ac_ext <<_ACEOF 10127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15630/* confdefs.h. */
15631_ACEOF
15632cat confdefs.h >>conftest.$ac_ext
15633cat >>conftest.$ac_ext <<_ACEOF
15634/* end confdefs.h. */ 10128/* end confdefs.h. */
15635 10129
15636/* Override any GCC internal prototype to avoid an error. 10130/* Override any GCC internal prototype to avoid an error.
@@ -15648,43 +10142,18 @@ return EGifPutExtensionLast ();
15648 return 0; 10142 return 0;
15649} 10143}
15650_ACEOF 10144_ACEOF
15651rm -f conftest.$ac_objext conftest$ac_exeext 10145if ac_fn_c_try_link "$LINENO"; then :
15652if { (ac_try="$ac_link"
15653case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15656esac
15657eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15658$as_echo "$ac_try_echo") >&5
15659 (eval "$ac_link") 2>conftest.er1
15660 ac_status=$?
15661 grep -v '^ *+' conftest.er1 >conftest.err
15662 rm -f conftest.er1
15663 cat conftest.err >&5
15664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } && {
15666 test -z "$ac_c_werror_flag" ||
15667 test ! -s conftest.err
15668 } && test -s conftest$ac_exeext && {
15669 test "$cross_compiling" = yes ||
15670 $as_test_x conftest$ac_exeext
15671 }; then
15672 ac_cv_lib_ungif_EGifPutExtensionLast=yes 10146 ac_cv_lib_ungif_EGifPutExtensionLast=yes
15673else 10147else
15674 $as_echo "$as_me: failed program was:" >&5 10148 ac_cv_lib_ungif_EGifPutExtensionLast=no
15675sed 's/^/| /' conftest.$ac_ext >&5
15676
15677 ac_cv_lib_ungif_EGifPutExtensionLast=no
15678fi 10149fi
15679 10150rm -f core conftest.err conftest.$ac_objext \
15680rm -rf conftest.dSYM 10151 conftest$ac_exeext conftest.$ac_ext
15681rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15682 conftest$ac_exeext conftest.$ac_ext
15683LIBS=$ac_check_lib_save_LIBS 10152LIBS=$ac_check_lib_save_LIBS
15684fi 10153fi
15685{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 10154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
15686$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 10155$as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
15687if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 10156if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then :
15688 HAVE_GIF=yes 10157 HAVE_GIF=yes
15689else 10158else
15690 HAVE_GIF=no 10159 HAVE_GIF=no
@@ -15695,9 +10164,7 @@ fi
15695 10164
15696 if test "${HAVE_GIF}" = "yes"; then 10165 if test "${HAVE_GIF}" = "yes"; then
15697 10166
15698cat >>confdefs.h <<\_ACEOF 10167$as_echo "#define HAVE_GIF 1" >>confdefs.h
15699#define HAVE_GIF 1
15700_ACEOF
15701 10168
15702 fi 10169 fi
15703fi 10170fi
@@ -15718,19 +10185,12 @@ if test "${HAVE_X11}" = "yes"; then
15718 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 10185 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
15719 10186
15720 if test "X${MISSING}" != X; then 10187 if test "X${MISSING}" != X; then
15721 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: 10188 as_fn_error "The following required libraries were not found:
15722 $MISSING
15723Maybe some development libraries/packages are missing?
15724If you don't want to link with them give
15725 $WITH_NO
15726as options to configure" >&5
15727$as_echo "$as_me: error: The following required libraries were not found:
15728 $MISSING 10189 $MISSING
15729Maybe some development libraries/packages are missing? 10190Maybe some development libraries/packages are missing?
15730If you don't want to link with them give 10191If you don't want to link with them give
15731 $WITH_NO 10192 $WITH_NO
15732as options to configure" >&2;} 10193as options to configure" "$LINENO" 5
15733 { (exit 1); exit 1; }; }
15734 fi 10194 fi
15735fi 10195fi
15736 10196
@@ -15738,146 +10198,16 @@ fi
15738HAVE_GPM=no 10198HAVE_GPM=no
15739LIBGPM= 10199LIBGPM=
15740if test "${with_gpm}" != "no"; then 10200if test "${with_gpm}" != "no"; then
15741 if test "${ac_cv_header_gpm_h+set}" = set; then 10201 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
15742 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 10202if test "x$ac_cv_header_gpm_h" = x""yes; then :
15743$as_echo_n "checking for gpm.h... " >&6; } 10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
15744if test "${ac_cv_header_gpm_h+set}" = set; then
15745 $as_echo_n "(cached) " >&6
15746fi
15747{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15748$as_echo "$ac_cv_header_gpm_h" >&6; }
15749else
15750 # Is the header compilable?
15751{ $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5
15752$as_echo_n "checking gpm.h usability... " >&6; }
15753cat >conftest.$ac_ext <<_ACEOF
15754/* confdefs.h. */
15755_ACEOF
15756cat confdefs.h >>conftest.$ac_ext
15757cat >>conftest.$ac_ext <<_ACEOF
15758/* end confdefs.h. */
15759$ac_includes_default
15760#include <gpm.h>
15761_ACEOF
15762rm -f conftest.$ac_objext
15763if { (ac_try="$ac_compile"
15764case "(($ac_try" in
15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15767esac
15768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15769$as_echo "$ac_try_echo") >&5
15770 (eval "$ac_compile") 2>conftest.er1
15771 ac_status=$?
15772 grep -v '^ *+' conftest.er1 >conftest.err
15773 rm -f conftest.er1
15774 cat conftest.err >&5
15775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); } && {
15777 test -z "$ac_c_werror_flag" ||
15778 test ! -s conftest.err
15779 } && test -s conftest.$ac_objext; then
15780 ac_header_compiler=yes
15781else
15782 $as_echo "$as_me: failed program was:" >&5
15783sed 's/^/| /' conftest.$ac_ext >&5
15784
15785 ac_header_compiler=no
15786fi
15787
15788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15789{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15790$as_echo "$ac_header_compiler" >&6; }
15791
15792# Is the header present?
15793{ $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5
15794$as_echo_n "checking gpm.h presence... " >&6; }
15795cat >conftest.$ac_ext <<_ACEOF
15796/* confdefs.h. */
15797_ACEOF
15798cat confdefs.h >>conftest.$ac_ext
15799cat >>conftest.$ac_ext <<_ACEOF
15800/* end confdefs.h. */
15801#include <gpm.h>
15802_ACEOF
15803if { (ac_try="$ac_cpp conftest.$ac_ext"
15804case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807esac
15808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15809$as_echo "$ac_try_echo") >&5
15810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15811 ac_status=$?
15812 grep -v '^ *+' conftest.er1 >conftest.err
15813 rm -f conftest.er1
15814 cat conftest.err >&5
15815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } >/dev/null && {
15817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15818 test ! -s conftest.err
15819 }; then
15820 ac_header_preproc=yes
15821else
15822 $as_echo "$as_me: failed program was:" >&5
15823sed 's/^/| /' conftest.$ac_ext >&5
15824
15825 ac_header_preproc=no
15826fi
15827
15828rm -f conftest.err conftest.$ac_ext
15829{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15830$as_echo "$ac_header_preproc" >&6; }
15831
15832# So? What about this header?
15833case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15834 yes:no: )
15835 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
15836$as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15837 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
15838$as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
15839 ac_header_preproc=yes
15840 ;;
15841 no:yes:* )
15842 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
15843$as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
15844 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
15845$as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
15846 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
15847$as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
15848 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
15849$as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
15850 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
15851$as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
15852 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
15853$as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
15854
15855 ;;
15856esac
15857{ $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
15858$as_echo_n "checking for gpm.h... " >&6; }
15859if test "${ac_cv_header_gpm_h+set}" = set; then
15860 $as_echo_n "(cached) " >&6
15861else
15862 ac_cv_header_gpm_h=$ac_header_preproc
15863fi
15864{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15865$as_echo "$ac_cv_header_gpm_h" >&6; }
15866
15867fi
15868if test $ac_cv_header_gpm_h = yes; then
15869 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
15870$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 10204$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
15871if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 10205if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then :
15872 $as_echo_n "(cached) " >&6 10206 $as_echo_n "(cached) " >&6
15873else 10207else
15874 ac_check_lib_save_LIBS=$LIBS 10208 ac_check_lib_save_LIBS=$LIBS
15875LIBS="-lgpm $LIBS" 10209LIBS="-lgpm $LIBS"
15876cat >conftest.$ac_ext <<_ACEOF 10210cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15877/* confdefs.h. */
15878_ACEOF
15879cat confdefs.h >>conftest.$ac_ext
15880cat >>conftest.$ac_ext <<_ACEOF
15881/* end confdefs.h. */ 10211/* end confdefs.h. */
15882 10212
15883/* Override any GCC internal prototype to avoid an error. 10213/* Override any GCC internal prototype to avoid an error.
@@ -15895,43 +10225,18 @@ return Gpm_Open ();
15895 return 0; 10225 return 0;
15896} 10226}
15897_ACEOF 10227_ACEOF
15898rm -f conftest.$ac_objext conftest$ac_exeext 10228if ac_fn_c_try_link "$LINENO"; then :
15899if { (ac_try="$ac_link"
15900case "(($ac_try" in
15901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15902 *) ac_try_echo=$ac_try;;
15903esac
15904eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15905$as_echo "$ac_try_echo") >&5
15906 (eval "$ac_link") 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_c_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest$ac_exeext && {
15916 test "$cross_compiling" = yes ||
15917 $as_test_x conftest$ac_exeext
15918 }; then
15919 ac_cv_lib_gpm_Gpm_Open=yes 10229 ac_cv_lib_gpm_Gpm_Open=yes
15920else 10230else
15921 $as_echo "$as_me: failed program was:" >&5 10231 ac_cv_lib_gpm_Gpm_Open=no
15922sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 ac_cv_lib_gpm_Gpm_Open=no
15925fi 10232fi
15926 10233rm -f core conftest.err conftest.$ac_objext \
15927rm -rf conftest.dSYM 10234 conftest$ac_exeext conftest.$ac_ext
15928rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15929 conftest$ac_exeext conftest.$ac_ext
15930LIBS=$ac_check_lib_save_LIBS 10235LIBS=$ac_check_lib_save_LIBS
15931fi 10236fi
15932{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 10237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
15933$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 10238$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
15934if test $ac_cv_lib_gpm_Gpm_Open = yes; then 10239if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then :
15935 HAVE_GPM=yes 10240 HAVE_GPM=yes
15936fi 10241fi
15937 10242
@@ -15941,147 +10246,17 @@ fi
15941 10246
15942 if test "${HAVE_GPM}" = "yes"; then 10247 if test "${HAVE_GPM}" = "yes"; then
15943 10248
15944cat >>confdefs.h <<\_ACEOF 10249$as_echo "#define HAVE_GPM 1" >>confdefs.h
15945#define HAVE_GPM 1
15946_ACEOF
15947 10250
15948 LIBGPM=-lgpm 10251 LIBGPM=-lgpm
15949 fi 10252 fi
15950fi 10253fi
15951 10254
15952 10255
15953if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 10256ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
15954 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 10257if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then :
15955$as_echo_n "checking for malloc/malloc.h... " >&6; }
15956if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15957 $as_echo_n "(cached) " >&6
15958fi
15959{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15960$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
15961else
15962 # Is the header compilable?
15963{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
15964$as_echo_n "checking malloc/malloc.h usability... " >&6; }
15965cat >conftest.$ac_ext <<_ACEOF
15966/* confdefs.h. */
15967_ACEOF
15968cat confdefs.h >>conftest.$ac_ext
15969cat >>conftest.$ac_ext <<_ACEOF
15970/* end confdefs.h. */
15971$ac_includes_default
15972#include <malloc/malloc.h>
15973_ACEOF
15974rm -f conftest.$ac_objext
15975if { (ac_try="$ac_compile"
15976case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979esac
15980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15981$as_echo "$ac_try_echo") >&5
15982 (eval "$ac_compile") 2>conftest.er1
15983 ac_status=$?
15984 grep -v '^ *+' conftest.er1 >conftest.err
15985 rm -f conftest.er1
15986 cat conftest.err >&5
15987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } && {
15989 test -z "$ac_c_werror_flag" ||
15990 test ! -s conftest.err
15991 } && test -s conftest.$ac_objext; then
15992 ac_header_compiler=yes
15993else
15994 $as_echo "$as_me: failed program was:" >&5
15995sed 's/^/| /' conftest.$ac_ext >&5
15996
15997 ac_header_compiler=no
15998fi
15999
16000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16002$as_echo "$ac_header_compiler" >&6; }
16003 10258
16004# Is the header present? 10259$as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
16005{ $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
16006$as_echo_n "checking malloc/malloc.h presence... " >&6; }
16007cat >conftest.$ac_ext <<_ACEOF
16008/* confdefs.h. */
16009_ACEOF
16010cat confdefs.h >>conftest.$ac_ext
16011cat >>conftest.$ac_ext <<_ACEOF
16012/* end confdefs.h. */
16013#include <malloc/malloc.h>
16014_ACEOF
16015if { (ac_try="$ac_cpp conftest.$ac_ext"
16016case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16019esac
16020eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16021$as_echo "$ac_try_echo") >&5
16022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16023 ac_status=$?
16024 grep -v '^ *+' conftest.er1 >conftest.err
16025 rm -f conftest.er1
16026 cat conftest.err >&5
16027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } >/dev/null && {
16029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16030 test ! -s conftest.err
16031 }; then
16032 ac_header_preproc=yes
16033else
16034 $as_echo "$as_me: failed program was:" >&5
16035sed 's/^/| /' conftest.$ac_ext >&5
16036
16037 ac_header_preproc=no
16038fi
16039
16040rm -f conftest.err conftest.$ac_ext
16041{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16042$as_echo "$ac_header_preproc" >&6; }
16043
16044# So? What about this header?
16045case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16046 yes:no: )
16047 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
16048$as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16049 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
16050$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
16051 ac_header_preproc=yes
16052 ;;
16053 no:yes:* )
16054 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
16055$as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
16056 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
16057$as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
16058 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
16059$as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
16060 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
16061$as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
16062 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
16063$as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
16064 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
16065$as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
16066
16067 ;;
16068esac
16069{ $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
16070$as_echo_n "checking for malloc/malloc.h... " >&6; }
16071if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
16072 $as_echo_n "(cached) " >&6
16073else
16074 ac_cv_header_malloc_malloc_h=$ac_header_preproc
16075fi
16076{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
16077$as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
16078
16079fi
16080if test $ac_cv_header_malloc_malloc_h = yes; then
16081
16082cat >>confdefs.h <<\_ACEOF
16083#define HAVE_MALLOC_MALLOC_H 1
16084_ACEOF
16085 10260
16086fi 10261fi
16087 10262
@@ -16090,31 +10265,23 @@ fi
16090### Use NeXTstep API to implement GUI. 10265### Use NeXTstep API to implement GUI.
16091if test "${HAVE_NS}" = "yes"; then 10266if test "${HAVE_NS}" = "yes"; then
16092 10267
16093cat >>confdefs.h <<\_ACEOF 10268$as_echo "#define HAVE_NS 1" >>confdefs.h
16094#define HAVE_NS 1
16095_ACEOF
16096 10269
16097 if test "${NS_IMPL_COCOA}" = "yes"; then 10270 if test "${NS_IMPL_COCOA}" = "yes"; then
16098 10271
16099cat >>confdefs.h <<\_ACEOF 10272$as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h
16100#define NS_IMPL_COCOA 1
16101_ACEOF
16102 10273
16103 GNU_OBJC_CFLAGS= 10274 GNU_OBJC_CFLAGS=
16104 fi 10275 fi
16105 if test "${NS_IMPL_GNUSTEP}" = "yes"; then 10276 if test "${NS_IMPL_GNUSTEP}" = "yes"; then
16106 10277
16107cat >>confdefs.h <<\_ACEOF 10278$as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h
16108#define NS_IMPL_GNUSTEP 1
16109_ACEOF
16110 10279
16111 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" 10280 GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE"
16112 fi 10281 fi
16113 if test "${NS_HAVE_NSINTEGER}" = "yes"; then 10282 if test "${NS_HAVE_NSINTEGER}" = "yes"; then
16114 10283
16115cat >>confdefs.h <<\_ACEOF 10284$as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h
16116#define NS_HAVE_NSINTEGER 1
16117_ACEOF
16118 10285
16119 fi 10286 fi
16120 # We also have mouse menus. 10287 # We also have mouse menus.
@@ -16127,146 +10294,16 @@ fi
16127HAVE_X_SM=no 10294HAVE_X_SM=no
16128LIBXSM= 10295LIBXSM=
16129if test "${HAVE_X11}" = "yes"; then 10296if test "${HAVE_X11}" = "yes"; then
16130 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 10297 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
16131 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 10298if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then :
16132$as_echo_n "checking for X11/SM/SMlib.h... " >&6; } 10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
16133if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16134 $as_echo_n "(cached) " >&6
16135fi
16136{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16137$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16138else
16139 # Is the header compilable?
16140{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
16141$as_echo_n "checking X11/SM/SMlib.h usability... " >&6; }
16142cat >conftest.$ac_ext <<_ACEOF
16143/* confdefs.h. */
16144_ACEOF
16145cat confdefs.h >>conftest.$ac_ext
16146cat >>conftest.$ac_ext <<_ACEOF
16147/* end confdefs.h. */
16148$ac_includes_default
16149#include <X11/SM/SMlib.h>
16150_ACEOF
16151rm -f conftest.$ac_objext
16152if { (ac_try="$ac_compile"
16153case "(($ac_try" in
16154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16155 *) ac_try_echo=$ac_try;;
16156esac
16157eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16158$as_echo "$ac_try_echo") >&5
16159 (eval "$ac_compile") 2>conftest.er1
16160 ac_status=$?
16161 grep -v '^ *+' conftest.er1 >conftest.err
16162 rm -f conftest.er1
16163 cat conftest.err >&5
16164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } && {
16166 test -z "$ac_c_werror_flag" ||
16167 test ! -s conftest.err
16168 } && test -s conftest.$ac_objext; then
16169 ac_header_compiler=yes
16170else
16171 $as_echo "$as_me: failed program was:" >&5
16172sed 's/^/| /' conftest.$ac_ext >&5
16173
16174 ac_header_compiler=no
16175fi
16176
16177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16178{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16179$as_echo "$ac_header_compiler" >&6; }
16180
16181# Is the header present?
16182{ $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
16183$as_echo_n "checking X11/SM/SMlib.h presence... " >&6; }
16184cat >conftest.$ac_ext <<_ACEOF
16185/* confdefs.h. */
16186_ACEOF
16187cat confdefs.h >>conftest.$ac_ext
16188cat >>conftest.$ac_ext <<_ACEOF
16189/* end confdefs.h. */
16190#include <X11/SM/SMlib.h>
16191_ACEOF
16192if { (ac_try="$ac_cpp conftest.$ac_ext"
16193case "(($ac_try" in
16194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16195 *) ac_try_echo=$ac_try;;
16196esac
16197eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16198$as_echo "$ac_try_echo") >&5
16199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16200 ac_status=$?
16201 grep -v '^ *+' conftest.er1 >conftest.err
16202 rm -f conftest.er1
16203 cat conftest.err >&5
16204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } >/dev/null && {
16206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16207 test ! -s conftest.err
16208 }; then
16209 ac_header_preproc=yes
16210else
16211 $as_echo "$as_me: failed program was:" >&5
16212sed 's/^/| /' conftest.$ac_ext >&5
16213
16214 ac_header_preproc=no
16215fi
16216
16217rm -f conftest.err conftest.$ac_ext
16218{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16219$as_echo "$ac_header_preproc" >&6; }
16220
16221# So? What about this header?
16222case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16223 yes:no: )
16224 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16225$as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16226 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
16227$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
16228 ac_header_preproc=yes
16229 ;;
16230 no:yes:* )
16231 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
16232$as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
16233 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
16234$as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
16235 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
16236$as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
16237 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
16238$as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16239 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
16240$as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
16241 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
16242$as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
16243
16244 ;;
16245esac
16246{ $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
16247$as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
16248if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
16249 $as_echo_n "(cached) " >&6
16250else
16251 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
16252fi
16253{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
16254$as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
16255
16256fi
16257if test $ac_cv_header_X11_SM_SMlib_h = yes; then
16258 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
16259$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 10300$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
16260if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 10301if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
16261 $as_echo_n "(cached) " >&6 10302 $as_echo_n "(cached) " >&6
16262else 10303else
16263 ac_check_lib_save_LIBS=$LIBS 10304 ac_check_lib_save_LIBS=$LIBS
16264LIBS="-lSM -lICE $LIBS" 10305LIBS="-lSM -lICE $LIBS"
16265cat >conftest.$ac_ext <<_ACEOF 10306cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266/* confdefs.h. */
16267_ACEOF
16268cat confdefs.h >>conftest.$ac_ext
16269cat >>conftest.$ac_ext <<_ACEOF
16270/* end confdefs.h. */ 10307/* end confdefs.h. */
16271 10308
16272/* Override any GCC internal prototype to avoid an error. 10309/* Override any GCC internal prototype to avoid an error.
@@ -16284,43 +10321,18 @@ return SmcOpenConnection ();
16284 return 0; 10321 return 0;
16285} 10322}
16286_ACEOF 10323_ACEOF
16287rm -f conftest.$ac_objext conftest$ac_exeext 10324if ac_fn_c_try_link "$LINENO"; then :
16288if { (ac_try="$ac_link"
16289case "(($ac_try" in
16290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16291 *) ac_try_echo=$ac_try;;
16292esac
16293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16294$as_echo "$ac_try_echo") >&5
16295 (eval "$ac_link") 2>conftest.er1
16296 ac_status=$?
16297 grep -v '^ *+' conftest.er1 >conftest.err
16298 rm -f conftest.er1
16299 cat conftest.err >&5
16300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } && {
16302 test -z "$ac_c_werror_flag" ||
16303 test ! -s conftest.err
16304 } && test -s conftest$ac_exeext && {
16305 test "$cross_compiling" = yes ||
16306 $as_test_x conftest$ac_exeext
16307 }; then
16308 ac_cv_lib_SM_SmcOpenConnection=yes 10325 ac_cv_lib_SM_SmcOpenConnection=yes
16309else 10326else
16310 $as_echo "$as_me: failed program was:" >&5 10327 ac_cv_lib_SM_SmcOpenConnection=no
16311sed 's/^/| /' conftest.$ac_ext >&5
16312
16313 ac_cv_lib_SM_SmcOpenConnection=no
16314fi 10328fi
16315 10329rm -f core conftest.err conftest.$ac_objext \
16316rm -rf conftest.dSYM 10330 conftest$ac_exeext conftest.$ac_ext
16317rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16318 conftest$ac_exeext conftest.$ac_ext
16319LIBS=$ac_check_lib_save_LIBS 10331LIBS=$ac_check_lib_save_LIBS
16320fi 10332fi
16321{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 10333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
16322$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 10334$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
16323if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 10335if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
16324 HAVE_X_SM=yes 10336 HAVE_X_SM=yes
16325fi 10337fi
16326 10338
@@ -16330,9 +10342,7 @@ fi
16330 10342
16331 if test "${HAVE_X_SM}" = "yes"; then 10343 if test "${HAVE_X_SM}" = "yes"; then
16332 10344
16333cat >>confdefs.h <<\_ACEOF 10345$as_echo "#define HAVE_X_SM 1" >>confdefs.h
16334#define HAVE_X_SM 1
16335_ACEOF
16336 10346
16337 LIBXSM="-lSM -lICE" 10347 LIBXSM="-lSM -lICE"
16338 case "$LIBS" in 10348 case "$LIBS" in
@@ -16344,16 +10354,12 @@ fi
16344 10354
16345 10355
16346# If netdb.h doesn't declare h_errno, we must declare it by hand. 10356# If netdb.h doesn't declare h_errno, we must declare it by hand.
16347{ $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 10357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
16348$as_echo_n "checking whether netdb declares h_errno... " >&6; } 10358$as_echo_n "checking whether netdb declares h_errno... " >&6; }
16349if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 10359if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then :
16350 $as_echo_n "(cached) " >&6 10360 $as_echo_n "(cached) " >&6
16351else 10361else
16352 cat >conftest.$ac_ext <<_ACEOF 10362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353/* confdefs.h. */
16354_ACEOF
16355cat confdefs.h >>conftest.$ac_ext
16356cat >>conftest.$ac_ext <<_ACEOF
16357/* end confdefs.h. */ 10363/* end confdefs.h. */
16358#include <netdb.h> 10364#include <netdb.h>
16359int 10365int
@@ -16364,61 +10370,30 @@ return h_errno;
16364 return 0; 10370 return 0;
16365} 10371}
16366_ACEOF 10372_ACEOF
16367rm -f conftest.$ac_objext conftest$ac_exeext 10373if ac_fn_c_try_link "$LINENO"; then :
16368if { (ac_try="$ac_link"
16369case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16372esac
16373eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16374$as_echo "$ac_try_echo") >&5
16375 (eval "$ac_link") 2>conftest.er1
16376 ac_status=$?
16377 grep -v '^ *+' conftest.er1 >conftest.err
16378 rm -f conftest.er1
16379 cat conftest.err >&5
16380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } && {
16382 test -z "$ac_c_werror_flag" ||
16383 test ! -s conftest.err
16384 } && test -s conftest$ac_exeext && {
16385 test "$cross_compiling" = yes ||
16386 $as_test_x conftest$ac_exeext
16387 }; then
16388 emacs_cv_netdb_declares_h_errno=yes 10374 emacs_cv_netdb_declares_h_errno=yes
16389else 10375else
16390 $as_echo "$as_me: failed program was:" >&5 10376 emacs_cv_netdb_declares_h_errno=no
16391sed 's/^/| /' conftest.$ac_ext >&5
16392
16393 emacs_cv_netdb_declares_h_errno=no
16394fi 10377fi
16395 10378rm -f core conftest.err conftest.$ac_objext \
16396rm -rf conftest.dSYM 10379 conftest$ac_exeext conftest.$ac_ext
16397rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16398 conftest$ac_exeext conftest.$ac_ext
16399fi 10380fi
16400{ $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 10381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5
16401$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } 10382$as_echo "$emacs_cv_netdb_declares_h_errno" >&6; }
16402if test $emacs_cv_netdb_declares_h_errno = yes; then 10383if test $emacs_cv_netdb_declares_h_errno = yes; then
16403 10384
16404cat >>confdefs.h <<\_ACEOF 10385$as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h
16405#define HAVE_H_ERRNO 1
16406_ACEOF
16407 10386
16408fi 10387fi
16409 10388
16410# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 10389# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16411# for constant arguments. Useless! 10390# for constant arguments. Useless!
16412{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 10391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16413$as_echo_n "checking for working alloca.h... " >&6; } 10392$as_echo_n "checking for working alloca.h... " >&6; }
16414if test "${ac_cv_working_alloca_h+set}" = set; then 10393if test "${ac_cv_working_alloca_h+set}" = set; then :
16415 $as_echo_n "(cached) " >&6 10394 $as_echo_n "(cached) " >&6
16416else 10395else
16417 cat >conftest.$ac_ext <<_ACEOF 10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418/* confdefs.h. */
16419_ACEOF
16420cat confdefs.h >>conftest.$ac_ext
16421cat >>conftest.$ac_ext <<_ACEOF
16422/* end confdefs.h. */ 10397/* end confdefs.h. */
16423#include <alloca.h> 10398#include <alloca.h>
16424int 10399int
@@ -16430,59 +10405,28 @@ char *p = (char *) alloca (2 * sizeof (int));
16430 return 0; 10405 return 0;
16431} 10406}
16432_ACEOF 10407_ACEOF
16433rm -f conftest.$ac_objext conftest$ac_exeext 10408if ac_fn_c_try_link "$LINENO"; then :
16434if { (ac_try="$ac_link"
16435case "(($ac_try" in
16436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16437 *) ac_try_echo=$ac_try;;
16438esac
16439eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16440$as_echo "$ac_try_echo") >&5
16441 (eval "$ac_link") 2>conftest.er1
16442 ac_status=$?
16443 grep -v '^ *+' conftest.er1 >conftest.err
16444 rm -f conftest.er1
16445 cat conftest.err >&5
16446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } && {
16448 test -z "$ac_c_werror_flag" ||
16449 test ! -s conftest.err
16450 } && test -s conftest$ac_exeext && {
16451 test "$cross_compiling" = yes ||
16452 $as_test_x conftest$ac_exeext
16453 }; then
16454 ac_cv_working_alloca_h=yes 10409 ac_cv_working_alloca_h=yes
16455else 10410else
16456 $as_echo "$as_me: failed program was:" >&5 10411 ac_cv_working_alloca_h=no
16457sed 's/^/| /' conftest.$ac_ext >&5
16458
16459 ac_cv_working_alloca_h=no
16460fi 10412fi
16461 10413rm -f core conftest.err conftest.$ac_objext \
16462rm -rf conftest.dSYM 10414 conftest$ac_exeext conftest.$ac_ext
16463rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16464 conftest$ac_exeext conftest.$ac_ext
16465fi 10415fi
16466{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 10416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16467$as_echo "$ac_cv_working_alloca_h" >&6; } 10417$as_echo "$ac_cv_working_alloca_h" >&6; }
16468if test $ac_cv_working_alloca_h = yes; then 10418if test $ac_cv_working_alloca_h = yes; then
16469 10419
16470cat >>confdefs.h <<\_ACEOF 10420$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16471#define HAVE_ALLOCA_H 1
16472_ACEOF
16473 10421
16474fi 10422fi
16475 10423
16476{ $as_echo "$as_me:$LINENO: checking for alloca" >&5 10424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16477$as_echo_n "checking for alloca... " >&6; } 10425$as_echo_n "checking for alloca... " >&6; }
16478if test "${ac_cv_func_alloca_works+set}" = set; then 10426if test "${ac_cv_func_alloca_works+set}" = set; then :
16479 $as_echo_n "(cached) " >&6 10427 $as_echo_n "(cached) " >&6
16480else 10428else
16481 cat >conftest.$ac_ext <<_ACEOF 10429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16482/* confdefs.h. */
16483_ACEOF
16484cat confdefs.h >>conftest.$ac_ext
16485cat >>conftest.$ac_ext <<_ACEOF
16486/* end confdefs.h. */ 10430/* end confdefs.h. */
16487#ifdef __GNUC__ 10431#ifdef __GNUC__
16488# define alloca __builtin_alloca 10432# define alloca __builtin_alloca
@@ -16514,47 +10458,20 @@ char *p = (char *) alloca (1);
16514 return 0; 10458 return 0;
16515} 10459}
16516_ACEOF 10460_ACEOF
16517rm -f conftest.$ac_objext conftest$ac_exeext 10461if ac_fn_c_try_link "$LINENO"; then :
16518if { (ac_try="$ac_link"
16519case "(($ac_try" in
16520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16522esac
16523eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16524$as_echo "$ac_try_echo") >&5
16525 (eval "$ac_link") 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } && {
16532 test -z "$ac_c_werror_flag" ||
16533 test ! -s conftest.err
16534 } && test -s conftest$ac_exeext && {
16535 test "$cross_compiling" = yes ||
16536 $as_test_x conftest$ac_exeext
16537 }; then
16538 ac_cv_func_alloca_works=yes 10462 ac_cv_func_alloca_works=yes
16539else 10463else
16540 $as_echo "$as_me: failed program was:" >&5 10464 ac_cv_func_alloca_works=no
16541sed 's/^/| /' conftest.$ac_ext >&5
16542
16543 ac_cv_func_alloca_works=no
16544fi 10465fi
16545 10466rm -f core conftest.err conftest.$ac_objext \
16546rm -rf conftest.dSYM 10467 conftest$ac_exeext conftest.$ac_ext
16547rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16548 conftest$ac_exeext conftest.$ac_ext
16549fi 10468fi
16550{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 10469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16551$as_echo "$ac_cv_func_alloca_works" >&6; } 10470$as_echo "$ac_cv_func_alloca_works" >&6; }
16552 10471
16553if test $ac_cv_func_alloca_works = yes; then 10472if test $ac_cv_func_alloca_works = yes; then
16554 10473
16555cat >>confdefs.h <<\_ACEOF 10474$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16556#define HAVE_ALLOCA 1
16557_ACEOF
16558 10475
16559else 10476else
16560 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 10477 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
@@ -16564,21 +10481,15 @@ else
16564 10481
16565ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 10482ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16566 10483
16567cat >>confdefs.h <<\_ACEOF 10484$as_echo "#define C_ALLOCA 1" >>confdefs.h
16568#define C_ALLOCA 1
16569_ACEOF
16570 10485
16571 10486
16572{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 10487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16573$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 10488$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16574if test "${ac_cv_os_cray+set}" = set; then 10489if test "${ac_cv_os_cray+set}" = set; then :
16575 $as_echo_n "(cached) " >&6 10490 $as_echo_n "(cached) " >&6
16576else 10491else
16577 cat >conftest.$ac_ext <<_ACEOF 10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578/* confdefs.h. */
16579_ACEOF
16580cat confdefs.h >>conftest.$ac_ext
16581cat >>conftest.$ac_ext <<_ACEOF
16582/* end confdefs.h. */ 10493/* end confdefs.h. */
16583#if defined CRAY && ! defined CRAY2 10494#if defined CRAY && ! defined CRAY2
16584webecray 10495webecray
@@ -16588,7 +10499,7 @@ wenotbecray
16588 10499
16589_ACEOF 10500_ACEOF
16590if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10501if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16591 $EGREP "webecray" >/dev/null 2>&1; then 10502 $EGREP "webecray" >/dev/null 2>&1; then :
16592 ac_cv_os_cray=yes 10503 ac_cv_os_cray=yes
16593else 10504else
16594 ac_cv_os_cray=no 10505 ac_cv_os_cray=no
@@ -16596,100 +10507,14 @@ fi
16596rm -f conftest* 10507rm -f conftest*
16597 10508
16598fi 10509fi
16599{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 10510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16600$as_echo "$ac_cv_os_cray" >&6; } 10511$as_echo "$ac_cv_os_cray" >&6; }
16601if test $ac_cv_os_cray = yes; then 10512if test $ac_cv_os_cray = yes; then
16602 for ac_func in _getb67 GETB67 getb67; do 10513 for ac_func in _getb67 GETB67 getb67; do
16603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16604{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10515ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16605$as_echo_n "checking for $ac_func... " >&6; } 10516eval as_val=\$$as_ac_var
16606if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10517 if test "x$as_val" = x""yes; then :
16607 $as_echo_n "(cached) " >&6
16608else
16609 cat >conftest.$ac_ext <<_ACEOF
16610/* confdefs.h. */
16611_ACEOF
16612cat confdefs.h >>conftest.$ac_ext
16613cat >>conftest.$ac_ext <<_ACEOF
16614/* end confdefs.h. */
16615/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16617#define $ac_func innocuous_$ac_func
16618
16619/* System header to define __stub macros and hopefully few prototypes,
16620 which can conflict with char $ac_func (); below.
16621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16622 <limits.h> exists even on freestanding compilers. */
16623
16624#ifdef __STDC__
16625# include <limits.h>
16626#else
16627# include <assert.h>
16628#endif
16629
16630#undef $ac_func
16631
16632/* Override any GCC internal prototype to avoid an error.
16633 Use char because int might match the return type of a GCC
16634 builtin and then its argument prototype would still apply. */
16635#ifdef __cplusplus
16636extern "C"
16637#endif
16638char $ac_func ();
16639/* The GNU C library defines this for functions which it implements
16640 to always fail with ENOSYS. Some functions are actually named
16641 something starting with __ and the normal name is an alias. */
16642#if defined __stub_$ac_func || defined __stub___$ac_func
16643choke me
16644#endif
16645
16646int
16647main ()
16648{
16649return $ac_func ();
16650 ;
16651 return 0;
16652}
16653_ACEOF
16654rm -f conftest.$ac_objext conftest$ac_exeext
16655if { (ac_try="$ac_link"
16656case "(($ac_try" in
16657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16658 *) ac_try_echo=$ac_try;;
16659esac
16660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16661$as_echo "$ac_try_echo") >&5
16662 (eval "$ac_link") 2>conftest.er1
16663 ac_status=$?
16664 grep -v '^ *+' conftest.er1 >conftest.err
16665 rm -f conftest.er1
16666 cat conftest.err >&5
16667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } && {
16669 test -z "$ac_c_werror_flag" ||
16670 test ! -s conftest.err
16671 } && test -s conftest$ac_exeext && {
16672 test "$cross_compiling" = yes ||
16673 $as_test_x conftest$ac_exeext
16674 }; then
16675 eval "$as_ac_var=yes"
16676else
16677 $as_echo "$as_me: failed program was:" >&5
16678sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 eval "$as_ac_var=no"
16681fi
16682
16683rm -rf conftest.dSYM
16684rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16685 conftest$ac_exeext conftest.$ac_ext
16686fi
16687ac_res=`eval 'as_val=${'$as_ac_var'}
16688 $as_echo "$as_val"'`
16689 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16690$as_echo "$ac_res" >&6; }
16691if test `eval 'as_val=${'$as_ac_var'}
16692 $as_echo "$as_val"'` = yes; then
16693 10518
16694cat >>confdefs.h <<_ACEOF 10519cat >>confdefs.h <<_ACEOF
16695#define CRAY_STACKSEG_END $ac_func 10520#define CRAY_STACKSEG_END $ac_func
@@ -16701,19 +10526,15 @@ fi
16701 done 10526 done
16702fi 10527fi
16703 10528
16704{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 10529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16705$as_echo_n "checking stack direction for C alloca... " >&6; } 10530$as_echo_n "checking stack direction for C alloca... " >&6; }
16706if test "${ac_cv_c_stack_direction+set}" = set; then 10531if test "${ac_cv_c_stack_direction+set}" = set; then :
16707 $as_echo_n "(cached) " >&6 10532 $as_echo_n "(cached) " >&6
16708else 10533else
16709 if test "$cross_compiling" = yes; then 10534 if test "$cross_compiling" = yes; then :
16710 ac_cv_c_stack_direction=0 10535 ac_cv_c_stack_direction=0
16711else 10536else
16712 cat >conftest.$ac_ext <<_ACEOF 10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713/* confdefs.h. */
16714_ACEOF
16715cat confdefs.h >>conftest.$ac_ext
16716cat >>conftest.$ac_ext <<_ACEOF
16717/* end confdefs.h. */ 10538/* end confdefs.h. */
16718$ac_includes_default 10539$ac_includes_default
16719int 10540int
@@ -16736,46 +10557,18 @@ main ()
16736 return find_stack_direction () < 0; 10557 return find_stack_direction () < 0;
16737} 10558}
16738_ACEOF 10559_ACEOF
16739rm -f conftest$ac_exeext 10560if ac_fn_c_try_run "$LINENO"; then :
16740if { (ac_try="$ac_link"
16741case "(($ac_try" in
16742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16743 *) ac_try_echo=$ac_try;;
16744esac
16745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16746$as_echo "$ac_try_echo") >&5
16747 (eval "$ac_link") 2>&5
16748 ac_status=$?
16749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16751 { (case "(($ac_try" in
16752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16753 *) ac_try_echo=$ac_try;;
16754esac
16755eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16756$as_echo "$ac_try_echo") >&5
16757 (eval "$ac_try") 2>&5
16758 ac_status=$?
16759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; }; then
16761 ac_cv_c_stack_direction=1 10561 ac_cv_c_stack_direction=1
16762else 10562else
16763 $as_echo "$as_me: program exited with status $ac_status" >&5 10563 ac_cv_c_stack_direction=-1
16764$as_echo "$as_me: failed program was:" >&5
16765sed 's/^/| /' conftest.$ac_ext >&5
16766
16767( exit $ac_status )
16768ac_cv_c_stack_direction=-1
16769fi 10564fi
16770rm -rf conftest.dSYM 10565rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16771rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10566 conftest.$ac_objext conftest.beam conftest.$ac_ext
16772fi 10567fi
16773 10568
16774
16775fi 10569fi
16776{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 10570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16777$as_echo "$ac_cv_c_stack_direction" >&6; } 10571$as_echo "$ac_cv_c_stack_direction" >&6; }
16778
16779cat >>confdefs.h <<_ACEOF 10572cat >>confdefs.h <<_ACEOF
16780#define STACK_DIRECTION $ac_cv_c_stack_direction 10573#define STACK_DIRECTION $ac_cv_c_stack_direction
16781_ACEOF 10574_ACEOF
@@ -16785,26 +10578,19 @@ fi
16785 10578
16786 10579
16787if test x"$ac_cv_func_alloca_works" != xyes; then 10580if test x"$ac_cv_func_alloca_works" != xyes; then
16788 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 10581 as_fn_error "a system implementation of alloca is required " "$LINENO" 5
16789$as_echo "$as_me: error: a system implementation of alloca is required " >&2;}
16790 { (exit 1); exit 1; }; }
16791fi 10582fi
16792 10583
16793# fmod, logb, and frexp are found in -lm on most systems. 10584# fmod, logb, and frexp are found in -lm on most systems.
16794# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 10585# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
16795 10586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
16796{ $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
16797$as_echo_n "checking for sqrt in -lm... " >&6; } 10587$as_echo_n "checking for sqrt in -lm... " >&6; }
16798if test "${ac_cv_lib_m_sqrt+set}" = set; then 10588if test "${ac_cv_lib_m_sqrt+set}" = set; then :
16799 $as_echo_n "(cached) " >&6 10589 $as_echo_n "(cached) " >&6
16800else 10590else
16801 ac_check_lib_save_LIBS=$LIBS 10591 ac_check_lib_save_LIBS=$LIBS
16802LIBS="-lm $LIBS" 10592LIBS="-lm $LIBS"
16803cat >conftest.$ac_ext <<_ACEOF 10593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16804/* confdefs.h. */
16805_ACEOF
16806cat confdefs.h >>conftest.$ac_ext
16807cat >>conftest.$ac_ext <<_ACEOF
16808/* end confdefs.h. */ 10594/* end confdefs.h. */
16809 10595
16810/* Override any GCC internal prototype to avoid an error. 10596/* Override any GCC internal prototype to avoid an error.
@@ -16822,43 +10608,18 @@ return sqrt ();
16822 return 0; 10608 return 0;
16823} 10609}
16824_ACEOF 10610_ACEOF
16825rm -f conftest.$ac_objext conftest$ac_exeext 10611if ac_fn_c_try_link "$LINENO"; then :
16826if { (ac_try="$ac_link"
16827case "(($ac_try" in
16828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16830esac
16831eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16832$as_echo "$ac_try_echo") >&5
16833 (eval "$ac_link") 2>conftest.er1
16834 ac_status=$?
16835 grep -v '^ *+' conftest.er1 >conftest.err
16836 rm -f conftest.er1
16837 cat conftest.err >&5
16838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } && {
16840 test -z "$ac_c_werror_flag" ||
16841 test ! -s conftest.err
16842 } && test -s conftest$ac_exeext && {
16843 test "$cross_compiling" = yes ||
16844 $as_test_x conftest$ac_exeext
16845 }; then
16846 ac_cv_lib_m_sqrt=yes 10612 ac_cv_lib_m_sqrt=yes
16847else 10613else
16848 $as_echo "$as_me: failed program was:" >&5 10614 ac_cv_lib_m_sqrt=no
16849sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 ac_cv_lib_m_sqrt=no
16852fi 10615fi
16853 10616rm -f core conftest.err conftest.$ac_objext \
16854rm -rf conftest.dSYM 10617 conftest$ac_exeext conftest.$ac_ext
16855rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16856 conftest$ac_exeext conftest.$ac_ext
16857LIBS=$ac_check_lib_save_LIBS 10618LIBS=$ac_check_lib_save_LIBS
16858fi 10619fi
16859{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 10620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
16860$as_echo "$ac_cv_lib_m_sqrt" >&6; } 10621$as_echo "$ac_cv_lib_m_sqrt" >&6; }
16861if test $ac_cv_lib_m_sqrt = yes; then 10622if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
16862 cat >>confdefs.h <<_ACEOF 10623 cat >>confdefs.h <<_ACEOF
16863#define HAVE_LIBM 1 10624#define HAVE_LIBM 1
16864_ACEOF 10625_ACEOF
@@ -16870,18 +10631,14 @@ fi
16870 10631
16871# Check for mail-locking functions in a "mail" library. Probably this should 10632# Check for mail-locking functions in a "mail" library. Probably this should
16872# have the same check as for liblockfile below. 10633# have the same check as for liblockfile below.
16873{ $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 10634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5
16874$as_echo_n "checking for maillock in -lmail... " >&6; } 10635$as_echo_n "checking for maillock in -lmail... " >&6; }
16875if test "${ac_cv_lib_mail_maillock+set}" = set; then 10636if test "${ac_cv_lib_mail_maillock+set}" = set; then :
16876 $as_echo_n "(cached) " >&6 10637 $as_echo_n "(cached) " >&6
16877else 10638else
16878 ac_check_lib_save_LIBS=$LIBS 10639 ac_check_lib_save_LIBS=$LIBS
16879LIBS="-lmail $LIBS" 10640LIBS="-lmail $LIBS"
16880cat >conftest.$ac_ext <<_ACEOF 10641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881/* confdefs.h. */
16882_ACEOF
16883cat confdefs.h >>conftest.$ac_ext
16884cat >>conftest.$ac_ext <<_ACEOF
16885/* end confdefs.h. */ 10642/* end confdefs.h. */
16886 10643
16887/* Override any GCC internal prototype to avoid an error. 10644/* Override any GCC internal prototype to avoid an error.
@@ -16899,43 +10656,18 @@ return maillock ();
16899 return 0; 10656 return 0;
16900} 10657}
16901_ACEOF 10658_ACEOF
16902rm -f conftest.$ac_objext conftest$ac_exeext 10659if ac_fn_c_try_link "$LINENO"; then :
16903if { (ac_try="$ac_link"
16904case "(($ac_try" in
16905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16906 *) ac_try_echo=$ac_try;;
16907esac
16908eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16909$as_echo "$ac_try_echo") >&5
16910 (eval "$ac_link") 2>conftest.er1
16911 ac_status=$?
16912 grep -v '^ *+' conftest.er1 >conftest.err
16913 rm -f conftest.er1
16914 cat conftest.err >&5
16915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } && {
16917 test -z "$ac_c_werror_flag" ||
16918 test ! -s conftest.err
16919 } && test -s conftest$ac_exeext && {
16920 test "$cross_compiling" = yes ||
16921 $as_test_x conftest$ac_exeext
16922 }; then
16923 ac_cv_lib_mail_maillock=yes 10660 ac_cv_lib_mail_maillock=yes
16924else 10661else
16925 $as_echo "$as_me: failed program was:" >&5 10662 ac_cv_lib_mail_maillock=no
16926sed 's/^/| /' conftest.$ac_ext >&5
16927
16928 ac_cv_lib_mail_maillock=no
16929fi 10663fi
16930 10664rm -f core conftest.err conftest.$ac_objext \
16931rm -rf conftest.dSYM 10665 conftest$ac_exeext conftest.$ac_ext
16932rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16933 conftest$ac_exeext conftest.$ac_ext
16934LIBS=$ac_check_lib_save_LIBS 10666LIBS=$ac_check_lib_save_LIBS
16935fi 10667fi
16936{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 10668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
16937$as_echo "$ac_cv_lib_mail_maillock" >&6; } 10669$as_echo "$ac_cv_lib_mail_maillock" >&6; }
16938if test $ac_cv_lib_mail_maillock = yes; then 10670if test "x$ac_cv_lib_mail_maillock" = x""yes; then :
16939 have_mail=yes 10671 have_mail=yes
16940else 10672else
16941 have_mail=no 10673 have_mail=no
@@ -16945,25 +10677,19 @@ if test $have_mail = yes; then
16945 LIBS_MAIL=-lmail 10677 LIBS_MAIL=-lmail
16946 LIBS="$LIBS_MAIL $LIBS" 10678 LIBS="$LIBS_MAIL $LIBS"
16947 10679
16948cat >>confdefs.h <<\_ACEOF 10680$as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h
16949#define HAVE_LIBMAIL 1
16950_ACEOF
16951 10681
16952else 10682else
16953 LIBS_MAIL= 10683 LIBS_MAIL=
16954fi 10684fi
16955{ $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 10685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
16956$as_echo_n "checking for maillock in -llockfile... " >&6; } 10686$as_echo_n "checking for maillock in -llockfile... " >&6; }
16957if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 10687if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
16958 $as_echo_n "(cached) " >&6 10688 $as_echo_n "(cached) " >&6
16959else 10689else
16960 ac_check_lib_save_LIBS=$LIBS 10690 ac_check_lib_save_LIBS=$LIBS
16961LIBS="-llockfile $LIBS" 10691LIBS="-llockfile $LIBS"
16962cat >conftest.$ac_ext <<_ACEOF 10692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963/* confdefs.h. */
16964_ACEOF
16965cat confdefs.h >>conftest.$ac_ext
16966cat >>conftest.$ac_ext <<_ACEOF
16967/* end confdefs.h. */ 10693/* end confdefs.h. */
16968 10694
16969/* Override any GCC internal prototype to avoid an error. 10695/* Override any GCC internal prototype to avoid an error.
@@ -16981,43 +10707,18 @@ return maillock ();
16981 return 0; 10707 return 0;
16982} 10708}
16983_ACEOF 10709_ACEOF
16984rm -f conftest.$ac_objext conftest$ac_exeext 10710if ac_fn_c_try_link "$LINENO"; then :
16985if { (ac_try="$ac_link"
16986case "(($ac_try" in
16987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16988 *) ac_try_echo=$ac_try;;
16989esac
16990eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16991$as_echo "$ac_try_echo") >&5
16992 (eval "$ac_link") 2>conftest.er1
16993 ac_status=$?
16994 grep -v '^ *+' conftest.er1 >conftest.err
16995 rm -f conftest.er1
16996 cat conftest.err >&5
16997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } && {
16999 test -z "$ac_c_werror_flag" ||
17000 test ! -s conftest.err
17001 } && test -s conftest$ac_exeext && {
17002 test "$cross_compiling" = yes ||
17003 $as_test_x conftest$ac_exeext
17004 }; then
17005 ac_cv_lib_lockfile_maillock=yes 10711 ac_cv_lib_lockfile_maillock=yes
17006else 10712else
17007 $as_echo "$as_me: failed program was:" >&5 10713 ac_cv_lib_lockfile_maillock=no
17008sed 's/^/| /' conftest.$ac_ext >&5
17009
17010 ac_cv_lib_lockfile_maillock=no
17011fi 10714fi
17012 10715rm -f core conftest.err conftest.$ac_objext \
17013rm -rf conftest.dSYM 10716 conftest$ac_exeext conftest.$ac_ext
17014rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17015 conftest$ac_exeext conftest.$ac_ext
17016LIBS=$ac_check_lib_save_LIBS 10717LIBS=$ac_check_lib_save_LIBS
17017fi 10718fi
17018{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 10719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
17019$as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 10720$as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
17020if test $ac_cv_lib_lockfile_maillock = yes; then 10721if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
17021 have_lockfile=yes 10722 have_lockfile=yes
17022else 10723else
17023 have_lockfile=no 10724 have_lockfile=no
@@ -17027,9 +10728,7 @@ if test $have_lockfile = yes; then
17027 LIBS_MAIL=-llockfile 10728 LIBS_MAIL=-llockfile
17028 LIBS="$LIBS_MAIL $LIBS" 10729 LIBS="$LIBS_MAIL $LIBS"
17029 10730
17030cat >>confdefs.h <<\_ACEOF 10731$as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h
17031#define HAVE_LIBLOCKFILE 1
17032_ACEOF
17033 10732
17034else 10733else
17035# If we have the shared liblockfile, assume we must use it for mail 10734# If we have the shared liblockfile, assume we must use it for mail
@@ -17037,9 +10736,9 @@ else
17037# (no liblockfile.a installed), ensure that we don't need to. 10736# (no liblockfile.a installed), ensure that we don't need to.
17038 # Extract the first word of "liblockfile.so", so it can be a program name with args. 10737 # Extract the first word of "liblockfile.so", so it can be a program name with args.
17039set dummy liblockfile.so; ac_word=$2 10738set dummy liblockfile.so; ac_word=$2
17040{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 10739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17041$as_echo_n "checking for $ac_word... " >&6; } 10740$as_echo_n "checking for $ac_word... " >&6; }
17042if test "${ac_cv_prog_liblockfile+set}" = set; then 10741if test "${ac_cv_prog_liblockfile+set}" = set; then :
17043 $as_echo_n "(cached) " >&6 10742 $as_echo_n "(cached) " >&6
17044else 10743else
17045 if test -n "$liblockfile"; then 10744 if test -n "$liblockfile"; then
@@ -17051,14 +10750,14 @@ for as_dir in $as_dummy
17051do 10750do
17052 IFS=$as_save_IFS 10751 IFS=$as_save_IFS
17053 test -z "$as_dir" && as_dir=. 10752 test -z "$as_dir" && as_dir=.
17054 for ac_exec_ext in '' $ac_executable_extensions; do 10753 for ac_exec_ext in '' $ac_executable_extensions; do
17055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17056 ac_cv_prog_liblockfile="yes" 10755 ac_cv_prog_liblockfile="yes"
17057 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17058 break 2 10757 break 2
17059 fi 10758 fi
17060done 10759done
17061done 10760 done
17062IFS=$as_save_IFS 10761IFS=$as_save_IFS
17063 10762
17064 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 10763 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
@@ -17066,263 +10765,37 @@ fi
17066fi 10765fi
17067liblockfile=$ac_cv_prog_liblockfile 10766liblockfile=$ac_cv_prog_liblockfile
17068if test -n "$liblockfile"; then 10767if test -n "$liblockfile"; then
17069 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5
17070$as_echo "$liblockfile" >&6; } 10769$as_echo "$liblockfile" >&6; }
17071else 10770else
17072 { $as_echo "$as_me:$LINENO: result: no" >&5 10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17073$as_echo "no" >&6; } 10772$as_echo "no" >&6; }
17074fi 10773fi
17075 10774
17076 10775
17077 if test $ac_cv_prog_liblockfile = yes; then 10776 if test $ac_cv_prog_liblockfile = yes; then
17078 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 10777 as_fn_error "Shared liblockfile found but can't link against it.
17079This probably means that movemail could lose mail. 10778This probably means that movemail could lose mail.
17080There may be a \`development' package to install containing liblockfile." >&5 10779There may be a \`development' package to install containing liblockfile." "$LINENO" 5
17081$as_echo "$as_me: error: Shared liblockfile found but can't link against it.
17082This probably means that movemail could lose mail.
17083There may be a \`development' package to install containing liblockfile." >&2;}
17084 { (exit 1); exit 1; }; }
17085 fi 10780 fi
17086fi 10781fi
17087
17088for ac_func in touchlock 10782for ac_func in touchlock
17089do 10783do :
17090as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10784 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock"
17091{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10785if test "x$ac_cv_func_touchlock" = x""yes; then :
17092$as_echo_n "checking for $ac_func... " >&6; }
17093if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17094 $as_echo_n "(cached) " >&6
17095else
17096 cat >conftest.$ac_ext <<_ACEOF
17097/* confdefs.h. */
17098_ACEOF
17099cat confdefs.h >>conftest.$ac_ext
17100cat >>conftest.$ac_ext <<_ACEOF
17101/* end confdefs.h. */
17102/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17104#define $ac_func innocuous_$ac_func
17105
17106/* System header to define __stub macros and hopefully few prototypes,
17107 which can conflict with char $ac_func (); below.
17108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17109 <limits.h> exists even on freestanding compilers. */
17110
17111#ifdef __STDC__
17112# include <limits.h>
17113#else
17114# include <assert.h>
17115#endif
17116
17117#undef $ac_func
17118
17119/* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17122#ifdef __cplusplus
17123extern "C"
17124#endif
17125char $ac_func ();
17126/* The GNU C library defines this for functions which it implements
17127 to always fail with ENOSYS. Some functions are actually named
17128 something starting with __ and the normal name is an alias. */
17129#if defined __stub_$ac_func || defined __stub___$ac_func
17130choke me
17131#endif
17132
17133int
17134main ()
17135{
17136return $ac_func ();
17137 ;
17138 return 0;
17139}
17140_ACEOF
17141rm -f conftest.$ac_objext conftest$ac_exeext
17142if { (ac_try="$ac_link"
17143case "(($ac_try" in
17144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17146esac
17147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17148$as_echo "$ac_try_echo") >&5
17149 (eval "$ac_link") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest$ac_exeext && {
17159 test "$cross_compiling" = yes ||
17160 $as_test_x conftest$ac_exeext
17161 }; then
17162 eval "$as_ac_var=yes"
17163else
17164 $as_echo "$as_me: failed program was:" >&5
17165sed 's/^/| /' conftest.$ac_ext >&5
17166
17167 eval "$as_ac_var=no"
17168fi
17169
17170rm -rf conftest.dSYM
17171rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17172 conftest$ac_exeext conftest.$ac_ext
17173fi
17174ac_res=`eval 'as_val=${'$as_ac_var'}
17175 $as_echo "$as_val"'`
17176 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17177$as_echo "$ac_res" >&6; }
17178if test `eval 'as_val=${'$as_ac_var'}
17179 $as_echo "$as_val"'` = yes; then
17180 cat >>confdefs.h <<_ACEOF 10786 cat >>confdefs.h <<_ACEOF
17181#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10787#define HAVE_TOUCHLOCK 1
17182_ACEOF 10788_ACEOF
17183 10789
17184fi 10790fi
17185done 10791done
17186 10792
17187
17188for ac_header in maillock.h 10793for ac_header in maillock.h
17189do 10794do :
17190as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10795 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
17191if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10796if test "x$ac_cv_header_maillock_h" = x""yes; then :
17192 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17193$as_echo_n "checking for $ac_header... " >&6; }
17194if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17195 $as_echo_n "(cached) " >&6
17196fi
17197ac_res=`eval 'as_val=${'$as_ac_Header'}
17198 $as_echo "$as_val"'`
17199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17200$as_echo "$ac_res" >&6; }
17201else
17202 # Is the header compilable?
17203{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17204$as_echo_n "checking $ac_header usability... " >&6; }
17205cat >conftest.$ac_ext <<_ACEOF
17206/* confdefs.h. */
17207_ACEOF
17208cat confdefs.h >>conftest.$ac_ext
17209cat >>conftest.$ac_ext <<_ACEOF
17210/* end confdefs.h. */
17211$ac_includes_default
17212#include <$ac_header>
17213_ACEOF
17214rm -f conftest.$ac_objext
17215if { (ac_try="$ac_compile"
17216case "(($ac_try" in
17217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17218 *) ac_try_echo=$ac_try;;
17219esac
17220eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17221$as_echo "$ac_try_echo") >&5
17222 (eval "$ac_compile") 2>conftest.er1
17223 ac_status=$?
17224 grep -v '^ *+' conftest.er1 >conftest.err
17225 rm -f conftest.er1
17226 cat conftest.err >&5
17227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_c_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest.$ac_objext; then
17232 ac_header_compiler=yes
17233else
17234 $as_echo "$as_me: failed program was:" >&5
17235sed 's/^/| /' conftest.$ac_ext >&5
17236
17237 ac_header_compiler=no
17238fi
17239
17240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17241{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17242$as_echo "$ac_header_compiler" >&6; }
17243
17244# Is the header present?
17245{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17246$as_echo_n "checking $ac_header presence... " >&6; }
17247cat >conftest.$ac_ext <<_ACEOF
17248/* confdefs.h. */
17249_ACEOF
17250cat confdefs.h >>conftest.$ac_ext
17251cat >>conftest.$ac_ext <<_ACEOF
17252/* end confdefs.h. */
17253#include <$ac_header>
17254_ACEOF
17255if { (ac_try="$ac_cpp conftest.$ac_ext"
17256case "(($ac_try" in
17257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17258 *) ac_try_echo=$ac_try;;
17259esac
17260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17261$as_echo "$ac_try_echo") >&5
17262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } >/dev/null && {
17269 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 }; then
17272 ac_header_preproc=yes
17273else
17274 $as_echo "$as_me: failed program was:" >&5
17275sed 's/^/| /' conftest.$ac_ext >&5
17276
17277 ac_header_preproc=no
17278fi
17279
17280rm -f conftest.err conftest.$ac_ext
17281{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17282$as_echo "$ac_header_preproc" >&6; }
17283
17284# So? What about this header?
17285case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17286 yes:no: )
17287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17288$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17290$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17291 ac_header_preproc=yes
17292 ;;
17293 no:yes:* )
17294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17295$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17297$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17299$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17301$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17303$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17305$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17306
17307 ;;
17308esac
17309{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17310$as_echo_n "checking for $ac_header... " >&6; }
17311if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17312 $as_echo_n "(cached) " >&6
17313else
17314 eval "$as_ac_Header=\$ac_header_preproc"
17315fi
17316ac_res=`eval 'as_val=${'$as_ac_Header'}
17317 $as_echo "$as_val"'`
17318 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17319$as_echo "$ac_res" >&6; }
17320
17321fi
17322if test `eval 'as_val=${'$as_ac_Header'}
17323 $as_echo "$as_val"'` = yes; then
17324 cat >>confdefs.h <<_ACEOF 10797 cat >>confdefs.h <<_ACEOF
17325#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10798#define HAVE_MAILLOCK_H 1
17326_ACEOF 10799_ACEOF
17327 10800
17328fi 10801fi
@@ -17331,77 +10804,6 @@ done
17331 10804
17332 10805
17333 10806
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
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405for ac_func in gethostname getdomainname dup2 \ 10807for ac_func in gethostname getdomainname dup2 \
17406rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ 10808rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \
17407random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ 10809random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \
@@ -17412,97 +10814,11 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \
17412gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 10814gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
17413memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 10815memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
17414cfmakeraw cfsetspeed 10816cfmakeraw cfsetspeed
17415do 10817do :
17416as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17417{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10819ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17418$as_echo_n "checking for $ac_func... " >&6; } 10820eval as_val=\$$as_ac_var
17419if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10821 if test "x$as_val" = x""yes; then :
17420 $as_echo_n "(cached) " >&6
17421else
17422 cat >conftest.$ac_ext <<_ACEOF
17423/* confdefs.h. */
17424_ACEOF
17425cat confdefs.h >>conftest.$ac_ext
17426cat >>conftest.$ac_ext <<_ACEOF
17427/* end confdefs.h. */
17428/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17430#define $ac_func innocuous_$ac_func
17431
17432/* System header to define __stub macros and hopefully few prototypes,
17433 which can conflict with char $ac_func (); below.
17434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17435 <limits.h> exists even on freestanding compilers. */
17436
17437#ifdef __STDC__
17438# include <limits.h>
17439#else
17440# include <assert.h>
17441#endif
17442
17443#undef $ac_func
17444
17445/* Override any GCC internal prototype to avoid an error.
17446 Use char because int might match the return type of a GCC
17447 builtin and then its argument prototype would still apply. */
17448#ifdef __cplusplus
17449extern "C"
17450#endif
17451char $ac_func ();
17452/* The GNU C library defines this for functions which it implements
17453 to always fail with ENOSYS. Some functions are actually named
17454 something starting with __ and the normal name is an alias. */
17455#if defined __stub_$ac_func || defined __stub___$ac_func
17456choke me
17457#endif
17458
17459int
17460main ()
17461{
17462return $ac_func ();
17463 ;
17464 return 0;
17465}
17466_ACEOF
17467rm -f conftest.$ac_objext conftest$ac_exeext
17468if { (ac_try="$ac_link"
17469case "(($ac_try" in
17470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17471 *) ac_try_echo=$ac_try;;
17472esac
17473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17474$as_echo "$ac_try_echo") >&5
17475 (eval "$ac_link") 2>conftest.er1
17476 ac_status=$?
17477 grep -v '^ *+' conftest.er1 >conftest.err
17478 rm -f conftest.er1
17479 cat conftest.err >&5
17480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_c_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest$ac_exeext && {
17485 test "$cross_compiling" = yes ||
17486 $as_test_x conftest$ac_exeext
17487 }; then
17488 eval "$as_ac_var=yes"
17489else
17490 $as_echo "$as_me: failed program was:" >&5
17491sed 's/^/| /' conftest.$ac_ext >&5
17492
17493 eval "$as_ac_var=no"
17494fi
17495
17496rm -rf conftest.dSYM
17497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17498 conftest$ac_exeext conftest.$ac_ext
17499fi
17500ac_res=`eval 'as_val=${'$as_ac_var'}
17501 $as_echo "$as_val"'`
17502 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17503$as_echo "$ac_res" >&6; }
17504if test `eval 'as_val=${'$as_ac_var'}
17505 $as_echo "$as_val"'` = yes; then
17506 cat >>confdefs.h <<_ACEOF 10822 cat >>confdefs.h <<_ACEOF
17507#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10823#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17508_ACEOF 10824_ACEOF
@@ -17511,294 +10827,12 @@ fi
17511done 10827done
17512 10828
17513 10829
17514
17515for ac_header in sys/un.h 10830for ac_header in sys/un.h
17516do 10831do :
17517as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10832 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
17518if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10833if test "x$ac_cv_header_sys_un_h" = x""yes; then :
17519 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17520$as_echo_n "checking for $ac_header... " >&6; }
17521if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17522 $as_echo_n "(cached) " >&6
17523fi
17524ac_res=`eval 'as_val=${'$as_ac_Header'}
17525 $as_echo "$as_val"'`
17526 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17527$as_echo "$ac_res" >&6; }
17528else
17529 # Is the header compilable?
17530{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17531$as_echo_n "checking $ac_header usability... " >&6; }
17532cat >conftest.$ac_ext <<_ACEOF
17533/* confdefs.h. */
17534_ACEOF
17535cat confdefs.h >>conftest.$ac_ext
17536cat >>conftest.$ac_ext <<_ACEOF
17537/* end confdefs.h. */
17538$ac_includes_default
17539#include <$ac_header>
17540_ACEOF
17541rm -f conftest.$ac_objext
17542if { (ac_try="$ac_compile"
17543case "(($ac_try" in
17544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17545 *) ac_try_echo=$ac_try;;
17546esac
17547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17548$as_echo "$ac_try_echo") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 ac_header_compiler=yes
17560else
17561 $as_echo "$as_me: failed program was:" >&5
17562sed 's/^/| /' conftest.$ac_ext >&5
17563
17564 ac_header_compiler=no
17565fi
17566
17567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17569$as_echo "$ac_header_compiler" >&6; }
17570
17571# Is the header present?
17572{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17573$as_echo_n "checking $ac_header presence... " >&6; }
17574cat >conftest.$ac_ext <<_ACEOF
17575/* confdefs.h. */
17576_ACEOF
17577cat confdefs.h >>conftest.$ac_ext
17578cat >>conftest.$ac_ext <<_ACEOF
17579/* end confdefs.h. */
17580#include <$ac_header>
17581_ACEOF
17582if { (ac_try="$ac_cpp conftest.$ac_ext"
17583case "(($ac_try" in
17584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17586esac
17587eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17588$as_echo "$ac_try_echo") >&5
17589 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17590 ac_status=$?
17591 grep -v '^ *+' conftest.er1 >conftest.err
17592 rm -f conftest.er1
17593 cat conftest.err >&5
17594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } >/dev/null && {
17596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17597 test ! -s conftest.err
17598 }; then
17599 ac_header_preproc=yes
17600else
17601 $as_echo "$as_me: failed program was:" >&5
17602sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 ac_header_preproc=no
17605fi
17606
17607rm -f conftest.err conftest.$ac_ext
17608{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17609$as_echo "$ac_header_preproc" >&6; }
17610
17611# So? What about this header?
17612case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17613 yes:no: )
17614 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17615$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17617$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17618 ac_header_preproc=yes
17619 ;;
17620 no:yes:* )
17621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17622$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17624$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17626$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17628$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17629 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17630$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17632$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17633
17634 ;;
17635esac
17636{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17637$as_echo_n "checking for $ac_header... " >&6; }
17638if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17639 $as_echo_n "(cached) " >&6
17640else
17641 eval "$as_ac_Header=\$ac_header_preproc"
17642fi
17643ac_res=`eval 'as_val=${'$as_ac_Header'}
17644 $as_echo "$as_val"'`
17645 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17646$as_echo "$ac_res" >&6; }
17647
17648fi
17649if test `eval 'as_val=${'$as_ac_Header'}
17650 $as_echo "$as_val"'` = yes; then
17651 cat >>confdefs.h <<_ACEOF
17652#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17653_ACEOF
17654
17655fi
17656
17657done
17658
17659
17660
17661
17662
17663
17664for ac_header in $ac_header_list
17665do
17666as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17667if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17669$as_echo_n "checking for $ac_header... " >&6; }
17670if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17671 $as_echo_n "(cached) " >&6
17672fi
17673ac_res=`eval 'as_val=${'$as_ac_Header'}
17674 $as_echo "$as_val"'`
17675 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17676$as_echo "$ac_res" >&6; }
17677else
17678 # Is the header compilable?
17679{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17680$as_echo_n "checking $ac_header usability... " >&6; }
17681cat >conftest.$ac_ext <<_ACEOF
17682/* confdefs.h. */
17683_ACEOF
17684cat confdefs.h >>conftest.$ac_ext
17685cat >>conftest.$ac_ext <<_ACEOF
17686/* end confdefs.h. */
17687$ac_includes_default
17688#include <$ac_header>
17689_ACEOF
17690rm -f conftest.$ac_objext
17691if { (ac_try="$ac_compile"
17692case "(($ac_try" in
17693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17694 *) ac_try_echo=$ac_try;;
17695esac
17696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17697$as_echo "$ac_try_echo") >&5
17698 (eval "$ac_compile") 2>conftest.er1
17699 ac_status=$?
17700 grep -v '^ *+' conftest.er1 >conftest.err
17701 rm -f conftest.er1
17702 cat conftest.err >&5
17703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } && {
17705 test -z "$ac_c_werror_flag" ||
17706 test ! -s conftest.err
17707 } && test -s conftest.$ac_objext; then
17708 ac_header_compiler=yes
17709else
17710 $as_echo "$as_me: failed program was:" >&5
17711sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 ac_header_compiler=no
17714fi
17715
17716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17717{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17718$as_echo "$ac_header_compiler" >&6; }
17719
17720# Is the header present?
17721{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17722$as_echo_n "checking $ac_header presence... " >&6; }
17723cat >conftest.$ac_ext <<_ACEOF
17724/* confdefs.h. */
17725_ACEOF
17726cat confdefs.h >>conftest.$ac_ext
17727cat >>conftest.$ac_ext <<_ACEOF
17728/* end confdefs.h. */
17729#include <$ac_header>
17730_ACEOF
17731if { (ac_try="$ac_cpp conftest.$ac_ext"
17732case "(($ac_try" in
17733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734 *) ac_try_echo=$ac_try;;
17735esac
17736eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17737$as_echo "$ac_try_echo") >&5
17738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17739 ac_status=$?
17740 grep -v '^ *+' conftest.er1 >conftest.err
17741 rm -f conftest.er1
17742 cat conftest.err >&5
17743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } >/dev/null && {
17745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17746 test ! -s conftest.err
17747 }; then
17748 ac_header_preproc=yes
17749else
17750 $as_echo "$as_me: failed program was:" >&5
17751sed 's/^/| /' conftest.$ac_ext >&5
17752
17753 ac_header_preproc=no
17754fi
17755
17756rm -f conftest.err conftest.$ac_ext
17757{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17758$as_echo "$ac_header_preproc" >&6; }
17759
17760# So? What about this header?
17761case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17762 yes:no: )
17763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17764$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17766$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17767 ac_header_preproc=yes
17768 ;;
17769 no:yes:* )
17770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17771$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17773$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17775$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17777$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17779$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17781$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17782
17783 ;;
17784esac
17785{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17786$as_echo_n "checking for $ac_header... " >&6; }
17787if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17788 $as_echo_n "(cached) " >&6
17789else
17790 eval "$as_ac_Header=\$ac_header_preproc"
17791fi
17792ac_res=`eval 'as_val=${'$as_ac_Header'}
17793 $as_echo "$as_val"'`
17794 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17795$as_echo "$ac_res" >&6; }
17796
17797fi
17798if test `eval 'as_val=${'$as_ac_Header'}
17799 $as_echo "$as_val"'` = yes; then
17800 cat >>confdefs.h <<_ACEOF 10834 cat >>confdefs.h <<_ACEOF
17801#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10835#define HAVE_SYS_UN_H 1
17802_ACEOF 10836_ACEOF
17803 10837
17804fi 10838fi
@@ -17811,100 +10845,12 @@ done
17811 10845
17812 10846
17813 10847
17814 10848 for ac_func in $ac_func_list
17815 10849do :
17816for ac_func in $ac_func_list 10850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17817do 10851ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17818as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10852eval as_val=\$$as_ac_var
17819{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10853 if test "x$as_val" = x""yes; then :
17820$as_echo_n "checking for $ac_func... " >&6; }
17821if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17822 $as_echo_n "(cached) " >&6
17823else
17824 cat >conftest.$ac_ext <<_ACEOF
17825/* confdefs.h. */
17826_ACEOF
17827cat confdefs.h >>conftest.$ac_ext
17828cat >>conftest.$ac_ext <<_ACEOF
17829/* end confdefs.h. */
17830/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17832#define $ac_func innocuous_$ac_func
17833
17834/* System header to define __stub macros and hopefully few prototypes,
17835 which can conflict with char $ac_func (); below.
17836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17837 <limits.h> exists even on freestanding compilers. */
17838
17839#ifdef __STDC__
17840# include <limits.h>
17841#else
17842# include <assert.h>
17843#endif
17844
17845#undef $ac_func
17846
17847/* Override any GCC internal prototype to avoid an error.
17848 Use char because int might match the return type of a GCC
17849 builtin and then its argument prototype would still apply. */
17850#ifdef __cplusplus
17851extern "C"
17852#endif
17853char $ac_func ();
17854/* The GNU C library defines this for functions which it implements
17855 to always fail with ENOSYS. Some functions are actually named
17856 something starting with __ and the normal name is an alias. */
17857#if defined __stub_$ac_func || defined __stub___$ac_func
17858choke me
17859#endif
17860
17861int
17862main ()
17863{
17864return $ac_func ();
17865 ;
17866 return 0;
17867}
17868_ACEOF
17869rm -f conftest.$ac_objext conftest$ac_exeext
17870if { (ac_try="$ac_link"
17871case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17873 *) ac_try_echo=$ac_try;;
17874esac
17875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17876$as_echo "$ac_try_echo") >&5
17877 (eval "$ac_link") 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_c_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest$ac_exeext && {
17887 test "$cross_compiling" = yes ||
17888 $as_test_x conftest$ac_exeext
17889 }; then
17890 eval "$as_ac_var=yes"
17891else
17892 $as_echo "$as_me: failed program was:" >&5
17893sed 's/^/| /' conftest.$ac_ext >&5
17894
17895 eval "$as_ac_var=no"
17896fi
17897
17898rm -rf conftest.dSYM
17899rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17900 conftest$ac_exeext conftest.$ac_ext
17901fi
17902ac_res=`eval 'as_val=${'$as_ac_var'}
17903 $as_echo "$as_val"'`
17904 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17905$as_echo "$ac_res" >&6; }
17906if test `eval 'as_val=${'$as_ac_var'}
17907 $as_echo "$as_val"'` = yes; then
17908 cat >>confdefs.h <<_ACEOF 10854 cat >>confdefs.h <<_ACEOF
17909#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10855#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17910_ACEOF 10856_ACEOF
@@ -17916,31 +10862,15 @@ done
17916 10862
17917 10863
17918 10864
17919 10865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931{ $as_echo "$as_me:$LINENO: checking for working mktime" >&5
17932$as_echo_n "checking for working mktime... " >&6; } 10866$as_echo_n "checking for working mktime... " >&6; }
17933if test "${ac_cv_func_working_mktime+set}" = set; then 10867if test "${ac_cv_func_working_mktime+set}" = set; then :
17934 $as_echo_n "(cached) " >&6 10868 $as_echo_n "(cached) " >&6
17935else 10869else
17936 if test "$cross_compiling" = yes; then 10870 if test "$cross_compiling" = yes; then :
17937 ac_cv_func_working_mktime=no 10871 ac_cv_func_working_mktime=no
17938else 10872else
17939 cat >conftest.$ac_ext <<_ACEOF 10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940/* confdefs.h. */
17941_ACEOF
17942cat confdefs.h >>conftest.$ac_ext
17943cat >>conftest.$ac_ext <<_ACEOF
17944/* end confdefs.h. */ 10874/* end confdefs.h. */
17945/* Test program from Paul Eggert and Tony Leneis. */ 10875/* Test program from Paul Eggert and Tony Leneis. */
17946#ifdef TIME_WITH_SYS_TIME 10876#ifdef TIME_WITH_SYS_TIME
@@ -18137,44 +11067,17 @@ main ()
18137 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 11067 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
18138} 11068}
18139_ACEOF 11069_ACEOF
18140rm -f conftest$ac_exeext 11070if ac_fn_c_try_run "$LINENO"; then :
18141if { (ac_try="$ac_link"
18142case "(($ac_try" in
18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18144 *) ac_try_echo=$ac_try;;
18145esac
18146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18147$as_echo "$ac_try_echo") >&5
18148 (eval "$ac_link") 2>&5
18149 ac_status=$?
18150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18152 { (case "(($ac_try" in
18153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18154 *) ac_try_echo=$ac_try;;
18155esac
18156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18157$as_echo "$ac_try_echo") >&5
18158 (eval "$ac_try") 2>&5
18159 ac_status=$?
18160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_cv_func_working_mktime=yes 11071 ac_cv_func_working_mktime=yes
18163else 11072else
18164 $as_echo "$as_me: program exited with status $ac_status" >&5 11073 ac_cv_func_working_mktime=no
18165$as_echo "$as_me: failed program was:" >&5
18166sed 's/^/| /' conftest.$ac_ext >&5
18167
18168( exit $ac_status )
18169ac_cv_func_working_mktime=no
18170fi 11074fi
18171rm -rf conftest.dSYM 11075rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18172rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11076 conftest.$ac_objext conftest.beam conftest.$ac_ext
18173fi 11077fi
18174 11078
18175
18176fi 11079fi
18177{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 11080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
18178$as_echo "$ac_cv_func_working_mktime" >&6; } 11081$as_echo "$ac_cv_func_working_mktime" >&6; }
18179if test $ac_cv_func_working_mktime = no; then 11082if test $ac_cv_func_working_mktime = no; then
18180 case " $LIBOBJS " in 11083 case " $LIBOBJS " in
@@ -18187,9 +11090,7 @@ fi
18187 11090
18188if test "$ac_cv_func_working_mktime" = no; then 11091if test "$ac_cv_func_working_mktime" = no; then
18189 11092
18190cat >>confdefs.h <<\_ACEOF 11093$as_echo "#define BROKEN_MKTIME 1" >>confdefs.h
18191#define BROKEN_MKTIME 1
18192_ACEOF
18193 11094
18194fi 11095fi
18195 11096
@@ -18197,99 +11098,13 @@ ac_have_func=no # yes means we've found a way to get the load average.
18197 11098
18198# Make sure getloadavg.c is where it belongs, at configure-time. 11099# Make sure getloadavg.c is where it belongs, at configure-time.
18199test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 11100test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
18200 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 11101 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
18201$as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
18202 { (exit 1); exit 1; }; }
18203 11102
18204ac_save_LIBS=$LIBS 11103ac_save_LIBS=$LIBS
18205 11104
18206# Check for getloadavg, but be sure not to touch the cache variable. 11105# Check for getloadavg, but be sure not to touch the cache variable.
18207({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 11106(ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
18208$as_echo_n "checking for getloadavg... " >&6; } 11107if test "x$ac_cv_func_getloadavg" = x""yes; then :
18209if test "${ac_cv_func_getloadavg+set}" = set; then
18210 $as_echo_n "(cached) " >&6
18211else
18212 cat >conftest.$ac_ext <<_ACEOF
18213/* confdefs.h. */
18214_ACEOF
18215cat confdefs.h >>conftest.$ac_ext
18216cat >>conftest.$ac_ext <<_ACEOF
18217/* end confdefs.h. */
18218/* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg.
18219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18220#define getloadavg innocuous_getloadavg
18221
18222/* System header to define __stub macros and hopefully few prototypes,
18223 which can conflict with char getloadavg (); below.
18224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18225 <limits.h> exists even on freestanding compilers. */
18226
18227#ifdef __STDC__
18228# include <limits.h>
18229#else
18230# include <assert.h>
18231#endif
18232
18233#undef getloadavg
18234
18235/* Override any GCC internal prototype to avoid an error.
18236 Use char because int might match the return type of a GCC
18237 builtin and then its argument prototype would still apply. */
18238#ifdef __cplusplus
18239extern "C"
18240#endif
18241char getloadavg ();
18242/* The GNU C library defines this for functions which it implements
18243 to always fail with ENOSYS. Some functions are actually named
18244 something starting with __ and the normal name is an alias. */
18245#if defined __stub_getloadavg || defined __stub___getloadavg
18246choke me
18247#endif
18248
18249int
18250main ()
18251{
18252return getloadavg ();
18253 ;
18254 return 0;
18255}
18256_ACEOF
18257rm -f conftest.$ac_objext conftest$ac_exeext
18258if { (ac_try="$ac_link"
18259case "(($ac_try" in
18260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18262esac
18263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18264$as_echo "$ac_try_echo") >&5
18265 (eval "$ac_link") 2>conftest.er1
18266 ac_status=$?
18267 grep -v '^ *+' conftest.er1 >conftest.err
18268 rm -f conftest.er1
18269 cat conftest.err >&5
18270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } && {
18272 test -z "$ac_c_werror_flag" ||
18273 test ! -s conftest.err
18274 } && test -s conftest$ac_exeext && {
18275 test "$cross_compiling" = yes ||
18276 $as_test_x conftest$ac_exeext
18277 }; then
18278 ac_cv_func_getloadavg=yes
18279else
18280 $as_echo "$as_me: failed program was:" >&5
18281sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 ac_cv_func_getloadavg=no
18284fi
18285
18286rm -rf conftest.dSYM
18287rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18288 conftest$ac_exeext conftest.$ac_ext
18289fi
18290{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
18291$as_echo "$ac_cv_func_getloadavg" >&6; }
18292if test $ac_cv_func_getloadavg = yes; then
18293 exit 0 11108 exit 0
18294else 11109else
18295 exit 1 11110 exit 1
@@ -18297,101 +11112,12 @@ fi
18297) && ac_have_func=yes 11112) && ac_have_func=yes
18298 11113
18299# On HPUX9, an unprivileged user can get load averages through this function. 11114# On HPUX9, an unprivileged user can get load averages through this function.
18300
18301for ac_func in pstat_getdynamic 11115for ac_func in pstat_getdynamic
18302do 11116do :
18303as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11117 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
18304{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11118if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then :
18305$as_echo_n "checking for $ac_func... " >&6; }
18306if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18307 $as_echo_n "(cached) " >&6
18308else
18309 cat >conftest.$ac_ext <<_ACEOF
18310/* confdefs.h. */
18311_ACEOF
18312cat confdefs.h >>conftest.$ac_ext
18313cat >>conftest.$ac_ext <<_ACEOF
18314/* end confdefs.h. */
18315/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18317#define $ac_func innocuous_$ac_func
18318
18319/* System header to define __stub macros and hopefully few prototypes,
18320 which can conflict with char $ac_func (); below.
18321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18322 <limits.h> exists even on freestanding compilers. */
18323
18324#ifdef __STDC__
18325# include <limits.h>
18326#else
18327# include <assert.h>
18328#endif
18329
18330#undef $ac_func
18331
18332/* Override any GCC internal prototype to avoid an error.
18333 Use char because int might match the return type of a GCC
18334 builtin and then its argument prototype would still apply. */
18335#ifdef __cplusplus
18336extern "C"
18337#endif
18338char $ac_func ();
18339/* The GNU C library defines this for functions which it implements
18340 to always fail with ENOSYS. Some functions are actually named
18341 something starting with __ and the normal name is an alias. */
18342#if defined __stub_$ac_func || defined __stub___$ac_func
18343choke me
18344#endif
18345
18346int
18347main ()
18348{
18349return $ac_func ();
18350 ;
18351 return 0;
18352}
18353_ACEOF
18354rm -f conftest.$ac_objext conftest$ac_exeext
18355if { (ac_try="$ac_link"
18356case "(($ac_try" in
18357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18358 *) ac_try_echo=$ac_try;;
18359esac
18360eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18361$as_echo "$ac_try_echo") >&5
18362 (eval "$ac_link") 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } && {
18369 test -z "$ac_c_werror_flag" ||
18370 test ! -s conftest.err
18371 } && test -s conftest$ac_exeext && {
18372 test "$cross_compiling" = yes ||
18373 $as_test_x conftest$ac_exeext
18374 }; then
18375 eval "$as_ac_var=yes"
18376else
18377 $as_echo "$as_me: failed program was:" >&5
18378sed 's/^/| /' conftest.$ac_ext >&5
18379
18380 eval "$as_ac_var=no"
18381fi
18382
18383rm -rf conftest.dSYM
18384rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18385 conftest$ac_exeext conftest.$ac_ext
18386fi
18387ac_res=`eval 'as_val=${'$as_ac_var'}
18388 $as_echo "$as_val"'`
18389 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18390$as_echo "$ac_res" >&6; }
18391if test `eval 'as_val=${'$as_ac_var'}
18392 $as_echo "$as_val"'` = yes; then
18393 cat >>confdefs.h <<_ACEOF 11119 cat >>confdefs.h <<_ACEOF
18394#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11120#define HAVE_PSTAT_GETDYNAMIC 1
18395_ACEOF 11121_ACEOF
18396 11122
18397fi 11123fi
@@ -18399,19 +11125,14 @@ done
18399 11125
18400 11126
18401# Solaris has libkstat which does not require root. 11127# Solaris has libkstat which does not require root.
18402 11128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
18403{ $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
18404$as_echo_n "checking for kstat_open in -lkstat... " >&6; } 11129$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
18405if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 11130if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
18406 $as_echo_n "(cached) " >&6 11131 $as_echo_n "(cached) " >&6
18407else 11132else
18408 ac_check_lib_save_LIBS=$LIBS 11133 ac_check_lib_save_LIBS=$LIBS
18409LIBS="-lkstat $LIBS" 11134LIBS="-lkstat $LIBS"
18410cat >conftest.$ac_ext <<_ACEOF 11135cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411/* confdefs.h. */
18412_ACEOF
18413cat confdefs.h >>conftest.$ac_ext
18414cat >>conftest.$ac_ext <<_ACEOF
18415/* end confdefs.h. */ 11136/* end confdefs.h. */
18416 11137
18417/* Override any GCC internal prototype to avoid an error. 11138/* Override any GCC internal prototype to avoid an error.
@@ -18429,43 +11150,18 @@ return kstat_open ();
18429 return 0; 11150 return 0;
18430} 11151}
18431_ACEOF 11152_ACEOF
18432rm -f conftest.$ac_objext conftest$ac_exeext 11153if ac_fn_c_try_link "$LINENO"; then :
18433if { (ac_try="$ac_link"
18434case "(($ac_try" in
18435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18436 *) ac_try_echo=$ac_try;;
18437esac
18438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18439$as_echo "$ac_try_echo") >&5
18440 (eval "$ac_link") 2>conftest.er1
18441 ac_status=$?
18442 grep -v '^ *+' conftest.er1 >conftest.err
18443 rm -f conftest.er1
18444 cat conftest.err >&5
18445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest$ac_exeext && {
18450 test "$cross_compiling" = yes ||
18451 $as_test_x conftest$ac_exeext
18452 }; then
18453 ac_cv_lib_kstat_kstat_open=yes 11154 ac_cv_lib_kstat_kstat_open=yes
18454else 11155else
18455 $as_echo "$as_me: failed program was:" >&5 11156 ac_cv_lib_kstat_kstat_open=no
18456sed 's/^/| /' conftest.$ac_ext >&5
18457
18458 ac_cv_lib_kstat_kstat_open=no
18459fi 11157fi
18460 11158rm -f core conftest.err conftest.$ac_objext \
18461rm -rf conftest.dSYM 11159 conftest$ac_exeext conftest.$ac_ext
18462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18463 conftest$ac_exeext conftest.$ac_ext
18464LIBS=$ac_check_lib_save_LIBS 11160LIBS=$ac_check_lib_save_LIBS
18465fi 11161fi
18466{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 11162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
18467$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 11163$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
18468if test $ac_cv_lib_kstat_kstat_open = yes; then 11164if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
18469 cat >>confdefs.h <<_ACEOF 11165 cat >>confdefs.h <<_ACEOF
18470#define HAVE_LIBKSTAT 1 11166#define HAVE_LIBKSTAT 1
18471_ACEOF 11167_ACEOF
@@ -18481,18 +11177,14 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
18481# to get the right answer into the cache. 11177# to get the right answer into the cache.
18482# For kstat on solaris, we need libelf to force the definition of SVR4 below. 11178# For kstat on solaris, we need libelf to force the definition of SVR4 below.
18483if test $ac_have_func = no; then 11179if test $ac_have_func = no; then
18484 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
18485$as_echo_n "checking for elf_begin in -lelf... " >&6; } 11181$as_echo_n "checking for elf_begin in -lelf... " >&6; }
18486if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 11182if test "${ac_cv_lib_elf_elf_begin+set}" = set; then :
18487 $as_echo_n "(cached) " >&6 11183 $as_echo_n "(cached) " >&6
18488else 11184else
18489 ac_check_lib_save_LIBS=$LIBS 11185 ac_check_lib_save_LIBS=$LIBS
18490LIBS="-lelf $LIBS" 11186LIBS="-lelf $LIBS"
18491cat >conftest.$ac_ext <<_ACEOF 11187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492/* confdefs.h. */
18493_ACEOF
18494cat confdefs.h >>conftest.$ac_ext
18495cat >>conftest.$ac_ext <<_ACEOF
18496/* end confdefs.h. */ 11188/* end confdefs.h. */
18497 11189
18498/* Override any GCC internal prototype to avoid an error. 11190/* Override any GCC internal prototype to avoid an error.
@@ -18510,60 +11202,31 @@ return elf_begin ();
18510 return 0; 11202 return 0;
18511} 11203}
18512_ACEOF 11204_ACEOF
18513rm -f conftest.$ac_objext conftest$ac_exeext 11205if ac_fn_c_try_link "$LINENO"; then :
18514if { (ac_try="$ac_link"
18515case "(($ac_try" in
18516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18517 *) ac_try_echo=$ac_try;;
18518esac
18519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18520$as_echo "$ac_try_echo") >&5
18521 (eval "$ac_link") 2>conftest.er1
18522 ac_status=$?
18523 grep -v '^ *+' conftest.er1 >conftest.err
18524 rm -f conftest.er1
18525 cat conftest.err >&5
18526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); } && {
18528 test -z "$ac_c_werror_flag" ||
18529 test ! -s conftest.err
18530 } && test -s conftest$ac_exeext && {
18531 test "$cross_compiling" = yes ||
18532 $as_test_x conftest$ac_exeext
18533 }; then
18534 ac_cv_lib_elf_elf_begin=yes 11206 ac_cv_lib_elf_elf_begin=yes
18535else 11207else
18536 $as_echo "$as_me: failed program was:" >&5 11208 ac_cv_lib_elf_elf_begin=no
18537sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 ac_cv_lib_elf_elf_begin=no
18540fi 11209fi
18541 11210rm -f core conftest.err conftest.$ac_objext \
18542rm -rf conftest.dSYM 11211 conftest$ac_exeext conftest.$ac_ext
18543rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18544 conftest$ac_exeext conftest.$ac_ext
18545LIBS=$ac_check_lib_save_LIBS 11212LIBS=$ac_check_lib_save_LIBS
18546fi 11213fi
18547{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 11214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
18548$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 11215$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
18549if test $ac_cv_lib_elf_elf_begin = yes; then 11216if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then :
18550 LIBS="-lelf $LIBS" 11217 LIBS="-lelf $LIBS"
18551fi 11218fi
18552 11219
18553fi 11220fi
18554if test $ac_have_func = no; then 11221if test $ac_have_func = no; then
18555 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
18556$as_echo_n "checking for kvm_open in -lkvm... " >&6; } 11223$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
18557if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 11224if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then :
18558 $as_echo_n "(cached) " >&6 11225 $as_echo_n "(cached) " >&6
18559else 11226else
18560 ac_check_lib_save_LIBS=$LIBS 11227 ac_check_lib_save_LIBS=$LIBS
18561LIBS="-lkvm $LIBS" 11228LIBS="-lkvm $LIBS"
18562cat >conftest.$ac_ext <<_ACEOF 11229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563/* confdefs.h. */
18564_ACEOF
18565cat confdefs.h >>conftest.$ac_ext
18566cat >>conftest.$ac_ext <<_ACEOF
18567/* end confdefs.h. */ 11230/* end confdefs.h. */
18568 11231
18569/* Override any GCC internal prototype to avoid an error. 11232/* Override any GCC internal prototype to avoid an error.
@@ -18581,59 +11244,30 @@ return kvm_open ();
18581 return 0; 11244 return 0;
18582} 11245}
18583_ACEOF 11246_ACEOF
18584rm -f conftest.$ac_objext conftest$ac_exeext 11247if ac_fn_c_try_link "$LINENO"; then :
18585if { (ac_try="$ac_link"
18586case "(($ac_try" in
18587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18588 *) ac_try_echo=$ac_try;;
18589esac
18590eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18591$as_echo "$ac_try_echo") >&5
18592 (eval "$ac_link") 2>conftest.er1
18593 ac_status=$?
18594 grep -v '^ *+' conftest.er1 >conftest.err
18595 rm -f conftest.er1
18596 cat conftest.err >&5
18597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } && {
18599 test -z "$ac_c_werror_flag" ||
18600 test ! -s conftest.err
18601 } && test -s conftest$ac_exeext && {
18602 test "$cross_compiling" = yes ||
18603 $as_test_x conftest$ac_exeext
18604 }; then
18605 ac_cv_lib_kvm_kvm_open=yes 11248 ac_cv_lib_kvm_kvm_open=yes
18606else 11249else
18607 $as_echo "$as_me: failed program was:" >&5 11250 ac_cv_lib_kvm_kvm_open=no
18608sed 's/^/| /' conftest.$ac_ext >&5
18609
18610 ac_cv_lib_kvm_kvm_open=no
18611fi 11251fi
18612 11252rm -f core conftest.err conftest.$ac_objext \
18613rm -rf conftest.dSYM 11253 conftest$ac_exeext conftest.$ac_ext
18614rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18615 conftest$ac_exeext conftest.$ac_ext
18616LIBS=$ac_check_lib_save_LIBS 11254LIBS=$ac_check_lib_save_LIBS
18617fi 11255fi
18618{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 11256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
18619$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 11257$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
18620if test $ac_cv_lib_kvm_kvm_open = yes; then 11258if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then :
18621 LIBS="-lkvm $LIBS" 11259 LIBS="-lkvm $LIBS"
18622fi 11260fi
18623 11261
18624 # Check for the 4.4BSD definition of getloadavg. 11262 # Check for the 4.4BSD definition of getloadavg.
18625 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
18626$as_echo_n "checking for getloadavg in -lutil... " >&6; } 11264$as_echo_n "checking for getloadavg in -lutil... " >&6; }
18627if test "${ac_cv_lib_util_getloadavg+set}" = set; then 11265if test "${ac_cv_lib_util_getloadavg+set}" = set; then :
18628 $as_echo_n "(cached) " >&6 11266 $as_echo_n "(cached) " >&6
18629else 11267else
18630 ac_check_lib_save_LIBS=$LIBS 11268 ac_check_lib_save_LIBS=$LIBS
18631LIBS="-lutil $LIBS" 11269LIBS="-lutil $LIBS"
18632cat >conftest.$ac_ext <<_ACEOF 11270cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633/* confdefs.h. */
18634_ACEOF
18635cat confdefs.h >>conftest.$ac_ext
18636cat >>conftest.$ac_ext <<_ACEOF
18637/* end confdefs.h. */ 11271/* end confdefs.h. */
18638 11272
18639/* Override any GCC internal prototype to avoid an error. 11273/* Override any GCC internal prototype to avoid an error.
@@ -18651,43 +11285,18 @@ return getloadavg ();
18651 return 0; 11285 return 0;
18652} 11286}
18653_ACEOF 11287_ACEOF
18654rm -f conftest.$ac_objext conftest$ac_exeext 11288if ac_fn_c_try_link "$LINENO"; then :
18655if { (ac_try="$ac_link"
18656case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18659esac
18660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18661$as_echo "$ac_try_echo") >&5
18662 (eval "$ac_link") 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest$ac_exeext && {
18672 test "$cross_compiling" = yes ||
18673 $as_test_x conftest$ac_exeext
18674 }; then
18675 ac_cv_lib_util_getloadavg=yes 11289 ac_cv_lib_util_getloadavg=yes
18676else 11290else
18677 $as_echo "$as_me: failed program was:" >&5 11291 ac_cv_lib_util_getloadavg=no
18678sed 's/^/| /' conftest.$ac_ext >&5
18679
18680 ac_cv_lib_util_getloadavg=no
18681fi 11292fi
18682 11293rm -f core conftest.err conftest.$ac_objext \
18683rm -rf conftest.dSYM 11294 conftest$ac_exeext conftest.$ac_ext
18684rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18685 conftest$ac_exeext conftest.$ac_ext
18686LIBS=$ac_check_lib_save_LIBS 11295LIBS=$ac_check_lib_save_LIBS
18687fi 11296fi
18688{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 11297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
18689$as_echo "$ac_cv_lib_util_getloadavg" >&6; } 11298$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
18690if test $ac_cv_lib_util_getloadavg = yes; then 11299if test "x$ac_cv_lib_util_getloadavg" = x""yes; then :
18691 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 11300 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
18692fi 11301fi
18693 11302
@@ -18698,18 +11307,14 @@ if test $ac_have_func = no; then
18698 # Since it is not a standard part of AIX, it might be installed locally. 11307 # Since it is not a standard part of AIX, it might be installed locally.
18699 ac_getloadavg_LIBS=$LIBS 11308 ac_getloadavg_LIBS=$LIBS
18700 LIBS="-L/usr/local/lib $LIBS" 11309 LIBS="-L/usr/local/lib $LIBS"
18701 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
18702$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 11311$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
18703if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 11312if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then :
18704 $as_echo_n "(cached) " >&6 11313 $as_echo_n "(cached) " >&6
18705else 11314else
18706 ac_check_lib_save_LIBS=$LIBS 11315 ac_check_lib_save_LIBS=$LIBS
18707LIBS="-lgetloadavg $LIBS" 11316LIBS="-lgetloadavg $LIBS"
18708cat >conftest.$ac_ext <<_ACEOF 11317cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709/* confdefs.h. */
18710_ACEOF
18711cat confdefs.h >>conftest.$ac_ext
18712cat >>conftest.$ac_ext <<_ACEOF
18713/* end confdefs.h. */ 11318/* end confdefs.h. */
18714 11319
18715/* Override any GCC internal prototype to avoid an error. 11320/* Override any GCC internal prototype to avoid an error.
@@ -18727,43 +11332,18 @@ return getloadavg ();
18727 return 0; 11332 return 0;
18728} 11333}
18729_ACEOF 11334_ACEOF
18730rm -f conftest.$ac_objext conftest$ac_exeext 11335if ac_fn_c_try_link "$LINENO"; then :
18731if { (ac_try="$ac_link"
18732case "(($ac_try" in
18733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18734 *) ac_try_echo=$ac_try;;
18735esac
18736eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18737$as_echo "$ac_try_echo") >&5
18738 (eval "$ac_link") 2>conftest.er1
18739 ac_status=$?
18740 grep -v '^ *+' conftest.er1 >conftest.err
18741 rm -f conftest.er1
18742 cat conftest.err >&5
18743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } && {
18745 test -z "$ac_c_werror_flag" ||
18746 test ! -s conftest.err
18747 } && test -s conftest$ac_exeext && {
18748 test "$cross_compiling" = yes ||
18749 $as_test_x conftest$ac_exeext
18750 }; then
18751 ac_cv_lib_getloadavg_getloadavg=yes 11336 ac_cv_lib_getloadavg_getloadavg=yes
18752else 11337else
18753 $as_echo "$as_me: failed program was:" >&5 11338 ac_cv_lib_getloadavg_getloadavg=no
18754sed 's/^/| /' conftest.$ac_ext >&5
18755
18756 ac_cv_lib_getloadavg_getloadavg=no
18757fi 11339fi
18758 11340rm -f core conftest.err conftest.$ac_objext \
18759rm -rf conftest.dSYM 11341 conftest$ac_exeext conftest.$ac_ext
18760rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18761 conftest$ac_exeext conftest.$ac_ext
18762LIBS=$ac_check_lib_save_LIBS 11342LIBS=$ac_check_lib_save_LIBS
18763fi 11343fi
18764{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 11344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
18765$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 11345$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
18766if test $ac_cv_lib_getloadavg_getloadavg = yes; then 11346if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then :
18767 LIBS="-lgetloadavg $LIBS" 11347 LIBS="-lgetloadavg $LIBS"
18768else 11348else
18769 LIBS=$ac_getloadavg_LIBS 11349 LIBS=$ac_getloadavg_LIBS
@@ -18773,101 +11353,12 @@ fi
18773 11353
18774# Make sure it is really in the library, if we think we found it, 11354# Make sure it is really in the library, if we think we found it,
18775# otherwise set up the replacement function. 11355# otherwise set up the replacement function.
18776
18777for ac_func in getloadavg 11356for ac_func in getloadavg
18778do 11357do :
18779as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11358 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
18780{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11359if test "x$ac_cv_func_getloadavg" = x""yes; then :
18781$as_echo_n "checking for $ac_func... " >&6; }
18782if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18783 $as_echo_n "(cached) " >&6
18784else
18785 cat >conftest.$ac_ext <<_ACEOF
18786/* confdefs.h. */
18787_ACEOF
18788cat confdefs.h >>conftest.$ac_ext
18789cat >>conftest.$ac_ext <<_ACEOF
18790/* end confdefs.h. */
18791/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18793#define $ac_func innocuous_$ac_func
18794
18795/* System header to define __stub macros and hopefully few prototypes,
18796 which can conflict with char $ac_func (); below.
18797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18798 <limits.h> exists even on freestanding compilers. */
18799
18800#ifdef __STDC__
18801# include <limits.h>
18802#else
18803# include <assert.h>
18804#endif
18805
18806#undef $ac_func
18807
18808/* Override any GCC internal prototype to avoid an error.
18809 Use char because int might match the return type of a GCC
18810 builtin and then its argument prototype would still apply. */
18811#ifdef __cplusplus
18812extern "C"
18813#endif
18814char $ac_func ();
18815/* The GNU C library defines this for functions which it implements
18816 to always fail with ENOSYS. Some functions are actually named
18817 something starting with __ and the normal name is an alias. */
18818#if defined __stub_$ac_func || defined __stub___$ac_func
18819choke me
18820#endif
18821
18822int
18823main ()
18824{
18825return $ac_func ();
18826 ;
18827 return 0;
18828}
18829_ACEOF
18830rm -f conftest.$ac_objext conftest$ac_exeext
18831if { (ac_try="$ac_link"
18832case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18835esac
18836eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18837$as_echo "$ac_try_echo") >&5
18838 (eval "$ac_link") 2>conftest.er1
18839 ac_status=$?
18840 grep -v '^ *+' conftest.er1 >conftest.err
18841 rm -f conftest.er1
18842 cat conftest.err >&5
18843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest$ac_exeext && {
18848 test "$cross_compiling" = yes ||
18849 $as_test_x conftest$ac_exeext
18850 }; then
18851 eval "$as_ac_var=yes"
18852else
18853 $as_echo "$as_me: failed program was:" >&5
18854sed 's/^/| /' conftest.$ac_ext >&5
18855
18856 eval "$as_ac_var=no"
18857fi
18858
18859rm -rf conftest.dSYM
18860rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18861 conftest$ac_exeext conftest.$ac_ext
18862fi
18863ac_res=`eval 'as_val=${'$as_ac_var'}
18864 $as_echo "$as_val"'`
18865 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18866$as_echo "$ac_res" >&6; }
18867if test `eval 'as_val=${'$as_ac_var'}
18868 $as_echo "$as_val"'` = yes; then
18869 cat >>confdefs.h <<_ACEOF 11360 cat >>confdefs.h <<_ACEOF
18870#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11361#define HAVE_GETLOADAVG 1
18871_ACEOF 11362_ACEOF
18872 11363
18873else 11364else
@@ -18878,159 +11369,24 @@ else
18878esac 11369esac
18879 11370
18880 11371
18881cat >>confdefs.h <<\_ACEOF 11372$as_echo "#define C_GETLOADAVG 1" >>confdefs.h
18882#define C_GETLOADAVG 1
18883_ACEOF
18884 11373
18885# Figure out what our getloadavg.c needs. 11374# Figure out what our getloadavg.c needs.
18886ac_have_func=no 11375ac_have_func=no
18887if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 11376ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
18888 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 11377if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
18889$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
18890if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18891 $as_echo_n "(cached) " >&6
18892fi
18893{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18894$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
18895else
18896 # Is the header compilable?
18897{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
18898$as_echo_n "checking sys/dg_sys_info.h usability... " >&6; }
18899cat >conftest.$ac_ext <<_ACEOF
18900/* confdefs.h. */
18901_ACEOF
18902cat confdefs.h >>conftest.$ac_ext
18903cat >>conftest.$ac_ext <<_ACEOF
18904/* end confdefs.h. */
18905$ac_includes_default
18906#include <sys/dg_sys_info.h>
18907_ACEOF
18908rm -f conftest.$ac_objext
18909if { (ac_try="$ac_compile"
18910case "(($ac_try" in
18911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18912 *) ac_try_echo=$ac_try;;
18913esac
18914eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18915$as_echo "$ac_try_echo") >&5
18916 (eval "$ac_compile") 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } && {
18923 test -z "$ac_c_werror_flag" ||
18924 test ! -s conftest.err
18925 } && test -s conftest.$ac_objext; then
18926 ac_header_compiler=yes
18927else
18928 $as_echo "$as_me: failed program was:" >&5
18929sed 's/^/| /' conftest.$ac_ext >&5
18930
18931 ac_header_compiler=no
18932fi
18933
18934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18935{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18936$as_echo "$ac_header_compiler" >&6; }
18937
18938# Is the header present?
18939{ $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
18940$as_echo_n "checking sys/dg_sys_info.h presence... " >&6; }
18941cat >conftest.$ac_ext <<_ACEOF
18942/* confdefs.h. */
18943_ACEOF
18944cat confdefs.h >>conftest.$ac_ext
18945cat >>conftest.$ac_ext <<_ACEOF
18946/* end confdefs.h. */
18947#include <sys/dg_sys_info.h>
18948_ACEOF
18949if { (ac_try="$ac_cpp conftest.$ac_ext"
18950case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18953esac
18954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18955$as_echo "$ac_try_echo") >&5
18956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18957 ac_status=$?
18958 grep -v '^ *+' conftest.er1 >conftest.err
18959 rm -f conftest.er1
18960 cat conftest.err >&5
18961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } >/dev/null && {
18963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18964 test ! -s conftest.err
18965 }; then
18966 ac_header_preproc=yes
18967else
18968 $as_echo "$as_me: failed program was:" >&5
18969sed 's/^/| /' conftest.$ac_ext >&5
18970
18971 ac_header_preproc=no
18972fi
18973
18974rm -f conftest.err conftest.$ac_ext
18975{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18976$as_echo "$ac_header_preproc" >&6; }
18977
18978# So? What about this header?
18979case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18980 yes:no: )
18981 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
18982$as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18983 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
18984$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
18985 ac_header_preproc=yes
18986 ;;
18987 no:yes:* )
18988 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
18989$as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
18990 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
18991$as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
18992 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
18993$as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
18994 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
18995$as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
18996 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
18997$as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
18998 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
18999$as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
19000
19001 ;;
19002esac
19003{ $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
19004$as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
19005if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
19006 $as_echo_n "(cached) " >&6
19007else
19008 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
19009fi
19010{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
19011$as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
19012
19013fi
19014if test $ac_cv_header_sys_dg_sys_info_h = yes; then
19015 ac_have_func=yes 11378 ac_have_func=yes
19016 11379
19017cat >>confdefs.h <<\_ACEOF 11380$as_echo "#define DGUX 1" >>confdefs.h
19018#define DGUX 1
19019_ACEOF
19020
19021 11381
19022{ $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
19023$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 11383$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
19024if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 11384if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
19025 $as_echo_n "(cached) " >&6 11385 $as_echo_n "(cached) " >&6
19026else 11386else
19027 ac_check_lib_save_LIBS=$LIBS 11387 ac_check_lib_save_LIBS=$LIBS
19028LIBS="-ldgc $LIBS" 11388LIBS="-ldgc $LIBS"
19029cat >conftest.$ac_ext <<_ACEOF 11389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030/* confdefs.h. */
19031_ACEOF
19032cat confdefs.h >>conftest.$ac_ext
19033cat >>conftest.$ac_ext <<_ACEOF
19034/* end confdefs.h. */ 11390/* end confdefs.h. */
19035 11391
19036/* Override any GCC internal prototype to avoid an error. 11392/* Override any GCC internal prototype to avoid an error.
@@ -19048,43 +11404,18 @@ return dg_sys_info ();
19048 return 0; 11404 return 0;
19049} 11405}
19050_ACEOF 11406_ACEOF
19051rm -f conftest.$ac_objext conftest$ac_exeext 11407if ac_fn_c_try_link "$LINENO"; then :
19052if { (ac_try="$ac_link"
19053case "(($ac_try" in
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19056esac
19057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19058$as_echo "$ac_try_echo") >&5
19059 (eval "$ac_link") 2>conftest.er1
19060 ac_status=$?
19061 grep -v '^ *+' conftest.er1 >conftest.err
19062 rm -f conftest.er1
19063 cat conftest.err >&5
19064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest$ac_exeext && {
19069 test "$cross_compiling" = yes ||
19070 $as_test_x conftest$ac_exeext
19071 }; then
19072 ac_cv_lib_dgc_dg_sys_info=yes 11408 ac_cv_lib_dgc_dg_sys_info=yes
19073else 11409else
19074 $as_echo "$as_me: failed program was:" >&5 11410 ac_cv_lib_dgc_dg_sys_info=no
19075sed 's/^/| /' conftest.$ac_ext >&5
19076
19077 ac_cv_lib_dgc_dg_sys_info=no
19078fi 11411fi
19079 11412rm -f core conftest.err conftest.$ac_objext \
19080rm -rf conftest.dSYM 11413 conftest$ac_exeext conftest.$ac_ext
19081rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19082 conftest$ac_exeext conftest.$ac_ext
19083LIBS=$ac_check_lib_save_LIBS 11414LIBS=$ac_check_lib_save_LIBS
19084fi 11415fi
19085{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 11416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
19086$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 11417$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
19087if test $ac_cv_lib_dgc_dg_sys_info = yes; then 11418if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then :
19088 cat >>confdefs.h <<_ACEOF 11419 cat >>confdefs.h <<_ACEOF
19089#define HAVE_LIBDGC 1 11420#define HAVE_LIBDGC 1
19090_ACEOF 11421_ACEOF
@@ -19097,230 +11428,18 @@ fi
19097 11428
19098 11429
19099 11430
19100if test "${ac_cv_header_locale_h+set}" = set; then 11431ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19101 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 11432if test "x$ac_cv_header_locale_h" = x""yes; then :
19102$as_echo_n "checking for locale.h... " >&6; }
19103if test "${ac_cv_header_locale_h+set}" = set; then
19104 $as_echo_n "(cached) " >&6
19105fi
19106{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19107$as_echo "$ac_cv_header_locale_h" >&6; }
19108else
19109 # Is the header compilable?
19110{ $as_echo "$as_me:$LINENO: checking locale.h usability" >&5
19111$as_echo_n "checking locale.h usability... " >&6; }
19112cat >conftest.$ac_ext <<_ACEOF
19113/* confdefs.h. */
19114_ACEOF
19115cat confdefs.h >>conftest.$ac_ext
19116cat >>conftest.$ac_ext <<_ACEOF
19117/* end confdefs.h. */
19118$ac_includes_default
19119#include <locale.h>
19120_ACEOF
19121rm -f conftest.$ac_objext
19122if { (ac_try="$ac_compile"
19123case "(($ac_try" in
19124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19125 *) ac_try_echo=$ac_try;;
19126esac
19127eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19128$as_echo "$ac_try_echo") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19130 ac_status=$?
19131 grep -v '^ *+' conftest.er1 >conftest.err
19132 rm -f conftest.er1
19133 cat conftest.err >&5
19134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } && {
19136 test -z "$ac_c_werror_flag" ||
19137 test ! -s conftest.err
19138 } && test -s conftest.$ac_objext; then
19139 ac_header_compiler=yes
19140else
19141 $as_echo "$as_me: failed program was:" >&5
19142sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 ac_header_compiler=no
19145fi
19146
19147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19148{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19149$as_echo "$ac_header_compiler" >&6; }
19150
19151# Is the header present?
19152{ $as_echo "$as_me:$LINENO: checking locale.h presence" >&5
19153$as_echo_n "checking locale.h presence... " >&6; }
19154cat >conftest.$ac_ext <<_ACEOF
19155/* confdefs.h. */
19156_ACEOF
19157cat confdefs.h >>conftest.$ac_ext
19158cat >>conftest.$ac_ext <<_ACEOF
19159/* end confdefs.h. */
19160#include <locale.h>
19161_ACEOF
19162if { (ac_try="$ac_cpp conftest.$ac_ext"
19163case "(($ac_try" in
19164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19165 *) ac_try_echo=$ac_try;;
19166esac
19167eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19168$as_echo "$ac_try_echo") >&5
19169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19170 ac_status=$?
19171 grep -v '^ *+' conftest.er1 >conftest.err
19172 rm -f conftest.er1
19173 cat conftest.err >&5
19174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } >/dev/null && {
19176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19177 test ! -s conftest.err
19178 }; then
19179 ac_header_preproc=yes
19180else
19181 $as_echo "$as_me: failed program was:" >&5
19182sed 's/^/| /' conftest.$ac_ext >&5
19183
19184 ac_header_preproc=no
19185fi
19186
19187rm -f conftest.err conftest.$ac_ext
19188{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19189$as_echo "$ac_header_preproc" >&6; }
19190
19191# So? What about this header?
19192case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19193 yes:no: )
19194 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
19195$as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19196 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
19197$as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
19198 ac_header_preproc=yes
19199 ;;
19200 no:yes:* )
19201 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
19202$as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
19203 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
19204$as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
19205 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
19206$as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
19207 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
19208$as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
19209 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
19210$as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
19211 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
19212$as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
19213
19214 ;;
19215esac
19216{ $as_echo "$as_me:$LINENO: checking for locale.h" >&5
19217$as_echo_n "checking for locale.h... " >&6; }
19218if test "${ac_cv_header_locale_h+set}" = set; then
19219 $as_echo_n "(cached) " >&6
19220else
19221 ac_cv_header_locale_h=$ac_header_preproc
19222fi
19223{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
19224$as_echo "$ac_cv_header_locale_h" >&6; }
19225 11433
19226fi 11434fi
19227 11435
19228 11436
19229
19230for ac_func in setlocale 11437for ac_func in setlocale
19231do 11438do :
19232as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11439 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
19233{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11440if test "x$ac_cv_func_setlocale" = x""yes; then :
19234$as_echo_n "checking for $ac_func... " >&6; }
19235if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19236 $as_echo_n "(cached) " >&6
19237else
19238 cat >conftest.$ac_ext <<_ACEOF
19239/* confdefs.h. */
19240_ACEOF
19241cat confdefs.h >>conftest.$ac_ext
19242cat >>conftest.$ac_ext <<_ACEOF
19243/* end confdefs.h. */
19244/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19246#define $ac_func innocuous_$ac_func
19247
19248/* System header to define __stub macros and hopefully few prototypes,
19249 which can conflict with char $ac_func (); below.
19250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19251 <limits.h> exists even on freestanding compilers. */
19252
19253#ifdef __STDC__
19254# include <limits.h>
19255#else
19256# include <assert.h>
19257#endif
19258
19259#undef $ac_func
19260
19261/* Override any GCC internal prototype to avoid an error.
19262 Use char because int might match the return type of a GCC
19263 builtin and then its argument prototype would still apply. */
19264#ifdef __cplusplus
19265extern "C"
19266#endif
19267char $ac_func ();
19268/* The GNU C library defines this for functions which it implements
19269 to always fail with ENOSYS. Some functions are actually named
19270 something starting with __ and the normal name is an alias. */
19271#if defined __stub_$ac_func || defined __stub___$ac_func
19272choke me
19273#endif
19274
19275int
19276main ()
19277{
19278return $ac_func ();
19279 ;
19280 return 0;
19281}
19282_ACEOF
19283rm -f conftest.$ac_objext conftest$ac_exeext
19284if { (ac_try="$ac_link"
19285case "(($ac_try" in
19286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19288esac
19289eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19290$as_echo "$ac_try_echo") >&5
19291 (eval "$ac_link") 2>conftest.er1
19292 ac_status=$?
19293 grep -v '^ *+' conftest.er1 >conftest.err
19294 rm -f conftest.er1
19295 cat conftest.err >&5
19296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest$ac_exeext && {
19301 test "$cross_compiling" = yes ||
19302 $as_test_x conftest$ac_exeext
19303 }; then
19304 eval "$as_ac_var=yes"
19305else
19306 $as_echo "$as_me: failed program was:" >&5
19307sed 's/^/| /' conftest.$ac_ext >&5
19308
19309 eval "$as_ac_var=no"
19310fi
19311
19312rm -rf conftest.dSYM
19313rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19314 conftest$ac_exeext conftest.$ac_ext
19315fi
19316ac_res=`eval 'as_val=${'$as_ac_var'}
19317 $as_echo "$as_val"'`
19318 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19319$as_echo "$ac_res" >&6; }
19320if test `eval 'as_val=${'$as_ac_var'}
19321 $as_echo "$as_val"'` = yes; then
19322 cat >>confdefs.h <<_ACEOF 11441 cat >>confdefs.h <<_ACEOF
19323#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11442#define HAVE_SETLOCALE 1
19324_ACEOF 11443_ACEOF
19325 11444
19326fi 11445fi
@@ -19333,151 +11452,19 @@ done
19333if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 11452if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
19334 ac_have_func=yes 11453 ac_have_func=yes
19335 11454
19336cat >>confdefs.h <<\_ACEOF 11455$as_echo "#define SVR4 1" >>confdefs.h
19337#define SVR4 1
19338_ACEOF
19339 11456
19340fi 11457fi
19341 11458
19342if test $ac_have_func = no; then 11459if test $ac_have_func = no; then
19343 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 11460 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
19344 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 11461if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
19345$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19346if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19347 $as_echo_n "(cached) " >&6
19348fi
19349{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19350$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19351else
19352 # Is the header compilable?
19353{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
19354$as_echo_n "checking inq_stats/cpustats.h usability... " >&6; }
19355cat >conftest.$ac_ext <<_ACEOF
19356/* confdefs.h. */
19357_ACEOF
19358cat confdefs.h >>conftest.$ac_ext
19359cat >>conftest.$ac_ext <<_ACEOF
19360/* end confdefs.h. */
19361$ac_includes_default
19362#include <inq_stats/cpustats.h>
19363_ACEOF
19364rm -f conftest.$ac_objext
19365if { (ac_try="$ac_compile"
19366case "(($ac_try" in
19367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368 *) ac_try_echo=$ac_try;;
19369esac
19370eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19371$as_echo "$ac_try_echo") >&5
19372 (eval "$ac_compile") 2>conftest.er1
19373 ac_status=$?
19374 grep -v '^ *+' conftest.er1 >conftest.err
19375 rm -f conftest.er1
19376 cat conftest.err >&5
19377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && {
19379 test -z "$ac_c_werror_flag" ||
19380 test ! -s conftest.err
19381 } && test -s conftest.$ac_objext; then
19382 ac_header_compiler=yes
19383else
19384 $as_echo "$as_me: failed program was:" >&5
19385sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 ac_header_compiler=no
19388fi
19389
19390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19391{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19392$as_echo "$ac_header_compiler" >&6; }
19393
19394# Is the header present?
19395{ $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
19396$as_echo_n "checking inq_stats/cpustats.h presence... " >&6; }
19397cat >conftest.$ac_ext <<_ACEOF
19398/* confdefs.h. */
19399_ACEOF
19400cat confdefs.h >>conftest.$ac_ext
19401cat >>conftest.$ac_ext <<_ACEOF
19402/* end confdefs.h. */
19403#include <inq_stats/cpustats.h>
19404_ACEOF
19405if { (ac_try="$ac_cpp conftest.$ac_ext"
19406case "(($ac_try" in
19407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19408 *) ac_try_echo=$ac_try;;
19409esac
19410eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19411$as_echo "$ac_try_echo") >&5
19412 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19413 ac_status=$?
19414 grep -v '^ *+' conftest.er1 >conftest.err
19415 rm -f conftest.er1
19416 cat conftest.err >&5
19417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } >/dev/null && {
19419 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19420 test ! -s conftest.err
19421 }; then
19422 ac_header_preproc=yes
19423else
19424 $as_echo "$as_me: failed program was:" >&5
19425sed 's/^/| /' conftest.$ac_ext >&5
19426
19427 ac_header_preproc=no
19428fi
19429
19430rm -f conftest.err conftest.$ac_ext
19431{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19432$as_echo "$ac_header_preproc" >&6; }
19433
19434# So? What about this header?
19435case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19436 yes:no: )
19437 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19438$as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19439 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
19440$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
19441 ac_header_preproc=yes
19442 ;;
19443 no:yes:* )
19444 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
19445$as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
19446 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
19447$as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
19448 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
19449$as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
19450 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19451$as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19452 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
19453$as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
19454 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
19455$as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
19456
19457 ;;
19458esac
19459{ $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
19460$as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
19461if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
19462 $as_echo_n "(cached) " >&6
19463else
19464 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
19465fi
19466{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
19467$as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
19468
19469fi
19470if test $ac_cv_header_inq_stats_cpustats_h = yes; then
19471 ac_have_func=yes 11462 ac_have_func=yes
19472 11463
19473cat >>confdefs.h <<\_ACEOF 11464$as_echo "#define UMAX 1" >>confdefs.h
19474#define UMAX 1
19475_ACEOF
19476 11465
19477 11466
19478cat >>confdefs.h <<\_ACEOF 11467$as_echo "#define UMAX4_3 1" >>confdefs.h
19479#define UMAX4_3 1
19480_ACEOF
19481 11468
19482fi 11469fi
19483 11470
@@ -19485,137 +11472,9 @@ fi
19485fi 11472fi
19486 11473
19487if test $ac_have_func = no; then 11474if test $ac_have_func = no; then
19488 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 11475 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
19489 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 11476if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
19490$as_echo_n "checking for sys/cpustats.h... " >&6; } 11477 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
19491if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19492 $as_echo_n "(cached) " >&6
19493fi
19494{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19495$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19496else
19497 # Is the header compilable?
19498{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
19499$as_echo_n "checking sys/cpustats.h usability... " >&6; }
19500cat >conftest.$ac_ext <<_ACEOF
19501/* confdefs.h. */
19502_ACEOF
19503cat confdefs.h >>conftest.$ac_ext
19504cat >>conftest.$ac_ext <<_ACEOF
19505/* end confdefs.h. */
19506$ac_includes_default
19507#include <sys/cpustats.h>
19508_ACEOF
19509rm -f conftest.$ac_objext
19510if { (ac_try="$ac_compile"
19511case "(($ac_try" in
19512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19513 *) ac_try_echo=$ac_try;;
19514esac
19515eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19516$as_echo "$ac_try_echo") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.$ac_objext; then
19527 ac_header_compiler=yes
19528else
19529 $as_echo "$as_me: failed program was:" >&5
19530sed 's/^/| /' conftest.$ac_ext >&5
19531
19532 ac_header_compiler=no
19533fi
19534
19535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19536{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19537$as_echo "$ac_header_compiler" >&6; }
19538
19539# Is the header present?
19540{ $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
19541$as_echo_n "checking sys/cpustats.h presence... " >&6; }
19542cat >conftest.$ac_ext <<_ACEOF
19543/* confdefs.h. */
19544_ACEOF
19545cat confdefs.h >>conftest.$ac_ext
19546cat >>conftest.$ac_ext <<_ACEOF
19547/* end confdefs.h. */
19548#include <sys/cpustats.h>
19549_ACEOF
19550if { (ac_try="$ac_cpp conftest.$ac_ext"
19551case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19554esac
19555eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19556$as_echo "$ac_try_echo") >&5
19557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } >/dev/null && {
19564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19565 test ! -s conftest.err
19566 }; then
19567 ac_header_preproc=yes
19568else
19569 $as_echo "$as_me: failed program was:" >&5
19570sed 's/^/| /' conftest.$ac_ext >&5
19571
19572 ac_header_preproc=no
19573fi
19574
19575rm -f conftest.err conftest.$ac_ext
19576{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19577$as_echo "$ac_header_preproc" >&6; }
19578
19579# So? What about this header?
19580case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19581 yes:no: )
19582 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
19583$as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19584 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
19585$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
19586 ac_header_preproc=yes
19587 ;;
19588 no:yes:* )
19589 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
19590$as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
19591 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
19592$as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
19593 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
19594$as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
19595 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
19596$as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
19597 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
19598$as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
19599 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
19600$as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
19601
19602 ;;
19603esac
19604{ $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
19605$as_echo_n "checking for sys/cpustats.h... " >&6; }
19606if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
19607 $as_echo_n "(cached) " >&6
19608else
19609 ac_cv_header_sys_cpustats_h=$ac_header_preproc
19610fi
19611{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
19612$as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
19613
19614fi
19615if test $ac_cv_header_sys_cpustats_h = yes; then
19616 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
19617#define UMAX 1
19618_ACEOF
19619 11478
19620fi 11479fi
19621 11480
@@ -19623,145 +11482,12 @@ fi
19623fi 11482fi
19624 11483
19625if test $ac_have_func = no; then 11484if test $ac_have_func = no; then
19626 11485 for ac_header in mach/mach.h
19627for ac_header in mach/mach.h 11486do :
19628do 11487 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19629as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11488if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
19630if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19631 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19632$as_echo_n "checking for $ac_header... " >&6; }
19633if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19634 $as_echo_n "(cached) " >&6
19635fi
19636ac_res=`eval 'as_val=${'$as_ac_Header'}
19637 $as_echo "$as_val"'`
19638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19639$as_echo "$ac_res" >&6; }
19640else
19641 # Is the header compilable?
19642{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19643$as_echo_n "checking $ac_header usability... " >&6; }
19644cat >conftest.$ac_ext <<_ACEOF
19645/* confdefs.h. */
19646_ACEOF
19647cat confdefs.h >>conftest.$ac_ext
19648cat >>conftest.$ac_ext <<_ACEOF
19649/* end confdefs.h. */
19650$ac_includes_default
19651#include <$ac_header>
19652_ACEOF
19653rm -f conftest.$ac_objext
19654if { (ac_try="$ac_compile"
19655case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658esac
19659eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19660$as_echo "$ac_try_echo") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19662 ac_status=$?
19663 grep -v '^ *+' conftest.er1 >conftest.err
19664 rm -f conftest.er1
19665 cat conftest.err >&5
19666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 ac_header_compiler=yes
19672else
19673 $as_echo "$as_me: failed program was:" >&5
19674sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 ac_header_compiler=no
19677fi
19678
19679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19681$as_echo "$ac_header_compiler" >&6; }
19682
19683# Is the header present?
19684{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19685$as_echo_n "checking $ac_header presence... " >&6; }
19686cat >conftest.$ac_ext <<_ACEOF
19687/* confdefs.h. */
19688_ACEOF
19689cat confdefs.h >>conftest.$ac_ext
19690cat >>conftest.$ac_ext <<_ACEOF
19691/* end confdefs.h. */
19692#include <$ac_header>
19693_ACEOF
19694if { (ac_try="$ac_cpp conftest.$ac_ext"
19695case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19698esac
19699eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19700$as_echo "$ac_try_echo") >&5
19701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } >/dev/null && {
19708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 }; then
19711 ac_header_preproc=yes
19712else
19713 $as_echo "$as_me: failed program was:" >&5
19714sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_header_preproc=no
19717fi
19718
19719rm -f conftest.err conftest.$ac_ext
19720{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19721$as_echo "$ac_header_preproc" >&6; }
19722
19723# So? What about this header?
19724case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19725 yes:no: )
19726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19727$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19729$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19730 ac_header_preproc=yes
19731 ;;
19732 no:yes:* )
19733 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19734$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19736$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19738$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19740$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19742$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19744$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19745
19746 ;;
19747esac
19748{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19749$as_echo_n "checking for $ac_header... " >&6; }
19750if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19751 $as_echo_n "(cached) " >&6
19752else
19753 eval "$as_ac_Header=\$ac_header_preproc"
19754fi
19755ac_res=`eval 'as_val=${'$as_ac_Header'}
19756 $as_echo "$as_val"'`
19757 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19758$as_echo "$ac_res" >&6; }
19759
19760fi
19761if test `eval 'as_val=${'$as_ac_Header'}
19762 $as_echo "$as_val"'` = yes; then
19763 cat >>confdefs.h <<_ACEOF 11489 cat >>confdefs.h <<_ACEOF
19764#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11490#define HAVE_MACH_MACH_H 1
19765_ACEOF 11491_ACEOF
19766 11492
19767fi 11493fi
@@ -19770,253 +11496,23 @@ done
19770 11496
19771fi 11497fi
19772 11498
19773
19774for ac_header in nlist.h 11499for ac_header in nlist.h
19775do 11500do :
19776as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11501 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
19777if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11502if test "x$ac_cv_header_nlist_h" = x""yes; then :
19778 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19779$as_echo_n "checking for $ac_header... " >&6; }
19780if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19781 $as_echo_n "(cached) " >&6
19782fi
19783ac_res=`eval 'as_val=${'$as_ac_Header'}
19784 $as_echo "$as_val"'`
19785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19786$as_echo "$ac_res" >&6; }
19787else
19788 # Is the header compilable?
19789{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19790$as_echo_n "checking $ac_header usability... " >&6; }
19791cat >conftest.$ac_ext <<_ACEOF
19792/* confdefs.h. */
19793_ACEOF
19794cat confdefs.h >>conftest.$ac_ext
19795cat >>conftest.$ac_ext <<_ACEOF
19796/* end confdefs.h. */
19797$ac_includes_default
19798#include <$ac_header>
19799_ACEOF
19800rm -f conftest.$ac_objext
19801if { (ac_try="$ac_compile"
19802case "(($ac_try" in
19803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19804 *) ac_try_echo=$ac_try;;
19805esac
19806eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19807$as_echo "$ac_try_echo") >&5
19808 (eval "$ac_compile") 2>conftest.er1
19809 ac_status=$?
19810 grep -v '^ *+' conftest.er1 >conftest.err
19811 rm -f conftest.er1
19812 cat conftest.err >&5
19813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } && {
19815 test -z "$ac_c_werror_flag" ||
19816 test ! -s conftest.err
19817 } && test -s conftest.$ac_objext; then
19818 ac_header_compiler=yes
19819else
19820 $as_echo "$as_me: failed program was:" >&5
19821sed 's/^/| /' conftest.$ac_ext >&5
19822
19823 ac_header_compiler=no
19824fi
19825
19826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19827{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19828$as_echo "$ac_header_compiler" >&6; }
19829
19830# Is the header present?
19831{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19832$as_echo_n "checking $ac_header presence... " >&6; }
19833cat >conftest.$ac_ext <<_ACEOF
19834/* confdefs.h. */
19835_ACEOF
19836cat confdefs.h >>conftest.$ac_ext
19837cat >>conftest.$ac_ext <<_ACEOF
19838/* end confdefs.h. */
19839#include <$ac_header>
19840_ACEOF
19841if { (ac_try="$ac_cpp conftest.$ac_ext"
19842case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845esac
19846eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19847$as_echo "$ac_try_echo") >&5
19848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } >/dev/null && {
19855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 }; then
19858 ac_header_preproc=yes
19859else
19860 $as_echo "$as_me: failed program was:" >&5
19861sed 's/^/| /' conftest.$ac_ext >&5
19862
19863 ac_header_preproc=no
19864fi
19865
19866rm -f conftest.err conftest.$ac_ext
19867{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19868$as_echo "$ac_header_preproc" >&6; }
19869
19870# So? What about this header?
19871case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19872 yes:no: )
19873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19874$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19875 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19876$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19877 ac_header_preproc=yes
19878 ;;
19879 no:yes:* )
19880 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19881$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19883$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19885$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19887$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19889$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19891$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19892
19893 ;;
19894esac
19895{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19896$as_echo_n "checking for $ac_header... " >&6; }
19897if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19898 $as_echo_n "(cached) " >&6
19899else
19900 eval "$as_ac_Header=\$ac_header_preproc"
19901fi
19902ac_res=`eval 'as_val=${'$as_ac_Header'}
19903 $as_echo "$as_val"'`
19904 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19905$as_echo "$ac_res" >&6; }
19906
19907fi
19908if test `eval 'as_val=${'$as_ac_Header'}
19909 $as_echo "$as_val"'` = yes; then
19910 cat >>confdefs.h <<_ACEOF 11503 cat >>confdefs.h <<_ACEOF
19911#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11504#define HAVE_NLIST_H 1
19912_ACEOF
19913 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
19914$as_echo_n "checking for struct nlist.n_un.n_name... " >&6; }
19915if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
19916 $as_echo_n "(cached) " >&6
19917else
19918 cat >conftest.$ac_ext <<_ACEOF
19919/* confdefs.h. */
19920_ACEOF
19921cat confdefs.h >>conftest.$ac_ext
19922cat >>conftest.$ac_ext <<_ACEOF
19923/* end confdefs.h. */
19924#include <nlist.h>
19925
19926int
19927main ()
19928{
19929static struct nlist ac_aggr;
19930if (ac_aggr.n_un.n_name)
19931return 0;
19932 ;
19933 return 0;
19934}
19935_ACEOF
19936rm -f conftest.$ac_objext
19937if { (ac_try="$ac_compile"
19938case "(($ac_try" in
19939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19940 *) ac_try_echo=$ac_try;;
19941esac
19942eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19943$as_echo "$ac_try_echo") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19945 ac_status=$?
19946 grep -v '^ *+' conftest.er1 >conftest.err
19947 rm -f conftest.er1
19948 cat conftest.err >&5
19949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.$ac_objext; then
19954 ac_cv_member_struct_nlist_n_un_n_name=yes
19955else
19956 $as_echo "$as_me: failed program was:" >&5
19957sed 's/^/| /' conftest.$ac_ext >&5
19958
19959 cat >conftest.$ac_ext <<_ACEOF
19960/* confdefs.h. */
19961_ACEOF
19962cat confdefs.h >>conftest.$ac_ext
19963cat >>conftest.$ac_ext <<_ACEOF
19964/* end confdefs.h. */
19965#include <nlist.h>
19966
19967int
19968main ()
19969{
19970static struct nlist ac_aggr;
19971if (sizeof ac_aggr.n_un.n_name)
19972return 0;
19973 ;
19974 return 0;
19975}
19976_ACEOF 11505_ACEOF
19977rm -f conftest.$ac_objext 11506 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h>
19978if { (ac_try="$ac_compile" 11507"
19979case "(($ac_try" in 11508if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then :
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19982esac
19983eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19984$as_echo "$ac_try_echo") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19986 ac_status=$?
19987 grep -v '^ *+' conftest.er1 >conftest.err
19988 rm -f conftest.er1
19989 cat conftest.err >&5
19990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.$ac_objext; then
19995 ac_cv_member_struct_nlist_n_un_n_name=yes
19996else
19997 $as_echo "$as_me: failed program was:" >&5
19998sed 's/^/| /' conftest.$ac_ext >&5
19999
20000 ac_cv_member_struct_nlist_n_un_n_name=no
20001fi
20002
20003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004fi
20005
20006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20007fi
20008{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
20009$as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
20010if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
20011 11509
20012cat >>confdefs.h <<_ACEOF 11510cat >>confdefs.h <<_ACEOF
20013#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 11511#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
20014_ACEOF 11512_ACEOF
20015 11513
20016 11514
20017cat >>confdefs.h <<\_ACEOF 11515$as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h
20018#define NLIST_NAME_UNION 1
20019_ACEOF
20020 11516
20021fi 11517fi
20022 11518
@@ -20030,16 +11526,12 @@ done
20030 11526
20031 11527
20032# Some definitions of getloadavg require that the program be installed setgid. 11528# Some definitions of getloadavg require that the program be installed setgid.
20033{ $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 11529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5
20034$as_echo_n "checking whether getloadavg requires setgid... " >&6; } 11530$as_echo_n "checking whether getloadavg requires setgid... " >&6; }
20035if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 11531if test "${ac_cv_func_getloadavg_setgid+set}" = set; then :
20036 $as_echo_n "(cached) " >&6 11532 $as_echo_n "(cached) " >&6
20037else 11533else
20038 cat >conftest.$ac_ext <<_ACEOF 11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039/* confdefs.h. */
20040_ACEOF
20041cat confdefs.h >>conftest.$ac_ext
20042cat >>conftest.$ac_ext <<_ACEOF
20043/* end confdefs.h. */ 11535/* end confdefs.h. */
20044#include "$srcdir/$ac_config_libobj_dir/getloadavg.c" 11536#include "$srcdir/$ac_config_libobj_dir/getloadavg.c"
20045#ifdef LDAV_PRIVILEGED 11537#ifdef LDAV_PRIVILEGED
@@ -20047,7 +11539,7 @@ Yowza Am I SETGID yet
20047#endif 11539#endif
20048_ACEOF 11540_ACEOF
20049if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 11541if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20050 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then 11542 $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then :
20051 ac_cv_func_getloadavg_setgid=yes 11543 ac_cv_func_getloadavg_setgid=yes
20052else 11544else
20053 ac_cv_func_getloadavg_setgid=no 11545 ac_cv_func_getloadavg_setgid=no
@@ -20055,23 +11547,21 @@ fi
20055rm -f conftest* 11547rm -f conftest*
20056 11548
20057fi 11549fi
20058{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 11550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5
20059$as_echo "$ac_cv_func_getloadavg_setgid" >&6; } 11551$as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
20060if test $ac_cv_func_getloadavg_setgid = yes; then 11552if test $ac_cv_func_getloadavg_setgid = yes; then
20061 NEED_SETGID=true 11553 NEED_SETGID=true
20062 11554
20063cat >>confdefs.h <<\_ACEOF 11555$as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h
20064#define GETLOADAVG_PRIVILEGED 1
20065_ACEOF
20066 11556
20067else 11557else
20068 NEED_SETGID=false 11558 NEED_SETGID=false
20069fi 11559fi
20070 11560
20071if test $ac_cv_func_getloadavg_setgid = yes; then 11561if test $ac_cv_func_getloadavg_setgid = yes; then
20072 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5
20073$as_echo_n "checking group of /dev/kmem... " >&6; } 11563$as_echo_n "checking group of /dev/kmem... " >&6; }
20074if test "${ac_cv_group_kmem+set}" = set; then 11564if test "${ac_cv_group_kmem+set}" = set; then :
20075 $as_echo_n "(cached) " >&6 11565 $as_echo_n "(cached) " >&6
20076else 11566else
20077 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 11567 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
@@ -20084,7 +11574,7 @@ else
20084 / /s/.* //;p;'` 11574 / /s/.* //;p;'`
20085 11575
20086fi 11576fi
20087{ $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 11577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5
20088$as_echo "$ac_cv_group_kmem" >&6; } 11578$as_echo "$ac_cv_group_kmem" >&6; }
20089 KMEM_GROUP=$ac_cv_group_kmem 11579 KMEM_GROUP=$ac_cv_group_kmem
20090fi 11580fi
@@ -20097,17 +11587,13 @@ LIBS=$ac_save_LIBS
20097 11587
20098 11588
20099 11589
20100{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 11590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20101$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 11591$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20102if test "${ac_cv_sys_largefile_source+set}" = set; then 11592if test "${ac_cv_sys_largefile_source+set}" = set; then :
20103 $as_echo_n "(cached) " >&6 11593 $as_echo_n "(cached) " >&6
20104else 11594else
20105 while :; do 11595 while :; do
20106 cat >conftest.$ac_ext <<_ACEOF 11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107/* confdefs.h. */
20108_ACEOF
20109cat confdefs.h >>conftest.$ac_ext
20110cat >>conftest.$ac_ext <<_ACEOF
20111/* end confdefs.h. */ 11597/* end confdefs.h. */
20112#include <sys/types.h> /* for off_t */ 11598#include <sys/types.h> /* for off_t */
20113 #include <stdio.h> 11599 #include <stdio.h>
@@ -20120,43 +11606,12 @@ int (*fp) (FILE *, off_t, int) = fseeko;
20120 return 0; 11606 return 0;
20121} 11607}
20122_ACEOF 11608_ACEOF
20123rm -f conftest.$ac_objext conftest$ac_exeext 11609if ac_fn_c_try_link "$LINENO"; then :
20124if { (ac_try="$ac_link"
20125case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20127 *) ac_try_echo=$ac_try;;
20128esac
20129eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20130$as_echo "$ac_try_echo") >&5
20131 (eval "$ac_link") 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest$ac_exeext && {
20141 test "$cross_compiling" = yes ||
20142 $as_test_x conftest$ac_exeext
20143 }; then
20144 ac_cv_sys_largefile_source=no; break 11610 ac_cv_sys_largefile_source=no; break
20145else
20146 $as_echo "$as_me: failed program was:" >&5
20147sed 's/^/| /' conftest.$ac_ext >&5
20148
20149
20150fi 11611fi
20151 11612rm -f core conftest.err conftest.$ac_objext \
20152rm -rf conftest.dSYM 11613 conftest$ac_exeext conftest.$ac_ext
20153rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 conftest$ac_exeext conftest.$ac_ext
20155 cat >conftest.$ac_ext <<_ACEOF
20156/* confdefs.h. */
20157_ACEOF
20158cat confdefs.h >>conftest.$ac_ext
20159cat >>conftest.$ac_ext <<_ACEOF
20160/* end confdefs.h. */ 11615/* end confdefs.h. */
20161#define _LARGEFILE_SOURCE 1 11616#define _LARGEFILE_SOURCE 1
20162#include <sys/types.h> /* for off_t */ 11617#include <sys/types.h> /* for off_t */
@@ -20170,43 +11625,16 @@ int (*fp) (FILE *, off_t, int) = fseeko;
20170 return 0; 11625 return 0;
20171} 11626}
20172_ACEOF 11627_ACEOF
20173rm -f conftest.$ac_objext conftest$ac_exeext 11628if ac_fn_c_try_link "$LINENO"; then :
20174if { (ac_try="$ac_link"
20175case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178esac
20179eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20180$as_echo "$ac_try_echo") >&5
20181 (eval "$ac_link") 2>conftest.er1
20182 ac_status=$?
20183 grep -v '^ *+' conftest.er1 >conftest.err
20184 rm -f conftest.er1
20185 cat conftest.err >&5
20186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && {
20188 test -z "$ac_c_werror_flag" ||
20189 test ! -s conftest.err
20190 } && test -s conftest$ac_exeext && {
20191 test "$cross_compiling" = yes ||
20192 $as_test_x conftest$ac_exeext
20193 }; then
20194 ac_cv_sys_largefile_source=1; break 11629 ac_cv_sys_largefile_source=1; break
20195else
20196 $as_echo "$as_me: failed program was:" >&5
20197sed 's/^/| /' conftest.$ac_ext >&5
20198
20199
20200fi 11630fi
20201 11631rm -f core conftest.err conftest.$ac_objext \
20202rm -rf conftest.dSYM 11632 conftest$ac_exeext conftest.$ac_ext
20203rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20204 conftest$ac_exeext conftest.$ac_ext
20205 ac_cv_sys_largefile_source=unknown 11633 ac_cv_sys_largefile_source=unknown
20206 break 11634 break
20207done 11635done
20208fi 11636fi
20209{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 11637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20210$as_echo "$ac_cv_sys_largefile_source" >&6; } 11638$as_echo "$ac_cv_sys_largefile_source" >&6; }
20211case $ac_cv_sys_largefile_source in #( 11639case $ac_cv_sys_largefile_source in #(
20212 no | unknown) ;; 11640 no | unknown) ;;
@@ -20223,9 +11651,7 @@ rm -rf conftest*
20223# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 11651# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20224if test $ac_cv_sys_largefile_source != unknown; then 11652if test $ac_cv_sys_largefile_source != unknown; then
20225 11653
20226cat >>confdefs.h <<\_ACEOF 11654$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20227#define HAVE_FSEEKO 1
20228_ACEOF
20229 11655
20230fi 11656fi
20231 11657
@@ -20253,145 +11679,12 @@ fi
20253 11679
20254 11680
20255 GETOPT_H= 11681 GETOPT_H=
20256 11682 for ac_header in getopt.h
20257for ac_header in getopt.h 11683do :
20258do 11684 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
20259as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11685if test "x$ac_cv_header_getopt_h" = x""yes; then :
20260if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20261 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20262$as_echo_n "checking for $ac_header... " >&6; }
20263if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20264 $as_echo_n "(cached) " >&6
20265fi
20266ac_res=`eval 'as_val=${'$as_ac_Header'}
20267 $as_echo "$as_val"'`
20268 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20269$as_echo "$ac_res" >&6; }
20270else
20271 # Is the header compilable?
20272{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20273$as_echo_n "checking $ac_header usability... " >&6; }
20274cat >conftest.$ac_ext <<_ACEOF
20275/* confdefs.h. */
20276_ACEOF
20277cat confdefs.h >>conftest.$ac_ext
20278cat >>conftest.$ac_ext <<_ACEOF
20279/* end confdefs.h. */
20280$ac_includes_default
20281#include <$ac_header>
20282_ACEOF
20283rm -f conftest.$ac_objext
20284if { (ac_try="$ac_compile"
20285case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20288esac
20289eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20290$as_echo "$ac_try_echo") >&5
20291 (eval "$ac_compile") 2>conftest.er1
20292 ac_status=$?
20293 grep -v '^ *+' conftest.er1 >conftest.err
20294 rm -f conftest.er1
20295 cat conftest.err >&5
20296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); } && {
20298 test -z "$ac_c_werror_flag" ||
20299 test ! -s conftest.err
20300 } && test -s conftest.$ac_objext; then
20301 ac_header_compiler=yes
20302else
20303 $as_echo "$as_me: failed program was:" >&5
20304sed 's/^/| /' conftest.$ac_ext >&5
20305
20306 ac_header_compiler=no
20307fi
20308
20309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20311$as_echo "$ac_header_compiler" >&6; }
20312
20313# Is the header present?
20314{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20315$as_echo_n "checking $ac_header presence... " >&6; }
20316cat >conftest.$ac_ext <<_ACEOF
20317/* confdefs.h. */
20318_ACEOF
20319cat confdefs.h >>conftest.$ac_ext
20320cat >>conftest.$ac_ext <<_ACEOF
20321/* end confdefs.h. */
20322#include <$ac_header>
20323_ACEOF
20324if { (ac_try="$ac_cpp conftest.$ac_ext"
20325case "(($ac_try" in
20326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20328esac
20329eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20330$as_echo "$ac_try_echo") >&5
20331 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } >/dev/null && {
20338 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20339 test ! -s conftest.err
20340 }; then
20341 ac_header_preproc=yes
20342else
20343 $as_echo "$as_me: failed program was:" >&5
20344sed 's/^/| /' conftest.$ac_ext >&5
20345
20346 ac_header_preproc=no
20347fi
20348
20349rm -f conftest.err conftest.$ac_ext
20350{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20351$as_echo "$ac_header_preproc" >&6; }
20352
20353# So? What about this header?
20354case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20355 yes:no: )
20356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20357$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20359$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20360 ac_header_preproc=yes
20361 ;;
20362 no:yes:* )
20363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20364$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20366$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20368$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20370$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20372$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20374$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20375
20376 ;;
20377esac
20378{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20379$as_echo_n "checking for $ac_header... " >&6; }
20380if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20381 $as_echo_n "(cached) " >&6
20382else
20383 eval "$as_ac_Header=\$ac_header_preproc"
20384fi
20385ac_res=`eval 'as_val=${'$as_ac_Header'}
20386 $as_echo "$as_val"'`
20387 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20388$as_echo "$ac_res" >&6; }
20389
20390fi
20391if test `eval 'as_val=${'$as_ac_Header'}
20392 $as_echo "$as_val"'` = yes; then
20393 cat >>confdefs.h <<_ACEOF 11686 cat >>confdefs.h <<_ACEOF
20394#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11687#define HAVE_GETOPT_H 1
20395_ACEOF 11688_ACEOF
20396 11689
20397else 11690else
@@ -20401,101 +11694,12 @@ fi
20401done 11694done
20402 11695
20403 if test -z "$GETOPT_H"; then 11696 if test -z "$GETOPT_H"; then
20404 11697 for ac_func in getopt_long_only
20405for ac_func in getopt_long_only 11698do :
20406do 11699 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
20407as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11700if test "x$ac_cv_func_getopt_long_only" = x""yes; then :
20408{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20409$as_echo_n "checking for $ac_func... " >&6; }
20410if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20411 $as_echo_n "(cached) " >&6
20412else
20413 cat >conftest.$ac_ext <<_ACEOF
20414/* confdefs.h. */
20415_ACEOF
20416cat confdefs.h >>conftest.$ac_ext
20417cat >>conftest.$ac_ext <<_ACEOF
20418/* end confdefs.h. */
20419/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20421#define $ac_func innocuous_$ac_func
20422
20423/* System header to define __stub macros and hopefully few prototypes,
20424 which can conflict with char $ac_func (); below.
20425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20426 <limits.h> exists even on freestanding compilers. */
20427
20428#ifdef __STDC__
20429# include <limits.h>
20430#else
20431# include <assert.h>
20432#endif
20433
20434#undef $ac_func
20435
20436/* Override any GCC internal prototype to avoid an error.
20437 Use char because int might match the return type of a GCC
20438 builtin and then its argument prototype would still apply. */
20439#ifdef __cplusplus
20440extern "C"
20441#endif
20442char $ac_func ();
20443/* The GNU C library defines this for functions which it implements
20444 to always fail with ENOSYS. Some functions are actually named
20445 something starting with __ and the normal name is an alias. */
20446#if defined __stub_$ac_func || defined __stub___$ac_func
20447choke me
20448#endif
20449
20450int
20451main ()
20452{
20453return $ac_func ();
20454 ;
20455 return 0;
20456}
20457_ACEOF
20458rm -f conftest.$ac_objext conftest$ac_exeext
20459if { (ac_try="$ac_link"
20460case "(($ac_try" in
20461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20462 *) ac_try_echo=$ac_try;;
20463esac
20464eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20465$as_echo "$ac_try_echo") >&5
20466 (eval "$ac_link") 2>conftest.er1
20467 ac_status=$?
20468 grep -v '^ *+' conftest.er1 >conftest.err
20469 rm -f conftest.er1
20470 cat conftest.err >&5
20471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest$ac_exeext && {
20476 test "$cross_compiling" = yes ||
20477 $as_test_x conftest$ac_exeext
20478 }; then
20479 eval "$as_ac_var=yes"
20480else
20481 $as_echo "$as_me: failed program was:" >&5
20482sed 's/^/| /' conftest.$ac_ext >&5
20483
20484 eval "$as_ac_var=no"
20485fi
20486
20487rm -rf conftest.dSYM
20488rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20489 conftest$ac_exeext conftest.$ac_ext
20490fi
20491ac_res=`eval 'as_val=${'$as_ac_var'}
20492 $as_echo "$as_val"'`
20493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20494$as_echo "$ac_res" >&6; }
20495if test `eval 'as_val=${'$as_ac_var'}
20496 $as_echo "$as_val"'` = yes; then
20497 cat >>confdefs.h <<_ACEOF 11701 cat >>confdefs.h <<_ACEOF
20498#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11702#define HAVE_GETOPT_LONG_ONLY 1
20499_ACEOF 11703_ACEOF
20500 11704
20501else 11705else
@@ -20506,139 +11710,31 @@ done
20506 fi 11710 fi
20507 11711
20508 if test -z "$GETOPT_H"; then 11712 if test -z "$GETOPT_H"; then
20509 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 11713 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h>
20510$as_echo_n "checking whether optreset is declared... " >&6; } 11714"
20511if test "${ac_cv_have_decl_optreset+set}" = set; then 11715if test "x$ac_cv_have_decl_optreset" = x""yes; then :
20512 $as_echo_n "(cached) " >&6
20513else
20514 cat >conftest.$ac_ext <<_ACEOF
20515/* confdefs.h. */
20516_ACEOF
20517cat confdefs.h >>conftest.$ac_ext
20518cat >>conftest.$ac_ext <<_ACEOF
20519/* end confdefs.h. */
20520#include <getopt.h>
20521
20522int
20523main ()
20524{
20525#ifndef optreset
20526 (void) optreset;
20527#endif
20528
20529 ;
20530 return 0;
20531}
20532_ACEOF
20533rm -f conftest.$ac_objext
20534if { (ac_try="$ac_compile"
20535case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20538esac
20539eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20540$as_echo "$ac_try_echo") >&5
20541 (eval "$ac_compile") 2>conftest.er1
20542 ac_status=$?
20543 grep -v '^ *+' conftest.er1 >conftest.err
20544 rm -f conftest.er1
20545 cat conftest.err >&5
20546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } && {
20548 test -z "$ac_c_werror_flag" ||
20549 test ! -s conftest.err
20550 } && test -s conftest.$ac_objext; then
20551 ac_cv_have_decl_optreset=yes
20552else
20553 $as_echo "$as_me: failed program was:" >&5
20554sed 's/^/| /' conftest.$ac_ext >&5
20555
20556 ac_cv_have_decl_optreset=no
20557fi
20558
20559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560fi
20561{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
20562$as_echo "$ac_cv_have_decl_optreset" >&6; }
20563if test $ac_cv_have_decl_optreset = yes; then
20564 GETOPT_H=getopt.h 11716 GETOPT_H=getopt.h
20565fi 11717fi
20566 11718
20567 fi 11719 fi
20568 11720
20569 if test -z "$GETOPT_H"; then 11721 if test -z "$GETOPT_H"; then
20570 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
20571$as_echo_n "checking for working GNU getopt function... " >&6; } 11723$as_echo_n "checking for working GNU getopt function... " >&6; }
20572if test "${gl_cv_func_gnu_getopt+set}" = set; then 11724if test "${gl_cv_func_gnu_getopt+set}" = set; then :
20573 $as_echo_n "(cached) " >&6
20574else
20575 if test "$cross_compiling" = yes; then
20576 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
20577$as_echo_n "checking whether getopt_clip is declared... " >&6; }
20578if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
20579 $as_echo_n "(cached) " >&6 11725 $as_echo_n "(cached) " >&6
20580else 11726else
20581 cat >conftest.$ac_ext <<_ACEOF 11727 if test "$cross_compiling" = yes; then :
20582/* confdefs.h. */ 11728 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h>
20583_ACEOF 11729"
20584cat confdefs.h >>conftest.$ac_ext 11730if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then :
20585cat >>conftest.$ac_ext <<_ACEOF
20586/* end confdefs.h. */
20587#include <getopt.h>
20588
20589int
20590main ()
20591{
20592#ifndef getopt_clip
20593 (void) getopt_clip;
20594#endif
20595
20596 ;
20597 return 0;
20598}
20599_ACEOF
20600rm -f conftest.$ac_objext
20601if { (ac_try="$ac_compile"
20602case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20605esac
20606eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20607$as_echo "$ac_try_echo") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20609 ac_status=$?
20610 grep -v '^ *+' conftest.er1 >conftest.err
20611 rm -f conftest.er1
20612 cat conftest.err >&5
20613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } && {
20615 test -z "$ac_c_werror_flag" ||
20616 test ! -s conftest.err
20617 } && test -s conftest.$ac_objext; then
20618 ac_cv_have_decl_getopt_clip=yes
20619else
20620 $as_echo "$as_me: failed program was:" >&5
20621sed 's/^/| /' conftest.$ac_ext >&5
20622
20623 ac_cv_have_decl_getopt_clip=no
20624fi
20625
20626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627fi
20628{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20629$as_echo "$ac_cv_have_decl_getopt_clip" >&6; }
20630if test $ac_cv_have_decl_getopt_clip = yes; then
20631 gl_cv_func_gnu_getopt=no 11731 gl_cv_func_gnu_getopt=no
20632else 11732else
20633 gl_cv_func_gnu_getopt=yes 11733 gl_cv_func_gnu_getopt=yes
20634fi 11734fi
20635 11735
20636else 11736else
20637 cat >conftest.$ac_ext <<_ACEOF 11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20638/* confdefs.h. */
20639_ACEOF
20640cat confdefs.h >>conftest.$ac_ext
20641cat >>conftest.$ac_ext <<_ACEOF
20642/* end confdefs.h. */ 11738/* end confdefs.h. */
20643#include <getopt.h> 11739#include <getopt.h>
20644int 11740int
@@ -20655,44 +11751,17 @@ main ()
20655 return 0; 11751 return 0;
20656} 11752}
20657_ACEOF 11753_ACEOF
20658rm -f conftest$ac_exeext 11754if ac_fn_c_try_run "$LINENO"; then :
20659if { (ac_try="$ac_link"
20660case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20663esac
20664eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20665$as_echo "$ac_try_echo") >&5
20666 (eval "$ac_link") 2>&5
20667 ac_status=$?
20668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20670 { (case "(($ac_try" in
20671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20672 *) ac_try_echo=$ac_try;;
20673esac
20674eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20675$as_echo "$ac_try_echo") >&5
20676 (eval "$ac_try") 2>&5
20677 ac_status=$?
20678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20680 gl_cv_func_gnu_getopt=yes 11755 gl_cv_func_gnu_getopt=yes
20681else 11756else
20682 $as_echo "$as_me: program exited with status $ac_status" >&5 11757 gl_cv_func_gnu_getopt=no
20683$as_echo "$as_me: failed program was:" >&5
20684sed 's/^/| /' conftest.$ac_ext >&5
20685
20686( exit $ac_status )
20687gl_cv_func_gnu_getopt=no
20688fi 11758fi
20689rm -rf conftest.dSYM 11759rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20690rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11760 conftest.$ac_objext conftest.beam conftest.$ac_ext
20691fi 11761fi
20692 11762
20693
20694fi 11763fi
20695{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 11764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5
20696$as_echo "$gl_cv_func_gnu_getopt" >&6; } 11765$as_echo "$gl_cv_func_gnu_getopt" >&6; }
20697 if test "$gl_cv_func_gnu_getopt" = "no"; then 11766 if test "$gl_cv_func_gnu_getopt" = "no"; then
20698 GETOPT_H=getopt.h 11767 GETOPT_H=getopt.h
@@ -20701,14 +11770,12 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; }
20701 11770
20702 11771
20703 11772
20704 if test -n "$GETOPT_H"; then 11773 if test -n "$GETOPT_H"; then :
20705 11774
20706 11775
20707 GETOPT_H=getopt.h 11776 GETOPT_H=getopt.h
20708 11777
20709cat >>confdefs.h <<\_ACEOF 11778$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
20710#define __GETOPT_PREFIX rpl_
20711_ACEOF
20712 11779
20713 11780
20714 11781
@@ -20719,18 +11786,13 @@ fi
20719 11786
20720 11787
20721 11788
20722 11789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
20723{ $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
20724$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 11790$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
20725if test "${ac_cv_func_getpgrp_void+set}" = set; then 11791if test "${ac_cv_func_getpgrp_void+set}" = set; then :
20726 $as_echo_n "(cached) " >&6 11792 $as_echo_n "(cached) " >&6
20727else 11793else
20728 # Use it with a single arg. 11794 # Use it with a single arg.
20729cat >conftest.$ac_ext <<_ACEOF 11795cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20730/* confdefs.h. */
20731_ACEOF
20732cat confdefs.h >>conftest.$ac_ext
20733cat >>conftest.$ac_ext <<_ACEOF
20734/* end confdefs.h. */ 11796/* end confdefs.h. */
20735$ac_includes_default 11797$ac_includes_default
20736int 11798int
@@ -20741,157 +11803,41 @@ getpgrp (0);
20741 return 0; 11803 return 0;
20742} 11804}
20743_ACEOF 11805_ACEOF
20744rm -f conftest.$ac_objext 11806if ac_fn_c_try_compile "$LINENO"; then :
20745if { (ac_try="$ac_compile"
20746case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20749esac
20750eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20751$as_echo "$ac_try_echo") >&5
20752 (eval "$ac_compile") 2>conftest.er1
20753 ac_status=$?
20754 grep -v '^ *+' conftest.er1 >conftest.err
20755 rm -f conftest.er1
20756 cat conftest.err >&5
20757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } && {
20759 test -z "$ac_c_werror_flag" ||
20760 test ! -s conftest.err
20761 } && test -s conftest.$ac_objext; then
20762 ac_cv_func_getpgrp_void=no 11807 ac_cv_func_getpgrp_void=no
20763else 11808else
20764 $as_echo "$as_me: failed program was:" >&5 11809 ac_cv_func_getpgrp_void=yes
20765sed 's/^/| /' conftest.$ac_ext >&5
20766
20767 ac_cv_func_getpgrp_void=yes
20768fi 11810fi
20769
20770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771 11812
20772fi 11813fi
20773{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 11814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
20774$as_echo "$ac_cv_func_getpgrp_void" >&6; } 11815$as_echo "$ac_cv_func_getpgrp_void" >&6; }
20775if test $ac_cv_func_getpgrp_void = yes; then 11816if test $ac_cv_func_getpgrp_void = yes; then
20776 11817
20777cat >>confdefs.h <<\_ACEOF 11818$as_echo "#define GETPGRP_VOID 1" >>confdefs.h
20778#define GETPGRP_VOID 1
20779_ACEOF
20780 11819
20781fi 11820fi
20782 11821
20783 11822
20784
20785for ac_func in strftime 11823for ac_func in strftime
20786do 11824do :
20787as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11825 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
20788{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11826if test "x$ac_cv_func_strftime" = x""yes; then :
20789$as_echo_n "checking for $ac_func... " >&6; }
20790if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20791 $as_echo_n "(cached) " >&6
20792else
20793 cat >conftest.$ac_ext <<_ACEOF
20794/* confdefs.h. */
20795_ACEOF
20796cat confdefs.h >>conftest.$ac_ext
20797cat >>conftest.$ac_ext <<_ACEOF
20798/* end confdefs.h. */
20799/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20801#define $ac_func innocuous_$ac_func
20802
20803/* System header to define __stub macros and hopefully few prototypes,
20804 which can conflict with char $ac_func (); below.
20805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20806 <limits.h> exists even on freestanding compilers. */
20807
20808#ifdef __STDC__
20809# include <limits.h>
20810#else
20811# include <assert.h>
20812#endif
20813
20814#undef $ac_func
20815
20816/* Override any GCC internal prototype to avoid an error.
20817 Use char because int might match the return type of a GCC
20818 builtin and then its argument prototype would still apply. */
20819#ifdef __cplusplus
20820extern "C"
20821#endif
20822char $ac_func ();
20823/* The GNU C library defines this for functions which it implements
20824 to always fail with ENOSYS. Some functions are actually named
20825 something starting with __ and the normal name is an alias. */
20826#if defined __stub_$ac_func || defined __stub___$ac_func
20827choke me
20828#endif
20829
20830int
20831main ()
20832{
20833return $ac_func ();
20834 ;
20835 return 0;
20836}
20837_ACEOF
20838rm -f conftest.$ac_objext conftest$ac_exeext
20839if { (ac_try="$ac_link"
20840case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843esac
20844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20845$as_echo "$ac_try_echo") >&5
20846 (eval "$ac_link") 2>conftest.er1
20847 ac_status=$?
20848 grep -v '^ *+' conftest.er1 >conftest.err
20849 rm -f conftest.er1
20850 cat conftest.err >&5
20851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && {
20853 test -z "$ac_c_werror_flag" ||
20854 test ! -s conftest.err
20855 } && test -s conftest$ac_exeext && {
20856 test "$cross_compiling" = yes ||
20857 $as_test_x conftest$ac_exeext
20858 }; then
20859 eval "$as_ac_var=yes"
20860else
20861 $as_echo "$as_me: failed program was:" >&5
20862sed 's/^/| /' conftest.$ac_ext >&5
20863
20864 eval "$as_ac_var=no"
20865fi
20866
20867rm -rf conftest.dSYM
20868rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20869 conftest$ac_exeext conftest.$ac_ext
20870fi
20871ac_res=`eval 'as_val=${'$as_ac_var'}
20872 $as_echo "$as_val"'`
20873 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20874$as_echo "$ac_res" >&6; }
20875if test `eval 'as_val=${'$as_ac_var'}
20876 $as_echo "$as_val"'` = yes; then
20877 cat >>confdefs.h <<_ACEOF 11827 cat >>confdefs.h <<_ACEOF
20878#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11828#define HAVE_STRFTIME 1
20879_ACEOF 11829_ACEOF
20880 11830
20881else 11831else
20882 # strftime is in -lintl on SCO UNIX. 11832 # strftime is in -lintl on SCO UNIX.
20883{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 11833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
20884$as_echo_n "checking for strftime in -lintl... " >&6; } 11834$as_echo_n "checking for strftime in -lintl... " >&6; }
20885if test "${ac_cv_lib_intl_strftime+set}" = set; then 11835if test "${ac_cv_lib_intl_strftime+set}" = set; then :
20886 $as_echo_n "(cached) " >&6 11836 $as_echo_n "(cached) " >&6
20887else 11837else
20888 ac_check_lib_save_LIBS=$LIBS 11838 ac_check_lib_save_LIBS=$LIBS
20889LIBS="-lintl $LIBS" 11839LIBS="-lintl $LIBS"
20890cat >conftest.$ac_ext <<_ACEOF 11840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891/* confdefs.h. */
20892_ACEOF
20893cat confdefs.h >>conftest.$ac_ext
20894cat >>conftest.$ac_ext <<_ACEOF
20895/* end confdefs.h. */ 11841/* end confdefs.h. */
20896 11842
20897/* Override any GCC internal prototype to avoid an error. 11843/* Override any GCC internal prototype to avoid an error.
@@ -20909,46 +11855,19 @@ return strftime ();
20909 return 0; 11855 return 0;
20910} 11856}
20911_ACEOF 11857_ACEOF
20912rm -f conftest.$ac_objext conftest$ac_exeext 11858if ac_fn_c_try_link "$LINENO"; then :
20913if { (ac_try="$ac_link"
20914case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20917esac
20918eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20919$as_echo "$ac_try_echo") >&5
20920 (eval "$ac_link") 2>conftest.er1
20921 ac_status=$?
20922 grep -v '^ *+' conftest.er1 >conftest.err
20923 rm -f conftest.er1
20924 cat conftest.err >&5
20925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } && {
20927 test -z "$ac_c_werror_flag" ||
20928 test ! -s conftest.err
20929 } && test -s conftest$ac_exeext && {
20930 test "$cross_compiling" = yes ||
20931 $as_test_x conftest$ac_exeext
20932 }; then
20933 ac_cv_lib_intl_strftime=yes 11859 ac_cv_lib_intl_strftime=yes
20934else 11860else
20935 $as_echo "$as_me: failed program was:" >&5 11861 ac_cv_lib_intl_strftime=no
20936sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 ac_cv_lib_intl_strftime=no
20939fi 11862fi
20940 11863rm -f core conftest.err conftest.$ac_objext \
20941rm -rf conftest.dSYM 11864 conftest$ac_exeext conftest.$ac_ext
20942rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20943 conftest$ac_exeext conftest.$ac_ext
20944LIBS=$ac_check_lib_save_LIBS 11865LIBS=$ac_check_lib_save_LIBS
20945fi 11866fi
20946{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 11867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
20947$as_echo "$ac_cv_lib_intl_strftime" >&6; } 11868$as_echo "$ac_cv_lib_intl_strftime" >&6; }
20948if test $ac_cv_lib_intl_strftime = yes; then 11869if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
20949 cat >>confdefs.h <<\_ACEOF 11870 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
20950#define HAVE_STRFTIME 1
20951_ACEOF
20952 11871
20953LIBS="-lintl $LIBS" 11872LIBS="-lintl $LIBS"
20954fi 11873fi
@@ -20958,101 +11877,12 @@ done
20958 11877
20959 11878
20960# UNIX98 PTYs. 11879# UNIX98 PTYs.
20961
20962for ac_func in grantpt 11880for ac_func in grantpt
20963do 11881do :
20964as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11882 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
20965{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11883if test "x$ac_cv_func_grantpt" = x""yes; then :
20966$as_echo_n "checking for $ac_func... " >&6; }
20967if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20968 $as_echo_n "(cached) " >&6
20969else
20970 cat >conftest.$ac_ext <<_ACEOF
20971/* confdefs.h. */
20972_ACEOF
20973cat confdefs.h >>conftest.$ac_ext
20974cat >>conftest.$ac_ext <<_ACEOF
20975/* end confdefs.h. */
20976/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20978#define $ac_func innocuous_$ac_func
20979
20980/* System header to define __stub macros and hopefully few prototypes,
20981 which can conflict with char $ac_func (); below.
20982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20983 <limits.h> exists even on freestanding compilers. */
20984
20985#ifdef __STDC__
20986# include <limits.h>
20987#else
20988# include <assert.h>
20989#endif
20990
20991#undef $ac_func
20992
20993/* Override any GCC internal prototype to avoid an error.
20994 Use char because int might match the return type of a GCC
20995 builtin and then its argument prototype would still apply. */
20996#ifdef __cplusplus
20997extern "C"
20998#endif
20999char $ac_func ();
21000/* The GNU C library defines this for functions which it implements
21001 to always fail with ENOSYS. Some functions are actually named
21002 something starting with __ and the normal name is an alias. */
21003#if defined __stub_$ac_func || defined __stub___$ac_func
21004choke me
21005#endif
21006
21007int
21008main ()
21009{
21010return $ac_func ();
21011 ;
21012 return 0;
21013}
21014_ACEOF
21015rm -f conftest.$ac_objext conftest$ac_exeext
21016if { (ac_try="$ac_link"
21017case "(($ac_try" in
21018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21020esac
21021eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21022$as_echo "$ac_try_echo") >&5
21023 (eval "$ac_link") 2>conftest.er1
21024 ac_status=$?
21025 grep -v '^ *+' conftest.er1 >conftest.err
21026 rm -f conftest.er1
21027 cat conftest.err >&5
21028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } && {
21030 test -z "$ac_c_werror_flag" ||
21031 test ! -s conftest.err
21032 } && test -s conftest$ac_exeext && {
21033 test "$cross_compiling" = yes ||
21034 $as_test_x conftest$ac_exeext
21035 }; then
21036 eval "$as_ac_var=yes"
21037else
21038 $as_echo "$as_me: failed program was:" >&5
21039sed 's/^/| /' conftest.$ac_ext >&5
21040
21041 eval "$as_ac_var=no"
21042fi
21043
21044rm -rf conftest.dSYM
21045rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21046 conftest$ac_exeext conftest.$ac_ext
21047fi
21048ac_res=`eval 'as_val=${'$as_ac_var'}
21049 $as_echo "$as_val"'`
21050 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21051$as_echo "$ac_res" >&6; }
21052if test `eval 'as_val=${'$as_ac_var'}
21053 $as_echo "$as_val"'` = yes; then
21054 cat >>confdefs.h <<_ACEOF 11884 cat >>confdefs.h <<_ACEOF
21055#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11885#define HAVE_GRANTPT 1
21056_ACEOF 11886_ACEOF
21057 11887
21058fi 11888fi
@@ -21060,101 +11890,12 @@ done
21060 11890
21061 11891
21062# PTY-related GNU extensions. 11892# PTY-related GNU extensions.
21063
21064for ac_func in getpt 11893for ac_func in getpt
21065do 11894do :
21066as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11895 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
21067{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11896if test "x$ac_cv_func_getpt" = x""yes; then :
21068$as_echo_n "checking for $ac_func... " >&6; }
21069if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21070 $as_echo_n "(cached) " >&6
21071else
21072 cat >conftest.$ac_ext <<_ACEOF
21073/* confdefs.h. */
21074_ACEOF
21075cat confdefs.h >>conftest.$ac_ext
21076cat >>conftest.$ac_ext <<_ACEOF
21077/* end confdefs.h. */
21078/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21080#define $ac_func innocuous_$ac_func
21081
21082/* System header to define __stub macros and hopefully few prototypes,
21083 which can conflict with char $ac_func (); below.
21084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21085 <limits.h> exists even on freestanding compilers. */
21086
21087#ifdef __STDC__
21088# include <limits.h>
21089#else
21090# include <assert.h>
21091#endif
21092
21093#undef $ac_func
21094
21095/* Override any GCC internal prototype to avoid an error.
21096 Use char because int might match the return type of a GCC
21097 builtin and then its argument prototype would still apply. */
21098#ifdef __cplusplus
21099extern "C"
21100#endif
21101char $ac_func ();
21102/* The GNU C library defines this for functions which it implements
21103 to always fail with ENOSYS. Some functions are actually named
21104 something starting with __ and the normal name is an alias. */
21105#if defined __stub_$ac_func || defined __stub___$ac_func
21106choke me
21107#endif
21108
21109int
21110main ()
21111{
21112return $ac_func ();
21113 ;
21114 return 0;
21115}
21116_ACEOF
21117rm -f conftest.$ac_objext conftest$ac_exeext
21118if { (ac_try="$ac_link"
21119case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21122esac
21123eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21124$as_echo "$ac_try_echo") >&5
21125 (eval "$ac_link") 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest$ac_exeext && {
21135 test "$cross_compiling" = yes ||
21136 $as_test_x conftest$ac_exeext
21137 }; then
21138 eval "$as_ac_var=yes"
21139else
21140 $as_echo "$as_me: failed program was:" >&5
21141sed 's/^/| /' conftest.$ac_ext >&5
21142
21143 eval "$as_ac_var=no"
21144fi
21145
21146rm -rf conftest.dSYM
21147rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21148 conftest$ac_exeext conftest.$ac_ext
21149fi
21150ac_res=`eval 'as_val=${'$as_ac_var'}
21151 $as_echo "$as_val"'`
21152 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21153$as_echo "$ac_res" >&6; }
21154if test `eval 'as_val=${'$as_ac_var'}
21155 $as_echo "$as_val"'` = yes; then
21156 cat >>confdefs.h <<_ACEOF 11897 cat >>confdefs.h <<_ACEOF
21157#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11898#define HAVE_GETPT 1
21158_ACEOF 11899_ACEOF
21159 11900
21160fi 11901fi
@@ -21167,17 +11908,13 @@ done
21167# than to expect to find it in ncurses. 11908# than to expect to find it in ncurses.
21168# Also we need tputs and frieds to be able to build at all. 11909# Also we need tputs and frieds to be able to build at all.
21169have_tputs_et_al=true 11910have_tputs_et_al=true
21170{ $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 11911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
21171$as_echo_n "checking for library containing tputs... " >&6; } 11912$as_echo_n "checking for library containing tputs... " >&6; }
21172if test "${ac_cv_search_tputs+set}" = set; then 11913if test "${ac_cv_search_tputs+set}" = set; then :
21173 $as_echo_n "(cached) " >&6 11914 $as_echo_n "(cached) " >&6
21174else 11915else
21175 ac_func_search_save_LIBS=$LIBS 11916 ac_func_search_save_LIBS=$LIBS
21176cat >conftest.$ac_ext <<_ACEOF 11917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177/* confdefs.h. */
21178_ACEOF
21179cat confdefs.h >>conftest.$ac_ext
21180cat >>conftest.$ac_ext <<_ACEOF
21181/* end confdefs.h. */ 11918/* end confdefs.h. */
21182 11919
21183/* Override any GCC internal prototype to avoid an error. 11920/* Override any GCC internal prototype to avoid an error.
@@ -21202,54 +11939,27 @@ for ac_lib in '' ncurses terminfo termcap; do
21202 ac_res=-l$ac_lib 11939 ac_res=-l$ac_lib
21203 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 11940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21204 fi 11941 fi
21205 rm -f conftest.$ac_objext conftest$ac_exeext 11942 if ac_fn_c_try_link "$LINENO"; then :
21206if { (ac_try="$ac_link"
21207case "(($ac_try" in
21208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21209 *) ac_try_echo=$ac_try;;
21210esac
21211eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21212$as_echo "$ac_try_echo") >&5
21213 (eval "$ac_link") 2>conftest.er1
21214 ac_status=$?
21215 grep -v '^ *+' conftest.er1 >conftest.err
21216 rm -f conftest.er1
21217 cat conftest.err >&5
21218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); } && {
21220 test -z "$ac_c_werror_flag" ||
21221 test ! -s conftest.err
21222 } && test -s conftest$ac_exeext && {
21223 test "$cross_compiling" = yes ||
21224 $as_test_x conftest$ac_exeext
21225 }; then
21226 ac_cv_search_tputs=$ac_res 11943 ac_cv_search_tputs=$ac_res
21227else
21228 $as_echo "$as_me: failed program was:" >&5
21229sed 's/^/| /' conftest.$ac_ext >&5
21230
21231
21232fi 11944fi
21233 11945rm -f core conftest.err conftest.$ac_objext \
21234rm -rf conftest.dSYM 11946 conftest$ac_exeext
21235rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11947 if test "${ac_cv_search_tputs+set}" = set; then :
21236 conftest$ac_exeext
21237 if test "${ac_cv_search_tputs+set}" = set; then
21238 break 11948 break
21239fi 11949fi
21240done 11950done
21241if test "${ac_cv_search_tputs+set}" = set; then 11951if test "${ac_cv_search_tputs+set}" = set; then :
21242 : 11952
21243else 11953else
21244 ac_cv_search_tputs=no 11954 ac_cv_search_tputs=no
21245fi 11955fi
21246rm conftest.$ac_ext 11956rm conftest.$ac_ext
21247LIBS=$ac_func_search_save_LIBS 11957LIBS=$ac_func_search_save_LIBS
21248fi 11958fi
21249{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 11959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5
21250$as_echo "$ac_cv_search_tputs" >&6; } 11960$as_echo "$ac_cv_search_tputs" >&6; }
21251ac_res=$ac_cv_search_tputs 11961ac_res=$ac_cv_search_tputs
21252if test "$ac_res" != no; then 11962if test "$ac_res" != no; then :
21253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 11963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21254 11964
21255else 11965else
@@ -21257,29 +11967,19 @@ else
21257fi 11967fi
21258 11968
21259if test "$have_tputs_et_al" != true; then 11969if test "$have_tputs_et_al" != true; then
21260 { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). 11970 as_fn_error "I couldn't find termcap functions (tputs and friends).
21261Maybe some development libraries/packages are missing? Try installing
21262libncurses-dev(el), libterminfo-dev(el) or similar." >&5
21263$as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends).
21264Maybe some development libraries/packages are missing? Try installing 11971Maybe some development libraries/packages are missing? Try installing
21265libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} 11972libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
21266 { (exit 1); exit 1; }; }
21267fi 11973fi
21268# Must define this when any termcap library is found. 11974# Must define this when any termcap library is found.
21269 11975
21270cat >>confdefs.h <<\_ACEOF 11976$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h
21271#define HAVE_LIBNCURSES 1
21272_ACEOF
21273 11977
21274 11978
21275# Do we have res_init, for detecting changes in /etc/resolv.conf? 11979# Do we have res_init, for detecting changes in /etc/resolv.conf?
21276 11980
21277resolv=no 11981resolv=no
21278cat >conftest.$ac_ext <<_ACEOF 11982cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279/* confdefs.h. */
21280_ACEOF
21281cat confdefs.h >>conftest.$ac_ext
21282cat >>conftest.$ac_ext <<_ACEOF
21283/* end confdefs.h. */ 11983/* end confdefs.h. */
21284#include <netinet/in.h> 11984#include <netinet/in.h>
21285#include <arpa/nameser.h> 11985#include <arpa/nameser.h>
@@ -21292,48 +11992,19 @@ return res_init();
21292 return 0; 11992 return 0;
21293} 11993}
21294_ACEOF 11994_ACEOF
21295rm -f conftest.$ac_objext conftest$ac_exeext 11995if ac_fn_c_try_link "$LINENO"; then :
21296if { (ac_try="$ac_link"
21297case "(($ac_try" in
21298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21300esac
21301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21302$as_echo "$ac_try_echo") >&5
21303 (eval "$ac_link") 2>conftest.er1
21304 ac_status=$?
21305 grep -v '^ *+' conftest.er1 >conftest.err
21306 rm -f conftest.er1
21307 cat conftest.err >&5
21308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); } && {
21310 test -z "$ac_c_werror_flag" ||
21311 test ! -s conftest.err
21312 } && test -s conftest$ac_exeext && {
21313 test "$cross_compiling" = yes ||
21314 $as_test_x conftest$ac_exeext
21315 }; then
21316 have_res_init=yes 11996 have_res_init=yes
21317else 11997else
21318 $as_echo "$as_me: failed program was:" >&5 11998 have_res_init=no
21319sed 's/^/| /' conftest.$ac_ext >&5
21320
21321 have_res_init=no
21322fi 11999fi
21323 12000rm -f core conftest.err conftest.$ac_objext \
21324rm -rf conftest.dSYM 12001 conftest$ac_exeext conftest.$ac_ext
21325rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21326 conftest$ac_exeext conftest.$ac_ext
21327if test "$have_res_init" = no; then 12002if test "$have_res_init" = no; then
21328 OLIBS="$LIBS" 12003 OLIBS="$LIBS"
21329 LIBS="$LIBS -lresolv" 12004 LIBS="$LIBS -lresolv"
21330 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5
21331$as_echo_n "checking for res_init with -lresolv... " >&6; } 12006$as_echo_n "checking for res_init with -lresolv... " >&6; }
21332 cat >conftest.$ac_ext <<_ACEOF 12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21333/* confdefs.h. */
21334_ACEOF
21335cat confdefs.h >>conftest.$ac_ext
21336cat >>conftest.$ac_ext <<_ACEOF
21337/* end confdefs.h. */ 12008/* end confdefs.h. */
21338#include <netinet/in.h> 12009#include <netinet/in.h>
21339#include <arpa/nameser.h> 12010#include <arpa/nameser.h>
@@ -21346,39 +12017,14 @@ return res_init();
21346 return 0; 12017 return 0;
21347} 12018}
21348_ACEOF 12019_ACEOF
21349rm -f conftest.$ac_objext conftest$ac_exeext 12020if ac_fn_c_try_link "$LINENO"; then :
21350if { (ac_try="$ac_link"
21351case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21354esac
21355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21356$as_echo "$ac_try_echo") >&5
21357 (eval "$ac_link") 2>conftest.er1
21358 ac_status=$?
21359 grep -v '^ *+' conftest.er1 >conftest.err
21360 rm -f conftest.er1
21361 cat conftest.err >&5
21362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } && {
21364 test -z "$ac_c_werror_flag" ||
21365 test ! -s conftest.err
21366 } && test -s conftest$ac_exeext && {
21367 test "$cross_compiling" = yes ||
21368 $as_test_x conftest$ac_exeext
21369 }; then
21370 have_res_init=yes 12021 have_res_init=yes
21371else 12022else
21372 $as_echo "$as_me: failed program was:" >&5 12023 have_res_init=no
21373sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 have_res_init=no
21376fi 12024fi
21377 12025rm -f core conftest.err conftest.$ac_objext \
21378rm -rf conftest.dSYM 12026 conftest$ac_exeext conftest.$ac_ext
21379rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5
21380 conftest$ac_exeext conftest.$ac_ext
21381 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5
21382$as_echo "$have_res_init" >&6; } 12028$as_echo "$have_res_init" >&6; }
21383 if test "$have_res_init" = yes ; then 12029 if test "$have_res_init" = yes ; then
21384 resolv=yes 12030 resolv=yes
@@ -21388,9 +12034,7 @@ fi
21388 12034
21389if test "$have_res_init" = yes; then 12035if test "$have_res_init" = yes; then
21390 12036
21391cat >>confdefs.h <<\_ACEOF 12037$as_echo "#define HAVE_RES_INIT 1" >>confdefs.h
21392#define HAVE_RES_INIT 1
21393_ACEOF
21394 12038
21395fi 12039fi
21396 12040
@@ -21398,194 +12042,22 @@ fi
21398LIBHESIOD= 12042LIBHESIOD=
21399if test "$with_hesiod" != no ; then 12043if test "$with_hesiod" != no ; then
21400 # Don't set $LIBS here -- see comments above. FIXME which comments? 12044 # Don't set $LIBS here -- see comments above. FIXME which comments?
21401 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 12045 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
21402$as_echo_n "checking for res_send... " >&6; } 12046if test "x$ac_cv_func_res_send" = x""yes; then :
21403if test "${ac_cv_func_res_send+set}" = set; then
21404 $as_echo_n "(cached) " >&6
21405else
21406 cat >conftest.$ac_ext <<_ACEOF
21407/* confdefs.h. */
21408_ACEOF
21409cat confdefs.h >>conftest.$ac_ext
21410cat >>conftest.$ac_ext <<_ACEOF
21411/* end confdefs.h. */
21412/* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
21413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21414#define res_send innocuous_res_send
21415
21416/* System header to define __stub macros and hopefully few prototypes,
21417 which can conflict with char res_send (); below.
21418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21419 <limits.h> exists even on freestanding compilers. */
21420
21421#ifdef __STDC__
21422# include <limits.h>
21423#else
21424# include <assert.h>
21425#endif
21426
21427#undef res_send
21428
21429/* Override any GCC internal prototype to avoid an error.
21430 Use char because int might match the return type of a GCC
21431 builtin and then its argument prototype would still apply. */
21432#ifdef __cplusplus
21433extern "C"
21434#endif
21435char res_send ();
21436/* The GNU C library defines this for functions which it implements
21437 to always fail with ENOSYS. Some functions are actually named
21438 something starting with __ and the normal name is an alias. */
21439#if defined __stub_res_send || defined __stub___res_send
21440choke me
21441#endif
21442 12047
21443int
21444main ()
21445{
21446return res_send ();
21447 ;
21448 return 0;
21449}
21450_ACEOF
21451rm -f conftest.$ac_objext conftest$ac_exeext
21452if { (ac_try="$ac_link"
21453case "(($ac_try" in
21454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21455 *) ac_try_echo=$ac_try;;
21456esac
21457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21458$as_echo "$ac_try_echo") >&5
21459 (eval "$ac_link") 2>conftest.er1
21460 ac_status=$?
21461 grep -v '^ *+' conftest.er1 >conftest.err
21462 rm -f conftest.er1
21463 cat conftest.err >&5
21464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } && {
21466 test -z "$ac_c_werror_flag" ||
21467 test ! -s conftest.err
21468 } && test -s conftest$ac_exeext && {
21469 test "$cross_compiling" = yes ||
21470 $as_test_x conftest$ac_exeext
21471 }; then
21472 ac_cv_func_res_send=yes
21473else
21474 $as_echo "$as_me: failed program was:" >&5
21475sed 's/^/| /' conftest.$ac_ext >&5
21476
21477 ac_cv_func_res_send=no
21478fi
21479
21480rm -rf conftest.dSYM
21481rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21482 conftest$ac_exeext conftest.$ac_ext
21483fi
21484{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
21485$as_echo "$ac_cv_func_res_send" >&6; }
21486if test $ac_cv_func_res_send = yes; then
21487 :
21488else
21489 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5
21490$as_echo_n "checking for __res_send... " >&6; }
21491if test "${ac_cv_func___res_send+set}" = set; then
21492 $as_echo_n "(cached) " >&6
21493else
21494 cat >conftest.$ac_ext <<_ACEOF
21495/* confdefs.h. */
21496_ACEOF
21497cat confdefs.h >>conftest.$ac_ext
21498cat >>conftest.$ac_ext <<_ACEOF
21499/* end confdefs.h. */
21500/* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send.
21501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21502#define __res_send innocuous___res_send
21503
21504/* System header to define __stub macros and hopefully few prototypes,
21505 which can conflict with char __res_send (); below.
21506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21507 <limits.h> exists even on freestanding compilers. */
21508
21509#ifdef __STDC__
21510# include <limits.h>
21511#else
21512# include <assert.h>
21513#endif
21514
21515#undef __res_send
21516
21517/* Override any GCC internal prototype to avoid an error.
21518 Use char because int might match the return type of a GCC
21519 builtin and then its argument prototype would still apply. */
21520#ifdef __cplusplus
21521extern "C"
21522#endif
21523char __res_send ();
21524/* The GNU C library defines this for functions which it implements
21525 to always fail with ENOSYS. Some functions are actually named
21526 something starting with __ and the normal name is an alias. */
21527#if defined __stub___res_send || defined __stub_____res_send
21528choke me
21529#endif
21530
21531int
21532main ()
21533{
21534return __res_send ();
21535 ;
21536 return 0;
21537}
21538_ACEOF
21539rm -f conftest.$ac_objext conftest$ac_exeext
21540if { (ac_try="$ac_link"
21541case "(($ac_try" in
21542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21544esac
21545eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21546$as_echo "$ac_try_echo") >&5
21547 (eval "$ac_link") 2>conftest.er1
21548 ac_status=$?
21549 grep -v '^ *+' conftest.er1 >conftest.err
21550 rm -f conftest.er1
21551 cat conftest.err >&5
21552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } && {
21554 test -z "$ac_c_werror_flag" ||
21555 test ! -s conftest.err
21556 } && test -s conftest$ac_exeext && {
21557 test "$cross_compiling" = yes ||
21558 $as_test_x conftest$ac_exeext
21559 }; then
21560 ac_cv_func___res_send=yes
21561else 12048else
21562 $as_echo "$as_me: failed program was:" >&5 12049 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
21563sed 's/^/| /' conftest.$ac_ext >&5 12050if test "x$ac_cv_func___res_send" = x""yes; then :
21564 12051
21565 ac_cv_func___res_send=no
21566fi
21567
21568rm -rf conftest.dSYM
21569rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21570 conftest$ac_exeext conftest.$ac_ext
21571fi
21572{ $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
21573$as_echo "$ac_cv_func___res_send" >&6; }
21574if test $ac_cv_func___res_send = yes; then
21575 :
21576else 12052else
21577 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
21578$as_echo_n "checking for res_send in -lresolv... " >&6; } 12054$as_echo_n "checking for res_send in -lresolv... " >&6; }
21579if test "${ac_cv_lib_resolv_res_send+set}" = set; then 12055if test "${ac_cv_lib_resolv_res_send+set}" = set; then :
21580 $as_echo_n "(cached) " >&6 12056 $as_echo_n "(cached) " >&6
21581else 12057else
21582 ac_check_lib_save_LIBS=$LIBS 12058 ac_check_lib_save_LIBS=$LIBS
21583LIBS="-lresolv $LIBS" 12059LIBS="-lresolv $LIBS"
21584cat >conftest.$ac_ext <<_ACEOF 12060cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21585/* confdefs.h. */
21586_ACEOF
21587cat confdefs.h >>conftest.$ac_ext
21588cat >>conftest.$ac_ext <<_ACEOF
21589/* end confdefs.h. */ 12061/* end confdefs.h. */
21590 12062
21591/* Override any GCC internal prototype to avoid an error. 12063/* Override any GCC internal prototype to avoid an error.
@@ -21603,57 +12075,28 @@ return res_send ();
21603 return 0; 12075 return 0;
21604} 12076}
21605_ACEOF 12077_ACEOF
21606rm -f conftest.$ac_objext conftest$ac_exeext 12078if ac_fn_c_try_link "$LINENO"; then :
21607if { (ac_try="$ac_link"
21608case "(($ac_try" in
21609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21611esac
21612eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21613$as_echo "$ac_try_echo") >&5
21614 (eval "$ac_link") 2>conftest.er1
21615 ac_status=$?
21616 grep -v '^ *+' conftest.er1 >conftest.err
21617 rm -f conftest.er1
21618 cat conftest.err >&5
21619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } && {
21621 test -z "$ac_c_werror_flag" ||
21622 test ! -s conftest.err
21623 } && test -s conftest$ac_exeext && {
21624 test "$cross_compiling" = yes ||
21625 $as_test_x conftest$ac_exeext
21626 }; then
21627 ac_cv_lib_resolv_res_send=yes 12079 ac_cv_lib_resolv_res_send=yes
21628else 12080else
21629 $as_echo "$as_me: failed program was:" >&5 12081 ac_cv_lib_resolv_res_send=no
21630sed 's/^/| /' conftest.$ac_ext >&5
21631
21632 ac_cv_lib_resolv_res_send=no
21633fi 12082fi
21634 12083rm -f core conftest.err conftest.$ac_objext \
21635rm -rf conftest.dSYM 12084 conftest$ac_exeext conftest.$ac_ext
21636rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21637 conftest$ac_exeext conftest.$ac_ext
21638LIBS=$ac_check_lib_save_LIBS 12085LIBS=$ac_check_lib_save_LIBS
21639fi 12086fi
21640{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 12087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
21641$as_echo "$ac_cv_lib_resolv_res_send" >&6; } 12088$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
21642if test $ac_cv_lib_resolv_res_send = yes; then 12089if test "x$ac_cv_lib_resolv_res_send" = x""yes; then :
21643 resolv=yes 12090 resolv=yes
21644else 12091else
21645 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
21646$as_echo_n "checking for __res_send in -lresolv... " >&6; } 12093$as_echo_n "checking for __res_send in -lresolv... " >&6; }
21647if test "${ac_cv_lib_resolv___res_send+set}" = set; then 12094if test "${ac_cv_lib_resolv___res_send+set}" = set; then :
21648 $as_echo_n "(cached) " >&6 12095 $as_echo_n "(cached) " >&6
21649else 12096else
21650 ac_check_lib_save_LIBS=$LIBS 12097 ac_check_lib_save_LIBS=$LIBS
21651LIBS="-lresolv $LIBS" 12098LIBS="-lresolv $LIBS"
21652cat >conftest.$ac_ext <<_ACEOF 12099cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653/* confdefs.h. */
21654_ACEOF
21655cat confdefs.h >>conftest.$ac_ext
21656cat >>conftest.$ac_ext <<_ACEOF
21657/* end confdefs.h. */ 12100/* end confdefs.h. */
21658 12101
21659/* Override any GCC internal prototype to avoid an error. 12102/* Override any GCC internal prototype to avoid an error.
@@ -21671,43 +12114,18 @@ return __res_send ();
21671 return 0; 12114 return 0;
21672} 12115}
21673_ACEOF 12116_ACEOF
21674rm -f conftest.$ac_objext conftest$ac_exeext 12117if ac_fn_c_try_link "$LINENO"; then :
21675if { (ac_try="$ac_link"
21676case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21679esac
21680eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21681$as_echo "$ac_try_echo") >&5
21682 (eval "$ac_link") 2>conftest.er1
21683 ac_status=$?
21684 grep -v '^ *+' conftest.er1 >conftest.err
21685 rm -f conftest.er1
21686 cat conftest.err >&5
21687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } && {
21689 test -z "$ac_c_werror_flag" ||
21690 test ! -s conftest.err
21691 } && test -s conftest$ac_exeext && {
21692 test "$cross_compiling" = yes ||
21693 $as_test_x conftest$ac_exeext
21694 }; then
21695 ac_cv_lib_resolv___res_send=yes 12118 ac_cv_lib_resolv___res_send=yes
21696else 12119else
21697 $as_echo "$as_me: failed program was:" >&5 12120 ac_cv_lib_resolv___res_send=no
21698sed 's/^/| /' conftest.$ac_ext >&5
21699
21700 ac_cv_lib_resolv___res_send=no
21701fi 12121fi
21702 12122rm -f core conftest.err conftest.$ac_objext \
21703rm -rf conftest.dSYM 12123 conftest$ac_exeext conftest.$ac_ext
21704rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21705 conftest$ac_exeext conftest.$ac_ext
21706LIBS=$ac_check_lib_save_LIBS 12124LIBS=$ac_check_lib_save_LIBS
21707fi 12125fi
21708{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 12126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5
21709$as_echo "$ac_cv_lib_resolv___res_send" >&6; } 12127$as_echo "$ac_cv_lib_resolv___res_send" >&6; }
21710if test $ac_cv_lib_resolv___res_send = yes; then 12128if test "x$ac_cv_lib_resolv___res_send" = x""yes; then :
21711 resolv=yes 12129 resolv=yes
21712fi 12130fi
21713 12131
@@ -21722,106 +12140,18 @@ fi
21722 else 12140 else
21723 RESOLVLIB= 12141 RESOLVLIB=
21724 fi 12142 fi
21725 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 12143 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost"
21726$as_echo_n "checking for hes_getmailhost... " >&6; } 12144if test "x$ac_cv_func_hes_getmailhost" = x""yes; then :
21727if test "${ac_cv_func_hes_getmailhost+set}" = set; then
21728 $as_echo_n "(cached) " >&6
21729else
21730 cat >conftest.$ac_ext <<_ACEOF
21731/* confdefs.h. */
21732_ACEOF
21733cat confdefs.h >>conftest.$ac_ext
21734cat >>conftest.$ac_ext <<_ACEOF
21735/* end confdefs.h. */
21736/* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost.
21737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21738#define hes_getmailhost innocuous_hes_getmailhost
21739
21740/* System header to define __stub macros and hopefully few prototypes,
21741 which can conflict with char hes_getmailhost (); below.
21742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21743 <limits.h> exists even on freestanding compilers. */
21744
21745#ifdef __STDC__
21746# include <limits.h>
21747#else
21748# include <assert.h>
21749#endif
21750
21751#undef hes_getmailhost
21752
21753/* Override any GCC internal prototype to avoid an error.
21754 Use char because int might match the return type of a GCC
21755 builtin and then its argument prototype would still apply. */
21756#ifdef __cplusplus
21757extern "C"
21758#endif
21759char hes_getmailhost ();
21760/* The GNU C library defines this for functions which it implements
21761 to always fail with ENOSYS. Some functions are actually named
21762 something starting with __ and the normal name is an alias. */
21763#if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost
21764choke me
21765#endif
21766
21767int
21768main ()
21769{
21770return hes_getmailhost ();
21771 ;
21772 return 0;
21773}
21774_ACEOF
21775rm -f conftest.$ac_objext conftest$ac_exeext
21776if { (ac_try="$ac_link"
21777case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21780esac
21781eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21782$as_echo "$ac_try_echo") >&5
21783 (eval "$ac_link") 2>conftest.er1
21784 ac_status=$?
21785 grep -v '^ *+' conftest.er1 >conftest.err
21786 rm -f conftest.er1
21787 cat conftest.err >&5
21788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest$ac_exeext && {
21793 test "$cross_compiling" = yes ||
21794 $as_test_x conftest$ac_exeext
21795 }; then
21796 ac_cv_func_hes_getmailhost=yes
21797else
21798 $as_echo "$as_me: failed program was:" >&5
21799sed 's/^/| /' conftest.$ac_ext >&5
21800
21801 ac_cv_func_hes_getmailhost=no
21802fi
21803 12145
21804rm -rf conftest.dSYM
21805rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21806 conftest$ac_exeext conftest.$ac_ext
21807fi
21808{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
21809$as_echo "$ac_cv_func_hes_getmailhost" >&6; }
21810if test $ac_cv_func_hes_getmailhost = yes; then
21811 :
21812else 12146else
21813 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5
21814$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 12148$as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
21815if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 12149if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then :
21816 $as_echo_n "(cached) " >&6 12150 $as_echo_n "(cached) " >&6
21817else 12151else
21818 ac_check_lib_save_LIBS=$LIBS 12152 ac_check_lib_save_LIBS=$LIBS
21819LIBS="-lhesiod $RESOLVLIB $LIBS" 12153LIBS="-lhesiod $RESOLVLIB $LIBS"
21820cat >conftest.$ac_ext <<_ACEOF 12154cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21821/* confdefs.h. */
21822_ACEOF
21823cat confdefs.h >>conftest.$ac_ext
21824cat >>conftest.$ac_ext <<_ACEOF
21825/* end confdefs.h. */ 12155/* end confdefs.h. */
21826 12156
21827/* Override any GCC internal prototype to avoid an error. 12157/* Override any GCC internal prototype to avoid an error.
@@ -21839,43 +12169,18 @@ return hes_getmailhost ();
21839 return 0; 12169 return 0;
21840} 12170}
21841_ACEOF 12171_ACEOF
21842rm -f conftest.$ac_objext conftest$ac_exeext 12172if ac_fn_c_try_link "$LINENO"; then :
21843if { (ac_try="$ac_link"
21844case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21847esac
21848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21849$as_echo "$ac_try_echo") >&5
21850 (eval "$ac_link") 2>conftest.er1
21851 ac_status=$?
21852 grep -v '^ *+' conftest.er1 >conftest.err
21853 rm -f conftest.er1
21854 cat conftest.err >&5
21855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); } && {
21857 test -z "$ac_c_werror_flag" ||
21858 test ! -s conftest.err
21859 } && test -s conftest$ac_exeext && {
21860 test "$cross_compiling" = yes ||
21861 $as_test_x conftest$ac_exeext
21862 }; then
21863 ac_cv_lib_hesiod_hes_getmailhost=yes 12173 ac_cv_lib_hesiod_hes_getmailhost=yes
21864else 12174else
21865 $as_echo "$as_me: failed program was:" >&5 12175 ac_cv_lib_hesiod_hes_getmailhost=no
21866sed 's/^/| /' conftest.$ac_ext >&5
21867
21868 ac_cv_lib_hesiod_hes_getmailhost=no
21869fi 12176fi
21870 12177rm -f core conftest.err conftest.$ac_objext \
21871rm -rf conftest.dSYM 12178 conftest$ac_exeext conftest.$ac_ext
21872rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21873 conftest$ac_exeext conftest.$ac_ext
21874LIBS=$ac_check_lib_save_LIBS 12179LIBS=$ac_check_lib_save_LIBS
21875fi 12180fi
21876{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 12181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
21877$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 12182$as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
21878if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 12183if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then :
21879 hesiod=yes 12184 hesiod=yes
21880else 12185else
21881 : 12186 :
@@ -21886,9 +12191,7 @@ fi
21886 12191
21887 if test x"$hesiod" = xyes; then 12192 if test x"$hesiod" = xyes; then
21888 12193
21889cat >>confdefs.h <<\_ACEOF 12194$as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h
21890#define HAVE_LIBHESIOD 1
21891_ACEOF
21892 12195
21893 LIBHESIOD=-lhesiod 12196 LIBHESIOD=-lhesiod
21894 fi 12197 fi
@@ -21898,9 +12201,7 @@ fi
21898# Do we need libresolv (due to res_init or Hesiod)? 12201# Do we need libresolv (due to res_init or Hesiod)?
21899if test "$resolv" = yes ; then 12202if test "$resolv" = yes ; then
21900 12203
21901cat >>confdefs.h <<\_ACEOF 12204$as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h
21902#define HAVE_LIBRESOLV 1
21903_ACEOF
21904 12205
21905 LIBRESOLV=-lresolv 12206 LIBRESOLV=-lresolv
21906else 12207else
@@ -21916,18 +12217,14 @@ DESLIB=
21916KRB4LIB= 12217KRB4LIB=
21917 12218
21918if test "${with_kerberos}" != no; then 12219if test "${with_kerberos}" != no; then
21919 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
21920$as_echo_n "checking for com_err in -lcom_err... " >&6; } 12221$as_echo_n "checking for com_err in -lcom_err... " >&6; }
21921if test "${ac_cv_lib_com_err_com_err+set}" = set; then 12222if test "${ac_cv_lib_com_err_com_err+set}" = set; then :
21922 $as_echo_n "(cached) " >&6 12223 $as_echo_n "(cached) " >&6
21923else 12224else
21924 ac_check_lib_save_LIBS=$LIBS 12225 ac_check_lib_save_LIBS=$LIBS
21925LIBS="-lcom_err $LIBS" 12226LIBS="-lcom_err $LIBS"
21926cat >conftest.$ac_ext <<_ACEOF 12227cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927/* confdefs.h. */
21928_ACEOF
21929cat confdefs.h >>conftest.$ac_ext
21930cat >>conftest.$ac_ext <<_ACEOF
21931/* end confdefs.h. */ 12228/* end confdefs.h. */
21932 12229
21933/* Override any GCC internal prototype to avoid an error. 12230/* Override any GCC internal prototype to avoid an error.
@@ -21945,43 +12242,18 @@ return com_err ();
21945 return 0; 12242 return 0;
21946} 12243}
21947_ACEOF 12244_ACEOF
21948rm -f conftest.$ac_objext conftest$ac_exeext 12245if ac_fn_c_try_link "$LINENO"; then :
21949if { (ac_try="$ac_link"
21950case "(($ac_try" in
21951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21952 *) ac_try_echo=$ac_try;;
21953esac
21954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21955$as_echo "$ac_try_echo") >&5
21956 (eval "$ac_link") 2>conftest.er1
21957 ac_status=$?
21958 grep -v '^ *+' conftest.er1 >conftest.err
21959 rm -f conftest.er1
21960 cat conftest.err >&5
21961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } && {
21963 test -z "$ac_c_werror_flag" ||
21964 test ! -s conftest.err
21965 } && test -s conftest$ac_exeext && {
21966 test "$cross_compiling" = yes ||
21967 $as_test_x conftest$ac_exeext
21968 }; then
21969 ac_cv_lib_com_err_com_err=yes 12246 ac_cv_lib_com_err_com_err=yes
21970else 12247else
21971 $as_echo "$as_me: failed program was:" >&5 12248 ac_cv_lib_com_err_com_err=no
21972sed 's/^/| /' conftest.$ac_ext >&5
21973
21974 ac_cv_lib_com_err_com_err=no
21975fi 12249fi
21976 12250rm -f core conftest.err conftest.$ac_objext \
21977rm -rf conftest.dSYM 12251 conftest$ac_exeext conftest.$ac_ext
21978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21979 conftest$ac_exeext conftest.$ac_ext
21980LIBS=$ac_check_lib_save_LIBS 12252LIBS=$ac_check_lib_save_LIBS
21981fi 12253fi
21982{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 12254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
21983$as_echo "$ac_cv_lib_com_err_com_err" >&6; } 12255$as_echo "$ac_cv_lib_com_err_com_err" >&6; }
21984if test $ac_cv_lib_com_err_com_err = yes; then 12256if test "x$ac_cv_lib_com_err_com_err" = x""yes; then :
21985 have_com_err=yes 12257 have_com_err=yes
21986else 12258else
21987 have_com_err=no 12259 have_com_err=no
@@ -21991,23 +12263,17 @@ fi
21991 COM_ERRLIB=-lcom_err 12263 COM_ERRLIB=-lcom_err
21992 LIBS="$COM_ERRLIB $LIBS" 12264 LIBS="$COM_ERRLIB $LIBS"
21993 12265
21994cat >>confdefs.h <<\_ACEOF 12266$as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
21995#define HAVE_LIBCOM_ERR 1
21996_ACEOF
21997 12267
21998 fi 12268 fi
21999 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
22000$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 12270$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
22001if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 12271if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then :
22002 $as_echo_n "(cached) " >&6 12272 $as_echo_n "(cached) " >&6
22003else 12273else
22004 ac_check_lib_save_LIBS=$LIBS 12274 ac_check_lib_save_LIBS=$LIBS
22005LIBS="-lcrypto $LIBS" 12275LIBS="-lcrypto $LIBS"
22006cat >conftest.$ac_ext <<_ACEOF 12276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22007/* confdefs.h. */
22008_ACEOF
22009cat confdefs.h >>conftest.$ac_ext
22010cat >>conftest.$ac_ext <<_ACEOF
22011/* end confdefs.h. */ 12277/* end confdefs.h. */
22012 12278
22013/* Override any GCC internal prototype to avoid an error. 12279/* Override any GCC internal prototype to avoid an error.
@@ -22025,43 +12291,18 @@ return mit_des_cbc_encrypt ();
22025 return 0; 12291 return 0;
22026} 12292}
22027_ACEOF 12293_ACEOF
22028rm -f conftest.$ac_objext conftest$ac_exeext 12294if ac_fn_c_try_link "$LINENO"; then :
22029if { (ac_try="$ac_link"
22030case "(($ac_try" in
22031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22032 *) ac_try_echo=$ac_try;;
22033esac
22034eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22035$as_echo "$ac_try_echo") >&5
22036 (eval "$ac_link") 2>conftest.er1
22037 ac_status=$?
22038 grep -v '^ *+' conftest.er1 >conftest.err
22039 rm -f conftest.er1
22040 cat conftest.err >&5
22041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest$ac_exeext && {
22046 test "$cross_compiling" = yes ||
22047 $as_test_x conftest$ac_exeext
22048 }; then
22049 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 12295 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
22050else 12296else
22051 $as_echo "$as_me: failed program was:" >&5 12297 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
22052sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
22055fi 12298fi
22056 12299rm -f core conftest.err conftest.$ac_objext \
22057rm -rf conftest.dSYM 12300 conftest$ac_exeext conftest.$ac_ext
22058rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22059 conftest$ac_exeext conftest.$ac_ext
22060LIBS=$ac_check_lib_save_LIBS 12301LIBS=$ac_check_lib_save_LIBS
22061fi 12302fi
22062{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 12303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
22063$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 12304$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
22064if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 12305if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then :
22065 have_crypto=yes 12306 have_crypto=yes
22066else 12307else
22067 have_crypto=no 12308 have_crypto=no
@@ -22071,23 +12312,17 @@ fi
22071 CRYPTOLIB=-lcrypto 12312 CRYPTOLIB=-lcrypto
22072 LIBS="$CRYPTOLIB $LIBS" 12313 LIBS="$CRYPTOLIB $LIBS"
22073 12314
22074cat >>confdefs.h <<\_ACEOF 12315$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
22075#define HAVE_LIBCRYPTO 1
22076_ACEOF
22077 12316
22078 fi 12317 fi
22079 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
22080$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 12319$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
22081if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 12320if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then :
22082 $as_echo_n "(cached) " >&6 12321 $as_echo_n "(cached) " >&6
22083else 12322else
22084 ac_check_lib_save_LIBS=$LIBS 12323 ac_check_lib_save_LIBS=$LIBS
22085LIBS="-lk5crypto $LIBS" 12324LIBS="-lk5crypto $LIBS"
22086cat >conftest.$ac_ext <<_ACEOF 12325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087/* confdefs.h. */
22088_ACEOF
22089cat confdefs.h >>conftest.$ac_ext
22090cat >>conftest.$ac_ext <<_ACEOF
22091/* end confdefs.h. */ 12326/* end confdefs.h. */
22092 12327
22093/* Override any GCC internal prototype to avoid an error. 12328/* Override any GCC internal prototype to avoid an error.
@@ -22105,43 +12340,18 @@ return mit_des_cbc_encrypt ();
22105 return 0; 12340 return 0;
22106} 12341}
22107_ACEOF 12342_ACEOF
22108rm -f conftest.$ac_objext conftest$ac_exeext 12343if ac_fn_c_try_link "$LINENO"; then :
22109if { (ac_try="$ac_link"
22110case "(($ac_try" in
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22113esac
22114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22115$as_echo "$ac_try_echo") >&5
22116 (eval "$ac_link") 2>conftest.er1
22117 ac_status=$?
22118 grep -v '^ *+' conftest.er1 >conftest.err
22119 rm -f conftest.er1
22120 cat conftest.err >&5
22121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); } && {
22123 test -z "$ac_c_werror_flag" ||
22124 test ! -s conftest.err
22125 } && test -s conftest$ac_exeext && {
22126 test "$cross_compiling" = yes ||
22127 $as_test_x conftest$ac_exeext
22128 }; then
22129 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 12344 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
22130else 12345else
22131 $as_echo "$as_me: failed program was:" >&5 12346 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
22132sed 's/^/| /' conftest.$ac_ext >&5
22133
22134 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
22135fi 12347fi
22136 12348rm -f core conftest.err conftest.$ac_objext \
22137rm -rf conftest.dSYM 12349 conftest$ac_exeext conftest.$ac_ext
22138rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22139 conftest$ac_exeext conftest.$ac_ext
22140LIBS=$ac_check_lib_save_LIBS 12350LIBS=$ac_check_lib_save_LIBS
22141fi 12351fi
22142{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 12352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
22143$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 12353$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
22144if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 12354if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then :
22145 have_k5crypto=yes 12355 have_k5crypto=yes
22146else 12356else
22147 have_k5crypto=no 12357 have_k5crypto=no
@@ -22151,23 +12361,17 @@ fi
22151 CRYPTOLIB=-lk5crypto 12361 CRYPTOLIB=-lk5crypto
22152 LIBS="$CRYPTOLIB $LIBS" 12362 LIBS="$CRYPTOLIB $LIBS"
22153 12363
22154cat >>confdefs.h <<\_ACEOF 12364$as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
22155#define HAVE_LIBK5CRYPTO 1
22156_ACEOF
22157 12365
22158 fi 12366 fi
22159 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
22160$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 12368$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
22161if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 12369if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then :
22162 $as_echo_n "(cached) " >&6 12370 $as_echo_n "(cached) " >&6
22163else 12371else
22164 ac_check_lib_save_LIBS=$LIBS 12372 ac_check_lib_save_LIBS=$LIBS
22165LIBS="-lkrb5 $LIBS" 12373LIBS="-lkrb5 $LIBS"
22166cat >conftest.$ac_ext <<_ACEOF 12374cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22167/* confdefs.h. */
22168_ACEOF
22169cat confdefs.h >>conftest.$ac_ext
22170cat >>conftest.$ac_ext <<_ACEOF
22171/* end confdefs.h. */ 12375/* end confdefs.h. */
22172 12376
22173/* Override any GCC internal prototype to avoid an error. 12377/* Override any GCC internal prototype to avoid an error.
@@ -22185,43 +12389,18 @@ return krb5_init_context ();
22185 return 0; 12389 return 0;
22186} 12390}
22187_ACEOF 12391_ACEOF
22188rm -f conftest.$ac_objext conftest$ac_exeext 12392if ac_fn_c_try_link "$LINENO"; then :
22189if { (ac_try="$ac_link"
22190case "(($ac_try" in
22191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22192 *) ac_try_echo=$ac_try;;
22193esac
22194eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22195$as_echo "$ac_try_echo") >&5
22196 (eval "$ac_link") 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest$ac_exeext && {
22206 test "$cross_compiling" = yes ||
22207 $as_test_x conftest$ac_exeext
22208 }; then
22209 ac_cv_lib_krb5_krb5_init_context=yes 12393 ac_cv_lib_krb5_krb5_init_context=yes
22210else 12394else
22211 $as_echo "$as_me: failed program was:" >&5 12395 ac_cv_lib_krb5_krb5_init_context=no
22212sed 's/^/| /' conftest.$ac_ext >&5
22213
22214 ac_cv_lib_krb5_krb5_init_context=no
22215fi 12396fi
22216 12397rm -f core conftest.err conftest.$ac_objext \
22217rm -rf conftest.dSYM 12398 conftest$ac_exeext conftest.$ac_ext
22218rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22219 conftest$ac_exeext conftest.$ac_ext
22220LIBS=$ac_check_lib_save_LIBS 12399LIBS=$ac_check_lib_save_LIBS
22221fi 12400fi
22222{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 12401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
22223$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 12402$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
22224if test $ac_cv_lib_krb5_krb5_init_context = yes; then 12403if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then :
22225 have_krb5=yes 12404 have_krb5=yes
22226else 12405else
22227 have_krb5=no 12406 have_krb5=no
@@ -22231,24 +12410,18 @@ fi
22231 KRB5LIB=-lkrb5 12410 KRB5LIB=-lkrb5
22232 LIBS="$KRB5LIB $LIBS" 12411 LIBS="$KRB5LIB $LIBS"
22233 12412
22234cat >>confdefs.h <<\_ACEOF 12413$as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
22235#define HAVE_LIBKRB5 1
22236_ACEOF
22237 12414
22238 fi 12415 fi
22239 if test "${with_kerberos5}" = no; then 12416 if test "${with_kerberos5}" = no; then
22240 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
22241$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 12418$as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
22242if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 12419if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then :
22243 $as_echo_n "(cached) " >&6 12420 $as_echo_n "(cached) " >&6
22244else 12421else
22245 ac_check_lib_save_LIBS=$LIBS 12422 ac_check_lib_save_LIBS=$LIBS
22246LIBS="-ldes425 $LIBS" 12423LIBS="-ldes425 $LIBS"
22247cat >conftest.$ac_ext <<_ACEOF 12424cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248/* confdefs.h. */
22249_ACEOF
22250cat confdefs.h >>conftest.$ac_ext
22251cat >>conftest.$ac_ext <<_ACEOF
22252/* end confdefs.h. */ 12425/* end confdefs.h. */
22253 12426
22254/* Override any GCC internal prototype to avoid an error. 12427/* Override any GCC internal prototype to avoid an error.
@@ -22266,43 +12439,18 @@ return des_cbc_encrypt ();
22266 return 0; 12439 return 0;
22267} 12440}
22268_ACEOF 12441_ACEOF
22269rm -f conftest.$ac_objext conftest$ac_exeext 12442if ac_fn_c_try_link "$LINENO"; then :
22270if { (ac_try="$ac_link"
22271case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22274esac
22275eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22276$as_echo "$ac_try_echo") >&5
22277 (eval "$ac_link") 2>conftest.er1
22278 ac_status=$?
22279 grep -v '^ *+' conftest.er1 >conftest.err
22280 rm -f conftest.er1
22281 cat conftest.err >&5
22282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } && {
22284 test -z "$ac_c_werror_flag" ||
22285 test ! -s conftest.err
22286 } && test -s conftest$ac_exeext && {
22287 test "$cross_compiling" = yes ||
22288 $as_test_x conftest$ac_exeext
22289 }; then
22290 ac_cv_lib_des425_des_cbc_encrypt=yes 12443 ac_cv_lib_des425_des_cbc_encrypt=yes
22291else 12444else
22292 $as_echo "$as_me: failed program was:" >&5 12445 ac_cv_lib_des425_des_cbc_encrypt=no
22293sed 's/^/| /' conftest.$ac_ext >&5
22294
22295 ac_cv_lib_des425_des_cbc_encrypt=no
22296fi 12446fi
22297 12447rm -f core conftest.err conftest.$ac_objext \
22298rm -rf conftest.dSYM 12448 conftest$ac_exeext conftest.$ac_ext
22299rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22300 conftest$ac_exeext conftest.$ac_ext
22301LIBS=$ac_check_lib_save_LIBS 12449LIBS=$ac_check_lib_save_LIBS
22302fi 12450fi
22303{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 12451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
22304$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 12452$as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
22305if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 12453if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then :
22306 have_des425=yes 12454 have_des425=yes
22307else 12455else
22308 have_des425=no 12456 have_des425=no
@@ -22312,23 +12460,17 @@ fi
22312 DESLIB=-ldes425 12460 DESLIB=-ldes425
22313 LIBS="$DESLIB $LIBS" 12461 LIBS="$DESLIB $LIBS"
22314 12462
22315cat >>confdefs.h <<\_ACEOF 12463$as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
22316#define HAVE_LIBDES425 1
22317_ACEOF
22318 12464
22319 else 12465 else
22320 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
22321$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 12467$as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
22322if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 12468if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then :
22323 $as_echo_n "(cached) " >&6 12469 $as_echo_n "(cached) " >&6
22324else 12470else
22325 ac_check_lib_save_LIBS=$LIBS 12471 ac_check_lib_save_LIBS=$LIBS
22326LIBS="-ldes $LIBS" 12472LIBS="-ldes $LIBS"
22327cat >conftest.$ac_ext <<_ACEOF 12473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22328/* confdefs.h. */
22329_ACEOF
22330cat confdefs.h >>conftest.$ac_ext
22331cat >>conftest.$ac_ext <<_ACEOF
22332/* end confdefs.h. */ 12474/* end confdefs.h. */
22333 12475
22334/* Override any GCC internal prototype to avoid an error. 12476/* Override any GCC internal prototype to avoid an error.
@@ -22346,43 +12488,18 @@ return des_cbc_encrypt ();
22346 return 0; 12488 return 0;
22347} 12489}
22348_ACEOF 12490_ACEOF
22349rm -f conftest.$ac_objext conftest$ac_exeext 12491if ac_fn_c_try_link "$LINENO"; then :
22350if { (ac_try="$ac_link"
22351case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354esac
22355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22356$as_echo "$ac_try_echo") >&5
22357 (eval "$ac_link") 2>conftest.er1
22358 ac_status=$?
22359 grep -v '^ *+' conftest.er1 >conftest.err
22360 rm -f conftest.er1
22361 cat conftest.err >&5
22362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } && {
22364 test -z "$ac_c_werror_flag" ||
22365 test ! -s conftest.err
22366 } && test -s conftest$ac_exeext && {
22367 test "$cross_compiling" = yes ||
22368 $as_test_x conftest$ac_exeext
22369 }; then
22370 ac_cv_lib_des_des_cbc_encrypt=yes 12492 ac_cv_lib_des_des_cbc_encrypt=yes
22371else 12493else
22372 $as_echo "$as_me: failed program was:" >&5 12494 ac_cv_lib_des_des_cbc_encrypt=no
22373sed 's/^/| /' conftest.$ac_ext >&5
22374
22375 ac_cv_lib_des_des_cbc_encrypt=no
22376fi 12495fi
22377 12496rm -f core conftest.err conftest.$ac_objext \
22378rm -rf conftest.dSYM 12497 conftest$ac_exeext conftest.$ac_ext
22379rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22380 conftest$ac_exeext conftest.$ac_ext
22381LIBS=$ac_check_lib_save_LIBS 12498LIBS=$ac_check_lib_save_LIBS
22382fi 12499fi
22383{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 12500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
22384$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 12501$as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
22385if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 12502if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then :
22386 have_des=yes 12503 have_des=yes
22387else 12504else
22388 have_des=no 12505 have_des=no
@@ -22392,24 +12509,18 @@ fi
22392 DESLIB=-ldes 12509 DESLIB=-ldes
22393 LIBS="$DESLIB $LIBS" 12510 LIBS="$DESLIB $LIBS"
22394 12511
22395cat >>confdefs.h <<\_ACEOF 12512$as_echo "#define HAVE_LIBDES 1" >>confdefs.h
22396#define HAVE_LIBDES 1
22397_ACEOF
22398 12513
22399 fi 12514 fi
22400 fi 12515 fi
22401 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
22402$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 12517$as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
22403if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 12518if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then :
22404 $as_echo_n "(cached) " >&6 12519 $as_echo_n "(cached) " >&6
22405else 12520else
22406 ac_check_lib_save_LIBS=$LIBS 12521 ac_check_lib_save_LIBS=$LIBS
22407LIBS="-lkrb4 $LIBS" 12522LIBS="-lkrb4 $LIBS"
22408cat >conftest.$ac_ext <<_ACEOF 12523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409/* confdefs.h. */
22410_ACEOF
22411cat confdefs.h >>conftest.$ac_ext
22412cat >>conftest.$ac_ext <<_ACEOF
22413/* end confdefs.h. */ 12524/* end confdefs.h. */
22414 12525
22415/* Override any GCC internal prototype to avoid an error. 12526/* Override any GCC internal prototype to avoid an error.
@@ -22427,43 +12538,18 @@ return krb_get_cred ();
22427 return 0; 12538 return 0;
22428} 12539}
22429_ACEOF 12540_ACEOF
22430rm -f conftest.$ac_objext conftest$ac_exeext 12541if ac_fn_c_try_link "$LINENO"; then :
22431if { (ac_try="$ac_link"
22432case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435esac
22436eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22437$as_echo "$ac_try_echo") >&5
22438 (eval "$ac_link") 2>conftest.er1
22439 ac_status=$?
22440 grep -v '^ *+' conftest.er1 >conftest.err
22441 rm -f conftest.er1
22442 cat conftest.err >&5
22443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } && {
22445 test -z "$ac_c_werror_flag" ||
22446 test ! -s conftest.err
22447 } && test -s conftest$ac_exeext && {
22448 test "$cross_compiling" = yes ||
22449 $as_test_x conftest$ac_exeext
22450 }; then
22451 ac_cv_lib_krb4_krb_get_cred=yes 12542 ac_cv_lib_krb4_krb_get_cred=yes
22452else 12543else
22453 $as_echo "$as_me: failed program was:" >&5 12544 ac_cv_lib_krb4_krb_get_cred=no
22454sed 's/^/| /' conftest.$ac_ext >&5
22455
22456 ac_cv_lib_krb4_krb_get_cred=no
22457fi 12545fi
22458 12546rm -f core conftest.err conftest.$ac_objext \
22459rm -rf conftest.dSYM 12547 conftest$ac_exeext conftest.$ac_ext
22460rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22461 conftest$ac_exeext conftest.$ac_ext
22462LIBS=$ac_check_lib_save_LIBS 12548LIBS=$ac_check_lib_save_LIBS
22463fi 12549fi
22464{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 12550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
22465$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 12551$as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
22466if test $ac_cv_lib_krb4_krb_get_cred = yes; then 12552if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then :
22467 have_krb4=yes 12553 have_krb4=yes
22468else 12554else
22469 have_krb4=no 12555 have_krb4=no
@@ -22473,23 +12559,17 @@ fi
22473 KRB4LIB=-lkrb4 12559 KRB4LIB=-lkrb4
22474 LIBS="$KRB4LIB $LIBS" 12560 LIBS="$KRB4LIB $LIBS"
22475 12561
22476cat >>confdefs.h <<\_ACEOF 12562$as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
22477#define HAVE_LIBKRB4 1
22478_ACEOF
22479 12563
22480 else 12564 else
22481 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
22482$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 12566$as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
22483if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 12567if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then :
22484 $as_echo_n "(cached) " >&6 12568 $as_echo_n "(cached) " >&6
22485else 12569else
22486 ac_check_lib_save_LIBS=$LIBS 12570 ac_check_lib_save_LIBS=$LIBS
22487LIBS="-lkrb $LIBS" 12571LIBS="-lkrb $LIBS"
22488cat >conftest.$ac_ext <<_ACEOF 12572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489/* confdefs.h. */
22490_ACEOF
22491cat confdefs.h >>conftest.$ac_ext
22492cat >>conftest.$ac_ext <<_ACEOF
22493/* end confdefs.h. */ 12573/* end confdefs.h. */
22494 12574
22495/* Override any GCC internal prototype to avoid an error. 12575/* Override any GCC internal prototype to avoid an error.
@@ -22507,43 +12587,18 @@ return krb_get_cred ();
22507 return 0; 12587 return 0;
22508} 12588}
22509_ACEOF 12589_ACEOF
22510rm -f conftest.$ac_objext conftest$ac_exeext 12590if ac_fn_c_try_link "$LINENO"; then :
22511if { (ac_try="$ac_link"
22512case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22515esac
22516eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22517$as_echo "$ac_try_echo") >&5
22518 (eval "$ac_link") 2>conftest.er1
22519 ac_status=$?
22520 grep -v '^ *+' conftest.er1 >conftest.err
22521 rm -f conftest.er1
22522 cat conftest.err >&5
22523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } && {
22525 test -z "$ac_c_werror_flag" ||
22526 test ! -s conftest.err
22527 } && test -s conftest$ac_exeext && {
22528 test "$cross_compiling" = yes ||
22529 $as_test_x conftest$ac_exeext
22530 }; then
22531 ac_cv_lib_krb_krb_get_cred=yes 12591 ac_cv_lib_krb_krb_get_cred=yes
22532else 12592else
22533 $as_echo "$as_me: failed program was:" >&5 12593 ac_cv_lib_krb_krb_get_cred=no
22534sed 's/^/| /' conftest.$ac_ext >&5
22535
22536 ac_cv_lib_krb_krb_get_cred=no
22537fi 12594fi
22538 12595rm -f core conftest.err conftest.$ac_objext \
22539rm -rf conftest.dSYM 12596 conftest$ac_exeext conftest.$ac_ext
22540rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22541 conftest$ac_exeext conftest.$ac_ext
22542LIBS=$ac_check_lib_save_LIBS 12597LIBS=$ac_check_lib_save_LIBS
22543fi 12598fi
22544{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 12599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
22545$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 12600$as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
22546if test $ac_cv_lib_krb_krb_get_cred = yes; then 12601if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then :
22547 have_krb=yes 12602 have_krb=yes
22548else 12603else
22549 have_krb=no 12604 have_krb=no
@@ -22553,253 +12608,23 @@ fi
22553 KRB4LIB=-lkrb 12608 KRB4LIB=-lkrb
22554 LIBS="$KRB4LIB $LIBS" 12609 LIBS="$KRB4LIB $LIBS"
22555 12610
22556cat >>confdefs.h <<\_ACEOF 12611$as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
22557#define HAVE_LIBKRB 1
22558_ACEOF
22559 12612
22560 fi 12613 fi
22561 fi 12614 fi
22562 fi 12615 fi
22563 12616
22564 if test "${with_kerberos5}" != no; then 12617 if test "${with_kerberos5}" != no; then
22565 12618 for ac_header in krb5.h
22566for ac_header in krb5.h 12619do :
22567do 12620 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default"
22568as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12621if test "x$ac_cv_header_krb5_h" = x""yes; then :
22569if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22570 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22571$as_echo_n "checking for $ac_header... " >&6; }
22572if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22573 $as_echo_n "(cached) " >&6
22574fi
22575ac_res=`eval 'as_val=${'$as_ac_Header'}
22576 $as_echo "$as_val"'`
22577 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22578$as_echo "$ac_res" >&6; }
22579else
22580 # Is the header compilable?
22581{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22582$as_echo_n "checking $ac_header usability... " >&6; }
22583cat >conftest.$ac_ext <<_ACEOF
22584/* confdefs.h. */
22585_ACEOF
22586cat confdefs.h >>conftest.$ac_ext
22587cat >>conftest.$ac_ext <<_ACEOF
22588/* end confdefs.h. */
22589$ac_includes_default
22590#include <$ac_header>
22591_ACEOF
22592rm -f conftest.$ac_objext
22593if { (ac_try="$ac_compile"
22594case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22597esac
22598eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22599$as_echo "$ac_try_echo") >&5
22600 (eval "$ac_compile") 2>conftest.er1
22601 ac_status=$?
22602 grep -v '^ *+' conftest.er1 >conftest.err
22603 rm -f conftest.er1
22604 cat conftest.err >&5
22605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); } && {
22607 test -z "$ac_c_werror_flag" ||
22608 test ! -s conftest.err
22609 } && test -s conftest.$ac_objext; then
22610 ac_header_compiler=yes
22611else
22612 $as_echo "$as_me: failed program was:" >&5
22613sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 ac_header_compiler=no
22616fi
22617
22618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22620$as_echo "$ac_header_compiler" >&6; }
22621
22622# Is the header present?
22623{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22624$as_echo_n "checking $ac_header presence... " >&6; }
22625cat >conftest.$ac_ext <<_ACEOF
22626/* confdefs.h. */
22627_ACEOF
22628cat confdefs.h >>conftest.$ac_ext
22629cat >>conftest.$ac_ext <<_ACEOF
22630/* end confdefs.h. */
22631#include <$ac_header>
22632_ACEOF
22633if { (ac_try="$ac_cpp conftest.$ac_ext"
22634case "(($ac_try" in
22635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22636 *) ac_try_echo=$ac_try;;
22637esac
22638eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22639$as_echo "$ac_try_echo") >&5
22640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } >/dev/null && {
22647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22648 test ! -s conftest.err
22649 }; then
22650 ac_header_preproc=yes
22651else
22652 $as_echo "$as_me: failed program was:" >&5
22653sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 ac_header_preproc=no
22656fi
22657
22658rm -f conftest.err conftest.$ac_ext
22659{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22660$as_echo "$ac_header_preproc" >&6; }
22661
22662# So? What about this header?
22663case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22664 yes:no: )
22665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22666$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22668$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22669 ac_header_preproc=yes
22670 ;;
22671 no:yes:* )
22672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22673$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22675$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22677$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22679$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22681$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22683$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22684
22685 ;;
22686esac
22687{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22688$as_echo_n "checking for $ac_header... " >&6; }
22689if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22690 $as_echo_n "(cached) " >&6
22691else
22692 eval "$as_ac_Header=\$ac_header_preproc"
22693fi
22694ac_res=`eval 'as_val=${'$as_ac_Header'}
22695 $as_echo "$as_val"'`
22696 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22697$as_echo "$ac_res" >&6; }
22698
22699fi
22700if test `eval 'as_val=${'$as_ac_Header'}
22701 $as_echo "$as_val"'` = yes; then
22702 cat >>confdefs.h <<_ACEOF 12622 cat >>confdefs.h <<_ACEOF
22703#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12623#define HAVE_KRB5_H 1
22704_ACEOF
22705 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5
22706$as_echo_n "checking for krb5_error.text... " >&6; }
22707if test "${ac_cv_member_krb5_error_text+set}" = set; then
22708 $as_echo_n "(cached) " >&6
22709else
22710 cat >conftest.$ac_ext <<_ACEOF
22711/* confdefs.h. */
22712_ACEOF
22713cat confdefs.h >>conftest.$ac_ext
22714cat >>conftest.$ac_ext <<_ACEOF
22715/* end confdefs.h. */
22716#include <krb5.h>
22717
22718int
22719main ()
22720{
22721static krb5_error ac_aggr;
22722if (ac_aggr.text)
22723return 0;
22724 ;
22725 return 0;
22726}
22727_ACEOF 12624_ACEOF
22728rm -f conftest.$ac_objext 12625 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h>
22729if { (ac_try="$ac_compile" 12626"
22730case "(($ac_try" in 12627if test "x$ac_cv_member_krb5_error_text" = x""yes; then :
22731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22732 *) ac_try_echo=$ac_try;;
22733esac
22734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22735$as_echo "$ac_try_echo") >&5
22736 (eval "$ac_compile") 2>conftest.er1
22737 ac_status=$?
22738 grep -v '^ *+' conftest.er1 >conftest.err
22739 rm -f conftest.er1
22740 cat conftest.err >&5
22741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && {
22743 test -z "$ac_c_werror_flag" ||
22744 test ! -s conftest.err
22745 } && test -s conftest.$ac_objext; then
22746 ac_cv_member_krb5_error_text=yes
22747else
22748 $as_echo "$as_me: failed program was:" >&5
22749sed 's/^/| /' conftest.$ac_ext >&5
22750
22751 cat >conftest.$ac_ext <<_ACEOF
22752/* confdefs.h. */
22753_ACEOF
22754cat confdefs.h >>conftest.$ac_ext
22755cat >>conftest.$ac_ext <<_ACEOF
22756/* end confdefs.h. */
22757#include <krb5.h>
22758
22759int
22760main ()
22761{
22762static krb5_error ac_aggr;
22763if (sizeof ac_aggr.text)
22764return 0;
22765 ;
22766 return 0;
22767}
22768_ACEOF
22769rm -f conftest.$ac_objext
22770if { (ac_try="$ac_compile"
22771case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22774esac
22775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22776$as_echo "$ac_try_echo") >&5
22777 (eval "$ac_compile") 2>conftest.er1
22778 ac_status=$?
22779 grep -v '^ *+' conftest.er1 >conftest.err
22780 rm -f conftest.er1
22781 cat conftest.err >&5
22782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } && {
22784 test -z "$ac_c_werror_flag" ||
22785 test ! -s conftest.err
22786 } && test -s conftest.$ac_objext; then
22787 ac_cv_member_krb5_error_text=yes
22788else
22789 $as_echo "$as_me: failed program was:" >&5
22790sed 's/^/| /' conftest.$ac_ext >&5
22791
22792 ac_cv_member_krb5_error_text=no
22793fi
22794
22795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796fi
22797
22798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799fi
22800{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
22801$as_echo "$ac_cv_member_krb5_error_text" >&6; }
22802if test $ac_cv_member_krb5_error_text = yes; then
22803 12628
22804cat >>confdefs.h <<_ACEOF 12629cat >>confdefs.h <<_ACEOF
22805#define HAVE_KRB5_ERROR_TEXT 1 12630#define HAVE_KRB5_ERROR_TEXT 1
@@ -22807,104 +12632,9 @@ _ACEOF
22807 12632
22808 12633
22809fi 12634fi
22810{ $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 12635ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h>
22811$as_echo_n "checking for krb5_error.e_text... " >&6; } 12636"
22812if test "${ac_cv_member_krb5_error_e_text+set}" = set; then 12637if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then :
22813 $as_echo_n "(cached) " >&6
22814else
22815 cat >conftest.$ac_ext <<_ACEOF
22816/* confdefs.h. */
22817_ACEOF
22818cat confdefs.h >>conftest.$ac_ext
22819cat >>conftest.$ac_ext <<_ACEOF
22820/* end confdefs.h. */
22821#include <krb5.h>
22822
22823int
22824main ()
22825{
22826static krb5_error ac_aggr;
22827if (ac_aggr.e_text)
22828return 0;
22829 ;
22830 return 0;
22831}
22832_ACEOF
22833rm -f conftest.$ac_objext
22834if { (ac_try="$ac_compile"
22835case "(($ac_try" in
22836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22837 *) ac_try_echo=$ac_try;;
22838esac
22839eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22840$as_echo "$ac_try_echo") >&5
22841 (eval "$ac_compile") 2>conftest.er1
22842 ac_status=$?
22843 grep -v '^ *+' conftest.er1 >conftest.err
22844 rm -f conftest.er1
22845 cat conftest.err >&5
22846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); } && {
22848 test -z "$ac_c_werror_flag" ||
22849 test ! -s conftest.err
22850 } && test -s conftest.$ac_objext; then
22851 ac_cv_member_krb5_error_e_text=yes
22852else
22853 $as_echo "$as_me: failed program was:" >&5
22854sed 's/^/| /' conftest.$ac_ext >&5
22855
22856 cat >conftest.$ac_ext <<_ACEOF
22857/* confdefs.h. */
22858_ACEOF
22859cat confdefs.h >>conftest.$ac_ext
22860cat >>conftest.$ac_ext <<_ACEOF
22861/* end confdefs.h. */
22862#include <krb5.h>
22863
22864int
22865main ()
22866{
22867static krb5_error ac_aggr;
22868if (sizeof ac_aggr.e_text)
22869return 0;
22870 ;
22871 return 0;
22872}
22873_ACEOF
22874rm -f conftest.$ac_objext
22875if { (ac_try="$ac_compile"
22876case "(($ac_try" in
22877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22879esac
22880eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22881$as_echo "$ac_try_echo") >&5
22882 (eval "$ac_compile") 2>conftest.er1
22883 ac_status=$?
22884 grep -v '^ *+' conftest.er1 >conftest.err
22885 rm -f conftest.er1
22886 cat conftest.err >&5
22887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } && {
22889 test -z "$ac_c_werror_flag" ||
22890 test ! -s conftest.err
22891 } && test -s conftest.$ac_objext; then
22892 ac_cv_member_krb5_error_e_text=yes
22893else
22894 $as_echo "$as_me: failed program was:" >&5
22895sed 's/^/| /' conftest.$ac_ext >&5
22896
22897 ac_cv_member_krb5_error_e_text=no
22898fi
22899
22900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22901fi
22902
22903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22904fi
22905{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
22906$as_echo "$ac_cv_member_krb5_error_e_text" >&6; }
22907if test $ac_cv_member_krb5_error_e_text = yes; then
22908 12638
22909cat >>confdefs.h <<_ACEOF 12639cat >>confdefs.h <<_ACEOF
22910#define HAVE_KRB5_ERROR_E_TEXT 1 12640#define HAVE_KRB5_ERROR_E_TEXT 1
@@ -22918,429 +12648,30 @@ fi
22918done 12648done
22919 12649
22920 else 12650 else
22921 12651 for ac_header in des.h
22922for ac_header in des.h 12652do :
22923do 12653 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
22924as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12654if test "x$ac_cv_header_des_h" = x""yes; then :
22925if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22927$as_echo_n "checking for $ac_header... " >&6; }
22928if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22929 $as_echo_n "(cached) " >&6
22930fi
22931ac_res=`eval 'as_val=${'$as_ac_Header'}
22932 $as_echo "$as_val"'`
22933 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22934$as_echo "$ac_res" >&6; }
22935else
22936 # Is the header compilable?
22937{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22938$as_echo_n "checking $ac_header usability... " >&6; }
22939cat >conftest.$ac_ext <<_ACEOF
22940/* confdefs.h. */
22941_ACEOF
22942cat confdefs.h >>conftest.$ac_ext
22943cat >>conftest.$ac_ext <<_ACEOF
22944/* end confdefs.h. */
22945$ac_includes_default
22946#include <$ac_header>
22947_ACEOF
22948rm -f conftest.$ac_objext
22949if { (ac_try="$ac_compile"
22950case "(($ac_try" in
22951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22952 *) ac_try_echo=$ac_try;;
22953esac
22954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22955$as_echo "$ac_try_echo") >&5
22956 (eval "$ac_compile") 2>conftest.er1
22957 ac_status=$?
22958 grep -v '^ *+' conftest.er1 >conftest.err
22959 rm -f conftest.er1
22960 cat conftest.err >&5
22961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } && {
22963 test -z "$ac_c_werror_flag" ||
22964 test ! -s conftest.err
22965 } && test -s conftest.$ac_objext; then
22966 ac_header_compiler=yes
22967else
22968 $as_echo "$as_me: failed program was:" >&5
22969sed 's/^/| /' conftest.$ac_ext >&5
22970
22971 ac_header_compiler=no
22972fi
22973
22974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22975{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22976$as_echo "$ac_header_compiler" >&6; }
22977
22978# Is the header present?
22979{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22980$as_echo_n "checking $ac_header presence... " >&6; }
22981cat >conftest.$ac_ext <<_ACEOF
22982/* confdefs.h. */
22983_ACEOF
22984cat confdefs.h >>conftest.$ac_ext
22985cat >>conftest.$ac_ext <<_ACEOF
22986/* end confdefs.h. */
22987#include <$ac_header>
22988_ACEOF
22989if { (ac_try="$ac_cpp conftest.$ac_ext"
22990case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22993esac
22994eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22995$as_echo "$ac_try_echo") >&5
22996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22997 ac_status=$?
22998 grep -v '^ *+' conftest.er1 >conftest.err
22999 rm -f conftest.er1
23000 cat conftest.err >&5
23001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } >/dev/null && {
23003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23004 test ! -s conftest.err
23005 }; then
23006 ac_header_preproc=yes
23007else
23008 $as_echo "$as_me: failed program was:" >&5
23009sed 's/^/| /' conftest.$ac_ext >&5
23010
23011 ac_header_preproc=no
23012fi
23013
23014rm -f conftest.err conftest.$ac_ext
23015{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23016$as_echo "$ac_header_preproc" >&6; }
23017
23018# So? What about this header?
23019case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23020 yes:no: )
23021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23022$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23024$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23025 ac_header_preproc=yes
23026 ;;
23027 no:yes:* )
23028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23029$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23031$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23033$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23035$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23037$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23039$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23040
23041 ;;
23042esac
23043{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23044$as_echo_n "checking for $ac_header... " >&6; }
23045if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23046 $as_echo_n "(cached) " >&6
23047else
23048 eval "$as_ac_Header=\$ac_header_preproc"
23049fi
23050ac_res=`eval 'as_val=${'$as_ac_Header'}
23051 $as_echo "$as_val"'`
23052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23053$as_echo "$ac_res" >&6; }
23054
23055fi
23056if test `eval 'as_val=${'$as_ac_Header'}
23057 $as_echo "$as_val"'` = yes; then
23058 cat >>confdefs.h <<_ACEOF 12655 cat >>confdefs.h <<_ACEOF
23059#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12656#define HAVE_DES_H 1
23060_ACEOF
23061
23062else
23063
23064for ac_header in kerberosIV/des.h
23065do
23066as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23067if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23068 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23069$as_echo_n "checking for $ac_header... " >&6; }
23070if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23071 $as_echo_n "(cached) " >&6
23072fi
23073ac_res=`eval 'as_val=${'$as_ac_Header'}
23074 $as_echo "$as_val"'`
23075 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23076$as_echo "$ac_res" >&6; }
23077else
23078 # Is the header compilable?
23079{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23080$as_echo_n "checking $ac_header usability... " >&6; }
23081cat >conftest.$ac_ext <<_ACEOF
23082/* confdefs.h. */
23083_ACEOF
23084cat confdefs.h >>conftest.$ac_ext
23085cat >>conftest.$ac_ext <<_ACEOF
23086/* end confdefs.h. */
23087$ac_includes_default
23088#include <$ac_header>
23089_ACEOF
23090rm -f conftest.$ac_objext
23091if { (ac_try="$ac_compile"
23092case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23095esac
23096eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23097$as_echo "$ac_try_echo") >&5
23098 (eval "$ac_compile") 2>conftest.er1
23099 ac_status=$?
23100 grep -v '^ *+' conftest.er1 >conftest.err
23101 rm -f conftest.er1
23102 cat conftest.err >&5
23103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } && {
23105 test -z "$ac_c_werror_flag" ||
23106 test ! -s conftest.err
23107 } && test -s conftest.$ac_objext; then
23108 ac_header_compiler=yes
23109else
23110 $as_echo "$as_me: failed program was:" >&5
23111sed 's/^/| /' conftest.$ac_ext >&5
23112
23113 ac_header_compiler=no
23114fi
23115
23116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23118$as_echo "$ac_header_compiler" >&6; }
23119
23120# Is the header present?
23121{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23122$as_echo_n "checking $ac_header presence... " >&6; }
23123cat >conftest.$ac_ext <<_ACEOF
23124/* confdefs.h. */
23125_ACEOF
23126cat confdefs.h >>conftest.$ac_ext
23127cat >>conftest.$ac_ext <<_ACEOF
23128/* end confdefs.h. */
23129#include <$ac_header>
23130_ACEOF 12657_ACEOF
23131if { (ac_try="$ac_cpp conftest.$ac_ext"
23132case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23135esac
23136eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23137$as_echo "$ac_try_echo") >&5
23138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23139 ac_status=$?
23140 grep -v '^ *+' conftest.er1 >conftest.err
23141 rm -f conftest.er1
23142 cat conftest.err >&5
23143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } >/dev/null && {
23145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23146 test ! -s conftest.err
23147 }; then
23148 ac_header_preproc=yes
23149else
23150 $as_echo "$as_me: failed program was:" >&5
23151sed 's/^/| /' conftest.$ac_ext >&5
23152
23153 ac_header_preproc=no
23154fi
23155
23156rm -f conftest.err conftest.$ac_ext
23157{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23158$as_echo "$ac_header_preproc" >&6; }
23159 12658
23160# So? What about this header?
23161case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23162 yes:no: )
23163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23164$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23166$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23167 ac_header_preproc=yes
23168 ;;
23169 no:yes:* )
23170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23171$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23172 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23173$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23174 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23175$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23176 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23177$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23178 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23179$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23180 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23181$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23182
23183 ;;
23184esac
23185{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23186$as_echo_n "checking for $ac_header... " >&6; }
23187if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23188 $as_echo_n "(cached) " >&6
23189else 12659else
23190 eval "$as_ac_Header=\$ac_header_preproc" 12660 for ac_header in kerberosIV/des.h
23191fi 12661do :
23192ac_res=`eval 'as_val=${'$as_ac_Header'} 12662 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default"
23193 $as_echo "$as_val"'` 12663if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then :
23194 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23195$as_echo "$ac_res" >&6; }
23196
23197fi
23198if test `eval 'as_val=${'$as_ac_Header'}
23199 $as_echo "$as_val"'` = yes; then
23200 cat >>confdefs.h <<_ACEOF 12664 cat >>confdefs.h <<_ACEOF
23201#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12665#define HAVE_KERBEROSIV_DES_H 1
23202_ACEOF
23203
23204else
23205
23206for ac_header in kerberos/des.h
23207do
23208as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23209if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23210 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23211$as_echo_n "checking for $ac_header... " >&6; }
23212if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23213 $as_echo_n "(cached) " >&6
23214fi
23215ac_res=`eval 'as_val=${'$as_ac_Header'}
23216 $as_echo "$as_val"'`
23217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23218$as_echo "$ac_res" >&6; }
23219else
23220 # Is the header compilable?
23221{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23222$as_echo_n "checking $ac_header usability... " >&6; }
23223cat >conftest.$ac_ext <<_ACEOF
23224/* confdefs.h. */
23225_ACEOF
23226cat confdefs.h >>conftest.$ac_ext
23227cat >>conftest.$ac_ext <<_ACEOF
23228/* end confdefs.h. */
23229$ac_includes_default
23230#include <$ac_header>
23231_ACEOF
23232rm -f conftest.$ac_objext
23233if { (ac_try="$ac_compile"
23234case "(($ac_try" in
23235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23236 *) ac_try_echo=$ac_try;;
23237esac
23238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23239$as_echo "$ac_try_echo") >&5
23240 (eval "$ac_compile") 2>conftest.er1
23241 ac_status=$?
23242 grep -v '^ *+' conftest.er1 >conftest.err
23243 rm -f conftest.er1
23244 cat conftest.err >&5
23245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } && {
23247 test -z "$ac_c_werror_flag" ||
23248 test ! -s conftest.err
23249 } && test -s conftest.$ac_objext; then
23250 ac_header_compiler=yes
23251else
23252 $as_echo "$as_me: failed program was:" >&5
23253sed 's/^/| /' conftest.$ac_ext >&5
23254
23255 ac_header_compiler=no
23256fi
23257
23258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23260$as_echo "$ac_header_compiler" >&6; }
23261
23262# Is the header present?
23263{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23264$as_echo_n "checking $ac_header presence... " >&6; }
23265cat >conftest.$ac_ext <<_ACEOF
23266/* confdefs.h. */
23267_ACEOF
23268cat confdefs.h >>conftest.$ac_ext
23269cat >>conftest.$ac_ext <<_ACEOF
23270/* end confdefs.h. */
23271#include <$ac_header>
23272_ACEOF 12666_ACEOF
23273if { (ac_try="$ac_cpp conftest.$ac_ext"
23274case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23277esac
23278eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23279$as_echo "$ac_try_echo") >&5
23280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23281 ac_status=$?
23282 grep -v '^ *+' conftest.er1 >conftest.err
23283 rm -f conftest.er1
23284 cat conftest.err >&5
23285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } >/dev/null && {
23287 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23288 test ! -s conftest.err
23289 }; then
23290 ac_header_preproc=yes
23291else
23292 $as_echo "$as_me: failed program was:" >&5
23293sed 's/^/| /' conftest.$ac_ext >&5
23294
23295 ac_header_preproc=no
23296fi
23297
23298rm -f conftest.err conftest.$ac_ext
23299{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23300$as_echo "$ac_header_preproc" >&6; }
23301 12667
23302# So? What about this header?
23303case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23304 yes:no: )
23305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23306$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23308$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23309 ac_header_preproc=yes
23310 ;;
23311 no:yes:* )
23312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23313$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23315$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23317$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23319$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23321$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23323$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23324
23325 ;;
23326esac
23327{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23328$as_echo_n "checking for $ac_header... " >&6; }
23329if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23330 $as_echo_n "(cached) " >&6
23331else 12668else
23332 eval "$as_ac_Header=\$ac_header_preproc" 12669 for ac_header in kerberos/des.h
23333fi 12670do :
23334ac_res=`eval 'as_val=${'$as_ac_Header'} 12671 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default"
23335 $as_echo "$as_val"'` 12672if test "x$ac_cv_header_kerberos_des_h" = x""yes; then :
23336 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23337$as_echo "$ac_res" >&6; }
23338
23339fi
23340if test `eval 'as_val=${'$as_ac_Header'}
23341 $as_echo "$as_val"'` = yes; then
23342 cat >>confdefs.h <<_ACEOF 12673 cat >>confdefs.h <<_ACEOF
23343#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12674#define HAVE_KERBEROS_DES_H 1
23344_ACEOF 12675_ACEOF
23345 12676
23346fi 12677fi
@@ -23355,429 +12686,30 @@ fi
23355 12686
23356done 12687done
23357 12688
23358 12689 for ac_header in krb.h
23359for ac_header in krb.h 12690do :
23360do 12691 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
23361as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12692if test "x$ac_cv_header_krb_h" = x""yes; then :
23362if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23363 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23364$as_echo_n "checking for $ac_header... " >&6; }
23365if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23366 $as_echo_n "(cached) " >&6
23367fi
23368ac_res=`eval 'as_val=${'$as_ac_Header'}
23369 $as_echo "$as_val"'`
23370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23371$as_echo "$ac_res" >&6; }
23372else
23373 # Is the header compilable?
23374{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23375$as_echo_n "checking $ac_header usability... " >&6; }
23376cat >conftest.$ac_ext <<_ACEOF
23377/* confdefs.h. */
23378_ACEOF
23379cat confdefs.h >>conftest.$ac_ext
23380cat >>conftest.$ac_ext <<_ACEOF
23381/* end confdefs.h. */
23382$ac_includes_default
23383#include <$ac_header>
23384_ACEOF
23385rm -f conftest.$ac_objext
23386if { (ac_try="$ac_compile"
23387case "(($ac_try" in
23388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23389 *) ac_try_echo=$ac_try;;
23390esac
23391eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23392$as_echo "$ac_try_echo") >&5
23393 (eval "$ac_compile") 2>conftest.er1
23394 ac_status=$?
23395 grep -v '^ *+' conftest.er1 >conftest.err
23396 rm -f conftest.er1
23397 cat conftest.err >&5
23398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } && {
23400 test -z "$ac_c_werror_flag" ||
23401 test ! -s conftest.err
23402 } && test -s conftest.$ac_objext; then
23403 ac_header_compiler=yes
23404else
23405 $as_echo "$as_me: failed program was:" >&5
23406sed 's/^/| /' conftest.$ac_ext >&5
23407
23408 ac_header_compiler=no
23409fi
23410
23411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23412{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23413$as_echo "$ac_header_compiler" >&6; }
23414
23415# Is the header present?
23416{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23417$as_echo_n "checking $ac_header presence... " >&6; }
23418cat >conftest.$ac_ext <<_ACEOF
23419/* confdefs.h. */
23420_ACEOF
23421cat confdefs.h >>conftest.$ac_ext
23422cat >>conftest.$ac_ext <<_ACEOF
23423/* end confdefs.h. */
23424#include <$ac_header>
23425_ACEOF
23426if { (ac_try="$ac_cpp conftest.$ac_ext"
23427case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23430esac
23431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23432$as_echo "$ac_try_echo") >&5
23433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23434 ac_status=$?
23435 grep -v '^ *+' conftest.er1 >conftest.err
23436 rm -f conftest.er1
23437 cat conftest.err >&5
23438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } >/dev/null && {
23440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23441 test ! -s conftest.err
23442 }; then
23443 ac_header_preproc=yes
23444else
23445 $as_echo "$as_me: failed program was:" >&5
23446sed 's/^/| /' conftest.$ac_ext >&5
23447
23448 ac_header_preproc=no
23449fi
23450
23451rm -f conftest.err conftest.$ac_ext
23452{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23453$as_echo "$ac_header_preproc" >&6; }
23454
23455# So? What about this header?
23456case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23457 yes:no: )
23458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23459$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23461$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23462 ac_header_preproc=yes
23463 ;;
23464 no:yes:* )
23465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23466$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23468$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23470$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23472$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23474$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23475 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23476$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23477
23478 ;;
23479esac
23480{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23481$as_echo_n "checking for $ac_header... " >&6; }
23482if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23483 $as_echo_n "(cached) " >&6
23484else
23485 eval "$as_ac_Header=\$ac_header_preproc"
23486fi
23487ac_res=`eval 'as_val=${'$as_ac_Header'}
23488 $as_echo "$as_val"'`
23489 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23490$as_echo "$ac_res" >&6; }
23491
23492fi
23493if test `eval 'as_val=${'$as_ac_Header'}
23494 $as_echo "$as_val"'` = yes; then
23495 cat >>confdefs.h <<_ACEOF 12693 cat >>confdefs.h <<_ACEOF
23496#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12694#define HAVE_KRB_H 1
23497_ACEOF
23498
23499else
23500
23501for ac_header in kerberosIV/krb.h
23502do
23503as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23504if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23505 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23506$as_echo_n "checking for $ac_header... " >&6; }
23507if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23508 $as_echo_n "(cached) " >&6
23509fi
23510ac_res=`eval 'as_val=${'$as_ac_Header'}
23511 $as_echo "$as_val"'`
23512 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23513$as_echo "$ac_res" >&6; }
23514else
23515 # Is the header compilable?
23516{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23517$as_echo_n "checking $ac_header usability... " >&6; }
23518cat >conftest.$ac_ext <<_ACEOF
23519/* confdefs.h. */
23520_ACEOF
23521cat confdefs.h >>conftest.$ac_ext
23522cat >>conftest.$ac_ext <<_ACEOF
23523/* end confdefs.h. */
23524$ac_includes_default
23525#include <$ac_header>
23526_ACEOF
23527rm -f conftest.$ac_objext
23528if { (ac_try="$ac_compile"
23529case "(($ac_try" in
23530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23532esac
23533eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23534$as_echo "$ac_try_echo") >&5
23535 (eval "$ac_compile") 2>conftest.er1
23536 ac_status=$?
23537 grep -v '^ *+' conftest.er1 >conftest.err
23538 rm -f conftest.er1
23539 cat conftest.err >&5
23540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); } && {
23542 test -z "$ac_c_werror_flag" ||
23543 test ! -s conftest.err
23544 } && test -s conftest.$ac_objext; then
23545 ac_header_compiler=yes
23546else
23547 $as_echo "$as_me: failed program was:" >&5
23548sed 's/^/| /' conftest.$ac_ext >&5
23549
23550 ac_header_compiler=no
23551fi
23552
23553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23554{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23555$as_echo "$ac_header_compiler" >&6; }
23556
23557# Is the header present?
23558{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23559$as_echo_n "checking $ac_header presence... " >&6; }
23560cat >conftest.$ac_ext <<_ACEOF
23561/* confdefs.h. */
23562_ACEOF
23563cat confdefs.h >>conftest.$ac_ext
23564cat >>conftest.$ac_ext <<_ACEOF
23565/* end confdefs.h. */
23566#include <$ac_header>
23567_ACEOF 12695_ACEOF
23568if { (ac_try="$ac_cpp conftest.$ac_ext"
23569case "(($ac_try" in
23570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23571 *) ac_try_echo=$ac_try;;
23572esac
23573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23574$as_echo "$ac_try_echo") >&5
23575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } >/dev/null && {
23582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23583 test ! -s conftest.err
23584 }; then
23585 ac_header_preproc=yes
23586else
23587 $as_echo "$as_me: failed program was:" >&5
23588sed 's/^/| /' conftest.$ac_ext >&5
23589
23590 ac_header_preproc=no
23591fi
23592 12696
23593rm -f conftest.err conftest.$ac_ext
23594{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23595$as_echo "$ac_header_preproc" >&6; }
23596
23597# So? What about this header?
23598case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23599 yes:no: )
23600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23601$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23603$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23604 ac_header_preproc=yes
23605 ;;
23606 no:yes:* )
23607 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23608$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23609 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23610$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23611 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23612$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23613 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23614$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23615 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23616$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23618$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23619
23620 ;;
23621esac
23622{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23623$as_echo_n "checking for $ac_header... " >&6; }
23624if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23625 $as_echo_n "(cached) " >&6
23626else 12697else
23627 eval "$as_ac_Header=\$ac_header_preproc" 12698 for ac_header in kerberosIV/krb.h
23628fi 12699do :
23629ac_res=`eval 'as_val=${'$as_ac_Header'} 12700 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default"
23630 $as_echo "$as_val"'` 12701if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then :
23631 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23632$as_echo "$ac_res" >&6; }
23633
23634fi
23635if test `eval 'as_val=${'$as_ac_Header'}
23636 $as_echo "$as_val"'` = yes; then
23637 cat >>confdefs.h <<_ACEOF 12702 cat >>confdefs.h <<_ACEOF
23638#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12703#define HAVE_KERBEROSIV_KRB_H 1
23639_ACEOF 12704_ACEOF
23640 12705
23641else 12706else
23642 12707 for ac_header in kerberos/krb.h
23643for ac_header in kerberos/krb.h 12708do :
23644do 12709 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default"
23645as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12710if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then :
23646if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23647 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23648$as_echo_n "checking for $ac_header... " >&6; }
23649if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23650 $as_echo_n "(cached) " >&6
23651fi
23652ac_res=`eval 'as_val=${'$as_ac_Header'}
23653 $as_echo "$as_val"'`
23654 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23655$as_echo "$ac_res" >&6; }
23656else
23657 # Is the header compilable?
23658{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23659$as_echo_n "checking $ac_header usability... " >&6; }
23660cat >conftest.$ac_ext <<_ACEOF
23661/* confdefs.h. */
23662_ACEOF
23663cat confdefs.h >>conftest.$ac_ext
23664cat >>conftest.$ac_ext <<_ACEOF
23665/* end confdefs.h. */
23666$ac_includes_default
23667#include <$ac_header>
23668_ACEOF
23669rm -f conftest.$ac_objext
23670if { (ac_try="$ac_compile"
23671case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23674esac
23675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23676$as_echo "$ac_try_echo") >&5
23677 (eval "$ac_compile") 2>conftest.er1
23678 ac_status=$?
23679 grep -v '^ *+' conftest.er1 >conftest.err
23680 rm -f conftest.er1
23681 cat conftest.err >&5
23682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); } && {
23684 test -z "$ac_c_werror_flag" ||
23685 test ! -s conftest.err
23686 } && test -s conftest.$ac_objext; then
23687 ac_header_compiler=yes
23688else
23689 $as_echo "$as_me: failed program was:" >&5
23690sed 's/^/| /' conftest.$ac_ext >&5
23691
23692 ac_header_compiler=no
23693fi
23694
23695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23697$as_echo "$ac_header_compiler" >&6; }
23698
23699# Is the header present?
23700{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23701$as_echo_n "checking $ac_header presence... " >&6; }
23702cat >conftest.$ac_ext <<_ACEOF
23703/* confdefs.h. */
23704_ACEOF
23705cat confdefs.h >>conftest.$ac_ext
23706cat >>conftest.$ac_ext <<_ACEOF
23707/* end confdefs.h. */
23708#include <$ac_header>
23709_ACEOF
23710if { (ac_try="$ac_cpp conftest.$ac_ext"
23711case "(($ac_try" in
23712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23713 *) ac_try_echo=$ac_try;;
23714esac
23715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23716$as_echo "$ac_try_echo") >&5
23717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23718 ac_status=$?
23719 grep -v '^ *+' conftest.er1 >conftest.err
23720 rm -f conftest.er1
23721 cat conftest.err >&5
23722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } >/dev/null && {
23724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23725 test ! -s conftest.err
23726 }; then
23727 ac_header_preproc=yes
23728else
23729 $as_echo "$as_me: failed program was:" >&5
23730sed 's/^/| /' conftest.$ac_ext >&5
23731
23732 ac_header_preproc=no
23733fi
23734
23735rm -f conftest.err conftest.$ac_ext
23736{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23737$as_echo "$ac_header_preproc" >&6; }
23738
23739# So? What about this header?
23740case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23741 yes:no: )
23742 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23743$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23744 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23745$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23746 ac_header_preproc=yes
23747 ;;
23748 no:yes:* )
23749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23750$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23752$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23754$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23756$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23758$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23760$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23761
23762 ;;
23763esac
23764{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23765$as_echo_n "checking for $ac_header... " >&6; }
23766if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23767 $as_echo_n "(cached) " >&6
23768else
23769 eval "$as_ac_Header=\$ac_header_preproc"
23770fi
23771ac_res=`eval 'as_val=${'$as_ac_Header'}
23772 $as_echo "$as_val"'`
23773 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23774$as_echo "$ac_res" >&6; }
23775
23776fi
23777if test `eval 'as_val=${'$as_ac_Header'}
23778 $as_echo "$as_val"'` = yes; then
23779 cat >>confdefs.h <<_ACEOF 12711 cat >>confdefs.h <<_ACEOF
23780#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12712#define HAVE_KERBEROS_KRB_H 1
23781_ACEOF 12713_ACEOF
23782 12714
23783fi 12715fi
@@ -23793,145 +12725,12 @@ fi
23793done 12725done
23794 12726
23795 fi 12727 fi
23796 12728 for ac_header in com_err.h
23797for ac_header in com_err.h 12729do :
23798do 12730 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default"
23799as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12731if test "x$ac_cv_header_com_err_h" = x""yes; then :
23800if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23801 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23802$as_echo_n "checking for $ac_header... " >&6; }
23803if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23804 $as_echo_n "(cached) " >&6
23805fi
23806ac_res=`eval 'as_val=${'$as_ac_Header'}
23807 $as_echo "$as_val"'`
23808 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23809$as_echo "$ac_res" >&6; }
23810else
23811 # Is the header compilable?
23812{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23813$as_echo_n "checking $ac_header usability... " >&6; }
23814cat >conftest.$ac_ext <<_ACEOF
23815/* confdefs.h. */
23816_ACEOF
23817cat confdefs.h >>conftest.$ac_ext
23818cat >>conftest.$ac_ext <<_ACEOF
23819/* end confdefs.h. */
23820$ac_includes_default
23821#include <$ac_header>
23822_ACEOF
23823rm -f conftest.$ac_objext
23824if { (ac_try="$ac_compile"
23825case "(($ac_try" in
23826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23827 *) ac_try_echo=$ac_try;;
23828esac
23829eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23830$as_echo "$ac_try_echo") >&5
23831 (eval "$ac_compile") 2>conftest.er1
23832 ac_status=$?
23833 grep -v '^ *+' conftest.er1 >conftest.err
23834 rm -f conftest.er1
23835 cat conftest.err >&5
23836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } && {
23838 test -z "$ac_c_werror_flag" ||
23839 test ! -s conftest.err
23840 } && test -s conftest.$ac_objext; then
23841 ac_header_compiler=yes
23842else
23843 $as_echo "$as_me: failed program was:" >&5
23844sed 's/^/| /' conftest.$ac_ext >&5
23845
23846 ac_header_compiler=no
23847fi
23848
23849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23851$as_echo "$ac_header_compiler" >&6; }
23852
23853# Is the header present?
23854{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23855$as_echo_n "checking $ac_header presence... " >&6; }
23856cat >conftest.$ac_ext <<_ACEOF
23857/* confdefs.h. */
23858_ACEOF
23859cat confdefs.h >>conftest.$ac_ext
23860cat >>conftest.$ac_ext <<_ACEOF
23861/* end confdefs.h. */
23862#include <$ac_header>
23863_ACEOF
23864if { (ac_try="$ac_cpp conftest.$ac_ext"
23865case "(($ac_try" in
23866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23867 *) ac_try_echo=$ac_try;;
23868esac
23869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23870$as_echo "$ac_try_echo") >&5
23871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23872 ac_status=$?
23873 grep -v '^ *+' conftest.er1 >conftest.err
23874 rm -f conftest.er1
23875 cat conftest.err >&5
23876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } >/dev/null && {
23878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23879 test ! -s conftest.err
23880 }; then
23881 ac_header_preproc=yes
23882else
23883 $as_echo "$as_me: failed program was:" >&5
23884sed 's/^/| /' conftest.$ac_ext >&5
23885
23886 ac_header_preproc=no
23887fi
23888
23889rm -f conftest.err conftest.$ac_ext
23890{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23891$as_echo "$ac_header_preproc" >&6; }
23892
23893# So? What about this header?
23894case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23895 yes:no: )
23896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23897$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23899$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23900 ac_header_preproc=yes
23901 ;;
23902 no:yes:* )
23903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23904$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23906$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23908$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23910$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23912$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23914$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23915
23916 ;;
23917esac
23918{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23919$as_echo_n "checking for $ac_header... " >&6; }
23920if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23921 $as_echo_n "(cached) " >&6
23922else
23923 eval "$as_ac_Header=\$ac_header_preproc"
23924fi
23925ac_res=`eval 'as_val=${'$as_ac_Header'}
23926 $as_echo "$as_val"'`
23927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23928$as_echo "$ac_res" >&6; }
23929
23930fi
23931if test `eval 'as_val=${'$as_ac_Header'}
23932 $as_echo "$as_val"'` = yes; then
23933 cat >>confdefs.h <<_ACEOF 12732 cat >>confdefs.h <<_ACEOF
23934#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12733#define HAVE_COM_ERR_H 1
23935_ACEOF 12734_ACEOF
23936 12735
23937fi 12736fi
@@ -23948,19 +12747,14 @@ fi
23948 12747
23949# Solaris requires -lintl if you want strerror (which calls dgettext) 12748# Solaris requires -lintl if you want strerror (which calls dgettext)
23950# to return localized messages. 12749# to return localized messages.
23951 12750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
23952{ $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
23953$as_echo_n "checking for dgettext in -lintl... " >&6; } 12751$as_echo_n "checking for dgettext in -lintl... " >&6; }
23954if test "${ac_cv_lib_intl_dgettext+set}" = set; then 12752if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
23955 $as_echo_n "(cached) " >&6 12753 $as_echo_n "(cached) " >&6
23956else 12754else
23957 ac_check_lib_save_LIBS=$LIBS 12755 ac_check_lib_save_LIBS=$LIBS
23958LIBS="-lintl $LIBS" 12756LIBS="-lintl $LIBS"
23959cat >conftest.$ac_ext <<_ACEOF 12757cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23960/* confdefs.h. */
23961_ACEOF
23962cat confdefs.h >>conftest.$ac_ext
23963cat >>conftest.$ac_ext <<_ACEOF
23964/* end confdefs.h. */ 12758/* end confdefs.h. */
23965 12759
23966/* Override any GCC internal prototype to avoid an error. 12760/* Override any GCC internal prototype to avoid an error.
@@ -23978,43 +12772,18 @@ return dgettext ();
23978 return 0; 12772 return 0;
23979} 12773}
23980_ACEOF 12774_ACEOF
23981rm -f conftest.$ac_objext conftest$ac_exeext 12775if ac_fn_c_try_link "$LINENO"; then :
23982if { (ac_try="$ac_link"
23983case "(($ac_try" in
23984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23985 *) ac_try_echo=$ac_try;;
23986esac
23987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23988$as_echo "$ac_try_echo") >&5
23989 (eval "$ac_link") 2>conftest.er1
23990 ac_status=$?
23991 grep -v '^ *+' conftest.er1 >conftest.err
23992 rm -f conftest.er1
23993 cat conftest.err >&5
23994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } && {
23996 test -z "$ac_c_werror_flag" ||
23997 test ! -s conftest.err
23998 } && test -s conftest$ac_exeext && {
23999 test "$cross_compiling" = yes ||
24000 $as_test_x conftest$ac_exeext
24001 }; then
24002 ac_cv_lib_intl_dgettext=yes 12776 ac_cv_lib_intl_dgettext=yes
24003else 12777else
24004 $as_echo "$as_me: failed program was:" >&5 12778 ac_cv_lib_intl_dgettext=no
24005sed 's/^/| /' conftest.$ac_ext >&5
24006
24007 ac_cv_lib_intl_dgettext=no
24008fi 12779fi
24009 12780rm -f core conftest.err conftest.$ac_objext \
24010rm -rf conftest.dSYM 12781 conftest$ac_exeext conftest.$ac_ext
24011rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24012 conftest$ac_exeext conftest.$ac_ext
24013LIBS=$ac_check_lib_save_LIBS 12782LIBS=$ac_check_lib_save_LIBS
24014fi 12783fi
24015{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 12784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
24016$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 12785$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
24017if test $ac_cv_lib_intl_dgettext = yes; then 12786if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
24018 cat >>confdefs.h <<_ACEOF 12787 cat >>confdefs.h <<_ACEOF
24019#define HAVE_LIBINTL 1 12788#define HAVE_LIBINTL 1
24020_ACEOF 12789_ACEOF
@@ -24024,21 +12793,17 @@ _ACEOF
24024fi 12793fi
24025 12794
24026 12795
24027{ $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 12796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
24028$as_echo_n "checking whether localtime caches TZ... " >&6; } 12797$as_echo_n "checking whether localtime caches TZ... " >&6; }
24029if test "${emacs_cv_localtime_cache+set}" = set; then 12798if test "${emacs_cv_localtime_cache+set}" = set; then :
24030 $as_echo_n "(cached) " >&6 12799 $as_echo_n "(cached) " >&6
24031else 12800else
24032 if test x$ac_cv_func_tzset = xyes; then 12801 if test x$ac_cv_func_tzset = xyes; then
24033if test "$cross_compiling" = yes; then 12802if test "$cross_compiling" = yes; then :
24034 # If we have tzset, assume the worst when cross-compiling. 12803 # If we have tzset, assume the worst when cross-compiling.
24035emacs_cv_localtime_cache=yes 12804emacs_cv_localtime_cache=yes
24036else 12805else
24037 cat >conftest.$ac_ext <<_ACEOF 12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038/* confdefs.h. */
24039_ACEOF
24040cat confdefs.h >>conftest.$ac_ext
24041cat >>conftest.$ac_ext <<_ACEOF
24042/* end confdefs.h. */ 12807/* end confdefs.h. */
24043#include <time.h> 12808#include <time.h>
24044extern char **environ; 12809extern char **environ;
@@ -24070,170 +12835,48 @@ main()
24070 exit (0); 12835 exit (0);
24071} 12836}
24072_ACEOF 12837_ACEOF
24073rm -f conftest$ac_exeext 12838if ac_fn_c_try_run "$LINENO"; then :
24074if { (ac_try="$ac_link"
24075case "(($ac_try" in
24076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24077 *) ac_try_echo=$ac_try;;
24078esac
24079eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24080$as_echo "$ac_try_echo") >&5
24081 (eval "$ac_link") 2>&5
24082 ac_status=$?
24083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24085 { (case "(($ac_try" in
24086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24087 *) ac_try_echo=$ac_try;;
24088esac
24089eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24090$as_echo "$ac_try_echo") >&5
24091 (eval "$ac_try") 2>&5
24092 ac_status=$?
24093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; }; then
24095 emacs_cv_localtime_cache=no 12839 emacs_cv_localtime_cache=no
24096else 12840else
24097 $as_echo "$as_me: program exited with status $ac_status" >&5 12841 emacs_cv_localtime_cache=yes
24098$as_echo "$as_me: failed program was:" >&5
24099sed 's/^/| /' conftest.$ac_ext >&5
24100
24101( exit $ac_status )
24102emacs_cv_localtime_cache=yes
24103fi 12842fi
24104rm -rf conftest.dSYM 12843rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24105rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12844 conftest.$ac_objext conftest.beam conftest.$ac_ext
24106fi 12845fi
24107 12846
24108
24109else 12847else
24110 # If we lack tzset, report that localtime does not cache TZ, 12848 # If we lack tzset, report that localtime does not cache TZ,
24111 # since we can't invalidate the cache if we don't have tzset. 12849 # since we can't invalidate the cache if we don't have tzset.
24112 emacs_cv_localtime_cache=no 12850 emacs_cv_localtime_cache=no
24113fi 12851fi
24114fi 12852fi
24115{ $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 12853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5
24116$as_echo "$emacs_cv_localtime_cache" >&6; } 12854$as_echo "$emacs_cv_localtime_cache" >&6; }
24117if test $emacs_cv_localtime_cache = yes; then 12855if test $emacs_cv_localtime_cache = yes; then
24118 12856
24119cat >>confdefs.h <<\_ACEOF 12857$as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h
24120#define LOCALTIME_CACHE 1
24121_ACEOF
24122 12858
24123fi 12859fi
24124 12860
24125if test "x$HAVE_TIMEVAL" = xyes; then 12861if test "x$HAVE_TIMEVAL" = xyes; then
24126 12862 for ac_func in gettimeofday
24127for ac_func in gettimeofday 12863do :
24128do 12864 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
24129as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12865if test "x$ac_cv_func_gettimeofday" = x""yes; then :
24130{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24131$as_echo_n "checking for $ac_func... " >&6; }
24132if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24133 $as_echo_n "(cached) " >&6
24134else
24135 cat >conftest.$ac_ext <<_ACEOF
24136/* confdefs.h. */
24137_ACEOF
24138cat confdefs.h >>conftest.$ac_ext
24139cat >>conftest.$ac_ext <<_ACEOF
24140/* end confdefs.h. */
24141/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24143#define $ac_func innocuous_$ac_func
24144
24145/* System header to define __stub macros and hopefully few prototypes,
24146 which can conflict with char $ac_func (); below.
24147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24148 <limits.h> exists even on freestanding compilers. */
24149
24150#ifdef __STDC__
24151# include <limits.h>
24152#else
24153# include <assert.h>
24154#endif
24155
24156#undef $ac_func
24157
24158/* Override any GCC internal prototype to avoid an error.
24159 Use char because int might match the return type of a GCC
24160 builtin and then its argument prototype would still apply. */
24161#ifdef __cplusplus
24162extern "C"
24163#endif
24164char $ac_func ();
24165/* The GNU C library defines this for functions which it implements
24166 to always fail with ENOSYS. Some functions are actually named
24167 something starting with __ and the normal name is an alias. */
24168#if defined __stub_$ac_func || defined __stub___$ac_func
24169choke me
24170#endif
24171
24172int
24173main ()
24174{
24175return $ac_func ();
24176 ;
24177 return 0;
24178}
24179_ACEOF
24180rm -f conftest.$ac_objext conftest$ac_exeext
24181if { (ac_try="$ac_link"
24182case "(($ac_try" in
24183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24184 *) ac_try_echo=$ac_try;;
24185esac
24186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24187$as_echo "$ac_try_echo") >&5
24188 (eval "$ac_link") 2>conftest.er1
24189 ac_status=$?
24190 grep -v '^ *+' conftest.er1 >conftest.err
24191 rm -f conftest.er1
24192 cat conftest.err >&5
24193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194 (exit $ac_status); } && {
24195 test -z "$ac_c_werror_flag" ||
24196 test ! -s conftest.err
24197 } && test -s conftest$ac_exeext && {
24198 test "$cross_compiling" = yes ||
24199 $as_test_x conftest$ac_exeext
24200 }; then
24201 eval "$as_ac_var=yes"
24202else
24203 $as_echo "$as_me: failed program was:" >&5
24204sed 's/^/| /' conftest.$ac_ext >&5
24205
24206 eval "$as_ac_var=no"
24207fi
24208
24209rm -rf conftest.dSYM
24210rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24211 conftest$ac_exeext conftest.$ac_ext
24212fi
24213ac_res=`eval 'as_val=${'$as_ac_var'}
24214 $as_echo "$as_val"'`
24215 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24216$as_echo "$ac_res" >&6; }
24217if test `eval 'as_val=${'$as_ac_var'}
24218 $as_echo "$as_val"'` = yes; then
24219 cat >>confdefs.h <<_ACEOF 12866 cat >>confdefs.h <<_ACEOF
24220#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12867#define HAVE_GETTIMEOFDAY 1
24221_ACEOF 12868_ACEOF
24222 12869
24223fi 12870fi
24224done 12871done
24225 12872
24226 if test $ac_cv_func_gettimeofday = yes; then 12873 if test $ac_cv_func_gettimeofday = yes; then
24227 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5
24228$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 12875$as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
24229if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 12876if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then :
24230 $as_echo_n "(cached) " >&6 12877 $as_echo_n "(cached) " >&6
24231else 12878else
24232 cat >conftest.$ac_ext <<_ACEOF 12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233/* confdefs.h. */
24234_ACEOF
24235cat confdefs.h >>conftest.$ac_ext
24236cat >>conftest.$ac_ext <<_ACEOF
24237/* end confdefs.h. */ 12880/* end confdefs.h. */
24238 12881
24239#ifdef TIME_WITH_SYS_TIME 12882#ifdef TIME_WITH_SYS_TIME
@@ -24255,268 +12898,35 @@ struct timeval time;
24255 return 0; 12898 return 0;
24256} 12899}
24257_ACEOF 12900_ACEOF
24258rm -f conftest.$ac_objext 12901if ac_fn_c_try_compile "$LINENO"; then :
24259if { (ac_try="$ac_compile"
24260case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263esac
24264eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24265$as_echo "$ac_try_echo") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_c_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest.$ac_objext; then
24276 emacs_cv_gettimeofday_two_arguments=yes 12902 emacs_cv_gettimeofday_two_arguments=yes
24277else 12903else
24278 $as_echo "$as_me: failed program was:" >&5 12904 emacs_cv_gettimeofday_two_arguments=no
24279sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 emacs_cv_gettimeofday_two_arguments=no
24282fi 12905fi
24283
24284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285fi 12907fi
24286{ $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 12908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5
24287$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } 12909$as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; }
24288 if test $emacs_cv_gettimeofday_two_arguments = no; then 12910 if test $emacs_cv_gettimeofday_two_arguments = no; then
24289 12911
24290cat >>confdefs.h <<\_ACEOF 12912$as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h
24291#define GETTIMEOFDAY_ONE_ARGUMENT 1
24292_ACEOF
24293 12913
24294 fi 12914 fi
24295 fi 12915 fi
24296fi 12916fi
24297 12917
24298ok_so_far=yes 12918ok_so_far=yes
24299{ $as_echo "$as_me:$LINENO: checking for socket" >&5 12919ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
24300$as_echo_n "checking for socket... " >&6; } 12920if test "x$ac_cv_func_socket" = x""yes; then :
24301if test "${ac_cv_func_socket+set}" = set; then
24302 $as_echo_n "(cached) " >&6
24303else
24304 cat >conftest.$ac_ext <<_ACEOF
24305/* confdefs.h. */
24306_ACEOF
24307cat confdefs.h >>conftest.$ac_ext
24308cat >>conftest.$ac_ext <<_ACEOF
24309/* end confdefs.h. */
24310/* Define socket to an innocuous variant, in case <limits.h> declares socket.
24311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24312#define socket innocuous_socket
24313
24314/* System header to define __stub macros and hopefully few prototypes,
24315 which can conflict with char socket (); below.
24316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24317 <limits.h> exists even on freestanding compilers. */
24318
24319#ifdef __STDC__
24320# include <limits.h>
24321#else
24322# include <assert.h>
24323#endif
24324
24325#undef socket
24326
24327/* Override any GCC internal prototype to avoid an error.
24328 Use char because int might match the return type of a GCC
24329 builtin and then its argument prototype would still apply. */
24330#ifdef __cplusplus
24331extern "C"
24332#endif
24333char socket ();
24334/* The GNU C library defines this for functions which it implements
24335 to always fail with ENOSYS. Some functions are actually named
24336 something starting with __ and the normal name is an alias. */
24337#if defined __stub_socket || defined __stub___socket
24338choke me
24339#endif
24340
24341int
24342main ()
24343{
24344return socket ();
24345 ;
24346 return 0;
24347}
24348_ACEOF
24349rm -f conftest.$ac_objext conftest$ac_exeext
24350if { (ac_try="$ac_link"
24351case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354esac
24355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24356$as_echo "$ac_try_echo") >&5
24357 (eval "$ac_link") 2>conftest.er1
24358 ac_status=$?
24359 grep -v '^ *+' conftest.er1 >conftest.err
24360 rm -f conftest.er1
24361 cat conftest.err >&5
24362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); } && {
24364 test -z "$ac_c_werror_flag" ||
24365 test ! -s conftest.err
24366 } && test -s conftest$ac_exeext && {
24367 test "$cross_compiling" = yes ||
24368 $as_test_x conftest$ac_exeext
24369 }; then
24370 ac_cv_func_socket=yes
24371else
24372 $as_echo "$as_me: failed program was:" >&5
24373sed 's/^/| /' conftest.$ac_ext >&5
24374
24375 ac_cv_func_socket=no
24376fi
24377 12921
24378rm -rf conftest.dSYM
24379rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24380 conftest$ac_exeext conftest.$ac_ext
24381fi
24382{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
24383$as_echo "$ac_cv_func_socket" >&6; }
24384if test $ac_cv_func_socket = yes; then
24385 :
24386else 12922else
24387 ok_so_far=no 12923 ok_so_far=no
24388fi 12924fi
24389 12925
24390if test $ok_so_far = yes; then 12926if test $ok_so_far = yes; then
24391 if test "${ac_cv_header_netinet_in_h+set}" = set; then 12927 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
24392 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 12928if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
24393$as_echo_n "checking for netinet/in.h... " >&6; }
24394if test "${ac_cv_header_netinet_in_h+set}" = set; then
24395 $as_echo_n "(cached) " >&6
24396fi
24397{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24398$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24399else
24400 # Is the header compilable?
24401{ $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
24402$as_echo_n "checking netinet/in.h usability... " >&6; }
24403cat >conftest.$ac_ext <<_ACEOF
24404/* confdefs.h. */
24405_ACEOF
24406cat confdefs.h >>conftest.$ac_ext
24407cat >>conftest.$ac_ext <<_ACEOF
24408/* end confdefs.h. */
24409$ac_includes_default
24410#include <netinet/in.h>
24411_ACEOF
24412rm -f conftest.$ac_objext
24413if { (ac_try="$ac_compile"
24414case "(($ac_try" in
24415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416 *) ac_try_echo=$ac_try;;
24417esac
24418eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24419$as_echo "$ac_try_echo") >&5
24420 (eval "$ac_compile") 2>conftest.er1
24421 ac_status=$?
24422 grep -v '^ *+' conftest.er1 >conftest.err
24423 rm -f conftest.er1
24424 cat conftest.err >&5
24425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); } && {
24427 test -z "$ac_c_werror_flag" ||
24428 test ! -s conftest.err
24429 } && test -s conftest.$ac_objext; then
24430 ac_header_compiler=yes
24431else
24432 $as_echo "$as_me: failed program was:" >&5
24433sed 's/^/| /' conftest.$ac_ext >&5
24434
24435 ac_header_compiler=no
24436fi
24437
24438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24439{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24440$as_echo "$ac_header_compiler" >&6; }
24441
24442# Is the header present?
24443{ $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
24444$as_echo_n "checking netinet/in.h presence... " >&6; }
24445cat >conftest.$ac_ext <<_ACEOF
24446/* confdefs.h. */
24447_ACEOF
24448cat confdefs.h >>conftest.$ac_ext
24449cat >>conftest.$ac_ext <<_ACEOF
24450/* end confdefs.h. */
24451#include <netinet/in.h>
24452_ACEOF
24453if { (ac_try="$ac_cpp conftest.$ac_ext"
24454case "(($ac_try" in
24455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24456 *) ac_try_echo=$ac_try;;
24457esac
24458eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24459$as_echo "$ac_try_echo") >&5
24460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24461 ac_status=$?
24462 grep -v '^ *+' conftest.er1 >conftest.err
24463 rm -f conftest.er1
24464 cat conftest.err >&5
24465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } >/dev/null && {
24467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24468 test ! -s conftest.err
24469 }; then
24470 ac_header_preproc=yes
24471else
24472 $as_echo "$as_me: failed program was:" >&5
24473sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 ac_header_preproc=no
24476fi
24477
24478rm -f conftest.err conftest.$ac_ext
24479{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24480$as_echo "$ac_header_preproc" >&6; }
24481
24482# So? What about this header?
24483case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24484 yes:no: )
24485 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
24486$as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24487 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
24488$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
24489 ac_header_preproc=yes
24490 ;;
24491 no:yes:* )
24492 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
24493$as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
24494 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
24495$as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
24496 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
24497$as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
24498 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
24499$as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
24500 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
24501$as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
24502 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
24503$as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
24504
24505 ;;
24506esac
24507{ $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
24508$as_echo_n "checking for netinet/in.h... " >&6; }
24509if test "${ac_cv_header_netinet_in_h+set}" = set; then
24510 $as_echo_n "(cached) " >&6
24511else
24512 ac_cv_header_netinet_in_h=$ac_header_preproc
24513fi
24514{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
24515$as_echo "$ac_cv_header_netinet_in_h" >&6; }
24516 12929
24517fi
24518if test $ac_cv_header_netinet_in_h = yes; then
24519 :
24520else 12930else
24521 ok_so_far=no 12931 ok_so_far=no
24522fi 12932fi
@@ -24524,135 +12934,9 @@ fi
24524 12934
24525fi 12935fi
24526if test $ok_so_far = yes; then 12936if test $ok_so_far = yes; then
24527 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12937 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
24528 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 12938if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
24529$as_echo_n "checking for arpa/inet.h... " >&6; }
24530if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24531 $as_echo_n "(cached) " >&6
24532fi
24533{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24534$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
24535else
24536 # Is the header compilable?
24537{ $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
24538$as_echo_n "checking arpa/inet.h usability... " >&6; }
24539cat >conftest.$ac_ext <<_ACEOF
24540/* confdefs.h. */
24541_ACEOF
24542cat confdefs.h >>conftest.$ac_ext
24543cat >>conftest.$ac_ext <<_ACEOF
24544/* end confdefs.h. */
24545$ac_includes_default
24546#include <arpa/inet.h>
24547_ACEOF
24548rm -f conftest.$ac_objext
24549if { (ac_try="$ac_compile"
24550case "(($ac_try" in
24551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24552 *) ac_try_echo=$ac_try;;
24553esac
24554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24555$as_echo "$ac_try_echo") >&5
24556 (eval "$ac_compile") 2>conftest.er1
24557 ac_status=$?
24558 grep -v '^ *+' conftest.er1 >conftest.err
24559 rm -f conftest.er1
24560 cat conftest.err >&5
24561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } && {
24563 test -z "$ac_c_werror_flag" ||
24564 test ! -s conftest.err
24565 } && test -s conftest.$ac_objext; then
24566 ac_header_compiler=yes
24567else
24568 $as_echo "$as_me: failed program was:" >&5
24569sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 ac_header_compiler=no
24572fi
24573
24574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24575{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24576$as_echo "$ac_header_compiler" >&6; }
24577
24578# Is the header present?
24579{ $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
24580$as_echo_n "checking arpa/inet.h presence... " >&6; }
24581cat >conftest.$ac_ext <<_ACEOF
24582/* confdefs.h. */
24583_ACEOF
24584cat confdefs.h >>conftest.$ac_ext
24585cat >>conftest.$ac_ext <<_ACEOF
24586/* end confdefs.h. */
24587#include <arpa/inet.h>
24588_ACEOF
24589if { (ac_try="$ac_cpp conftest.$ac_ext"
24590case "(($ac_try" in
24591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24592 *) ac_try_echo=$ac_try;;
24593esac
24594eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24595$as_echo "$ac_try_echo") >&5
24596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24597 ac_status=$?
24598 grep -v '^ *+' conftest.er1 >conftest.err
24599 rm -f conftest.er1
24600 cat conftest.err >&5
24601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } >/dev/null && {
24603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24604 test ! -s conftest.err
24605 }; then
24606 ac_header_preproc=yes
24607else
24608 $as_echo "$as_me: failed program was:" >&5
24609sed 's/^/| /' conftest.$ac_ext >&5
24610
24611 ac_header_preproc=no
24612fi
24613
24614rm -f conftest.err conftest.$ac_ext
24615{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24616$as_echo "$ac_header_preproc" >&6; }
24617
24618# So? What about this header?
24619case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24620 yes:no: )
24621 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
24622$as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24623 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
24624$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
24625 ac_header_preproc=yes
24626 ;;
24627 no:yes:* )
24628 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
24629$as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
24630 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
24631$as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
24632 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
24633$as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
24634 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
24635$as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
24636 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
24637$as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
24638 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
24639$as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
24640
24641 ;;
24642esac
24643{ $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
24644$as_echo_n "checking for arpa/inet.h... " >&6; }
24645if test "${ac_cv_header_arpa_inet_h+set}" = set; then
24646 $as_echo_n "(cached) " >&6
24647else
24648 ac_cv_header_arpa_inet_h=$ac_header_preproc
24649fi
24650{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
24651$as_echo "$ac_cv_header_arpa_inet_h" >&6; }
24652 12939
24653fi
24654if test $ac_cv_header_arpa_inet_h = yes; then
24655 :
24656else 12940else
24657 ok_so_far=no 12941 ok_so_far=no
24658fi 12942fi
@@ -24661,151 +12945,16 @@ fi
24661fi 12945fi
24662if test $ok_so_far = yes; then 12946if test $ok_so_far = yes; then
24663 12947
24664cat >>confdefs.h <<\_ACEOF 12948$as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h
24665#define HAVE_INET_SOCKETS 1
24666_ACEOF
24667 12949
24668fi 12950fi
24669 12951
24670
24671for ac_header in sys/ioctl.h 12952for ac_header in sys/ioctl.h
24672do 12953do :
24673as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12954 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
24674if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12955if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then :
24675 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24676$as_echo_n "checking for $ac_header... " >&6; }
24677if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24678 $as_echo_n "(cached) " >&6
24679fi
24680ac_res=`eval 'as_val=${'$as_ac_Header'}
24681 $as_echo "$as_val"'`
24682 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24683$as_echo "$ac_res" >&6; }
24684else
24685 # Is the header compilable?
24686{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24687$as_echo_n "checking $ac_header usability... " >&6; }
24688cat >conftest.$ac_ext <<_ACEOF
24689/* confdefs.h. */
24690_ACEOF
24691cat confdefs.h >>conftest.$ac_ext
24692cat >>conftest.$ac_ext <<_ACEOF
24693/* end confdefs.h. */
24694$ac_includes_default
24695#include <$ac_header>
24696_ACEOF
24697rm -f conftest.$ac_objext
24698if { (ac_try="$ac_compile"
24699case "(($ac_try" in
24700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24701 *) ac_try_echo=$ac_try;;
24702esac
24703eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24704$as_echo "$ac_try_echo") >&5
24705 (eval "$ac_compile") 2>conftest.er1
24706 ac_status=$?
24707 grep -v '^ *+' conftest.er1 >conftest.err
24708 rm -f conftest.er1
24709 cat conftest.err >&5
24710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); } && {
24712 test -z "$ac_c_werror_flag" ||
24713 test ! -s conftest.err
24714 } && test -s conftest.$ac_objext; then
24715 ac_header_compiler=yes
24716else
24717 $as_echo "$as_me: failed program was:" >&5
24718sed 's/^/| /' conftest.$ac_ext >&5
24719
24720 ac_header_compiler=no
24721fi
24722
24723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24724{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24725$as_echo "$ac_header_compiler" >&6; }
24726
24727# Is the header present?
24728{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24729$as_echo_n "checking $ac_header presence... " >&6; }
24730cat >conftest.$ac_ext <<_ACEOF
24731/* confdefs.h. */
24732_ACEOF
24733cat confdefs.h >>conftest.$ac_ext
24734cat >>conftest.$ac_ext <<_ACEOF
24735/* end confdefs.h. */
24736#include <$ac_header>
24737_ACEOF
24738if { (ac_try="$ac_cpp conftest.$ac_ext"
24739case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24742esac
24743eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24744$as_echo "$ac_try_echo") >&5
24745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24746 ac_status=$?
24747 grep -v '^ *+' conftest.er1 >conftest.err
24748 rm -f conftest.er1
24749 cat conftest.err >&5
24750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } >/dev/null && {
24752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24753 test ! -s conftest.err
24754 }; then
24755 ac_header_preproc=yes
24756else
24757 $as_echo "$as_me: failed program was:" >&5
24758sed 's/^/| /' conftest.$ac_ext >&5
24759
24760 ac_header_preproc=no
24761fi
24762
24763rm -f conftest.err conftest.$ac_ext
24764{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24765$as_echo "$ac_header_preproc" >&6; }
24766
24767# So? What about this header?
24768case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24769 yes:no: )
24770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24771$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24773$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24774 ac_header_preproc=yes
24775 ;;
24776 no:yes:* )
24777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24778$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24780$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24782$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24784$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24786$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24788$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24789
24790 ;;
24791esac
24792{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24793$as_echo_n "checking for $ac_header... " >&6; }
24794if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24795 $as_echo_n "(cached) " >&6
24796else
24797 eval "$as_ac_Header=\$ac_header_preproc"
24798fi
24799ac_res=`eval 'as_val=${'$as_ac_Header'}
24800 $as_echo "$as_val"'`
24801 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24802$as_echo "$ac_res" >&6; }
24803
24804fi
24805if test `eval 'as_val=${'$as_ac_Header'}
24806 $as_echo "$as_val"'` = yes; then
24807 cat >>confdefs.h <<_ACEOF 12956 cat >>confdefs.h <<_ACEOF
24808#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12957#define HAVE_SYS_IOCTL_H 1
24809_ACEOF 12958_ACEOF
24810 12959
24811fi 12960fi
@@ -24815,123 +12964,26 @@ done
24815 12964
24816if test -f /usr/lpp/X11/bin/smt.exp; then 12965if test -f /usr/lpp/X11/bin/smt.exp; then
24817 12966
24818cat >>confdefs.h <<\_ACEOF 12967$as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h
24819#define HAVE_AIX_SMT_EXP 1
24820_ACEOF
24821 12968
24822fi 12969fi
24823 12970
24824{ $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 12971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5
24825$as_echo_n "checking whether system supports dynamic ptys... " >&6; } 12972$as_echo_n "checking whether system supports dynamic ptys... " >&6; }
24826if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 12973if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
24827 { $as_echo "$as_me:$LINENO: result: yes" >&5 12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24828$as_echo "yes" >&6; } 12975$as_echo "yes" >&6; }
24829 12976
24830cat >>confdefs.h <<\_ACEOF 12977$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
24831#define HAVE_DEV_PTMX 1
24832_ACEOF
24833 12978
24834else 12979else
24835 { $as_echo "$as_me:$LINENO: result: no" >&5 12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24836$as_echo "no" >&6; } 12981$as_echo "no" >&6; }
24837fi 12982fi
24838 12983
24839{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5 12984ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
24840$as_echo_n "checking for pid_t... " >&6; } 12985if test "x$ac_cv_type_pid_t" = x""yes; then :
24841if test "${ac_cv_type_pid_t+set}" = set; then
24842 $as_echo_n "(cached) " >&6
24843else
24844 ac_cv_type_pid_t=no
24845cat >conftest.$ac_ext <<_ACEOF
24846/* confdefs.h. */
24847_ACEOF
24848cat confdefs.h >>conftest.$ac_ext
24849cat >>conftest.$ac_ext <<_ACEOF
24850/* end confdefs.h. */
24851$ac_includes_default
24852int
24853main ()
24854{
24855if (sizeof (pid_t))
24856 return 0;
24857 ;
24858 return 0;
24859}
24860_ACEOF
24861rm -f conftest.$ac_objext
24862if { (ac_try="$ac_compile"
24863case "(($ac_try" in
24864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24865 *) ac_try_echo=$ac_try;;
24866esac
24867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24868$as_echo "$ac_try_echo") >&5
24869 (eval "$ac_compile") 2>conftest.er1
24870 ac_status=$?
24871 grep -v '^ *+' conftest.er1 >conftest.err
24872 rm -f conftest.er1
24873 cat conftest.err >&5
24874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } && {
24876 test -z "$ac_c_werror_flag" ||
24877 test ! -s conftest.err
24878 } && test -s conftest.$ac_objext; then
24879 cat >conftest.$ac_ext <<_ACEOF
24880/* confdefs.h. */
24881_ACEOF
24882cat confdefs.h >>conftest.$ac_ext
24883cat >>conftest.$ac_ext <<_ACEOF
24884/* end confdefs.h. */
24885$ac_includes_default
24886int
24887main ()
24888{
24889if (sizeof ((pid_t)))
24890 return 0;
24891 ;
24892 return 0;
24893}
24894_ACEOF
24895rm -f conftest.$ac_objext
24896if { (ac_try="$ac_compile"
24897case "(($ac_try" in
24898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24899 *) ac_try_echo=$ac_try;;
24900esac
24901eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24902$as_echo "$ac_try_echo") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_c_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.$ac_objext; then
24913 :
24914else
24915 $as_echo "$as_me: failed program was:" >&5
24916sed 's/^/| /' conftest.$ac_ext >&5
24917
24918 ac_cv_type_pid_t=yes
24919fi
24920
24921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24922else
24923 $as_echo "$as_me: failed program was:" >&5
24924sed 's/^/| /' conftest.$ac_ext >&5
24925
24926 12986
24927fi
24928
24929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930fi
24931{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24932$as_echo "$ac_cv_type_pid_t" >&6; }
24933if test $ac_cv_type_pid_t = yes; then
24934 :
24935else 12987else
24936 12988
24937cat >>confdefs.h <<_ACEOF 12989cat >>confdefs.h <<_ACEOF
@@ -24940,245 +12992,24 @@ _ACEOF
24940 12992
24941fi 12993fi
24942 12994
24943
24944for ac_header in vfork.h 12995for ac_header in vfork.h
24945do 12996do :
24946as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12997 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
24947if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12998if test "x$ac_cv_header_vfork_h" = x""yes; then :
24948 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24949$as_echo_n "checking for $ac_header... " >&6; }
24950if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24951 $as_echo_n "(cached) " >&6
24952fi
24953ac_res=`eval 'as_val=${'$as_ac_Header'}
24954 $as_echo "$as_val"'`
24955 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24956$as_echo "$ac_res" >&6; }
24957else
24958 # Is the header compilable?
24959{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24960$as_echo_n "checking $ac_header usability... " >&6; }
24961cat >conftest.$ac_ext <<_ACEOF
24962/* confdefs.h. */
24963_ACEOF
24964cat confdefs.h >>conftest.$ac_ext
24965cat >>conftest.$ac_ext <<_ACEOF
24966/* end confdefs.h. */
24967$ac_includes_default
24968#include <$ac_header>
24969_ACEOF
24970rm -f conftest.$ac_objext
24971if { (ac_try="$ac_compile"
24972case "(($ac_try" in
24973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974 *) ac_try_echo=$ac_try;;
24975esac
24976eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24977$as_echo "$ac_try_echo") >&5
24978 (eval "$ac_compile") 2>conftest.er1
24979 ac_status=$?
24980 grep -v '^ *+' conftest.er1 >conftest.err
24981 rm -f conftest.er1
24982 cat conftest.err >&5
24983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } && {
24985 test -z "$ac_c_werror_flag" ||
24986 test ! -s conftest.err
24987 } && test -s conftest.$ac_objext; then
24988 ac_header_compiler=yes
24989else
24990 $as_echo "$as_me: failed program was:" >&5
24991sed 's/^/| /' conftest.$ac_ext >&5
24992
24993 ac_header_compiler=no
24994fi
24995
24996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24998$as_echo "$ac_header_compiler" >&6; }
24999
25000# Is the header present?
25001{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25002$as_echo_n "checking $ac_header presence... " >&6; }
25003cat >conftest.$ac_ext <<_ACEOF
25004/* confdefs.h. */
25005_ACEOF
25006cat confdefs.h >>conftest.$ac_ext
25007cat >>conftest.$ac_ext <<_ACEOF
25008/* end confdefs.h. */
25009#include <$ac_header>
25010_ACEOF
25011if { (ac_try="$ac_cpp conftest.$ac_ext"
25012case "(($ac_try" in
25013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25014 *) ac_try_echo=$ac_try;;
25015esac
25016eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25017$as_echo "$ac_try_echo") >&5
25018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25019 ac_status=$?
25020 grep -v '^ *+' conftest.er1 >conftest.err
25021 rm -f conftest.er1
25022 cat conftest.err >&5
25023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } >/dev/null && {
25025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25026 test ! -s conftest.err
25027 }; then
25028 ac_header_preproc=yes
25029else
25030 $as_echo "$as_me: failed program was:" >&5
25031sed 's/^/| /' conftest.$ac_ext >&5
25032
25033 ac_header_preproc=no
25034fi
25035
25036rm -f conftest.err conftest.$ac_ext
25037{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25038$as_echo "$ac_header_preproc" >&6; }
25039
25040# So? What about this header?
25041case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25042 yes:no: )
25043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25044$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25046$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25047 ac_header_preproc=yes
25048 ;;
25049 no:yes:* )
25050 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25051$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25052 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25053$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25055$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25057$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25059$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25061$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25062
25063 ;;
25064esac
25065{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25066$as_echo_n "checking for $ac_header... " >&6; }
25067if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25068 $as_echo_n "(cached) " >&6
25069else
25070 eval "$as_ac_Header=\$ac_header_preproc"
25071fi
25072ac_res=`eval 'as_val=${'$as_ac_Header'}
25073 $as_echo "$as_val"'`
25074 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25075$as_echo "$ac_res" >&6; }
25076
25077fi
25078if test `eval 'as_val=${'$as_ac_Header'}
25079 $as_echo "$as_val"'` = yes; then
25080 cat >>confdefs.h <<_ACEOF 12999 cat >>confdefs.h <<_ACEOF
25081#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13000#define HAVE_VFORK_H 1
25082_ACEOF 13001_ACEOF
25083 13002
25084fi 13003fi
25085 13004
25086done 13005done
25087 13006
25088
25089
25090for ac_func in fork vfork 13007for ac_func in fork vfork
25091do 13008do :
25092as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25093{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13010ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25094$as_echo_n "checking for $ac_func... " >&6; } 13011eval as_val=\$$as_ac_var
25095if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13012 if test "x$as_val" = x""yes; then :
25096 $as_echo_n "(cached) " >&6
25097else
25098 cat >conftest.$ac_ext <<_ACEOF
25099/* confdefs.h. */
25100_ACEOF
25101cat confdefs.h >>conftest.$ac_ext
25102cat >>conftest.$ac_ext <<_ACEOF
25103/* end confdefs.h. */
25104/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25106#define $ac_func innocuous_$ac_func
25107
25108/* System header to define __stub macros and hopefully few prototypes,
25109 which can conflict with char $ac_func (); below.
25110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25111 <limits.h> exists even on freestanding compilers. */
25112
25113#ifdef __STDC__
25114# include <limits.h>
25115#else
25116# include <assert.h>
25117#endif
25118
25119#undef $ac_func
25120
25121/* Override any GCC internal prototype to avoid an error.
25122 Use char because int might match the return type of a GCC
25123 builtin and then its argument prototype would still apply. */
25124#ifdef __cplusplus
25125extern "C"
25126#endif
25127char $ac_func ();
25128/* The GNU C library defines this for functions which it implements
25129 to always fail with ENOSYS. Some functions are actually named
25130 something starting with __ and the normal name is an alias. */
25131#if defined __stub_$ac_func || defined __stub___$ac_func
25132choke me
25133#endif
25134
25135int
25136main ()
25137{
25138return $ac_func ();
25139 ;
25140 return 0;
25141}
25142_ACEOF
25143rm -f conftest.$ac_objext conftest$ac_exeext
25144if { (ac_try="$ac_link"
25145case "(($ac_try" in
25146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25147 *) ac_try_echo=$ac_try;;
25148esac
25149eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25150$as_echo "$ac_try_echo") >&5
25151 (eval "$ac_link") 2>conftest.er1
25152 ac_status=$?
25153 grep -v '^ *+' conftest.er1 >conftest.err
25154 rm -f conftest.er1
25155 cat conftest.err >&5
25156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } && {
25158 test -z "$ac_c_werror_flag" ||
25159 test ! -s conftest.err
25160 } && test -s conftest$ac_exeext && {
25161 test "$cross_compiling" = yes ||
25162 $as_test_x conftest$ac_exeext
25163 }; then
25164 eval "$as_ac_var=yes"
25165else
25166 $as_echo "$as_me: failed program was:" >&5
25167sed 's/^/| /' conftest.$ac_ext >&5
25168
25169 eval "$as_ac_var=no"
25170fi
25171
25172rm -rf conftest.dSYM
25173rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25174 conftest$ac_exeext conftest.$ac_ext
25175fi
25176ac_res=`eval 'as_val=${'$as_ac_var'}
25177 $as_echo "$as_val"'`
25178 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25179$as_echo "$ac_res" >&6; }
25180if test `eval 'as_val=${'$as_ac_var'}
25181 $as_echo "$as_val"'` = yes; then
25182 cat >>confdefs.h <<_ACEOF 13013 cat >>confdefs.h <<_ACEOF
25183#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13014#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25184_ACEOF 13015_ACEOF
@@ -25187,19 +13018,15 @@ fi
25187done 13018done
25188 13019
25189if test "x$ac_cv_func_fork" = xyes; then 13020if test "x$ac_cv_func_fork" = xyes; then
25190 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
25191$as_echo_n "checking for working fork... " >&6; } 13022$as_echo_n "checking for working fork... " >&6; }
25192if test "${ac_cv_func_fork_works+set}" = set; then 13023if test "${ac_cv_func_fork_works+set}" = set; then :
25193 $as_echo_n "(cached) " >&6 13024 $as_echo_n "(cached) " >&6
25194else 13025else
25195 if test "$cross_compiling" = yes; then 13026 if test "$cross_compiling" = yes; then :
25196 ac_cv_func_fork_works=cross 13027 ac_cv_func_fork_works=cross
25197else 13028else
25198 cat >conftest.$ac_ext <<_ACEOF 13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25199/* confdefs.h. */
25200_ACEOF
25201cat confdefs.h >>conftest.$ac_ext
25202cat >>conftest.$ac_ext <<_ACEOF
25203/* end confdefs.h. */ 13030/* end confdefs.h. */
25204$ac_includes_default 13031$ac_includes_default
25205int 13032int
@@ -25213,44 +13040,17 @@ main ()
25213 return 0; 13040 return 0;
25214} 13041}
25215_ACEOF 13042_ACEOF
25216rm -f conftest$ac_exeext 13043if ac_fn_c_try_run "$LINENO"; then :
25217if { (ac_try="$ac_link"
25218case "(($ac_try" in
25219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25220 *) ac_try_echo=$ac_try;;
25221esac
25222eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25223$as_echo "$ac_try_echo") >&5
25224 (eval "$ac_link") 2>&5
25225 ac_status=$?
25226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25228 { (case "(($ac_try" in
25229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25230 *) ac_try_echo=$ac_try;;
25231esac
25232eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25233$as_echo "$ac_try_echo") >&5
25234 (eval "$ac_try") 2>&5
25235 ac_status=$?
25236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; }; then
25238 ac_cv_func_fork_works=yes 13044 ac_cv_func_fork_works=yes
25239else 13045else
25240 $as_echo "$as_me: program exited with status $ac_status" >&5 13046 ac_cv_func_fork_works=no
25241$as_echo "$as_me: failed program was:" >&5
25242sed 's/^/| /' conftest.$ac_ext >&5
25243
25244( exit $ac_status )
25245ac_cv_func_fork_works=no
25246fi 13047fi
25247rm -rf conftest.dSYM 13048rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25248rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13049 conftest.$ac_objext conftest.beam conftest.$ac_ext
25249fi 13050fi
25250 13051
25251
25252fi 13052fi
25253{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 13053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
25254$as_echo "$ac_cv_func_fork_works" >&6; } 13054$as_echo "$ac_cv_func_fork_works" >&6; }
25255 13055
25256else 13056else
@@ -25266,24 +13066,20 @@ if test "x$ac_cv_func_fork_works" = xcross; then
25266 ac_cv_func_fork_works=yes 13066 ac_cv_func_fork_works=yes
25267 ;; 13067 ;;
25268 esac 13068 esac
25269 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 13069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
25270$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 13070$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
25271fi 13071fi
25272ac_cv_func_vfork_works=$ac_cv_func_vfork 13072ac_cv_func_vfork_works=$ac_cv_func_vfork
25273if test "x$ac_cv_func_vfork" = xyes; then 13073if test "x$ac_cv_func_vfork" = xyes; then
25274 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
25275$as_echo_n "checking for working vfork... " >&6; } 13075$as_echo_n "checking for working vfork... " >&6; }
25276if test "${ac_cv_func_vfork_works+set}" = set; then 13076if test "${ac_cv_func_vfork_works+set}" = set; then :
25277 $as_echo_n "(cached) " >&6 13077 $as_echo_n "(cached) " >&6
25278else 13078else
25279 if test "$cross_compiling" = yes; then 13079 if test "$cross_compiling" = yes; then :
25280 ac_cv_func_vfork_works=cross 13080 ac_cv_func_vfork_works=cross
25281else 13081else
25282 cat >conftest.$ac_ext <<_ACEOF 13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25283/* confdefs.h. */
25284_ACEOF
25285cat confdefs.h >>conftest.$ac_ext
25286cat >>conftest.$ac_ext <<_ACEOF
25287/* end confdefs.h. */ 13083/* end confdefs.h. */
25288/* Thanks to Paul Eggert for this test. */ 13084/* Thanks to Paul Eggert for this test. */
25289$ac_includes_default 13085$ac_includes_default
@@ -25375,85 +13171,48 @@ main ()
25375 } 13171 }
25376} 13172}
25377_ACEOF 13173_ACEOF
25378rm -f conftest$ac_exeext 13174if ac_fn_c_try_run "$LINENO"; then :
25379if { (ac_try="$ac_link"
25380case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25383esac
25384eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25385$as_echo "$ac_try_echo") >&5
25386 (eval "$ac_link") 2>&5
25387 ac_status=$?
25388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25390 { (case "(($ac_try" in
25391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25392 *) ac_try_echo=$ac_try;;
25393esac
25394eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25395$as_echo "$ac_try_echo") >&5
25396 (eval "$ac_try") 2>&5
25397 ac_status=$?
25398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); }; }; then
25400 ac_cv_func_vfork_works=yes 13175 ac_cv_func_vfork_works=yes
25401else 13176else
25402 $as_echo "$as_me: program exited with status $ac_status" >&5 13177 ac_cv_func_vfork_works=no
25403$as_echo "$as_me: failed program was:" >&5
25404sed 's/^/| /' conftest.$ac_ext >&5
25405
25406( exit $ac_status )
25407ac_cv_func_vfork_works=no
25408fi 13178fi
25409rm -rf conftest.dSYM 13179rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25410rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13180 conftest.$ac_objext conftest.beam conftest.$ac_ext
25411fi 13181fi
25412 13182
25413
25414fi 13183fi
25415{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 13184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
25416$as_echo "$ac_cv_func_vfork_works" >&6; } 13185$as_echo "$ac_cv_func_vfork_works" >&6; }
25417 13186
25418fi; 13187fi;
25419if test "x$ac_cv_func_fork_works" = xcross; then 13188if test "x$ac_cv_func_fork_works" = xcross; then
25420 ac_cv_func_vfork_works=$ac_cv_func_vfork 13189 ac_cv_func_vfork_works=$ac_cv_func_vfork
25421 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 13190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
25422$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 13191$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
25423fi 13192fi
25424 13193
25425if test "x$ac_cv_func_vfork_works" = xyes; then 13194if test "x$ac_cv_func_vfork_works" = xyes; then
25426 13195
25427cat >>confdefs.h <<\_ACEOF 13196$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
25428#define HAVE_WORKING_VFORK 1
25429_ACEOF
25430 13197
25431else 13198else
25432 13199
25433cat >>confdefs.h <<\_ACEOF 13200$as_echo "#define vfork fork" >>confdefs.h
25434#define vfork fork
25435_ACEOF
25436 13201
25437fi 13202fi
25438if test "x$ac_cv_func_fork_works" = xyes; then 13203if test "x$ac_cv_func_fork_works" = xyes; then
25439 13204
25440cat >>confdefs.h <<\_ACEOF 13205$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
25441#define HAVE_WORKING_FORK 1
25442_ACEOF
25443 13206
25444fi 13207fi
25445 13208
25446 13209
25447{ $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 13210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
25448$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 13211$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
25449if test "${emacs_cv_langinfo_codeset+set}" = set; then 13212if test "${emacs_cv_langinfo_codeset+set}" = set; then :
25450 $as_echo_n "(cached) " >&6 13213 $as_echo_n "(cached) " >&6
25451else 13214else
25452 cat >conftest.$ac_ext <<_ACEOF 13215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25453/* confdefs.h. */
25454_ACEOF
25455cat confdefs.h >>conftest.$ac_ext
25456cat >>conftest.$ac_ext <<_ACEOF
25457/* end confdefs.h. */ 13216/* end confdefs.h. */
25458#include <langinfo.h> 13217#include <langinfo.h>
25459int 13218int
@@ -25464,145 +13223,25 @@ char* cs = nl_langinfo(CODESET);
25464 return 0; 13223 return 0;
25465} 13224}
25466_ACEOF 13225_ACEOF
25467rm -f conftest.$ac_objext conftest$ac_exeext 13226if ac_fn_c_try_link "$LINENO"; then :
25468if { (ac_try="$ac_link"
25469case "(($ac_try" in
25470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25471 *) ac_try_echo=$ac_try;;
25472esac
25473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25474$as_echo "$ac_try_echo") >&5
25475 (eval "$ac_link") 2>conftest.er1
25476 ac_status=$?
25477 grep -v '^ *+' conftest.er1 >conftest.err
25478 rm -f conftest.er1
25479 cat conftest.err >&5
25480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } && {
25482 test -z "$ac_c_werror_flag" ||
25483 test ! -s conftest.err
25484 } && test -s conftest$ac_exeext && {
25485 test "$cross_compiling" = yes ||
25486 $as_test_x conftest$ac_exeext
25487 }; then
25488 emacs_cv_langinfo_codeset=yes 13227 emacs_cv_langinfo_codeset=yes
25489else 13228else
25490 $as_echo "$as_me: failed program was:" >&5 13229 emacs_cv_langinfo_codeset=no
25491sed 's/^/| /' conftest.$ac_ext >&5
25492
25493 emacs_cv_langinfo_codeset=no
25494fi 13230fi
25495 13231rm -f core conftest.err conftest.$ac_objext \
25496rm -rf conftest.dSYM 13232 conftest$ac_exeext conftest.$ac_ext
25497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25498 conftest$ac_exeext conftest.$ac_ext
25499 13233
25500fi 13234fi
25501{ $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 13235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5
25502$as_echo "$emacs_cv_langinfo_codeset" >&6; } 13236$as_echo "$emacs_cv_langinfo_codeset" >&6; }
25503if test $emacs_cv_langinfo_codeset = yes; then 13237if test $emacs_cv_langinfo_codeset = yes; then
25504 13238
25505cat >>confdefs.h <<\_ACEOF 13239$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
25506#define HAVE_LANGINFO_CODESET 1
25507_ACEOF
25508 13240
25509fi 13241fi
25510 13242
25511{ $as_echo "$as_me:$LINENO: checking for size_t" >&5 13243ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
25512$as_echo_n "checking for size_t... " >&6; } 13244if test "x$ac_cv_type_size_t" = x""yes; then :
25513if test "${ac_cv_type_size_t+set}" = set; then
25514 $as_echo_n "(cached) " >&6
25515else
25516 ac_cv_type_size_t=no
25517cat >conftest.$ac_ext <<_ACEOF
25518/* confdefs.h. */
25519_ACEOF
25520cat confdefs.h >>conftest.$ac_ext
25521cat >>conftest.$ac_ext <<_ACEOF
25522/* end confdefs.h. */
25523$ac_includes_default
25524int
25525main ()
25526{
25527if (sizeof (size_t))
25528 return 0;
25529 ;
25530 return 0;
25531}
25532_ACEOF
25533rm -f conftest.$ac_objext
25534if { (ac_try="$ac_compile"
25535case "(($ac_try" in
25536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25537 *) ac_try_echo=$ac_try;;
25538esac
25539eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25540$as_echo "$ac_try_echo") >&5
25541 (eval "$ac_compile") 2>conftest.er1
25542 ac_status=$?
25543 grep -v '^ *+' conftest.er1 >conftest.err
25544 rm -f conftest.er1
25545 cat conftest.err >&5
25546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547 (exit $ac_status); } && {
25548 test -z "$ac_c_werror_flag" ||
25549 test ! -s conftest.err
25550 } && test -s conftest.$ac_objext; then
25551 cat >conftest.$ac_ext <<_ACEOF
25552/* confdefs.h. */
25553_ACEOF
25554cat confdefs.h >>conftest.$ac_ext
25555cat >>conftest.$ac_ext <<_ACEOF
25556/* end confdefs.h. */
25557$ac_includes_default
25558int
25559main ()
25560{
25561if (sizeof ((size_t)))
25562 return 0;
25563 ;
25564 return 0;
25565}
25566_ACEOF
25567rm -f conftest.$ac_objext
25568if { (ac_try="$ac_compile"
25569case "(($ac_try" in
25570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25571 *) ac_try_echo=$ac_try;;
25572esac
25573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25574$as_echo "$ac_try_echo") >&5
25575 (eval "$ac_compile") 2>conftest.er1
25576 ac_status=$?
25577 grep -v '^ *+' conftest.er1 >conftest.err
25578 rm -f conftest.er1
25579 cat conftest.err >&5
25580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); } && {
25582 test -z "$ac_c_werror_flag" ||
25583 test ! -s conftest.err
25584 } && test -s conftest.$ac_objext; then
25585 :
25586else
25587 $as_echo "$as_me: failed program was:" >&5
25588sed 's/^/| /' conftest.$ac_ext >&5
25589
25590 ac_cv_type_size_t=yes
25591fi
25592
25593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25594else
25595 $as_echo "$as_me: failed program was:" >&5
25596sed 's/^/| /' conftest.$ac_ext >&5
25597
25598
25599fi
25600
25601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25602fi
25603{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25604$as_echo "$ac_cv_type_size_t" >&6; }
25605if test $ac_cv_type_size_t = yes; then
25606 13245
25607cat >>confdefs.h <<_ACEOF 13246cat >>confdefs.h <<_ACEOF
25608#define HAVE_SIZE_T 1 13247#define HAVE_SIZE_T 1
@@ -25612,16 +13251,12 @@ _ACEOF
25612fi 13251fi
25613 13252
25614 13253
25615{ $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 13254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
25616$as_echo_n "checking for mbstate_t... " >&6; } 13255$as_echo_n "checking for mbstate_t... " >&6; }
25617if test "${ac_cv_type_mbstate_t+set}" = set; then 13256if test "${ac_cv_type_mbstate_t+set}" = set; then :
25618 $as_echo_n "(cached) " >&6 13257 $as_echo_n "(cached) " >&6
25619else 13258else
25620 cat >conftest.$ac_ext <<_ACEOF 13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25621/* confdefs.h. */
25622_ACEOF
25623cat confdefs.h >>conftest.$ac_ext
25624cat >>conftest.$ac_ext <<_ACEOF
25625/* end confdefs.h. */ 13260/* end confdefs.h. */
25626$ac_includes_default 13261$ac_includes_default
25627# include <wchar.h> 13262# include <wchar.h>
@@ -25633,60 +13268,31 @@ mbstate_t x; return sizeof x;
25633 return 0; 13268 return 0;
25634} 13269}
25635_ACEOF 13270_ACEOF
25636rm -f conftest.$ac_objext 13271if ac_fn_c_try_compile "$LINENO"; then :
25637if { (ac_try="$ac_compile"
25638case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25641esac
25642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25643$as_echo "$ac_try_echo") >&5
25644 (eval "$ac_compile") 2>conftest.er1
25645 ac_status=$?
25646 grep -v '^ *+' conftest.er1 >conftest.err
25647 rm -f conftest.er1
25648 cat conftest.err >&5
25649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } && {
25651 test -z "$ac_c_werror_flag" ||
25652 test ! -s conftest.err
25653 } && test -s conftest.$ac_objext; then
25654 ac_cv_type_mbstate_t=yes 13272 ac_cv_type_mbstate_t=yes
25655else 13273else
25656 $as_echo "$as_me: failed program was:" >&5 13274 ac_cv_type_mbstate_t=no
25657sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 ac_cv_type_mbstate_t=no
25660fi 13275fi
25661
25662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25663fi 13277fi
25664{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 13278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
25665$as_echo "$ac_cv_type_mbstate_t" >&6; } 13279$as_echo "$ac_cv_type_mbstate_t" >&6; }
25666 if test $ac_cv_type_mbstate_t = yes; then 13280 if test $ac_cv_type_mbstate_t = yes; then
25667 13281
25668cat >>confdefs.h <<\_ACEOF 13282$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
25669#define HAVE_MBSTATE_T 1
25670_ACEOF
25671 13283
25672 else 13284 else
25673 13285
25674cat >>confdefs.h <<\_ACEOF 13286$as_echo "#define mbstate_t int" >>confdefs.h
25675#define mbstate_t int
25676_ACEOF
25677 13287
25678 fi 13288 fi
25679 13289
25680{ $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 13290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
25681$as_echo_n "checking for C restrict keyword... " >&6; } 13291$as_echo_n "checking for C restrict keyword... " >&6; }
25682if test "${emacs_cv_c_restrict+set}" = set; then 13292if test "${emacs_cv_c_restrict+set}" = set; then :
25683 $as_echo_n "(cached) " >&6 13293 $as_echo_n "(cached) " >&6
25684else 13294else
25685 cat >conftest.$ac_ext <<_ACEOF 13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25686/* confdefs.h. */
25687_ACEOF
25688cat confdefs.h >>conftest.$ac_ext
25689cat >>conftest.$ac_ext <<_ACEOF
25690/* end confdefs.h. */ 13296/* end confdefs.h. */
25691void fred (int *restrict x); 13297void fred (int *restrict x);
25692int 13298int
@@ -25697,34 +13303,10 @@ main ()
25697 return 0; 13303 return 0;
25698} 13304}
25699_ACEOF 13305_ACEOF
25700rm -f conftest.$ac_objext 13306if ac_fn_c_try_compile "$LINENO"; then :
25701if { (ac_try="$ac_compile"
25702case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25705esac
25706eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25707$as_echo "$ac_try_echo") >&5
25708 (eval "$ac_compile") 2>conftest.er1
25709 ac_status=$?
25710 grep -v '^ *+' conftest.er1 >conftest.err
25711 rm -f conftest.er1
25712 cat conftest.err >&5
25713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } && {
25715 test -z "$ac_c_werror_flag" ||
25716 test ! -s conftest.err
25717 } && test -s conftest.$ac_objext; then
25718 emacs_cv_c_restrict=yes 13307 emacs_cv_c_restrict=yes
25719else 13308else
25720 $as_echo "$as_me: failed program was:" >&5 13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25721sed 's/^/| /' conftest.$ac_ext >&5
25722
25723 cat >conftest.$ac_ext <<_ACEOF
25724/* confdefs.h. */
25725_ACEOF
25726cat confdefs.h >>conftest.$ac_ext
25727cat >>conftest.$ac_ext <<_ACEOF
25728/* end confdefs.h. */ 13310/* end confdefs.h. */
25729void fred (int *__restrict x); 13311void fred (int *__restrict x);
25730int 13312int
@@ -25735,38 +13317,16 @@ main ()
25735 return 0; 13317 return 0;
25736} 13318}
25737_ACEOF 13319_ACEOF
25738rm -f conftest.$ac_objext 13320if ac_fn_c_try_compile "$LINENO"; then :
25739if { (ac_try="$ac_compile"
25740case "(($ac_try" in
25741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25742 *) ac_try_echo=$ac_try;;
25743esac
25744eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25745$as_echo "$ac_try_echo") >&5
25746 (eval "$ac_compile") 2>conftest.er1
25747 ac_status=$?
25748 grep -v '^ *+' conftest.er1 >conftest.err
25749 rm -f conftest.er1
25750 cat conftest.err >&5
25751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); } && {
25753 test -z "$ac_c_werror_flag" ||
25754 test ! -s conftest.err
25755 } && test -s conftest.$ac_objext; then
25756 emacs_cv_c_restrict=__restrict 13321 emacs_cv_c_restrict=__restrict
25757else 13322else
25758 $as_echo "$as_me: failed program was:" >&5 13323 emacs_cv_c_restrict=no
25759sed 's/^/| /' conftest.$ac_ext >&5
25760
25761 emacs_cv_c_restrict=no
25762fi 13324fi
25763
25764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25765fi 13326fi
25766
25767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25768fi 13328fi
25769{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 13329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5
25770$as_echo "$emacs_cv_c_restrict" >&6; } 13330$as_echo "$emacs_cv_c_restrict" >&6; }
25771case "$emacs_cv_c_restrict" in 13331case "$emacs_cv_c_restrict" in
25772 yes) emacs_restrict=restrict;; 13332 yes) emacs_restrict=restrict;;
@@ -25781,16 +13341,12 @@ _ACEOF
25781 13341
25782fi 13342fi
25783 13343
25784{ $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 13344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5
25785$as_echo_n "checking for C restricted array declarations... " >&6; } 13345$as_echo_n "checking for C restricted array declarations... " >&6; }
25786if test "${emacs_cv_c_restrict_arr+set}" = set; then 13346if test "${emacs_cv_c_restrict_arr+set}" = set; then :
25787 $as_echo_n "(cached) " >&6 13347 $as_echo_n "(cached) " >&6
25788else 13348else
25789 cat >conftest.$ac_ext <<_ACEOF 13349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25790/* confdefs.h. */
25791_ACEOF
25792cat confdefs.h >>conftest.$ac_ext
25793cat >>conftest.$ac_ext <<_ACEOF
25794/* end confdefs.h. */ 13350/* end confdefs.h. */
25795void fred (int x[__restrict]); 13351void fred (int x[__restrict]);
25796int 13352int
@@ -25801,41 +13357,18 @@ main ()
25801 return 0; 13357 return 0;
25802} 13358}
25803_ACEOF 13359_ACEOF
25804rm -f conftest.$ac_objext 13360if ac_fn_c_try_compile "$LINENO"; then :
25805if { (ac_try="$ac_compile"
25806case "(($ac_try" in
25807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25808 *) ac_try_echo=$ac_try;;
25809esac
25810eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25811$as_echo "$ac_try_echo") >&5
25812 (eval "$ac_compile") 2>conftest.er1
25813 ac_status=$?
25814 grep -v '^ *+' conftest.er1 >conftest.err
25815 rm -f conftest.er1
25816 cat conftest.err >&5
25817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818 (exit $ac_status); } && {
25819 test -z "$ac_c_werror_flag" ||
25820 test ! -s conftest.err
25821 } && test -s conftest.$ac_objext; then
25822 emacs_cv_c_restrict_arr=yes 13361 emacs_cv_c_restrict_arr=yes
25823else 13362else
25824 $as_echo "$as_me: failed program was:" >&5 13363 emacs_cv_c_restrict_arr=no
25825sed 's/^/| /' conftest.$ac_ext >&5
25826
25827 emacs_cv_c_restrict_arr=no
25828fi 13364fi
25829
25830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25831fi 13366fi
25832{ $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 13367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5
25833$as_echo "$emacs_cv_c_restrict_arr" >&6; } 13368$as_echo "$emacs_cv_c_restrict_arr" >&6; }
25834if test "$emacs_cv_c_restrict_arr" = yes; then 13369if test "$emacs_cv_c_restrict_arr" = yes; then
25835 13370
25836cat >>confdefs.h <<\_ACEOF 13371$as_echo "#define __restrict_arr __restrict" >>confdefs.h
25837#define __restrict_arr __restrict
25838_ACEOF
25839 13372
25840fi 13373fi
25841 13374
@@ -25849,12 +13382,10 @@ CPPFLAGS="$REAL_CPPFLAGS"
25849version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 13382version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
25850 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 13383 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
25851if test x"${version}" = x; then 13384if test x"${version}" = x; then
25852 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 13385 as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5
25853$as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
25854 { (exit 1); exit 1; }; }
25855fi 13386fi
25856if test x"${version}" != x"$PACKAGE_VERSION"; then 13387if test x"${version}" != x"$PACKAGE_VERSION"; then
25857 { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 13388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5
25858$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} 13389$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;}
25859fi 13390fi
25860 13391
@@ -25904,6 +13435,7 @@ fi
25904 13435
25905 13436
25906 13437
13438
25907cat >>confdefs.h <<_ACEOF 13439cat >>confdefs.h <<_ACEOF
25908#define EMACS_CONFIGURATION "${canonical}" 13440#define EMACS_CONFIGURATION "${canonical}"
25909_ACEOF 13441_ACEOF
@@ -25939,18 +13471,11 @@ cat >>confdefs.h <<_ACEOF
25939_ACEOF 13471_ACEOF
25940 13472
25941 13473
25942cat >>confdefs.h <<_ACEOF
25943#define UNEXEC_SRC ${UNEXEC_SRC}
25944_ACEOF
25945
25946
25947XMENU_OBJ= 13474XMENU_OBJ=
25948XOBJ= 13475XOBJ=
25949if test "${HAVE_X_WINDOWS}" = "yes" ; then 13476if test "${HAVE_X_WINDOWS}" = "yes" ; then
25950 13477
25951cat >>confdefs.h <<\_ACEOF 13478$as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h
25952#define HAVE_X_WINDOWS 1
25953_ACEOF
25954 13479
25955 XMENU_OBJ=xmenu.o 13480 XMENU_OBJ=xmenu.o
25956 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" 13481 XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o"
@@ -25962,59 +13487,43 @@ WIDGET_OBJ=
25962if test "${USE_X_TOOLKIT}" != "none" ; then 13487if test "${USE_X_TOOLKIT}" != "none" ; then
25963 WIDGET_OBJ=widget.o 13488 WIDGET_OBJ=widget.o
25964 13489
25965cat >>confdefs.h <<\_ACEOF 13490$as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h
25966#define USE_X_TOOLKIT 1
25967_ACEOF
25968 13491
25969 if test "${USE_X_TOOLKIT}" = "LUCID"; then 13492 if test "${USE_X_TOOLKIT}" = "LUCID"; then
25970 13493
25971cat >>confdefs.h <<\_ACEOF 13494$as_echo "#define USE_LUCID 1" >>confdefs.h
25972#define USE_LUCID 1
25973_ACEOF
25974 13495
25975 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then 13496 elif test "${USE_X_TOOLKIT}" = "MOTIF"; then
25976 13497
25977cat >>confdefs.h <<\_ACEOF 13498$as_echo "#define USE_MOTIF 1" >>confdefs.h
25978#define USE_MOTIF 1
25979_ACEOF
25980 13499
25981 fi 13500 fi
25982fi 13501fi
25983 13502
25984if test "${HAVE_X11}" = "yes" ; then 13503if test "${HAVE_X11}" = "yes" ; then
25985 13504
25986cat >>confdefs.h <<\_ACEOF 13505$as_echo "#define HAVE_X11 1" >>confdefs.h
25987#define HAVE_X11 1
25988_ACEOF
25989 13506
25990fi 13507fi
25991if test "${HAVE_MENUS}" = "yes" ; then 13508if test "${HAVE_MENUS}" = "yes" ; then
25992 13509
25993cat >>confdefs.h <<\_ACEOF 13510$as_echo "#define HAVE_MENUS 1" >>confdefs.h
25994#define HAVE_MENUS 1
25995_ACEOF
25996 13511
25997fi 13512fi
25998if test "${GNU_MALLOC}" = "yes" ; then 13513if test "${GNU_MALLOC}" = "yes" ; then
25999 13514
26000cat >>confdefs.h <<\_ACEOF 13515$as_echo "#define GNU_MALLOC 1" >>confdefs.h
26001#define GNU_MALLOC 1
26002_ACEOF
26003 13516
26004fi 13517fi
26005if test "${REL_ALLOC}" = "yes" ; then 13518if test "${REL_ALLOC}" = "yes" ; then
26006 13519
26007cat >>confdefs.h <<\_ACEOF 13520$as_echo "#define REL_ALLOC 1" >>confdefs.h
26008#define REL_ALLOC 1
26009_ACEOF
26010 13521
26011fi 13522fi
26012 13523
26013 13524
26014 13525
26015 13526
26016
26017
26018#### Report on what we decided to do. 13527#### Report on what we decided to do.
26019#### Report GTK as a toolkit, even if it doesn't use Xt. 13528#### Report GTK as a toolkit, even if it doesn't use Xt.
26020#### It makes printing result more understandable as using GTK sets 13529#### It makes printing result more understandable as using GTK sets
@@ -26116,16 +13625,12 @@ cpp_undefs="`echo $srcdir $configuration $canonical unix |
26116## from Makefile.c can correctly provide the arg `-traditional' to the 13625## from Makefile.c can correctly provide the arg `-traditional' to the
26117## C preprocessor. 13626## C preprocessor.
26118 13627
26119cat >conftest.$ac_ext <<_ACEOF 13628cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26120/* confdefs.h. */
26121_ACEOF
26122cat confdefs.h >>conftest.$ac_ext
26123cat >>conftest.$ac_ext <<_ACEOF
26124/* end confdefs.h. */ 13629/* end confdefs.h. */
26125yes..yes 13630yes..yes
26126_ACEOF 13631_ACEOF
26127if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13632if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26128 $EGREP "yes..yes" >/dev/null 2>&1; then 13633 $EGREP "yes..yes" >/dev/null 2>&1; then :
26129 CPP_NEED_TRADITIONAL=no 13634 CPP_NEED_TRADITIONAL=no
26130else 13635else
26131 CPP_NEED_TRADITIONAL=yes 13636 CPP_NEED_TRADITIONAL=yes
@@ -26164,13 +13669,13 @@ _ACEOF
26164 case $ac_val in #( 13669 case $ac_val in #(
26165 *${as_nl}*) 13670 *${as_nl}*)
26166 case $ac_var in #( 13671 case $ac_var in #(
26167 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 13672 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26168$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 13673$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26169 esac 13674 esac
26170 case $ac_var in #( 13675 case $ac_var in #(
26171 _ | IFS | as_nl) ;; #( 13676 _ | IFS | as_nl) ;; #(
26172 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13677 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26173 *) $as_unset $ac_var ;; 13678 *) { eval $ac_var=; unset $ac_var;} ;;
26174 esac ;; 13679 esac ;;
26175 esac 13680 esac
26176 done 13681 done
@@ -26178,8 +13683,8 @@ $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26178 (set) 2>&1 | 13683 (set) 2>&1 |
26179 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13684 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26180 *${as_nl}ac_space=\ *) 13685 *${as_nl}ac_space=\ *)
26181 # `set' does not quote correctly, so add quotes (double-quote 13686 # `set' does not quote correctly, so add quotes: double-quote
26182 # substitution turns \\\\ into \\, and sed turns \\ into \). 13687 # substitution turns \\\\ into \\, and sed turns \\ into \.
26183 sed -n \ 13688 sed -n \
26184 "s/'/'\\\\''/g; 13689 "s/'/'\\\\''/g;
26185 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13690 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -26202,11 +13707,11 @@ $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26202if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13707if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26203 if test -w "$cache_file"; then 13708 if test -w "$cache_file"; then
26204 test "x$cache_file" != "x/dev/null" && 13709 test "x$cache_file" != "x/dev/null" &&
26205 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 13710 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26206$as_echo "$as_me: updating cache $cache_file" >&6;} 13711$as_echo "$as_me: updating cache $cache_file" >&6;}
26207 cat confcache >$cache_file 13712 cat confcache >$cache_file
26208 else 13713 else
26209 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 13714 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26210$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13715$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26211 fi 13716 fi
26212fi 13717fi
@@ -26226,8 +13731,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26226 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13731 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26227 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13732 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26228 # will be set to the directory where LIBOBJS objects are built. 13733 # will be set to the directory where LIBOBJS objects are built.
26229 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13734 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26230 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 13735 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26231done 13736done
26232LIBOBJS=$ac_libobjs 13737LIBOBJS=$ac_libobjs
26233 13738
@@ -26239,9 +13744,10 @@ LTLIBOBJS=$ac_ltlibobjs
26239ac_write_fail=0 13744ac_write_fail=0
26240ac_clean_files_save=$ac_clean_files 13745ac_clean_files_save=$ac_clean_files
26241ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13746ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26242{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13747{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26243$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13748$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26244cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13749as_write_fail=0
13750cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26245#! $SHELL 13751#! $SHELL
26246# Generated by $as_me. 13752# Generated by $as_me.
26247# Run this file to recreate the current configuration. 13753# Run this file to recreate the current configuration.
@@ -26251,17 +13757,18 @@ cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26251debug=false 13757debug=false
26252ac_cs_recheck=false 13758ac_cs_recheck=false
26253ac_cs_silent=false 13759ac_cs_silent=false
26254SHELL=\${CONFIG_SHELL-$SHELL}
26255_ACEOF
26256 13760
26257cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13761SHELL=\${CONFIG_SHELL-$SHELL}
26258## --------------------- ## 13762export SHELL
26259## M4sh Initialization. ## 13763_ASEOF
26260## --------------------- ## 13764cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13765## -------------------- ##
13766## M4sh Initialization. ##
13767## -------------------- ##
26261 13768
26262# Be more Bourne compatible 13769# Be more Bourne compatible
26263DUALCASE=1; export DUALCASE # for MKS sh 13770DUALCASE=1; export DUALCASE # for MKS sh
26264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13771if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26265 emulate sh 13772 emulate sh
26266 NULLCMD=: 13773 NULLCMD=:
26267 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13774 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -26269,23 +13776,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26269 alias -g '${1+"$@"}'='"$@"' 13776 alias -g '${1+"$@"}'='"$@"'
26270 setopt NO_GLOB_SUBST 13777 setopt NO_GLOB_SUBST
26271else 13778else
26272 case `(set -o) 2>/dev/null` in 13779 case `(set -o) 2>/dev/null` in #(
26273 *posix*) set -o posix ;; 13780 *posix*) :
13781 set -o posix ;; #(
13782 *) :
13783 ;;
26274esac 13784esac
26275
26276fi 13785fi
26277 13786
26278 13787
26279
26280
26281# PATH needs CR
26282# Avoid depending upon Character Ranges.
26283as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26284as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26285as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26286as_cr_digits='0123456789'
26287as_cr_alnum=$as_cr_Letters$as_cr_digits
26288
26289as_nl=' 13788as_nl='
26290' 13789'
26291export as_nl 13790export as_nl
@@ -26293,7 +13792,13 @@ export as_nl
26293as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13792as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26294as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13793as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26295as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13794as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26296if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13795# Prefer a ksh shell builtin over an external printf program on Solaris,
13796# but without wasting forks for bash or zsh.
13797if test -z "$BASH_VERSION$ZSH_VERSION" \
13798 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13799 as_echo='print -r --'
13800 as_echo_n='print -rn --'
13801elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26297 as_echo='printf %s\n' 13802 as_echo='printf %s\n'
26298 as_echo_n='printf %s' 13803 as_echo_n='printf %s'
26299else 13804else
@@ -26304,7 +13809,7 @@ else
26304 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13809 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26305 as_echo_n_body='eval 13810 as_echo_n_body='eval
26306 arg=$1; 13811 arg=$1;
26307 case $arg in 13812 case $arg in #(
26308 *"$as_nl"*) 13813 *"$as_nl"*)
26309 expr "X$arg" : "X\\(.*\\)$as_nl"; 13814 expr "X$arg" : "X\\(.*\\)$as_nl";
26310 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13815 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -26327,13 +13832,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
26327 } 13832 }
26328fi 13833fi
26329 13834
26330# Support unset when possible.
26331if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26332 as_unset=unset
26333else
26334 as_unset=false
26335fi
26336
26337 13835
26338# IFS 13836# IFS
26339# We need space, tab and new line, in precisely that order. Quoting is 13837# We need space, tab and new line, in precisely that order. Quoting is
@@ -26343,15 +13841,15 @@ fi
26343IFS=" "" $as_nl" 13841IFS=" "" $as_nl"
26344 13842
26345# Find who we are. Look in the path if we contain no directory separator. 13843# Find who we are. Look in the path if we contain no directory separator.
26346case $0 in 13844case $0 in #((
26347 *[\\/]* ) as_myself=$0 ;; 13845 *[\\/]* ) as_myself=$0 ;;
26348 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13846 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26349for as_dir in $PATH 13847for as_dir in $PATH
26350do 13848do
26351 IFS=$as_save_IFS 13849 IFS=$as_save_IFS
26352 test -z "$as_dir" && as_dir=. 13850 test -z "$as_dir" && as_dir=.
26353 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13851 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26354done 13852 done
26355IFS=$as_save_IFS 13853IFS=$as_save_IFS
26356 13854
26357 ;; 13855 ;;
@@ -26363,12 +13861,16 @@ if test "x$as_myself" = x; then
26363fi 13861fi
26364if test ! -f "$as_myself"; then 13862if test ! -f "$as_myself"; then
26365 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13863 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26366 { (exit 1); exit 1; } 13864 exit 1
26367fi 13865fi
26368 13866
26369# Work around bugs in pre-3.0 UWIN ksh. 13867# Unset variables that we do not need and which cause bugs (e.g. in
26370for as_var in ENV MAIL MAILPATH 13868# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26371do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 13869# suppresses any "Segmentation fault" message there. '((' could
13870# trigger a bug in pdksh 5.2.14.
13871for as_var in BASH_ENV ENV MAIL MAILPATH
13872do eval test x\${$as_var+set} = xset \
13873 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26372done 13874done
26373PS1='$ ' 13875PS1='$ '
26374PS2='> ' 13876PS2='> '
@@ -26380,7 +13882,89 @@ export LC_ALL
26380LANGUAGE=C 13882LANGUAGE=C
26381export LANGUAGE 13883export LANGUAGE
26382 13884
26383# Required to use basename. 13885# CDPATH.
13886(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13887
13888
13889# as_fn_error ERROR [LINENO LOG_FD]
13890# ---------------------------------
13891# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13892# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13893# script with status $?, using 1 if that was 0.
13894as_fn_error ()
13895{
13896 as_status=$?; test $as_status -eq 0 && as_status=1
13897 if test "$3"; then
13898 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13899 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13900 fi
13901 $as_echo "$as_me: error: $1" >&2
13902 as_fn_exit $as_status
13903} # as_fn_error
13904
13905
13906# as_fn_set_status STATUS
13907# -----------------------
13908# Set $? to STATUS, without forking.
13909as_fn_set_status ()
13910{
13911 return $1
13912} # as_fn_set_status
13913
13914# as_fn_exit STATUS
13915# -----------------
13916# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13917as_fn_exit ()
13918{
13919 set +e
13920 as_fn_set_status $1
13921 exit $1
13922} # as_fn_exit
13923
13924# as_fn_unset VAR
13925# ---------------
13926# Portably unset VAR.
13927as_fn_unset ()
13928{
13929 { eval $1=; unset $1;}
13930}
13931as_unset=as_fn_unset
13932# as_fn_append VAR VALUE
13933# ----------------------
13934# Append the text in VALUE to the end of the definition contained in VAR. Take
13935# advantage of any shell optimizations that allow amortized linear growth over
13936# repeated appends, instead of the typical quadratic growth present in naive
13937# implementations.
13938if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13939 eval 'as_fn_append ()
13940 {
13941 eval $1+=\$2
13942 }'
13943else
13944 as_fn_append ()
13945 {
13946 eval $1=\$$1\$2
13947 }
13948fi # as_fn_append
13949
13950# as_fn_arith ARG...
13951# ------------------
13952# Perform arithmetic evaluation on the ARGs, and store the result in the
13953# global $as_val. Take advantage of shells that can avoid forks. The arguments
13954# must be portable across $(()) and expr.
13955if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13956 eval 'as_fn_arith ()
13957 {
13958 as_val=$(( $* ))
13959 }'
13960else
13961 as_fn_arith ()
13962 {
13963 as_val=`expr "$@" || test $? -eq 1`
13964 }
13965fi # as_fn_arith
13966
13967
26384if expr a : '\(a\)' >/dev/null 2>&1 && 13968if expr a : '\(a\)' >/dev/null 2>&1 &&
26385 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13969 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26386 as_expr=expr 13970 as_expr=expr
@@ -26394,8 +13978,12 @@ else
26394 as_basename=false 13978 as_basename=false
26395fi 13979fi
26396 13980
13981if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13982 as_dirname=dirname
13983else
13984 as_dirname=false
13985fi
26397 13986
26398# Name of the executable.
26399as_me=`$as_basename -- "$0" || 13987as_me=`$as_basename -- "$0" ||
26400$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13988$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26401 X"$0" : 'X\(//\)$' \| \ 13989 X"$0" : 'X\(//\)$' \| \
@@ -26415,76 +14003,25 @@ $as_echo X/"$0" |
26415 } 14003 }
26416 s/.*/./; q'` 14004 s/.*/./; q'`
26417 14005
26418# CDPATH. 14006# Avoid depending upon Character Ranges.
26419$as_unset CDPATH 14007as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26420 14008as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26421 14009as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26422 14010as_cr_digits='0123456789'
26423 as_lineno_1=$LINENO 14011as_cr_alnum=$as_cr_Letters$as_cr_digits
26424 as_lineno_2=$LINENO
26425 test "x$as_lineno_1" != "x$as_lineno_2" &&
26426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26427
26428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26429 # uniformly replaced by the line number. The first 'sed' inserts a
26430 # line-number line after each line using $LINENO; the second 'sed'
26431 # does the real work. The second script uses 'N' to pair each
26432 # line-number line with the line containing $LINENO, and appends
26433 # trailing '-' during substitution so that $LINENO is not a special
26434 # case at line end.
26435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26436 # scripts with optimization help from Paolo Bonzini. Blame Lee
26437 # E. McMahon (1931-1989) for sed's syntax. :-)
26438 sed -n '
26439 p
26440 /[$]LINENO/=
26441 ' <$as_myself |
26442 sed '
26443 s/[$]LINENO.*/&-/
26444 t lineno
26445 b
26446 :lineno
26447 N
26448 :loop
26449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26450 t loop
26451 s/-\n.*//
26452 ' >$as_me.lineno &&
26453 chmod +x "$as_me.lineno" ||
26454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26455 { (exit 1); exit 1; }; }
26456
26457 # Don't try to exec as it changes $[0], causing all sort of problems
26458 # (the dirname of $[0] is not the place where we might find the
26459 # original and so on. Autoconf is especially sensitive to this).
26460 . "./$as_me.lineno"
26461 # Exit status is that of the last command.
26462 exit
26463}
26464
26465
26466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26467 as_dirname=dirname
26468else
26469 as_dirname=false
26470fi
26471 14012
26472ECHO_C= ECHO_N= ECHO_T= 14013ECHO_C= ECHO_N= ECHO_T=
26473case `echo -n x` in 14014case `echo -n x` in #(((((
26474-n*) 14015-n*)
26475 case `echo 'x\c'` in 14016 case `echo 'xy\c'` in
26476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14017 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26477 *) ECHO_C='\c';; 14018 xy) ECHO_C='\c';;
14019 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14020 ECHO_T=' ';;
26478 esac;; 14021 esac;;
26479*) 14022*)
26480 ECHO_N='-n';; 14023 ECHO_N='-n';;
26481esac 14024esac
26482if expr a : '\(a\)' >/dev/null 2>&1 &&
26483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26484 as_expr=expr
26485else
26486 as_expr=false
26487fi
26488 14025
26489rm -f conf$$ conf$$.exe conf$$.file 14026rm -f conf$$ conf$$.exe conf$$.file
26490if test -d conf$$.dir; then 14027if test -d conf$$.dir; then
@@ -26513,8 +14050,56 @@ fi
26513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14050rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26514rmdir conf$$.dir 2>/dev/null 14051rmdir conf$$.dir 2>/dev/null
26515 14052
14053
14054# as_fn_mkdir_p
14055# -------------
14056# Create "$as_dir" as a directory, including parents if necessary.
14057as_fn_mkdir_p ()
14058{
14059
14060 case $as_dir in #(
14061 -*) as_dir=./$as_dir;;
14062 esac
14063 test -d "$as_dir" || eval $as_mkdir_p || {
14064 as_dirs=
14065 while :; do
14066 case $as_dir in #(
14067 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14068 *) as_qdir=$as_dir;;
14069 esac
14070 as_dirs="'$as_qdir' $as_dirs"
14071 as_dir=`$as_dirname -- "$as_dir" ||
14072$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14073 X"$as_dir" : 'X\(//\)[^/]' \| \
14074 X"$as_dir" : 'X\(//\)$' \| \
14075 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14076$as_echo X"$as_dir" |
14077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14078 s//\1/
14079 q
14080 }
14081 /^X\(\/\/\)[^/].*/{
14082 s//\1/
14083 q
14084 }
14085 /^X\(\/\/\)$/{
14086 s//\1/
14087 q
14088 }
14089 /^X\(\/\).*/{
14090 s//\1/
14091 q
14092 }
14093 s/.*/./; q'`
14094 test -d "$as_dir" && break
14095 done
14096 test -z "$as_dirs" || eval "mkdir $as_dirs"
14097 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14098
14099
14100} # as_fn_mkdir_p
26516if mkdir -p . 2>/dev/null; then 14101if mkdir -p . 2>/dev/null; then
26517 as_mkdir_p=: 14102 as_mkdir_p='mkdir -p "$as_dir"'
26518else 14103else
26519 test -d ./-p && rmdir ./-p 14104 test -d ./-p && rmdir ./-p
26520 as_mkdir_p=false 14105 as_mkdir_p=false
@@ -26533,10 +14118,10 @@ else
26533 if test -d "$1"; then 14118 if test -d "$1"; then
26534 test -d "$1/."; 14119 test -d "$1/.";
26535 else 14120 else
26536 case $1 in 14121 case $1 in #(
26537 -*)set "./$1";; 14122 -*)set "./$1";;
26538 esac; 14123 esac;
26539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 14124 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26540 ???[sx]*):;;*)false;;esac;fi 14125 ???[sx]*):;;*)false;;esac;fi
26541 '\'' sh 14126 '\'' sh
26542 ' 14127 '
@@ -26551,13 +14136,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26551 14136
26552 14137
26553exec 6>&1 14138exec 6>&1
14139## ----------------------------------- ##
14140## Main body of $CONFIG_STATUS script. ##
14141## ----------------------------------- ##
14142_ASEOF
14143test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26554 14144
26555# Save the log message, to keep $[0] and so on meaningful, and to 14145cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14146# Save the log message, to keep $0 and so on meaningful, and to
26556# report actual input values of CONFIG_FILES etc. instead of their 14147# report actual input values of CONFIG_FILES etc. instead of their
26557# values after options handling. 14148# values after options handling.
26558ac_log=" 14149ac_log="
26559This file was extended by emacs $as_me 24.0.50, which was 14150This file was extended by emacs $as_me 24.0.50, which was
26560generated by GNU Autoconf 2.62. Invocation command line was 14151generated by GNU Autoconf 2.65. Invocation command line was
26561 14152
26562 CONFIG_FILES = $CONFIG_FILES 14153 CONFIG_FILES = $CONFIG_FILES
26563 CONFIG_HEADERS = $CONFIG_HEADERS 14154 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -26570,6 +14161,15 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
26570 14161
26571_ACEOF 14162_ACEOF
26572 14163
14164case $ac_config_files in *"
14165"*) set x $ac_config_files; shift; ac_config_files=$*;;
14166esac
14167
14168case $ac_config_headers in *"
14169"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14170esac
14171
14172
26573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14173cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26574# Files that config.status was made for. 14174# Files that config.status was made for.
26575config_files="$ac_config_files" 14175config_files="$ac_config_files"
@@ -26580,19 +14180,22 @@ _ACEOF
26580 14180
26581cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26582ac_cs_usage="\ 14182ac_cs_usage="\
26583\`$as_me' instantiates files from templates according to the 14183\`$as_me' instantiates files and other configuration actions
26584current configuration. 14184from templates according to the current configuration. Unless the files
14185and actions are specified as TAGs, all are instantiated by default.
26585 14186
26586Usage: $0 [OPTIONS] [FILE]... 14187Usage: $0 [OPTION]... [TAG]...
26587 14188
26588 -h, --help print this help, then exit 14189 -h, --help print this help, then exit
26589 -V, --version print version number and configuration settings, then exit 14190 -V, --version print version number and configuration settings, then exit
26590 -q, --quiet do not print progress messages 14191 --config print configuration, then exit
14192 -q, --quiet, --silent
14193 do not print progress messages
26591 -d, --debug don't remove temporary files 14194 -d, --debug don't remove temporary files
26592 --recheck update $as_me by reconfiguring in the same conditions 14195 --recheck update $as_me by reconfiguring in the same conditions
26593 --file=FILE[:TEMPLATE] 14196 --file=FILE[:TEMPLATE]
26594 instantiate the configuration file FILE 14197 instantiate the configuration file FILE
26595 --header=FILE[:TEMPLATE] 14198 --header=FILE[:TEMPLATE]
26596 instantiate the configuration header FILE 14199 instantiate the configuration header FILE
26597 14200
26598Configuration files: 14201Configuration files:
@@ -26604,16 +14207,17 @@ $config_headers
26604Configuration commands: 14207Configuration commands:
26605$config_commands 14208$config_commands
26606 14209
26607Report bugs to <bug-autoconf@gnu.org>." 14210Report bugs to the package provider."
26608 14211
26609_ACEOF 14212_ACEOF
26610cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14214ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26611ac_cs_version="\\ 14215ac_cs_version="\\
26612emacs config.status 24.0.50 14216emacs config.status 24.0.50
26613configured by $0, generated by GNU Autoconf 2.62, 14217configured by $0, generated by GNU Autoconf 2.65,
26614 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 14218 with options \\"\$ac_cs_config\\"
26615 14219
26616Copyright (C) 2008 Free Software Foundation, Inc. 14220Copyright (C) 2009 Free Software Foundation, Inc.
26617This config.status script is free software; the Free Software Foundation 14221This config.status script is free software; the Free Software Foundation
26618gives unlimited permission to copy, distribute and modify it." 14222gives unlimited permission to copy, distribute and modify it."
26619 14223
@@ -26647,6 +14251,8 @@ do
26647 ac_cs_recheck=: ;; 14251 ac_cs_recheck=: ;;
26648 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14252 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26649 $as_echo "$ac_cs_version"; exit ;; 14253 $as_echo "$ac_cs_version"; exit ;;
14254 --config | --confi | --conf | --con | --co | --c )
14255 $as_echo "$ac_cs_config"; exit ;;
26650 --debug | --debu | --deb | --de | --d | -d ) 14256 --debug | --debu | --deb | --de | --d | -d )
26651 debug=: ;; 14257 debug=: ;;
26652 --file | --fil | --fi | --f ) 14258 --file | --fil | --fi | --f )
@@ -26654,20 +14260,19 @@ do
26654 case $ac_optarg in 14260 case $ac_optarg in
26655 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14261 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26656 esac 14262 esac
26657 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 14263 as_fn_append CONFIG_FILES " '$ac_optarg'"
26658 ac_need_defaults=false;; 14264 ac_need_defaults=false;;
26659 --header | --heade | --head | --hea ) 14265 --header | --heade | --head | --hea )
26660 $ac_shift 14266 $ac_shift
26661 case $ac_optarg in 14267 case $ac_optarg in
26662 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14268 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26663 esac 14269 esac
26664 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 14270 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26665 ac_need_defaults=false;; 14271 ac_need_defaults=false;;
26666 --he | --h) 14272 --he | --h)
26667 # Conflict between --help and --header 14273 # Conflict between --help and --header
26668 { $as_echo "$as_me: error: ambiguous option: $1 14274 as_fn_error "ambiguous option: \`$1'
26669Try \`$0 --help' for more information." >&2 14275Try \`$0 --help' for more information.";;
26670 { (exit 1); exit 1; }; };;
26671 --help | --hel | -h ) 14276 --help | --hel | -h )
26672 $as_echo "$ac_cs_usage"; exit ;; 14277 $as_echo "$ac_cs_usage"; exit ;;
26673 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14278 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -26675,11 +14280,10 @@ Try \`$0 --help' for more information." >&2
26675 ac_cs_silent=: ;; 14280 ac_cs_silent=: ;;
26676 14281
26677 # This is an error. 14282 # This is an error.
26678 -*) { $as_echo "$as_me: error: unrecognized option: $1 14283 -*) as_fn_error "unrecognized option: \`$1'
26679Try \`$0 --help' for more information." >&2 14284Try \`$0 --help' for more information." ;;
26680 { (exit 1); exit 1; }; } ;;
26681 14285
26682 *) ac_config_targets="$ac_config_targets $1" 14286 *) as_fn_append ac_config_targets " $1"
26683 ac_need_defaults=false ;; 14287 ac_need_defaults=false ;;
26684 14288
26685 esac 14289 esac
@@ -26744,9 +14348,7 @@ do
26744 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 14348 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
26745 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 14349 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
26746 14350
26747 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 14351 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26748$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26749 { (exit 1); exit 1; }; };;
26750 esac 14352 esac
26751done 14353done
26752 14354
@@ -26773,7 +14375,7 @@ $debug ||
26773 trap 'exit_status=$? 14375 trap 'exit_status=$?
26774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14376 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26775' 0 14377' 0
26776 trap '{ (exit 1); exit 1; }' 1 2 13 15 14378 trap 'as_fn_exit 1' 1 2 13 15
26777} 14379}
26778# Create a (secure) tmp directory for tmp files. 14380# Create a (secure) tmp directory for tmp files.
26779 14381
@@ -26784,11 +14386,7 @@ $debug ||
26784{ 14386{
26785 tmp=./conf$$-$RANDOM 14387 tmp=./conf$$-$RANDOM
26786 (umask 077 && mkdir "$tmp") 14388 (umask 077 && mkdir "$tmp")
26787} || 14389} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26788{
26789 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26790 { (exit 1); exit 1; }
26791}
26792 14390
26793# Set up the scripts for CONFIG_FILES section. 14391# Set up the scripts for CONFIG_FILES section.
26794# No need to generate them if there are no CONFIG_FILES. 14392# No need to generate them if there are no CONFIG_FILES.
@@ -26796,10 +14394,16 @@ $debug ||
26796if test -n "$CONFIG_FILES"; then 14394if test -n "$CONFIG_FILES"; then
26797 14395
26798 14396
26799ac_cr=' ' 14397ac_cr=`echo X | tr X '\015'`
14398# On cygwin, bash can eat \r inside `` if the user requested igncr.
14399# But we know of no other shell where ac_cr would be empty at this
14400# point, so we can use a bashism as a fallback.
14401if test "x$ac_cr" = x; then
14402 eval ac_cr=\$\'\\r\'
14403fi
26800ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14404ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26801if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14405if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26802 ac_cs_awk_cr='\\r' 14406 ac_cs_awk_cr='\r'
26803else 14407else
26804 ac_cs_awk_cr=$ac_cr 14408 ac_cs_awk_cr=$ac_cr
26805fi 14409fi
@@ -26813,23 +14417,18 @@ _ACEOF
26813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14417 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26814 echo "_ACEOF" 14418 echo "_ACEOF"
26815} >conf$$subs.sh || 14419} >conf$$subs.sh ||
26816 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14420 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26817$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26818 { (exit 1); exit 1; }; }
26819ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14421ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26820ac_delim='%!_!# ' 14422ac_delim='%!_!# '
26821for ac_last_try in false false false false false :; do 14423for ac_last_try in false false false false false :; do
26822 . ./conf$$subs.sh || 14424 . ./conf$$subs.sh ||
26823 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14425 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26824$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26825 { (exit 1); exit 1; }; }
26826 14426
26827 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 14427 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14428 if test $ac_delim_n = $ac_delim_num; then
26828 break 14429 break
26829 elif $ac_last_try; then 14430 elif $ac_last_try; then
26830 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14431 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26831$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26832 { (exit 1); exit 1; }; }
26833 else 14432 else
26834 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26835 fi 14434 fi
@@ -26851,7 +14450,7 @@ s/'"$ac_delim"'$//
26851t delim 14450t delim
26852:nl 14451:nl
26853h 14452h
26854s/\(.\{148\}\).*/\1/ 14453s/\(.\{148\}\)..*/\1/
26855t more1 14454t more1
26856s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14455s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26857p 14456p
@@ -26865,7 +14464,7 @@ s/.\{148\}//
26865t nl 14464t nl
26866:delim 14465:delim
26867h 14466h
26868s/\(.\{148\}\).*/\1/ 14467s/\(.\{148\}\)..*/\1/
26869t more2 14468t more2
26870s/["\\]/\\&/g; s/^/"/; s/$/"/ 14469s/["\\]/\\&/g; s/^/"/; s/$/"/
26871p 14470p
@@ -26918,9 +14517,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26918else 14517else
26919 cat 14518 cat
26920fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14519fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26921 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 14520 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26922$as_echo "$as_me: error: could not setup config files machinery" >&2;}
26923 { (exit 1); exit 1; }; }
26924_ACEOF 14521_ACEOF
26925 14522
26926# VPATH may cause trouble with some makes, so we remove $(srcdir), 14523# VPATH may cause trouble with some makes, so we remove $(srcdir),
@@ -26961,9 +14558,7 @@ for ac_last_try in false false :; do
26961 if test -z "$ac_t"; then 14558 if test -z "$ac_t"; then
26962 break 14559 break
26963 elif $ac_last_try; then 14560 elif $ac_last_try; then
26964 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14561 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26965$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26966 { (exit 1); exit 1; }; }
26967 else 14562 else
26968 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26969 fi 14564 fi
@@ -27029,9 +14624,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27029 } 14624 }
27030 split(mac1, mac2, "(") #) 14625 split(mac1, mac2, "(") #)
27031 macro = mac2[1] 14626 macro = mac2[1]
14627 prefix = substr(line, 1, index(line, defundef) - 1)
27032 if (D_is_set[macro]) { 14628 if (D_is_set[macro]) {
27033 # Preserve the white space surrounding the "#". 14629 # Preserve the white space surrounding the "#".
27034 prefix = substr(line, 1, index(line, defundef) - 1)
27035 print prefix "define", macro P[macro] D[macro] 14630 print prefix "define", macro P[macro] D[macro]
27036 next 14631 next
27037 } else { 14632 } else {
@@ -27039,7 +14634,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27039 # in the case of _POSIX_SOURCE, which is predefined and required 14634 # in the case of _POSIX_SOURCE, which is predefined and required
27040 # on some systems where configure will not decide to define it. 14635 # on some systems where configure will not decide to define it.
27041 if (defundef == "undef") { 14636 if (defundef == "undef") {
27042 print "/*", line, "*/" 14637 print "/*", prefix defundef, macro, "*/"
27043 next 14638 next
27044 } 14639 }
27045 } 14640 }
@@ -27048,9 +14643,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27048_ACAWK 14643_ACAWK
27049_ACEOF 14644_ACEOF
27050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14645cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27051 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14646 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27052$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
27053 { (exit 1); exit 1; }; }
27054fi # test -n "$CONFIG_HEADERS" 14647fi # test -n "$CONFIG_HEADERS"
27055 14648
27056 14649
@@ -27063,9 +14656,7 @@ do
27063 esac 14656 esac
27064 case $ac_mode$ac_tag in 14657 case $ac_mode$ac_tag in
27065 :[FHL]*:*);; 14658 :[FHL]*:*);;
27066 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 14659 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27067$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27068 { (exit 1); exit 1; }; };;
27069 :[FH]-) ac_tag=-:-;; 14660 :[FH]-) ac_tag=-:-;;
27070 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27071 esac 14662 esac
@@ -27093,12 +14684,10 @@ $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27093 [\\/$]*) false;; 14684 [\\/$]*) false;;
27094 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27095 esac || 14686 esac ||
27096 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14687 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27097$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27098 { (exit 1); exit 1; }; };;
27099 esac 14688 esac
27100 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14689 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27101 ac_file_inputs="$ac_file_inputs '$ac_f'" 14690 as_fn_append ac_file_inputs " '$ac_f'"
27102 done 14691 done
27103 14692
27104 # Let's still pretend it is `configure' which instantiates (i.e., don't 14693 # Let's still pretend it is `configure' which instantiates (i.e., don't
@@ -27109,7 +14698,7 @@ $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27109 `' by configure.' 14698 `' by configure.'
27110 if test x"$ac_file" != x-; then 14699 if test x"$ac_file" != x-; then
27111 configure_input="$ac_file. $configure_input" 14700 configure_input="$ac_file. $configure_input"
27112 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 14701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27113$as_echo "$as_me: creating $ac_file" >&6;} 14702$as_echo "$as_me: creating $ac_file" >&6;}
27114 fi 14703 fi
27115 # Neutralize special characters interpreted by sed in replacement strings. 14704 # Neutralize special characters interpreted by sed in replacement strings.
@@ -27122,9 +14711,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
27122 14711
27123 case $ac_tag in 14712 case $ac_tag in
27124 *:-:* | *:-) cat >"$tmp/stdin" \ 14713 *:-:* | *:-) cat >"$tmp/stdin" \
27125 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14714 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27126$as_echo "$as_me: error: could not create $ac_file" >&2;}
27127 { (exit 1); exit 1; }; } ;;
27128 esac 14715 esac
27129 ;; 14716 ;;
27130 esac 14717 esac
@@ -27152,47 +14739,7 @@ $as_echo X"$ac_file" |
27152 q 14739 q
27153 } 14740 }
27154 s/.*/./; q'` 14741 s/.*/./; q'`
27155 { as_dir="$ac_dir" 14742 as_dir="$ac_dir"; as_fn_mkdir_p
27156 case $as_dir in #(
27157 -*) as_dir=./$as_dir;;
27158 esac
27159 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27160 as_dirs=
27161 while :; do
27162 case $as_dir in #(
27163 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27164 *) as_qdir=$as_dir;;
27165 esac
27166 as_dirs="'$as_qdir' $as_dirs"
27167 as_dir=`$as_dirname -- "$as_dir" ||
27168$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27169 X"$as_dir" : 'X\(//\)[^/]' \| \
27170 X"$as_dir" : 'X\(//\)$' \| \
27171 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27172$as_echo X"$as_dir" |
27173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27174 s//\1/
27175 q
27176 }
27177 /^X\(\/\/\)[^/].*/{
27178 s//\1/
27179 q
27180 }
27181 /^X\(\/\/\)$/{
27182 s//\1/
27183 q
27184 }
27185 /^X\(\/\).*/{
27186 s//\1/
27187 q
27188 }
27189 s/.*/./; q'`
27190 test -d "$as_dir" && break
27191 done
27192 test -z "$as_dirs" || eval "mkdir $as_dirs"
27193 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27194$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27195 { (exit 1); exit 1; }; }; }
27196 ac_builddir=. 14743 ac_builddir=.
27197 14744
27198case "$ac_dir" in 14745case "$ac_dir" in
@@ -27244,7 +14791,6 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27244# If the template does not know about datarootdir, expand it. 14791# If the template does not know about datarootdir, expand it.
27245# FIXME: This hack should be removed a few years after 2.60. 14792# FIXME: This hack should be removed a few years after 2.60.
27246ac_datarootdir_hack=; ac_datarootdir_seen= 14793ac_datarootdir_hack=; ac_datarootdir_seen=
27247
27248ac_sed_dataroot=' 14794ac_sed_dataroot='
27249/datarootdir/ { 14795/datarootdir/ {
27250 p 14796 p
@@ -27254,12 +14800,11 @@ ac_sed_dataroot='
27254/@docdir@/p 14800/@docdir@/p
27255/@infodir@/p 14801/@infodir@/p
27256/@localedir@/p 14802/@localedir@/p
27257/@mandir@/p 14803/@mandir@/p'
27258'
27259case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14804case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27260*datarootdir*) ac_datarootdir_seen=yes;; 14805*datarootdir*) ac_datarootdir_seen=yes;;
27261*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14806*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27262 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27263$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14808$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27264_ACEOF 14809_ACEOF
27265cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14810cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -27269,7 +14814,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27269 s&@infodir@&$infodir&g 14814 s&@infodir@&$infodir&g
27270 s&@localedir@&$localedir&g 14815 s&@localedir@&$localedir&g
27271 s&@mandir@&$mandir&g 14816 s&@mandir@&$mandir&g
27272 s&\\\${datarootdir}&$datarootdir&g' ;; 14817 s&\\\${datarootdir}&$datarootdir&g' ;;
27273esac 14818esac
27274_ACEOF 14819_ACEOF
27275 14820
@@ -27297,14 +14842,12 @@ s&@INSTALL@&$ac_INSTALL&;t t
27297$ac_datarootdir_hack 14842$ac_datarootdir_hack
27298" 14843"
27299eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14844eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27300 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14845 || as_fn_error "could not create $ac_file" "$LINENO" 5
27301$as_echo "$as_me: error: could not create $ac_file" >&2;}
27302 { (exit 1); exit 1; }; }
27303 14846
27304test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14847test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27305 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14848 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27306 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14849 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27307 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27308which seems to be undefined. Please make sure it is defined." >&5 14851which seems to be undefined. Please make sure it is defined." >&5
27309$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14852$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27310which seems to be undefined. Please make sure it is defined." >&2;} 14853which seems to be undefined. Please make sure it is defined." >&2;}
@@ -27314,9 +14857,7 @@ which seems to be undefined. Please make sure it is defined." >&2;}
27314 -) cat "$tmp/out" && rm -f "$tmp/out";; 14857 -) cat "$tmp/out" && rm -f "$tmp/out";;
27315 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14858 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27316 esac \ 14859 esac \
27317 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14860 || as_fn_error "could not create $ac_file" "$LINENO" 5
27318$as_echo "$as_me: error: could not create $ac_file" >&2;}
27319 { (exit 1); exit 1; }; }
27320 ;; 14861 ;;
27321 :H) 14862 :H)
27322 # 14863 #
@@ -27327,29 +14868,23 @@ $as_echo "$as_me: error: could not create $ac_file" >&2;}
27327 $as_echo "/* $configure_input */" \ 14868 $as_echo "/* $configure_input */" \
27328 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14869 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27329 } >"$tmp/config.h" \ 14870 } >"$tmp/config.h" \
27330 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14871 || as_fn_error "could not create $ac_file" "$LINENO" 5
27331$as_echo "$as_me: error: could not create $ac_file" >&2;}
27332 { (exit 1); exit 1; }; }
27333 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14872 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27334 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14873 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27335$as_echo "$as_me: $ac_file is unchanged" >&6;} 14874$as_echo "$as_me: $ac_file is unchanged" >&6;}
27336 else 14875 else
27337 rm -f "$ac_file" 14876 rm -f "$ac_file"
27338 mv "$tmp/config.h" "$ac_file" \ 14877 mv "$tmp/config.h" "$ac_file" \
27339 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14878 || as_fn_error "could not create $ac_file" "$LINENO" 5
27340$as_echo "$as_me: error: could not create $ac_file" >&2;}
27341 { (exit 1); exit 1; }; }
27342 fi 14879 fi
27343 else 14880 else
27344 $as_echo "/* $configure_input */" \ 14881 $as_echo "/* $configure_input */" \
27345 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14882 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27346 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14883 || as_fn_error "could not create -" "$LINENO" 5
27347$as_echo "$as_me: error: could not create -" >&2;}
27348 { (exit 1); exit 1; }; }
27349 fi 14884 fi
27350 ;; 14885 ;;
27351 14886
27352 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 14887 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27353$as_echo "$as_me: executing $ac_file commands" >&6;} 14888$as_echo "$as_me: executing $ac_file commands" >&6;}
27354 ;; 14889 ;;
27355 esac 14890 esac
@@ -27420,15 +14955,12 @@ fi
27420done # for ac_tag 14955done # for ac_tag
27421 14956
27422 14957
27423{ (exit 0); exit 0; } 14958as_fn_exit 0
27424_ACEOF 14959_ACEOF
27425chmod +x $CONFIG_STATUS
27426ac_clean_files=$ac_clean_files_save 14960ac_clean_files=$ac_clean_files_save
27427 14961
27428test $ac_write_fail = 0 || 14962test $ac_write_fail = 0 ||
27429 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14963 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27430$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
27431 { (exit 1); exit 1; }; }
27432 14964
27433 14965
27434# configure is writing to config.log, and then calls config.status. 14966# configure is writing to config.log, and then calls config.status.
@@ -27449,11 +14981,11 @@ if test "$no_create" != yes; then
27449 exec 5>>config.log 14981 exec 5>>config.log
27450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27451 # would make configure fail if this is the last instruction. 14983 # would make configure fail if this is the last instruction.
27452 $ac_cs_success || { (exit 1); exit 1; } 14984 $ac_cs_success || as_fn_exit $?
27453fi 14985fi
27454if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14986if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27455 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 14987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27456$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 14988$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27457fi 14989fi
27458 14990
27459 14991
diff --git a/configure.in b/configure.in
index fa0d0b3fccd..04da6d4632b 100644
--- a/configure.in
+++ b/configure.in
@@ -879,17 +879,9 @@ configure___ libsrc_libs=LIBS_SYSTEM
879configure___ c_switch_system=C_SWITCH_SYSTEM 879configure___ c_switch_system=C_SWITCH_SYSTEM
880configure___ c_switch_machine=C_SWITCH_MACHINE 880configure___ c_switch_machine=C_SWITCH_MACHINE
881 881
882#ifndef LIB_X11_LIB 882configure___ LIBX=-lX11
883#define LIB_X11_LIB -lX11
884#endif
885
886configure___ LIBX=LIB_X11_LIB
887 883
888#ifdef UNEXEC
889configure___ unexec=UNEXEC 884configure___ unexec=UNEXEC
890#else
891configure___ unexec=unexec.o
892#endif
893 885
894#ifdef SYSTEM_MALLOC 886#ifdef SYSTEM_MALLOC
895configure___ system_malloc=yes 887configure___ system_malloc=yes
@@ -2767,6 +2759,7 @@ AC_SUBST(gamedir)
2767AC_SUBST(gameuser) 2759AC_SUBST(gameuser)
2768AC_SUBST(c_switch_system) 2760AC_SUBST(c_switch_system)
2769AC_SUBST(c_switch_machine) 2761AC_SUBST(c_switch_machine)
2762AC_SUBST(unexec)
2770AC_SUBST(LD_SWITCH_X_SITE) 2763AC_SUBST(LD_SWITCH_X_SITE)
2771AC_SUBST(LD_SWITCH_X_SITE_AUX) 2764AC_SUBST(LD_SWITCH_X_SITE_AUX)
2772AC_SUBST(C_SWITCH_X_SITE) 2765AC_SUBST(C_SWITCH_X_SITE)
@@ -2809,8 +2802,6 @@ AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE},
2809 HAVE_X_WINDOWS above and your X include files aren't in a place 2802 HAVE_X_WINDOWS above and your X include files aren't in a place
2810 that your compiler can find on its own, you might want to add 2803 that your compiler can find on its own, you might want to add
2811 "-I/..." or something similar.]) 2804 "-I/..." or something similar.])
2812AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC},
2813 [Define to the unexec source file name.])
2814 2805
2815XMENU_OBJ= 2806XMENU_OBJ=
2816XOBJ= 2807XOBJ=
diff --git a/src/ChangeLog b/src/ChangeLog
index 0675257abd3..dbcb185deb8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12010-04-27 Dan Nicolaescu <dann@ics.uci.edu>
2
3 Reduce CPP usage.
4 * Makefile.in (LIB_X11_LIB): Remove, inline in the only user.
5 (obj): Use autoconf for unexec instead of cpp.
6
12010-04-27 Glenn Morris <rgm@gnu.org> 72010-04-27 Glenn Morris <rgm@gnu.org>
2 8
3 * m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around, 9 * m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
diff --git a/src/Makefile.in b/src/Makefile.in
index 2f1029cf70c..45a3031a0f2 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -252,10 +252,6 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@
252#endif 252#endif
253 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< 253 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $<
254 254
255#ifndef LIB_X11_LIB
256#define LIB_X11_LIB -lX11
257#endif
258
259#ifdef HAVE_X_WINDOWS 255#ifdef HAVE_X_WINDOWS
260#ifdef HAVE_MENUS 256#ifdef HAVE_MENUS
261 257
@@ -318,7 +314,7 @@ LIBXT=$(LIBW) $(LIBXSM)
318/* LD_SWITCH_X_DEFAULT comes after everything else that specifies 314/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
319 options for where to find X libraries, but before those libraries. */ 315 options for where to find X libraries, but before those libraries. */
320X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT 316X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT
321LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) $(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) LIB_X11_LIB $(XFT_LIBS) 317LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) $(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) -lX11 $(XFT_LIBS)
322#else /* not HAVE_X11 */ 318#else /* not HAVE_X11 */
323LIBX= $(LIBXMENU) LD_SWITCH_X_SITE 319LIBX= $(LIBXMENU) LD_SWITCH_X_SITE
324#endif /* not HAVE_X11 */ 320#endif /* not HAVE_X11 */
@@ -438,7 +434,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \
438 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ 434 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
439 alloc.o data.o doc.o editfns.o callint.o \ 435 alloc.o data.o doc.o editfns.o callint.o \
440 eval.o floatfns.o fns.o font.o print.o lread.o \ 436 eval.o floatfns.o fns.o font.o print.o lread.o \
441 syntax.o UNEXEC bytecode.o \ 437 syntax.o @unexec@ bytecode.o \
442 process.o callproc.o \ 438 process.o callproc.o \
443 region-cache.o sound.o atimer.o \ 439 region-cache.o sound.o atimer.o \
444 doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ 440 doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \
diff --git a/src/config.in b/src/config.in
index 25b45f8ca97..8c4b81a189e 100644
--- a/src/config.in
+++ b/src/config.in
@@ -318,10 +318,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
318/* Define to 1 if you have the <kerberos/krb.h> header file. */ 318/* Define to 1 if you have the <kerberos/krb.h> header file. */
319#undef HAVE_KERBEROS_KRB_H 319#undef HAVE_KERBEROS_KRB_H
320 320
321/* Define to 1 if `e_text' is member of `krb5_error'. */ 321/* Define to 1 if `e_text' is a member of `krb5_error'. */
322#undef HAVE_KRB5_ERROR_E_TEXT 322#undef HAVE_KRB5_ERROR_E_TEXT
323 323
324/* Define to 1 if `text' is member of `krb5_error'. */ 324/* Define to 1 if `text' is a member of `krb5_error'. */
325#undef HAVE_KRB5_ERROR_TEXT 325#undef HAVE_KRB5_ERROR_TEXT
326 326
327/* Define to 1 if you have the <krb5.h> header file. */ 327/* Define to 1 if you have the <krb5.h> header file. */
@@ -609,25 +609,25 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
609/* Define to 1 if you have the `strsignal' function. */ 609/* Define to 1 if you have the `strsignal' function. */
610#undef HAVE_STRSIGNAL 610#undef HAVE_STRSIGNAL
611 611
612/* Define to 1 if `ifr_addr' is member of `struct ifreq'. */ 612/* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */
613#undef HAVE_STRUCT_IFREQ_IFR_ADDR 613#undef HAVE_STRUCT_IFREQ_IFR_ADDR
614 614
615/* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */ 615/* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */
616#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR 616#undef HAVE_STRUCT_IFREQ_IFR_BROADADDR
617 617
618/* Define to 1 if `ifr_flags' is member of `struct ifreq'. */ 618/* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */
619#undef HAVE_STRUCT_IFREQ_IFR_FLAGS 619#undef HAVE_STRUCT_IFREQ_IFR_FLAGS
620 620
621/* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */ 621/* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */
622#undef HAVE_STRUCT_IFREQ_IFR_HWADDR 622#undef HAVE_STRUCT_IFREQ_IFR_HWADDR
623 623
624/* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */ 624/* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */
625#undef HAVE_STRUCT_IFREQ_IFR_NETMASK 625#undef HAVE_STRUCT_IFREQ_IFR_NETMASK
626 626
627/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */ 627/* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */
628#undef HAVE_STRUCT_NLIST_N_UN_N_NAME 628#undef HAVE_STRUCT_NLIST_N_UN_N_NAME
629 629
630/* Define to 1 if `tm_zone' is member of `struct tm'. */ 630/* Define to 1 if `tm_zone' is a member of `struct tm'. */
631#undef HAVE_STRUCT_TM_TM_ZONE 631#undef HAVE_STRUCT_TM_TM_ZONE
632 632
633/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ 633/* Define to 1 if `struct utimbuf' is declared by <utime.h>. */
@@ -854,6 +854,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
854/* Define to the one symbol short name of this package. */ 854/* Define to the one symbol short name of this package. */
855#undef PACKAGE_TARNAME 855#undef PACKAGE_TARNAME
856 856
857/* Define to the home page for this package. */
858#undef PACKAGE_URL
859
857/* Define to the version of this package. */ 860/* Define to the version of this package. */
858#undef PACKAGE_VERSION 861#undef PACKAGE_VERSION
859 862
@@ -901,9 +904,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
901 <sys/cpustats.h>. */ 904 <sys/cpustats.h>. */
902#undef UMAX4_3 905#undef UMAX4_3
903 906
904/* Define to the unexec source file name. */
905#undef UNEXEC_SRC
906
907/* Define to 1 if using GTK. */ 907/* Define to 1 if using GTK. */
908#undef USE_GTK 908#undef USE_GTK
909 909
@@ -913,6 +913,28 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
913/* Define to 1 if using the Motif X toolkit. */ 913/* Define to 1 if using the Motif X toolkit. */
914#undef USE_MOTIF 914#undef USE_MOTIF
915 915
916/* Enable extensions on AIX 3, Interix. */
917#ifndef _ALL_SOURCE
918# undef _ALL_SOURCE
919#endif
920/* Enable GNU extensions on systems that have them. */
921#ifndef _GNU_SOURCE
922# undef _GNU_SOURCE
923#endif
924/* Enable threading extensions on Solaris. */
925#ifndef _POSIX_PTHREAD_SEMANTICS
926# undef _POSIX_PTHREAD_SEMANTICS
927#endif
928/* Enable extensions on HP NonStop. */
929#ifndef _TANDEM_SOURCE
930# undef _TANDEM_SOURCE
931#endif
932/* Enable general extensions on Solaris. */
933#ifndef __EXTENSIONS__
934# undef __EXTENSIONS__
935#endif
936
937
916/* Define to 1 if we should use toolkit scroll bars. */ 938/* Define to 1 if we should use toolkit scroll bars. */
917#undef USE_TOOLKIT_SCROLL_BARS 939#undef USE_TOOLKIT_SCROLL_BARS
918 940
@@ -948,28 +970,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
948/* Define to 1 if you need to in order for `stat' and other things to work. */ 970/* Define to 1 if you need to in order for `stat' and other things to work. */
949#undef _POSIX_SOURCE 971#undef _POSIX_SOURCE
950 972
951/* Enable extensions on AIX 3, Interix. */
952#ifndef _ALL_SOURCE
953# undef _ALL_SOURCE
954#endif
955/* Enable GNU extensions on systems that have them. */
956#ifndef _GNU_SOURCE
957# undef _GNU_SOURCE
958#endif
959/* Enable threading extensions on Solaris. */
960#ifndef _POSIX_PTHREAD_SEMANTICS
961# undef _POSIX_PTHREAD_SEMANTICS
962#endif
963/* Enable extensions on HP NonStop. */
964#ifndef _TANDEM_SOURCE
965# undef _TANDEM_SOURCE
966#endif
967/* Enable general extensions on Solaris. */
968#ifndef __EXTENSIONS__
969# undef __EXTENSIONS__
970#endif
971
972
973/* Define to rpl_ if the getopt replacement functions and variables should be 973/* Define to rpl_ if the getopt replacement functions and variables should be
974 used. */ 974 used. */
975#undef __GETOPT_PREFIX 975#undef __GETOPT_PREFIX